1 | import { AddressEditProps } from './AddressEdit';
|
2 | export declare const AddressEdit: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
3 | areaList: import("vue").PropType<import("..").AreaList>;
|
4 | isSaving: BooleanConstructor;
|
5 | isDeleting: BooleanConstructor;
|
6 | validator: import("vue").PropType<(key: string, value: string) => string | undefined>;
|
7 | showArea: {
|
8 | type: BooleanConstructor;
|
9 | default: true;
|
10 | };
|
11 | showDetail: {
|
12 | type: BooleanConstructor;
|
13 | default: true;
|
14 | };
|
15 | showDelete: BooleanConstructor;
|
16 | disableArea: BooleanConstructor;
|
17 | searchResult: import("vue").PropType<import("./types").AddressEditSearchItem[]>;
|
18 | telMaxlength: (NumberConstructor | StringConstructor)[];
|
19 | showSetDefault: BooleanConstructor;
|
20 | saveButtonText: StringConstructor;
|
21 | areaPlaceholder: StringConstructor;
|
22 | deleteButtonText: StringConstructor;
|
23 | showSearchResult: BooleanConstructor;
|
24 | detailRows: {
|
25 | type: (NumberConstructor | StringConstructor)[];
|
26 | default: number;
|
27 | };
|
28 | detailMaxlength: {
|
29 | type: (NumberConstructor | StringConstructor)[];
|
30 | default: number;
|
31 | };
|
32 | areaColumnsPlaceholder: {
|
33 | type: import("vue").PropType<string[]>;
|
34 | default: () => never[];
|
35 | };
|
36 | addressInfo: {
|
37 | type: import("vue").PropType<Partial<import("./types").AddressEditInfo>>;
|
38 | default: () => import("./types").AddressEditInfo;
|
39 | };
|
40 | telValidator: {
|
41 | type: import("vue").PropType<(val: string) => boolean>;
|
42 | default: typeof import("../utils").isMobile;
|
43 | };
|
44 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "focus" | "change" | "selectSearch" | "save" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault")[], "delete" | "focus" | "change" | "selectSearch" | "save" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
45 | areaList: import("vue").PropType<import("..").AreaList>;
|
46 | isSaving: BooleanConstructor;
|
47 | isDeleting: BooleanConstructor;
|
48 | validator: import("vue").PropType<(key: string, value: string) => string | undefined>;
|
49 | showArea: {
|
50 | type: BooleanConstructor;
|
51 | default: true;
|
52 | };
|
53 | showDetail: {
|
54 | type: BooleanConstructor;
|
55 | default: true;
|
56 | };
|
57 | showDelete: BooleanConstructor;
|
58 | disableArea: BooleanConstructor;
|
59 | searchResult: import("vue").PropType<import("./types").AddressEditSearchItem[]>;
|
60 | telMaxlength: (NumberConstructor | StringConstructor)[];
|
61 | showSetDefault: BooleanConstructor;
|
62 | saveButtonText: StringConstructor;
|
63 | areaPlaceholder: StringConstructor;
|
64 | deleteButtonText: StringConstructor;
|
65 | showSearchResult: BooleanConstructor;
|
66 | detailRows: {
|
67 | type: (NumberConstructor | StringConstructor)[];
|
68 | default: number;
|
69 | };
|
70 | detailMaxlength: {
|
71 | type: (NumberConstructor | StringConstructor)[];
|
72 | default: number;
|
73 | };
|
74 | areaColumnsPlaceholder: {
|
75 | type: import("vue").PropType<string[]>;
|
76 | default: () => never[];
|
77 | };
|
78 | addressInfo: {
|
79 | type: import("vue").PropType<Partial<import("./types").AddressEditInfo>>;
|
80 | default: () => import("./types").AddressEditInfo;
|
81 | };
|
82 | telValidator: {
|
83 | type: import("vue").PropType<(val: string) => boolean>;
|
84 | default: typeof import("../utils").isMobile;
|
85 | };
|
86 | }>> & Readonly<{
|
87 | onFocus?: ((...args: any[]) => any) | undefined;
|
88 | onChange?: ((...args: any[]) => any) | undefined;
|
89 | onSelectSearch?: ((...args: any[]) => any) | undefined;
|
90 | onDelete?: ((...args: any[]) => any) | undefined;
|
91 | onSave?: ((...args: any[]) => any) | undefined;
|
92 | onClickArea?: ((...args: any[]) => any) | undefined;
|
93 | onChangeArea?: ((...args: any[]) => any) | undefined;
|
94 | onChangeDetail?: ((...args: any[]) => any) | undefined;
|
95 | onChangeDefault?: ((...args: any[]) => any) | undefined;
|
96 | }>, {
|
97 | isSaving: boolean;
|
98 | isDeleting: boolean;
|
99 | showArea: boolean;
|
100 | showDetail: boolean;
|
101 | showDelete: boolean;
|
102 | disableArea: boolean;
|
103 | showSetDefault: boolean;
|
104 | showSearchResult: boolean;
|
105 | detailRows: string | number;
|
106 | detailMaxlength: string | number;
|
107 | areaColumnsPlaceholder: string[];
|
108 | addressInfo: Partial<import("./types").AddressEditInfo>;
|
109 | telValidator: (val: string) => boolean;
|
110 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
111 | export default AddressEdit;
|
112 | export { addressEditProps } from './AddressEdit';
|
113 | export type { AddressEditProps };
|
114 | export type { AddressEditInfo, AddressEditInstance, AddressEditThemeVars, AddressEditSearchItem, } from './types';
|
115 | declare module 'vue' {
|
116 | interface GlobalComponents {
|
117 | VanAddressEdit: typeof AddressEdit;
|
118 | }
|
119 | }
|