HookModal.d.ts 932 B

12345678910111213141516171819202122232425
  1. import type { ModalFuncProps } from '../Modal';
  2. export interface HookModalProps {
  3. afterClose: () => void;
  4. config: ModalFuncProps;
  5. destroyAction: (...args: any[]) => void;
  6. open: boolean;
  7. }
  8. export interface HookModalRef {
  9. destroy: () => void;
  10. update: (config: ModalFuncProps) => void;
  11. }
  12. declare const _default: import("vue").DefineComponent<{
  13. afterClose: () => void;
  14. config: ModalFuncProps;
  15. destroyAction: (...args: any[]) => void;
  16. open: boolean;
  17. }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
  18. afterClose: () => void;
  19. config: ModalFuncProps;
  20. destroyAction: (...args: any[]) => void;
  21. open: boolean;
  22. }> & Readonly<{}>, {
  23. open: boolean;
  24. }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
  25. export default _default;