vue-color-ui 0.0.39 → 0.0.41
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/lib/temp-color-ui.js +509 -469
- package/lib/temp-color-ui.umd.cjs +2 -2
- package/package.json +1 -1
- package/types/pkg/index.d.ts +8 -1
- package/types/pkg/tools.d.ts +0 -1
package/lib/temp-color-ui.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var we = Object.defineProperty;
|
|
2
|
-
var Ce = (t, e,
|
|
3
|
-
var M = (t, e,
|
|
4
|
-
import { defineComponent as _, openBlock as
|
|
2
|
+
var Ce = (t, e, c) => e in t ? we(t, e, { enumerable: !0, configurable: !0, writable: !0, value: c }) : t[e] = c;
|
|
3
|
+
var M = (t, e, c) => (Ce(t, typeof e != "symbol" ? e + "" : e, c), c);
|
|
4
|
+
import { defineComponent as _, openBlock as n, createElementBlock as l, Fragment as b, renderList as y, normalizeClass as d, normalizeStyle as w, createElementVNode as o, toDisplayString as u, createTextVNode as k, createCommentVNode as p, pushScopeId as xe, popScopeId as Te, computed as j, renderSlot as S, createBlock as V, ref as T, withModifiers as de, unref as Se, onMounted as D, resolveComponent as ke, createVNode as P, onUnmounted as Be, withKeys as je, withDirectives as he, vShow as pe, provide as ve, watch as Ie, inject as fe, withCtx as re, reactive as Ee, KeepAlive as Ve, resolveDynamicComponent as Me } from "vue";
|
|
5
5
|
const ze = { class: "nav-list" }, qe = ["onClick"], Ae = { class: "nav-title" }, Ne = { class: "nav-name" }, Pe = {
|
|
6
6
|
name: "TNavCard"
|
|
7
7
|
}, R = /* @__PURE__ */ _({
|
|
@@ -11,20 +11,20 @@ const ze = { class: "nav-list" }, qe = ["onClick"], Ae = { class: "nav-title" },
|
|
|
11
11
|
},
|
|
12
12
|
emits: ["chickItem"],
|
|
13
13
|
setup(t, { emit: e }) {
|
|
14
|
-
const
|
|
15
|
-
|
|
14
|
+
const c = e, s = (i, a) => {
|
|
15
|
+
c("chickItem", i, a);
|
|
16
16
|
};
|
|
17
|
-
return (
|
|
18
|
-
(
|
|
17
|
+
return (i, a) => (n(), l("div", ze, [
|
|
18
|
+
(n(!0), l(b, null, y(i.items, (h, r) => (n(), l("div", {
|
|
19
19
|
"hover-class": "none",
|
|
20
20
|
class: d(["nav-li", "bg-" + h.color]),
|
|
21
21
|
style: w([{ animation: "show " + ((r + 1) * 0.2 + 1) + "s 1" }]),
|
|
22
22
|
key: r,
|
|
23
|
-
onClick: (
|
|
23
|
+
onClick: (f) => s(h, r)
|
|
24
24
|
}, [
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
o("div", Ae, u(h.title), 1),
|
|
26
|
+
o("div", Ne, u(h.name), 1),
|
|
27
|
+
o("text", {
|
|
28
28
|
class: d("cuIcon-" + h.cuIcon)
|
|
29
29
|
}, null, 2)
|
|
30
30
|
], 14, qe))), 128))
|
|
@@ -34,11 +34,11 @@ const ze = { class: "nav-list" }, qe = ["onClick"], Ae = { class: "nav-title" },
|
|
|
34
34
|
R.install = (t) => {
|
|
35
35
|
t.component(R.name, R);
|
|
36
36
|
};
|
|
37
|
-
const
|
|
37
|
+
const ge = (t) => (xe("data-v-bbdb83ff"), t = t(), Te(), t), Le = { class: "cu-item shadow" }, De = { class: "title" }, Fe = { class: "text-cut" }, Re = { class: "content" }, Ue = ["src", "alt"], Xe = { class: "desc" }, Ye = { class: "text-content" }, Oe = {
|
|
38
38
|
key: 0,
|
|
39
39
|
class: "content flex-sub justify-between text-sm solid-top margin-top-sm",
|
|
40
40
|
style: { padding: "5px 15px" }
|
|
41
|
-
}, He = { class: "text-gray" }, Ge = /* @__PURE__ */
|
|
41
|
+
}, He = { class: "text-gray" }, Ge = /* @__PURE__ */ ge(() => /* @__PURE__ */ o("span", { class: "cuIcon-attentionfill margin-lr-xs" }, null, -1)), Ke = /* @__PURE__ */ ge(() => /* @__PURE__ */ o("span", { class: "cuIcon-appreciatefill margin-lr-xs" }, null, -1)), Je = /* @__PURE__ */ ge(() => /* @__PURE__ */ o("span", { class: "cuIcon-messagefill margin-lr-xs" }, null, -1)), Qe = { class: "margin-left-sm text-gray flex justify-between" }, We = { class: "text-grey margin-right-xs" }, Ze = {
|
|
42
42
|
name: "TNewCard"
|
|
43
43
|
// 组件名称
|
|
44
44
|
}, et = /* @__PURE__ */ _({
|
|
@@ -59,30 +59,30 @@ const me = (t) => (xe("data-v-bbdb83ff"), t = t(), Te(), t), Le = { class: "cu-i
|
|
|
59
59
|
}) }
|
|
60
60
|
},
|
|
61
61
|
setup(t) {
|
|
62
|
-
return (e,
|
|
62
|
+
return (e, c) => (n(), l("div", {
|
|
63
63
|
class: d(["cu-card article", e.isCard ? "" : "no-card"])
|
|
64
64
|
}, [
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
o("div", Le, [
|
|
66
|
+
o("div", De, [
|
|
67
|
+
o("div", Fe, u(e.title), 1)
|
|
68
68
|
]),
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
o("div", Re, [
|
|
70
|
+
o("img", {
|
|
71
71
|
src: e.imageSrc,
|
|
72
72
|
alt: e.imageAlt
|
|
73
73
|
}, null, 8, Ue),
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
(
|
|
74
|
+
o("div", Xe, [
|
|
75
|
+
o("div", Ye, u(e.description), 1),
|
|
76
|
+
o("div", null, [
|
|
77
|
+
(n(!0), l(b, null, y(e.tags, (s) => (n(), l("div", {
|
|
78
78
|
key: s,
|
|
79
79
|
class: "cu-tag bg-red light sm round"
|
|
80
80
|
}, u(s), 1))), 128))
|
|
81
81
|
])
|
|
82
82
|
])
|
|
83
83
|
]),
|
|
84
|
-
e.footerInfo ? (
|
|
85
|
-
|
|
84
|
+
e.footerInfo ? (n(), l("div", Oe, [
|
|
85
|
+
o("div", He, [
|
|
86
86
|
Ge,
|
|
87
87
|
k(" " + u(e.footerInfo.likes) + " ", 1),
|
|
88
88
|
Ke,
|
|
@@ -90,27 +90,27 @@ const me = (t) => (xe("data-v-bbdb83ff"), t = t(), Te(), t), Le = { class: "cu-i
|
|
|
90
90
|
Je,
|
|
91
91
|
k(" " + u(e.footerInfo.comments), 1)
|
|
92
92
|
]),
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
o("div", Qe, [
|
|
94
|
+
o("div", We, u(e.footerInfo.author), 1),
|
|
95
95
|
k(" " + u(e.footerInfo.timeAgo), 1)
|
|
96
96
|
])
|
|
97
|
-
])) :
|
|
97
|
+
])) : p("", !0)
|
|
98
98
|
])
|
|
99
99
|
], 2));
|
|
100
100
|
}
|
|
101
101
|
}), A = (t, e) => {
|
|
102
|
-
const
|
|
103
|
-
for (const [s,
|
|
104
|
-
|
|
105
|
-
return
|
|
102
|
+
const c = t.__vccOpts || t;
|
|
103
|
+
for (const [s, i] of e)
|
|
104
|
+
c[s] = i;
|
|
105
|
+
return c;
|
|
106
106
|
}, U = /* @__PURE__ */ A(et, [["__scopeId", "data-v-bbdb83ff"]]);
|
|
107
107
|
U.install = (t) => {
|
|
108
108
|
t.component(U.name, U);
|
|
109
109
|
};
|
|
110
|
-
const tt = { class: "cu-item shadow" }, st = { class: "cu-list menu-avatar" },
|
|
110
|
+
const tt = { class: "cu-item shadow" }, st = { class: "cu-list menu-avatar" }, nt = { class: "cu-item" }, ot = { class: "content flex-sub" }, lt = { class: "text-gray text-sm flex justify-between" }, at = { class: "text-content" }, it = { class: "text-gray text-sm text-right padding" }, ct = /* @__PURE__ */ o("span", { class: "cuIcon-attentionfill margin-lr-xs" }, null, -1), rt = /* @__PURE__ */ o("span", { class: "cuIcon-appreciatefill margin-lr-xs" }, null, -1), ut = /* @__PURE__ */ o("span", { class: "cuIcon-messagefill margin-lr-xs" }, null, -1), dt = { class: "cu-item" }, ht = { class: "content" }, pt = { class: "text-grey" }, ft = { class: "text-gray text-content text-df" }, mt = { class: "flex" }, gt = { class: "flex-sub" }, _t = { class: "margin-top-sm flex justify-between" }, vt = { class: "text-gray text-df" }, bt = {
|
|
111
111
|
key: 0,
|
|
112
112
|
class: "cuIcon-appreciatefill text-red"
|
|
113
|
-
}, $t = /* @__PURE__ */
|
|
113
|
+
}, $t = /* @__PURE__ */ o("span", { class: "cuIcon-messagefill text-gray margin-left-sm" }, null, -1), yt = { class: "text-gray margin-left-xs" }, kt = {
|
|
114
114
|
name: "TShareCard"
|
|
115
115
|
}, X = /* @__PURE__ */ _({
|
|
116
116
|
...kt,
|
|
@@ -161,70 +161,70 @@ const tt = { class: "cu-item shadow" }, st = { class: "cu-list menu-avatar" }, o
|
|
|
161
161
|
] }
|
|
162
162
|
},
|
|
163
163
|
setup(t) {
|
|
164
|
-
return (e,
|
|
165
|
-
|
|
164
|
+
return (e, c) => (n(), l("div", null, [
|
|
165
|
+
o("div", {
|
|
166
166
|
class: d(["cu-card dynamic", e.isCard ? "is-card" : "no-card"])
|
|
167
167
|
}, [
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
168
|
+
o("div", tt, [
|
|
169
|
+
o("div", st, [
|
|
170
|
+
o("div", nt, [
|
|
171
|
+
o("div", {
|
|
172
172
|
class: "cu-avatar round lg",
|
|
173
173
|
style: w({ backgroundImage: `url(${e.avatarUrl})` })
|
|
174
174
|
}, null, 4),
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
o("div", ot, [
|
|
176
|
+
o("div", null, u(e.author), 1),
|
|
177
|
+
o("div", lt, u(e.date), 1)
|
|
178
178
|
])
|
|
179
179
|
])
|
|
180
180
|
]),
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
o("div", at, u(e.content), 1),
|
|
182
|
+
o("div", {
|
|
183
183
|
class: d(["grid flex-sub padding-lr", e.isCard ? "col-3 grid-square" : "col-1"])
|
|
184
184
|
}, [
|
|
185
|
-
(
|
|
185
|
+
(n(!0), l(b, null, y(e.isCard ? 9 : 1, (s) => (n(), l("div", {
|
|
186
186
|
class: d(["bg-img", e.isCard ? "" : "only-img"]),
|
|
187
187
|
style: w({ backgroundImage: `url(${e.imageUrl})` }),
|
|
188
188
|
key: s
|
|
189
189
|
}, null, 6))), 128))
|
|
190
190
|
], 2),
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
o("div", it, [
|
|
192
|
+
ct,
|
|
193
193
|
k(" " + u(e.likes) + " ", 1),
|
|
194
194
|
rt,
|
|
195
195
|
k(" " + u(e.appreciations) + " ", 1),
|
|
196
196
|
ut,
|
|
197
197
|
k(" " + u(e.comments), 1)
|
|
198
198
|
]),
|
|
199
|
-
(
|
|
200
|
-
var
|
|
201
|
-
return
|
|
199
|
+
(n(!0), l(b, null, y(e.commentsList, (s) => {
|
|
200
|
+
var i;
|
|
201
|
+
return n(), l("div", {
|
|
202
202
|
class: "cu-list menu-avatar comment solids-top",
|
|
203
203
|
key: s.id
|
|
204
204
|
}, [
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
o("div", dt, [
|
|
206
|
+
o("div", {
|
|
207
207
|
class: "cu-avatar round",
|
|
208
208
|
style: w({ backgroundImage: `url(${s.avatarUrl})` })
|
|
209
209
|
}, null, 4),
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
(
|
|
210
|
+
o("div", ht, [
|
|
211
|
+
o("div", pt, u(s.author), 1),
|
|
212
|
+
o("div", ft, u(s.text), 1),
|
|
213
|
+
(n(!0), l(b, null, y(s.replies, (a) => (n(), l("div", {
|
|
214
214
|
key: a.id,
|
|
215
215
|
class: "bg-grey padding-sm radius margin-top-sm text-sm"
|
|
216
216
|
}, [
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
217
|
+
o("div", mt, [
|
|
218
|
+
o("div", null, u(a.author) + ":", 1),
|
|
219
|
+
o("div", gt, u(a.text), 1)
|
|
220
220
|
])
|
|
221
221
|
]))), 128)),
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
s.likes ? (
|
|
222
|
+
o("div", _t, [
|
|
223
|
+
o("div", vt, u(s.date), 1),
|
|
224
|
+
o("div", null, [
|
|
225
|
+
s.likes ? (n(), l("span", bt)) : p("", !0),
|
|
226
226
|
$t,
|
|
227
|
-
|
|
227
|
+
o("span", yt, u((i = s.replies) == null ? void 0 : i.length), 1)
|
|
228
228
|
])
|
|
229
229
|
])
|
|
230
230
|
])
|
|
@@ -251,9 +251,9 @@ const It = {
|
|
|
251
251
|
xxl: "30px",
|
|
252
252
|
xxxl: "48px"
|
|
253
253
|
};
|
|
254
|
-
function wt(t, e,
|
|
254
|
+
function wt(t, e, c = "px") {
|
|
255
255
|
if (typeof e == "number")
|
|
256
|
-
return `${t}: ${e}${
|
|
256
|
+
return `${t}: ${e}${c};`;
|
|
257
257
|
const s = It[e];
|
|
258
258
|
return s ? `${t}: ${s};` : "";
|
|
259
259
|
}
|
|
@@ -270,16 +270,16 @@ const xt = {
|
|
|
270
270
|
size: { default: 15 }
|
|
271
271
|
},
|
|
272
272
|
setup(t) {
|
|
273
|
-
const e = t,
|
|
274
|
-
return (s,
|
|
273
|
+
const e = t, c = j(() => Ct(e.size));
|
|
274
|
+
return (s, i) => (n(), l("i", {
|
|
275
275
|
class: d(`cuIcon-${s.name} text-${s.color}`),
|
|
276
|
-
style: w(
|
|
276
|
+
style: w(c.value)
|
|
277
277
|
}, null, 6));
|
|
278
278
|
}
|
|
279
|
-
}), Tt = { class: "action border-title" }, St = { class: "action border-title" }, Bt = { class: "tib text-xl text-bold text-blue" }, jt = /* @__PURE__ */
|
|
279
|
+
}), Tt = { class: "action border-title" }, St = { class: "action border-title" }, Bt = { class: "tib text-xl text-bold text-blue" }, jt = /* @__PURE__ */ o("div", {
|
|
280
280
|
class: "tib bg-gradual-blue",
|
|
281
281
|
style: { width: "3rem" }
|
|
282
|
-
}, null, -1), Et = { class: "action sub-title" }, Vt = { class: "tib text-xl text-bold text-green" }, Mt = /* @__PURE__ */
|
|
282
|
+
}, null, -1), Et = { class: "action sub-title" }, Vt = { class: "tib text-xl text-bold text-green" }, Mt = /* @__PURE__ */ o("div", {
|
|
283
283
|
class: "tib bg-green",
|
|
284
284
|
style: { width: "2rem" }
|
|
285
285
|
}, null, -1), zt = { class: "action sub-title" }, qt = { class: "action title-style-3" }, At = {
|
|
@@ -300,76 +300,76 @@ const xt = {
|
|
|
300
300
|
center: { type: Boolean, default: !1 }
|
|
301
301
|
},
|
|
302
302
|
setup(t) {
|
|
303
|
-
return (e,
|
|
303
|
+
return (e, c) => e.mode === "default1" ? (n(), l("div", {
|
|
304
304
|
key: 0,
|
|
305
305
|
class: d(["cu-bar bg-white", e.center !== !1 ? "justify-center" : ""])
|
|
306
306
|
}, [
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
o("div", Tt, [
|
|
308
|
+
o("div", {
|
|
309
309
|
class: d(["tib text-xl", `text-${e.color}`])
|
|
310
310
|
}, u(e.title), 3),
|
|
311
|
-
|
|
311
|
+
o("div", {
|
|
312
312
|
class: d(["tib", `bg-${e.decorateColor}`]),
|
|
313
313
|
style: { width: "2rem" }
|
|
314
314
|
}, null, 2)
|
|
315
315
|
])
|
|
316
|
-
], 2)) : e.mode === "default2" ? (
|
|
316
|
+
], 2)) : e.mode === "default2" ? (n(), l("div", {
|
|
317
317
|
key: 1,
|
|
318
318
|
class: d(["cu-bar bg-white", e.center !== !1 ? "justify-center" : ""])
|
|
319
319
|
}, [
|
|
320
|
-
|
|
321
|
-
|
|
320
|
+
o("div", St, [
|
|
321
|
+
o("div", Bt, u(e.title), 1),
|
|
322
322
|
jt
|
|
323
323
|
])
|
|
324
|
-
], 2)) : e.mode === "default3" ? (
|
|
324
|
+
], 2)) : e.mode === "default3" ? (n(), l("div", {
|
|
325
325
|
key: 2,
|
|
326
326
|
class: d(["cu-bar bg-white", e.center !== !1 ? "justify-center" : ""])
|
|
327
327
|
}, [
|
|
328
|
-
|
|
329
|
-
|
|
328
|
+
o("div", Et, [
|
|
329
|
+
o("div", Vt, u(e.title), 1),
|
|
330
330
|
Mt
|
|
331
331
|
])
|
|
332
|
-
], 2)) : e.mode === "default4" ? (
|
|
332
|
+
], 2)) : e.mode === "default4" ? (n(), l("div", {
|
|
333
333
|
key: 3,
|
|
334
334
|
class: d(["cu-bar bg-white", e.center !== !1 ? "justify-center" : ""])
|
|
335
335
|
}, [
|
|
336
|
-
|
|
337
|
-
|
|
336
|
+
o("div", zt, [
|
|
337
|
+
o("div", {
|
|
338
338
|
class: d(["tib text-xl text-bold", `text-${e.color}`])
|
|
339
339
|
}, u(e.title), 3),
|
|
340
|
-
|
|
340
|
+
o("div", {
|
|
341
341
|
class: d(["tib text-ABC", `text-${e.decorateColor}`])
|
|
342
342
|
}, u(e.deputy), 3)
|
|
343
343
|
])
|
|
344
|
-
], 2)) : e.mode === "bilingual" ? (
|
|
344
|
+
], 2)) : e.mode === "bilingual" ? (n(), l("div", {
|
|
345
345
|
key: 4,
|
|
346
346
|
class: d(["cu-bar bg-white", e.center !== !1 ? "justify-center" : ""])
|
|
347
347
|
}, [
|
|
348
|
-
|
|
349
|
-
|
|
348
|
+
o("div", qt, [
|
|
349
|
+
o("div", {
|
|
350
350
|
class: d(["tib", `text-${e.color}`])
|
|
351
351
|
}, u(e.title), 3),
|
|
352
|
-
|
|
352
|
+
o("div", {
|
|
353
353
|
class: d(["tib text-Abc self-end margin-left-sm", `text-${e.decorateColor}`])
|
|
354
354
|
}, u(e.deputy), 3)
|
|
355
355
|
])
|
|
356
|
-
], 2)) : e.mode === "icon-title" ? (
|
|
357
|
-
|
|
358
|
-
|
|
356
|
+
], 2)) : e.mode === "icon-title" ? (n(), l("div", At, [
|
|
357
|
+
o("div", Nt, [
|
|
358
|
+
o("i", {
|
|
359
359
|
class: d(`cuIcon-${e.icon} text-${e.color}`)
|
|
360
360
|
}, null, 2),
|
|
361
|
-
|
|
361
|
+
o("div", {
|
|
362
362
|
class: d(["tib text-xl", `text-${e.decorateColor}`])
|
|
363
363
|
}, u(e.title), 3)
|
|
364
364
|
])
|
|
365
|
-
])) : (
|
|
366
|
-
|
|
367
|
-
|
|
365
|
+
])) : (n(), l("div", Pt, [
|
|
366
|
+
o("div", Lt, [
|
|
367
|
+
o("i", {
|
|
368
368
|
class: d(`cuIcon-${e.icon} text-${e.color}`)
|
|
369
369
|
}, null, 2),
|
|
370
370
|
S(e.$slots, "default")
|
|
371
371
|
]),
|
|
372
|
-
|
|
372
|
+
o("div", Dt, [
|
|
373
373
|
S(e.$slots, "action")
|
|
374
374
|
])
|
|
375
375
|
]));
|
|
@@ -384,11 +384,11 @@ const xt = {
|
|
|
384
384
|
mode: { default: "round" }
|
|
385
385
|
},
|
|
386
386
|
setup(t) {
|
|
387
|
-
return (e,
|
|
387
|
+
return (e, c) => e.url ? (n(), l("div", {
|
|
388
388
|
key: 0,
|
|
389
389
|
class: d(["cu-avatar", e.size, e.mode]),
|
|
390
390
|
style: w({ backgroundImage: `url(${e.url})` })
|
|
391
|
-
}, null, 6)) : (
|
|
391
|
+
}, null, 6)) : (n(), l("div", {
|
|
392
392
|
key: 1,
|
|
393
393
|
class: d(["padding-xs", ["cu-avatar", e.size, e.mode]])
|
|
394
394
|
}, [
|
|
@@ -405,9 +405,9 @@ const xt = {
|
|
|
405
405
|
mode: { default: "round" }
|
|
406
406
|
},
|
|
407
407
|
setup(t) {
|
|
408
|
-
return (e,
|
|
409
|
-
(
|
|
410
|
-
key:
|
|
408
|
+
return (e, c) => (n(), l("div", Ut, [
|
|
409
|
+
(n(!0), l(b, null, y(e.urls, (s, i) => (n(), V(z, {
|
|
410
|
+
key: i,
|
|
411
411
|
url: s,
|
|
412
412
|
size: e.size
|
|
413
413
|
}, null, 8, ["url", "size"]))), 128))
|
|
@@ -427,7 +427,7 @@ const xt = {
|
|
|
427
427
|
shadow: { type: Boolean, default: !1 }
|
|
428
428
|
},
|
|
429
429
|
setup(t) {
|
|
430
|
-
const e = t,
|
|
430
|
+
const e = t, c = j(() => [
|
|
431
431
|
"cu-btn",
|
|
432
432
|
e.rounded ? "round" : "radius",
|
|
433
433
|
e.shadow ? "shadow" : "",
|
|
@@ -435,21 +435,21 @@ const xt = {
|
|
|
435
435
|
e.size !== "default" ? e.size : ""
|
|
436
436
|
].join(" ")), s = j(() => ({
|
|
437
437
|
cursor: e.disabled ? "not-allowed" : "pointer"
|
|
438
|
-
})),
|
|
438
|
+
})), i = j(() => ({
|
|
439
439
|
marginRight: e.text ? "8px" : "0"
|
|
440
440
|
}));
|
|
441
|
-
return (a, h) => (
|
|
442
|
-
class: d(
|
|
441
|
+
return (a, h) => (n(), l("button", {
|
|
442
|
+
class: d(c.value),
|
|
443
443
|
style: w(s.value),
|
|
444
444
|
disabled: a.disabled
|
|
445
445
|
}, [
|
|
446
446
|
S(a.$slots, "default"),
|
|
447
|
-
a.icon ? (
|
|
447
|
+
a.icon ? (n(), l("i", {
|
|
448
448
|
key: 0,
|
|
449
449
|
class: d(`cuIcon-${a.icon}`),
|
|
450
|
-
style: w(
|
|
451
|
-
}, null, 6)) :
|
|
452
|
-
a.text ? (
|
|
450
|
+
style: w(i.value)
|
|
451
|
+
}, null, 6)) : p("", !0),
|
|
452
|
+
a.text ? (n(), l("span", Ot, u(a.text), 1)) : p("", !0)
|
|
453
453
|
], 14, Yt));
|
|
454
454
|
}
|
|
455
455
|
}), Gt = { key: 0 }, Kt = {
|
|
@@ -465,19 +465,19 @@ const xt = {
|
|
|
465
465
|
line: { type: Boolean, default: !1 }
|
|
466
466
|
},
|
|
467
467
|
setup(t) {
|
|
468
|
-
const e = t,
|
|
468
|
+
const e = t, c = j(() => [
|
|
469
469
|
"cu-tag",
|
|
470
470
|
e.shape !== "default" ? e.shape : "",
|
|
471
471
|
e.light !== !1 ? "light" : "",
|
|
472
472
|
`${e.line !== !1 ? "line" : "bg"}-${e.bg}`,
|
|
473
473
|
e.size !== "default" ? e.size : ""
|
|
474
474
|
].join(" ")), s = j(() => ({}));
|
|
475
|
-
return (
|
|
476
|
-
class: d(
|
|
475
|
+
return (i, a) => (n(), l("div", {
|
|
476
|
+
class: d(c.value),
|
|
477
477
|
style: w(s.value)
|
|
478
478
|
}, [
|
|
479
|
-
S(
|
|
480
|
-
|
|
479
|
+
S(i.$slots, "default"),
|
|
480
|
+
i.text ? (n(), l("span", Gt, u(i.text), 1)) : p("", !0)
|
|
481
481
|
], 6));
|
|
482
482
|
}
|
|
483
483
|
});
|
|
@@ -545,31 +545,31 @@ const Jt = ["onClick"], Qt = {
|
|
|
545
545
|
} }
|
|
546
546
|
},
|
|
547
547
|
setup(t) {
|
|
548
|
-
const e = t,
|
|
549
|
-
e.onItemClick && e.onItemClick(s,
|
|
548
|
+
const e = t, c = (s, i) => {
|
|
549
|
+
e.onItemClick && e.onItemClick(s, i);
|
|
550
550
|
};
|
|
551
|
-
return (s,
|
|
551
|
+
return (s, i) => (n(), l("div", {
|
|
552
552
|
class: d(["cu-bar tabbar", `bg-${s.bg} ${s.isFoot ? "foot" : ""}`])
|
|
553
553
|
}, [
|
|
554
|
-
(
|
|
554
|
+
(n(!0), l(b, null, y(s.items, (a, h) => (n(), l("div", {
|
|
555
555
|
key: h,
|
|
556
556
|
class: d(["action", `text-${h === s.activeIndex ? s.activeColor : s.color}`]),
|
|
557
|
-
onClick: (r) =>
|
|
557
|
+
onClick: (r) => c(a, h)
|
|
558
558
|
}, [
|
|
559
|
-
a.img ? (
|
|
560
|
-
|
|
559
|
+
a.img ? (n(), l("div", Qt, [
|
|
560
|
+
o("img", {
|
|
561
561
|
src: a.img,
|
|
562
562
|
style: { width: "21px", height: "21px" },
|
|
563
563
|
class: "radius"
|
|
564
564
|
}, null, 8, Wt),
|
|
565
|
-
a.badge ? (
|
|
566
|
-
])) : (
|
|
565
|
+
a.badge ? (n(), l("div", Zt, u(a.badge), 1)) : p("", !0)
|
|
566
|
+
])) : (n(), l("div", {
|
|
567
567
|
key: 1,
|
|
568
568
|
class: d(`cuIcon-${a.icon}`)
|
|
569
569
|
}, [
|
|
570
|
-
a.badge ? (
|
|
570
|
+
a.badge ? (n(), l("div", es, u(a.badge), 1)) : p("", !0)
|
|
571
571
|
], 2)),
|
|
572
|
-
|
|
572
|
+
o("div", null, u(a.label), 1)
|
|
573
573
|
], 10, Jt))), 128))
|
|
574
574
|
], 2));
|
|
575
575
|
}
|
|
@@ -580,7 +580,7 @@ G.install = (t) => {
|
|
|
580
580
|
const ss = {
|
|
581
581
|
key: 0,
|
|
582
582
|
class: "action"
|
|
583
|
-
},
|
|
583
|
+
}, ns = { key: 1 }, os = { class: "content text-bold" }, ls = {
|
|
584
584
|
key: 2,
|
|
585
585
|
class: "action"
|
|
586
586
|
}, as = { name: "TTopBar" }, K = /* @__PURE__ */ _({
|
|
@@ -596,40 +596,40 @@ const ss = {
|
|
|
596
596
|
avatarUrl: {}
|
|
597
597
|
},
|
|
598
598
|
setup(t) {
|
|
599
|
-
return (e,
|
|
599
|
+
return (e, c) => (n(), l("div", {
|
|
600
600
|
class: d(["cu-bar", `bg-${e.bg}`])
|
|
601
601
|
}, [
|
|
602
|
-
e.leftIcon || e.leftText ? (
|
|
603
|
-
e.leftIcon ? (
|
|
602
|
+
e.leftIcon || e.leftText ? (n(), l("div", ss, [
|
|
603
|
+
e.leftIcon ? (n(), l("text", {
|
|
604
604
|
key: 0,
|
|
605
605
|
class: d(`cuIcon-${e.leftIcon} text-${e.leftIconColor}`)
|
|
606
|
-
}, null, 2)) :
|
|
607
|
-
e.leftText ? (
|
|
608
|
-
])) :
|
|
609
|
-
e.avatarUrl ? (
|
|
606
|
+
}, null, 2)) : p("", !0),
|
|
607
|
+
e.leftText ? (n(), l("span", ns, u(e.leftText), 1)) : p("", !0)
|
|
608
|
+
])) : p("", !0),
|
|
609
|
+
e.avatarUrl ? (n(), l("div", {
|
|
610
610
|
key: 1,
|
|
611
611
|
class: "cu-avatar round",
|
|
612
612
|
style: w({ backgroundImage: `url(${e.avatarUrl})` })
|
|
613
|
-
}, null, 4)) :
|
|
614
|
-
|
|
615
|
-
e.rightIcon ? (
|
|
616
|
-
|
|
613
|
+
}, null, 4)) : p("", !0),
|
|
614
|
+
o("div", os, u(e.title), 1),
|
|
615
|
+
e.rightIcon ? (n(), l("div", ls, [
|
|
616
|
+
o("text", {
|
|
617
617
|
class: d(`cuIcon-${e.rightIcon} text-${e.rightIconColor}`)
|
|
618
618
|
}, null, 2)
|
|
619
|
-
])) :
|
|
619
|
+
])) : p("", !0)
|
|
620
620
|
], 2));
|
|
621
621
|
}
|
|
622
622
|
});
|
|
623
623
|
K.install = (t) => {
|
|
624
624
|
t.component(K.name, K);
|
|
625
625
|
};
|
|
626
|
-
const
|
|
626
|
+
const is = /* @__PURE__ */ o("text", { class: "cuIcon-search" }, null, -1), cs = ["placeholder"], rs = { class: "action" }, us = {
|
|
627
627
|
key: 0,
|
|
628
628
|
class: "cu-btn bg-green shadow-blur round"
|
|
629
|
-
}, ds = { key: 0 }, hs = { key: 3 },
|
|
629
|
+
}, ds = { key: 0 }, hs = { key: 3 }, ps = {
|
|
630
630
|
name: "TSearchBar"
|
|
631
631
|
}, J = /* @__PURE__ */ _({
|
|
632
|
-
...
|
|
632
|
+
...ps,
|
|
633
633
|
props: {
|
|
634
634
|
placeholder: { default: "" },
|
|
635
635
|
bgColor: { default: "white" },
|
|
@@ -642,44 +642,44 @@ const cs = /* @__PURE__ */ n("text", { class: "cuIcon-search" }, null, -1), is =
|
|
|
642
642
|
actionText: {}
|
|
643
643
|
},
|
|
644
644
|
setup(t) {
|
|
645
|
-
const e = T(0),
|
|
646
|
-
e.value =
|
|
645
|
+
const e = T(0), c = (i) => {
|
|
646
|
+
e.value = i.detail.height;
|
|
647
647
|
}, s = () => {
|
|
648
648
|
e.value = 0;
|
|
649
649
|
};
|
|
650
|
-
return (
|
|
651
|
-
class: d(["cu-bar", `bg-${
|
|
650
|
+
return (i, a) => (n(), l("div", {
|
|
651
|
+
class: d(["cu-bar", `bg-${i.bgColor}`, "search"])
|
|
652
652
|
}, [
|
|
653
|
-
|
|
653
|
+
i.avatarUrl ? (n(), l("div", {
|
|
654
654
|
key: 0,
|
|
655
655
|
class: "cu-avatar round",
|
|
656
|
-
style: w({ backgroundImage: `url(${
|
|
657
|
-
}, null, 4)) :
|
|
658
|
-
|
|
659
|
-
class: d(["search-form",
|
|
656
|
+
style: w({ backgroundImage: `url(${i.avatarUrl})` })
|
|
657
|
+
}, null, 4)) : p("", !0),
|
|
658
|
+
o("div", {
|
|
659
|
+
class: d(["search-form", i.borderRadiusClass])
|
|
660
660
|
}, [
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
onFocus:
|
|
661
|
+
is,
|
|
662
|
+
o("input", {
|
|
663
|
+
onFocus: c,
|
|
664
664
|
onBlur: s,
|
|
665
665
|
"adjust-position": !1,
|
|
666
666
|
type: "text",
|
|
667
|
-
placeholder:
|
|
667
|
+
placeholder: i.placeholder,
|
|
668
668
|
"confirm-type": "search"
|
|
669
|
-
}, null, 40,
|
|
669
|
+
}, null, 40, cs)
|
|
670
670
|
], 2),
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
671
|
+
o("div", rs, [
|
|
672
|
+
i.buttonText ? (n(), l("button", us, u(i.buttonText), 1)) : (n(), l(b, { key: 1 }, [
|
|
673
|
+
i.location ? (n(), l("text", ds, u(i.location), 1)) : p("", !0),
|
|
674
|
+
i.locationIcon ? (n(), l("text", {
|
|
675
675
|
key: 1,
|
|
676
|
-
class: d(`cuIcon-${
|
|
677
|
-
}, null, 2)) :
|
|
678
|
-
|
|
676
|
+
class: d(`cuIcon-${i.locationIcon}`)
|
|
677
|
+
}, null, 2)) : p("", !0),
|
|
678
|
+
i.actionIcon ? (n(), l("text", {
|
|
679
679
|
key: 2,
|
|
680
|
-
class: d(`cuIcon-${
|
|
681
|
-
}, null, 2)) :
|
|
682
|
-
|
|
680
|
+
class: d(`cuIcon-${i.actionIcon}`)
|
|
681
|
+
}, null, 2)) : p("", !0),
|
|
682
|
+
i.actionText ? (n(), l("text", hs, u(i.actionText), 1)) : p("", !0)
|
|
683
683
|
], 64))
|
|
684
684
|
])
|
|
685
685
|
], 2));
|
|
@@ -688,10 +688,10 @@ const cs = /* @__PURE__ */ n("text", { class: "cuIcon-search" }, null, -1), is =
|
|
|
688
688
|
J.install = (t) => {
|
|
689
689
|
t.component(J.name, J);
|
|
690
690
|
};
|
|
691
|
-
const
|
|
691
|
+
const fs = {
|
|
692
692
|
key: 0,
|
|
693
693
|
class: "string-list"
|
|
694
|
-
},
|
|
694
|
+
}, ms = ["innerHTML", "onClick"], gs = /* @__PURE__ */ _({
|
|
695
695
|
__name: "CandidateBox",
|
|
696
696
|
props: {
|
|
697
697
|
text: {},
|
|
@@ -699,25 +699,25 @@ const ps = {
|
|
|
699
699
|
},
|
|
700
700
|
emits: ["send"],
|
|
701
701
|
setup(t, { emit: e }) {
|
|
702
|
-
const
|
|
703
|
-
|
|
702
|
+
const c = e, s = t, i = (h = "", r) => {
|
|
703
|
+
c("send", h, r);
|
|
704
704
|
}, a = j(() => s.stringArray.map((h) => {
|
|
705
705
|
if (!s.text)
|
|
706
706
|
return h.text;
|
|
707
707
|
let r = "";
|
|
708
|
-
for (let
|
|
709
|
-
s.text.includes(
|
|
708
|
+
for (let f of h.text)
|
|
709
|
+
s.text.includes(f) ? r += `<span style="color:#ff0000">${f}</span>` : r += f;
|
|
710
710
|
return r;
|
|
711
711
|
}));
|
|
712
|
-
return (h, r) => h.stringArray.length ? (
|
|
713
|
-
(
|
|
712
|
+
return (h, r) => h.stringArray.length ? (n(), l("ul", fs, [
|
|
713
|
+
(n(!0), l(b, null, y(a.value, (f, $) => (n(), l("li", {
|
|
714
714
|
key: $,
|
|
715
|
-
innerHTML:
|
|
716
|
-
onClick: (
|
|
717
|
-
}, null, 8,
|
|
718
|
-
])) :
|
|
715
|
+
innerHTML: f,
|
|
716
|
+
onClick: (g) => i(h.stringArray[$].text, h.stringArray[$])
|
|
717
|
+
}, null, 8, ms))), 128))
|
|
718
|
+
])) : p("", !0);
|
|
719
719
|
}
|
|
720
|
-
}), _s = /* @__PURE__ */ A(
|
|
720
|
+
}), _s = /* @__PURE__ */ A(gs, [["__scopeId", "data-v-c7a21a1c"]]), vs = [
|
|
721
721
|
"😀",
|
|
722
722
|
"😁",
|
|
723
723
|
"😂",
|
|
@@ -781,20 +781,59 @@ const ps = {
|
|
|
781
781
|
"☠",
|
|
782
782
|
"👻",
|
|
783
783
|
"👽"
|
|
784
|
+
], Hn = [
|
|
785
|
+
{ title: "红色", name: "red" },
|
|
786
|
+
{ title: "橙色", name: "orange" },
|
|
787
|
+
{ title: "黄色", name: "yellow" },
|
|
788
|
+
{ title: "橄榄色", name: "olive" },
|
|
789
|
+
{ title: "绿色", name: "green" },
|
|
790
|
+
{ title: "青色", name: "cyan" },
|
|
791
|
+
{ title: "蓝色", name: "blue" },
|
|
792
|
+
{ title: "紫色", name: "purple" },
|
|
793
|
+
{ title: "淡紫色", name: "mauve" },
|
|
794
|
+
{ title: "粉色", name: "pink" },
|
|
795
|
+
{ title: "棕色", name: "brown" },
|
|
796
|
+
{ title: "灰色", name: "grey" },
|
|
797
|
+
{ title: "灰色", name: "gray" },
|
|
798
|
+
{ title: "黑色", name: "black" },
|
|
799
|
+
{ title: "白色", name: "white" },
|
|
800
|
+
{ title: "渐变红", name: "gradual-red" },
|
|
801
|
+
{ title: "渐变橙", name: "gradual-orange" },
|
|
802
|
+
{ title: "渐变绿", name: "gradual-green" },
|
|
803
|
+
{ title: "渐变紫", name: "gradual-purple" },
|
|
804
|
+
{ title: "渐变粉", name: "gradual-pink" },
|
|
805
|
+
{ title: "渐变蓝", name: "gradual-blue" },
|
|
806
|
+
{ title: "渐变青", name: "gradual-teal" },
|
|
807
|
+
{ title: "渐变日落", name: "gradual-sunset" },
|
|
808
|
+
{ title: "渐变梦幻", name: "gradual-dream" },
|
|
809
|
+
{ title: "渐变活力橙", name: "gradual-vibrant-orange" },
|
|
810
|
+
{ title: "渐变紫蓝", name: "gradual-purple-blue" },
|
|
811
|
+
{ title: "渐变柔粉蓝", name: "gradual-soft-pink-blue" },
|
|
812
|
+
{ title: "渐变彩虹", name: "gradual-rainbow" },
|
|
813
|
+
{ title: "渐变蓝紫", name: "gradual-blue-purple" },
|
|
814
|
+
{ title: "渐变热带", name: "gradual-tropical" },
|
|
815
|
+
{ title: "渐变梦幻蓝", name: "gradual-dreamy" },
|
|
816
|
+
{ title: "渐变金色", name: "gradual-golden" },
|
|
817
|
+
{ title: "渐变灰", name: "gradual-gray" },
|
|
818
|
+
{ title: "渐变棕", name: "gradual-brown" },
|
|
819
|
+
{ title: "渐变金属", name: "gradual-metal" },
|
|
820
|
+
{ title: "渐变湖蓝", name: "gradual-lake-blue" },
|
|
821
|
+
{ title: "渐变玫瑰金", name: "gradual-rose-gold" },
|
|
822
|
+
{ title: "渐变海洋", name: "gradual-ocean" }
|
|
784
823
|
], bs = ["onClick"], $s = /* @__PURE__ */ _({
|
|
785
824
|
__name: "EmojiPanel",
|
|
786
825
|
emits: ["addEmoji"],
|
|
787
826
|
setup(t, { emit: e }) {
|
|
788
|
-
const
|
|
789
|
-
|
|
827
|
+
const c = e, s = (i) => {
|
|
828
|
+
c("addEmoji", i);
|
|
790
829
|
};
|
|
791
|
-
return (
|
|
830
|
+
return (i, a) => (n(), l("div", {
|
|
792
831
|
class: "emoji-panel",
|
|
793
832
|
ref: "emojiPanel",
|
|
794
833
|
onClick: a[0] || (a[0] = de(() => {
|
|
795
834
|
}, ["stop"]))
|
|
796
835
|
}, [
|
|
797
|
-
(
|
|
836
|
+
(n(!0), l(b, null, y(Se(vs), (h) => (n(), l("span", {
|
|
798
837
|
key: h,
|
|
799
838
|
onClick: (r) => s(h)
|
|
800
839
|
}, u(h), 9, bs))), 128))
|
|
@@ -808,25 +847,25 @@ const ps = {
|
|
|
808
847
|
setup(t) {
|
|
809
848
|
const e = T(null);
|
|
810
849
|
return D(() => {
|
|
811
|
-
}), (
|
|
812
|
-
const
|
|
813
|
-
return
|
|
814
|
-
|
|
850
|
+
}), (c, s) => {
|
|
851
|
+
const i = ke("TIcon");
|
|
852
|
+
return n(), l("div", ks, [
|
|
853
|
+
o("div", {
|
|
815
854
|
class: "function-panel",
|
|
816
855
|
ref_key: "functionPanel",
|
|
817
856
|
ref: e
|
|
818
857
|
}, [
|
|
819
|
-
(
|
|
858
|
+
(n(!0), l(b, null, y(c.items, (a, h) => (n(), l("div", {
|
|
820
859
|
key: h,
|
|
821
860
|
class: "function-item",
|
|
822
861
|
onClick: a.event
|
|
823
862
|
}, [
|
|
824
|
-
P(
|
|
863
|
+
P(i, {
|
|
825
864
|
name: a.icon,
|
|
826
865
|
color: a.color,
|
|
827
866
|
size: 26
|
|
828
867
|
}, null, 8, ["name", "color"]),
|
|
829
|
-
|
|
868
|
+
o("span", null, u(a.text), 1)
|
|
830
869
|
], 8, Is))), 128))
|
|
831
870
|
], 512)
|
|
832
871
|
]);
|
|
@@ -851,74 +890,74 @@ const ps = {
|
|
|
851
890
|
},
|
|
852
891
|
emits: ["update:modelValue", "send"],
|
|
853
892
|
setup(t, { emit: e }) {
|
|
854
|
-
const
|
|
855
|
-
|
|
856
|
-
},
|
|
857
|
-
|
|
858
|
-
}, $ = (
|
|
859
|
-
|
|
860
|
-
},
|
|
861
|
-
|
|
893
|
+
const c = T(0), s = T(!1), i = T(!1), a = e, h = t, r = (m) => {
|
|
894
|
+
c.value = m.detail.height;
|
|
895
|
+
}, f = () => {
|
|
896
|
+
c.value = 0;
|
|
897
|
+
}, $ = (m = "", C) => {
|
|
898
|
+
m ? a("send", m, C) : a("send", h.modelValue), a("update:modelValue", ""), s.value = !1;
|
|
899
|
+
}, g = () => {
|
|
900
|
+
i.value = !1, s.value = !s.value;
|
|
862
901
|
}, I = () => {
|
|
863
|
-
s.value = !1,
|
|
864
|
-
}, B = (
|
|
865
|
-
a("update:modelValue", h.modelValue +
|
|
866
|
-
}, E = (
|
|
867
|
-
const C =
|
|
902
|
+
s.value = !1, i.value = !i.value;
|
|
903
|
+
}, B = (m) => {
|
|
904
|
+
a("update:modelValue", h.modelValue + m);
|
|
905
|
+
}, E = (m) => {
|
|
906
|
+
const C = m.target;
|
|
868
907
|
a("update:modelValue", C.value);
|
|
869
908
|
};
|
|
870
909
|
return D(() => {
|
|
871
910
|
}), Be(() => {
|
|
872
|
-
}), (
|
|
911
|
+
}), (m, C) => (n(), l(b, null, [
|
|
873
912
|
P(_s, {
|
|
874
|
-
text:
|
|
875
|
-
"string-array":
|
|
913
|
+
text: m.modelValue,
|
|
914
|
+
"string-array": m.stringArray,
|
|
876
915
|
onSend: $
|
|
877
916
|
}, null, 8, ["text", "string-array"]),
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
class: d(`cuIcon-${
|
|
917
|
+
o("div", xs, [
|
|
918
|
+
m.leftIcon ? (n(), l("div", Ts, [
|
|
919
|
+
o("text", {
|
|
920
|
+
class: d(`cuIcon-${m.leftIcon} text-grey`)
|
|
882
921
|
}, null, 2)
|
|
883
|
-
])) :
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
class: d(`cuIcon-${
|
|
922
|
+
])) : p("", !0),
|
|
923
|
+
m.middleIcon ? (n(), l("div", Ss, [
|
|
924
|
+
o("text", {
|
|
925
|
+
class: d(`cuIcon-${m.middleIcon} text-grey`)
|
|
887
926
|
}, null, 2)
|
|
888
|
-
])) :
|
|
889
|
-
|
|
927
|
+
])) : p("", !0),
|
|
928
|
+
o("input", {
|
|
890
929
|
onFocus: r,
|
|
891
|
-
onBlur:
|
|
930
|
+
onBlur: f,
|
|
892
931
|
onKeydown: C[0] || (C[0] = je((N) => $(), ["enter"])),
|
|
893
932
|
onConfirm: C[1] || (C[1] = (N) => $()),
|
|
894
933
|
"adjust-position": !1,
|
|
895
934
|
class: "solid-bottom",
|
|
896
935
|
maxlength: "300",
|
|
897
936
|
"cursor-spacing": "10",
|
|
898
|
-
value:
|
|
937
|
+
value: m.modelValue,
|
|
899
938
|
onInput: E
|
|
900
939
|
}, null, 40, Bs),
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
class: d(`cuIcon-${
|
|
904
|
-
onClick: de(
|
|
940
|
+
o("div", js, [
|
|
941
|
+
o("text", {
|
|
942
|
+
class: d(`cuIcon-${m.rightIcon} text-grey`),
|
|
943
|
+
onClick: de(g, ["stop"])
|
|
905
944
|
}, null, 2),
|
|
906
|
-
|
|
945
|
+
m.functionItems && m.functionItems.length > 0 ? (n(), l("text", {
|
|
907
946
|
key: 0,
|
|
908
947
|
class: d("cuIcon-roundaddfill text-grey"),
|
|
909
948
|
onClick: de(I, ["stop"])
|
|
910
|
-
})) :
|
|
949
|
+
})) : p("", !0)
|
|
911
950
|
]),
|
|
912
|
-
|
|
951
|
+
o("button", {
|
|
913
952
|
class: "cu-btn bg-green shadow-blur round",
|
|
914
953
|
onClick: C[2] || (C[2] = (N) => $())
|
|
915
|
-
}, u(
|
|
954
|
+
}, u(m.buttonText), 1)
|
|
916
955
|
]),
|
|
917
956
|
he(P(ys, { onAddEmoji: B }, null, 512), [
|
|
918
|
-
[
|
|
957
|
+
[pe, s.value]
|
|
919
958
|
]),
|
|
920
|
-
he(P(Cs, { items:
|
|
921
|
-
[
|
|
959
|
+
he(P(Cs, { items: m.functionItems }, null, 8, ["items"]), [
|
|
960
|
+
[pe, i.value]
|
|
922
961
|
])
|
|
923
962
|
], 64));
|
|
924
963
|
}
|
|
@@ -943,44 +982,44 @@ const Ms = ["onClick"], zs = { class: "tab-content" }, qs = {
|
|
|
943
982
|
},
|
|
944
983
|
emits: ["update:modelValue", "select"],
|
|
945
984
|
setup(t, { emit: e }) {
|
|
946
|
-
const
|
|
947
|
-
a.value =
|
|
985
|
+
const c = t, s = e, i = T([]), a = T(c.modelValue), h = (g, I) => {
|
|
986
|
+
a.value = g, s("update:modelValue", g), s("select", I);
|
|
948
987
|
};
|
|
949
|
-
ve("registerTab", (
|
|
950
|
-
const
|
|
988
|
+
ve("registerTab", (g) => (i.value.push(g), i.value.length - 1)), ve("activeTab", a);
|
|
989
|
+
const f = j(() => c.center !== !1 ? "justify-content:center;" : `justify-content:${c.mode}`), $ = j(() => (g) => {
|
|
951
990
|
let I = [];
|
|
952
|
-
return a.value ===
|
|
991
|
+
return a.value === g && (I.push(`text-${c.color}`), c.bold !== !1 && I.push("text-bold"), c.line !== !1 && I.push("cur")), I;
|
|
953
992
|
});
|
|
954
993
|
return Ie(
|
|
955
|
-
() =>
|
|
956
|
-
(
|
|
957
|
-
a.value =
|
|
994
|
+
() => c.modelValue,
|
|
995
|
+
(g) => {
|
|
996
|
+
a.value = g;
|
|
958
997
|
},
|
|
959
998
|
{
|
|
960
999
|
immediate: !0
|
|
961
1000
|
}
|
|
962
|
-
), (
|
|
963
|
-
class: d(
|
|
1001
|
+
), (g, I) => (n(), l("div", {
|
|
1002
|
+
class: d(g.isCard !== !1 ? "is-card" : "")
|
|
964
1003
|
}, [
|
|
965
|
-
|
|
966
|
-
class: d(["nav flex", [, `bg-${
|
|
967
|
-
style: w(
|
|
1004
|
+
o("div", {
|
|
1005
|
+
class: d(["nav flex", [, `bg-${g.bg}`, `text-${g.text}`]]),
|
|
1006
|
+
style: w(f.value)
|
|
968
1007
|
}, [
|
|
969
|
-
(
|
|
1008
|
+
(n(!0), l(b, null, y(i.value, (B, E) => (n(), l("div", {
|
|
970
1009
|
class: d(["cu-item", $.value(E)]),
|
|
971
1010
|
key: E,
|
|
972
|
-
onClick: (
|
|
1011
|
+
onClick: (m) => h(E, B)
|
|
973
1012
|
}, [
|
|
974
|
-
B.icon ? (
|
|
1013
|
+
B.icon ? (n(), l("i", {
|
|
975
1014
|
key: 0,
|
|
976
|
-
class: d(`cuIcon-${B.icon} text-${a.value === E ?
|
|
977
|
-
}, null, 2)) :
|
|
1015
|
+
class: d(`cuIcon-${B.icon} text-${a.value === E ? g.color : B.iconColor}`)
|
|
1016
|
+
}, null, 2)) : p("", !0),
|
|
978
1017
|
k(" " + u(B.label), 1)
|
|
979
1018
|
], 10, Ms))), 128))
|
|
980
1019
|
], 6),
|
|
981
|
-
|
|
982
|
-
S(
|
|
983
|
-
tab:
|
|
1020
|
+
o("div", zs, [
|
|
1021
|
+
S(g.$slots, "default", {
|
|
1022
|
+
tab: i.value[a.value]
|
|
984
1023
|
})
|
|
985
1024
|
])
|
|
986
1025
|
], 2));
|
|
@@ -995,24 +1034,24 @@ const Ms = ["onClick"], zs = { class: "tab-content" }, qs = {
|
|
|
995
1034
|
iconColor: { default: "black" }
|
|
996
1035
|
},
|
|
997
1036
|
setup(t) {
|
|
998
|
-
const e = t,
|
|
1037
|
+
const e = t, c = fe(
|
|
999
1038
|
"registerTab"
|
|
1000
|
-
), s =
|
|
1039
|
+
), s = fe("activeTab"), i = T(null), a = j(() => (s == null ? void 0 : s.value) === i.value), h = j(() => ({
|
|
1001
1040
|
label: e.label,
|
|
1002
1041
|
icon: e.icon,
|
|
1003
1042
|
iconColor: e.iconColor
|
|
1004
1043
|
}));
|
|
1005
1044
|
return D(() => {
|
|
1006
|
-
|
|
1045
|
+
c && (i.value = c({
|
|
1007
1046
|
label: e.label,
|
|
1008
1047
|
icon: e.icon,
|
|
1009
1048
|
iconColor: e.iconColor
|
|
1010
1049
|
}));
|
|
1011
|
-
}), (r,
|
|
1050
|
+
}), (r, f) => he((n(), l("div", null, [
|
|
1012
1051
|
S(r.$slots, "default"),
|
|
1013
1052
|
S(r.$slots, "custom", { tab: h.value })
|
|
1014
1053
|
], 512)), [
|
|
1015
|
-
[
|
|
1054
|
+
[pe, a.value]
|
|
1016
1055
|
]);
|
|
1017
1056
|
}
|
|
1018
1057
|
});
|
|
@@ -1046,7 +1085,7 @@ const Ns = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
|
|
|
1046
1085
|
Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
1047
1086
|
Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
1048
1087
|
function Ps() {
|
|
1049
|
-
return
|
|
1088
|
+
return fe(Ns);
|
|
1050
1089
|
}
|
|
1051
1090
|
const Ls = ["onClick"], Ds = {
|
|
1052
1091
|
key: 0,
|
|
@@ -1124,37 +1163,37 @@ const Ls = ["onClick"], Ds = {
|
|
|
1124
1163
|
routeFn: { type: Function, default: void 0 }
|
|
1125
1164
|
},
|
|
1126
1165
|
setup(t) {
|
|
1127
|
-
const e = t,
|
|
1128
|
-
if (
|
|
1166
|
+
const e = t, c = Ps(), s = (i) => {
|
|
1167
|
+
if (i.path) {
|
|
1129
1168
|
e.routeFn ? e.routeFn().push({
|
|
1130
|
-
path:
|
|
1131
|
-
}) :
|
|
1132
|
-
path:
|
|
1169
|
+
path: i.path
|
|
1170
|
+
}) : c.push({
|
|
1171
|
+
path: i.path
|
|
1133
1172
|
});
|
|
1134
1173
|
return;
|
|
1135
1174
|
}
|
|
1136
|
-
if (
|
|
1137
|
-
window.location.href =
|
|
1175
|
+
if (i.link) {
|
|
1176
|
+
window.location.href = i.link;
|
|
1138
1177
|
return;
|
|
1139
1178
|
}
|
|
1140
1179
|
};
|
|
1141
|
-
return (
|
|
1142
|
-
class: d(["cu-list grid", ["col-" +
|
|
1180
|
+
return (i, a) => (n(), l("div", {
|
|
1181
|
+
class: d(["cu-list grid", ["col-" + i.gridCol, i.gridBorder ? "" : "no-border"]])
|
|
1143
1182
|
}, [
|
|
1144
|
-
(
|
|
1183
|
+
(n(!0), l(b, null, y(i.cuIconList, (h, r) => (n(), l("div", {
|
|
1145
1184
|
class: "cu-item",
|
|
1146
1185
|
key: r,
|
|
1147
|
-
style: w(`width: calc(100% / ${
|
|
1148
|
-
onClick: (
|
|
1186
|
+
style: w(`width: calc(100% / ${i.gridCol})`),
|
|
1187
|
+
onClick: (f) => s(h)
|
|
1149
1188
|
}, [
|
|
1150
|
-
|
|
1189
|
+
o("div", {
|
|
1151
1190
|
class: d(["cuIcon-" + h.cuIcon, "text-" + h.color])
|
|
1152
1191
|
}, [
|
|
1153
|
-
h.badge != 0 ? (
|
|
1154
|
-
h.badge != 1 ? (
|
|
1155
|
-
])) :
|
|
1192
|
+
h.badge != 0 ? (n(), l("div", Ds, [
|
|
1193
|
+
h.badge != 1 ? (n(), l("i", Fs, u((h.badge || 0) > 99 ? "99+" : h.badge), 1)) : p("", !0)
|
|
1194
|
+
])) : p("", !0)
|
|
1156
1195
|
], 2),
|
|
1157
|
-
|
|
1196
|
+
o("text", null, u(h.name), 1)
|
|
1158
1197
|
], 12, Ls))), 128))
|
|
1159
1198
|
], 2));
|
|
1160
1199
|
}
|
|
@@ -1250,56 +1289,56 @@ const Us = ["onClick"], Xs = { class: "content" }, Ys = ["src", "alt"], Os = { c
|
|
|
1250
1289
|
setup(t) {
|
|
1251
1290
|
const e = (s) => {
|
|
1252
1291
|
s.event && s.event(s);
|
|
1253
|
-
},
|
|
1292
|
+
}, c = (s) => {
|
|
1254
1293
|
s && s();
|
|
1255
1294
|
};
|
|
1256
|
-
return (s,
|
|
1295
|
+
return (s, i) => (n(), l("div", {
|
|
1257
1296
|
class: d(["cu-list menu", [s.menuBorder ? "sm-border" : "", s.menuCard ? "card-menu" : ""]])
|
|
1258
1297
|
}, [
|
|
1259
|
-
(
|
|
1298
|
+
(n(!0), l(b, null, y(s.menuItems, (a, h) => (n(), l("div", {
|
|
1260
1299
|
key: h,
|
|
1261
1300
|
class: d(["cu-item", s.menuArrow ? "arrow" : ""]),
|
|
1262
1301
|
onClick: (r) => e(a)
|
|
1263
1302
|
}, [
|
|
1264
|
-
|
|
1265
|
-
a.icon ? (
|
|
1303
|
+
o("div", Xs, [
|
|
1304
|
+
a.icon ? (n(), V(L, {
|
|
1266
1305
|
key: 0,
|
|
1267
1306
|
class: "icon",
|
|
1268
1307
|
name: a.icon.name,
|
|
1269
1308
|
color: a.icon.color
|
|
1270
|
-
}, null, 8, ["name", "color"])) :
|
|
1271
|
-
a.img ? (
|
|
1309
|
+
}, null, 8, ["name", "color"])) : p("", !0),
|
|
1310
|
+
a.img ? (n(), l("img", {
|
|
1272
1311
|
key: 1,
|
|
1273
1312
|
class: "icon",
|
|
1274
1313
|
src: a.img.url,
|
|
1275
1314
|
alt: a.img.alt
|
|
1276
|
-
}, null, 8, Ys)) :
|
|
1277
|
-
|
|
1315
|
+
}, null, 8, Ys)) : p("", !0),
|
|
1316
|
+
o("text", Os, u(a.title), 1)
|
|
1278
1317
|
]),
|
|
1279
|
-
|
|
1280
|
-
a.group ? (
|
|
1318
|
+
o("div", Hs, [
|
|
1319
|
+
a.group ? (n(), V(O, {
|
|
1281
1320
|
key: 0,
|
|
1282
1321
|
urls: a.group
|
|
1283
|
-
}, null, 8, ["urls"])) :
|
|
1284
|
-
a.group ? (
|
|
1285
|
-
a.btn ? (
|
|
1322
|
+
}, null, 8, ["urls"])) : p("", !0),
|
|
1323
|
+
a.group ? (n(), l("text", Gs, u(a.group.length) + "人", 1)) : p("", !0),
|
|
1324
|
+
a.btn ? (n(), l("button", {
|
|
1286
1325
|
key: 2,
|
|
1287
1326
|
class: d(["cu-btn round shadow", `bg-${a.btn.bg}`]),
|
|
1288
1327
|
onClick: (r) => {
|
|
1289
|
-
var
|
|
1290
|
-
return
|
|
1328
|
+
var f;
|
|
1329
|
+
return c((f = a.btn) == null ? void 0 : f.event);
|
|
1291
1330
|
}
|
|
1292
1331
|
}, [
|
|
1293
|
-
a.btn.icon ? (
|
|
1332
|
+
a.btn.icon ? (n(), V(L, {
|
|
1294
1333
|
key: 0,
|
|
1295
1334
|
name: a.btn.icon,
|
|
1296
1335
|
color: "white"
|
|
1297
|
-
}, null, 8, ["name"])) :
|
|
1336
|
+
}, null, 8, ["name"])) : p("", !0),
|
|
1298
1337
|
k(" " + u(a.btn.text), 1)
|
|
1299
|
-
], 10, Ks)) :
|
|
1300
|
-
a.tags ? (
|
|
1338
|
+
], 10, Ks)) : p("", !0),
|
|
1339
|
+
a.tags ? (n(!0), l(b, { key: 3 }, y(a.tags, (r, f) => (n(), V(q, {
|
|
1301
1340
|
size: r.size,
|
|
1302
|
-
key:
|
|
1341
|
+
key: f,
|
|
1303
1342
|
bg: r.bg,
|
|
1304
1343
|
light: r.light,
|
|
1305
1344
|
shape: "round"
|
|
@@ -1308,8 +1347,8 @@ const Us = ["onClick"], Xs = { class: "content" }, Ys = ["src", "alt"], Os = { c
|
|
|
1308
1347
|
k(u(r.text), 1)
|
|
1309
1348
|
]),
|
|
1310
1349
|
_: 2
|
|
1311
|
-
}, 1032, ["size", "bg", "light"]))), 128)) :
|
|
1312
|
-
a.text ? (
|
|
1350
|
+
}, 1032, ["size", "bg", "light"]))), 128)) : p("", !0),
|
|
1351
|
+
a.text ? (n(), l("text", Js, u(a.text), 1)) : p("", !0)
|
|
1313
1352
|
])
|
|
1314
1353
|
], 10, Us))), 128))
|
|
1315
1354
|
], 2));
|
|
@@ -1321,10 +1360,10 @@ te.install = (t) => {
|
|
|
1321
1360
|
const Ws = {
|
|
1322
1361
|
key: 1,
|
|
1323
1362
|
class: "cu-tag badge"
|
|
1324
|
-
}, Zs = { class: "content" },
|
|
1363
|
+
}, Zs = { class: "content" }, en = { class: "flex align-center" }, tn = { class: "text-cut text-black" }, sn = { class: "text-gray text-sm flex" }, nn = { class: "text-cut" }, on = { class: "action" }, ln = { class: "text-grey text-xs" }, an = {
|
|
1325
1364
|
name: "ChatListItem"
|
|
1326
|
-
},
|
|
1327
|
-
...
|
|
1365
|
+
}, me = /* @__PURE__ */ _({
|
|
1366
|
+
...an,
|
|
1328
1367
|
props: {
|
|
1329
1368
|
userinfo: {},
|
|
1330
1369
|
roomId: {},
|
|
@@ -1345,68 +1384,68 @@ const Ws = {
|
|
|
1345
1384
|
},
|
|
1346
1385
|
setup(t) {
|
|
1347
1386
|
const e = t;
|
|
1348
|
-
return (
|
|
1387
|
+
return (c, s) => {
|
|
1349
1388
|
var a;
|
|
1350
|
-
const
|
|
1351
|
-
return
|
|
1352
|
-
class: d(["cu-item", { grayscale:
|
|
1353
|
-
onClick: s[0] || (s[0] = (h) =>
|
|
1389
|
+
const i = ke("TIcon");
|
|
1390
|
+
return n(), l("div", {
|
|
1391
|
+
class: d(["cu-item", { grayscale: c.isDisconnected, cur: c.isCurrent }]),
|
|
1392
|
+
onClick: s[0] || (s[0] = (h) => c.event(e))
|
|
1354
1393
|
}, [
|
|
1355
|
-
|
|
1356
|
-
class: d(["cu-avatar",
|
|
1394
|
+
o("div", {
|
|
1395
|
+
class: d(["cu-avatar", c.userinfo.avatarShape, "lg", `bg-${c.avatarBg}`]),
|
|
1357
1396
|
style: w({
|
|
1358
|
-
backgroundImage:
|
|
1397
|
+
backgroundImage: c.userinfo.avatar ? `url(${c.userinfo.avatar})` : ""
|
|
1359
1398
|
})
|
|
1360
1399
|
}, [
|
|
1361
|
-
(a =
|
|
1400
|
+
(a = c.userinfo) != null && a.avatar ? p("", !0) : (n(), V(i, {
|
|
1362
1401
|
key: 0,
|
|
1363
|
-
name:
|
|
1402
|
+
name: c.avatarName,
|
|
1364
1403
|
size: 36,
|
|
1365
1404
|
color: "white"
|
|
1366
1405
|
}, null, 8, ["name"])),
|
|
1367
|
-
|
|
1406
|
+
c.badge ? (n(), l("div", Ws, u(c.badge), 1)) : p("", !0)
|
|
1368
1407
|
], 6),
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1408
|
+
o("div", Zs, [
|
|
1409
|
+
o("div", en, [
|
|
1410
|
+
o("div", tn, u(c.userinfo.name), 1),
|
|
1411
|
+
c.userinfo.tag ? (n(), l("div", {
|
|
1373
1412
|
key: 0,
|
|
1374
|
-
class: d(["cu-tag", "round", `bg-${
|
|
1375
|
-
}, u(
|
|
1413
|
+
class: d(["cu-tag", "round", `bg-${c.userinfo.tagColor}`, "sm"])
|
|
1414
|
+
}, u(c.userinfo.tag), 3)) : p("", !0)
|
|
1376
1415
|
]),
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
S(
|
|
1416
|
+
o("div", sn, [
|
|
1417
|
+
o("div", nn, [
|
|
1418
|
+
S(c.$slots, "default")
|
|
1380
1419
|
])
|
|
1381
1420
|
])
|
|
1382
1421
|
]),
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1422
|
+
o("div", on, [
|
|
1423
|
+
o("div", ln, u(c.time), 1),
|
|
1424
|
+
c.unread ? (n(), l("div", {
|
|
1386
1425
|
key: 0,
|
|
1387
|
-
class: d(["cu-tag", "round", `bg-${
|
|
1388
|
-
}, u(
|
|
1426
|
+
class: d(["cu-tag", "round", `bg-${c.unreadColor}`, "sm"])
|
|
1427
|
+
}, u(c.unread), 3)) : c.icon ? (n(), l("div", {
|
|
1389
1428
|
key: 1,
|
|
1390
|
-
class: d(
|
|
1391
|
-
}, null, 2)) :
|
|
1429
|
+
class: d(c.iconClass)
|
|
1430
|
+
}, null, 2)) : p("", !0)
|
|
1392
1431
|
])
|
|
1393
1432
|
], 2);
|
|
1394
1433
|
};
|
|
1395
1434
|
}
|
|
1396
|
-
}),
|
|
1435
|
+
}), cn = { class: "cu-list menu-avatar" }, rn = {
|
|
1397
1436
|
name: "ChatList"
|
|
1398
1437
|
}, se = /* @__PURE__ */ _({
|
|
1399
|
-
...
|
|
1438
|
+
...rn,
|
|
1400
1439
|
props: {
|
|
1401
1440
|
items: {}
|
|
1402
1441
|
},
|
|
1403
1442
|
setup(t) {
|
|
1404
|
-
return (e,
|
|
1405
|
-
(
|
|
1443
|
+
return (e, c) => (n(), l("div", cn, [
|
|
1444
|
+
(n(!0), l(b, null, y(e.items, (s, i) => (n(), V(me, {
|
|
1406
1445
|
"avatar-name": s.avatarName,
|
|
1407
1446
|
"avatar-bg": s.avatarBg,
|
|
1408
1447
|
time: s.time,
|
|
1409
|
-
key:
|
|
1448
|
+
key: i,
|
|
1410
1449
|
userinfo: s.userinfo,
|
|
1411
1450
|
unread: s.unread,
|
|
1412
1451
|
unreadColor: s.unreadColor,
|
|
@@ -1428,91 +1467,91 @@ const Ws = {
|
|
|
1428
1467
|
}
|
|
1429
1468
|
});
|
|
1430
1469
|
se.install = (t) => {
|
|
1431
|
-
t.component(se.name, se), t.component(
|
|
1470
|
+
t.component(se.name, se), t.component(me.name, me);
|
|
1432
1471
|
};
|
|
1433
|
-
const
|
|
1472
|
+
const un = { class: "cu-chat" }, dn = {
|
|
1434
1473
|
key: 0,
|
|
1435
1474
|
class: "cu-info round"
|
|
1436
|
-
},
|
|
1475
|
+
}, hn = {
|
|
1437
1476
|
key: 1,
|
|
1438
1477
|
class: "cu-info"
|
|
1439
|
-
},
|
|
1478
|
+
}, pn = /* @__PURE__ */ o("text", { class: "cuIcon-roundclosefill text-red" }, null, -1), fn = { class: "main" }, mn = ["src"], gn = {
|
|
1440
1479
|
key: 2,
|
|
1441
1480
|
class: "content shadow"
|
|
1442
|
-
},
|
|
1481
|
+
}, _n = /* @__PURE__ */ o("text", { class: "cuIcon-sound text-xxl padding-right-xl" }, null, -1), vn = { class: "action text-bold text-grey" }, bn = {
|
|
1443
1482
|
key: 3,
|
|
1444
1483
|
class: "content shadow"
|
|
1445
|
-
}, $
|
|
1446
|
-
/* @__PURE__ */
|
|
1447
|
-
/* @__PURE__ */
|
|
1448
|
-
], -1),
|
|
1449
|
-
...
|
|
1484
|
+
}, $n = /* @__PURE__ */ o("text", { class: "cuIcon-locationfill text-orange text-xxl" }, null, -1), yn = { class: "content shadow" }, kn = /* @__PURE__ */ o("div", { class: "action text-grey" }, [
|
|
1485
|
+
/* @__PURE__ */ o("text", { class: "cuIcon-warnfill text-red text-xxl" }),
|
|
1486
|
+
/* @__PURE__ */ o("text", { class: "text-sm margin-left-sm" }, "翻译错误")
|
|
1487
|
+
], -1), In = { class: "date" }, wn = { name: "ChatRoom" }, ne = /* @__PURE__ */ _({
|
|
1488
|
+
...wn,
|
|
1450
1489
|
props: {
|
|
1451
1490
|
messages: {}
|
|
1452
1491
|
},
|
|
1453
1492
|
setup(t) {
|
|
1454
|
-
return (e,
|
|
1455
|
-
(
|
|
1493
|
+
return (e, c) => (n(), l("div", un, [
|
|
1494
|
+
(n(!0), l(b, null, y(e.messages, (s) => (n(), l("div", {
|
|
1456
1495
|
key: s.id,
|
|
1457
1496
|
class: d(["cu-item", { self: s.self }])
|
|
1458
1497
|
}, [
|
|
1459
|
-
s.type === "info" ? (
|
|
1460
|
-
s.self ? (
|
|
1461
|
-
|
|
1498
|
+
s.type === "info" ? (n(), l(b, { key: 0 }, [
|
|
1499
|
+
s.self ? (n(), l("div", dn, u(s.content), 1)) : (n(), l("div", hn, [
|
|
1500
|
+
pn,
|
|
1462
1501
|
k(" " + u(s.content), 1)
|
|
1463
1502
|
]))
|
|
1464
|
-
], 64)) : (
|
|
1465
|
-
s.self ?
|
|
1503
|
+
], 64)) : (n(), l(b, { key: 1 }, [
|
|
1504
|
+
s.self ? p("", !0) : (n(), V(z, {
|
|
1466
1505
|
key: 0,
|
|
1467
1506
|
mode: "radius",
|
|
1468
1507
|
url: s.avatar
|
|
1469
1508
|
}, null, 8, ["url"])),
|
|
1470
|
-
|
|
1471
|
-
s.type === "text" ? (
|
|
1509
|
+
o("div", fn, [
|
|
1510
|
+
s.type === "text" ? (n(), l("div", {
|
|
1472
1511
|
key: 0,
|
|
1473
1512
|
class: d(["content shadow", { "bg-green": s.self }])
|
|
1474
1513
|
}, [
|
|
1475
|
-
|
|
1476
|
-
], 2)) : s.type === "image" ? (
|
|
1514
|
+
o("text", null, u(s.content), 1)
|
|
1515
|
+
], 2)) : s.type === "image" ? (n(), l("img", {
|
|
1477
1516
|
key: 1,
|
|
1478
1517
|
src: s.content,
|
|
1479
1518
|
class: "radius",
|
|
1480
1519
|
style: { "max-width": "100%" }
|
|
1481
|
-
}, null, 8,
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
])) : s.type === "location" ? (
|
|
1485
|
-
$
|
|
1520
|
+
}, null, 8, mn)) : s.type === "audio" ? (n(), l("div", gn, [
|
|
1521
|
+
_n,
|
|
1522
|
+
o("div", vn, u(s.content), 1)
|
|
1523
|
+
])) : s.type === "location" ? (n(), l("div", bn, [
|
|
1524
|
+
$n,
|
|
1486
1525
|
k(" " + u(s.content), 1)
|
|
1487
|
-
])) : s.type === "warning" ? (
|
|
1488
|
-
|
|
1489
|
-
|
|
1526
|
+
])) : s.type === "warning" ? (n(), l(b, { key: 4 }, [
|
|
1527
|
+
o("div", yn, u(s.content), 1),
|
|
1528
|
+
kn
|
|
1490
1529
|
], 64)) : S(e.$slots, "custom-message", {
|
|
1491
1530
|
key: 5,
|
|
1492
1531
|
message: s
|
|
1493
1532
|
})
|
|
1494
1533
|
]),
|
|
1495
|
-
s.self ? (
|
|
1534
|
+
s.self ? (n(), V(z, {
|
|
1496
1535
|
key: 1,
|
|
1497
1536
|
mode: "radius",
|
|
1498
1537
|
url: s.avatar
|
|
1499
|
-
}, null, 8, ["url"])) :
|
|
1500
|
-
|
|
1538
|
+
}, null, 8, ["url"])) : p("", !0),
|
|
1539
|
+
o("div", In, u(s.date), 1)
|
|
1501
1540
|
], 64))
|
|
1502
1541
|
], 2))), 128))
|
|
1503
1542
|
]));
|
|
1504
1543
|
}
|
|
1505
1544
|
});
|
|
1506
|
-
|
|
1507
|
-
t.component(
|
|
1545
|
+
ne.install = (t) => {
|
|
1546
|
+
t.component(ne.name, ne);
|
|
1508
1547
|
};
|
|
1509
|
-
const
|
|
1548
|
+
const Cn = { class: "cu-time" }, xn = {
|
|
1510
1549
|
key: 0,
|
|
1511
1550
|
class: "cu-capsule radius"
|
|
1512
|
-
},
|
|
1551
|
+
}, Tn = {
|
|
1513
1552
|
name: "TimeLine"
|
|
1514
|
-
},
|
|
1515
|
-
...
|
|
1553
|
+
}, oe = /* @__PURE__ */ _({
|
|
1554
|
+
...Tn,
|
|
1516
1555
|
props: {
|
|
1517
1556
|
items: { default: () => [] }
|
|
1518
1557
|
},
|
|
@@ -1520,7 +1559,7 @@ const Co = { class: "cu-time" }, xo = {
|
|
|
1520
1559
|
function e(s) {
|
|
1521
1560
|
return s || "cyan";
|
|
1522
1561
|
}
|
|
1523
|
-
function
|
|
1562
|
+
function c(s) {
|
|
1524
1563
|
switch (s.status) {
|
|
1525
1564
|
case "past":
|
|
1526
1565
|
return `text-green cuIcon-${s.icon || "roundcheckfill"}`;
|
|
@@ -1532,22 +1571,22 @@ const Co = { class: "cu-time" }, xo = {
|
|
|
1532
1571
|
return `text-gray cuIcon-${s.icon || "radioboxfill"}`;
|
|
1533
1572
|
}
|
|
1534
1573
|
}
|
|
1535
|
-
return (s,
|
|
1536
|
-
(
|
|
1574
|
+
return (s, i) => (n(), l("div", null, [
|
|
1575
|
+
(n(!0), l(b, null, y(s.items, (a, h) => (n(), l("div", {
|
|
1537
1576
|
key: h,
|
|
1538
1577
|
class: "cu-timeline"
|
|
1539
1578
|
}, [
|
|
1540
|
-
|
|
1541
|
-
(
|
|
1542
|
-
var
|
|
1543
|
-
return
|
|
1579
|
+
o("div", Cn, u(a.date), 1),
|
|
1580
|
+
(n(!0), l(b, null, y(a.items, (r) => {
|
|
1581
|
+
var f, $, g;
|
|
1582
|
+
return n(), l("div", {
|
|
1544
1583
|
key: r.key,
|
|
1545
|
-
class: d(["cu-item",
|
|
1584
|
+
class: d(["cu-item", c(r)])
|
|
1546
1585
|
}, [
|
|
1547
|
-
|
|
1586
|
+
o("div", {
|
|
1548
1587
|
class: d(["content", `bg-${r.bg || "gray"}`, "shadow-blur"])
|
|
1549
1588
|
}, [
|
|
1550
|
-
(
|
|
1589
|
+
(f = r == null ? void 0 : r.capsule) != null && f.list && r.capsule.list.length ? (n(), l("div", xn, [
|
|
1551
1590
|
P(q, {
|
|
1552
1591
|
bg: e(($ = r.capsule) == null ? void 0 : $.color)
|
|
1553
1592
|
}, {
|
|
@@ -1557,7 +1596,7 @@ const Co = { class: "cu-time" }, xo = {
|
|
|
1557
1596
|
_: 2
|
|
1558
1597
|
}, 1032, ["bg"]),
|
|
1559
1598
|
P(q, {
|
|
1560
|
-
bg: e((
|
|
1599
|
+
bg: e((g = r.capsule) == null ? void 0 : g.color),
|
|
1561
1600
|
light: !0
|
|
1562
1601
|
}, {
|
|
1563
1602
|
default: re(() => [
|
|
@@ -1565,8 +1604,8 @@ const Co = { class: "cu-time" }, xo = {
|
|
|
1565
1604
|
]),
|
|
1566
1605
|
_: 2
|
|
1567
1606
|
}, 1032, ["bg"])
|
|
1568
|
-
])) :
|
|
1569
|
-
|
|
1607
|
+
])) : p("", !0),
|
|
1608
|
+
o("div", {
|
|
1570
1609
|
class: d(r.capsule ? "margin-top-sm" : "")
|
|
1571
1610
|
}, [
|
|
1572
1611
|
S(s.$slots, `item-${r.key}`, {}, () => [
|
|
@@ -1580,13 +1619,13 @@ const Co = { class: "cu-time" }, xo = {
|
|
|
1580
1619
|
]));
|
|
1581
1620
|
}
|
|
1582
1621
|
});
|
|
1583
|
-
|
|
1584
|
-
t.component(
|
|
1622
|
+
oe.install = (t) => {
|
|
1623
|
+
t.component(oe.name, oe);
|
|
1585
1624
|
};
|
|
1586
|
-
const
|
|
1625
|
+
const Sn = { class: "bg-white padding" }, Bn = ["data-index"], jn = {
|
|
1587
1626
|
name: "TSteps"
|
|
1588
1627
|
}, le = /* @__PURE__ */ _({
|
|
1589
|
-
...
|
|
1628
|
+
...jn,
|
|
1590
1629
|
props: {
|
|
1591
1630
|
steps: {},
|
|
1592
1631
|
modelValue: {},
|
|
@@ -1595,19 +1634,19 @@ const So = { class: "bg-white padding" }, Bo = ["data-index"], jo = {
|
|
|
1595
1634
|
},
|
|
1596
1635
|
emits: ["update:modelValue"],
|
|
1597
1636
|
setup(t, { emit: e }) {
|
|
1598
|
-
return (
|
|
1599
|
-
|
|
1600
|
-
class: d(["cu-steps", { "scroll-x":
|
|
1637
|
+
return (c, s) => (n(), l("div", Sn, [
|
|
1638
|
+
o("div", {
|
|
1639
|
+
class: d(["cu-steps", { "scroll-x": c.scrollX }])
|
|
1601
1640
|
}, [
|
|
1602
|
-
(
|
|
1603
|
-
class: d(["cu-item", a >
|
|
1641
|
+
(n(!0), l(b, null, y(c.steps, (i, a) => (n(), l("div", {
|
|
1642
|
+
class: d(["cu-item", a > c.modelValue ? "" : `text-${c.color}`]),
|
|
1604
1643
|
key: a
|
|
1605
1644
|
}, [
|
|
1606
|
-
|
|
1607
|
-
class: d(
|
|
1645
|
+
o("text", {
|
|
1646
|
+
class: d(i.cuIcon ? "cuIcon-" + i.cuIcon : "num"),
|
|
1608
1647
|
"data-index": a + 1
|
|
1609
|
-
}, u(
|
|
1610
|
-
k(" " + u(
|
|
1648
|
+
}, u(i.cuIcon ? "" : a + 1), 11, Bn),
|
|
1649
|
+
k(" " + u(i.name), 1)
|
|
1611
1650
|
], 2))), 128))
|
|
1612
1651
|
], 2)
|
|
1613
1652
|
]));
|
|
@@ -1616,34 +1655,34 @@ const So = { class: "bg-white padding" }, Bo = ["data-index"], jo = {
|
|
|
1616
1655
|
le.install = (t) => {
|
|
1617
1656
|
t.component(le.name, le);
|
|
1618
1657
|
};
|
|
1619
|
-
const
|
|
1620
|
-
|
|
1621
|
-
],
|
|
1658
|
+
const En = { class: "cu-dialog" }, Vn = { class: "cu-bar bg-white justify-end padding-right-sm" }, Mn = { class: "content" }, zn = /* @__PURE__ */ o("text", { class: "cuIcon-close text-red" }, null, -1), qn = [
|
|
1659
|
+
zn
|
|
1660
|
+
], An = { class: "padding-xl" }, Nn = {
|
|
1622
1661
|
name: "DrawerModal"
|
|
1623
1662
|
}, ae = /* @__PURE__ */ _({
|
|
1624
|
-
...
|
|
1663
|
+
...Nn,
|
|
1625
1664
|
props: {
|
|
1626
1665
|
title: {},
|
|
1627
1666
|
modelValue: { type: Boolean }
|
|
1628
1667
|
},
|
|
1629
1668
|
emits: ["update:modelValue"],
|
|
1630
1669
|
setup(t, { emit: e }) {
|
|
1631
|
-
const
|
|
1632
|
-
|
|
1670
|
+
const c = e, s = () => {
|
|
1671
|
+
c("update:modelValue", !1);
|
|
1633
1672
|
};
|
|
1634
|
-
return (
|
|
1635
|
-
class: d(["cu-modal",
|
|
1673
|
+
return (i, a) => (n(), l("div", {
|
|
1674
|
+
class: d(["cu-modal", i.modelValue ? "show" : ""])
|
|
1636
1675
|
}, [
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1676
|
+
o("div", En, [
|
|
1677
|
+
o("div", Vn, [
|
|
1678
|
+
o("div", Mn, u(i.title), 1),
|
|
1679
|
+
o("div", {
|
|
1641
1680
|
class: "action",
|
|
1642
1681
|
onClick: s
|
|
1643
|
-
},
|
|
1682
|
+
}, qn)
|
|
1644
1683
|
]),
|
|
1645
|
-
|
|
1646
|
-
S(
|
|
1684
|
+
o("div", An, [
|
|
1685
|
+
S(i.$slots, "default", {}, () => [
|
|
1647
1686
|
k("Modal 内容~")
|
|
1648
1687
|
])
|
|
1649
1688
|
])
|
|
@@ -1654,10 +1693,10 @@ const Eo = { class: "cu-dialog" }, Vo = { class: "cu-bar bg-white justify-end pa
|
|
|
1654
1693
|
ae.install = (t) => {
|
|
1655
1694
|
t.component(ae.name, ae);
|
|
1656
1695
|
};
|
|
1657
|
-
const
|
|
1696
|
+
const Pn = { class: "loading-animation" }, Ln = {
|
|
1658
1697
|
name: "Loading1"
|
|
1659
|
-
},
|
|
1660
|
-
...
|
|
1698
|
+
}, Dn = /* @__PURE__ */ _({
|
|
1699
|
+
...Ln,
|
|
1661
1700
|
props: {
|
|
1662
1701
|
width: { default: 300 },
|
|
1663
1702
|
height: { default: 300 },
|
|
@@ -1680,8 +1719,8 @@ const Po = { class: "loading-animation" }, Lo = {
|
|
|
1680
1719
|
step(a, h) {
|
|
1681
1720
|
this.speed += this.accel, this.x += Math.cos(this.angle) * this.speed, this.y += Math.sin(this.angle) * this.speed, this.angle += Math.PI / 64, this.accel *= 1.01, this.life -= this.decay, this.life <= 0 && h.splice(a, 1);
|
|
1682
1721
|
}
|
|
1683
|
-
draw(a, h, r,
|
|
1684
|
-
a.fillStyle = a.strokeStyle = `hsla(${h + this.life * 120}, 100%, 60%, ${this.life})`, a.beginPath(), r[
|
|
1722
|
+
draw(a, h, r, f) {
|
|
1723
|
+
a.fillStyle = a.strokeStyle = `hsla(${h + this.life * 120}, 100%, 60%, ${this.life})`, a.beginPath(), r[f - 1] && (a.moveTo(this.x, this.y), a.lineTo(r[f - 1].x, r[f - 1].y)), a.stroke(), a.beginPath(), a.arc(
|
|
1685
1724
|
this.x,
|
|
1686
1725
|
this.y,
|
|
1687
1726
|
Math.max(1e-3, this.life * this.radius),
|
|
@@ -1697,54 +1736,54 @@ const Po = { class: "loading-animation" }, Lo = {
|
|
|
1697
1736
|
);
|
|
1698
1737
|
}
|
|
1699
1738
|
}
|
|
1700
|
-
const
|
|
1739
|
+
const c = t, s = T(null);
|
|
1701
1740
|
return D(() => {
|
|
1702
1741
|
if (!s.value)
|
|
1703
1742
|
return;
|
|
1704
|
-
const
|
|
1705
|
-
s.value.width = a * $, s.value.height = h * $, s.value.style.width = a + "px", s.value.style.height = h + "px",
|
|
1706
|
-
const
|
|
1707
|
-
let B = 0, E = 0,
|
|
1708
|
-
|
|
1743
|
+
const i = s.value.getContext("2d"), { width: a, height: h, particleRadius: r, particleDecay: f } = c, $ = window.devicePixelRatio || 1;
|
|
1744
|
+
s.value.width = a * $, s.value.height = h * $, s.value.style.width = a + "px", s.value.style.height = h + "px", i.scale($, $);
|
|
1745
|
+
const g = a * 0.5, I = [];
|
|
1746
|
+
let B = 0, E = 0, m = 0;
|
|
1747
|
+
i.globalCompositeOperation = "lighter";
|
|
1709
1748
|
function C() {
|
|
1710
1749
|
I.push(
|
|
1711
1750
|
new e(
|
|
1712
1751
|
{
|
|
1713
|
-
x: a / 2 + Math.cos(
|
|
1714
|
-
y: h / 2 + Math.sin(
|
|
1752
|
+
x: a / 2 + Math.cos(m / 20) * g / 2,
|
|
1753
|
+
y: h / 2 + Math.sin(m / 20) * g / 2,
|
|
1715
1754
|
angle: E + B,
|
|
1716
1755
|
speed: 0,
|
|
1717
1756
|
accel: 0.01
|
|
1718
1757
|
},
|
|
1719
1758
|
r,
|
|
1720
|
-
|
|
1759
|
+
f
|
|
1721
1760
|
)
|
|
1722
1761
|
), I.forEach((v, x) => {
|
|
1723
1762
|
v.step(x, I);
|
|
1724
1763
|
}), E += Math.PI / 2, B += Math.PI / 2;
|
|
1725
1764
|
}
|
|
1726
1765
|
function N() {
|
|
1727
|
-
|
|
1728
|
-
v.draw(
|
|
1766
|
+
i.clearRect(0, 0, a, h), I.forEach((v, x) => {
|
|
1767
|
+
v.draw(i, m, I, x);
|
|
1729
1768
|
});
|
|
1730
1769
|
}
|
|
1731
1770
|
function F() {
|
|
1732
|
-
requestAnimationFrame(F), C(), N(),
|
|
1771
|
+
requestAnimationFrame(F), C(), N(), m++;
|
|
1733
1772
|
}
|
|
1734
1773
|
F();
|
|
1735
|
-
}), (
|
|
1736
|
-
|
|
1774
|
+
}), (i, a) => (n(), l("div", Pn, [
|
|
1775
|
+
o("canvas", {
|
|
1737
1776
|
ref_key: "canvas",
|
|
1738
1777
|
ref: s
|
|
1739
1778
|
}, null, 512)
|
|
1740
1779
|
]));
|
|
1741
1780
|
}
|
|
1742
|
-
}),
|
|
1743
|
-
|
|
1744
|
-
t.component(
|
|
1781
|
+
}), ie = /* @__PURE__ */ A(Dn, [["__scopeId", "data-v-022c82bd"]]);
|
|
1782
|
+
ie.install = (t) => {
|
|
1783
|
+
t.component(ie.name, ie);
|
|
1745
1784
|
};
|
|
1746
|
-
const
|
|
1747
|
-
...
|
|
1785
|
+
const Fn = ["data-index"], Rn = { name: "TVirtualScrollSlide" }, Un = /* @__PURE__ */ _({
|
|
1786
|
+
...Rn,
|
|
1748
1787
|
props: {
|
|
1749
1788
|
virtualTotal: {},
|
|
1750
1789
|
render: { type: Function },
|
|
@@ -1752,88 +1791,88 @@ const Fo = ["data-index"], Ro = { name: "TVirtualScrollSlide" }, Uo = /* @__PURE
|
|
|
1752
1791
|
},
|
|
1753
1792
|
emits: ["slideLeft", "slideRight"],
|
|
1754
1793
|
setup(t, { emit: e }) {
|
|
1755
|
-
const
|
|
1794
|
+
const c = t, s = e, i = T(null), a = T(null), h = T(0), r = Ee({
|
|
1756
1795
|
localIndex: 0,
|
|
1757
1796
|
wrapperHeight: 0,
|
|
1758
1797
|
touchStartY: 0,
|
|
1759
1798
|
touchEndY: 0,
|
|
1760
1799
|
touchStartX: 0,
|
|
1761
1800
|
touchEndX: 0
|
|
1762
|
-
}),
|
|
1801
|
+
}), f = T([]), $ = "slide-item";
|
|
1763
1802
|
Ie(
|
|
1764
|
-
() =>
|
|
1803
|
+
() => c.list,
|
|
1765
1804
|
(v, x) => {
|
|
1766
|
-
v.length !== x.length &&
|
|
1805
|
+
v.length !== x.length && g();
|
|
1767
1806
|
}
|
|
1768
1807
|
), D(() => {
|
|
1769
|
-
|
|
1808
|
+
i.value && (r.wrapperHeight = i.value.clientHeight, g());
|
|
1770
1809
|
});
|
|
1771
|
-
const
|
|
1810
|
+
const g = () => {
|
|
1772
1811
|
const v = Math.max(0, r.localIndex), x = Math.min(
|
|
1773
|
-
r.localIndex +
|
|
1774
|
-
|
|
1812
|
+
r.localIndex + c.virtualTotal,
|
|
1813
|
+
c.list.length
|
|
1775
1814
|
);
|
|
1776
|
-
|
|
1815
|
+
f.value = c.list.slice(v, x), h.value = -r.localIndex * r.wrapperHeight;
|
|
1777
1816
|
}, I = (v) => {
|
|
1778
1817
|
v.touches.length > 0 && (r.touchStartY = v.touches[0].clientY, r.touchStartX = v.touches[0].clientX);
|
|
1779
1818
|
}, B = (v) => {
|
|
1780
1819
|
v.touches.length > 0 && (r.touchEndY = v.touches[0].clientY, r.touchEndX = v.touches[0].clientX);
|
|
1781
1820
|
}, E = () => {
|
|
1782
1821
|
const v = r.touchEndY - r.touchStartY, x = r.touchEndX - r.touchStartX;
|
|
1783
|
-
Math.abs(v) > Math.abs(x) && Math.abs(v) > 30 ? v < 0 ?
|
|
1784
|
-
item:
|
|
1822
|
+
Math.abs(v) > Math.abs(x) && Math.abs(v) > 30 ? v < 0 ? m() : C() : Math.abs(x) > 30 && (x < 0 ? s("slideLeft", {
|
|
1823
|
+
item: f.value[r.localIndex],
|
|
1785
1824
|
index: r.localIndex
|
|
1786
1825
|
}) : s("slideRight", {
|
|
1787
|
-
item:
|
|
1826
|
+
item: f.value[r.localIndex],
|
|
1788
1827
|
index: r.localIndex
|
|
1789
1828
|
})), r.touchStartY = 0, r.touchEndY = 0, r.touchStartX = 0, r.touchEndX = 0;
|
|
1790
|
-
},
|
|
1791
|
-
r.localIndex <
|
|
1829
|
+
}, m = () => {
|
|
1830
|
+
r.localIndex < c.list.length - 1 && (r.localIndex++, g());
|
|
1792
1831
|
}, C = () => {
|
|
1793
|
-
r.localIndex > 0 && (r.localIndex--,
|
|
1794
|
-
}, N = (v) => (r.localIndex + v) * r.wrapperHeight, F = j(() =>
|
|
1795
|
-
return (v, x) => (
|
|
1832
|
+
r.localIndex > 0 && (r.localIndex--, g());
|
|
1833
|
+
}, N = (v) => (r.localIndex + v) * r.wrapperHeight, F = j(() => f.value.map((v) => `video-${v.id}`).join(","));
|
|
1834
|
+
return (v, x) => (n(), l("div", {
|
|
1796
1835
|
class: "slide-wrapper",
|
|
1797
1836
|
ref_key: "wrapper",
|
|
1798
|
-
ref:
|
|
1837
|
+
ref: i,
|
|
1799
1838
|
onTouchstart: I,
|
|
1800
1839
|
onTouchmove: B,
|
|
1801
1840
|
onTouchend: E
|
|
1802
1841
|
}, [
|
|
1803
|
-
|
|
1842
|
+
o("div", {
|
|
1804
1843
|
class: "slide-list",
|
|
1805
1844
|
ref_key: "slideList",
|
|
1806
1845
|
ref: a,
|
|
1807
1846
|
style: w({ transform: `translateY(${h.value}px)` })
|
|
1808
1847
|
}, [
|
|
1809
|
-
(
|
|
1810
|
-
(
|
|
1848
|
+
(n(), V(Ve, { include: F.value }, [
|
|
1849
|
+
(n(!0), l(b, null, y(f.value, (_e, ue) => (n(), l("div", {
|
|
1811
1850
|
key: _e.id,
|
|
1812
1851
|
"data-index": ue,
|
|
1813
1852
|
class: d($),
|
|
1814
1853
|
style: w({ top: `${N(ue)}px` })
|
|
1815
1854
|
}, [
|
|
1816
|
-
(
|
|
1817
|
-
], 12,
|
|
1855
|
+
(n(), V(Me(v.render(_e, ue))))
|
|
1856
|
+
], 12, Fn))), 128))
|
|
1818
1857
|
], 1032, ["include"]))
|
|
1819
1858
|
], 4)
|
|
1820
1859
|
], 544));
|
|
1821
1860
|
}
|
|
1822
|
-
}),
|
|
1823
|
-
|
|
1824
|
-
t.component(
|
|
1861
|
+
}), ce = /* @__PURE__ */ A(Un, [["__scopeId", "data-v-8600af8d"]]);
|
|
1862
|
+
ce.install = (t) => {
|
|
1863
|
+
t.component(ce.name, ce);
|
|
1825
1864
|
};
|
|
1826
|
-
const
|
|
1827
|
-
t.use(L), t.use(Y), t.use(z), t.use(R), t.use(U), t.use(X), t.use(G), t.use(K), t.use(J), t.use(Q), t.use(W), t.use(Z), t.use(ee), t.use(te), t.use(H), t.use(q), t.use(se), t.use(
|
|
1828
|
-
},
|
|
1829
|
-
install:
|
|
1865
|
+
const Xn = (t) => {
|
|
1866
|
+
t.use(L), t.use(Y), t.use(z), t.use(R), t.use(U), t.use(X), t.use(G), t.use(K), t.use(J), t.use(Q), t.use(W), t.use(Z), t.use(ee), t.use(te), t.use(H), t.use(q), t.use(se), t.use(ne), t.use(oe), t.use(le), t.use(ae), t.use(ie), t.use(ce);
|
|
1867
|
+
}, Gn = {
|
|
1868
|
+
install: Xn
|
|
1830
1869
|
};
|
|
1831
1870
|
export {
|
|
1832
1871
|
se as ChatList,
|
|
1833
|
-
|
|
1872
|
+
ne as ChatRoom,
|
|
1834
1873
|
ae as DrawerModal,
|
|
1835
1874
|
ee as GridGroup,
|
|
1836
|
-
|
|
1875
|
+
ie as Loading1,
|
|
1837
1876
|
te as Menu,
|
|
1838
1877
|
z as TAvatar,
|
|
1839
1878
|
H as TButton,
|
|
@@ -1850,6 +1889,7 @@ export {
|
|
|
1850
1889
|
q as TTag,
|
|
1851
1890
|
Y as TTitle,
|
|
1852
1891
|
K as TTopBar,
|
|
1853
|
-
|
|
1854
|
-
|
|
1892
|
+
oe as TimeLine,
|
|
1893
|
+
Gn as default,
|
|
1894
|
+
Hn as textColor
|
|
1855
1895
|
};
|