8ce814e255d9cb5e19fe0fb48d4367c66bc03440fbb8477ebe91cbff657c803757783184ba70370077b2e28065fb2043399d65331cf04e22fb272b94d40211 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
  2. import type Popconfirm from './popconfirm.vue';
  3. export declare const popconfirmProps: {
  4. readonly title: StringConstructor;
  5. readonly confirmButtonText: StringConstructor;
  6. readonly cancelButtonText: StringConstructor;
  7. readonly confirmButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown, "primary", boolean>;
  8. readonly cancelButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown, "text", boolean>;
  9. readonly icon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, () => any, boolean>;
  10. readonly iconColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#f90", boolean>;
  11. readonly hideIcon: BooleanConstructor;
  12. readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
  13. readonly effect: {
  14. readonly default: "light";
  15. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("element-plus").PopperEffect))[], unknown, unknown>>;
  16. readonly required: false;
  17. readonly validator: ((val: unknown) => boolean) | undefined;
  18. readonly __epPropKey: true;
  19. };
  20. readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  21. readonly persistent: BooleanConstructor;
  22. readonly width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>;
  23. readonly closeOnPressEscape: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  24. };
  25. export declare const popconfirmEmits: {
  26. /**
  27. * @description triggers when click confirm button
  28. */
  29. confirm: (e: MouseEvent) => boolean;
  30. /**
  31. * @description triggers when click cancel button
  32. */
  33. cancel: (e: MouseEvent | KeyboardEvent) => boolean;
  34. };
  35. export type PopconfirmEmits = typeof popconfirmEmits;
  36. export type PopconfirmProps = ExtractPropTypes<typeof popconfirmProps>;
  37. export type PopconfirmPropsPublic = __ExtractPublicPropTypes<typeof popconfirmProps>;
  38. export type PopconfirmInstance = InstanceType<typeof Popconfirm> & unknown;