@maas/vue-equipment 1.0.0-beta.13 → 1.0.0-beta.14
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 +65 -82
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue.d.ts +2 -2
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue +24 -30
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue +65 -61
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue.d.ts +1 -1
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue +41 -45
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue.d.ts +1 -1
- package/dist/plugins/MagicCommand/src/components/MagicCommandContent.vue +137 -150
- package/dist/plugins/MagicCommand/src/components/MagicCommandContent.vue.d.ts +1 -1
- package/dist/plugins/MagicCommand/src/components/MagicCommandDrawer.vue +45 -52
- package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue +80 -82
- package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue.d.ts +1 -1
- package/dist/plugins/MagicCommand/src/components/MagicCommandModal.vue +40 -47
- package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue +68 -74
- package/dist/plugins/MagicCommand/src/components/MagicCommandRenderer.vue +22 -38
- package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue +95 -85
- package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue.d.ts +1 -1
- package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue +41 -47
- package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue.d.ts +1 -1
- package/dist/plugins/MagicCookie/src/components/MagicCookieItem.vue +41 -39
- package/dist/plugins/MagicCookie/src/components/MagicCookieItem.vue.d.ts +2 -2
- package/dist/plugins/MagicCookie/src/components/MagicCookieProvider.vue +23 -34
- package/dist/plugins/MagicCookie/src/components/MagicCookieView.vue +40 -73
- package/dist/plugins/MagicCookie/src/components/MagicCookieView.vue.d.ts +1 -1
- package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue +70 -87
- package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue.d.ts +7 -7
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue +262 -304
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +12 -12
- package/dist/plugins/MagicEmitter/src/composables/useMagicEmitter.d.ts +100 -100
- package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue +41 -69
- package/dist/plugins/MagicMarquee/src/composables/useMagicMarquee.d.ts +1 -1
- package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.vue +54 -59
- package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.vue.d.ts +2 -2
- package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue +188 -208
- package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue.d.ts +3 -3
- package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.vue +181 -194
- package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue +91 -100
- package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue.d.ts +1 -1
- package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue +83 -85
- package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue +79 -75
- package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue.d.ts +1 -1
- package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue +106 -105
- package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue.d.ts +1 -1
- package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue +54 -60
- package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue.d.ts +1 -1
- package/dist/plugins/MagicModal/src/components/MagicModal.vue +136 -164
- package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +1 -1
- package/dist/plugins/MagicNoise/src/components/MagicNoise.vue +53 -78
- package/dist/plugins/MagicPie/src/components/MagicPie.vue +147 -175
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudio.vue +49 -65
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue +87 -129
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerDisplayTime.vue +33 -41
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerMuxPopover.vue +99 -109
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue +47 -75
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerPoster.vue +16 -31
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerProvider.vue +43 -44
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerTimeline.vue +52 -109
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideo.vue +65 -72
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue +154 -225
- package/dist/plugins/MagicPlayer/src/composables/useMagicPlayer.d.ts +1 -1
- package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue +49 -59
- package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue +63 -70
- package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue +29 -33
- package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue +59 -69
- package/dist/plugins/MagicToast/src/components/MagicToastProvider.vue +80 -95
- package/dist/plugins/MagicToast/src/components/MagicToastView.vue +52 -70
- package/dist/plugins/MagicToast/src/components/MagicToastView.vue.d.ts +2 -2
- package/package.json +1 -1
- package/dist/plugins/MagicAccordion/demo/data/footer.json +0 -117
- package/dist/plugins/MagicCommand/demo/data/about.json +0 -3
- package/dist/plugins/MagicCommand/demo/data/search.json +0 -594
|
@@ -1,182 +1,154 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="magic-pie" :data-flip="options?.flip" :data-id="id">
|
|
3
|
+
<svg
|
|
4
|
+
id="magic-pie__svg"
|
|
5
|
+
viewBox="0 0 100 100"
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
>
|
|
8
|
+
<mask id="magic-pie__mask">
|
|
9
|
+
<circle cx="50" cy="50" r="50" fill="white" />
|
|
10
|
+
</mask>
|
|
11
|
+
<g mask="url(#magic-pie__mask)">
|
|
12
|
+
<rect width="100" height="100" />
|
|
13
|
+
<path :d="path" />
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script setup>
|
|
12
20
|
import { computed, toRefs, onBeforeUnmount } from "vue";
|
|
13
21
|
import { usePieState } from "../composables/private/usePieState";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
options: { type: Object, required: false }
|
|
22
|
+
const { id, options } = defineProps({
|
|
23
|
+
id: {
|
|
24
|
+
type: String,
|
|
25
|
+
required: true
|
|
19
26
|
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}
|
|
136
|
-
const path = computed(() => {
|
|
137
|
-
return generatePie(percentage.value, __props.options?.flip);
|
|
138
|
-
});
|
|
139
|
-
onBeforeUnmount(() => {
|
|
140
|
-
deleteState();
|
|
141
|
-
});
|
|
142
|
-
return (_ctx, _cache) => {
|
|
143
|
-
return _openBlock(), _createElementBlock("div", {
|
|
144
|
-
class: "magic-pie",
|
|
145
|
-
"data-flip": _ctx.options?.flip,
|
|
146
|
-
"data-id": _ctx.id
|
|
147
|
-
}, [
|
|
148
|
-
(_openBlock(), _createElementBlock("svg", _hoisted_2, [
|
|
149
|
-
_cache[1] || (_cache[1] = _createElementVNode(
|
|
150
|
-
"mask",
|
|
151
|
-
{ id: "magic-pie__mask" },
|
|
152
|
-
[
|
|
153
|
-
_createElementVNode("circle", {
|
|
154
|
-
cx: "50",
|
|
155
|
-
cy: "50",
|
|
156
|
-
r: "50",
|
|
157
|
-
fill: "white"
|
|
158
|
-
})
|
|
159
|
-
],
|
|
160
|
-
-1
|
|
161
|
-
/* HOISTED */
|
|
162
|
-
)),
|
|
163
|
-
_createElementVNode("g", _hoisted_3, [
|
|
164
|
-
_cache[0] || (_cache[0] = _createElementVNode(
|
|
165
|
-
"rect",
|
|
166
|
-
{
|
|
167
|
-
width: "100",
|
|
168
|
-
height: "100"
|
|
169
|
-
},
|
|
170
|
-
null,
|
|
171
|
-
-1
|
|
172
|
-
/* HOISTED */
|
|
173
|
-
)),
|
|
174
|
-
_createElementVNode("path", { d: path.value }, null, 8, _hoisted_4)
|
|
175
|
-
])
|
|
176
|
-
]))
|
|
177
|
-
], 8, _hoisted_1);
|
|
178
|
-
};
|
|
27
|
+
options: {
|
|
28
|
+
type: Object,
|
|
29
|
+
required: false
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
const { initializeState, deleteState } = usePieState(id);
|
|
33
|
+
const state = initializeState();
|
|
34
|
+
const { percentage } = toRefs(state);
|
|
35
|
+
function generatePath(points) {
|
|
36
|
+
if (points.length < 2) {
|
|
37
|
+
throw new Error("At least two points are required to generate a path.");
|
|
38
|
+
}
|
|
39
|
+
let path2 = `M ${points[0][0]} ${points[0][1]}`;
|
|
40
|
+
for (let i = 1; i < points.length; i++) {
|
|
41
|
+
path2 += ` L ${points[i][0]} ${points[i][1]}`;
|
|
42
|
+
}
|
|
43
|
+
return path2;
|
|
44
|
+
}
|
|
45
|
+
function generatePie(percentage2, flip) {
|
|
46
|
+
if (percentage2 < 0 || percentage2 > 100) {
|
|
47
|
+
throw new Error("percentage needs to be between 0 and 100");
|
|
48
|
+
}
|
|
49
|
+
const size = 100;
|
|
50
|
+
const points = [
|
|
51
|
+
[size / 2, size / 2],
|
|
52
|
+
[size / 2, 0]
|
|
53
|
+
];
|
|
54
|
+
function getEndpoint(percentage3, size2) {
|
|
55
|
+
const circumference = size2 * 4;
|
|
56
|
+
const distance = percentage3 / 100 * circumference;
|
|
57
|
+
if (distance === 0) {
|
|
58
|
+
return [size2 / 2, 0];
|
|
59
|
+
}
|
|
60
|
+
const position = Math.floor(distance / (size2 / 2)) % 8;
|
|
61
|
+
const remainingDistance = distance % (size2 / 2);
|
|
62
|
+
let x = 0;
|
|
63
|
+
let y = 0;
|
|
64
|
+
switch (position) {
|
|
65
|
+
case 0:
|
|
66
|
+
x = size2 / 2 + remainingDistance;
|
|
67
|
+
y = 0;
|
|
68
|
+
break;
|
|
69
|
+
case 1:
|
|
70
|
+
x = size2;
|
|
71
|
+
y = remainingDistance;
|
|
72
|
+
break;
|
|
73
|
+
case 2:
|
|
74
|
+
x = size2;
|
|
75
|
+
y = size2 / 2 + remainingDistance;
|
|
76
|
+
break;
|
|
77
|
+
case 3:
|
|
78
|
+
x = size2 - remainingDistance;
|
|
79
|
+
y = size2;
|
|
80
|
+
break;
|
|
81
|
+
case 4:
|
|
82
|
+
x = size2 / 2 - remainingDistance;
|
|
83
|
+
y = size2;
|
|
84
|
+
break;
|
|
85
|
+
case 5:
|
|
86
|
+
x = 0;
|
|
87
|
+
y = size2 - remainingDistance;
|
|
88
|
+
break;
|
|
89
|
+
case 6:
|
|
90
|
+
x = 0;
|
|
91
|
+
y = size2 / 2 - remainingDistance;
|
|
92
|
+
break;
|
|
93
|
+
case 7:
|
|
94
|
+
x = remainingDistance;
|
|
95
|
+
y = 0;
|
|
96
|
+
}
|
|
97
|
+
return [x, y];
|
|
98
|
+
}
|
|
99
|
+
if (flip) {
|
|
100
|
+
if (100 - percentage2 >= 12.5) {
|
|
101
|
+
points.push([0, 0]);
|
|
102
|
+
}
|
|
103
|
+
if (100 - percentage2 >= 25) {
|
|
104
|
+
points.push([0, size / 2]);
|
|
105
|
+
}
|
|
106
|
+
if (100 - percentage2 >= 37.5) {
|
|
107
|
+
points.push([0, size]);
|
|
108
|
+
}
|
|
109
|
+
if (100 - percentage2 >= 50) {
|
|
110
|
+
points.push([size / 2, size]);
|
|
111
|
+
}
|
|
112
|
+
if (100 - percentage2 >= 62.5) {
|
|
113
|
+
points.push([size, size]);
|
|
114
|
+
}
|
|
115
|
+
if (100 - percentage2 >= 75) {
|
|
116
|
+
points.push([size, size / 2]);
|
|
117
|
+
}
|
|
118
|
+
if (100 - percentage2 >= 87.5) {
|
|
119
|
+
points.push([size, 0]);
|
|
120
|
+
}
|
|
121
|
+
} else {
|
|
122
|
+
if (percentage2 >= 12.5) {
|
|
123
|
+
points.push([size, 0]);
|
|
124
|
+
}
|
|
125
|
+
if (percentage2 >= 25) {
|
|
126
|
+
points.push([size, size / 2]);
|
|
127
|
+
}
|
|
128
|
+
if (percentage2 >= 37.5) {
|
|
129
|
+
points.push([size, size]);
|
|
130
|
+
}
|
|
131
|
+
if (percentage2 >= 50) {
|
|
132
|
+
points.push([size / 2, size]);
|
|
133
|
+
}
|
|
134
|
+
if (percentage2 >= 62.5) {
|
|
135
|
+
points.push([0, size]);
|
|
136
|
+
}
|
|
137
|
+
if (percentage2 >= 75) {
|
|
138
|
+
points.push([0, size / 2]);
|
|
139
|
+
}
|
|
140
|
+
if (percentage2 >= 87.5) {
|
|
141
|
+
points.push([0, 0]);
|
|
142
|
+
}
|
|
179
143
|
}
|
|
144
|
+
points.push(getEndpoint(percentage2, size));
|
|
145
|
+
return generatePath(points);
|
|
146
|
+
}
|
|
147
|
+
const path = computed(() => {
|
|
148
|
+
return generatePie(percentage.value, options?.flip);
|
|
149
|
+
});
|
|
150
|
+
onBeforeUnmount(() => {
|
|
151
|
+
deleteState();
|
|
180
152
|
});
|
|
181
153
|
</script>
|
|
182
154
|
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class: "magic-player-audio"
|
|
7
|
-
};
|
|
1
|
+
<template>
|
|
2
|
+
<audio ref="el" class="magic-player-audio" />
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script setup>
|
|
8
6
|
import {
|
|
9
7
|
toRefs,
|
|
10
8
|
useTemplateRef,
|
|
@@ -19,66 +17,52 @@ import { usePlayerMediaApi } from "../composables/private/usePlayerMediaApi";
|
|
|
19
17
|
import { usePlayerRuntime } from "../composables/private/usePlayerRuntime";
|
|
20
18
|
import { usePlayerState } from "../composables/private/usePlayerState";
|
|
21
19
|
import { MagicPlayerInstanceId, MagicPlayerOptionsKey } from "../symbols";
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
20
|
+
const injectedInstanceId = inject(MagicPlayerInstanceId, void 0);
|
|
21
|
+
const injectedOptions = inject(MagicPlayerOptionsKey, void 0);
|
|
22
|
+
if (!injectedInstanceId) {
|
|
23
|
+
throw new Error("MagicPlayerVideo must be used within a MagicPlayerProvider");
|
|
24
|
+
}
|
|
25
|
+
if (!injectedOptions) {
|
|
26
|
+
throw new Error("MagicPlayerVideo must be used within a MagicPlayerProvider");
|
|
27
|
+
}
|
|
28
|
+
const elRef = useTemplateRef("el");
|
|
29
|
+
const pausedByIntersection = shallowRef(false);
|
|
30
|
+
const { initialize, destroy } = usePlayerRuntime({
|
|
31
|
+
id: injectedInstanceId,
|
|
32
|
+
mediaRef: elRef,
|
|
33
|
+
src: injectedOptions.src,
|
|
34
|
+
srcType: injectedOptions.srcType
|
|
35
|
+
});
|
|
36
|
+
usePlayerMediaApi({
|
|
37
|
+
id: injectedInstanceId,
|
|
38
|
+
mediaRef: elRef
|
|
39
|
+
});
|
|
40
|
+
const { play, pause } = usePlayerAudioApi({
|
|
41
|
+
id: injectedInstanceId
|
|
42
|
+
});
|
|
43
|
+
const { initializeState } = usePlayerState(injectedInstanceId);
|
|
44
|
+
const state = initializeState();
|
|
45
|
+
const { playing } = toRefs(state);
|
|
46
|
+
useIntersectionObserver(
|
|
47
|
+
elRef,
|
|
48
|
+
([{ isIntersecting }]) => {
|
|
49
|
+
if (!isIntersecting && playing.value) {
|
|
50
|
+
pause();
|
|
51
|
+
pausedByIntersection.value = true;
|
|
52
|
+
} else if (isIntersecting && !playing.value && pausedByIntersection.value) {
|
|
53
|
+
pausedByIntersection.value = false;
|
|
54
|
+
play();
|
|
32
55
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
id: injectedInstanceId,
|
|
37
|
-
mediaRef: elRef,
|
|
38
|
-
src: injectedOptions.src,
|
|
39
|
-
srcType: injectedOptions.srcType
|
|
40
|
-
});
|
|
41
|
-
usePlayerMediaApi({
|
|
42
|
-
id: injectedInstanceId,
|
|
43
|
-
mediaRef: elRef
|
|
44
|
-
});
|
|
45
|
-
const { play, pause } = usePlayerAudioApi({
|
|
46
|
-
id: injectedInstanceId
|
|
47
|
-
});
|
|
48
|
-
const { initializeState } = usePlayerState(injectedInstanceId);
|
|
49
|
-
const state = initializeState();
|
|
50
|
-
const { playing } = toRefs(state);
|
|
51
|
-
useIntersectionObserver(
|
|
52
|
-
elRef,
|
|
53
|
-
([{ isIntersecting }]) => {
|
|
54
|
-
if (!isIntersecting && playing.value) {
|
|
55
|
-
pause();
|
|
56
|
-
pausedByIntersection.value = true;
|
|
57
|
-
} else if (isIntersecting && !playing.value && pausedByIntersection.value) {
|
|
58
|
-
pausedByIntersection.value = false;
|
|
59
|
-
play();
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
immediate: true
|
|
64
|
-
}
|
|
65
|
-
);
|
|
66
|
-
onMounted(() => {
|
|
67
|
-
initialize();
|
|
68
|
-
});
|
|
69
|
-
onBeforeUnmount(() => {
|
|
70
|
-
destroy();
|
|
71
|
-
});
|
|
72
|
-
return (_ctx, _cache) => {
|
|
73
|
-
return _openBlock(), _createElementBlock(
|
|
74
|
-
"audio",
|
|
75
|
-
_hoisted_1,
|
|
76
|
-
null,
|
|
77
|
-
512
|
|
78
|
-
/* NEED_PATCH */
|
|
79
|
-
);
|
|
80
|
-
};
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
immediate: true
|
|
81
59
|
}
|
|
60
|
+
);
|
|
61
|
+
onMounted(() => {
|
|
62
|
+
initialize();
|
|
63
|
+
});
|
|
64
|
+
onBeforeUnmount(() => {
|
|
65
|
+
destroy();
|
|
82
66
|
});
|
|
83
67
|
</script>
|
|
84
68
|
|