GamePortrait/node_modules/vant/lib/contact-edit/index.d.ts

50 lines
2.1 KiB
TypeScript

export declare const ContactEdit: import("../utils").WithInstall<import("vue").DefineComponent<{
isEdit: BooleanConstructor;
isSaving: BooleanConstructor;
isDeleting: BooleanConstructor;
showSetDefault: BooleanConstructor;
setDefaultLabel: StringConstructor;
contactInfo: {
type: import("vue").PropType<import("./ContactEdit").ContactEditInfo>;
default: () => import("./ContactEdit").ContactEditInfo;
};
telValidator: {
type: import("vue").PropType<(val: string) => boolean>;
default: typeof import("../utils").isMobile;
};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("save" | "delete" | "changeDefault")[], "save" | "delete" | "changeDefault", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
isEdit: BooleanConstructor;
isSaving: BooleanConstructor;
isDeleting: BooleanConstructor;
showSetDefault: BooleanConstructor;
setDefaultLabel: StringConstructor;
contactInfo: {
type: import("vue").PropType<import("./ContactEdit").ContactEditInfo>;
default: () => import("./ContactEdit").ContactEditInfo;
};
telValidator: {
type: import("vue").PropType<(val: string) => boolean>;
default: typeof import("../utils").isMobile;
};
}>> & {
onSave?: ((...args: any[]) => any) | undefined;
onDelete?: ((...args: any[]) => any) | undefined;
onChangeDefault?: ((...args: any[]) => any) | undefined;
}, {
isSaving: boolean;
isDeleting: boolean;
showSetDefault: boolean;
telValidator: (val: string) => boolean;
isEdit: boolean;
contactInfo: import("./ContactEdit").ContactEditInfo;
}>>;
export default ContactEdit;
export { contactEditProps } from './ContactEdit';
export type { ContactEditInfo, ContactEditProps } from './ContactEdit';
export type { ContactEditThemeVars } from './types';
declare module 'vue' {
interface GlobalComponents {
VanContactEdit: typeof ContactEdit;
}
}