@maas/vue-equipment 1.0.0-beta.4 → 1.0.0-beta.5
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/README.md +2 -2
- package/dist/nuxt/module.json +1 -1
- package/dist/plugins/.turbo/turbo-lint.log +2 -10
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue.d.ts +33 -22
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue +2 -2
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue.d.ts +12 -21
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue.d.ts +139 -24
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue.d.ts +15 -22
- package/dist/plugins/MagicCommand/src/components/MagicCommandContent.vue.d.ts +0 -21
- package/dist/plugins/MagicCommand/src/components/MagicCommandDrawer.vue.d.ts +12 -21
- package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue.d.ts +34 -28
- package/dist/plugins/MagicCommand/src/components/MagicCommandModal.vue.d.ts +12 -21
- package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue.d.ts +60 -22
- package/dist/plugins/MagicCommand/src/components/MagicCommandRenderer.vue.d.ts +4 -1
- package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue +1 -1
- package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue.d.ts +144 -25
- package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue +2 -2
- package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue.d.ts +15 -22
- package/dist/plugins/MagicCookie/src/components/MagicCookieItem.vue.d.ts +13 -22
- package/dist/plugins/MagicCookie/src/components/MagicCookieProvider.vue.d.ts +9 -21
- package/dist/plugins/MagicCookie/src/components/MagicCookieView.vue.d.ts +22 -13
- package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue +8 -12
- package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue.d.ts +114 -22
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue +13 -3
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +0 -47
- package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue.d.ts +0 -36
- package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.vue +2 -3
- package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.vue.d.ts +0 -30
- package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue.d.ts +0 -39
- package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.vue.d.ts +0 -38
- package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue +2 -2
- package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue.d.ts +36 -28
- package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue +14 -3
- package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue.d.ts +60 -22
- package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue +27 -37
- package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue.d.ts +19 -23
- package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue +26 -15
- package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue.d.ts +146 -25
- package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue +2 -2
- package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue.d.ts +15 -22
- package/dist/plugins/MagicMenu/src/composables/private/useMenuChannel.mjs +15 -5
- package/dist/plugins/MagicMenu/src/composables/private/useMenuView.mjs +18 -6
- package/dist/plugins/MagicModal/src/components/MagicModal.vue +3 -3
- package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +0 -38
- package/dist/plugins/MagicNoise/src/components/MagicNoise.vue +1 -1
- package/dist/plugins/MagicNoise/src/components/MagicNoise.vue.d.ts +5 -10
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudio.vue.d.ts +4 -1
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue +3 -9
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue.d.ts +0 -33
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerDisplayTime.vue.d.ts +1 -10
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerMuxPopover.vue.d.ts +4 -10
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue +2 -2
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue.d.ts +0 -20
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerPoster.vue.d.ts +14 -12
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerProvider.vue.d.ts +27 -22
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerTimeline.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideo.vue.d.ts +4 -1
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue +1 -1
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue.d.ts +0 -45
- 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/MagicPlayer/src/composables/private/usePlayerMediaApi.d.ts +1 -1
- package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue.d.ts +14 -22
- package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue.d.ts +14 -22
- package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue.d.ts +45 -37
- package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue.d.ts +18 -24
- package/dist/plugins/MagicToast/src/components/MagicToastProvider.vue +2 -2
- package/dist/plugins/MagicToast/src/components/MagicToastProvider.vue.d.ts +59 -10
- package/dist/plugins/MagicToast/src/components/MagicToastView.vue +2 -2
- package/dist/plugins/MagicToast/src/components/MagicToastView.vue.d.ts +28 -22
- package/dist/plugins/MagicToast/src/composables/private/useToastCallback.d.ts +2 -2
- package/dist/plugins/MagicToast/src/composables/private/useToastCallback.mjs +2 -2
- package/package.json +4 -2
|
@@ -68,7 +68,9 @@ export function useMenuView(instanceId) {
|
|
|
68
68
|
}
|
|
69
69
|
function getRelativeViewIndex(id) {
|
|
70
70
|
const view = getView(id);
|
|
71
|
-
if (!view)
|
|
71
|
+
if (!view) {
|
|
72
|
+
return -1;
|
|
73
|
+
}
|
|
72
74
|
const nestingLevel = view.parent.views.length;
|
|
73
75
|
return state.views.findIndex(
|
|
74
76
|
(v) => v.parent.views.length === nestingLevel && v.id === id
|
|
@@ -90,25 +92,33 @@ export function useMenuView(instanceId) {
|
|
|
90
92
|
}
|
|
91
93
|
function getParentView(id) {
|
|
92
94
|
const view = getView(id);
|
|
93
|
-
if (!view)
|
|
95
|
+
if (!view) {
|
|
96
|
+
return void 0;
|
|
97
|
+
}
|
|
94
98
|
const parentId = view.parent.views[view.parent.views.length - 1];
|
|
95
99
|
return parentId ? getView(parentId) : void 0;
|
|
96
100
|
}
|
|
97
101
|
function getUnrelatedViews(id) {
|
|
98
102
|
const view = getView(id);
|
|
99
|
-
if (!view)
|
|
103
|
+
if (!view) {
|
|
104
|
+
return [];
|
|
105
|
+
}
|
|
100
106
|
const parentViewsSet = new Set(view.parent.views);
|
|
101
107
|
return state.views.filter((v) => v.id !== id && !parentViewsSet.has(v.id));
|
|
102
108
|
}
|
|
103
109
|
function getDescendingViews(id) {
|
|
104
110
|
const view = getView(id);
|
|
105
|
-
if (!view)
|
|
111
|
+
if (!view) {
|
|
112
|
+
return [];
|
|
113
|
+
}
|
|
106
114
|
const parentViewsSet = new Set(view.parent.views);
|
|
107
115
|
return state.views.filter((v) => v.id !== id && !parentViewsSet.has(v.id));
|
|
108
116
|
}
|
|
109
117
|
async function selectView(id, delayMs = 0) {
|
|
110
118
|
const view = getView(id);
|
|
111
|
-
if (!view)
|
|
119
|
+
if (!view) {
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
112
122
|
if (view.state.unselectAbortController) {
|
|
113
123
|
view.state.unselectAbortController.abort();
|
|
114
124
|
}
|
|
@@ -128,7 +138,9 @@ export function useMenuView(instanceId) {
|
|
|
128
138
|
}
|
|
129
139
|
async function unselectView(id, delayMs = 0) {
|
|
130
140
|
const view = getView(id);
|
|
131
|
-
if (!view)
|
|
141
|
+
if (!view) {
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
132
144
|
if (view.state.selectAbortController) {
|
|
133
145
|
view.state.selectAbortController.abort();
|
|
134
146
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script>
|
|
2
2
|
import { defineComponent as _defineComponent } from "vue";
|
|
3
3
|
import { unref as _unref, renderSlot as _renderSlot, vShow as _vShow, withModifiers as _withModifiers, createElementVNode as _createElementVNode, withDirectives as _withDirectives, Transition as _Transition, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveDynamicComponent as _resolveDynamicComponent, createVNode as _createVNode, mergeProps as _mergeProps, Teleport as _Teleport } from "vue";
|
|
4
|
-
const _hoisted_1 = ["id"];
|
|
4
|
+
const _hoisted_1 = ["data-id"];
|
|
5
5
|
import {
|
|
6
6
|
ref,
|
|
7
7
|
watch,
|
|
@@ -113,10 +113,10 @@ export default /* @__PURE__ */ _defineComponent({
|
|
|
113
113
|
disabled: _unref(mappedOptions).teleport?.disabled
|
|
114
114
|
}, [
|
|
115
115
|
_createElementVNode("div", _mergeProps({
|
|
116
|
-
id: toValue(_ctx.id),
|
|
117
116
|
ref_key: "modalRef",
|
|
118
117
|
ref: modalRef,
|
|
119
|
-
class: "magic-modal"
|
|
118
|
+
class: "magic-modal",
|
|
119
|
+
"data-id": toValue(_ctx.id)
|
|
120
120
|
}, _ctx.$attrs, {
|
|
121
121
|
"aria-modal": "true",
|
|
122
122
|
onClick: _cache[1] || (_cache[1] = _withModifiers(
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { type MaybeRef } from 'vue';
|
|
2
|
-
import type { MagicModalOptions } from './../types/index.js';
|
|
3
|
-
import '@maas/vue-equipment/utils/css/animations/fade-in.css';
|
|
4
|
-
import '@maas/vue-equipment/utils/css/animations/fade-out.css';
|
|
5
|
-
interface MagicModalProps {
|
|
6
|
-
id: MaybeRef<string>;
|
|
7
|
-
props?: Record<string, unknown>;
|
|
8
|
-
options?: MagicModalOptions;
|
|
9
|
-
}
|
|
10
|
-
declare function __VLS_template(): {
|
|
11
|
-
attrs: Partial<{}>;
|
|
12
|
-
slots: {
|
|
13
|
-
backdrop?(_: {}): any;
|
|
14
|
-
default?(_: {}): any;
|
|
15
|
-
};
|
|
16
|
-
refs: {
|
|
17
|
-
modalRef: HTMLDivElement;
|
|
18
|
-
};
|
|
19
|
-
rootEl: any;
|
|
20
|
-
};
|
|
21
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
-
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicModalProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicModalProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
-
export default _default;
|
|
25
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
-
type __VLS_TypePropsToOption<T> = {
|
|
27
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
-
} : {
|
|
30
|
-
type: import('vue').PropType<T[K]>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
-
new (): {
|
|
36
|
-
$slots: S;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
@@ -94,7 +94,7 @@ export default /* @__PURE__ */ _defineComponent({
|
|
|
94
94
|
position: relative;
|
|
95
95
|
user-select: none;
|
|
96
96
|
transition: var(--magic-noise-loading-transition);
|
|
97
|
-
background: var(--magic-noise-background,
|
|
97
|
+
background: var(--magic-noise-background, #000);
|
|
98
98
|
&[data-loading='true'] {
|
|
99
99
|
background: var(--magic-noise-loading-background, #000);
|
|
100
100
|
& > .magic-noise__inner {
|
|
@@ -3,14 +3,9 @@ interface MagicNoiseProps {
|
|
|
3
3
|
options?: MagicNoiseOptions;
|
|
4
4
|
pause?: boolean;
|
|
5
5
|
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
type __VLS_TypePropsToOption<T> = {
|
|
10
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
-
} : {
|
|
13
|
-
type: import('vue').PropType<T[K]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
6
|
+
type __VLS_TemplateRefs = {
|
|
7
|
+
canvasRef: typeof __VLS_nativeElements['canvas'];
|
|
8
|
+
offCanvasRef: typeof __VLS_nativeElements['canvas'];
|
|
16
9
|
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<MagicNoiseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicNoiseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_TemplateRefs = {
|
|
2
|
+
elRef: typeof __VLS_nativeElements['audio'];
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, __VLS_TemplateRefs, HTMLAudioElement>;
|
|
2
5
|
export default _default;
|
|
@@ -96,10 +96,7 @@ export default /* @__PURE__ */ _defineComponent({
|
|
|
96
96
|
]))
|
|
97
97
|
]),
|
|
98
98
|
_createElementVNode("div", _hoisted_4, [
|
|
99
|
-
_createVNode(_component_magic_player_display_time, {
|
|
100
|
-
id: _ctx.id,
|
|
101
|
-
type: "current"
|
|
102
|
-
}, null, 8, ["id"])
|
|
99
|
+
_createVNode(_component_magic_player_display_time, { type: "current" })
|
|
103
100
|
]),
|
|
104
101
|
_createElementVNode("div", _hoisted_5, [
|
|
105
102
|
_createElementVNode(
|
|
@@ -110,17 +107,14 @@ export default /* @__PURE__ */ _defineComponent({
|
|
|
110
107
|
class: "magic-player-audio-controls__timeline"
|
|
111
108
|
},
|
|
112
109
|
[
|
|
113
|
-
_createVNode(_component_magic_player_timeline
|
|
110
|
+
_createVNode(_component_magic_player_timeline)
|
|
114
111
|
],
|
|
115
112
|
512
|
|
116
113
|
/* NEED_PATCH */
|
|
117
114
|
)
|
|
118
115
|
]),
|
|
119
116
|
_createElementVNode("div", _hoisted_6, [
|
|
120
|
-
_createVNode(_component_magic_player_display_time, {
|
|
121
|
-
id: _ctx.id,
|
|
122
|
-
type: "duration"
|
|
123
|
-
}, null, 8, ["id"])
|
|
117
|
+
_createVNode(_component_magic_player_display_time, { type: "duration" })
|
|
124
118
|
])
|
|
125
119
|
],
|
|
126
120
|
512
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
interface MagicAudioPlayerControlsProps {
|
|
2
|
-
id?: string;
|
|
3
|
-
}
|
|
4
|
-
declare function __VLS_template(): {
|
|
5
|
-
attrs: Partial<{}>;
|
|
6
|
-
slots: {
|
|
7
|
-
playIcon?(_: {}): any;
|
|
8
|
-
pauseIcon?(_: {}): any;
|
|
9
|
-
};
|
|
10
|
-
refs: {
|
|
11
|
-
barRef: HTMLDivElement;
|
|
12
|
-
trackRef: HTMLDivElement;
|
|
13
|
-
};
|
|
14
|
-
rootEl: HTMLDivElement;
|
|
15
|
-
};
|
|
16
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
-
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicAudioPlayerControlsProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicAudioPlayerControlsProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
-
export default _default;
|
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
-
type __VLS_TypePropsToOption<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: import('vue').PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
-
new (): {
|
|
31
|
-
$slots: S;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
interface MagicPlayerDisplayTimeProps {
|
|
2
2
|
type?: 'current' | 'remaining' | 'duration';
|
|
3
3
|
}
|
|
4
|
-
declare const _default: import("vue").DefineComponent<
|
|
4
|
+
declare const _default: import("vue").DefineComponent<MagicPlayerDisplayTimeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerDisplayTimeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
5
|
export default _default;
|
|
6
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
7
|
-
type __VLS_TypePropsToOption<T> = {
|
|
8
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
9
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
10
|
-
} : {
|
|
11
|
-
type: import('vue').PropType<T[K]>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
interface MagicPlayerMuxPopoverProps {
|
|
2
2
|
playbackId?: string;
|
|
3
3
|
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
7
|
-
type __VLS_TypePropsToOption<T> = {
|
|
8
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
9
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
10
|
-
} : {
|
|
11
|
-
type: import('vue').PropType<T[K]>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
4
|
+
type __VLS_TemplateRefs = {
|
|
5
|
+
canvasRef: typeof __VLS_nativeElements['canvas'];
|
|
14
6
|
};
|
|
7
|
+
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, __VLS_TemplateRefs, HTMLDivElement>;
|
|
8
|
+
export default _default;
|
|
@@ -107,11 +107,11 @@ export default /* @__PURE__ */ _defineComponent({
|
|
|
107
107
|
height: var(--magic-player-overlay-button-size, 2.5rem);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
.magic-player-overlay
|
|
110
|
+
.magic-player-overlay[data-playing='true'][data-idle='true'] {
|
|
111
111
|
opacity: 0;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
.magic-player-overlay
|
|
114
|
+
.magic-player-overlay[data-playing='true'][data-hover='false'] {
|
|
115
115
|
opacity: 0;
|
|
116
116
|
}
|
|
117
117
|
</style>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
attrs: Partial<{}>;
|
|
3
|
-
slots: {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
waitingIcon?(_: {}): any;
|
|
6
|
-
playIcon?(_: {}): any;
|
|
7
|
-
pauseIcon?(_: {}): any;
|
|
8
|
-
};
|
|
9
|
-
refs: {};
|
|
10
|
-
rootEl: HTMLDivElement;
|
|
11
|
-
};
|
|
12
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
-
export default _default;
|
|
16
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
-
new (): {
|
|
18
|
-
$slots: S;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
declare const loaded: import("vue").Ref<boolean, boolean>;
|
|
2
|
+
declare const touched: import("vue").Ref<boolean, boolean>;
|
|
3
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
4
|
+
declare var __VLS_0: {};
|
|
5
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
6
|
+
default?: (props: typeof __VLS_0) => any;
|
|
7
|
+
}>;
|
|
8
|
+
declare const __VLS_self: import("vue").DefineComponent<{}, {
|
|
9
|
+
loaded: typeof loaded;
|
|
10
|
+
touched: typeof touched;
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
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>;
|
|
13
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
14
|
export default _default;
|
|
13
|
-
type
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
16
|
new (): {
|
|
15
17
|
$slots: S;
|
|
16
18
|
};
|
|
@@ -4,30 +4,35 @@ interface MagicPlayerProps {
|
|
|
4
4
|
id: MaybeRef<string>;
|
|
5
5
|
options?: MagicPlayerOptions;
|
|
6
6
|
}
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
declare const mappedOptions: MagicPlayerOptions;
|
|
8
|
+
declare const playerRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
9
|
+
declare const playing: import("vue").Ref<boolean, boolean>, waiting: import("vue").Ref<boolean, boolean>, muted: import("vue").Ref<boolean, boolean>;
|
|
10
|
+
declare const loaded: import("vue").Ref<boolean, boolean>;
|
|
11
|
+
declare const onMouseenter: () => void, onMouseleave: () => void, isFullscreen: import("vue").Ref<boolean, boolean>, touched: import("vue").Ref<boolean, boolean>;
|
|
12
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
13
|
+
declare var __VLS_0: {};
|
|
14
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
15
|
+
default?: (props: typeof __VLS_0) => any;
|
|
16
|
+
}>;
|
|
17
|
+
type __VLS_TemplateRefs = {
|
|
18
|
+
playerRef: typeof __VLS_nativeElements['div'];
|
|
16
19
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
declare const __VLS_self: import("vue").DefineComponent<MagicPlayerProps, {
|
|
21
|
+
mappedOptions: typeof mappedOptions;
|
|
22
|
+
playerRef: typeof playerRef;
|
|
23
|
+
playing: typeof playing;
|
|
24
|
+
waiting: typeof waiting;
|
|
25
|
+
muted: typeof muted;
|
|
26
|
+
loaded: typeof loaded;
|
|
27
|
+
onMouseenter: typeof onMouseenter;
|
|
28
|
+
onMouseleave: typeof onMouseleave;
|
|
29
|
+
isFullscreen: typeof isFullscreen;
|
|
30
|
+
touched: typeof touched;
|
|
31
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const __VLS_component: import("vue").DefineComponent<MagicPlayerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicPlayerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>;
|
|
33
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
20
34
|
export default _default;
|
|
21
|
-
type
|
|
22
|
-
type __VLS_TypePropsToOption<T> = {
|
|
23
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
-
} : {
|
|
26
|
-
type: import('vue').PropType<T[K]>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
36
|
new (): {
|
|
32
37
|
$slots: S;
|
|
33
38
|
};
|
|
@@ -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, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_TemplateRefs = {
|
|
2
|
+
elRef: typeof __VLS_nativeElements['video'];
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, __VLS_TemplateRefs, HTMLVideoElement>;
|
|
2
5
|
export default _default;
|
|
@@ -156,7 +156,7 @@ export default /* @__PURE__ */ _defineComponent({
|
|
|
156
156
|
class: "magic-player-video-controls__timeline"
|
|
157
157
|
},
|
|
158
158
|
[
|
|
159
|
-
_createVNode(_component_magic_player_timeline
|
|
159
|
+
_createVNode(_component_magic_player_timeline)
|
|
160
160
|
],
|
|
161
161
|
512
|
|
162
162
|
/* NEED_PATCH */
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import '@maas/vue-equipment/utils/css/animations/fade-up-in.css';
|
|
2
|
-
import '@maas/vue-equipment/utils/css/animations/fade-up-out.css';
|
|
3
|
-
interface MagicPlayerControlsProps {
|
|
4
|
-
id?: string;
|
|
5
|
-
standalone?: boolean;
|
|
6
|
-
transition?: string;
|
|
7
|
-
}
|
|
8
|
-
declare function __VLS_template(): {
|
|
9
|
-
attrs: Partial<{}>;
|
|
10
|
-
slots: {
|
|
11
|
-
popover?(_: {}): any;
|
|
12
|
-
playIcon?(_: {}): any;
|
|
13
|
-
pauseIcon?(_: {}): any;
|
|
14
|
-
timelineBefore?(_: {}): any;
|
|
15
|
-
timelineAfter?(_: {}): any;
|
|
16
|
-
volumeOffIcon?(_: {}): any;
|
|
17
|
-
volumeOnIcon?(_: {}): any;
|
|
18
|
-
fullscreenExitIcon?(_: {}): any;
|
|
19
|
-
fullscreenEnterIcon?(_: {}): any;
|
|
20
|
-
};
|
|
21
|
-
refs: {
|
|
22
|
-
popoverRef: HTMLDivElement;
|
|
23
|
-
barRef: HTMLDivElement;
|
|
24
|
-
trackRef: HTMLDivElement;
|
|
25
|
-
};
|
|
26
|
-
rootEl: HTMLDivElement;
|
|
27
|
-
};
|
|
28
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
-
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicPlayerControlsProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicPlayerControlsProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
30
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
-
export default _default;
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToOption<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: import('vue').PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
-
new (): {
|
|
43
|
-
$slots: S;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
@@ -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;
|
|
@@ -15,7 +15,7 @@ export declare function usePlayerMediaApi(args: UsePlayerMediaApiArgs): {
|
|
|
15
15
|
ended: import("vue").Ref<boolean, boolean>;
|
|
16
16
|
playing: import("vue").Ref<boolean, boolean>;
|
|
17
17
|
stalled: import("vue").Ref<boolean, boolean>;
|
|
18
|
-
buffered: import("vue").Ref<[number, number][],
|
|
18
|
+
buffered: import("vue").Ref<[number, number][], [number, number][] | Buffered>;
|
|
19
19
|
muted: import("vue").Ref<boolean, boolean>;
|
|
20
20
|
};
|
|
21
21
|
export type UsePlayerMediaApiReturn = ReturnType<typeof usePlayerMediaApi>;
|
|
@@ -3,30 +3,22 @@ interface MagicScrollCollisionProps {
|
|
|
3
3
|
id?: string;
|
|
4
4
|
offset?: CollisionOffset;
|
|
5
5
|
}
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
rootEl: HTMLDivElement;
|
|
6
|
+
declare const elRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
7
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
8
|
+
declare var __VLS_0: {};
|
|
9
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
10
|
+
default?: (props: typeof __VLS_0) => any;
|
|
11
|
+
}>;
|
|
12
|
+
type __VLS_TemplateRefs = {
|
|
13
|
+
elRef: typeof __VLS_nativeElements['div'];
|
|
15
14
|
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
declare const __VLS_self: import("vue").DefineComponent<MagicScrollCollisionProps, {
|
|
16
|
+
elRef: typeof elRef;
|
|
17
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollCollisionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_component: import("vue").DefineComponent<MagicScrollCollisionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollCollisionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>;
|
|
19
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
20
|
export default _default;
|
|
20
|
-
type
|
|
21
|
-
type __VLS_TypePropsToOption<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: import('vue').PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
22
|
new (): {
|
|
31
23
|
$slots: S;
|
|
32
24
|
};
|
|
@@ -5,30 +5,22 @@ interface MagicScrollMotionProps {
|
|
|
5
5
|
sequenceOptions?: SequenceOptions;
|
|
6
6
|
progress?: number;
|
|
7
7
|
}
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
rootEl: HTMLDivElement;
|
|
8
|
+
declare const elRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
9
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
10
|
+
declare var __VLS_0: {};
|
|
11
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
12
|
+
default?: (props: typeof __VLS_0) => any;
|
|
13
|
+
}>;
|
|
14
|
+
type __VLS_TemplateRefs = {
|
|
15
|
+
elRef: typeof __VLS_nativeElements['div'];
|
|
17
16
|
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
declare const __VLS_self: import("vue").DefineComponent<MagicScrollMotionProps, {
|
|
18
|
+
elRef: typeof elRef;
|
|
19
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollMotionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const __VLS_component: import("vue").DefineComponent<MagicScrollMotionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollMotionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>;
|
|
21
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
21
22
|
export default _default;
|
|
22
|
-
type
|
|
23
|
-
type __VLS_TypePropsToOption<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: import('vue').PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
24
|
new (): {
|
|
33
25
|
$slots: S;
|
|
34
26
|
};
|