ling-yun-custom-components 0.0.78 → 0.0.79
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 +2 -485
- package/es/BuildComponents.mjs +2 -225
- package/es/CustomDialog.mjs +6 -7
- package/es/CustomDropdown.mjs +2 -145
- package/es/CustomPagination.mjs +6 -7
- package/es/CustomTab.mjs +2 -61
- package/es/GradientButton.mjs +2 -120
- package/es/PageNotFound.mjs +2 -38
- package/es/PaginationTable.mjs +2 -442
- package/es/PluginDetail.mjs +2 -268
- package/es/UpdatePasswordDialog.mjs +2 -120
- 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/UpdatePasswordDialog.css +1 -1
- package/es/assets/layout.css +1 -1
- package/es/chunks/AppIntro.B94eE0Qv.js +408 -0
- package/es/chunks/BuildComponents.I8g4bU46.js +199 -0
- package/es/chunks/CustomDropdown.DdF4LQAK.js +132 -0
- package/es/chunks/CustomTab.BDs7pkL3.js +54 -0
- package/es/chunks/GradientButton.CWUz5L4J.js +93 -0
- package/es/chunks/PageNotFound.DGeeDyLZ.js +31 -0
- package/es/chunks/PaginationTable.kBjL_p5z.js +372 -0
- package/es/chunks/PluginDetail.BuhT2Qyg.js +222 -0
- package/es/chunks/UpdatePasswordDialog.Nuh3v1KY.js +111 -0
- package/es/chunks/_plugin-vue_export-helper.DmKbXB2U.js +8 -0
- package/es/chunks/{layout.CCuN91wk.js → layout.BOupEsmd.js} +2 -2
- package/es/chunks/layout.BUebR4bJ.js +98 -0
- package/es/chunks/{layout.Cr_l_XR4.js → layout.Co1Edcgs.js} +10 -10
- package/es/chunks/layout.D1rf3wuR.js +190 -0
- package/es/chunks/layout.DxriiUZk.js +97 -0
- package/es/chunks/utils.DEl35N3y.js +20 -0
- package/es/index.mjs +54 -85
- 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/CustomPagination.js +1 -1
- package/lib/CustomTab.js +1 -1
- package/lib/GradientButton.js +1 -1
- package/lib/PageNotFound.js +1 -1
- package/lib/PaginationTable.js +1 -1
- package/lib/PluginDetail.js +1 -1
- 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/UpdatePasswordDialog.css +1 -1
- package/lib/assets/layout.css +1 -1
- package/lib/chunks/AppIntro.DJarpVRv.js +1 -0
- package/lib/chunks/BuildComponents.Dm0g_525.js +1 -0
- package/lib/chunks/CustomDropdown.Dd82slnf.js +1 -0
- package/lib/chunks/CustomTab.lEup3yu_.js +1 -0
- package/lib/chunks/GradientButton.CZt-94UY.js +1 -0
- package/lib/chunks/PageNotFound.CDSky_OJ.js +1 -0
- package/lib/chunks/PaginationTable.CFjtBd_W.js +1 -0
- package/lib/chunks/PluginDetail.r9sU9B0j.js +1 -0
- package/lib/chunks/UpdatePasswordDialog.94u1HU_L.js +1 -0
- package/lib/chunks/_plugin-vue_export-helper.ChpH7oGP.js +1 -0
- package/lib/chunks/layout.BeWIbWqs.js +1 -0
- package/lib/chunks/{layout._ESCIMbo.js → layout.Bh7LH0QH.js} +1 -1
- package/lib/chunks/layout.DTQiy0L3.js +1 -0
- package/lib/chunks/layout.DV8XSRLQ.js +1 -0
- package/lib/chunks/utils.DjSSHA6p.js +1 -0
- package/lib/index.js +1 -1
- package/package.json +9 -9
package/es/AppIntro.mjs
CHANGED
|
@@ -1,485 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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
|
-
import { IconLook as K } from "color-message-lingyun-vue";
|
|
5
|
-
import { C as Q } from "./chunks/layout.Cr_l_XR4.js";
|
|
6
|
-
import { _ as O } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
7
|
-
import { CustomTitle as W } from "color-star-custom-components";
|
|
8
|
-
import { pageParams as X, emitsMap as b } from "color-star-custom-methods";
|
|
9
|
-
import './assets/AppIntro.css';const o = {
|
|
10
|
-
LISTING: 1,
|
|
11
|
-
// 上架申请
|
|
12
|
-
DELISTING: 2,
|
|
13
|
-
// 下架申请
|
|
14
|
-
ONLINE: 3,
|
|
15
|
-
// 上线应用
|
|
16
|
-
OFFLINE: 4
|
|
17
|
-
// 下线应用
|
|
18
|
-
}, _ = {
|
|
19
|
-
PENDING: 0,
|
|
20
|
-
// 待审核
|
|
21
|
-
APPROVED: 1,
|
|
22
|
-
// 已通过
|
|
23
|
-
REJECTED: 2
|
|
24
|
-
// 已驳回
|
|
25
|
-
}, x = {
|
|
26
|
-
IMAGE: 1,
|
|
27
|
-
// 图片
|
|
28
|
-
VIDEO: 2
|
|
29
|
-
// 视频
|
|
30
|
-
}, E = {
|
|
31
|
-
INTRO: "intro",
|
|
32
|
-
// 应用介绍
|
|
33
|
-
TIMELINE: "timeline"
|
|
34
|
-
// 迭代时间轴
|
|
35
|
-
}, Y = {
|
|
36
|
-
[o.LISTING]: "上架申请",
|
|
37
|
-
[o.DELISTING]: "下架申请",
|
|
38
|
-
[o.ONLINE]: "上线应用",
|
|
39
|
-
[o.OFFLINE]: "下线应用"
|
|
40
|
-
}, D = {
|
|
41
|
-
[_.PENDING]: {
|
|
42
|
-
type: "warning",
|
|
43
|
-
text: "待审核"
|
|
44
|
-
},
|
|
45
|
-
[_.APPROVED]: {
|
|
46
|
-
type: "primary",
|
|
47
|
-
text: "已通过"
|
|
48
|
-
},
|
|
49
|
-
[_.REJECTED]: {
|
|
50
|
-
type: "danger",
|
|
51
|
-
text: "已驳回"
|
|
52
|
-
}
|
|
53
|
-
}, F = [
|
|
54
|
-
{ title: "申请人:", field: "appCreatorName" },
|
|
55
|
-
{ title: "应用省份:", field: "appCreatorOrg" },
|
|
56
|
-
{ title: "应用说明:", field: "appDesc" },
|
|
57
|
-
{ title: "接入系统:", field: "accessSystem" },
|
|
58
|
-
{ title: "业务背景:", field: "businessBackground" },
|
|
59
|
-
{ title: "业务目标:", field: "businessTarget" },
|
|
60
|
-
{ title: "成效数据:", field: "resultData" }
|
|
61
|
-
], Z = [
|
|
62
|
-
{
|
|
63
|
-
title: "申请人",
|
|
64
|
-
field: "creatorName",
|
|
65
|
-
showForTypes: [o.LISTING, o.DELISTING]
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
title: "操作人",
|
|
69
|
-
field: "creatorName",
|
|
70
|
-
showForTypes: [o.ONLINE, o.OFFLINE]
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
title: "下架原因",
|
|
74
|
-
field: "delistingReason",
|
|
75
|
-
showForTypes: [o.DELISTING]
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
title: "成效数据",
|
|
79
|
-
field: "resultData",
|
|
80
|
-
showForTypes: [o.LISTING]
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
title: "推荐理由",
|
|
84
|
-
field: "recommendReason",
|
|
85
|
-
showForTypes: [o.LISTING]
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
title: "版本号",
|
|
89
|
-
field: "appVersionNum",
|
|
90
|
-
showForTypes: [o.ONLINE, o.OFFLINE],
|
|
91
|
-
formatter: (e) => e ? `V${e}` : "--"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
title: "配置摘要",
|
|
95
|
-
field: "configSummary",
|
|
96
|
-
showForTypes: [o.ONLINE]
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
title: "版本说明",
|
|
100
|
-
field: "publishRemark",
|
|
101
|
-
showForTypes: [o.ONLINE, o.OFFLINE]
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
title: "下线原因",
|
|
105
|
-
field: "offlineReason",
|
|
106
|
-
showForTypes: [o.OFFLINE]
|
|
107
|
-
}
|
|
108
|
-
], S = {
|
|
109
|
-
[o.LISTING]: {
|
|
110
|
-
text: "查看上架申请"
|
|
111
|
-
},
|
|
112
|
-
[o.DELISTING]: {
|
|
113
|
-
text: "查看下架申请"
|
|
114
|
-
}
|
|
115
|
-
}, ee = {
|
|
116
|
-
key: 0,
|
|
117
|
-
class: "media-video relative"
|
|
118
|
-
}, te = ["src"], ae = {
|
|
119
|
-
key: 1,
|
|
120
|
-
class: "media-image relative"
|
|
121
|
-
}, le = ["src"], oe = {
|
|
122
|
-
__name: "MediaViewer",
|
|
123
|
-
props: {
|
|
124
|
-
media: {
|
|
125
|
-
type: Object,
|
|
126
|
-
default: null
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
setup(e) {
|
|
130
|
-
return (d, h) => e.media?.type === s(x).VIDEO ? (a(), l("div", ee, [
|
|
131
|
-
i("video", {
|
|
132
|
-
class: "w-full",
|
|
133
|
-
src: e.media.url,
|
|
134
|
-
controls: "",
|
|
135
|
-
controlsList: "nodownload"
|
|
136
|
-
}, null, 8, te)
|
|
137
|
-
])) : e.media?.type === s(x).IMAGE ? (a(), l("div", ae, [
|
|
138
|
-
i("img", {
|
|
139
|
-
class: "w-full h-full",
|
|
140
|
-
src: e.media.url,
|
|
141
|
-
alt: ""
|
|
142
|
-
}, null, 8, le)
|
|
143
|
-
])) : f("", !0);
|
|
144
|
-
}
|
|
145
|
-
}, C = /* @__PURE__ */ O(oe, [["__scopeId", "data-v-8a8f5de1"]]), se = { class: "app-intro-content overflow-hidden h-full" }, ie = {
|
|
146
|
-
key: 0,
|
|
147
|
-
class: "media-section w-full pd-b-12"
|
|
148
|
-
}, ne = { class: "media-content relative w-full" }, re = ["onClick"], de = {
|
|
149
|
-
key: 1,
|
|
150
|
-
class: "info-section"
|
|
151
|
-
}, ue = { class: "flex items-center" }, ce = { class: "fz-14 text-666 pd-r-12" }, pe = {
|
|
152
|
-
key: 2,
|
|
153
|
-
class: "flex flex-col mg-t-20",
|
|
154
|
-
style: { gap: "16px" }
|
|
155
|
-
}, fe = { class: "title-desc mg-r-2 fz-14" }, me = { class: "value-desc fz-14" }, ye = {
|
|
156
|
-
key: 0,
|
|
157
|
-
class: "flex"
|
|
158
|
-
}, Ie = { class: "flex items-center" }, he = { class: "fz-14 text-666 pd-r-12" }, ve = { class: "preview-content" }, Te = {
|
|
159
|
-
__name: "AppIntroContent",
|
|
160
|
-
props: {
|
|
161
|
-
introData: {
|
|
162
|
-
type: Object,
|
|
163
|
-
default: () => ({})
|
|
164
|
-
},
|
|
165
|
-
// 布局类型
|
|
166
|
-
layoutType: {
|
|
167
|
-
type: String,
|
|
168
|
-
default: "normal"
|
|
169
|
-
}
|
|
170
|
-
},
|
|
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;
|
|
176
|
-
};
|
|
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"
|
|
183
|
-
}, [
|
|
184
|
-
r(C, { media: t }, null, 8, ["media"]),
|
|
185
|
-
i("div", {
|
|
186
|
-
class: "hover-overlay absolute top-0 left-0 flex justify-center items-center",
|
|
187
|
-
style: { width: "262px", height: "148px" },
|
|
188
|
-
onClick: (n) => v(t)
|
|
189
|
-
}, [
|
|
190
|
-
r(s(A), {
|
|
191
|
-
size: 24,
|
|
192
|
-
class: "view-icon"
|
|
193
|
-
}, {
|
|
194
|
-
default: m(() => [
|
|
195
|
-
r(s(K))
|
|
196
|
-
]),
|
|
197
|
-
_: 1
|
|
198
|
-
})
|
|
199
|
-
], 8, re)
|
|
200
|
-
]))), 128))
|
|
201
|
-
])
|
|
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,
|
|
207
|
-
"label-width": "auto"
|
|
208
|
-
}, {
|
|
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,
|
|
213
|
-
class: "mg-b-0"
|
|
214
|
-
}, {
|
|
215
|
-
default: m(() => [
|
|
216
|
-
k(y(e.introData?.[t.field] ?? "--"), 1)
|
|
217
|
-
]),
|
|
218
|
-
_: 2
|
|
219
|
-
}, 1032, ["label"]))), 128)) : f("", !0)
|
|
220
|
-
]),
|
|
221
|
-
_: 1
|
|
222
|
-
}, 8, ["model"]),
|
|
223
|
-
e.introData?.attachements?.length ? (a(), l(u, { key: 0 }, [
|
|
224
|
-
r(s(W), {
|
|
225
|
-
content: "附件:",
|
|
226
|
-
class: "pd-b-12 pd-t-24"
|
|
227
|
-
}),
|
|
228
|
-
(a(!0), l(u, null, N(e.introData.attachements, (t, p) => (a(), l("div", {
|
|
229
|
-
key: p,
|
|
230
|
-
class: "mg-b-8"
|
|
231
|
-
}, [
|
|
232
|
-
i("div", ue, [
|
|
233
|
-
i("span", ce, y(t.attachementName), 1)
|
|
234
|
-
])
|
|
235
|
-
]))), 128))
|
|
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,
|
|
240
|
-
class: "flex"
|
|
241
|
-
}, [
|
|
242
|
-
i("div", fe, y(t.title), 1),
|
|
243
|
-
i("div", me, y(e.introData?.[t.field] ?? "--"), 1)
|
|
244
|
-
]))), 128)),
|
|
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,
|
|
250
|
-
class: "mg-b-8"
|
|
251
|
-
}, [
|
|
252
|
-
i("div", Ie, [
|
|
253
|
-
i("span", he, y(t.attachementName), 1)
|
|
254
|
-
])
|
|
255
|
-
]))), 128))
|
|
256
|
-
])
|
|
257
|
-
])) : f("", !0)
|
|
258
|
-
])) : f("", !0),
|
|
259
|
-
r(Q, {
|
|
260
|
-
modelValue: d.value,
|
|
261
|
-
"onUpdate:modelValue": c[0] || (c[0] = (t) => d.value = t),
|
|
262
|
-
width: "60%",
|
|
263
|
-
"show-close": !0,
|
|
264
|
-
onClose: g,
|
|
265
|
-
buttons: {
|
|
266
|
-
showCancel: !1,
|
|
267
|
-
showConfirm: !1
|
|
268
|
-
}
|
|
269
|
-
}, {
|
|
270
|
-
default: m(() => [
|
|
271
|
-
i("div", ve, [
|
|
272
|
-
r(C, {
|
|
273
|
-
media: h.value,
|
|
274
|
-
class: "preview-media"
|
|
275
|
-
}, null, 8, ["media"])
|
|
276
|
-
])
|
|
277
|
-
]),
|
|
278
|
-
_: 1
|
|
279
|
-
}, 8, ["modelValue"])
|
|
280
|
-
]));
|
|
281
|
-
}
|
|
282
|
-
}, V = /* @__PURE__ */ O(Te, [["__scopeId", "data-v-a4de0262"]]), Ne = { class: "flex items-center flex-gap-row-nowrap-8 mg-b-12" }, ge = {
|
|
283
|
-
class: "fz-14 weight-500",
|
|
284
|
-
style: { color: "#1d2129" }
|
|
285
|
-
}, Ee = {
|
|
286
|
-
class: "fz-14",
|
|
287
|
-
style: { color: "#4e5969" }
|
|
288
|
-
}, we = {
|
|
289
|
-
__name: "AppTimeline",
|
|
290
|
-
props: {
|
|
291
|
-
appId: {
|
|
292
|
-
type: String,
|
|
293
|
-
default: ""
|
|
294
|
-
},
|
|
295
|
-
square: {
|
|
296
|
-
type: Boolean,
|
|
297
|
-
default: !1
|
|
298
|
-
},
|
|
299
|
-
vueRouter: {
|
|
300
|
-
type: Object,
|
|
301
|
-
default: () => ({})
|
|
302
|
-
},
|
|
303
|
-
appOperationList: {
|
|
304
|
-
type: Function,
|
|
305
|
-
default: () => {
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
},
|
|
309
|
-
setup(e) {
|
|
310
|
-
const d = e, h = async (t) => {
|
|
311
|
-
d.vueRouter.push({
|
|
312
|
-
path: "/promptTestDetail",
|
|
313
|
-
query: {
|
|
314
|
-
id: t.id,
|
|
315
|
-
type: t.auditStatus,
|
|
316
|
-
sourceFlag: "1",
|
|
317
|
-
operationType: t.operationType,
|
|
318
|
-
sourceHistory: "1"
|
|
319
|
-
}
|
|
320
|
-
});
|
|
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,
|
|
324
|
-
operationType: [
|
|
325
|
-
o.LISTING,
|
|
326
|
-
o.DELISTING,
|
|
327
|
-
o.ONLINE,
|
|
328
|
-
o.OFFLINE
|
|
329
|
-
].join(","),
|
|
330
|
-
pageNum: X.pageNum,
|
|
331
|
-
pageSize: 1e6
|
|
332
|
-
}).then(({ data: t }) => {
|
|
333
|
-
I.value = t.list;
|
|
334
|
-
});
|
|
335
|
-
};
|
|
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,
|
|
343
|
-
placement: "top",
|
|
344
|
-
color: "var(--primary-color-1)"
|
|
345
|
-
}, {
|
|
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), {
|
|
353
|
-
key: 0,
|
|
354
|
-
type: s(D)[n.auditStatus].type
|
|
355
|
-
}, {
|
|
356
|
-
default: m(() => [
|
|
357
|
-
k(y(s(D)[n.auditStatus].text), 1)
|
|
358
|
-
]),
|
|
359
|
-
_: 2
|
|
360
|
-
}, 1032, ["type"])) : f("", !0)
|
|
361
|
-
], 64)) : f("", !0)
|
|
362
|
-
]),
|
|
363
|
-
i("div", Ee, [
|
|
364
|
-
(a(!0), l(u, null, N(g(n.operationType), (T) => (a(), l("div", {
|
|
365
|
-
key: T.field + T.title,
|
|
366
|
-
class: "mg-t-8 mg-b-8",
|
|
367
|
-
style: { "line-height": "1.5" }
|
|
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), {
|
|
370
|
-
key: 0,
|
|
371
|
-
type: "primary",
|
|
372
|
-
underline: !1,
|
|
373
|
-
class: "mg-t-8",
|
|
374
|
-
onClick: (T) => h(n)
|
|
375
|
-
}, {
|
|
376
|
-
default: m(() => [
|
|
377
|
-
k(y(s(S)[n.operationType].text), 1)
|
|
378
|
-
]),
|
|
379
|
-
_: 2
|
|
380
|
-
}, 1032, ["onClick"])) : f("", !0)
|
|
381
|
-
])
|
|
382
|
-
]),
|
|
383
|
-
_: 2
|
|
384
|
-
}, 1024)
|
|
385
|
-
]),
|
|
386
|
-
_: 2
|
|
387
|
-
}, 1032, ["timestamp"]))), 128))
|
|
388
|
-
]),
|
|
389
|
-
_: 1
|
|
390
|
-
}));
|
|
391
|
-
}
|
|
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 = {
|
|
393
|
-
key: 0,
|
|
394
|
-
class: "flex-1 overflow-hidden"
|
|
395
|
-
}, Oe = {
|
|
396
|
-
key: 1,
|
|
397
|
-
class: "flex-1 overflow-hidden"
|
|
398
|
-
}, be = /* @__PURE__ */ Object.assign({
|
|
399
|
-
name: "AppIntro"
|
|
400
|
-
}, {
|
|
401
|
-
__name: "layout",
|
|
402
|
-
props: {
|
|
403
|
-
introData: {
|
|
404
|
-
type: Object,
|
|
405
|
-
default: () => ({})
|
|
406
|
-
},
|
|
407
|
-
square: {
|
|
408
|
-
type: Boolean,
|
|
409
|
-
default: !1
|
|
410
|
-
},
|
|
411
|
-
vueRouter: {
|
|
412
|
-
type: Object,
|
|
413
|
-
default: () => ({})
|
|
414
|
-
},
|
|
415
|
-
appId: {
|
|
416
|
-
type: String,
|
|
417
|
-
default: ""
|
|
418
|
-
},
|
|
419
|
-
// 迭代时间轴 接口
|
|
420
|
-
appOperationList: {
|
|
421
|
-
type: Function,
|
|
422
|
-
default: () => {
|
|
423
|
-
}
|
|
424
|
-
},
|
|
425
|
-
// 是否只有应用简介
|
|
426
|
-
isOnlyAppIntroContent: {
|
|
427
|
-
type: Boolean,
|
|
428
|
-
default: !1
|
|
429
|
-
},
|
|
430
|
-
// 布局类型
|
|
431
|
-
layoutType: {
|
|
432
|
-
type: String,
|
|
433
|
-
default: "normal"
|
|
434
|
-
}
|
|
435
|
-
},
|
|
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);
|
|
443
|
-
};
|
|
444
|
-
return (c, t) => (a(), l("div", _e, [
|
|
445
|
-
e.isOnlyAppIntroContent ? (a(), l(u, { key: 1 }, [
|
|
446
|
-
t[1] || (t[1] = i("div", {
|
|
447
|
-
class: "fz-16 mg-b-14",
|
|
448
|
-
style: { color: "var(--text-color-1)" }
|
|
449
|
-
}, "应用介绍", -1)),
|
|
450
|
-
r(V, {
|
|
451
|
-
"intro-data": e.introData,
|
|
452
|
-
layoutType: e.layoutType
|
|
453
|
-
}, null, 8, ["intro-data", "layoutType"])
|
|
454
|
-
], 64)) : (a(), l(u, { key: 0 }, [
|
|
455
|
-
i("div", De, [
|
|
456
|
-
r(s(H), {
|
|
457
|
-
modelValue: v.value,
|
|
458
|
-
"onUpdate:modelValue": t[0] || (t[0] = (p) => v.value = p),
|
|
459
|
-
options: g.value,
|
|
460
|
-
onChange: I
|
|
461
|
-
}, null, 8, ["modelValue", "options"])
|
|
462
|
-
]),
|
|
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")
|
|
467
|
-
]),
|
|
468
|
-
_: 3
|
|
469
|
-
}, 8, ["intro-data"])
|
|
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
|
|
476
|
-
}, null, 8, ["app-operation-list", "square", "vue-router", "app-id"])
|
|
477
|
-
])) : f("", !0)
|
|
478
|
-
], 64))
|
|
479
|
-
]));
|
|
480
|
-
}
|
|
481
|
-
}), Me = $(be);
|
|
482
|
-
export {
|
|
483
|
-
Me as AppIntro,
|
|
484
|
-
Me as default
|
|
485
|
-
};
|
|
1
|
+
import { t as e } from "./chunks/AppIntro.B94eE0Qv.js";
|
|
2
|
+
export { e as AppIntro, e as default };
|