vue-color-ui 0.0.11 → 0.0.13
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 +334 -334
- package/lib/temp-color-ui.umd.cjs +2 -2
- package/package.json +1 -1
- package/types/pkg/NavBar/index.vue.d.ts +5 -0
package/lib/temp-color-ui.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { defineComponent as f, openBlock as n, createElementBlock as l, Fragment as g, renderList as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as f, openBlock as n, createElementBlock as l, Fragment as g, renderList as m, normalizeClass as i, normalizeStyle as v, createElementVNode as o, toDisplayString as c, createTextVNode as h, createCommentVNode as u, pushScopeId as le, popScopeId as ae, computed as y, renderSlot as $, createBlock as k, ref as j, provide as ee, watch as ce, inject as Q, onMounted as ie, withDirectives as re, vShow as ue, withCtx as J, createVNode as te } from "vue";
|
|
2
|
+
const de = { class: "nav-list" }, pe = ["url"], _e = { class: "nav-title" }, fe = { class: "nav-name" }, ge = {
|
|
3
3
|
name: "TNavCard"
|
|
4
4
|
}, z = /* @__PURE__ */ f({
|
|
5
|
-
...
|
|
5
|
+
...ge,
|
|
6
6
|
props: {
|
|
7
7
|
items: {}
|
|
8
8
|
},
|
|
9
9
|
setup(s) {
|
|
10
|
-
return (e, r) => (n(), l("div",
|
|
11
|
-
(n(!0), l(g, null,
|
|
10
|
+
return (e, r) => (n(), l("div", de, [
|
|
11
|
+
(n(!0), l(g, null, m(e.items, (t, a) => (n(), l("div", {
|
|
12
12
|
"hover-class": "none",
|
|
13
13
|
url: "/pages/basics/" + t.name,
|
|
14
14
|
class: i(["nav-li", "bg-" + t.color]),
|
|
15
15
|
navigateTo: "",
|
|
16
|
-
style:
|
|
16
|
+
style: v([{ animation: "show " + ((a + 1) * 0.2 + 1) + "s 1" }]),
|
|
17
17
|
key: a
|
|
18
18
|
}, [
|
|
19
|
-
o("div",
|
|
20
|
-
o("div",
|
|
19
|
+
o("div", _e, c(t.title), 1),
|
|
20
|
+
o("div", fe, c(t.name), 1),
|
|
21
21
|
o("text", {
|
|
22
22
|
class: i("cuIcon-" + t.cuIcon)
|
|
23
23
|
}, null, 2)
|
|
24
|
-
], 14,
|
|
24
|
+
], 14, pe))), 128))
|
|
25
25
|
]));
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
z.install = (s) => {
|
|
29
29
|
s.component(z.name, z);
|
|
30
30
|
};
|
|
31
|
-
const Y = (s) => (
|
|
31
|
+
const Y = (s) => (le("data-v-bbdb83ff"), s = s(), ae(), s), he = { class: "cu-item shadow" }, me = { class: "title" }, be = { class: "text-cut" }, ve = { class: "content" }, $e = ["src", "alt"], ye = { class: "desc" }, ke = { class: "text-content" }, Ie = {
|
|
32
32
|
key: 0,
|
|
33
33
|
class: "content flex-sub justify-between text-sm solid-top margin-top-sm",
|
|
34
34
|
style: { padding: "5px 15px" }
|
|
35
|
-
},
|
|
35
|
+
}, we = { class: "text-gray" }, Ce = /* @__PURE__ */ Y(() => /* @__PURE__ */ o("span", { class: "cuIcon-attentionfill margin-lr-xs" }, null, -1)), xe = /* @__PURE__ */ Y(() => /* @__PURE__ */ o("span", { class: "cuIcon-appreciatefill margin-lr-xs" }, null, -1)), Te = /* @__PURE__ */ Y(() => /* @__PURE__ */ o("span", { class: "cuIcon-messagefill margin-lr-xs" }, null, -1)), Be = { class: "margin-left-sm text-gray flex justify-between" }, je = { class: "text-grey margin-right-xs" }, Se = {
|
|
36
36
|
name: "TNewCard"
|
|
37
37
|
// 组件名称
|
|
38
|
-
},
|
|
39
|
-
...
|
|
38
|
+
}, ze = /* @__PURE__ */ f({
|
|
39
|
+
...Se,
|
|
40
40
|
props: {
|
|
41
41
|
isCard: { type: Boolean, default: !0 },
|
|
42
42
|
title: { default: "无意者 烈火焚身;以正义的烈火拔出黑暗。我有自己的正义,见证至高的烈火吧。" },
|
|
@@ -56,36 +56,36 @@ const Y = (s) => (ae("data-v-bbdb83ff"), s = s(), ce(), s), me = { class: "cu-it
|
|
|
56
56
|
return (e, r) => (n(), l("div", {
|
|
57
57
|
class: i(["cu-card article", e.isCard ? "" : "no-card"])
|
|
58
58
|
}, [
|
|
59
|
-
o("div",
|
|
60
|
-
o("div",
|
|
61
|
-
o("div",
|
|
59
|
+
o("div", he, [
|
|
60
|
+
o("div", me, [
|
|
61
|
+
o("div", be, c(e.title), 1)
|
|
62
62
|
]),
|
|
63
|
-
o("div",
|
|
63
|
+
o("div", ve, [
|
|
64
64
|
o("img", {
|
|
65
65
|
src: e.imageSrc,
|
|
66
66
|
alt: e.imageAlt
|
|
67
|
-
}, null, 8,
|
|
68
|
-
o("div",
|
|
69
|
-
o("div",
|
|
67
|
+
}, null, 8, $e),
|
|
68
|
+
o("div", ye, [
|
|
69
|
+
o("div", ke, c(e.description), 1),
|
|
70
70
|
o("div", null, [
|
|
71
|
-
(n(!0), l(g, null,
|
|
71
|
+
(n(!0), l(g, null, m(e.tags, (t) => (n(), l("div", {
|
|
72
72
|
key: t,
|
|
73
73
|
class: "cu-tag bg-red light sm round"
|
|
74
74
|
}, c(t), 1))), 128))
|
|
75
75
|
])
|
|
76
76
|
])
|
|
77
77
|
]),
|
|
78
|
-
e.footerInfo ? (n(), l("div",
|
|
79
|
-
o("div",
|
|
80
|
-
|
|
78
|
+
e.footerInfo ? (n(), l("div", Ie, [
|
|
79
|
+
o("div", we, [
|
|
80
|
+
Ce,
|
|
81
81
|
h(" " + c(e.footerInfo.likes) + " ", 1),
|
|
82
|
-
|
|
82
|
+
xe,
|
|
83
83
|
h(" " + c(e.footerInfo.appreciations) + " ", 1),
|
|
84
|
-
|
|
84
|
+
Te,
|
|
85
85
|
h(" " + c(e.footerInfo.comments), 1)
|
|
86
86
|
]),
|
|
87
|
-
o("div",
|
|
88
|
-
o("div",
|
|
87
|
+
o("div", Be, [
|
|
88
|
+
o("div", je, c(e.footerInfo.author), 1),
|
|
89
89
|
h(" " + c(e.footerInfo.timeAgo), 1)
|
|
90
90
|
])
|
|
91
91
|
])) : u("", !0)
|
|
@@ -97,17 +97,17 @@ const Y = (s) => (ae("data-v-bbdb83ff"), s = s(), ce(), s), me = { class: "cu-it
|
|
|
97
97
|
for (const [t, a] of e)
|
|
98
98
|
r[t] = a;
|
|
99
99
|
return r;
|
|
100
|
-
}, q = /* @__PURE__ */ Z(
|
|
100
|
+
}, q = /* @__PURE__ */ Z(ze, [["__scopeId", "data-v-bbdb83ff"]]);
|
|
101
101
|
q.install = (s) => {
|
|
102
102
|
s.component(q.name, q);
|
|
103
103
|
};
|
|
104
|
-
const
|
|
104
|
+
const qe = { class: "cu-item shadow" }, Ve = { class: "cu-list menu-avatar" }, Ne = { class: "cu-item" }, De = { class: "content flex-sub" }, Ee = { class: "text-gray text-sm flex justify-between" }, Ae = { class: "text-content" }, Ue = { class: "text-gray text-sm text-right padding" }, Le = /* @__PURE__ */ o("span", { class: "cuIcon-attentionfill margin-lr-xs" }, null, -1), Me = /* @__PURE__ */ o("span", { class: "cuIcon-appreciatefill margin-lr-xs" }, null, -1), Fe = /* @__PURE__ */ o("span", { class: "cuIcon-messagefill margin-lr-xs" }, null, -1), Oe = { class: "cu-item" }, Re = { class: "content" }, Ge = { class: "text-grey" }, Xe = { class: "text-gray text-content text-df" }, Ke = { class: "flex" }, Pe = { class: "flex-sub" }, We = { class: "margin-top-sm flex justify-between" }, He = { class: "text-gray text-df" }, Je = {
|
|
105
105
|
key: 0,
|
|
106
106
|
class: "cuIcon-appreciatefill text-red"
|
|
107
|
-
},
|
|
107
|
+
}, Qe = /* @__PURE__ */ o("span", { class: "cuIcon-messagefill text-gray margin-left-sm" }, null, -1), Ye = { class: "text-gray margin-left-xs" }, Ze = {
|
|
108
108
|
name: "TShareCard"
|
|
109
109
|
}, V = /* @__PURE__ */ f({
|
|
110
|
-
...
|
|
110
|
+
...Ze,
|
|
111
111
|
props: {
|
|
112
112
|
isCard: { type: Boolean, default: !0 },
|
|
113
113
|
author: { default: "凯尔" },
|
|
@@ -159,38 +159,38 @@ const Ve = { class: "cu-item shadow" }, Ne = { class: "cu-list menu-avatar" }, D
|
|
|
159
159
|
o("div", {
|
|
160
160
|
class: i(["cu-card dynamic", e.isCard ? "is-card" : "no-card"])
|
|
161
161
|
}, [
|
|
162
|
-
o("div",
|
|
163
|
-
o("div",
|
|
164
|
-
o("div",
|
|
162
|
+
o("div", qe, [
|
|
163
|
+
o("div", Ve, [
|
|
164
|
+
o("div", Ne, [
|
|
165
165
|
o("div", {
|
|
166
166
|
class: "cu-avatar round lg",
|
|
167
|
-
style:
|
|
167
|
+
style: v({ backgroundImage: `url(${e.avatarUrl})` })
|
|
168
168
|
}, null, 4),
|
|
169
|
-
o("div",
|
|
169
|
+
o("div", De, [
|
|
170
170
|
o("div", null, c(e.author), 1),
|
|
171
|
-
o("div",
|
|
171
|
+
o("div", Ee, c(e.date), 1)
|
|
172
172
|
])
|
|
173
173
|
])
|
|
174
174
|
]),
|
|
175
|
-
o("div",
|
|
175
|
+
o("div", Ae, c(e.content), 1),
|
|
176
176
|
o("div", {
|
|
177
177
|
class: i(["grid flex-sub padding-lr", e.isCard ? "col-3 grid-square" : "col-1"])
|
|
178
178
|
}, [
|
|
179
|
-
(n(!0), l(g, null,
|
|
179
|
+
(n(!0), l(g, null, m(e.isCard ? 9 : 1, (t) => (n(), l("div", {
|
|
180
180
|
class: i(["bg-img", e.isCard ? "" : "only-img"]),
|
|
181
|
-
style:
|
|
181
|
+
style: v({ backgroundImage: `url(${e.imageUrl})` }),
|
|
182
182
|
key: t
|
|
183
183
|
}, null, 6))), 128))
|
|
184
184
|
], 2),
|
|
185
|
-
o("div",
|
|
186
|
-
|
|
185
|
+
o("div", Ue, [
|
|
186
|
+
Le,
|
|
187
187
|
h(" " + c(e.likes) + " ", 1),
|
|
188
|
-
|
|
188
|
+
Me,
|
|
189
189
|
h(" " + c(e.appreciations) + " ", 1),
|
|
190
|
-
|
|
190
|
+
Fe,
|
|
191
191
|
h(" " + c(e.comments), 1)
|
|
192
192
|
]),
|
|
193
|
-
(n(!0), l(g, null,
|
|
193
|
+
(n(!0), l(g, null, m(e.commentsList, (t) => {
|
|
194
194
|
var a;
|
|
195
195
|
return n(), l("div", {
|
|
196
196
|
class: "cu-list menu-avatar comment solids-top",
|
|
@@ -199,26 +199,26 @@ const Ve = { class: "cu-item shadow" }, Ne = { class: "cu-list menu-avatar" }, D
|
|
|
199
199
|
o("div", Oe, [
|
|
200
200
|
o("div", {
|
|
201
201
|
class: "cu-avatar round",
|
|
202
|
-
style:
|
|
202
|
+
style: v({ backgroundImage: `url(${t.avatarUrl})` })
|
|
203
203
|
}, null, 4),
|
|
204
|
-
o("div",
|
|
205
|
-
o("div",
|
|
204
|
+
o("div", Re, [
|
|
205
|
+
o("div", Ge, c(t.author), 1),
|
|
206
206
|
o("div", Xe, c(t.text), 1),
|
|
207
|
-
(n(!0), l(g, null,
|
|
207
|
+
(n(!0), l(g, null, m(t.replies, (d) => (n(), l("div", {
|
|
208
208
|
key: d.id,
|
|
209
209
|
class: "bg-grey padding-sm radius margin-top-sm text-sm"
|
|
210
210
|
}, [
|
|
211
|
-
o("div",
|
|
211
|
+
o("div", Ke, [
|
|
212
212
|
o("div", null, c(d.author) + ":", 1),
|
|
213
|
-
o("div",
|
|
213
|
+
o("div", Pe, c(d.text), 1)
|
|
214
214
|
])
|
|
215
215
|
]))), 128)),
|
|
216
|
-
o("div",
|
|
217
|
-
o("div",
|
|
216
|
+
o("div", We, [
|
|
217
|
+
o("div", He, c(t.date), 1),
|
|
218
218
|
o("div", null, [
|
|
219
|
-
t.likes ? (n(), l("span",
|
|
220
|
-
|
|
221
|
-
o("span",
|
|
219
|
+
t.likes ? (n(), l("span", Je)) : u("", !0),
|
|
220
|
+
Qe,
|
|
221
|
+
o("span", Ye, c((a = t.replies) == null ? void 0 : a.length), 1)
|
|
222
222
|
])
|
|
223
223
|
])
|
|
224
224
|
])
|
|
@@ -233,7 +233,7 @@ const Ve = { class: "cu-item shadow" }, Ne = { class: "cu-list menu-avatar" }, D
|
|
|
233
233
|
V.install = (s) => {
|
|
234
234
|
s.component(V.name, V);
|
|
235
235
|
};
|
|
236
|
-
const
|
|
236
|
+
const et = {
|
|
237
237
|
ssss: "2px",
|
|
238
238
|
sss: "4px",
|
|
239
239
|
ss: "8px",
|
|
@@ -245,45 +245,45 @@ const tt = {
|
|
|
245
245
|
xxl: "30px",
|
|
246
246
|
xxxl: "48px"
|
|
247
247
|
};
|
|
248
|
-
function
|
|
248
|
+
function tt(s, e, r = "px") {
|
|
249
249
|
if (typeof e == "number")
|
|
250
250
|
return `${s}: ${e}${r};`;
|
|
251
|
-
const t =
|
|
251
|
+
const t = et[e];
|
|
252
252
|
return t ? `${s}: ${t};` : "";
|
|
253
253
|
}
|
|
254
|
-
function
|
|
255
|
-
return
|
|
254
|
+
function st(s) {
|
|
255
|
+
return tt("font-size", s);
|
|
256
256
|
}
|
|
257
|
-
const
|
|
257
|
+
const ot = {
|
|
258
258
|
name: "TIcon"
|
|
259
|
-
},
|
|
260
|
-
...
|
|
259
|
+
}, x = /* @__PURE__ */ f({
|
|
260
|
+
...ot,
|
|
261
261
|
props: {
|
|
262
262
|
name: {},
|
|
263
263
|
color: { default: "grey" },
|
|
264
264
|
size: { default: 15 }
|
|
265
265
|
},
|
|
266
266
|
setup(s) {
|
|
267
|
-
const e = s, r =
|
|
267
|
+
const e = s, r = y(() => st(e.size));
|
|
268
268
|
return (t, a) => (n(), l("i", {
|
|
269
269
|
class: i(`cuIcon-${t.name} text-${t.color}`),
|
|
270
|
-
style:
|
|
270
|
+
style: v(r.value)
|
|
271
271
|
}, null, 6));
|
|
272
272
|
}
|
|
273
|
-
}),
|
|
273
|
+
}), nt = { class: "action border-title" }, lt = { class: "action border-title" }, at = { class: "tib text-xl text-bold text-blue" }, ct = /* @__PURE__ */ o("div", {
|
|
274
274
|
class: "tib bg-gradual-blue",
|
|
275
275
|
style: { width: "3rem" }
|
|
276
|
-
}, null, -1),
|
|
276
|
+
}, null, -1), it = { class: "action sub-title" }, rt = { class: "tib text-xl text-bold text-green" }, ut = /* @__PURE__ */ o("div", {
|
|
277
277
|
class: "tib bg-green",
|
|
278
278
|
style: { width: "2rem" }
|
|
279
|
-
}, null, -1),
|
|
279
|
+
}, null, -1), dt = { class: "action sub-title" }, pt = { class: "tib text-xl text-bold text-blue" }, _t = { class: "tib text-ABC text-blue" }, ft = { class: "action title-style-3" }, gt = {
|
|
280
280
|
key: 5,
|
|
281
281
|
class: "cu-bar bg-white"
|
|
282
|
-
},
|
|
282
|
+
}, ht = { class: "action" }, mt = {
|
|
283
283
|
key: 6,
|
|
284
284
|
class: "cu-bar bg-white solid-bottom"
|
|
285
|
-
},
|
|
286
|
-
|
|
285
|
+
}, bt = { class: "action" }, vt = { class: "action" }, $t = { name: "TTitle" }, N = /* @__PURE__ */ f({
|
|
286
|
+
...$t,
|
|
287
287
|
props: {
|
|
288
288
|
title: { default: "主题名称" },
|
|
289
289
|
deputy: { default: "about" },
|
|
@@ -298,7 +298,7 @@ const nt = {
|
|
|
298
298
|
key: 0,
|
|
299
299
|
class: i(["cu-bar bg-white", e.center !== !1 ? "justify-center" : ""])
|
|
300
300
|
}, [
|
|
301
|
-
o("div",
|
|
301
|
+
o("div", nt, [
|
|
302
302
|
o("div", {
|
|
303
303
|
class: i(["tib text-xl", `text-${e.color}`])
|
|
304
304
|
}, c(e.title), 3),
|
|
@@ -311,31 +311,31 @@ const nt = {
|
|
|
311
311
|
key: 1,
|
|
312
312
|
class: i(["cu-bar bg-white", e.center !== !1 ? "justify-center" : ""])
|
|
313
313
|
}, [
|
|
314
|
-
o("div",
|
|
315
|
-
o("div",
|
|
316
|
-
|
|
314
|
+
o("div", lt, [
|
|
315
|
+
o("div", at, c(e.title), 1),
|
|
316
|
+
ct
|
|
317
317
|
])
|
|
318
318
|
], 2)) : e.mode === "default3" ? (n(), l("div", {
|
|
319
319
|
key: 2,
|
|
320
320
|
class: i(["cu-bar bg-white", e.center !== !1 ? "justify-center" : ""])
|
|
321
321
|
}, [
|
|
322
|
-
o("div",
|
|
323
|
-
o("div",
|
|
324
|
-
|
|
322
|
+
o("div", it, [
|
|
323
|
+
o("div", rt, c(e.title), 1),
|
|
324
|
+
ut
|
|
325
325
|
])
|
|
326
326
|
], 2)) : e.mode === "default4" ? (n(), l("div", {
|
|
327
327
|
key: 3,
|
|
328
328
|
class: i(["cu-bar bg-white", e.center !== !1 ? "justify-center" : ""])
|
|
329
329
|
}, [
|
|
330
|
-
o("div",
|
|
331
|
-
o("div",
|
|
332
|
-
o("div",
|
|
330
|
+
o("div", dt, [
|
|
331
|
+
o("div", pt, c(e.title), 1),
|
|
332
|
+
o("div", _t, c(e.deputy), 1)
|
|
333
333
|
])
|
|
334
334
|
], 2)) : e.mode === "bilingual" ? (n(), l("div", {
|
|
335
335
|
key: 4,
|
|
336
336
|
class: i(["cu-bar bg-white", e.center !== !1 ? "justify-center" : ""])
|
|
337
337
|
}, [
|
|
338
|
-
o("div",
|
|
338
|
+
o("div", ft, [
|
|
339
339
|
o("div", {
|
|
340
340
|
class: i(["tib", `text-${e.color}`])
|
|
341
341
|
}, c(e.title), 3),
|
|
@@ -343,8 +343,8 @@ const nt = {
|
|
|
343
343
|
class: i(["tib text-Abc self-end margin-left-sm", `text-${e.decorateColor}`])
|
|
344
344
|
}, c(e.deputy), 3)
|
|
345
345
|
])
|
|
346
|
-
], 2)) : e.mode === "icon-title" ? (n(), l("div",
|
|
347
|
-
o("div",
|
|
346
|
+
], 2)) : e.mode === "icon-title" ? (n(), l("div", gt, [
|
|
347
|
+
o("div", ht, [
|
|
348
348
|
o("i", {
|
|
349
349
|
class: i(`cuIcon-${e.icon} text-${e.color}`)
|
|
350
350
|
}, null, 2),
|
|
@@ -352,22 +352,22 @@ const nt = {
|
|
|
352
352
|
class: i(["tib text-xl", `text-${e.decorateColor}`])
|
|
353
353
|
}, c(e.title), 3)
|
|
354
354
|
])
|
|
355
|
-
])) : (n(), l("div",
|
|
356
|
-
o("div",
|
|
355
|
+
])) : (n(), l("div", mt, [
|
|
356
|
+
o("div", bt, [
|
|
357
357
|
o("i", {
|
|
358
358
|
class: i(`cuIcon-${e.icon} text-${e.color}`)
|
|
359
359
|
}, null, 2),
|
|
360
|
-
|
|
360
|
+
$(e.$slots, "default")
|
|
361
361
|
]),
|
|
362
|
-
o("div",
|
|
363
|
-
|
|
362
|
+
o("div", vt, [
|
|
363
|
+
$(e.$slots, "action")
|
|
364
364
|
])
|
|
365
365
|
]));
|
|
366
366
|
}
|
|
367
|
-
}),
|
|
367
|
+
}), yt = {
|
|
368
368
|
name: "TAvatar"
|
|
369
369
|
}, w = /* @__PURE__ */ f({
|
|
370
|
-
...
|
|
370
|
+
...yt,
|
|
371
371
|
props: {
|
|
372
372
|
url: {},
|
|
373
373
|
size: { default: "lg" },
|
|
@@ -377,36 +377,36 @@ const nt = {
|
|
|
377
377
|
return (e, r) => e.url ? (n(), l("div", {
|
|
378
378
|
key: 0,
|
|
379
379
|
class: i(["cu-avatar", e.size, e.mode]),
|
|
380
|
-
style:
|
|
380
|
+
style: v({ backgroundImage: `url(${e.url})` })
|
|
381
381
|
}, null, 6)) : (n(), l("div", {
|
|
382
382
|
key: 1,
|
|
383
383
|
class: i(["padding-xs", ["cu-avatar", e.size, e.mode]])
|
|
384
384
|
}, [
|
|
385
|
-
|
|
385
|
+
$(e.$slots, "default")
|
|
386
386
|
], 2));
|
|
387
387
|
}
|
|
388
|
-
}),
|
|
388
|
+
}), kt = { class: "cu-avatar-group" }, It = {
|
|
389
389
|
name: "TAvatarGroup"
|
|
390
390
|
}, D = /* @__PURE__ */ f({
|
|
391
|
-
...
|
|
391
|
+
...It,
|
|
392
392
|
props: {
|
|
393
393
|
urls: { default: () => [] },
|
|
394
394
|
size: { default: "sm" },
|
|
395
395
|
mode: { default: "round" }
|
|
396
396
|
},
|
|
397
397
|
setup(s) {
|
|
398
|
-
return (e, r) => (n(), l("div",
|
|
399
|
-
(n(!0), l(g, null,
|
|
398
|
+
return (e, r) => (n(), l("div", kt, [
|
|
399
|
+
(n(!0), l(g, null, m(e.urls, (t, a) => (n(), k(w, {
|
|
400
400
|
key: a,
|
|
401
401
|
url: t,
|
|
402
402
|
size: e.size
|
|
403
403
|
}, null, 8, ["url", "size"]))), 128))
|
|
404
404
|
]));
|
|
405
405
|
}
|
|
406
|
-
}),
|
|
406
|
+
}), wt = ["disabled"], Ct = { key: 1 }, xt = {
|
|
407
407
|
name: "TButton"
|
|
408
408
|
}, E = /* @__PURE__ */ f({
|
|
409
|
-
...
|
|
409
|
+
...xt,
|
|
410
410
|
props: {
|
|
411
411
|
text: {},
|
|
412
412
|
bg: { default: "blue" },
|
|
@@ -417,35 +417,35 @@ const nt = {
|
|
|
417
417
|
shadow: { type: Boolean, default: !1 }
|
|
418
418
|
},
|
|
419
419
|
setup(s) {
|
|
420
|
-
const e = s, r =
|
|
420
|
+
const e = s, r = y(() => [
|
|
421
421
|
"cu-btn",
|
|
422
422
|
e.rounded ? "round" : "radius",
|
|
423
423
|
e.shadow ? "shadow" : "",
|
|
424
424
|
`bg-${e.bg}`,
|
|
425
425
|
e.size !== "default" ? e.size : ""
|
|
426
|
-
].join(" ")), t =
|
|
426
|
+
].join(" ")), t = y(() => ({
|
|
427
427
|
cursor: e.disabled ? "not-allowed" : "pointer"
|
|
428
|
-
})), a =
|
|
428
|
+
})), a = y(() => ({
|
|
429
429
|
marginRight: e.text ? "8px" : "0"
|
|
430
430
|
}));
|
|
431
431
|
return (d, p) => (n(), l("button", {
|
|
432
432
|
class: i(r.value),
|
|
433
|
-
style:
|
|
433
|
+
style: v(t.value),
|
|
434
434
|
disabled: d.disabled
|
|
435
435
|
}, [
|
|
436
|
-
|
|
436
|
+
$(d.$slots, "default"),
|
|
437
437
|
d.icon ? (n(), l("i", {
|
|
438
438
|
key: 0,
|
|
439
439
|
class: i(`cuIcon-${d.icon}`),
|
|
440
|
-
style:
|
|
440
|
+
style: v(a.value)
|
|
441
441
|
}, null, 6)) : u("", !0),
|
|
442
|
-
d.text ? (n(), l("span",
|
|
443
|
-
], 14,
|
|
442
|
+
d.text ? (n(), l("span", Ct, c(d.text), 1)) : u("", !0)
|
|
443
|
+
], 14, wt));
|
|
444
444
|
}
|
|
445
|
-
}),
|
|
445
|
+
}), Tt = { key: 0 }, Bt = {
|
|
446
446
|
name: "TTag"
|
|
447
|
-
},
|
|
448
|
-
...
|
|
447
|
+
}, jt = /* @__PURE__ */ f({
|
|
448
|
+
...Bt,
|
|
449
449
|
props: {
|
|
450
450
|
text: {},
|
|
451
451
|
bg: { default: "blue" },
|
|
@@ -455,24 +455,24 @@ const nt = {
|
|
|
455
455
|
line: { type: Boolean, default: !1 }
|
|
456
456
|
},
|
|
457
457
|
setup(s) {
|
|
458
|
-
const e = s, r =
|
|
458
|
+
const e = s, r = y(() => [
|
|
459
459
|
"cu-tag",
|
|
460
460
|
e.shape !== "default" ? e.shape : "",
|
|
461
461
|
e.light ? "light" : "",
|
|
462
462
|
`${e.line ? "line" : "bg"}-${e.bg}`,
|
|
463
463
|
e.size !== "default" ? e.size : ""
|
|
464
|
-
].join(" ")), t =
|
|
464
|
+
].join(" ")), t = y(() => ({}));
|
|
465
465
|
return (a, d) => (n(), l("div", {
|
|
466
466
|
class: i(r.value),
|
|
467
|
-
style:
|
|
467
|
+
style: v(t.value)
|
|
468
468
|
}, [
|
|
469
|
-
|
|
470
|
-
a.text ? (n(), l("span",
|
|
469
|
+
$(a.$slots, "default", {}, void 0, !0),
|
|
470
|
+
a.text ? (n(), l("span", Tt, c(a.text), 1)) : u("", !0)
|
|
471
471
|
], 6));
|
|
472
472
|
}
|
|
473
|
-
}), C = /* @__PURE__ */ Z(
|
|
474
|
-
|
|
475
|
-
s.component(
|
|
473
|
+
}), C = /* @__PURE__ */ Z(jt, [["__scopeId", "data-v-3c2b82ce"]]);
|
|
474
|
+
x.install = (s) => {
|
|
475
|
+
s.component(x.name, x);
|
|
476
476
|
};
|
|
477
477
|
N.install = (s) => {
|
|
478
478
|
s.component(N.name, N);
|
|
@@ -489,47 +489,19 @@ E.install = (s) => {
|
|
|
489
489
|
C.install = (s) => {
|
|
490
490
|
s.component(C.name, C);
|
|
491
491
|
};
|
|
492
|
-
|
|
493
|
-
* vue-router v4.3.3
|
|
494
|
-
* (c) 2024 Eduardo San Martin Morote
|
|
495
|
-
* @license MIT
|
|
496
|
-
*/
|
|
497
|
-
var se;
|
|
498
|
-
(function(s) {
|
|
499
|
-
s.pop = "pop", s.push = "push";
|
|
500
|
-
})(se || (se = {}));
|
|
501
|
-
var oe;
|
|
502
|
-
(function(s) {
|
|
503
|
-
s.back = "back", s.forward = "forward", s.unknown = "";
|
|
504
|
-
})(oe || (oe = {}));
|
|
505
|
-
Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
|
|
506
|
-
var ne;
|
|
507
|
-
(function(s) {
|
|
508
|
-
s[s.aborted = 4] = "aborted", s[s.cancelled = 8] = "cancelled", s[s.duplicated = 16] = "duplicated";
|
|
509
|
-
})(ne || (ne = {}));
|
|
510
|
-
Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
511
|
-
Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
512
|
-
const zt = Symbol(process.env.NODE_ENV !== "production" ? "router" : ""), qt = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
513
|
-
Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
514
|
-
function le() {
|
|
515
|
-
return J(zt);
|
|
516
|
-
}
|
|
517
|
-
function Vt() {
|
|
518
|
-
return J(qt);
|
|
519
|
-
}
|
|
520
|
-
const Nt = ["onClick"], Dt = {
|
|
492
|
+
const St = ["onClick"], zt = {
|
|
521
493
|
key: 0,
|
|
522
494
|
class: "cuIcon-cu-image"
|
|
523
|
-
},
|
|
495
|
+
}, qt = ["src"], Vt = {
|
|
524
496
|
key: 0,
|
|
525
497
|
class: "cu-tag badge"
|
|
526
|
-
},
|
|
498
|
+
}, Nt = {
|
|
527
499
|
key: 0,
|
|
528
500
|
class: "cu-tag badge"
|
|
529
|
-
},
|
|
501
|
+
}, Dt = {
|
|
530
502
|
name: "TNavBar"
|
|
531
503
|
}, A = /* @__PURE__ */ f({
|
|
532
|
-
...
|
|
504
|
+
...Dt,
|
|
533
505
|
props: {
|
|
534
506
|
bg: { default: "white" },
|
|
535
507
|
color: { default: "gray" },
|
|
@@ -564,49 +536,51 @@ const Nt = ["onClick"], Dt = {
|
|
|
564
536
|
}
|
|
565
537
|
] },
|
|
566
538
|
isFoot: { type: Boolean, default: !1 },
|
|
567
|
-
onItemClick: {}
|
|
539
|
+
onItemClick: {},
|
|
540
|
+
router: {},
|
|
541
|
+
route: {}
|
|
568
542
|
},
|
|
569
543
|
setup(s) {
|
|
570
|
-
const e = s, r =
|
|
571
|
-
|
|
544
|
+
const e = s, r = (a) => a ? e.route.path.startsWith(a) : !1, t = (a) => {
|
|
545
|
+
a.path && e.router.push(a.path), e.onItemClick && e.onItemClick(a);
|
|
572
546
|
};
|
|
573
|
-
return (
|
|
574
|
-
class: i(["cu-bar tabbar", `bg-${
|
|
547
|
+
return (a, d) => (n(), l("div", {
|
|
548
|
+
class: i(["cu-bar tabbar", `bg-${a.bg} ${a.isFoot ? "foot" : ""}`])
|
|
575
549
|
}, [
|
|
576
|
-
(n(!0), l(g, null,
|
|
577
|
-
key:
|
|
578
|
-
class: i(["action", `text-${
|
|
579
|
-
onClick: (
|
|
550
|
+
(n(!0), l(g, null, m(a.items, (p, _) => (n(), l("div", {
|
|
551
|
+
key: _,
|
|
552
|
+
class: i(["action", `text-${r(p.path) ? a.activeColor : a.color}`]),
|
|
553
|
+
onClick: (I) => t(p)
|
|
580
554
|
}, [
|
|
581
|
-
|
|
555
|
+
p.img ? (n(), l("div", zt, [
|
|
582
556
|
o("img", {
|
|
583
|
-
src:
|
|
557
|
+
src: p.img,
|
|
584
558
|
style: { width: "21px", height: "21px" },
|
|
585
559
|
class: "radius"
|
|
586
|
-
}, null, 8,
|
|
587
|
-
|
|
560
|
+
}, null, 8, qt),
|
|
561
|
+
p.badge ? (n(), l("div", Vt, c(p.badge), 1)) : u("", !0)
|
|
588
562
|
])) : (n(), l("div", {
|
|
589
563
|
key: 1,
|
|
590
|
-
class: i(`cuIcon-${
|
|
564
|
+
class: i(`cuIcon-${p.icon}`)
|
|
591
565
|
}, [
|
|
592
|
-
|
|
566
|
+
p.badge ? (n(), l("div", Nt, c(p.badge), 1)) : u("", !0)
|
|
593
567
|
], 2)),
|
|
594
|
-
o("div", null, c(
|
|
595
|
-
], 10,
|
|
568
|
+
o("div", null, c(p.label), 1)
|
|
569
|
+
], 10, St))), 128))
|
|
596
570
|
], 2));
|
|
597
571
|
}
|
|
598
572
|
});
|
|
599
573
|
A.install = (s) => {
|
|
600
574
|
s.component(A.name, A);
|
|
601
575
|
};
|
|
602
|
-
const
|
|
576
|
+
const Et = {
|
|
603
577
|
key: 0,
|
|
604
578
|
class: "action"
|
|
605
|
-
},
|
|
579
|
+
}, At = { key: 1 }, Ut = { class: "content text-bold" }, Lt = {
|
|
606
580
|
key: 2,
|
|
607
581
|
class: "action"
|
|
608
|
-
},
|
|
609
|
-
...
|
|
582
|
+
}, Mt = { name: "TTopBar" }, U = /* @__PURE__ */ f({
|
|
583
|
+
...Mt,
|
|
610
584
|
props: {
|
|
611
585
|
title: {},
|
|
612
586
|
leftIcon: {},
|
|
@@ -621,20 +595,20 @@ const Mt = {
|
|
|
621
595
|
return (e, r) => (n(), l("div", {
|
|
622
596
|
class: i(["cu-bar", `bg-${e.bg}`])
|
|
623
597
|
}, [
|
|
624
|
-
e.leftIcon || e.leftText ? (n(), l("div",
|
|
598
|
+
e.leftIcon || e.leftText ? (n(), l("div", Et, [
|
|
625
599
|
e.leftIcon ? (n(), l("text", {
|
|
626
600
|
key: 0,
|
|
627
601
|
class: i(`cuIcon-${e.leftIcon} text-${e.leftIconColor}`)
|
|
628
602
|
}, null, 2)) : u("", !0),
|
|
629
|
-
e.leftText ? (n(), l("span",
|
|
603
|
+
e.leftText ? (n(), l("span", At, c(e.leftText), 1)) : u("", !0)
|
|
630
604
|
])) : u("", !0),
|
|
631
605
|
e.avatarUrl ? (n(), l("div", {
|
|
632
606
|
key: 1,
|
|
633
607
|
class: "cu-avatar round",
|
|
634
|
-
style:
|
|
608
|
+
style: v({ backgroundImage: `url(${e.avatarUrl})` })
|
|
635
609
|
}, null, 4)) : u("", !0),
|
|
636
|
-
o("div",
|
|
637
|
-
e.rightIcon ? (n(), l("div",
|
|
610
|
+
o("div", Ut, c(e.title), 1),
|
|
611
|
+
e.rightIcon ? (n(), l("div", Lt, [
|
|
638
612
|
o("text", {
|
|
639
613
|
class: i(`cuIcon-${e.rightIcon} text-${e.rightIconColor}`)
|
|
640
614
|
}, null, 2)
|
|
@@ -645,13 +619,13 @@ const Mt = {
|
|
|
645
619
|
U.install = (s) => {
|
|
646
620
|
s.component(U.name, U);
|
|
647
621
|
};
|
|
648
|
-
const
|
|
622
|
+
const Ft = /* @__PURE__ */ o("text", { class: "cuIcon-search" }, null, -1), Ot = { class: "action" }, Rt = {
|
|
649
623
|
key: 0,
|
|
650
624
|
class: "cu-btn bg-green shadow-blur round"
|
|
651
|
-
},
|
|
625
|
+
}, Gt = { key: 0 }, Xt = { key: 3 }, Kt = {
|
|
652
626
|
name: "TSearchBar"
|
|
653
627
|
}, L = /* @__PURE__ */ f({
|
|
654
|
-
...
|
|
628
|
+
...Kt,
|
|
655
629
|
props: {
|
|
656
630
|
bgColor: { default: "white" },
|
|
657
631
|
borderRadiusClass: { default: "round" },
|
|
@@ -674,12 +648,12 @@ const Kt = /* @__PURE__ */ o("text", { class: "cuIcon-search" }, null, -1), Xt =
|
|
|
674
648
|
a.avatarUrl ? (n(), l("div", {
|
|
675
649
|
key: 0,
|
|
676
650
|
class: "cu-avatar round",
|
|
677
|
-
style:
|
|
651
|
+
style: v({ backgroundImage: `url(${a.avatarUrl})` })
|
|
678
652
|
}, null, 4)) : u("", !0),
|
|
679
653
|
o("div", {
|
|
680
654
|
class: i(["search-form", a.borderRadiusClass])
|
|
681
655
|
}, [
|
|
682
|
-
|
|
656
|
+
Ft,
|
|
683
657
|
o("input", {
|
|
684
658
|
onFocus: r,
|
|
685
659
|
onBlur: t,
|
|
@@ -689,9 +663,9 @@ const Kt = /* @__PURE__ */ o("text", { class: "cuIcon-search" }, null, -1), Xt =
|
|
|
689
663
|
"confirm-type": "search"
|
|
690
664
|
}, null, 32)
|
|
691
665
|
], 2),
|
|
692
|
-
o("div",
|
|
693
|
-
a.buttonText ? (n(), l("button",
|
|
694
|
-
a.location ? (n(), l("text",
|
|
666
|
+
o("div", Ot, [
|
|
667
|
+
a.buttonText ? (n(), l("button", Rt, c(a.buttonText), 1)) : (n(), l(g, { key: 1 }, [
|
|
668
|
+
a.location ? (n(), l("text", Gt, c(a.location), 1)) : u("", !0),
|
|
695
669
|
a.locationIcon ? (n(), l("text", {
|
|
696
670
|
key: 1,
|
|
697
671
|
class: i(`cuIcon-${a.locationIcon}`)
|
|
@@ -700,7 +674,7 @@ const Kt = /* @__PURE__ */ o("text", { class: "cuIcon-search" }, null, -1), Xt =
|
|
|
700
674
|
key: 2,
|
|
701
675
|
class: i(`cuIcon-${a.actionIcon}`)
|
|
702
676
|
}, null, 2)) : u("", !0),
|
|
703
|
-
a.actionText ? (n(), l("text",
|
|
677
|
+
a.actionText ? (n(), l("text", Xt, c(a.actionText), 1)) : u("", !0)
|
|
704
678
|
], 64))
|
|
705
679
|
])
|
|
706
680
|
], 2));
|
|
@@ -709,14 +683,14 @@ const Kt = /* @__PURE__ */ o("text", { class: "cuIcon-search" }, null, -1), Xt =
|
|
|
709
683
|
L.install = (s) => {
|
|
710
684
|
s.component(L.name, L);
|
|
711
685
|
};
|
|
712
|
-
const
|
|
686
|
+
const Pt = { class: "cu-bar input" }, Wt = {
|
|
713
687
|
key: 0,
|
|
714
688
|
class: "action"
|
|
715
|
-
},
|
|
689
|
+
}, Ht = {
|
|
716
690
|
key: 1,
|
|
717
691
|
class: "action"
|
|
718
|
-
},
|
|
719
|
-
...
|
|
692
|
+
}, Jt = { class: "action" }, Qt = { class: "cu-btn bg-green shadow-blur" }, Yt = { name: "TInputBar" }, M = /* @__PURE__ */ f({
|
|
693
|
+
...Yt,
|
|
720
694
|
props: {
|
|
721
695
|
leftIcon: {},
|
|
722
696
|
middleIcon: {},
|
|
@@ -729,13 +703,13 @@ const Qt = { class: "cu-bar input" }, Yt = {
|
|
|
729
703
|
}, t = () => {
|
|
730
704
|
e.value = 0;
|
|
731
705
|
};
|
|
732
|
-
return (a, d) => (n(), l("div",
|
|
733
|
-
a.leftIcon ? (n(), l("div",
|
|
706
|
+
return (a, d) => (n(), l("div", Pt, [
|
|
707
|
+
a.leftIcon ? (n(), l("div", Wt, [
|
|
734
708
|
o("text", {
|
|
735
709
|
class: i(`cuIcon-${a.leftIcon} text-grey`)
|
|
736
710
|
}, null, 2)
|
|
737
711
|
])) : u("", !0),
|
|
738
|
-
a.middleIcon ? (n(), l("div",
|
|
712
|
+
a.middleIcon ? (n(), l("div", Ht, [
|
|
739
713
|
o("text", {
|
|
740
714
|
class: i(`cuIcon-${a.middleIcon} text-grey`)
|
|
741
715
|
}, null, 2)
|
|
@@ -748,22 +722,22 @@ const Qt = { class: "cu-bar input" }, Yt = {
|
|
|
748
722
|
maxlength: "300",
|
|
749
723
|
"cursor-spacing": "10"
|
|
750
724
|
}, null, 32),
|
|
751
|
-
o("div",
|
|
725
|
+
o("div", Jt, [
|
|
752
726
|
o("text", {
|
|
753
727
|
class: i(`cuIcon-${a.rightIcon} text-grey`)
|
|
754
728
|
}, null, 2)
|
|
755
729
|
]),
|
|
756
|
-
o("button",
|
|
730
|
+
o("button", Qt, c(a.buttonText), 1)
|
|
757
731
|
]));
|
|
758
732
|
}
|
|
759
733
|
});
|
|
760
734
|
M.install = (s) => {
|
|
761
735
|
s.component(M.name, M);
|
|
762
736
|
};
|
|
763
|
-
const
|
|
737
|
+
const Zt = ["onClick"], es = { class: "tab-content" }, ts = {
|
|
764
738
|
name: "TTabs"
|
|
765
739
|
}, F = /* @__PURE__ */ f({
|
|
766
|
-
...
|
|
740
|
+
...ts,
|
|
767
741
|
props: {
|
|
768
742
|
modelValue: { default: 0 },
|
|
769
743
|
center: { type: Boolean, default: !1 },
|
|
@@ -774,87 +748,113 @@ const os = ["onClick"], ns = { class: "tab-content" }, ls = {
|
|
|
774
748
|
},
|
|
775
749
|
emits: ["update:modelValue", "select"],
|
|
776
750
|
setup(s, { emit: e }) {
|
|
777
|
-
const r = j([]), t = j(0), a = e, d = (b,
|
|
778
|
-
t.value = b, a("update:modelValue", b), a("select",
|
|
751
|
+
const r = j([]), t = j(0), a = e, d = (b, T) => {
|
|
752
|
+
t.value = b, a("update:modelValue", b), a("select", T);
|
|
779
753
|
};
|
|
780
754
|
ee("registerTab", (b) => (r.value.push(b), r.value.length - 1)), ee("activeTab", t);
|
|
781
|
-
const _ = s,
|
|
782
|
-
return
|
|
755
|
+
const _ = s, I = y(() => _.center !== !1 ? "justify-content:center;" : `justify-content:${_.mode}`);
|
|
756
|
+
return ce(
|
|
783
757
|
() => _.modelValue,
|
|
784
758
|
(b) => {
|
|
785
759
|
t.value = b;
|
|
786
760
|
}
|
|
787
|
-
), (b,
|
|
761
|
+
), (b, T) => (n(), l("div", {
|
|
788
762
|
class: i(b.isCard !== !1 ? "is-card" : "")
|
|
789
763
|
}, [
|
|
790
764
|
o("div", {
|
|
791
765
|
class: i(["nav flex", [, `bg-${b.bg}`, `text-${b.text}`]]),
|
|
792
|
-
style:
|
|
766
|
+
style: v(I.value)
|
|
793
767
|
}, [
|
|
794
|
-
(n(!0), l(g, null,
|
|
768
|
+
(n(!0), l(g, null, m(r.value, (B, S) => (n(), l("div", {
|
|
795
769
|
class: i(["cu-item", [t.value === S ? "cur text-blue" : ""]]),
|
|
796
770
|
key: S,
|
|
797
|
-
onClick: (
|
|
771
|
+
onClick: (no) => d(S, B)
|
|
798
772
|
}, [
|
|
799
773
|
B.icon ? (n(), l("i", {
|
|
800
774
|
key: 0,
|
|
801
775
|
class: i(`cuIcon-${B.icon} text-${t.value === S ? "blue" : B.iconColor}`)
|
|
802
776
|
}, null, 2)) : u("", !0),
|
|
803
777
|
h(" " + c(B.label), 1)
|
|
804
|
-
], 10,
|
|
778
|
+
], 10, Zt))), 128))
|
|
805
779
|
], 6),
|
|
806
|
-
o("div",
|
|
807
|
-
|
|
780
|
+
o("div", es, [
|
|
781
|
+
$(b.$slots, "default", {
|
|
808
782
|
tab: r.value[t.value]
|
|
809
783
|
}),
|
|
810
784
|
h("·")
|
|
811
785
|
])
|
|
812
786
|
], 2));
|
|
813
787
|
}
|
|
814
|
-
}),
|
|
788
|
+
}), ss = {
|
|
815
789
|
name: "TTab"
|
|
816
|
-
},
|
|
817
|
-
...
|
|
790
|
+
}, O = /* @__PURE__ */ f({
|
|
791
|
+
...ss,
|
|
818
792
|
props: {
|
|
819
793
|
label: {},
|
|
820
794
|
icon: { default: "" },
|
|
821
795
|
iconColor: { default: "black" }
|
|
822
796
|
},
|
|
823
797
|
setup(s) {
|
|
824
|
-
const e = s, r =
|
|
798
|
+
const e = s, r = Q(
|
|
825
799
|
"registerTab"
|
|
826
|
-
), t =
|
|
800
|
+
), t = Q("activeTab"), a = j(null), d = y(() => (t == null ? void 0 : t.value) === a.value), p = y(() => ({
|
|
827
801
|
label: e.label,
|
|
828
802
|
icon: e.icon,
|
|
829
803
|
iconColor: e.iconColor
|
|
830
804
|
}));
|
|
831
|
-
return
|
|
805
|
+
return ie(() => {
|
|
832
806
|
r && (a.value = r({
|
|
833
807
|
label: e.label,
|
|
834
808
|
icon: e.icon,
|
|
835
809
|
iconColor: e.iconColor
|
|
836
810
|
}));
|
|
837
|
-
}), (_,
|
|
838
|
-
|
|
839
|
-
|
|
811
|
+
}), (_, I) => re((n(), l("div", null, [
|
|
812
|
+
$(_.$slots, "default"),
|
|
813
|
+
$(_.$slots, "custom", { tab: p.value })
|
|
840
814
|
], 512)), [
|
|
841
|
-
[
|
|
815
|
+
[ue, d.value]
|
|
842
816
|
]);
|
|
843
817
|
}
|
|
844
818
|
});
|
|
845
819
|
F.install = (s) => {
|
|
846
820
|
s.component(F.name, F);
|
|
847
821
|
};
|
|
848
|
-
|
|
849
|
-
s.component(
|
|
822
|
+
O.install = (s) => {
|
|
823
|
+
s.component(O.name, O);
|
|
850
824
|
};
|
|
851
|
-
|
|
825
|
+
/*!
|
|
826
|
+
* vue-router v4.3.3
|
|
827
|
+
* (c) 2024 Eduardo San Martin Morote
|
|
828
|
+
* @license MIT
|
|
829
|
+
*/
|
|
830
|
+
var se;
|
|
831
|
+
(function(s) {
|
|
832
|
+
s.pop = "pop", s.push = "push";
|
|
833
|
+
})(se || (se = {}));
|
|
834
|
+
var oe;
|
|
835
|
+
(function(s) {
|
|
836
|
+
s.back = "back", s.forward = "forward", s.unknown = "";
|
|
837
|
+
})(oe || (oe = {}));
|
|
838
|
+
Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
|
|
839
|
+
var ne;
|
|
840
|
+
(function(s) {
|
|
841
|
+
s[s.aborted = 4] = "aborted", s[s.cancelled = 8] = "cancelled", s[s.duplicated = 16] = "duplicated";
|
|
842
|
+
})(ne || (ne = {}));
|
|
843
|
+
Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
844
|
+
Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
845
|
+
const os = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
|
|
846
|
+
Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
847
|
+
Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
848
|
+
function ns() {
|
|
849
|
+
return Q(os);
|
|
850
|
+
}
|
|
851
|
+
const ls = ["onClick"], as = {
|
|
852
852
|
key: 0,
|
|
853
853
|
class: "cu-tag badge"
|
|
854
|
-
},
|
|
854
|
+
}, cs = { key: 0 }, is = {
|
|
855
855
|
name: "GridGroup"
|
|
856
|
-
},
|
|
857
|
-
...
|
|
856
|
+
}, R = /* @__PURE__ */ f({
|
|
857
|
+
...is,
|
|
858
858
|
props: {
|
|
859
859
|
cuIconList: { default: () => [
|
|
860
860
|
{
|
|
@@ -924,7 +924,7 @@ const cs = ["onClick"], is = {
|
|
|
924
924
|
routeFn: { type: Function, default: void 0 }
|
|
925
925
|
},
|
|
926
926
|
setup(s) {
|
|
927
|
-
const e = s, r =
|
|
927
|
+
const e = s, r = ns(), t = (a) => {
|
|
928
928
|
if (a.path) {
|
|
929
929
|
e.routeFn ? e.routeFn().push({
|
|
930
930
|
path: a.path
|
|
@@ -941,37 +941,37 @@ const cs = ["onClick"], is = {
|
|
|
941
941
|
return (a, d) => (n(), l("div", {
|
|
942
942
|
class: i(["cu-list grid", ["col-" + a.gridCol, a.gridBorder ? "" : "no-border"]])
|
|
943
943
|
}, [
|
|
944
|
-
(n(!0), l(g, null,
|
|
944
|
+
(n(!0), l(g, null, m(a.cuIconList, (p, _) => (n(), l("div", {
|
|
945
945
|
class: "cu-item",
|
|
946
946
|
key: _,
|
|
947
|
-
style:
|
|
948
|
-
onClick: (
|
|
947
|
+
style: v(`width: calc(100% / ${a.gridCol})`),
|
|
948
|
+
onClick: (I) => t(p)
|
|
949
949
|
}, [
|
|
950
950
|
o("div", {
|
|
951
951
|
class: i(["cuIcon-" + p.cuIcon, "text-" + p.color])
|
|
952
952
|
}, [
|
|
953
|
-
p.badge != 0 ? (n(), l("div",
|
|
954
|
-
p.badge != 1 ? (n(), l("i",
|
|
953
|
+
p.badge != 0 ? (n(), l("div", as, [
|
|
954
|
+
p.badge != 1 ? (n(), l("i", cs, c((p.badge || 0) > 99 ? "99+" : p.badge), 1)) : u("", !0)
|
|
955
955
|
])) : u("", !0)
|
|
956
956
|
], 2),
|
|
957
957
|
o("text", null, c(p.name), 1)
|
|
958
|
-
], 12,
|
|
958
|
+
], 12, ls))), 128))
|
|
959
959
|
], 2));
|
|
960
960
|
}
|
|
961
961
|
});
|
|
962
|
-
|
|
963
|
-
s.component(
|
|
962
|
+
R.install = (s) => {
|
|
963
|
+
s.component(R.name, R);
|
|
964
964
|
};
|
|
965
|
-
const
|
|
965
|
+
const rs = { class: "content" }, us = ["src", "alt"], ds = { class: "text-grey" }, ps = { class: "action" }, _s = {
|
|
966
966
|
key: 1,
|
|
967
967
|
class: "text-grey text-sm"
|
|
968
|
-
},
|
|
968
|
+
}, fs = ["onClick"], gs = {
|
|
969
969
|
key: 4,
|
|
970
970
|
class: "text-grey text-sm"
|
|
971
|
-
},
|
|
971
|
+
}, hs = {
|
|
972
972
|
name: "Menu"
|
|
973
973
|
}, G = /* @__PURE__ */ f({
|
|
974
|
-
...
|
|
974
|
+
...hs,
|
|
975
975
|
props: {
|
|
976
976
|
menuItems: { default: () => [
|
|
977
977
|
{
|
|
@@ -1051,14 +1051,14 @@ const ds = { class: "content" }, ps = ["src", "alt"], _s = { class: "text-grey"
|
|
|
1051
1051
|
return (e, r) => (n(), l("div", {
|
|
1052
1052
|
class: i(["cu-list menu", [e.menuBorder ? "sm-border" : "", e.menuCard ? "card-menu" : ""]])
|
|
1053
1053
|
}, [
|
|
1054
|
-
(n(!0), l(g, null,
|
|
1054
|
+
(n(!0), l(g, null, m(e.menuItems, (t, a) => {
|
|
1055
1055
|
var d;
|
|
1056
1056
|
return n(), l("div", {
|
|
1057
1057
|
key: a,
|
|
1058
1058
|
class: i(["cu-item", e.menuArrow ? "arrow" : ""])
|
|
1059
1059
|
}, [
|
|
1060
|
-
o("div",
|
|
1061
|
-
t.icon ? (n(),
|
|
1060
|
+
o("div", rs, [
|
|
1061
|
+
t.icon ? (n(), k(x, {
|
|
1062
1062
|
key: 0,
|
|
1063
1063
|
class: "icon",
|
|
1064
1064
|
name: t.icon.name,
|
|
@@ -1069,40 +1069,40 @@ const ds = { class: "content" }, ps = ["src", "alt"], _s = { class: "text-grey"
|
|
|
1069
1069
|
class: "icon",
|
|
1070
1070
|
src: t.img.url,
|
|
1071
1071
|
alt: t.img.alt
|
|
1072
|
-
}, null, 8,
|
|
1073
|
-
o("text",
|
|
1072
|
+
}, null, 8, us)) : u("", !0),
|
|
1073
|
+
o("text", ds, c(t.title), 1)
|
|
1074
1074
|
]),
|
|
1075
|
-
o("div",
|
|
1076
|
-
t.group ? (n(),
|
|
1075
|
+
o("div", ps, [
|
|
1076
|
+
t.group ? (n(), k(D, {
|
|
1077
1077
|
key: 0,
|
|
1078
1078
|
urls: t.group
|
|
1079
1079
|
}, null, 8, ["urls"])) : u("", !0),
|
|
1080
|
-
t.group ? (n(), l("text",
|
|
1080
|
+
t.group ? (n(), l("text", _s, c(t.group.length) + "人", 1)) : u("", !0),
|
|
1081
1081
|
t.btn ? (n(), l("button", {
|
|
1082
1082
|
key: 2,
|
|
1083
1083
|
class: i(["cu-btn round shadow", `bg-${t.btn.bg}`]),
|
|
1084
1084
|
onClick: (d = t.btn) == null ? void 0 : d.event
|
|
1085
1085
|
}, [
|
|
1086
|
-
t.btn.icon ? (n(),
|
|
1086
|
+
t.btn.icon ? (n(), k(x, {
|
|
1087
1087
|
key: 0,
|
|
1088
1088
|
name: t.btn.icon,
|
|
1089
1089
|
color: "white"
|
|
1090
1090
|
}, null, 8, ["name"])) : u("", !0),
|
|
1091
1091
|
h(" " + c(t.btn.text), 1)
|
|
1092
|
-
], 10,
|
|
1093
|
-
t.tags ? (n(!0), l(g, { key: 3 },
|
|
1092
|
+
], 10, fs)) : u("", !0),
|
|
1093
|
+
t.tags ? (n(!0), l(g, { key: 3 }, m(t.tags, (p, _) => (n(), k(C, {
|
|
1094
1094
|
size: p.size,
|
|
1095
1095
|
key: _,
|
|
1096
1096
|
bg: p.bg,
|
|
1097
1097
|
light: p.light,
|
|
1098
1098
|
shape: "round"
|
|
1099
1099
|
}, {
|
|
1100
|
-
default:
|
|
1100
|
+
default: J(() => [
|
|
1101
1101
|
h(c(p.text), 1)
|
|
1102
1102
|
]),
|
|
1103
1103
|
_: 2
|
|
1104
1104
|
}, 1032, ["size", "bg", "light"]))), 128)) : u("", !0),
|
|
1105
|
-
t.text ? (n(), l("text",
|
|
1105
|
+
t.text ? (n(), l("text", gs, c(t.text), 1)) : u("", !0)
|
|
1106
1106
|
])
|
|
1107
1107
|
], 2);
|
|
1108
1108
|
}), 128))
|
|
@@ -1112,10 +1112,10 @@ const ds = { class: "content" }, ps = ["src", "alt"], _s = { class: "text-grey"
|
|
|
1112
1112
|
G.install = (s) => {
|
|
1113
1113
|
s.component(G.name, G);
|
|
1114
1114
|
};
|
|
1115
|
-
const
|
|
1115
|
+
const ms = {
|
|
1116
1116
|
key: 0,
|
|
1117
1117
|
class: "cu-tag badge"
|
|
1118
|
-
},
|
|
1118
|
+
}, bs = { class: "content" }, vs = { class: "flex align-center" }, $s = { class: "text-cut" }, ys = { class: "text-gray text-sm flex" }, ks = { class: "text-cut" }, Is = { class: "action" }, ws = { class: "text-grey text-xs" }, Cs = /* @__PURE__ */ f({
|
|
1119
1119
|
__name: "ChatListItem",
|
|
1120
1120
|
props: {
|
|
1121
1121
|
userinfo: {},
|
|
@@ -1133,26 +1133,26 @@ const vs = {
|
|
|
1133
1133
|
}, [
|
|
1134
1134
|
o("div", {
|
|
1135
1135
|
class: i(["cu-avatar", e.userinfo.avatarShape, "lg"]),
|
|
1136
|
-
style:
|
|
1136
|
+
style: v({ backgroundImage: `url(${e.userinfo.avatar})` })
|
|
1137
1137
|
}, [
|
|
1138
|
-
e.badge ? (n(), l("div",
|
|
1138
|
+
e.badge ? (n(), l("div", ms, c(e.badge), 1)) : u("", !0)
|
|
1139
1139
|
], 6),
|
|
1140
|
-
o("div",
|
|
1141
|
-
o("div",
|
|
1142
|
-
o("div",
|
|
1140
|
+
o("div", bs, [
|
|
1141
|
+
o("div", vs, [
|
|
1142
|
+
o("div", $s, c(e.userinfo.name), 1),
|
|
1143
1143
|
e.userinfo.tag ? (n(), l("div", {
|
|
1144
1144
|
key: 0,
|
|
1145
1145
|
class: i(["cu-tag", "round", `bg-${e.userinfo.tagColor}`, "sm"])
|
|
1146
1146
|
}, c(e.userinfo.tag), 3)) : u("", !0)
|
|
1147
1147
|
]),
|
|
1148
|
-
o("div",
|
|
1149
|
-
o("div",
|
|
1150
|
-
|
|
1148
|
+
o("div", ys, [
|
|
1149
|
+
o("div", ks, [
|
|
1150
|
+
$(e.$slots, "default", {}, void 0, !0)
|
|
1151
1151
|
])
|
|
1152
1152
|
])
|
|
1153
1153
|
]),
|
|
1154
|
-
o("div",
|
|
1155
|
-
o("div",
|
|
1154
|
+
o("div", Is, [
|
|
1155
|
+
o("div", ws, c(e.userinfo.time), 1),
|
|
1156
1156
|
e.unread ? (n(), l("div", {
|
|
1157
1157
|
key: 0,
|
|
1158
1158
|
class: i(["cu-tag", "round", `bg-${e.unreadColor}`, "sm"])
|
|
@@ -1163,16 +1163,16 @@ const vs = {
|
|
|
1163
1163
|
])
|
|
1164
1164
|
], 2));
|
|
1165
1165
|
}
|
|
1166
|
-
}),
|
|
1166
|
+
}), xs = /* @__PURE__ */ Z(Cs, [["__scopeId", "data-v-e90f08c9"]]), Ts = { class: "cu-list menu-avatar" }, Bs = {
|
|
1167
1167
|
name: "ChatList"
|
|
1168
|
-
},
|
|
1169
|
-
...
|
|
1168
|
+
}, X = /* @__PURE__ */ f({
|
|
1169
|
+
...Bs,
|
|
1170
1170
|
props: {
|
|
1171
1171
|
items: {}
|
|
1172
1172
|
},
|
|
1173
1173
|
setup(s) {
|
|
1174
|
-
return (e, r) => (n(), l("div",
|
|
1175
|
-
(n(!0), l(g, null,
|
|
1174
|
+
return (e, r) => (n(), l("div", Ts, [
|
|
1175
|
+
(n(!0), l(g, null, m(e.items, (t, a) => (n(), k(xs, {
|
|
1176
1176
|
key: a,
|
|
1177
1177
|
userinfo: t.userinfo,
|
|
1178
1178
|
unread: t.unread,
|
|
@@ -1183,8 +1183,8 @@ const vs = {
|
|
|
1183
1183
|
isDisconnected: t.isDisconnected,
|
|
1184
1184
|
isCurrent: t.isCurrent
|
|
1185
1185
|
}, {
|
|
1186
|
-
default:
|
|
1187
|
-
|
|
1186
|
+
default: J(() => [
|
|
1187
|
+
$(e.$slots, "default", { item: t }, () => [
|
|
1188
1188
|
h(c(t.content), 1)
|
|
1189
1189
|
])
|
|
1190
1190
|
]),
|
|
@@ -1193,47 +1193,47 @@ const vs = {
|
|
|
1193
1193
|
]));
|
|
1194
1194
|
}
|
|
1195
1195
|
});
|
|
1196
|
-
|
|
1197
|
-
s.component(
|
|
1196
|
+
X.install = (s) => {
|
|
1197
|
+
s.component(X.name, X);
|
|
1198
1198
|
};
|
|
1199
|
-
const
|
|
1199
|
+
const js = { class: "cu-chat" }, Ss = {
|
|
1200
1200
|
key: 0,
|
|
1201
1201
|
class: "cu-info round"
|
|
1202
|
-
},
|
|
1202
|
+
}, zs = {
|
|
1203
1203
|
key: 1,
|
|
1204
1204
|
class: "cu-info"
|
|
1205
|
-
},
|
|
1205
|
+
}, qs = /* @__PURE__ */ o("text", { class: "cuIcon-roundclosefill text-red" }, null, -1), Vs = { class: "main" }, Ns = ["src"], Ds = {
|
|
1206
1206
|
key: 2,
|
|
1207
1207
|
class: "content shadow"
|
|
1208
|
-
},
|
|
1208
|
+
}, Es = /* @__PURE__ */ o("text", { class: "cuIcon-sound text-xxl padding-right-xl" }, null, -1), As = { class: "action text-bold text-grey" }, Us = {
|
|
1209
1209
|
key: 3,
|
|
1210
1210
|
class: "content shadow"
|
|
1211
|
-
},
|
|
1211
|
+
}, Ls = /* @__PURE__ */ o("text", { class: "cuIcon-locationfill text-orange text-xxl" }, null, -1), Ms = { class: "content shadow" }, Fs = /* @__PURE__ */ o("div", { class: "action text-grey" }, [
|
|
1212
1212
|
/* @__PURE__ */ o("text", { class: "cuIcon-warnfill text-red text-xxl" }),
|
|
1213
1213
|
/* @__PURE__ */ o("text", { class: "text-sm margin-left-sm" }, "翻译错误")
|
|
1214
|
-
], -1),
|
|
1215
|
-
...
|
|
1214
|
+
], -1), Os = { class: "date" }, Rs = { name: "ChatRoom" }, K = /* @__PURE__ */ f({
|
|
1215
|
+
...Rs,
|
|
1216
1216
|
props: {
|
|
1217
1217
|
messages: {}
|
|
1218
1218
|
},
|
|
1219
1219
|
setup(s) {
|
|
1220
|
-
return (e, r) => (n(), l("div",
|
|
1221
|
-
(n(!0), l(g, null,
|
|
1220
|
+
return (e, r) => (n(), l("div", js, [
|
|
1221
|
+
(n(!0), l(g, null, m(e.messages, (t) => (n(), l("div", {
|
|
1222
1222
|
key: t.id,
|
|
1223
1223
|
class: i(["cu-item", { self: t.self }])
|
|
1224
1224
|
}, [
|
|
1225
1225
|
t.type === "info" ? (n(), l(g, { key: 0 }, [
|
|
1226
|
-
t.self ? (n(), l("div",
|
|
1227
|
-
|
|
1226
|
+
t.self ? (n(), l("div", Ss, c(t.content), 1)) : (n(), l("div", zs, [
|
|
1227
|
+
qs,
|
|
1228
1228
|
h(" " + c(t.content), 1)
|
|
1229
1229
|
]))
|
|
1230
1230
|
], 64)) : (n(), l(g, { key: 1 }, [
|
|
1231
|
-
t.self ? u("", !0) : (n(),
|
|
1231
|
+
t.self ? u("", !0) : (n(), k(w, {
|
|
1232
1232
|
key: 0,
|
|
1233
1233
|
mode: "radius",
|
|
1234
1234
|
url: t.avatar
|
|
1235
1235
|
}, null, 8, ["url"])),
|
|
1236
|
-
o("div",
|
|
1236
|
+
o("div", Vs, [
|
|
1237
1237
|
t.type === "text" ? (n(), l("div", {
|
|
1238
1238
|
key: 0,
|
|
1239
1239
|
class: i(["content shadow", { "bg-green": t.self }])
|
|
@@ -1244,38 +1244,38 @@ const zs = { class: "cu-chat" }, qs = {
|
|
|
1244
1244
|
src: t.content,
|
|
1245
1245
|
class: "radius",
|
|
1246
1246
|
style: { "max-width": "100%" }
|
|
1247
|
-
}, null, 8,
|
|
1248
|
-
|
|
1249
|
-
o("div",
|
|
1250
|
-
])) : t.type === "location" ? (n(), l("div",
|
|
1251
|
-
|
|
1247
|
+
}, null, 8, Ns)) : t.type === "audio" ? (n(), l("div", Ds, [
|
|
1248
|
+
Es,
|
|
1249
|
+
o("div", As, c(t.content), 1)
|
|
1250
|
+
])) : t.type === "location" ? (n(), l("div", Us, [
|
|
1251
|
+
Ls,
|
|
1252
1252
|
h(" " + c(t.content), 1)
|
|
1253
1253
|
])) : t.type === "warning" ? (n(), l(g, { key: 4 }, [
|
|
1254
|
-
o("div",
|
|
1255
|
-
|
|
1254
|
+
o("div", Ms, c(t.content), 1),
|
|
1255
|
+
Fs
|
|
1256
1256
|
], 64)) : u("", !0)
|
|
1257
1257
|
]),
|
|
1258
|
-
t.self ? (n(),
|
|
1258
|
+
t.self ? (n(), k(w, {
|
|
1259
1259
|
key: 1,
|
|
1260
1260
|
mode: "radius",
|
|
1261
1261
|
url: t.avatar
|
|
1262
1262
|
}, null, 8, ["url"])) : u("", !0),
|
|
1263
|
-
o("div",
|
|
1263
|
+
o("div", Os, c(t.date), 1)
|
|
1264
1264
|
], 64))
|
|
1265
1265
|
], 2))), 128))
|
|
1266
1266
|
]));
|
|
1267
1267
|
}
|
|
1268
1268
|
});
|
|
1269
|
-
|
|
1270
|
-
s.component(
|
|
1269
|
+
K.install = (s) => {
|
|
1270
|
+
s.component(K.name, K);
|
|
1271
1271
|
};
|
|
1272
|
-
const
|
|
1272
|
+
const Gs = { class: "cu-time" }, Xs = {
|
|
1273
1273
|
key: 0,
|
|
1274
1274
|
class: "cu-capsule radius"
|
|
1275
|
-
},
|
|
1275
|
+
}, Ks = {
|
|
1276
1276
|
name: "TimeLine"
|
|
1277
1277
|
}, P = /* @__PURE__ */ f({
|
|
1278
|
-
...
|
|
1278
|
+
...Ks,
|
|
1279
1279
|
props: {
|
|
1280
1280
|
items: { default: () => [] }
|
|
1281
1281
|
},
|
|
@@ -1296,13 +1296,13 @@ const Xs = { class: "cu-time" }, Ps = {
|
|
|
1296
1296
|
}
|
|
1297
1297
|
}
|
|
1298
1298
|
return (t, a) => (n(), l("div", null, [
|
|
1299
|
-
(n(!0), l(g, null,
|
|
1299
|
+
(n(!0), l(g, null, m(t.items, (d, p) => (n(), l("div", {
|
|
1300
1300
|
key: p,
|
|
1301
1301
|
class: "cu-timeline"
|
|
1302
1302
|
}, [
|
|
1303
|
-
o("div",
|
|
1304
|
-
(n(!0), l(g, null,
|
|
1305
|
-
var
|
|
1303
|
+
o("div", Gs, c(d.date), 1),
|
|
1304
|
+
(n(!0), l(g, null, m(d.items, (_) => {
|
|
1305
|
+
var I, b, T;
|
|
1306
1306
|
return n(), l("div", {
|
|
1307
1307
|
key: _.key,
|
|
1308
1308
|
class: i(["cu-item", r(_)])
|
|
@@ -1310,20 +1310,20 @@ const Xs = { class: "cu-time" }, Ps = {
|
|
|
1310
1310
|
o("div", {
|
|
1311
1311
|
class: i(["content", `bg-${_.bg || "gray"}`, "shadow-blur"])
|
|
1312
1312
|
}, [
|
|
1313
|
-
(
|
|
1313
|
+
(I = _ == null ? void 0 : _.capsule) != null && I.list && _.capsule.list.length ? (n(), l("div", Xs, [
|
|
1314
1314
|
te(C, {
|
|
1315
1315
|
bg: e((b = _.capsule) == null ? void 0 : b.color)
|
|
1316
1316
|
}, {
|
|
1317
|
-
default:
|
|
1317
|
+
default: J(() => [
|
|
1318
1318
|
h(c(_.capsule.list[0]), 1)
|
|
1319
1319
|
]),
|
|
1320
1320
|
_: 2
|
|
1321
1321
|
}, 1032, ["bg"]),
|
|
1322
1322
|
te(C, {
|
|
1323
|
-
bg: e((
|
|
1323
|
+
bg: e((T = _.capsule) == null ? void 0 : T.color),
|
|
1324
1324
|
light: !0
|
|
1325
1325
|
}, {
|
|
1326
|
-
default:
|
|
1326
|
+
default: J(() => [
|
|
1327
1327
|
h(c(_.capsule.list[1]), 1)
|
|
1328
1328
|
]),
|
|
1329
1329
|
_: 2
|
|
@@ -1332,7 +1332,7 @@ const Xs = { class: "cu-time" }, Ps = {
|
|
|
1332
1332
|
o("div", {
|
|
1333
1333
|
class: i(_.capsule ? "margin-top-sm" : "")
|
|
1334
1334
|
}, [
|
|
1335
|
-
|
|
1335
|
+
$(t.$slots, `item-${_.key}`, {}, () => [
|
|
1336
1336
|
h(c(_.content), 1)
|
|
1337
1337
|
])
|
|
1338
1338
|
], 2)
|
|
@@ -1346,10 +1346,10 @@ const Xs = { class: "cu-time" }, Ps = {
|
|
|
1346
1346
|
P.install = (s) => {
|
|
1347
1347
|
s.component(P.name, P);
|
|
1348
1348
|
};
|
|
1349
|
-
const
|
|
1349
|
+
const Ps = { class: "bg-white padding" }, Ws = ["data-index"], Hs = {
|
|
1350
1350
|
name: "TSteps"
|
|
1351
1351
|
}, W = /* @__PURE__ */ f({
|
|
1352
|
-
...
|
|
1352
|
+
...Hs,
|
|
1353
1353
|
props: {
|
|
1354
1354
|
steps: {},
|
|
1355
1355
|
modelValue: {},
|
|
@@ -1358,18 +1358,18 @@ const Hs = { class: "bg-white padding" }, Js = ["data-index"], Qs = {
|
|
|
1358
1358
|
},
|
|
1359
1359
|
emits: ["update:modelValue"],
|
|
1360
1360
|
setup(s, { emit: e }) {
|
|
1361
|
-
return (r, t) => (n(), l("div",
|
|
1361
|
+
return (r, t) => (n(), l("div", Ps, [
|
|
1362
1362
|
o("div", {
|
|
1363
1363
|
class: i(["cu-steps", { "scroll-x": r.scrollX }])
|
|
1364
1364
|
}, [
|
|
1365
|
-
(n(!0), l(g, null,
|
|
1365
|
+
(n(!0), l(g, null, m(r.steps, (a, d) => (n(), l("div", {
|
|
1366
1366
|
class: i(["cu-item", d > r.modelValue ? "" : `text-${r.color}`]),
|
|
1367
1367
|
key: d
|
|
1368
1368
|
}, [
|
|
1369
1369
|
o("text", {
|
|
1370
1370
|
class: i(a.cuIcon ? "cuIcon-" + a.cuIcon : "num"),
|
|
1371
1371
|
"data-index": d + 1
|
|
1372
|
-
}, c(a.cuIcon ? "" : d + 1), 11,
|
|
1372
|
+
}, c(a.cuIcon ? "" : d + 1), 11, Ws),
|
|
1373
1373
|
h(" " + c(a.name), 1)
|
|
1374
1374
|
], 2))), 128))
|
|
1375
1375
|
], 2)
|
|
@@ -1379,12 +1379,12 @@ const Hs = { class: "bg-white padding" }, Js = ["data-index"], Qs = {
|
|
|
1379
1379
|
W.install = (s) => {
|
|
1380
1380
|
s.component(W.name, W);
|
|
1381
1381
|
};
|
|
1382
|
-
const
|
|
1383
|
-
|
|
1384
|
-
],
|
|
1382
|
+
const Js = { class: "cu-dialog" }, Qs = { class: "cu-bar bg-white justify-end padding-right-sm" }, Ys = { class: "content" }, Zs = /* @__PURE__ */ o("text", { class: "cuIcon-close text-red" }, null, -1), eo = [
|
|
1383
|
+
Zs
|
|
1384
|
+
], to = { class: "padding-xl" }, so = {
|
|
1385
1385
|
name: "DrawerModal"
|
|
1386
1386
|
}, H = /* @__PURE__ */ f({
|
|
1387
|
-
...
|
|
1387
|
+
...so,
|
|
1388
1388
|
props: {
|
|
1389
1389
|
title: {},
|
|
1390
1390
|
modelValue: { type: Boolean }
|
|
@@ -1397,16 +1397,16 @@ const Ys = { class: "cu-dialog" }, Zs = { class: "cu-bar bg-white justify-end pa
|
|
|
1397
1397
|
return (a, d) => (n(), l("div", {
|
|
1398
1398
|
class: i(["cu-modal", a.modelValue ? "show" : ""])
|
|
1399
1399
|
}, [
|
|
1400
|
-
o("div",
|
|
1401
|
-
o("div",
|
|
1402
|
-
o("div",
|
|
1400
|
+
o("div", Js, [
|
|
1401
|
+
o("div", Qs, [
|
|
1402
|
+
o("div", Ys, c(a.title), 1),
|
|
1403
1403
|
o("div", {
|
|
1404
1404
|
class: "action",
|
|
1405
1405
|
onClick: t
|
|
1406
|
-
},
|
|
1406
|
+
}, eo)
|
|
1407
1407
|
]),
|
|
1408
|
-
o("div",
|
|
1409
|
-
|
|
1408
|
+
o("div", to, [
|
|
1409
|
+
$(a.$slots, "default", {}, () => [
|
|
1410
1410
|
h("Modal 内容~")
|
|
1411
1411
|
])
|
|
1412
1412
|
])
|
|
@@ -1417,20 +1417,20 @@ const Ys = { class: "cu-dialog" }, Zs = { class: "cu-bar bg-white justify-end pa
|
|
|
1417
1417
|
H.install = (s) => {
|
|
1418
1418
|
s.component(H.name, H);
|
|
1419
1419
|
};
|
|
1420
|
-
const
|
|
1421
|
-
s.use(
|
|
1422
|
-
},
|
|
1423
|
-
install:
|
|
1420
|
+
const oo = (s) => {
|
|
1421
|
+
s.use(x), s.use(N), s.use(w), s.use(z), s.use(q), s.use(V), s.use(A), s.use(U), s.use(L), s.use(M), s.use(F), s.use(O), s.use(R), s.use(G), s.use(E), s.use(C), s.use(X), s.use(K), s.use(P), s.use(W), s.use(H);
|
|
1422
|
+
}, ao = {
|
|
1423
|
+
install: oo
|
|
1424
1424
|
};
|
|
1425
1425
|
export {
|
|
1426
|
-
|
|
1427
|
-
|
|
1426
|
+
X as ChatList,
|
|
1427
|
+
K as ChatRoom,
|
|
1428
1428
|
H as DrawerModal,
|
|
1429
|
-
|
|
1429
|
+
R as GridGroup,
|
|
1430
1430
|
G as Menu,
|
|
1431
1431
|
w as TAvatar,
|
|
1432
1432
|
E as TButton,
|
|
1433
|
-
|
|
1433
|
+
x as TIcon,
|
|
1434
1434
|
M as TInputBar,
|
|
1435
1435
|
A as TNavBar,
|
|
1436
1436
|
z as TNavCard,
|
|
@@ -1438,11 +1438,11 @@ export {
|
|
|
1438
1438
|
L as TSearchBar,
|
|
1439
1439
|
V as TShareCard,
|
|
1440
1440
|
W as TSteps,
|
|
1441
|
-
|
|
1441
|
+
O as TTab,
|
|
1442
1442
|
F as TTabs,
|
|
1443
1443
|
C as TTag,
|
|
1444
1444
|
N as TTitle,
|
|
1445
1445
|
U as TTopBar,
|
|
1446
1446
|
P as TimeLine,
|
|
1447
|
-
|
|
1447
|
+
ao as default
|
|
1448
1448
|
};
|