UNPKG

3.65 kBTypeScriptView Raw
1export declare const Area: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<import("../utils").Writeable<Pick<{
2 loading: BooleanConstructor;
3 readonly: BooleanConstructor;
4 allowHtml: BooleanConstructor;
5 optionHeight: {
6 type: (NumberConstructor | StringConstructor)[];
7 default: number;
8 };
9 showToolbar: {
10 type: BooleanConstructor;
11 default: true;
12 };
13 swipeDuration: {
14 type: (NumberConstructor | StringConstructor)[];
15 default: number;
16 };
17 visibleOptionNum: {
18 type: (NumberConstructor | StringConstructor)[];
19 default: number;
20 };
21} & {
22 title: StringConstructor;
23 cancelButtonText: StringConstructor;
24 confirmButtonText: StringConstructor;
25}, "title" | "readonly" | "loading" | "optionHeight" | "swipeDuration" | "visibleOptionNum" | "cancelButtonText" | "confirmButtonText">> & {
26 modelValue: StringConstructor;
27 columnsNum: {
28 type: (NumberConstructor | StringConstructor)[];
29 default: number;
30 };
31 columnsPlaceholder: {
32 type: import("vue").PropType<string[]>;
33 default: () => never[];
34 };
35 areaList: {
36 type: import("vue").PropType<import("./types").AreaList>;
37 default: () => {};
38 };
39}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm")[], "update:modelValue" | "cancel" | "change" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<import("../utils").Writeable<Pick<{
40 loading: BooleanConstructor;
41 readonly: BooleanConstructor;
42 allowHtml: BooleanConstructor;
43 optionHeight: {
44 type: (NumberConstructor | StringConstructor)[];
45 default: number;
46 };
47 showToolbar: {
48 type: BooleanConstructor;
49 default: true;
50 };
51 swipeDuration: {
52 type: (NumberConstructor | StringConstructor)[];
53 default: number;
54 };
55 visibleOptionNum: {
56 type: (NumberConstructor | StringConstructor)[];
57 default: number;
58 };
59} & {
60 title: StringConstructor;
61 cancelButtonText: StringConstructor;
62 confirmButtonText: StringConstructor;
63}, "title" | "readonly" | "loading" | "optionHeight" | "swipeDuration" | "visibleOptionNum" | "cancelButtonText" | "confirmButtonText">> & {
64 modelValue: StringConstructor;
65 columnsNum: {
66 type: (NumberConstructor | StringConstructor)[];
67 default: number;
68 };
69 columnsPlaceholder: {
70 type: import("vue").PropType<string[]>;
71 default: () => never[];
72 };
73 areaList: {
74 type: import("vue").PropType<import("./types").AreaList>;
75 default: () => {};
76 };
77}>> & Readonly<{
78 onChange?: ((...args: any[]) => any) | undefined;
79 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
80 onCancel?: ((...args: any[]) => any) | undefined;
81 onConfirm?: ((...args: any[]) => any) | undefined;
82}>, {
83 readonly: boolean;
84 loading: boolean;
85 optionHeight: string | number;
86 swipeDuration: string | number;
87 visibleOptionNum: string | number;
88 columnsNum: string | number;
89 columnsPlaceholder: string[];
90 areaList: import("./types").AreaList;
91}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
92export default Area;
93export { areaProps } from './Area';
94export type { AreaProps } from './Area';
95export type { AreaList, AreaInstance } from './types';
96declare module 'vue' {
97 interface GlobalComponents {
98 VanArea: typeof Area;
99 }
100}
101
\No newline at end of file