index.d.ts 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. export declare const ContactEdit: import("../utils").WithInstall<import("vue").DefineComponent<{
  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. }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("save" | "delete" | "change-default")[], "save" | "delete" | "change-default", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, 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. }>> & {
  30. onSave?: ((...args: any[]) => any) | undefined;
  31. onDelete?: ((...args: any[]) => any) | undefined;
  32. "onChange-default"?: ((...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. }>>;
  41. export default ContactEdit;
  42. export type { ContactEditInfo, ContactEditProps } from './ContactEdit';
  43. declare module 'vue' {
  44. interface GlobalComponents {
  45. VanContactEdit: typeof ContactEdit;
  46. }
  47. }