@maas/vue-equipment 0.37.1 → 0.39.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.
- package/dist/nuxt/module.json +1 -1
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue.d.ts +3 -2
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue.d.ts +2 -1
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue +1 -1
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue.d.ts +2 -1
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue.d.ts +2 -1
- package/dist/plugins/MagicAutoSize/src/components/MagicAutoSize.vue +1 -1
- package/dist/plugins/MagicAutoSize/src/components/MagicAutoSize.vue.d.ts +3 -2
- package/dist/plugins/MagicCommand/src/components/MagicCommandBody.vue.d.ts +3 -2
- package/dist/plugins/MagicCommand/src/components/MagicCommandDrawer.vue.d.ts +2 -1
- package/dist/plugins/MagicCommand/src/components/MagicCommandFooter.vue.d.ts +3 -2
- package/dist/plugins/MagicCommand/src/components/MagicCommandGroup.vue.d.ts +3 -2
- package/dist/plugins/MagicCommand/src/components/MagicCommandHead.vue.d.ts +3 -2
- package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue.d.ts +3 -2
- package/dist/plugins/MagicCommand/src/components/MagicCommandModal.vue.d.ts +2 -1
- package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue.d.ts +3 -2
- package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue.d.ts +2 -1
- package/dist/plugins/MagicCookie/src/components/MagicCookie.vue.d.ts +2 -1
- package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue.d.ts +2 -1
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +2 -1
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerDrag.mjs +7 -2
- package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue.d.ts +3 -2
- package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.vue +7 -4
- package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.vue.d.ts +3 -1
- package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue +4 -1
- package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue.d.ts +4 -4
- package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.vue.d.ts +3 -2
- package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue.d.ts +3 -2
- package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue.d.ts +3 -2
- package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue.d.ts +2 -1
- package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue.d.ts +2 -1
- package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue.d.ts +3 -2
- package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +2 -1
- package/dist/plugins/MagicNoise/src/components/MagicNoise.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/MagicAudioPlayer.vue.d.ts +3 -2
- package/dist/plugins/MagicPlayer/src/components/MagicAudioPlayerControls.vue.d.ts +3 -2
- package/dist/plugins/MagicPlayer/src/components/MagicPlayer.vue.d.ts +3 -2
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerControls.vue.d.ts +3 -2
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerDisplayTime.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerMuxPopover.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue.d.ts +3 -2
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerPoster.vue.d.ts +3 -2
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerTimeline.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/icons/FullscreenEnter.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/icons/FullscreenExit.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/icons/Pause.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/icons/Play.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/icons/VolumeOff.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/icons/VolumeOn.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/icons/Waiting.vue.d.ts +1 -1
- package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue.d.ts +3 -2
- package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue.d.ts +3 -2
- package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue.d.ts +3 -2
- package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue.d.ts +3 -2
- package/dist/plugins/MagicScroll/src/components/MagicScrollTransform.vue.d.ts +2 -1
- package/dist/plugins/MagicToast/src/components/MagicToastComponent.vue.d.ts +3 -2
- package/package.json +12 -7
package/dist/nuxt/module.json
CHANGED
|
@@ -4,16 +4,17 @@ interface MagicAccordionContentProps {
|
|
|
4
4
|
asChild?: boolean;
|
|
5
5
|
}
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: {
|
|
8
9
|
default?(_: {
|
|
9
10
|
isActive: boolean | undefined;
|
|
10
11
|
}): any;
|
|
11
12
|
};
|
|
12
13
|
refs: {};
|
|
13
|
-
|
|
14
|
+
rootEl: HTMLDivElement;
|
|
14
15
|
};
|
|
15
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
-
declare const __VLS_component: import("vue").DefineComponent<MagicAccordionContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
17
|
+
declare const __VLS_component: import("vue").DefineComponent<MagicAccordionContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
19
|
export default _default;
|
|
19
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -6,11 +6,12 @@ interface MagicAccordionProviderProps {
|
|
|
6
6
|
options?: MagicAccordionOptions;
|
|
7
7
|
}
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
9
10
|
slots: {
|
|
10
11
|
default?(_: {}): any;
|
|
11
12
|
};
|
|
12
13
|
refs: {};
|
|
13
|
-
|
|
14
|
+
rootEl: any;
|
|
14
15
|
};
|
|
15
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
17
|
declare const __VLS_component: import("vue").DefineComponent<MagicAccordionProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -6,6 +6,7 @@ interface MagicAccordionTriggerProps {
|
|
|
6
6
|
asChild?: boolean;
|
|
7
7
|
}
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
9
10
|
slots: {
|
|
10
11
|
default?(_: {
|
|
11
12
|
isActive: boolean | undefined;
|
|
@@ -49,7 +50,7 @@ declare function __VLS_template(): {
|
|
|
49
50
|
as: import("@maas/vue-primitive").ElementOrComponent;
|
|
50
51
|
}> | null;
|
|
51
52
|
};
|
|
52
|
-
|
|
53
|
+
rootEl: any;
|
|
53
54
|
};
|
|
54
55
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
55
56
|
declare const __VLS_component: import("vue").DefineComponent<MagicAccordionTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionTriggerProps> & Readonly<{}>, {
|
|
@@ -4,13 +4,14 @@ interface MagicAccordionViewProps {
|
|
|
4
4
|
activeOnMounted?: boolean;
|
|
5
5
|
}
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: {
|
|
8
9
|
default?(_: {
|
|
9
10
|
isActive: boolean;
|
|
10
11
|
}): any;
|
|
11
12
|
};
|
|
12
13
|
refs: {};
|
|
13
|
-
|
|
14
|
+
rootEl: any;
|
|
14
15
|
};
|
|
15
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
17
|
declare const __VLS_component: import("vue").DefineComponent<MagicAccordionViewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -148,5 +148,5 @@ onMounted(() => {
|
|
|
148
148
|
</script>
|
|
149
149
|
|
|
150
150
|
<style>
|
|
151
|
-
.magic-auto-size{height:var(--magic-auto-size-height);transition:var(--magic-auto-size-transition,all .15s var(--ease-in-out));width:var(--magic-auto-size-width)}
|
|
151
|
+
.magic-auto-size{height:var(--magic-auto-size-height);transition:var(--magic-auto-size-transition,all .15s var(--ease-in-out));transition-delay:var(--magic-auto-size-transition-delay,0s);width:var(--magic-auto-size-width)}
|
|
152
152
|
</style>
|
|
@@ -5,20 +5,21 @@ interface MagicAutoSizeProps {
|
|
|
5
5
|
immediate?: boolean;
|
|
6
6
|
}
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
8
9
|
slots: {
|
|
9
10
|
default?(_: {}): any;
|
|
10
11
|
};
|
|
11
12
|
refs: {
|
|
12
13
|
elRef: HTMLDivElement;
|
|
13
14
|
};
|
|
14
|
-
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
15
16
|
};
|
|
16
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
18
|
declare const __VLS_component: import("vue").DefineComponent<MagicAutoSizeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAutoSizeProps> & Readonly<{}>, {
|
|
18
19
|
immediate: boolean;
|
|
19
20
|
width: boolean;
|
|
20
21
|
height: boolean;
|
|
21
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
24
|
export default _default;
|
|
24
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
2
3
|
slots: {
|
|
3
4
|
default?(_: {}): any;
|
|
4
5
|
};
|
|
5
6
|
refs: {
|
|
6
7
|
elRef: HTMLDivElement;
|
|
7
8
|
};
|
|
8
|
-
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
9
10
|
};
|
|
10
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
12
13
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
14
|
export default _default;
|
|
14
15
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -3,11 +3,12 @@ interface MagicCommandProps {
|
|
|
3
3
|
options?: MagicCommandDrawerOptions;
|
|
4
4
|
}
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: {
|
|
7
8
|
default?(_: {}): any;
|
|
8
9
|
};
|
|
9
10
|
refs: {};
|
|
10
|
-
|
|
11
|
+
rootEl: any;
|
|
11
12
|
};
|
|
12
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
14
|
declare const __VLS_component: import("vue").DefineComponent<MagicCommandProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCommandProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
2
3
|
slots: {
|
|
3
4
|
default?(_: {}): any;
|
|
4
5
|
};
|
|
5
6
|
refs: {};
|
|
6
|
-
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
7
8
|
};
|
|
8
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
10
11
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
12
|
export default _default;
|
|
12
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
2
3
|
slots: {
|
|
3
4
|
default?(_: {}): any;
|
|
4
5
|
};
|
|
5
6
|
refs: {};
|
|
6
|
-
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
7
8
|
};
|
|
8
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
10
11
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
12
|
export default _default;
|
|
12
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
2
3
|
slots: {
|
|
3
4
|
default?(_: {}): any;
|
|
4
5
|
};
|
|
5
6
|
refs: {};
|
|
6
|
-
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
7
8
|
};
|
|
8
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
10
11
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
12
|
export default _default;
|
|
12
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -6,6 +6,7 @@ interface MagicCommandItemProps {
|
|
|
6
6
|
keys?: string[];
|
|
7
7
|
}
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
9
10
|
slots: {
|
|
10
11
|
default?(_: {
|
|
11
12
|
isActive: boolean;
|
|
@@ -14,13 +15,13 @@ declare function __VLS_template(): {
|
|
|
14
15
|
refs: {
|
|
15
16
|
elRef: HTMLDivElement;
|
|
16
17
|
};
|
|
17
|
-
|
|
18
|
+
rootEl: HTMLDivElement;
|
|
18
19
|
};
|
|
19
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
21
|
declare const __VLS_component: import("vue").DefineComponent<MagicCommandItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCommandItemProps> & Readonly<{}>, {
|
|
21
22
|
keys: string[];
|
|
22
23
|
listener: ("click" | "mouseenter" | "touchstart")[];
|
|
23
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
24
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
26
|
export default _default;
|
|
26
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -3,11 +3,12 @@ interface MagicCommandProps {
|
|
|
3
3
|
options?: MagicCommandModalOptions;
|
|
4
4
|
}
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: {
|
|
7
8
|
default?(_: {}): any;
|
|
8
9
|
};
|
|
9
10
|
refs: {};
|
|
10
|
-
|
|
11
|
+
rootEl: any;
|
|
11
12
|
};
|
|
12
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
14
|
declare const __VLS_component: import("vue").DefineComponent<MagicCommandProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCommandProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -5,16 +5,17 @@ interface MagicCommandProps {
|
|
|
5
5
|
options?: MagicCommandOptions;
|
|
6
6
|
}
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
8
9
|
slots: {
|
|
9
10
|
default?(_: {}): any;
|
|
10
11
|
};
|
|
11
12
|
refs: {};
|
|
12
|
-
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
13
14
|
};
|
|
14
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
16
|
declare const __VLS_component: import("vue").DefineComponent<MagicCommandProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCommandProps> & Readonly<{}>, {
|
|
16
17
|
options: MagicCommandOptions;
|
|
17
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
20
|
export default _default;
|
|
20
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -3,13 +3,14 @@ interface MagicCommandViewProps {
|
|
|
3
3
|
default?: boolean;
|
|
4
4
|
}
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: {
|
|
7
8
|
default?(_: {}): any;
|
|
8
9
|
};
|
|
9
10
|
refs: {
|
|
10
11
|
elRef: HTMLDivElement;
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
rootEl: any;
|
|
13
14
|
};
|
|
14
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
16
|
declare const __VLS_component: import("vue").DefineComponent<MagicCommandViewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCommandViewProps> & Readonly<{}>, {
|
|
@@ -4,6 +4,7 @@ type MagicCookieProps = {
|
|
|
4
4
|
maxAge?: number;
|
|
5
5
|
};
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: Partial<Record<string, (_: {
|
|
8
9
|
cookie: MagicCookieRecord;
|
|
9
10
|
}) => any>> & {
|
|
@@ -11,7 +12,7 @@ declare function __VLS_template(): {
|
|
|
11
12
|
actions?(_: {}): any;
|
|
12
13
|
};
|
|
13
14
|
refs: {};
|
|
14
|
-
|
|
15
|
+
rootEl: any;
|
|
15
16
|
};
|
|
16
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
18
|
declare const __VLS_component: import("vue").DefineComponent<MagicCookieProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCookieProps> & Readonly<{}>, {
|
|
@@ -6,6 +6,7 @@ interface MagicDraggableProps {
|
|
|
6
6
|
options?: MagicDraggableOptions;
|
|
7
7
|
}
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
9
10
|
slots: {
|
|
10
11
|
default?(_: {}): any;
|
|
11
12
|
};
|
|
@@ -14,7 +15,7 @@ declare function __VLS_template(): {
|
|
|
14
15
|
wrapperRef: HTMLDivElement;
|
|
15
16
|
elRef: unknown;
|
|
16
17
|
};
|
|
17
|
-
|
|
18
|
+
rootEl: any;
|
|
18
19
|
};
|
|
19
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
21
|
declare const __VLS_component: import("vue").DefineComponent<MagicDraggableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicDraggableProps> & Readonly<{}>, {
|
|
@@ -16,6 +16,7 @@ interface MagicDrawerProps {
|
|
|
16
16
|
options?: MagicDrawerOptions;
|
|
17
17
|
}
|
|
18
18
|
declare function __VLS_template(): {
|
|
19
|
+
attrs: Partial<{}>;
|
|
19
20
|
slots: {
|
|
20
21
|
backdrop?(_: {}): any;
|
|
21
22
|
default?(_: {}): any;
|
|
@@ -25,7 +26,7 @@ declare function __VLS_template(): {
|
|
|
25
26
|
wrapperRef: HTMLDivElement;
|
|
26
27
|
elRef: unknown;
|
|
27
28
|
};
|
|
28
|
-
|
|
29
|
+
rootEl: any;
|
|
29
30
|
};
|
|
30
31
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
32
|
declare const __VLS_component: import("vue").DefineComponent<MagicDrawerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicDrawerProps> & Readonly<{}>, {
|
|
@@ -62,6 +62,7 @@ export function useDrawerDrag(args) {
|
|
|
62
62
|
elRect,
|
|
63
63
|
wrapperRect
|
|
64
64
|
} = initializeState();
|
|
65
|
+
let pointerdownTarget = void 0;
|
|
65
66
|
let cancelPointerup = void 0;
|
|
66
67
|
let cancelPointermove = void 0;
|
|
67
68
|
let cancelTouchend = void 0;
|
|
@@ -358,7 +359,7 @@ export function useDrawerDrag(args) {
|
|
|
358
359
|
if (hasDragged.value) {
|
|
359
360
|
e.preventDefault();
|
|
360
361
|
}
|
|
361
|
-
guardedReleasePointerCapture({ event: e, element:
|
|
362
|
+
guardedReleasePointerCapture({ event: e, element: pointerdownTarget });
|
|
362
363
|
}
|
|
363
364
|
function onPointermove(e) {
|
|
364
365
|
if (e.isTrusted && wheeling.value) {
|
|
@@ -395,8 +396,12 @@ export function useDrawerDrag(args) {
|
|
|
395
396
|
if (dragging.value) {
|
|
396
397
|
return;
|
|
397
398
|
} else {
|
|
398
|
-
guardedSetPointerCapture({ event: e, element: elRef.value });
|
|
399
399
|
dragging.value = true;
|
|
400
|
+
pointerdownTarget = e.target;
|
|
401
|
+
guardedSetPointerCapture({
|
|
402
|
+
event: e,
|
|
403
|
+
element: e.target
|
|
404
|
+
});
|
|
400
405
|
emitter.emit("beforeDrag", {
|
|
401
406
|
id: toValue(id),
|
|
402
407
|
x: draggedX.value,
|
|
@@ -3,6 +3,7 @@ interface MagicMarqueeProps {
|
|
|
3
3
|
speed?: number;
|
|
4
4
|
}
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: {
|
|
7
8
|
default?(_: {}): any;
|
|
8
9
|
default?(_: {}): any;
|
|
@@ -11,7 +12,7 @@ declare function __VLS_template(): {
|
|
|
11
12
|
parentRef: HTMLDivElement;
|
|
12
13
|
childRef: HTMLDivElement;
|
|
13
14
|
};
|
|
14
|
-
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
15
16
|
};
|
|
16
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
18
|
declare const __VLS_component: import("vue").DefineComponent<MagicMarqueeProps, {
|
|
@@ -21,7 +22,7 @@ declare const __VLS_component: import("vue").DefineComponent<MagicMarqueeProps,
|
|
|
21
22
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMarqueeProps> & Readonly<{}>, {
|
|
22
23
|
direction: "reverse" | "normal";
|
|
23
24
|
speed: number;
|
|
24
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
27
|
export default _default;
|
|
27
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -25,9 +25,10 @@ import { useMenuState } from '../composables/private/useMenuState'
|
|
|
25
25
|
|
|
26
26
|
interface MagicMenuChannelProps {
|
|
27
27
|
id: string
|
|
28
|
+
transition?: string
|
|
28
29
|
}
|
|
29
30
|
|
|
30
|
-
const
|
|
31
|
+
const { transition, id } = defineProps<MagicMenuChannelProps>()
|
|
31
32
|
|
|
32
33
|
const instanceId = inject(MagicMenuInstanceId, undefined)
|
|
33
34
|
const viewId = inject(MagicMenuViewId, undefined)
|
|
@@ -41,7 +42,7 @@ if (!viewId) {
|
|
|
41
42
|
throw new Error('MagicMenuChannel must be nested inside MagicMenuView')
|
|
42
43
|
}
|
|
43
44
|
|
|
44
|
-
if (!
|
|
45
|
+
if (!id) {
|
|
45
46
|
throw new Error('MagicMenuChannel requires an id')
|
|
46
47
|
}
|
|
47
48
|
|
|
@@ -54,8 +55,10 @@ if (!contentId) {
|
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
|
|
57
|
-
const mappedId = computed(() => `magic-menu-channel-${
|
|
58
|
-
const mappedTransition = computed(
|
|
58
|
+
const mappedId = computed(() => `magic-menu-channel-${id}`)
|
|
59
|
+
const mappedTransition = computed(
|
|
60
|
+
() => transition ?? state.options.transition.channel
|
|
61
|
+
)
|
|
59
62
|
|
|
60
63
|
// Register channel
|
|
61
64
|
const { initializeChannel } = useMenuChannel({
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
interface MagicMenuChannelProps {
|
|
2
2
|
id: string;
|
|
3
|
+
transition?: string;
|
|
3
4
|
}
|
|
4
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
5
7
|
slots: {
|
|
6
8
|
default?(_: {}): any;
|
|
7
9
|
};
|
|
8
10
|
refs: {};
|
|
9
|
-
|
|
11
|
+
rootEl: any;
|
|
10
12
|
};
|
|
11
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
14
|
declare const __VLS_component: import("vue").DefineComponent<MagicMenuChannelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuChannelProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -87,10 +87,11 @@ defineOptions({
|
|
|
87
87
|
|
|
88
88
|
interface MagicMenuContentProps {
|
|
89
89
|
arrow?: boolean | undefined
|
|
90
|
+
transition?: string
|
|
90
91
|
referenceEl?: MaybeRef<HTMLElement | ComponentPublicInstance>
|
|
91
92
|
}
|
|
92
93
|
|
|
93
|
-
|
|
94
|
+
const { arrow = undefined, transition } = defineProps<MagicMenuContentProps>()
|
|
94
95
|
|
|
95
96
|
const contentRef = ref<HTMLElement | undefined>(undefined)
|
|
96
97
|
|
|
@@ -115,6 +116,8 @@ const pointerDisabled = computed(() => state.input.disabled.includes('pointer'))
|
|
|
115
116
|
|
|
116
117
|
const mappedTransition = computed(() => {
|
|
117
118
|
switch (true) {
|
|
119
|
+
case !!transition:
|
|
120
|
+
return transition
|
|
118
121
|
case !!view?.parent.item:
|
|
119
122
|
return state.options.transition.content.nested
|
|
120
123
|
case !!state.options.transition.content.default:
|
|
@@ -3,9 +3,11 @@ import '@maas/vue-equipment/utils/css/animations/fade-in.css';
|
|
|
3
3
|
import '@maas/vue-equipment/utils/css/animations/fade-out.css';
|
|
4
4
|
interface MagicMenuContentProps {
|
|
5
5
|
arrow?: boolean | undefined;
|
|
6
|
+
transition?: string;
|
|
6
7
|
referenceEl?: MaybeRef<HTMLElement | ComponentPublicInstance>;
|
|
7
8
|
}
|
|
8
9
|
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
9
11
|
slots: {
|
|
10
12
|
arrow?(_: {}): any;
|
|
11
13
|
default?(_: {}): any;
|
|
@@ -13,12 +15,10 @@ declare function __VLS_template(): {
|
|
|
13
15
|
refs: {
|
|
14
16
|
contentRef: HTMLDivElement;
|
|
15
17
|
};
|
|
16
|
-
|
|
18
|
+
rootEl: any;
|
|
17
19
|
};
|
|
18
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
-
declare const __VLS_component: import("vue").DefineComponent<MagicMenuContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuContentProps> & Readonly<{}>, {
|
|
20
|
-
arrow: boolean;
|
|
21
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_component: import("vue").DefineComponent<MagicMenuContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
23
|
export default _default;
|
|
24
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -6,6 +6,7 @@ interface MagicMenuFloatProps {
|
|
|
6
6
|
referenceEl?: MaybeRef<HTMLElement | ComponentPublicInstance>;
|
|
7
7
|
}
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
9
10
|
slots: {
|
|
10
11
|
arrow?(_: {}): any;
|
|
11
12
|
default?(_: {}): any;
|
|
@@ -14,10 +15,10 @@ declare function __VLS_template(): {
|
|
|
14
15
|
elRef: HTMLDivElement;
|
|
15
16
|
arrowRef: HTMLDivElement;
|
|
16
17
|
};
|
|
17
|
-
|
|
18
|
+
rootEl: HTMLDivElement;
|
|
18
19
|
};
|
|
19
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
-
declare const __VLS_component: import("vue").DefineComponent<MagicMenuFloatProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuFloatProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
21
|
+
declare const __VLS_component: import("vue").DefineComponent<MagicMenuFloatProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuFloatProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
23
|
export default _default;
|
|
23
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -3,6 +3,7 @@ interface MagicMenuItemProps {
|
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
}
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: {
|
|
7
8
|
default?(_: {
|
|
8
9
|
isActive: boolean;
|
|
@@ -12,14 +13,14 @@ declare function __VLS_template(): {
|
|
|
12
13
|
refs: {
|
|
13
14
|
elRef: HTMLDivElement;
|
|
14
15
|
};
|
|
15
|
-
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: import("vue").DefineComponent<MagicMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
19
20
|
click: (event: MouseEvent) => any;
|
|
20
21
|
}, string, import("vue").PublicProps, Readonly<MagicMenuItemProps> & Readonly<{
|
|
21
22
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
22
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
23
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
25
|
export default _default;
|
|
25
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -5,16 +5,17 @@ interface MagicMenuProviderProps {
|
|
|
5
5
|
options?: MagicMenuOptions;
|
|
6
6
|
}
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
8
9
|
slots: {
|
|
9
10
|
default?(_: {}): any;
|
|
10
11
|
};
|
|
11
12
|
refs: {
|
|
12
13
|
elRef: HTMLDivElement;
|
|
13
14
|
};
|
|
14
|
-
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
15
16
|
};
|
|
16
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
-
declare const __VLS_component: import("vue").DefineComponent<MagicMenuProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
18
|
+
declare const __VLS_component: import("vue").DefineComponent<MagicMenuProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
20
|
export default _default;
|
|
20
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -8,6 +8,7 @@ interface MagicMenuRemoteProps {
|
|
|
8
8
|
asChild?: boolean;
|
|
9
9
|
}
|
|
10
10
|
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
11
12
|
slots: {
|
|
12
13
|
default?(_: {
|
|
13
14
|
channelActive: boolean;
|
|
@@ -15,7 +16,7 @@ declare function __VLS_template(): {
|
|
|
15
16
|
}): any;
|
|
16
17
|
};
|
|
17
18
|
refs: {};
|
|
18
|
-
|
|
19
|
+
rootEl: any;
|
|
19
20
|
};
|
|
20
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
22
|
declare const __VLS_component: import("vue").DefineComponent<MagicMenuRemoteProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuRemoteProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -5,6 +5,7 @@ interface MagicMenuTriggerProps {
|
|
|
5
5
|
asChild?: boolean;
|
|
6
6
|
}
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
8
9
|
slots: {
|
|
9
10
|
default?(_: {
|
|
10
11
|
viewActive: boolean | undefined;
|
|
@@ -49,7 +50,7 @@ declare function __VLS_template(): {
|
|
|
49
50
|
as: import("@maas/vue-primitive").ElementOrComponent;
|
|
50
51
|
}> | null;
|
|
51
52
|
};
|
|
52
|
-
|
|
53
|
+
rootEl: any;
|
|
53
54
|
};
|
|
54
55
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
55
56
|
declare const __VLS_component: import("vue").DefineComponent<MagicMenuTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -4,14 +4,15 @@ interface MagicMenuViewProps {
|
|
|
4
4
|
placement?: Placement;
|
|
5
5
|
}
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: {
|
|
8
9
|
default?(_: {}): any;
|
|
9
10
|
};
|
|
10
11
|
refs: {};
|
|
11
|
-
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
12
13
|
};
|
|
13
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: import("vue").DefineComponent<MagicMenuViewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<MagicMenuViewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
17
|
export default _default;
|
|
17
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -9,6 +9,7 @@ interface MagicModalProps {
|
|
|
9
9
|
options?: MagicModalOptions;
|
|
10
10
|
}
|
|
11
11
|
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
12
13
|
slots: {
|
|
13
14
|
backdrop?(_: {}): any;
|
|
14
15
|
default?(_: {}): any;
|
|
@@ -16,7 +17,7 @@ declare function __VLS_template(): {
|
|
|
16
17
|
refs: {
|
|
17
18
|
modalRef: HTMLDivElement;
|
|
18
19
|
};
|
|
19
|
-
|
|
20
|
+
rootEl: any;
|
|
20
21
|
};
|
|
21
22
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
23
|
declare const __VLS_component: import("vue").DefineComponent<MagicModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicModalProps> & Readonly<{}>, {
|
|
@@ -5,5 +5,5 @@ interface MagicNoiseProps {
|
|
|
5
5
|
}
|
|
6
6
|
declare const _default: import("vue").DefineComponent<MagicNoiseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicNoiseProps> & Readonly<{}>, {
|
|
7
7
|
pause: boolean;
|
|
8
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
9
|
export default _default;
|
|
@@ -4,6 +4,7 @@ interface MagicAudioPlayerProps {
|
|
|
4
4
|
loop?: boolean;
|
|
5
5
|
}
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: {
|
|
8
9
|
default?(_: {}): any;
|
|
9
10
|
};
|
|
@@ -11,13 +12,13 @@ declare function __VLS_template(): {
|
|
|
11
12
|
playerRef: HTMLDivElement;
|
|
12
13
|
audioRef: HTMLAudioElement;
|
|
13
14
|
};
|
|
14
|
-
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
15
16
|
};
|
|
16
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
18
|
declare const __VLS_component: import("vue").DefineComponent<MagicAudioPlayerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAudioPlayerProps> & Readonly<{}>, {
|
|
18
19
|
loop: boolean;
|
|
19
20
|
src: string;
|
|
20
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
23
|
export default _default;
|
|
23
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -2,6 +2,7 @@ interface MagicAudioPlayerControlsProps {
|
|
|
2
2
|
id: string;
|
|
3
3
|
}
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
5
6
|
slots: {
|
|
6
7
|
playIcon?(_: {}): any;
|
|
7
8
|
pauseIcon?(_: {}): any;
|
|
@@ -10,10 +11,10 @@ declare function __VLS_template(): {
|
|
|
10
11
|
barRef: HTMLDivElement;
|
|
11
12
|
trackRef: HTMLDivElement;
|
|
12
13
|
};
|
|
13
|
-
|
|
14
|
+
rootEl: HTMLDivElement;
|
|
14
15
|
};
|
|
15
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
-
declare const __VLS_component: import("vue").DefineComponent<MagicAudioPlayerControlsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAudioPlayerControlsProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
17
|
+
declare const __VLS_component: import("vue").DefineComponent<MagicAudioPlayerControlsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAudioPlayerControlsProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
19
|
export default _default;
|
|
19
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -8,6 +8,7 @@ interface MagicPlayerProps {
|
|
|
8
8
|
loop?: boolean;
|
|
9
9
|
}
|
|
10
10
|
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
11
12
|
slots: {
|
|
12
13
|
default?(_: {}): any;
|
|
13
14
|
};
|
|
@@ -15,7 +16,7 @@ declare function __VLS_template(): {
|
|
|
15
16
|
playerRef: HTMLDivElement;
|
|
16
17
|
videoRef: HTMLVideoElement;
|
|
17
18
|
};
|
|
18
|
-
|
|
19
|
+
rootEl: HTMLDivElement;
|
|
19
20
|
};
|
|
20
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
22
|
declare const __VLS_component: import("vue").DefineComponent<MagicPlayerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerProps> & Readonly<{}>, {
|
|
@@ -24,7 +25,7 @@ declare const __VLS_component: import("vue").DefineComponent<MagicPlayerProps, {
|
|
|
24
25
|
srcType: MagicPlayerSourceType;
|
|
25
26
|
autoplay: boolean;
|
|
26
27
|
preload: "auto" | "metadata" | "none";
|
|
27
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
28
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
30
|
export default _default;
|
|
30
31
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -6,6 +6,7 @@ interface MagicPlayerControlsProps {
|
|
|
6
6
|
transition?: string;
|
|
7
7
|
}
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
9
10
|
slots: {
|
|
10
11
|
seekPopover?(_: {}): any;
|
|
11
12
|
playIcon?(_: {}): any;
|
|
@@ -22,12 +23,12 @@ declare function __VLS_template(): {
|
|
|
22
23
|
barRef: HTMLDivElement;
|
|
23
24
|
trackRef: HTMLDivElement;
|
|
24
25
|
};
|
|
25
|
-
|
|
26
|
+
rootEl: HTMLDivElement;
|
|
26
27
|
};
|
|
27
28
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
28
29
|
declare const __VLS_component: import("vue").DefineComponent<MagicPlayerControlsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerControlsProps> & Readonly<{}>, {
|
|
29
30
|
transition: string;
|
|
30
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
31
32
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
33
|
export default _default;
|
|
33
34
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -4,5 +4,5 @@ interface MagicPlayerDisplayTimeProps {
|
|
|
4
4
|
}
|
|
5
5
|
declare const _default: import("vue").DefineComponent<MagicPlayerDisplayTimeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerDisplayTimeProps> & Readonly<{}>, {
|
|
6
6
|
type: "current" | "remaining" | "duration";
|
|
7
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
7
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
8
|
export default _default;
|
|
@@ -2,5 +2,5 @@ type MagicPlayerMuxPopoverProps = {
|
|
|
2
2
|
id: string;
|
|
3
3
|
playbackId: string;
|
|
4
4
|
};
|
|
5
|
-
declare const _default: import("vue").DefineComponent<MagicPlayerMuxPopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerMuxPopoverProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
5
|
+
declare const _default: import("vue").DefineComponent<MagicPlayerMuxPopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerMuxPopoverProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
6
|
export default _default;
|
|
@@ -2,6 +2,7 @@ interface MagicPlayerOverlayProps {
|
|
|
2
2
|
id: string;
|
|
3
3
|
}
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
5
6
|
slots: {
|
|
6
7
|
default?(_: {}): any;
|
|
7
8
|
waitingIcon?(_: {}): any;
|
|
@@ -9,10 +10,10 @@ declare function __VLS_template(): {
|
|
|
9
10
|
pauseIcon?(_: {}): any;
|
|
10
11
|
};
|
|
11
12
|
refs: {};
|
|
12
|
-
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
13
14
|
};
|
|
14
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
declare const __VLS_component: import("vue").DefineComponent<MagicPlayerOverlayProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
16
|
+
declare const __VLS_component: import("vue").DefineComponent<MagicPlayerOverlayProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
18
|
export default _default;
|
|
18
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -2,14 +2,15 @@ export type MagicPlayerPosterProps = {
|
|
|
2
2
|
id: string;
|
|
3
3
|
};
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
5
6
|
slots: {
|
|
6
7
|
default?(_: {}): any;
|
|
7
8
|
};
|
|
8
9
|
refs: {};
|
|
9
|
-
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
10
11
|
};
|
|
11
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: import("vue").DefineComponent<MagicPlayerPosterProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerPosterProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<MagicPlayerPosterProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerPosterProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
14
15
|
export default _default;
|
|
15
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
interface MagicPlayerTimelineProps {
|
|
2
2
|
id: string;
|
|
3
3
|
}
|
|
4
|
-
declare const _default: import("vue").DefineComponent<MagicPlayerTimelineProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerTimelineProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
4
|
+
declare const _default: import("vue").DefineComponent<MagicPlayerTimelineProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerTimelineProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
5
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
2
|
export default _default;
|
|
@@ -3,16 +3,17 @@ interface Props {
|
|
|
3
3
|
entries: MagicScrollCollisionEntry[];
|
|
4
4
|
}
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: {
|
|
7
8
|
default?(_: {}): any;
|
|
8
9
|
};
|
|
9
10
|
refs: {
|
|
10
11
|
elRef: HTMLDivElement;
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
13
14
|
};
|
|
14
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
16
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
18
|
export default _default;
|
|
18
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -6,18 +6,19 @@ interface MagicScrollMotionProps {
|
|
|
6
6
|
progress?: number;
|
|
7
7
|
}
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
9
10
|
slots: {
|
|
10
11
|
default?(_: {}): any;
|
|
11
12
|
};
|
|
12
13
|
refs: {
|
|
13
14
|
elRef: HTMLDivElement;
|
|
14
15
|
};
|
|
15
|
-
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: import("vue").DefineComponent<MagicScrollMotionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollMotionProps> & Readonly<{}>, {
|
|
19
20
|
easing: Easing;
|
|
20
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
23
|
export default _default;
|
|
23
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -4,6 +4,7 @@ interface MagicScrollProviderProps {
|
|
|
4
4
|
el?: MaybeComputedElementRef<HTMLElement>;
|
|
5
5
|
}
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: {
|
|
8
9
|
default?(_: {
|
|
9
10
|
scrollReturn: {
|
|
@@ -27,12 +28,12 @@ declare function __VLS_template(): {
|
|
|
27
28
|
}): any;
|
|
28
29
|
};
|
|
29
30
|
refs: {};
|
|
30
|
-
|
|
31
|
+
rootEl: HTMLDivElement;
|
|
31
32
|
};
|
|
32
33
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
33
34
|
declare const __VLS_component: import("vue").DefineComponent<MagicScrollProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollProviderProps> & Readonly<{}>, {
|
|
34
35
|
active: Boolean;
|
|
35
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
36
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
36
37
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
37
38
|
export default _default;
|
|
38
39
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -4,6 +4,7 @@ interface MagicScrollSceneProps {
|
|
|
4
4
|
to?: FromTo;
|
|
5
5
|
}
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: {
|
|
8
9
|
default?(_: {
|
|
9
10
|
progress: number;
|
|
@@ -12,13 +13,13 @@ declare function __VLS_template(): {
|
|
|
12
13
|
refs: {
|
|
13
14
|
elRef: HTMLDivElement;
|
|
14
15
|
};
|
|
15
|
-
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: import("vue").DefineComponent<MagicScrollSceneProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollSceneProps> & Readonly<{}>, {
|
|
19
20
|
to: FromTo;
|
|
20
21
|
from: FromTo;
|
|
21
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
24
|
export default _default;
|
|
24
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -9,11 +9,12 @@ interface MagicScrollTransformProps {
|
|
|
9
9
|
translateY?: number;
|
|
10
10
|
}
|
|
11
11
|
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
12
13
|
slots: {
|
|
13
14
|
default?(_: {}): any;
|
|
14
15
|
};
|
|
15
16
|
refs: {};
|
|
16
|
-
|
|
17
|
+
rootEl: any;
|
|
17
18
|
};
|
|
18
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
20
|
declare const __VLS_component: import("vue").DefineComponent<MagicScrollTransformProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollTransformProps> & Readonly<{}>, {
|
|
@@ -6,20 +6,21 @@ interface MagicToastComponentProps {
|
|
|
6
6
|
siblings: ActiveToast[];
|
|
7
7
|
}
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
9
10
|
slots: {
|
|
10
11
|
default?(_: {}): any;
|
|
11
12
|
};
|
|
12
13
|
refs: {
|
|
13
14
|
elRef: HTMLLIElement;
|
|
14
15
|
};
|
|
15
|
-
|
|
16
|
+
rootEl: HTMLLIElement;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: import("vue").DefineComponent<MagicToastComponentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
20
|
mouseenter: (event: Event) => any;
|
|
20
21
|
}, string, import("vue").PublicProps, Readonly<MagicToastComponentProps> & Readonly<{
|
|
21
22
|
onMouseenter?: ((event: Event) => any) | undefined;
|
|
22
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
23
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
23
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
25
|
export default _default;
|
|
25
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maas/vue-equipment",
|
|
3
3
|
"description": "A magic collection of Vue composables, plugins, components and directives",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.39.0",
|
|
5
5
|
"author": "Robin Scholz <https://github.com/robinscholz>, Christoph Jeworutzki <https://github.com/ChristophJeworutzki>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"devDependencies": {
|
|
8
8
|
"@antfu/ni": "^0.23.0",
|
|
9
9
|
"@release-it/bumper": "^6.0.1",
|
|
10
10
|
"@types/node": "^22.4.1",
|
|
11
|
-
"@vue/tsconfig": "^0.
|
|
11
|
+
"@vue/tsconfig": "^0.7.0",
|
|
12
12
|
"release-it": "^17.0.1",
|
|
13
13
|
"turbo": "^2.0.6"
|
|
14
14
|
},
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@maas/magic-timer": "^1.0.0",
|
|
48
48
|
"@maas/vue-primitive": "^1.1.0",
|
|
49
49
|
"@maas/wheel-gestures": "^1.0.0",
|
|
50
|
-
"@nuxt/kit": "^3.
|
|
50
|
+
"@nuxt/kit": "^3.14.159",
|
|
51
51
|
"@vueuse/core": "^10.3.0",
|
|
52
52
|
"@vueuse/integrations": "^10.3.0",
|
|
53
53
|
"defu": "^6.1.2",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"luxon": "^3.4.2",
|
|
57
57
|
"mitt": "^3.0.1",
|
|
58
58
|
"motion": "^10.16.2",
|
|
59
|
-
"nuxt": "^3.
|
|
59
|
+
"nuxt": "^3.14.159",
|
|
60
60
|
"universal-cookie": "^7.1.0",
|
|
61
61
|
"vue": "^3.5.3"
|
|
62
62
|
},
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"dev": "turbo run dev --parallel",
|
|
112
112
|
"dev:docs": "turbo run dev --filter=docs",
|
|
113
113
|
"dev:nuxt": "turbo run dev --filter=nuxt",
|
|
114
|
-
"build": "turbo run build",
|
|
114
|
+
"build": "turbo run build --filter=!playground",
|
|
115
115
|
"build:types": "turbo run build:types",
|
|
116
116
|
"build:docs": "turbo run build --filter=docs",
|
|
117
117
|
"preview:docs": "turbo run preview --filter=docs",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"release": "turbo run t:release && release-it"
|
|
123
123
|
},
|
|
124
124
|
"volta": {
|
|
125
|
-
"node": "20.
|
|
125
|
+
"node": "20.18.1"
|
|
126
126
|
},
|
|
127
127
|
"release-it": {
|
|
128
128
|
"git": {
|
|
@@ -142,5 +142,10 @@
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
},
|
|
145
|
-
"packageManager": "pnpm@9.4.0"
|
|
145
|
+
"packageManager": "pnpm@9.4.0",
|
|
146
|
+
"pnpm": {
|
|
147
|
+
"overrides": {
|
|
148
|
+
"typescript": "5.6.3"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
146
151
|
}
|