@maas/vue-equipment 1.0.0-beta.3 → 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/composables/index.js +9 -5
- package/dist/composables/index.js.map +1 -1
- package/dist/nuxt/module.json +1 -1
- package/dist/nuxt/module.mjs +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 +172 -22
- 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 +35 -25
- package/dist/plugins/MagicCommand/src/components/MagicCommandModal.vue.d.ts +12 -21
- package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue.d.ts +93 -20
- 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 +179 -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 +4 -5
- 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 +37 -25
- package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue +14 -3
- package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue.d.ts +93 -20
- 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 +181 -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/MagicMenu/src/utils/modeDelayDefaults.d.ts +2 -2
- package/dist/plugins/MagicMenu/src/utils/modeDelayDefaults.mjs +2 -2
- 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 -20
- 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 +5 -5
- package/dist/plugins/MagicToast/src/composables/useMagicToast.d.ts +1 -0
- package/dist/plugins/MagicToast/src/composables/useMagicToast.mjs +10 -2
- package/package.json +8 -6
|
@@ -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: any;
|
|
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: any;
|
|
23
|
-
barRef: any;
|
|
24
|
-
trackRef: any;
|
|
25
|
-
};
|
|
26
|
-
rootEl: any;
|
|
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: any;
|
|
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: any;
|
|
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
|
};
|
|
@@ -2,30 +2,55 @@ import { type MaybeElementRef } from '@vueuse/core';
|
|
|
2
2
|
interface MagicScrollProviderProps {
|
|
3
3
|
target?: MaybeElementRef<HTMLElement>;
|
|
4
4
|
}
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
declare const scrollReturn: {
|
|
6
|
+
x: import("vue").WritableComputedRef<number, number>;
|
|
7
|
+
y: import("vue").WritableComputedRef<number, number>;
|
|
8
|
+
isScrolling: import("vue").Ref<boolean, boolean>;
|
|
9
|
+
arrivedState: {
|
|
10
|
+
left: boolean;
|
|
11
|
+
right: boolean;
|
|
12
|
+
top: boolean;
|
|
13
|
+
bottom: boolean;
|
|
11
14
|
};
|
|
12
|
-
|
|
13
|
-
|
|
15
|
+
directions: {
|
|
16
|
+
left: boolean;
|
|
17
|
+
right: boolean;
|
|
18
|
+
top: boolean;
|
|
19
|
+
bottom: boolean;
|
|
20
|
+
};
|
|
21
|
+
measure(): void;
|
|
14
22
|
};
|
|
15
|
-
|
|
16
|
-
declare
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
24
|
+
declare var __VLS_0: {
|
|
25
|
+
scrollReturn: {
|
|
26
|
+
x: import("vue").WritableComputedRef<number, number>;
|
|
27
|
+
y: import("vue").WritableComputedRef<number, number>;
|
|
28
|
+
isScrolling: import("vue").Ref<boolean, boolean>;
|
|
29
|
+
arrivedState: {
|
|
30
|
+
left: boolean;
|
|
31
|
+
right: boolean;
|
|
32
|
+
top: boolean;
|
|
33
|
+
bottom: boolean;
|
|
34
|
+
};
|
|
35
|
+
directions: {
|
|
36
|
+
left: boolean;
|
|
37
|
+
right: boolean;
|
|
38
|
+
top: boolean;
|
|
39
|
+
bottom: boolean;
|
|
40
|
+
};
|
|
41
|
+
measure(): void;
|
|
26
42
|
};
|
|
27
43
|
};
|
|
28
|
-
type
|
|
44
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
45
|
+
default?: (props: typeof __VLS_0) => any;
|
|
46
|
+
}>;
|
|
47
|
+
declare const __VLS_self: import("vue").DefineComponent<MagicScrollProviderProps, {
|
|
48
|
+
scrollReturn: typeof scrollReturn;
|
|
49
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
50
|
+
declare const __VLS_component: import("vue").DefineComponent<MagicScrollProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
51
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
54
|
new (): {
|
|
30
55
|
$slots: S;
|
|
31
56
|
};
|
|
@@ -3,32 +3,26 @@ interface MagicScrollSceneProps {
|
|
|
3
3
|
from?: ScrollIntersection;
|
|
4
4
|
to?: ScrollIntersection;
|
|
5
5
|
}
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}): any;
|
|
12
|
-
};
|
|
13
|
-
refs: {
|
|
14
|
-
elRef: any;
|
|
15
|
-
};
|
|
16
|
-
rootEl: any;
|
|
6
|
+
declare const progress: import("vue").Ref<number, number>;
|
|
7
|
+
declare const elRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
8
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
9
|
+
declare var __VLS_0: {
|
|
10
|
+
progress: number;
|
|
17
11
|
};
|
|
18
|
-
type
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
-
};
|
|
12
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
13
|
+
default?: (props: typeof __VLS_0) => any;
|
|
14
|
+
}>;
|
|
15
|
+
type __VLS_TemplateRefs = {
|
|
16
|
+
elRef: typeof __VLS_nativeElements['div'];
|
|
30
17
|
};
|
|
31
|
-
|
|
18
|
+
declare const __VLS_self: import("vue").DefineComponent<MagicScrollSceneProps, {
|
|
19
|
+
progress: typeof progress;
|
|
20
|
+
elRef: typeof elRef;
|
|
21
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollSceneProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const __VLS_component: import("vue").DefineComponent<MagicScrollSceneProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollSceneProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>;
|
|
23
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
26
|
new (): {
|
|
33
27
|
$slots: S;
|
|
34
28
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script>
|
|
2
2
|
import { defineComponent as _defineComponent } from "vue";
|
|
3
3
|
import { unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveDynamicComponent as _resolveDynamicComponent, mergeProps as _mergeProps, createBlock as _createBlock, withCtx as _withCtx, TransitionGroup as _TransitionGroup, createVNode as _createVNode, createElementVNode as _createElementVNode, Teleport as _Teleport } from "vue";
|
|
4
|
-
const _hoisted_1 = ["id", "data-position", "data-expanded"];
|
|
4
|
+
const _hoisted_1 = ["data-id", "data-position", "data-expanded"];
|
|
5
5
|
import {
|
|
6
6
|
toValue,
|
|
7
7
|
ref,
|
|
@@ -65,7 +65,7 @@ export default /* @__PURE__ */ _defineComponent({
|
|
|
65
65
|
disabled: _unref(state).options.teleport?.disabled
|
|
66
66
|
}, [
|
|
67
67
|
_createElementVNode("div", _mergeProps({
|
|
68
|
-
id: toValue(_ctx.id),
|
|
68
|
+
"data-id": toValue(_ctx.id),
|
|
69
69
|
"data-position": _unref(state).options.position,
|
|
70
70
|
"data-expanded": _unref(state).expanded,
|
|
71
71
|
class: "magic-toast-provider"
|
|
@@ -10,14 +10,63 @@ interface MagicToastProps {
|
|
|
10
10
|
id: MaybeRef<string>;
|
|
11
11
|
options?: MagicToastOptions;
|
|
12
12
|
}
|
|
13
|
-
declare const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
declare const __VLS_6: import("vue").DefineComponent<import("vue").TransitionGroupProps>;
|
|
14
|
+
declare const __VLS_8: import("vue/jsx-runtime").JSX.Element & {
|
|
15
|
+
__ctx?: ({
|
|
16
|
+
attrs?: any;
|
|
17
|
+
slots?: Readonly<{
|
|
18
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
19
|
+
}> | undefined;
|
|
20
|
+
emit?: ((event: string, ...args: any[]) => void) | undefined;
|
|
21
|
+
} & {
|
|
22
|
+
props?: (Partial<{}> & Omit<{
|
|
23
|
+
readonly duration?: (number | {
|
|
24
|
+
enter: number;
|
|
25
|
+
leave: number;
|
|
26
|
+
}) | undefined;
|
|
27
|
+
readonly onBeforeEnter?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
|
|
28
|
+
readonly onEnter?: (((el: Element, done: () => void) => void) | ((el: Element, done: () => void) => void)[]) | undefined;
|
|
29
|
+
readonly onAfterEnter?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
|
|
30
|
+
readonly onBeforeLeave?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
|
|
31
|
+
readonly onLeave?: (((el: Element, done: () => void) => void) | ((el: Element, done: () => void) => void)[]) | undefined;
|
|
32
|
+
readonly onAfterLeave?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
|
|
33
|
+
readonly name?: string | undefined;
|
|
34
|
+
readonly persisted?: boolean | undefined;
|
|
35
|
+
readonly type?: ("transition" | "animation") | undefined;
|
|
36
|
+
readonly css?: boolean | undefined;
|
|
37
|
+
readonly enterFromClass?: string | undefined;
|
|
38
|
+
readonly enterActiveClass?: string | undefined;
|
|
39
|
+
readonly enterToClass?: string | undefined;
|
|
40
|
+
readonly appearFromClass?: string | undefined;
|
|
41
|
+
readonly appearActiveClass?: string | undefined;
|
|
42
|
+
readonly appearToClass?: string | undefined;
|
|
43
|
+
readonly leaveFromClass?: string | undefined;
|
|
44
|
+
readonly leaveActiveClass?: string | undefined;
|
|
45
|
+
readonly leaveToClass?: string | undefined;
|
|
46
|
+
readonly appear?: boolean | undefined;
|
|
47
|
+
readonly onEnterCancelled?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
|
|
48
|
+
readonly onLeaveCancelled?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
|
|
49
|
+
readonly onBeforeAppear?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
|
|
50
|
+
readonly onAppear?: (((el: Element, done: () => void) => void) | ((el: Element, done: () => void) => void)[]) | undefined;
|
|
51
|
+
readonly onAfterAppear?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
|
|
52
|
+
readonly onAppearCancelled?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
|
|
53
|
+
readonly tag?: string | undefined;
|
|
54
|
+
readonly moveClass?: string | undefined;
|
|
55
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, undefined> & Record<string, unknown>) | undefined;
|
|
56
|
+
expose?(exposed: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").TransitionGroupProps>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
57
|
+
P: {};
|
|
58
|
+
B: {};
|
|
59
|
+
D: {};
|
|
60
|
+
C: {};
|
|
61
|
+
M: {};
|
|
62
|
+
Defaults: {};
|
|
63
|
+
}, Readonly<import("vue").TransitionGroupProps>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, {}>): void;
|
|
64
|
+
}) | undefined;
|
|
65
|
+
};
|
|
66
|
+
declare var __VLS_12: (Parameters<NonNullable<(typeof __VLS_11)["expose"]>>[0] | null);
|
|
67
|
+
declare var __VLS_11: __VLS_PickFunctionalComponentCtx<typeof __VLS_6, typeof __VLS_8>;
|
|
68
|
+
type __VLS_TemplateRefs = {
|
|
69
|
+
listRef: typeof __VLS_12;
|
|
23
70
|
};
|
|
71
|
+
declare const _default: import("vue").DefineComponent<MagicToastProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicToastProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, any>;
|
|
72
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script>
|
|
2
2
|
import { defineComponent as _defineComponent } from "vue";
|
|
3
3
|
import { unref as _unref, renderSlot as _renderSlot, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
4
|
-
const _hoisted_1 = ["id", "data-expanded", "data-dragging", "data-position", "data-debug"];
|
|
4
|
+
const _hoisted_1 = ["data-id", "data-expanded", "data-dragging", "data-position", "data-debug"];
|
|
5
5
|
import { ref, computed, inject } from "vue";
|
|
6
6
|
import { MagicToastInstanceId } from "../../symbols";
|
|
7
7
|
import { useToastState } from "../composables/private/useToastState";
|
|
@@ -35,10 +35,10 @@ export default /* @__PURE__ */ _defineComponent({
|
|
|
35
35
|
});
|
|
36
36
|
return (_ctx, _cache) => {
|
|
37
37
|
return _openBlock(), _createElementBlock("li", {
|
|
38
|
-
id: _ctx.id,
|
|
39
38
|
ref_key: "elRef",
|
|
40
39
|
ref: elRef,
|
|
41
40
|
class: "magic-toast-view",
|
|
41
|
+
"data-id": _ctx.id,
|
|
42
42
|
"data-expanded": _unref(state).expanded,
|
|
43
43
|
"data-dragging": view.value.dragging,
|
|
44
44
|
"data-position": _unref(state).options.position,
|