ling-yun-custom-components 0.0.48 → 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 +120 -121
- package/es/PluginDetail.mjs +233 -76
- package/es/assets/AppIntro.css +1 -1
- package/es/assets/PluginDetail.css +1 -1
- package/es/index.mjs +42 -40
- package/lib/AppIntro.js +1 -1
- package/lib/PluginDetail.js +1 -1
- package/lib/assets/AppIntro.css +1 -1
- package/lib/assets/PluginDetail.css +1 -1
- package/lib/index.js +1 -1
- package/package.json +2 -2
package/es/AppIntro.mjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { w as
|
|
2
|
-
import { createElementBlock as i, createCommentVNode as f, unref as
|
|
3
|
-
import { ElIcon as
|
|
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
4
|
import { IconLook as U } from "color-message-lingyun-vue";
|
|
5
5
|
import { C as J } from "./chunks/layout.DXw3haOP.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
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";
|
|
8
9
|
import './assets/AppIntro.css';const t = {
|
|
9
10
|
LISTING: 1,
|
|
10
11
|
// 上架申请
|
|
@@ -21,7 +22,7 @@ import './assets/AppIntro.css';const t = {
|
|
|
21
22
|
// 已通过
|
|
22
23
|
REJECTED: 2
|
|
23
24
|
// 已驳回
|
|
24
|
-
},
|
|
25
|
+
}, b = {
|
|
25
26
|
IMAGE: 1,
|
|
26
27
|
// 图片
|
|
27
28
|
VIDEO: 2
|
|
@@ -31,7 +32,7 @@ import './assets/AppIntro.css';const t = {
|
|
|
31
32
|
// 应用介绍
|
|
32
33
|
TIMELINE: "timeline"
|
|
33
34
|
// 迭代时间轴
|
|
34
|
-
},
|
|
35
|
+
}, Q = {
|
|
35
36
|
[t.LISTING]: "上架申请",
|
|
36
37
|
[t.DELISTING]: "下架申请",
|
|
37
38
|
[t.ONLINE]: "上线应用",
|
|
@@ -49,7 +50,7 @@ import './assets/AppIntro.css';const t = {
|
|
|
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,7 +58,7 @@ import './assets/AppIntro.css';const t = {
|
|
|
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",
|
|
@@ -104,20 +105,20 @@ import './assets/AppIntro.css';const t = {
|
|
|
104
105
|
field: "offlineReason",
|
|
105
106
|
showForTypes: [t.OFFLINE]
|
|
106
107
|
}
|
|
107
|
-
],
|
|
108
|
+
], O = {
|
|
108
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: {
|
|
@@ -126,24 +127,24 @@ import './assets/AppIntro.css';const t = {
|
|
|
126
127
|
}
|
|
127
128
|
},
|
|
128
129
|
setup(a) {
|
|
129
|
-
return (
|
|
130
|
+
return (u, y) => a.media?.type === o(b).VIDEO ? (l(), i("div", Y, [
|
|
130
131
|
d("video", {
|
|
131
132
|
class: "w-full",
|
|
132
133
|
src: a.media.url,
|
|
133
134
|
controls: ""
|
|
134
|
-
}, null, 8,
|
|
135
|
-
])) : a.media?.type ===
|
|
135
|
+
}, null, 8, Z)
|
|
136
|
+
])) : a.media?.type === o(b).IMAGE ? (l(), i("div", ee, [
|
|
136
137
|
d("img", {
|
|
137
138
|
class: "w-full",
|
|
138
139
|
src: a.media.url,
|
|
139
140
|
alt: ""
|
|
140
|
-
}, null, 8,
|
|
141
|
+
}, null, 8, te)
|
|
141
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: {
|
|
@@ -152,10 +153,10 @@ import './assets/AppIntro.css';const t = {
|
|
|
152
153
|
}
|
|
153
154
|
},
|
|
154
155
|
setup(a) {
|
|
155
|
-
const
|
|
156
|
-
y.value = r,
|
|
156
|
+
const u = g(!1), y = g(null), I = (r) => {
|
|
157
|
+
y.value = r, u.value = !0;
|
|
157
158
|
}, E = () => {
|
|
158
|
-
|
|
159
|
+
u.value = !1, y.value = null;
|
|
159
160
|
}, T = (r) => {
|
|
160
161
|
try {
|
|
161
162
|
const e = document.createElement("a");
|
|
@@ -164,82 +165,80 @@ import './assets/AppIntro.css';const t = {
|
|
|
164
165
|
console.error(e);
|
|
165
166
|
}
|
|
166
167
|
};
|
|
167
|
-
return (r, e) => (
|
|
168
|
-
a.introData?.pics?.length > 0 ? (
|
|
169
|
-
d("div",
|
|
170
|
-
(
|
|
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", {
|
|
171
172
|
key: s,
|
|
172
173
|
class: "media-item w-full"
|
|
173
174
|
}, [
|
|
174
|
-
|
|
175
|
+
c(F, { media: n }, null, 8, ["media"]),
|
|
175
176
|
d("div", {
|
|
176
177
|
class: "hover-overlay absolute top-0 left-0 w-full h-full flex justify-center items-center",
|
|
177
|
-
onClick: (
|
|
178
|
+
onClick: (m) => I(n)
|
|
178
179
|
}, [
|
|
179
|
-
|
|
180
|
+
c(o(R), {
|
|
180
181
|
size: 24,
|
|
181
182
|
class: "view-icon"
|
|
182
183
|
}, {
|
|
183
|
-
default:
|
|
184
|
-
|
|
184
|
+
default: p(() => [
|
|
185
|
+
c(o(U))
|
|
185
186
|
]),
|
|
186
187
|
_: 1
|
|
187
188
|
})
|
|
188
|
-
], 8,
|
|
189
|
+
], 8, ne)
|
|
189
190
|
]))), 128))
|
|
190
191
|
])
|
|
191
192
|
])) : f("", !0),
|
|
192
|
-
|
|
193
|
-
d("div",
|
|
194
|
-
|
|
193
|
+
S(r.$slots, "default", {}, void 0, !0),
|
|
194
|
+
d("div", se, [
|
|
195
|
+
c(o(M), {
|
|
195
196
|
model: a.introData,
|
|
196
197
|
"label-width": "auto"
|
|
197
198
|
}, {
|
|
198
|
-
default:
|
|
199
|
-
["agent", "workflow"].includes(a.introData?.appCategory) ? (
|
|
199
|
+
default: p(() => [
|
|
200
|
+
["agent", "workflow"].includes(a.introData?.appCategory) ? (l(!0), i(v, { key: 0 }, _(o(W), (n) => (l(), N(o(A), {
|
|
200
201
|
key: n.field,
|
|
201
202
|
label: n.title,
|
|
202
203
|
class: "mg-b-0"
|
|
203
204
|
}, {
|
|
204
|
-
default:
|
|
205
|
+
default: p(() => [
|
|
205
206
|
L(h(a.introData?.[n.field] ?? "--"), 1)
|
|
206
207
|
]),
|
|
207
208
|
_: 2
|
|
208
|
-
}, 1032, ["label"]))), 128)) : f("", !0)
|
|
209
|
-
a.introData?.attachements?.length ? (o(), v(l(b), {
|
|
210
|
-
key: 1,
|
|
211
|
-
label: "附件:"
|
|
212
|
-
}, {
|
|
213
|
-
default: u(() => [
|
|
214
|
-
(o(!0), i(N, null, _(a.introData.attachements, (n, s) => (o(), i("div", {
|
|
215
|
-
key: s,
|
|
216
|
-
class: "mg-b-8"
|
|
217
|
-
}, [
|
|
218
|
-
d("div", se, [
|
|
219
|
-
d("span", ie, h(n.attachementName), 1),
|
|
220
|
-
n.attachementUrl ? (o(), v(l(x), {
|
|
221
|
-
key: 0,
|
|
222
|
-
type: "primary",
|
|
223
|
-
underline: !1,
|
|
224
|
-
onClick: (p) => T(n)
|
|
225
|
-
}, {
|
|
226
|
-
default: u(() => [...e[1] || (e[1] = [
|
|
227
|
-
L(" 点击查看 ", -1)
|
|
228
|
-
])]),
|
|
229
|
-
_: 1
|
|
230
|
-
}, 8, ["onClick"])) : f("", !0)
|
|
231
|
-
])
|
|
232
|
-
]))), 128))
|
|
233
|
-
]),
|
|
234
|
-
_: 1
|
|
235
|
-
})) : f("", !0)
|
|
209
|
+
}, 1032, ["label"]))), 128)) : f("", !0)
|
|
236
210
|
]),
|
|
237
211
|
_: 1
|
|
238
|
-
}, 8, ["model"])
|
|
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)
|
|
239
238
|
]),
|
|
240
|
-
|
|
241
|
-
modelValue:
|
|
242
|
-
"onUpdate:modelValue": e[0] || (e[0] = (n) =>
|
|
239
|
+
c(J, {
|
|
240
|
+
modelValue: u.value,
|
|
241
|
+
"onUpdate:modelValue": e[0] || (e[0] = (n) => u.value = n),
|
|
243
242
|
width: "60%",
|
|
244
243
|
"show-close": !0,
|
|
245
244
|
onClose: E,
|
|
@@ -248,9 +247,9 @@ import './assets/AppIntro.css';const t = {
|
|
|
248
247
|
showConfirm: !1
|
|
249
248
|
}
|
|
250
249
|
}, {
|
|
251
|
-
default:
|
|
252
|
-
d("div",
|
|
253
|
-
|
|
250
|
+
default: p(() => [
|
|
251
|
+
d("div", de, [
|
|
252
|
+
c(F, {
|
|
254
253
|
media: y.value,
|
|
255
254
|
class: "preview-media"
|
|
256
255
|
}, null, 8, ["media"])
|
|
@@ -260,13 +259,13 @@ import './assets/AppIntro.css';const t = {
|
|
|
260
259
|
}, 8, ["modelValue"])
|
|
261
260
|
]));
|
|
262
261
|
}
|
|
263
|
-
},
|
|
262
|
+
}, ce = /* @__PURE__ */ x(ue, [["__scopeId", "data-v-f5af90d9"]]), pe = { class: "flex items-center flex-gap-row-nowrap-8 mg-b-12" }, me = {
|
|
264
263
|
class: "fz-14 weight-500",
|
|
265
264
|
style: { color: "#1d2129" }
|
|
266
|
-
},
|
|
265
|
+
}, fe = {
|
|
267
266
|
class: "fz-14",
|
|
268
267
|
style: { color: "#4e5969" }
|
|
269
|
-
},
|
|
268
|
+
}, ye = {
|
|
270
269
|
__name: "AppTimeline",
|
|
271
270
|
props: {
|
|
272
271
|
appId: {
|
|
@@ -288,8 +287,8 @@ import './assets/AppIntro.css';const t = {
|
|
|
288
287
|
}
|
|
289
288
|
},
|
|
290
289
|
setup(a) {
|
|
291
|
-
const
|
|
292
|
-
|
|
290
|
+
const u = a, y = async (e) => {
|
|
291
|
+
u.vueRouter.push({
|
|
293
292
|
path: "/promptTestDetail",
|
|
294
293
|
query: {
|
|
295
294
|
id: e.id,
|
|
@@ -299,63 +298,63 @@ import './assets/AppIntro.css';const t = {
|
|
|
299
298
|
sourceHistory: "1"
|
|
300
299
|
}
|
|
301
300
|
});
|
|
302
|
-
}, I = (e) => [t.LISTING, t.DELISTING].includes(e), E = (e) =>
|
|
303
|
-
await
|
|
304
|
-
appId:
|
|
301
|
+
}, I = (e) => [t.LISTING, t.DELISTING].includes(e), E = (e) => X.filter((n) => n.showForTypes.includes(e)), T = g([]), r = async () => {
|
|
302
|
+
await u.appOperationList({
|
|
303
|
+
appId: u.appId,
|
|
305
304
|
operationType: [
|
|
306
305
|
t.LISTING,
|
|
307
306
|
t.DELISTING,
|
|
308
307
|
t.ONLINE,
|
|
309
308
|
t.OFFLINE
|
|
310
309
|
].join(","),
|
|
311
|
-
pageNum:
|
|
310
|
+
pageNum: K.pageNum,
|
|
312
311
|
pageSize: 1e6
|
|
313
312
|
}).then(({ data: e }) => {
|
|
314
313
|
T.value = e.list;
|
|
315
314
|
});
|
|
316
315
|
};
|
|
317
|
-
return
|
|
316
|
+
return $(() => {
|
|
318
317
|
r();
|
|
319
|
-
}), (e, n) => (
|
|
320
|
-
default:
|
|
321
|
-
(
|
|
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), {
|
|
322
321
|
key: s.id,
|
|
323
322
|
timestamp: s.createTime,
|
|
324
323
|
placement: "top",
|
|
325
324
|
color: "var(--primary-color-1)"
|
|
326
325
|
}, {
|
|
327
|
-
default:
|
|
328
|
-
|
|
329
|
-
default:
|
|
330
|
-
d("div",
|
|
331
|
-
d("span",
|
|
332
|
-
I(s.operationType) ? (
|
|
333
|
-
|
|
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), {
|
|
334
333
|
key: 0,
|
|
335
|
-
type:
|
|
334
|
+
type: o(D)[s.auditStatus].type
|
|
336
335
|
}, {
|
|
337
|
-
default:
|
|
338
|
-
L(h(
|
|
336
|
+
default: p(() => [
|
|
337
|
+
L(h(o(D)[s.auditStatus].text), 1)
|
|
339
338
|
]),
|
|
340
339
|
_: 2
|
|
341
340
|
}, 1032, ["type"])) : f("", !0)
|
|
342
341
|
], 64)) : f("", !0)
|
|
343
342
|
]),
|
|
344
|
-
d("div",
|
|
345
|
-
(
|
|
346
|
-
key:
|
|
343
|
+
d("div", fe, [
|
|
344
|
+
(l(!0), i(v, null, _(E(s.operationType), (m) => (l(), i("div", {
|
|
345
|
+
key: m.field + m.title,
|
|
347
346
|
class: "mg-t-8 mg-b-8",
|
|
348
347
|
style: { "line-height": "1.5" }
|
|
349
|
-
}, h(
|
|
350
|
-
|
|
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), {
|
|
351
350
|
key: 0,
|
|
352
351
|
type: "primary",
|
|
353
352
|
underline: !1,
|
|
354
353
|
class: "mg-t-8",
|
|
355
|
-
onClick: (
|
|
354
|
+
onClick: (m) => y(s)
|
|
356
355
|
}, {
|
|
357
|
-
default:
|
|
358
|
-
L(h(
|
|
356
|
+
default: p(() => [
|
|
357
|
+
L(h(o(O)[s.operationType].text), 1)
|
|
359
358
|
]),
|
|
360
359
|
_: 2
|
|
361
360
|
}, 1032, ["onClick"])) : f("", !0)
|
|
@@ -370,13 +369,13 @@ import './assets/AppIntro.css';const t = {
|
|
|
370
369
|
_: 1
|
|
371
370
|
}));
|
|
372
371
|
}
|
|
373
|
-
},
|
|
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 = {
|
|
374
373
|
key: 0,
|
|
375
374
|
class: "flex-1 overflow-hidden"
|
|
376
|
-
},
|
|
375
|
+
}, Ne = {
|
|
377
376
|
key: 1,
|
|
378
377
|
class: "flex-1 overflow-hidden"
|
|
379
|
-
},
|
|
378
|
+
}, Ee = /* @__PURE__ */ Object.assign({
|
|
380
379
|
name: "AppIntro"
|
|
381
380
|
}, {
|
|
382
381
|
__name: "layout",
|
|
@@ -405,31 +404,31 @@ import './assets/AppIntro.css';const t = {
|
|
|
405
404
|
}
|
|
406
405
|
},
|
|
407
406
|
emits: ["tab-change"],
|
|
408
|
-
setup(a, { emit:
|
|
409
|
-
const y =
|
|
407
|
+
setup(a, { emit: u }) {
|
|
408
|
+
const y = u, I = g(w.INTRO), E = G(() => [
|
|
410
409
|
{ label: "应用介绍", value: w.INTRO },
|
|
411
410
|
{ label: "迭代时间轴", value: w.TIMELINE }
|
|
412
411
|
]), T = (r) => {
|
|
413
412
|
y("tab-change", r);
|
|
414
413
|
};
|
|
415
|
-
return (r, e) => (
|
|
416
|
-
d("div",
|
|
417
|
-
|
|
414
|
+
return (r, e) => (l(), i("div", he, [
|
|
415
|
+
d("div", ve, [
|
|
416
|
+
c(o(z), {
|
|
418
417
|
modelValue: I.value,
|
|
419
418
|
"onUpdate:modelValue": e[0] || (e[0] = (n) => I.value = n),
|
|
420
419
|
options: E.value,
|
|
421
420
|
onChange: T
|
|
422
421
|
}, null, 8, ["modelValue", "options"])
|
|
423
422
|
]),
|
|
424
|
-
I.value ===
|
|
425
|
-
|
|
426
|
-
default:
|
|
427
|
-
|
|
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")
|
|
428
427
|
]),
|
|
429
428
|
_: 3
|
|
430
429
|
}, 8, ["intro-data"])
|
|
431
|
-
])) : I.value ===
|
|
432
|
-
|
|
430
|
+
])) : I.value === o(w).TIMELINE ? (l(), i("div", Ne, [
|
|
431
|
+
c(Ie, {
|
|
433
432
|
"app-operation-list": a.appOperationList,
|
|
434
433
|
square: a.square,
|
|
435
434
|
"vue-router": a.vueRouter,
|
|
@@ -438,8 +437,8 @@ import './assets/AppIntro.css';const t = {
|
|
|
438
437
|
])) : f("", !0)
|
|
439
438
|
]));
|
|
440
439
|
}
|
|
441
|
-
}),
|
|
440
|
+
}), Fe = V(Ee);
|
|
442
441
|
export {
|
|
443
|
-
|
|
444
|
-
|
|
442
|
+
Fe as AppIntro,
|
|
443
|
+
Fe as default
|
|
445
444
|
};
|
package/es/PluginDetail.mjs
CHANGED
|
@@ -1,14 +1,92 @@
|
|
|
1
|
-
import { w as
|
|
2
|
-
import {
|
|
3
|
-
import { ElButton as
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
1
|
+
import { w as N } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
+
import { computed as B, createBlock as m, openBlock as t, unref as V, withCtx as D, createElementBlock as n, Fragment as c, renderList as M, normalizeClass as $, toDisplayString as h, createTextVNode as S, ref as y, watch as w, onMounted as H, createCommentVNode as o, createVNode as I, createElementVNode as P, renderSlot as g, nextTick as z } from "vue";
|
|
3
|
+
import { ElTable as R, ElTableColumn as F, ElButton as _, ElSegmented as j } from "element-plus";
|
|
4
|
+
import { C as b } from "./chunks/layout.BKJPyxR8.js";
|
|
5
|
+
import { _ as J } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
|
+
import './assets/PluginDetail.css';const v = {
|
|
7
|
+
name: "name",
|
|
8
|
+
type: "type",
|
|
9
|
+
required: "required",
|
|
10
|
+
description: "description"
|
|
11
|
+
}, L = [
|
|
12
|
+
{
|
|
13
|
+
label: "参数名",
|
|
14
|
+
prop: v.name
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
label: "参数类型",
|
|
18
|
+
prop: v.type
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
label: "必填",
|
|
22
|
+
prop: v.required
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
label: "描述",
|
|
26
|
+
prop: v.description
|
|
27
|
+
}
|
|
28
|
+
], U = {
|
|
6
29
|
key: 1,
|
|
7
|
-
class: "
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
30
|
+
class: "type-tag"
|
|
31
|
+
}, x = {
|
|
32
|
+
__name: "ParamsTable",
|
|
33
|
+
props: {
|
|
34
|
+
data: {
|
|
35
|
+
type: [Array, String],
|
|
36
|
+
default: () => []
|
|
37
|
+
},
|
|
38
|
+
columns: {
|
|
39
|
+
type: Array,
|
|
40
|
+
default: () => L
|
|
41
|
+
},
|
|
42
|
+
hideColumns: {
|
|
43
|
+
type: Array,
|
|
44
|
+
default: () => []
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
setup(a) {
|
|
48
|
+
const u = a, A = B(() => {
|
|
49
|
+
let r = u.data;
|
|
50
|
+
if (typeof r == "string")
|
|
51
|
+
try {
|
|
52
|
+
r = JSON.parse(r);
|
|
53
|
+
} catch (i) {
|
|
54
|
+
return console.error("解析参数数据失败:", i), [];
|
|
55
|
+
}
|
|
56
|
+
return !r || !Array.isArray(r) ? [] : r;
|
|
57
|
+
}), s = B(() => !u.hideColumns || u.hideColumns.length === 0 ? u.columns : u.columns.filter((r) => !u.hideColumns.includes(r.prop)));
|
|
58
|
+
return (r, i) => (t(), m(V(R), {
|
|
59
|
+
data: A.value,
|
|
60
|
+
"row-key": "uiid",
|
|
61
|
+
"tree-props": { children: "children", hasChildren: "hasChildren" },
|
|
62
|
+
stripe: ""
|
|
63
|
+
}, {
|
|
64
|
+
default: D(() => [
|
|
65
|
+
(t(!0), n(c, null, M(s.value, (l) => (t(), m(V(F), {
|
|
66
|
+
key: l.prop,
|
|
67
|
+
prop: l.prop,
|
|
68
|
+
label: l.label,
|
|
69
|
+
width: l.width,
|
|
70
|
+
"min-width": l.minWidth
|
|
71
|
+
}, {
|
|
72
|
+
default: D(({ row: d }) => [
|
|
73
|
+
l.prop === "required" ? (t(), n("span", {
|
|
74
|
+
key: 0,
|
|
75
|
+
class: $(d.required ? "required-yes" : "required-no")
|
|
76
|
+
}, h(d.required ? "是" : "否"), 3)) : l.prop === "type" ? (t(), n("span", U, h(d.type), 1)) : (t(), n(c, { key: 2 }, [
|
|
77
|
+
S(h(d[l.prop] || "-"), 1)
|
|
78
|
+
], 64))
|
|
79
|
+
]),
|
|
80
|
+
_: 2
|
|
81
|
+
}, 1032, ["prop", "label", "width", "min-width"]))), 128))
|
|
82
|
+
]),
|
|
83
|
+
_: 1
|
|
84
|
+
}, 8, ["data"]));
|
|
85
|
+
}
|
|
86
|
+
}, W = { key: 0 }, G = { key: 1 }, K = {
|
|
87
|
+
key: 4,
|
|
88
|
+
class: "radius-12 border-f0f0f0 pd-l-20 pd-r-20 pd-b-24 pd-t-20 mg-b-34"
|
|
89
|
+
}, Q = { class: "weight-400 fz-16 text-666666 lh-24" }, X = { class: "flex justify-end items-center gap-10 text-right" }, Y = {
|
|
12
90
|
__name: "layout",
|
|
13
91
|
props: {
|
|
14
92
|
intro: {
|
|
@@ -19,10 +97,6 @@ import './assets/PluginDetail.css';const A = { key: 0 }, D = { key: 1 }, j = {
|
|
|
19
97
|
type: String,
|
|
20
98
|
default: ""
|
|
21
99
|
},
|
|
22
|
-
tabOptions: {
|
|
23
|
-
type: Array,
|
|
24
|
-
default: () => []
|
|
25
|
-
},
|
|
26
100
|
modelValue: {
|
|
27
101
|
type: [String, Number],
|
|
28
102
|
default: ""
|
|
@@ -30,91 +104,174 @@ import './assets/PluginDetail.css';const A = { key: 0 }, D = { key: 1 }, j = {
|
|
|
30
104
|
tabItems: {
|
|
31
105
|
type: Array,
|
|
32
106
|
default: () => []
|
|
107
|
+
},
|
|
108
|
+
// 插件 详情 接口
|
|
109
|
+
pluginDetailApi: {
|
|
110
|
+
type: Function,
|
|
111
|
+
default: () => {
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
// 是否显示输入参数
|
|
115
|
+
showInputParams: {
|
|
116
|
+
type: Boolean,
|
|
117
|
+
default: !0
|
|
118
|
+
},
|
|
119
|
+
// 是否显示输出参数
|
|
120
|
+
showOutputParams: {
|
|
121
|
+
type: Boolean,
|
|
122
|
+
default: !0
|
|
123
|
+
},
|
|
124
|
+
// 输入参数隐藏的列
|
|
125
|
+
inputParamsHideColumns: {
|
|
126
|
+
type: Array,
|
|
127
|
+
default: () => []
|
|
128
|
+
},
|
|
129
|
+
// 输出参数隐藏的列
|
|
130
|
+
outputParamsHideColumns: {
|
|
131
|
+
type: Array,
|
|
132
|
+
default: () => [v.required]
|
|
133
|
+
},
|
|
134
|
+
// 是否 显示 插件简介
|
|
135
|
+
showIntro: {
|
|
136
|
+
type: Boolean,
|
|
137
|
+
default: !0
|
|
33
138
|
}
|
|
34
139
|
},
|
|
35
140
|
emits: ["update:modelValue", "tab-change"],
|
|
36
|
-
setup(
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
const e =
|
|
44
|
-
e && (
|
|
141
|
+
setup(a, { expose: u, emit: A }) {
|
|
142
|
+
const s = a, r = A, i = y(!1), l = y(!1), d = y(null), p = y(s.modelValue), T = B(() => !s.tabItems?.length || !p.value ? null : s.tabItems.find((e) => e.bnid == p.value) || null), O = () => {
|
|
143
|
+
i.value = !i.value;
|
|
144
|
+
}, E = (e) => {
|
|
145
|
+
r("update:modelValue", e), r("tab-change", e);
|
|
146
|
+
}, q = () => {
|
|
147
|
+
z(() => {
|
|
148
|
+
const e = d.value;
|
|
149
|
+
e && (l.value = e.scrollHeight > 24);
|
|
45
150
|
});
|
|
46
|
-
};
|
|
47
|
-
return
|
|
48
|
-
() =>
|
|
151
|
+
}, f = y(null);
|
|
152
|
+
return w(
|
|
153
|
+
() => T.value?.bnid,
|
|
49
154
|
(e) => {
|
|
50
|
-
|
|
155
|
+
e && s.pluginDetailApi(e).then((k) => {
|
|
156
|
+
f.value = k?.data?.[0];
|
|
157
|
+
});
|
|
158
|
+
},
|
|
159
|
+
{ immediate: !0 }
|
|
160
|
+
), w(
|
|
161
|
+
() => s.modelValue,
|
|
162
|
+
(e) => {
|
|
163
|
+
p.value = e;
|
|
51
164
|
}
|
|
52
|
-
),
|
|
53
|
-
() =>
|
|
165
|
+
), w(
|
|
166
|
+
() => s.tabItems,
|
|
167
|
+
(e) => {
|
|
168
|
+
p.value = e?.[0]?.bnid;
|
|
169
|
+
},
|
|
170
|
+
{ immediate: !0 }
|
|
171
|
+
), w(
|
|
172
|
+
() => s.description,
|
|
54
173
|
() => {
|
|
55
|
-
|
|
174
|
+
q();
|
|
56
175
|
},
|
|
57
176
|
{ immediate: !0 }
|
|
58
|
-
),
|
|
59
|
-
|
|
60
|
-
}),
|
|
61
|
-
checkShowMoreBtn:
|
|
62
|
-
currentTabItem:
|
|
63
|
-
}), (e,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
177
|
+
), H(() => {
|
|
178
|
+
q();
|
|
179
|
+
}), u({
|
|
180
|
+
checkShowMoreBtn: q,
|
|
181
|
+
currentTabItem: T
|
|
182
|
+
}), (e, k) => (t(), n(c, null, [
|
|
183
|
+
a.showIntro ? (t(), n(c, { key: 0 }, [
|
|
184
|
+
I(b, {
|
|
185
|
+
content: "插件简介",
|
|
186
|
+
class: "mg-b-16"
|
|
187
|
+
}),
|
|
188
|
+
P("div", {
|
|
189
|
+
class: $(["weight-400 fz-16 text-666", i.value ? "" : "hide-more"]),
|
|
190
|
+
ref_key: "descRef",
|
|
191
|
+
ref: d
|
|
192
|
+
}, [
|
|
193
|
+
g(e.$slots, "intro", {}, () => [
|
|
194
|
+
S(h(a.intro), 1)
|
|
195
|
+
], !0)
|
|
196
|
+
], 2)
|
|
197
|
+
], 64)) : o("", !0),
|
|
198
|
+
I(b, {
|
|
199
|
+
content: "工具描述",
|
|
200
|
+
class: "mg-b-16 mg-t-34"
|
|
201
|
+
}),
|
|
202
|
+
P("div", {
|
|
203
|
+
class: $(["weight-400 fz-16 text-666", i.value ? "" : "hide-more"]),
|
|
77
204
|
ref_key: "descRef",
|
|
78
|
-
ref:
|
|
205
|
+
ref: d
|
|
79
206
|
}, [
|
|
80
|
-
|
|
81
|
-
|
|
207
|
+
g(e.$slots, "description", {}, () => [
|
|
208
|
+
S(h(a.description), 1)
|
|
82
209
|
], !0)
|
|
83
210
|
], 2),
|
|
84
|
-
|
|
85
|
-
key:
|
|
211
|
+
l.value ? (t(), m(V(_), {
|
|
212
|
+
key: 1,
|
|
86
213
|
type: "text",
|
|
87
|
-
onClick:
|
|
214
|
+
onClick: O
|
|
88
215
|
}, {
|
|
89
|
-
default:
|
|
90
|
-
|
|
216
|
+
default: D(() => [
|
|
217
|
+
i.value ? (t(), n("span", G, "收起")) : (t(), n("span", W, "查看更多"))
|
|
91
218
|
]),
|
|
92
219
|
_: 1
|
|
93
|
-
})) :
|
|
94
|
-
|
|
95
|
-
o.tabOptions?.length ? (t(), k(V(_), {
|
|
220
|
+
})) : o("", !0),
|
|
221
|
+
a.tabItems?.length ? (t(), m(b, {
|
|
96
222
|
key: 2,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
223
|
+
content: "插件工具",
|
|
224
|
+
class: "mg-b-16 mg-t-34"
|
|
225
|
+
})) : o("", !0),
|
|
226
|
+
a.tabItems?.length ? (t(), m(V(j), {
|
|
227
|
+
key: 3,
|
|
228
|
+
modelValue: p.value,
|
|
229
|
+
"onUpdate:modelValue": k[0] || (k[0] = (C) => p.value = C),
|
|
230
|
+
options: a.tabItems.map((C) => ({
|
|
231
|
+
label: C.interfaceName,
|
|
232
|
+
value: C.bnid
|
|
233
|
+
})),
|
|
234
|
+
onChange: E,
|
|
101
235
|
class: "mg-b-16"
|
|
102
|
-
}, null, 8, ["modelValue", "options"])) :
|
|
103
|
-
e.$slots.default || e.$slots.actions ? (t(),
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
236
|
+
}, null, 8, ["modelValue", "options"])) : o("", !0),
|
|
237
|
+
e.$slots.default || e.$slots.actions ? (t(), n("div", K, [
|
|
238
|
+
P("div", Q, [
|
|
239
|
+
g(e.$slots, "default", {}, () => [
|
|
240
|
+
S(h(T.value?.description), 1)
|
|
107
241
|
], !0)
|
|
108
242
|
]),
|
|
109
|
-
|
|
110
|
-
|
|
243
|
+
P("div", X, [
|
|
244
|
+
g(e.$slots, "actions", {}, void 0, !0)
|
|
111
245
|
])
|
|
112
|
-
])) :
|
|
113
|
-
|
|
246
|
+
])) : o("", !0),
|
|
247
|
+
a.showInputParams && a.tabItems?.length ? (t(), n(c, { key: 5 }, [
|
|
248
|
+
I(b, {
|
|
249
|
+
content: "输入参数",
|
|
250
|
+
class: "mg-b-16"
|
|
251
|
+
}),
|
|
252
|
+
f.value?.paramsOuter ? (t(), m(x, {
|
|
253
|
+
key: 0,
|
|
254
|
+
data: f.value.paramsOuter,
|
|
255
|
+
"hide-columns": a.inputParamsHideColumns
|
|
256
|
+
}, null, 8, ["data", "hide-columns"])) : o("", !0)
|
|
257
|
+
], 64)) : o("", !0),
|
|
258
|
+
a.showOutputParams && a.tabItems?.length ? (t(), n(c, { key: 6 }, [
|
|
259
|
+
I(b, {
|
|
260
|
+
content: "输出参数",
|
|
261
|
+
class: "mg-b-16 mg-t-34"
|
|
262
|
+
}),
|
|
263
|
+
f.value?.responseOuter ? (t(), m(x, {
|
|
264
|
+
key: 0,
|
|
265
|
+
data: f.value.responseOuter,
|
|
266
|
+
"hide-columns": a.outputParamsHideColumns
|
|
267
|
+
}, null, 8, ["data", "hide-columns"])) : o("", !0)
|
|
268
|
+
], 64)) : o("", !0),
|
|
269
|
+
g(e.$slots, "plugin-detail", {}, void 0, !0)
|
|
114
270
|
], 64));
|
|
115
271
|
}
|
|
116
|
-
},
|
|
272
|
+
}, Z = /* @__PURE__ */ J(Y, [["__scopeId", "data-v-92a63eac"]]), ne = N(Z), se = N(x);
|
|
117
273
|
export {
|
|
118
|
-
|
|
119
|
-
|
|
274
|
+
ne as PluginDetail,
|
|
275
|
+
se as PluginDetailParamsTable,
|
|
276
|
+
ne as default
|
|
120
277
|
};
|
package/es/assets/AppIntro.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.hover-overlay[data-v-
|
|
1
|
+
.hover-overlay[data-v-f5af90d9]{background:#00000080}[data-v-3a2170d7] .el-timeline-item__timestamp{color:#86909c}[data-v-3a2170d7] .el-card{background:var(--neutral-color-18)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.hide-more[data-v-
|
|
1
|
+
.hide-more[data-v-92a63eac]{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.border-f0f0f0[data-v-92a63eac]{border:1px solid var(--neutral-color-6)}
|
package/es/index.mjs
CHANGED
|
@@ -3,32 +3,32 @@ import { CustomSelect as i } from "./CustomSelect.mjs";
|
|
|
3
3
|
import { SearchBar as e } from "./SearchBar.mjs";
|
|
4
4
|
import { PaginationTable as p } from "./PaginationTable.mjs";
|
|
5
5
|
import { UploadFile as n } from "./UploadFile.mjs";
|
|
6
|
-
import { FileList as
|
|
7
|
-
import { BatchImport as
|
|
6
|
+
import { FileList as a } from "./FileList.mjs";
|
|
7
|
+
import { BatchImport as f } from "./BatchImport.mjs";
|
|
8
8
|
import { GradientButton as l } from "./GradientButton.mjs";
|
|
9
9
|
import { CustomDialog as s } from "./CustomDialog.mjs";
|
|
10
10
|
import { CustomPagination as c } from "./CustomPagination.mjs";
|
|
11
11
|
import { CustomTitle as u } from "./CustomTitle.mjs";
|
|
12
12
|
import { CustomDropdown as S } from "./CustomDropdown.mjs";
|
|
13
|
-
import { TreeSelect as
|
|
14
|
-
import { TreeShowSelect as
|
|
15
|
-
import { IconEmpty as
|
|
16
|
-
import { IconRenderer as
|
|
17
|
-
import { IconSelect as
|
|
18
|
-
import { PageNotFound as
|
|
13
|
+
import { TreeSelect as T } from "./TreeSelect.mjs";
|
|
14
|
+
import { TreeShowSelect as d } from "./TreeShowSelect.mjs";
|
|
15
|
+
import { IconEmpty as I } from "./IconEmpty.mjs";
|
|
16
|
+
import { IconRenderer as P, iconLibraryMap as _ } from "./IconRenderer.mjs";
|
|
17
|
+
import { IconSelect as g } from "./IconSelect.mjs";
|
|
18
|
+
import { PageNotFound as B } from "./PageNotFound.mjs";
|
|
19
19
|
import { UpdatePasswordDialog as D } from "./UpdatePasswordDialog.mjs";
|
|
20
|
-
import { BUILD_BIG_TITLES as L, BUILD_STEPS as
|
|
20
|
+
import { BUILD_BIG_TITLES as L, BUILD_STEPS as b, BUILD_TITLES as C, BUILD_TYPES as E, BuildComponents as U, STEP_ARROW_IMAGE as y } from "./BuildComponents.mjs";
|
|
21
21
|
import { CustomTab as w } from "./CustomTab.mjs";
|
|
22
|
-
import { PluginDetail as h } from "./PluginDetail.mjs";
|
|
23
|
-
import { dayjs as
|
|
22
|
+
import { PluginDetail as h, PluginDetailParamsTable as j } from "./PluginDetail.mjs";
|
|
23
|
+
import { dayjs as A } from "element-plus";
|
|
24
24
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25
25
|
__proto__: null,
|
|
26
26
|
AppIntro: m,
|
|
27
27
|
BUILD_BIG_TITLES: L,
|
|
28
|
-
BUILD_STEPS:
|
|
29
|
-
BUILD_TITLES:
|
|
30
|
-
BUILD_TYPES:
|
|
31
|
-
BatchImport:
|
|
28
|
+
BUILD_STEPS: b,
|
|
29
|
+
BUILD_TITLES: C,
|
|
30
|
+
BUILD_TYPES: E,
|
|
31
|
+
BatchImport: f,
|
|
32
32
|
BuildComponents: U,
|
|
33
33
|
CustomDialog: s,
|
|
34
34
|
CustomDropdown: S,
|
|
@@ -36,36 +36,37 @@ const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
36
36
|
CustomSelect: i,
|
|
37
37
|
CustomTab: w,
|
|
38
38
|
CustomTitle: u,
|
|
39
|
-
FileList:
|
|
39
|
+
FileList: a,
|
|
40
40
|
GradientButton: l,
|
|
41
|
-
IconEmpty:
|
|
42
|
-
IconRenderer:
|
|
43
|
-
IconSelect:
|
|
44
|
-
PageNotFound:
|
|
41
|
+
IconEmpty: I,
|
|
42
|
+
IconRenderer: P,
|
|
43
|
+
IconSelect: g,
|
|
44
|
+
PageNotFound: B,
|
|
45
45
|
PaginationTable: p,
|
|
46
46
|
PluginDetail: h,
|
|
47
|
+
PluginDetailParamsTable: j,
|
|
47
48
|
STEP_ARROW_IMAGE: y,
|
|
48
49
|
SearchBar: e,
|
|
49
|
-
TreeSelect:
|
|
50
|
-
TreeShowSelect:
|
|
50
|
+
TreeSelect: T,
|
|
51
|
+
TreeShowSelect: d,
|
|
51
52
|
UpdatePasswordDialog: D,
|
|
52
53
|
UploadFile: n,
|
|
53
|
-
iconLibraryMap:
|
|
54
|
+
iconLibraryMap: _
|
|
54
55
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
55
|
-
|
|
56
|
-
const
|
|
56
|
+
A.en.weekStart = 1;
|
|
57
|
+
const F = (t) => {
|
|
57
58
|
for (const r in o)
|
|
58
59
|
o[r].install && t.use(o[r]);
|
|
59
|
-
},
|
|
60
|
-
install:
|
|
60
|
+
}, mo = {
|
|
61
|
+
install: F
|
|
61
62
|
};
|
|
62
63
|
export {
|
|
63
64
|
m as AppIntro,
|
|
64
65
|
L as BUILD_BIG_TITLES,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
b as BUILD_STEPS,
|
|
67
|
+
C as BUILD_TITLES,
|
|
68
|
+
E as BUILD_TYPES,
|
|
69
|
+
f as BatchImport,
|
|
69
70
|
U as BuildComponents,
|
|
70
71
|
s as CustomDialog,
|
|
71
72
|
S as CustomDropdown,
|
|
@@ -73,20 +74,21 @@ export {
|
|
|
73
74
|
i as CustomSelect,
|
|
74
75
|
w as CustomTab,
|
|
75
76
|
u as CustomTitle,
|
|
76
|
-
|
|
77
|
+
a as FileList,
|
|
77
78
|
l as GradientButton,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
I as IconEmpty,
|
|
80
|
+
P as IconRenderer,
|
|
81
|
+
g as IconSelect,
|
|
82
|
+
B as PageNotFound,
|
|
82
83
|
p as PaginationTable,
|
|
83
84
|
h as PluginDetail,
|
|
85
|
+
j as PluginDetailParamsTable,
|
|
84
86
|
y as STEP_ARROW_IMAGE,
|
|
85
87
|
e as SearchBar,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
+
T as TreeSelect,
|
|
89
|
+
d as TreeShowSelect,
|
|
88
90
|
D as UpdatePasswordDialog,
|
|
89
91
|
n as UploadFile,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
+
mo as default,
|
|
93
|
+
_ as iconLibraryMap
|
|
92
94
|
};
|
package/lib/AppIntro.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./assets/AppIntro.css');const T=require("./chunks/index.CkihWzK6.js"),e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./assets/AppIntro.css');const T=require("./chunks/index.CkihWzK6.js"),e=require("vue"),c=require("element-plus"),g=require("color-message-lingyun-vue"),w=require("./chunks/layout.B9EVVV-O.js"),V=require("./chunks/layout.B-T_NE6r.js"),I=require("./chunks/_plugin-vue_export-helper.BHFhmbuH.js"),_=require("ling-yun-methods"),o={LISTING:1,DELISTING:2,ONLINE:3,OFFLINE:4},y={PENDING:0,APPROVED:1,REJECTED:2},h={IMAGE:1,VIDEO:2},f={INTRO:"intro",TIMELINE:"timeline"},B={[o.LISTING]:"上架申请",[o.DELISTING]:"下架申请",[o.ONLINE]:"上线应用",[o.OFFLINE]:"下线应用"},N={[y.PENDING]:{type:"warning",text:"待审核"},[y.APPROVED]:{type:"primary",text:"已通过"},[y.REJECTED]:{type:"danger",text:"已驳回"}},L=[{title:"申请人:",field:"appCreatorName"},{title:"应用省份:",field:"appCreatorOrg"},{title:"应用说明:",field:"appDesc"},{title:"接入系统:",field:"accessSystem"},{title:"业务背景:",field:"businessBackground"},{title:"业务目标:",field:"businessTarget"},{title:"成效数据:",field:"resultData"}],C=[{title:"申请人",field:"creatorName",showForTypes:[o.LISTING,o.DELISTING]},{title:"操作人",field:"creatorName",showForTypes:[o.ONLINE,o.OFFLINE]},{title:"下架原因",field:"delistingReason",showForTypes:[o.DELISTING]},{title:"成效数据",field:"resultData",showForTypes:[o.LISTING]},{title:"推荐理由",field:"recommendReason",showForTypes:[o.LISTING]},{title:"版本号",field:"appVersionNum",showForTypes:[o.ONLINE,o.OFFLINE],formatter:l=>l?`V${l}`:"--"},{title:"配置摘要",field:"configSummary",showForTypes:[o.ONLINE]},{title:"版本说明",field:"publishRemark",showForTypes:[o.ONLINE,o.OFFLINE]},{title:"下线原因",field:"offlineReason",showForTypes:[o.OFFLINE]}],E={[o.LISTING]:{text:"查看上架申请"},[o.DELISTING]:{text:"查看下架申请"}},D={key:0,class:"media-video relative w-full"},x=["src"],F={key:1,class:"media-image relative w-full"},S=["src"],k={__name:"MediaViewer",props:{media:{type:Object,default:null}},setup(l){return(i,d)=>l.media?.type===e.unref(h).VIDEO?(e.openBlock(),e.createElementBlock("div",D,[e.createElementVNode("video",{class:"w-full",src:l.media.url,controls:""},null,8,x)])):l.media?.type===e.unref(h).IMAGE?(e.openBlock(),e.createElementBlock("div",F,[e.createElementVNode("img",{class:"w-full",src:l.media.url,alt:""},null,8,S)])):e.createCommentVNode("",!0)}},b={class:"app-intro-content overflow-hidden h-full"},O={key:0,class:"media-section w-full pd-b-12"},$={class:"media-content relative w-full"},G=["onClick"],M={class:"info-section"},R={class:"flex items-center"},q={class:"fz-14 text-666 pd-r-12"},A={class:"preview-content"},P={__name:"AppIntroContent",props:{introData:{type:Object,default:()=>({})}},setup(l){const i=e.ref(!1),d=e.ref(null),u=r=>{d.value=r,i.value=!0},m=()=>{i.value=!1,d.value=null},p=r=>{try{const t=document.createElement("a");t.href=r.attachementUrl,t.download=r.attachementName,t.style.display="none",t.target="_blank",document.body.appendChild(t),t.click(),document.body.removeChild(t)}catch(t){console.error(t)}};return(r,t)=>(e.openBlock(),e.createElementBlock("div",b,[l.introData?.pics?.length>0?(e.openBlock(),e.createElementBlock("div",O,[e.createElementVNode("div",$,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.introData.pics,(a,n)=>(e.openBlock(),e.createElementBlock("div",{key:n,class:"media-item w-full"},[e.createVNode(k,{media:a},null,8,["media"]),e.createElementVNode("div",{class:"hover-overlay absolute top-0 left-0 w-full h-full flex justify-center items-center",onClick:s=>u(a)},[e.createVNode(e.unref(c.ElIcon),{size:24,class:"view-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(g.IconLook))]),_:1})],8,G)]))),128))])])):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"default",{},void 0,!0),e.createElementVNode("div",M,[e.createVNode(e.unref(c.ElForm),{model:l.introData,"label-width":"auto"},{default:e.withCtx(()=>[["agent","workflow"].includes(l.introData?.appCategory)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(L),a=>(e.openBlock(),e.createBlock(e.unref(c.ElFormItem),{key:a.field,label:a.title,class:"mg-b-0"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.introData?.[a.field]??"--"),1)]),_:2},1032,["label"]))),128)):e.createCommentVNode("",!0)]),_:1},8,["model"]),l.introData?.attachements?.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(V.CustomTitle,{content:"附件:",class:"pd-b-12 pd-t-24"}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.introData.attachements,(a,n)=>(e.openBlock(),e.createElementBlock("div",{key:n,class:"mg-b-8"},[e.createElementVNode("div",R,[e.createElementVNode("span",q,e.toDisplayString(a.attachementName),1),a.attachementUrl?(e.openBlock(),e.createBlock(e.unref(c.ElLink),{key:0,type:"primary",underline:!1,onClick:s=>p(a)},{default:e.withCtx(()=>[...t[1]||(t[1]=[e.createTextVNode(" 点击查看 ",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0)])]))),128))],64)):e.createCommentVNode("",!0)]),e.createVNode(w.CustomDialog,{modelValue:i.value,"onUpdate:modelValue":t[0]||(t[0]=a=>i.value=a),width:"60%","show-close":!0,onClose:m,buttons:{showCancel:!1,showConfirm:!1}},{default:e.withCtx(()=>[e.createElementVNode("div",A,[e.createVNode(k,{media:d.value,class:"preview-media"},null,8,["media"])])]),_:1},8,["modelValue"])]))}},j=I._export_sfc(P,[["__scopeId","data-v-f5af90d9"]]),z={class:"flex items-center flex-gap-row-nowrap-8 mg-b-12"},U={class:"fz-14 weight-500",style:{color:"#1d2129"}},H={class:"fz-14",style:{color:"#4e5969"}},J={__name:"AppTimeline",props:{appId:{type:String,default:""},square:{type:Boolean,default:!1},vueRouter:{type:Object,default:()=>({})},appOperationList:{type:Function,default:()=>{}}},setup(l){const i=l,d=async t=>{i.vueRouter.push({path:"/promptTestDetail",query:{id:t.id,type:t.auditStatus,sourceFlag:"1",operationType:t.operationType,sourceHistory:"1"}})},u=t=>[o.LISTING,o.DELISTING].includes(t),m=t=>C.filter(a=>a.showForTypes.includes(t)),p=e.ref([]),r=async()=>{await i.appOperationList({appId:i.appId,operationType:[o.LISTING,o.DELISTING,o.ONLINE,o.OFFLINE].join(","),pageNum:_.pageParams.pageNum,pageSize:1e6}).then(({data:t})=>{p.value=t.list})};return e.onMounted(()=>{r()}),(t,a)=>(e.openBlock(),e.createBlock(e.unref(c.ElTimeline),{class:"overflow-y-auto h-full pd-l-4"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,n=>(e.openBlock(),e.createBlock(e.unref(c.ElTimelineItem),{key:n.id,timestamp:n.createTime,placement:"top",color:"var(--primary-color-1)"},{default:e.withCtx(()=>[e.createVNode(e.unref(c.ElCard),{shadow:"hover"},{default:e.withCtx(()=>[e.createElementVNode("div",z,[e.createElementVNode("span",U,e.toDisplayString(e.unref(B)[n.operationType]||"--"),1),u(n.operationType)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(N)[n.auditStatus]?(e.openBlock(),e.createBlock(e.unref(c.ElTag),{key:0,type:e.unref(N)[n.auditStatus].type},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(N)[n.auditStatus].text),1)]),_:2},1032,["type"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]),e.createElementVNode("div",H,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m(n.operationType),s=>(e.openBlock(),e.createElementBlock("div",{key:s.field+s.title,class:"mg-t-8 mg-b-8",style:{"line-height":"1.5"}},e.toDisplayString(s.title)+":"+e.toDisplayString(s.formatter?s.formatter(n[s.field]):n[s.field]??"--"),1))),128)),e.unref(E)[n.operationType]&&!l.square?(e.openBlock(),e.createBlock(e.unref(c.ElLink),{key:0,type:"primary",underline:!1,class:"mg-t-8",onClick:s=>d(n)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(E)[n.operationType].text),1)]),_:2},1032,["onClick"])):e.createCommentVNode("",!0)])]),_:2},1024)]),_:2},1032,["timestamp"]))),128))]),_:1}))}},Y=I._export_sfc(J,[["__scopeId","data-v-3a2170d7"]]),K={class:"h-full overflow-hidden flex flex-col pd-t-12"},Q={class:"pd-b-12"},W={key:0,class:"flex-1 overflow-hidden"},X={key:1,class:"flex-1 overflow-hidden"},Z=Object.assign({name:"AppIntro"},{__name:"layout",props:{introData:{type:Object,default:()=>({})},square:{type:Boolean,default:!1},vueRouter:{type:Object,default:()=>({})},appId:{type:String,default:""},appOperationList:{type:Function,default:()=>{}}},emits:["tab-change"],setup(l,{emit:i}){const d=i,u=e.ref(f.INTRO),m=e.computed(()=>[{label:"应用介绍",value:f.INTRO},{label:"迭代时间轴",value:f.TIMELINE}]),p=r=>{d("tab-change",r)};return(r,t)=>(e.openBlock(),e.createElementBlock("div",K,[e.createElementVNode("div",Q,[e.createVNode(e.unref(c.ElSegmented),{modelValue:u.value,"onUpdate:modelValue":t[0]||(t[0]=a=>u.value=a),options:m.value,onChange:p},null,8,["modelValue","options"])]),u.value===e.unref(f).INTRO?(e.openBlock(),e.createElementBlock("div",W,[e.createVNode(j,{"intro-data":l.introData},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"plugin-detail")]),_:3},8,["intro-data"])])):u.value===e.unref(f).TIMELINE?(e.openBlock(),e.createElementBlock("div",X,[e.createVNode(Y,{"app-operation-list":l.appOperationList,square:l.square,"vue-router":l.vueRouter,"app-id":l.appId},null,8,["app-operation-list","square","vue-router","app-id"])])):e.createCommentVNode("",!0)]))}}),v=T.withInstall(Z);exports.AppIntro=v;exports.default=v;
|
package/lib/PluginDetail.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./assets/PluginDetail.css');const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./assets/PluginDetail.css');const B=require("./chunks/index.CkihWzK6.js"),e=require("vue"),f=require("element-plus"),d=require("./chunks/layout.B-T_NE6r.js"),w=require("./chunks/_plugin-vue_export-helper.BHFhmbuH.js"),m={name:"name",type:"type",required:"required",description:"description"},N=[{label:"参数名",prop:m.name},{label:"参数类型",prop:m.type},{label:"必填",prop:m.required},{label:"描述",prop:m.description}],S={key:1,class:"type-tag"},b={__name:"ParamsTable",props:{data:{type:[Array,String],default:()=>[]},columns:{type:Array,default:()=>N},hideColumns:{type:Array,default:()=>[]}},setup(a){const n=a,y=e.computed(()=>{let l=n.data;if(typeof l=="string")try{l=JSON.parse(l)}catch(s){return console.error("解析参数数据失败:",s),[]}return!l||!Array.isArray(l)?[]:l}),r=e.computed(()=>!n.hideColumns||n.hideColumns.length===0?n.columns:n.columns.filter(l=>!n.hideColumns.includes(l.prop)));return(l,s)=>(e.openBlock(),e.createBlock(e.unref(f.ElTable),{data:y.value,"row-key":"uiid","tree-props":{children:"children",hasChildren:"hasChildren"},stripe:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,o=>(e.openBlock(),e.createBlock(e.unref(f.ElTableColumn),{key:o.prop,prop:o.prop,label:o.label,width:o.width,"min-width":o.minWidth},{default:e.withCtx(({row:u})=>[o.prop==="required"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(u.required?"required-yes":"required-no")},e.toDisplayString(u.required?"是":"否"),3)):o.prop==="type"?(e.openBlock(),e.createElementBlock("span",S,e.toDisplayString(u.type),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(u[o.prop]||"-"),1)],64))]),_:2},1032,["prop","label","width","min-width"]))),128))]),_:1},8,["data"]))}},E={key:0},T={key:1},I={key:4,class:"radius-12 border-f0f0f0 pd-l-20 pd-r-20 pd-b-24 pd-t-20 mg-b-34"},P={class:"weight-400 fz-16 text-666666 lh-24"},D={class:"flex justify-end items-center gap-10 text-right"},q={__name:"layout",props:{intro:{type:String,default:""},description:{type:String,default:""},modelValue:{type:[String,Number],default:""},tabItems:{type:Array,default:()=>[]},pluginDetailApi:{type:Function,default:()=>{}},showInputParams:{type:Boolean,default:!0},showOutputParams:{type:Boolean,default:!0},inputParamsHideColumns:{type:Array,default:()=>[]},outputParamsHideColumns:{type:Array,default:()=>[m.required]},showIntro:{type:Boolean,default:!0}},emits:["update:modelValue","tab-change"],setup(a,{expose:n,emit:y}){const r=a,l=y,s=e.ref(!1),o=e.ref(!1),u=e.ref(null),i=e.ref(r.modelValue),g=e.computed(()=>!r.tabItems?.length||!i.value?null:r.tabItems.find(t=>t.bnid==i.value)||null),v=()=>{s.value=!s.value},V=t=>{l("update:modelValue",t),l("tab-change",t)},k=()=>{e.nextTick(()=>{const t=u.value;t&&(o.value=t.scrollHeight>24)})},c=e.ref(null);return e.watch(()=>g.value?.bnid,t=>{t&&r.pluginDetailApi(t).then(p=>{c.value=p?.data?.[0]})},{immediate:!0}),e.watch(()=>r.modelValue,t=>{i.value=t}),e.watch(()=>r.tabItems,t=>{i.value=t?.[0]?.bnid},{immediate:!0}),e.watch(()=>r.description,()=>{k()},{immediate:!0}),e.onMounted(()=>{k()}),n({checkShowMoreBtn:k,currentTabItem:g}),(t,p)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a.showIntro?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(d.CustomTitle,{content:"插件简介",class:"mg-b-16"}),e.createElementVNode("div",{class:e.normalizeClass(["weight-400 fz-16 text-666",s.value?"":"hide-more"]),ref_key:"descRef",ref:u},[e.renderSlot(t.$slots,"intro",{},()=>[e.createTextVNode(e.toDisplayString(a.intro),1)],!0)],2)],64)):e.createCommentVNode("",!0),e.createVNode(d.CustomTitle,{content:"工具描述",class:"mg-b-16 mg-t-34"}),e.createElementVNode("div",{class:e.normalizeClass(["weight-400 fz-16 text-666",s.value?"":"hide-more"]),ref_key:"descRef",ref:u},[e.renderSlot(t.$slots,"description",{},()=>[e.createTextVNode(e.toDisplayString(a.description),1)],!0)],2),o.value?(e.openBlock(),e.createBlock(e.unref(f.ElButton),{key:1,type:"text",onClick:v},{default:e.withCtx(()=>[s.value?(e.openBlock(),e.createElementBlock("span",T,"收起")):(e.openBlock(),e.createElementBlock("span",E,"查看更多"))]),_:1})):e.createCommentVNode("",!0),a.tabItems?.length?(e.openBlock(),e.createBlock(d.CustomTitle,{key:2,content:"插件工具",class:"mg-b-16 mg-t-34"})):e.createCommentVNode("",!0),a.tabItems?.length?(e.openBlock(),e.createBlock(e.unref(f.ElSegmented),{key:3,modelValue:i.value,"onUpdate:modelValue":p[0]||(p[0]=h=>i.value=h),options:a.tabItems.map(h=>({label:h.interfaceName,value:h.bnid})),onChange:V,class:"mg-b-16"},null,8,["modelValue","options"])):e.createCommentVNode("",!0),t.$slots.default||t.$slots.actions?(e.openBlock(),e.createElementBlock("div",I,[e.createElementVNode("div",P,[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(g.value?.description),1)],!0)]),e.createElementVNode("div",D,[e.renderSlot(t.$slots,"actions",{},void 0,!0)])])):e.createCommentVNode("",!0),a.showInputParams&&a.tabItems?.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:5},[e.createVNode(d.CustomTitle,{content:"输入参数",class:"mg-b-16"}),c.value?.paramsOuter?(e.openBlock(),e.createBlock(b,{key:0,data:c.value.paramsOuter,"hide-columns":a.inputParamsHideColumns},null,8,["data","hide-columns"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),a.showOutputParams&&a.tabItems?.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:6},[e.createVNode(d.CustomTitle,{content:"输出参数",class:"mg-b-16 mg-t-34"}),c.value?.responseOuter?(e.openBlock(),e.createBlock(b,{key:0,data:c.value.responseOuter,"hide-columns":a.outputParamsHideColumns},null,8,["data","hide-columns"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"plugin-detail",{},void 0,!0)],64))}},x=w._export_sfc(q,[["__scopeId","data-v-92a63eac"]]),C=B.withInstall(x),A=B.withInstall(b);exports.PluginDetail=C;exports.PluginDetailParamsTable=A;exports.default=C;
|
package/lib/assets/AppIntro.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.hover-overlay[data-v-
|
|
1
|
+
.hover-overlay[data-v-f5af90d9]{background:#00000080}[data-v-3a2170d7] .el-timeline-item__timestamp{color:#86909c}[data-v-3a2170d7] .el-card{background:var(--neutral-color-18)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.hide-more[data-v-
|
|
1
|
+
.hide-more[data-v-92a63eac]{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.border-f0f0f0[data-v-92a63eac]{border:1px solid var(--neutral-color-6)}
|
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 i=require("./AppIntro.js"),a=require("./CustomSelect.js"),l=require("./SearchBar.js"),s=require("./PaginationTable.js"),u=require("./UploadFile.js"),c=require("./FileList.js"),S=require("./BatchImport.js"),T=require("./GradientButton.js"),I=require("./CustomDialog.js"),m=require("./CustomPagination.js"),d=require("./CustomTitle.js"),p=require("./CustomDropdown.js"),P=require("./TreeSelect.js"),B=require("./TreeShowSelect.js"),D=require("./IconEmpty.js"),t=require("./IconRenderer.js"),g=require("./IconSelect.js"),C=require("./PageNotFound.js"),_=require("./UpdatePasswordDialog.js"),e=require("./BuildComponents.js"),L=require("./CustomTab.js"),o=require("./PluginDetail.js"),U=require("element-plus"),n=Object.freeze(Object.defineProperty({__proto__:null,AppIntro:i.AppIntro,BUILD_BIG_TITLES:e.BUILD_BIG_TITLES,BUILD_STEPS:e.BUILD_STEPS,BUILD_TITLES:e.BUILD_TITLES,BUILD_TYPES:e.BUILD_TYPES,BatchImport:S.BatchImport,BuildComponents:e.BuildComponents,CustomDialog:I.CustomDialog,CustomDropdown:p.CustomDropdown,CustomPagination:m.CustomPagination,CustomSelect:a.CustomSelect,CustomTab:L.CustomTab,CustomTitle:d.CustomTitle,FileList:c.FileList,GradientButton:T.GradientButton,IconEmpty:D.IconEmpty,IconRenderer:t.IconRenderer,IconSelect:g.IconSelect,PageNotFound:C.PageNotFound,PaginationTable:s.PaginationTable,PluginDetail:o.PluginDetail,PluginDetailParamsTable:o.PluginDetailParamsTable,STEP_ARROW_IMAGE:e.STEP_ARROW_IMAGE,SearchBar:l.SearchBar,TreeSelect:P.TreeSelect,TreeShowSelect:B.TreeShowSelect,UpdatePasswordDialog:_.UpdatePasswordDialog,UploadFile:u.UploadFile,iconLibraryMap:t.iconLibraryMap},Symbol.toStringTag,{value:"Module"}));U.dayjs.en.weekStart=1;const b=E=>{for(const r in n)n[r].install&&E.use(n[r])},q={install:b};exports.AppIntro=i.AppIntro;exports.CustomSelect=a.CustomSelect;exports.SearchBar=l.SearchBar;exports.PaginationTable=s.PaginationTable;exports.UploadFile=u.UploadFile;exports.FileList=c.FileList;exports.BatchImport=S.BatchImport;exports.GradientButton=T.GradientButton;exports.CustomDialog=I.CustomDialog;exports.CustomPagination=m.CustomPagination;exports.CustomTitle=d.CustomTitle;exports.CustomDropdown=p.CustomDropdown;exports.TreeSelect=P.TreeSelect;exports.TreeShowSelect=B.TreeShowSelect;exports.IconEmpty=D.IconEmpty;exports.IconRenderer=t.IconRenderer;exports.iconLibraryMap=t.iconLibraryMap;exports.IconSelect=g.IconSelect;exports.PageNotFound=C.PageNotFound;exports.UpdatePasswordDialog=_.UpdatePasswordDialog;exports.BUILD_BIG_TITLES=e.BUILD_BIG_TITLES;exports.BUILD_STEPS=e.BUILD_STEPS;exports.BUILD_TITLES=e.BUILD_TITLES;exports.BUILD_TYPES=e.BUILD_TYPES;exports.BuildComponents=e.BuildComponents;exports.STEP_ARROW_IMAGE=e.STEP_ARROW_IMAGE;exports.CustomTab=L.CustomTab;exports.PluginDetail=o.PluginDetail;exports.PluginDetailParamsTable=o.PluginDetailParamsTable;exports.default=q;
|
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.49",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"component library",
|
|
6
6
|
"ui framework",
|
|
@@ -140,7 +140,7 @@
|
|
|
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.37",
|
|
144
144
|
"color-star-custom-methods": "^0.0.4",
|
|
145
145
|
"lodash.debounce": "^4.0.8",
|
|
146
146
|
"lottie-web": "^5.13.0",
|