48 lines
1.5 KiB
TypeScript
48 lines
1.5 KiB
TypeScript
import { type ExtractPropTypes } from 'vue';
|
|
export type ContactCardType = 'add' | 'edit';
|
|
export declare const contactCardProps: {
|
|
tel: StringConstructor;
|
|
name: StringConstructor;
|
|
type: {
|
|
type: import("vue").PropType<T>;
|
|
default: ContactCardType;
|
|
};
|
|
addText: StringConstructor;
|
|
editable: {
|
|
type: BooleanConstructor;
|
|
default: true;
|
|
};
|
|
};
|
|
export type ContactCardProps = ExtractPropTypes<typeof contactCardProps>;
|
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
tel: StringConstructor;
|
|
name: StringConstructor;
|
|
type: {
|
|
type: import("vue").PropType<T>;
|
|
default: ContactCardType;
|
|
};
|
|
addText: StringConstructor;
|
|
editable: {
|
|
type: BooleanConstructor;
|
|
default: true;
|
|
};
|
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
tel: StringConstructor;
|
|
name: StringConstructor;
|
|
type: {
|
|
type: import("vue").PropType<T>;
|
|
default: ContactCardType;
|
|
};
|
|
addText: StringConstructor;
|
|
editable: {
|
|
type: BooleanConstructor;
|
|
default: true;
|
|
};
|
|
}>> & Readonly<{
|
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
}>, {
|
|
type: ContactCardType;
|
|
editable: boolean;
|
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
export default _default;
|