ling-yun-custom-components 0.0.71 → 0.0.73
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 +179 -207
- package/es/BuildComponents.mjs +1 -1
- package/es/CustomDialog.mjs +1 -1
- package/es/CustomDropdown.mjs +15 -15
- package/es/CustomTab.mjs +7 -7
- package/es/GradientButton.mjs +10 -10
- package/es/PaginationTable.mjs +1 -1
- package/es/PluginDetail.mjs +1 -1
- package/es/TreeSelect.mjs +406 -0
- package/es/TreeShowSelect.mjs +82 -0
- package/es/UpdatePasswordDialog.mjs +6 -6
- package/es/assets/AppIntro.css +1 -1
- package/es/assets/BuildComponents.css +1 -1
- package/es/assets/CustomDropdown.css +1 -1
- package/es/assets/CustomTab.css +1 -1
- package/es/assets/GradientButton.css +1 -1
- package/es/assets/PaginationTable.css +1 -1
- package/es/assets/PluginDetail.css +1 -1
- package/es/assets/TreeSelect.css +1 -0
- package/es/assets/TreeShowSelect.css +1 -0
- package/es/assets/UpdatePasswordDialog.css +1 -1
- package/es/assets/layout.css +1 -1
- package/es/chunks/layout.Bhd1JJol.js +99 -0
- package/es/chunks/{layout.Co1Edcgs.js → layout.BlsXj4-t.js} +1 -1
- package/lib/AppIntro.js +1 -1
- package/lib/BuildComponents.js +1 -1
- package/lib/CustomDialog.js +1 -1
- package/lib/CustomDropdown.js +1 -1
- package/lib/CustomTab.js +1 -1
- package/lib/GradientButton.js +1 -1
- package/lib/PaginationTable.js +1 -1
- package/lib/PluginDetail.js +1 -1
- package/lib/TreeSelect.js +1 -0
- package/lib/TreeShowSelect.js +1 -0
- package/lib/UpdatePasswordDialog.js +1 -1
- package/lib/assets/AppIntro.css +1 -1
- package/lib/assets/BuildComponents.css +1 -1
- package/lib/assets/CustomDropdown.css +1 -1
- package/lib/assets/CustomTab.css +1 -1
- package/lib/assets/GradientButton.css +1 -1
- package/lib/assets/PaginationTable.css +1 -1
- package/lib/assets/PluginDetail.css +1 -1
- package/lib/assets/TreeSelect.css +1 -0
- package/lib/assets/TreeShowSelect.css +1 -0
- package/lib/assets/UpdatePasswordDialog.css +1 -1
- package/lib/assets/layout.css +1 -1
- package/lib/chunks/{layout.Bh7LH0QH.js → layout._ESCIMbo.js} +1 -1
- package/lib/chunks/layout.pjXXSBch.js +1 -0
- package/package.json +4 -4
package/es/AppIntro.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { w as
|
|
2
|
-
import { createElementBlock as l, createCommentVNode as
|
|
3
|
-
import { ElIcon as
|
|
1
|
+
import { w as $ } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
+
import { createElementBlock as l, createCommentVNode as f, unref as s, openBlock as a, createElementVNode as i, ref as L, renderSlot as G, createVNode as r, Fragment as u, renderList as N, withCtx as m, createBlock as w, createTextVNode as k, toDisplayString as y, onMounted as R, computed as M } from "vue";
|
|
3
|
+
import { ElIcon as A, ElForm as z, ElFormItem as P, ElTimeline as j, ElTimelineItem as q, ElCard as B, ElTag as J, ElLink as U, ElSegmented as H } from "element-plus";
|
|
4
4
|
import { IconLook as K } from "color-message-lingyun-vue";
|
|
5
|
-
import { C as Q } from "./chunks/layout.
|
|
5
|
+
import { C as Q } from "./chunks/layout.BlsXj4-t.js";
|
|
6
6
|
import { _ as O } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
7
7
|
import { CustomTitle as W } from "color-star-custom-components";
|
|
8
|
-
import { pageParams as X, emitsMap as
|
|
9
|
-
import './assets/AppIntro.css';const
|
|
8
|
+
import { pageParams as X, emitsMap as b } from "color-star-custom-methods";
|
|
9
|
+
import './assets/AppIntro.css';const o = {
|
|
10
10
|
LISTING: 1,
|
|
11
11
|
// 上架申请
|
|
12
12
|
DELISTING: 2,
|
|
@@ -15,38 +15,38 @@ import './assets/AppIntro.css';const n = {
|
|
|
15
15
|
// 上线应用
|
|
16
16
|
OFFLINE: 4
|
|
17
17
|
// 下线应用
|
|
18
|
-
},
|
|
18
|
+
}, _ = {
|
|
19
19
|
PENDING: 0,
|
|
20
20
|
// 待审核
|
|
21
21
|
APPROVED: 1,
|
|
22
22
|
// 已通过
|
|
23
23
|
REJECTED: 2
|
|
24
24
|
// 已驳回
|
|
25
|
-
},
|
|
25
|
+
}, x = {
|
|
26
26
|
IMAGE: 1,
|
|
27
27
|
// 图片
|
|
28
28
|
VIDEO: 2
|
|
29
29
|
// 视频
|
|
30
|
-
},
|
|
30
|
+
}, E = {
|
|
31
31
|
INTRO: "intro",
|
|
32
32
|
// 应用介绍
|
|
33
33
|
TIMELINE: "timeline"
|
|
34
34
|
// 迭代时间轴
|
|
35
35
|
}, Y = {
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[
|
|
39
|
-
[
|
|
40
|
-
},
|
|
41
|
-
[
|
|
36
|
+
[o.LISTING]: "上架申请",
|
|
37
|
+
[o.DELISTING]: "下架申请",
|
|
38
|
+
[o.ONLINE]: "上线应用",
|
|
39
|
+
[o.OFFLINE]: "下线应用"
|
|
40
|
+
}, D = {
|
|
41
|
+
[_.PENDING]: {
|
|
42
42
|
type: "warning",
|
|
43
43
|
text: "待审核"
|
|
44
44
|
},
|
|
45
|
-
[
|
|
45
|
+
[_.APPROVED]: {
|
|
46
46
|
type: "primary",
|
|
47
47
|
text: "已通过"
|
|
48
48
|
},
|
|
49
|
-
[
|
|
49
|
+
[_.REJECTED]: {
|
|
50
50
|
type: "danger",
|
|
51
51
|
text: "已驳回"
|
|
52
52
|
}
|
|
@@ -62,54 +62,54 @@ import './assets/AppIntro.css';const n = {
|
|
|
62
62
|
{
|
|
63
63
|
title: "申请人",
|
|
64
64
|
field: "creatorName",
|
|
65
|
-
showForTypes: [
|
|
65
|
+
showForTypes: [o.LISTING, o.DELISTING]
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
title: "操作人",
|
|
69
69
|
field: "creatorName",
|
|
70
|
-
showForTypes: [
|
|
70
|
+
showForTypes: [o.ONLINE, o.OFFLINE]
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
title: "下架原因",
|
|
74
74
|
field: "delistingReason",
|
|
75
|
-
showForTypes: [
|
|
75
|
+
showForTypes: [o.DELISTING]
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
title: "成效数据",
|
|
79
79
|
field: "resultData",
|
|
80
|
-
showForTypes: [
|
|
80
|
+
showForTypes: [o.LISTING]
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
title: "推荐理由",
|
|
84
84
|
field: "recommendReason",
|
|
85
|
-
showForTypes: [
|
|
85
|
+
showForTypes: [o.LISTING]
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
title: "版本号",
|
|
89
89
|
field: "appVersionNum",
|
|
90
|
-
showForTypes: [
|
|
91
|
-
formatter: (
|
|
90
|
+
showForTypes: [o.ONLINE, o.OFFLINE],
|
|
91
|
+
formatter: (e) => e ? `V${e}` : "--"
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
title: "配置摘要",
|
|
95
95
|
field: "configSummary",
|
|
96
|
-
showForTypes: [
|
|
96
|
+
showForTypes: [o.ONLINE]
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
99
|
title: "版本说明",
|
|
100
100
|
field: "publishRemark",
|
|
101
|
-
showForTypes: [
|
|
101
|
+
showForTypes: [o.ONLINE, o.OFFLINE]
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
title: "下线原因",
|
|
105
105
|
field: "offlineReason",
|
|
106
|
-
showForTypes: [
|
|
106
|
+
showForTypes: [o.OFFLINE]
|
|
107
107
|
}
|
|
108
108
|
], S = {
|
|
109
|
-
[
|
|
109
|
+
[o.LISTING]: {
|
|
110
110
|
text: "查看上架申请"
|
|
111
111
|
},
|
|
112
|
-
[
|
|
112
|
+
[o.DELISTING]: {
|
|
113
113
|
text: "查看下架申请"
|
|
114
114
|
}
|
|
115
115
|
}, ee = {
|
|
@@ -126,25 +126,26 @@ import './assets/AppIntro.css';const n = {
|
|
|
126
126
|
default: null
|
|
127
127
|
}
|
|
128
128
|
},
|
|
129
|
-
setup(
|
|
130
|
-
return (
|
|
131
|
-
|
|
129
|
+
setup(e) {
|
|
130
|
+
return (d, h) => e.media?.type === s(x).VIDEO ? (a(), l("div", ee, [
|
|
131
|
+
i("video", {
|
|
132
132
|
class: "w-full",
|
|
133
|
-
src:
|
|
134
|
-
controls: ""
|
|
133
|
+
src: e.media.url,
|
|
134
|
+
controls: "",
|
|
135
|
+
controlsList: "nodownload"
|
|
135
136
|
}, null, 8, te)
|
|
136
|
-
])) :
|
|
137
|
-
|
|
137
|
+
])) : e.media?.type === s(x).IMAGE ? (a(), l("div", ae, [
|
|
138
|
+
i("img", {
|
|
138
139
|
class: "w-full h-full",
|
|
139
|
-
src:
|
|
140
|
+
src: e.media.url,
|
|
140
141
|
alt: ""
|
|
141
142
|
}, null, 8, le)
|
|
142
|
-
])) :
|
|
143
|
+
])) : f("", !0);
|
|
143
144
|
}
|
|
144
|
-
},
|
|
145
|
+
}, C = /* @__PURE__ */ O(oe, [["__scopeId", "data-v-8a8f5de1"]]), se = { class: "app-intro-content overflow-hidden h-full" }, ie = {
|
|
145
146
|
key: 0,
|
|
146
147
|
class: "media-section w-full pd-b-12"
|
|
147
|
-
},
|
|
148
|
+
}, ne = { class: "media-content relative w-full" }, re = ["onClick"], de = {
|
|
148
149
|
key: 1,
|
|
149
150
|
class: "info-section"
|
|
150
151
|
}, ue = { class: "flex items-center" }, ce = { class: "fz-14 text-666 pd-r-12" }, pe = {
|
|
@@ -154,7 +155,7 @@ import './assets/AppIntro.css';const n = {
|
|
|
154
155
|
}, fe = { class: "title-desc mg-r-2 fz-14" }, me = { class: "value-desc fz-14" }, ye = {
|
|
155
156
|
key: 0,
|
|
156
157
|
class: "flex"
|
|
157
|
-
},
|
|
158
|
+
}, Ie = { class: "flex items-center" }, he = { class: "fz-14 text-666 pd-r-12" }, ve = { class: "preview-content" }, Te = {
|
|
158
159
|
__name: "AppIntroContent",
|
|
159
160
|
props: {
|
|
160
161
|
introData: {
|
|
@@ -167,138 +168,109 @@ import './assets/AppIntro.css';const n = {
|
|
|
167
168
|
default: "normal"
|
|
168
169
|
}
|
|
169
170
|
},
|
|
170
|
-
setup(
|
|
171
|
-
const
|
|
172
|
-
I.value =
|
|
173
|
-
},
|
|
174
|
-
|
|
175
|
-
}, T = (d) => {
|
|
176
|
-
try {
|
|
177
|
-
const e = document.createElement("a");
|
|
178
|
-
e.href = d.attachementUrl, e.download = d.attachementName, e.style.display = "none", e.target = "_blank", document.body.appendChild(e), e.click(), document.body.removeChild(e);
|
|
179
|
-
} catch (e) {
|
|
180
|
-
console.error(e);
|
|
181
|
-
}
|
|
171
|
+
setup(e) {
|
|
172
|
+
const d = L(!1), h = L(null), v = (I) => {
|
|
173
|
+
console.log("🚀 ~ handlePreview ~ item:", I), h.value = I, d.value = !0;
|
|
174
|
+
}, g = () => {
|
|
175
|
+
d.value = !1, h.value = null;
|
|
182
176
|
};
|
|
183
|
-
return (
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
(
|
|
187
|
-
key:
|
|
188
|
-
class: "media-item w-full"
|
|
177
|
+
return (I, c) => (a(), l("div", se, [
|
|
178
|
+
e.introData?.pics?.length > 0 ? (a(), l("div", ie, [
|
|
179
|
+
i("div", ne, [
|
|
180
|
+
(a(!0), l(u, null, N(e.introData.pics, (t, p) => (a(), l("div", {
|
|
181
|
+
key: p,
|
|
182
|
+
class: "media-item w-full relative"
|
|
189
183
|
}, [
|
|
190
|
-
|
|
191
|
-
|
|
184
|
+
r(C, { media: t }, null, 8, ["media"]),
|
|
185
|
+
i("div", {
|
|
192
186
|
class: "hover-overlay absolute top-0 left-0 flex justify-center items-center",
|
|
193
187
|
style: { width: "262px", height: "148px" },
|
|
194
|
-
onClick: (
|
|
188
|
+
onClick: (n) => v(t)
|
|
195
189
|
}, [
|
|
196
|
-
|
|
190
|
+
r(s(A), {
|
|
197
191
|
size: 24,
|
|
198
192
|
class: "view-icon"
|
|
199
193
|
}, {
|
|
200
|
-
default:
|
|
201
|
-
|
|
194
|
+
default: m(() => [
|
|
195
|
+
r(s(K))
|
|
202
196
|
]),
|
|
203
197
|
_: 1
|
|
204
198
|
})
|
|
205
199
|
], 8, re)
|
|
206
200
|
]))), 128))
|
|
207
201
|
])
|
|
208
|
-
])) :
|
|
209
|
-
G(
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
model:
|
|
202
|
+
])) : f("", !0),
|
|
203
|
+
G(I.$slots, "default", {}, void 0, !0),
|
|
204
|
+
e.layoutType === "normal" ? (a(), l("div", de, [
|
|
205
|
+
r(s(z), {
|
|
206
|
+
model: e.introData,
|
|
213
207
|
"label-width": "auto"
|
|
214
208
|
}, {
|
|
215
|
-
default:
|
|
216
|
-
["agent", "workflow"].includes(
|
|
217
|
-
key:
|
|
218
|
-
label:
|
|
209
|
+
default: m(() => [
|
|
210
|
+
["agent", "workflow"].includes(e.introData?.appCategory) ? (a(!0), l(u, { key: 0 }, N(s(F), (t) => (a(), w(s(P), {
|
|
211
|
+
key: t.field,
|
|
212
|
+
label: t.title,
|
|
219
213
|
class: "mg-b-0"
|
|
220
214
|
}, {
|
|
221
|
-
default:
|
|
222
|
-
|
|
215
|
+
default: m(() => [
|
|
216
|
+
k(y(e.introData?.[t.field] ?? "--"), 1)
|
|
223
217
|
]),
|
|
224
218
|
_: 2
|
|
225
|
-
}, 1032, ["label"]))), 128)) :
|
|
219
|
+
}, 1032, ["label"]))), 128)) : f("", !0)
|
|
226
220
|
]),
|
|
227
221
|
_: 1
|
|
228
222
|
}, 8, ["model"]),
|
|
229
|
-
|
|
230
|
-
|
|
223
|
+
e.introData?.attachements?.length ? (a(), l(u, { key: 0 }, [
|
|
224
|
+
r(s(W), {
|
|
231
225
|
content: "附件:",
|
|
232
226
|
class: "pd-b-12 pd-t-24"
|
|
233
227
|
}),
|
|
234
|
-
(
|
|
235
|
-
key:
|
|
228
|
+
(a(!0), l(u, null, N(e.introData.attachements, (t, p) => (a(), l("div", {
|
|
229
|
+
key: p,
|
|
236
230
|
class: "mg-b-8"
|
|
237
231
|
}, [
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
o.attachementUrl ? (t(), g(s(b), {
|
|
241
|
-
key: 0,
|
|
242
|
-
type: "primary",
|
|
243
|
-
underline: !1,
|
|
244
|
-
onClick: (m) => T(o)
|
|
245
|
-
}, {
|
|
246
|
-
default: p(() => [...e[1] || (e[1] = [
|
|
247
|
-
w(" 点击查看 ", -1)
|
|
248
|
-
])]),
|
|
249
|
-
_: 1
|
|
250
|
-
}, 8, ["onClick"])) : u("", !0)
|
|
232
|
+
i("div", ue, [
|
|
233
|
+
i("span", ce, y(t.attachementName), 1)
|
|
251
234
|
])
|
|
252
235
|
]))), 128))
|
|
253
|
-
], 64)) :
|
|
254
|
-
])) :
|
|
255
|
-
(
|
|
256
|
-
key:
|
|
236
|
+
], 64)) : f("", !0)
|
|
237
|
+
])) : e.layoutType === "list" ? (a(), l("div", pe, [
|
|
238
|
+
(a(!0), l(u, null, N(s(F), (t) => (a(), l("div", {
|
|
239
|
+
key: t.field,
|
|
257
240
|
class: "flex"
|
|
258
241
|
}, [
|
|
259
|
-
|
|
260
|
-
|
|
242
|
+
i("div", fe, y(t.title), 1),
|
|
243
|
+
i("div", me, y(e.introData?.[t.field] ?? "--"), 1)
|
|
261
244
|
]))), 128)),
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
(
|
|
266
|
-
key:
|
|
245
|
+
e.introData?.attachements?.length ? (a(), l("div", ye, [
|
|
246
|
+
c[1] || (c[1] = i("div", { class: "title-desc mg-r-2 fz-14" }, "附件:", -1)),
|
|
247
|
+
i("div", null, [
|
|
248
|
+
(a(!0), l(u, null, N(e.introData.attachements, (t, p) => (a(), l("div", {
|
|
249
|
+
key: p,
|
|
267
250
|
class: "mg-b-8"
|
|
268
251
|
}, [
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
o.attachementUrl ? (t(), g(s(b), {
|
|
272
|
-
key: 0,
|
|
273
|
-
type: "primary",
|
|
274
|
-
underline: !1,
|
|
275
|
-
onClick: (m) => T(o)
|
|
276
|
-
}, {
|
|
277
|
-
default: p(() => [...e[2] || (e[2] = [
|
|
278
|
-
w(" 点击查看 ", -1)
|
|
279
|
-
])]),
|
|
280
|
-
_: 1
|
|
281
|
-
}, 8, ["onClick"])) : u("", !0)
|
|
252
|
+
i("div", Ie, [
|
|
253
|
+
i("span", he, y(t.attachementName), 1)
|
|
282
254
|
])
|
|
283
255
|
]))), 128))
|
|
284
256
|
])
|
|
285
|
-
])) :
|
|
286
|
-
])) :
|
|
287
|
-
|
|
288
|
-
modelValue:
|
|
289
|
-
"onUpdate:modelValue":
|
|
257
|
+
])) : f("", !0)
|
|
258
|
+
])) : f("", !0),
|
|
259
|
+
r(Q, {
|
|
260
|
+
modelValue: d.value,
|
|
261
|
+
"onUpdate:modelValue": c[0] || (c[0] = (t) => d.value = t),
|
|
290
262
|
width: "60%",
|
|
291
263
|
"show-close": !0,
|
|
292
|
-
onClose:
|
|
264
|
+
onClose: g,
|
|
293
265
|
buttons: {
|
|
294
266
|
showCancel: !1,
|
|
295
267
|
showConfirm: !1
|
|
296
268
|
}
|
|
297
269
|
}, {
|
|
298
|
-
default:
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
media:
|
|
270
|
+
default: m(() => [
|
|
271
|
+
i("div", ve, [
|
|
272
|
+
r(C, {
|
|
273
|
+
media: h.value,
|
|
302
274
|
class: "preview-media"
|
|
303
275
|
}, null, 8, ["media"])
|
|
304
276
|
])
|
|
@@ -307,13 +279,13 @@ import './assets/AppIntro.css';const n = {
|
|
|
307
279
|
}, 8, ["modelValue"])
|
|
308
280
|
]));
|
|
309
281
|
}
|
|
310
|
-
},
|
|
282
|
+
}, V = /* @__PURE__ */ O(Te, [["__scopeId", "data-v-a4de0262"]]), Ne = { class: "flex items-center flex-gap-row-nowrap-8 mg-b-12" }, ge = {
|
|
311
283
|
class: "fz-14 weight-500",
|
|
312
284
|
style: { color: "#1d2129" }
|
|
313
285
|
}, Ee = {
|
|
314
286
|
class: "fz-14",
|
|
315
287
|
style: { color: "#4e5969" }
|
|
316
|
-
},
|
|
288
|
+
}, we = {
|
|
317
289
|
__name: "AppTimeline",
|
|
318
290
|
props: {
|
|
319
291
|
appId: {
|
|
@@ -334,78 +306,78 @@ import './assets/AppIntro.css';const n = {
|
|
|
334
306
|
}
|
|
335
307
|
}
|
|
336
308
|
},
|
|
337
|
-
setup(
|
|
338
|
-
const
|
|
339
|
-
|
|
309
|
+
setup(e) {
|
|
310
|
+
const d = e, h = async (t) => {
|
|
311
|
+
d.vueRouter.push({
|
|
340
312
|
path: "/promptTestDetail",
|
|
341
313
|
query: {
|
|
342
|
-
id:
|
|
343
|
-
type:
|
|
314
|
+
id: t.id,
|
|
315
|
+
type: t.auditStatus,
|
|
344
316
|
sourceFlag: "1",
|
|
345
|
-
operationType:
|
|
317
|
+
operationType: t.operationType,
|
|
346
318
|
sourceHistory: "1"
|
|
347
319
|
}
|
|
348
320
|
});
|
|
349
|
-
}, v = (
|
|
350
|
-
await
|
|
351
|
-
appId:
|
|
321
|
+
}, v = (t) => [o.LISTING, o.DELISTING].includes(t), g = (t) => Z.filter((p) => p.showForTypes.includes(t)), I = L([]), c = async () => {
|
|
322
|
+
await d.appOperationList({
|
|
323
|
+
appId: d.appId,
|
|
352
324
|
operationType: [
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
325
|
+
o.LISTING,
|
|
326
|
+
o.DELISTING,
|
|
327
|
+
o.ONLINE,
|
|
328
|
+
o.OFFLINE
|
|
357
329
|
].join(","),
|
|
358
330
|
pageNum: X.pageNum,
|
|
359
331
|
pageSize: 1e6
|
|
360
|
-
}).then(({ data:
|
|
361
|
-
|
|
332
|
+
}).then(({ data: t }) => {
|
|
333
|
+
I.value = t.list;
|
|
362
334
|
});
|
|
363
335
|
};
|
|
364
|
-
return
|
|
365
|
-
|
|
366
|
-
}), (
|
|
367
|
-
default:
|
|
368
|
-
(
|
|
369
|
-
key:
|
|
370
|
-
timestamp:
|
|
336
|
+
return R(() => {
|
|
337
|
+
c();
|
|
338
|
+
}), (t, p) => (a(), w(s(j), { class: "overflow-y-auto h-full pd-l-4" }, {
|
|
339
|
+
default: m(() => [
|
|
340
|
+
(a(!0), l(u, null, N(I.value, (n) => (a(), w(s(q), {
|
|
341
|
+
key: n.id,
|
|
342
|
+
timestamp: n.createTime,
|
|
371
343
|
placement: "top",
|
|
372
344
|
color: "var(--primary-color-1)"
|
|
373
345
|
}, {
|
|
374
|
-
default:
|
|
375
|
-
|
|
376
|
-
default:
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
v(
|
|
380
|
-
s(
|
|
346
|
+
default: m(() => [
|
|
347
|
+
r(s(B), { shadow: "hover" }, {
|
|
348
|
+
default: m(() => [
|
|
349
|
+
i("div", Ne, [
|
|
350
|
+
i("span", ge, y(s(Y)[n.operationType] || "--"), 1),
|
|
351
|
+
v(n.operationType) ? (a(), l(u, { key: 0 }, [
|
|
352
|
+
s(D)[n.auditStatus] ? (a(), w(s(J), {
|
|
381
353
|
key: 0,
|
|
382
|
-
type: s(
|
|
354
|
+
type: s(D)[n.auditStatus].type
|
|
383
355
|
}, {
|
|
384
|
-
default:
|
|
385
|
-
|
|
356
|
+
default: m(() => [
|
|
357
|
+
k(y(s(D)[n.auditStatus].text), 1)
|
|
386
358
|
]),
|
|
387
359
|
_: 2
|
|
388
|
-
}, 1032, ["type"])) :
|
|
389
|
-
], 64)) :
|
|
360
|
+
}, 1032, ["type"])) : f("", !0)
|
|
361
|
+
], 64)) : f("", !0)
|
|
390
362
|
]),
|
|
391
|
-
|
|
392
|
-
(
|
|
393
|
-
key:
|
|
363
|
+
i("div", Ee, [
|
|
364
|
+
(a(!0), l(u, null, N(g(n.operationType), (T) => (a(), l("div", {
|
|
365
|
+
key: T.field + T.title,
|
|
394
366
|
class: "mg-t-8 mg-b-8",
|
|
395
367
|
style: { "line-height": "1.5" }
|
|
396
|
-
},
|
|
397
|
-
s(S)[
|
|
368
|
+
}, y(T.title) + ":" + y(T.formatter ? T.formatter(n[T.field]) : n[T.field] ?? "--"), 1))), 128)),
|
|
369
|
+
s(S)[n.operationType] && !e.square ? (a(), w(s(U), {
|
|
398
370
|
key: 0,
|
|
399
371
|
type: "primary",
|
|
400
372
|
underline: !1,
|
|
401
373
|
class: "mg-t-8",
|
|
402
|
-
onClick: (
|
|
374
|
+
onClick: (T) => h(n)
|
|
403
375
|
}, {
|
|
404
|
-
default:
|
|
405
|
-
|
|
376
|
+
default: m(() => [
|
|
377
|
+
k(y(s(S)[n.operationType].text), 1)
|
|
406
378
|
]),
|
|
407
379
|
_: 2
|
|
408
|
-
}, 1032, ["onClick"])) :
|
|
380
|
+
}, 1032, ["onClick"])) : f("", !0)
|
|
409
381
|
])
|
|
410
382
|
]),
|
|
411
383
|
_: 2
|
|
@@ -417,13 +389,13 @@ import './assets/AppIntro.css';const n = {
|
|
|
417
389
|
_: 1
|
|
418
390
|
}));
|
|
419
391
|
}
|
|
420
|
-
},
|
|
392
|
+
}, Le = /* @__PURE__ */ O(we, [["__scopeId", "data-v-c5a86032"]]), _e = { class: "h-full overflow-hidden flex flex-col pd-t-12" }, De = { class: "pd-b-12" }, ke = {
|
|
421
393
|
key: 0,
|
|
422
394
|
class: "flex-1 overflow-hidden"
|
|
423
|
-
},
|
|
395
|
+
}, Oe = {
|
|
424
396
|
key: 1,
|
|
425
397
|
class: "flex-1 overflow-hidden"
|
|
426
|
-
},
|
|
398
|
+
}, be = /* @__PURE__ */ Object.assign({
|
|
427
399
|
name: "AppIntro"
|
|
428
400
|
}, {
|
|
429
401
|
__name: "layout",
|
|
@@ -461,52 +433,52 @@ import './assets/AppIntro.css';const n = {
|
|
|
461
433
|
default: "normal"
|
|
462
434
|
}
|
|
463
435
|
},
|
|
464
|
-
emits: [
|
|
465
|
-
setup(
|
|
466
|
-
const
|
|
467
|
-
{ label: "应用介绍", value:
|
|
468
|
-
{ label: "迭代时间轴", value:
|
|
469
|
-
]),
|
|
470
|
-
|
|
436
|
+
emits: [b.tabChange],
|
|
437
|
+
setup(e, { emit: d }) {
|
|
438
|
+
const h = d, v = L(E.INTRO), g = M(() => [
|
|
439
|
+
{ label: "应用介绍", value: E.INTRO },
|
|
440
|
+
{ label: "迭代时间轴", value: E.TIMELINE }
|
|
441
|
+
]), I = (c) => {
|
|
442
|
+
h(b.tabChange, c);
|
|
471
443
|
};
|
|
472
|
-
return (
|
|
473
|
-
|
|
474
|
-
|
|
444
|
+
return (c, t) => (a(), l("div", _e, [
|
|
445
|
+
e.isOnlyAppIntroContent ? (a(), l(u, { key: 1 }, [
|
|
446
|
+
t[1] || (t[1] = i("div", {
|
|
475
447
|
class: "fz-16 mg-b-14",
|
|
476
448
|
style: { color: "var(--text-color-1)" }
|
|
477
449
|
}, "应用介绍", -1)),
|
|
478
|
-
|
|
479
|
-
"intro-data":
|
|
480
|
-
layoutType:
|
|
450
|
+
r(V, {
|
|
451
|
+
"intro-data": e.introData,
|
|
452
|
+
layoutType: e.layoutType
|
|
481
453
|
}, null, 8, ["intro-data", "layoutType"])
|
|
482
|
-
], 64)) : (
|
|
483
|
-
|
|
484
|
-
|
|
454
|
+
], 64)) : (a(), l(u, { key: 0 }, [
|
|
455
|
+
i("div", De, [
|
|
456
|
+
r(s(H), {
|
|
485
457
|
modelValue: v.value,
|
|
486
|
-
"onUpdate:modelValue":
|
|
487
|
-
options:
|
|
488
|
-
onChange:
|
|
458
|
+
"onUpdate:modelValue": t[0] || (t[0] = (p) => v.value = p),
|
|
459
|
+
options: g.value,
|
|
460
|
+
onChange: I
|
|
489
461
|
}, null, 8, ["modelValue", "options"])
|
|
490
462
|
]),
|
|
491
|
-
v.value === s(
|
|
492
|
-
|
|
493
|
-
default:
|
|
494
|
-
G(
|
|
463
|
+
v.value === s(E).INTRO ? (a(), l("div", ke, [
|
|
464
|
+
r(V, { "intro-data": e.introData }, {
|
|
465
|
+
default: m(() => [
|
|
466
|
+
G(c.$slots, "plugin-detail")
|
|
495
467
|
]),
|
|
496
468
|
_: 3
|
|
497
469
|
}, 8, ["intro-data"])
|
|
498
|
-
])) : v.value === s(
|
|
499
|
-
|
|
500
|
-
"app-operation-list":
|
|
501
|
-
square:
|
|
502
|
-
"vue-router":
|
|
503
|
-
"app-id":
|
|
470
|
+
])) : v.value === s(E).TIMELINE ? (a(), l("div", Oe, [
|
|
471
|
+
r(Le, {
|
|
472
|
+
"app-operation-list": e.appOperationList,
|
|
473
|
+
square: e.square,
|
|
474
|
+
"vue-router": e.vueRouter,
|
|
475
|
+
"app-id": e.appId
|
|
504
476
|
}, null, 8, ["app-operation-list", "square", "vue-router", "app-id"])
|
|
505
|
-
])) :
|
|
477
|
+
])) : f("", !0)
|
|
506
478
|
], 64))
|
|
507
479
|
]));
|
|
508
480
|
}
|
|
509
|
-
}), Me =
|
|
481
|
+
}), Me = $(be);
|
|
510
482
|
export {
|
|
511
483
|
Me as AppIntro,
|
|
512
484
|
Me as default
|
package/es/BuildComponents.mjs
CHANGED
|
@@ -213,7 +213,7 @@ import './assets/BuildComponents.css';const V = "data:image/png;base64,iVBORw0KG
|
|
|
213
213
|
])
|
|
214
214
|
]));
|
|
215
215
|
}
|
|
216
|
-
}), iA = /* @__PURE__ */ Q(gA, [["__scopeId", "data-v-
|
|
216
|
+
}), iA = /* @__PURE__ */ Q(gA, [["__scopeId", "data-v-6c740489"]]), tA = a(iA);
|
|
217
217
|
export {
|
|
218
218
|
u as BUILD_BIG_TITLES,
|
|
219
219
|
Y as BUILD_STEPS,
|
package/es/CustomDialog.mjs
CHANGED