@maas/vue-equipment 1.0.0-beta.32 → 1.0.0-beta.34

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 (97) hide show
  1. package/dist/composables/useCountdown/index.d.ts +23 -0
  2. package/dist/composables/useCountdown/index.js +133 -0
  3. package/dist/composables/useCountdown/index.js.map +1 -0
  4. package/dist/composables/useEasings/index.d.ts +21 -0
  5. package/dist/composables/useEasings/index.js +40 -0
  6. package/dist/composables/useEasings/index.js.map +1 -0
  7. package/dist/composables/useMetaViewport/index.d.ts +9 -0
  8. package/dist/composables/useMetaViewport/index.js +29 -0
  9. package/dist/composables/useMetaViewport/index.js.map +1 -0
  10. package/dist/composables/useScrollTo/index.d.ts +49 -0
  11. package/dist/composables/useScrollTo/index.js +148 -0
  12. package/dist/composables/useScrollTo/index.js.map +1 -0
  13. package/dist/nuxt/module.json +2 -2
  14. package/dist/nuxt/module.mjs +17 -11
  15. package/dist/plugins/.turbo/turbo-lint.log +1 -1
  16. package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue.d.ts +3 -3
  17. package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue.d.ts +3 -3
  18. package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue.d.ts +1 -1
  19. package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue.d.ts +3 -3
  20. package/dist/plugins/MagicAccordion/src/composables/private/useAccordionCallback.mjs +1 -1
  21. package/dist/plugins/MagicCommand/src/components/MagicCommandContent.vue.d.ts +3 -3
  22. package/dist/plugins/MagicCommand/src/components/MagicCommandDrawer.vue +2 -2
  23. package/dist/plugins/MagicCommand/src/components/MagicCommandDrawer.vue.d.ts +3 -3
  24. package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue.d.ts +1 -1
  25. package/dist/plugins/MagicCommand/src/components/MagicCommandModal.vue +2 -2
  26. package/dist/plugins/MagicCommand/src/components/MagicCommandModal.vue.d.ts +3 -3
  27. package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue.d.ts +3 -3
  28. package/dist/plugins/MagicCommand/src/components/MagicCommandRenderer.vue +1 -1
  29. package/dist/plugins/MagicCommand/src/components/MagicCommandRenderer.vue.d.ts +1 -1
  30. package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue.d.ts +1 -1
  31. package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue.d.ts +1 -1
  32. package/dist/plugins/MagicCommand/src/composables/private/useCommandCallback.mjs +1 -1
  33. package/dist/plugins/MagicCookie/src/components/MagicCookieItem.vue.d.ts +1 -1
  34. package/dist/plugins/MagicCookie/src/components/MagicCookieProvider.vue.d.ts +3 -3
  35. package/dist/plugins/MagicCookie/src/components/MagicCookieView.vue.d.ts +3 -3
  36. package/dist/plugins/MagicCookie/src/composables/private/useCookieCallback.mjs +1 -1
  37. package/dist/plugins/MagicCookie/src/composables/useMagicCookie.mjs +1 -1
  38. package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue.d.ts +1 -1
  39. package/dist/plugins/MagicDraggable/src/composables/private/useDraggableDrag.mjs +1 -1
  40. package/dist/plugins/MagicDraggable/src/composables/private/useDraggableSnap.mjs +1 -1
  41. package/dist/plugins/MagicDraggable/src/composables/useMagicDraggable.mjs +1 -1
  42. package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue +1 -1
  43. package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +4 -4
  44. package/dist/plugins/MagicDrawer/src/composables/private/useDrawerCallback.mjs +2 -2
  45. package/dist/plugins/MagicDrawer/src/composables/private/useDrawerDrag.mjs +1 -1
  46. package/dist/plugins/MagicDrawer/src/composables/private/useDrawerProgress.mjs +1 -1
  47. package/dist/plugins/MagicDrawer/src/composables/private/useDrawerSnap.mjs +1 -1
  48. package/dist/plugins/MagicDrawer/src/composables/useMagicDrawer.mjs +1 -1
  49. package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue.d.ts +1 -1
  50. package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.vue.d.ts +3 -3
  51. package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue.d.ts +4 -4
  52. package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.vue.d.ts +1 -1
  53. package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue.d.ts +1 -1
  54. package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue.d.ts +3 -3
  55. package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue.d.ts +1 -1
  56. package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue.d.ts +1 -1
  57. package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue.d.ts +1 -1
  58. package/dist/plugins/MagicMenu/src/composables/private/useMenuCallback.mjs +1 -1
  59. package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +4 -4
  60. package/dist/plugins/MagicModal/src/composables/private/useModalCallback.mjs +1 -1
  61. package/dist/plugins/MagicNoise/src/components/MagicNoise.vue.d.ts +1 -1
  62. package/dist/plugins/MagicPie/src/components/MagicPie.vue.d.ts +1 -1
  63. package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudio.vue.d.ts +1 -1
  64. package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue.d.ts +3 -3
  65. package/dist/plugins/MagicPlayer/src/components/MagicPlayerDisplayTime.vue.d.ts +1 -1
  66. package/dist/plugins/MagicPlayer/src/components/MagicPlayerMuxPopover.vue.d.ts +1 -1
  67. package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue +2 -2
  68. package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue.d.ts +6 -6
  69. package/dist/plugins/MagicPlayer/src/components/MagicPlayerPoster.vue.d.ts +1 -1
  70. package/dist/plugins/MagicPlayer/src/components/MagicPlayerProvider.vue.d.ts +1 -1
  71. package/dist/plugins/MagicPlayer/src/components/MagicPlayerTimeline.vue.d.ts +1 -1
  72. package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideo.vue.d.ts +1 -1
  73. package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue.d.ts +11 -11
  74. package/dist/plugins/MagicPlayer/src/components/icons/FullscreenEnter.vue.d.ts +1 -1
  75. package/dist/plugins/MagicPlayer/src/components/icons/FullscreenExit.vue.d.ts +1 -1
  76. package/dist/plugins/MagicPlayer/src/components/icons/Pause.vue.d.ts +1 -1
  77. package/dist/plugins/MagicPlayer/src/components/icons/Play.vue.d.ts +1 -1
  78. package/dist/plugins/MagicPlayer/src/components/icons/VolumeOff.vue.d.ts +1 -1
  79. package/dist/plugins/MagicPlayer/src/components/icons/VolumeOn.vue.d.ts +1 -1
  80. package/dist/plugins/MagicPlayer/src/components/icons/Waiting.vue.d.ts +1 -1
  81. package/dist/plugins/MagicPlayer/src/composables/private/usePlayerEmitter.mjs +1 -1
  82. package/dist/plugins/MagicPlayer/src/css/magic-player-overlay.css +0 -0
  83. package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue.d.ts +1 -1
  84. package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue.d.ts +1 -1
  85. package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue.d.ts +1 -1
  86. package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue.d.ts +1 -1
  87. package/dist/plugins/MagicScroll/src/composables/private/useCollisionDetection.mjs +1 -1
  88. package/dist/plugins/MagicToast/src/components/MagicToastProvider.vue.d.ts +1 -1
  89. package/dist/plugins/MagicToast/src/components/MagicToastView.vue.d.ts +1 -1
  90. package/dist/plugins/MagicToast/src/composables/private/useToastCallback.mjs +1 -1
  91. package/dist/plugins/MagicToast/src/composables/private/useToastDrag.mjs +1 -1
  92. package/package.json +23 -19
  93. package/dist/composables/index.d.ts +0 -97
  94. package/dist/composables/index.js +0 -344
  95. package/dist/composables/index.js.map +0 -1
  96. package/dist/plugins/index.d.ts +0 -14
  97. package/dist/plugins/index.mjs +0 -14
@@ -2,7 +2,7 @@ declare var __VLS_1: {};
2
2
  type __VLS_Slots = {} & {
3
3
  default?: (props: typeof __VLS_1) => any;
4
4
  };
5
- 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>;
5
+ declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
6
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
7
7
  export default _default;
8
8
  type __VLS_WithSlots<T, S> = T & {
@@ -8,7 +8,7 @@ declare var __VLS_1: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_1) => any;
10
10
  };
11
- declare const __VLS_component: import("vue").DefineComponent<MagicPlayerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_component: import("vue").DefineComponent<MagicPlayerProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
13
  export default _default;
14
14
  type __VLS_WithSlots<T, S> = T & {
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -5,27 +5,27 @@ interface MagicPlayerControlsProps {
5
5
  standalone?: boolean;
6
6
  transition?: string;
7
7
  }
8
- declare var __VLS_5: {}, __VLS_7: {}, __VLS_12: {}, __VLS_17: {}, __VLS_23: {}, __VLS_25: {}, __VLS_30: {}, __VLS_35: {}, __VLS_40: {};
8
+ declare var __VLS_6: {}, __VLS_8: {}, __VLS_14: {}, __VLS_20: {}, __VLS_27: {}, __VLS_29: {}, __VLS_35: {}, __VLS_41: {}, __VLS_47: {};
9
9
  type __VLS_Slots = {} & {
10
- popover?: (props: typeof __VLS_5) => any;
10
+ popover?: (props: typeof __VLS_6) => any;
11
11
  } & {
12
- playIcon?: (props: typeof __VLS_7) => any;
12
+ playIcon?: (props: typeof __VLS_8) => any;
13
13
  } & {
14
- pauseIcon?: (props: typeof __VLS_12) => any;
14
+ pauseIcon?: (props: typeof __VLS_14) => any;
15
15
  } & {
16
- timelineBefore?: (props: typeof __VLS_17) => any;
16
+ timelineBefore?: (props: typeof __VLS_20) => any;
17
17
  } & {
18
- timelineAfter?: (props: typeof __VLS_23) => any;
18
+ timelineAfter?: (props: typeof __VLS_27) => any;
19
19
  } & {
20
- volumeOffIcon?: (props: typeof __VLS_25) => any;
20
+ volumeOffIcon?: (props: typeof __VLS_29) => any;
21
21
  } & {
22
- volumeOnIcon?: (props: typeof __VLS_30) => any;
22
+ volumeOnIcon?: (props: typeof __VLS_35) => any;
23
23
  } & {
24
- fullscreenExitIcon?: (props: typeof __VLS_35) => any;
24
+ fullscreenExitIcon?: (props: typeof __VLS_41) => any;
25
25
  } & {
26
- fullscreenEnterIcon?: (props: typeof __VLS_40) => any;
26
+ fullscreenEnterIcon?: (props: typeof __VLS_47) => any;
27
27
  };
28
- declare const __VLS_component: import("vue").DefineComponent<MagicPlayerControlsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerControlsProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_component: import("vue").DefineComponent<MagicPlayerControlsProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerControlsProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
29
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
30
30
  export default _default;
31
31
  type __VLS_WithSlots<T, S> = T & {
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { toRefs, watch, toValue } from "vue";
2
- import { useMagicEmitter } from "@maas/vue-equipment/plugins";
2
+ import { useMagicEmitter } from "@maas/vue-equipment/plugins/MagicEmitter";
3
3
  import { usePlayerState } from "./usePlayerState.mjs";
4
4
  export function usePlayerEmitter(args) {
5
5
  const { id } = args;
@@ -7,7 +7,7 @@ declare var __VLS_1: {};
7
7
  type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_1) => any;
9
9
  };
10
- declare const __VLS_component: import("vue").DefineComponent<MagicScrollCollisionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollCollisionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_component: import("vue").DefineComponent<MagicScrollCollisionProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollCollisionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
12
  export default _default;
13
13
  type __VLS_WithSlots<T, S> = T & {
@@ -9,7 +9,7 @@ declare var __VLS_1: {};
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_1) => any;
11
11
  };
12
- declare const __VLS_component: import("vue").DefineComponent<MagicScrollMotionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollMotionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_component: import("vue").DefineComponent<MagicScrollMotionProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollMotionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
13
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
14
14
  export default _default;
15
15
  type __VLS_WithSlots<T, S> = T & {
@@ -25,7 +25,7 @@ declare var __VLS_1: {
25
25
  type __VLS_Slots = {} & {
26
26
  default?: (props: typeof __VLS_1) => any;
27
27
  };
28
- declare const __VLS_component: import("vue").DefineComponent<MagicScrollProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_component: import("vue").DefineComponent<MagicScrollProviderProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
29
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
30
30
  export default _default;
31
31
  type __VLS_WithSlots<T, S> = T & {
@@ -9,7 +9,7 @@ declare var __VLS_1: {
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_1) => any;
11
11
  };
12
- declare const __VLS_component: import("vue").DefineComponent<MagicScrollSceneProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollSceneProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_component: import("vue").DefineComponent<MagicScrollSceneProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollSceneProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
13
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
14
14
  export default _default;
15
15
  type __VLS_WithSlots<T, S> = T & {
@@ -1,6 +1,6 @@
1
1
  import { shallowRef, reactive, computed, toValue } from "vue";
2
2
  import { useElementBounding, useWindowSize } from "@vueuse/core";
3
- import { useMagicEmitter } from "@maas/vue-equipment/plugins";
3
+ import { useMagicEmitter } from "@maas/vue-equipment/plugins/MagicEmitter";
4
4
  export function useCollisionDetection(args) {
5
5
  const { id, scrollY, child, parent, offset } = args;
6
6
  const alerted = reactive({
@@ -10,5 +10,5 @@ interface MagicToastProps {
10
10
  id: MaybeRef<string>;
11
11
  options?: MagicToastOptions;
12
12
  }
13
- declare const _default: import("vue").DefineComponent<MagicToastProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicToastProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: import("vue").DefineComponent<MagicToastProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicToastProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
14
  export default _default;
@@ -6,7 +6,7 @@ declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_component: import("vue").DefineComponent<MagicToastViewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicToastViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_component: import("vue").DefineComponent<MagicToastViewProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicToastViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
10
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
11
  export default _default;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { toValue } from "vue";
2
- import { useMagicEmitter } from "@maas/vue-equipment/plugins";
2
+ import { useMagicEmitter } from "@maas/vue-equipment/plugins/MagicEmitter";
3
3
  import { useToastView } from "./useToastView.mjs";
4
4
  import { useToastState } from "./useToastState.mjs";
5
5
  export function useToastCallback(instanceId) {
@@ -7,7 +7,7 @@ import {
7
7
  interpolate,
8
8
  isWithinRange
9
9
  } from "@maas/vue-equipment/utils";
10
- import { useMagicEmitter } from "@maas/vue-equipment/plugins";
10
+ import { useMagicEmitter } from "@maas/vue-equipment/plugins/MagicEmitter";
11
11
  import { useToastState } from "./useToastState.mjs";
12
12
  import { useToastView } from "./useToastView.mjs";
13
13
  import { useToastScrollLock } from "./useToastScrollLock.mjs";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maas/vue-equipment",
3
3
  "description": "Our Frontend Toolkit, Free and Open Source",
4
- "version": "1.0.0-beta.32",
4
+ "version": "1.0.0-beta.34",
5
5
  "contributors": [
6
6
  {
7
7
  "name": "Robin Scholz",
@@ -13,30 +13,34 @@
13
13
  }
14
14
  ],
15
15
  "devDependencies": {
16
- "@maas/config": "^1.6.0",
16
+ "@maas/config": "^1.10.1",
17
17
  "@maas/mirror": "catalog:",
18
18
  "@release-it/bumper": "^7.0.5",
19
19
  "@types/node": "catalog:",
20
- "eslint": "^9.26.0",
20
+ "eslint": "^9.32.0",
21
21
  "prettier": "catalog:",
22
- "prettier-plugin-tailwindcss": "^0.6.11",
23
- "release-it": "^18.1.2",
22
+ "prettier-plugin-tailwindcss": "^0.6.14",
23
+ "release-it": "^19.0.4",
24
24
  "tailwindcss": "catalog:",
25
- "turbo": "^2.5.2",
26
- "typescript": "catalog:"
25
+ "turbo": "^2.5.5",
26
+ "typescript": "5.6.3"
27
27
  },
28
28
  "exports": {
29
29
  "./nuxt": {
30
30
  "types": "./dist/nuxt/types.d.mts",
31
31
  "import": "./dist/nuxt/module.mjs"
32
32
  },
33
- "./composables": {
34
- "types": "./dist/composables/index.d.ts",
35
- "import": "./dist/composables/index.js"
33
+ "./composables/*": {
34
+ "types": "./dist/composables/*/index.d.ts",
35
+ "import": "./dist/composables/*/index.js"
36
36
  },
37
- "./plugins": {
38
- "types": "./dist/plugins/index.d.ts",
39
- "import": "./dist/plugins/index.mjs"
37
+ "./plugins/*/nuxt": {
38
+ "types": "./dist/plugins/*/nuxt.d.ts",
39
+ "import": "./dist/plugins/*/nuxt.mjs"
40
+ },
41
+ "./plugins/*": {
42
+ "types": "./dist/plugins/*/index.d.ts",
43
+ "import": "./dist/plugins/*/index.mjs"
40
44
  },
41
45
  "./plugins/MagicPlayer/css/*.css": {
42
46
  "import": "./dist/plugins/MagicPlayer/src/css/*.css"
@@ -58,17 +62,17 @@
58
62
  "@maas/magic-timer": "^1",
59
63
  "@maas/vue-autosize": "^1",
60
64
  "@maas/vue-primitive": "^1",
61
- "@nuxt/kit": "^3",
62
- "@vueuse/core": "^12",
63
- "@vueuse/integrations": "^12",
65
+ "@nuxt/kit": ">=3",
66
+ "@vueuse/core": ">=12",
67
+ "@vueuse/integrations": ">=12",
64
68
  "defu": "^6",
65
69
  "focus-trap": "^7",
66
70
  "hls.js": "^1",
67
71
  "luxon": "^3",
68
72
  "mitt": "^3",
69
73
  "motion": "^12",
70
- "nuxt": "^3.15",
71
- "universal-cookie": "^7",
74
+ "nuxt": ">=3.15",
75
+ "universal-cookie": ">=7",
72
76
  "vue": "^3.5",
73
77
  "wheel-gestures": "^2.2.48"
74
78
  },
@@ -142,7 +146,7 @@
142
146
  "volta": {
143
147
  "node": "20.18.1"
144
148
  },
145
- "packageManager": "pnpm@10.10.0",
149
+ "packageManager": "pnpm@10.13.1",
146
150
  "pnpm": {
147
151
  "overrides": {
148
152
  "typescript": "catalog:"
@@ -1,97 +0,0 @@
1
- import * as vue from 'vue';
2
- import { MaybeRef } from 'vue';
3
- import { DateTime } from 'luxon';
4
- import { linear, easeInQuad, easeOutQuad, easeInOutQuad, easeOutBack, easeInCubic, easeOutCubic, easeInOutCubic, easeInQuart, easeOutQuart, easeInOutQuart, easeInQuint, easeOutQuint, easeInOutQuint } from '@maas/vue-equipment/utils';
5
- import { MaybeElement, MaybeComputedElementRef } from '@vueuse/core';
6
-
7
- type DateTimeArray = [number, number, number, number?, number?, number?];
8
- interface CountdownOptions {
9
- endDateTime: MaybeRef<DateTimeArray>;
10
- timezone?: MaybeRef<string>;
11
- zeroIndexedMonths?: boolean;
12
- }
13
- declare function useCountdown(options: CountdownOptions, callback?: () => void): {
14
- years: vue.ShallowRef<number, number>;
15
- days: vue.ShallowRef<number, number>;
16
- hours: vue.ShallowRef<number, number>;
17
- minutes: vue.ShallowRef<number, number>;
18
- seconds: vue.ShallowRef<number, number>;
19
- endDateTime: vue.ComputedRef<DateTime<true> | DateTime<false>>;
20
- pad: (value: number) => string;
21
- restart: () => void;
22
- onTick: (callback: () => void) => void;
23
- };
24
-
25
- type EasingKey = 'linear' | 'easeInQuad' | 'easeOutQuad' | 'easeInOutQuad' | 'easeOutBack' | 'easeInCubic' | 'easeOutCubic' | 'easeInOutCubic' | 'easeInQuart' | 'easeOutQuart' | 'easeInOutQuart' | 'easeInQuint' | 'easeOutQuint' | 'easeInOutQuint';
26
- declare function useEasings(): {
27
- linear: typeof linear;
28
- easeInQuad: typeof easeInQuad;
29
- easeOutQuad: typeof easeOutQuad;
30
- easeInOutQuad: typeof easeInOutQuad;
31
- easeOutBack: typeof easeOutBack;
32
- easeInCubic: typeof easeInCubic;
33
- easeOutCubic: typeof easeOutCubic;
34
- easeInOutCubic: typeof easeInOutCubic;
35
- easeInQuart: typeof easeInQuart;
36
- easeOutQuart: typeof easeOutQuart;
37
- easeInOutQuart: typeof easeInOutQuart;
38
- easeInQuint: typeof easeInQuint;
39
- easeOutQuint: typeof easeOutQuint;
40
- easeInOutQuint: typeof easeInOutQuint;
41
- };
42
-
43
- type UseMetaViewportArgs = {
44
- content: string;
45
- };
46
- declare function useMetaViewport(args?: UseMetaViewportArgs): {
47
- setMetaViewport: () => void;
48
- resetMetaViewport: () => void;
49
- };
50
-
51
- type ScrollToTarget = string | Element | MaybeElement | MaybeComputedElementRef;
52
- type ScrollToParent = ScrollToTarget | Window;
53
- type ScrollToParams = {
54
- parent?: Element | Window;
55
- left: number;
56
- top: number;
57
- duration?: {
58
- x?: number;
59
- y?: number;
60
- };
61
- easing?: (t: number) => number;
62
- callback?: () => void;
63
- };
64
- type getScrollDurationParams = {
65
- parent: Element | Window;
66
- left: number;
67
- top: number;
68
- speed: number;
69
- };
70
- type scrollToTargetParams = {
71
- target: ScrollToTarget;
72
- parent?: ScrollToParent;
73
- offset?: {
74
- x?: number;
75
- y?: number;
76
- };
77
- speed?: number;
78
- easing?: (t: number) => number;
79
- };
80
- declare function useScrollTo(): {
81
- getScrollPosition: (element: Element | Window) => {
82
- x: number;
83
- y: number;
84
- };
85
- getDistance: (target: Element, parent?: Element | Window) => {
86
- top: number;
87
- left: number;
88
- };
89
- getScrollDuration: ({ parent, left, top, speed, }: getScrollDurationParams) => {
90
- x: number;
91
- y: number;
92
- };
93
- scrollTo: ({ parent, top, left, duration, easing, callback, }: ScrollToParams) => void;
94
- scrollToTarget: ({ target, parent, offset, speed, easing, }: scrollToTargetParams) => void;
95
- };
96
-
97
- export { type CountdownOptions, type DateTimeArray, type EasingKey, type ScrollToParams, type ScrollToParent, type ScrollToTarget, type UseMetaViewportArgs, type getScrollDurationParams, type scrollToTargetParams, useCountdown, useEasings, useMetaViewport, useScrollTo };