popconfirm.vue.d.ts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import { IconPropType } from "../../../utils/vue/icon.js";
  2. import { PopperEffect, PopperInstance } from "../../popper/src/popper.js";
  3. import { ButtonType } from "../../button/src/button.js";
  4. import { PopconfirmProps } from "./popconfirm.js";
  5. import * as _$vue from "vue";
  6. //#region ../../packages/components/popconfirm/src/popconfirm.vue.d.ts
  7. declare var __VLS_23: {
  8. confirm: (e: MouseEvent) => void;
  9. cancel: (e: MouseEvent) => void;
  10. }, __VLS_41: {};
  11. type __VLS_Slots = {} & {
  12. actions?: (props: typeof __VLS_23) => any;
  13. } & {
  14. reference?: (props: typeof __VLS_41) => any;
  15. };
  16. declare const __VLS_base: _$vue.DefineComponent<PopconfirmProps, {
  17. popperRef: _$vue.ComputedRef<PopperInstance | undefined>;
  18. hide: () => void;
  19. }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
  20. confirm: (e: MouseEvent) => void;
  21. cancel: (e: MouseEvent) => void;
  22. }, string, _$vue.PublicProps, Readonly<PopconfirmProps> & Readonly<{
  23. onConfirm?: ((e: MouseEvent) => any) | undefined;
  24. onCancel?: ((e: MouseEvent) => any) | undefined;
  25. }>, {
  26. icon: IconPropType;
  27. width: string | number;
  28. teleported: boolean;
  29. effect: PopperEffect;
  30. hideAfter: number;
  31. confirmButtonType: ButtonType;
  32. cancelButtonType: ButtonType;
  33. iconColor: string;
  34. }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
  35. declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
  36. declare const _default: typeof __VLS_export;
  37. type __VLS_WithSlots<T, S> = T & {
  38. new (): {
  39. $slots: S;
  40. };
  41. };
  42. //#endregion
  43. export { _default as default };