ss-component-new 1.3.920 → 1.3.923
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/dist/{array-BOFaaTtk.js → array-Dry6ngMN.js} +102 -102
- package/dist/{index-CS836UAc.js → index--MAfLRW8.js} +1 -1
- package/dist/{index-D84sREwE.js → index-6MwnWbJ0.js} +1 -1
- package/dist/{index-CZdrJy6X.js → index-BH0wCXXf.js} +1 -1
- package/dist/{index-BCH4sD2B.js → index-BPm6m65E.js} +2 -2
- package/dist/{index-C7PZF8o4.js → index-BUBs39eB.js} +2 -2
- package/dist/index-BndwkWQn.js +21043 -0
- package/dist/{index-CzDaIUVN.js → index-C-a_lRc5.js} +2 -2
- package/dist/{index-37ZfMC20.js → index-C1HoK8kd.js} +26841 -25879
- package/dist/{index-DA34yjrQ.js → index-CUyEqXcO.js} +1 -1
- package/dist/{index-QD6TbC-t.js → index-CsRtgfmX.js} +1 -1
- package/dist/{index-BHHOfGYQ.js → index-DPdXTCVU.js} +1 -1
- package/dist/{index-CjE5b9PA.js → index-eBhPvQJP.js} +3 -3
- package/dist/{main-Cx0qgqvp.js → main-D8baYsF8.js} +2 -2
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +5 -5
- package/dist/ss-component2.js +8 -8
- package/dist/{threeModel-CD24s7YI.js → threeModel-JZnHqprY.js} +31 -31
- package/dist/{threePreview-D-hkdCBS.js → threePreview-CnttwREq.js} +1 -1
- package/dist/{threeSceneView-DhUPcRqS.js → threeSceneView-gIkZ5WQQ.js} +3 -3
- package/dist/{threeSceneViewForCPMPIP-C4AEj1BW.js → threeSceneViewForCPMPIP-B0a5YuEL.js} +1 -1
- package/dist/{threeViewerHost-C9CWlmYv.js → threeViewerHost-6TdF60JE.js} +1 -1
- package/package.json +1 -1
- package/dist/index-1rFDiB68.js +0 -20986
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ref as k, computed as ae, resolveComponent as te, createElementBlock as H, openBlock as p, Fragment as ue, renderList as ce, createElementVNode as w, toDisplayString as re, createVNode as R, reactive as la, watch as
|
|
2
|
-
import {
|
|
1
|
+
import { ref as k, computed as ae, resolveComponent as te, createElementBlock as H, openBlock as p, Fragment as ue, renderList as ce, createElementVNode as w, toDisplayString as re, createVNode as R, reactive as la, watch as _e, createBlock as j, resolveDynamicComponent as le, unref as b, withCtx as L, isRef as Ye, createTextVNode as de, createCommentVNode as q, normalizeStyle as ta, withModifiers as ve, normalizeClass as qe, nextTick as na } from "vue";
|
|
2
|
+
import { Z as De, g as aa, G as oa, H as sa, I as Je, _ as ra } from "./index-C1HoK8kd.js";
|
|
3
3
|
import { a as Ce, p as he, s as ie, c as K, u as ke, E as ua } from "./index-DBD9kze_.js";
|
|
4
4
|
import { _ as we } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import ca from "./index-rlStojTL.js";
|
|
6
|
-
import { e as ia, d as da } from "./index-
|
|
6
|
+
import { e as ia, d as da } from "./index-DPdXTCVU.js";
|
|
7
7
|
import { s as va } from "./index-11kpzK0A.js";
|
|
8
8
|
import { E as pa } from "./request-BQZTUjLG.js";
|
|
9
|
-
const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class: "group-items" }, ma = ["onDragstart"],
|
|
9
|
+
const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class: "group-items" }, ma = ["onDragstart"], _a = {
|
|
10
10
|
__name: "index",
|
|
11
11
|
props: {
|
|
12
12
|
compContainerRef: Object
|
|
@@ -18,7 +18,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
18
18
|
const $ = { label: "布局", items: ["TABS", "LAYOUT"] }, O = { label: "常用", items: ["FORM", "TABLE"] }, F = { label: "高级", items: ["STEP", "TIMELINE", "CHART", "SIGNATURE", "AVATAR", "FOLD"] }, I = (ee = De.value) == null ? void 0 : ee.filter((A) => {
|
|
19
19
|
var c, t;
|
|
20
20
|
return (t = $ == null ? void 0 : $.items) == null ? void 0 : t.includes((c = A == null ? void 0 : A.type) == null ? void 0 : c.toUpperCase());
|
|
21
|
-
}),
|
|
21
|
+
}), Q = (P = De.value) == null ? void 0 : P.filter((A) => {
|
|
22
22
|
var c, t;
|
|
23
23
|
return (t = O == null ? void 0 : O.items) == null ? void 0 : t.includes((c = A == null ? void 0 : A.type) == null ? void 0 : c.toUpperCase());
|
|
24
24
|
}), B = (U = De.value) == null ? void 0 : U.filter((A) => {
|
|
@@ -32,7 +32,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
...O,
|
|
35
|
-
items:
|
|
35
|
+
items: Q
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
...F,
|
|
@@ -61,7 +61,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
61
61
|
}, [
|
|
62
62
|
w("div", ha, re(I == null ? void 0 : I.label), 1),
|
|
63
63
|
w("div", ga, [
|
|
64
|
-
(p(!0), H(ue, null, ce(I == null ? void 0 : I.items, (
|
|
64
|
+
(p(!0), H(ue, null, ce(I == null ? void 0 : I.items, (Q, B) => (p(), H("div", {
|
|
65
65
|
class: "type-list",
|
|
66
66
|
title: "鼠标拖动",
|
|
67
67
|
ref_for: !0,
|
|
@@ -69,20 +69,20 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
69
69
|
ref: x,
|
|
70
70
|
key: B,
|
|
71
71
|
draggable: !0,
|
|
72
|
-
onDragstart: (ee) => M(ee,
|
|
72
|
+
onDragstart: (ee) => M(ee, Q)
|
|
73
73
|
}, [
|
|
74
74
|
R(F, {
|
|
75
|
-
name:
|
|
75
|
+
name: Q.icon,
|
|
76
76
|
style: { width: "15px", height: "15px" }
|
|
77
77
|
}, null, 8, ["name"]),
|
|
78
|
-
w("div", null, re(
|
|
78
|
+
w("div", null, re(Q.name), 1)
|
|
79
79
|
], 40, ma))), 128))
|
|
80
80
|
])
|
|
81
81
|
]))), 128))
|
|
82
82
|
]);
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
|
-
}, rl = /* @__PURE__ */ we(
|
|
85
|
+
}, rl = /* @__PURE__ */ we(_a, [["__scopeId", "data-v-d9fa1a24"]]), ye = Ce(he), { pageMapState: ba } = ie(ye), Ca = ke(), { activeMenuPath: ge } = ie(Ca), J = k([
|
|
86
86
|
// [
|
|
87
87
|
// {
|
|
88
88
|
// "id": 732285669982280
|
|
@@ -202,7 +202,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
key: "tableContents",
|
|
205
|
-
contents:
|
|
205
|
+
contents: J.value
|
|
206
206
|
}
|
|
207
207
|
]
|
|
208
208
|
}
|
|
@@ -292,13 +292,13 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
292
292
|
]
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
-
]), N = k([]),
|
|
295
|
+
]), N = k([]), Xe = ae(() => {
|
|
296
296
|
var a;
|
|
297
297
|
return (a = N.value) == null ? void 0 : a.map((n, i) => ({
|
|
298
298
|
value: n == null ? void 0 : n.id,
|
|
299
299
|
label: n == null ? void 0 : n.name
|
|
300
300
|
}));
|
|
301
|
-
}),
|
|
301
|
+
}), be = k("data"), oe = k("任务配置"), fe = k({}), X = k(null), W = la({
|
|
302
302
|
width: "30%",
|
|
303
303
|
title: "任务配置",
|
|
304
304
|
type: "创建",
|
|
@@ -308,29 +308,29 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
308
308
|
}, Da = (a, n) => {
|
|
309
309
|
var s, C, r, x, f, M, $, O, F;
|
|
310
310
|
if (fe.value = K(n), a === "删除")
|
|
311
|
-
return oe.value === "任务配置" ?
|
|
311
|
+
return oe.value === "任务配置" ? J.value = (s = J.value) == null ? void 0 : s.filter((I) => (I == null ? void 0 : I.id) !== (n == null ? void 0 : n.id)) : oe.value === "任务关联" && (ne.value = (C = ne.value) == null ? void 0 : C.filter((I) => (I == null ? void 0 : I.id) !== (n == null ? void 0 : n.id))), ye.setItemExtendData({
|
|
312
312
|
任务配置: {
|
|
313
313
|
pageKey: ge.value,
|
|
314
|
-
compId: (r =
|
|
315
|
-
results:
|
|
314
|
+
compId: (r = X.value) == null ? void 0 : r.id,
|
|
315
|
+
results: J.value
|
|
316
316
|
},
|
|
317
317
|
任务关联: {
|
|
318
318
|
pageKey: ge.value,
|
|
319
|
-
compId: (x =
|
|
319
|
+
compId: (x = X.value) == null ? void 0 : x.id,
|
|
320
320
|
results: ne.value
|
|
321
321
|
}
|
|
322
322
|
});
|
|
323
323
|
const i = n ? (f = Object.keys(n)) == null ? void 0 : f[1] : "";
|
|
324
|
-
oe.value === "任务配置" ? W.title = `当前配置:${(M =
|
|
324
|
+
oe.value === "任务配置" ? W.title = `当前配置:${(M = X.value) == null ? void 0 : M.name}>任务配置>【${(n == null ? void 0 : n[i]) || a}】` : oe.value === "任务关联" && (W.title = `当前配置:${($ = X.value) == null ? void 0 : $.name}>任务关联>【${(n == null ? void 0 : n[i]) || a}】`), W.type = typeof ((O = fe.value) == null ? void 0 : O.id) == "string" || !((F = fe.value) != null && F.id) ? "创建" : "编辑", W.show = a === "创建" || a === "访问";
|
|
325
325
|
}, ka = (a) => {
|
|
326
326
|
var n;
|
|
327
|
-
typeof a == "number" && (
|
|
327
|
+
typeof a == "number" && (X.value = (n = N.value) == null ? void 0 : n[a], Sa()), be.value = "data";
|
|
328
328
|
}, wa = (a) => {
|
|
329
329
|
}, xa = (a) => {
|
|
330
330
|
var n, i;
|
|
331
331
|
switch (oe.value) {
|
|
332
332
|
case "任务配置":
|
|
333
|
-
W.type === "创建" ?
|
|
333
|
+
W.type === "创建" ? J.value.push(a == null ? void 0 : a.data) : J.value = (n = J.value) == null ? void 0 : n.map((s) => {
|
|
334
334
|
var C;
|
|
335
335
|
return (s == null ? void 0 : s.id) === ((C = a == null ? void 0 : a.data) == null ? void 0 : C.id) ? {
|
|
336
336
|
...s,
|
|
@@ -348,11 +348,11 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
348
348
|
});
|
|
349
349
|
break;
|
|
350
350
|
}
|
|
351
|
-
console.log("handleTableData:",
|
|
351
|
+
console.log("handleTableData:", J.value, a, W.type), ye.setItemExtendData({
|
|
352
352
|
任务配置: {
|
|
353
353
|
pageKey: ge.value,
|
|
354
354
|
compId: a == null ? void 0 : a.compId,
|
|
355
|
-
results:
|
|
355
|
+
results: J.value
|
|
356
356
|
},
|
|
357
357
|
任务关联: {
|
|
358
358
|
pageKey: ge.value,
|
|
@@ -366,7 +366,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
366
366
|
W.show = !1;
|
|
367
367
|
else if ((a == null ? void 0 : a.buttonName) === "保存") {
|
|
368
368
|
const s = {
|
|
369
|
-
compId: (n =
|
|
369
|
+
compId: (n = X.value) == null ? void 0 : n.id,
|
|
370
370
|
data: {
|
|
371
371
|
...a == null ? void 0 : a.content,
|
|
372
372
|
id: (i = fe.value) == null ? void 0 : i.id
|
|
@@ -374,7 +374,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
374
374
|
};
|
|
375
375
|
xa(s);
|
|
376
376
|
}
|
|
377
|
-
},
|
|
377
|
+
}, Ze = (a, n) => {
|
|
378
378
|
var r, x;
|
|
379
379
|
const { target: i, styleConfigs: s } = a;
|
|
380
380
|
if (!s) return;
|
|
@@ -386,12 +386,12 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
386
386
|
...f,
|
|
387
387
|
...C
|
|
388
388
|
})), ye.setItemData(N.value);
|
|
389
|
-
},
|
|
389
|
+
}, Qe = (a) => {
|
|
390
390
|
}, ea = (a, n) => {
|
|
391
391
|
var i;
|
|
392
392
|
return (i = a == null ? void 0 : a.filter((s) => {
|
|
393
393
|
var C, r, x, f, M;
|
|
394
|
-
return ((r = (C = s == null ? void 0 : s.key) == null ? void 0 : C.relatedInfo) == null ? void 0 : r.target) === n && ((f = (x = s == null ? void 0 : s.key) == null ? void 0 : x.relatedInfo) == null ? void 0 : f.compId) === ((M =
|
|
394
|
+
return ((r = (C = s == null ? void 0 : s.key) == null ? void 0 : C.relatedInfo) == null ? void 0 : r.target) === n && ((f = (x = s == null ? void 0 : s.key) == null ? void 0 : x.relatedInfo) == null ? void 0 : f.compId) === ((M = X.value) == null ? void 0 : M.id);
|
|
395
395
|
})) == null ? void 0 : i.map((s) => {
|
|
396
396
|
var C;
|
|
397
397
|
return {
|
|
@@ -401,11 +401,11 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
401
401
|
});
|
|
402
402
|
}, Sa = () => {
|
|
403
403
|
var n, i;
|
|
404
|
-
const a = (i = (n =
|
|
404
|
+
const a = (i = (n = ba.value) == null ? void 0 : n[ge.value]) == null ? void 0 : i.filter((s) => {
|
|
405
405
|
var C;
|
|
406
406
|
return ((C = s == null ? void 0 : s.key) == null ? void 0 : C.type) === "extend";
|
|
407
407
|
});
|
|
408
|
-
(a == null ? void 0 : a.length) !== 0 && (
|
|
408
|
+
(a == null ? void 0 : a.length) !== 0 && (J.value = ea(a, "任务配置"), ne.value = ea(a, "任务关联"));
|
|
409
409
|
}, Ra = { class: "fill-content" }, La = { class: "overall-config-wrapper" }, Ha = { class: "operate-content" }, Ma = ["onClick"], $a = {
|
|
410
410
|
class: "collapse-title-item",
|
|
411
411
|
title: "编辑"
|
|
@@ -437,11 +437,11 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
437
437
|
f.value = g;
|
|
438
438
|
const v = K(i.value), h = v == null ? void 0 : v.filter((G, u) => (u === c && (G.name = t), G));
|
|
439
439
|
n.setOriginalData(h), n.setItemData(h);
|
|
440
|
-
},
|
|
440
|
+
}, Q = (c) => {
|
|
441
441
|
const t = K(i.value), g = t == null ? void 0 : t.map((v, h) => ((v == null ? void 0 : v.name) === (c == null ? void 0 : c.name) ? v.isShow = !(c != null && c.isShow) : v.isShow = v.isShow, v));
|
|
442
442
|
i.value = g;
|
|
443
443
|
};
|
|
444
|
-
|
|
444
|
+
_e(
|
|
445
445
|
() => i.value,
|
|
446
446
|
() => {
|
|
447
447
|
var c, t, g, v;
|
|
@@ -499,30 +499,30 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
499
499
|
w("div", La, [
|
|
500
500
|
(p(), j(le(B($.value + "style")), {
|
|
501
501
|
target: "overall",
|
|
502
|
-
optionItems:
|
|
502
|
+
optionItems: b(Xe),
|
|
503
503
|
compType: $.value,
|
|
504
|
-
comp: (G =
|
|
505
|
-
onChange:
|
|
504
|
+
comp: (G = b(N)) == null ? void 0 : G[0],
|
|
505
|
+
onChange: b(Ze)
|
|
506
506
|
}, null, 40, ["optionItems", "compType", "comp", "onChange"]))
|
|
507
507
|
]),
|
|
508
508
|
w("div", Ha, [
|
|
509
509
|
R(ca, {
|
|
510
510
|
class: "collapse-content",
|
|
511
|
-
collapseContents:
|
|
511
|
+
collapseContents: b(N),
|
|
512
512
|
accordion: !0,
|
|
513
|
-
onChange:
|
|
513
|
+
onChange: b(ka),
|
|
514
514
|
ref_key: "ssCollapseRef",
|
|
515
515
|
ref: P
|
|
516
516
|
}, {
|
|
517
517
|
title: L(({ item: u, index: y, isActive: d }) => {
|
|
518
|
-
var Y, E, z, l, o, m, D,
|
|
518
|
+
var Y, E, z, l, o, m, D, _, Z, se;
|
|
519
519
|
return [
|
|
520
520
|
w("div", {
|
|
521
521
|
class: "collapse-title-content",
|
|
522
522
|
onClick: (T) => U(y, d)
|
|
523
523
|
}, [
|
|
524
524
|
w("div", $a, [
|
|
525
|
-
(E = (Y = f.value) == null ? void 0 : Y.find((T) => T.id === y)) != null && E.content ?
|
|
525
|
+
(E = (Y = f.value) == null ? void 0 : Y.find((T) => T.id === y)) != null && E.content ? q("", !0) : (p(), H("div", {
|
|
526
526
|
key: 0,
|
|
527
527
|
class: "collapse-title",
|
|
528
528
|
style: ta({ marginRight: u.name && u.name !== "" ? "8px" : "0px" })
|
|
@@ -534,8 +534,8 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
534
534
|
onClick: t[0] || (t[0] = ve(() => {
|
|
535
535
|
}, ["stop"]))
|
|
536
536
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
537
|
-
])) :
|
|
538
|
-
(m = (o = f.value) == null ? void 0 : o.find((T) => T.id === y)) != null && m.content ?
|
|
537
|
+
])) : q("", !0),
|
|
538
|
+
(m = (o = f.value) == null ? void 0 : o.find((T) => T.id === y)) != null && m.content ? q("", !0) : (p(), H("div", {
|
|
539
539
|
key: 2,
|
|
540
540
|
onClick: ve((T) => O(y), ["stop"]),
|
|
541
541
|
class: "icon-content"
|
|
@@ -547,7 +547,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
547
547
|
], 8, Ea))
|
|
548
548
|
]),
|
|
549
549
|
w("div", Oa, [
|
|
550
|
-
(
|
|
550
|
+
(_ = (D = f.value) == null ? void 0 : D.find((T) => T.id === y)) != null && _.content ? (p(), H("div", Fa, [
|
|
551
551
|
R(g, {
|
|
552
552
|
name: "Cancel",
|
|
553
553
|
style: { width: "16px", height: "16px" },
|
|
@@ -560,8 +560,8 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
560
560
|
style: { width: "16px", height: "16px", fill: "var(--ssComponent-primary-color)" },
|
|
561
561
|
class: "icon-content"
|
|
562
562
|
}, null, 8, ["onClick"])
|
|
563
|
-
])) :
|
|
564
|
-
(se = (
|
|
563
|
+
])) : q("", !0),
|
|
564
|
+
(se = (Z = f.value) == null ? void 0 : Z.find((T) => T.id === y)) != null && se.content ? q("", !0) : (p(), H("div", {
|
|
565
565
|
key: 1,
|
|
566
566
|
onClick: ve((T) => A(y), ["stop"]),
|
|
567
567
|
class: "icon-content"
|
|
@@ -577,8 +577,8 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
577
577
|
}),
|
|
578
578
|
content: L(({ item: u, index: y }) => [
|
|
579
579
|
R(V, {
|
|
580
|
-
modelValue:
|
|
581
|
-
"onUpdate:modelValue": t[2] || (t[2] = (d) => Ye(
|
|
580
|
+
modelValue: b(be),
|
|
581
|
+
"onUpdate:modelValue": t[2] || (t[2] = (d) => Ye(be) ? be.value = d : null),
|
|
582
582
|
class: "config-tabs",
|
|
583
583
|
onTabClick: U
|
|
584
584
|
}, {
|
|
@@ -619,7 +619,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
619
619
|
R(ia, {
|
|
620
620
|
value: M.value.find((E) => E.id === y).isShow,
|
|
621
621
|
"onUpdate:value": (E) => M.value.find((z) => z.id === y).isShow = E,
|
|
622
|
-
onClick: (E) =>
|
|
622
|
+
onClick: (E) => Q(u)
|
|
623
623
|
}, null, 8, ["value", "onUpdate:value", "onClick"])
|
|
624
624
|
])
|
|
625
625
|
])
|
|
@@ -645,8 +645,8 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
645
645
|
target: "alone",
|
|
646
646
|
compType: u == null ? void 0 : u.comp,
|
|
647
647
|
comp: u,
|
|
648
|
-
optionItems:
|
|
649
|
-
onChange: (d) =>
|
|
648
|
+
optionItems: b(Xe),
|
|
649
|
+
onChange: (d) => b(Ze)(d, u)
|
|
650
650
|
}, null, 40, ["compType", "comp", "optionItems", "onChange"]))
|
|
651
651
|
]),
|
|
652
652
|
_: 2
|
|
@@ -686,13 +686,13 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
686
686
|
default: L(() => [
|
|
687
687
|
R(V, {
|
|
688
688
|
"tab-position": "left",
|
|
689
|
-
modelValue:
|
|
689
|
+
modelValue: b(oe),
|
|
690
690
|
"onUpdate:modelValue": t[1] || (t[1] = (d) => Ye(oe) ? oe.value = d : null),
|
|
691
691
|
class: "extend-tabs",
|
|
692
|
-
onTabChange:
|
|
692
|
+
onTabChange: b(wa)
|
|
693
693
|
}, {
|
|
694
694
|
default: L(() => [
|
|
695
|
-
(p(!0), H(ue, null, ce(
|
|
695
|
+
(p(!0), H(ue, null, ce(b(ya), (d, Y) => (p(), j(v, {
|
|
696
696
|
key: d == null ? void 0 : d.name,
|
|
697
697
|
label: d == null ? void 0 : d.label,
|
|
698
698
|
name: d == null ? void 0 : d.name
|
|
@@ -708,8 +708,8 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
708
708
|
childItemData: (l = d == null ? void 0 : d.component) == null ? void 0 : l.itemChildData,
|
|
709
709
|
key: Y,
|
|
710
710
|
level: 1,
|
|
711
|
-
onChange:
|
|
712
|
-
onOnButtonClick:
|
|
711
|
+
onChange: b(Qe),
|
|
712
|
+
onOnButtonClick: b(Da)
|
|
713
713
|
}, null, 40, ["compItem", "itemData", "childItemData", "onChange", "onOnButtonClick"]))
|
|
714
714
|
];
|
|
715
715
|
}),
|
|
@@ -733,26 +733,26 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
733
733
|
]),
|
|
734
734
|
R(va, {
|
|
735
735
|
class: "task-dialog-wrapper",
|
|
736
|
-
visible:
|
|
737
|
-
title:
|
|
738
|
-
dialogWidth:
|
|
739
|
-
onBeforeDestroy:
|
|
736
|
+
visible: b(W).show,
|
|
737
|
+
title: b(W).title,
|
|
738
|
+
dialogWidth: b(W).width,
|
|
739
|
+
onBeforeDestroy: b(Ia)
|
|
740
740
|
}, {
|
|
741
741
|
default: L(() => {
|
|
742
742
|
var u, y;
|
|
743
743
|
return [
|
|
744
744
|
w("div", Pa, [
|
|
745
|
-
|
|
745
|
+
b(X) ? (p(), j(le(B(((u = b(X)) == null ? void 0 : u.comp) + "extend")), {
|
|
746
746
|
key: 0,
|
|
747
747
|
target: "alone",
|
|
748
|
-
comp:
|
|
749
|
-
extendItem:
|
|
750
|
-
compType: (y =
|
|
751
|
-
activeTabName:
|
|
752
|
-
relatedData:
|
|
753
|
-
onChange:
|
|
754
|
-
onOnButtonClick:
|
|
755
|
-
}, null, 40, ["comp", "extendItem", "compType", "activeTabName", "relatedData", "onChange", "onOnButtonClick"])) :
|
|
748
|
+
comp: b(X),
|
|
749
|
+
extendItem: b(fe),
|
|
750
|
+
compType: (y = b(X)) == null ? void 0 : y.comp,
|
|
751
|
+
activeTabName: b(oe),
|
|
752
|
+
relatedData: b(J),
|
|
753
|
+
onChange: b(Qe),
|
|
754
|
+
onOnButtonClick: b(Ta)
|
|
755
|
+
}, null, 40, ["comp", "extendItem", "compType", "activeTabName", "relatedData", "onChange", "onOnButtonClick"])) : q("", !0)
|
|
756
756
|
])
|
|
757
757
|
];
|
|
758
758
|
}),
|
|
@@ -761,13 +761,13 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
761
761
|
]);
|
|
762
762
|
};
|
|
763
763
|
}
|
|
764
|
-
}, ul = /* @__PURE__ */ we(Wa, [["__scopeId", "data-v-2ea026b9"]]), Ya = { style: { display: "flex" } },
|
|
764
|
+
}, ul = /* @__PURE__ */ we(Wa, [["__scopeId", "data-v-2ea026b9"]]), Ya = { style: { display: "flex" } }, qa = { style: { display: "flex" } }, Ja = { key: 2 }, Xa = {
|
|
765
765
|
key: 4,
|
|
766
766
|
style: { "margin-top": "30px" }
|
|
767
|
-
},
|
|
767
|
+
}, Za = {
|
|
768
768
|
__name: "index",
|
|
769
769
|
setup(a) {
|
|
770
|
-
const n = Ce(he), { itemData: i, activeItemIndex: s, pageMapState: C } = ie(n), r = k([]), x = k(0), f = k(""), M = ke(he), { activeMenuPath: $ } = ie(M), O = k(null), F = k(null), I = k(24),
|
|
770
|
+
const n = Ce(he), { itemData: i, activeItemIndex: s, pageMapState: C } = ie(n), r = k([]), x = k(0), f = k(""), M = ke(he), { activeMenuPath: $ } = ie(M), O = k(null), F = k(null), I = k(24), Q = k(2), B = k([]), ee = k([]), P = ae(() => {
|
|
771
771
|
var l, o, m;
|
|
772
772
|
return {
|
|
773
773
|
default: !c.value && !A.value && U.value === "vertical" && ((l = r.value) == null ? void 0 : l.length) > 0,
|
|
@@ -777,7 +777,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
777
777
|
};
|
|
778
778
|
}), U = ae(() => {
|
|
779
779
|
var l, o, m, D;
|
|
780
|
-
return ((l = r.value) == null ? void 0 : l.length) > 0 && ((o = r.value) != null && o.every((
|
|
780
|
+
return ((l = r.value) == null ? void 0 : l.length) > 0 && ((o = r.value) != null && o.every((_) => _ == null ? void 0 : _.layout)) ? (D = (m = r.value) == null ? void 0 : m[0]) == null ? void 0 : D.layout : "vertical";
|
|
781
781
|
}), A = ae(() => {
|
|
782
782
|
var l, o;
|
|
783
783
|
return (o = (l = r.value) == null ? void 0 : l[0]) == null ? void 0 : o.isStepLayout;
|
|
@@ -790,16 +790,16 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
790
790
|
}), v = (l, o) => {
|
|
791
791
|
x.value = o, t.value = l;
|
|
792
792
|
}, h = (l) => {
|
|
793
|
-
var
|
|
793
|
+
var _;
|
|
794
794
|
if (!l) return;
|
|
795
795
|
let o = null;
|
|
796
796
|
const m = K(r.value);
|
|
797
797
|
if (s.value >= 0 && (o = m == null ? void 0 : m[s.value]), o && o.comp === "Layout") {
|
|
798
|
-
const { compData:
|
|
799
|
-
((
|
|
798
|
+
const { compData: Z = [] } = o;
|
|
799
|
+
((_ = Z == null ? void 0 : Z.find((T) => {
|
|
800
800
|
const { key: me } = T;
|
|
801
801
|
return me === "children";
|
|
802
|
-
})) == null ? void 0 :
|
|
802
|
+
})) == null ? void 0 : _.contents).push({
|
|
803
803
|
comp: l.comp,
|
|
804
804
|
name: l.name,
|
|
805
805
|
compData: []
|
|
@@ -818,24 +818,24 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
818
818
|
try {
|
|
819
819
|
const o = l.dataTransfer.getData("application/json");
|
|
820
820
|
if (!o) return;
|
|
821
|
-
const m = JSON.parse(o), D = await u(l),
|
|
822
|
-
await na(), d(
|
|
821
|
+
const m = JSON.parse(o), D = await u(l), _ = y(m, D);
|
|
822
|
+
await na(), d(_), h(JSON.parse(o || "")), console.log("drop"), Y();
|
|
823
823
|
} catch (o) {
|
|
824
824
|
console.error("Drop error:", o), Y();
|
|
825
825
|
}
|
|
826
826
|
}, u = async (l) => O.value ? new Promise((o) => {
|
|
827
827
|
requestAnimationFrame(() => {
|
|
828
|
-
const m = O.value.getBoundingClientRect(), D = l.clientX - m.left,
|
|
828
|
+
const m = O.value.getBoundingClientRect(), D = l.clientX - m.left, _ = l.clientY, Z = Math.floor(D / (m.width / I.value)), se = Math.floor(_ / (m.width / I.value));
|
|
829
829
|
o({
|
|
830
|
-
x: Math.max(0,
|
|
830
|
+
x: Math.max(0, Z),
|
|
831
831
|
y: Math.max(0, se),
|
|
832
832
|
w: I.value,
|
|
833
|
-
h:
|
|
833
|
+
h: Q.value
|
|
834
834
|
});
|
|
835
835
|
});
|
|
836
836
|
}) : { x: 0, y: 0 }, y = (l, o) => {
|
|
837
|
-
var D,
|
|
838
|
-
const m = `item_${Date.now()}_${(
|
|
837
|
+
var D, _;
|
|
838
|
+
const m = `item_${Date.now()}_${(_ = (D = Math.random()) == null ? void 0 : D.toString(36)) == null ? void 0 : _.substring(2, 9)}`;
|
|
839
839
|
return {
|
|
840
840
|
i: m,
|
|
841
841
|
id: m,
|
|
@@ -859,24 +859,24 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
859
859
|
results: B.value
|
|
860
860
|
}), M.setContentLoading(!1);
|
|
861
861
|
};
|
|
862
|
-
|
|
862
|
+
_e(() => P.value.step, (l) => {
|
|
863
863
|
var o;
|
|
864
864
|
l && v((o = r.value) == null ? void 0 : o[0], 1);
|
|
865
|
-
}, { immediate: !0 }),
|
|
865
|
+
}, { immediate: !0 }), _e(() => P.value.grid, (l) => {
|
|
866
866
|
var o, m;
|
|
867
867
|
!l && ((o = B.value) == null ? void 0 : o.length) > 0 && n.setItemGridData({
|
|
868
868
|
pageKey: $.value,
|
|
869
869
|
results: (m = B.value) == null ? void 0 : m.map((D) => D == null ? void 0 : D.id),
|
|
870
870
|
isDelete: !0
|
|
871
871
|
});
|
|
872
|
-
}, { immediate: !0 }),
|
|
872
|
+
}, { immediate: !0 }), _e(() => i.value, (l) => {
|
|
873
873
|
var o, m, D;
|
|
874
|
-
M.setContentLoading(!0), r.value = !l || (l == null ? void 0 : l.length) === 0 ? [] : (o = K(l)) == null ? void 0 : o.filter((
|
|
874
|
+
M.setContentLoading(!0), r.value = !l || (l == null ? void 0 : l.length) === 0 ? [] : (o = K(l)) == null ? void 0 : o.filter((_) => !(_ != null && _.affix) || (_ == null ? void 0 : _.affix) === "default"), ee.value = !l || (l == null ? void 0 : l.length) === 0 ? [] : (m = K(l)) == null ? void 0 : m.filter((_) => (_ == null ? void 0 : _.affix) && (_ == null ? void 0 : _.affix) !== "default"), (D = P.value) != null && D.grid ? E(r.value) : M.setContentLoading(!1);
|
|
875
875
|
}, { deep: !0, immediate: !0 });
|
|
876
876
|
const z = (l) => aa(l);
|
|
877
877
|
return (l, o) => {
|
|
878
878
|
var se, T, me, xe, Te, Se, Re, Le, He, Me, $e, Be;
|
|
879
|
-
const m = te("el-tab-pane"), D = te("el-tabs"),
|
|
879
|
+
const m = te("el-tab-pane"), D = te("el-tabs"), _ = te("el-step"), Z = te("el-steps");
|
|
880
880
|
return p(), H("div", {
|
|
881
881
|
ref_key: "containerRef",
|
|
882
882
|
ref: O,
|
|
@@ -903,8 +903,8 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
903
903
|
children: e == null ? void 0 : e.children,
|
|
904
904
|
level: 1
|
|
905
905
|
}, null, 8, ["itemData", "childItemData", "config", "pageLayout", "parentTableId", "children"]))
|
|
906
|
-
]))), 128)) :
|
|
907
|
-
(T = P.value) != null && T.grid ? (p(), j(
|
|
906
|
+
]))), 128)) : q("", !0),
|
|
907
|
+
(T = P.value) != null && T.grid ? (p(), j(b(oa), {
|
|
908
908
|
key: 1,
|
|
909
909
|
ref_key: "gridLayoutRef",
|
|
910
910
|
ref: F,
|
|
@@ -920,7 +920,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
920
920
|
default: L(() => [
|
|
921
921
|
(p(!0), H(ue, null, ce(B.value, (e, S) => {
|
|
922
922
|
var Ie, Ee;
|
|
923
|
-
return p(), j(
|
|
923
|
+
return p(), j(b(sa), {
|
|
924
924
|
key: e.i,
|
|
925
925
|
x: e.x,
|
|
926
926
|
y: e.y,
|
|
@@ -928,17 +928,17 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
928
928
|
"max-h": e.maxH,
|
|
929
929
|
"min-w": e.minW,
|
|
930
930
|
w: e.w,
|
|
931
|
-
h:
|
|
931
|
+
h: b(Je)((Ie = r.value[S]) == null ? void 0 : Ie.comp) ? 0 : e.h,
|
|
932
932
|
i: e.i,
|
|
933
|
-
class:
|
|
933
|
+
class: qe(b(Je)((Ee = r.value[S]) == null ? void 0 : Ee.comp) ? "grid-method-button" : "")
|
|
934
934
|
}, {
|
|
935
935
|
default: L(() => {
|
|
936
936
|
var Oe, Fe, Ae, Ve, Ne, Ue, Ge, ze, Ke, je, Pe, We;
|
|
937
937
|
return [
|
|
938
938
|
w("div", {
|
|
939
|
-
class:
|
|
939
|
+
class: qe((Fe = ee.value) != null && Fe.includes((Oe = e == null ? void 0 : e.component) == null ? void 0 : Oe.id) ? "comp-wrapper affix-content" : "comp-wrapper")
|
|
940
940
|
}, [
|
|
941
|
-
w("div",
|
|
941
|
+
w("div", qa, re((Ae = r.value[S]) == null ? void 0 : Ae.name), 1),
|
|
942
942
|
(p(), j(le(z((Ve = r.value[S]) == null ? void 0 : Ve.comp)), {
|
|
943
943
|
pageLayout: U.value,
|
|
944
944
|
itemData: (Ne = r.value[S]) == null ? void 0 : Ne.compData,
|
|
@@ -961,8 +961,8 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
961
961
|
}), 128))
|
|
962
962
|
]),
|
|
963
963
|
_: 1
|
|
964
|
-
}, 8, ["layout"])) :
|
|
965
|
-
(me = P.value) != null && me.tab ? (p(), H("div",
|
|
964
|
+
}, 8, ["layout"])) : q("", !0),
|
|
965
|
+
(me = P.value) != null && me.tab ? (p(), H("div", Ja, [
|
|
966
966
|
R(D, {
|
|
967
967
|
modelValue: g.value,
|
|
968
968
|
"onUpdate:modelValue": o[1] || (o[1] = (e) => g.value = e),
|
|
@@ -993,8 +993,8 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
993
993
|
]),
|
|
994
994
|
_: 1
|
|
995
995
|
}, 8, ["modelValue"])
|
|
996
|
-
])) :
|
|
997
|
-
(xe = P.value) != null && xe.step ? (p(), j(
|
|
996
|
+
])) : q("", !0),
|
|
997
|
+
(xe = P.value) != null && xe.step ? (p(), j(Z, {
|
|
998
998
|
key: 3,
|
|
999
999
|
direction: "horizontal",
|
|
1000
1000
|
active: x.value,
|
|
@@ -1002,7 +1002,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
1002
1002
|
class: "display-steps"
|
|
1003
1003
|
}, {
|
|
1004
1004
|
default: L(() => [
|
|
1005
|
-
(p(!0), H(ue, null, ce(r.value, (e, S) => (p(), j(
|
|
1005
|
+
(p(!0), H(ue, null, ce(r.value, (e, S) => (p(), j(_, {
|
|
1006
1006
|
key: S,
|
|
1007
1007
|
class: "step-item",
|
|
1008
1008
|
status: f.value,
|
|
@@ -1015,8 +1015,8 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
1015
1015
|
}, 1032, ["status", "onClick"]))), 128))
|
|
1016
1016
|
]),
|
|
1017
1017
|
_: 1
|
|
1018
|
-
}, 8, ["active"])) :
|
|
1019
|
-
(Te = P.value) != null && Te.step ? (p(), H("div",
|
|
1018
|
+
}, 8, ["active"])) : q("", !0),
|
|
1019
|
+
(Te = P.value) != null && Te.step ? (p(), H("div", Xa, [
|
|
1020
1020
|
(p(), j(le(z((Se = t.value) == null ? void 0 : Se.comp)), {
|
|
1021
1021
|
pageLayout: U.value,
|
|
1022
1022
|
itemData: (Re = t.value) == null ? void 0 : Re.compData,
|
|
@@ -1028,11 +1028,11 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
1028
1028
|
viewport: (Be = t.value) == null ? void 0 : Be.viewport
|
|
1029
1029
|
}
|
|
1030
1030
|
}, null, 8, ["pageLayout", "itemData", "childItemData", "config"]))
|
|
1031
|
-
])) :
|
|
1031
|
+
])) : q("", !0)
|
|
1032
1032
|
], 544);
|
|
1033
1033
|
};
|
|
1034
1034
|
}
|
|
1035
|
-
}, cl = /* @__PURE__ */ we(
|
|
1035
|
+
}, cl = /* @__PURE__ */ we(Za, [["__scopeId", "data-v-b160c09f"]]), pe = k(0), il = (a) => a.reduce((i, s) => {
|
|
1036
1036
|
var r, x;
|
|
1037
1037
|
const C = Object.values(i);
|
|
1038
1038
|
return (((r = Object.keys(i)) == null ? void 0 : r.length) === 0 || C[C.length - 1].length >= (s == null ? void 0 : s.width)) && (i[pe.value] = [], pe.value++), i[pe.value - 1].push(s), ((x = Object.keys(i)) == null ? void 0 : x.length) === (s == null ? void 0 : s.width) && (i[pe.value] = [], pe.value++), i;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as l, defineComponent as m, createElementBlock as f, openBlock as p, createElementVNode as e, createVNode as u, unref as t } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as C } from "./index-C1HoK8kd.js";
|
|
3
3
|
import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const b = () => {
|
|
5
5
|
const i = l("日志管理"), o = l(), a = l([
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as l, reactive as c, onMounted as s, createElementBlock as r, openBlock as i, createVNode as p } from "vue";
|
|
2
2
|
import { S as m } from "./index-Cnwz5wTG.js";
|
|
3
|
-
import {
|
|
3
|
+
import { $ as _ } from "./index-C1HoK8kd.js";
|
|
4
4
|
import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const f = { class: "log-wrap" }, u = /* @__PURE__ */ l({
|
|
6
6
|
__name: "index",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
|
|
2
2
|
import { u as h, p as k, s as x, c as m } from "./index-DBD9kze_.js";
|
|
3
|
-
import {
|
|
3
|
+
import { $ as M } from "./index-C1HoK8kd.js";
|
|
4
4
|
import { a as D, d as T, f as S } from "./index-BrU5J7vP.js";
|
|
5
5
|
import { g as w } from "./index-CSNsYiCg.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -4,11 +4,11 @@ import { u as Se, o as _t, s as de, f as ce } from "./index-DNPIaj8V.js";
|
|
|
4
4
|
import { N as Le, O as ft, u as vt, p as gt } from "./index-DBD9kze_.js";
|
|
5
5
|
import { s as _e } from "./index-11kpzK0A.js";
|
|
6
6
|
import "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-b6RObmMx.js";
|
|
7
|
-
import "./index-
|
|
7
|
+
import "./index-C1HoK8kd.js";
|
|
8
8
|
import "./index-DxXhkXfD.js";
|
|
9
9
|
import { _ as B } from "./index.vue_vue_type_script_setup_true_lang-BqS9V6jf.js";
|
|
10
10
|
import "./index-BHtNKL1L.js";
|
|
11
|
-
import "./index-
|
|
11
|
+
import "./index-CsRtgfmX.js";
|
|
12
12
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
import { c as me } from "./clone-gv338csU.js";
|
|
14
14
|
const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-content-wrapper" }, Ct = { class: "node-label-wrapper" }, bt = { class: "node-label" }, wt = /* @__PURE__ */ J({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, createElementBlock as y, openBlock as u, createElementVNode as t, withDirectives as p, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
|
|
2
|
-
import { S as I, t as x, s as w, a as L } from "./index-
|
|
2
|
+
import { S as I, t as x, s as w, a as L } from "./index-CsRtgfmX.js";
|
|
3
3
|
import "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-b6RObmMx.js";
|
|
4
4
|
import "./index-BHtNKL1L.js";
|
|
5
|
-
import { f as E } from "./index-
|
|
5
|
+
import { f as E } from "./index-DPdXTCVU.js";
|
|
6
6
|
import { b as N, s as U } from "./index-DBD9kze_.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import "./index-DxXhkXfD.js";
|