@maas/vue-equipment 1.0.0-beta.36 → 1.0.0-beta.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/dist/nuxt/module.json +1 -1
  2. package/dist/plugins/.turbo/turbo-build.log +5 -0
  3. package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.d.vue.ts +26 -0
  4. package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue.d.ts +4 -3
  5. package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.d.vue.ts +20 -0
  6. package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue +1 -1
  7. package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue.d.ts +3 -2
  8. package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.d.vue.ts +23 -0
  9. package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue.d.ts +4 -3
  10. package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.d.vue.ts +20 -0
  11. package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue +4 -4
  12. package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue.d.ts +4 -3
  13. package/dist/plugins/MagicAccordion/src/composables/useMagicAccordion.d.ts +1 -5
  14. package/dist/plugins/MagicAccordion/src/composables/useMagicAccordion.mjs +2 -3
  15. package/dist/plugins/MagicCommand/src/components/MagicCommandContent.d.vue.ts +15 -0
  16. package/dist/plugins/MagicCommand/src/components/MagicCommandContent.vue.d.ts +3 -2
  17. package/dist/plugins/MagicCommand/src/components/MagicCommandDrawer.d.vue.ts +17 -0
  18. package/dist/plugins/MagicCommand/src/components/MagicCommandDrawer.vue.d.ts +3 -2
  19. package/dist/plugins/MagicCommand/src/components/MagicCommandItem.d.vue.ts +27 -0
  20. package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue +8 -1
  21. package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue.d.ts +6 -3
  22. package/dist/plugins/MagicCommand/src/components/MagicCommandModal.d.vue.ts +17 -0
  23. package/dist/plugins/MagicCommand/src/components/MagicCommandModal.vue.d.ts +3 -2
  24. package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.d.vue.ts +20 -0
  25. package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue.d.ts +3 -2
  26. package/dist/plugins/MagicCommand/src/components/MagicCommandRenderer.d.vue.ts +3 -0
  27. package/dist/plugins/MagicCommand/src/components/MagicCommandRenderer.vue.d.ts +2 -1
  28. package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.d.vue.ts +24 -0
  29. package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue +1 -3
  30. package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue.d.ts +5 -5
  31. package/dist/plugins/MagicCommand/src/components/MagicCommandView.d.vue.ts +19 -0
  32. package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue.d.ts +4 -3
  33. package/dist/plugins/MagicCommand/src/composables/private/useCommandItem.mjs +8 -12
  34. package/dist/plugins/MagicCookie/src/components/MagicCookieItem.d.vue.ts +20 -0
  35. package/dist/plugins/MagicCookie/src/components/MagicCookieItem.vue.d.ts +4 -3
  36. package/dist/plugins/MagicCookie/src/components/MagicCookieProvider.d.vue.ts +19 -0
  37. package/dist/plugins/MagicCookie/src/components/MagicCookieProvider.vue.d.ts +3 -2
  38. package/dist/plugins/MagicCookie/src/components/MagicCookieView.d.vue.ts +17 -0
  39. package/dist/plugins/MagicCookie/src/components/MagicCookieView.vue.d.ts +4 -3
  40. package/dist/plugins/MagicDraggable/src/components/MagicDraggable.d.vue.ts +19 -0
  41. package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue.d.ts +3 -2
  42. package/dist/plugins/MagicDrawer/src/components/MagicDrawer.d.vue.ts +31 -0
  43. package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +3 -2
  44. package/dist/plugins/MagicMarquee/src/components/MagicMarquee.d.vue.ts +21 -0
  45. package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue.d.ts +3 -2
  46. package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.d.vue.ts +17 -0
  47. package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.vue.d.ts +3 -2
  48. package/dist/plugins/MagicMenu/src/components/MagicMenuContent.d.vue.ts +25 -0
  49. package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue.d.ts +3 -2
  50. package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.d.vue.ts +24 -0
  51. package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.vue.d.ts +3 -2
  52. package/dist/plugins/MagicMenu/src/components/MagicMenuItem.d.vue.ts +26 -0
  53. package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue +8 -1
  54. package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue.d.ts +6 -3
  55. package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.d.vue.ts +20 -0
  56. package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue.d.ts +3 -2
  57. package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.d.vue.ts +25 -0
  58. package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue.d.ts +4 -3
  59. package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.d.vue.ts +24 -0
  60. package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue.d.ts +5 -4
  61. package/dist/plugins/MagicMenu/src/components/MagicMenuView.d.vue.ts +20 -0
  62. package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue.d.ts +4 -3
  63. package/dist/plugins/MagicMenu/src/composables/private/useMenuKeyListener.d.ts +1 -1
  64. package/dist/plugins/MagicMenu/src/composables/private/useMenuKeyListener.mjs +16 -5
  65. package/dist/plugins/MagicModal/src/components/MagicModal.d.vue.ts +24 -0
  66. package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +3 -2
  67. package/dist/plugins/MagicNoise/src/components/MagicNoise.d.vue.ts +8 -0
  68. package/dist/plugins/MagicNoise/src/components/MagicNoise.vue.d.ts +2 -1
  69. package/dist/plugins/MagicPie/src/components/MagicPie.d.vue.ts +8 -0
  70. package/dist/plugins/MagicPie/src/components/MagicPie.vue.d.ts +2 -1
  71. package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudio.d.vue.ts +3 -0
  72. package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudio.vue.d.ts +2 -1
  73. package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.d.vue.ts +18 -0
  74. package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue.d.ts +3 -2
  75. package/dist/plugins/MagicPlayer/src/components/MagicPlayerDisplayTime.d.vue.ts +6 -0
  76. package/dist/plugins/MagicPlayer/src/components/MagicPlayerDisplayTime.vue.d.ts +2 -1
  77. package/dist/plugins/MagicPlayer/src/components/MagicPlayerMuxPopover.d.vue.ts +6 -0
  78. package/dist/plugins/MagicPlayer/src/components/MagicPlayerMuxPopover.vue.d.ts +2 -1
  79. package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.d.vue.ts +25 -0
  80. package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue.d.ts +3 -2
  81. package/dist/plugins/MagicPlayer/src/components/MagicPlayerPoster.d.vue.ts +13 -0
  82. package/dist/plugins/MagicPlayer/src/components/MagicPlayerPoster.vue.d.ts +3 -2
  83. package/dist/plugins/MagicPlayer/src/components/MagicPlayerProvider.d.vue.ts +19 -0
  84. package/dist/plugins/MagicPlayer/src/components/MagicPlayerProvider.vue.d.ts +3 -2
  85. package/dist/plugins/MagicPlayer/src/components/MagicPlayerTimeline.d.vue.ts +3 -0
  86. package/dist/plugins/MagicPlayer/src/components/MagicPlayerTimeline.vue.d.ts +2 -1
  87. package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideo.d.vue.ts +3 -0
  88. package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideo.vue.d.ts +2 -1
  89. package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.d.vue.ts +36 -0
  90. package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue.d.ts +3 -2
  91. package/dist/plugins/MagicPlayer/src/components/icons/FullscreenEnter.d.vue.ts +3 -0
  92. package/dist/plugins/MagicPlayer/src/components/icons/FullscreenEnter.vue.d.ts +2 -1
  93. package/dist/plugins/MagicPlayer/src/components/icons/FullscreenExit.d.vue.ts +3 -0
  94. package/dist/plugins/MagicPlayer/src/components/icons/FullscreenExit.vue.d.ts +2 -1
  95. package/dist/plugins/MagicPlayer/src/components/icons/Pause.d.vue.ts +3 -0
  96. package/dist/plugins/MagicPlayer/src/components/icons/Pause.vue.d.ts +2 -1
  97. package/dist/plugins/MagicPlayer/src/components/icons/Play.d.vue.ts +3 -0
  98. package/dist/plugins/MagicPlayer/src/components/icons/Play.vue.d.ts +2 -1
  99. package/dist/plugins/MagicPlayer/src/components/icons/VolumeOff.d.vue.ts +3 -0
  100. package/dist/plugins/MagicPlayer/src/components/icons/VolumeOff.vue.d.ts +2 -1
  101. package/dist/plugins/MagicPlayer/src/components/icons/VolumeOn.d.vue.ts +3 -0
  102. package/dist/plugins/MagicPlayer/src/components/icons/VolumeOn.vue.d.ts +2 -1
  103. package/dist/plugins/MagicPlayer/src/components/icons/Waiting.d.vue.ts +3 -0
  104. package/dist/plugins/MagicPlayer/src/components/icons/Waiting.vue.d.ts +2 -1
  105. package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.d.vue.ts +18 -0
  106. package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue.d.ts +3 -2
  107. package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.d.vue.ts +20 -0
  108. package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue.d.ts +3 -2
  109. package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.d.vue.ts +19 -0
  110. package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue.d.ts +4 -20
  111. package/dist/plugins/MagicScroll/src/components/MagicScrollScene.d.vue.ts +20 -0
  112. package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue.d.ts +4 -3
  113. package/dist/plugins/MagicToast/src/components/MagicToastProvider.d.vue.ts +15 -0
  114. package/dist/plugins/MagicToast/src/components/MagicToastProvider.vue +1 -1
  115. package/dist/plugins/MagicToast/src/components/MagicToastProvider.vue.d.ts +2 -1
  116. package/dist/plugins/MagicToast/src/components/MagicToastView.d.vue.ts +17 -0
  117. package/dist/plugins/MagicToast/src/components/MagicToastView.vue +7 -3
  118. package/dist/plugins/MagicToast/src/components/MagicToastView.vue.d.ts +3 -2
  119. package/dist/plugins/MagicToast/src/composables/private/useToastCallback.mjs +1 -1
  120. package/dist/plugins/MagicToast/src/types/index.d.ts +8 -8
  121. package/package.json +10 -13
  122. /package/dist/plugins/MagicToast/{symbols → src/symbols}/index.d.ts +0 -0
  123. /package/dist/plugins/MagicToast/{symbols → src/symbols}/index.mjs +0 -0
@@ -0,0 +1,20 @@
1
+ interface MagicCookieItemProps {
2
+ id?: string;
3
+ optional?: boolean;
4
+ maxAge?: number;
5
+ }
6
+ declare var __VLS_1: {
7
+ item: any;
8
+ };
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_1) => any;
11
+ };
12
+ declare const __VLS_base: import("vue").DefineComponent<MagicCookieItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCookieItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -4,13 +4,14 @@ interface MagicCookieItemProps {
4
4
  maxAge?: number;
5
5
  }
6
6
  declare var __VLS_1: {
7
- item: import("../types/index.js").CookieItem;
7
+ item: any;
8
8
  };
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_1) => any;
11
11
  };
12
- declare const __VLS_component: import("vue").DefineComponent<MagicCookieItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCookieItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
+ declare const __VLS_base: import("vue").DefineComponent<MagicCookieItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCookieItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
14
15
  export default _default;
15
16
  type __VLS_WithSlots<T, S> = T & {
16
17
  new (): {
@@ -0,0 +1,19 @@
1
+ import { type MaybeRef } from 'vue';
2
+ import type { MagicCookieOptions } from '../types/index.js';
3
+ type MagicCookieProviderProps = {
4
+ id: MaybeRef<string>;
5
+ options?: MagicCookieOptions;
6
+ };
7
+ declare var __VLS_7: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_7) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<MagicCookieProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCookieProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -8,8 +8,9 @@ declare var __VLS_7: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_7) => any;
10
10
  };
11
- declare const __VLS_component: import("vue").DefineComponent<MagicCookieProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCookieProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
+ declare const __VLS_base: import("vue").DefineComponent<MagicCookieProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCookieProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
13
14
  export default _default;
14
15
  type __VLS_WithSlots<T, S> = T & {
15
16
  new (): {
@@ -0,0 +1,17 @@
1
+ import '@maas/vue-equipment/utils/css/keyframes/fade-in.css';
2
+ import '@maas/vue-equipment/utils/css/keyframes/auto-size-out.css';
3
+ declare var __VLS_19: {
4
+ viewActive: any;
5
+ };
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_19) => any;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -1,13 +1,14 @@
1
1
  import '@maas/vue-equipment/utils/css/keyframes/fade-in.css';
2
2
  import '@maas/vue-equipment/utils/css/keyframes/auto-size-out.css';
3
3
  declare var __VLS_19: {
4
- viewActive: boolean;
4
+ viewActive: any;
5
5
  };
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_19) => any;
8
8
  };
9
- declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
9
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;
12
13
  type __VLS_WithSlots<T, S> = T & {
13
14
  new (): {
@@ -0,0 +1,19 @@
1
+ import { type MaybeRef } from 'vue';
2
+ import type { MagicDraggableOptions } from '../types/index.js';
3
+ interface MagicDraggableProps {
4
+ id: MaybeRef<string>;
5
+ options?: MagicDraggableOptions;
6
+ }
7
+ declare var __VLS_12: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_12) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<MagicDraggableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicDraggableProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -8,8 +8,9 @@ declare var __VLS_12: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_12) => any;
10
10
  };
11
- declare const __VLS_component: import("vue").DefineComponent<MagicDraggableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicDraggableProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
+ declare const __VLS_base: import("vue").DefineComponent<MagicDraggableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicDraggableProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
13
14
  export default _default;
14
15
  type __VLS_WithSlots<T, S> = T & {
15
16
  new (): {
@@ -0,0 +1,31 @@
1
+ import { type MaybeRef } from 'vue';
2
+ import type { MagicDrawerOptions } from '../types/index.js';
3
+ import '@maas/vue-equipment/utils/css/keyframes/fade-in.css';
4
+ import '@maas/vue-equipment/utils/css/keyframes/fade-out.css';
5
+ import '@maas/vue-equipment/utils/css/keyframes/slide-ltr-in.css';
6
+ import '@maas/vue-equipment/utils/css/keyframes/slide-rtl-in.css';
7
+ import '@maas/vue-equipment/utils/css/keyframes/slide-ttb-in.css';
8
+ import '@maas/vue-equipment/utils/css/keyframes/slide-btt-in.css';
9
+ import '@maas/vue-equipment/utils/css/keyframes/slide-ltr-out.css';
10
+ import '@maas/vue-equipment/utils/css/keyframes/slide-rtl-out.css';
11
+ import '@maas/vue-equipment/utils/css/keyframes/slide-ttb-out.css';
12
+ import '@maas/vue-equipment/utils/css/keyframes/slide-btt-out.css';
13
+ interface MagicDrawerProps {
14
+ id: MaybeRef<string>;
15
+ options?: MagicDrawerOptions;
16
+ }
17
+ declare var __VLS_11: {}, __VLS_37: {};
18
+ type __VLS_Slots = {} & {
19
+ backdrop?: (props: typeof __VLS_11) => any;
20
+ } & {
21
+ default?: (props: typeof __VLS_37) => any;
22
+ };
23
+ declare const __VLS_base: import("vue").DefineComponent<MagicDrawerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicDrawerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -20,8 +20,9 @@ type __VLS_Slots = {} & {
20
20
  } & {
21
21
  default?: (props: typeof __VLS_37) => any;
22
22
  };
23
- declare const __VLS_component: import("vue").DefineComponent<MagicDrawerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicDrawerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
23
+ declare const __VLS_base: import("vue").DefineComponent<MagicDrawerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicDrawerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
25
26
  export default _default;
26
27
  type __VLS_WithSlots<T, S> = T & {
27
28
  new (): {
@@ -0,0 +1,21 @@
1
+ import { type MaybeRef } from 'vue';
2
+ import type { MagicMarqueeOptions } from '../types/index.js';
3
+ interface MagicMarqueeProps {
4
+ id: MaybeRef<string>;
5
+ options?: MagicMarqueeOptions;
6
+ }
7
+ declare var __VLS_1: {}, __VLS_3: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_1) => any;
10
+ } & {
11
+ default?: (props: typeof __VLS_3) => any;
12
+ };
13
+ declare const __VLS_base: import("vue").DefineComponent<MagicMarqueeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMarqueeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -10,8 +10,9 @@ type __VLS_Slots = {} & {
10
10
  } & {
11
11
  default?: (props: typeof __VLS_3) => any;
12
12
  };
13
- declare const __VLS_component: import("vue").DefineComponent<MagicMarqueeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMarqueeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
+ declare const __VLS_base: import("vue").DefineComponent<MagicMarqueeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMarqueeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
15
16
  export default _default;
16
17
  type __VLS_WithSlots<T, S> = T & {
17
18
  new (): {
@@ -0,0 +1,17 @@
1
+ interface MagicMenuChannelProps {
2
+ id: string;
3
+ transition?: string;
4
+ }
5
+ declare var __VLS_6: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_6) => any;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<MagicMenuChannelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuChannelProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -6,8 +6,9 @@ declare var __VLS_6: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_6) => any;
8
8
  };
9
- declare const __VLS_component: import("vue").DefineComponent<MagicMenuChannelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuChannelProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
9
+ declare const __VLS_base: import("vue").DefineComponent<MagicMenuChannelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuChannelProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;
12
13
  type __VLS_WithSlots<T, S> = T & {
13
14
  new (): {
@@ -0,0 +1,25 @@
1
+ import { type MaybeRef, type ComponentPublicInstance } from 'vue';
2
+ import type { Middleware } from '@floating-ui/vue';
3
+ import '@maas/vue-equipment/utils/css/keyframes/fade-in.css';
4
+ import '@maas/vue-equipment/utils/css/keyframes/fade-out.css';
5
+ interface MagicMenuContentProps {
6
+ arrow?: boolean | undefined;
7
+ middleware?: Middleware[];
8
+ transition?: string;
9
+ referenceEl?: MaybeRef<HTMLElement | ComponentPublicInstance>;
10
+ }
11
+ declare var __VLS_25: {}, __VLS_28: {};
12
+ type __VLS_Slots = {} & {
13
+ arrow?: (props: typeof __VLS_25) => any;
14
+ } & {
15
+ default?: (props: typeof __VLS_28) => any;
16
+ };
17
+ declare const __VLS_base: import("vue").DefineComponent<MagicMenuContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -14,8 +14,9 @@ type __VLS_Slots = {} & {
14
14
  } & {
15
15
  default?: (props: typeof __VLS_28) => any;
16
16
  };
17
- declare const __VLS_component: import("vue").DefineComponent<MagicMenuContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
+ declare const __VLS_base: import("vue").DefineComponent<MagicMenuContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
19
20
  export default _default;
20
21
  type __VLS_WithSlots<T, S> = T & {
21
22
  new (): {
@@ -0,0 +1,24 @@
1
+ import { type MaybeRef, type ComponentPublicInstance } from 'vue';
2
+ import { type Middleware } from '@floating-ui/vue';
3
+ import type { MenuPlacement } from '../types/index.js';
4
+ interface MagicMenuFloatProps {
5
+ placement?: MenuPlacement;
6
+ middleware?: Middleware[];
7
+ arrow?: boolean;
8
+ referenceEl?: MaybeRef<HTMLElement | ComponentPublicInstance>;
9
+ }
10
+ declare var __VLS_1: {}, __VLS_3: {};
11
+ type __VLS_Slots = {} & {
12
+ arrow?: (props: typeof __VLS_1) => any;
13
+ } & {
14
+ default?: (props: typeof __VLS_3) => any;
15
+ };
16
+ declare const __VLS_base: import("vue").DefineComponent<MagicMenuFloatProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuFloatProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -13,8 +13,9 @@ type __VLS_Slots = {} & {
13
13
  } & {
14
14
  default?: (props: typeof __VLS_3) => any;
15
15
  };
16
- declare const __VLS_component: import("vue").DefineComponent<MagicMenuFloatProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuFloatProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
+ declare const __VLS_base: import("vue").DefineComponent<MagicMenuFloatProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuFloatProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
18
19
  export default _default;
19
20
  type __VLS_WithSlots<T, S> = T & {
20
21
  new (): {
@@ -0,0 +1,26 @@
1
+ interface MagicMenuItemProps {
2
+ id?: string;
3
+ disabled?: boolean;
4
+ }
5
+ declare var __VLS_1: {
6
+ itemActive: any;
7
+ itemDisabled: boolean;
8
+ };
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_1) => any;
11
+ };
12
+ declare const __VLS_base: import("vue").DefineComponent<MagicMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
+ click: (event: MouseEvent) => any;
14
+ enter: () => any;
15
+ }, string, import("vue").PublicProps, Readonly<MagicMenuItemProps> & Readonly<{
16
+ onClick?: ((event: MouseEvent) => any) | undefined;
17
+ onEnter?: (() => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -17,6 +17,7 @@
17
17
  </template>
18
18
 
19
19
  <script setup>
20
+ import { onKeyStroke } from "@vueuse/core";
20
21
  import { computed, inject, provide, onBeforeUnmount, watch, useId } from "vue";
21
22
  import {
22
23
  useMagicError
@@ -35,7 +36,7 @@ const { id, disabled } = defineProps({
35
36
  id: { type: String, required: false },
36
37
  disabled: { type: Boolean, required: false }
37
38
  });
38
- const emit = defineEmits(["click"]);
39
+ const emit = defineEmits(["click", "enter"]);
39
40
  const magicError = useMagicError({
40
41
  prefix: "MagicMenu",
41
42
  source: "MagicMenu"
@@ -102,8 +103,14 @@ function onClick(event) {
102
103
  unselectAllViews();
103
104
  }
104
105
  }
106
+ function onReturn() {
107
+ if (!item.disabled && item.active) {
108
+ emit("enter");
109
+ }
110
+ }
105
111
  provide(MagicMenuItemId, mappedId.value);
106
112
  provide(MagicMenuItemActive, mappedActive);
113
+ onKeyStroke("Enter", onReturn);
107
114
  onBeforeUnmount(() => {
108
115
  deleteItem(mappedId.value);
109
116
  });
@@ -3,18 +3,21 @@ interface MagicMenuItemProps {
3
3
  disabled?: boolean;
4
4
  }
5
5
  declare var __VLS_1: {
6
- itemActive: boolean;
6
+ itemActive: any;
7
7
  itemDisabled: boolean;
8
8
  };
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_1) => any;
11
11
  };
12
- declare const __VLS_component: import("vue").DefineComponent<MagicMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ declare const __VLS_base: import("vue").DefineComponent<MagicMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
13
  click: (event: MouseEvent) => any;
14
+ enter: () => any;
14
15
  }, string, import("vue").PublicProps, Readonly<MagicMenuItemProps> & Readonly<{
15
16
  onClick?: ((event: MouseEvent) => any) | undefined;
17
+ onEnter?: (() => any) | undefined;
16
18
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
+ declare const _default: typeof __VLS_export;
18
21
  export default _default;
19
22
  type __VLS_WithSlots<T, S> = T & {
20
23
  new (): {
@@ -0,0 +1,20 @@
1
+ import { type MaybeRef } from 'vue';
2
+ import type { MagicMenuOptions } from '../types/index.js';
3
+ interface MagicMenuProviderProps {
4
+ id: MaybeRef<string>;
5
+ asChild?: boolean;
6
+ options?: MagicMenuOptions;
7
+ }
8
+ declare var __VLS_8: {};
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_8) => any;
11
+ };
12
+ declare const __VLS_base: import("vue").DefineComponent<MagicMenuProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -9,8 +9,9 @@ declare var __VLS_8: {};
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_8) => any;
11
11
  };
12
- declare const __VLS_component: import("vue").DefineComponent<MagicMenuProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
+ declare const __VLS_base: import("vue").DefineComponent<MagicMenuProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
14
15
  export default _default;
15
16
  type __VLS_WithSlots<T, S> = T & {
16
17
  new (): {
@@ -0,0 +1,25 @@
1
+ import type { Interaction } from '../types/index.js';
2
+ interface MagicMenuRemoteProps {
3
+ channelId: string;
4
+ viewId?: string;
5
+ instanceId?: string;
6
+ disabled?: boolean;
7
+ trigger?: Interaction[];
8
+ asChild?: boolean;
9
+ }
10
+ declare var __VLS_11: {
11
+ channelActive: any;
12
+ remoteDisabled: boolean;
13
+ };
14
+ type __VLS_Slots = {} & {
15
+ default?: (props: typeof __VLS_11) => any;
16
+ };
17
+ declare const __VLS_base: import("vue").DefineComponent<MagicMenuRemoteProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuRemoteProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -8,14 +8,15 @@ interface MagicMenuRemoteProps {
8
8
  asChild?: boolean;
9
9
  }
10
10
  declare var __VLS_11: {
11
- channelActive: boolean;
11
+ channelActive: any;
12
12
  remoteDisabled: boolean;
13
13
  };
14
14
  type __VLS_Slots = {} & {
15
15
  default?: (props: typeof __VLS_11) => any;
16
16
  };
17
- declare const __VLS_component: import("vue").DefineComponent<MagicMenuRemoteProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuRemoteProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
+ declare const __VLS_base: import("vue").DefineComponent<MagicMenuRemoteProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuRemoteProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
19
20
  export default _default;
20
21
  type __VLS_WithSlots<T, S> = T & {
21
22
  new (): {
@@ -0,0 +1,24 @@
1
+ import type { Interaction } from '../types/index.js';
2
+ interface MagicMenuTriggerProps {
3
+ instanceId?: string;
4
+ viewId?: string;
5
+ disabled?: boolean;
6
+ trigger?: Interaction[];
7
+ asChild?: boolean;
8
+ }
9
+ declare var __VLS_13: {
10
+ viewActive: any;
11
+ triggerDisabled: any;
12
+ };
13
+ type __VLS_Slots = {} & {
14
+ default?: (props: typeof __VLS_13) => any;
15
+ };
16
+ declare const __VLS_base: import("vue").DefineComponent<MagicMenuTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -7,14 +7,15 @@ interface MagicMenuTriggerProps {
7
7
  asChild?: boolean;
8
8
  }
9
9
  declare var __VLS_13: {
10
- viewActive: boolean | undefined;
11
- triggerDisabled: boolean;
10
+ viewActive: any;
11
+ triggerDisabled: any;
12
12
  };
13
13
  type __VLS_Slots = {} & {
14
14
  default?: (props: typeof __VLS_13) => any;
15
15
  };
16
- declare const __VLS_component: import("vue").DefineComponent<MagicMenuTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
+ declare const __VLS_base: import("vue").DefineComponent<MagicMenuTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
18
19
  export default _default;
19
20
  type __VLS_WithSlots<T, S> = T & {
20
21
  new (): {
@@ -0,0 +1,20 @@
1
+ import type { MenuPlacement } from '../types/index.js';
2
+ interface MagicMenuViewProps {
3
+ id?: string;
4
+ placement?: MenuPlacement;
5
+ }
6
+ declare var __VLS_1: {
7
+ viewActive: any;
8
+ };
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_1) => any;
11
+ };
12
+ declare const __VLS_base: import("vue").DefineComponent<MagicMenuViewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -4,13 +4,14 @@ interface MagicMenuViewProps {
4
4
  placement?: MenuPlacement;
5
5
  }
6
6
  declare var __VLS_1: {
7
- viewActive: boolean;
7
+ viewActive: any;
8
8
  };
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_1) => any;
11
11
  };
12
- declare const __VLS_component: import("vue").DefineComponent<MagicMenuViewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
+ declare const __VLS_base: import("vue").DefineComponent<MagicMenuViewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
14
15
  export default _default;
15
16
  type __VLS_WithSlots<T, S> = T & {
16
17
  new (): {
@@ -1,4 +1,4 @@
1
- import { type MaybeRef } from 'vue';
1
+ import type { MaybeRef } from 'vue';
2
2
  export declare function useMenuKeyListener(instanceId: MaybeRef<string>): {
3
3
  onArrowRight: (e: KeyboardEvent) => Promise<void>;
4
4
  onArrowLeft: (e: KeyboardEvent) => void;