AddressListItem.d.ts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import { type PropType } from 'vue';
  2. import { type Numeric } from '../utils';
  3. export type AddressListAddress = {
  4. id: Numeric;
  5. tel: Numeric;
  6. name: string;
  7. address: string;
  8. isDefault?: boolean;
  9. };
  10. declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
  11. address: {
  12. type: PropType<AddressListAddress>;
  13. required: true;
  14. };
  15. disabled: BooleanConstructor;
  16. switchable: BooleanConstructor;
  17. singleChoice: BooleanConstructor;
  18. defaultTagText: StringConstructor;
  19. rightIcon: {
  20. type: PropType<string>;
  21. default: string;
  22. };
  23. }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "click" | "edit")[], "select" | "click" | "edit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
  24. address: {
  25. type: PropType<AddressListAddress>;
  26. required: true;
  27. };
  28. disabled: BooleanConstructor;
  29. switchable: BooleanConstructor;
  30. singleChoice: BooleanConstructor;
  31. defaultTagText: StringConstructor;
  32. rightIcon: {
  33. type: PropType<string>;
  34. default: string;
  35. };
  36. }>> & Readonly<{
  37. onClick?: ((...args: any[]) => any) | undefined;
  38. onSelect?: ((...args: any[]) => any) | undefined;
  39. onEdit?: ((...args: any[]) => any) | undefined;
  40. }>, {
  41. disabled: boolean;
  42. rightIcon: string;
  43. switchable: boolean;
  44. singleChoice: boolean;
  45. }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
  46. export default _default;