UNPKG

3.27 kBTypeScriptView Raw
1import { type ExtractPropTypes, type PropType } from 'vue';
2import { AddressListAddress } from './AddressListItem';
3export declare const addressListProps: {
4 list: {
5 type: PropType<AddressListAddress[]>;
6 default: () => never[];
7 };
8 modelValue: PropType<string | number | Array<string | number>>;
9 switchable: {
10 type: BooleanConstructor;
11 default: true;
12 };
13 disabledText: StringConstructor;
14 disabledList: {
15 type: PropType<AddressListAddress[]>;
16 default: () => never[];
17 };
18 showAddButton: {
19 type: BooleanConstructor;
20 default: true;
21 };
22 addButtonText: StringConstructor;
23 defaultTagText: StringConstructor;
24 rightIcon: {
25 type: PropType<string>;
26 default: string;
27 };
28};
29export type AddressListProps = ExtractPropTypes<typeof addressListProps>;
30declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
31 list: {
32 type: PropType<AddressListAddress[]>;
33 default: () => never[];
34 };
35 modelValue: PropType<string | number | Array<string | number>>;
36 switchable: {
37 type: BooleanConstructor;
38 default: true;
39 };
40 disabledText: StringConstructor;
41 disabledList: {
42 type: PropType<AddressListAddress[]>;
43 default: () => never[];
44 };
45 showAddButton: {
46 type: BooleanConstructor;
47 default: true;
48 };
49 addButtonText: StringConstructor;
50 defaultTagText: StringConstructor;
51 rightIcon: {
52 type: PropType<string>;
53 default: string;
54 };
55}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "add" | "update:modelValue" | "edit" | "clickItem" | "editDisabled" | "selectDisabled")[], "select" | "add" | "update:modelValue" | "edit" | "clickItem" | "editDisabled" | "selectDisabled", import("vue").PublicProps, Readonly<ExtractPropTypes<{
56 list: {
57 type: PropType<AddressListAddress[]>;
58 default: () => never[];
59 };
60 modelValue: PropType<string | number | Array<string | number>>;
61 switchable: {
62 type: BooleanConstructor;
63 default: true;
64 };
65 disabledText: StringConstructor;
66 disabledList: {
67 type: PropType<AddressListAddress[]>;
68 default: () => never[];
69 };
70 showAddButton: {
71 type: BooleanConstructor;
72 default: true;
73 };
74 addButtonText: StringConstructor;
75 defaultTagText: StringConstructor;
76 rightIcon: {
77 type: PropType<string>;
78 default: string;
79 };
80}>> & Readonly<{
81 onSelect?: ((...args: any[]) => any) | undefined;
82 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
83 onEdit?: ((...args: any[]) => any) | undefined;
84 onAdd?: ((...args: any[]) => any) | undefined;
85 onClickItem?: ((...args: any[]) => any) | undefined;
86 onEditDisabled?: ((...args: any[]) => any) | undefined;
87 onSelectDisabled?: ((...args: any[]) => any) | undefined;
88}>, {
89 rightIcon: string;
90 switchable: boolean;
91 list: AddressListAddress[];
92 disabledList: AddressListAddress[];
93 showAddButton: boolean;
94}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
95export default _default;
96
\No newline at end of file