ling-yun-custom-components 0.0.47 → 0.0.49
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 +212 -218
- package/es/BatchImport.mjs +1 -1
- package/es/FileList.mjs +1 -1
- package/es/IconRenderer.mjs +2 -2
- package/es/IconSelect.mjs +1 -1
- package/es/PluginDetail.mjs +233 -76
- package/es/SearchBar.mjs +1 -1
- package/es/UpdatePasswordDialog.mjs +1 -1
- package/es/UploadFile.mjs +1 -1
- package/es/assets/AppIntro.css +1 -1
- package/es/assets/PluginDetail.css +1 -1
- package/es/assets/layout6.css +1 -1
- package/es/chunks/global.0D1G5ksU.js +9139 -0
- package/es/chunks/global.C0RGZP_4.js +16414 -0
- package/es/chunks/layout.B2kLz-lA.js +594 -0
- package/es/chunks/layout.BTdDzac6.js +594 -0
- package/es/chunks/layout.BcE_uXfl.js +149 -0
- package/es/chunks/layout.BjpD-aT_.js +230 -0
- package/es/chunks/layout.Co98b6wr.js +150 -0
- package/es/chunks/layout.zm_iHVUd.js +230 -0
- package/es/index.mjs +42 -40
- package/lib/AppIntro.js +1 -1
- package/lib/BatchImport.js +1 -1
- package/lib/FileList.js +1 -1
- package/lib/IconRenderer.js +1 -1
- package/lib/IconSelect.js +1 -1
- package/lib/PluginDetail.js +1 -1
- package/lib/SearchBar.js +1 -1
- package/lib/UpdatePasswordDialog.js +1 -1
- package/lib/UploadFile.js +1 -1
- package/lib/assets/AppIntro.css +1 -1
- package/lib/assets/PluginDetail.css +1 -1
- package/lib/assets/layout6.css +1 -1
- package/lib/chunks/global.CaQoTxsn.js +1 -0
- package/lib/chunks/global.DIPtiMPx.js +1 -0
- package/lib/chunks/layout.B1FEweQJ.js +1 -0
- package/lib/chunks/layout.BZcONKs3.js +1 -0
- package/lib/chunks/layout.BsTMNqYf.js +1 -0
- package/lib/chunks/layout.DGwMUZ22.js +1 -0
- package/lib/chunks/layout.DymT6hAY.js +1 -0
- package/lib/chunks/layout.VaW9ZCxV.js +1 -0
- package/lib/index.js +1 -1
- package/package.json +5 -5
package/es/AppIntro.mjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { w as
|
|
2
|
-
import { createElementBlock as
|
|
3
|
-
import { ElIcon as
|
|
4
|
-
import { IconLook as
|
|
5
|
-
import { C as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
1
|
+
import { w as V } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
+
import { createElementBlock as i, createCommentVNode as f, unref as o, openBlock as l, createElementVNode as d, ref as g, renderSlot as S, createVNode as c, Fragment as v, renderList as _, withCtx as p, createBlock as N, createTextVNode as L, toDisplayString as h, onMounted as $, computed as G } from "vue";
|
|
3
|
+
import { ElIcon as R, ElForm as M, ElFormItem as A, ElLink as C, ElTimeline as j, ElTimelineItem as P, ElCard as q, ElTag as B, ElSegmented as z } from "element-plus";
|
|
4
|
+
import { IconLook as U } from "color-message-lingyun-vue";
|
|
5
|
+
import { C as J } from "./chunks/layout.DXw3haOP.js";
|
|
6
|
+
import { C as H } from "./chunks/layout.BKJPyxR8.js";
|
|
7
|
+
import { _ as x } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
8
|
+
import { pageParams as K } from "ling-yun-methods";
|
|
9
|
+
import './assets/AppIntro.css';const t = {
|
|
9
10
|
LISTING: 1,
|
|
10
11
|
// 上架申请
|
|
11
12
|
DELISTING: 2,
|
|
@@ -14,42 +15,42 @@ import './assets/AppIntro.css';const a = {
|
|
|
14
15
|
// 上线应用
|
|
15
16
|
OFFLINE: 4
|
|
16
17
|
// 下线应用
|
|
17
|
-
},
|
|
18
|
+
}, k = {
|
|
18
19
|
PENDING: 0,
|
|
19
20
|
// 待审核
|
|
20
21
|
APPROVED: 1,
|
|
21
22
|
// 已通过
|
|
22
23
|
REJECTED: 2
|
|
23
24
|
// 已驳回
|
|
24
|
-
},
|
|
25
|
+
}, b = {
|
|
25
26
|
IMAGE: 1,
|
|
26
27
|
// 图片
|
|
27
28
|
VIDEO: 2
|
|
28
29
|
// 视频
|
|
29
|
-
},
|
|
30
|
+
}, w = {
|
|
30
31
|
INTRO: "intro",
|
|
31
32
|
// 应用介绍
|
|
32
33
|
TIMELINE: "timeline"
|
|
33
34
|
// 迭代时间轴
|
|
34
|
-
},
|
|
35
|
-
[
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[
|
|
39
|
-
},
|
|
40
|
-
[
|
|
35
|
+
}, Q = {
|
|
36
|
+
[t.LISTING]: "上架申请",
|
|
37
|
+
[t.DELISTING]: "下架申请",
|
|
38
|
+
[t.ONLINE]: "上线应用",
|
|
39
|
+
[t.OFFLINE]: "下线应用"
|
|
40
|
+
}, D = {
|
|
41
|
+
[k.PENDING]: {
|
|
41
42
|
type: "warning",
|
|
42
43
|
text: "待审核"
|
|
43
44
|
},
|
|
44
|
-
[
|
|
45
|
+
[k.APPROVED]: {
|
|
45
46
|
type: "primary",
|
|
46
47
|
text: "已通过"
|
|
47
48
|
},
|
|
48
|
-
[
|
|
49
|
+
[k.REJECTED]: {
|
|
49
50
|
type: "danger",
|
|
50
51
|
text: "已驳回"
|
|
51
52
|
}
|
|
52
|
-
},
|
|
53
|
+
}, W = [
|
|
53
54
|
{ title: "申请人:", field: "appCreatorName" },
|
|
54
55
|
{ title: "应用省份:", field: "appCreatorOrg" },
|
|
55
56
|
{ title: "应用说明:", field: "appDesc" },
|
|
@@ -57,67 +58,67 @@ import './assets/AppIntro.css';const a = {
|
|
|
57
58
|
{ title: "业务背景:", field: "businessBackground" },
|
|
58
59
|
{ title: "业务目标:", field: "businessTarget" },
|
|
59
60
|
{ title: "成效数据:", field: "resultData" }
|
|
60
|
-
],
|
|
61
|
+
], X = [
|
|
61
62
|
{
|
|
62
63
|
title: "申请人",
|
|
63
64
|
field: "creatorName",
|
|
64
|
-
showForTypes: [
|
|
65
|
+
showForTypes: [t.LISTING, t.DELISTING]
|
|
65
66
|
},
|
|
66
67
|
{
|
|
67
68
|
title: "操作人",
|
|
68
69
|
field: "creatorName",
|
|
69
|
-
showForTypes: [
|
|
70
|
+
showForTypes: [t.ONLINE, t.OFFLINE]
|
|
70
71
|
},
|
|
71
72
|
{
|
|
72
73
|
title: "下架原因",
|
|
73
74
|
field: "delistingReason",
|
|
74
|
-
showForTypes: [
|
|
75
|
+
showForTypes: [t.DELISTING]
|
|
75
76
|
},
|
|
76
77
|
{
|
|
77
78
|
title: "成效数据",
|
|
78
79
|
field: "resultData",
|
|
79
|
-
showForTypes: [
|
|
80
|
+
showForTypes: [t.LISTING]
|
|
80
81
|
},
|
|
81
82
|
{
|
|
82
83
|
title: "推荐理由",
|
|
83
84
|
field: "recommendReason",
|
|
84
|
-
showForTypes: [
|
|
85
|
+
showForTypes: [t.LISTING]
|
|
85
86
|
},
|
|
86
87
|
{
|
|
87
88
|
title: "版本号",
|
|
88
89
|
field: "appVersionNum",
|
|
89
|
-
showForTypes: [
|
|
90
|
-
formatter: (
|
|
90
|
+
showForTypes: [t.ONLINE, t.OFFLINE],
|
|
91
|
+
formatter: (a) => a ? `V${a}` : "--"
|
|
91
92
|
},
|
|
92
93
|
{
|
|
93
94
|
title: "配置摘要",
|
|
94
95
|
field: "configSummary",
|
|
95
|
-
showForTypes: [
|
|
96
|
+
showForTypes: [t.ONLINE]
|
|
96
97
|
},
|
|
97
98
|
{
|
|
98
99
|
title: "版本说明",
|
|
99
100
|
field: "publishRemark",
|
|
100
|
-
showForTypes: [
|
|
101
|
+
showForTypes: [t.ONLINE, t.OFFLINE]
|
|
101
102
|
},
|
|
102
103
|
{
|
|
103
104
|
title: "下线原因",
|
|
104
105
|
field: "offlineReason",
|
|
105
|
-
showForTypes: [
|
|
106
|
+
showForTypes: [t.OFFLINE]
|
|
106
107
|
}
|
|
107
|
-
],
|
|
108
|
-
[
|
|
108
|
+
], O = {
|
|
109
|
+
[t.LISTING]: {
|
|
109
110
|
text: "查看上架申请"
|
|
110
111
|
},
|
|
111
|
-
[
|
|
112
|
+
[t.DELISTING]: {
|
|
112
113
|
text: "查看下架申请"
|
|
113
114
|
}
|
|
114
|
-
},
|
|
115
|
+
}, Y = {
|
|
115
116
|
key: 0,
|
|
116
117
|
class: "media-video relative w-full"
|
|
117
|
-
},
|
|
118
|
+
}, Z = ["src"], ee = {
|
|
118
119
|
key: 1,
|
|
119
120
|
class: "media-image relative w-full"
|
|
120
|
-
},
|
|
121
|
+
}, te = ["src"], F = {
|
|
121
122
|
__name: "MediaViewer",
|
|
122
123
|
props: {
|
|
123
124
|
media: {
|
|
@@ -125,25 +126,25 @@ import './assets/AppIntro.css';const a = {
|
|
|
125
126
|
default: null
|
|
126
127
|
}
|
|
127
128
|
},
|
|
128
|
-
setup(
|
|
129
|
-
return (u,
|
|
130
|
-
|
|
129
|
+
setup(a) {
|
|
130
|
+
return (u, y) => a.media?.type === o(b).VIDEO ? (l(), i("div", Y, [
|
|
131
|
+
d("video", {
|
|
131
132
|
class: "w-full",
|
|
132
|
-
src:
|
|
133
|
+
src: a.media.url,
|
|
133
134
|
controls: ""
|
|
134
|
-
}, null, 8,
|
|
135
|
-
])) :
|
|
136
|
-
|
|
135
|
+
}, null, 8, Z)
|
|
136
|
+
])) : a.media?.type === o(b).IMAGE ? (l(), i("div", ee, [
|
|
137
|
+
d("img", {
|
|
137
138
|
class: "w-full",
|
|
138
|
-
src:
|
|
139
|
+
src: a.media.url,
|
|
139
140
|
alt: ""
|
|
140
|
-
}, null, 8,
|
|
141
|
-
])) :
|
|
141
|
+
}, null, 8, te)
|
|
142
|
+
])) : f("", !0);
|
|
142
143
|
}
|
|
143
|
-
},
|
|
144
|
+
}, ae = { class: "app-intro-content overflow-hidden h-full" }, le = {
|
|
144
145
|
key: 0,
|
|
145
146
|
class: "media-section w-full pd-b-12"
|
|
146
|
-
},
|
|
147
|
+
}, oe = { class: "media-content relative w-full" }, ne = ["onClick"], se = { class: "info-section" }, ie = { class: "flex items-center" }, re = { class: "fz-14 text-666 pd-r-12" }, de = { class: "preview-content" }, ue = {
|
|
147
148
|
__name: "AppIntroContent",
|
|
148
149
|
props: {
|
|
149
150
|
introData: {
|
|
@@ -151,127 +152,120 @@ import './assets/AppIntro.css';const a = {
|
|
|
151
152
|
default: () => ({})
|
|
152
153
|
}
|
|
153
154
|
},
|
|
154
|
-
setup(
|
|
155
|
-
const u = g(!1),
|
|
156
|
-
|
|
155
|
+
setup(a) {
|
|
156
|
+
const u = g(!1), y = g(null), I = (r) => {
|
|
157
|
+
y.value = r, u.value = !0;
|
|
157
158
|
}, E = () => {
|
|
158
|
-
u.value = !1,
|
|
159
|
-
},
|
|
159
|
+
u.value = !1, y.value = null;
|
|
160
|
+
}, T = (r) => {
|
|
160
161
|
try {
|
|
161
162
|
const e = document.createElement("a");
|
|
162
|
-
e.href =
|
|
163
|
+
e.href = r.attachementUrl, e.download = r.attachementName, e.style.display = "none", e.target = "_blank", document.body.appendChild(e), e.click(), document.body.removeChild(e);
|
|
163
164
|
} catch (e) {
|
|
164
165
|
console.error(e);
|
|
165
166
|
}
|
|
166
167
|
};
|
|
167
|
-
return (
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
168
|
+
return (r, e) => (l(), i("div", ae, [
|
|
169
|
+
a.introData?.pics?.length > 0 ? (l(), i("div", le, [
|
|
170
|
+
d("div", oe, [
|
|
171
|
+
(l(!0), i(v, null, _(a.introData.pics, (n, s) => (l(), i("div", {
|
|
172
|
+
key: s,
|
|
173
|
+
class: "media-item w-full"
|
|
174
|
+
}, [
|
|
175
|
+
c(F, { media: n }, null, 8, ["media"]),
|
|
176
|
+
d("div", {
|
|
177
|
+
class: "hover-overlay absolute top-0 left-0 w-full h-full flex justify-center items-center",
|
|
178
|
+
onClick: (m) => I(n)
|
|
175
179
|
}, [
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
class: "
|
|
179
|
-
onClick: ($) => y(t)
|
|
180
|
-
}, [
|
|
181
|
-
p(n(P), {
|
|
182
|
-
size: 24,
|
|
183
|
-
class: "view-icon"
|
|
184
|
-
}, {
|
|
185
|
-
default: d(() => [
|
|
186
|
-
p(n(K))
|
|
187
|
-
]),
|
|
188
|
-
_: 1
|
|
189
|
-
})
|
|
190
|
-
], 8, ie)
|
|
191
|
-
]))), 128))
|
|
192
|
-
])
|
|
193
|
-
])) : m("", !0),
|
|
194
|
-
C(i.$slots, "default", {}, void 0, !0),
|
|
195
|
-
c("div", re, [
|
|
196
|
-
p(n(q), {
|
|
197
|
-
model: l.introData,
|
|
198
|
-
"label-width": "auto"
|
|
199
|
-
}, {
|
|
200
|
-
default: d(() => [
|
|
201
|
-
["agent", "workflow"].includes(l.introData?.appCategory) ? (o(!0), s(N, { key: 0 }, w(n(Y), (t) => (o(), h(n(k), {
|
|
202
|
-
key: t.field,
|
|
203
|
-
label: t.title,
|
|
204
|
-
class: "mg-b-0"
|
|
205
|
-
}, {
|
|
206
|
-
default: d(() => [
|
|
207
|
-
L(I(l.introData?.[t.field] ?? "--"), 1)
|
|
208
|
-
]),
|
|
209
|
-
_: 2
|
|
210
|
-
}, 1032, ["label"]))), 128)) : m("", !0),
|
|
211
|
-
l.introData?.attachements?.length ? (o(), h(n(k), {
|
|
212
|
-
key: 1,
|
|
213
|
-
label: "附件:"
|
|
180
|
+
c(o(R), {
|
|
181
|
+
size: 24,
|
|
182
|
+
class: "view-icon"
|
|
214
183
|
}, {
|
|
215
|
-
default:
|
|
216
|
-
(o(
|
|
217
|
-
key: r,
|
|
218
|
-
class: "mg-b-8"
|
|
219
|
-
}, [
|
|
220
|
-
M((o(), s("div", de, [
|
|
221
|
-
c("span", ue, I(t.attachementName), 1),
|
|
222
|
-
t.attachementUrl ? (o(), h(n(x), {
|
|
223
|
-
key: 0,
|
|
224
|
-
type: "primary",
|
|
225
|
-
underline: !1,
|
|
226
|
-
onClick: ($) => v(t)
|
|
227
|
-
}, {
|
|
228
|
-
default: d(() => [...e[1] || (e[1] = [
|
|
229
|
-
L(" 点击查看 ", -1)
|
|
230
|
-
])]),
|
|
231
|
-
_: 1
|
|
232
|
-
}, 8, ["onClick"])) : m("", !0)
|
|
233
|
-
])), [
|
|
234
|
-
[T, !t.attachementUrl]
|
|
235
|
-
])
|
|
236
|
-
]))), 128))
|
|
184
|
+
default: p(() => [
|
|
185
|
+
c(o(U))
|
|
237
186
|
]),
|
|
238
187
|
_: 1
|
|
239
|
-
})
|
|
240
|
-
])
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
"
|
|
249
|
-
onClose: E,
|
|
250
|
-
buttons: {
|
|
251
|
-
showCancel: !1,
|
|
252
|
-
showConfirm: !1
|
|
253
|
-
}
|
|
188
|
+
})
|
|
189
|
+
], 8, ne)
|
|
190
|
+
]))), 128))
|
|
191
|
+
])
|
|
192
|
+
])) : f("", !0),
|
|
193
|
+
S(r.$slots, "default", {}, void 0, !0),
|
|
194
|
+
d("div", se, [
|
|
195
|
+
c(o(M), {
|
|
196
|
+
model: a.introData,
|
|
197
|
+
"label-width": "auto"
|
|
254
198
|
}, {
|
|
255
|
-
default:
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
199
|
+
default: p(() => [
|
|
200
|
+
["agent", "workflow"].includes(a.introData?.appCategory) ? (l(!0), i(v, { key: 0 }, _(o(W), (n) => (l(), N(o(A), {
|
|
201
|
+
key: n.field,
|
|
202
|
+
label: n.title,
|
|
203
|
+
class: "mg-b-0"
|
|
204
|
+
}, {
|
|
205
|
+
default: p(() => [
|
|
206
|
+
L(h(a.introData?.[n.field] ?? "--"), 1)
|
|
207
|
+
]),
|
|
208
|
+
_: 2
|
|
209
|
+
}, 1032, ["label"]))), 128)) : f("", !0)
|
|
262
210
|
]),
|
|
263
211
|
_: 1
|
|
264
|
-
}, 8, ["
|
|
265
|
-
|
|
266
|
-
|
|
212
|
+
}, 8, ["model"]),
|
|
213
|
+
a.introData?.attachements?.length ? (l(), i(v, { key: 0 }, [
|
|
214
|
+
c(H, {
|
|
215
|
+
content: "附件:",
|
|
216
|
+
class: "pd-b-12 pd-t-24"
|
|
217
|
+
}),
|
|
218
|
+
(l(!0), i(v, null, _(a.introData.attachements, (n, s) => (l(), i("div", {
|
|
219
|
+
key: s,
|
|
220
|
+
class: "mg-b-8"
|
|
221
|
+
}, [
|
|
222
|
+
d("div", ie, [
|
|
223
|
+
d("span", re, h(n.attachementName), 1),
|
|
224
|
+
n.attachementUrl ? (l(), N(o(C), {
|
|
225
|
+
key: 0,
|
|
226
|
+
type: "primary",
|
|
227
|
+
underline: !1,
|
|
228
|
+
onClick: (m) => T(n)
|
|
229
|
+
}, {
|
|
230
|
+
default: p(() => [...e[1] || (e[1] = [
|
|
231
|
+
L(" 点击查看 ", -1)
|
|
232
|
+
])]),
|
|
233
|
+
_: 1
|
|
234
|
+
}, 8, ["onClick"])) : f("", !0)
|
|
235
|
+
])
|
|
236
|
+
]))), 128))
|
|
237
|
+
], 64)) : f("", !0)
|
|
238
|
+
]),
|
|
239
|
+
c(J, {
|
|
240
|
+
modelValue: u.value,
|
|
241
|
+
"onUpdate:modelValue": e[0] || (e[0] = (n) => u.value = n),
|
|
242
|
+
width: "60%",
|
|
243
|
+
"show-close": !0,
|
|
244
|
+
onClose: E,
|
|
245
|
+
buttons: {
|
|
246
|
+
showCancel: !1,
|
|
247
|
+
showConfirm: !1
|
|
248
|
+
}
|
|
249
|
+
}, {
|
|
250
|
+
default: p(() => [
|
|
251
|
+
d("div", de, [
|
|
252
|
+
c(F, {
|
|
253
|
+
media: y.value,
|
|
254
|
+
class: "preview-media"
|
|
255
|
+
}, null, 8, ["media"])
|
|
256
|
+
])
|
|
257
|
+
]),
|
|
258
|
+
_: 1
|
|
259
|
+
}, 8, ["modelValue"])
|
|
260
|
+
]));
|
|
267
261
|
}
|
|
268
|
-
},
|
|
262
|
+
}, ce = /* @__PURE__ */ x(ue, [["__scopeId", "data-v-f5af90d9"]]), pe = { class: "flex items-center flex-gap-row-nowrap-8 mg-b-12" }, me = {
|
|
269
263
|
class: "fz-14 weight-500",
|
|
270
264
|
style: { color: "#1d2129" }
|
|
271
|
-
},
|
|
265
|
+
}, fe = {
|
|
272
266
|
class: "fz-14",
|
|
273
267
|
style: { color: "#4e5969" }
|
|
274
|
-
},
|
|
268
|
+
}, ye = {
|
|
275
269
|
__name: "AppTimeline",
|
|
276
270
|
props: {
|
|
277
271
|
appId: {
|
|
@@ -292,8 +286,8 @@ import './assets/AppIntro.css';const a = {
|
|
|
292
286
|
}
|
|
293
287
|
}
|
|
294
288
|
},
|
|
295
|
-
setup(
|
|
296
|
-
const u =
|
|
289
|
+
setup(a) {
|
|
290
|
+
const u = a, y = async (e) => {
|
|
297
291
|
u.vueRouter.push({
|
|
298
292
|
path: "/promptTestDetail",
|
|
299
293
|
query: {
|
|
@@ -304,66 +298,66 @@ import './assets/AppIntro.css';const a = {
|
|
|
304
298
|
sourceHistory: "1"
|
|
305
299
|
}
|
|
306
300
|
});
|
|
307
|
-
},
|
|
301
|
+
}, I = (e) => [t.LISTING, t.DELISTING].includes(e), E = (e) => X.filter((n) => n.showForTypes.includes(e)), T = g([]), r = async () => {
|
|
308
302
|
await u.appOperationList({
|
|
309
303
|
appId: u.appId,
|
|
310
304
|
operationType: [
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
305
|
+
t.LISTING,
|
|
306
|
+
t.DELISTING,
|
|
307
|
+
t.ONLINE,
|
|
308
|
+
t.OFFLINE
|
|
315
309
|
].join(","),
|
|
316
|
-
pageNum:
|
|
310
|
+
pageNum: K.pageNum,
|
|
317
311
|
pageSize: 1e6
|
|
318
312
|
}).then(({ data: e }) => {
|
|
319
|
-
|
|
313
|
+
T.value = e.list;
|
|
320
314
|
});
|
|
321
315
|
};
|
|
322
|
-
return
|
|
323
|
-
|
|
324
|
-
}), (e,
|
|
325
|
-
default:
|
|
326
|
-
(
|
|
327
|
-
key:
|
|
328
|
-
timestamp:
|
|
316
|
+
return $(() => {
|
|
317
|
+
r();
|
|
318
|
+
}), (e, n) => (l(), N(o(j), { class: "overflow-y-auto h-full pd-l-4" }, {
|
|
319
|
+
default: p(() => [
|
|
320
|
+
(l(!0), i(v, null, _(T.value, (s) => (l(), N(o(P), {
|
|
321
|
+
key: s.id,
|
|
322
|
+
timestamp: s.createTime,
|
|
329
323
|
placement: "top",
|
|
330
324
|
color: "var(--primary-color-1)"
|
|
331
325
|
}, {
|
|
332
|
-
default:
|
|
333
|
-
|
|
334
|
-
default:
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
326
|
+
default: p(() => [
|
|
327
|
+
c(o(q), { shadow: "hover" }, {
|
|
328
|
+
default: p(() => [
|
|
329
|
+
d("div", pe, [
|
|
330
|
+
d("span", me, h(o(Q)[s.operationType] || "--"), 1),
|
|
331
|
+
I(s.operationType) ? (l(), i(v, { key: 0 }, [
|
|
332
|
+
o(D)[s.auditStatus] ? (l(), N(o(B), {
|
|
339
333
|
key: 0,
|
|
340
|
-
type:
|
|
334
|
+
type: o(D)[s.auditStatus].type
|
|
341
335
|
}, {
|
|
342
|
-
default:
|
|
343
|
-
L(
|
|
336
|
+
default: p(() => [
|
|
337
|
+
L(h(o(D)[s.auditStatus].text), 1)
|
|
344
338
|
]),
|
|
345
339
|
_: 2
|
|
346
|
-
}, 1032, ["type"])) :
|
|
347
|
-
], 64)) :
|
|
340
|
+
}, 1032, ["type"])) : f("", !0)
|
|
341
|
+
], 64)) : f("", !0)
|
|
348
342
|
]),
|
|
349
|
-
|
|
350
|
-
(
|
|
351
|
-
key:
|
|
343
|
+
d("div", fe, [
|
|
344
|
+
(l(!0), i(v, null, _(E(s.operationType), (m) => (l(), i("div", {
|
|
345
|
+
key: m.field + m.title,
|
|
352
346
|
class: "mg-t-8 mg-b-8",
|
|
353
347
|
style: { "line-height": "1.5" }
|
|
354
|
-
},
|
|
355
|
-
|
|
348
|
+
}, h(m.title) + ":" + h(m.formatter ? m.formatter(s[m.field]) : s[m.field] ?? "--"), 1))), 128)),
|
|
349
|
+
o(O)[s.operationType] && !a.square ? (l(), N(o(C), {
|
|
356
350
|
key: 0,
|
|
357
351
|
type: "primary",
|
|
358
352
|
underline: !1,
|
|
359
353
|
class: "mg-t-8",
|
|
360
|
-
onClick: (
|
|
354
|
+
onClick: (m) => y(s)
|
|
361
355
|
}, {
|
|
362
|
-
default:
|
|
363
|
-
L(
|
|
356
|
+
default: p(() => [
|
|
357
|
+
L(h(o(O)[s.operationType].text), 1)
|
|
364
358
|
]),
|
|
365
359
|
_: 2
|
|
366
|
-
}, 1032, ["onClick"])) :
|
|
360
|
+
}, 1032, ["onClick"])) : f("", !0)
|
|
367
361
|
])
|
|
368
362
|
]),
|
|
369
363
|
_: 2
|
|
@@ -375,13 +369,13 @@ import './assets/AppIntro.css';const a = {
|
|
|
375
369
|
_: 1
|
|
376
370
|
}));
|
|
377
371
|
}
|
|
378
|
-
},
|
|
372
|
+
}, Ie = /* @__PURE__ */ x(ye, [["__scopeId", "data-v-3a2170d7"]]), he = { class: "h-full overflow-hidden flex flex-col pd-t-12" }, ve = { class: "pd-b-12" }, Te = {
|
|
379
373
|
key: 0,
|
|
380
374
|
class: "flex-1 overflow-hidden"
|
|
381
|
-
},
|
|
375
|
+
}, Ne = {
|
|
382
376
|
key: 1,
|
|
383
377
|
class: "flex-1 overflow-hidden"
|
|
384
|
-
},
|
|
378
|
+
}, Ee = /* @__PURE__ */ Object.assign({
|
|
385
379
|
name: "AppIntro"
|
|
386
380
|
}, {
|
|
387
381
|
__name: "layout",
|
|
@@ -410,41 +404,41 @@ import './assets/AppIntro.css';const a = {
|
|
|
410
404
|
}
|
|
411
405
|
},
|
|
412
406
|
emits: ["tab-change"],
|
|
413
|
-
setup(
|
|
414
|
-
const
|
|
415
|
-
{ label: "应用介绍", value:
|
|
416
|
-
{ label: "迭代时间轴", value:
|
|
417
|
-
]),
|
|
418
|
-
|
|
407
|
+
setup(a, { emit: u }) {
|
|
408
|
+
const y = u, I = g(w.INTRO), E = G(() => [
|
|
409
|
+
{ label: "应用介绍", value: w.INTRO },
|
|
410
|
+
{ label: "迭代时间轴", value: w.TIMELINE }
|
|
411
|
+
]), T = (r) => {
|
|
412
|
+
y("tab-change", r);
|
|
419
413
|
};
|
|
420
|
-
return (
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
modelValue:
|
|
424
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
414
|
+
return (r, e) => (l(), i("div", he, [
|
|
415
|
+
d("div", ve, [
|
|
416
|
+
c(o(z), {
|
|
417
|
+
modelValue: I.value,
|
|
418
|
+
"onUpdate:modelValue": e[0] || (e[0] = (n) => I.value = n),
|
|
425
419
|
options: E.value,
|
|
426
|
-
onChange:
|
|
420
|
+
onChange: T
|
|
427
421
|
}, null, 8, ["modelValue", "options"])
|
|
428
422
|
]),
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
default:
|
|
432
|
-
|
|
423
|
+
I.value === o(w).INTRO ? (l(), i("div", Te, [
|
|
424
|
+
c(ce, { "intro-data": a.introData }, {
|
|
425
|
+
default: p(() => [
|
|
426
|
+
S(r.$slots, "plugin-detail")
|
|
433
427
|
]),
|
|
434
428
|
_: 3
|
|
435
429
|
}, 8, ["intro-data"])
|
|
436
|
-
])) :
|
|
437
|
-
|
|
438
|
-
"app-operation-list":
|
|
439
|
-
square:
|
|
440
|
-
"vue-router":
|
|
441
|
-
"app-id":
|
|
430
|
+
])) : I.value === o(w).TIMELINE ? (l(), i("div", Ne, [
|
|
431
|
+
c(Ie, {
|
|
432
|
+
"app-operation-list": a.appOperationList,
|
|
433
|
+
square: a.square,
|
|
434
|
+
"vue-router": a.vueRouter,
|
|
435
|
+
"app-id": a.appId
|
|
442
436
|
}, null, 8, ["app-operation-list", "square", "vue-router", "app-id"])
|
|
443
|
-
])) :
|
|
437
|
+
])) : f("", !0)
|
|
444
438
|
]));
|
|
445
439
|
}
|
|
446
|
-
}),
|
|
440
|
+
}), Fe = V(Ee);
|
|
447
441
|
export {
|
|
448
|
-
|
|
449
|
-
|
|
442
|
+
Fe as AppIntro,
|
|
443
|
+
Fe as default
|
|
450
444
|
};
|
package/es/BatchImport.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { w as z } from "./chunks/index.bCzIhWFw.js";
|
|
|
2
2
|
import { createElementBlock as x, openBlock as s, Fragment as q, createElementVNode as r, toDisplayString as w, ref as C, computed as g, createBlock as V, unref as u, withCtx as i, createCommentVNode as c, mergeProps as L, createVNode as f, createTextVNode as D } from "vue";
|
|
3
3
|
import { ElDialog as P, ElIcon as Q, ElButton as R } from "element-plus";
|
|
4
4
|
import { emitsMap as B, uploadFileType as h, codeMap as _, messageSuccess as A } from "ling-yun-methods";
|
|
5
|
-
import G from "./chunks/layout.
|
|
5
|
+
import G from "./chunks/layout.BjpD-aT_.js";
|
|
6
6
|
import { IconQuery as H } from "color-message-lingyun-vue";
|
|
7
7
|
const J = {
|
|
8
8
|
__name: "ImportResultContent",
|
package/es/FileList.mjs
CHANGED
package/es/IconRenderer.mjs
CHANGED
|
@@ -9,10 +9,10 @@ const a = {
|
|
|
9
9
|
try {
|
|
10
10
|
switch (e) {
|
|
11
11
|
case a.lingyun:
|
|
12
|
-
const { icons: o } = await import("./chunks/global.
|
|
12
|
+
const { icons: o } = await import("./chunks/global.0D1G5ksU.js");
|
|
13
13
|
return o[n] || null;
|
|
14
14
|
case a.aibox:
|
|
15
|
-
const { icons: t } = await import("./chunks/global.
|
|
15
|
+
const { icons: t } = await import("./chunks/global.C0RGZP_4.js");
|
|
16
16
|
return t[n] || null;
|
|
17
17
|
}
|
|
18
18
|
} catch (o) {
|