cos-design 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +46 -28
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -1
- package/dist/elements.cjs +1 -1
- package/dist/elements.js +665 -1347
- package/dist/{engine-DAYJbw0W.cjs → engine-D2OC52jQ.cjs} +3 -3
- package/dist/{engine-jGjtPKCP.js → engine-Dh44m7ox.js} +117 -102
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/src/components/clickSpark/element/index.d.ts +1 -0
- package/dist/src/components/weatherBackground/vue/useLiveWeather.d.ts +15 -0
- package/dist/style.css +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +583 -622
- package/package.json +2 -2
package/dist/vue.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { $t as e, An as t, At as n, Bn as r, Bt as i, Cn as a, Ct as o, Dn as s, Dt as c, En as ee, Et as te, Fn as ne, Ft as re, Gt as ie, Hn as ae, Ht as oe, In as se, It as ce, Jt as
|
|
1
|
+
import { $t as e, An as t, At as n, Bn as r, Bt as i, Cn as a, Ct as o, Dn as s, Dt as c, En as ee, Et as te, Fn as ne, Ft as re, Gt as ie, Hn as ae, Ht as oe, In as se, It as ce, Jt as l, Kt as u, Ln as d, Lt as f, Mn as p, Mt as m, Nn as h, Nt as g, On as _, Ot as v, Pn as y, Pt as b, Qt as x, Rn as S, Rt as C, Sn as w, St as T, Tn as E, Tt as D, Un as O, Ut as k, Vn as A, Vt as j, Wn as M, Wt as N, Xt as P, Yt as F, Zt as I, _n as L, _t as R, an as z, bn as B, bt as V, cn as H, dn as U, dt as W, en as G, fn as le, ft as ue, gn as de, gt as fe, hn as pe, ht as me, in as he, jn as ge, jt as _e, kn as ve, kt as ye, ln as be, mn as xe, mt as Se, n as Ce, nn as we, on as Te, pn as Ee, pt as De, qt as Oe, rn as ke, sn as Ae, t as je, tn as Me, un as Ne, vn as Pe, vt as Fe, wn as Ie, wt as Le, xn as Re, xt as ze, yn as Be, yt as Ve, zn as He, zt as Ue } from "./engine-Dh44m7ox.js";
|
|
2
2
|
import './style.css';/* empty css */
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { Teleport as B, createBlock as V, createCommentVNode as H, createElementBlock as U, createElementVNode as W, defineComponent as G, onMounted as K, onUnmounted as q, openBlock as J, ref as Y, renderSlot as X, toDisplayString as Z, watch as Q } from "vue";
|
|
3
|
+
import { t as We } from "./core-On5bp2VI.js";
|
|
4
|
+
import { createElementBlock as K, defineComponent as q, onMounted as J, onUnmounted as Y, openBlock as X, ref as Z, watch as Q } from "vue";
|
|
6
5
|
//#endregion
|
|
7
6
|
//#region src/components/audioVisualizer/vue/AudioVisualizer.vue
|
|
8
|
-
var
|
|
7
|
+
var Ge = /* @__PURE__ */ q({
|
|
9
8
|
__name: "AudioVisualizer",
|
|
10
9
|
props: {
|
|
11
10
|
width: {},
|
|
@@ -14,18 +13,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
14
13
|
useMic: { type: Boolean }
|
|
15
14
|
},
|
|
16
15
|
setup(e, { expose: t, emit: n }) {
|
|
17
|
-
let i = e, a =
|
|
18
|
-
return
|
|
16
|
+
let i = e, a = Z(), o = null, s = () => ({ ...i });
|
|
17
|
+
return J(() => {
|
|
19
18
|
a.value && (o = r(a.value, s()));
|
|
20
|
-
}), Q(() =>
|
|
19
|
+
}), Q(() => ({ ...i }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
21
20
|
o?.destroy(), o = null;
|
|
22
|
-
}), t({}), (e, t) => (
|
|
21
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
23
22
|
ref_key: "hostRef",
|
|
24
23
|
ref: a,
|
|
25
24
|
class: "cos-audioVisualizer-host"
|
|
26
25
|
}, null, 512));
|
|
27
26
|
}
|
|
28
|
-
}),
|
|
27
|
+
}), Ke = /* @__PURE__ */ q({
|
|
29
28
|
__name: "Aurora",
|
|
30
29
|
props: {
|
|
31
30
|
width: {},
|
|
@@ -34,18 +33,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
34
33
|
colors: {}
|
|
35
34
|
},
|
|
36
35
|
setup(e, { expose: t, emit: n }) {
|
|
37
|
-
let r = e, i =
|
|
38
|
-
return
|
|
39
|
-
i.value && (a =
|
|
40
|
-
}), Q(() =>
|
|
36
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
37
|
+
return J(() => {
|
|
38
|
+
i.value && (a = A(i.value, o()));
|
|
39
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
41
40
|
a?.destroy(), a = null;
|
|
42
|
-
}), t({}), (e, t) => (
|
|
41
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
43
42
|
ref_key: "hostRef",
|
|
44
43
|
ref: i,
|
|
45
44
|
class: "cos-aurora-host"
|
|
46
45
|
}, null, 512));
|
|
47
46
|
}
|
|
48
|
-
}),
|
|
47
|
+
}), qe = /* @__PURE__ */ q({
|
|
49
48
|
__name: "AuroraVeil",
|
|
50
49
|
props: {
|
|
51
50
|
width: {},
|
|
@@ -61,18 +60,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
61
60
|
ariaLabel: {}
|
|
62
61
|
},
|
|
63
62
|
setup(e, { expose: t, emit: n }) {
|
|
64
|
-
let r = e, i =
|
|
65
|
-
return
|
|
66
|
-
i.value && (a =
|
|
67
|
-
}), Q(() =>
|
|
63
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
64
|
+
return J(() => {
|
|
65
|
+
i.value && (a = f(i.value, o()));
|
|
66
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
68
67
|
a?.destroy(), a = null;
|
|
69
|
-
}), t({}), (e, t) => (
|
|
68
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
70
69
|
ref_key: "hostRef",
|
|
71
70
|
ref: i,
|
|
72
71
|
class: "cos-auroraVeil-host"
|
|
73
72
|
}, null, 512));
|
|
74
73
|
}
|
|
75
|
-
}),
|
|
74
|
+
}), Je = /* @__PURE__ */ q({
|
|
76
75
|
__name: "BarcodeScan",
|
|
77
76
|
props: {
|
|
78
77
|
scanColor: {},
|
|
@@ -80,25 +79,19 @@ var Qe = /* @__PURE__ */ G({
|
|
|
80
79
|
slotElement: {},
|
|
81
80
|
defaultContent: {}
|
|
82
81
|
},
|
|
83
|
-
setup(e, { expose: t }) {
|
|
84
|
-
let
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
})
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}), Q(() => z(n), () => a?.update(o())), q(() => {
|
|
91
|
-
a?.destroy(), a = null, i.value = null;
|
|
92
|
-
}), t({ getSlot: () => a?.getSlot?.() }), (t, n) => (J(), U("div", {
|
|
82
|
+
setup(e, { expose: t, emit: n }) {
|
|
83
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
84
|
+
return J(() => {
|
|
85
|
+
i.value && (a = M(i.value, o()));
|
|
86
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
87
|
+
a?.destroy(), a = null;
|
|
88
|
+
}), t({ getSlot: () => a?.getSlot() }), (e, t) => (X(), K("div", {
|
|
93
89
|
ref_key: "hostRef",
|
|
94
|
-
ref:
|
|
90
|
+
ref: i,
|
|
95
91
|
class: "cos-barcodeScan-host"
|
|
96
|
-
},
|
|
97
|
-
key: 0,
|
|
98
|
-
to: i.value
|
|
99
|
-
}, [X(t.$slots, "default", {}, () => [W("span", null, Z(e.defaultContent ?? "SCAN ME"), 1)])], 8, ["to"])) : H("", !0)], 512));
|
|
92
|
+
}, null, 512));
|
|
100
93
|
}
|
|
101
|
-
}),
|
|
94
|
+
}), Ye = /* @__PURE__ */ q({
|
|
102
95
|
__name: "BlurText",
|
|
103
96
|
props: {
|
|
104
97
|
text: {},
|
|
@@ -112,21 +105,21 @@ var Qe = /* @__PURE__ */ G({
|
|
|
112
105
|
},
|
|
113
106
|
emits: ["animation-complete"],
|
|
114
107
|
setup(e, { expose: t, emit: n }) {
|
|
115
|
-
let r = e, i = n, a =
|
|
108
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
116
109
|
...r,
|
|
117
110
|
onAnimationComplete: (...e) => i("animation-complete", ...e)
|
|
118
111
|
});
|
|
119
|
-
return
|
|
120
|
-
a.value && (o =
|
|
121
|
-
}), Q(() =>
|
|
112
|
+
return J(() => {
|
|
113
|
+
a.value && (o = O(a.value, s()));
|
|
114
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
122
115
|
o?.destroy(), o = null;
|
|
123
|
-
}), t({}), (e, t) => (
|
|
116
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
124
117
|
ref_key: "hostRef",
|
|
125
118
|
ref: a,
|
|
126
119
|
class: "cos-blurText-host"
|
|
127
120
|
}, null, 512));
|
|
128
121
|
}
|
|
129
|
-
}),
|
|
122
|
+
}), Xe = /* @__PURE__ */ q({
|
|
130
123
|
__name: "BubbleField",
|
|
131
124
|
props: {
|
|
132
125
|
width: {},
|
|
@@ -141,18 +134,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
141
134
|
}
|
|
142
135
|
},
|
|
143
136
|
setup(e, { expose: t, emit: n }) {
|
|
144
|
-
let r = e, i =
|
|
145
|
-
return
|
|
137
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
138
|
+
return J(() => {
|
|
146
139
|
i.value && (a = oe(i.value, o()));
|
|
147
|
-
}), Q(() =>
|
|
140
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
148
141
|
a?.destroy(), a = null;
|
|
149
|
-
}), t({}), (e, t) => (
|
|
142
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
150
143
|
ref_key: "hostRef",
|
|
151
144
|
ref: i,
|
|
152
145
|
class: "cos-bubbleField-host"
|
|
153
146
|
}, null, 512));
|
|
154
147
|
}
|
|
155
|
-
}),
|
|
148
|
+
}), Ze = /* @__PURE__ */ q({
|
|
156
149
|
__name: "BurnAway",
|
|
157
150
|
props: {
|
|
158
151
|
text: {},
|
|
@@ -162,70 +155,67 @@ var Qe = /* @__PURE__ */ G({
|
|
|
162
155
|
},
|
|
163
156
|
emits: ["complete"],
|
|
164
157
|
setup(e, { expose: t, emit: n }) {
|
|
165
|
-
let r = e, i = n, a =
|
|
158
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
166
159
|
...r,
|
|
167
160
|
onComplete: (...e) => i("complete", ...e)
|
|
168
161
|
});
|
|
169
|
-
return
|
|
162
|
+
return J(() => {
|
|
170
163
|
a.value && (o = ae(a.value, s()));
|
|
171
|
-
}), Q(() =>
|
|
164
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
172
165
|
o?.destroy(), o = null;
|
|
173
|
-
}), t({ ignite: () => o?.ignite() }), (e, t) => (
|
|
166
|
+
}), t({ ignite: () => o?.ignite() }), (e, t) => (X(), K("div", {
|
|
174
167
|
ref_key: "hostRef",
|
|
175
168
|
ref: a,
|
|
176
169
|
class: "cos-burnAway-host"
|
|
177
170
|
}, null, 512));
|
|
178
171
|
}
|
|
179
|
-
}),
|
|
172
|
+
}), Qe = /* @__PURE__ */ q({
|
|
180
173
|
__name: "CanvasClock",
|
|
181
174
|
props: {
|
|
182
175
|
width: {},
|
|
183
176
|
height: {}
|
|
184
177
|
},
|
|
185
178
|
setup(e, { expose: t, emit: n }) {
|
|
186
|
-
let r = e, i =
|
|
187
|
-
return
|
|
188
|
-
i.value && (a =
|
|
189
|
-
}), Q(() =>
|
|
179
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
180
|
+
return J(() => {
|
|
181
|
+
i.value && (a = He(i.value, o()));
|
|
182
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
190
183
|
a?.destroy(), a = null;
|
|
191
|
-
}), t({}), (e, t) => (
|
|
184
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
192
185
|
ref_key: "hostRef",
|
|
193
186
|
ref: i,
|
|
194
187
|
class: "cos-canvasClock-host"
|
|
195
188
|
}, null, 512));
|
|
196
189
|
}
|
|
197
|
-
}),
|
|
190
|
+
}), $e = /* @__PURE__ */ q({
|
|
198
191
|
__name: "Charge",
|
|
199
192
|
props: {
|
|
200
193
|
initQuantity: {},
|
|
201
194
|
value: {},
|
|
202
|
-
onChange: {},
|
|
203
|
-
onComplete: {},
|
|
204
|
-
autoCharge: {
|
|
205
|
-
type: Boolean,
|
|
206
|
-
default: !0
|
|
207
|
-
},
|
|
195
|
+
onChange: { type: Function },
|
|
196
|
+
onComplete: { type: Function },
|
|
197
|
+
autoCharge: { type: Boolean },
|
|
208
198
|
interval: {},
|
|
209
199
|
step: {}
|
|
210
200
|
},
|
|
211
201
|
emits: ["change", "complete"],
|
|
212
202
|
setup(e, { expose: t, emit: n }) {
|
|
213
|
-
let r = e, i = n, a =
|
|
203
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
214
204
|
...r,
|
|
215
205
|
onChange: (...e) => i("change", ...e),
|
|
216
206
|
onComplete: (...e) => i("complete", ...e)
|
|
217
207
|
});
|
|
218
|
-
return
|
|
219
|
-
a.value && (o =
|
|
220
|
-
}), Q(() =>
|
|
208
|
+
return J(() => {
|
|
209
|
+
a.value && (o = S(a.value, s()));
|
|
210
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
221
211
|
o?.destroy(), o = null;
|
|
222
|
-
}), t({}), (e, t) => (
|
|
212
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
223
213
|
ref_key: "hostRef",
|
|
224
214
|
ref: a,
|
|
225
215
|
class: "cos-charge-host"
|
|
226
216
|
}, null, 512));
|
|
227
217
|
}
|
|
228
|
-
}),
|
|
218
|
+
}), et = /* @__PURE__ */ q({
|
|
229
219
|
__name: "CircularText",
|
|
230
220
|
props: {
|
|
231
221
|
text: {},
|
|
@@ -236,18 +226,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
236
226
|
color: {}
|
|
237
227
|
},
|
|
238
228
|
setup(e, { expose: t, emit: n }) {
|
|
239
|
-
let r = e, i =
|
|
240
|
-
return
|
|
241
|
-
i.value && (a =
|
|
242
|
-
}), Q(() =>
|
|
229
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
230
|
+
return J(() => {
|
|
231
|
+
i.value && (a = d(i.value, o()));
|
|
232
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
243
233
|
a?.destroy(), a = null;
|
|
244
|
-
}), t({}), (e, t) => (
|
|
234
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
245
235
|
ref_key: "hostRef",
|
|
246
236
|
ref: i,
|
|
247
237
|
class: "cos-circularText-host"
|
|
248
238
|
}, null, 512));
|
|
249
239
|
}
|
|
250
|
-
}),
|
|
240
|
+
}), tt = /* @__PURE__ */ q({
|
|
251
241
|
__name: "ClickSpark",
|
|
252
242
|
props: {
|
|
253
243
|
color: {},
|
|
@@ -255,22 +245,19 @@ var Qe = /* @__PURE__ */ G({
|
|
|
255
245
|
defaultContent: {},
|
|
256
246
|
slotElement: {}
|
|
257
247
|
},
|
|
258
|
-
setup(e, { expose: t }) {
|
|
259
|
-
let
|
|
260
|
-
return
|
|
261
|
-
|
|
262
|
-
}), Q(() =>
|
|
263
|
-
a?.destroy(), a = null
|
|
264
|
-
}), t({ getSlot: () => a?.getSlot
|
|
248
|
+
setup(e, { expose: t, emit: n }) {
|
|
249
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
250
|
+
return J(() => {
|
|
251
|
+
i.value && (a = se(i.value, o()));
|
|
252
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
253
|
+
a?.destroy(), a = null;
|
|
254
|
+
}), t({ getSlot: () => a?.getSlot() }), (e, t) => (X(), K("div", {
|
|
265
255
|
ref_key: "hostRef",
|
|
266
|
-
ref:
|
|
256
|
+
ref: i,
|
|
267
257
|
class: "cos-clickSpark-host"
|
|
268
|
-
},
|
|
269
|
-
key: 0,
|
|
270
|
-
to: i.value
|
|
271
|
-
}, [X(e.$slots, "default")], 8, ["to"])) : H("", !0)], 512));
|
|
258
|
+
}, null, 512));
|
|
272
259
|
}
|
|
273
|
-
}),
|
|
260
|
+
}), nt = /* @__PURE__ */ q({
|
|
274
261
|
__name: "Confetti",
|
|
275
262
|
props: {
|
|
276
263
|
width: {},
|
|
@@ -290,21 +277,21 @@ var Qe = /* @__PURE__ */ G({
|
|
|
290
277
|
},
|
|
291
278
|
emits: ["complete"],
|
|
292
279
|
setup(e, { expose: t, emit: n }) {
|
|
293
|
-
let r = e, i = n, a =
|
|
280
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
294
281
|
...r,
|
|
295
282
|
onComplete: (...e) => i("complete", ...e)
|
|
296
283
|
});
|
|
297
|
-
return
|
|
284
|
+
return J(() => {
|
|
298
285
|
a.value && (o = ne(a.value, s()));
|
|
299
|
-
}), Q(() =>
|
|
286
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
300
287
|
o?.destroy(), o = null;
|
|
301
|
-
}), t({ burst: () => o?.burst() }), (e, t) => (
|
|
288
|
+
}), t({ burst: () => o?.burst() }), (e, t) => (X(), K("div", {
|
|
302
289
|
ref_key: "hostRef",
|
|
303
290
|
ref: a,
|
|
304
291
|
class: "cos-confetti-host"
|
|
305
292
|
}, null, 512));
|
|
306
293
|
}
|
|
307
|
-
}),
|
|
294
|
+
}), rt = /* @__PURE__ */ q({
|
|
308
295
|
__name: "CountUp",
|
|
309
296
|
props: {
|
|
310
297
|
value: {},
|
|
@@ -316,18 +303,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
316
303
|
color: {}
|
|
317
304
|
},
|
|
318
305
|
setup(e, { expose: t, emit: n }) {
|
|
319
|
-
let r = e, i =
|
|
320
|
-
return
|
|
321
|
-
i.value && (a =
|
|
322
|
-
}), Q(() =>
|
|
306
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
307
|
+
return J(() => {
|
|
308
|
+
i.value && (a = ge(i.value, o()));
|
|
309
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
323
310
|
a?.destroy(), a = null;
|
|
324
|
-
}), t({}), (e, t) => (
|
|
311
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
325
312
|
ref_key: "hostRef",
|
|
326
313
|
ref: i,
|
|
327
314
|
class: "cos-countUp-host"
|
|
328
315
|
}, null, 512));
|
|
329
316
|
}
|
|
330
|
-
}),
|
|
317
|
+
}), it = /* @__PURE__ */ q({
|
|
331
318
|
__name: "Countdown",
|
|
332
319
|
props: {
|
|
333
320
|
targetDate: {},
|
|
@@ -340,21 +327,21 @@ var Qe = /* @__PURE__ */ G({
|
|
|
340
327
|
},
|
|
341
328
|
emits: ["end"],
|
|
342
329
|
setup(e, { expose: t, emit: n }) {
|
|
343
|
-
let r = e, i = n, a =
|
|
330
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
344
331
|
...r,
|
|
345
332
|
onEnd: (...e) => i("end", ...e)
|
|
346
333
|
});
|
|
347
|
-
return
|
|
348
|
-
a.value && (o =
|
|
349
|
-
}), Q(() =>
|
|
334
|
+
return J(() => {
|
|
335
|
+
a.value && (o = p(a.value, s()));
|
|
336
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
350
337
|
o?.destroy(), o = null;
|
|
351
|
-
}), t({}), (e, t) => (
|
|
338
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
352
339
|
ref_key: "hostRef",
|
|
353
340
|
ref: a,
|
|
354
341
|
class: "cos-countdown-host"
|
|
355
342
|
}, null, 512));
|
|
356
343
|
}
|
|
357
|
-
}),
|
|
344
|
+
}), at = /* @__PURE__ */ q({
|
|
358
345
|
__name: "CursorTrail",
|
|
359
346
|
props: {
|
|
360
347
|
color: {},
|
|
@@ -364,18 +351,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
364
351
|
hint: {}
|
|
365
352
|
},
|
|
366
353
|
setup(e, { expose: t, emit: n }) {
|
|
367
|
-
let r = e, i =
|
|
368
|
-
return
|
|
369
|
-
i.value && (a =
|
|
370
|
-
}), Q(() =>
|
|
354
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
355
|
+
return J(() => {
|
|
356
|
+
i.value && (a = _(i.value, o()));
|
|
357
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
371
358
|
a?.destroy(), a = null;
|
|
372
|
-
}), t({}), (e, t) => (
|
|
359
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
373
360
|
ref_key: "hostRef",
|
|
374
361
|
ref: i,
|
|
375
362
|
class: "cos-cursorTrail-host"
|
|
376
363
|
}, null, 512));
|
|
377
364
|
}
|
|
378
|
-
}),
|
|
365
|
+
}), ot = /* @__PURE__ */ q({
|
|
379
366
|
__name: "CurvedLoop",
|
|
380
367
|
props: {
|
|
381
368
|
text: {},
|
|
@@ -390,18 +377,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
390
377
|
fontSize: {}
|
|
391
378
|
},
|
|
392
379
|
setup(e, { expose: t, emit: n }) {
|
|
393
|
-
let r = e, i =
|
|
394
|
-
return
|
|
395
|
-
i.value && (a =
|
|
396
|
-
}), Q(() =>
|
|
380
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
381
|
+
return J(() => {
|
|
382
|
+
i.value && (a = y(i.value, o()));
|
|
383
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
397
384
|
a?.destroy(), a = null;
|
|
398
|
-
}), t({}), (e, t) => (
|
|
385
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
399
386
|
ref_key: "hostRef",
|
|
400
387
|
ref: i,
|
|
401
388
|
class: "cos-curvedLoop-host"
|
|
402
389
|
}, null, 512));
|
|
403
390
|
}
|
|
404
|
-
}),
|
|
391
|
+
}), st = /* @__PURE__ */ q({
|
|
405
392
|
__name: "CyberGrid",
|
|
406
393
|
props: {
|
|
407
394
|
width: {},
|
|
@@ -411,18 +398,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
411
398
|
speed: {}
|
|
412
399
|
},
|
|
413
400
|
setup(e, { expose: t, emit: n }) {
|
|
414
|
-
let r = e, i =
|
|
415
|
-
return
|
|
416
|
-
i.value && (a =
|
|
417
|
-
}), Q(() =>
|
|
401
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
402
|
+
return J(() => {
|
|
403
|
+
i.value && (a = h(i.value, o()));
|
|
404
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
418
405
|
a?.destroy(), a = null;
|
|
419
|
-
}), t({}), (e, t) => (
|
|
406
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
420
407
|
ref_key: "hostRef",
|
|
421
408
|
ref: i,
|
|
422
409
|
class: "cos-cyberGrid-host"
|
|
423
410
|
}, null, 512));
|
|
424
411
|
}
|
|
425
|
-
}),
|
|
412
|
+
}), ct = /* @__PURE__ */ q({
|
|
426
413
|
__name: "DandelionField",
|
|
427
414
|
props: {
|
|
428
415
|
width: {},
|
|
@@ -438,18 +425,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
438
425
|
ariaLabel: {}
|
|
439
426
|
},
|
|
440
427
|
setup(e, { expose: t, emit: n }) {
|
|
441
|
-
let r = e, a =
|
|
442
|
-
return
|
|
428
|
+
let r = e, a = Z(), o = null, s = () => ({ ...r });
|
|
429
|
+
return J(() => {
|
|
443
430
|
a.value && (o = i(a.value, s()));
|
|
444
|
-
}), Q(() =>
|
|
431
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
445
432
|
o?.destroy(), o = null;
|
|
446
|
-
}), t({}), (e, t) => (
|
|
433
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
447
434
|
ref_key: "hostRef",
|
|
448
435
|
ref: a,
|
|
449
436
|
class: "cos-dandelionField-host"
|
|
450
437
|
}, null, 512));
|
|
451
438
|
}
|
|
452
|
-
}),
|
|
439
|
+
}), lt = /* @__PURE__ */ q({
|
|
453
440
|
__name: "DiceRoll",
|
|
454
441
|
props: {
|
|
455
442
|
onRoll: { type: Function },
|
|
@@ -460,21 +447,21 @@ var Qe = /* @__PURE__ */ G({
|
|
|
460
447
|
},
|
|
461
448
|
emits: ["roll"],
|
|
462
449
|
setup(e, { expose: t, emit: n }) {
|
|
463
|
-
let r = e, i = n, a =
|
|
450
|
+
let r = e, i = n, a = Z(), o = null, c = () => ({
|
|
464
451
|
...r,
|
|
465
452
|
onRoll: (...e) => i("roll", ...e)
|
|
466
453
|
});
|
|
467
|
-
return
|
|
454
|
+
return J(() => {
|
|
468
455
|
a.value && (o = s(a.value, c()));
|
|
469
|
-
}), Q(() =>
|
|
456
|
+
}), Q(() => ({ ...r }), () => o?.update(c()), { deep: !0 }), Y(() => {
|
|
470
457
|
o?.destroy(), o = null;
|
|
471
|
-
}), t({}), (e, t) => (
|
|
458
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
472
459
|
ref_key: "hostRef",
|
|
473
460
|
ref: a,
|
|
474
461
|
class: "cos-diceRoll-host"
|
|
475
462
|
}, null, 512));
|
|
476
463
|
}
|
|
477
|
-
}),
|
|
464
|
+
}), ut = /* @__PURE__ */ q({
|
|
478
465
|
__name: "DnaHelix",
|
|
479
466
|
props: {
|
|
480
467
|
width: {},
|
|
@@ -483,18 +470,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
483
470
|
color: {}
|
|
484
471
|
},
|
|
485
472
|
setup(e, { expose: n, emit: r }) {
|
|
486
|
-
let i = e, a =
|
|
487
|
-
return
|
|
473
|
+
let i = e, a = Z(), o = null, s = () => ({ ...i });
|
|
474
|
+
return J(() => {
|
|
488
475
|
a.value && (o = t(a.value, s()));
|
|
489
|
-
}), Q(() =>
|
|
476
|
+
}), Q(() => ({ ...i }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
490
477
|
o?.destroy(), o = null;
|
|
491
|
-
}), n({}), (e, t) => (
|
|
478
|
+
}), n({}), (e, t) => (X(), K("div", {
|
|
492
479
|
ref_key: "hostRef",
|
|
493
480
|
ref: a,
|
|
494
481
|
class: "cos-dnaHelix-host"
|
|
495
482
|
}, null, 512));
|
|
496
483
|
}
|
|
497
|
-
}),
|
|
484
|
+
}), dt = /* @__PURE__ */ q({
|
|
498
485
|
__name: "DoublePendulum",
|
|
499
486
|
props: {
|
|
500
487
|
width: {},
|
|
@@ -504,18 +491,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
504
491
|
color2: {}
|
|
505
492
|
},
|
|
506
493
|
setup(e, { expose: t, emit: n }) {
|
|
507
|
-
let r = e, i =
|
|
508
|
-
return
|
|
494
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
495
|
+
return J(() => {
|
|
509
496
|
i.value && (a = ee(i.value, o()));
|
|
510
|
-
}), Q(() =>
|
|
497
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
511
498
|
a?.destroy(), a = null;
|
|
512
|
-
}), t({}), (e, t) => (
|
|
499
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
513
500
|
ref_key: "hostRef",
|
|
514
501
|
ref: i,
|
|
515
502
|
class: "cos-doublePendulum-host"
|
|
516
503
|
}, null, 512));
|
|
517
504
|
}
|
|
518
|
-
}),
|
|
505
|
+
}), ft = /* @__PURE__ */ q({
|
|
519
506
|
__name: "ElectricArc",
|
|
520
507
|
props: {
|
|
521
508
|
width: {},
|
|
@@ -523,18 +510,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
523
510
|
color: {}
|
|
524
511
|
},
|
|
525
512
|
setup(e, { expose: t, emit: n }) {
|
|
526
|
-
let r = e, i =
|
|
527
|
-
return
|
|
528
|
-
i.value && (a =
|
|
529
|
-
}), Q(() =>
|
|
513
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
514
|
+
return J(() => {
|
|
515
|
+
i.value && (a = ve(i.value, o()));
|
|
516
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
530
517
|
a?.destroy(), a = null;
|
|
531
|
-
}), t({}), (e, t) => (
|
|
518
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
532
519
|
ref_key: "hostRef",
|
|
533
520
|
ref: i,
|
|
534
521
|
class: "cos-electricArc-host"
|
|
535
522
|
}, null, 512));
|
|
536
523
|
}
|
|
537
|
-
}),
|
|
524
|
+
}), pt = /* @__PURE__ */ q({
|
|
538
525
|
__name: "Fireworks",
|
|
539
526
|
props: {
|
|
540
527
|
width: {},
|
|
@@ -553,91 +540,79 @@ var Qe = /* @__PURE__ */ G({
|
|
|
553
540
|
},
|
|
554
541
|
emits: ["complete"],
|
|
555
542
|
setup(e, { expose: t, emit: n }) {
|
|
556
|
-
let r = e, i = n, a =
|
|
543
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
557
544
|
...r,
|
|
558
545
|
onComplete: (...e) => i("complete", ...e)
|
|
559
546
|
});
|
|
560
|
-
return
|
|
561
|
-
a.value && (o =
|
|
562
|
-
}), Q(() =>
|
|
547
|
+
return J(() => {
|
|
548
|
+
a.value && (o = E(a.value, s()));
|
|
549
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
563
550
|
o?.destroy(), o = null;
|
|
564
|
-
}), t({ launch: (e) => o?.launch(e) }), (e, t) => (
|
|
551
|
+
}), t({ launch: (e) => o?.launch(e) }), (e, t) => (X(), K("div", {
|
|
565
552
|
ref_key: "hostRef",
|
|
566
553
|
ref: a,
|
|
567
554
|
class: "cos-fireworks-host"
|
|
568
555
|
}, null, 512));
|
|
569
556
|
}
|
|
570
|
-
}),
|
|
557
|
+
}), mt = /* @__PURE__ */ q({
|
|
571
558
|
__name: "FlipCard",
|
|
572
559
|
props: {
|
|
573
560
|
frontTitle: {},
|
|
574
561
|
frontSubtitle: {},
|
|
575
562
|
backTitle: {},
|
|
576
563
|
backSubtitle: {},
|
|
577
|
-
flipped: {
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
},
|
|
581
|
-
|
|
582
|
-
type: Boolean,
|
|
583
|
-
default: void 0
|
|
584
|
-
},
|
|
585
|
-
onReveal: {},
|
|
586
|
-
onFlipChange: {},
|
|
587
|
-
disabled: {
|
|
588
|
-
type: Boolean,
|
|
589
|
-
default: void 0
|
|
590
|
-
}
|
|
564
|
+
flipped: { type: Boolean },
|
|
565
|
+
defaultFlipped: { type: Boolean },
|
|
566
|
+
onReveal: { type: Function },
|
|
567
|
+
onFlipChange: { type: Function },
|
|
568
|
+
disabled: { type: Boolean }
|
|
591
569
|
},
|
|
592
570
|
emits: ["reveal", "flip-change"],
|
|
593
571
|
setup(e, { expose: t, emit: n }) {
|
|
594
|
-
let r = e, i = n, a =
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
};
|
|
603
|
-
return r.flipped === void 0 ? e.flipped = void 0 : e.flipped = r.flipped, r.defaultFlipped !== void 0 && (e.defaultFlipped = r.defaultFlipped), r.disabled !== void 0 && (e.disabled = r.disabled), e;
|
|
604
|
-
};
|
|
605
|
-
return K(() => {
|
|
606
|
-
a.value && (o = Ue(a.value, s()));
|
|
607
|
-
}), Q(() => z(r), () => o?.update(s())), q(() => {
|
|
572
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
573
|
+
...r,
|
|
574
|
+
onReveal: (...e) => i("reveal", ...e),
|
|
575
|
+
onFlipChange: (...e) => i("flip-change", ...e)
|
|
576
|
+
});
|
|
577
|
+
return J(() => {
|
|
578
|
+
a.value && (o = Ie(a.value, s()));
|
|
579
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
608
580
|
o?.destroy(), o = null;
|
|
609
581
|
}), t({
|
|
610
582
|
flip: () => o?.flip(),
|
|
611
583
|
reset: () => o?.reset()
|
|
612
|
-
}), (e, t) => (
|
|
584
|
+
}), (e, t) => (X(), K("div", {
|
|
613
585
|
ref_key: "hostRef",
|
|
614
586
|
ref: a,
|
|
615
587
|
class: "cos-flipCard-host"
|
|
616
588
|
}, null, 512));
|
|
617
589
|
}
|
|
618
|
-
}),
|
|
590
|
+
}), ht = /* @__PURE__ */ q({
|
|
619
591
|
__name: "FlipCounter",
|
|
620
592
|
props: {
|
|
621
593
|
value: {},
|
|
622
594
|
digits: {},
|
|
623
595
|
color: {},
|
|
624
596
|
duration: {},
|
|
625
|
-
auto: {
|
|
597
|
+
auto: {
|
|
598
|
+
type: Boolean,
|
|
599
|
+
default: !0
|
|
600
|
+
},
|
|
626
601
|
autoInterval: {}
|
|
627
602
|
},
|
|
628
603
|
setup(e, { expose: t, emit: n }) {
|
|
629
|
-
let r = e, i =
|
|
630
|
-
return
|
|
604
|
+
let r = e, i = Z(), o = null, s = () => ({ ...r });
|
|
605
|
+
return J(() => {
|
|
631
606
|
i.value && (o = a(i.value, s()));
|
|
632
|
-
}), Q(() =>
|
|
607
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
633
608
|
o?.destroy(), o = null;
|
|
634
|
-
}), t({}), (e, t) => (
|
|
609
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
635
610
|
ref_key: "hostRef",
|
|
636
611
|
ref: i,
|
|
637
612
|
class: "cos-flipCounter-host"
|
|
638
613
|
}, null, 512));
|
|
639
614
|
}
|
|
640
|
-
}),
|
|
615
|
+
}), gt = /* @__PURE__ */ q({
|
|
641
616
|
__name: "FuzzyText",
|
|
642
617
|
props: {
|
|
643
618
|
text: {},
|
|
@@ -650,18 +625,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
650
625
|
fuzzRange: {}
|
|
651
626
|
},
|
|
652
627
|
setup(e, { expose: t, emit: n }) {
|
|
653
|
-
let r = e, i =
|
|
654
|
-
return
|
|
655
|
-
i.value && (a =
|
|
656
|
-
}), Q(() =>
|
|
628
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
629
|
+
return J(() => {
|
|
630
|
+
i.value && (a = w(i.value, o()));
|
|
631
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
657
632
|
a?.destroy(), a = null;
|
|
658
|
-
}), t({}), (e, t) => (
|
|
633
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
659
634
|
ref_key: "hostRef",
|
|
660
635
|
ref: i,
|
|
661
636
|
class: "cos-fuzzyText-host"
|
|
662
637
|
}, null, 512));
|
|
663
638
|
}
|
|
664
|
-
}),
|
|
639
|
+
}), _t = /* @__PURE__ */ q({
|
|
665
640
|
__name: "GameOfLife",
|
|
666
641
|
props: {
|
|
667
642
|
width: {},
|
|
@@ -674,18 +649,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
674
649
|
labels: {}
|
|
675
650
|
},
|
|
676
651
|
setup(e, { expose: t, emit: n }) {
|
|
677
|
-
let r = e, i =
|
|
678
|
-
return
|
|
679
|
-
i.value && (a =
|
|
680
|
-
}), Q(() =>
|
|
652
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
653
|
+
return J(() => {
|
|
654
|
+
i.value && (a = B(i.value, o()));
|
|
655
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
681
656
|
a?.destroy(), a = null;
|
|
682
|
-
}), t({}), (e, t) => (
|
|
657
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
683
658
|
ref_key: "hostRef",
|
|
684
659
|
ref: i,
|
|
685
660
|
class: "cos-gameOfLife-host"
|
|
686
661
|
}, null, 512));
|
|
687
662
|
}
|
|
688
|
-
}),
|
|
663
|
+
}), vt = /* @__PURE__ */ q({
|
|
689
664
|
__name: "GlitchText",
|
|
690
665
|
props: {
|
|
691
666
|
text: {},
|
|
@@ -695,18 +670,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
695
670
|
fontSize: {}
|
|
696
671
|
},
|
|
697
672
|
setup(e, { expose: t, emit: n }) {
|
|
698
|
-
let r = e, i =
|
|
699
|
-
return
|
|
700
|
-
i.value && (a =
|
|
701
|
-
}), Q(() =>
|
|
673
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
674
|
+
return J(() => {
|
|
675
|
+
i.value && (a = Be(i.value, o()));
|
|
676
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
702
677
|
a?.destroy(), a = null;
|
|
703
|
-
}), t({}), (e, t) => (
|
|
678
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
704
679
|
ref_key: "hostRef",
|
|
705
680
|
ref: i,
|
|
706
681
|
class: "cos-glitchText-host"
|
|
707
682
|
}, null, 512));
|
|
708
683
|
}
|
|
709
|
-
}),
|
|
684
|
+
}), yt = /* @__PURE__ */ q({
|
|
710
685
|
__name: "GradientFlow",
|
|
711
686
|
props: {
|
|
712
687
|
text: {},
|
|
@@ -714,18 +689,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
714
689
|
fontSize: {}
|
|
715
690
|
},
|
|
716
691
|
setup(e, { expose: t, emit: n }) {
|
|
717
|
-
let r = e, i =
|
|
718
|
-
return
|
|
719
|
-
i.value && (a =
|
|
720
|
-
}), Q(() =>
|
|
692
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
693
|
+
return J(() => {
|
|
694
|
+
i.value && (a = Re(i.value, o()));
|
|
695
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
721
696
|
a?.destroy(), a = null;
|
|
722
|
-
}), t({}), (e, t) => (
|
|
697
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
723
698
|
ref_key: "hostRef",
|
|
724
699
|
ref: i,
|
|
725
700
|
class: "cos-gradientFlow-host"
|
|
726
701
|
}, null, 512));
|
|
727
702
|
}
|
|
728
|
-
}),
|
|
703
|
+
}), bt = /* @__PURE__ */ q({
|
|
729
704
|
__name: "GravityBalls",
|
|
730
705
|
props: {
|
|
731
706
|
width: {},
|
|
@@ -733,18 +708,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
733
708
|
ballCount: {}
|
|
734
709
|
},
|
|
735
710
|
setup(e, { expose: t, emit: n }) {
|
|
736
|
-
let r = e, i =
|
|
737
|
-
return
|
|
738
|
-
i.value && (a =
|
|
739
|
-
}), Q(() =>
|
|
711
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
712
|
+
return J(() => {
|
|
713
|
+
i.value && (a = Pe(i.value, o()));
|
|
714
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
740
715
|
a?.destroy(), a = null;
|
|
741
|
-
}), t({}), (e, t) => (
|
|
716
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
742
717
|
ref_key: "hostRef",
|
|
743
718
|
ref: i,
|
|
744
719
|
class: "cos-gravityBalls-host"
|
|
745
720
|
}, null, 512));
|
|
746
721
|
}
|
|
747
|
-
}),
|
|
722
|
+
}), xt = /* @__PURE__ */ q({
|
|
748
723
|
__name: "HolographicCard",
|
|
749
724
|
props: {
|
|
750
725
|
title: {},
|
|
@@ -752,18 +727,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
752
727
|
image: {}
|
|
753
728
|
},
|
|
754
729
|
setup(e, { expose: t, emit: n }) {
|
|
755
|
-
let r = e, i =
|
|
756
|
-
return
|
|
757
|
-
i.value && (a =
|
|
758
|
-
}), Q(() =>
|
|
730
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
731
|
+
return J(() => {
|
|
732
|
+
i.value && (a = L(i.value, o()));
|
|
733
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
759
734
|
a?.destroy(), a = null;
|
|
760
|
-
}), t({}), (e, t) => (
|
|
735
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
761
736
|
ref_key: "hostRef",
|
|
762
737
|
ref: i,
|
|
763
738
|
class: "cos-holographicCard-host"
|
|
764
739
|
}, null, 512));
|
|
765
740
|
}
|
|
766
|
-
}),
|
|
741
|
+
}), St = /* @__PURE__ */ q({
|
|
767
742
|
__name: "InkBloom",
|
|
768
743
|
props: {
|
|
769
744
|
width: {},
|
|
@@ -778,18 +753,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
778
753
|
ariaLabel: {}
|
|
779
754
|
},
|
|
780
755
|
setup(e, { expose: t, emit: n }) {
|
|
781
|
-
let r = e, i =
|
|
782
|
-
return
|
|
783
|
-
i.value && (a =
|
|
784
|
-
}), Q(() =>
|
|
756
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
757
|
+
return J(() => {
|
|
758
|
+
i.value && (a = C(i.value, o()));
|
|
759
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
785
760
|
a?.destroy(), a = null;
|
|
786
|
-
}), t({}), (e, t) => (
|
|
761
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
787
762
|
ref_key: "hostRef",
|
|
788
763
|
ref: i,
|
|
789
764
|
class: "cos-inkBloom-host"
|
|
790
765
|
}, null, 512));
|
|
791
766
|
}
|
|
792
|
-
}),
|
|
767
|
+
}), Ct = /* @__PURE__ */ q({
|
|
793
768
|
__name: "LavaBubble",
|
|
794
769
|
props: {
|
|
795
770
|
width: {},
|
|
@@ -806,18 +781,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
806
781
|
ariaLabel: {}
|
|
807
782
|
},
|
|
808
783
|
setup(e, { expose: t, emit: n }) {
|
|
809
|
-
let r = e, i =
|
|
810
|
-
return
|
|
811
|
-
i.value && (a =
|
|
812
|
-
}), Q(() =>
|
|
784
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
785
|
+
return J(() => {
|
|
786
|
+
i.value && (a = Ue(i.value, o()));
|
|
787
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
813
788
|
a?.destroy(), a = null;
|
|
814
|
-
}), t({}), (e, t) => (
|
|
789
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
815
790
|
ref_key: "hostRef",
|
|
816
791
|
ref: i,
|
|
817
792
|
class: "cos-lavaBubble-host"
|
|
818
793
|
}, null, 512));
|
|
819
794
|
}
|
|
820
|
-
}),
|
|
795
|
+
}), wt = /* @__PURE__ */ q({
|
|
821
796
|
__name: "LiquidGlass",
|
|
822
797
|
props: {
|
|
823
798
|
blur: {},
|
|
@@ -825,25 +800,19 @@ var Qe = /* @__PURE__ */ G({
|
|
|
825
800
|
slotElement: {},
|
|
826
801
|
defaultContent: {}
|
|
827
802
|
},
|
|
828
|
-
setup(e, { expose: t }) {
|
|
829
|
-
let
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
})
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
}), Q(() => z(n), () => a?.update(o())), q(() => {
|
|
836
|
-
a?.destroy(), a = null, i.value = null;
|
|
837
|
-
}), t({ getSlot: () => a?.getSlot?.() }), (t, n) => (J(), U("div", {
|
|
803
|
+
setup(e, { expose: t, emit: n }) {
|
|
804
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
805
|
+
return J(() => {
|
|
806
|
+
i.value && (a = xe(i.value, o()));
|
|
807
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
808
|
+
a?.destroy(), a = null;
|
|
809
|
+
}), t({ getSlot: () => a?.getSlot() }), (e, t) => (X(), K("div", {
|
|
838
810
|
ref_key: "hostRef",
|
|
839
|
-
ref:
|
|
811
|
+
ref: i,
|
|
840
812
|
class: "cos-liquidGlass-host"
|
|
841
|
-
},
|
|
842
|
-
key: 0,
|
|
843
|
-
to: i.value
|
|
844
|
-
}, [X(t.$slots, "default", {}, () => [W("span", null, Z(e.defaultContent ?? "液态玻璃面板"), 1)])], 8, ["to"])) : H("", !0)], 512));
|
|
813
|
+
}, null, 512));
|
|
845
814
|
}
|
|
846
|
-
}),
|
|
815
|
+
}), Tt = /* @__PURE__ */ q({
|
|
847
816
|
__name: "LiquidProgress",
|
|
848
817
|
props: {
|
|
849
818
|
value: {},
|
|
@@ -852,18 +821,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
852
821
|
color: {}
|
|
853
822
|
},
|
|
854
823
|
setup(e, { expose: t, emit: n }) {
|
|
855
|
-
let r = e, i =
|
|
856
|
-
return
|
|
857
|
-
i.value && (a =
|
|
858
|
-
}), Q(() =>
|
|
824
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
825
|
+
return J(() => {
|
|
826
|
+
i.value && (a = de(i.value, o()));
|
|
827
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
859
828
|
a?.destroy(), a = null;
|
|
860
|
-
}), t({}), (e, t) => (
|
|
829
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
861
830
|
ref_key: "hostRef",
|
|
862
831
|
ref: i,
|
|
863
832
|
class: "cos-liquidProgress-host"
|
|
864
833
|
}, null, 512));
|
|
865
834
|
}
|
|
866
|
-
}),
|
|
835
|
+
}), Et = /* @__PURE__ */ q({
|
|
867
836
|
__name: "LorenzAttractor",
|
|
868
837
|
props: {
|
|
869
838
|
width: {},
|
|
@@ -873,18 +842,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
873
842
|
pointCount: {}
|
|
874
843
|
},
|
|
875
844
|
setup(e, { expose: t, emit: n }) {
|
|
876
|
-
let r = e, i =
|
|
877
|
-
return
|
|
878
|
-
i.value && (a =
|
|
879
|
-
}), Q(() =>
|
|
845
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
846
|
+
return J(() => {
|
|
847
|
+
i.value && (a = pe(i.value, o()));
|
|
848
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
880
849
|
a?.destroy(), a = null;
|
|
881
|
-
}), t({}), (e, t) => (
|
|
850
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
882
851
|
ref_key: "hostRef",
|
|
883
852
|
ref: i,
|
|
884
853
|
class: "cos-lorenzAttractor-host"
|
|
885
854
|
}, null, 512));
|
|
886
855
|
}
|
|
887
|
-
}),
|
|
856
|
+
}), Dt = /* @__PURE__ */ q({
|
|
888
857
|
__name: "MagneticButton",
|
|
889
858
|
props: {
|
|
890
859
|
strength: {},
|
|
@@ -892,25 +861,19 @@ var Qe = /* @__PURE__ */ G({
|
|
|
892
861
|
slotElement: {},
|
|
893
862
|
defaultContent: {}
|
|
894
863
|
},
|
|
895
|
-
setup(e, { expose: t }) {
|
|
896
|
-
let
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
})
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
}), Q(() => z(n), () => a?.update(o())), q(() => {
|
|
903
|
-
a?.destroy(), a = null, i.value = null;
|
|
904
|
-
}), t({ getSlot: () => a?.getSlot?.() }), (t, n) => (J(), U("div", {
|
|
864
|
+
setup(e, { expose: t, emit: n }) {
|
|
865
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
866
|
+
return J(() => {
|
|
867
|
+
i.value && (a = Ee(i.value, o()));
|
|
868
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
869
|
+
a?.destroy(), a = null;
|
|
870
|
+
}), t({ getSlot: () => a?.getSlot() }), (e, t) => (X(), K("div", {
|
|
905
871
|
ref_key: "hostRef",
|
|
906
|
-
ref:
|
|
872
|
+
ref: i,
|
|
907
873
|
class: "cos-magneticButton-host"
|
|
908
|
-
},
|
|
909
|
-
key: 0,
|
|
910
|
-
to: i.value
|
|
911
|
-
}, [X(t.$slots, "default", {}, () => [W("span", null, Z(e.defaultContent ?? "磁吸按钮"), 1)])], 8, ["to"])) : H("", !0)], 512));
|
|
874
|
+
}, null, 512));
|
|
912
875
|
}
|
|
913
|
-
}),
|
|
876
|
+
}), Ot = /* @__PURE__ */ q({
|
|
914
877
|
__name: "MatrixRain",
|
|
915
878
|
props: {
|
|
916
879
|
width: {},
|
|
@@ -923,18 +886,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
923
886
|
subtitle: {}
|
|
924
887
|
},
|
|
925
888
|
setup(e, { expose: t, emit: n }) {
|
|
926
|
-
let r = e, i =
|
|
927
|
-
return
|
|
928
|
-
i.value && (a =
|
|
929
|
-
}), Q(() =>
|
|
889
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
890
|
+
return J(() => {
|
|
891
|
+
i.value && (a = le(i.value, o()));
|
|
892
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
930
893
|
a?.destroy(), a = null;
|
|
931
|
-
}), t({}), (e, t) => (
|
|
894
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
932
895
|
ref_key: "hostRef",
|
|
933
896
|
ref: i,
|
|
934
897
|
class: "cos-matrixRain-host"
|
|
935
898
|
}, null, 512));
|
|
936
899
|
}
|
|
937
|
-
}),
|
|
900
|
+
}), kt = /* @__PURE__ */ q({
|
|
938
901
|
__name: "MazeGenerator",
|
|
939
902
|
props: {
|
|
940
903
|
width: {},
|
|
@@ -944,21 +907,21 @@ var Qe = /* @__PURE__ */ G({
|
|
|
944
907
|
},
|
|
945
908
|
emits: ["generated"],
|
|
946
909
|
setup(e, { expose: t, emit: n }) {
|
|
947
|
-
let r = e, i = n, a =
|
|
910
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
948
911
|
...r,
|
|
949
912
|
onGenerated: (...e) => i("generated", ...e)
|
|
950
913
|
});
|
|
951
|
-
return
|
|
952
|
-
a.value && (o =
|
|
953
|
-
}), Q(() =>
|
|
914
|
+
return J(() => {
|
|
915
|
+
a.value && (o = Ne(a.value, s()));
|
|
916
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
954
917
|
o?.destroy(), o = null;
|
|
955
|
-
}), t({}), (e, t) => (
|
|
918
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
956
919
|
ref_key: "hostRef",
|
|
957
920
|
ref: a,
|
|
958
921
|
class: "cos-mazeGenerator-host"
|
|
959
922
|
}, null, 512));
|
|
960
923
|
}
|
|
961
|
-
}),
|
|
924
|
+
}), At = /* @__PURE__ */ q({
|
|
962
925
|
__name: "MetaballPool",
|
|
963
926
|
props: {
|
|
964
927
|
width: {},
|
|
@@ -967,18 +930,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
967
930
|
color: {}
|
|
968
931
|
},
|
|
969
932
|
setup(e, { expose: t, emit: n }) {
|
|
970
|
-
let r = e, i =
|
|
971
|
-
return
|
|
972
|
-
i.value && (a =
|
|
973
|
-
}), Q(() =>
|
|
933
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
934
|
+
return J(() => {
|
|
935
|
+
i.value && (a = U(i.value, o()));
|
|
936
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
974
937
|
a?.destroy(), a = null;
|
|
975
|
-
}), t({}), (e, t) => (
|
|
938
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
976
939
|
ref_key: "hostRef",
|
|
977
940
|
ref: i,
|
|
978
941
|
class: "cos-metaballPool-host"
|
|
979
942
|
}, null, 512));
|
|
980
943
|
}
|
|
981
|
-
}),
|
|
944
|
+
}), jt = /* @__PURE__ */ q({
|
|
982
945
|
__name: "MeteorRain",
|
|
983
946
|
props: {
|
|
984
947
|
width: {},
|
|
@@ -987,18 +950,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
987
950
|
meteorCount: {}
|
|
988
951
|
},
|
|
989
952
|
setup(e, { expose: t, emit: n }) {
|
|
990
|
-
let r = e, i =
|
|
991
|
-
return
|
|
992
|
-
i.value && (a =
|
|
993
|
-
}), Q(() =>
|
|
953
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
954
|
+
return J(() => {
|
|
955
|
+
i.value && (a = be(i.value, o()));
|
|
956
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
994
957
|
a?.destroy(), a = null;
|
|
995
|
-
}), t({}), (e, t) => (
|
|
958
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
996
959
|
ref_key: "hostRef",
|
|
997
960
|
ref: i,
|
|
998
961
|
class: "cos-meteorRain-host"
|
|
999
962
|
}, null, 512));
|
|
1000
963
|
}
|
|
1001
|
-
}),
|
|
964
|
+
}), Mt = /* @__PURE__ */ q({
|
|
1002
965
|
__name: "NeonText",
|
|
1003
966
|
props: {
|
|
1004
967
|
text: {},
|
|
@@ -1007,18 +970,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1007
970
|
flicker: { type: Boolean }
|
|
1008
971
|
},
|
|
1009
972
|
setup(e, { expose: t, emit: n }) {
|
|
1010
|
-
let r = e, i =
|
|
1011
|
-
return
|
|
1012
|
-
i.value && (a =
|
|
1013
|
-
}), Q(() =>
|
|
973
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
974
|
+
return J(() => {
|
|
975
|
+
i.value && (a = Ae(i.value, o()));
|
|
976
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
1014
977
|
a?.destroy(), a = null;
|
|
1015
|
-
}), t({}), (e, t) => (
|
|
978
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1016
979
|
ref_key: "hostRef",
|
|
1017
980
|
ref: i,
|
|
1018
981
|
class: "cos-neonText-host"
|
|
1019
982
|
}, null, 512));
|
|
1020
983
|
}
|
|
1021
|
-
}),
|
|
984
|
+
}), Nt = /* @__PURE__ */ q({
|
|
1022
985
|
__name: "NetworkGraph",
|
|
1023
986
|
props: {
|
|
1024
987
|
width: {},
|
|
@@ -1030,18 +993,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1030
993
|
hint: {}
|
|
1031
994
|
},
|
|
1032
995
|
setup(e, { expose: t, emit: n }) {
|
|
1033
|
-
let r = e, i =
|
|
1034
|
-
return
|
|
1035
|
-
i.value && (a =
|
|
1036
|
-
}), Q(() =>
|
|
996
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
997
|
+
return J(() => {
|
|
998
|
+
i.value && (a = H(i.value, o()));
|
|
999
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
1037
1000
|
a?.destroy(), a = null;
|
|
1038
|
-
}), t({}), (e, t) => (
|
|
1001
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1039
1002
|
ref_key: "hostRef",
|
|
1040
1003
|
ref: i,
|
|
1041
1004
|
class: "cos-networkGraph-host"
|
|
1042
1005
|
}, null, 512));
|
|
1043
1006
|
}
|
|
1044
|
-
}),
|
|
1007
|
+
}), Pt = /* @__PURE__ */ q({
|
|
1045
1008
|
__name: "NewtonCradle",
|
|
1046
1009
|
props: {
|
|
1047
1010
|
ballCount: {},
|
|
@@ -1050,18 +1013,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1050
1013
|
height: {}
|
|
1051
1014
|
},
|
|
1052
1015
|
setup(e, { expose: t, emit: n }) {
|
|
1053
|
-
let r = e, i =
|
|
1054
|
-
return
|
|
1055
|
-
i.value && (a =
|
|
1056
|
-
}), Q(() =>
|
|
1016
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
1017
|
+
return J(() => {
|
|
1018
|
+
i.value && (a = Te(i.value, o()));
|
|
1019
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
1057
1020
|
a?.destroy(), a = null;
|
|
1058
|
-
}), t({}), (e, t) => (
|
|
1021
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1059
1022
|
ref_key: "hostRef",
|
|
1060
1023
|
ref: i,
|
|
1061
1024
|
class: "cos-newtonCradle-host"
|
|
1062
1025
|
}, null, 512));
|
|
1063
1026
|
}
|
|
1064
|
-
}),
|
|
1027
|
+
}), Ft = /* @__PURE__ */ q({
|
|
1065
1028
|
__name: "NineGrid",
|
|
1066
1029
|
props: {
|
|
1067
1030
|
items: {},
|
|
@@ -1073,42 +1036,42 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1073
1036
|
},
|
|
1074
1037
|
emits: ["draw-end"],
|
|
1075
1038
|
setup(e, { expose: t, emit: n }) {
|
|
1076
|
-
let r = e, i = n, a =
|
|
1039
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1077
1040
|
...r,
|
|
1078
1041
|
onDrawEnd: (...e) => i("draw-end", ...e)
|
|
1079
1042
|
});
|
|
1080
|
-
return
|
|
1081
|
-
a.value && (o =
|
|
1082
|
-
}), Q(() =>
|
|
1043
|
+
return J(() => {
|
|
1044
|
+
a.value && (o = z(a.value, s()));
|
|
1045
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1083
1046
|
o?.destroy(), o = null;
|
|
1084
1047
|
}), t({
|
|
1085
1048
|
draw: (e) => o?.draw(e),
|
|
1086
1049
|
reset: () => o?.reset()
|
|
1087
|
-
}), (e, t) => (
|
|
1050
|
+
}), (e, t) => (X(), K("div", {
|
|
1088
1051
|
ref_key: "hostRef",
|
|
1089
1052
|
ref: a,
|
|
1090
1053
|
class: "cos-nineGrid-host"
|
|
1091
1054
|
}, null, 512));
|
|
1092
1055
|
}
|
|
1093
|
-
}),
|
|
1056
|
+
}), It = /* @__PURE__ */ q({
|
|
1094
1057
|
__name: "OrbitalChart",
|
|
1095
1058
|
props: {
|
|
1096
1059
|
data: {},
|
|
1097
1060
|
size: {}
|
|
1098
1061
|
},
|
|
1099
1062
|
setup(e, { expose: t, emit: n }) {
|
|
1100
|
-
let r = e, i =
|
|
1101
|
-
return
|
|
1102
|
-
i.value && (a =
|
|
1103
|
-
}), Q(() =>
|
|
1063
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
1064
|
+
return J(() => {
|
|
1065
|
+
i.value && (a = he(i.value, o()));
|
|
1066
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
1104
1067
|
a?.destroy(), a = null;
|
|
1105
|
-
}), t({}), (e, t) => (
|
|
1068
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1106
1069
|
ref_key: "hostRef",
|
|
1107
1070
|
ref: i,
|
|
1108
1071
|
class: "cos-orbitalChart-host"
|
|
1109
1072
|
}, null, 512));
|
|
1110
1073
|
}
|
|
1111
|
-
}),
|
|
1074
|
+
}), Lt = /* @__PURE__ */ q({
|
|
1112
1075
|
__name: "ParticleNetwork",
|
|
1113
1076
|
props: {
|
|
1114
1077
|
width: {},
|
|
@@ -1121,18 +1084,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1121
1084
|
hint: {}
|
|
1122
1085
|
},
|
|
1123
1086
|
setup(e, { expose: t, emit: n }) {
|
|
1124
|
-
let r = e, i =
|
|
1125
|
-
return
|
|
1126
|
-
i.value && (a =
|
|
1127
|
-
}), Q(() =>
|
|
1087
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
1088
|
+
return J(() => {
|
|
1089
|
+
i.value && (a = ke(i.value, o()));
|
|
1090
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
1128
1091
|
a?.destroy(), a = null;
|
|
1129
|
-
}), t({}), (e, t) => (
|
|
1092
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1130
1093
|
ref_key: "hostRef",
|
|
1131
1094
|
ref: i,
|
|
1132
1095
|
class: "cos-particleNetwork-host"
|
|
1133
1096
|
}, null, 512));
|
|
1134
1097
|
}
|
|
1135
|
-
}),
|
|
1098
|
+
}), Rt = /* @__PURE__ */ q({
|
|
1136
1099
|
__name: "PhotoAlbum",
|
|
1137
1100
|
props: {
|
|
1138
1101
|
photos: {},
|
|
@@ -1156,22 +1119,22 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1156
1119
|
},
|
|
1157
1120
|
emits: ["page-change", "index-change"],
|
|
1158
1121
|
setup(e, { expose: t, emit: n }) {
|
|
1159
|
-
let r = e, i = n, a =
|
|
1122
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1160
1123
|
...r,
|
|
1161
1124
|
onPageChange: (...e) => i("page-change", ...e),
|
|
1162
1125
|
onIndexChange: (...e) => i("index-change", ...e)
|
|
1163
1126
|
});
|
|
1164
|
-
return
|
|
1165
|
-
a.value && (o =
|
|
1166
|
-
}), Q(() =>
|
|
1127
|
+
return J(() => {
|
|
1128
|
+
a.value && (o = we(a.value, s()));
|
|
1129
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1167
1130
|
o?.destroy(), o = null;
|
|
1168
|
-
}), t({}), (e, t) => (
|
|
1131
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1169
1132
|
ref_key: "hostRef",
|
|
1170
1133
|
ref: a,
|
|
1171
1134
|
class: "cos-photoAlbum-host"
|
|
1172
1135
|
}, null, 512));
|
|
1173
1136
|
}
|
|
1174
|
-
}),
|
|
1137
|
+
}), zt = /* @__PURE__ */ q({
|
|
1175
1138
|
__name: "PhotoCarousel",
|
|
1176
1139
|
props: {
|
|
1177
1140
|
photos: {},
|
|
@@ -1187,7 +1150,10 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1187
1150
|
autoRotateSpeed: {},
|
|
1188
1151
|
dragSensitivity: {},
|
|
1189
1152
|
friction: {},
|
|
1190
|
-
showCaption: {
|
|
1153
|
+
showCaption: {
|
|
1154
|
+
type: Boolean,
|
|
1155
|
+
default: !0
|
|
1156
|
+
},
|
|
1191
1157
|
initialAngle: {},
|
|
1192
1158
|
onPhotoClick: {},
|
|
1193
1159
|
onFaceChange: {},
|
|
@@ -1202,23 +1168,23 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1202
1168
|
"index-change"
|
|
1203
1169
|
],
|
|
1204
1170
|
setup(e, { expose: t, emit: n }) {
|
|
1205
|
-
let r = e, i = n, a =
|
|
1171
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1206
1172
|
...r,
|
|
1207
1173
|
onPhotoClick: (...e) => i("photo-click", ...e),
|
|
1208
1174
|
onFaceChange: (...e) => i("face-change", ...e),
|
|
1209
1175
|
onIndexChange: (...e) => i("index-change", ...e)
|
|
1210
1176
|
});
|
|
1211
|
-
return
|
|
1212
|
-
a.value && (o =
|
|
1213
|
-
}), Q(() =>
|
|
1177
|
+
return J(() => {
|
|
1178
|
+
a.value && (o = Me(a.value, s()));
|
|
1179
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1214
1180
|
o?.destroy(), o = null;
|
|
1215
|
-
}), t({}), (e, t) => (
|
|
1181
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1216
1182
|
ref_key: "hostRef",
|
|
1217
1183
|
ref: a,
|
|
1218
1184
|
class: "cos-photoCarousel-host"
|
|
1219
1185
|
}, null, 512));
|
|
1220
1186
|
}
|
|
1221
|
-
}),
|
|
1187
|
+
}), Bt = /* @__PURE__ */ q({
|
|
1222
1188
|
__name: "PhotoClothesline",
|
|
1223
1189
|
props: {
|
|
1224
1190
|
photos: {},
|
|
@@ -1255,22 +1221,22 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1255
1221
|
},
|
|
1256
1222
|
emits: ["index-change", "photo-click"],
|
|
1257
1223
|
setup(e, { expose: t, emit: n }) {
|
|
1258
|
-
let r = e, i = n, a =
|
|
1224
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1259
1225
|
...r,
|
|
1260
1226
|
onIndexChange: (...e) => i("index-change", ...e),
|
|
1261
1227
|
onPhotoClick: (...e) => i("photo-click", ...e)
|
|
1262
1228
|
});
|
|
1263
|
-
return
|
|
1264
|
-
a.value && (o =
|
|
1265
|
-
}), Q(() =>
|
|
1229
|
+
return J(() => {
|
|
1230
|
+
a.value && (o = G(a.value, s()));
|
|
1231
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1266
1232
|
o?.destroy(), o = null;
|
|
1267
|
-
}), t({}), (e, t) => (
|
|
1233
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1268
1234
|
ref_key: "hostRef",
|
|
1269
1235
|
ref: a,
|
|
1270
1236
|
class: "cos-photoClothesline-host"
|
|
1271
1237
|
}, null, 512));
|
|
1272
1238
|
}
|
|
1273
|
-
}),
|
|
1239
|
+
}), Vt = /* @__PURE__ */ q({
|
|
1274
1240
|
__name: "PhotoFilmstrip",
|
|
1275
1241
|
props: {
|
|
1276
1242
|
photos: {},
|
|
@@ -1294,22 +1260,22 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1294
1260
|
},
|
|
1295
1261
|
emits: ["photo-click", "index-change"],
|
|
1296
1262
|
setup(t, { expose: n, emit: r }) {
|
|
1297
|
-
let i = t, a = r, o =
|
|
1263
|
+
let i = t, a = r, o = Z(), s = null, c = () => ({
|
|
1298
1264
|
...i,
|
|
1299
1265
|
onPhotoClick: (...e) => a("photo-click", ...e),
|
|
1300
1266
|
onIndexChange: (...e) => a("index-change", ...e)
|
|
1301
1267
|
});
|
|
1302
|
-
return
|
|
1268
|
+
return J(() => {
|
|
1303
1269
|
o.value && (s = e(o.value, c()));
|
|
1304
|
-
}), Q(() =>
|
|
1270
|
+
}), Q(() => ({ ...i }), () => s?.update(c()), { deep: !0 }), Y(() => {
|
|
1305
1271
|
s?.destroy(), s = null;
|
|
1306
|
-
}), n({}), (e, t) => (
|
|
1272
|
+
}), n({}), (e, t) => (X(), K("div", {
|
|
1307
1273
|
ref_key: "hostRef",
|
|
1308
1274
|
ref: o,
|
|
1309
1275
|
class: "cos-photoFilmstrip-host"
|
|
1310
1276
|
}, null, 512));
|
|
1311
1277
|
}
|
|
1312
|
-
}),
|
|
1278
|
+
}), Ht = /* @__PURE__ */ q({
|
|
1313
1279
|
__name: "PhotoFridge",
|
|
1314
1280
|
props: {
|
|
1315
1281
|
photos: {},
|
|
@@ -1331,21 +1297,21 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1331
1297
|
},
|
|
1332
1298
|
emits: ["photo-click"],
|
|
1333
1299
|
setup(e, { expose: t, emit: n }) {
|
|
1334
|
-
let r = e, i = n, a =
|
|
1300
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1335
1301
|
...r,
|
|
1336
1302
|
onPhotoClick: (...e) => i("photo-click", ...e)
|
|
1337
1303
|
});
|
|
1338
|
-
return
|
|
1339
|
-
a.value && (o =
|
|
1340
|
-
}), Q(() =>
|
|
1304
|
+
return J(() => {
|
|
1305
|
+
a.value && (o = x(a.value, s()));
|
|
1306
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1341
1307
|
o?.destroy(), o = null;
|
|
1342
|
-
}), t({}), (e, t) => (
|
|
1308
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1343
1309
|
ref_key: "hostRef",
|
|
1344
1310
|
ref: a,
|
|
1345
1311
|
class: "cos-photoFridge-host"
|
|
1346
1312
|
}, null, 512));
|
|
1347
1313
|
}
|
|
1348
|
-
}),
|
|
1314
|
+
}), Ut = /* @__PURE__ */ q({
|
|
1349
1315
|
__name: "PhotoLantern",
|
|
1350
1316
|
props: {
|
|
1351
1317
|
photos: {},
|
|
@@ -1370,7 +1336,10 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1370
1336
|
tasselColor: {},
|
|
1371
1337
|
objectFit: {},
|
|
1372
1338
|
silhouette: { type: Boolean },
|
|
1373
|
-
showCaption: {
|
|
1339
|
+
showCaption: {
|
|
1340
|
+
type: Boolean,
|
|
1341
|
+
default: !0
|
|
1342
|
+
},
|
|
1374
1343
|
initialAngle: {},
|
|
1375
1344
|
onFaceChange: {},
|
|
1376
1345
|
onIndexChange: {},
|
|
@@ -1385,23 +1354,23 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1385
1354
|
"photo-click"
|
|
1386
1355
|
],
|
|
1387
1356
|
setup(e, { expose: t, emit: n }) {
|
|
1388
|
-
let r = e, i = n, a =
|
|
1357
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1389
1358
|
...r,
|
|
1390
1359
|
onFaceChange: (...e) => i("face-change", ...e),
|
|
1391
1360
|
onIndexChange: (...e) => i("index-change", ...e),
|
|
1392
1361
|
onPhotoClick: (...e) => i("photo-click", ...e)
|
|
1393
1362
|
});
|
|
1394
|
-
return
|
|
1395
|
-
a.value && (o =
|
|
1396
|
-
}), Q(() =>
|
|
1363
|
+
return J(() => {
|
|
1364
|
+
a.value && (o = I(a.value, s()));
|
|
1365
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1397
1366
|
o?.destroy(), o = null;
|
|
1398
|
-
}), t({}), (e, t) => (
|
|
1367
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1399
1368
|
ref_key: "hostRef",
|
|
1400
1369
|
ref: a,
|
|
1401
1370
|
class: "cos-photoLantern-host"
|
|
1402
1371
|
}, null, 512));
|
|
1403
1372
|
}
|
|
1404
|
-
}),
|
|
1373
|
+
}), Wt = /* @__PURE__ */ q({
|
|
1405
1374
|
__name: "PhotoLightbox",
|
|
1406
1375
|
props: {
|
|
1407
1376
|
photos: {},
|
|
@@ -1423,22 +1392,22 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1423
1392
|
},
|
|
1424
1393
|
emits: ["photo-click", "index-change"],
|
|
1425
1394
|
setup(e, { expose: t, emit: n }) {
|
|
1426
|
-
let r = e, i = n, a =
|
|
1395
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1427
1396
|
...r,
|
|
1428
1397
|
onPhotoClick: (...e) => i("photo-click", ...e),
|
|
1429
1398
|
onIndexChange: (...e) => i("index-change", ...e)
|
|
1430
1399
|
});
|
|
1431
|
-
return
|
|
1432
|
-
a.value && (o =
|
|
1433
|
-
}), Q(() =>
|
|
1400
|
+
return J(() => {
|
|
1401
|
+
a.value && (o = P(a.value, s()));
|
|
1402
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1434
1403
|
o?.destroy(), o = null;
|
|
1435
|
-
}), t({}), (e, t) => (
|
|
1404
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1436
1405
|
ref_key: "hostRef",
|
|
1437
1406
|
ref: a,
|
|
1438
1407
|
class: "cos-photoLightbox-host"
|
|
1439
1408
|
}, null, 512));
|
|
1440
1409
|
}
|
|
1441
|
-
}),
|
|
1410
|
+
}), Gt = /* @__PURE__ */ q({
|
|
1442
1411
|
__name: "PhotoPolaroid",
|
|
1443
1412
|
props: {
|
|
1444
1413
|
photos: {},
|
|
@@ -1459,21 +1428,21 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1459
1428
|
},
|
|
1460
1429
|
emits: ["photo-click"],
|
|
1461
1430
|
setup(e, { expose: t, emit: n }) {
|
|
1462
|
-
let r = e, i = n, a =
|
|
1431
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1463
1432
|
...r,
|
|
1464
1433
|
onPhotoClick: (...e) => i("photo-click", ...e)
|
|
1465
1434
|
});
|
|
1466
|
-
return
|
|
1467
|
-
a.value && (o =
|
|
1468
|
-
}), Q(() =>
|
|
1435
|
+
return J(() => {
|
|
1436
|
+
a.value && (o = F(a.value, s()));
|
|
1437
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1469
1438
|
o?.destroy(), o = null;
|
|
1470
|
-
}), t({}), (e, t) => (
|
|
1439
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1471
1440
|
ref_key: "hostRef",
|
|
1472
1441
|
ref: a,
|
|
1473
1442
|
class: "cos-photoPolaroid-host"
|
|
1474
1443
|
}, null, 512));
|
|
1475
1444
|
}
|
|
1476
|
-
}),
|
|
1445
|
+
}), Kt = /* @__PURE__ */ q({
|
|
1477
1446
|
__name: "PhotoPostcard",
|
|
1478
1447
|
props: {
|
|
1479
1448
|
photos: {},
|
|
@@ -1501,23 +1470,23 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1501
1470
|
"flip-change"
|
|
1502
1471
|
],
|
|
1503
1472
|
setup(e, { expose: t, emit: n }) {
|
|
1504
|
-
let r = e, i = n, a =
|
|
1473
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1505
1474
|
...r,
|
|
1506
1475
|
onPhotoClick: (...e) => i("photo-click", ...e),
|
|
1507
1476
|
onIndexChange: (...e) => i("index-change", ...e),
|
|
1508
1477
|
onFlipChange: (...e) => i("flip-change", ...e)
|
|
1509
1478
|
});
|
|
1510
|
-
return
|
|
1511
|
-
a.value && (o =
|
|
1512
|
-
}), Q(() =>
|
|
1479
|
+
return J(() => {
|
|
1480
|
+
a.value && (o = We(a.value, s()));
|
|
1481
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1513
1482
|
o?.destroy(), o = null;
|
|
1514
|
-
}), t({}), (e, t) => (
|
|
1483
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1515
1484
|
ref_key: "hostRef",
|
|
1516
1485
|
ref: a,
|
|
1517
1486
|
class: "cos-photoPostcard-host"
|
|
1518
1487
|
}, null, 512));
|
|
1519
1488
|
}
|
|
1520
|
-
}),
|
|
1489
|
+
}), qt = /* @__PURE__ */ q({
|
|
1521
1490
|
__name: "PhotoPrism",
|
|
1522
1491
|
props: {
|
|
1523
1492
|
photos: {},
|
|
@@ -1541,21 +1510,21 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1541
1510
|
},
|
|
1542
1511
|
emits: ["photo-click"],
|
|
1543
1512
|
setup(e, { expose: t, emit: n }) {
|
|
1544
|
-
let r = e, i = n, a =
|
|
1513
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1545
1514
|
...r,
|
|
1546
1515
|
onPhotoClick: (...e) => i("photo-click", ...e)
|
|
1547
1516
|
});
|
|
1548
|
-
return
|
|
1549
|
-
a.value && (o =
|
|
1550
|
-
}), Q(() =>
|
|
1517
|
+
return J(() => {
|
|
1518
|
+
a.value && (o = l(a.value, s()));
|
|
1519
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1551
1520
|
o?.destroy(), o = null;
|
|
1552
|
-
}), t({}), (e, t) => (
|
|
1521
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1553
1522
|
ref_key: "hostRef",
|
|
1554
1523
|
ref: a,
|
|
1555
1524
|
class: "cos-photoPrism-host"
|
|
1556
1525
|
}, null, 512));
|
|
1557
1526
|
}
|
|
1558
|
-
}),
|
|
1527
|
+
}), Jt = /* @__PURE__ */ q({
|
|
1559
1528
|
__name: "PhotoScroll",
|
|
1560
1529
|
props: {
|
|
1561
1530
|
photos: {},
|
|
@@ -1579,22 +1548,22 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1579
1548
|
},
|
|
1580
1549
|
emits: ["photo-click", "index-change"],
|
|
1581
1550
|
setup(e, { expose: t, emit: n }) {
|
|
1582
|
-
let r = e, i = n, a =
|
|
1551
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1583
1552
|
...r,
|
|
1584
1553
|
onPhotoClick: (...e) => i("photo-click", ...e),
|
|
1585
1554
|
onIndexChange: (...e) => i("index-change", ...e)
|
|
1586
1555
|
});
|
|
1587
|
-
return
|
|
1588
|
-
a.value && (o =
|
|
1589
|
-
}), Q(() =>
|
|
1556
|
+
return J(() => {
|
|
1557
|
+
a.value && (o = Oe(a.value, s()));
|
|
1558
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1590
1559
|
o?.destroy(), o = null;
|
|
1591
|
-
}), t({}), (e, t) => (
|
|
1560
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1592
1561
|
ref_key: "hostRef",
|
|
1593
1562
|
ref: a,
|
|
1594
1563
|
class: "cos-photoScroll-host"
|
|
1595
1564
|
}, null, 512));
|
|
1596
1565
|
}
|
|
1597
|
-
}),
|
|
1566
|
+
}), Yt = /* @__PURE__ */ q({
|
|
1598
1567
|
__name: "PhotoTunnel",
|
|
1599
1568
|
props: {
|
|
1600
1569
|
photos: {},
|
|
@@ -1618,22 +1587,22 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1618
1587
|
},
|
|
1619
1588
|
emits: ["photo-click", "index-change"],
|
|
1620
1589
|
setup(e, { expose: t, emit: n }) {
|
|
1621
|
-
let r = e, i = n, a =
|
|
1590
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1622
1591
|
...r,
|
|
1623
1592
|
onPhotoClick: (...e) => i("photo-click", ...e),
|
|
1624
1593
|
onIndexChange: (...e) => i("index-change", ...e)
|
|
1625
1594
|
});
|
|
1626
|
-
return
|
|
1627
|
-
a.value && (o =
|
|
1628
|
-
}), Q(() =>
|
|
1595
|
+
return J(() => {
|
|
1596
|
+
a.value && (o = u(a.value, s()));
|
|
1597
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1629
1598
|
o?.destroy(), o = null;
|
|
1630
|
-
}), t({}), (e, t) => (
|
|
1599
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1631
1600
|
ref_key: "hostRef",
|
|
1632
1601
|
ref: a,
|
|
1633
1602
|
class: "cos-photoTunnel-host"
|
|
1634
1603
|
}, null, 512));
|
|
1635
1604
|
}
|
|
1636
|
-
}),
|
|
1605
|
+
}), Xt = /* @__PURE__ */ q({
|
|
1637
1606
|
__name: "PhotoViewMaster",
|
|
1638
1607
|
props: {
|
|
1639
1608
|
photos: {},
|
|
@@ -1661,22 +1630,22 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1661
1630
|
},
|
|
1662
1631
|
emits: ["photo-click", "index-change"],
|
|
1663
1632
|
setup(e, { expose: t, emit: n }) {
|
|
1664
|
-
let r = e, i = n, a =
|
|
1633
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1665
1634
|
...r,
|
|
1666
1635
|
onPhotoClick: (...e) => i("photo-click", ...e),
|
|
1667
1636
|
onIndexChange: (...e) => i("index-change", ...e)
|
|
1668
1637
|
});
|
|
1669
|
-
return
|
|
1638
|
+
return J(() => {
|
|
1670
1639
|
a.value && (o = ie(a.value, s()));
|
|
1671
|
-
}), Q(() =>
|
|
1640
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1672
1641
|
o?.destroy(), o = null;
|
|
1673
|
-
}), t({}), (e, t) => (
|
|
1642
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1674
1643
|
ref_key: "hostRef",
|
|
1675
1644
|
ref: a,
|
|
1676
1645
|
class: "cos-photoViewMaster-host"
|
|
1677
1646
|
}, null, 512));
|
|
1678
1647
|
}
|
|
1679
|
-
}),
|
|
1648
|
+
}), Zt = /* @__PURE__ */ q({
|
|
1680
1649
|
__name: "PlasmaBall",
|
|
1681
1650
|
props: {
|
|
1682
1651
|
width: {},
|
|
@@ -1685,43 +1654,46 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1685
1654
|
arcCount: {}
|
|
1686
1655
|
},
|
|
1687
1656
|
setup(e, { expose: t, emit: n }) {
|
|
1688
|
-
let r = e, i =
|
|
1689
|
-
return
|
|
1690
|
-
i.value && (a =
|
|
1691
|
-
}), Q(() =>
|
|
1657
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
1658
|
+
return J(() => {
|
|
1659
|
+
i.value && (a = N(i.value, o()));
|
|
1660
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
1692
1661
|
a?.destroy(), a = null;
|
|
1693
|
-
}), t({}), (e, t) => (
|
|
1662
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1694
1663
|
ref_key: "hostRef",
|
|
1695
1664
|
ref: i,
|
|
1696
1665
|
class: "cos-plasmaBall-host"
|
|
1697
1666
|
}, null, 512));
|
|
1698
1667
|
}
|
|
1699
|
-
}),
|
|
1668
|
+
}), Qt = /* @__PURE__ */ q({
|
|
1700
1669
|
__name: "ProgressChest",
|
|
1701
1670
|
props: {
|
|
1702
1671
|
progress: {},
|
|
1703
|
-
auto: {
|
|
1704
|
-
|
|
1672
|
+
auto: {
|
|
1673
|
+
type: Boolean,
|
|
1674
|
+
default: !0
|
|
1675
|
+
},
|
|
1676
|
+
onOpen: {},
|
|
1705
1677
|
label: {},
|
|
1706
1678
|
openedLabel: {}
|
|
1707
1679
|
},
|
|
1708
1680
|
emits: ["open"],
|
|
1709
1681
|
setup(e, { expose: t, emit: n }) {
|
|
1710
|
-
let r = e, i = n, a =
|
|
1682
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1711
1683
|
...r,
|
|
1712
1684
|
onOpen: (...e) => i("open", ...e)
|
|
1713
1685
|
});
|
|
1714
|
-
return
|
|
1715
|
-
a.value && (o =
|
|
1716
|
-
}), Q(() =>
|
|
1686
|
+
return J(() => {
|
|
1687
|
+
a.value && (o = g(a.value, s()));
|
|
1688
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1717
1689
|
o?.destroy(), o = null;
|
|
1718
|
-
}), t({}), (e, t) => (
|
|
1690
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1719
1691
|
ref_key: "hostRef",
|
|
1720
1692
|
ref: a,
|
|
1721
1693
|
class: "cos-progressChest-host"
|
|
1722
1694
|
}, null, 512));
|
|
1723
1695
|
}
|
|
1724
|
-
}),
|
|
1696
|
+
}), $t = /* @__PURE__ */ q({
|
|
1725
1697
|
__name: "RadarScan",
|
|
1726
1698
|
props: {
|
|
1727
1699
|
size: {},
|
|
@@ -1729,18 +1701,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1729
1701
|
blipCount: {}
|
|
1730
1702
|
},
|
|
1731
1703
|
setup(e, { expose: t, emit: n }) {
|
|
1732
|
-
let r = e, i =
|
|
1733
|
-
return
|
|
1734
|
-
i.value && (a =
|
|
1735
|
-
}), Q(() =>
|
|
1704
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
1705
|
+
return J(() => {
|
|
1706
|
+
i.value && (a = m(i.value, o()));
|
|
1707
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
1736
1708
|
a?.destroy(), a = null;
|
|
1737
|
-
}), t({}), (e, t) => (
|
|
1709
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1738
1710
|
ref_key: "hostRef",
|
|
1739
1711
|
ref: i,
|
|
1740
1712
|
class: "cos-radarScan-host"
|
|
1741
1713
|
}, null, 512));
|
|
1742
1714
|
}
|
|
1743
|
-
}),
|
|
1715
|
+
}), en = /* @__PURE__ */ q({
|
|
1744
1716
|
__name: "RedPacketRain",
|
|
1745
1717
|
props: {
|
|
1746
1718
|
width: {},
|
|
@@ -1759,26 +1731,26 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1759
1731
|
},
|
|
1760
1732
|
emits: ["grab", "end"],
|
|
1761
1733
|
setup(e, { expose: t, emit: n }) {
|
|
1762
|
-
let r = e, i = n, a =
|
|
1734
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1763
1735
|
...r,
|
|
1764
1736
|
onGrab: (...e) => i("grab", ...e),
|
|
1765
1737
|
onEnd: (...e) => i("end", ...e)
|
|
1766
1738
|
});
|
|
1767
|
-
return
|
|
1768
|
-
a.value && (o =
|
|
1769
|
-
}), Q(() =>
|
|
1739
|
+
return J(() => {
|
|
1740
|
+
a.value && (o = _e(a.value, s()));
|
|
1741
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1770
1742
|
o?.destroy(), o = null;
|
|
1771
1743
|
}), t({
|
|
1772
1744
|
start: () => o?.start(),
|
|
1773
1745
|
stop: () => o?.stop(),
|
|
1774
1746
|
reset: () => o?.reset()
|
|
1775
|
-
}), (e, t) => (
|
|
1747
|
+
}), (e, t) => (X(), K("div", {
|
|
1776
1748
|
ref_key: "hostRef",
|
|
1777
1749
|
ref: a,
|
|
1778
1750
|
class: "cos-redPacketRain-host"
|
|
1779
1751
|
}, null, 512));
|
|
1780
1752
|
}
|
|
1781
|
-
}),
|
|
1753
|
+
}), tn = /* @__PURE__ */ q({
|
|
1782
1754
|
__name: "ReturnCity",
|
|
1783
1755
|
props: {
|
|
1784
1756
|
starCount: {},
|
|
@@ -1786,18 +1758,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1786
1758
|
glassRadius: {}
|
|
1787
1759
|
},
|
|
1788
1760
|
setup(e, { expose: t, emit: r }) {
|
|
1789
|
-
let i = e, a =
|
|
1790
|
-
return
|
|
1761
|
+
let i = e, a = Z(), o = null, s = () => ({ ...i });
|
|
1762
|
+
return J(() => {
|
|
1791
1763
|
a.value && (o = n(a.value, s()));
|
|
1792
|
-
}), Q(() =>
|
|
1764
|
+
}), Q(() => ({ ...i }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1793
1765
|
o?.destroy(), o = null;
|
|
1794
|
-
}), t({}), (e, t) => (
|
|
1766
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1795
1767
|
ref_key: "hostRef",
|
|
1796
1768
|
ref: a,
|
|
1797
1769
|
class: "cos-returnCity-host"
|
|
1798
1770
|
}, null, 512));
|
|
1799
1771
|
}
|
|
1800
|
-
}),
|
|
1772
|
+
}), nn = /* @__PURE__ */ q({
|
|
1801
1773
|
__name: "RippleWater",
|
|
1802
1774
|
props: {
|
|
1803
1775
|
width: {},
|
|
@@ -1825,23 +1797,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1825
1797
|
hint: {}
|
|
1826
1798
|
},
|
|
1827
1799
|
setup(e, { expose: t, emit: n }) {
|
|
1828
|
-
let r = e, i =
|
|
1829
|
-
return
|
|
1830
|
-
i.value && (a =
|
|
1831
|
-
}), Q(() =>
|
|
1800
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
1801
|
+
return J(() => {
|
|
1802
|
+
i.value && (a = Le(i.value, o()));
|
|
1803
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
1832
1804
|
a?.destroy(), a = null;
|
|
1833
|
-
}), t({}), (e, t) => (
|
|
1805
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1834
1806
|
ref_key: "hostRef",
|
|
1835
1807
|
ref: i,
|
|
1836
|
-
class: "cos-rippleWater-host"
|
|
1837
|
-
style: {
|
|
1838
|
-
display: "block",
|
|
1839
|
-
width: "100%",
|
|
1840
|
-
height: "100%"
|
|
1841
|
-
}
|
|
1808
|
+
class: "cos-rippleWater-host"
|
|
1842
1809
|
}, null, 512));
|
|
1843
1810
|
}
|
|
1844
|
-
}),
|
|
1811
|
+
}), rn = /* @__PURE__ */ q({
|
|
1845
1812
|
__name: "RopeChain",
|
|
1846
1813
|
props: {
|
|
1847
1814
|
width: {},
|
|
@@ -1851,18 +1818,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1851
1818
|
gravity: {}
|
|
1852
1819
|
},
|
|
1853
1820
|
setup(e, { expose: t, emit: n }) {
|
|
1854
|
-
let r = e, i =
|
|
1855
|
-
return
|
|
1856
|
-
i.value && (a =
|
|
1857
|
-
}), Q(() =>
|
|
1821
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
1822
|
+
return J(() => {
|
|
1823
|
+
i.value && (a = ye(i.value, o()));
|
|
1824
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
1858
1825
|
a?.destroy(), a = null;
|
|
1859
|
-
}), t({}), (e, t) => (
|
|
1826
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1860
1827
|
ref_key: "hostRef",
|
|
1861
1828
|
ref: i,
|
|
1862
1829
|
class: "cos-ropeChain-host"
|
|
1863
1830
|
}, null, 512));
|
|
1864
1831
|
}
|
|
1865
|
-
}),
|
|
1832
|
+
}), an = /* @__PURE__ */ q({
|
|
1866
1833
|
__name: "RotatingText",
|
|
1867
1834
|
props: {
|
|
1868
1835
|
texts: {},
|
|
@@ -1874,18 +1841,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1874
1841
|
highlightColor: {}
|
|
1875
1842
|
},
|
|
1876
1843
|
setup(e, { expose: t, emit: n }) {
|
|
1877
|
-
let r = e, i =
|
|
1878
|
-
return
|
|
1879
|
-
i.value && (a =
|
|
1880
|
-
}), Q(() =>
|
|
1844
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
1845
|
+
return J(() => {
|
|
1846
|
+
i.value && (a = v(i.value, o()));
|
|
1847
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
1881
1848
|
a?.destroy(), a = null;
|
|
1882
|
-
}), t({}), (e, t) => (
|
|
1849
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1883
1850
|
ref_key: "hostRef",
|
|
1884
1851
|
ref: i,
|
|
1885
1852
|
class: "cos-rotatingText-host"
|
|
1886
1853
|
}, null, 512));
|
|
1887
1854
|
}
|
|
1888
|
-
}),
|
|
1855
|
+
}), on = /* @__PURE__ */ q({
|
|
1889
1856
|
__name: "SandFall",
|
|
1890
1857
|
props: {
|
|
1891
1858
|
width: {},
|
|
@@ -1897,18 +1864,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1897
1864
|
clearText: {}
|
|
1898
1865
|
},
|
|
1899
1866
|
setup(e, { expose: t, emit: n }) {
|
|
1900
|
-
let r = e, i =
|
|
1901
|
-
return
|
|
1902
|
-
i.value && (a =
|
|
1903
|
-
}), Q(() =>
|
|
1867
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
1868
|
+
return J(() => {
|
|
1869
|
+
i.value && (a = V(i.value, o()));
|
|
1870
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
1904
1871
|
a?.destroy(), a = null;
|
|
1905
|
-
}), t({}), (e, t) => (
|
|
1872
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1906
1873
|
ref_key: "hostRef",
|
|
1907
1874
|
ref: i,
|
|
1908
1875
|
class: "cos-sandFall-host"
|
|
1909
1876
|
}, null, 512));
|
|
1910
1877
|
}
|
|
1911
|
-
}),
|
|
1878
|
+
}), sn = /* @__PURE__ */ q({
|
|
1912
1879
|
__name: "ScrambleText",
|
|
1913
1880
|
props: {
|
|
1914
1881
|
text: {},
|
|
@@ -1916,18 +1883,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1916
1883
|
charset: {}
|
|
1917
1884
|
},
|
|
1918
1885
|
setup(e, { expose: t, emit: n }) {
|
|
1919
|
-
let r = e, i =
|
|
1920
|
-
return
|
|
1886
|
+
let r = e, i = Z(), a = null, s = () => ({ ...r });
|
|
1887
|
+
return J(() => {
|
|
1921
1888
|
i.value && (a = o(i.value, s()));
|
|
1922
|
-
}), Q(() =>
|
|
1889
|
+
}), Q(() => ({ ...r }), () => a?.update(s()), { deep: !0 }), Y(() => {
|
|
1923
1890
|
a?.destroy(), a = null;
|
|
1924
|
-
}), t({}), (e, t) => (
|
|
1891
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1925
1892
|
ref_key: "hostRef",
|
|
1926
1893
|
ref: i,
|
|
1927
1894
|
class: "cos-scrambleText-host"
|
|
1928
1895
|
}, null, 512));
|
|
1929
1896
|
}
|
|
1930
|
-
}),
|
|
1897
|
+
}), cn = /* @__PURE__ */ q({
|
|
1931
1898
|
__name: "ScratchCard",
|
|
1932
1899
|
props: {
|
|
1933
1900
|
coverColor: {},
|
|
@@ -1940,24 +1907,24 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1940
1907
|
},
|
|
1941
1908
|
emits: ["reveal"],
|
|
1942
1909
|
setup(e, { expose: t, emit: n }) {
|
|
1943
|
-
let r = e, i = n, a =
|
|
1910
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1944
1911
|
...r,
|
|
1945
1912
|
onReveal: (...e) => i("reveal", ...e)
|
|
1946
1913
|
});
|
|
1947
|
-
return
|
|
1948
|
-
a.value && (o =
|
|
1949
|
-
}), Q(() =>
|
|
1914
|
+
return J(() => {
|
|
1915
|
+
a.value && (o = T(a.value, s()));
|
|
1916
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
1950
1917
|
o?.destroy(), o = null;
|
|
1951
1918
|
}), t({
|
|
1952
1919
|
reset: () => o?.reset(),
|
|
1953
1920
|
reveal: () => o?.reveal()
|
|
1954
|
-
}), (e, t) => (
|
|
1921
|
+
}), (e, t) => (X(), K("div", {
|
|
1955
1922
|
ref_key: "hostRef",
|
|
1956
1923
|
ref: a,
|
|
1957
1924
|
class: "cos-scratchCard-host"
|
|
1958
1925
|
}, null, 512));
|
|
1959
1926
|
}
|
|
1960
|
-
}),
|
|
1927
|
+
}), $ = /* @__PURE__ */ q({
|
|
1961
1928
|
__name: "ShinyText",
|
|
1962
1929
|
props: {
|
|
1963
1930
|
text: {},
|
|
@@ -1968,18 +1935,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1968
1935
|
disabled: { type: Boolean }
|
|
1969
1936
|
},
|
|
1970
1937
|
setup(e, { expose: t, emit: n }) {
|
|
1971
|
-
let r = e, i =
|
|
1972
|
-
return
|
|
1938
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
1939
|
+
return J(() => {
|
|
1973
1940
|
i.value && (a = te(i.value, o()));
|
|
1974
|
-
}), Q(() =>
|
|
1941
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
1975
1942
|
a?.destroy(), a = null;
|
|
1976
|
-
}), t({}), (e, t) => (
|
|
1943
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
1977
1944
|
ref_key: "hostRef",
|
|
1978
1945
|
ref: i,
|
|
1979
1946
|
class: "cos-shinyText-host"
|
|
1980
1947
|
}, null, 512));
|
|
1981
1948
|
}
|
|
1982
|
-
}),
|
|
1949
|
+
}), ln = /* @__PURE__ */ q({
|
|
1983
1950
|
__name: "SlotMachine",
|
|
1984
1951
|
props: {
|
|
1985
1952
|
symbols: {},
|
|
@@ -1994,24 +1961,24 @@ var Qe = /* @__PURE__ */ G({
|
|
|
1994
1961
|
},
|
|
1995
1962
|
emits: ["spin-end"],
|
|
1996
1963
|
setup(e, { expose: t, emit: n }) {
|
|
1997
|
-
let r = e, i = n, a =
|
|
1964
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
1998
1965
|
...r,
|
|
1999
1966
|
onSpinEnd: (...e) => i("spin-end", ...e)
|
|
2000
1967
|
});
|
|
2001
|
-
return
|
|
2002
|
-
a.value && (o =
|
|
2003
|
-
}), Q(() =>
|
|
1968
|
+
return J(() => {
|
|
1969
|
+
a.value && (o = ze(a.value, s()));
|
|
1970
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
2004
1971
|
o?.destroy(), o = null;
|
|
2005
1972
|
}), t({
|
|
2006
1973
|
spin: (e) => o?.spin(e),
|
|
2007
1974
|
reset: () => o?.reset()
|
|
2008
|
-
}), (e, t) => (
|
|
1975
|
+
}), (e, t) => (X(), K("div", {
|
|
2009
1976
|
ref_key: "hostRef",
|
|
2010
1977
|
ref: a,
|
|
2011
1978
|
class: "cos-slotMachine-host"
|
|
2012
1979
|
}, null, 512));
|
|
2013
1980
|
}
|
|
2014
|
-
}),
|
|
1981
|
+
}), un = /* @__PURE__ */ q({
|
|
2015
1982
|
__name: "SmokeFog",
|
|
2016
1983
|
props: {
|
|
2017
1984
|
width: {},
|
|
@@ -2030,18 +1997,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2030
1997
|
ariaLabel: {}
|
|
2031
1998
|
},
|
|
2032
1999
|
setup(e, { expose: t, emit: n }) {
|
|
2033
|
-
let r = e, i =
|
|
2034
|
-
return
|
|
2035
|
-
i.value && (a =
|
|
2036
|
-
}), Q(() =>
|
|
2000
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
2001
|
+
return J(() => {
|
|
2002
|
+
i.value && (a = k(i.value, o()));
|
|
2003
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
2037
2004
|
a?.destroy(), a = null;
|
|
2038
|
-
}), t({}), (e, t) => (
|
|
2005
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
2039
2006
|
ref_key: "hostRef",
|
|
2040
2007
|
ref: i,
|
|
2041
2008
|
class: "cos-smokeFog-host"
|
|
2042
2009
|
}, null, 512));
|
|
2043
2010
|
}
|
|
2044
|
-
}),
|
|
2011
|
+
}), dn = /* @__PURE__ */ q({
|
|
2045
2012
|
__name: "Snowfall",
|
|
2046
2013
|
props: {
|
|
2047
2014
|
width: {},
|
|
@@ -2051,18 +2018,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2051
2018
|
count: {}
|
|
2052
2019
|
},
|
|
2053
2020
|
setup(e, { expose: t, emit: n }) {
|
|
2054
|
-
let r = e, i =
|
|
2055
|
-
return
|
|
2021
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
2022
|
+
return J(() => {
|
|
2056
2023
|
i.value && (a = re(i.value, o()));
|
|
2057
|
-
}), Q(() =>
|
|
2024
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
2058
2025
|
a?.destroy(), a = null;
|
|
2059
|
-
}), t({}), (e, t) => (
|
|
2026
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
2060
2027
|
ref_key: "hostRef",
|
|
2061
2028
|
ref: i,
|
|
2062
2029
|
class: "cos-snowfall-host"
|
|
2063
2030
|
}, null, 512));
|
|
2064
2031
|
}
|
|
2065
|
-
}),
|
|
2032
|
+
}), fn = /* @__PURE__ */ q({
|
|
2066
2033
|
__name: "SoapBubbles",
|
|
2067
2034
|
props: {
|
|
2068
2035
|
width: {},
|
|
@@ -2077,18 +2044,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2077
2044
|
ariaLabel: {}
|
|
2078
2045
|
},
|
|
2079
2046
|
setup(e, { expose: t, emit: n }) {
|
|
2080
|
-
let r = e, i =
|
|
2081
|
-
return
|
|
2082
|
-
i.value && (a =
|
|
2083
|
-
}), Q(() =>
|
|
2047
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
2048
|
+
return J(() => {
|
|
2049
|
+
i.value && (a = j(i.value, o()));
|
|
2050
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
2084
2051
|
a?.destroy(), a = null;
|
|
2085
|
-
}), t({}), (e, t) => (
|
|
2052
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
2086
2053
|
ref_key: "hostRef",
|
|
2087
2054
|
ref: i,
|
|
2088
2055
|
class: "cos-soapBubbles-host"
|
|
2089
2056
|
}, null, 512));
|
|
2090
2057
|
}
|
|
2091
|
-
}),
|
|
2058
|
+
}), pn = /* @__PURE__ */ q({
|
|
2092
2059
|
__name: "SolarSystem",
|
|
2093
2060
|
props: {
|
|
2094
2061
|
width: {},
|
|
@@ -2097,18 +2064,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2097
2064
|
showOrbits: { type: Boolean }
|
|
2098
2065
|
},
|
|
2099
2066
|
setup(e, { expose: t, emit: n }) {
|
|
2100
|
-
let r = e, i =
|
|
2101
|
-
return
|
|
2067
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
2068
|
+
return J(() => {
|
|
2102
2069
|
i.value && (a = ce(i.value, o()));
|
|
2103
|
-
}), Q(() =>
|
|
2070
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
2104
2071
|
a?.destroy(), a = null;
|
|
2105
|
-
}), t({}), (e, t) => (
|
|
2072
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
2106
2073
|
ref_key: "hostRef",
|
|
2107
2074
|
ref: i,
|
|
2108
2075
|
class: "cos-solarSystem-host"
|
|
2109
2076
|
}, null, 512));
|
|
2110
2077
|
}
|
|
2111
|
-
}),
|
|
2078
|
+
}), mn = /* @__PURE__ */ q({
|
|
2112
2079
|
__name: "Speedometer",
|
|
2113
2080
|
props: {
|
|
2114
2081
|
value: {},
|
|
@@ -2117,18 +2084,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2117
2084
|
color: {}
|
|
2118
2085
|
},
|
|
2119
2086
|
setup(e, { expose: t, emit: n }) {
|
|
2120
|
-
let r = e, i =
|
|
2121
|
-
return
|
|
2087
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
2088
|
+
return J(() => {
|
|
2122
2089
|
i.value && (a = c(i.value, o()));
|
|
2123
|
-
}), Q(() =>
|
|
2090
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
2124
2091
|
a?.destroy(), a = null;
|
|
2125
|
-
}), t({}), (e, t) => (
|
|
2092
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
2126
2093
|
ref_key: "hostRef",
|
|
2127
2094
|
ref: i,
|
|
2128
2095
|
class: "cos-speedometer-host"
|
|
2129
2096
|
}, null, 512));
|
|
2130
2097
|
}
|
|
2131
|
-
}),
|
|
2098
|
+
}), hn = /* @__PURE__ */ q({
|
|
2132
2099
|
__name: "SplitReveal",
|
|
2133
2100
|
props: {
|
|
2134
2101
|
text: {},
|
|
@@ -2136,18 +2103,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2136
2103
|
color: {}
|
|
2137
2104
|
},
|
|
2138
2105
|
setup(e, { expose: t, emit: n }) {
|
|
2139
|
-
let r = e, i =
|
|
2140
|
-
return
|
|
2141
|
-
i.value && (a =
|
|
2142
|
-
}), Q(() =>
|
|
2106
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
2107
|
+
return J(() => {
|
|
2108
|
+
i.value && (a = Ve(i.value, o()));
|
|
2109
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
2143
2110
|
a?.destroy(), a = null;
|
|
2144
|
-
}), t({}), (e, t) => (
|
|
2111
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
2145
2112
|
ref_key: "hostRef",
|
|
2146
2113
|
ref: i,
|
|
2147
2114
|
class: "cos-splitReveal-host"
|
|
2148
2115
|
}, null, 512));
|
|
2149
2116
|
}
|
|
2150
|
-
}),
|
|
2117
|
+
}), gn = /* @__PURE__ */ q({
|
|
2151
2118
|
__name: "SplitText",
|
|
2152
2119
|
props: {
|
|
2153
2120
|
text: {},
|
|
@@ -2160,18 +2127,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2160
2127
|
color: {}
|
|
2161
2128
|
},
|
|
2162
2129
|
setup(e, { expose: t, emit: n }) {
|
|
2163
|
-
let r = e, i =
|
|
2164
|
-
return
|
|
2165
|
-
i.value && (a =
|
|
2166
|
-
}), Q(() =>
|
|
2130
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
2131
|
+
return J(() => {
|
|
2132
|
+
i.value && (a = Fe(i.value, o()));
|
|
2133
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
2167
2134
|
a?.destroy(), a = null;
|
|
2168
|
-
}), t({}), (e, t) => (
|
|
2135
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
2169
2136
|
ref_key: "hostRef",
|
|
2170
2137
|
ref: i,
|
|
2171
2138
|
class: "cos-splitText-host"
|
|
2172
2139
|
}, null, 512));
|
|
2173
2140
|
}
|
|
2174
|
-
}),
|
|
2141
|
+
}), _n = /* @__PURE__ */ q({
|
|
2175
2142
|
__name: "Spotlight",
|
|
2176
2143
|
props: {
|
|
2177
2144
|
radius: {},
|
|
@@ -2179,25 +2146,19 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2179
2146
|
defaultContent: {},
|
|
2180
2147
|
slotElement: {}
|
|
2181
2148
|
},
|
|
2182
|
-
setup(e, { expose: t }) {
|
|
2183
|
-
let
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
})
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
}), Q(() => z(n), () => a?.update(o())), q(() => {
|
|
2190
|
-
a?.destroy(), a = null, i.value = null;
|
|
2191
|
-
}), t({ getSlot: () => a?.getSlot?.() }), (t, n) => (J(), U("div", {
|
|
2149
|
+
setup(e, { expose: t, emit: n }) {
|
|
2150
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
2151
|
+
return J(() => {
|
|
2152
|
+
i.value && (a = fe(i.value, o()));
|
|
2153
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
2154
|
+
a?.destroy(), a = null;
|
|
2155
|
+
}), t({ getSlot: () => a?.getSlot() }), (e, t) => (X(), K("div", {
|
|
2192
2156
|
ref_key: "hostRef",
|
|
2193
|
-
ref:
|
|
2157
|
+
ref: i,
|
|
2194
2158
|
class: "cos-spotlight-host"
|
|
2195
|
-
},
|
|
2196
|
-
key: 0,
|
|
2197
|
-
to: i.value
|
|
2198
|
-
}, [X(t.$slots, "default", {}, () => [W("span", null, Z(e.defaultContent ?? "隐藏内容"), 1)])], 8, ["to"])) : H("", !0)], 512));
|
|
2159
|
+
}, null, 512));
|
|
2199
2160
|
}
|
|
2200
|
-
}),
|
|
2161
|
+
}), vn = /* @__PURE__ */ q({
|
|
2201
2162
|
__name: "SpringMass",
|
|
2202
2163
|
props: {
|
|
2203
2164
|
width: {},
|
|
@@ -2210,18 +2171,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2210
2171
|
hint: {}
|
|
2211
2172
|
},
|
|
2212
2173
|
setup(e, { expose: t, emit: n }) {
|
|
2213
|
-
let r = e, i =
|
|
2214
|
-
return
|
|
2215
|
-
i.value && (a =
|
|
2216
|
-
}), Q(() =>
|
|
2174
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
2175
|
+
return J(() => {
|
|
2176
|
+
i.value && (a = R(i.value, o()));
|
|
2177
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
2217
2178
|
a?.destroy(), a = null;
|
|
2218
|
-
}), t({}), (e, t) => (
|
|
2179
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
2219
2180
|
ref_key: "hostRef",
|
|
2220
2181
|
ref: i,
|
|
2221
2182
|
class: "cos-springMass-host"
|
|
2222
2183
|
}, null, 512));
|
|
2223
2184
|
}
|
|
2224
|
-
}),
|
|
2185
|
+
}), yn = /* @__PURE__ */ q({
|
|
2225
2186
|
__name: "Starfield",
|
|
2226
2187
|
props: {
|
|
2227
2188
|
width: {},
|
|
@@ -2231,18 +2192,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2231
2192
|
speed: {}
|
|
2232
2193
|
},
|
|
2233
2194
|
setup(e, { expose: t, emit: n }) {
|
|
2234
|
-
let r = e, i =
|
|
2235
|
-
return
|
|
2236
|
-
i.value && (a =
|
|
2237
|
-
}), Q(() =>
|
|
2195
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
2196
|
+
return J(() => {
|
|
2197
|
+
i.value && (a = b(i.value, o()));
|
|
2198
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
2238
2199
|
a?.destroy(), a = null;
|
|
2239
|
-
}), t({}), (e, t) => (
|
|
2200
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
2240
2201
|
ref_key: "hostRef",
|
|
2241
2202
|
ref: i,
|
|
2242
2203
|
class: "cos-starfield-host"
|
|
2243
2204
|
}, null, 512));
|
|
2244
2205
|
}
|
|
2245
|
-
}),
|
|
2206
|
+
}), bn = /* @__PURE__ */ q({
|
|
2246
2207
|
__name: "TextMorph",
|
|
2247
2208
|
props: {
|
|
2248
2209
|
texts: {},
|
|
@@ -2252,18 +2213,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2252
2213
|
color: {}
|
|
2253
2214
|
},
|
|
2254
2215
|
setup(e, { expose: t, emit: n }) {
|
|
2255
|
-
let r = e, i =
|
|
2256
|
-
return
|
|
2257
|
-
i.value && (a =
|
|
2258
|
-
}), Q(() =>
|
|
2216
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
2217
|
+
return J(() => {
|
|
2218
|
+
i.value && (a = Se(i.value, o()));
|
|
2219
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
2259
2220
|
a?.destroy(), a = null;
|
|
2260
|
-
}), t({}), (e, t) => (
|
|
2221
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
2261
2222
|
ref_key: "hostRef",
|
|
2262
2223
|
ref: i,
|
|
2263
2224
|
class: "cos-textMorph-host"
|
|
2264
2225
|
}, null, 512));
|
|
2265
2226
|
}
|
|
2266
|
-
}),
|
|
2227
|
+
}), xn = /* @__PURE__ */ q({
|
|
2267
2228
|
__name: "TimelinePulse",
|
|
2268
2229
|
props: {
|
|
2269
2230
|
steps: {},
|
|
@@ -2271,18 +2232,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2271
2232
|
color: {}
|
|
2272
2233
|
},
|
|
2273
2234
|
setup(e, { expose: t, emit: n }) {
|
|
2274
|
-
let r = e, i =
|
|
2275
|
-
return
|
|
2276
|
-
i.value && (a =
|
|
2277
|
-
}), Q(() =>
|
|
2235
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
2236
|
+
return J(() => {
|
|
2237
|
+
i.value && (a = D(i.value, o()));
|
|
2238
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
2278
2239
|
a?.destroy(), a = null;
|
|
2279
|
-
}), t({}), (e, t) => (
|
|
2240
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
2280
2241
|
ref_key: "hostRef",
|
|
2281
2242
|
ref: i,
|
|
2282
2243
|
class: "cos-timelinePulse-host"
|
|
2283
2244
|
}, null, 512));
|
|
2284
2245
|
}
|
|
2285
|
-
}),
|
|
2246
|
+
}), Sn = /* @__PURE__ */ q({
|
|
2286
2247
|
__name: "TrueFocus",
|
|
2287
2248
|
props: {
|
|
2288
2249
|
sentence: {},
|
|
@@ -2297,18 +2258,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2297
2258
|
color: {}
|
|
2298
2259
|
},
|
|
2299
2260
|
setup(e, { expose: t, emit: n }) {
|
|
2300
|
-
let r = e, i =
|
|
2301
|
-
return
|
|
2302
|
-
i.value && (a =
|
|
2303
|
-
}), Q(() =>
|
|
2261
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
2262
|
+
return J(() => {
|
|
2263
|
+
i.value && (a = De(i.value, o()));
|
|
2264
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
2304
2265
|
a?.destroy(), a = null;
|
|
2305
|
-
}), t({}), (e, t) => (
|
|
2266
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
2306
2267
|
ref_key: "hostRef",
|
|
2307
2268
|
ref: i,
|
|
2308
2269
|
class: "cos-trueFocus-host"
|
|
2309
2270
|
}, null, 512));
|
|
2310
2271
|
}
|
|
2311
|
-
}),
|
|
2272
|
+
}), Cn = /* @__PURE__ */ q({
|
|
2312
2273
|
__name: "Turntable",
|
|
2313
2274
|
props: {
|
|
2314
2275
|
prizes: {},
|
|
@@ -2323,24 +2284,24 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2323
2284
|
},
|
|
2324
2285
|
emits: ["spin-end"],
|
|
2325
2286
|
setup(e, { expose: t, emit: n }) {
|
|
2326
|
-
let r = e, i = n, a =
|
|
2287
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
2327
2288
|
...r,
|
|
2328
2289
|
onSpinEnd: (...e) => i("spin-end", ...e)
|
|
2329
2290
|
});
|
|
2330
|
-
return
|
|
2331
|
-
a.value && (o =
|
|
2332
|
-
}), Q(() =>
|
|
2291
|
+
return J(() => {
|
|
2292
|
+
a.value && (o = me(a.value, s()));
|
|
2293
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
2333
2294
|
o?.destroy(), o = null;
|
|
2334
2295
|
}), t({
|
|
2335
2296
|
spin: (e) => o?.spin(e),
|
|
2336
2297
|
reset: () => o?.reset()
|
|
2337
|
-
}), (e, t) => (
|
|
2298
|
+
}), (e, t) => (X(), K("div", {
|
|
2338
2299
|
ref_key: "hostRef",
|
|
2339
2300
|
ref: a,
|
|
2340
2301
|
class: "cos-turntable-host"
|
|
2341
2302
|
}, null, 512));
|
|
2342
2303
|
}
|
|
2343
|
-
}),
|
|
2304
|
+
}), wn = /* @__PURE__ */ q({
|
|
2344
2305
|
__name: "Typewriter",
|
|
2345
2306
|
props: {
|
|
2346
2307
|
texts: {},
|
|
@@ -2349,18 +2310,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2349
2310
|
pause: {}
|
|
2350
2311
|
},
|
|
2351
2312
|
setup(e, { expose: t, emit: n }) {
|
|
2352
|
-
let r = e, i =
|
|
2353
|
-
return
|
|
2354
|
-
i.value && (a =
|
|
2355
|
-
}), Q(() =>
|
|
2313
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
2314
|
+
return J(() => {
|
|
2315
|
+
i.value && (a = ue(i.value, o()));
|
|
2316
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
2356
2317
|
a?.destroy(), a = null;
|
|
2357
|
-
}), t({}), (e, t) => (
|
|
2318
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
2358
2319
|
ref_key: "hostRef",
|
|
2359
2320
|
ref: i,
|
|
2360
2321
|
class: "cos-typewriter-host"
|
|
2361
2322
|
}, null, 512));
|
|
2362
2323
|
}
|
|
2363
|
-
}),
|
|
2324
|
+
}), Tn = /* @__PURE__ */ q({
|
|
2364
2325
|
__name: "WaveButton",
|
|
2365
2326
|
props: {
|
|
2366
2327
|
text: {},
|
|
@@ -2370,18 +2331,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2370
2331
|
buttonProps: {}
|
|
2371
2332
|
},
|
|
2372
2333
|
setup(e, { expose: t, emit: n }) {
|
|
2373
|
-
let r = e, i =
|
|
2374
|
-
return
|
|
2375
|
-
i.value && (a =
|
|
2376
|
-
}), Q(() =>
|
|
2334
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
2335
|
+
return J(() => {
|
|
2336
|
+
i.value && (a = W(i.value, o()));
|
|
2337
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
2377
2338
|
a?.destroy(), a = null;
|
|
2378
|
-
}), t({ getButton: () => a?.getButton() }), (e, t) => (
|
|
2339
|
+
}), t({ getButton: () => a?.getButton() }), (e, t) => (X(), K("div", {
|
|
2379
2340
|
ref_key: "hostRef",
|
|
2380
2341
|
ref: i,
|
|
2381
2342
|
class: "cos-waveButton-host"
|
|
2382
2343
|
}, null, 512));
|
|
2383
2344
|
}
|
|
2384
|
-
}),
|
|
2345
|
+
}), En = /* @__PURE__ */ q({
|
|
2385
2346
|
__name: "WaveText",
|
|
2386
2347
|
props: {
|
|
2387
2348
|
text: {},
|
|
@@ -2390,18 +2351,18 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2390
2351
|
fontSize: {}
|
|
2391
2352
|
},
|
|
2392
2353
|
setup(e, { expose: t, emit: n }) {
|
|
2393
|
-
let r = e, i =
|
|
2394
|
-
return
|
|
2395
|
-
i.value && (a =
|
|
2396
|
-
}), Q(() =>
|
|
2354
|
+
let r = e, i = Z(), a = null, o = () => ({ ...r });
|
|
2355
|
+
return J(() => {
|
|
2356
|
+
i.value && (a = je(i.value, o()));
|
|
2357
|
+
}), Q(() => ({ ...r }), () => a?.update(o()), { deep: !0 }), Y(() => {
|
|
2397
2358
|
a?.destroy(), a = null;
|
|
2398
|
-
}), t({}), (e, t) => (
|
|
2359
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
2399
2360
|
ref_key: "hostRef",
|
|
2400
2361
|
ref: i,
|
|
2401
2362
|
class: "cos-waveText-host"
|
|
2402
2363
|
}, null, 512));
|
|
2403
2364
|
}
|
|
2404
|
-
}),
|
|
2365
|
+
}), Dn = /* @__PURE__ */ q({
|
|
2405
2366
|
__name: "WeatherBackground",
|
|
2406
2367
|
props: {
|
|
2407
2368
|
width: {},
|
|
@@ -2425,15 +2386,15 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2425
2386
|
},
|
|
2426
2387
|
emits: ["live-weather"],
|
|
2427
2388
|
setup(e, { expose: t, emit: n }) {
|
|
2428
|
-
let r = e, i = n, a =
|
|
2389
|
+
let r = e, i = n, a = Z(), o = null, s = () => ({
|
|
2429
2390
|
...r,
|
|
2430
2391
|
onLiveWeather: (...e) => i("live-weather", ...e)
|
|
2431
2392
|
});
|
|
2432
|
-
return
|
|
2433
|
-
a.value && (o =
|
|
2434
|
-
}), Q(() =>
|
|
2393
|
+
return J(() => {
|
|
2394
|
+
a.value && (o = Ce(a.value, s()));
|
|
2395
|
+
}), Q(() => ({ ...r }), () => o?.update(s()), { deep: !0 }), Y(() => {
|
|
2435
2396
|
o?.destroy(), o = null;
|
|
2436
|
-
}), t({}), (e, t) => (
|
|
2397
|
+
}), t({}), (e, t) => (X(), K("div", {
|
|
2437
2398
|
ref_key: "hostRef",
|
|
2438
2399
|
ref: a,
|
|
2439
2400
|
class: "cos-weatherBackground-host"
|
|
@@ -2441,4 +2402,4 @@ var Qe = /* @__PURE__ */ G({
|
|
|
2441
2402
|
}
|
|
2442
2403
|
});
|
|
2443
2404
|
//#endregion
|
|
2444
|
-
export {
|
|
2405
|
+
export { Ge as AudioVisualizer, Ke as Aurora, qe as AuroraVeil, Je as BarcodeScan, Ye as BlurText, Xe as BubbleField, Ze as BurnAway, Qe as CanvasClock, $e as Charge, et as CircularText, tt as ClickSpark, nt as Confetti, rt as CountUp, it as Countdown, at as CursorTrail, ot as CurvedLoop, st as CyberGrid, ct as DandelionField, lt as DiceRoll, ut as DnaHelix, dt as DoublePendulum, ft as ElectricArc, pt as Fireworks, mt as FlipCard, ht as FlipCounter, gt as FuzzyText, _t as GameOfLife, vt as GlitchText, yt as GradientFlow, bt as GravityBalls, xt as HolographicCard, St as InkBloom, Ct as LavaBubble, wt as LiquidGlass, Tt as LiquidProgress, Et as LorenzAttractor, Dt as MagneticButton, Ot as MatrixRain, kt as MazeGenerator, At as MetaballPool, jt as MeteorRain, Mt as NeonText, Nt as NetworkGraph, Pt as NewtonCradle, Ft as NineGrid, It as OrbitalChart, Lt as ParticleNetwork, Rt as PhotoAlbum, zt as PhotoCarousel, Bt as PhotoClothesline, Vt as PhotoFilmstrip, Ht as PhotoFridge, Ut as PhotoLantern, Wt as PhotoLightbox, Gt as PhotoPolaroid, Kt as PhotoPostcard, qt as PhotoPrism, Jt as PhotoScroll, Yt as PhotoTunnel, Xt as PhotoViewMaster, Zt as PlasmaBall, Qt as ProgressChest, $t as RadarScan, en as RedPacketRain, tn as ReturnCity, nn as RippleWater, rn as RopeChain, an as RotatingText, on as SandFall, sn as ScrambleText, cn as ScratchCard, $ as ShinyText, ln as SlotMachine, un as SmokeFog, dn as Snowfall, fn as SoapBubbles, pn as SolarSystem, mn as Speedometer, hn as SplitReveal, gn as SplitText, _n as Spotlight, vn as SpringMass, yn as Starfield, bn as TextMorph, xn as TimelinePulse, Sn as TrueFocus, Cn as Turntable, wn as Typewriter, Tn as WaveButton, En as WaveText, Dn as WeatherBackground };
|