index.d.ts 1.4 KB

12345678910111213141516171819202122232425
  1. export declare const ContactList: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
  2. list: import("vue").PropType<import("./ContactList").ContactListItem[]>;
  3. addText: StringConstructor;
  4. modelValue: import("vue").PropType<unknown>;
  5. defaultTagText: StringConstructor;
  6. }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "add" | "update:modelValue" | "edit")[], "select" | "add" | "update:modelValue" | "edit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
  7. list: import("vue").PropType<import("./ContactList").ContactListItem[]>;
  8. addText: StringConstructor;
  9. modelValue: import("vue").PropType<unknown>;
  10. defaultTagText: StringConstructor;
  11. }>> & Readonly<{
  12. onSelect?: ((...args: any[]) => any) | undefined;
  13. "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
  14. onEdit?: ((...args: any[]) => any) | undefined;
  15. onAdd?: ((...args: any[]) => any) | undefined;
  16. }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
  17. export default ContactList;
  18. export { contactListProps } from './ContactList';
  19. export type { ContactListItem, ContactListProps } from './ContactList';
  20. export type { ContactListThemeVars } from './types';
  21. declare module 'vue' {
  22. interface GlobalComponents {
  23. VanContactList: typeof ContactList;
  24. }
  25. }