index.d.ts 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. export declare const ContactEdit: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
  2. isEdit: BooleanConstructor;
  3. isSaving: BooleanConstructor;
  4. isDeleting: BooleanConstructor;
  5. showSetDefault: BooleanConstructor;
  6. setDefaultLabel: StringConstructor;
  7. contactInfo: {
  8. type: import("vue").PropType<import("./ContactEdit").ContactEditInfo>;
  9. default: () => import("./ContactEdit").ContactEditInfo;
  10. };
  11. telValidator: {
  12. type: import("vue").PropType<(val: string) => boolean>;
  13. default: typeof import("../utils").isMobile;
  14. };
  15. }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "save" | "changeDefault")[], "delete" | "save" | "changeDefault", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
  16. isEdit: BooleanConstructor;
  17. isSaving: BooleanConstructor;
  18. isDeleting: BooleanConstructor;
  19. showSetDefault: BooleanConstructor;
  20. setDefaultLabel: StringConstructor;
  21. contactInfo: {
  22. type: import("vue").PropType<import("./ContactEdit").ContactEditInfo>;
  23. default: () => import("./ContactEdit").ContactEditInfo;
  24. };
  25. telValidator: {
  26. type: import("vue").PropType<(val: string) => boolean>;
  27. default: typeof import("../utils").isMobile;
  28. };
  29. }>> & Readonly<{
  30. onDelete?: ((...args: any[]) => any) | undefined;
  31. onSave?: ((...args: any[]) => any) | undefined;
  32. onChangeDefault?: ((...args: any[]) => any) | undefined;
  33. }>, {
  34. isSaving: boolean;
  35. isDeleting: boolean;
  36. showSetDefault: boolean;
  37. telValidator: (val: string) => boolean;
  38. isEdit: boolean;
  39. contactInfo: import("./ContactEdit").ContactEditInfo;
  40. }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
  41. export default ContactEdit;
  42. export { contactEditProps } from './ContactEdit';
  43. export type { ContactEditInfo, ContactEditProps } from './ContactEdit';
  44. export type { ContactEditThemeVars } from './types';
  45. declare module 'vue' {
  46. interface GlobalComponents {
  47. VanContactEdit: typeof ContactEdit;
  48. }
  49. }