vue-color-ui 0.0.45 → 0.0.47
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 +442 -430
- package/lib/temp-color-ui.umd.cjs +2 -2
- package/package.json +1 -1
- package/types/pkg/TopBar/index.vue.d.ts +23 -15
- package/types/pkg/index.d.ts +2 -2
package/lib/temp-color-ui.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var M = (t, e, c) =>
|
|
4
|
-
import { defineComponent as _, createElementBlock as
|
|
1
|
+
var Ce = Object.defineProperty;
|
|
2
|
+
var we = (t, e, c) => e in t ? Ce(t, e, { enumerable: !0, configurable: !0, writable: !0, value: c }) : t[e] = c;
|
|
3
|
+
var M = (t, e, c) => we(t, typeof e != "symbol" ? e + "" : e, c);
|
|
4
|
+
import { defineComponent as _, createElementBlock as a, openBlock as o, Fragment as b, renderList as y, normalizeStyle as C, normalizeClass as d, createElementVNode as l, toDisplayString as u, createCommentVNode as p, createTextVNode as k, pushScopeId as xe, popScopeId as Te, computed as j, renderSlot as x, createBlock as V, ref as B, withModifiers as de, unref as Be, onMounted as R, resolveComponent as ke, createVNode as P, onUnmounted as Se, withDirectives as he, withKeys as je, 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
|
+
}, U = /* @__PURE__ */ _({
|
|
8
8
|
...Pe,
|
|
9
9
|
props: {
|
|
10
10
|
items: {}
|
|
11
11
|
},
|
|
12
12
|
emits: ["chickItem"],
|
|
13
13
|
setup(t, { emit: e }) {
|
|
14
|
-
const c = e, s = (i,
|
|
15
|
-
c("chickItem", i,
|
|
14
|
+
const c = e, s = (i, n) => {
|
|
15
|
+
c("chickItem", i, n);
|
|
16
16
|
};
|
|
17
|
-
return (i,
|
|
18
|
-
(
|
|
17
|
+
return (i, n) => (o(), a("div", ze, [
|
|
18
|
+
(o(!0), a(b, null, y(i.items, (h, r) => (o(), a("div", {
|
|
19
19
|
"hover-class": "none",
|
|
20
20
|
class: d(["nav-li", "bg-" + h.color]),
|
|
21
|
-
style:
|
|
21
|
+
style: C([{ animation: "show " + ((r + 1) * 0.2 + 1) + "s 1" }]),
|
|
22
22
|
key: r,
|
|
23
23
|
onClick: (f) => s(h, r)
|
|
24
24
|
}, [
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
l("div", Ae, u(h.title), 1),
|
|
26
|
+
l("div", Ne, u(h.name), 1),
|
|
27
|
+
l("text", {
|
|
28
28
|
class: d("cuIcon-" + h.cuIcon)
|
|
29
29
|
}, null, 2)
|
|
30
30
|
], 14, qe))), 128))
|
|
31
31
|
]));
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
|
-
|
|
35
|
-
t.component(
|
|
34
|
+
U.install = (t) => {
|
|
35
|
+
t.component(U.name, U);
|
|
36
36
|
};
|
|
37
|
-
const ge = (t) => (xe("data-v-bbdb83ff"), t = t(), Te(), t), Le = { class: "cu-item shadow" }, De = { class: "title" },
|
|
37
|
+
const ge = (t) => (xe("data-v-bbdb83ff"), t = t(), Te(), t), Le = { class: "cu-item shadow" }, De = { class: "title" }, Re = { class: "text-cut" }, Fe = { 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__ */ ge(() => /* @__PURE__ */
|
|
41
|
+
}, He = { class: "text-gray" }, Ge = /* @__PURE__ */ ge(() => /* @__PURE__ */ l("span", { class: "cuIcon-attentionfill margin-lr-xs" }, null, -1)), Ke = /* @__PURE__ */ ge(() => /* @__PURE__ */ l("span", { class: "cuIcon-appreciatefill margin-lr-xs" }, null, -1)), Je = /* @__PURE__ */ ge(() => /* @__PURE__ */ l("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 ge = (t) => (xe("data-v-bbdb83ff"), t = t(), Te(), t), Le = { class: "cu-i
|
|
|
59
59
|
}) }
|
|
60
60
|
},
|
|
61
61
|
setup(t) {
|
|
62
|
-
return (e, c) => (
|
|
62
|
+
return (e, c) => (o(), a("div", {
|
|
63
63
|
class: d(["cu-card article", e.isCard ? "" : "no-card"])
|
|
64
64
|
}, [
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
l("div", Le, [
|
|
66
|
+
l("div", De, [
|
|
67
|
+
l("div", Re, u(e.title), 1)
|
|
68
68
|
]),
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
l("div", Fe, [
|
|
70
|
+
l("img", {
|
|
71
71
|
src: e.imageSrc,
|
|
72
72
|
alt: e.imageAlt
|
|
73
73
|
}, null, 8, Ue),
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
(
|
|
74
|
+
l("div", Xe, [
|
|
75
|
+
l("div", Ye, u(e.description), 1),
|
|
76
|
+
l("div", null, [
|
|
77
|
+
(o(!0), a(b, null, y(e.tags, (s) => (o(), a("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 ? (o(), a("div", Oe, [
|
|
85
|
+
l("div", He, [
|
|
86
86
|
Ge,
|
|
87
87
|
k(" " + u(e.footerInfo.likes) + " ", 1),
|
|
88
88
|
Ke,
|
|
@@ -90,8 +90,8 @@ const ge = (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
|
+
l("div", Qe, [
|
|
94
|
+
l("div", We, u(e.footerInfo.author), 1),
|
|
95
95
|
k(" " + u(e.footerInfo.timeAgo), 1)
|
|
96
96
|
])
|
|
97
97
|
])) : p("", !0)
|
|
@@ -103,16 +103,16 @@ const ge = (t) => (xe("data-v-bbdb83ff"), t = t(), Te(), t), Le = { class: "cu-i
|
|
|
103
103
|
for (const [s, i] of e)
|
|
104
104
|
c[s] = i;
|
|
105
105
|
return c;
|
|
106
|
-
},
|
|
107
|
-
|
|
108
|
-
t.component(
|
|
106
|
+
}, X = /* @__PURE__ */ A(et, [["__scopeId", "data-v-bbdb83ff"]]);
|
|
107
|
+
X.install = (t) => {
|
|
108
|
+
t.component(X.name, X);
|
|
109
109
|
};
|
|
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__ */
|
|
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__ */ l("span", { class: "cuIcon-attentionfill margin-lr-xs" }, null, -1), rt = /* @__PURE__ */ l("span", { class: "cuIcon-appreciatefill margin-lr-xs" }, null, -1), ut = /* @__PURE__ */ l("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__ */ l("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
|
+
}, Y = /* @__PURE__ */ _({
|
|
116
116
|
...kt,
|
|
117
117
|
props: {
|
|
118
118
|
isCard: { type: Boolean, default: !0 },
|
|
@@ -161,34 +161,34 @@ const tt = { class: "cu-item shadow" }, st = { class: "cu-list menu-avatar" }, n
|
|
|
161
161
|
] }
|
|
162
162
|
},
|
|
163
163
|
setup(t) {
|
|
164
|
-
return (e, c) => (
|
|
165
|
-
|
|
164
|
+
return (e, c) => (o(), a("div", null, [
|
|
165
|
+
l("div", {
|
|
166
166
|
class: d(["cu-card dynamic", e.isCard ? "is-card" : "no-card"])
|
|
167
167
|
}, [
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
168
|
+
l("div", tt, [
|
|
169
|
+
l("div", st, [
|
|
170
|
+
l("div", nt, [
|
|
171
|
+
l("div", {
|
|
172
172
|
class: "cu-avatar round lg",
|
|
173
|
-
style:
|
|
173
|
+
style: C({ backgroundImage: `url(${e.avatarUrl})` })
|
|
174
174
|
}, null, 4),
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
l("div", ot, [
|
|
176
|
+
l("div", null, u(e.author), 1),
|
|
177
|
+
l("div", lt, u(e.date), 1)
|
|
178
178
|
])
|
|
179
179
|
])
|
|
180
180
|
]),
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
l("div", at, u(e.content), 1),
|
|
182
|
+
l("div", {
|
|
183
183
|
class: d(["grid flex-sub padding-lr", e.isCard ? "col-3 grid-square" : "col-1"])
|
|
184
184
|
}, [
|
|
185
|
-
(
|
|
185
|
+
(o(!0), a(b, null, y(e.isCard ? 9 : 1, (s) => (o(), a("div", {
|
|
186
186
|
class: d(["bg-img", e.isCard ? "" : "only-img"]),
|
|
187
|
-
style:
|
|
187
|
+
style: C({ backgroundImage: `url(${e.imageUrl})` }),
|
|
188
188
|
key: s
|
|
189
189
|
}, null, 6))), 128))
|
|
190
190
|
], 2),
|
|
191
|
-
|
|
191
|
+
l("div", it, [
|
|
192
192
|
ct,
|
|
193
193
|
k(" " + u(e.likes) + " ", 1),
|
|
194
194
|
rt,
|
|
@@ -196,35 +196,35 @@ const tt = { class: "cu-item shadow" }, st = { class: "cu-list menu-avatar" }, n
|
|
|
196
196
|
ut,
|
|
197
197
|
k(" " + u(e.comments), 1)
|
|
198
198
|
]),
|
|
199
|
-
(
|
|
199
|
+
(o(!0), a(b, null, y(e.commentsList, (s) => {
|
|
200
200
|
var i;
|
|
201
|
-
return
|
|
201
|
+
return o(), a("div", {
|
|
202
202
|
class: "cu-list menu-avatar comment solids-top",
|
|
203
203
|
key: s.id
|
|
204
204
|
}, [
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
l("div", dt, [
|
|
206
|
+
l("div", {
|
|
207
207
|
class: "cu-avatar round",
|
|
208
|
-
style:
|
|
208
|
+
style: C({ backgroundImage: `url(${s.avatarUrl})` })
|
|
209
209
|
}, null, 4),
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
(
|
|
214
|
-
key:
|
|
210
|
+
l("div", ht, [
|
|
211
|
+
l("div", pt, u(s.author), 1),
|
|
212
|
+
l("div", ft, u(s.text), 1),
|
|
213
|
+
(o(!0), a(b, null, y(s.replies, (n) => (o(), a("div", {
|
|
214
|
+
key: n.id,
|
|
215
215
|
class: "bg-grey padding-sm radius margin-top-sm text-sm"
|
|
216
216
|
}, [
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
217
|
+
l("div", mt, [
|
|
218
|
+
l("div", null, u(n.author) + ":", 1),
|
|
219
|
+
l("div", gt, u(n.text), 1)
|
|
220
220
|
])
|
|
221
221
|
]))), 128)),
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
s.likes ? (
|
|
222
|
+
l("div", _t, [
|
|
223
|
+
l("div", vt, u(s.date), 1),
|
|
224
|
+
l("div", null, [
|
|
225
|
+
s.likes ? (o(), a("span", bt)) : p("", !0),
|
|
226
226
|
$t,
|
|
227
|
-
|
|
227
|
+
l("span", yt, u((i = s.replies) == null ? void 0 : i.length), 1)
|
|
228
228
|
])
|
|
229
229
|
])
|
|
230
230
|
])
|
|
@@ -236,8 +236,8 @@ const tt = { class: "cu-item shadow" }, st = { class: "cu-list menu-avatar" }, n
|
|
|
236
236
|
]));
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
|
-
|
|
240
|
-
t.component(
|
|
239
|
+
Y.install = (t) => {
|
|
240
|
+
t.component(Y.name, Y);
|
|
241
241
|
};
|
|
242
242
|
const It = {
|
|
243
243
|
ssss: "2px",
|
|
@@ -251,14 +251,14 @@ const It = {
|
|
|
251
251
|
xxl: "30px",
|
|
252
252
|
xxxl: "48px"
|
|
253
253
|
};
|
|
254
|
-
function
|
|
254
|
+
function Ct(t, e, c = "px") {
|
|
255
255
|
if (typeof e == "number")
|
|
256
256
|
return `${t}: ${e}${c};`;
|
|
257
257
|
const s = It[e];
|
|
258
258
|
return s ? `${t}: ${s};` : "";
|
|
259
259
|
}
|
|
260
|
-
function
|
|
261
|
-
return
|
|
260
|
+
function wt(t) {
|
|
261
|
+
return Ct("font-size", t);
|
|
262
262
|
}
|
|
263
263
|
const xt = {
|
|
264
264
|
name: "TIcon"
|
|
@@ -270,16 +270,16 @@ const xt = {
|
|
|
270
270
|
size: { default: 15 }
|
|
271
271
|
},
|
|
272
272
|
setup(t) {
|
|
273
|
-
const e = t, c = j(() =>
|
|
274
|
-
return (s, i) => (
|
|
273
|
+
const e = t, c = j(() => wt(e.size));
|
|
274
|
+
return (s, i) => (o(), a("i", {
|
|
275
275
|
class: d(`cuIcon-${s.name} text-${s.color}`),
|
|
276
|
-
style:
|
|
276
|
+
style: C(c.value)
|
|
277
277
|
}, null, 6));
|
|
278
278
|
}
|
|
279
|
-
}), Tt = { class: "action border-title" }, Bt = { class: "action border-title" }, St = { class: "tib text-xl text-bold text-blue" }, jt = /* @__PURE__ */
|
|
279
|
+
}), Tt = { class: "action border-title" }, Bt = { class: "action border-title" }, St = { class: "tib text-xl text-bold text-blue" }, jt = /* @__PURE__ */ l("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__ */ l("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 = {
|
|
@@ -288,8 +288,8 @@ const xt = {
|
|
|
288
288
|
}, Nt = { class: "action" }, Pt = {
|
|
289
289
|
key: 6,
|
|
290
290
|
class: "cu-bar bg-white solid-bottom"
|
|
291
|
-
}, Lt = { class: "action" }, Dt = { class: "action" },
|
|
292
|
-
...
|
|
291
|
+
}, Lt = { class: "action" }, Dt = { class: "action" }, Rt = { name: "TTitle" }, O = /* @__PURE__ */ _({
|
|
292
|
+
...Rt,
|
|
293
293
|
props: {
|
|
294
294
|
title: { default: "主题名称" },
|
|
295
295
|
deputy: { default: "about" },
|
|
@@ -300,95 +300,95 @@ const xt = {
|
|
|
300
300
|
center: { type: Boolean, default: !1 }
|
|
301
301
|
},
|
|
302
302
|
setup(t) {
|
|
303
|
-
return (e, c) => e.mode === "default1" ? (
|
|
303
|
+
return (e, c) => e.mode === "default1" ? (o(), a("div", {
|
|
304
304
|
key: 0,
|
|
305
305
|
class: d(["cu-bar bg-white", e.center !== !1 ? "justify-center" : ""])
|
|
306
306
|
}, [
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
l("div", Tt, [
|
|
308
|
+
l("div", {
|
|
309
309
|
class: d(["tib text-xl", `text-${e.color}`])
|
|
310
310
|
}, u(e.title), 3),
|
|
311
|
-
|
|
311
|
+
l("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" ? (o(), a("div", {
|
|
317
317
|
key: 1,
|
|
318
318
|
class: d(["cu-bar bg-white", e.center !== !1 ? "justify-center" : ""])
|
|
319
319
|
}, [
|
|
320
|
-
|
|
321
|
-
|
|
320
|
+
l("div", Bt, [
|
|
321
|
+
l("div", St, u(e.title), 1),
|
|
322
322
|
jt
|
|
323
323
|
])
|
|
324
|
-
], 2)) : e.mode === "default3" ? (
|
|
324
|
+
], 2)) : e.mode === "default3" ? (o(), a("div", {
|
|
325
325
|
key: 2,
|
|
326
326
|
class: d(["cu-bar bg-white", e.center !== !1 ? "justify-center" : ""])
|
|
327
327
|
}, [
|
|
328
|
-
|
|
329
|
-
|
|
328
|
+
l("div", Et, [
|
|
329
|
+
l("div", Vt, u(e.title), 1),
|
|
330
330
|
Mt
|
|
331
331
|
])
|
|
332
|
-
], 2)) : e.mode === "default4" ? (
|
|
332
|
+
], 2)) : e.mode === "default4" ? (o(), a("div", {
|
|
333
333
|
key: 3,
|
|
334
334
|
class: d(["cu-bar bg-white", e.center !== !1 ? "justify-center" : ""])
|
|
335
335
|
}, [
|
|
336
|
-
|
|
337
|
-
|
|
336
|
+
l("div", zt, [
|
|
337
|
+
l("div", {
|
|
338
338
|
class: d(["tib text-xl text-bold", `text-${e.color}`])
|
|
339
339
|
}, u(e.title), 3),
|
|
340
|
-
|
|
340
|
+
l("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" ? (o(), a("div", {
|
|
345
345
|
key: 4,
|
|
346
346
|
class: d(["cu-bar bg-white", e.center !== !1 ? "justify-center" : ""])
|
|
347
347
|
}, [
|
|
348
|
-
|
|
349
|
-
|
|
348
|
+
l("div", qt, [
|
|
349
|
+
l("div", {
|
|
350
350
|
class: d(["tib", `text-${e.color}`])
|
|
351
351
|
}, u(e.title), 3),
|
|
352
|
-
|
|
352
|
+
l("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" ? (o(), a("div", At, [
|
|
357
|
+
l("div", Nt, [
|
|
358
|
+
l("i", {
|
|
359
359
|
class: d(`cuIcon-${e.icon} text-${e.color}`)
|
|
360
360
|
}, null, 2),
|
|
361
|
-
|
|
361
|
+
l("div", {
|
|
362
362
|
class: d(["tib text-xl", `text-${e.decorateColor}`])
|
|
363
363
|
}, u(e.title), 3)
|
|
364
364
|
])
|
|
365
|
-
])) : (
|
|
366
|
-
|
|
367
|
-
|
|
365
|
+
])) : (o(), a("div", Pt, [
|
|
366
|
+
l("div", Lt, [
|
|
367
|
+
l("i", {
|
|
368
368
|
class: d(`cuIcon-${e.icon} text-${e.color}`)
|
|
369
369
|
}, null, 2),
|
|
370
370
|
x(e.$slots, "default")
|
|
371
371
|
]),
|
|
372
|
-
|
|
372
|
+
l("div", Dt, [
|
|
373
373
|
x(e.$slots, "action")
|
|
374
374
|
])
|
|
375
375
|
]));
|
|
376
376
|
}
|
|
377
|
-
}),
|
|
377
|
+
}), Ft = {
|
|
378
378
|
name: "TAvatar"
|
|
379
379
|
}, z = /* @__PURE__ */ _({
|
|
380
|
-
...
|
|
380
|
+
...Ft,
|
|
381
381
|
props: {
|
|
382
382
|
url: {},
|
|
383
383
|
size: { default: "lg" },
|
|
384
384
|
mode: { default: "round" }
|
|
385
385
|
},
|
|
386
386
|
setup(t) {
|
|
387
|
-
return (e, c) => e.url ? (
|
|
387
|
+
return (e, c) => e.url ? (o(), a("div", {
|
|
388
388
|
key: 0,
|
|
389
389
|
class: d(["cu-avatar", e.size, e.mode]),
|
|
390
|
-
style:
|
|
391
|
-
}, null, 6)) : (
|
|
390
|
+
style: C({ backgroundImage: `url(${e.url})` })
|
|
391
|
+
}, null, 6)) : (o(), a("div", {
|
|
392
392
|
key: 1,
|
|
393
393
|
class: d(["padding-xs", ["cu-avatar", e.size, e.mode]])
|
|
394
394
|
}, [
|
|
@@ -397,7 +397,7 @@ const xt = {
|
|
|
397
397
|
}
|
|
398
398
|
}), Ut = { class: "cu-avatar-group" }, Xt = {
|
|
399
399
|
name: "TAvatarGroup"
|
|
400
|
-
},
|
|
400
|
+
}, D = /* @__PURE__ */ _({
|
|
401
401
|
...Xt,
|
|
402
402
|
props: {
|
|
403
403
|
urls: { default: () => [] },
|
|
@@ -405,8 +405,8 @@ const xt = {
|
|
|
405
405
|
mode: { default: "round" }
|
|
406
406
|
},
|
|
407
407
|
setup(t) {
|
|
408
|
-
return (e, c) => (
|
|
409
|
-
(
|
|
408
|
+
return (e, c) => (o(), a("div", Ut, [
|
|
409
|
+
(o(!0), a(b, null, y(e.urls, (s, i) => (o(), V(z, {
|
|
410
410
|
key: i,
|
|
411
411
|
url: s,
|
|
412
412
|
size: e.size
|
|
@@ -438,18 +438,18 @@ const xt = {
|
|
|
438
438
|
})), i = j(() => ({
|
|
439
439
|
marginRight: e.text ? "8px" : "0"
|
|
440
440
|
}));
|
|
441
|
-
return (
|
|
441
|
+
return (n, h) => (o(), a("button", {
|
|
442
442
|
class: d(c.value),
|
|
443
|
-
style:
|
|
444
|
-
disabled:
|
|
443
|
+
style: C(s.value),
|
|
444
|
+
disabled: n.disabled
|
|
445
445
|
}, [
|
|
446
|
-
x(
|
|
447
|
-
|
|
446
|
+
x(n.$slots, "default"),
|
|
447
|
+
n.icon ? (o(), a("i", {
|
|
448
448
|
key: 0,
|
|
449
|
-
class: d(`cuIcon-${
|
|
450
|
-
style:
|
|
449
|
+
class: d(`cuIcon-${n.icon}`),
|
|
450
|
+
style: C(i.value)
|
|
451
451
|
}, null, 6)) : p("", !0),
|
|
452
|
-
|
|
452
|
+
n.text ? (o(), a("span", Ot, u(n.text), 1)) : p("", !0)
|
|
453
453
|
], 14, Yt));
|
|
454
454
|
}
|
|
455
455
|
}), Gt = { key: 0 }, Kt = {
|
|
@@ -472,26 +472,26 @@ const xt = {
|
|
|
472
472
|
`${e.line !== !1 ? "line" : "bg"}-${e.bg}`,
|
|
473
473
|
e.size !== "default" ? e.size : ""
|
|
474
474
|
].join(" ")), s = j(() => ({}));
|
|
475
|
-
return (i,
|
|
475
|
+
return (i, n) => (o(), a("div", {
|
|
476
476
|
class: d(c.value),
|
|
477
|
-
style:
|
|
477
|
+
style: C(s.value)
|
|
478
478
|
}, [
|
|
479
479
|
x(i.$slots, "default"),
|
|
480
|
-
i.text ? (
|
|
480
|
+
i.text ? (o(), a("span", Gt, u(i.text), 1)) : p("", !0)
|
|
481
481
|
], 6));
|
|
482
482
|
}
|
|
483
483
|
});
|
|
484
484
|
L.install = (t) => {
|
|
485
485
|
t.component(L.name, L);
|
|
486
486
|
};
|
|
487
|
-
|
|
488
|
-
t.component(
|
|
487
|
+
O.install = (t) => {
|
|
488
|
+
t.component(O.name, O);
|
|
489
489
|
};
|
|
490
490
|
z.install = (t) => {
|
|
491
491
|
t.component(z.name, z);
|
|
492
492
|
};
|
|
493
|
-
|
|
494
|
-
t.component(
|
|
493
|
+
D.install = (t) => {
|
|
494
|
+
t.component(D.name, D);
|
|
495
495
|
};
|
|
496
496
|
H.install = (t) => {
|
|
497
497
|
t.component(H.name, H);
|
|
@@ -548,28 +548,28 @@ const Jt = ["onClick"], Qt = {
|
|
|
548
548
|
const e = t, c = (s, i) => {
|
|
549
549
|
e.onItemClick && e.onItemClick(s, i);
|
|
550
550
|
};
|
|
551
|
-
return (s, i) => (
|
|
551
|
+
return (s, i) => (o(), a("div", {
|
|
552
552
|
class: d(["cu-bar tabbar", `bg-${s.bg} ${s.isFoot ? "foot" : ""}`])
|
|
553
553
|
}, [
|
|
554
|
-
(
|
|
554
|
+
(o(!0), a(b, null, y(s.items, (n, h) => (o(), a("div", {
|
|
555
555
|
key: h,
|
|
556
556
|
class: d(["action", `text-${h === s.activeIndex ? s.activeColor : s.color}`]),
|
|
557
|
-
onClick: (r) => c(
|
|
557
|
+
onClick: (r) => c(n, h)
|
|
558
558
|
}, [
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
src:
|
|
559
|
+
n.img ? (o(), a("div", Qt, [
|
|
560
|
+
l("img", {
|
|
561
|
+
src: n.img,
|
|
562
562
|
style: { width: "21px", height: "21px" },
|
|
563
563
|
class: "radius"
|
|
564
564
|
}, null, 8, Wt),
|
|
565
|
-
|
|
566
|
-
])) : (
|
|
565
|
+
n.badge ? (o(), a("div", Zt, u(n.badge), 1)) : p("", !0)
|
|
566
|
+
])) : (o(), a("div", {
|
|
567
567
|
key: 1,
|
|
568
|
-
class: d(`cuIcon-${
|
|
568
|
+
class: d(`cuIcon-${n.icon}`)
|
|
569
569
|
}, [
|
|
570
|
-
|
|
570
|
+
n.badge ? (o(), a("div", es, u(n.badge), 1)) : p("", !0)
|
|
571
571
|
], 2)),
|
|
572
|
-
|
|
572
|
+
l("div", null, u(n.label), 1)
|
|
573
573
|
], 10, Jt))), 128))
|
|
574
574
|
], 2));
|
|
575
575
|
}
|
|
@@ -577,14 +577,8 @@ const Jt = ["onClick"], Qt = {
|
|
|
577
577
|
G.install = (t) => {
|
|
578
578
|
t.component(G.name, G);
|
|
579
579
|
};
|
|
580
|
-
const ss = {
|
|
581
|
-
|
|
582
|
-
class: "action"
|
|
583
|
-
}, ns = { key: 1 }, os = { class: "content text-bold" }, ls = {
|
|
584
|
-
key: 2,
|
|
585
|
-
class: "action"
|
|
586
|
-
}, as = { name: "TTopBar" }, K = /* @__PURE__ */ _({
|
|
587
|
-
...as,
|
|
580
|
+
const ss = { key: 1 }, ns = { class: "content text-bold" }, os = { key: 1 }, ls = { name: "TTopBar" }, K = /* @__PURE__ */ _({
|
|
581
|
+
...ls,
|
|
588
582
|
props: {
|
|
589
583
|
title: {},
|
|
590
584
|
leftIcon: {},
|
|
@@ -592,30 +586,47 @@ const ss = {
|
|
|
592
586
|
leftText: {},
|
|
593
587
|
rightIcon: {},
|
|
594
588
|
rightIconColor: { default: "gray" },
|
|
589
|
+
rightText: {},
|
|
595
590
|
bg: { default: "white" },
|
|
596
591
|
avatarUrl: {}
|
|
597
592
|
},
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
593
|
+
emits: ["leftClick", "rightClick"],
|
|
594
|
+
setup(t, { emit: e }) {
|
|
595
|
+
const c = e, s = () => {
|
|
596
|
+
c("leftClick");
|
|
597
|
+
}, i = () => {
|
|
598
|
+
c("rightClick");
|
|
599
|
+
};
|
|
600
|
+
return (n, h) => (o(), a("div", {
|
|
601
|
+
class: d(["cu-bar", `bg-${n.bg}`])
|
|
601
602
|
}, [
|
|
602
|
-
|
|
603
|
-
|
|
603
|
+
n.leftIcon || n.leftText ? (o(), a("div", {
|
|
604
|
+
key: 0,
|
|
605
|
+
class: "action",
|
|
606
|
+
onClick: s
|
|
607
|
+
}, [
|
|
608
|
+
n.leftIcon ? (o(), a("text", {
|
|
604
609
|
key: 0,
|
|
605
|
-
class: d(`cuIcon-${
|
|
610
|
+
class: d(`cuIcon-${n.leftIcon} text-${n.leftIconColor}`)
|
|
606
611
|
}, null, 2)) : p("", !0),
|
|
607
|
-
|
|
612
|
+
n.leftText ? (o(), a("span", ss, u(n.leftText), 1)) : p("", !0)
|
|
608
613
|
])) : p("", !0),
|
|
609
|
-
|
|
614
|
+
n.avatarUrl ? (o(), a("div", {
|
|
610
615
|
key: 1,
|
|
611
616
|
class: "cu-avatar round",
|
|
612
|
-
style:
|
|
617
|
+
style: C({ backgroundImage: `url(${n.avatarUrl})` })
|
|
613
618
|
}, null, 4)) : p("", !0),
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
+
l("div", ns, u(n.title), 1),
|
|
620
|
+
n.rightIcon || n.rightText ? (o(), a("div", {
|
|
621
|
+
key: 2,
|
|
622
|
+
class: "action",
|
|
623
|
+
onClick: i
|
|
624
|
+
}, [
|
|
625
|
+
n.rightIcon ? (o(), a("text", {
|
|
626
|
+
key: 0,
|
|
627
|
+
class: d(`cuIcon-${n.rightIcon} text-${n.rightIconColor}`)
|
|
628
|
+
}, null, 2)) : p("", !0),
|
|
629
|
+
n.rightText ? (o(), a("span", os, u(n.rightText), 1)) : p("", !0)
|
|
619
630
|
])) : p("", !0)
|
|
620
631
|
], 2));
|
|
621
632
|
}
|
|
@@ -623,13 +634,13 @@ const ss = {
|
|
|
623
634
|
K.install = (t) => {
|
|
624
635
|
t.component(K.name, K);
|
|
625
636
|
};
|
|
626
|
-
const
|
|
637
|
+
const as = /* @__PURE__ */ l("text", { class: "cuIcon-search" }, null, -1), is = ["placeholder"], cs = { class: "action" }, rs = {
|
|
627
638
|
key: 0,
|
|
628
639
|
class: "cu-btn bg-green shadow-blur round"
|
|
629
|
-
},
|
|
640
|
+
}, us = { key: 0 }, ds = { key: 3 }, hs = {
|
|
630
641
|
name: "TSearchBar"
|
|
631
642
|
}, J = /* @__PURE__ */ _({
|
|
632
|
-
...
|
|
643
|
+
...hs,
|
|
633
644
|
props: {
|
|
634
645
|
placeholder: { default: "" },
|
|
635
646
|
bgColor: { default: "white" },
|
|
@@ -647,39 +658,39 @@ const is = /* @__PURE__ */ o("text", { class: "cuIcon-search" }, null, -1), cs =
|
|
|
647
658
|
}, s = () => {
|
|
648
659
|
e.value = 0;
|
|
649
660
|
};
|
|
650
|
-
return (i,
|
|
661
|
+
return (i, n) => (o(), a("div", {
|
|
651
662
|
class: d(["cu-bar", `bg-${i.bgColor}`, "search"])
|
|
652
663
|
}, [
|
|
653
|
-
i.avatarUrl ? (
|
|
664
|
+
i.avatarUrl ? (o(), a("div", {
|
|
654
665
|
key: 0,
|
|
655
666
|
class: "cu-avatar round",
|
|
656
|
-
style:
|
|
667
|
+
style: C({ backgroundImage: `url(${i.avatarUrl})` })
|
|
657
668
|
}, null, 4)) : p("", !0),
|
|
658
|
-
|
|
669
|
+
l("div", {
|
|
659
670
|
class: d(["search-form", i.borderRadiusClass])
|
|
660
671
|
}, [
|
|
661
|
-
|
|
662
|
-
|
|
672
|
+
as,
|
|
673
|
+
l("input", {
|
|
663
674
|
onFocus: c,
|
|
664
675
|
onBlur: s,
|
|
665
676
|
"adjust-position": !1,
|
|
666
677
|
type: "text",
|
|
667
678
|
placeholder: i.placeholder,
|
|
668
679
|
"confirm-type": "search"
|
|
669
|
-
}, null, 40,
|
|
680
|
+
}, null, 40, is)
|
|
670
681
|
], 2),
|
|
671
|
-
|
|
672
|
-
i.buttonText ? (
|
|
673
|
-
i.location ? (
|
|
674
|
-
i.locationIcon ? (
|
|
682
|
+
l("div", cs, [
|
|
683
|
+
i.buttonText ? (o(), a("button", rs, u(i.buttonText), 1)) : (o(), a(b, { key: 1 }, [
|
|
684
|
+
i.location ? (o(), a("text", us, u(i.location), 1)) : p("", !0),
|
|
685
|
+
i.locationIcon ? (o(), a("text", {
|
|
675
686
|
key: 1,
|
|
676
687
|
class: d(`cuIcon-${i.locationIcon}`)
|
|
677
688
|
}, null, 2)) : p("", !0),
|
|
678
|
-
i.actionIcon ? (
|
|
689
|
+
i.actionIcon ? (o(), a("text", {
|
|
679
690
|
key: 2,
|
|
680
691
|
class: d(`cuIcon-${i.actionIcon}`)
|
|
681
692
|
}, null, 2)) : p("", !0),
|
|
682
|
-
i.actionText ? (
|
|
693
|
+
i.actionText ? (o(), a("text", ds, u(i.actionText), 1)) : p("", !0)
|
|
683
694
|
], 64))
|
|
684
695
|
])
|
|
685
696
|
], 2));
|
|
@@ -688,10 +699,10 @@ const is = /* @__PURE__ */ o("text", { class: "cuIcon-search" }, null, -1), cs =
|
|
|
688
699
|
J.install = (t) => {
|
|
689
700
|
t.component(J.name, J);
|
|
690
701
|
};
|
|
691
|
-
const
|
|
702
|
+
const ps = {
|
|
692
703
|
key: 0,
|
|
693
704
|
class: "string-list"
|
|
694
|
-
},
|
|
705
|
+
}, fs = ["innerHTML", "onClick"], ms = /* @__PURE__ */ _({
|
|
695
706
|
__name: "CandidateBox",
|
|
696
707
|
props: {
|
|
697
708
|
text: {},
|
|
@@ -701,7 +712,7 @@ const fs = {
|
|
|
701
712
|
setup(t, { emit: e }) {
|
|
702
713
|
const c = e, s = t, i = (h = "", r) => {
|
|
703
714
|
c("send", h, r);
|
|
704
|
-
},
|
|
715
|
+
}, n = j(() => s.stringArray.map((h) => {
|
|
705
716
|
if (!s.text)
|
|
706
717
|
return h.text;
|
|
707
718
|
let r = "";
|
|
@@ -709,15 +720,15 @@ const fs = {
|
|
|
709
720
|
s.text.includes(f) ? r += `<span style="color:#ff0000">${f}</span>` : r += f;
|
|
710
721
|
return r;
|
|
711
722
|
}));
|
|
712
|
-
return (h, r) => h.stringArray.length ? (
|
|
713
|
-
(
|
|
723
|
+
return (h, r) => h.stringArray.length ? (o(), a("ul", ps, [
|
|
724
|
+
(o(!0), a(b, null, y(n.value, (f, $) => (o(), a("li", {
|
|
714
725
|
key: $,
|
|
715
726
|
innerHTML: f,
|
|
716
727
|
onClick: (g) => i(h.stringArray[$].text, h.stringArray[$])
|
|
717
|
-
}, null, 8,
|
|
728
|
+
}, null, 8, fs))), 128))
|
|
718
729
|
])) : p("", !0);
|
|
719
730
|
}
|
|
720
|
-
}),
|
|
731
|
+
}), gs = /* @__PURE__ */ A(ms, [["__scopeId", "data-v-c7a21a1c"]]), _s = [
|
|
721
732
|
"😀",
|
|
722
733
|
"😁",
|
|
723
734
|
"😂",
|
|
@@ -781,7 +792,7 @@ const fs = {
|
|
|
781
792
|
"☠",
|
|
782
793
|
"👻",
|
|
783
794
|
"👽"
|
|
784
|
-
],
|
|
795
|
+
], On = [
|
|
785
796
|
{ title: "红色", name: "red" },
|
|
786
797
|
{ title: "橙色", name: "orange" },
|
|
787
798
|
{ title: "黄色", name: "yellow" },
|
|
@@ -820,65 +831,65 @@ const fs = {
|
|
|
820
831
|
{ title: "渐变湖蓝", name: "gradual-lake-blue" },
|
|
821
832
|
{ title: "渐变玫瑰金", name: "gradual-rose-gold" },
|
|
822
833
|
{ title: "渐变海洋", name: "gradual-ocean" }
|
|
823
|
-
],
|
|
834
|
+
], vs = ["onClick"], bs = /* @__PURE__ */ _({
|
|
824
835
|
__name: "EmojiPanel",
|
|
825
836
|
emits: ["addEmoji"],
|
|
826
837
|
setup(t, { emit: e }) {
|
|
827
838
|
const c = e, s = (i) => {
|
|
828
839
|
c("addEmoji", i);
|
|
829
840
|
};
|
|
830
|
-
return (i,
|
|
841
|
+
return (i, n) => (o(), a("div", {
|
|
831
842
|
class: "emoji-panel",
|
|
832
843
|
ref: "emojiPanel",
|
|
833
|
-
onClick:
|
|
844
|
+
onClick: n[0] || (n[0] = de(() => {
|
|
834
845
|
}, ["stop"]))
|
|
835
846
|
}, [
|
|
836
|
-
(
|
|
847
|
+
(o(!0), a(b, null, y(Be(_s), (h) => (o(), a("span", {
|
|
837
848
|
key: h,
|
|
838
849
|
onClick: (r) => s(h)
|
|
839
|
-
}, u(h), 9,
|
|
850
|
+
}, u(h), 9, vs))), 128))
|
|
840
851
|
], 512));
|
|
841
852
|
}
|
|
842
|
-
}),
|
|
853
|
+
}), $s = /* @__PURE__ */ A(bs, [["__scopeId", "data-v-e9a4aa4d"]]), ys = { class: "function-panel-container" }, ks = ["onClick"], Is = /* @__PURE__ */ _({
|
|
843
854
|
__name: "FunctionPanel",
|
|
844
855
|
props: {
|
|
845
856
|
items: {}
|
|
846
857
|
},
|
|
847
858
|
setup(t) {
|
|
848
859
|
const e = B(null);
|
|
849
|
-
return
|
|
860
|
+
return R(() => {
|
|
850
861
|
}), (c, s) => {
|
|
851
862
|
const i = ke("TIcon");
|
|
852
|
-
return
|
|
853
|
-
|
|
863
|
+
return o(), a("div", ys, [
|
|
864
|
+
l("div", {
|
|
854
865
|
class: "function-panel",
|
|
855
866
|
ref_key: "functionPanel",
|
|
856
867
|
ref: e
|
|
857
868
|
}, [
|
|
858
|
-
(
|
|
869
|
+
(o(!0), a(b, null, y(c.items, (n, h) => (o(), a("div", {
|
|
859
870
|
key: h,
|
|
860
871
|
class: "function-item",
|
|
861
|
-
onClick:
|
|
872
|
+
onClick: n.event
|
|
862
873
|
}, [
|
|
863
874
|
P(i, {
|
|
864
|
-
name:
|
|
865
|
-
color:
|
|
875
|
+
name: n.icon,
|
|
876
|
+
color: n.color,
|
|
866
877
|
size: 26
|
|
867
878
|
}, null, 8, ["name", "color"]),
|
|
868
|
-
|
|
869
|
-
], 8,
|
|
879
|
+
l("span", null, u(n.text), 1)
|
|
880
|
+
], 8, ks))), 128))
|
|
870
881
|
], 512)
|
|
871
882
|
]);
|
|
872
883
|
};
|
|
873
884
|
}
|
|
874
|
-
}), Cs = /* @__PURE__ */ A(
|
|
885
|
+
}), Cs = /* @__PURE__ */ A(Is, [["__scopeId", "data-v-1fefca20"]]), ws = { class: "cu-bar input" }, xs = {
|
|
875
886
|
key: 0,
|
|
876
887
|
class: "action"
|
|
877
|
-
},
|
|
888
|
+
}, Ts = {
|
|
878
889
|
key: 1,
|
|
879
890
|
class: "action"
|
|
880
|
-
},
|
|
881
|
-
...
|
|
891
|
+
}, Bs = ["value", "placeholder"], Ss = { class: "action" }, js = { name: "TInputBar" }, Es = /* @__PURE__ */ _({
|
|
892
|
+
...js,
|
|
882
893
|
props: {
|
|
883
894
|
modelValue: {},
|
|
884
895
|
leftIcon: {},
|
|
@@ -892,46 +903,46 @@ const fs = {
|
|
|
892
903
|
},
|
|
893
904
|
emits: ["update:modelValue", "send"],
|
|
894
905
|
setup(t, { emit: e }) {
|
|
895
|
-
const c = B(0), s = B(!1), i = B(!1),
|
|
906
|
+
const c = B(0), s = B(!1), i = B(!1), n = e, h = t, r = (m) => {
|
|
896
907
|
c.value = m.detail.height;
|
|
897
908
|
}, f = () => {
|
|
898
909
|
c.value = 0;
|
|
899
|
-
}, $ = (m = "",
|
|
900
|
-
m ?
|
|
910
|
+
}, $ = (m = "", w) => {
|
|
911
|
+
m ? n("send", m, w) : n("send", h.modelValue), n("update:modelValue", ""), s.value = !1;
|
|
901
912
|
}, g = () => {
|
|
902
913
|
i.value = !1, s.value = !s.value;
|
|
903
914
|
}, I = () => {
|
|
904
915
|
s.value = !1, i.value = !i.value;
|
|
905
916
|
}, S = (m) => {
|
|
906
|
-
|
|
917
|
+
n("update:modelValue", h.modelValue + m);
|
|
907
918
|
}, E = (m) => {
|
|
908
|
-
const
|
|
909
|
-
|
|
919
|
+
const w = m.target;
|
|
920
|
+
n("update:modelValue", w.value);
|
|
910
921
|
};
|
|
911
|
-
return
|
|
922
|
+
return R(() => {
|
|
912
923
|
}), Se(() => {
|
|
913
|
-
}), (m,
|
|
914
|
-
P(
|
|
924
|
+
}), (m, w) => (o(), a(b, null, [
|
|
925
|
+
P(gs, {
|
|
915
926
|
text: m.modelValue,
|
|
916
927
|
"string-array": m.stringArray,
|
|
917
928
|
onSend: $
|
|
918
929
|
}, null, 8, ["text", "string-array"]),
|
|
919
|
-
|
|
920
|
-
m.leftIcon ? (
|
|
921
|
-
|
|
930
|
+
l("div", ws, [
|
|
931
|
+
m.leftIcon ? (o(), a("div", xs, [
|
|
932
|
+
l("text", {
|
|
922
933
|
class: d(`cuIcon-${m.leftIcon} text-grey`)
|
|
923
934
|
}, null, 2)
|
|
924
935
|
])) : p("", !0),
|
|
925
|
-
m.middleIcon ? (
|
|
926
|
-
|
|
936
|
+
m.middleIcon ? (o(), a("div", Ts, [
|
|
937
|
+
l("text", {
|
|
927
938
|
class: d(`cuIcon-${m.middleIcon} text-grey`)
|
|
928
939
|
}, null, 2)
|
|
929
940
|
])) : p("", !0),
|
|
930
|
-
|
|
941
|
+
l("input", {
|
|
931
942
|
onFocus: r,
|
|
932
943
|
onBlur: f,
|
|
933
|
-
onKeydown:
|
|
934
|
-
onConfirm:
|
|
944
|
+
onKeydown: w[0] || (w[0] = je((N) => $(), ["enter"])),
|
|
945
|
+
onConfirm: w[1] || (w[1] = (N) => $()),
|
|
935
946
|
"adjust-position": !1,
|
|
936
947
|
class: "solid-bottom",
|
|
937
948
|
maxlength: "300",
|
|
@@ -939,28 +950,28 @@ const fs = {
|
|
|
939
950
|
value: m.modelValue,
|
|
940
951
|
onInput: E,
|
|
941
952
|
placeholder: m.placeholder
|
|
942
|
-
}, null, 40,
|
|
943
|
-
|
|
944
|
-
|
|
953
|
+
}, null, 40, Bs),
|
|
954
|
+
l("div", Ss, [
|
|
955
|
+
l("text", {
|
|
945
956
|
class: d(`cuIcon-${m.rightIcon} text-grey`),
|
|
946
957
|
onClick: de(g, ["stop"])
|
|
947
958
|
}, null, 2),
|
|
948
|
-
m.functionItems && m.functionItems.length > 0 ? (
|
|
959
|
+
m.functionItems && m.functionItems.length > 0 ? (o(), a("text", {
|
|
949
960
|
key: 0,
|
|
950
961
|
class: d("cuIcon-roundaddfill text-grey"),
|
|
951
962
|
onClick: de(I, ["stop"])
|
|
952
963
|
})) : p("", !0)
|
|
953
964
|
]),
|
|
954
|
-
|
|
965
|
+
l("button", {
|
|
955
966
|
class: d(["cu-btn shadow-blur round", `bg-${m.buttonBg}`]),
|
|
956
|
-
onClick:
|
|
967
|
+
onClick: w[2] || (w[2] = (N) => $())
|
|
957
968
|
}, [
|
|
958
969
|
x(m.$slots, "default", {}, () => [
|
|
959
970
|
k(u(m.buttonText), 1)
|
|
960
971
|
], !0)
|
|
961
972
|
], 2)
|
|
962
973
|
]),
|
|
963
|
-
he(P(
|
|
974
|
+
he(P($s, { onAddEmoji: S }, null, 512), [
|
|
964
975
|
[pe, s.value]
|
|
965
976
|
]),
|
|
966
977
|
he(P(Cs, { items: m.functionItems }, null, 8, ["items"]), [
|
|
@@ -968,14 +979,14 @@ const fs = {
|
|
|
968
979
|
])
|
|
969
980
|
], 64));
|
|
970
981
|
}
|
|
971
|
-
}), Q = /* @__PURE__ */ A(
|
|
982
|
+
}), Q = /* @__PURE__ */ A(Es, [["__scopeId", "data-v-626eda11"]]);
|
|
972
983
|
Q.install = (t) => {
|
|
973
984
|
t.component(Q.name, Q);
|
|
974
985
|
};
|
|
975
|
-
const
|
|
986
|
+
const Vs = ["onClick"], Ms = { class: "tab-content" }, zs = {
|
|
976
987
|
name: "TTabs"
|
|
977
988
|
}, W = /* @__PURE__ */ _({
|
|
978
|
-
...
|
|
989
|
+
...zs,
|
|
979
990
|
props: {
|
|
980
991
|
modelValue: { default: 0 },
|
|
981
992
|
center: { type: Boolean, default: !1 },
|
|
@@ -989,52 +1000,52 @@ const Ms = ["onClick"], zs = { class: "tab-content" }, qs = {
|
|
|
989
1000
|
},
|
|
990
1001
|
emits: ["update:modelValue", "select"],
|
|
991
1002
|
setup(t, { emit: e }) {
|
|
992
|
-
const c = t, s = e, i = B([]),
|
|
993
|
-
|
|
1003
|
+
const c = t, s = e, i = B([]), n = B(c.modelValue), h = (g, I) => {
|
|
1004
|
+
n.value = g, s("update:modelValue", g), s("select", I);
|
|
994
1005
|
};
|
|
995
|
-
ve("registerTab", (g) => (i.value.push(g), i.value.length - 1)), ve("activeTab",
|
|
1006
|
+
ve("registerTab", (g) => (i.value.push(g), i.value.length - 1)), ve("activeTab", n);
|
|
996
1007
|
const f = j(() => c.center !== !1 ? "justify-content:center;" : `justify-content:${c.mode}`), $ = j(() => (g) => {
|
|
997
1008
|
let I = [];
|
|
998
|
-
return
|
|
1009
|
+
return n.value === g && (I.push(`text-${c.color}`), c.bold !== !1 && I.push("text-bold"), c.line !== !1 && I.push("cur")), I;
|
|
999
1010
|
});
|
|
1000
1011
|
return Ie(
|
|
1001
1012
|
() => c.modelValue,
|
|
1002
1013
|
(g) => {
|
|
1003
|
-
|
|
1014
|
+
n.value = g;
|
|
1004
1015
|
},
|
|
1005
1016
|
{
|
|
1006
1017
|
immediate: !0
|
|
1007
1018
|
}
|
|
1008
|
-
), (g, I) => (
|
|
1019
|
+
), (g, I) => (o(), a("div", {
|
|
1009
1020
|
class: d(g.isCard !== !1 ? "is-card" : "")
|
|
1010
1021
|
}, [
|
|
1011
|
-
|
|
1022
|
+
l("div", {
|
|
1012
1023
|
class: d(["nav flex", [, `bg-${g.bg}`, `text-${g.text}`]]),
|
|
1013
|
-
style:
|
|
1024
|
+
style: C(f.value)
|
|
1014
1025
|
}, [
|
|
1015
|
-
(
|
|
1026
|
+
(o(!0), a(b, null, y(i.value, (S, E) => (o(), a("div", {
|
|
1016
1027
|
class: d(["cu-item", $.value(E)]),
|
|
1017
1028
|
key: E,
|
|
1018
1029
|
onClick: (m) => h(E, S)
|
|
1019
1030
|
}, [
|
|
1020
|
-
S.icon ? (
|
|
1031
|
+
S.icon ? (o(), a("i", {
|
|
1021
1032
|
key: 0,
|
|
1022
|
-
class: d(`cuIcon-${S.icon} text-${
|
|
1033
|
+
class: d(`cuIcon-${S.icon} text-${n.value === E ? g.color : S.iconColor}`)
|
|
1023
1034
|
}, null, 2)) : p("", !0),
|
|
1024
1035
|
k(" " + u(S.label), 1)
|
|
1025
|
-
], 10,
|
|
1036
|
+
], 10, Vs))), 128))
|
|
1026
1037
|
], 6),
|
|
1027
|
-
|
|
1038
|
+
l("div", Ms, [
|
|
1028
1039
|
x(g.$slots, "default", {
|
|
1029
|
-
tab: i.value[
|
|
1040
|
+
tab: i.value[n.value]
|
|
1030
1041
|
})
|
|
1031
1042
|
])
|
|
1032
1043
|
], 2));
|
|
1033
1044
|
}
|
|
1034
|
-
}),
|
|
1045
|
+
}), qs = {
|
|
1035
1046
|
name: "TTab"
|
|
1036
1047
|
}, Z = /* @__PURE__ */ _({
|
|
1037
|
-
...
|
|
1048
|
+
...qs,
|
|
1038
1049
|
props: {
|
|
1039
1050
|
label: {},
|
|
1040
1051
|
icon: { default: "" },
|
|
@@ -1043,22 +1054,22 @@ const Ms = ["onClick"], zs = { class: "tab-content" }, qs = {
|
|
|
1043
1054
|
setup(t) {
|
|
1044
1055
|
const e = t, c = fe(
|
|
1045
1056
|
"registerTab"
|
|
1046
|
-
), s = fe("activeTab"), i = B(null),
|
|
1057
|
+
), s = fe("activeTab"), i = B(null), n = j(() => (s == null ? void 0 : s.value) === i.value), h = j(() => ({
|
|
1047
1058
|
label: e.label,
|
|
1048
1059
|
icon: e.icon,
|
|
1049
1060
|
iconColor: e.iconColor
|
|
1050
1061
|
}));
|
|
1051
|
-
return
|
|
1062
|
+
return R(() => {
|
|
1052
1063
|
c && (i.value = c({
|
|
1053
1064
|
label: e.label,
|
|
1054
1065
|
icon: e.icon,
|
|
1055
1066
|
iconColor: e.iconColor
|
|
1056
1067
|
}));
|
|
1057
|
-
}), (r, f) => he((
|
|
1068
|
+
}), (r, f) => he((o(), a("div", null, [
|
|
1058
1069
|
x(r.$slots, "default"),
|
|
1059
1070
|
x(r.$slots, "custom", { tab: h.value })
|
|
1060
1071
|
], 512)), [
|
|
1061
|
-
[pe,
|
|
1072
|
+
[pe, n.value]
|
|
1062
1073
|
]);
|
|
1063
1074
|
}
|
|
1064
1075
|
});
|
|
@@ -1088,16 +1099,16 @@ var ye;
|
|
|
1088
1099
|
})(ye || (ye = {}));
|
|
1089
1100
|
Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
1090
1101
|
Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
1091
|
-
const
|
|
1102
|
+
const As = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
|
|
1092
1103
|
Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
1093
1104
|
Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
1094
|
-
function
|
|
1095
|
-
return fe(
|
|
1105
|
+
function Ns() {
|
|
1106
|
+
return fe(As);
|
|
1096
1107
|
}
|
|
1097
|
-
const
|
|
1108
|
+
const Ps = ["onClick"], Ls = {
|
|
1098
1109
|
key: 0,
|
|
1099
1110
|
class: "cu-tag badge"
|
|
1100
|
-
},
|
|
1111
|
+
}, Ds = { key: 0 }, Rs = {
|
|
1101
1112
|
name: "GridGroup"
|
|
1102
1113
|
}, ee = /* @__PURE__ */ _({
|
|
1103
1114
|
...Rs,
|
|
@@ -1170,7 +1181,7 @@ const Ls = ["onClick"], Ds = {
|
|
|
1170
1181
|
routeFn: { type: Function, default: void 0 }
|
|
1171
1182
|
},
|
|
1172
1183
|
setup(t) {
|
|
1173
|
-
const e = t, c =
|
|
1184
|
+
const e = t, c = Ns(), s = (i) => {
|
|
1174
1185
|
if (i.path) {
|
|
1175
1186
|
e.routeFn ? e.routeFn().push({
|
|
1176
1187
|
path: i.path
|
|
@@ -1184,40 +1195,40 @@ const Ls = ["onClick"], Ds = {
|
|
|
1184
1195
|
return;
|
|
1185
1196
|
}
|
|
1186
1197
|
};
|
|
1187
|
-
return (i,
|
|
1198
|
+
return (i, n) => (o(), a("div", {
|
|
1188
1199
|
class: d(["cu-list grid", ["col-" + i.gridCol, i.gridBorder ? "" : "no-border"]])
|
|
1189
1200
|
}, [
|
|
1190
|
-
(
|
|
1201
|
+
(o(!0), a(b, null, y(i.cuIconList, (h, r) => (o(), a("div", {
|
|
1191
1202
|
class: "cu-item",
|
|
1192
1203
|
key: r,
|
|
1193
|
-
style:
|
|
1204
|
+
style: C(`width: calc(100% / ${i.gridCol})`),
|
|
1194
1205
|
onClick: (f) => s(h)
|
|
1195
1206
|
}, [
|
|
1196
|
-
|
|
1207
|
+
l("div", {
|
|
1197
1208
|
class: d(["cuIcon-" + h.cuIcon, "text-" + h.color])
|
|
1198
1209
|
}, [
|
|
1199
|
-
h.badge != 0 ? (
|
|
1200
|
-
h.badge != 1 ? (
|
|
1210
|
+
h.badge != 0 ? (o(), a("div", Ls, [
|
|
1211
|
+
h.badge != 1 ? (o(), a("i", Ds, u((h.badge || 0) > 99 ? "99+" : h.badge), 1)) : p("", !0)
|
|
1201
1212
|
])) : p("", !0)
|
|
1202
1213
|
], 2),
|
|
1203
|
-
|
|
1204
|
-
], 12,
|
|
1214
|
+
l("text", null, u(h.name), 1)
|
|
1215
|
+
], 12, Ps))), 128))
|
|
1205
1216
|
], 2));
|
|
1206
1217
|
}
|
|
1207
1218
|
});
|
|
1208
1219
|
ee.install = (t) => {
|
|
1209
1220
|
t.component(ee.name, ee);
|
|
1210
1221
|
};
|
|
1211
|
-
const
|
|
1222
|
+
const Fs = ["onClick"], Us = { class: "content" }, Xs = ["src", "alt"], Ys = { class: "text-grey" }, Os = { class: "action" }, Hs = {
|
|
1212
1223
|
key: 1,
|
|
1213
1224
|
class: "text-grey text-sm"
|
|
1214
|
-
},
|
|
1225
|
+
}, Gs = ["onClick"], Ks = {
|
|
1215
1226
|
key: 4,
|
|
1216
1227
|
class: "text-grey text-sm"
|
|
1217
|
-
},
|
|
1228
|
+
}, Js = {
|
|
1218
1229
|
name: "Menu"
|
|
1219
1230
|
}, te = /* @__PURE__ */ _({
|
|
1220
|
-
...
|
|
1231
|
+
...Js,
|
|
1221
1232
|
props: {
|
|
1222
1233
|
menuItems: { default: () => [
|
|
1223
1234
|
{
|
|
@@ -1299,51 +1310,51 @@ const Us = ["onClick"], Xs = { class: "content" }, Ys = ["src", "alt"], Os = { c
|
|
|
1299
1310
|
}, c = (s) => {
|
|
1300
1311
|
s && s();
|
|
1301
1312
|
};
|
|
1302
|
-
return (s, i) => (
|
|
1313
|
+
return (s, i) => (o(), a("div", {
|
|
1303
1314
|
class: d(["cu-list menu", [s.menuBorder ? "sm-border" : "", s.menuCard ? "card-menu" : ""]])
|
|
1304
1315
|
}, [
|
|
1305
|
-
(
|
|
1316
|
+
(o(!0), a(b, null, y(s.menuItems, (n, h) => (o(), a("div", {
|
|
1306
1317
|
key: h,
|
|
1307
1318
|
class: d(["cu-item", s.menuArrow ? "arrow" : ""]),
|
|
1308
|
-
onClick: (r) => e(
|
|
1319
|
+
onClick: (r) => e(n)
|
|
1309
1320
|
}, [
|
|
1310
|
-
|
|
1311
|
-
|
|
1321
|
+
l("div", Us, [
|
|
1322
|
+
n.icon ? (o(), V(L, {
|
|
1312
1323
|
key: 0,
|
|
1313
1324
|
class: "icon",
|
|
1314
|
-
name:
|
|
1315
|
-
color:
|
|
1325
|
+
name: n.icon.name,
|
|
1326
|
+
color: n.icon.color
|
|
1316
1327
|
}, null, 8, ["name", "color"])) : p("", !0),
|
|
1317
|
-
|
|
1328
|
+
n.img ? (o(), a("img", {
|
|
1318
1329
|
key: 1,
|
|
1319
1330
|
class: "icon",
|
|
1320
|
-
src:
|
|
1321
|
-
alt:
|
|
1322
|
-
}, null, 8,
|
|
1323
|
-
|
|
1331
|
+
src: n.img.url,
|
|
1332
|
+
alt: n.img.alt
|
|
1333
|
+
}, null, 8, Xs)) : p("", !0),
|
|
1334
|
+
l("text", Ys, u(n.title), 1)
|
|
1324
1335
|
]),
|
|
1325
|
-
|
|
1326
|
-
|
|
1336
|
+
l("div", Os, [
|
|
1337
|
+
n.group ? (o(), V(D, {
|
|
1327
1338
|
key: 0,
|
|
1328
|
-
urls:
|
|
1339
|
+
urls: n.group
|
|
1329
1340
|
}, null, 8, ["urls"])) : p("", !0),
|
|
1330
|
-
|
|
1331
|
-
|
|
1341
|
+
n.group ? (o(), a("text", Hs, u(n.group.length) + "人", 1)) : p("", !0),
|
|
1342
|
+
n.btn ? (o(), a("button", {
|
|
1332
1343
|
key: 2,
|
|
1333
|
-
class: d(["cu-btn round shadow", `bg-${
|
|
1344
|
+
class: d(["cu-btn round shadow", `bg-${n.btn.bg}`]),
|
|
1334
1345
|
onClick: (r) => {
|
|
1335
1346
|
var f;
|
|
1336
|
-
return c((f =
|
|
1347
|
+
return c((f = n.btn) == null ? void 0 : f.event);
|
|
1337
1348
|
}
|
|
1338
1349
|
}, [
|
|
1339
|
-
|
|
1350
|
+
n.btn.icon ? (o(), V(L, {
|
|
1340
1351
|
key: 0,
|
|
1341
|
-
name:
|
|
1352
|
+
name: n.btn.icon,
|
|
1342
1353
|
color: "white"
|
|
1343
1354
|
}, null, 8, ["name"])) : p("", !0),
|
|
1344
|
-
k(" " + u(
|
|
1345
|
-
], 10,
|
|
1346
|
-
|
|
1355
|
+
k(" " + u(n.btn.text), 1)
|
|
1356
|
+
], 10, Gs)) : p("", !0),
|
|
1357
|
+
n.tags ? (o(!0), a(b, { key: 3 }, y(n.tags, (r, f) => (o(), V(q, {
|
|
1347
1358
|
size: r.size,
|
|
1348
1359
|
key: f,
|
|
1349
1360
|
bg: r.bg,
|
|
@@ -1355,22 +1366,22 @@ const Us = ["onClick"], Xs = { class: "content" }, Ys = ["src", "alt"], Os = { c
|
|
|
1355
1366
|
]),
|
|
1356
1367
|
_: 2
|
|
1357
1368
|
}, 1032, ["size", "bg", "light"]))), 128)) : p("", !0),
|
|
1358
|
-
|
|
1369
|
+
n.text ? (o(), a("text", Ks, u(n.text), 1)) : p("", !0)
|
|
1359
1370
|
])
|
|
1360
|
-
], 10,
|
|
1371
|
+
], 10, Fs))), 128))
|
|
1361
1372
|
], 2));
|
|
1362
1373
|
}
|
|
1363
1374
|
});
|
|
1364
1375
|
te.install = (t) => {
|
|
1365
1376
|
t.component(te.name, te);
|
|
1366
1377
|
};
|
|
1367
|
-
const
|
|
1378
|
+
const Qs = {
|
|
1368
1379
|
key: 1,
|
|
1369
1380
|
class: "cu-tag badge"
|
|
1370
|
-
},
|
|
1381
|
+
}, Ws = { class: "content" }, Zs = { class: "flex align-center" }, en = { class: "text-cut text-black" }, tn = { class: "text-gray text-sm flex" }, sn = { class: "text-cut" }, nn = { class: "action" }, on = { class: "text-grey text-xs" }, ln = {
|
|
1371
1382
|
name: "ChatListItem"
|
|
1372
1383
|
}, me = /* @__PURE__ */ _({
|
|
1373
|
-
...
|
|
1384
|
+
...ln,
|
|
1374
1385
|
props: {
|
|
1375
1386
|
userinfo: {},
|
|
1376
1387
|
roomId: {},
|
|
@@ -1392,46 +1403,46 @@ const Ws = {
|
|
|
1392
1403
|
setup(t) {
|
|
1393
1404
|
const e = t;
|
|
1394
1405
|
return (c, s) => {
|
|
1395
|
-
var
|
|
1406
|
+
var n;
|
|
1396
1407
|
const i = ke("TIcon");
|
|
1397
|
-
return
|
|
1408
|
+
return o(), a("div", {
|
|
1398
1409
|
class: d(["cu-item", { grayscale: c.isDisconnected, cur: c.isCurrent }]),
|
|
1399
1410
|
onClick: s[0] || (s[0] = (h) => c.event(e))
|
|
1400
1411
|
}, [
|
|
1401
|
-
|
|
1412
|
+
l("div", {
|
|
1402
1413
|
class: d(["cu-avatar", c.userinfo.avatarShape, "lg", `bg-${c.avatarBg}`]),
|
|
1403
|
-
style:
|
|
1414
|
+
style: C({
|
|
1404
1415
|
backgroundImage: c.userinfo.avatar ? `url(${c.userinfo.avatar})` : ""
|
|
1405
1416
|
})
|
|
1406
1417
|
}, [
|
|
1407
|
-
(
|
|
1418
|
+
(n = c.userinfo) != null && n.avatar ? p("", !0) : (o(), V(i, {
|
|
1408
1419
|
key: 0,
|
|
1409
1420
|
name: c.avatarName,
|
|
1410
1421
|
size: 36,
|
|
1411
1422
|
color: "white"
|
|
1412
1423
|
}, null, 8, ["name"])),
|
|
1413
|
-
c.badge ? (
|
|
1424
|
+
c.badge ? (o(), a("div", Qs, u(c.badge), 1)) : p("", !0)
|
|
1414
1425
|
], 6),
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
c.userinfo.tag ? (
|
|
1426
|
+
l("div", Ws, [
|
|
1427
|
+
l("div", Zs, [
|
|
1428
|
+
l("div", en, u(c.userinfo.name), 1),
|
|
1429
|
+
c.userinfo.tag ? (o(), a("div", {
|
|
1419
1430
|
key: 0,
|
|
1420
1431
|
class: d(["cu-tag", "round", `bg-${c.userinfo.tagColor}`, "sm"])
|
|
1421
1432
|
}, u(c.userinfo.tag), 3)) : p("", !0)
|
|
1422
1433
|
]),
|
|
1423
|
-
|
|
1424
|
-
|
|
1434
|
+
l("div", tn, [
|
|
1435
|
+
l("div", sn, [
|
|
1425
1436
|
x(c.$slots, "default")
|
|
1426
1437
|
])
|
|
1427
1438
|
])
|
|
1428
1439
|
]),
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
c.unread ? (
|
|
1440
|
+
l("div", nn, [
|
|
1441
|
+
l("div", on, u(c.time), 1),
|
|
1442
|
+
c.unread ? (o(), a("div", {
|
|
1432
1443
|
key: 0,
|
|
1433
1444
|
class: d(["cu-tag", "round", `bg-${c.unreadColor}`, "sm"])
|
|
1434
|
-
}, u(c.unread), 3)) : c.icon ? (
|
|
1445
|
+
}, u(c.unread), 3)) : c.icon ? (o(), a("div", {
|
|
1435
1446
|
key: 1,
|
|
1436
1447
|
class: d(c.iconClass)
|
|
1437
1448
|
}, null, 2)) : p("", !0)
|
|
@@ -1439,16 +1450,16 @@ const Ws = {
|
|
|
1439
1450
|
], 2);
|
|
1440
1451
|
};
|
|
1441
1452
|
}
|
|
1442
|
-
}),
|
|
1453
|
+
}), an = { class: "cu-list menu-avatar" }, cn = {
|
|
1443
1454
|
name: "ChatList"
|
|
1444
1455
|
}, se = /* @__PURE__ */ _({
|
|
1445
|
-
...
|
|
1456
|
+
...cn,
|
|
1446
1457
|
props: {
|
|
1447
1458
|
items: {}
|
|
1448
1459
|
},
|
|
1449
1460
|
setup(t) {
|
|
1450
|
-
return (e, c) => (
|
|
1451
|
-
(
|
|
1461
|
+
return (e, c) => (o(), a("div", an, [
|
|
1462
|
+
(o(!0), a(b, null, y(e.items, (s, i) => (o(), V(me, {
|
|
1452
1463
|
"avatar-name": s.avatarName,
|
|
1453
1464
|
"avatar-bg": s.avatarBg,
|
|
1454
1465
|
time: s.time,
|
|
@@ -1476,74 +1487,74 @@ const Ws = {
|
|
|
1476
1487
|
se.install = (t) => {
|
|
1477
1488
|
t.component(se.name, se), t.component(me.name, me);
|
|
1478
1489
|
};
|
|
1479
|
-
const
|
|
1490
|
+
const rn = { class: "cu-chat" }, un = {
|
|
1480
1491
|
key: 0,
|
|
1481
1492
|
class: "cu-info round"
|
|
1482
|
-
},
|
|
1493
|
+
}, dn = {
|
|
1483
1494
|
key: 1,
|
|
1484
1495
|
class: "cu-info"
|
|
1485
|
-
},
|
|
1496
|
+
}, hn = /* @__PURE__ */ l("text", { class: "cuIcon-roundclosefill text-red" }, null, -1), pn = { class: "main" }, fn = ["src"], mn = {
|
|
1486
1497
|
key: 2,
|
|
1487
1498
|
class: "content shadow"
|
|
1488
|
-
},
|
|
1499
|
+
}, gn = /* @__PURE__ */ l("text", { class: "cuIcon-sound text-xxl padding-right-xl" }, null, -1), _n = { class: "action text-bold text-grey" }, vn = {
|
|
1489
1500
|
key: 3,
|
|
1490
1501
|
class: "content shadow"
|
|
1491
|
-
},
|
|
1492
|
-
/* @__PURE__ */
|
|
1493
|
-
/* @__PURE__ */
|
|
1494
|
-
], -1),
|
|
1495
|
-
...
|
|
1502
|
+
}, bn = /* @__PURE__ */ l("text", { class: "cuIcon-locationfill text-orange text-xxl" }, null, -1), $n = { class: "content shadow" }, yn = /* @__PURE__ */ l("div", { class: "action text-grey" }, [
|
|
1503
|
+
/* @__PURE__ */ l("text", { class: "cuIcon-warnfill text-red text-xxl" }),
|
|
1504
|
+
/* @__PURE__ */ l("text", { class: "text-sm margin-left-sm" }, "翻译错误")
|
|
1505
|
+
], -1), kn = { class: "date" }, In = { name: "ChatRoom" }, ne = /* @__PURE__ */ _({
|
|
1506
|
+
...In,
|
|
1496
1507
|
props: {
|
|
1497
1508
|
messages: {}
|
|
1498
1509
|
},
|
|
1499
1510
|
setup(t) {
|
|
1500
|
-
return (e, c) => (
|
|
1501
|
-
(
|
|
1511
|
+
return (e, c) => (o(), a("div", rn, [
|
|
1512
|
+
(o(!0), a(b, null, y(e.messages, (s) => (o(), a("div", {
|
|
1502
1513
|
key: s.id,
|
|
1503
1514
|
class: d(["cu-item", { self: s.self }])
|
|
1504
1515
|
}, [
|
|
1505
|
-
s.type === "info" ? (
|
|
1506
|
-
s.self ? (
|
|
1507
|
-
|
|
1516
|
+
s.type === "info" ? (o(), a(b, { key: 0 }, [
|
|
1517
|
+
s.self ? (o(), a("div", un, u(s.content), 1)) : (o(), a("div", dn, [
|
|
1518
|
+
hn,
|
|
1508
1519
|
k(" " + u(s.content), 1)
|
|
1509
1520
|
]))
|
|
1510
|
-
], 64)) : (
|
|
1511
|
-
s.self ? p("", !0) : (
|
|
1521
|
+
], 64)) : (o(), a(b, { key: 1 }, [
|
|
1522
|
+
s.self ? p("", !0) : (o(), V(z, {
|
|
1512
1523
|
key: 0,
|
|
1513
1524
|
mode: "radius",
|
|
1514
1525
|
url: s.avatar
|
|
1515
1526
|
}, null, 8, ["url"])),
|
|
1516
|
-
|
|
1517
|
-
s.type === "text" ? (
|
|
1527
|
+
l("div", pn, [
|
|
1528
|
+
s.type === "text" ? (o(), a("div", {
|
|
1518
1529
|
key: 0,
|
|
1519
1530
|
class: d(["content shadow", { "bg-green": s.self }])
|
|
1520
1531
|
}, [
|
|
1521
|
-
|
|
1522
|
-
], 2)) : s.type === "image" ? (
|
|
1532
|
+
l("text", null, u(s.content), 1)
|
|
1533
|
+
], 2)) : s.type === "image" ? (o(), a("img", {
|
|
1523
1534
|
key: 1,
|
|
1524
1535
|
src: s.content,
|
|
1525
1536
|
class: "radius",
|
|
1526
1537
|
style: { "max-width": "100%" }
|
|
1527
|
-
}, null, 8,
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
])) : s.type === "location" ? (
|
|
1531
|
-
|
|
1538
|
+
}, null, 8, fn)) : s.type === "audio" ? (o(), a("div", mn, [
|
|
1539
|
+
gn,
|
|
1540
|
+
l("div", _n, u(s.content), 1)
|
|
1541
|
+
])) : s.type === "location" ? (o(), a("div", vn, [
|
|
1542
|
+
bn,
|
|
1532
1543
|
k(" " + u(s.content), 1)
|
|
1533
|
-
])) : s.type === "warning" ? (
|
|
1534
|
-
|
|
1535
|
-
|
|
1544
|
+
])) : s.type === "warning" ? (o(), a(b, { key: 4 }, [
|
|
1545
|
+
l("div", $n, u(s.content), 1),
|
|
1546
|
+
yn
|
|
1536
1547
|
], 64)) : x(e.$slots, "custom-message", {
|
|
1537
1548
|
key: 5,
|
|
1538
1549
|
message: s
|
|
1539
1550
|
})
|
|
1540
1551
|
]),
|
|
1541
|
-
s.self ? (
|
|
1552
|
+
s.self ? (o(), V(z, {
|
|
1542
1553
|
key: 1,
|
|
1543
1554
|
mode: "radius",
|
|
1544
1555
|
url: s.avatar
|
|
1545
1556
|
}, null, 8, ["url"])) : p("", !0),
|
|
1546
|
-
|
|
1557
|
+
l("div", kn, u(s.date), 1)
|
|
1547
1558
|
], 64))
|
|
1548
1559
|
], 2))), 128))
|
|
1549
1560
|
]));
|
|
@@ -1552,13 +1563,13 @@ const un = { class: "cu-chat" }, dn = {
|
|
|
1552
1563
|
ne.install = (t) => {
|
|
1553
1564
|
t.component(ne.name, ne);
|
|
1554
1565
|
};
|
|
1555
|
-
const Cn = { class: "cu-time" },
|
|
1566
|
+
const Cn = { class: "cu-time" }, wn = {
|
|
1556
1567
|
key: 0,
|
|
1557
1568
|
class: "cu-capsule radius"
|
|
1558
|
-
},
|
|
1569
|
+
}, xn = {
|
|
1559
1570
|
name: "TimeLine"
|
|
1560
1571
|
}, oe = /* @__PURE__ */ _({
|
|
1561
|
-
...
|
|
1572
|
+
...xn,
|
|
1562
1573
|
props: {
|
|
1563
1574
|
items: { default: () => [] }
|
|
1564
1575
|
},
|
|
@@ -1578,22 +1589,22 @@ const Cn = { class: "cu-time" }, xn = {
|
|
|
1578
1589
|
return `text-gray cuIcon-${s.icon || "radioboxfill"}`;
|
|
1579
1590
|
}
|
|
1580
1591
|
}
|
|
1581
|
-
return (s, i) => (
|
|
1582
|
-
(
|
|
1592
|
+
return (s, i) => (o(), a("div", null, [
|
|
1593
|
+
(o(!0), a(b, null, y(s.items, (n, h) => (o(), a("div", {
|
|
1583
1594
|
key: h,
|
|
1584
1595
|
class: "cu-timeline"
|
|
1585
1596
|
}, [
|
|
1586
|
-
|
|
1587
|
-
(
|
|
1597
|
+
l("div", Cn, u(n.date), 1),
|
|
1598
|
+
(o(!0), a(b, null, y(n.items, (r) => {
|
|
1588
1599
|
var f, $, g;
|
|
1589
|
-
return
|
|
1600
|
+
return o(), a("div", {
|
|
1590
1601
|
key: r.key,
|
|
1591
1602
|
class: d(["cu-item", c(r)])
|
|
1592
1603
|
}, [
|
|
1593
|
-
|
|
1604
|
+
l("div", {
|
|
1594
1605
|
class: d(["content", `bg-${r.bg || "gray"}`, "shadow-blur"])
|
|
1595
1606
|
}, [
|
|
1596
|
-
(f = r == null ? void 0 : r.capsule) != null && f.list && r.capsule.list.length ? (
|
|
1607
|
+
(f = r == null ? void 0 : r.capsule) != null && f.list && r.capsule.list.length ? (o(), a("div", wn, [
|
|
1597
1608
|
P(q, {
|
|
1598
1609
|
bg: e(($ = r.capsule) == null ? void 0 : $.color)
|
|
1599
1610
|
}, {
|
|
@@ -1612,7 +1623,7 @@ const Cn = { class: "cu-time" }, xn = {
|
|
|
1612
1623
|
_: 2
|
|
1613
1624
|
}, 1032, ["bg"])
|
|
1614
1625
|
])) : p("", !0),
|
|
1615
|
-
|
|
1626
|
+
l("div", {
|
|
1616
1627
|
class: d(r.capsule ? "margin-top-sm" : "")
|
|
1617
1628
|
}, [
|
|
1618
1629
|
x(s.$slots, `item-${r.key}`, {}, () => [
|
|
@@ -1629,10 +1640,10 @@ const Cn = { class: "cu-time" }, xn = {
|
|
|
1629
1640
|
oe.install = (t) => {
|
|
1630
1641
|
t.component(oe.name, oe);
|
|
1631
1642
|
};
|
|
1632
|
-
const
|
|
1643
|
+
const Tn = { class: "bg-white padding" }, Bn = ["data-index"], Sn = {
|
|
1633
1644
|
name: "TSteps"
|
|
1634
1645
|
}, le = /* @__PURE__ */ _({
|
|
1635
|
-
...
|
|
1646
|
+
...Sn,
|
|
1636
1647
|
props: {
|
|
1637
1648
|
steps: {},
|
|
1638
1649
|
modelValue: {},
|
|
@@ -1641,18 +1652,18 @@ const Bn = { class: "bg-white padding" }, Sn = ["data-index"], jn = {
|
|
|
1641
1652
|
},
|
|
1642
1653
|
emits: ["update:modelValue"],
|
|
1643
1654
|
setup(t, { emit: e }) {
|
|
1644
|
-
return (c, s) => (
|
|
1645
|
-
|
|
1655
|
+
return (c, s) => (o(), a("div", Tn, [
|
|
1656
|
+
l("div", {
|
|
1646
1657
|
class: d(["cu-steps", { "scroll-x": c.scrollX }])
|
|
1647
1658
|
}, [
|
|
1648
|
-
(
|
|
1649
|
-
class: d(["cu-item",
|
|
1650
|
-
key:
|
|
1659
|
+
(o(!0), a(b, null, y(c.steps, (i, n) => (o(), a("div", {
|
|
1660
|
+
class: d(["cu-item", n > c.modelValue ? "" : `text-${c.color}`]),
|
|
1661
|
+
key: n
|
|
1651
1662
|
}, [
|
|
1652
|
-
|
|
1663
|
+
l("text", {
|
|
1653
1664
|
class: d(i.cuIcon ? "cuIcon-" + i.cuIcon : "num"),
|
|
1654
|
-
"data-index":
|
|
1655
|
-
}, u(i.cuIcon ? "" :
|
|
1665
|
+
"data-index": n + 1
|
|
1666
|
+
}, u(i.cuIcon ? "" : n + 1), 11, Bn),
|
|
1656
1667
|
k(" " + u(i.name), 1)
|
|
1657
1668
|
], 2))), 128))
|
|
1658
1669
|
], 2)
|
|
@@ -1662,12 +1673,12 @@ const Bn = { class: "bg-white padding" }, Sn = ["data-index"], jn = {
|
|
|
1662
1673
|
le.install = (t) => {
|
|
1663
1674
|
t.component(le.name, le);
|
|
1664
1675
|
};
|
|
1665
|
-
const
|
|
1666
|
-
|
|
1667
|
-
],
|
|
1676
|
+
const jn = { class: "cu-dialog" }, En = { class: "cu-bar bg-white justify-end padding-right-sm" }, Vn = { class: "content" }, Mn = /* @__PURE__ */ l("text", { class: "cuIcon-close text-red" }, null, -1), zn = [
|
|
1677
|
+
Mn
|
|
1678
|
+
], qn = { class: "padding-xl" }, An = {
|
|
1668
1679
|
name: "DrawerModal"
|
|
1669
1680
|
}, ae = /* @__PURE__ */ _({
|
|
1670
|
-
...
|
|
1681
|
+
...An,
|
|
1671
1682
|
props: {
|
|
1672
1683
|
title: {},
|
|
1673
1684
|
modelValue: { type: Boolean }
|
|
@@ -1677,18 +1688,18 @@ const En = { class: "cu-dialog" }, Vn = { class: "cu-bar bg-white justify-end pa
|
|
|
1677
1688
|
const c = e, s = () => {
|
|
1678
1689
|
c("update:modelValue", !1);
|
|
1679
1690
|
};
|
|
1680
|
-
return (i,
|
|
1691
|
+
return (i, n) => (o(), a("div", {
|
|
1681
1692
|
class: d(["cu-modal", i.modelValue ? "show" : ""])
|
|
1682
1693
|
}, [
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1694
|
+
l("div", jn, [
|
|
1695
|
+
l("div", En, [
|
|
1696
|
+
l("div", Vn, u(i.title), 1),
|
|
1697
|
+
l("div", {
|
|
1687
1698
|
class: "action",
|
|
1688
1699
|
onClick: s
|
|
1689
|
-
},
|
|
1700
|
+
}, zn)
|
|
1690
1701
|
]),
|
|
1691
|
-
|
|
1702
|
+
l("div", qn, [
|
|
1692
1703
|
x(i.$slots, "default", {}, () => [
|
|
1693
1704
|
k("Modal 内容~")
|
|
1694
1705
|
])
|
|
@@ -1700,10 +1711,10 @@ const En = { class: "cu-dialog" }, Vn = { class: "cu-bar bg-white justify-end pa
|
|
|
1700
1711
|
ae.install = (t) => {
|
|
1701
1712
|
t.component(ae.name, ae);
|
|
1702
1713
|
};
|
|
1703
|
-
const
|
|
1714
|
+
const Nn = { class: "loading-animation" }, Pn = {
|
|
1704
1715
|
name: "Loading1"
|
|
1705
|
-
},
|
|
1706
|
-
...
|
|
1716
|
+
}, Ln = /* @__PURE__ */ _({
|
|
1717
|
+
...Pn,
|
|
1707
1718
|
props: {
|
|
1708
1719
|
width: { default: 300 },
|
|
1709
1720
|
height: { default: 300 },
|
|
@@ -1712,7 +1723,7 @@ const Pn = { class: "loading-animation" }, Ln = {
|
|
|
1712
1723
|
},
|
|
1713
1724
|
setup(t) {
|
|
1714
1725
|
class e {
|
|
1715
|
-
constructor(
|
|
1726
|
+
constructor(n, h, r) {
|
|
1716
1727
|
M(this, "radius");
|
|
1717
1728
|
M(this, "x");
|
|
1718
1729
|
M(this, "y");
|
|
@@ -1721,21 +1732,21 @@ const Pn = { class: "loading-animation" }, Ln = {
|
|
|
1721
1732
|
M(this, "accel");
|
|
1722
1733
|
M(this, "decay");
|
|
1723
1734
|
M(this, "life");
|
|
1724
|
-
this.radius = h, this.x =
|
|
1735
|
+
this.radius = h, this.x = n.x, this.y = n.y, this.angle = n.angle, this.speed = n.speed, this.accel = n.accel, this.decay = r, this.life = 1;
|
|
1725
1736
|
}
|
|
1726
|
-
step(
|
|
1727
|
-
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(
|
|
1737
|
+
step(n, h) {
|
|
1738
|
+
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(n, 1);
|
|
1728
1739
|
}
|
|
1729
|
-
draw(
|
|
1730
|
-
|
|
1740
|
+
draw(n, h, r, f) {
|
|
1741
|
+
n.fillStyle = n.strokeStyle = `hsla(${h + this.life * 120}, 100%, 60%, ${this.life})`, n.beginPath(), r[f - 1] && (n.moveTo(this.x, this.y), n.lineTo(r[f - 1].x, r[f - 1].y)), n.stroke(), n.beginPath(), n.arc(
|
|
1731
1742
|
this.x,
|
|
1732
1743
|
this.y,
|
|
1733
1744
|
Math.max(1e-3, this.life * this.radius),
|
|
1734
1745
|
0,
|
|
1735
1746
|
Math.PI * 2
|
|
1736
|
-
),
|
|
1747
|
+
), n.fill();
|
|
1737
1748
|
const $ = Math.random() * 1.25;
|
|
1738
|
-
|
|
1749
|
+
n.fillRect(
|
|
1739
1750
|
~~(this.x + (Math.random() - 0.5) * 35 * this.life),
|
|
1740
1751
|
~~(this.y + (Math.random() - 0.5) * 35 * this.life),
|
|
1741
1752
|
$,
|
|
@@ -1744,18 +1755,18 @@ const Pn = { class: "loading-animation" }, Ln = {
|
|
|
1744
1755
|
}
|
|
1745
1756
|
}
|
|
1746
1757
|
const c = t, s = B(null);
|
|
1747
|
-
return
|
|
1758
|
+
return R(() => {
|
|
1748
1759
|
if (!s.value) return;
|
|
1749
|
-
const i = s.value.getContext("2d"), { width:
|
|
1750
|
-
s.value.width =
|
|
1751
|
-
const g =
|
|
1760
|
+
const i = s.value.getContext("2d"), { width: n, height: h, particleRadius: r, particleDecay: f } = c, $ = window.devicePixelRatio || 1;
|
|
1761
|
+
s.value.width = n * $, s.value.height = h * $, s.value.style.width = n + "px", s.value.style.height = h + "px", i.scale($, $);
|
|
1762
|
+
const g = n * 0.5, I = [];
|
|
1752
1763
|
let S = 0, E = 0, m = 0;
|
|
1753
1764
|
i.globalCompositeOperation = "lighter";
|
|
1754
|
-
function
|
|
1765
|
+
function w() {
|
|
1755
1766
|
I.push(
|
|
1756
1767
|
new e(
|
|
1757
1768
|
{
|
|
1758
|
-
x:
|
|
1769
|
+
x: n / 2 + Math.cos(m / 20) * g / 2,
|
|
1759
1770
|
y: h / 2 + Math.sin(m / 20) * g / 2,
|
|
1760
1771
|
angle: E + S,
|
|
1761
1772
|
speed: 0,
|
|
@@ -1769,26 +1780,26 @@ const Pn = { class: "loading-animation" }, Ln = {
|
|
|
1769
1780
|
}), E += Math.PI / 2, S += Math.PI / 2;
|
|
1770
1781
|
}
|
|
1771
1782
|
function N() {
|
|
1772
|
-
i.clearRect(0, 0,
|
|
1783
|
+
i.clearRect(0, 0, n, h), I.forEach((v, T) => {
|
|
1773
1784
|
v.draw(i, m, I, T);
|
|
1774
1785
|
});
|
|
1775
1786
|
}
|
|
1776
1787
|
function F() {
|
|
1777
|
-
requestAnimationFrame(F),
|
|
1788
|
+
requestAnimationFrame(F), w(), N(), m++;
|
|
1778
1789
|
}
|
|
1779
1790
|
F();
|
|
1780
|
-
}), (i,
|
|
1781
|
-
|
|
1791
|
+
}), (i, n) => (o(), a("div", Nn, [
|
|
1792
|
+
l("canvas", {
|
|
1782
1793
|
ref_key: "canvas",
|
|
1783
1794
|
ref: s
|
|
1784
1795
|
}, null, 512)
|
|
1785
1796
|
]));
|
|
1786
1797
|
}
|
|
1787
|
-
}), ie = /* @__PURE__ */ A(
|
|
1798
|
+
}), ie = /* @__PURE__ */ A(Ln, [["__scopeId", "data-v-022c82bd"]]);
|
|
1788
1799
|
ie.install = (t) => {
|
|
1789
1800
|
t.component(ie.name, ie);
|
|
1790
1801
|
};
|
|
1791
|
-
const
|
|
1802
|
+
const Dn = ["data-index"], Rn = { name: "TVirtualScrollSlide" }, Fn = /* @__PURE__ */ _({
|
|
1792
1803
|
...Rn,
|
|
1793
1804
|
props: {
|
|
1794
1805
|
virtualTotal: {},
|
|
@@ -1797,7 +1808,7 @@ const Fn = ["data-index"], Rn = { name: "TVirtualScrollSlide" }, Un = /* @__PURE
|
|
|
1797
1808
|
},
|
|
1798
1809
|
emits: ["slideLeft", "slideRight"],
|
|
1799
1810
|
setup(t, { emit: e }) {
|
|
1800
|
-
const c = t, s = e, i = B(null),
|
|
1811
|
+
const c = t, s = e, i = B(null), n = B(null), h = B(0), r = Ee({
|
|
1801
1812
|
localIndex: 0,
|
|
1802
1813
|
wrapperHeight: 0,
|
|
1803
1814
|
touchStartY: 0,
|
|
@@ -1810,7 +1821,7 @@ const Fn = ["data-index"], Rn = { name: "TVirtualScrollSlide" }, Un = /* @__PURE
|
|
|
1810
1821
|
(v, T) => {
|
|
1811
1822
|
v.length !== T.length && g();
|
|
1812
1823
|
}
|
|
1813
|
-
),
|
|
1824
|
+
), R(() => {
|
|
1814
1825
|
i.value && (r.wrapperHeight = i.value.clientHeight, g());
|
|
1815
1826
|
});
|
|
1816
1827
|
const g = () => {
|
|
@@ -1825,7 +1836,7 @@ const Fn = ["data-index"], Rn = { name: "TVirtualScrollSlide" }, Un = /* @__PURE
|
|
|
1825
1836
|
v.touches.length > 0 && (r.touchEndY = v.touches[0].clientY, r.touchEndX = v.touches[0].clientX);
|
|
1826
1837
|
}, E = () => {
|
|
1827
1838
|
const v = r.touchEndY - r.touchStartY, T = r.touchEndX - r.touchStartX;
|
|
1828
|
-
Math.abs(v) > Math.abs(T) && Math.abs(v) > 30 ? v < 0 ? m() :
|
|
1839
|
+
Math.abs(v) > Math.abs(T) && Math.abs(v) > 30 ? v < 0 ? m() : w() : Math.abs(T) > 30 && (T < 0 ? s("slideLeft", {
|
|
1829
1840
|
item: f.value[r.localIndex],
|
|
1830
1841
|
index: r.localIndex
|
|
1831
1842
|
}) : s("slideRight", {
|
|
@@ -1834,10 +1845,10 @@ const Fn = ["data-index"], Rn = { name: "TVirtualScrollSlide" }, Un = /* @__PURE
|
|
|
1834
1845
|
})), r.touchStartY = 0, r.touchEndY = 0, r.touchStartX = 0, r.touchEndX = 0;
|
|
1835
1846
|
}, m = () => {
|
|
1836
1847
|
r.localIndex < c.list.length - 1 && (r.localIndex++, g());
|
|
1837
|
-
},
|
|
1848
|
+
}, w = () => {
|
|
1838
1849
|
r.localIndex > 0 && (r.localIndex--, g());
|
|
1839
1850
|
}, N = (v) => (r.localIndex + v) * r.wrapperHeight, F = j(() => f.value.map((v) => `video-${v.id}`).join(","));
|
|
1840
|
-
return (v, T) => (
|
|
1851
|
+
return (v, T) => (o(), a("div", {
|
|
1841
1852
|
class: "slide-wrapper",
|
|
1842
1853
|
ref_key: "wrapper",
|
|
1843
1854
|
ref: i,
|
|
@@ -1845,33 +1856,33 @@ const Fn = ["data-index"], Rn = { name: "TVirtualScrollSlide" }, Un = /* @__PURE
|
|
|
1845
1856
|
onTouchmove: S,
|
|
1846
1857
|
onTouchend: E
|
|
1847
1858
|
}, [
|
|
1848
|
-
|
|
1859
|
+
l("div", {
|
|
1849
1860
|
class: "slide-list",
|
|
1850
1861
|
ref_key: "slideList",
|
|
1851
|
-
ref:
|
|
1852
|
-
style:
|
|
1862
|
+
ref: n,
|
|
1863
|
+
style: C({ transform: `translateY(${h.value}px)` })
|
|
1853
1864
|
}, [
|
|
1854
|
-
(
|
|
1855
|
-
(
|
|
1865
|
+
(o(), V(Ve, { include: F.value }, [
|
|
1866
|
+
(o(!0), a(b, null, y(f.value, (_e, ue) => (o(), a("div", {
|
|
1856
1867
|
key: _e.id,
|
|
1857
1868
|
"data-index": ue,
|
|
1858
1869
|
class: d($),
|
|
1859
|
-
style:
|
|
1870
|
+
style: C({ top: `${N(ue)}px` })
|
|
1860
1871
|
}, [
|
|
1861
|
-
(
|
|
1862
|
-
], 12,
|
|
1872
|
+
(o(), V(Me(v.render(_e, ue))))
|
|
1873
|
+
], 12, Dn))), 128))
|
|
1863
1874
|
], 1032, ["include"]))
|
|
1864
1875
|
], 4)
|
|
1865
1876
|
], 544));
|
|
1866
1877
|
}
|
|
1867
|
-
}), ce = /* @__PURE__ */ A(
|
|
1878
|
+
}), ce = /* @__PURE__ */ A(Fn, [["__scopeId", "data-v-8600af8d"]]);
|
|
1868
1879
|
ce.install = (t) => {
|
|
1869
1880
|
t.component(ce.name, ce);
|
|
1870
1881
|
};
|
|
1871
|
-
const
|
|
1872
|
-
t.use(L), t.use(
|
|
1873
|
-
},
|
|
1874
|
-
install:
|
|
1882
|
+
const Un = (t) => {
|
|
1883
|
+
t.use(L), t.use(O), t.use(z), t.use(D), t.use(U), t.use(X), t.use(Y), 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);
|
|
1884
|
+
}, Hn = {
|
|
1885
|
+
install: Un
|
|
1875
1886
|
};
|
|
1876
1887
|
export {
|
|
1877
1888
|
se as ChatList,
|
|
@@ -1881,21 +1892,22 @@ export {
|
|
|
1881
1892
|
ie as Loading1,
|
|
1882
1893
|
te as Menu,
|
|
1883
1894
|
z as TAvatar,
|
|
1895
|
+
D as TAvatarGroup,
|
|
1884
1896
|
H as TButton,
|
|
1885
1897
|
L as TIcon,
|
|
1886
1898
|
Q as TInputBar,
|
|
1887
1899
|
G as TNavBar,
|
|
1888
|
-
|
|
1889
|
-
|
|
1900
|
+
U as TNavCard,
|
|
1901
|
+
X as TNewCard,
|
|
1890
1902
|
J as TSearchBar,
|
|
1891
|
-
|
|
1903
|
+
Y as TShareCard,
|
|
1892
1904
|
le as TSteps,
|
|
1893
1905
|
Z as TTab,
|
|
1894
1906
|
W as TTabs,
|
|
1895
1907
|
q as TTag,
|
|
1896
|
-
|
|
1908
|
+
O as TTitle,
|
|
1897
1909
|
K as TTopBar,
|
|
1898
1910
|
oe as TimeLine,
|
|
1899
|
-
|
|
1900
|
-
|
|
1911
|
+
Hn as default,
|
|
1912
|
+
On as textColor
|
|
1901
1913
|
};
|