index.d.ts 1.3 KB

1234567891011121314151617181920212223
  1. export declare const ContactList: import("../utils").WithInstall<import("vue").DefineComponent<{
  2. list: import("vue").PropType<import("./ContactList").ContactListItem[]>;
  3. addText: StringConstructor;
  4. modelValue: import("vue").PropType<unknown>;
  5. defaultTagText: StringConstructor;
  6. }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "add" | "edit")[], "select" | "update:modelValue" | "add" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, 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. }>> & {
  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. }, {}>>;
  17. export default ContactList;
  18. export type { ContactListItem, ContactListProps } from './ContactList';
  19. declare module 'vue' {
  20. interface GlobalComponents {
  21. VanContactList: typeof ContactList;
  22. }
  23. }