index.d.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. export declare const ContactCard: import("../utils").WithInstall<import("vue").DefineComponent<{
  2. tel: StringConstructor;
  3. name: StringConstructor;
  4. type: {
  5. type: import("vue").PropType<import("./ContactCard").ContactCardType>;
  6. default: import("./ContactCard").ContactCardType;
  7. };
  8. addText: StringConstructor;
  9. editable: {
  10. type: BooleanConstructor;
  11. default: true;
  12. };
  13. }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  14. tel: StringConstructor;
  15. name: StringConstructor;
  16. type: {
  17. type: import("vue").PropType<import("./ContactCard").ContactCardType>;
  18. default: import("./ContactCard").ContactCardType;
  19. };
  20. addText: StringConstructor;
  21. editable: {
  22. type: BooleanConstructor;
  23. default: true;
  24. };
  25. }>> & {
  26. onClick?: ((...args: any[]) => any) | undefined;
  27. }, {
  28. type: import("./ContactCard").ContactCardType;
  29. editable: boolean;
  30. }>>;
  31. export default ContactCard;
  32. export type { ContactCardType, ContactCardProps } from './ContactCard';
  33. declare module 'vue' {
  34. interface GlobalComponents {
  35. VanContactCard: typeof ContactCard;
  36. }
  37. }