@maas/vue-equipment 1.0.0-beta.15 → 1.0.0-beta.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nuxt/module.d.mts +2 -1
- package/dist/nuxt/module.d.ts +2 -1
- package/dist/nuxt/module.json +1 -1
- package/dist/nuxt/types.d.mts +7 -1
- package/dist/nuxt/types.d.ts +7 -1
- package/dist/plugins/MagicAccordion/nuxt.d.ts +1 -1
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue +2 -0
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue.d.ts +1 -1
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue +1 -0
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue +1 -0
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue.d.ts +1 -1
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue +1 -0
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue.d.ts +1 -1
- package/dist/plugins/MagicAccordion/src/composables/private/useAccordionTrigger.mjs +1 -0
- package/dist/plugins/MagicAccordion/src/composables/private/useAccordionView.mjs +1 -0
- package/dist/plugins/MagicAccordion/src/composables/useMagicAccordion.mjs +1 -0
- package/dist/plugins/MagicCommand/nuxt.d.ts +1 -1
- package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue.d.ts +1 -1
- package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue +1 -0
- package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue +1 -0
- package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue.d.ts +2 -2
- package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue.d.ts +1 -1
- package/dist/plugins/MagicCommand/src/composables/private/useCommandTrigger.mjs +1 -0
- package/dist/plugins/MagicCookie/nuxt.d.ts +1 -1
- package/dist/plugins/MagicCookie/src/components/MagicCookieItem.vue.d.ts +1 -1
- package/dist/plugins/MagicCookie/src/components/MagicCookieView.vue +1 -0
- package/dist/plugins/MagicCookie/src/components/MagicCookieView.vue.d.ts +1 -1
- package/dist/plugins/MagicDraggable/nuxt.d.ts +1 -1
- package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue.d.ts +4 -4
- package/dist/plugins/MagicDrawer/nuxt.d.ts +1 -1
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +37 -37
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerWheel.mjs +1 -1
- package/dist/plugins/MagicDrawer/src/types/index.mjs +1 -0
- package/dist/plugins/MagicEmitter/nuxt.d.ts +1 -1
- package/dist/plugins/MagicMarquee/nuxt.d.ts +1 -1
- package/dist/plugins/MagicMenu/nuxt.d.ts +1 -1
- package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue.d.ts +1 -1
- package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue +1 -0
- package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue +1 -0
- package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue.d.ts +1 -1
- package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue +1 -0
- package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue.d.ts +2 -2
- package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue.d.ts +1 -1
- package/dist/plugins/MagicMenu/src/composables/private/useMenuKeyListener.mjs +1 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuTrigger.mjs +2 -0
- package/dist/plugins/MagicMenu/src/composables/useMagicMenu.mjs +1 -0
- package/dist/plugins/MagicModal/nuxt.d.ts +1 -1
- package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +5 -5
- package/dist/plugins/MagicModal/src/types/index.mjs +1 -0
- package/dist/plugins/MagicNoise/nuxt.d.ts +1 -1
- package/dist/plugins/MagicPie/nuxt.d.ts +1 -1
- package/dist/plugins/MagicPlayer/nuxt.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue +2 -0
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue +3 -0
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue +6 -0
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue.d.ts +1 -1
- package/dist/plugins/MagicScroll/nuxt.d.ts +1 -1
- package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue +1 -0
- package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue.d.ts +2 -19
- package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue.d.ts +1 -1
- package/dist/plugins/MagicToast/nuxt.d.ts +1 -1
- package/dist/plugins/MagicToast/src/components/MagicToastProvider.vue +1 -0
- package/dist/plugins/MagicToast/src/composables/private/useToastListener.mjs +1 -0
- package/dist/plugins/MagicToast/src/composables/private/useToastView.mjs +1 -0
- package/package.json +1 -1
package/dist/nuxt/module.d.mts
CHANGED
package/dist/nuxt/module.d.ts
CHANGED
package/dist/nuxt/module.json
CHANGED
package/dist/nuxt/types.d.mts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NuxtModule } from '@nuxt/schema'
|
|
2
|
+
|
|
3
|
+
import type { default as Module } from './module.js'
|
|
4
|
+
|
|
5
|
+
export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
6
|
+
|
|
7
|
+
export { default } from './module.js'
|
package/dist/nuxt/types.d.ts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NuxtModule } from '@nuxt/schema'
|
|
2
|
+
|
|
3
|
+
import type { default as Module } from './module'
|
|
4
|
+
|
|
5
|
+
export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
6
|
+
|
|
7
|
+
export { default } from './module'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/schema").NuxtModule<import("nuxt/schema").ModuleOptions, import("nuxt/schema").ModuleOptions, false>;
|
|
2
2
|
export default _default;
|
|
@@ -29,6 +29,8 @@
|
|
|
29
29
|
<script setup>
|
|
30
30
|
import { inject, computed } from "vue";
|
|
31
31
|
import { defu } from "defu";
|
|
32
|
+
import { AutoSize } from "@maas/vue-autosize";
|
|
33
|
+
import { Primitive } from "@maas/vue-primitive";
|
|
32
34
|
import { useAccordionView } from "../composables/private/useAccordionView";
|
|
33
35
|
import { useAccordionState } from "../composables/private/useAccordionState";
|
|
34
36
|
import { useAccordionCallback } from "../composables/private/useAccordionCallback";
|
|
@@ -21,7 +21,7 @@ declare const mappedAnimation: import("vue").ComputedRef<{
|
|
|
21
21
|
declare const onBeforeEnter: () => void, onEnter: () => void, onAfterEnter: () => Promise<void>, onBeforeLeave: () => void, onLeave: () => void, onAfterLeave: () => void;
|
|
22
22
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
23
23
|
declare var __VLS_13: {
|
|
24
|
-
viewActive:
|
|
24
|
+
viewActive: any;
|
|
25
25
|
};
|
|
26
26
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
27
27
|
default?: (props: typeof __VLS_13) => any;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<script setup>
|
|
8
8
|
import { onBeforeUnmount, provide } from "vue";
|
|
9
|
+
import { Primitive } from "@maas/vue-primitive";
|
|
9
10
|
import { MagicAccordionInstanceId } from "../symbols";
|
|
10
11
|
import { useAccordionState } from "../composables/private/useAccordionState";
|
|
11
12
|
const { id, asChild, options } = defineProps({
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
<script setup>
|
|
17
17
|
import { useTemplateRef, inject, computed, toValue } from "vue";
|
|
18
|
+
import { Primitive } from "@maas/vue-primitive";
|
|
18
19
|
import { onKeyStroke } from "@vueuse/core";
|
|
19
20
|
import { useAccordionTrigger } from "../composables/private/useAccordionTrigger";
|
|
20
21
|
import { useAccordionState } from "../composables/private/useAccordionState";
|
|
@@ -13,7 +13,7 @@ declare const mappedDisabled: import("vue").ComputedRef<boolean | undefined>;
|
|
|
13
13
|
declare const onMouseenter: () => void, onClick: () => void;
|
|
14
14
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
15
15
|
declare var __VLS_12: {
|
|
16
|
-
viewActive:
|
|
16
|
+
viewActive: any;
|
|
17
17
|
};
|
|
18
18
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
19
19
|
default?: (props: typeof __VLS_12) => any;
|
|
@@ -8,7 +8,7 @@ declare const mappedId: import("vue").ComputedRef<string>;
|
|
|
8
8
|
declare const view: import("../types/index.js").AccordionView;
|
|
9
9
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
10
10
|
declare var __VLS_6: {
|
|
11
|
-
viewActive:
|
|
11
|
+
viewActive: any;
|
|
12
12
|
};
|
|
13
13
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
14
14
|
default?: (props: typeof __VLS_6) => any;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { reactive } from "vue";
|
|
2
2
|
import { useAccordionState } from "./useAccordionState.mjs";
|
|
3
|
+
import {} from "../../types/index.mjs";
|
|
3
4
|
export function useAccordionView(instanceId) {
|
|
4
5
|
const { initializeState } = useAccordionState(instanceId);
|
|
5
6
|
const state = initializeState();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/schema").NuxtModule<import("nuxt/schema").ModuleOptions, import("nuxt/schema").ModuleOptions, false>;
|
|
2
2
|
export default _default;
|
|
@@ -10,7 +10,7 @@ declare function guardedSelect(): void;
|
|
|
10
10
|
declare function onClick(event: MouseEvent): void;
|
|
11
11
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
12
12
|
declare var __VLS_1: {
|
|
13
|
-
itemActive:
|
|
13
|
+
itemActive: any;
|
|
14
14
|
itemDisabled: boolean;
|
|
15
15
|
};
|
|
16
16
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
<script setup>
|
|
8
8
|
import { shallowRef, provide, watch, onBeforeUnmount } from "vue";
|
|
9
9
|
import { useMagicKeys, usePointer } from "@vueuse/core";
|
|
10
|
+
import { Primitive } from "@maas/vue-primitive";
|
|
10
11
|
import { createDefu } from "defu";
|
|
11
12
|
import { useCommandState } from "../composables/private/useCommandState";
|
|
12
13
|
import { useMagicCommand } from "../composables/useMagicCommand";
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
<script setup>
|
|
17
17
|
import { computed, inject, useTemplateRef, toValue, watch } from "vue";
|
|
18
|
+
import { Primitive } from "@maas/vue-primitive";
|
|
18
19
|
import { useCommandView } from "../composables/private/useCommandView";
|
|
19
20
|
import { useCommandTrigger } from "../composables/private/useCommandTrigger";
|
|
20
21
|
import {
|
|
@@ -15,8 +15,8 @@ declare const mappedDisabled: import("vue").ComputedRef<boolean>;
|
|
|
15
15
|
declare const onMouseenter: () => Promise<void>, onClick: (e: MouseEvent) => Promise<void>;
|
|
16
16
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
17
17
|
declare var __VLS_12: {
|
|
18
|
-
viewActive:
|
|
19
|
-
triggerDisabled:
|
|
18
|
+
viewActive: any;
|
|
19
|
+
triggerDisabled: any;
|
|
20
20
|
};
|
|
21
21
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
22
22
|
default?: (props: typeof __VLS_12) => any;
|
|
@@ -6,7 +6,7 @@ declare const mappedId: import("vue").ComputedRef<string>;
|
|
|
6
6
|
declare const view: import("../types/index.js").CommandView;
|
|
7
7
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
8
8
|
declare var __VLS_1: {
|
|
9
|
-
viewActive:
|
|
9
|
+
viewActive: any;
|
|
10
10
|
};
|
|
11
11
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
12
12
|
default?: (props: typeof __VLS_1) => any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/schema").NuxtModule<import("nuxt/schema").ModuleOptions, import("nuxt/schema").ModuleOptions, false>;
|
|
2
2
|
export default _default;
|
|
@@ -6,7 +6,7 @@ interface MagicCookieItemProps {
|
|
|
6
6
|
declare const item: import("../types/index.js").CookieItem;
|
|
7
7
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
8
8
|
declare var __VLS_1: {
|
|
9
|
-
item:
|
|
9
|
+
item: any;
|
|
10
10
|
};
|
|
11
11
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
12
12
|
default?: (props: typeof __VLS_1) => any;
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
<script setup>
|
|
25
25
|
import { inject } from "vue";
|
|
26
|
+
import { AutoSize } from "@maas/vue-autosize";
|
|
26
27
|
import { useCookieState } from "../composables/private/useCookieState";
|
|
27
28
|
import { useCookieCallback } from "../composables/private/useCookieCallback";
|
|
28
29
|
import { MagicCookieInstanceId } from "../symbols";
|
|
@@ -5,7 +5,7 @@ declare const state: import("../types/index.js").CookieState;
|
|
|
5
5
|
declare const onBeforeEnter: () => void, onEnter: () => void, onAfterEnter: () => Promise<void>, onBeforeLeave: () => void, onLeave: () => void, onAfterLeave: () => void;
|
|
6
6
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
7
7
|
declare var __VLS_18: {
|
|
8
|
-
viewActive:
|
|
8
|
+
viewActive: any;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
11
11
|
default?: (props: typeof __VLS_18) => any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/schema").NuxtModule<import("nuxt/schema").ModuleOptions, import("nuxt/schema").ModuleOptions, false>;
|
|
2
2
|
export default _default;
|
|
@@ -36,10 +36,6 @@ declare const mappedOptions: Omit<MagicDraggableOptions, keyof MagicDraggableOpt
|
|
|
36
36
|
momentum: number;
|
|
37
37
|
idle: number;
|
|
38
38
|
});
|
|
39
|
-
tag: "dialog" | "div";
|
|
40
|
-
scrollLock: boolean | {
|
|
41
|
-
padding: boolean;
|
|
42
|
-
};
|
|
43
39
|
disabled: boolean;
|
|
44
40
|
animation: ({
|
|
45
41
|
snap?: {
|
|
@@ -72,6 +68,10 @@ declare const mappedOptions: Omit<MagicDraggableOptions, keyof MagicDraggableOpt
|
|
|
72
68
|
easing?: (t: number) => number;
|
|
73
69
|
};
|
|
74
70
|
});
|
|
71
|
+
tag: "div" | "dialog";
|
|
72
|
+
scrollLock: boolean | {
|
|
73
|
+
padding: boolean;
|
|
74
|
+
};
|
|
75
75
|
snapPoints: import("../types/index.js").DraggableSnapPoint[];
|
|
76
76
|
initial: {
|
|
77
77
|
snapPoint?: import("../types/index.js").DraggableSnapPoint;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/schema").NuxtModule<import("nuxt/schema").ModuleOptions, import("nuxt/schema").ModuleOptions, false>;
|
|
2
2
|
export default _default;
|
|
@@ -40,8 +40,44 @@ declare const mappedOptions: Omit<MagicDrawerOptions, keyof MagicDrawerOptions>
|
|
|
40
40
|
distance: number;
|
|
41
41
|
momentum: number;
|
|
42
42
|
});
|
|
43
|
+
transition: {
|
|
44
|
+
content?: string;
|
|
45
|
+
backdrop?: string;
|
|
46
|
+
};
|
|
47
|
+
disabled: boolean;
|
|
48
|
+
animation: ({
|
|
49
|
+
snap?: {
|
|
50
|
+
duration?: number;
|
|
51
|
+
easing?: (t: number) => number;
|
|
52
|
+
};
|
|
53
|
+
} & import("../../../../utils/index.js").RequireAll<{
|
|
54
|
+
snap?: {
|
|
55
|
+
duration?: number;
|
|
56
|
+
easing?: (t: number) => number;
|
|
57
|
+
};
|
|
58
|
+
}>) | (Omit<{
|
|
59
|
+
snap?: {
|
|
60
|
+
duration?: number;
|
|
61
|
+
easing?: (t: number) => number;
|
|
62
|
+
};
|
|
63
|
+
}, "snap"> & Omit<{
|
|
64
|
+
snap?: {
|
|
65
|
+
duration?: number;
|
|
66
|
+
easing?: (t: number) => number;
|
|
67
|
+
};
|
|
68
|
+
} & import("../../../../utils/index.js").RequireAll<{
|
|
69
|
+
snap?: {
|
|
70
|
+
duration?: number;
|
|
71
|
+
easing?: (t: number) => number;
|
|
72
|
+
};
|
|
73
|
+
}>, "snap"> & {
|
|
74
|
+
snap: {
|
|
75
|
+
duration?: number;
|
|
76
|
+
easing?: (t: number) => number;
|
|
77
|
+
};
|
|
78
|
+
});
|
|
43
79
|
backdrop: boolean;
|
|
44
|
-
tag: "
|
|
80
|
+
tag: "div" | "dialog";
|
|
45
81
|
focusTrap: boolean | import("focus-trap").Options;
|
|
46
82
|
scrollLock: {
|
|
47
83
|
padding: boolean;
|
|
@@ -78,10 +114,6 @@ declare const mappedOptions: Omit<MagicDrawerOptions, keyof MagicDrawerOptions>
|
|
|
78
114
|
target?: string;
|
|
79
115
|
disabled?: boolean;
|
|
80
116
|
};
|
|
81
|
-
transition: {
|
|
82
|
-
content?: string;
|
|
83
|
-
backdrop?: string;
|
|
84
|
-
};
|
|
85
117
|
keyListener: ({
|
|
86
118
|
close?: string[] | false;
|
|
87
119
|
} & import("../../../../utils/index.js").RequireAll<{
|
|
@@ -96,38 +128,6 @@ declare const mappedOptions: Omit<MagicDrawerOptions, keyof MagicDrawerOptions>
|
|
|
96
128
|
close: (false | string[] | undefined) & (false | string[]);
|
|
97
129
|
});
|
|
98
130
|
position: "right" | "left" | "top" | "bottom";
|
|
99
|
-
disabled: boolean;
|
|
100
|
-
animation: ({
|
|
101
|
-
snap?: {
|
|
102
|
-
duration?: number;
|
|
103
|
-
easing?: (t: number) => number;
|
|
104
|
-
};
|
|
105
|
-
} & import("../../../../utils/index.js").RequireAll<{
|
|
106
|
-
snap?: {
|
|
107
|
-
duration?: number;
|
|
108
|
-
easing?: (t: number) => number;
|
|
109
|
-
};
|
|
110
|
-
}>) | (Omit<{
|
|
111
|
-
snap?: {
|
|
112
|
-
duration?: number;
|
|
113
|
-
easing?: (t: number) => number;
|
|
114
|
-
};
|
|
115
|
-
}, "snap"> & Omit<{
|
|
116
|
-
snap?: {
|
|
117
|
-
duration?: number;
|
|
118
|
-
easing?: (t: number) => number;
|
|
119
|
-
};
|
|
120
|
-
} & import("../../../../utils/index.js").RequireAll<{
|
|
121
|
-
snap?: {
|
|
122
|
-
duration?: number;
|
|
123
|
-
easing?: (t: number) => number;
|
|
124
|
-
};
|
|
125
|
-
}>, "snap"> & {
|
|
126
|
-
snap: {
|
|
127
|
-
duration?: number;
|
|
128
|
-
easing?: (t: number) => number;
|
|
129
|
-
};
|
|
130
|
-
});
|
|
131
131
|
snapPoints: import("../types/index.js").DrawerSnapPoint[];
|
|
132
132
|
initial: {
|
|
133
133
|
open?: boolean;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
toRefs
|
|
5
5
|
} from "vue";
|
|
6
6
|
import { unrefElement } from "@vueuse/core";
|
|
7
|
-
import WheelGestures from "wheel-gestures";
|
|
7
|
+
import WheelGestures, {} from "wheel-gestures";
|
|
8
8
|
import { useDrawerState } from "./useDrawerState.mjs";
|
|
9
9
|
export function useDrawerWheel(args) {
|
|
10
10
|
const { id, elRef, position, disabled } = args;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {} from "focus-trap";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/schema").NuxtModule<import("nuxt/schema").ModuleOptions, import("nuxt/schema").ModuleOptions, false>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/schema").NuxtModule<import("nuxt/schema").ModuleOptions, import("nuxt/schema").ModuleOptions, false>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/schema").NuxtModule<import("nuxt/schema").ModuleOptions, import("nuxt/schema").ModuleOptions, false>;
|
|
2
2
|
export default _default;
|
|
@@ -10,7 +10,7 @@ declare function guardedUnselect(): void;
|
|
|
10
10
|
declare function onClick(event: MouseEvent): void;
|
|
11
11
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
12
12
|
declare var __VLS_1: {
|
|
13
|
-
itemActive:
|
|
13
|
+
itemActive: any;
|
|
14
14
|
itemDisabled: boolean;
|
|
15
15
|
};
|
|
16
16
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
onBeforeUnmount
|
|
20
20
|
} from "vue";
|
|
21
21
|
import { onClickOutside, onKeyStroke, usePointer } from "@vueuse/core";
|
|
22
|
+
import { Primitive } from "@maas/vue-primitive";
|
|
22
23
|
import { defu } from "defu";
|
|
23
24
|
import { useMenuState } from "../composables/private/useMenuState";
|
|
24
25
|
import { useMenuView } from "../composables/private/useMenuView";
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
<script setup>
|
|
16
16
|
import { computed, inject, watch } from "vue";
|
|
17
|
+
import { Primitive } from "@maas/vue-primitive";
|
|
17
18
|
import { useMenuView } from "../composables/private/useMenuView";
|
|
18
19
|
import { useMenuChannel } from "../composables/private/useMenuChannel";
|
|
19
20
|
import { MagicMenuInstanceId, MagicMenuViewId } from "../symbols";
|
|
@@ -12,7 +12,7 @@ declare const onClick: () => void, onMouseenter: () => void;
|
|
|
12
12
|
declare let channel: import("../types/index.js").MenuChannel;
|
|
13
13
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
14
14
|
declare var __VLS_11: {
|
|
15
|
-
channelActive:
|
|
15
|
+
channelActive: any;
|
|
16
16
|
remoteDisabled: boolean;
|
|
17
17
|
};
|
|
18
18
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
<script setup>
|
|
19
19
|
import { computed, inject, useTemplateRef, toValue, watch } from "vue";
|
|
20
|
+
import { Primitive } from "@maas/vue-primitive";
|
|
20
21
|
import { useMenuState } from "../composables/private/useMenuState";
|
|
21
22
|
import { useMenuView } from "../composables/private/useMenuView";
|
|
22
23
|
import { useMenuItem } from "../composables/private/useMenuItem";
|
|
@@ -14,8 +14,8 @@ declare const mappedTabindex: import("vue").ComputedRef<0 | undefined>;
|
|
|
14
14
|
declare const onMouseenter: () => void, onClick: (e: MouseEvent) => void;
|
|
15
15
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
16
16
|
declare var __VLS_13: {
|
|
17
|
-
viewActive:
|
|
18
|
-
triggerDisabled:
|
|
17
|
+
viewActive: any;
|
|
18
|
+
triggerDisabled: any;
|
|
19
19
|
};
|
|
20
20
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
21
21
|
default?: (props: typeof __VLS_13) => any;
|
|
@@ -7,7 +7,7 @@ declare const mappedId: import("vue").ComputedRef<string>;
|
|
|
7
7
|
declare const view: import("../types/index.js").MenuView;
|
|
8
8
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
9
9
|
declare var __VLS_1: {
|
|
10
|
-
viewActive:
|
|
10
|
+
viewActive: any;
|
|
11
11
|
};
|
|
12
12
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
13
13
|
default?: (props: typeof __VLS_1) => any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/schema").NuxtModule<import("nuxt/schema").ModuleOptions, import("nuxt/schema").ModuleOptions, false>;
|
|
2
2
|
export default _default;
|
|
@@ -8,8 +8,12 @@ interface MagicModalProps {
|
|
|
8
8
|
options?: MagicModalOptions;
|
|
9
9
|
}
|
|
10
10
|
declare const mappedOptions: Omit<MagicModalOptions, keyof MagicModalOptions> & Omit<import("../../../../utils/index.js").RequireAll<MagicModalOptions>, keyof MagicModalOptions> & {
|
|
11
|
+
transition: {
|
|
12
|
+
content?: string;
|
|
13
|
+
backdrop?: string;
|
|
14
|
+
};
|
|
11
15
|
backdrop: boolean;
|
|
12
|
-
tag: "
|
|
16
|
+
tag: "div" | "dialog";
|
|
13
17
|
focusTrap: boolean | import("focus-trap").Options;
|
|
14
18
|
scrollLock: boolean | {
|
|
15
19
|
padding: boolean;
|
|
@@ -18,10 +22,6 @@ declare const mappedOptions: Omit<MagicModalOptions, keyof MagicModalOptions> &
|
|
|
18
22
|
target?: string;
|
|
19
23
|
disabled?: boolean;
|
|
20
24
|
};
|
|
21
|
-
transition: {
|
|
22
|
-
content?: string;
|
|
23
|
-
backdrop?: string;
|
|
24
|
-
};
|
|
25
25
|
keyListener: {
|
|
26
26
|
close?: string[] | false;
|
|
27
27
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {} from "focus-trap";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/schema").NuxtModule<import("nuxt/schema").ModuleOptions, import("nuxt/schema").ModuleOptions, false>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/schema").NuxtModule<import("nuxt/schema").ModuleOptions, import("nuxt/schema").ModuleOptions, false>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/schema").NuxtModule<import("nuxt/schema").ModuleOptions, import("nuxt/schema").ModuleOptions, false>;
|
|
2
2
|
export default _default;
|
|
@@ -65,6 +65,8 @@ import { useIdle } from "@vueuse/core";
|
|
|
65
65
|
import { usePlayerState } from "../composables/private/usePlayerState";
|
|
66
66
|
import { usePlayerAudioApi } from "../composables/private/usePlayerAudioApi";
|
|
67
67
|
import { usePlayerControlsApi } from "../composables/private/usePlayerControlsApi";
|
|
68
|
+
import IconPlay from "./icons/Play.vue";
|
|
69
|
+
import IconPause from "./icons/Pause.vue";
|
|
68
70
|
import {
|
|
69
71
|
MagicPlayerInstanceId,
|
|
70
72
|
MagicPlayerTrackRef,
|
|
@@ -6,7 +6,7 @@ interface MagicAudioPlayerControlsProps {
|
|
|
6
6
|
declare const play: () => void, pause: () => void;
|
|
7
7
|
declare const onMouseenter: () => void, onMouseleave: () => void;
|
|
8
8
|
declare const playing: import("vue").Ref<boolean, boolean>, waiting: import("vue").Ref<boolean, boolean>, touched: import("vue").Ref<boolean, boolean>, controlsMouseEntered: import("vue").Ref<boolean, boolean>;
|
|
9
|
-
declare const idle: import("vue").
|
|
9
|
+
declare const idle: import("vue").ShallowRef<boolean>;
|
|
10
10
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
11
11
|
declare var __VLS_1: {}, __VLS_6: {};
|
|
12
12
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
@@ -35,6 +35,9 @@
|
|
|
35
35
|
<script setup>
|
|
36
36
|
import { inject, toRefs } from "vue";
|
|
37
37
|
import { useIdle } from "@vueuse/core";
|
|
38
|
+
import IconPlay from "./icons/Play.vue";
|
|
39
|
+
import IconPause from "./icons/Pause.vue";
|
|
40
|
+
import IconWaiting from "./icons/Waiting.vue";
|
|
38
41
|
import { usePlayerState } from "../composables/private/usePlayerState";
|
|
39
42
|
import { usePlayerVideoApi } from "../composables/private/usePlayerVideoApi";
|
|
40
43
|
import { MagicPlayerInstanceId } from "../symbols";
|
|
@@ -3,7 +3,7 @@ import IconPause from './icons/Pause.vue.js';
|
|
|
3
3
|
import IconWaiting from './icons/Waiting.vue.js';
|
|
4
4
|
declare const mouseEntered: import("vue").Ref<boolean, boolean>, playing: import("vue").Ref<boolean, boolean>, waiting: import("vue").Ref<boolean, boolean>;
|
|
5
5
|
declare const togglePlay: () => void;
|
|
6
|
-
declare const idle: import("vue").
|
|
6
|
+
declare const idle: import("vue").ShallowRef<boolean>;
|
|
7
7
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
8
8
|
declare var __VLS_1: {}, __VLS_3: {}, __VLS_8: {}, __VLS_13: {};
|
|
9
9
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
@@ -85,6 +85,12 @@ import {
|
|
|
85
85
|
onBeforeUnmount
|
|
86
86
|
} from "vue";
|
|
87
87
|
import { useElementVisibility, useIdle } from "@vueuse/core";
|
|
88
|
+
import IconPlay from "./icons/Play.vue";
|
|
89
|
+
import IconPause from "./icons/Pause.vue";
|
|
90
|
+
import IconVolumeOn from "./icons/VolumeOn.vue";
|
|
91
|
+
import IconVolumeOff from "./icons/VolumeOff.vue";
|
|
92
|
+
import IconFullscreenEnter from "./icons/FullscreenEnter.vue";
|
|
93
|
+
import IconFullscreenExit from "./icons/FullscreenExit.vue";
|
|
88
94
|
import { usePlayerState } from "../composables/private/usePlayerState";
|
|
89
95
|
import { usePlayerVideoApi } from "../composables/private/usePlayerVideoApi";
|
|
90
96
|
import { usePlayerControlsApi } from "../composables/private/usePlayerControlsApi";
|
|
@@ -15,7 +15,7 @@ declare const mappedTransition: import("vue").ComputedRef<string | undefined>;
|
|
|
15
15
|
declare const playing: import("vue").Ref<boolean, boolean>, waiting: import("vue").Ref<boolean, boolean>, muted: import("vue").Ref<boolean, boolean>, touched: import("vue").Ref<boolean, boolean>, controlsMouseEntered: import("vue").Ref<boolean, boolean>, isFullscreen: import("vue").Ref<boolean, boolean>, popoverOffsetX: import("vue").Ref<number, number>, seekedTime: import("vue").Ref<number, number>;
|
|
16
16
|
declare const play: () => void, pause: () => void, mute: () => void, unmute: () => void, enterFullscreen: () => void, exitFullscreen: () => void;
|
|
17
17
|
declare const onMouseenter: () => void, onMouseleave: () => void;
|
|
18
|
-
declare const idle: import("vue").
|
|
18
|
+
declare const idle: import("vue").ShallowRef<boolean>;
|
|
19
19
|
declare const hidden: import("vue").ComputedRef<boolean>;
|
|
20
20
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
21
21
|
declare var __VLS_5: {}, __VLS_7: {}, __VLS_12: {}, __VLS_17: {}, __VLS_23: {}, __VLS_25: {}, __VLS_30: {}, __VLS_35: {}, __VLS_40: {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/schema").NuxtModule<import("nuxt/schema").ModuleOptions, import("nuxt/schema").ModuleOptions, false>;
|
|
2
2
|
export default _default;
|
|
@@ -5,7 +5,7 @@ interface MagicScrollProviderProps {
|
|
|
5
5
|
declare const scrollReturn: {
|
|
6
6
|
x: import("vue").WritableComputedRef<number, number>;
|
|
7
7
|
y: import("vue").WritableComputedRef<number, number>;
|
|
8
|
-
isScrolling: import("vue").
|
|
8
|
+
isScrolling: import("vue").ShallowRef<boolean, boolean>;
|
|
9
9
|
arrivedState: {
|
|
10
10
|
left: boolean;
|
|
11
11
|
right: boolean;
|
|
@@ -22,24 +22,7 @@ declare const scrollReturn: {
|
|
|
22
22
|
};
|
|
23
23
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
24
24
|
declare var __VLS_1: {
|
|
25
|
-
scrollReturn:
|
|
26
|
-
x: import("vue").WritableComputedRef<number, number>;
|
|
27
|
-
y: import("vue").WritableComputedRef<number, number>;
|
|
28
|
-
isScrolling: import("vue").Ref<boolean, boolean>;
|
|
29
|
-
arrivedState: {
|
|
30
|
-
left: boolean;
|
|
31
|
-
right: boolean;
|
|
32
|
-
top: boolean;
|
|
33
|
-
bottom: boolean;
|
|
34
|
-
};
|
|
35
|
-
directions: {
|
|
36
|
-
left: boolean;
|
|
37
|
-
right: boolean;
|
|
38
|
-
top: boolean;
|
|
39
|
-
bottom: boolean;
|
|
40
|
-
};
|
|
41
|
-
measure(): void;
|
|
42
|
-
};
|
|
25
|
+
scrollReturn: any;
|
|
43
26
|
};
|
|
44
27
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
45
28
|
default?: (props: typeof __VLS_1) => any;
|
|
@@ -6,7 +6,7 @@ interface MagicScrollSceneProps {
|
|
|
6
6
|
declare const progress: import("vue").ShallowRef<number, number>;
|
|
7
7
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
8
8
|
declare var __VLS_1: {
|
|
9
|
-
progress:
|
|
9
|
+
progress: any;
|
|
10
10
|
};
|
|
11
11
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
12
12
|
default?: (props: typeof __VLS_1) => any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/schema").NuxtModule<import("nuxt/schema").ModuleOptions, import("nuxt/schema").ModuleOptions, false>;
|
|
2
2
|
export default _default;
|
|
@@ -53,6 +53,7 @@ import { onClickOutside } from "@vueuse/core";
|
|
|
53
53
|
import { useToastState } from "../composables/private/useToastState";
|
|
54
54
|
import { useToastView } from "../composables/private/useToastView";
|
|
55
55
|
import { useToastCallback } from "../composables/private/useToastCallback";
|
|
56
|
+
import MagicToastView from "./MagicToastView.vue";
|
|
56
57
|
import { MagicToastInstanceId } from "../../symbols";
|
|
57
58
|
import "@maas/vue-equipment/utils/css/animations/fade-out.css";
|
|
58
59
|
import "@maas/vue-equipment/utils/css/animations/squash-y.css";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { reactive, markRaw } from "vue";
|
|
2
2
|
import { useToastState } from "./useToastState.mjs";
|
|
3
|
+
import {} from "../../types/index.mjs";
|
|
3
4
|
export function useToastView(instanceId) {
|
|
4
5
|
const { initializeState } = useToastState(instanceId);
|
|
5
6
|
const state = initializeState();
|