@maas/vue-equipment 0.24.7 → 0.25.0

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 (47) hide show
  1. package/dist/nuxt/module.json +1 -1
  2. package/dist/plugins/MagicCommand/demo/DefaultView.vue.d.ts +2 -2
  3. package/dist/plugins/MagicCommand/demo/DemoItem.vue.d.ts +7 -7
  4. package/dist/plugins/MagicCommand/demo/ProjectView.vue.d.ts +2 -2
  5. package/dist/plugins/MagicCommand/src/components/MagicCommandDrawer.vue.d.ts +7 -7
  6. package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue.d.ts +11 -11
  7. package/dist/plugins/MagicCommand/src/components/MagicCommandModal.vue.d.ts +7 -7
  8. package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue.d.ts +11 -11
  9. package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue.d.ts +11 -11
  10. package/dist/plugins/MagicCookie/src/components/MagicCookie.vue.d.ts +11 -11
  11. package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue +28 -4
  12. package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +11 -11
  13. package/dist/plugins/MagicDrawer/src/composables/private/useDrawerDrag.d.ts +2 -5
  14. package/dist/plugins/MagicDrawer/src/composables/private/useDrawerDrag.mjs +49 -71
  15. package/dist/plugins/MagicDrawer/src/composables/private/useDrawerSnap.d.ts +39 -0
  16. package/dist/plugins/MagicDrawer/src/composables/private/useDrawerSnap.mjs +9 -6
  17. package/dist/plugins/MagicDrawer/src/composables/private/useDrawerState.d.ts +109 -0
  18. package/dist/plugins/MagicDrawer/src/composables/private/useDrawerState.mjs +50 -0
  19. package/dist/plugins/MagicDrawer/src/composables/private/useDrawerUtils.d.ts +10 -0
  20. package/dist/plugins/MagicDrawer/src/composables/private/useDrawerUtils.mjs +32 -0
  21. package/dist/plugins/MagicDrawer/src/composables/private/useDrawerWheel.d.ts +13 -0
  22. package/dist/plugins/MagicDrawer/src/composables/private/useDrawerWheel.mjs +98 -0
  23. package/dist/plugins/MagicDrawer/src/composables/useDrawerApi.d.ts +1 -1
  24. package/dist/plugins/MagicDrawer/src/composables/useDrawerApi.mjs +3 -0
  25. package/dist/plugins/MagicDrawer/src/types/index.d.ts +21 -0
  26. package/dist/plugins/MagicDrawer/src/utils/defaultOptions.mjs +2 -1
  27. package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue.d.ts +11 -11
  28. package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +11 -11
  29. package/dist/plugins/MagicNoise/src/components/MagicNoise.vue.d.ts +11 -11
  30. package/dist/plugins/MagicPlayer/src/components/MagicAudioPlayer.vue.d.ts +11 -11
  31. package/dist/plugins/MagicPlayer/src/components/MagicAudioPlayerControls.vue.d.ts +7 -7
  32. package/dist/plugins/MagicPlayer/src/components/MagicPlayer.vue.d.ts +13 -13
  33. package/dist/plugins/MagicPlayer/src/components/MagicPlayerControls.vue.d.ts +7 -7
  34. package/dist/plugins/MagicPlayer/src/components/MagicPlayerDisplayTime.vue.d.ts +12 -12
  35. package/dist/plugins/MagicPlayer/src/components/MagicPlayerMuxPopover.vue.d.ts +2 -2
  36. package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue.d.ts +7 -7
  37. package/dist/plugins/MagicPlayer/src/components/MagicPlayerPoster.vue.d.ts +7 -7
  38. package/dist/plugins/MagicPlayer/src/components/MagicPlayerTimeline.vue.d.ts +2 -2
  39. package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue.d.ts +7 -7
  40. package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue.d.ts +11 -11
  41. package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue.d.ts +11 -11
  42. package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue.d.ts +11 -11
  43. package/dist/plugins/MagicScroll/src/components/MagicScrollTransform.vue.d.ts +12 -12
  44. package/dist/plugins/MagicToast/demo/DemoToast.vue.d.ts +3 -3
  45. package/dist/plugins/MagicToast/src/components/MagicToast.vue.d.ts +2 -2
  46. package/dist/plugins/MagicToast/src/components/MagicToastComponent.vue.d.ts +8 -8
  47. package/package.json +6 -2
@@ -10,6 +10,7 @@ import { useScrollLock } from "@vueuse/core";
10
10
  import { useFocusTrap } from "@vueuse/integrations/useFocusTrap";
11
11
  import { uuid, matchClass } from "@maas/vue-equipment/utils";
12
12
  import { useDrawerStore } from "./private/useDrawerStore.mjs";
13
+ import { useDrawerState } from "./private/useDrawerState.mjs";
13
14
  import { useDrawerEmitter } from "./useDrawerEmitter.mjs";
14
15
  const defaultOptions = {
15
16
  focusTrap: false,
@@ -23,6 +24,7 @@ export function useDrawerApi(id, options) {
23
24
  const focusTrap = mappedOptions.focusTarget ? typeof mappedOptions.focusTrap === "boolean" ? useFocusTrap(mappedOptions.focusTarget) : useFocusTrap(mappedOptions.focusTarget, mappedOptions.focusTrap) : void 0;
24
25
  const scrollLock = mappedOptions.scrollLock && typeof window !== "undefined" ? useScrollLock(document.body) : ref(false);
25
26
  const { drawerStore, addInstance, removeInstance } = useDrawerStore();
27
+ const { deleteState } = useDrawerState(mappedId.value);
26
28
  function progressCallback(payload) {
27
29
  if (payload.id === mappedId.value) {
28
30
  progress.value.x = payload.x;
@@ -36,6 +38,7 @@ export function useDrawerApi(id, options) {
36
38
  }
37
39
  function close() {
38
40
  removeInstance(mappedId.value);
41
+ deleteState();
39
42
  }
40
43
  function snapTo(snapPoint, duration) {
41
44
  useDrawerEmitter().emit("snapTo", {
@@ -31,9 +31,30 @@ export interface DrawerOptions {
31
31
  duration?: number;
32
32
  initial?: SnapPoint;
33
33
  };
34
+ mousewheel?: boolean;
34
35
  canClose?: boolean;
35
36
  disabled?: boolean;
36
37
  }
38
+ export interface DrawerState {
39
+ id: string;
40
+ dragStart: Date | undefined;
41
+ dragging: boolean;
42
+ wheeling: boolean;
43
+ shouldClose: boolean;
44
+ interpolateTo: number | undefined;
45
+ originX: number;
46
+ originY: number;
47
+ lastDraggedX: number;
48
+ lastDraggedY: number;
49
+ draggedX: number;
50
+ draggedY: number;
51
+ relDirectionY: 'below' | 'above' | 'absolute';
52
+ relDirectionX: 'below' | 'above' | 'absolute';
53
+ absDirectionY: 'with' | 'against' | undefined;
54
+ absDirectionX: 'with' | 'against' | undefined;
55
+ elRect: DOMRect | undefined;
56
+ wrapperRect: DOMRect | undefined;
57
+ }
37
58
  export type DrawerEvents = {
38
59
  beforeEnter: string;
39
60
  enter: string;
@@ -19,7 +19,7 @@ const defaultOptions = {
19
19
  },
20
20
  threshold: {
21
21
  lock: 0,
22
- distance: 150,
22
+ distance: 128,
23
23
  momentum: 1
24
24
  },
25
25
  tag: "dialog",
@@ -33,6 +33,7 @@ const defaultOptions = {
33
33
  duration: 200,
34
34
  initial: 1
35
35
  },
36
+ mousewheel: false,
36
37
  canClose: true,
37
38
  disabled: false
38
39
  };
@@ -2,14 +2,14 @@ interface Props {
2
2
  direction?: 'reverse' | 'normal';
3
3
  speed?: number;
4
4
  }
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
6
6
  direction: string;
7
7
  speed: number;
8
8
  }>, {
9
9
  playing: import("vue").Ref<boolean>;
10
10
  play: () => void;
11
11
  pause: () => void;
12
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
12
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
13
13
  direction: string;
14
14
  speed: number;
15
15
  }>>>, {
@@ -19,15 +19,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
19
19
  default?(_: {}): any;
20
20
  }>;
21
21
  export default _default;
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToRuntimeProps<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
22
  type __VLS_WithDefaults<P, D> = {
32
23
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
24
  default: D[K];
@@ -41,3 +32,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
41
32
  $slots: S;
42
33
  };
43
34
  };
35
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
+ type __VLS_TypePropsToOption<T> = {
37
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
38
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
+ } : {
40
+ type: import('vue').PropType<T[K]>;
41
+ required: true;
42
+ };
43
+ };
@@ -9,9 +9,9 @@ interface MagicModalProps {
9
9
  props?: Record<string, unknown>;
10
10
  options?: ModalOptions;
11
11
  }
12
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MagicModalProps>, {
12
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<MagicModalProps>, {
13
13
  options: () => ModalOptions;
14
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MagicModalProps>, {
14
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<MagicModalProps>, {
15
15
  options: () => ModalOptions;
16
16
  }>>>, {
17
17
  options: ModalOptions;
@@ -20,15 +20,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
20
20
  default?(_: {}): any;
21
21
  }>;
22
22
  export default _default;
23
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
- type __VLS_TypePropsToRuntimeProps<T> = {
25
- [K in keyof T]-?: {} extends Pick<T, K> ? {
26
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
- } : {
28
- type: import('vue').PropType<T[K]>;
29
- required: true;
30
- };
31
- };
32
23
  type __VLS_WithDefaults<P, D> = {
33
24
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
34
25
  default: D[K];
@@ -42,3 +33,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
42
33
  $slots: S;
43
34
  };
44
35
  };
36
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
+ type __VLS_TypePropsToOption<T> = {
38
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
39
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
40
+ } : {
41
+ type: import('vue').PropType<T[K]>;
42
+ required: true;
43
+ };
44
+ };
@@ -3,23 +3,14 @@ interface Props {
3
3
  options?: NoiseOptions;
4
4
  pause?: boolean;
5
5
  }
6
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
6
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
7
7
  pause: boolean;
8
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
9
  pause: boolean;
10
10
  }>>>, {
11
11
  pause: boolean;
12
12
  }, {}>;
13
13
  export default _default;
14
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
- type __VLS_TypePropsToRuntimeProps<T> = {
16
- [K in keyof T]-?: {} extends Pick<T, K> ? {
17
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
- } : {
19
- type: import('vue').PropType<T[K]>;
20
- required: true;
21
- };
22
- };
23
14
  type __VLS_WithDefaults<P, D> = {
24
15
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
25
16
  default: D[K];
@@ -28,3 +19,12 @@ type __VLS_WithDefaults<P, D> = {
28
19
  type __VLS_Prettify<T> = {
29
20
  [K in keyof T]: T[K];
30
21
  } & {};
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
+ };
30
+ };
@@ -3,10 +3,10 @@ interface Props {
3
3
  src: string;
4
4
  loop?: boolean;
5
5
  }
6
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
6
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
7
7
  src: string;
8
8
  loop: boolean;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
10
10
  src: string;
11
11
  loop: boolean;
12
12
  }>>>, {
@@ -16,15 +16,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
16
16
  default?(_: {}): any;
17
17
  }>;
18
18
  export default _default;
19
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
- type __VLS_TypePropsToRuntimeProps<T> = {
21
- [K in keyof T]-?: {} extends Pick<T, K> ? {
22
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
- } : {
24
- type: import('vue').PropType<T[K]>;
25
- required: true;
26
- };
27
- };
28
19
  type __VLS_WithDefaults<P, D> = {
29
20
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
30
21
  default: D[K];
@@ -38,3 +29,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
38
29
  $slots: S;
39
30
  };
40
31
  };
32
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
+ type __VLS_TypePropsToOption<T> = {
34
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
35
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
+ } : {
37
+ type: import('vue').PropType<T[K]>;
38
+ required: true;
39
+ };
40
+ };
@@ -1,13 +1,18 @@
1
1
  interface Props {
2
2
  id: string;
3
3
  }
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
5
5
  playIcon?(_: {}): any;
6
6
  pauseIcon?(_: {}): any;
7
7
  }>;
8
8
  export default _default;
9
+ type __VLS_WithTemplateSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
9
14
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
- type __VLS_TypePropsToRuntimeProps<T> = {
15
+ type __VLS_TypePropsToOption<T> = {
11
16
  [K in keyof T]-?: {} extends Pick<T, K> ? {
12
17
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
18
  } : {
@@ -15,8 +20,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
15
20
  required: true;
16
21
  };
17
22
  };
18
- type __VLS_WithTemplateSlots<T, S> = T & {
19
- new (): {
20
- $slots: S;
21
- };
22
- };
@@ -8,14 +8,14 @@ interface Props {
8
8
  autoplay?: boolean;
9
9
  loop?: boolean;
10
10
  }
11
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
12
12
  srcType: string;
13
13
  src: string;
14
14
  ratio: string;
15
15
  fill: boolean;
16
16
  autoplay: boolean;
17
17
  loop: boolean;
18
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
18
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
19
19
  srcType: string;
20
20
  src: string;
21
21
  ratio: string;
@@ -24,24 +24,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
24
24
  loop: boolean;
25
25
  }>>>, {
26
26
  fill: boolean;
27
- srcType: SourceType;
28
27
  src: string;
28
+ loop: boolean;
29
+ srcType: SourceType;
29
30
  ratio: string;
30
31
  autoplay: boolean;
31
- loop: boolean;
32
32
  }, {}>, {
33
33
  default?(_: {}): any;
34
34
  }>;
35
35
  export default _default;
36
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
- type __VLS_TypePropsToRuntimeProps<T> = {
38
- [K in keyof T]-?: {} extends Pick<T, K> ? {
39
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
40
- } : {
41
- type: import('vue').PropType<T[K]>;
42
- required: true;
43
- };
44
- };
45
36
  type __VLS_WithDefaults<P, D> = {
46
37
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
47
38
  default: D[K];
@@ -55,3 +46,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
55
46
  $slots: S;
56
47
  };
57
48
  };
49
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
50
+ type __VLS_TypePropsToOption<T> = {
51
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
52
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
53
+ } : {
54
+ type: import('vue').PropType<T[K]>;
55
+ required: true;
56
+ };
57
+ };
@@ -1,7 +1,7 @@
1
1
  interface Props {
2
2
  id: string;
3
3
  }
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
5
5
  seekPopover?(_: {}): any;
6
6
  playIcon?(_: {}): any;
7
7
  pauseIcon?(_: {}): any;
@@ -11,8 +11,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
11
11
  fullscreenEnterIcon?(_: {}): any;
12
12
  }>;
13
13
  export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
14
19
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
- type __VLS_TypePropsToRuntimeProps<T> = {
20
+ type __VLS_TypePropsToOption<T> = {
16
21
  [K in keyof T]-?: {} extends Pick<T, K> ? {
17
22
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
23
  } : {
@@ -20,8 +25,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
20
25
  required: true;
21
26
  };
22
27
  };
23
- type __VLS_WithTemplateSlots<T, S> = T & {
24
- new (): {
25
- $slots: S;
26
- };
27
- };
@@ -2,23 +2,14 @@ interface Props {
2
2
  id: string;
3
3
  type: 'current' | 'remaining' | 'duration';
4
4
  }
5
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
5
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
6
6
  type: string;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
8
8
  type: string;
9
9
  }>>>, {
10
- type: "duration" | "current" | "remaining";
10
+ type: "current" | "duration" | "remaining";
11
11
  }, {}>;
12
12
  export default _default;
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToRuntimeProps<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
20
- };
21
- };
22
13
  type __VLS_WithDefaults<P, D> = {
23
14
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
15
  default: D[K];
@@ -27,3 +18,12 @@ type __VLS_WithDefaults<P, D> = {
27
18
  type __VLS_Prettify<T> = {
28
19
  [K in keyof T]: T[K];
29
20
  } & {};
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToOption<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
@@ -2,10 +2,10 @@ type Props = {
2
2
  id: string;
3
3
  playbackId: string;
4
4
  };
5
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
5
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
6
6
  export default _default;
7
7
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
8
+ type __VLS_TypePropsToOption<T> = {
9
9
  [K in keyof T]-?: {} extends Pick<T, K> ? {
10
10
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
11
  } : {
@@ -1,15 +1,20 @@
1
1
  interface Props {
2
2
  id: string;
3
3
  }
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
5
5
  default?(_: {}): any;
6
6
  waitingIcon?(_: {}): any;
7
7
  playIcon?(_: {}): any;
8
8
  pauseIcon?(_: {}): any;
9
9
  }>;
10
10
  export default _default;
11
+ type __VLS_WithTemplateSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
11
16
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
- type __VLS_TypePropsToRuntimeProps<T> = {
17
+ type __VLS_TypePropsToOption<T> = {
13
18
  [K in keyof T]-?: {} extends Pick<T, K> ? {
14
19
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
20
  } : {
@@ -17,8 +22,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
17
22
  required: true;
18
23
  };
19
24
  };
20
- type __VLS_WithTemplateSlots<T, S> = T & {
21
- new (): {
22
- $slots: S;
23
- };
24
- };
@@ -1,12 +1,17 @@
1
1
  export type MagicPlayerPosterProps = {
2
2
  id: string;
3
3
  };
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<MagicPlayerPosterProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MagicPlayerPosterProps>>>, {}, {}>, {
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<MagicPlayerPosterProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicPlayerPosterProps>>>, {}, {}>, {
5
5
  default?(_: {}): any;
6
6
  }>;
7
7
  export default _default;
8
+ type __VLS_WithTemplateSlots<T, S> = T & {
9
+ new (): {
10
+ $slots: S;
11
+ };
12
+ };
8
13
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
- type __VLS_TypePropsToRuntimeProps<T> = {
14
+ type __VLS_TypePropsToOption<T> = {
10
15
  [K in keyof T]-?: {} extends Pick<T, K> ? {
11
16
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
17
  } : {
@@ -14,8 +19,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
14
19
  required: true;
15
20
  };
16
21
  };
17
- type __VLS_WithTemplateSlots<T, S> = T & {
18
- new (): {
19
- $slots: S;
20
- };
21
- };
@@ -1,10 +1,10 @@
1
1
  interface Props {
2
2
  id: string;
3
3
  }
4
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
4
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
5
5
  export default _default;
6
6
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
- type __VLS_TypePropsToRuntimeProps<T> = {
7
+ type __VLS_TypePropsToOption<T> = {
8
8
  [K in keyof T]-?: {} extends Pick<T, K> ? {
9
9
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
10
  } : {
@@ -2,12 +2,17 @@ import type { CollisionEntry } from '../types';
2
2
  interface Props {
3
3
  collisionEntries: CollisionEntry[];
4
4
  }
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
6
6
  default?(_: {}): any;
7
7
  }>;
8
8
  export default _default;
9
+ type __VLS_WithTemplateSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
9
14
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
- type __VLS_TypePropsToRuntimeProps<T> = {
15
+ type __VLS_TypePropsToOption<T> = {
11
16
  [K in keyof T]-?: {} extends Pick<T, K> ? {
12
17
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
18
  } : {
@@ -15,8 +20,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
15
20
  required: true;
16
21
  };
17
22
  };
18
- type __VLS_WithTemplateSlots<T, S> = T & {
19
- new (): {
20
- $slots: S;
21
- };
22
- };
@@ -5,9 +5,9 @@ interface Props {
5
5
  easing?: Easing;
6
6
  progress?: number;
7
7
  }
8
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
9
  easing: string;
10
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
10
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
11
11
  easing: string;
12
12
  }>>>, {
13
13
  easing: Easing;
@@ -15,15 +15,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
15
15
  default?(_: {}): any;
16
16
  }>;
17
17
  export default _default;
18
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
- type __VLS_TypePropsToRuntimeProps<T> = {
20
- [K in keyof T]-?: {} extends Pick<T, K> ? {
21
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
- } : {
23
- type: import('vue').PropType<T[K]>;
24
- required: true;
25
- };
26
- };
27
18
  type __VLS_WithDefaults<P, D> = {
28
19
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
29
20
  default: D[K];
@@ -37,3 +28,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
37
28
  $slots: S;
38
29
  };
39
30
  };
31
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
+ type __VLS_TypePropsToOption<T> = {
33
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
34
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
+ } : {
36
+ type: import('vue').PropType<T[K]>;
37
+ required: true;
38
+ };
39
+ };
@@ -3,9 +3,9 @@ interface Props {
3
3
  active?: Boolean;
4
4
  el?: MaybeComputedElementRef<HTMLElement>;
5
5
  }
6
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
6
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
7
7
  active: () => true;
8
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
9
  active: () => true;
10
10
  }>>>, {
11
11
  active: Boolean;
@@ -32,15 +32,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
32
32
  }): any;
33
33
  }>;
34
34
  export default _default;
35
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
- type __VLS_TypePropsToRuntimeProps<T> = {
37
- [K in keyof T]-?: {} extends Pick<T, K> ? {
38
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
- } : {
40
- type: import('vue').PropType<T[K]>;
41
- required: true;
42
- };
43
- };
44
35
  type __VLS_WithDefaults<P, D> = {
45
36
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
46
37
  default: D[K];
@@ -54,3 +45,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
54
45
  $slots: S;
55
46
  };
56
47
  };
48
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
49
+ type __VLS_TypePropsToOption<T> = {
50
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
51
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
52
+ } : {
53
+ type: import('vue').PropType<T[K]>;
54
+ required: true;
55
+ };
56
+ };
@@ -4,10 +4,10 @@ interface Props {
4
4
  to?: FromTo;
5
5
  debug?: boolean;
6
6
  }
7
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
7
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
8
8
  from: string;
9
9
  to: string;
10
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
10
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
11
11
  from: string;
12
12
  to: string;
13
13
  }>>>, {
@@ -19,15 +19,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
19
19
  }): any;
20
20
  }>;
21
21
  export default _default;
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToRuntimeProps<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
22
  type __VLS_WithDefaults<P, D> = {
32
23
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
24
  default: D[K];
@@ -41,3 +32,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
41
32
  $slots: S;
42
33
  };
43
34
  };
35
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
+ type __VLS_TypePropsToOption<T> = {
37
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
38
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
+ } : {
40
+ type: import('vue').PropType<T[K]>;
41
+ required: true;
42
+ };
43
+ };