vue-color-ui 0.0.45 → 0.0.46

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.
@@ -1,44 +1,44 @@
1
- var we = Object.defineProperty;
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);
4
- import { defineComponent as _, createElementBlock as l, openBlock as n, Fragment as b, renderList as y, normalizeStyle as w, normalizeClass as d, createElementVNode as o, 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 D, 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";
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 D, 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
- }, R = /* @__PURE__ */ _({
7
+ }, F = /* @__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, a) => {
15
- c("chickItem", i, a);
14
+ const c = e, s = (i, n) => {
15
+ c("chickItem", i, n);
16
16
  };
17
- return (i, a) => (n(), l("div", ze, [
18
- (n(!0), l(b, null, y(i.items, (h, r) => (n(), l("div", {
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: w([{ animation: "show " + ((r + 1) * 0.2 + 1) + "s 1" }]),
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
- o("div", Ae, u(h.title), 1),
26
- o("div", Ne, u(h.name), 1),
27
- o("text", {
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
- R.install = (t) => {
35
- t.component(R.name, R);
34
+ F.install = (t) => {
35
+ t.component(F.name, F);
36
36
  };
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 = {
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__ */ 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 = {
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) => (n(), l("div", {
62
+ return (e, c) => (o(), a("div", {
63
63
  class: d(["cu-card article", e.isCard ? "" : "no-card"])
64
64
  }, [
65
- o("div", Le, [
66
- o("div", De, [
67
- o("div", Fe, u(e.title), 1)
65
+ l("div", Le, [
66
+ l("div", De, [
67
+ l("div", Re, u(e.title), 1)
68
68
  ]),
69
- o("div", Re, [
70
- o("img", {
69
+ l("div", Fe, [
70
+ l("img", {
71
71
  src: e.imageSrc,
72
72
  alt: e.imageAlt
73
73
  }, null, 8, Ue),
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", {
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 ? (n(), l("div", Oe, [
85
- o("div", He, [
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
- o("div", Qe, [
94
- o("div", We, u(e.footerInfo.author), 1),
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)
@@ -107,10 +107,10 @@ const ge = (t) => (xe("data-v-bbdb83ff"), t = t(), Te(), t), Le = { class: "cu-i
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" }, 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 = {
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__ */ o("span", { class: "cuIcon-messagefill text-gray margin-left-sm" }, null, -1), yt = { class: "text-gray margin-left-xs" }, kt = {
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
  }, X = /* @__PURE__ */ _({
116
116
  ...kt,
@@ -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) => (n(), l("div", null, [
165
- o("div", {
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
- o("div", tt, [
169
- o("div", st, [
170
- o("div", nt, [
171
- o("div", {
168
+ l("div", tt, [
169
+ l("div", st, [
170
+ l("div", nt, [
171
+ l("div", {
172
172
  class: "cu-avatar round lg",
173
- style: w({ backgroundImage: `url(${e.avatarUrl})` })
173
+ style: C({ backgroundImage: `url(${e.avatarUrl})` })
174
174
  }, null, 4),
175
- o("div", ot, [
176
- o("div", null, u(e.author), 1),
177
- o("div", lt, u(e.date), 1)
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
- o("div", at, u(e.content), 1),
182
- o("div", {
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
- (n(!0), l(b, null, y(e.isCard ? 9 : 1, (s) => (n(), l("div", {
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: w({ backgroundImage: `url(${e.imageUrl})` }),
187
+ style: C({ backgroundImage: `url(${e.imageUrl})` }),
188
188
  key: s
189
189
  }, null, 6))), 128))
190
190
  ], 2),
191
- o("div", it, [
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
- (n(!0), l(b, null, y(e.commentsList, (s) => {
199
+ (o(!0), a(b, null, y(e.commentsList, (s) => {
200
200
  var i;
201
- return n(), l("div", {
201
+ return o(), a("div", {
202
202
  class: "cu-list menu-avatar comment solids-top",
203
203
  key: s.id
204
204
  }, [
205
- o("div", dt, [
206
- o("div", {
205
+ l("div", dt, [
206
+ l("div", {
207
207
  class: "cu-avatar round",
208
- style: w({ backgroundImage: `url(${s.avatarUrl})` })
208
+ style: C({ backgroundImage: `url(${s.avatarUrl})` })
209
209
  }, null, 4),
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
- key: a.id,
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
- o("div", mt, [
218
- o("div", null, u(a.author) + ":", 1),
219
- o("div", gt, u(a.text), 1)
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
- o("div", _t, [
223
- o("div", vt, u(s.date), 1),
224
- o("div", null, [
225
- s.likes ? (n(), l("span", bt)) : p("", !0),
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
- o("span", yt, u((i = s.replies) == null ? void 0 : i.length), 1)
227
+ l("span", yt, u((i = s.replies) == null ? void 0 : i.length), 1)
228
228
  ])
229
229
  ])
230
230
  ])
@@ -251,14 +251,14 @@ const It = {
251
251
  xxl: "30px",
252
252
  xxxl: "48px"
253
253
  };
254
- function wt(t, e, c = "px") {
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 Ct(t) {
261
- return wt("font-size", t);
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(() => Ct(e.size));
274
- return (s, i) => (n(), l("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: w(c.value)
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__ */ o("div", {
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__ */ o("div", {
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" }, Ft = { name: "TTitle" }, Y = /* @__PURE__ */ _({
292
- ...Ft,
291
+ }, Lt = { class: "action" }, Dt = { class: "action" }, Rt = { name: "TTitle" }, Y = /* @__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" ? (n(), l("div", {
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
- o("div", Tt, [
308
- o("div", {
307
+ l("div", Tt, [
308
+ l("div", {
309
309
  class: d(["tib text-xl", `text-${e.color}`])
310
310
  }, u(e.title), 3),
311
- o("div", {
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" ? (n(), l("div", {
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
- o("div", Bt, [
321
- o("div", St, u(e.title), 1),
320
+ l("div", Bt, [
321
+ l("div", St, u(e.title), 1),
322
322
  jt
323
323
  ])
324
- ], 2)) : e.mode === "default3" ? (n(), l("div", {
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
- o("div", Et, [
329
- o("div", Vt, u(e.title), 1),
328
+ l("div", Et, [
329
+ l("div", Vt, u(e.title), 1),
330
330
  Mt
331
331
  ])
332
- ], 2)) : e.mode === "default4" ? (n(), l("div", {
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
- o("div", zt, [
337
- o("div", {
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
- o("div", {
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" ? (n(), l("div", {
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
- o("div", qt, [
349
- o("div", {
348
+ l("div", qt, [
349
+ l("div", {
350
350
  class: d(["tib", `text-${e.color}`])
351
351
  }, u(e.title), 3),
352
- o("div", {
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" ? (n(), l("div", At, [
357
- o("div", Nt, [
358
- o("i", {
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
- o("div", {
361
+ l("div", {
362
362
  class: d(["tib text-xl", `text-${e.decorateColor}`])
363
363
  }, u(e.title), 3)
364
364
  ])
365
- ])) : (n(), l("div", Pt, [
366
- o("div", Lt, [
367
- o("i", {
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
- o("div", Dt, [
372
+ l("div", Dt, [
373
373
  x(e.$slots, "action")
374
374
  ])
375
375
  ]));
376
376
  }
377
- }), Rt = {
377
+ }), Ft = {
378
378
  name: "TAvatar"
379
379
  }, z = /* @__PURE__ */ _({
380
- ...Rt,
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 ? (n(), l("div", {
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: w({ backgroundImage: `url(${e.url})` })
391
- }, null, 6)) : (n(), l("div", {
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
  }, [
@@ -405,8 +405,8 @@ const xt = {
405
405
  mode: { default: "round" }
406
406
  },
407
407
  setup(t) {
408
- return (e, c) => (n(), l("div", Ut, [
409
- (n(!0), l(b, null, y(e.urls, (s, i) => (n(), V(z, {
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 (a, h) => (n(), l("button", {
441
+ return (n, h) => (o(), a("button", {
442
442
  class: d(c.value),
443
- style: w(s.value),
444
- disabled: a.disabled
443
+ style: C(s.value),
444
+ disabled: n.disabled
445
445
  }, [
446
- x(a.$slots, "default"),
447
- a.icon ? (n(), l("i", {
446
+ x(n.$slots, "default"),
447
+ n.icon ? (o(), a("i", {
448
448
  key: 0,
449
- class: d(`cuIcon-${a.icon}`),
450
- style: w(i.value)
449
+ class: d(`cuIcon-${n.icon}`),
450
+ style: C(i.value)
451
451
  }, null, 6)) : p("", !0),
452
- a.text ? (n(), l("span", Ot, u(a.text), 1)) : p("", !0)
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,12 +472,12 @@ 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, a) => (n(), l("div", {
475
+ return (i, n) => (o(), a("div", {
476
476
  class: d(c.value),
477
- style: w(s.value)
477
+ style: C(s.value)
478
478
  }, [
479
479
  x(i.$slots, "default"),
480
- i.text ? (n(), l("span", Gt, u(i.text), 1)) : p("", !0)
480
+ i.text ? (o(), a("span", Gt, u(i.text), 1)) : p("", !0)
481
481
  ], 6));
482
482
  }
483
483
  });
@@ -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) => (n(), l("div", {
551
+ return (s, i) => (o(), a("div", {
552
552
  class: d(["cu-bar tabbar", `bg-${s.bg} ${s.isFoot ? "foot" : ""}`])
553
553
  }, [
554
- (n(!0), l(b, null, y(s.items, (a, h) => (n(), l("div", {
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(a, h)
557
+ onClick: (r) => c(n, h)
558
558
  }, [
559
- a.img ? (n(), l("div", Qt, [
560
- o("img", {
561
- src: a.img,
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
- a.badge ? (n(), l("div", Zt, u(a.badge), 1)) : p("", !0)
566
- ])) : (n(), l("div", {
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-${a.icon}`)
568
+ class: d(`cuIcon-${n.icon}`)
569
569
  }, [
570
- a.badge ? (n(), l("div", es, u(a.badge), 1)) : p("", !0)
570
+ n.badge ? (o(), a("div", es, u(n.badge), 1)) : p("", !0)
571
571
  ], 2)),
572
- o("div", null, u(a.label), 1)
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
- key: 0,
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
- setup(t) {
599
- return (e, c) => (n(), l("div", {
600
- class: d(["cu-bar", `bg-${e.bg}`])
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
- e.leftIcon || e.leftText ? (n(), l("div", ss, [
603
- e.leftIcon ? (n(), l("text", {
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-${e.leftIcon} text-${e.leftIconColor}`)
610
+ class: d(`cuIcon-${n.leftIcon} text-${n.leftIconColor}`)
606
611
  }, null, 2)) : p("", !0),
607
- e.leftText ? (n(), l("span", ns, u(e.leftText), 1)) : p("", !0)
612
+ n.leftText ? (o(), a("span", ss, u(n.leftText), 1)) : p("", !0)
608
613
  ])) : p("", !0),
609
- e.avatarUrl ? (n(), l("div", {
614
+ n.avatarUrl ? (o(), a("div", {
610
615
  key: 1,
611
616
  class: "cu-avatar round",
612
- style: w({ backgroundImage: `url(${e.avatarUrl})` })
617
+ style: C({ backgroundImage: `url(${n.avatarUrl})` })
613
618
  }, null, 4)) : p("", !0),
614
- o("div", os, u(e.title), 1),
615
- e.rightIcon ? (n(), l("div", ls, [
616
- o("text", {
617
- class: d(`cuIcon-${e.rightIcon} text-${e.rightIconColor}`)
618
- }, null, 2)
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 is = /* @__PURE__ */ o("text", { class: "cuIcon-search" }, null, -1), cs = ["placeholder"], rs = { class: "action" }, us = {
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
- }, ds = { key: 0 }, hs = { key: 3 }, ps = {
640
+ }, us = { key: 0 }, ds = { key: 3 }, hs = {
630
641
  name: "TSearchBar"
631
642
  }, J = /* @__PURE__ */ _({
632
- ...ps,
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, a) => (n(), l("div", {
661
+ return (i, n) => (o(), a("div", {
651
662
  class: d(["cu-bar", `bg-${i.bgColor}`, "search"])
652
663
  }, [
653
- i.avatarUrl ? (n(), l("div", {
664
+ i.avatarUrl ? (o(), a("div", {
654
665
  key: 0,
655
666
  class: "cu-avatar round",
656
- style: w({ backgroundImage: `url(${i.avatarUrl})` })
667
+ style: C({ backgroundImage: `url(${i.avatarUrl})` })
657
668
  }, null, 4)) : p("", !0),
658
- o("div", {
669
+ l("div", {
659
670
  class: d(["search-form", i.borderRadiusClass])
660
671
  }, [
661
- is,
662
- o("input", {
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, cs)
680
+ }, null, 40, is)
670
681
  ], 2),
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", {
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 ? (n(), l("text", {
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 ? (n(), l("text", hs, u(i.actionText), 1)) : p("", !0)
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 fs = {
702
+ const ps = {
692
703
  key: 0,
693
704
  class: "string-list"
694
- }, ms = ["innerHTML", "onClick"], gs = /* @__PURE__ */ _({
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
- }, a = j(() => s.stringArray.map((h) => {
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 ? (n(), l("ul", fs, [
713
- (n(!0), l(b, null, y(a.value, (f, $) => (n(), l("li", {
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, ms))), 128))
728
+ }, null, 8, fs))), 128))
718
729
  ])) : p("", !0);
719
730
  }
720
- }), _s = /* @__PURE__ */ A(gs, [["__scopeId", "data-v-c7a21a1c"]]), vs = [
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
- ], Hn = [
795
+ ], On = [
785
796
  { title: "红色", name: "red" },
786
797
  { title: "橙色", name: "orange" },
787
798
  { title: "黄色", name: "yellow" },
@@ -820,26 +831,26 @@ const fs = {
820
831
  { title: "渐变湖蓝", name: "gradual-lake-blue" },
821
832
  { title: "渐变玫瑰金", name: "gradual-rose-gold" },
822
833
  { title: "渐变海洋", name: "gradual-ocean" }
823
- ], bs = ["onClick"], $s = /* @__PURE__ */ _({
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, a) => (n(), l("div", {
841
+ return (i, n) => (o(), a("div", {
831
842
  class: "emoji-panel",
832
843
  ref: "emojiPanel",
833
- onClick: a[0] || (a[0] = de(() => {
844
+ onClick: n[0] || (n[0] = de(() => {
834
845
  }, ["stop"]))
835
846
  }, [
836
- (n(!0), l(b, null, y(Be(vs), (h) => (n(), l("span", {
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, bs))), 128))
850
+ }, u(h), 9, vs))), 128))
840
851
  ], 512));
841
852
  }
842
- }), ys = /* @__PURE__ */ A($s, [["__scopeId", "data-v-e9a4aa4d"]]), ks = { class: "function-panel-container" }, Is = ["onClick"], ws = /* @__PURE__ */ _({
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: {}
@@ -849,36 +860,36 @@ const fs = {
849
860
  return D(() => {
850
861
  }), (c, s) => {
851
862
  const i = ke("TIcon");
852
- return n(), l("div", ks, [
853
- o("div", {
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
- (n(!0), l(b, null, y(c.items, (a, h) => (n(), l("div", {
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: a.event
872
+ onClick: n.event
862
873
  }, [
863
874
  P(i, {
864
- name: a.icon,
865
- color: a.color,
875
+ name: n.icon,
876
+ color: n.color,
866
877
  size: 26
867
878
  }, null, 8, ["name", "color"]),
868
- o("span", null, u(a.text), 1)
869
- ], 8, Is))), 128))
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(ws, [["__scopeId", "data-v-1fefca20"]]), xs = { class: "cu-bar input" }, Ts = {
885
+ }), Cs = /* @__PURE__ */ A(Is, [["__scopeId", "data-v-1fefca20"]]), ws = { class: "cu-bar input" }, xs = {
875
886
  key: 0,
876
887
  class: "action"
877
- }, Bs = {
888
+ }, Ts = {
878
889
  key: 1,
879
890
  class: "action"
880
- }, Ss = ["value", "placeholder"], js = { class: "action" }, Es = { name: "TInputBar" }, Vs = /* @__PURE__ */ _({
881
- ...Es,
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), a = e, h = t, r = (m) => {
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 = "", C) => {
900
- m ? a("send", m, C) : a("send", h.modelValue), a("update:modelValue", ""), s.value = !1;
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
- a("update:modelValue", h.modelValue + m);
917
+ n("update:modelValue", h.modelValue + m);
907
918
  }, E = (m) => {
908
- const C = m.target;
909
- a("update:modelValue", C.value);
919
+ const w = m.target;
920
+ n("update:modelValue", w.value);
910
921
  };
911
922
  return D(() => {
912
923
  }), Se(() => {
913
- }), (m, C) => (n(), l(b, null, [
914
- P(_s, {
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
- o("div", xs, [
920
- m.leftIcon ? (n(), l("div", Ts, [
921
- o("text", {
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 ? (n(), l("div", Bs, [
926
- o("text", {
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
- o("input", {
941
+ l("input", {
931
942
  onFocus: r,
932
943
  onBlur: f,
933
- onKeydown: C[0] || (C[0] = je((N) => $(), ["enter"])),
934
- onConfirm: C[1] || (C[1] = (N) => $()),
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, Ss),
943
- o("div", js, [
944
- o("text", {
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 ? (n(), l("text", {
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
- o("button", {
965
+ l("button", {
955
966
  class: d(["cu-btn shadow-blur round", `bg-${m.buttonBg}`]),
956
- onClick: C[2] || (C[2] = (N) => $())
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(ys, { onAddEmoji: S }, null, 512), [
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(Vs, [["__scopeId", "data-v-626eda11"]]);
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 Ms = ["onClick"], zs = { class: "tab-content" }, qs = {
986
+ const Vs = ["onClick"], Ms = { class: "tab-content" }, zs = {
976
987
  name: "TTabs"
977
988
  }, W = /* @__PURE__ */ _({
978
- ...qs,
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([]), a = B(c.modelValue), h = (g, I) => {
993
- a.value = g, s("update:modelValue", g), s("select", I);
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", a);
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 a.value === g && (I.push(`text-${c.color}`), c.bold !== !1 && I.push("text-bold"), c.line !== !1 && I.push("cur")), I;
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
- a.value = g;
1014
+ n.value = g;
1004
1015
  },
1005
1016
  {
1006
1017
  immediate: !0
1007
1018
  }
1008
- ), (g, I) => (n(), l("div", {
1019
+ ), (g, I) => (o(), a("div", {
1009
1020
  class: d(g.isCard !== !1 ? "is-card" : "")
1010
1021
  }, [
1011
- o("div", {
1022
+ l("div", {
1012
1023
  class: d(["nav flex", [, `bg-${g.bg}`, `text-${g.text}`]]),
1013
- style: w(f.value)
1024
+ style: C(f.value)
1014
1025
  }, [
1015
- (n(!0), l(b, null, y(i.value, (S, E) => (n(), l("div", {
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 ? (n(), l("i", {
1031
+ S.icon ? (o(), a("i", {
1021
1032
  key: 0,
1022
- class: d(`cuIcon-${S.icon} text-${a.value === E ? g.color : S.iconColor}`)
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, Ms))), 128))
1036
+ ], 10, Vs))), 128))
1026
1037
  ], 6),
1027
- o("div", zs, [
1038
+ l("div", Ms, [
1028
1039
  x(g.$slots, "default", {
1029
- tab: i.value[a.value]
1040
+ tab: i.value[n.value]
1030
1041
  })
1031
1042
  ])
1032
1043
  ], 2));
1033
1044
  }
1034
- }), As = {
1045
+ }), qs = {
1035
1046
  name: "TTab"
1036
1047
  }, Z = /* @__PURE__ */ _({
1037
- ...As,
1048
+ ...qs,
1038
1049
  props: {
1039
1050
  label: {},
1040
1051
  icon: { default: "" },
@@ -1043,7 +1054,7 @@ 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), a = j(() => (s == null ? void 0 : s.value) === i.value), h = j(() => ({
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
@@ -1054,11 +1065,11 @@ const Ms = ["onClick"], zs = { class: "tab-content" }, qs = {
1054
1065
  icon: e.icon,
1055
1066
  iconColor: e.iconColor
1056
1067
  }));
1057
- }), (r, f) => he((n(), l("div", null, [
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, a.value]
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 Ns = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
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 Ps() {
1095
- return fe(Ns);
1105
+ function Ns() {
1106
+ return fe(As);
1096
1107
  }
1097
- const Ls = ["onClick"], Ds = {
1108
+ const Ps = ["onClick"], Ls = {
1098
1109
  key: 0,
1099
1110
  class: "cu-tag badge"
1100
- }, Fs = { key: 0 }, Rs = {
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 = Ps(), s = (i) => {
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, a) => (n(), l("div", {
1198
+ return (i, n) => (o(), a("div", {
1188
1199
  class: d(["cu-list grid", ["col-" + i.gridCol, i.gridBorder ? "" : "no-border"]])
1189
1200
  }, [
1190
- (n(!0), l(b, null, y(i.cuIconList, (h, r) => (n(), l("div", {
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: w(`width: calc(100% / ${i.gridCol})`),
1204
+ style: C(`width: calc(100% / ${i.gridCol})`),
1194
1205
  onClick: (f) => s(h)
1195
1206
  }, [
1196
- o("div", {
1207
+ l("div", {
1197
1208
  class: d(["cuIcon-" + h.cuIcon, "text-" + h.color])
1198
1209
  }, [
1199
- h.badge != 0 ? (n(), l("div", Ds, [
1200
- h.badge != 1 ? (n(), l("i", Fs, u((h.badge || 0) > 99 ? "99+" : h.badge), 1)) : p("", !0)
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
- o("text", null, u(h.name), 1)
1204
- ], 12, Ls))), 128))
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 Us = ["onClick"], Xs = { class: "content" }, Ys = ["src", "alt"], Os = { class: "text-grey" }, Hs = { class: "action" }, Gs = {
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
- }, Ks = ["onClick"], Js = {
1225
+ }, Gs = ["onClick"], Ks = {
1215
1226
  key: 4,
1216
1227
  class: "text-grey text-sm"
1217
- }, Qs = {
1228
+ }, Js = {
1218
1229
  name: "Menu"
1219
1230
  }, te = /* @__PURE__ */ _({
1220
- ...Qs,
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) => (n(), l("div", {
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
- (n(!0), l(b, null, y(s.menuItems, (a, h) => (n(), l("div", {
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(a)
1319
+ onClick: (r) => e(n)
1309
1320
  }, [
1310
- o("div", Xs, [
1311
- a.icon ? (n(), V(L, {
1321
+ l("div", Us, [
1322
+ n.icon ? (o(), V(L, {
1312
1323
  key: 0,
1313
1324
  class: "icon",
1314
- name: a.icon.name,
1315
- color: a.icon.color
1325
+ name: n.icon.name,
1326
+ color: n.icon.color
1316
1327
  }, null, 8, ["name", "color"])) : p("", !0),
1317
- a.img ? (n(), l("img", {
1328
+ n.img ? (o(), a("img", {
1318
1329
  key: 1,
1319
1330
  class: "icon",
1320
- src: a.img.url,
1321
- alt: a.img.alt
1322
- }, null, 8, Ys)) : p("", !0),
1323
- o("text", Os, u(a.title), 1)
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
- o("div", Hs, [
1326
- a.group ? (n(), V(O, {
1336
+ l("div", Os, [
1337
+ n.group ? (o(), V(O, {
1327
1338
  key: 0,
1328
- urls: a.group
1339
+ urls: n.group
1329
1340
  }, null, 8, ["urls"])) : p("", !0),
1330
- a.group ? (n(), l("text", Gs, u(a.group.length) + "人", 1)) : p("", !0),
1331
- a.btn ? (n(), l("button", {
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-${a.btn.bg}`]),
1344
+ class: d(["cu-btn round shadow", `bg-${n.btn.bg}`]),
1334
1345
  onClick: (r) => {
1335
1346
  var f;
1336
- return c((f = a.btn) == null ? void 0 : f.event);
1347
+ return c((f = n.btn) == null ? void 0 : f.event);
1337
1348
  }
1338
1349
  }, [
1339
- a.btn.icon ? (n(), V(L, {
1350
+ n.btn.icon ? (o(), V(L, {
1340
1351
  key: 0,
1341
- name: a.btn.icon,
1352
+ name: n.btn.icon,
1342
1353
  color: "white"
1343
1354
  }, null, 8, ["name"])) : p("", !0),
1344
- k(" " + u(a.btn.text), 1)
1345
- ], 10, Ks)) : p("", !0),
1346
- a.tags ? (n(!0), l(b, { key: 3 }, y(a.tags, (r, f) => (n(), V(q, {
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
- a.text ? (n(), l("text", Js, u(a.text), 1)) : p("", !0)
1369
+ n.text ? (o(), a("text", Ks, u(n.text), 1)) : p("", !0)
1359
1370
  ])
1360
- ], 10, Us))), 128))
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 Ws = {
1378
+ const Qs = {
1368
1379
  key: 1,
1369
1380
  class: "cu-tag badge"
1370
- }, 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 = {
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
- ...an,
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 a;
1406
+ var n;
1396
1407
  const i = ke("TIcon");
1397
- return n(), l("div", {
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
- o("div", {
1412
+ l("div", {
1402
1413
  class: d(["cu-avatar", c.userinfo.avatarShape, "lg", `bg-${c.avatarBg}`]),
1403
- style: w({
1414
+ style: C({
1404
1415
  backgroundImage: c.userinfo.avatar ? `url(${c.userinfo.avatar})` : ""
1405
1416
  })
1406
1417
  }, [
1407
- (a = c.userinfo) != null && a.avatar ? p("", !0) : (n(), V(i, {
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 ? (n(), l("div", Ws, u(c.badge), 1)) : p("", !0)
1424
+ c.badge ? (o(), a("div", Qs, u(c.badge), 1)) : p("", !0)
1414
1425
  ], 6),
1415
- o("div", Zs, [
1416
- o("div", en, [
1417
- o("div", tn, u(c.userinfo.name), 1),
1418
- c.userinfo.tag ? (n(), l("div", {
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
- o("div", sn, [
1424
- o("div", nn, [
1434
+ l("div", tn, [
1435
+ l("div", sn, [
1425
1436
  x(c.$slots, "default")
1426
1437
  ])
1427
1438
  ])
1428
1439
  ]),
1429
- o("div", on, [
1430
- o("div", ln, u(c.time), 1),
1431
- c.unread ? (n(), l("div", {
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 ? (n(), l("div", {
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
- }), cn = { class: "cu-list menu-avatar" }, rn = {
1453
+ }), an = { class: "cu-list menu-avatar" }, cn = {
1443
1454
  name: "ChatList"
1444
1455
  }, se = /* @__PURE__ */ _({
1445
- ...rn,
1456
+ ...cn,
1446
1457
  props: {
1447
1458
  items: {}
1448
1459
  },
1449
1460
  setup(t) {
1450
- return (e, c) => (n(), l("div", cn, [
1451
- (n(!0), l(b, null, y(e.items, (s, i) => (n(), V(me, {
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 un = { class: "cu-chat" }, dn = {
1490
+ const rn = { class: "cu-chat" }, un = {
1480
1491
  key: 0,
1481
1492
  class: "cu-info round"
1482
- }, hn = {
1493
+ }, dn = {
1483
1494
  key: 1,
1484
1495
  class: "cu-info"
1485
- }, pn = /* @__PURE__ */ o("text", { class: "cuIcon-roundclosefill text-red" }, null, -1), fn = { class: "main" }, mn = ["src"], gn = {
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
- }, _n = /* @__PURE__ */ o("text", { class: "cuIcon-sound text-xxl padding-right-xl" }, null, -1), vn = { class: "action text-bold text-grey" }, bn = {
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
- }, $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" }, [
1492
- /* @__PURE__ */ o("text", { class: "cuIcon-warnfill text-red text-xxl" }),
1493
- /* @__PURE__ */ o("text", { class: "text-sm margin-left-sm" }, "翻译错误")
1494
- ], -1), In = { class: "date" }, wn = { name: "ChatRoom" }, ne = /* @__PURE__ */ _({
1495
- ...wn,
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) => (n(), l("div", un, [
1501
- (n(!0), l(b, null, y(e.messages, (s) => (n(), l("div", {
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" ? (n(), l(b, { key: 0 }, [
1506
- s.self ? (n(), l("div", dn, u(s.content), 1)) : (n(), l("div", hn, [
1507
- pn,
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)) : (n(), l(b, { key: 1 }, [
1511
- s.self ? p("", !0) : (n(), V(z, {
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
- o("div", fn, [
1517
- s.type === "text" ? (n(), l("div", {
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
- o("text", null, u(s.content), 1)
1522
- ], 2)) : s.type === "image" ? (n(), l("img", {
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, mn)) : s.type === "audio" ? (n(), l("div", gn, [
1528
- _n,
1529
- o("div", vn, u(s.content), 1)
1530
- ])) : s.type === "location" ? (n(), l("div", bn, [
1531
- $n,
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" ? (n(), l(b, { key: 4 }, [
1534
- o("div", yn, u(s.content), 1),
1535
- kn
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 ? (n(), V(z, {
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
- o("div", In, u(s.date), 1)
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" }, xn = {
1566
+ const Cn = { class: "cu-time" }, wn = {
1556
1567
  key: 0,
1557
1568
  class: "cu-capsule radius"
1558
- }, Tn = {
1569
+ }, xn = {
1559
1570
  name: "TimeLine"
1560
1571
  }, oe = /* @__PURE__ */ _({
1561
- ...Tn,
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) => (n(), l("div", null, [
1582
- (n(!0), l(b, null, y(s.items, (a, h) => (n(), l("div", {
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
- o("div", Cn, u(a.date), 1),
1587
- (n(!0), l(b, null, y(a.items, (r) => {
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 n(), l("div", {
1600
+ return o(), a("div", {
1590
1601
  key: r.key,
1591
1602
  class: d(["cu-item", c(r)])
1592
1603
  }, [
1593
- o("div", {
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 ? (n(), l("div", xn, [
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
- o("div", {
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 Bn = { class: "bg-white padding" }, Sn = ["data-index"], jn = {
1643
+ const Tn = { class: "bg-white padding" }, Bn = ["data-index"], Sn = {
1633
1644
  name: "TSteps"
1634
1645
  }, le = /* @__PURE__ */ _({
1635
- ...jn,
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) => (n(), l("div", Bn, [
1645
- o("div", {
1655
+ return (c, s) => (o(), a("div", Tn, [
1656
+ l("div", {
1646
1657
  class: d(["cu-steps", { "scroll-x": c.scrollX }])
1647
1658
  }, [
1648
- (n(!0), l(b, null, y(c.steps, (i, a) => (n(), l("div", {
1649
- class: d(["cu-item", a > c.modelValue ? "" : `text-${c.color}`]),
1650
- key: a
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
- o("text", {
1663
+ l("text", {
1653
1664
  class: d(i.cuIcon ? "cuIcon-" + i.cuIcon : "num"),
1654
- "data-index": a + 1
1655
- }, u(i.cuIcon ? "" : a + 1), 11, Sn),
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 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 = [
1666
- zn
1667
- ], An = { class: "padding-xl" }, Nn = {
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
- ...Nn,
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, a) => (n(), l("div", {
1691
+ return (i, n) => (o(), a("div", {
1681
1692
  class: d(["cu-modal", i.modelValue ? "show" : ""])
1682
1693
  }, [
1683
- o("div", En, [
1684
- o("div", Vn, [
1685
- o("div", Mn, u(i.title), 1),
1686
- o("div", {
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
- }, qn)
1700
+ }, zn)
1690
1701
  ]),
1691
- o("div", An, [
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 Pn = { class: "loading-animation" }, Ln = {
1714
+ const Nn = { class: "loading-animation" }, Pn = {
1704
1715
  name: "Loading1"
1705
- }, Dn = /* @__PURE__ */ _({
1706
- ...Ln,
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(a, h, r) {
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 = a.x, this.y = a.y, this.angle = a.angle, this.speed = a.speed, this.accel = a.accel, this.decay = r, this.life = 1;
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(a, h) {
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(a, 1);
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(a, h, r, f) {
1730
- 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(
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
- ), a.fill();
1747
+ ), n.fill();
1737
1748
  const $ = Math.random() * 1.25;
1738
- a.fillRect(
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
  $,
@@ -1746,16 +1757,16 @@ const Pn = { class: "loading-animation" }, Ln = {
1746
1757
  const c = t, s = B(null);
1747
1758
  return D(() => {
1748
1759
  if (!s.value) return;
1749
- const i = s.value.getContext("2d"), { width: a, height: h, particleRadius: r, particleDecay: f } = c, $ = window.devicePixelRatio || 1;
1750
- s.value.width = a * $, s.value.height = h * $, s.value.style.width = a + "px", s.value.style.height = h + "px", i.scale($, $);
1751
- const g = a * 0.5, I = [];
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 C() {
1765
+ function w() {
1755
1766
  I.push(
1756
1767
  new e(
1757
1768
  {
1758
- x: a / 2 + Math.cos(m / 20) * g / 2,
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, a, h), I.forEach((v, T) => {
1783
+ i.clearRect(0, 0, n, h), I.forEach((v, T) => {
1773
1784
  v.draw(i, m, I, T);
1774
1785
  });
1775
1786
  }
1776
- function F() {
1777
- requestAnimationFrame(F), C(), N(), m++;
1787
+ function R() {
1788
+ requestAnimationFrame(R), w(), N(), m++;
1778
1789
  }
1779
- F();
1780
- }), (i, a) => (n(), l("div", Pn, [
1781
- o("canvas", {
1790
+ R();
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(Dn, [["__scopeId", "data-v-022c82bd"]]);
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 Fn = ["data-index"], Rn = { name: "TVirtualScrollSlide" }, Un = /* @__PURE__ */ _({
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), a = B(null), h = B(0), r = Ee({
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,
@@ -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() : C() : Math.abs(T) > 30 && (T < 0 ? s("slideLeft", {
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
- }, C = () => {
1848
+ }, w = () => {
1838
1849
  r.localIndex > 0 && (r.localIndex--, g());
1839
- }, N = (v) => (r.localIndex + v) * r.wrapperHeight, F = j(() => f.value.map((v) => `video-${v.id}`).join(","));
1840
- return (v, T) => (n(), l("div", {
1850
+ }, N = (v) => (r.localIndex + v) * r.wrapperHeight, R = j(() => f.value.map((v) => `video-${v.id}`).join(","));
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
- o("div", {
1859
+ l("div", {
1849
1860
  class: "slide-list",
1850
1861
  ref_key: "slideList",
1851
- ref: a,
1852
- style: w({ transform: `translateY(${h.value}px)` })
1862
+ ref: n,
1863
+ style: C({ transform: `translateY(${h.value}px)` })
1853
1864
  }, [
1854
- (n(), V(Ve, { include: F.value }, [
1855
- (n(!0), l(b, null, y(f.value, (_e, ue) => (n(), l("div", {
1865
+ (o(), V(Ve, { include: R.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: w({ top: `${N(ue)}px` })
1870
+ style: C({ top: `${N(ue)}px` })
1860
1871
  }, [
1861
- (n(), V(Me(v.render(_e, ue))))
1862
- ], 12, Fn))), 128))
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(Un, [["__scopeId", "data-v-8600af8d"]]);
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 Xn = (t) => {
1872
- 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);
1873
- }, Gn = {
1874
- install: Xn
1882
+ const Un = (t) => {
1883
+ t.use(L), t.use(Y), t.use(z), t.use(F), 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);
1884
+ }, Hn = {
1885
+ install: Un
1875
1886
  };
1876
1887
  export {
1877
1888
  se as ChatList,
@@ -1885,7 +1896,7 @@ export {
1885
1896
  L as TIcon,
1886
1897
  Q as TInputBar,
1887
1898
  G as TNavBar,
1888
- R as TNavCard,
1899
+ F as TNavCard,
1889
1900
  U as TNewCard,
1890
1901
  J as TSearchBar,
1891
1902
  X as TShareCard,
@@ -1896,6 +1907,6 @@ export {
1896
1907
  Y as TTitle,
1897
1908
  K as TTopBar,
1898
1909
  oe as TimeLine,
1899
- Gn as default,
1900
- Hn as textColor
1910
+ Hn as default,
1911
+ On as textColor
1901
1912
  };