ling-yun-custom-components 0.0.40 → 0.0.42
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/es/AppIntro.mjs +530 -0
- package/es/PaginationTable.mjs +5 -4
- package/es/assets/AppIntro.css +1 -0
- package/es/assets/PaginationTable.css +1 -1
- package/es/index.mjs +93 -80
- package/lib/AppIntro.js +1 -0
- package/lib/PaginationTable.js +1 -1
- package/lib/assets/AppIntro.css +1 -0
- package/lib/assets/PaginationTable.css +1 -1
- package/lib/index.js +1 -1
- package/package.json +5 -3
package/es/AppIntro.mjs
ADDED
|
@@ -0,0 +1,530 @@
|
|
|
1
|
+
import { w as V } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
+
import { createElementBlock as n, openBlock as a, createElementVNode as c, toDisplayString as f, renderSlot as A, computed as F, ref as E, resolveDirective as R, createCommentVNode as i, createVNode as h, Fragment as b, renderList as k, unref as t, withCtx as p, createBlock as m, withDirectives as M, createTextVNode as T, onMounted as q, watch as P } from "vue";
|
|
3
|
+
import { ElIcon as U, ElLink as x, ElTimeline as z, ElTimelineItem as B, ElCard as j, ElTag as S, ElTabs as J, ElTabPane as O } from "element-plus";
|
|
4
|
+
import { IconLook as H } from "color-message-lingyun-vue";
|
|
5
|
+
import { C as W } from "./chunks/layout.DXw3haOP.js";
|
|
6
|
+
import { _ as w } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
7
|
+
import { createRequest as K, pageParams as Q, apiPrefix as X } from "ling-yun-methods";
|
|
8
|
+
import './assets/AppIntro.css';const Y = { class: "flex w-full mg-b-10" }, Z = { class: "config-item__label text-right inline-block" }, ee = {
|
|
9
|
+
class: "flex-1 flex justify-start items-flex-start flex-wrap flex-gap-row-wrap-8 fz-14",
|
|
10
|
+
style: { color: "#303133" }
|
|
11
|
+
}, te = {
|
|
12
|
+
__name: "ConfigItem",
|
|
13
|
+
props: {
|
|
14
|
+
title: {
|
|
15
|
+
type: String,
|
|
16
|
+
required: !0
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
setup(s) {
|
|
20
|
+
return (d, v) => (a(), n("div", Y, [
|
|
21
|
+
c("div", Z, [
|
|
22
|
+
c("span", null, f(s.title), 1)
|
|
23
|
+
]),
|
|
24
|
+
c("div", ee, [
|
|
25
|
+
A(d.$slots, "default", {}, void 0, !0)
|
|
26
|
+
])
|
|
27
|
+
]));
|
|
28
|
+
}
|
|
29
|
+
}, $ = /* @__PURE__ */ w(te, [["__scopeId", "data-v-9093c13d"]]), o = {
|
|
30
|
+
LISTING: 1,
|
|
31
|
+
// 上架申请
|
|
32
|
+
DELISTING: 2,
|
|
33
|
+
// 下架申请
|
|
34
|
+
ONLINE: 3,
|
|
35
|
+
// 上线应用
|
|
36
|
+
OFFLINE: 4
|
|
37
|
+
// 下线应用
|
|
38
|
+
}, C = {
|
|
39
|
+
PENDING: 0,
|
|
40
|
+
// 待审核
|
|
41
|
+
APPROVED: 1,
|
|
42
|
+
// 已通过
|
|
43
|
+
REJECTED: 2
|
|
44
|
+
// 已驳回
|
|
45
|
+
}, L = {
|
|
46
|
+
IMAGE: 1,
|
|
47
|
+
// 图片
|
|
48
|
+
VIDEO: 2
|
|
49
|
+
// 视频
|
|
50
|
+
}, Be = {
|
|
51
|
+
INTRO: "intro",
|
|
52
|
+
// 应用介绍
|
|
53
|
+
TIMELINE: "timeline"
|
|
54
|
+
// 迭代时间轴
|
|
55
|
+
}, ae = {
|
|
56
|
+
[o.LISTING]: "上架申请",
|
|
57
|
+
[o.DELISTING]: "下架申请",
|
|
58
|
+
[o.ONLINE]: "上线应用",
|
|
59
|
+
[o.OFFLINE]: "下线应用"
|
|
60
|
+
}, se = { class: "app-intro-content overflow-hidden h-full" }, le = {
|
|
61
|
+
key: 0,
|
|
62
|
+
class: "media-section w-full pd-b-12"
|
|
63
|
+
}, oe = { class: "media-content relative w-full" }, ne = {
|
|
64
|
+
key: 0,
|
|
65
|
+
class: "media-video relative w-full"
|
|
66
|
+
}, re = ["src"], ie = {
|
|
67
|
+
key: 1,
|
|
68
|
+
class: "media-image relative w-full"
|
|
69
|
+
}, ue = ["src"], ce = ["onClick"], pe = { class: "info-section" }, de = { class: "text-item" }, fe = { class: "text-item" }, ye = { class: "file-list" }, me = {
|
|
70
|
+
key: 0,
|
|
71
|
+
class: "preview-content"
|
|
72
|
+
}, ge = ["src"], he = {
|
|
73
|
+
key: 1,
|
|
74
|
+
class: "preview-content"
|
|
75
|
+
}, ve = ["src"], Ie = {
|
|
76
|
+
__name: "AppIntroContent",
|
|
77
|
+
props: {
|
|
78
|
+
pics: {
|
|
79
|
+
type: Array,
|
|
80
|
+
default: () => []
|
|
81
|
+
},
|
|
82
|
+
appCreatorName: {
|
|
83
|
+
type: String,
|
|
84
|
+
default: ""
|
|
85
|
+
},
|
|
86
|
+
appCreatorOrg: {
|
|
87
|
+
type: String,
|
|
88
|
+
default: ""
|
|
89
|
+
},
|
|
90
|
+
appDesc: {
|
|
91
|
+
type: String,
|
|
92
|
+
default: ""
|
|
93
|
+
},
|
|
94
|
+
accessSystem: {
|
|
95
|
+
type: String,
|
|
96
|
+
default: ""
|
|
97
|
+
},
|
|
98
|
+
businessBackground: {
|
|
99
|
+
type: String,
|
|
100
|
+
default: ""
|
|
101
|
+
},
|
|
102
|
+
businessTarget: {
|
|
103
|
+
type: String,
|
|
104
|
+
default: ""
|
|
105
|
+
},
|
|
106
|
+
resultData: {
|
|
107
|
+
type: String,
|
|
108
|
+
default: ""
|
|
109
|
+
},
|
|
110
|
+
attachements: {
|
|
111
|
+
type: Array,
|
|
112
|
+
default: () => []
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
setup(s) {
|
|
116
|
+
const d = s, v = F(() => [
|
|
117
|
+
{ title: "申请人:", value: d.appCreatorName },
|
|
118
|
+
{ title: "应用省份:", value: d.appCreatorOrg },
|
|
119
|
+
{ title: "应用说明:", value: d.appDesc },
|
|
120
|
+
{ title: "接入系统:", value: d.accessSystem },
|
|
121
|
+
{ title: "业务背景:", value: d.businessBackground },
|
|
122
|
+
{ title: "业务目标:", value: d.businessTarget },
|
|
123
|
+
{ title: "成效数据:", value: d.resultData }
|
|
124
|
+
]), I = E(!1), y = E(null), N = (u) => {
|
|
125
|
+
y.value = u, I.value = !0;
|
|
126
|
+
}, g = () => {
|
|
127
|
+
I.value = !1, y.value = null;
|
|
128
|
+
}, _ = (u) => {
|
|
129
|
+
try {
|
|
130
|
+
const l = document.createElement("a");
|
|
131
|
+
l.href = u.attachementUrl, l.download = u.attachementName, l.style.display = "none", l.target = "_blank", document.body.appendChild(l), l.click(), document.body.removeChild(l);
|
|
132
|
+
} catch (l) {
|
|
133
|
+
console.error(l);
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
return (u, l) => {
|
|
137
|
+
const e = R("loading");
|
|
138
|
+
return a(), n("div", se, [
|
|
139
|
+
s.pics.length > 0 ? (a(), n("div", le, [
|
|
140
|
+
c("div", oe, [
|
|
141
|
+
(a(!0), n(b, null, k(s.pics, (r, D) => (a(), n("div", {
|
|
142
|
+
key: D,
|
|
143
|
+
class: "media-item w-full"
|
|
144
|
+
}, [
|
|
145
|
+
r.type === t(L).VIDEO ? (a(), n("div", ne, [
|
|
146
|
+
c("video", {
|
|
147
|
+
class: "w-full",
|
|
148
|
+
src: r.url,
|
|
149
|
+
controls: ""
|
|
150
|
+
}, null, 8, re)
|
|
151
|
+
])) : i("", !0),
|
|
152
|
+
r.type === t(L).IMAGE ? (a(), n("div", ie, [
|
|
153
|
+
c("img", {
|
|
154
|
+
class: "w-full",
|
|
155
|
+
src: r.url,
|
|
156
|
+
alt: ""
|
|
157
|
+
}, null, 8, ue)
|
|
158
|
+
])) : i("", !0),
|
|
159
|
+
c("div", {
|
|
160
|
+
class: "hover-overlay absolute top-0 left-0 w-full h-full flex justify-center items-center",
|
|
161
|
+
onClick: (G) => N(r)
|
|
162
|
+
}, [
|
|
163
|
+
h(t(U), {
|
|
164
|
+
size: 24,
|
|
165
|
+
class: "view-icon"
|
|
166
|
+
}, {
|
|
167
|
+
default: p(() => [
|
|
168
|
+
h(t(H))
|
|
169
|
+
]),
|
|
170
|
+
_: 1
|
|
171
|
+
})
|
|
172
|
+
], 8, ce)
|
|
173
|
+
]))), 128))
|
|
174
|
+
])
|
|
175
|
+
])) : i("", !0),
|
|
176
|
+
c("div", pe, [
|
|
177
|
+
(a(!0), n(b, null, k(v.value, (r) => (a(), m($, {
|
|
178
|
+
key: r.title,
|
|
179
|
+
title: r.title
|
|
180
|
+
}, {
|
|
181
|
+
default: p(() => [
|
|
182
|
+
c("div", de, f(r.value ?? "--"), 1)
|
|
183
|
+
]),
|
|
184
|
+
_: 2
|
|
185
|
+
}, 1032, ["title"]))), 128)),
|
|
186
|
+
h($, { title: "附件:" }, {
|
|
187
|
+
default: p(() => [
|
|
188
|
+
c("div", fe, [
|
|
189
|
+
c("div", ye, [
|
|
190
|
+
(a(!0), n(b, null, k(s.attachements, (r, D) => (a(), n("div", {
|
|
191
|
+
key: D,
|
|
192
|
+
class: "file-item"
|
|
193
|
+
}, [
|
|
194
|
+
M((a(), n("div", null, [
|
|
195
|
+
T(f(r.attachementName) + " ", 1),
|
|
196
|
+
r.attachementUrl ? (a(), m(t(x), {
|
|
197
|
+
key: 0,
|
|
198
|
+
type: "primary",
|
|
199
|
+
underline: !1,
|
|
200
|
+
onClick: (G) => _(r)
|
|
201
|
+
}, {
|
|
202
|
+
default: p(() => [...l[1] || (l[1] = [
|
|
203
|
+
T(" 点击查看 ", -1)
|
|
204
|
+
])]),
|
|
205
|
+
_: 1
|
|
206
|
+
}, 8, ["onClick"])) : i("", !0)
|
|
207
|
+
])), [
|
|
208
|
+
[e, !r.attachementUrl]
|
|
209
|
+
])
|
|
210
|
+
]))), 128))
|
|
211
|
+
])
|
|
212
|
+
])
|
|
213
|
+
]),
|
|
214
|
+
_: 1
|
|
215
|
+
})
|
|
216
|
+
]),
|
|
217
|
+
h(W, {
|
|
218
|
+
modelValue: I.value,
|
|
219
|
+
"onUpdate:modelValue": l[0] || (l[0] = (r) => I.value = r),
|
|
220
|
+
width: "60%",
|
|
221
|
+
"show-close": !0,
|
|
222
|
+
onClose: g,
|
|
223
|
+
buttons: {
|
|
224
|
+
showCancel: !1,
|
|
225
|
+
showConfirm: !1
|
|
226
|
+
}
|
|
227
|
+
}, {
|
|
228
|
+
default: p(() => [
|
|
229
|
+
y.value?.type === t(L).IMAGE ? (a(), n("div", me, [
|
|
230
|
+
c("img", {
|
|
231
|
+
class: "preview-media w-full",
|
|
232
|
+
src: y.value.url,
|
|
233
|
+
alt: ""
|
|
234
|
+
}, null, 8, ge)
|
|
235
|
+
])) : (a(), n("div", he, [
|
|
236
|
+
c("video", {
|
|
237
|
+
class: "preview-media w-full",
|
|
238
|
+
src: y.value?.url,
|
|
239
|
+
controls: ""
|
|
240
|
+
}, null, 8, ve)
|
|
241
|
+
]))
|
|
242
|
+
]),
|
|
243
|
+
_: 1
|
|
244
|
+
}, 8, ["modelValue"])
|
|
245
|
+
]);
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
}, Te = /* @__PURE__ */ w(Ie, [["__scopeId", "data-v-ffbf63d2"]]), _e = { class: "flex items-center flex-gap-row-nowrap-8 mg-b-12" }, Ne = {
|
|
249
|
+
class: "fz-14 weight-500",
|
|
250
|
+
style: { color: "#1d2129" }
|
|
251
|
+
}, be = {
|
|
252
|
+
class: "fz-14",
|
|
253
|
+
style: { color: "#4e5969" }
|
|
254
|
+
}, ke = {
|
|
255
|
+
key: 0,
|
|
256
|
+
class: "mg-t-8 mg-b-8",
|
|
257
|
+
style: { "line-height": "1.5" }
|
|
258
|
+
}, Ee = {
|
|
259
|
+
key: 1,
|
|
260
|
+
class: "mg-t-8 mg-b-8",
|
|
261
|
+
style: { "line-height": "1.5" }
|
|
262
|
+
}, we = {
|
|
263
|
+
key: 2,
|
|
264
|
+
class: "mg-t-8 mg-b-8",
|
|
265
|
+
style: { "line-height": "1.5" }
|
|
266
|
+
}, De = {
|
|
267
|
+
key: 3,
|
|
268
|
+
class: "mg-t-8 mg-b-8",
|
|
269
|
+
style: { "line-height": "1.5" }
|
|
270
|
+
}, Se = {
|
|
271
|
+
key: 4,
|
|
272
|
+
class: "mg-t-8 mg-b-8",
|
|
273
|
+
style: { "line-height": "1.5" }
|
|
274
|
+
}, Ce = {
|
|
275
|
+
key: 5,
|
|
276
|
+
class: "mg-t-8 mg-b-8",
|
|
277
|
+
style: { "line-height": "1.5" }
|
|
278
|
+
}, Le = {
|
|
279
|
+
key: 6,
|
|
280
|
+
class: "mg-t-8 mg-b-8",
|
|
281
|
+
style: { "line-height": "1.5" }
|
|
282
|
+
}, xe = {
|
|
283
|
+
key: 7,
|
|
284
|
+
class: "mg-t-8 mg-b-8",
|
|
285
|
+
style: { "line-height": "1.5" }
|
|
286
|
+
}, Oe = {
|
|
287
|
+
key: 8,
|
|
288
|
+
class: "mg-t-8 mg-b-8",
|
|
289
|
+
style: { "line-height": "1.5" }
|
|
290
|
+
}, $e = {
|
|
291
|
+
__name: "AppTimeline",
|
|
292
|
+
props: {
|
|
293
|
+
appId: {
|
|
294
|
+
type: String,
|
|
295
|
+
default: ""
|
|
296
|
+
},
|
|
297
|
+
square: {
|
|
298
|
+
type: Boolean,
|
|
299
|
+
default: !1
|
|
300
|
+
},
|
|
301
|
+
vueRouter: {
|
|
302
|
+
type: Object,
|
|
303
|
+
default: () => ({})
|
|
304
|
+
},
|
|
305
|
+
prefixUrl: {
|
|
306
|
+
type: String,
|
|
307
|
+
default: ""
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
setup(s) {
|
|
311
|
+
const d = s, v = async (u) => {
|
|
312
|
+
d.vueRouter.push({
|
|
313
|
+
path: "/promptTestDetail",
|
|
314
|
+
query: {
|
|
315
|
+
id: u.id,
|
|
316
|
+
type: u.auditStatus,
|
|
317
|
+
sourceFlag: "1",
|
|
318
|
+
operationType: u.operationType,
|
|
319
|
+
sourceHistory: "1"
|
|
320
|
+
}
|
|
321
|
+
});
|
|
322
|
+
}, I = (u) => [o.LISTING, o.DELISTING].includes(u), y = K(d.prefixUrl), N = () => y.post({
|
|
323
|
+
url: `${X.cslmManagerAgent}/microApp/appOperationList`,
|
|
324
|
+
data: {
|
|
325
|
+
appId: d.appId,
|
|
326
|
+
operationType: [
|
|
327
|
+
o.LISTING,
|
|
328
|
+
o.DELISTING,
|
|
329
|
+
o.ONLINE,
|
|
330
|
+
o.OFFLINE
|
|
331
|
+
].join(","),
|
|
332
|
+
pageNum: Q.pageNum,
|
|
333
|
+
pageSize: 1e6
|
|
334
|
+
}
|
|
335
|
+
}), g = E([]), _ = async () => {
|
|
336
|
+
await N().then(({ data: u }) => {
|
|
337
|
+
g.value = u.list;
|
|
338
|
+
});
|
|
339
|
+
};
|
|
340
|
+
return q(() => {
|
|
341
|
+
_();
|
|
342
|
+
}), (u, l) => (a(), m(t(z), { class: "overflow-y-auto h-full pd-l-12" }, {
|
|
343
|
+
default: p(() => [
|
|
344
|
+
(a(!0), n(b, null, k(g.value, (e) => (a(), m(t(B), {
|
|
345
|
+
key: e.id,
|
|
346
|
+
timestamp: e.createTime,
|
|
347
|
+
placement: "top",
|
|
348
|
+
color: "#165dff"
|
|
349
|
+
}, {
|
|
350
|
+
default: p(() => [
|
|
351
|
+
h(t(j), { shadow: "hover" }, {
|
|
352
|
+
default: p(() => [
|
|
353
|
+
c("div", _e, [
|
|
354
|
+
c("span", Ne, f(t(ae)[e.operationType] || "--"), 1),
|
|
355
|
+
I(e.operationType) ? (a(), n(b, { key: 0 }, [
|
|
356
|
+
e.auditStatus === t(C).PENDING ? (a(), m(t(S), {
|
|
357
|
+
key: 0,
|
|
358
|
+
type: "warning",
|
|
359
|
+
size: "small",
|
|
360
|
+
class: "weight-500"
|
|
361
|
+
}, {
|
|
362
|
+
default: p(() => [...l[0] || (l[0] = [
|
|
363
|
+
T(" 待审核 ", -1)
|
|
364
|
+
])]),
|
|
365
|
+
_: 1
|
|
366
|
+
})) : e.auditStatus === t(C).APPROVED ? (a(), m(t(S), {
|
|
367
|
+
key: 1,
|
|
368
|
+
type: "primary",
|
|
369
|
+
size: "small",
|
|
370
|
+
class: "weight-500"
|
|
371
|
+
}, {
|
|
372
|
+
default: p(() => [...l[1] || (l[1] = [
|
|
373
|
+
T(" 已通过 ", -1)
|
|
374
|
+
])]),
|
|
375
|
+
_: 1
|
|
376
|
+
})) : e.auditStatus === t(C).REJECTED ? (a(), m(t(S), {
|
|
377
|
+
key: 2,
|
|
378
|
+
type: "danger",
|
|
379
|
+
size: "small",
|
|
380
|
+
class: "weight-500"
|
|
381
|
+
}, {
|
|
382
|
+
default: p(() => [...l[2] || (l[2] = [
|
|
383
|
+
T(" 已驳回 ", -1)
|
|
384
|
+
])]),
|
|
385
|
+
_: 1
|
|
386
|
+
})) : i("", !0)
|
|
387
|
+
], 64)) : i("", !0)
|
|
388
|
+
]),
|
|
389
|
+
c("div", be, [
|
|
390
|
+
e.operationType === t(o).LISTING || e.operationType === t(o).DELISTING ? (a(), n("p", ke, " 申请人:" + f(e.creatorName ?? "--"), 1)) : i("", !0),
|
|
391
|
+
e.operationType === t(o).ONLINE || e.operationType === t(o).OFFLINE ? (a(), n("p", Ee, " 操作人:" + f(e.creatorName ?? "--"), 1)) : i("", !0),
|
|
392
|
+
e.operationType === t(o).DELISTING ? (a(), n("p", we, " 下架原因:" + f(e.delistingReason ?? "--"), 1)) : i("", !0),
|
|
393
|
+
e.operationType === t(o).LISTING ? (a(), n("p", De, " 成效数据:" + f(e.resultData ?? "--"), 1)) : i("", !0),
|
|
394
|
+
e.operationType === t(o).LISTING ? (a(), n("p", Se, " 推荐理由:" + f(e.recommendReason ?? "--"), 1)) : i("", !0),
|
|
395
|
+
e.operationType === t(o).ONLINE || e.operationType === t(o).OFFLINE ? (a(), n("p", Ce, " 版本号:" + f(e.appVersionNum ? "V" + e.appVersionNum : "--"), 1)) : i("", !0),
|
|
396
|
+
e.operationType === t(o).ONLINE ? (a(), n("p", Le, " 配置摘要:" + f(e.configSummary ?? "--"), 1)) : i("", !0),
|
|
397
|
+
e.operationType === t(o).ONLINE || e.operationType === t(o).OFFLINE ? (a(), n("p", xe, " 版本说明:" + f(e.publishRemark ?? "--"), 1)) : i("", !0),
|
|
398
|
+
e.operationType === t(o).OFFLINE ? (a(), n("p", Oe, " 下线原因:" + f(e.offlineReason ?? "--"), 1)) : i("", !0),
|
|
399
|
+
e.operationType === t(o).LISTING && !s.square ? (a(), m(t(x), {
|
|
400
|
+
key: 9,
|
|
401
|
+
type: "primary",
|
|
402
|
+
underline: !1,
|
|
403
|
+
class: "mg-t-8",
|
|
404
|
+
onClick: (r) => v(e)
|
|
405
|
+
}, {
|
|
406
|
+
default: p(() => [...l[3] || (l[3] = [
|
|
407
|
+
T(" 查看上架申请 ", -1)
|
|
408
|
+
])]),
|
|
409
|
+
_: 1
|
|
410
|
+
}, 8, ["onClick"])) : i("", !0),
|
|
411
|
+
e.operationType === t(o).DELISTING && !s.square ? (a(), m(t(x), {
|
|
412
|
+
key: 10,
|
|
413
|
+
type: "primary",
|
|
414
|
+
underline: !1,
|
|
415
|
+
class: "mg-t-8",
|
|
416
|
+
onClick: (r) => v(e)
|
|
417
|
+
}, {
|
|
418
|
+
default: p(() => [...l[4] || (l[4] = [
|
|
419
|
+
T(" 查看下架申请 ", -1)
|
|
420
|
+
])]),
|
|
421
|
+
_: 1
|
|
422
|
+
}, 8, ["onClick"])) : i("", !0)
|
|
423
|
+
])
|
|
424
|
+
]),
|
|
425
|
+
_: 2
|
|
426
|
+
}, 1024)
|
|
427
|
+
]),
|
|
428
|
+
_: 2
|
|
429
|
+
}, 1032, ["timestamp"]))), 128))
|
|
430
|
+
]),
|
|
431
|
+
_: 1
|
|
432
|
+
}));
|
|
433
|
+
}
|
|
434
|
+
}, Ge = /* @__PURE__ */ w($e, [["__scopeId", "data-v-83b41e95"]]), Ve = /* @__PURE__ */ Object.assign({
|
|
435
|
+
name: "AppIntro"
|
|
436
|
+
}, {
|
|
437
|
+
__name: "layout",
|
|
438
|
+
props: {
|
|
439
|
+
introData: {
|
|
440
|
+
type: Object,
|
|
441
|
+
default: () => ({})
|
|
442
|
+
},
|
|
443
|
+
square: {
|
|
444
|
+
type: Boolean,
|
|
445
|
+
default: !1
|
|
446
|
+
},
|
|
447
|
+
defaultTab: {
|
|
448
|
+
type: String,
|
|
449
|
+
default: "intro",
|
|
450
|
+
validator: (s) => ["intro", "timeline"].includes(s)
|
|
451
|
+
},
|
|
452
|
+
prefixUrl: {
|
|
453
|
+
type: String,
|
|
454
|
+
default: ""
|
|
455
|
+
},
|
|
456
|
+
vueRouter: {
|
|
457
|
+
type: Object,
|
|
458
|
+
default: () => ({})
|
|
459
|
+
},
|
|
460
|
+
appId: {
|
|
461
|
+
type: String,
|
|
462
|
+
default: ""
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
emits: ["tab-change"],
|
|
466
|
+
setup(s, { emit: d }) {
|
|
467
|
+
const v = s, I = d, y = E(v.defaultTab);
|
|
468
|
+
P(
|
|
469
|
+
() => v.defaultTab,
|
|
470
|
+
(g) => {
|
|
471
|
+
y.value = g;
|
|
472
|
+
}
|
|
473
|
+
);
|
|
474
|
+
const N = (g) => {
|
|
475
|
+
I("tab-change", g);
|
|
476
|
+
};
|
|
477
|
+
return (g, _) => (a(), m(t(J), {
|
|
478
|
+
class: "overflow-hidden h-full",
|
|
479
|
+
modelValue: y.value,
|
|
480
|
+
"onUpdate:modelValue": _[0] || (_[0] = (u) => y.value = u),
|
|
481
|
+
onTabChange: N
|
|
482
|
+
}, {
|
|
483
|
+
default: p(() => [
|
|
484
|
+
h(t(O), {
|
|
485
|
+
label: "应用介绍",
|
|
486
|
+
name: "intro"
|
|
487
|
+
}, {
|
|
488
|
+
default: p(() => [
|
|
489
|
+
h(Te, {
|
|
490
|
+
pics: s.introData?.pics,
|
|
491
|
+
"app-creator-name": s.introData?.appCreatorName,
|
|
492
|
+
"app-creator-org": s.introData?.appCreatorOrg,
|
|
493
|
+
"app-desc": s.introData?.appDesc,
|
|
494
|
+
"access-system": s.introData?.accessSystem,
|
|
495
|
+
"business-background": s.introData?.businessBackground,
|
|
496
|
+
"business-target": s.introData?.businessTarget,
|
|
497
|
+
"result-data": s.introData?.resultData,
|
|
498
|
+
attachements: s.introData?.attachements
|
|
499
|
+
}, null, 8, ["pics", "app-creator-name", "app-creator-org", "app-desc", "access-system", "business-background", "business-target", "result-data", "attachements"])
|
|
500
|
+
]),
|
|
501
|
+
_: 1
|
|
502
|
+
}),
|
|
503
|
+
h(t(O), {
|
|
504
|
+
label: "迭代时间轴",
|
|
505
|
+
name: "timeline"
|
|
506
|
+
}, {
|
|
507
|
+
default: p(() => [
|
|
508
|
+
h(Ge, {
|
|
509
|
+
prefixUrl: s.prefixUrl,
|
|
510
|
+
square: s.square,
|
|
511
|
+
"vue-router": s.vueRouter,
|
|
512
|
+
"app-id": s.appId
|
|
513
|
+
}, null, 8, ["prefixUrl", "square", "vue-router", "app-id"])
|
|
514
|
+
]),
|
|
515
|
+
_: 1
|
|
516
|
+
})
|
|
517
|
+
]),
|
|
518
|
+
_: 1
|
|
519
|
+
}, 8, ["modelValue"]));
|
|
520
|
+
}
|
|
521
|
+
}), Ae = /* @__PURE__ */ w(Ve, [["__scopeId", "data-v-0ffdf013"]]), je = V(Ae);
|
|
522
|
+
export {
|
|
523
|
+
je as AppIntro,
|
|
524
|
+
C as auditStatusMap,
|
|
525
|
+
je as default,
|
|
526
|
+
L as mediaTypeMap,
|
|
527
|
+
o as operationTypeMap,
|
|
528
|
+
ae as operationTypeToTextMap,
|
|
529
|
+
Be as tabTypeMap
|
|
530
|
+
};
|
package/es/PaginationTable.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { w as be } from "./chunks/index.bCzIhWFw.js";
|
|
2
2
|
import { useSlots as Ce, computed as g, ref as v, watch as te, onMounted as xe, nextTick as Te, createElementBlock as B, openBlock as m, createElementVNode as y, createCommentVNode as R, unref as c, renderSlot as E, Fragment as we, createBlock as le, withCtx as I, createTextVNode as ae, toDisplayString as ke, createVNode as M, createSlots as Be, renderList as Re, normalizeProps as ze, guardReactiveProps as Ne, h as W } from "vue";
|
|
3
3
|
import { ElButton as ne, ElAutoResizer as Pe, ElTableV2 as Ae, ElCheckbox as Ee } from "element-plus";
|
|
4
|
-
import { emitsMap as ue, paginationConfig as Ie
|
|
4
|
+
import { emitsMap as ue, paginationConfig as Ie } from "ling-yun-methods";
|
|
5
|
+
import { calculateScale as _e } from "color-star-custom-methods";
|
|
5
6
|
import { _ as je } from "./chunks/layout.BzQrppiO.js";
|
|
6
7
|
import { _ as Oe } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
7
8
|
import './assets/PaginationTable.css';const De = { class: "flex h-full flex-col" }, qe = {
|
|
@@ -416,8 +417,8 @@ import './assets/PaginationTable.css';const De = { class: "flex h-full flex-col"
|
|
|
416
417
|
])
|
|
417
418
|
]));
|
|
418
419
|
}
|
|
419
|
-
}), Ge = /* @__PURE__ */ Oe(He, [["__scopeId", "data-v-
|
|
420
|
+
}), Ge = /* @__PURE__ */ Oe(He, [["__scopeId", "data-v-639533d7"]]), lt = be(Ge);
|
|
420
421
|
export {
|
|
421
|
-
|
|
422
|
-
|
|
422
|
+
lt as PaginationTable,
|
|
423
|
+
lt as default
|
|
423
424
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.config-item__label[data-v-9093c13d]{width:80px;height:auto}.config-item__label span[data-v-9093c13d]{line-height:20px;color:#5d6c89}.hover-overlay[data-v-ffbf63d2]{background-color:#00000080}[data-v-83b41e95] .el-timeline-item__timestamp{color:#86909c}[data-v-83b41e95] .el-card{background:#f7f8fa}.el-tab-pane[data-v-0ffdf013]{height:100%;overflow:hidden}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[data-v-
|
|
1
|
+
[data-v-639533d7] .el-table-v2__header-cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
package/es/index.mjs
CHANGED
|
@@ -1,86 +1,99 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
1
|
+
import { AppIntro as m, auditStatusMap as e, mediaTypeMap as i, operationTypeMap as p, operationTypeToTextMap as a, tabTypeMap as n } from "./AppIntro.mjs";
|
|
2
|
+
import { CustomSelect as f } from "./CustomSelect.mjs";
|
|
3
|
+
import { SearchBar as l } from "./SearchBar.mjs";
|
|
4
|
+
import { PaginationTable as s } from "./PaginationTable.mjs";
|
|
5
|
+
import { UploadFile as T } from "./UploadFile.mjs";
|
|
6
|
+
import { FileList as c } from "./FileList.mjs";
|
|
7
|
+
import { BatchImport as u } from "./BatchImport.mjs";
|
|
8
|
+
import { GradientButton as S } from "./GradientButton.mjs";
|
|
9
|
+
import { CustomDialog as d } from "./CustomDialog.mjs";
|
|
10
|
+
import { CustomPagination as I } from "./CustomPagination.mjs";
|
|
11
|
+
import { CustomTitle as _ } from "./CustomTitle.mjs";
|
|
12
|
+
import { CustomDropdown as y } from "./CustomDropdown.mjs";
|
|
13
|
+
import { TreeSelect as B } from "./TreeSelect.mjs";
|
|
14
|
+
import { TreeShowSelect as L } from "./TreeShowSelect.mjs";
|
|
15
|
+
import { IconEmpty as M } from "./IconEmpty.mjs";
|
|
16
|
+
import { IconRenderer as P, iconLibraryMap as b } from "./IconRenderer.mjs";
|
|
17
|
+
import { IconSelect as g } from "./IconSelect.mjs";
|
|
18
|
+
import { PageNotFound as C } from "./PageNotFound.mjs";
|
|
19
|
+
import { UpdatePasswordDialog as D } from "./UpdatePasswordDialog.mjs";
|
|
20
|
+
import { BUILD_BIG_TITLES as E, BUILD_STEPS as U, BUILD_TITLES as w, BUILD_TYPES as h, BuildComponents as j, STEP_ARROW_IMAGE as x } from "./BuildComponents.mjs";
|
|
21
|
+
import { CustomTab as A } from "./CustomTab.mjs";
|
|
22
|
+
import { dayjs as F } from "element-plus";
|
|
22
23
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23
24
|
__proto__: null,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
25
|
+
AppIntro: m,
|
|
26
|
+
BUILD_BIG_TITLES: E,
|
|
27
|
+
BUILD_STEPS: U,
|
|
28
|
+
BUILD_TITLES: w,
|
|
29
|
+
BUILD_TYPES: h,
|
|
30
|
+
BatchImport: u,
|
|
31
|
+
BuildComponents: j,
|
|
32
|
+
CustomDialog: d,
|
|
33
|
+
CustomDropdown: y,
|
|
34
|
+
CustomPagination: I,
|
|
35
|
+
CustomSelect: f,
|
|
36
|
+
CustomTab: A,
|
|
37
|
+
CustomTitle: _,
|
|
38
|
+
FileList: c,
|
|
39
|
+
GradientButton: S,
|
|
40
|
+
IconEmpty: M,
|
|
41
|
+
IconRenderer: P,
|
|
42
|
+
IconSelect: g,
|
|
43
|
+
PageNotFound: C,
|
|
44
|
+
PaginationTable: s,
|
|
45
|
+
STEP_ARROW_IMAGE: x,
|
|
46
|
+
SearchBar: l,
|
|
47
|
+
TreeSelect: B,
|
|
48
|
+
TreeShowSelect: L,
|
|
49
|
+
UpdatePasswordDialog: D,
|
|
50
|
+
UploadFile: T,
|
|
51
|
+
auditStatusMap: e,
|
|
52
|
+
iconLibraryMap: b,
|
|
53
|
+
mediaTypeMap: i,
|
|
54
|
+
operationTypeMap: p,
|
|
55
|
+
operationTypeToTextMap: a,
|
|
56
|
+
tabTypeMap: n
|
|
50
57
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
51
|
-
|
|
52
|
-
const
|
|
53
|
-
for (const
|
|
54
|
-
o[
|
|
55
|
-
},
|
|
56
|
-
install:
|
|
58
|
+
F.en.weekStart = 1;
|
|
59
|
+
const G = (r) => {
|
|
60
|
+
for (const t in o)
|
|
61
|
+
o[t].install && r.use(o[t]);
|
|
62
|
+
}, io = {
|
|
63
|
+
install: G
|
|
57
64
|
};
|
|
58
65
|
export {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
66
|
+
m as AppIntro,
|
|
67
|
+
E as BUILD_BIG_TITLES,
|
|
68
|
+
U as BUILD_STEPS,
|
|
69
|
+
w as BUILD_TITLES,
|
|
70
|
+
h as BUILD_TYPES,
|
|
71
|
+
u as BatchImport,
|
|
72
|
+
j as BuildComponents,
|
|
73
|
+
d as CustomDialog,
|
|
74
|
+
y as CustomDropdown,
|
|
75
|
+
I as CustomPagination,
|
|
76
|
+
f as CustomSelect,
|
|
77
|
+
A as CustomTab,
|
|
78
|
+
_ as CustomTitle,
|
|
79
|
+
c as FileList,
|
|
80
|
+
S as GradientButton,
|
|
81
|
+
M as IconEmpty,
|
|
82
|
+
P as IconRenderer,
|
|
83
|
+
g as IconSelect,
|
|
84
|
+
C as PageNotFound,
|
|
85
|
+
s as PaginationTable,
|
|
86
|
+
x as STEP_ARROW_IMAGE,
|
|
87
|
+
l as SearchBar,
|
|
88
|
+
B as TreeSelect,
|
|
89
|
+
L as TreeShowSelect,
|
|
90
|
+
D as UpdatePasswordDialog,
|
|
91
|
+
T as UploadFile,
|
|
92
|
+
e as auditStatusMap,
|
|
93
|
+
io as default,
|
|
94
|
+
b as iconLibraryMap,
|
|
95
|
+
i as mediaTypeMap,
|
|
96
|
+
p as operationTypeMap,
|
|
97
|
+
a as operationTypeToTextMap,
|
|
98
|
+
n as tabTypeMap
|
|
86
99
|
};
|
package/lib/AppIntro.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./assets/AppIntro.css');const _=require("./chunks/index.CkihWzK6.js"),e=require("vue"),c=require("element-plus"),B=require("color-message-lingyun-vue"),V=require("./chunks/layout.B9EVVV-O.js"),k=require("./chunks/_plugin-vue_export-helper.BHFhmbuH.js"),N=require("ling-yun-methods"),C={class:"flex w-full mg-b-10"},w={class:"config-item__label text-right inline-block"},b={class:"flex-1 flex justify-start items-flex-start flex-wrap flex-gap-row-wrap-8 fz-14",style:{color:"#303133"}},S={__name:"ConfigItem",props:{title:{type:String,required:!0}},setup(a){return(s,p)=>(e.openBlock(),e.createElementBlock("div",C,[e.createElementVNode("div",w,[e.createElementVNode("span",null,e.toDisplayString(a.title),1)]),e.createElementVNode("div",b,[e.renderSlot(s.$slots,"default",{},void 0,!0)])]))}},E=k._export_sfc(S,[["__scopeId","data-v-9093c13d"]]),o={LISTING:1,DELISTING:2,ONLINE:3,OFFLINE:4},y={PENDING:0,APPROVED:1,REJECTED:2},g={IMAGE:1,VIDEO:2},x={INTRO:"intro",TIMELINE:"timeline"},v={[o.LISTING]:"上架申请",[o.DELISTING]:"下架申请",[o.ONLINE]:"上线应用",[o.OFFLINE]:"下线应用"},D={class:"app-intro-content overflow-hidden h-full"},L={key:0,class:"media-section w-full pd-b-12"},O={class:"media-content relative w-full"},$={key:0,class:"media-video relative w-full"},M=["src"],F={key:1,class:"media-image relative w-full"},G=["src"],q=["onClick"],A={class:"info-section"},P={class:"text-item"},R={class:"text-item"},U={class:"file-list"},j={key:0,class:"preview-content"},z=["src"],H={key:1,class:"preview-content"},J=["src"],W={__name:"AppIntroContent",props:{pics:{type:Array,default:()=>[]},appCreatorName:{type:String,default:""},appCreatorOrg:{type:String,default:""},appDesc:{type:String,default:""},accessSystem:{type:String,default:""},businessBackground:{type:String,default:""},businessTarget:{type:String,default:""},resultData:{type:String,default:""},attachements:{type:Array,default:()=>[]}},setup(a){const s=a,p=e.computed(()=>[{title:"申请人:",value:s.appCreatorName},{title:"应用省份:",value:s.appCreatorOrg},{title:"应用说明:",value:s.appDesc},{title:"接入系统:",value:s.accessSystem},{title:"业务背景:",value:s.businessBackground},{title:"业务目标:",value:s.businessTarget},{title:"成效数据:",value:s.resultData}]),d=e.ref(!1),i=e.ref(null),f=r=>{i.value=r,d.value=!0},u=()=>{d.value=!1,i.value=null},m=r=>{try{const l=document.createElement("a");l.href=r.attachementUrl,l.download=r.attachementName,l.style.display="none",l.target="_blank",document.body.appendChild(l),l.click(),document.body.removeChild(l)}catch(l){console.error(l)}};return(r,l)=>{const t=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",D,[a.pics.length>0?(e.openBlock(),e.createElementBlock("div",L,[e.createElementVNode("div",O,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.pics,(n,h)=>(e.openBlock(),e.createElementBlock("div",{key:h,class:"media-item w-full"},[n.type===e.unref(g).VIDEO?(e.openBlock(),e.createElementBlock("div",$,[e.createElementVNode("video",{class:"w-full",src:n.url,controls:""},null,8,M)])):e.createCommentVNode("",!0),n.type===e.unref(g).IMAGE?(e.openBlock(),e.createElementBlock("div",F,[e.createElementVNode("img",{class:"w-full",src:n.url,alt:""},null,8,G)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"hover-overlay absolute top-0 left-0 w-full h-full flex justify-center items-center",onClick:I=>f(n)},[e.createVNode(e.unref(c.ElIcon),{size:24,class:"view-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(B.IconLook))]),_:1})],8,q)]))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",A,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,n=>(e.openBlock(),e.createBlock(E,{key:n.title,title:n.title},{default:e.withCtx(()=>[e.createElementVNode("div",P,e.toDisplayString(n.value??"--"),1)]),_:2},1032,["title"]))),128)),e.createVNode(E,{title:"附件:"},{default:e.withCtx(()=>[e.createElementVNode("div",R,[e.createElementVNode("div",U,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.attachements,(n,h)=>(e.openBlock(),e.createElementBlock("div",{key:h,class:"file-item"},[e.withDirectives((e.openBlock(),e.createElementBlock("div",null,[e.createTextVNode(e.toDisplayString(n.attachementName)+" ",1),n.attachementUrl?(e.openBlock(),e.createBlock(e.unref(c.ElLink),{key:0,type:"primary",underline:!1,onClick:I=>m(n)},{default:e.withCtx(()=>[...l[1]||(l[1]=[e.createTextVNode(" 点击查看 ",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0)])),[[t,!n.attachementUrl]])]))),128))])])]),_:1})]),e.createVNode(V.CustomDialog,{modelValue:d.value,"onUpdate:modelValue":l[0]||(l[0]=n=>d.value=n),width:"60%","show-close":!0,onClose:u,buttons:{showCancel:!1,showConfirm:!1}},{default:e.withCtx(()=>[i.value?.type===e.unref(g).IMAGE?(e.openBlock(),e.createElementBlock("div",j,[e.createElementVNode("img",{class:"preview-media w-full",src:i.value.url,alt:""},null,8,z)])):(e.openBlock(),e.createElementBlock("div",H,[e.createElementVNode("video",{class:"preview-media w-full",src:i.value?.url,controls:""},null,8,J)]))]),_:1},8,["modelValue"])])}}},Y=k._export_sfc(W,[["__scopeId","data-v-ffbf63d2"]]),K={class:"flex items-center flex-gap-row-nowrap-8 mg-b-12"},Q={class:"fz-14 weight-500",style:{color:"#1d2129"}},X={class:"fz-14",style:{color:"#4e5969"}},Z={key:0,class:"mg-t-8 mg-b-8",style:{"line-height":"1.5"}},ee={key:1,class:"mg-t-8 mg-b-8",style:{"line-height":"1.5"}},te={key:2,class:"mg-t-8 mg-b-8",style:{"line-height":"1.5"}},ae={key:3,class:"mg-t-8 mg-b-8",style:{"line-height":"1.5"}},oe={key:4,class:"mg-t-8 mg-b-8",style:{"line-height":"1.5"}},le={key:5,class:"mg-t-8 mg-b-8",style:{"line-height":"1.5"}},ne={key:6,class:"mg-t-8 mg-b-8",style:{"line-height":"1.5"}},re={key:7,class:"mg-t-8 mg-b-8",style:{"line-height":"1.5"}},se={key:8,class:"mg-t-8 mg-b-8",style:{"line-height":"1.5"}},ce={__name:"AppTimeline",props:{appId:{type:String,default:""},square:{type:Boolean,default:!1},vueRouter:{type:Object,default:()=>({})},prefixUrl:{type:String,default:""}},setup(a){const s=a,p=async r=>{s.vueRouter.push({path:"/promptTestDetail",query:{id:r.id,type:r.auditStatus,sourceFlag:"1",operationType:r.operationType,sourceHistory:"1"}})},d=r=>[o.LISTING,o.DELISTING].includes(r),i=N.createRequest(s.prefixUrl),f=()=>i.post({url:`${N.apiPrefix.cslmManagerAgent}/microApp/appOperationList`,data:{appId:s.appId,operationType:[o.LISTING,o.DELISTING,o.ONLINE,o.OFFLINE].join(","),pageNum:N.pageParams.pageNum,pageSize:1e6}}),u=e.ref([]),m=async()=>{await f().then(({data:r})=>{u.value=r.list})};return e.onMounted(()=>{m()}),(r,l)=>(e.openBlock(),e.createBlock(e.unref(c.ElTimeline),{class:"overflow-y-auto h-full pd-l-12"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,t=>(e.openBlock(),e.createBlock(e.unref(c.ElTimelineItem),{key:t.id,timestamp:t.createTime,placement:"top",color:"#165dff"},{default:e.withCtx(()=>[e.createVNode(e.unref(c.ElCard),{shadow:"hover"},{default:e.withCtx(()=>[e.createElementVNode("div",K,[e.createElementVNode("span",Q,e.toDisplayString(e.unref(v)[t.operationType]||"--"),1),d(t.operationType)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.auditStatus===e.unref(y).PENDING?(e.openBlock(),e.createBlock(e.unref(c.ElTag),{key:0,type:"warning",size:"small",class:"weight-500"},{default:e.withCtx(()=>[...l[0]||(l[0]=[e.createTextVNode(" 待审核 ",-1)])]),_:1})):t.auditStatus===e.unref(y).APPROVED?(e.openBlock(),e.createBlock(e.unref(c.ElTag),{key:1,type:"primary",size:"small",class:"weight-500"},{default:e.withCtx(()=>[...l[1]||(l[1]=[e.createTextVNode(" 已通过 ",-1)])]),_:1})):t.auditStatus===e.unref(y).REJECTED?(e.openBlock(),e.createBlock(e.unref(c.ElTag),{key:2,type:"danger",size:"small",class:"weight-500"},{default:e.withCtx(()=>[...l[2]||(l[2]=[e.createTextVNode(" 已驳回 ",-1)])]),_:1})):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]),e.createElementVNode("div",X,[t.operationType===e.unref(o).LISTING||t.operationType===e.unref(o).DELISTING?(e.openBlock(),e.createElementBlock("p",Z," 申请人:"+e.toDisplayString(t.creatorName??"--"),1)):e.createCommentVNode("",!0),t.operationType===e.unref(o).ONLINE||t.operationType===e.unref(o).OFFLINE?(e.openBlock(),e.createElementBlock("p",ee," 操作人:"+e.toDisplayString(t.creatorName??"--"),1)):e.createCommentVNode("",!0),t.operationType===e.unref(o).DELISTING?(e.openBlock(),e.createElementBlock("p",te," 下架原因:"+e.toDisplayString(t.delistingReason??"--"),1)):e.createCommentVNode("",!0),t.operationType===e.unref(o).LISTING?(e.openBlock(),e.createElementBlock("p",ae," 成效数据:"+e.toDisplayString(t.resultData??"--"),1)):e.createCommentVNode("",!0),t.operationType===e.unref(o).LISTING?(e.openBlock(),e.createElementBlock("p",oe," 推荐理由:"+e.toDisplayString(t.recommendReason??"--"),1)):e.createCommentVNode("",!0),t.operationType===e.unref(o).ONLINE||t.operationType===e.unref(o).OFFLINE?(e.openBlock(),e.createElementBlock("p",le," 版本号:"+e.toDisplayString(t.appVersionNum?"V"+t.appVersionNum:"--"),1)):e.createCommentVNode("",!0),t.operationType===e.unref(o).ONLINE?(e.openBlock(),e.createElementBlock("p",ne," 配置摘要:"+e.toDisplayString(t.configSummary??"--"),1)):e.createCommentVNode("",!0),t.operationType===e.unref(o).ONLINE||t.operationType===e.unref(o).OFFLINE?(e.openBlock(),e.createElementBlock("p",re," 版本说明:"+e.toDisplayString(t.publishRemark??"--"),1)):e.createCommentVNode("",!0),t.operationType===e.unref(o).OFFLINE?(e.openBlock(),e.createElementBlock("p",se," 下线原因:"+e.toDisplayString(t.offlineReason??"--"),1)):e.createCommentVNode("",!0),t.operationType===e.unref(o).LISTING&&!a.square?(e.openBlock(),e.createBlock(e.unref(c.ElLink),{key:9,type:"primary",underline:!1,class:"mg-t-8",onClick:n=>p(t)},{default:e.withCtx(()=>[...l[3]||(l[3]=[e.createTextVNode(" 查看上架申请 ",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),t.operationType===e.unref(o).DELISTING&&!a.square?(e.openBlock(),e.createBlock(e.unref(c.ElLink),{key:10,type:"primary",underline:!1,class:"mg-t-8",onClick:n=>p(t)},{default:e.withCtx(()=>[...l[4]||(l[4]=[e.createTextVNode(" 查看下架申请 ",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0)])]),_:2},1024)]),_:2},1032,["timestamp"]))),128))]),_:1}))}},ie=k._export_sfc(ce,[["__scopeId","data-v-83b41e95"]]),ue=Object.assign({name:"AppIntro"},{__name:"layout",props:{introData:{type:Object,default:()=>({})},square:{type:Boolean,default:!1},defaultTab:{type:String,default:"intro",validator:a=>["intro","timeline"].includes(a)},prefixUrl:{type:String,default:""},vueRouter:{type:Object,default:()=>({})},appId:{type:String,default:""}},emits:["tab-change"],setup(a,{emit:s}){const p=a,d=s,i=e.ref(p.defaultTab);e.watch(()=>p.defaultTab,u=>{i.value=u});const f=u=>{d("tab-change",u)};return(u,m)=>(e.openBlock(),e.createBlock(e.unref(c.ElTabs),{class:"overflow-hidden h-full",modelValue:i.value,"onUpdate:modelValue":m[0]||(m[0]=r=>i.value=r),onTabChange:f},{default:e.withCtx(()=>[e.createVNode(e.unref(c.ElTabPane),{label:"应用介绍",name:"intro"},{default:e.withCtx(()=>[e.createVNode(Y,{pics:a.introData?.pics,"app-creator-name":a.introData?.appCreatorName,"app-creator-org":a.introData?.appCreatorOrg,"app-desc":a.introData?.appDesc,"access-system":a.introData?.accessSystem,"business-background":a.introData?.businessBackground,"business-target":a.introData?.businessTarget,"result-data":a.introData?.resultData,attachements:a.introData?.attachements},null,8,["pics","app-creator-name","app-creator-org","app-desc","access-system","business-background","business-target","result-data","attachements"])]),_:1}),e.createVNode(e.unref(c.ElTabPane),{label:"迭代时间轴",name:"timeline"},{default:e.withCtx(()=>[e.createVNode(ie,{prefixUrl:a.prefixUrl,square:a.square,"vue-router":a.vueRouter,"app-id":a.appId},null,8,["prefixUrl","square","vue-router","app-id"])]),_:1})]),_:1},8,["modelValue"]))}}),pe=k._export_sfc(ue,[["__scopeId","data-v-0ffdf013"]]),T=_.withInstall(pe);exports.AppIntro=T;exports.auditStatusMap=y;exports.default=T;exports.mediaTypeMap=g;exports.operationTypeMap=o;exports.operationTypeToTextMap=v;exports.tabTypeMap=x;
|
package/lib/PaginationTable.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./assets/PaginationTable.css');const se=require("./chunks/index.CkihWzK6.js"),t=require("vue"),x=require("element-plus"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./assets/PaginationTable.css');const se=require("./chunks/index.CkihWzK6.js"),t=require("vue"),x=require("element-plus"),A=require("ling-yun-methods"),ie=require("color-star-custom-methods"),ce=require("./chunks/layout.DE2WIKAN.js"),de=require("./chunks/_plugin-vue_export-helper.BHFhmbuH.js"),fe={class:"flex h-full flex-col"},ve={class:"w-full flex justify-between overflow-hidden",style:{height:"auto"}},he={key:0,class:"flex-1 overflow-hidden"},pe={class:"flex",style:{width:"auto",gap:"10px"}},ge={key:1,class:"flex items-center mg-b-18"},me={class:"fz-12 text-74798c"},Se={class:"btn-group mg-l-12"},ye={class:"w-full flex-1 overflow-hidden flex flex-col"},be={class:"flex-1 overflow-hidden TABLE-AREA"},Ce={key:0,class:"flex justify-end mg-t-20",style:{height:"auto"}},xe=Object.assign({name:"PaginationTable"},{__name:"layout",props:{isPagination:{type:Boolean,default:!0},total:{type:Number,default:0},tableData:{type:Array,default:()=>[]},pagination:{type:Object,default:()=>A.paginationConfig},params:{type:Object,default:()=>{}},requestFn:{type:Function},columns:{type:Array,default:()=>[]},hasBatchSelect:{type:Boolean,default:!1},expandColumnKey:{type:String,default:""},columnWidthMap:{type:Object,default:()=>{}},tableDataKey:{type:String,default:"list"},tableDomWidth:{type:Number,default:0},pageMapping:{type:Object,default:()=>({pageSize:"pageSize",pageNum:"pageNum"})},sortState:{type:Object,default:()=>{}}},emits:[A.emitsMap.paginationChange,"updateTableData","handleTableSelect","handleBatchDelete","updateSortState"],setup(v,{expose:Y,emit:G}){const S=G,r=v,T=t.useSlots(),B=t.computed(()=>typeof r.requestFn=="function"),i=t.computed({get:()=>B.value?p.value:r.tableData,set:e=>{B.value?p.value=e:S("updateTableData",e)}}),w=t.ref(0),q=t.computed(()=>B.value?w.value:r.total),y=t.computed({get:()=>r.sortState,set:e=>{S("updateSortState",e)}}),J=({key:e,order:l})=>{y.value[e]=l,i.value=i.value.reverse()},p=t.ref([]),d=t.computed(()=>r.pageMapping.pageNum),k=t.computed(()=>r.pageMapping.pageSize),P={[d.value]:1,[k.value]:20},s=t.ref({...P}),f=t.ref([]),u=t.ref([]),_=t.ref([]),g=t.ref({}),j=t.computed(()=>Q(g.value));function Q(e){const l=new Set;for(const a in e)e.hasOwnProperty(a)&&e[a].forEach(n=>{l.add(n.id)});return l}const I=({value:e,intermediate:l=!1,onChange:a})=>t.h(x.ElCheckbox,{onChange:a,modelValue:e,indeterminate:l}),X=(e,l)=>{if(e.selected=l,l?u.value.some(a=>a.id===e.id)||u.value.push(e):u.value=u.value.filter(({id:a})=>a!==e.id),e.children&&e.children.length>0){const a=n=>{n.forEach(o=>{o.selected=l,l?u.value.some(c=>c.id===o.id)||u.value.push(o):u.value=u.value.filter(({id:c})=>c!==o.id),o.children&&o.children.length>0&&a(o.children)})};a(e.children)}e.parentId&&M(e.parentId),D(),b()},M=e=>{const l=O(i.value,e);if(!l)return;const a=l.children.every(n=>n.selected);a&&!l.selected?(l.selected=!0,u.value.some(n=>n.id===l.id)||u.value.push(l)):!a&&l.selected&&(l.selected=!1,u.value=u.value.filter(({id:n})=>n!==l.id)),l.parentId&&M(l.parentId)},O=(e,l)=>{for(const a of e){if(a.id===l)return a;if(a.children){const n=O(a.children,l);if(n)return n}}return null};function D(){g.value[s.value[d.value]]=K(i.value)}function K(e){let l=[];return e.forEach(a=>{a.selected&&l.push(a),a.children&&a.children.length>0&&(l=l.concat(K(a.children)))}),l}function V(e,l){e.selected=l,e.children&&e.children.length>0&&e.children.forEach(a=>V(a,l))}const Z=e=>{const l=i.value.map(a=>(V(a,e),a));return i.value=[...l],D(),u.value=e?[...Object.values(g.value).flat()]:[],b(),[...u.value]},ee=()=>{f.value.unshift({key:"selection",width:50,cellRenderer:e=>{const{rowData:l}=e,n=l.children&&l.children.length>0?te(l):!1;return t.h(I,{value:l.selected,intermediate:n,onChange:o=>X(l,o)})},headerCellRenderer:()=>{const e=t.unref(i),l=e.every(n=>{const o=n.selected,c=W(n);return o&&c}),a=e.some(n=>n.selected||F(n));return t.h(I,{value:l,intermediate:a&&!l,onChange:Z})}})},te=e=>{if(!e.children||e.children.length===0)return!1;const l=e.children.filter(a=>a.selected).length;return l>0&&l<e.children.length};function W(e){return e.children?.length?!!e.selected&&e.children.every(W):!!e.selected}function F(e){return e.selected?!0:e.children?.some(F)||!1}function L(e){return e.map(l=>{const a={...l,selected:!1};return a.children&&(a.children=L(a.children)),a})}const h=t.ref(!1),le=()=>{h.value=!0,ee()},R=()=>{h.value=!1,u.value=[],i.value=i.value.map(e=>(V(e,!1),e)),g.value={},p.value=L(p.value),f.value.shift(),b()},ae=()=>{S("handleBatchDelete",{selectedRows:Object.values(g.value).flat(),cb:()=>{R(),b()}})},ne=()=>{u.value=[],b()};function b(){const e=Object.values(g.value).flat();S("handleTableSelect",{originNodeData:u.value,allSelectedNodes:e,selectedSubNodes:e.filter(l=>!l.children)})}const C=()=>{B.value?r.requestFn({...r.params,...s.value}).then(e=>{p.value=z(e?.data[r.tableDataKey],s.value[d.value],j.value)||[],w.value=e?.data?.total}):(p.value=z(r.tableData,s.value[d.value],j.value),w.value=r.total)};function z(e,l,a,n=!1){return e.map(o=>{const c=a.has(o.id)||n,m={...o,selected:c};return m.children&&(m.children=z(m.children,l,a,c)),m})}const ue=()=>{s.value[d.value]=P[d.value],C()},oe=()=>{s.value={...P},C()},$=e=>{e==="size"&&(s.value[d.value]=1),C(),S(A.emitsMap.paginationChange,s.value)},N=t.ref(0),E=()=>{let e=N.value;e=h.value?e-50:e;let l=t.unref(f);h.value&&(l=t.unref(f).slice(1));const a=1/ie.calculateScale();l=l.map((n,o)=>(r.columnWidthMap?n.width=e*r.columnWidthMap[o]*a:(n.width=e*(100/l.length/100)*a,n.width<100&&(n.width=100*a)),y.value&&Object.keys(y.value).length&&y.value[n.key]&&(n.sortable=!0),n)),h.value?f.value=[t.unref(f)[0],...l]:f.value=[...l]};t.watch(()=>h.value,()=>{E()}),t.watch(()=>r.tableDomWidth,e=>{e&&(N.value=e,E())});function re(e,l=200){let a;return function(){clearTimeout(a),a=setTimeout(()=>{e.apply(this,arguments)},l)}}const U=re(()=>{N.value=document.querySelector(".TABLE-AREA").getBoundingClientRect().width,E()},200);return t.onMounted(()=>{C(),f.value=r.columns,N.value=document.querySelector(".TABLE-AREA").getBoundingClientRect().width,t.nextTick(()=>{E()}),window.addEventListener("resize",U)}),Y({getTableList:C,search:ue,reset:oe,initBatchSelect:ne,handleCancelSelect:R,handleResize:U}),(e,l)=>(t.openBlock(),t.createElementBlock("div",fe,[t.createElementVNode("div",ve,[t.unref(T)["filter-left"]?(t.openBlock(),t.createElementBlock("div",he,[t.renderSlot(e.$slots,"filter-left",{},void 0,!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",pe,[v.hasBatchSelect&&i.value.length?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[h.value?(t.openBlock(),t.createElementBlock("div",ge,[t.createElementVNode("div",me,"已选"+t.toDisplayString(u.value.length)+"条数据",1),t.createElementVNode("div",{class:"fz-12 text-3b64ff mg-l-4 pointer",onClick:R},"取消选择"),t.renderSlot(e.$slots,"btn-group",{},()=>[t.createElementVNode("div",Se,[t.createVNode(t.unref(x.ElButton),{type:"danger",onClick:ae,disabled:!u.value.length},{default:t.withCtx(()=>[...l[6]||(l[6]=[t.createTextVNode("删除",-1)])]),_:1},8,["disabled"])])],!0)])):(t.openBlock(),t.createBlock(t.unref(x.ElButton),{key:0,type:"default",onClick:le},{default:t.withCtx(()=>[...l[5]||(l[5]=[t.createTextVNode(" 批量选择 ",-1)])]),_:1}))],64)):t.createCommentVNode("",!0),t.unref(T)["filter-right"]?t.renderSlot(e.$slots,"filter-right",{key:1},void 0,!0):t.createCommentVNode("",!0)])]),t.createElementVNode("div",ye,[t.createElementVNode("div",be,[t.createVNode(t.unref(x.ElAutoResizer),null,{default:t.withCtx(({width:a,height:n})=>[t.createVNode(t.unref(x.ElTableV2),{"expanded-row-keys":_.value,"onUpdate:expandedRowKeys":l[0]||(l[0]=o=>_.value=o),"expand-column-key":v.expandColumnKey,columns:f.value,data:i.value,width:a,height:n,fixed:"","sort-state":y.value,onColumnSort:J},t.createSlots({_:2},[t.renderList(t.unref(T),(o,c)=>({name:c,fn:t.withCtx(m=>[t.renderSlot(e.$slots,c,t.normalizeProps(t.guardReactiveProps(m)),void 0,!0)])}))]),1032,["expanded-row-keys","expand-column-key","columns","data","width","height","sort-state"])]),_:3})]),v.isPagination&&q.value>s.value[k.value]?(t.openBlock(),t.createElementBlock("div",Ce,[v.isPagination?(t.openBlock(),t.createBlock(ce._sfc_main,{key:0,"current-page":s.value[d.value],"onUpdate:currentPage":l[1]||(l[1]=a=>s.value[d.value]=a),"page-size":s.value[k.value],"onUpdate:pageSize":l[2]||(l[2]=a=>s.value[k.value]=a),"page-sizes":v.pagination.pageSizes,layout:v.pagination.layout,total:q.value,onSizeChange:l[3]||(l[3]=a=>$("size")),onCurrentChange:l[4]||(l[4]=a=>$("page"))},null,8,["current-page","page-size","page-sizes","layout","total"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])]))}}),Be=de._export_sfc(xe,[["__scopeId","data-v-639533d7"]]),H=se.withInstall(Be);exports.PaginationTable=H;exports.default=H;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.config-item__label[data-v-9093c13d]{width:80px;height:auto}.config-item__label span[data-v-9093c13d]{line-height:20px;color:#5d6c89}.hover-overlay[data-v-ffbf63d2]{background-color:#00000080}[data-v-83b41e95] .el-timeline-item__timestamp{color:#86909c}[data-v-83b41e95] .el-card{background:#f7f8fa}.el-tab-pane[data-v-0ffdf013]{height:100%;overflow:hidden}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[data-v-
|
|
1
|
+
[data-v-639533d7] .el-table-v2__header-cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./AppIntro.js"),n=require("./CustomSelect.js"),i=require("./SearchBar.js"),p=require("./PaginationTable.js"),s=require("./UploadFile.js"),u=require("./FileList.js"),c=require("./BatchImport.js"),T=require("./GradientButton.js"),l=require("./CustomDialog.js"),S=require("./CustomPagination.js"),I=require("./CustomTitle.js"),d=require("./CustomDropdown.js"),m=require("./TreeSelect.js"),B=require("./TreeShowSelect.js"),C=require("./IconEmpty.js"),o=require("./IconRenderer.js"),P=require("./IconSelect.js"),_=require("./PageNotFound.js"),L=require("./UpdatePasswordDialog.js"),t=require("./BuildComponents.js"),D=require("./CustomTab.js"),g=require("element-plus"),a=Object.freeze(Object.defineProperty({__proto__:null,AppIntro:e.AppIntro,BUILD_BIG_TITLES:t.BUILD_BIG_TITLES,BUILD_STEPS:t.BUILD_STEPS,BUILD_TITLES:t.BUILD_TITLES,BUILD_TYPES:t.BUILD_TYPES,BatchImport:c.BatchImport,BuildComponents:t.BuildComponents,CustomDialog:l.CustomDialog,CustomDropdown:d.CustomDropdown,CustomPagination:S.CustomPagination,CustomSelect:n.CustomSelect,CustomTab:D.CustomTab,CustomTitle:I.CustomTitle,FileList:u.FileList,GradientButton:T.GradientButton,IconEmpty:C.IconEmpty,IconRenderer:o.IconRenderer,IconSelect:P.IconSelect,PageNotFound:_.PageNotFound,PaginationTable:p.PaginationTable,STEP_ARROW_IMAGE:t.STEP_ARROW_IMAGE,SearchBar:i.SearchBar,TreeSelect:m.TreeSelect,TreeShowSelect:B.TreeShowSelect,UpdatePasswordDialog:L.UpdatePasswordDialog,UploadFile:s.UploadFile,auditStatusMap:e.auditStatusMap,iconLibraryMap:o.iconLibraryMap,mediaTypeMap:e.mediaTypeMap,operationTypeMap:e.operationTypeMap,operationTypeToTextMap:e.operationTypeToTextMap,tabTypeMap:e.tabTypeMap},Symbol.toStringTag,{value:"Module"}));g.dayjs.en.weekStart=1;const y=M=>{for(const r in a)a[r].install&&M.use(a[r])},E={install:y};exports.AppIntro=e.AppIntro;exports.auditStatusMap=e.auditStatusMap;exports.mediaTypeMap=e.mediaTypeMap;exports.operationTypeMap=e.operationTypeMap;exports.operationTypeToTextMap=e.operationTypeToTextMap;exports.tabTypeMap=e.tabTypeMap;exports.CustomSelect=n.CustomSelect;exports.SearchBar=i.SearchBar;exports.PaginationTable=p.PaginationTable;exports.UploadFile=s.UploadFile;exports.FileList=u.FileList;exports.BatchImport=c.BatchImport;exports.GradientButton=T.GradientButton;exports.CustomDialog=l.CustomDialog;exports.CustomPagination=S.CustomPagination;exports.CustomTitle=I.CustomTitle;exports.CustomDropdown=d.CustomDropdown;exports.TreeSelect=m.TreeSelect;exports.TreeShowSelect=B.TreeShowSelect;exports.IconEmpty=C.IconEmpty;exports.IconRenderer=o.IconRenderer;exports.iconLibraryMap=o.iconLibraryMap;exports.IconSelect=P.IconSelect;exports.PageNotFound=_.PageNotFound;exports.UpdatePasswordDialog=L.UpdatePasswordDialog;exports.BUILD_BIG_TITLES=t.BUILD_BIG_TITLES;exports.BUILD_STEPS=t.BUILD_STEPS;exports.BUILD_TITLES=t.BUILD_TITLES;exports.BUILD_TYPES=t.BUILD_TYPES;exports.BuildComponents=t.BuildComponents;exports.STEP_ARROW_IMAGE=t.STEP_ARROW_IMAGE;exports.CustomTab=D.CustomTab;exports.default=E;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ling-yun-custom-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.42",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"component library",
|
|
6
6
|
"ui framework",
|
|
@@ -140,7 +140,8 @@
|
|
|
140
140
|
"element-plus": "^2.11.8",
|
|
141
141
|
"element-tree-line": "^0.2.1",
|
|
142
142
|
"js-cookie": "^3.0.5",
|
|
143
|
-
"ling-yun-methods": "^0.0.
|
|
143
|
+
"ling-yun-methods": "^0.0.34",
|
|
144
|
+
"color-star-custom-methods": "^0.0.2",
|
|
144
145
|
"lodash.debounce": "^4.0.8",
|
|
145
146
|
"lottie-web": "^5.13.0",
|
|
146
147
|
"moment": "^2.30.1",
|
|
@@ -149,7 +150,8 @@
|
|
|
149
150
|
"unplugin-vue": "^7.0.2",
|
|
150
151
|
"uuid": "^13.0.0",
|
|
151
152
|
"vue-draggable-plus": "^0.6.0",
|
|
152
|
-
"vue-router": "^4.6.3"
|
|
153
|
+
"vue-router": "^4.6.3",
|
|
154
|
+
"color-message-lingyun-vue": "0.0.16"
|
|
153
155
|
},
|
|
154
156
|
"devDependencies": {
|
|
155
157
|
"@commitlint/cli": "^20.1.0",
|