UNPKG

1.48 kBTypeScriptView Raw
1import { type PropType, type ExtractPropTypes } from 'vue';
2import { type Numeric } from '../utils';
3export type ContactListItem = {
4 id?: Numeric;
5 tel: Numeric;
6 name: string;
7 isDefault?: boolean;
8};
9export declare const contactListProps: {
10 list: PropType<ContactListItem[]>;
11 addText: StringConstructor;
12 modelValue: PropType<unknown>;
13 defaultTagText: StringConstructor;
14};
15export type ContactListProps = ExtractPropTypes<typeof contactListProps>;
16declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
17 list: PropType<ContactListItem[]>;
18 addText: StringConstructor;
19 modelValue: PropType<unknown>;
20 defaultTagText: StringConstructor;
21}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "add" | "update:modelValue" | "edit")[], "select" | "add" | "update:modelValue" | "edit", import("vue").PublicProps, Readonly<ExtractPropTypes<{
22 list: PropType<ContactListItem[]>;
23 addText: StringConstructor;
24 modelValue: PropType<unknown>;
25 defaultTagText: StringConstructor;
26}>> & Readonly<{
27 onSelect?: ((...args: any[]) => any) | undefined;
28 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29 onEdit?: ((...args: any[]) => any) | undefined;
30 onAdd?: ((...args: any[]) => any) | undefined;
31}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
32export default _default;
33
\No newline at end of file