index.d.ts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. export declare const ContactCard: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
  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. }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, 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. }>> & Readonly<{
  26. onClick?: ((...args: any[]) => any) | undefined;
  27. }>, {
  28. type: import("./ContactCard").ContactCardType;
  29. editable: boolean;
  30. }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
  31. export default ContactCard;
  32. export { contactCardProps } from './ContactCard';
  33. export type { ContactCardType, ContactCardProps } from './ContactCard';
  34. export type { ContactCardThemeVars } from './types';
  35. declare module 'vue' {
  36. interface GlobalComponents {
  37. VanContactCard: typeof ContactCard;
  38. }
  39. }