@maas/vue-equipment 1.0.0-beta.3 → 1.0.0-beta.31
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.
- package/README.md +2 -2
- package/dist/composables/index.d.ts +5 -5
- package/dist/composables/index.js +23 -13
- package/dist/composables/index.js.map +1 -1
- package/dist/nuxt/module.d.mts +2 -1
- package/dist/nuxt/module.json +2 -2
- package/dist/nuxt/module.mjs +32 -25
- package/dist/nuxt/types.d.mts +3 -1
- package/dist/plugins/.turbo/turbo-lint.log +1 -9
- package/dist/plugins/MagicAccordion/nuxt.d.ts +1 -1
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue +61 -84
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue.d.ts +10 -24
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue +17 -31
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue.d.ts +6 -20
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue +57 -62
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue.d.ts +9 -24
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue +34 -45
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue.d.ts +8 -22
- package/dist/plugins/MagicAccordion/src/composables/private/useAccordionTrigger.d.ts +2 -2
- package/dist/plugins/MagicAccordion/src/composables/private/useAccordionTrigger.mjs +4 -3
- package/dist/plugins/MagicAccordion/src/composables/private/useAccordionView.mjs +1 -0
- package/dist/plugins/MagicAccordion/src/composables/useMagicAccordion.mjs +1 -0
- package/dist/plugins/MagicAccordion/src/symbols/index.d.ts +2 -2
- package/dist/plugins/MagicAccordion/src/types/index.d.ts +2 -2
- package/dist/plugins/MagicCommand/nuxt.d.ts +1 -1
- package/dist/plugins/MagicCommand/src/components/MagicCommandContent.vue +148 -154
- package/dist/plugins/MagicCommand/src/components/MagicCommandContent.vue.d.ts +7 -14
- package/dist/plugins/MagicCommand/src/components/MagicCommandDrawer.vue +42 -52
- package/dist/plugins/MagicCommand/src/components/MagicCommandDrawer.vue.d.ts +6 -20
- package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue +72 -87
- package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue.d.ts +13 -25
- package/dist/plugins/MagicCommand/src/components/MagicCommandModal.vue +37 -47
- package/dist/plugins/MagicCommand/src/components/MagicCommandModal.vue.d.ts +6 -20
- package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue +61 -77
- package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue.d.ts +6 -22
- package/dist/plugins/MagicCommand/src/components/MagicCommandRenderer.vue +23 -39
- package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue +80 -86
- package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue.d.ts +9 -25
- package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue +36 -48
- package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue.d.ts +8 -22
- package/dist/plugins/MagicCommand/src/composables/private/useCommandScroll.d.ts +2 -2
- package/dist/plugins/MagicCommand/src/composables/private/useCommandState.mjs +1 -1
- package/dist/plugins/MagicCommand/src/composables/private/useCommandTrigger.d.ts +2 -2
- package/dist/plugins/MagicCommand/src/composables/private/useCommandTrigger.mjs +3 -2
- package/dist/plugins/MagicCommand/src/symbols/index.d.ts +4 -4
- package/dist/plugins/MagicCommand/src/types/index.d.ts +3 -3
- package/dist/plugins/MagicCookie/nuxt.d.ts +1 -1
- package/dist/plugins/MagicCookie/src/components/MagicCookieItem.vue +34 -41
- package/dist/plugins/MagicCookie/src/components/MagicCookieItem.vue.d.ts +8 -22
- package/dist/plugins/MagicCookie/src/components/MagicCookieProvider.vue +19 -36
- package/dist/plugins/MagicCookie/src/components/MagicCookieProvider.vue.d.ts +6 -20
- package/dist/plugins/MagicCookie/src/components/MagicCookieView.vue +42 -74
- package/dist/plugins/MagicCookie/src/components/MagicCookieView.vue.d.ts +9 -14
- package/dist/plugins/MagicCookie/src/composables/private/useCookieItem.mjs +3 -2
- package/dist/plugins/MagicCookie/src/composables/useMagicCookie.d.ts +2 -1
- package/dist/plugins/MagicCookie/src/composables/useMagicCookie.mjs +9 -5
- package/dist/plugins/MagicCookie/src/symbols/index.d.ts +2 -2
- package/dist/plugins/MagicCookie/src/types/index.d.ts +3 -2
- package/dist/plugins/MagicDraggable/nuxt.d.ts +1 -1
- package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue +82 -100
- package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue.d.ts +6 -24
- package/dist/plugins/MagicDraggable/src/composables/private/useDraggableDrag.d.ts +2 -2
- package/dist/plugins/MagicDraggable/src/composables/private/useDraggableDrag.mjs +43 -63
- package/dist/plugins/MagicDraggable/src/composables/private/useDraggableScrollLock.mjs +34 -14
- package/dist/plugins/MagicDraggable/src/composables/private/useDraggableSnap.d.ts +2 -15
- package/dist/plugins/MagicDraggable/src/composables/private/useDraggableSnap.mjs +103 -53
- package/dist/plugins/MagicDraggable/src/composables/private/useDraggableState.mjs +6 -5
- package/dist/plugins/MagicDraggable/src/types/index.d.ts +4 -3
- package/dist/plugins/MagicDraggable/src/utils/defaultOptions.mjs +1 -1
- package/dist/plugins/MagicDrawer/nuxt.d.ts +1 -1
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue +284 -323
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +18 -35
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerDOM.mjs +34 -14
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerDrag.d.ts +2 -2
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerDrag.mjs +3 -3
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerGuards.d.ts +1 -1
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerGuards.mjs +28 -10
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerProgress.d.ts +2 -2
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerSnap.d.ts +3 -3
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerSnap.mjs +16 -14
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerWheel.d.ts +1 -1
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerWheel.mjs +1 -1
- package/dist/plugins/MagicDrawer/src/composables/useMagicDrawer.mjs +1 -1
- package/dist/plugins/MagicDrawer/src/types/index.mjs +1 -0
- package/dist/plugins/MagicDrawer/src/utils/defaultOptions.mjs +2 -2
- package/dist/plugins/MagicEmitter/nuxt.d.ts +1 -1
- package/dist/plugins/MagicEmitter/src/composables/useMagicEmitter.d.ts +202 -100
- package/dist/plugins/MagicEmitter/src/types/index.d.ts +2 -0
- package/dist/plugins/MagicMarquee/nuxt.d.ts +1 -1
- package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue +38 -72
- package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue.d.ts +8 -24
- package/dist/plugins/MagicMarquee/src/composables/private/useMarqueeApi.d.ts +1 -1
- package/dist/plugins/MagicMarquee/src/composables/private/useMarqueeApi.mjs +8 -2
- package/dist/plugins/MagicMarquee/src/composables/useMagicMarquee.d.ts +1 -1
- package/dist/plugins/MagicMenu/nuxt.d.ts +1 -1
- package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.vue +51 -63
- package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.vue.d.ts +6 -20
- package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue +180 -216
- package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue.d.ts +10 -25
- package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.vue +171 -198
- package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.vue.d.ts +8 -24
- package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue +87 -113
- package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue.d.ts +13 -25
- package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue +82 -81
- package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue.d.ts +6 -22
- package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue +63 -86
- package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue.d.ts +9 -23
- package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue +94 -97
- package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue.d.ts +11 -25
- package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue +49 -61
- package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue.d.ts +8 -22
- package/dist/plugins/MagicMenu/src/composables/private/useMenuCallback.mjs +1 -1
- package/dist/plugins/MagicMenu/src/composables/private/useMenuChannel.mjs +15 -5
- package/dist/plugins/MagicMenu/src/composables/private/useMenuCursor.d.ts +3 -3
- package/dist/plugins/MagicMenu/src/composables/private/useMenuCursor.mjs +4 -4
- package/dist/plugins/MagicMenu/src/composables/private/useMenuDOM.mjs +35 -15
- package/dist/plugins/MagicMenu/src/composables/private/useMenuKeyListener.d.ts +1 -1
- package/dist/plugins/MagicMenu/src/composables/private/useMenuKeyListener.mjs +8 -4
- package/dist/plugins/MagicMenu/src/composables/private/useMenuTrigger.d.ts +2 -2
- package/dist/plugins/MagicMenu/src/composables/private/useMenuTrigger.mjs +4 -2
- package/dist/plugins/MagicMenu/src/composables/private/useMenuView.mjs +18 -6
- package/dist/plugins/MagicMenu/src/composables/useMagicMenu.mjs +1 -0
- package/dist/plugins/MagicMenu/src/symbols/index.d.ts +4 -4
- package/dist/plugins/MagicMenu/src/types/index.d.ts +2 -2
- package/dist/plugins/MagicMenu/src/utils/modeDelayDefaults.d.ts +2 -2
- package/dist/plugins/MagicMenu/src/utils/modeDelayDefaults.mjs +2 -2
- package/dist/plugins/MagicModal/nuxt.d.ts +1 -1
- package/dist/plugins/MagicModal/src/components/MagicModal.vue +134 -171
- package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +10 -25
- package/dist/plugins/MagicModal/src/composables/private/useModalDOM.mjs +34 -14
- package/dist/plugins/MagicModal/src/types/index.d.ts +2 -2
- package/dist/plugins/MagicModal/src/types/index.mjs +1 -0
- package/dist/plugins/MagicNoise/nuxt.d.ts +1 -1
- package/dist/plugins/MagicNoise/src/components/MagicNoise.vue +50 -81
- package/dist/plugins/MagicNoise/src/components/MagicNoise.vue.d.ts +1 -10
- package/dist/plugins/MagicNoise/src/composables/private/useNoiseApi.d.ts +3 -3
- package/dist/plugins/MagicNoise/src/composables/private/useNoiseApi.mjs +10 -6
- package/dist/plugins/MagicNoise/src/types/index.d.ts +2 -0
- package/dist/plugins/MagicNoise/src/utils/defaultOptions.mjs +3 -1
- package/dist/plugins/MagicPie/index.d.ts +7 -0
- package/dist/plugins/MagicPie/index.mjs +8 -0
- package/dist/plugins/MagicPie/nuxt.d.ts +2 -0
- package/dist/plugins/MagicPie/nuxt.mjs +23 -0
- package/dist/plugins/MagicPie/src/components/MagicPie.vue +168 -0
- package/dist/plugins/MagicPie/src/components/MagicPie.vue.d.ts +7 -0
- package/dist/plugins/MagicPie/src/composables/private/usePieState.d.ts +6 -0
- package/dist/plugins/MagicPie/src/composables/private/usePieState.mjs +33 -0
- package/dist/plugins/MagicPie/src/composables/useMagicPie.d.ts +13 -0
- package/dist/plugins/MagicPie/src/composables/useMagicPie.mjs +43 -0
- package/dist/plugins/MagicPie/src/types/index.d.ts +9 -0
- package/dist/plugins/MagicPie/src/types/index.mjs +0 -0
- package/dist/plugins/MagicPlayer/nuxt.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudio.vue +93 -65
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue +123 -127
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue.d.ts +9 -25
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerDisplayTime.vue +32 -42
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerDisplayTime.vue.d.ts +1 -10
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerMuxPopover.vue +117 -103
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerMuxPopover.vue.d.ts +1 -10
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue +134 -82
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue.d.ts +17 -13
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerPoster.vue +20 -36
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerPoster.vue.d.ts +5 -10
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerProvider.vue +66 -56
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerProvider.vue.d.ts +6 -22
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerTimeline.vue +60 -109
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideo.vue +118 -68
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue +179 -210
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue.d.ts +24 -34
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerAudioApi.d.ts +0 -4
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerAudioApi.mjs +9 -52
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerControlsApi.d.ts +8 -34
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerControlsApi.mjs +170 -234
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerEmitter.d.ts +8 -0
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerEmitter.mjs +103 -0
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerMediaApi.d.ts +3 -17
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerMediaApi.mjs +59 -176
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerProvider.d.ts +6 -0
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerProvider.mjs +34 -0
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerRuntime.d.ts +3 -4
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerRuntime.mjs +19 -35
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerState.d.ts +7 -0
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerState.mjs +60 -0
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerVideoApi.d.ts +4 -8
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerVideoApi.mjs +43 -91
- package/dist/plugins/MagicPlayer/src/composables/useMagicPlayer.d.ts +37 -52
- package/dist/plugins/MagicPlayer/src/composables/useMagicPlayer.mjs +53 -3
- package/dist/plugins/MagicPlayer/src/css/magic-player-audio-controls.css +0 -1
- package/dist/plugins/MagicPlayer/src/css/magic-player-timeline.css +5 -0
- package/dist/plugins/MagicPlayer/src/symbols/index.d.ts +6 -2
- package/dist/plugins/MagicPlayer/src/symbols/index.mjs +12 -1
- package/dist/plugins/MagicPlayer/src/types/index.d.ts +75 -10
- package/dist/plugins/MagicPlayer/src/utils/defaultOptions.d.ts +2 -2
- package/dist/plugins/MagicPlayer/src/utils/defaultOptions.mjs +6 -1
- package/dist/plugins/MagicPlayer/src/utils/playbackDefaults.d.ts +3 -0
- package/dist/plugins/MagicPlayer/src/utils/playbackDefaults.mjs +7 -0
- package/dist/plugins/MagicScroll/nuxt.d.ts +1 -1
- package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue +54 -61
- package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue.d.ts +6 -22
- package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue +56 -71
- package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue.d.ts +6 -22
- package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue +26 -33
- package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue.d.ts +24 -21
- package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue +63 -71
- package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue.d.ts +8 -24
- package/dist/plugins/MagicScroll/src/composables/private/useCollisionDetection.d.ts +2 -2
- package/dist/plugins/MagicScroll/src/composables/private/useCollisionDetection.mjs +16 -6
- package/dist/plugins/MagicScroll/src/composables/private/useScrollApi.d.ts +2 -2
- package/dist/plugins/MagicScroll/src/composables/private/useScrollApi.mjs +41 -26
- package/dist/plugins/MagicScroll/src/symbols/index.d.ts +1 -1
- package/dist/plugins/MagicToast/nuxt.d.ts +1 -1
- package/dist/plugins/MagicToast/src/components/MagicToastProvider.vue +90 -109
- package/dist/plugins/MagicToast/src/components/MagicToastProvider.vue.d.ts +7 -16
- package/dist/plugins/MagicToast/src/components/MagicToastView.vue +53 -81
- package/dist/plugins/MagicToast/src/components/MagicToastView.vue.d.ts +6 -23
- package/dist/plugins/MagicToast/src/composables/private/useToastCallback.d.ts +2 -2
- package/dist/plugins/MagicToast/src/composables/private/useToastCallback.mjs +5 -5
- package/dist/plugins/MagicToast/src/composables/private/useToastDrag.mjs +23 -23
- package/dist/plugins/MagicToast/src/composables/private/useToastListener.mjs +1 -0
- package/dist/plugins/MagicToast/src/composables/private/useToastScrollLock.mjs +33 -15
- package/dist/plugins/MagicToast/src/composables/private/useToastView.mjs +1 -0
- package/dist/plugins/MagicToast/src/composables/useMagicToast.d.ts +1 -0
- package/dist/plugins/MagicToast/src/composables/useMagicToast.mjs +10 -2
- package/dist/plugins/MagicToast/src/types/index.d.ts +3 -3
- package/dist/plugins/MagicToast/src/utils/defaultOptions.mjs +1 -1
- package/dist/plugins/index.d.ts +1 -0
- package/dist/plugins/index.mjs +1 -0
- package/dist/utils/css/animations/fade-down.css +9 -0
- package/dist/utils/css/animations.css +9 -22
- package/dist/utils/css/easings.css +9 -1
- package/dist/utils/css/keyframes.css +22 -0
- package/dist/utils/index.d.ts +9 -4
- package/dist/utils/index.js +39 -3
- package/dist/utils/index.js.map +1 -1
- package/package.json +13 -9
- package/dist/nuxt/module.cjs +0 -5
- package/dist/nuxt/module.d.ts +0 -9
- package/dist/nuxt/types.d.ts +0 -1
- package/dist/plugins/MagicAccordion/demo/data/footer.json +0 -117
- package/dist/plugins/MagicCommand/demo/data/about.json +0 -3
- package/dist/plugins/MagicCommand/demo/data/search.json +0 -594
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerStateEmitter.d.ts +0 -15
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerStateEmitter.mjs +0 -9
- package/dist/utils/css/transitions.css +0 -8
- /package/dist/utils/css/{transitions → animations}/clip.css +0 -0
- /package/dist/utils/css/{transitions → animations}/fade-up.css +0 -0
- /package/dist/utils/css/{transitions → animations}/fade.css +0 -0
- /package/dist/utils/css/{transitions → animations}/slide-btt.css +0 -0
- /package/dist/utils/css/{transitions → animations}/slide-ltr.css +0 -0
- /package/dist/utils/css/{transitions → animations}/slide-rtl.css +0 -0
- /package/dist/utils/css/{transitions → animations}/slide-ttb.css +0 -0
- /package/dist/utils/css/{transitions → animations}/zoom.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/auto-size-out.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/clip-in.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/clip-out.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/fade-down-in.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/fade-down-out.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/fade-in.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/fade-out.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/fade-up-in.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/fade-up-out.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/flip-in.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/flip-out.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/slide-btt-in.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/slide-btt-out.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/slide-ltr-in.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/slide-ltr-out.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/slide-rtl-in.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/slide-rtl-out.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/slide-ttb-in.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/slide-ttb-out.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/squash-y.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/zoom-in.css +0 -0
- /package/dist/utils/css/{animations → keyframes}/zoom-out.css +0 -0
|
@@ -2,33 +2,21 @@ interface MagicMenuItemProps {
|
|
|
2
2
|
id?: string;
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
}
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
default?(_: {
|
|
9
|
-
itemActive: any;
|
|
10
|
-
itemDisabled: boolean;
|
|
11
|
-
}): any;
|
|
12
|
-
};
|
|
13
|
-
refs: {
|
|
14
|
-
elRef: any;
|
|
15
|
-
};
|
|
16
|
-
rootEl: any;
|
|
5
|
+
declare var __VLS_1: {
|
|
6
|
+
itemActive: boolean;
|
|
7
|
+
itemDisabled: boolean;
|
|
17
8
|
};
|
|
18
|
-
type
|
|
19
|
-
|
|
20
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
-
export default _default;
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToOption<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: import('vue').PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
30
11
|
};
|
|
31
|
-
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<MagicMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
|
+
click: (event: MouseEvent) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<MagicMenuItemProps> & Readonly<{
|
|
15
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
20
|
new (): {
|
|
33
21
|
$slots: S;
|
|
34
22
|
};
|
|
@@ -1,7 +1,23 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<primitive
|
|
3
|
+
ref="el"
|
|
4
|
+
:as-child="asChild"
|
|
5
|
+
:data-id="id"
|
|
6
|
+
class="magic-menu-provider"
|
|
7
|
+
>
|
|
8
|
+
<slot />
|
|
9
|
+
</primitive>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script setup>
|
|
13
|
+
import {
|
|
14
|
+
useTemplateRef,
|
|
15
|
+
shallowRef,
|
|
16
|
+
provide,
|
|
17
|
+
watch,
|
|
18
|
+
toValue,
|
|
19
|
+
onBeforeUnmount
|
|
20
|
+
} from "vue";
|
|
5
21
|
import { onClickOutside, onKeyStroke, usePointer } from "@vueuse/core";
|
|
6
22
|
import { Primitive } from "@maas/vue-primitive";
|
|
7
23
|
import { defu } from "defu";
|
|
@@ -10,86 +26,71 @@ import { useMenuView } from "../composables/private/useMenuView";
|
|
|
10
26
|
import { useMenuKeyListener } from "../composables/private/useMenuKeyListener";
|
|
11
27
|
import { MagicMenuInstanceId } from "../symbols";
|
|
12
28
|
import { defaultOptions } from "../utils/defaultOptions";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
29
|
+
const { id, options } = defineProps({
|
|
30
|
+
id: { type: null, required: true },
|
|
31
|
+
asChild: { type: Boolean, required: false },
|
|
32
|
+
options: { type: Object, required: false }
|
|
33
|
+
});
|
|
34
|
+
const elRef = useTemplateRef("el");
|
|
35
|
+
const mappedOptions = defu(options, defaultOptions);
|
|
36
|
+
const { initializeState, deleteState } = useMenuState(id);
|
|
37
|
+
const state = initializeState(mappedOptions);
|
|
38
|
+
const lastX = shallowRef(0);
|
|
39
|
+
const lastY = shallowRef(0);
|
|
40
|
+
const { x, y } = usePointer();
|
|
41
|
+
watch(
|
|
42
|
+
() => state?.input.type,
|
|
43
|
+
(value) => {
|
|
44
|
+
if (value === "keyboard") {
|
|
45
|
+
lastX.value = x.value;
|
|
46
|
+
lastY.value = y.value;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
watch([x, y], ([x2, y2]) => {
|
|
51
|
+
if (x2 !== lastX.value || y2 !== lastY.value) {
|
|
52
|
+
if (state) {
|
|
53
|
+
state.input.type = "pointer";
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
const {
|
|
58
|
+
onArrowRight,
|
|
59
|
+
onArrowLeft,
|
|
60
|
+
onArrowUp,
|
|
61
|
+
onArrowDown,
|
|
62
|
+
onEscape,
|
|
63
|
+
onReturn,
|
|
64
|
+
onTab
|
|
65
|
+
} = useMenuKeyListener(id);
|
|
66
|
+
onKeyStroke("ArrowRight", onArrowRight);
|
|
67
|
+
onKeyStroke("ArrowLeft", onArrowLeft);
|
|
68
|
+
onKeyStroke("ArrowDown", onArrowDown);
|
|
69
|
+
onKeyStroke("ArrowUp", onArrowUp);
|
|
70
|
+
onKeyStroke("Escape", onEscape);
|
|
71
|
+
onKeyStroke("Enter", onReturn);
|
|
72
|
+
onKeyStroke("Tab", onTab);
|
|
73
|
+
const { unselectAllViews } = useMenuView(id);
|
|
74
|
+
onClickOutside(
|
|
75
|
+
elRef,
|
|
76
|
+
() => {
|
|
77
|
+
if (state) {
|
|
78
|
+
state.active = false;
|
|
79
|
+
}
|
|
80
|
+
unselectAllViews();
|
|
19
81
|
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const lastY = ref(0);
|
|
27
|
-
const { x, y } = usePointer();
|
|
28
|
-
watch(
|
|
29
|
-
() => state?.input.type,
|
|
30
|
-
(value) => {
|
|
31
|
-
if (value === "keyboard") {
|
|
32
|
-
lastX.value = x.value;
|
|
33
|
-
lastY.value = y.value;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
watch([x, y], ([x2, y2]) => {
|
|
38
|
-
if (x2 !== lastX.value || y2 !== lastY.value) {
|
|
39
|
-
if (state) {
|
|
40
|
-
state.input.type = "pointer";
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
const {
|
|
45
|
-
onArrowRight,
|
|
46
|
-
onArrowLeft,
|
|
47
|
-
onArrowUp,
|
|
48
|
-
onArrowDown,
|
|
49
|
-
onEscape,
|
|
50
|
-
onEnter,
|
|
51
|
-
onTab
|
|
52
|
-
} = useMenuKeyListener(__props.id);
|
|
53
|
-
onKeyStroke("ArrowRight", onArrowRight);
|
|
54
|
-
onKeyStroke("ArrowLeft", onArrowLeft);
|
|
55
|
-
onKeyStroke("ArrowDown", onArrowDown);
|
|
56
|
-
onKeyStroke("ArrowUp", onArrowUp);
|
|
57
|
-
onKeyStroke("Escape", onEscape);
|
|
58
|
-
onKeyStroke("Enter", onEnter);
|
|
59
|
-
onKeyStroke("Tab", onTab);
|
|
60
|
-
const { unselectAllViews } = useMenuView(__props.id);
|
|
61
|
-
onClickOutside(
|
|
62
|
-
elRef,
|
|
63
|
-
() => {
|
|
64
|
-
if (state) {
|
|
65
|
-
state.active = false;
|
|
66
|
-
}
|
|
67
|
-
unselectAllViews();
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
ignore: [".magic-menu-trigger", ".magic-menu-item", "magic-menu-float"]
|
|
71
|
-
}
|
|
72
|
-
);
|
|
73
|
-
onBeforeUnmount(() => {
|
|
74
|
-
deleteState();
|
|
75
|
-
});
|
|
76
|
-
provide(MagicMenuInstanceId, __props.id);
|
|
77
|
-
return (_ctx, _cache) => {
|
|
78
|
-
return _openBlock(), _createBlock(_unref(Primitive), {
|
|
79
|
-
ref_key: "elRef",
|
|
80
|
-
ref: elRef,
|
|
81
|
-
"as-child": _ctx.asChild,
|
|
82
|
-
class: "magic-menu-provider"
|
|
83
|
-
}, {
|
|
84
|
-
default: _withCtx(() => [
|
|
85
|
-
_renderSlot(_ctx.$slots, "default")
|
|
86
|
-
]),
|
|
87
|
-
_: 3
|
|
88
|
-
/* FORWARDED */
|
|
89
|
-
}, 8, ["as-child"]);
|
|
90
|
-
};
|
|
82
|
+
{
|
|
83
|
+
ignore: [
|
|
84
|
+
`[data-id='${toValue(id)}'] .magic-menu-trigger`,
|
|
85
|
+
`[data-id='${toValue(id)}'] .magic-menu-item`,
|
|
86
|
+
`.magic-menu-float`
|
|
87
|
+
]
|
|
91
88
|
}
|
|
89
|
+
);
|
|
90
|
+
onBeforeUnmount(() => {
|
|
91
|
+
deleteState();
|
|
92
92
|
});
|
|
93
|
+
provide(MagicMenuInstanceId, id);
|
|
93
94
|
</script>
|
|
94
95
|
|
|
95
96
|
<style>
|
|
@@ -5,30 +5,14 @@ interface MagicMenuProviderProps {
|
|
|
5
5
|
asChild?: boolean;
|
|
6
6
|
options?: MagicMenuOptions;
|
|
7
7
|
}
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
default?(_: {}): any;
|
|
12
|
-
};
|
|
13
|
-
refs: {
|
|
14
|
-
elRef: any;
|
|
15
|
-
};
|
|
16
|
-
rootEl: any;
|
|
8
|
+
declare var __VLS_7: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_7) => any;
|
|
17
11
|
};
|
|
18
|
-
|
|
19
|
-
declare const
|
|
20
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
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>;
|
|
21
14
|
export default _default;
|
|
22
|
-
type
|
|
23
|
-
type __VLS_TypePropsToOption<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: import('vue').PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
16
|
new (): {
|
|
33
17
|
$slots: S;
|
|
34
18
|
};
|
|
@@ -1,96 +1,73 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<primitive
|
|
3
|
+
class="magic-menu-remote"
|
|
4
|
+
:data-id="`${channelId}-remote`"
|
|
5
|
+
:data-disabled="disabled"
|
|
6
|
+
:data-active="channel?.active"
|
|
7
|
+
:as-child="asChild"
|
|
8
|
+
@click="onClick"
|
|
9
|
+
@mouseenter="onMouseenter"
|
|
10
|
+
>
|
|
11
|
+
<slot :channel-active="channel?.active" :remote-disabled="disabled" />
|
|
12
|
+
</primitive>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script setup>
|
|
4
16
|
import { computed, inject, watch } from "vue";
|
|
5
17
|
import { Primitive } from "@maas/vue-primitive";
|
|
6
18
|
import { useMenuView } from "../composables/private/useMenuView";
|
|
7
19
|
import { useMenuChannel } from "../composables/private/useMenuChannel";
|
|
8
20
|
import { MagicMenuInstanceId, MagicMenuViewId } from "../symbols";
|
|
9
21
|
import { useMenuRemote } from "../composables/private/useMenuRemote";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
22
|
+
const { disabled, channelId, instanceId, viewId, trigger } = defineProps({
|
|
23
|
+
channelId: { type: String, required: true },
|
|
24
|
+
viewId: { type: String, required: false },
|
|
25
|
+
instanceId: { type: String, required: false },
|
|
26
|
+
disabled: { type: Boolean, required: false },
|
|
27
|
+
trigger: { type: Array, required: false },
|
|
28
|
+
asChild: { type: Boolean, required: false }
|
|
29
|
+
});
|
|
30
|
+
const injectedInstanceId = inject(MagicMenuInstanceId, instanceId);
|
|
31
|
+
const injectedViewId = inject(MagicMenuViewId, viewId);
|
|
32
|
+
const mappedInstanceId = computed(() => instanceId ?? injectedInstanceId);
|
|
33
|
+
const mappedViewId = computed(() => viewId ?? injectedViewId);
|
|
34
|
+
if (!mappedInstanceId.value) {
|
|
35
|
+
throw new Error(
|
|
36
|
+
"MagicMenuRemote must be nested inside MagicMenuProvider or an instanceId must be provided"
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
if (!mappedViewId.value) {
|
|
40
|
+
throw new Error(
|
|
41
|
+
"MagicMenuRemote must be nested inside MagicMenuView or a viewId must be provided"
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
if (!channelId) {
|
|
45
|
+
throw new Error("MagicMenuRemote requires a channelId");
|
|
46
|
+
}
|
|
47
|
+
const mappedChannelId = computed(() => `magic-menu-channel-${channelId}`);
|
|
48
|
+
const mappedTrigger = computed(() => trigger ?? ["mouseenter"]);
|
|
49
|
+
const { getView } = useMenuView(mappedInstanceId.value);
|
|
50
|
+
const view = getView(mappedViewId.value);
|
|
51
|
+
const { initializeChannel, deleteChannel } = useMenuChannel({
|
|
52
|
+
instanceId: mappedInstanceId.value,
|
|
53
|
+
viewId: mappedViewId.value
|
|
54
|
+
});
|
|
55
|
+
const { onClick, onMouseenter } = useMenuRemote({
|
|
56
|
+
instanceId: mappedInstanceId.value,
|
|
57
|
+
viewId: mappedViewId.value,
|
|
58
|
+
mappedChannelId,
|
|
59
|
+
mappedTrigger
|
|
60
|
+
});
|
|
61
|
+
let channel = initializeChannel({ id: mappedChannelId.value });
|
|
62
|
+
watch(
|
|
63
|
+
() => view?.active,
|
|
64
|
+
(value) => {
|
|
65
|
+
if (!value) {
|
|
66
|
+
deleteChannel(mappedChannelId.value);
|
|
67
|
+
channel = initializeChannel({ id: mappedChannelId.value });
|
|
35
68
|
}
|
|
36
|
-
const mappedChannelId = computed(() => `magic-menu-channel-${__props.channelId}`);
|
|
37
|
-
const mappedTrigger = computed(() => __props.trigger ?? ["mouseenter"]);
|
|
38
|
-
const { getView } = useMenuView(mappedInstanceId);
|
|
39
|
-
const view = getView(mappedViewId);
|
|
40
|
-
const { initializeChannel, deleteChannel } = useMenuChannel({
|
|
41
|
-
instanceId: mappedInstanceId,
|
|
42
|
-
viewId: mappedViewId
|
|
43
|
-
});
|
|
44
|
-
const { onClick, onMouseenter } = useMenuRemote({
|
|
45
|
-
instanceId: mappedInstanceId,
|
|
46
|
-
viewId: mappedViewId,
|
|
47
|
-
mappedChannelId,
|
|
48
|
-
mappedTrigger
|
|
49
|
-
});
|
|
50
|
-
let channel = initializeChannel({ id: mappedChannelId.value });
|
|
51
|
-
watch(
|
|
52
|
-
() => view?.active,
|
|
53
|
-
(value) => {
|
|
54
|
-
if (!value) {
|
|
55
|
-
deleteChannel(mappedChannelId.value);
|
|
56
|
-
channel = initializeChannel({ id: mappedChannelId.value });
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
);
|
|
60
|
-
return (_ctx, _cache) => {
|
|
61
|
-
const _component_magic_menu_trigger = _resolveComponent("magic-menu-trigger");
|
|
62
|
-
return _openBlock(), _createBlock(_component_magic_menu_trigger, {
|
|
63
|
-
"view-id": _unref(mappedViewId),
|
|
64
|
-
disabled: _ctx.disabled,
|
|
65
|
-
trigger: _ctx.trigger
|
|
66
|
-
}, {
|
|
67
|
-
default: _withCtx(() => [
|
|
68
|
-
_createVNode(_unref(Primitive), {
|
|
69
|
-
class: _normalizeClass([
|
|
70
|
-
"magic-menu-remote",
|
|
71
|
-
{ "-active": _unref(channel)?.active, "-disabled": _ctx.disabled }
|
|
72
|
-
]),
|
|
73
|
-
"data-id": `${_ctx.channelId}-remote`,
|
|
74
|
-
"as-child": _ctx.asChild,
|
|
75
|
-
onClick: _unref(onClick),
|
|
76
|
-
onMouseenter: _unref(onMouseenter)
|
|
77
|
-
}, {
|
|
78
|
-
default: _withCtx(() => [
|
|
79
|
-
_renderSlot(_ctx.$slots, "default", {
|
|
80
|
-
channelActive: _unref(channel)?.active,
|
|
81
|
-
remoteDisabled: _ctx.disabled
|
|
82
|
-
})
|
|
83
|
-
]),
|
|
84
|
-
_: 3
|
|
85
|
-
/* FORWARDED */
|
|
86
|
-
}, 8, ["class", "data-id", "as-child", "onClick", "onMouseenter"])
|
|
87
|
-
]),
|
|
88
|
-
_: 3
|
|
89
|
-
/* FORWARDED */
|
|
90
|
-
}, 8, ["view-id", "disabled", "trigger"]);
|
|
91
|
-
};
|
|
92
69
|
}
|
|
93
|
-
|
|
70
|
+
);
|
|
94
71
|
</script>
|
|
95
72
|
|
|
96
73
|
<style>
|
|
@@ -98,7 +75,7 @@ export default /* @__PURE__ */ _defineComponent({
|
|
|
98
75
|
cursor: var(--magic-menu-remote-cursor, pointer);
|
|
99
76
|
}
|
|
100
77
|
|
|
101
|
-
.magic-menu-remote
|
|
78
|
+
.magic-menu-remote[data-disabled='true'] {
|
|
102
79
|
pointer-events: none;
|
|
103
80
|
}
|
|
104
81
|
</style>
|
|
@@ -7,31 +7,17 @@ interface MagicMenuRemoteProps {
|
|
|
7
7
|
trigger?: Interaction[];
|
|
8
8
|
asChild?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
default?(_: {
|
|
14
|
-
channelActive: any;
|
|
15
|
-
remoteDisabled: any;
|
|
16
|
-
}): any;
|
|
17
|
-
};
|
|
18
|
-
refs: {};
|
|
19
|
-
rootEl: any;
|
|
10
|
+
declare var __VLS_11: {
|
|
11
|
+
channelActive: boolean;
|
|
12
|
+
remoteDisabled: boolean;
|
|
20
13
|
};
|
|
21
|
-
type
|
|
22
|
-
|
|
23
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
-
export default _default;
|
|
25
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
-
type __VLS_TypePropsToOption<T> = {
|
|
27
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
-
} : {
|
|
30
|
-
type: import('vue').PropType<T[K]>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
14
|
+
type __VLS_Slots = {} & {
|
|
15
|
+
default?: (props: typeof __VLS_11) => any;
|
|
33
16
|
};
|
|
34
|
-
|
|
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>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
21
|
new (): {
|
|
36
22
|
$slots: S;
|
|
37
23
|
};
|