UNPKG

3.09 kBTypeScriptView Raw
1export declare const AddressList: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 list: {
3 type: import("vue").PropType<import("./AddressListItem").AddressListAddress[]>;
4 default: () => never[];
5 };
6 modelValue: import("vue").PropType<string | number | Array<string | number>>;
7 switchable: {
8 type: BooleanConstructor;
9 default: true;
10 };
11 disabledText: StringConstructor;
12 disabledList: {
13 type: import("vue").PropType<import("./AddressListItem").AddressListAddress[]>;
14 default: () => never[];
15 };
16 showAddButton: {
17 type: BooleanConstructor;
18 default: true;
19 };
20 addButtonText: StringConstructor;
21 defaultTagText: StringConstructor;
22 rightIcon: {
23 type: import("vue").PropType<string>;
24 default: string;
25 };
26}>, () => 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<import("vue").ExtractPropTypes<{
27 list: {
28 type: import("vue").PropType<import("./AddressListItem").AddressListAddress[]>;
29 default: () => never[];
30 };
31 modelValue: import("vue").PropType<string | number | Array<string | number>>;
32 switchable: {
33 type: BooleanConstructor;
34 default: true;
35 };
36 disabledText: StringConstructor;
37 disabledList: {
38 type: import("vue").PropType<import("./AddressListItem").AddressListAddress[]>;
39 default: () => never[];
40 };
41 showAddButton: {
42 type: BooleanConstructor;
43 default: true;
44 };
45 addButtonText: StringConstructor;
46 defaultTagText: StringConstructor;
47 rightIcon: {
48 type: import("vue").PropType<string>;
49 default: string;
50 };
51}>> & Readonly<{
52 onSelect?: ((...args: any[]) => any) | undefined;
53 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
54 onEdit?: ((...args: any[]) => any) | undefined;
55 onAdd?: ((...args: any[]) => any) | undefined;
56 onClickItem?: ((...args: any[]) => any) | undefined;
57 onEditDisabled?: ((...args: any[]) => any) | undefined;
58 onSelectDisabled?: ((...args: any[]) => any) | undefined;
59}>, {
60 rightIcon: string;
61 switchable: boolean;
62 list: import("./AddressListItem").AddressListAddress[];
63 disabledList: import("./AddressListItem").AddressListAddress[];
64 showAddButton: boolean;
65}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
66export default AddressList;
67export { addressListProps } from './AddressList';
68export type { AddressListProps } from './AddressList';
69export type { AddressListAddress } from './AddressListItem';
70export type { AddressListThemeVars } from './types';
71declare module 'vue' {
72 interface GlobalComponents {
73 VanAddressList: typeof AddressList;
74 }
75}
76
\No newline at end of file