@maas/vue-equipment 0.36.0 → 0.36.2

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 (50) hide show
  1. package/dist/nuxt/module.json +1 -1
  2. package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue.d.ts +1 -1
  3. package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue.d.ts +2 -46
  4. package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue.d.ts +1 -1
  5. package/dist/plugins/MagicAutoSize/src/components/MagicAutoSize.vue.d.ts +2 -2
  6. package/dist/plugins/MagicCommand/src/components/MagicCommandBody.vue.d.ts +1 -1
  7. package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue.d.ts +2 -2
  8. package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue.d.ts +1 -1
  9. package/dist/plugins/MagicCookie/src/components/MagicCookie.vue.d.ts +2 -2
  10. package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue +2 -1
  11. package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue.d.ts +3 -3
  12. package/dist/plugins/MagicDraggable/src/composables/private/useDraggableDrag.d.ts +1 -0
  13. package/dist/plugins/MagicDraggable/src/composables/private/useDraggableDrag.mjs +24 -5
  14. package/dist/plugins/MagicDraggable/src/types/index.d.ts +3 -0
  15. package/dist/plugins/MagicDraggable/src/utils/defaultOptions.mjs +2 -1
  16. package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +3 -3
  17. package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue.d.ts +2 -2
  18. package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue.d.ts +1 -1
  19. package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.vue.d.ts +2 -2
  20. package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue.d.ts +3 -3
  21. package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue.d.ts +1 -1
  22. package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue.d.ts +2 -2
  23. package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue.d.ts +3 -47
  24. package/dist/plugins/MagicMenu/src/composables/private/useMenuView.mjs +0 -4
  25. package/dist/plugins/MagicModal/src/components/MagicModal.vue +1 -1
  26. package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +1 -1
  27. package/dist/plugins/MagicNoise/src/composables/private/useNoiseApi.d.ts +2 -2
  28. package/dist/plugins/MagicPlayer/src/components/MagicAudioPlayer.vue.d.ts +2 -2
  29. package/dist/plugins/MagicPlayer/src/components/MagicAudioPlayerControls.vue.d.ts +2 -2
  30. package/dist/plugins/MagicPlayer/src/components/MagicPlayer.vue.d.ts +2 -2
  31. package/dist/plugins/MagicPlayer/src/components/MagicPlayerControls.vue.d.ts +3 -3
  32. package/dist/plugins/MagicPlayer/src/components/MagicPlayerTimeline.vue +1 -1
  33. package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue.d.ts +1 -1
  34. package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue.d.ts +1 -1
  35. package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue.d.ts +1 -18
  36. package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue.d.ts +3 -3
  37. package/dist/plugins/MagicToast/src/components/MagicToastComponent.vue.d.ts +1 -1
  38. package/dist/utils/css/animations/fade-down-in.css +2 -2
  39. package/dist/utils/css/animations/fade-down-out.css +2 -2
  40. package/dist/utils/css/animations/fade-up-in.css +2 -2
  41. package/dist/utils/css/animations/fade-up-out.css +2 -2
  42. package/dist/utils/css/animations/slide-btt-in.css +2 -2
  43. package/dist/utils/css/animations/slide-btt-out.css +4 -1
  44. package/dist/utils/css/animations/slide-ltr-in.css +2 -2
  45. package/dist/utils/css/animations/slide-ltr-out.css +4 -1
  46. package/dist/utils/css/animations/slide-rtl-in.css +2 -2
  47. package/dist/utils/css/animations/slide-rtl-out.css +4 -1
  48. package/dist/utils/css/animations/slide-ttb-in.css +2 -2
  49. package/dist/utils/css/animations/slide-ttb-out.css +4 -1
  50. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maas/vue-equipment/nuxt",
3
3
  "configKey": "vueEquipment",
4
- "version": "0.35.2",
4
+ "version": "0.36.1",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "unknown"
@@ -6,7 +6,7 @@ interface MagicAccordionContentProps {
6
6
  declare function __VLS_template(): {
7
7
  slots: {
8
8
  default?(_: {
9
- isActive: boolean | undefined;
9
+ isActive: any;
10
10
  }): any;
11
11
  };
12
12
  refs: {};
@@ -8,55 +8,11 @@ interface MagicAccordionTriggerProps {
8
8
  declare function __VLS_template(): {
9
9
  slots: {
10
10
  default?(_: {
11
- isActive: boolean | undefined;
11
+ isActive: any;
12
12
  }): any;
13
13
  };
14
14
  refs: {
15
- elRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
16
- asChild: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
20
- as: {
21
- type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
22
- default: string;
23
- };
24
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
25
- [key: string]: any;
26
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
27
- asChild: {
28
- type: BooleanConstructor;
29
- default: boolean;
30
- };
31
- as: {
32
- type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
33
- default: string;
34
- };
35
- }>>, {
36
- asChild: boolean;
37
- as: import("@maas/vue-primitive").ElementOrComponent;
38
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
39
- P: {};
40
- B: {};
41
- D: {};
42
- C: {};
43
- M: {};
44
- Defaults: {};
45
- }, Readonly<import("vue").ExtractPropTypes<{
46
- asChild: {
47
- type: BooleanConstructor;
48
- default: boolean;
49
- };
50
- as: {
51
- type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
52
- default: string;
53
- };
54
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
55
- [key: string]: any;
56
- }>, {}, {}, {}, {
57
- asChild: boolean;
58
- as: import("@maas/vue-primitive").ElementOrComponent;
59
- }> | null;
15
+ elRef: any;
60
16
  };
61
17
  attrs: Partial<{}>;
62
18
  };
@@ -6,7 +6,7 @@ interface MagicAccordionViewProps {
6
6
  declare function __VLS_template(): {
7
7
  slots: {
8
8
  default?(_: {
9
- isActive: boolean;
9
+ isActive: any;
10
10
  }): any;
11
11
  };
12
12
  refs: {};
@@ -9,15 +9,15 @@ declare function __VLS_template(): {
9
9
  default?(_: {}): any;
10
10
  };
11
11
  refs: {
12
- elRef: HTMLDivElement;
12
+ elRef: any;
13
13
  };
14
14
  attrs: Partial<{}>;
15
15
  };
16
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
17
  declare const __VLS_component: import("vue").DefineComponent<MagicAutoSizeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAutoSizeProps> & Readonly<{}>, {
18
- immediate: boolean;
19
18
  width: boolean;
20
19
  height: boolean;
20
+ immediate: boolean;
21
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
23
  export default _default;
@@ -3,7 +3,7 @@ declare function __VLS_template(): {
3
3
  default?(_: {}): any;
4
4
  };
5
5
  refs: {
6
- elRef: HTMLDivElement;
6
+ elRef: any;
7
7
  };
8
8
  attrs: Partial<{}>;
9
9
  };
@@ -8,11 +8,11 @@ interface MagicCommandItemProps {
8
8
  declare function __VLS_template(): {
9
9
  slots: {
10
10
  default?(_: {
11
- isActive: boolean;
11
+ isActive: any;
12
12
  }): any;
13
13
  };
14
14
  refs: {
15
- elRef: HTMLDivElement;
15
+ elRef: any;
16
16
  };
17
17
  attrs: Partial<{}>;
18
18
  };
@@ -7,7 +7,7 @@ declare function __VLS_template(): {
7
7
  default?(_: {}): any;
8
8
  };
9
9
  refs: {
10
- elRef: HTMLDivElement;
10
+ elRef: any;
11
11
  };
12
12
  attrs: Partial<{}>;
13
13
  };
@@ -4,8 +4,8 @@ type MagicCookieProps = {
4
4
  maxAge?: number;
5
5
  };
6
6
  declare function __VLS_template(): {
7
- slots: Partial<Record<string, (_: {
8
- cookie: MagicCookieRecord;
7
+ slots: Partial<Record<any, (_: {
8
+ cookie: any;
9
9
  }) => any>> & {
10
10
  default?(_: {}): any;
11
11
  actions?(_: {}): any;
@@ -76,7 +76,7 @@ const disabled = computed(() => {
76
76
  }
77
77
  })
78
78
 
79
- const { snapPoints, animation, initial, threshold } = mappedOptions
79
+ const { snapPoints, animation, initial, threshold, scrollLock } = mappedOptions
80
80
 
81
81
  const { onPointerdown, onClick, style, hasDragged } = useDraggableDrag({
82
82
  id: props.id,
@@ -86,6 +86,7 @@ const { onPointerdown, onClick, style, hasDragged } = useDraggableDrag({
86
86
  snapPoints,
87
87
  animation,
88
88
  initial,
89
+ scrollLock,
89
90
  })
90
91
 
91
92
  // Public functions
@@ -10,9 +10,9 @@ declare function __VLS_template(): {
10
10
  default?(_: {}): any;
11
11
  };
12
12
  refs: {
13
- drawerRef: HTMLDivElement;
14
- wrapperRef: HTMLDivElement;
15
- elRef: unknown;
13
+ drawerRef: any;
14
+ wrapperRef: any;
15
+ elRef: any;
16
16
  };
17
17
  attrs: Partial<{}>;
18
18
  };
@@ -8,6 +8,7 @@ type UseDraggableDragArgs = {
8
8
  snapPoints: MaybeRef<DefaultOptions['snapPoints']>;
9
9
  animation: MaybeRef<DefaultOptions['animation']>;
10
10
  initial: MaybeRef<DefaultOptions['initial']>;
11
+ scrollLock: MaybeRef<DefaultOptions['scrollLock']>;
11
12
  };
12
13
  export declare function useDraggableDrag(args: UseDraggableDragArgs): {
13
14
  initialize: () => Promise<void>;
@@ -27,7 +27,16 @@ import { useDraggableSnap } from "./useDraggableSnap.mjs";
27
27
  import { useDraggableState } from "./useDraggableState.mjs";
28
28
  import { useDraggableScrollLock } from "./useDraggableScrollLock.mjs";
29
29
  export function useDraggableDrag(args) {
30
- const { id, elRef, wrapperRef, threshold, snapPoints, initial, animation } = args;
30
+ const {
31
+ id,
32
+ elRef,
33
+ wrapperRef,
34
+ threshold,
35
+ snapPoints,
36
+ initial,
37
+ animation,
38
+ scrollLock
39
+ } = args;
31
40
  const { initializeState } = useDraggableState(toValue(id));
32
41
  const {
33
42
  dragStart,
@@ -271,8 +280,13 @@ export function useDraggableDrag(args) {
271
280
  });
272
281
  }
273
282
  resetStateAndListeners();
274
- unlockScroll();
275
- removeScrollLockPadding();
283
+ const scrollLockValue = toValue(scrollLock);
284
+ if (scrollLockValue) {
285
+ unlockScroll();
286
+ if (typeof scrollLockValue === "object" && scrollLockValue.padding) {
287
+ removeScrollLockPadding();
288
+ }
289
+ }
276
290
  guardedReleasePointerCapture({ event: e, element: elRef.value });
277
291
  }
278
292
  function onPointermove(e) {
@@ -311,8 +325,13 @@ export function useDraggableDrag(args) {
311
325
  }
312
326
  }
313
327
  function onPointerdown(e) {
314
- lockScroll();
315
- addScrollLockPadding();
328
+ const scrollLockValue = toValue(scrollLock);
329
+ if (scrollLockValue) {
330
+ lockScroll();
331
+ if (typeof scrollLockValue === "object" && scrollLockValue.padding) {
332
+ addScrollLockPadding();
333
+ }
334
+ }
316
335
  if (dragging.value) {
317
336
  return;
318
337
  } else {
@@ -28,6 +28,9 @@ export interface MagicDraggableOptions {
28
28
  snapPoint?: DraggableSnapPoint;
29
29
  };
30
30
  snapPoints?: DraggableSnapPoint[];
31
+ scrollLock?: boolean | {
32
+ padding: boolean;
33
+ };
31
34
  disabled?: boolean;
32
35
  }
33
36
  export interface DraggableState {
@@ -17,6 +17,7 @@ const defaultOptions = {
17
17
  snapPoint: "center"
18
18
  },
19
19
  snapPoints: [],
20
- disabled: false
20
+ disabled: false,
21
+ scrollLock: { padding: true }
21
22
  };
22
23
  export { defaultOptions };
@@ -21,9 +21,9 @@ declare function __VLS_template(): {
21
21
  default?(_: {}): any;
22
22
  };
23
23
  refs: {
24
- drawerRef: HTMLDivElement;
25
- wrapperRef: HTMLDivElement;
26
- elRef: unknown;
24
+ drawerRef: any;
25
+ wrapperRef: any;
26
+ elRef: any;
27
27
  };
28
28
  attrs: Partial<{}>;
29
29
  };
@@ -8,8 +8,8 @@ declare function __VLS_template(): {
8
8
  default?(_: {}): any;
9
9
  };
10
10
  refs: {
11
- parentRef: HTMLDivElement;
12
- childRef: HTMLDivElement;
11
+ parentRef: any;
12
+ childRef: any;
13
13
  };
14
14
  attrs: Partial<{}>;
15
15
  };
@@ -11,7 +11,7 @@ declare function __VLS_template(): {
11
11
  default?(_: {}): any;
12
12
  };
13
13
  refs: {
14
- contentRef: HTMLDivElement;
14
+ contentRef: any;
15
15
  };
16
16
  attrs: Partial<{}>;
17
17
  };
@@ -11,8 +11,8 @@ declare function __VLS_template(): {
11
11
  default?(_: {}): any;
12
12
  };
13
13
  refs: {
14
- elRef: HTMLDivElement;
15
- arrowRef: HTMLDivElement;
14
+ elRef: any;
15
+ arrowRef: any;
16
16
  };
17
17
  attrs: Partial<{}>;
18
18
  };
@@ -5,12 +5,12 @@ interface MagicMenuItemProps {
5
5
  declare function __VLS_template(): {
6
6
  slots: {
7
7
  default?(_: {
8
- isActive: boolean;
9
- isDisabled: boolean | undefined;
8
+ isActive: any;
9
+ isDisabled: any;
10
10
  }): any;
11
11
  };
12
12
  refs: {
13
- elRef: HTMLDivElement;
13
+ elRef: any;
14
14
  };
15
15
  attrs: Partial<{}>;
16
16
  };
@@ -9,7 +9,7 @@ declare function __VLS_template(): {
9
9
  default?(_: {}): any;
10
10
  };
11
11
  refs: {
12
- elRef: HTMLDivElement;
12
+ elRef: any;
13
13
  };
14
14
  attrs: Partial<{}>;
15
15
  };
@@ -10,8 +10,8 @@ interface MagicMenuRemoteProps {
10
10
  declare function __VLS_template(): {
11
11
  slots: {
12
12
  default?(_: {
13
- channelActive: boolean;
14
- remoteDisabled: boolean | undefined;
13
+ channelActive: any;
14
+ remoteDisabled: any;
15
15
  }): any;
16
16
  };
17
17
  refs: {};
@@ -7,56 +7,12 @@ interface MagicMenuTriggerProps {
7
7
  declare function __VLS_template(): {
8
8
  slots: {
9
9
  default?(_: {
10
- viewActive: boolean | undefined;
11
- triggerDisabled: boolean;
10
+ viewActive: any;
11
+ triggerDisabled: any;
12
12
  }): any;
13
13
  };
14
14
  refs: {
15
- elRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
16
- asChild: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
20
- as: {
21
- type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
22
- default: string;
23
- };
24
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
25
- [key: string]: any;
26
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
27
- asChild: {
28
- type: BooleanConstructor;
29
- default: boolean;
30
- };
31
- as: {
32
- type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
33
- default: string;
34
- };
35
- }>>, {
36
- asChild: boolean;
37
- as: import("@maas/vue-primitive").ElementOrComponent;
38
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
39
- P: {};
40
- B: {};
41
- D: {};
42
- C: {};
43
- M: {};
44
- Defaults: {};
45
- }, Readonly<import("vue").ExtractPropTypes<{
46
- asChild: {
47
- type: BooleanConstructor;
48
- default: boolean;
49
- };
50
- as: {
51
- type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
52
- default: string;
53
- };
54
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
55
- [key: string]: any;
56
- }>, {}, {}, {}, {
57
- asChild: boolean;
58
- as: import("@maas/vue-primitive").ElementOrComponent;
59
- }> | null;
15
+ elRef: any;
60
16
  };
61
17
  attrs: Partial<{}>;
62
18
  };
@@ -106,8 +106,6 @@ export function useMenuView(instanceId) {
106
106
  console.log(
107
107
  `selectView() was interrupted by a call to unselectView()`
108
108
  );
109
- } else {
110
- throw error;
111
109
  }
112
110
  }
113
111
  }
@@ -128,8 +126,6 @@ export function useMenuView(instanceId) {
128
126
  console.log(
129
127
  `unselectView() was interrupted by a call to selectView()`
130
128
  );
131
- } else {
132
- throw error;
133
129
  }
134
130
  }
135
131
  }
@@ -188,5 +188,5 @@ onUnmounted(() => {
188
188
  </script>
189
189
 
190
190
  <style>
191
- @keyframes magic-modal-content-enter{0%{opacity:0;transform:translateY(2rem)}to{opacity:1;transform:translateY(0)}}@keyframes magic-modal-content-leave{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.02)}}.magic-modal{align-items:center;background:transparent;border:none;color:inherit;display:flex;height:100%;inset:0;justify-content:center;padding:0;position:fixed;width:100%;z-index:var(--magic-modal-z-index,999)}.magic-modal__content{-webkit-overflow-scrolling:touch;align-items:var(--magic-modal-content-align-items,center);display:flex;justify-content:var(--magic-modal-content-justify-content,center);max-height:100%;overflow-y:var(--magic-modal-content-overflow-y,auto);scroll-behavior:smooth;width:100%}dialog.magic-modal__content{background:transparent;border:0;margin:0;outline:0;padding:0}dialog.magic-modal__content::backdrop{background-color:transparent}.magic-modal__backdrop{-webkit-backdrop-filter:var(--magic-modal-backdrop-filter,unset);backdrop-filter:var(--magic-modal-backdrop-filter,unset);background-color:var(--magic-modal-backdrop-color,rgba(0,0,0,.5));bottom:0;height:100%;left:0;position:fixed;right:0;top:0;width:100%;z-index:-1}.magic-modal--content-enter-active{animation:magic-modal-content-enter .3s ease}.magic-modal--content-leave-active{animation:magic-modal-content-leave .3s ease}@media (prefers-reduced-motion){.magic-modal--content-enter-active{animation:fade-in .3s ease}.magic-modal--content-leave-active{animation:fade-out .3s ease}}.magic-modal--backdrop-enter-active{animation:fade-in .3s ease}.magic-modal--backdrop-leave-active{animation:fade-out .3s ease}
191
+ @keyframes magic-modal-content-enter{0%{opacity:0;transform:translate3d(0,2rem,0)}to{opacity:1;transform:translateZ(0)}}@keyframes magic-modal-content-leave{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.02)}}.magic-modal{align-items:center;background:transparent;border:none;color:inherit;display:flex;height:100%;inset:0;justify-content:center;padding:0;position:fixed;width:100%;z-index:var(--magic-modal-z-index,999)}.magic-modal__content{-webkit-overflow-scrolling:touch;align-items:var(--magic-modal-content-align-items,center);display:flex;justify-content:var(--magic-modal-content-justify-content,center);max-height:100%;overflow-y:var(--magic-modal-content-overflow-y,auto);scroll-behavior:smooth;width:100%}dialog.magic-modal__content{background:transparent;border:0;margin:0;outline:0;padding:0}dialog.magic-modal__content::backdrop{background-color:transparent}.magic-modal__backdrop{-webkit-backdrop-filter:var(--magic-modal-backdrop-filter,unset);backdrop-filter:var(--magic-modal-backdrop-filter,unset);background-color:var(--magic-modal-backdrop-color,rgba(0,0,0,.5));bottom:0;height:100%;left:0;position:fixed;right:0;top:0;width:100%;z-index:-1}.magic-modal--content-enter-active{animation:magic-modal-content-enter .3s ease}.magic-modal--content-leave-active{animation:magic-modal-content-leave .3s ease}@media (prefers-reduced-motion){.magic-modal--content-enter-active{animation:fade-in .3s ease}.magic-modal--content-leave-active{animation:fade-out .3s ease}}.magic-modal--backdrop-enter-active{animation:fade-in .3s ease}.magic-modal--backdrop-leave-active{animation:fade-out .3s ease}
192
192
  </style>
@@ -14,7 +14,7 @@ declare function __VLS_template(): {
14
14
  default?(_: {}): any;
15
15
  };
16
16
  refs: {
17
- modalRef: HTMLDivElement;
17
+ modalRef: any;
18
18
  };
19
19
  attrs: Partial<{}>;
20
20
  };
@@ -12,7 +12,7 @@ export declare function useNoiseApi({ canvasRef, offCanvasRef, options, }: UseNo
12
12
  throttledDraw: () => void;
13
13
  throttledRotateAndTransfer: () => void;
14
14
  isReady: Ref<boolean, boolean>;
15
- drawControls: import("vue").ShallowRef<RafControls | undefined>;
16
- transferControls: import("vue").ShallowRef<RafControls | undefined>;
15
+ drawControls: import("vue").ShallowRef<RafControls | undefined, RafControls | undefined>;
16
+ transferControls: import("vue").ShallowRef<RafControls | undefined, RafControls | undefined>;
17
17
  };
18
18
  export {};
@@ -8,8 +8,8 @@ declare function __VLS_template(): {
8
8
  default?(_: {}): any;
9
9
  };
10
10
  refs: {
11
- playerRef: HTMLDivElement;
12
- audioRef: HTMLAudioElement;
11
+ playerRef: any;
12
+ audioRef: any;
13
13
  };
14
14
  attrs: Partial<{}>;
15
15
  };
@@ -7,8 +7,8 @@ declare function __VLS_template(): {
7
7
  pauseIcon?(_: {}): any;
8
8
  };
9
9
  refs: {
10
- barRef: HTMLDivElement;
11
- trackRef: HTMLDivElement;
10
+ barRef: any;
11
+ trackRef: any;
12
12
  };
13
13
  attrs: Partial<{}>;
14
14
  };
@@ -12,8 +12,8 @@ declare function __VLS_template(): {
12
12
  default?(_: {}): any;
13
13
  };
14
14
  refs: {
15
- playerRef: HTMLDivElement;
16
- videoRef: HTMLVideoElement;
15
+ playerRef: any;
16
+ videoRef: any;
17
17
  };
18
18
  attrs: Partial<{}>;
19
19
  };
@@ -18,9 +18,9 @@ declare function __VLS_template(): {
18
18
  fullscreenEnterIcon?(_: {}): any;
19
19
  };
20
20
  refs: {
21
- popoverRef: HTMLDivElement;
22
- barRef: HTMLDivElement;
23
- trackRef: HTMLDivElement;
21
+ popoverRef: any;
22
+ barRef: any;
23
+ trackRef: any;
24
24
  };
25
25
  attrs: Partial<{}>;
26
26
  };
@@ -62,5 +62,5 @@ const {
62
62
  <style>
63
63
  :root{--magic-player-track-height:0.25rem}.magic-player-timeline{height:var(--magic-player-track-height)}.magic-player-timeline,.magic-player-timeline__target{align-items:center;display:flex;position:relative;width:100%}.magic-player-timeline__target{cursor:pointer;height:var(--magic-player-target-height,3.5rem)}.magic-player-timeline__slider-track{background:var(--magic-player-track-background,hsla(0,0%,98%,.15));border-radius:50rem;height:var(--magic-player-track-height);position:relative;width:100%}.magic-player-timeline__slider-inner-track{border-radius:50rem;height:100%;left:0;overflow:hidden;position:relative;top:0;width:100%;z-index:1}.magic-player-timeline__slider-thumb{height:var(--magic-player-track-height);position:absolute;width:var(--magic-player-track-height);z-index:10}.magic-player-timeline__slider-thumb-handle{background-color:var(
64
64
  --magic-player-thumb-background,#fafafa
65
- );border-radius:50rem;height:var(--magic-player-thumb-size,1rem);left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .3s ease;width:var(--magic-player-thumb-size,1rem);z-index:10}.magic-player-timeline__slider-buffered,.magic-player-timeline__slider-scrubbed,.magic-player-timeline__slider-seeked{background:currentColor;border-radius:50rem;height:100%;left:0;margin-left:calc(-100% + var(--magic-player-track-height));position:absolute;width:100%}.magic-player-timeline__slider-scrubbed{display:flex;min-width:var(--magic-player-track-height);z-index:1}.magic-player-timeline__slider-seeked{opacity:.25}.magic-player-timeline__slider-buffered{opacity:.15}.magic-player-timeline:hover .magic-player-timeline__slider-thumb-handle{transform:translate(-50%,-50%) scale(1)}.magic-player-timeline__seek-popover{bottom:100%;left:0;position:absolute;transform:translateX(-50%)}
65
+ );border-radius:50rem;height:var(--magic-player-thumb-size,1rem);left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .3s ease;width:var(--magic-player-thumb-size,1rem);z-index:10}.magic-player-timeline__slider-buffered,.magic-player-timeline__slider-scrubbed,.magic-player-timeline__slider-seeked{background:currentColor;border-radius:50rem;height:100%;left:0;margin-left:calc(-100% + var(--magic-player-track-height));position:absolute;width:100%}.magic-player-timeline__slider-scrubbed{display:flex;min-width:var(--magic-player-track-height);z-index:1}.magic-player-timeline__slider-seeked{opacity:.25}.magic-player-timeline__slider-buffered{opacity:.15}.magic-player-timeline:hover .magic-player-timeline__slider-thumb-handle{transform:translate3d(-50%,-50%,0) scale(1)}.magic-player-timeline__seek-popover{bottom:100%;left:0;position:absolute;transform:translateX(-50%)}
66
66
  </style>
@@ -7,7 +7,7 @@ declare function __VLS_template(): {
7
7
  default?(_: {}): any;
8
8
  };
9
9
  refs: {
10
- elRef: HTMLDivElement;
10
+ elRef: any;
11
11
  };
12
12
  attrs: Partial<{}>;
13
13
  };
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
10
10
  default?(_: {}): any;
11
11
  };
12
12
  refs: {
13
- elRef: HTMLDivElement;
13
+ elRef: any;
14
14
  };
15
15
  attrs: Partial<{}>;
16
16
  };
@@ -6,24 +6,7 @@ interface MagicScrollProviderProps {
6
6
  declare function __VLS_template(): {
7
7
  slots: {
8
8
  default?(_: {
9
- scrollReturn: {
10
- x: import("vue").WritableComputedRef<number>;
11
- y: import("vue").WritableComputedRef<number>;
12
- isScrolling: import("vue").Ref<boolean>;
13
- arrivedState: {
14
- left: boolean;
15
- right: boolean;
16
- top: boolean;
17
- bottom: boolean;
18
- };
19
- directions: {
20
- left: boolean;
21
- right: boolean;
22
- top: boolean;
23
- bottom: boolean;
24
- };
25
- measure(): void;
26
- };
9
+ scrollReturn: any;
27
10
  }): any;
28
11
  };
29
12
  refs: {};
@@ -6,18 +6,18 @@ interface MagicScrollSceneProps {
6
6
  declare function __VLS_template(): {
7
7
  slots: {
8
8
  default?(_: {
9
- progress: number;
9
+ progress: any;
10
10
  }): any;
11
11
  };
12
12
  refs: {
13
- elRef: HTMLDivElement;
13
+ elRef: any;
14
14
  };
15
15
  attrs: Partial<{}>;
16
16
  };
17
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
18
  declare const __VLS_component: import("vue").DefineComponent<MagicScrollSceneProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollSceneProps> & Readonly<{}>, {
19
- to: FromTo;
20
19
  from: FromTo;
20
+ to: FromTo;
21
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
23
  export default _default;
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
10
10
  default?(_: {}): any;
11
11
  };
12
12
  refs: {
13
- elRef: HTMLLIElement;
13
+ elRef: any;
14
14
  };
15
15
  attrs: Partial<{}>;
16
16
  };
@@ -1,10 +1,10 @@
1
1
  @keyframes fade-down-in {
2
2
  0% {
3
3
  opacity: 0;
4
- transform: translateY(-1rem);
4
+ transform: translate3d(0, -1rem, 0);
5
5
  }
6
6
  100% {
7
7
  opacity: 1;
8
- transform: translateY(0);
8
+ transform: translate3d(0, 0, 0);
9
9
  }
10
10
  }
@@ -1,10 +1,10 @@
1
1
  @keyframes fade-down-out {
2
2
  0% {
3
3
  opacity: 1;
4
- transform: translateY(0);
4
+ transform: translate3d(0, 0, 0);
5
5
  }
6
6
  100% {
7
7
  opacity: 0;
8
- transform: translateY(-1rem);
8
+ transform: translate3d(0, -1rem, 0);
9
9
  }
10
10
  }
@@ -1,9 +1,9 @@
1
1
  @keyframes fade-up-in {
2
2
  0% {
3
3
  opacity: 0;
4
- transform: translateY(1rem);
4
+ transform: translate3d(0, 1rem, 0);
5
5
  }
6
6
  100% {
7
- transform: translateY(0);
7
+ transform: translate3d(0, 0, 0);
8
8
  }
9
9
  }
@@ -1,10 +1,10 @@
1
1
  @keyframes fade-up-out {
2
2
  0% {
3
3
  opacity: 1;
4
- transform: translateY(0);
4
+ transform: translate3d(0, 0, 0);
5
5
  }
6
6
  100% {
7
7
  opacity: 0;
8
- transform: translateY(1rem);
8
+ transform: translate3d(0, 1rem, 0);
9
9
  }
10
10
  }
@@ -1,8 +1,8 @@
1
1
  @keyframes slide-btt-in {
2
2
  0% {
3
- transform: translateY(100%);
3
+ transform: translate3d(0, 100%, 0);
4
4
  }
5
5
  100% {
6
- transform: translateY(0);
6
+ transform: translate3d(0, 0, 0);
7
7
  }
8
8
  }
@@ -1,6 +1,9 @@
1
1
 
2
2
  @keyframes slide-btt-out {
3
+ 0% {
4
+ transform: translate3d(0, 0, 0);
5
+ }
3
6
  100% {
4
- transform: translateY(100%);
7
+ transform: translate3d(0, 100%, 0);
5
8
  }
6
9
  }
@@ -1,8 +1,8 @@
1
1
  @keyframes slide-ltr-in {
2
2
  0% {
3
- transform: translateX(-100%);
3
+ transform: translate3d(-100%, 0, 0);
4
4
  }
5
5
  100% {
6
- transform: translateX(0);
6
+ transform: translate3d(0, 0, 0);
7
7
  }
8
8
  }
@@ -1,5 +1,8 @@
1
1
  @keyframes slide-ltr-out {
2
+ 0% {
3
+ transform: translate3d(0, 0, 0);
4
+ }
2
5
  100% {
3
- transform: translateX(-100%);
6
+ transform: translate3d(-100%, 0, 0);
4
7
  }
5
8
  }
@@ -1,8 +1,8 @@
1
1
  @keyframes slide-rtl-in {
2
2
  0% {
3
- transform: translateX(100%);
3
+ transform: translate3d(100%, 0, 0);
4
4
  }
5
5
  100% {
6
- transform: translateX(0);
6
+ transform: translate3d(0, 0, 0);
7
7
  }
8
8
  }
@@ -1,5 +1,8 @@
1
1
  @keyframes slide-rtl-out {
2
+ 0% {
3
+ transform: translate3d(0, 0, 0);
4
+ }
2
5
  100% {
3
- transform: translateX(100%);
6
+ transform: translate3d(100%, 0, 0);
4
7
  }
5
8
  }
@@ -1,8 +1,8 @@
1
1
  @keyframes slide-ttb-in {
2
2
  0% {
3
- transform: translateY(-100%);
3
+ transform: translate3d(0, -100%, 0);
4
4
  }
5
5
  100% {
6
- transform: translateY(0);
6
+ transform: translate3d(0, 0, 0);
7
7
  }
8
8
  }
@@ -1,5 +1,8 @@
1
1
  @keyframes slide-ttb-out {
2
+ 0% {
3
+ transform: translate3d(0, 0, 0);
4
+ }
2
5
  100% {
3
- transform: translateY(-100%);
6
+ transform: translate3d(0, -100%, 0);
4
7
  }
5
8
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maas/vue-equipment",
3
3
  "description": "A magic collection of Vue composables, plugins, components and directives",
4
- "version": "0.36.0",
4
+ "version": "0.36.2",
5
5
  "author": "Robin Scholz <https://github.com/robinscholz>, Christoph Jeworutzki <https://github.com/ChristophJeworutzki>",
6
6
  "type": "module",
7
7
  "devDependencies": {