ss-component-new 1.2.28 → 1.2.30
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/{MTLLoader-Cqv49Ps8.cjs → MTLLoader-CGJ_BoN_.cjs} +1 -1
- package/dist/{MTLLoader-BreJsr54.js → MTLLoader-DKu2hJu8.js} +1 -1
- package/dist/{OrbitControls-BCu-cP7k.js → OrbitControls-BqqUzhiB.js} +1 -1
- package/dist/{OrbitControls-C956u7BP.cjs → OrbitControls-CcSIJs8U.cjs} +1 -1
- package/dist/{animationData-CMjNjOqc.js → animationData-C9-csPUd.js} +4 -4
- package/dist/{animationData-C3-BiUgV.cjs → animationData-CqnPk9Xj.cjs} +1 -1
- package/dist/array-CNff52dF.cjs +11 -0
- package/dist/array-GAxUIYkk.js +626 -0
- package/dist/config.js +1 -0
- package/dist/{dataUtil-BFjWNDM1.cjs → dataUtil-B8GQMfU9.cjs} +1 -1
- package/dist/{dataUtil-D9l7-XhR.js → dataUtil-CUqnwA-C.js} +2 -2
- package/dist/{fileUtil-D7XVXEhb.js → fileUtil-2jbB0UOW.js} +1 -1
- package/dist/{fileUtil-BFtJHTM0.cjs → fileUtil-DmlOwzdA.cjs} +1 -1
- package/dist/{iconfont-BDfcbq2v.cjs → iconfont-BRjtaT1w.cjs} +1 -1
- package/dist/{iconfont-B9Cj3DQM.js → iconfont-Clbumxhq.js} +2 -2
- package/dist/icons/svg/LowCodeEvent.svg +1 -1
- package/dist/icons/svg/LowCodeExtend.svg +1 -1
- package/dist/icons/svg/LowCodeSetting.svg +1 -1
- package/dist/icons/svg/LowCodeStyle.svg +1 -1
- package/dist/{index-DE-uHAMH.cjs → index-4vFpZiro.cjs} +1 -1
- package/dist/{index-DR7aNxVH.js → index-B1K65cVA.js} +4 -4
- package/dist/{index-C5UpEVah.js → index-B1TG4KX4.js} +2 -2
- package/dist/{index-C_cWjavY.cjs → index-B4kwMjRZ.cjs} +1 -1
- package/dist/{index-BaE0DPgC.js → index-B524ZAt_.js} +52 -52
- package/dist/{index-CMIGSPjz.cjs → index-B5KCSN4c.cjs} +1 -1
- package/dist/index-B6nEh_Jv.js +2865 -0
- package/dist/{index-zLkhy4JK.cjs → index-BDHmuN0R.cjs} +1 -1
- package/dist/{index-Rr9ZBYig.js → index-BH-dztWs.js} +2 -2
- package/dist/{index-DMyPjpxO.cjs → index-BKH5yrms.cjs} +1 -1
- package/dist/index-BQ4Ui0xZ.cjs +1 -0
- package/dist/{index-DqR3IwgZ.js → index-BR2gy9VY.js} +12 -12
- package/dist/{index-CC9RkSBT.cjs → index-BUqXSmZN.cjs} +1 -1
- package/dist/index-BVaHwt5f.cjs +1 -0
- package/dist/{index-gXbhagnF.js → index-BVx8ubcY.js} +3 -3
- package/dist/{index-Dx2X9pR1.js → index-Bf_EwhXB.js} +40 -40
- package/dist/{index-DVqfroe6.cjs → index-Bg67M1I0.cjs} +1 -1
- package/dist/index-Bnlo1Vn9.cjs +1 -0
- package/dist/{index-gPnrvvE9.js → index-BuPMGirQ.js} +3123 -3043
- package/dist/{index-Cwh5m4lg.cjs → index-C4sVFEb2.cjs} +1 -1
- package/dist/{index-CP7b7BrB.cjs → index-C5bKf4Rc.cjs} +1 -1
- package/dist/{index-DY5-ctYG.cjs → index-C8YYklCT.cjs} +1 -1
- package/dist/index-CBzeyNqc.cjs +1 -0
- package/dist/{index-Boazv8yC.js → index-CF3_9CuM.js} +2 -2
- package/dist/index-CGrK7vLD.cjs +15 -0
- package/dist/index-CJz9KUlK.js +2761 -0
- package/dist/index-CLYAJN6W.js +12157 -0
- package/dist/index-CPUuPtdW.cjs +1 -0
- package/dist/index-CQGU-KUl.cjs +1 -0
- package/dist/{index-BZwQB2HO.js → index-CSkbFCKk.js} +8 -8
- package/dist/{index-DiTYB-a4.js → index-CVduLh5F.js} +4 -4
- package/dist/{index-Cd9j5j41.cjs → index-CVfE7lev.cjs} +1 -1
- package/dist/{index-C5fTUrKx.js → index-CWvU6SMj.js} +80 -80
- package/dist/{index-CZu3TggJ.js → index-CkTqgfCV.js} +1 -1
- package/dist/{index-CBFF2bsB.cjs → index-Ct1BlKod.cjs} +1 -1
- package/dist/{index-BqRVuEsE.js → index-Cx-hhVVM.js} +6 -6
- package/dist/{index-LcnC2GQ4.cjs → index-D-vSuC_W.cjs} +1 -1
- package/dist/{index-HduGypr9.js → index-DBDeHECn.js} +7888 -8186
- package/dist/{index-CK5VdzmO.cjs → index-DC41esc7.cjs} +1 -1
- package/dist/index-DEBf-IBT.cjs +21 -0
- package/dist/{index-BwLaQntz.js → index-DKQfWQa7.js} +1 -1
- package/dist/index-DLNYVMBT.js +718 -0
- package/dist/{index-CKY0sj_X.js → index-DNmodmj5.js} +3 -3
- package/dist/{index-D5Dtcn-_.js → index-DOqV1gv2.js} +10 -10
- package/dist/{index-BWxbWhC9.cjs → index-DPJaR6_y.cjs} +1 -1
- package/dist/{index-B8bpiPXB.js → index-DQEoNTv9.js} +1 -1
- package/dist/{index-3QB55tXZ.js → index-D_vF-xur.js} +8 -8
- package/dist/{index-C9_Cxm8G.cjs → index-Dc_H7_4Q.cjs} +1 -1
- package/dist/{index-DsCD1neC.js → index-DnxJ5v5h.js} +2 -2
- package/dist/{index-DHOcRi3S.js → index-DpHuDey-.js} +6 -6
- package/dist/{index-mpoVA-DC.cjs → index-Dyk6Ept4.cjs} +1 -1
- package/dist/{index-zZ9bfGNx.js → index-LjM9Nk8B.js} +17 -17
- package/dist/{index-B33wtiif.cjs → index-M0XPuhvZ.cjs} +1 -1
- package/dist/index-NsYVgt6J.cjs +1 -0
- package/dist/{index-GGokR_Lx.cjs → index-T8lPGzLV.cjs} +1 -1
- package/dist/{index-Sa2hQZ0h.js → index-ZxdNFChm.js} +2 -2
- package/dist/{index-BccOOMaP.cjs → index-eU4qzdNW.cjs} +1 -1
- package/dist/{index-C-8LROmP.js → index-h2jxROLW.js} +2 -2
- package/dist/index-rlStojTL.js +52 -0
- package/dist/{index-TKouySTA.cjs → index-zfSd0dDx.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BAJOxaYG.js +38119 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Bz5a6KNq.cjs +56 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-TDoJ17os.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-1Mv6nQqI.cjs} +105 -105
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CuWDdCiy.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-jN5HQ4-h.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BQiH2RRX.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-B5pFO8Nu.js} +13 -13
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-Dqpyi0E8.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-CfeHVTqR.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-9ANlnWKt.js → index.vue_vue_type_style_index_1_lang-C_-spRZf.js} +5 -5
- package/dist/index.vue_vue_type_style_index_1_lang-C_c9xkIT.js +8381 -0
- package/dist/index.vue_vue_type_style_index_1_lang-Dk9u-CTP.cjs +32 -0
- package/dist/{index.vue_vue_type_style_index_1_lang-D4RvHwPS.cjs → index.vue_vue_type_style_index_1_lang-Dn15anMU.cjs} +1 -1
- package/dist/{isString-Cqq3-gAK.cjs → isString-D6Z6SOrb.cjs} +1 -1
- package/dist/{isString-BuBBWjRr.js → isString-DBnuELeA.js} +1 -1
- package/dist/{main-Mx9r7ydp.cjs → main-Cqs48dh5.cjs} +1 -1
- package/dist/{main-DpLQlLK2.js → main-D13CgkQa.js} +5 -5
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +12 -12
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-DTwQnnAO.cjs → threeModel-B1Q-W8uT.cjs} +1 -1
- package/dist/{threeModel-CZ-qFwwk.js → threeModel-CdhAh8Bx.js} +5 -5
- package/dist/{threePreview-CUGoEzKf.cjs → threePreview-DFaqe_Df.cjs} +1 -1
- package/dist/{threePreview-DutKTPWH.js → threePreview-qK1L0B-6.js} +4 -4
- package/dist/{threeSceneView-CzgWYHBw.js → threeSceneView-D7A2EUjB.js} +87 -87
- package/dist/{threeSceneView-f1V-z4jr.cjs → threeSceneView-MV6u29zj.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-2sXIw3I1.js → threeSceneViewForCPMPIP-CFMeh1a1.js} +59 -59
- package/dist/{threeSceneViewForCPMPIP-CojHDVHC.cjs → threeSceneViewForCPMPIP-DWIRSSMI.cjs} +1 -1
- package/dist/{threeTrackPathView-BGHiOyJo.cjs → threeTrackPathView-jcnhqw1L.cjs} +1 -1
- package/dist/{threeTrackPathView-DA4_8jas.js → threeTrackPathView-zpNY2aoY.js} +6 -6
- package/dist/{threeViewerHost-D3WDKrIQ.cjs → threeViewerHost-Bmk1dyAX.cjs} +1 -1
- package/dist/{threeViewerHost-BNObp9oA.js → threeViewerHost-SnFuinLz.js} +14 -14
- package/dist/{urdfTree-CWStzmk2.cjs → urdfTree-BhIdc1in.cjs} +1 -1
- package/dist/{urdfTree-CnkPddyT.js → urdfTree-BqMKYhyU.js} +1 -1
- package/dist/{workpieceTreePanel-BvhFt3Xw.js → workpieceTreePanel-CrJBeLgr.js} +5 -5
- package/dist/{workpieceTreePanel-DXyb_Wnw.cjs → workpieceTreePanel-ugZl4wP-.cjs} +1 -1
- package/package.json +2 -2
- package/public/config.js +1 -0
- package/public/icons/svg/LowCodeEvent.svg +1 -1
- package/public/icons/svg/LowCodeExtend.svg +1 -1
- package/public/icons/svg/LowCodeSetting.svg +1 -1
- package/public/icons/svg/LowCodeStyle.svg +1 -1
- package/dist/array-0u9Sf3UC.cjs +0 -11
- package/dist/array-BGIM4b6g.js +0 -1142
- package/dist/index-B9TlIok8.cjs +0 -15
- package/dist/index-BgHY8wmn.cjs +0 -1
- package/dist/index-C1lZkQG-.js +0 -7298
- package/dist/index-CMwwUi6o.js +0 -3621
- package/dist/index-D0XPyuy4.cjs +0 -1
- package/dist/index-D3TgRd-7.cjs +0 -1
- package/dist/index-DEEZPcpU.cjs +0 -1
- package/dist/index-DiRBJiMW.js +0 -43
- package/dist/index-DnFxL5wb.cjs +0 -1
- package/dist/index-Dv1G67_Q.cjs +0 -21
- package/dist/index-OTxJnh9Z.js +0 -2570
- package/dist/index-uIVtG4RY.cjs +0 -1
- package/dist/index-wQJN1jpI.js +0 -2466
- package/dist/index-znR89ub7.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-D21h7jT_.cjs +0 -37
- package/dist/index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-PE_6dfIO.js +0 -38930
- package/dist/index.vue_vue_type_style_index_1_lang-CrmWclPR.cjs +0 -32
- package/dist/index.vue_vue_type_style_index_1_lang-DwvuVXW6.js +0 -8249
|
@@ -0,0 +1,718 @@
|
|
|
1
|
+
import { ref as V, computed as Z, resolveComponent as K, createElementBlock as w, openBlock as r, Fragment as ae, renderList as te, createElementVNode as g, toDisplayString as j, createVNode as C, watch as ue, createBlock as A, resolveDynamicComponent as X, unref as h, withCtx as D, isRef as ze, createTextVNode as ee, createCommentVNode as G, normalizeStyle as Xe, withModifiers as ne, normalizeClass as Ge, nextTick as Ke } from "vue";
|
|
2
|
+
import { J as ve, g as Ye, D as je, B as Qe, C as He, b as Ze } from "./index-CLYAJN6W.js";
|
|
3
|
+
import { p as ie, s as le, c as R, E as ea } from "./index-DBDeHECn.js";
|
|
4
|
+
import { a as me, u as qe, E as aa } from "./index.vue_vue_type_style_index_1_lang-C_c9xkIT.js";
|
|
5
|
+
import { s as W, h as We, o as Je, b as ta, c as he, d as na, f as ce, g as la, i as oa, j as Pe, k as sa, l as fe, m as re, n as ca, t as ra, p as ua } from "./array-GAxUIYkk.js";
|
|
6
|
+
import { _ as ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
+
import ia from "./index-rlStojTL.js";
|
|
8
|
+
import { a as da, b as pa } from "./index-BuPMGirQ.js";
|
|
9
|
+
import { s as va } from "./index-LjM9Nk8B.js";
|
|
10
|
+
const ha = { class: "type-select" }, fa = { class: "group-label" }, ma = { class: "group-items" }, ga = ["onDragstart"], _a = {
|
|
11
|
+
__name: "index",
|
|
12
|
+
props: {
|
|
13
|
+
compContainerRef: Object
|
|
14
|
+
},
|
|
15
|
+
emits: [""],
|
|
16
|
+
setup(_e, { emit: I }) {
|
|
17
|
+
const O = me(ie), { itemData: oe, activeItemIndex: de } = le(O), i = I, J = V(null), k = Z(() => {
|
|
18
|
+
var q, F, M;
|
|
19
|
+
const E = { label: "布局", items: ["TABS", "LAYOUT"] }, N = { label: "常用", items: ["FORM", "TABLE"] }, U = { label: "高级", items: ["STEP", "TIMELINE", "CHART", "SIGNATURE", "AVATAR", "FOLD"] }, T = (q = ve.value) == null ? void 0 : q.filter((S) => {
|
|
20
|
+
var o, t;
|
|
21
|
+
return (t = E == null ? void 0 : E.items) == null ? void 0 : t.includes((o = S == null ? void 0 : S.type) == null ? void 0 : o.toUpperCase());
|
|
22
|
+
}), Y = (F = ve.value) == null ? void 0 : F.filter((S) => {
|
|
23
|
+
var o, t;
|
|
24
|
+
return (t = N == null ? void 0 : N.items) == null ? void 0 : t.includes((o = S == null ? void 0 : S.type) == null ? void 0 : o.toUpperCase());
|
|
25
|
+
}), b = (M = ve.value) == null ? void 0 : M.filter((S) => {
|
|
26
|
+
var o, t;
|
|
27
|
+
return (t = U == null ? void 0 : U.items) == null ? void 0 : t.includes((o = S == null ? void 0 : S.type) == null ? void 0 : o.toUpperCase());
|
|
28
|
+
});
|
|
29
|
+
return [
|
|
30
|
+
{
|
|
31
|
+
...E,
|
|
32
|
+
items: T
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
...N,
|
|
36
|
+
items: Y
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
...U,
|
|
40
|
+
items: b
|
|
41
|
+
}
|
|
42
|
+
];
|
|
43
|
+
}), P = (E, N) => {
|
|
44
|
+
try {
|
|
45
|
+
E.dataTransfer.clearData();
|
|
46
|
+
const U = {
|
|
47
|
+
...N,
|
|
48
|
+
timestamp: Date.now()
|
|
49
|
+
// 添加时间戳确保唯一性
|
|
50
|
+
};
|
|
51
|
+
E.dataTransfer.setData("application/json", JSON.stringify(U)), E.dataTransfer.effectAllowed = "copyMove", E.target.classList.add("dragging"), i("handleDragStart", N);
|
|
52
|
+
} catch (U) {
|
|
53
|
+
console.error("Drag start error:", U);
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
return (E, N) => {
|
|
57
|
+
const U = K("svg-icon");
|
|
58
|
+
return r(), w("div", ha, [
|
|
59
|
+
(r(!0), w(ae, null, te(k.value, (T) => (r(), w("div", {
|
|
60
|
+
class: "group-item",
|
|
61
|
+
key: T == null ? void 0 : T.label
|
|
62
|
+
}, [
|
|
63
|
+
g("div", fa, j(T == null ? void 0 : T.label), 1),
|
|
64
|
+
g("div", ma, [
|
|
65
|
+
(r(!0), w(ae, null, te(T == null ? void 0 : T.items, (Y, b) => (r(), w("div", {
|
|
66
|
+
class: "type-list",
|
|
67
|
+
title: "鼠标拖动",
|
|
68
|
+
ref_for: !0,
|
|
69
|
+
ref_key: "dragItem",
|
|
70
|
+
ref: J,
|
|
71
|
+
key: b,
|
|
72
|
+
draggable: !0,
|
|
73
|
+
onDragstart: (q) => P(q, Y)
|
|
74
|
+
}, [
|
|
75
|
+
C(U, {
|
|
76
|
+
name: Y.icon,
|
|
77
|
+
style: { width: "15px", height: "15px" }
|
|
78
|
+
}, null, 8, ["name"]),
|
|
79
|
+
g("div", null, j(Y.name), 1)
|
|
80
|
+
], 40, ga))), 128))
|
|
81
|
+
])
|
|
82
|
+
]))), 128))
|
|
83
|
+
]);
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
}, Qa = /* @__PURE__ */ ge(_a, [["__scopeId", "data-v-951fb5b4"]]), ya = { class: "fill-content" }, Ca = { class: "overall-config-wrapper" }, Da = { class: "operate-content" }, wa = ["onClick"], Ia = {
|
|
87
|
+
class: "collapse-title-item",
|
|
88
|
+
title: "编辑"
|
|
89
|
+
}, ba = { key: 1 }, xa = ["onClick"], ka = { class: "icon-content" }, Ta = {
|
|
90
|
+
key: 0,
|
|
91
|
+
class: "edit-content"
|
|
92
|
+
}, Sa = ["onClick"], La = { title: "设置" }, Ea = ["onClick"], Ma = { class: "parent-main" }, $a = { style: { display: "flex", "justify-content": "space-between" } }, Ba = { title: "样式" }, Va = { title: "交互" }, Ra = { title: "扩展" }, Aa = { style: { width: "100%", "max-height": "500px", overflow: "auto" } }, Oa = {
|
|
93
|
+
__name: "index",
|
|
94
|
+
setup(_e) {
|
|
95
|
+
const I = me(ie), { itemData: O, originalData: oe } = le(I), de = qe(), { activeMenuPath: i } = le(de);
|
|
96
|
+
V([]);
|
|
97
|
+
const J = V([]), k = V([]), P = V([]), E = Z(() => {
|
|
98
|
+
var o, t, d, c;
|
|
99
|
+
return ((o = W.value) == null ? void 0 : o.length) > 0 && (t = W.value) != null && t.every((u) => {
|
|
100
|
+
var L, $;
|
|
101
|
+
return (u == null ? void 0 : u.comp) === (($ = (L = W.value) == null ? void 0 : L[0]) == null ? void 0 : $.comp);
|
|
102
|
+
}) ? (c = (d = W.value) == null ? void 0 : d[0]) == null ? void 0 : c.comp : null;
|
|
103
|
+
}), N = (o) => {
|
|
104
|
+
var d;
|
|
105
|
+
let t = (d = R(k.value)) == null ? void 0 : d.map((c, u) => (o === u && (c.content = !0), c));
|
|
106
|
+
k.value = t;
|
|
107
|
+
}, U = (o) => {
|
|
108
|
+
var d;
|
|
109
|
+
let t = (d = R(k.value)) == null ? void 0 : d.map((c, u) => (o === u && (c.content = !1), c));
|
|
110
|
+
k.value = t, W.value = R(O.value);
|
|
111
|
+
}, T = (o, t) => {
|
|
112
|
+
var L;
|
|
113
|
+
let d = (L = R(k.value)) == null ? void 0 : L.map(($, l) => (o === l && ($.content = !1), $));
|
|
114
|
+
k.value = d;
|
|
115
|
+
const c = R(O.value), u = c == null ? void 0 : c.filter(($, l) => (l === o && ($.name = t), $));
|
|
116
|
+
I.setOriginalData(u), I.setItemData(u);
|
|
117
|
+
}, Y = (o) => {
|
|
118
|
+
const t = R(O.value), d = t == null ? void 0 : t.map((c, u) => ((c == null ? void 0 : c.name) === (o == null ? void 0 : o.name) ? c.isShow = !(o != null && o.isShow) : c.isShow = c.isShow, c));
|
|
119
|
+
O.value = d;
|
|
120
|
+
};
|
|
121
|
+
ue(
|
|
122
|
+
() => O.value,
|
|
123
|
+
() => {
|
|
124
|
+
var o, t, d, c;
|
|
125
|
+
!O.value || ((o = O.value) == null ? void 0 : o.length) === 0 ? W.value = [] : W.value = (t = O.value) == null ? void 0 : t.filter((u) => (u == null ? void 0 : u.comp) !== "methodButton"), J.value = W.value, k.value = (d = R(J.value)) == null ? void 0 : d.map((u, L) => ({
|
|
126
|
+
id: L,
|
|
127
|
+
content: !1
|
|
128
|
+
})), P.value = (c = R(J.value)) == null ? void 0 : c.map((u, L) => ({
|
|
129
|
+
id: L,
|
|
130
|
+
isShow: u == null ? void 0 : u.isShow
|
|
131
|
+
}));
|
|
132
|
+
},
|
|
133
|
+
{ deep: !0, immediate: !0 }
|
|
134
|
+
);
|
|
135
|
+
const b = (o) => Ye(o), q = (o, t, d, c) => {
|
|
136
|
+
var L, $;
|
|
137
|
+
if (!o) return;
|
|
138
|
+
let u = R(O.value);
|
|
139
|
+
u = (L = u == null ? void 0 : u.map((l, f) => {
|
|
140
|
+
if (c && f === d) {
|
|
141
|
+
const { compData: s, itemChildData: z } = o;
|
|
142
|
+
return l.compData = s, l.itemChildData = z, l;
|
|
143
|
+
}
|
|
144
|
+
return f === d && (l.compData = o), l;
|
|
145
|
+
})) == null ? void 0 : L.filter((l) => (l == null ? void 0 : l.comp) !== "methodButton"), k.value = ($ = R(u)) == null ? void 0 : $.map((l, f) => ({
|
|
146
|
+
id: f,
|
|
147
|
+
content: !1
|
|
148
|
+
})), I.setOriginalData(u), I.setItemData(u);
|
|
149
|
+
}, F = V(null), M = (o, t) => {
|
|
150
|
+
if (!t) {
|
|
151
|
+
I.setActiveItemIndex(o);
|
|
152
|
+
return;
|
|
153
|
+
}
|
|
154
|
+
I.setActiveItemIndex(-1);
|
|
155
|
+
}, S = (o) => {
|
|
156
|
+
aa.confirm("是否确认要删除", "", {
|
|
157
|
+
confirmButtonText: "确认",
|
|
158
|
+
cancelButtonText: "取消",
|
|
159
|
+
type: "warning"
|
|
160
|
+
}).then(
|
|
161
|
+
() => {
|
|
162
|
+
const t = R(O.value), d = t == null ? void 0 : t.filter((c, u) => u !== o);
|
|
163
|
+
I.setOriginalData(d), I.setItemData(d), I.setActiveItemIndex(-1), ea({
|
|
164
|
+
type: "success",
|
|
165
|
+
message: "删除成功"
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
).catch(() => {
|
|
169
|
+
});
|
|
170
|
+
};
|
|
171
|
+
return (o, t) => {
|
|
172
|
+
var $;
|
|
173
|
+
const d = K("svg-icon"), c = K("el-tab-pane"), u = K("el-card"), L = K("el-tabs");
|
|
174
|
+
return r(), w("div", ya, [
|
|
175
|
+
t[10] || (t[10] = g("div", { class: "fill-operate" }, "操作栏", -1)),
|
|
176
|
+
g("div", Ca, [
|
|
177
|
+
(r(), A(X(b(E.value + "style")), {
|
|
178
|
+
target: "overall",
|
|
179
|
+
optionItems: h(Je),
|
|
180
|
+
compType: E.value,
|
|
181
|
+
comp: ($ = h(W)) == null ? void 0 : $[0],
|
|
182
|
+
onChange: h(We)
|
|
183
|
+
}, null, 40, ["optionItems", "compType", "comp", "onChange"]))
|
|
184
|
+
]),
|
|
185
|
+
g("div", Da, [
|
|
186
|
+
C(ia, {
|
|
187
|
+
class: "collapse-content",
|
|
188
|
+
collapseContents: h(W),
|
|
189
|
+
accordion: !0,
|
|
190
|
+
onChange: h(ta),
|
|
191
|
+
ref_key: "ssCollapseRef",
|
|
192
|
+
ref: F
|
|
193
|
+
}, {
|
|
194
|
+
title: D(({ item: l, index: f, isActive: s }) => {
|
|
195
|
+
var z, x, B, a, n, p, m, v, H, Q;
|
|
196
|
+
return [
|
|
197
|
+
g("div", {
|
|
198
|
+
class: "collapse-title-content",
|
|
199
|
+
onClick: (_) => M(f, s)
|
|
200
|
+
}, [
|
|
201
|
+
g("div", Ia, [
|
|
202
|
+
(x = (z = k.value) == null ? void 0 : z.find((_) => _.id === f)) != null && x.content ? G("", !0) : (r(), w("div", {
|
|
203
|
+
key: 0,
|
|
204
|
+
class: "collapse-title",
|
|
205
|
+
style: Xe({ marginRight: l.name && l.name !== "" ? "8px" : "0px" })
|
|
206
|
+
}, j(l.name), 5)),
|
|
207
|
+
(a = (B = k.value) == null ? void 0 : B.find((_) => _.id === f)) != null && a.content ? (r(), w("div", ba, [
|
|
208
|
+
C(pa, {
|
|
209
|
+
modelValue: l.name,
|
|
210
|
+
"onUpdate:modelValue": (_) => l.name = _,
|
|
211
|
+
onClick: t[0] || (t[0] = ne(() => {
|
|
212
|
+
}, ["stop"]))
|
|
213
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
214
|
+
])) : G("", !0),
|
|
215
|
+
(p = (n = k.value) == null ? void 0 : n.find((_) => _.id === f)) != null && p.content ? G("", !0) : (r(), w("div", {
|
|
216
|
+
key: 2,
|
|
217
|
+
onClick: ne((_) => N(f), ["stop"]),
|
|
218
|
+
class: "icon-content"
|
|
219
|
+
}, [
|
|
220
|
+
C(d, {
|
|
221
|
+
name: "Edit",
|
|
222
|
+
style: { width: "13px", height: "13px" }
|
|
223
|
+
})
|
|
224
|
+
], 8, xa))
|
|
225
|
+
]),
|
|
226
|
+
g("div", ka, [
|
|
227
|
+
(v = (m = k.value) == null ? void 0 : m.find((_) => _.id === f)) != null && v.content ? (r(), w("div", Ta, [
|
|
228
|
+
C(d, {
|
|
229
|
+
name: "Cancel",
|
|
230
|
+
style: { width: "16px", height: "16px" },
|
|
231
|
+
class: "icon-content",
|
|
232
|
+
onClick: ne((_) => U(f), ["stop"])
|
|
233
|
+
}, null, 8, ["onClick"]),
|
|
234
|
+
C(d, {
|
|
235
|
+
name: "Save",
|
|
236
|
+
onClick: ne((_) => T(f, l.name), ["stop"]),
|
|
237
|
+
style: { width: "16px", height: "16px", fill: "var(--ssComponent-primary-color)" },
|
|
238
|
+
class: "icon-content"
|
|
239
|
+
}, null, 8, ["onClick"])
|
|
240
|
+
])) : G("", !0),
|
|
241
|
+
(Q = (H = k.value) == null ? void 0 : H.find((_) => _.id === f)) != null && Q.content ? G("", !0) : (r(), w("div", {
|
|
242
|
+
key: 1,
|
|
243
|
+
onClick: ne((_) => S(f), ["stop"]),
|
|
244
|
+
class: "icon-content"
|
|
245
|
+
}, [
|
|
246
|
+
C(d, {
|
|
247
|
+
name: "Delete",
|
|
248
|
+
style: { width: "16px", height: "16px" }
|
|
249
|
+
})
|
|
250
|
+
], 8, Sa))
|
|
251
|
+
])
|
|
252
|
+
], 8, wa)
|
|
253
|
+
];
|
|
254
|
+
}),
|
|
255
|
+
content: D(({ item: l, index: f }) => [
|
|
256
|
+
C(L, {
|
|
257
|
+
modelValue: h(he),
|
|
258
|
+
"onUpdate:modelValue": t[2] || (t[2] = (s) => ze(he) ? he.value = s : null),
|
|
259
|
+
class: "config-tabs",
|
|
260
|
+
onTabClick: M
|
|
261
|
+
}, {
|
|
262
|
+
default: D(() => [
|
|
263
|
+
C(c, {
|
|
264
|
+
label: "设置",
|
|
265
|
+
name: "data"
|
|
266
|
+
}, {
|
|
267
|
+
label: D(() => [
|
|
268
|
+
g("span", La, [
|
|
269
|
+
C(d, {
|
|
270
|
+
name: "LowCodeSetting",
|
|
271
|
+
style: { width: "15px", height: "15px", "margin-right": "5px" }
|
|
272
|
+
}),
|
|
273
|
+
t[3] || (t[3] = ee("设置"))
|
|
274
|
+
])
|
|
275
|
+
]),
|
|
276
|
+
default: D(() => {
|
|
277
|
+
var s, z;
|
|
278
|
+
return [
|
|
279
|
+
g("div", {
|
|
280
|
+
class: "comp-child",
|
|
281
|
+
onClick: (x) => M(f)
|
|
282
|
+
}, [
|
|
283
|
+
(r(), A(X(b(l.comp + "Operate")), {
|
|
284
|
+
itemContents: l == null ? void 0 : l.compData,
|
|
285
|
+
originalItemContents: (z = (s = J.value) == null ? void 0 : s.find((x, B) => B === f)) == null ? void 0 : z.compData,
|
|
286
|
+
itemChildData: l == null ? void 0 : l.itemChildData,
|
|
287
|
+
onChange: (x, B) => q(x, l, f, B)
|
|
288
|
+
}, null, 40, ["itemContents", "originalItemContents", "itemChildData", "onChange"]))
|
|
289
|
+
], 8, Ea),
|
|
290
|
+
g("div", Ma, [
|
|
291
|
+
t[5] || (t[5] = g("div", { class: "operate-title" }, [
|
|
292
|
+
g("div", null, j("显隐控制"))
|
|
293
|
+
], -1)),
|
|
294
|
+
g("div", $a, [
|
|
295
|
+
t[4] || (t[4] = g("div", { class: "operate-center-content" }, j("是否显示"), -1)),
|
|
296
|
+
C(da, {
|
|
297
|
+
value: P.value.find((x) => x.id === f).isShow,
|
|
298
|
+
"onUpdate:value": (x) => P.value.find((B) => B.id === f).isShow = x,
|
|
299
|
+
onClick: (x) => Y(l)
|
|
300
|
+
}, null, 8, ["value", "onUpdate:value", "onClick"])
|
|
301
|
+
])
|
|
302
|
+
])
|
|
303
|
+
];
|
|
304
|
+
}),
|
|
305
|
+
_: 2
|
|
306
|
+
}, 1024),
|
|
307
|
+
C(c, {
|
|
308
|
+
label: "样式",
|
|
309
|
+
name: "style"
|
|
310
|
+
}, {
|
|
311
|
+
label: D(() => [
|
|
312
|
+
g("span", Ba, [
|
|
313
|
+
C(d, {
|
|
314
|
+
name: "LowCodeStyle",
|
|
315
|
+
style: { width: "15px", height: "15px", "margin-right": "5px" }
|
|
316
|
+
}),
|
|
317
|
+
t[6] || (t[6] = ee("样式"))
|
|
318
|
+
])
|
|
319
|
+
]),
|
|
320
|
+
default: D(() => [
|
|
321
|
+
(r(), A(X(b((l == null ? void 0 : l.comp) + "style")), {
|
|
322
|
+
target: "alone",
|
|
323
|
+
compType: l == null ? void 0 : l.comp,
|
|
324
|
+
comp: l,
|
|
325
|
+
optionItems: h(Je),
|
|
326
|
+
onChange: (s) => h(We)(s, l)
|
|
327
|
+
}, null, 40, ["compType", "comp", "optionItems", "onChange"]))
|
|
328
|
+
]),
|
|
329
|
+
_: 2
|
|
330
|
+
}, 1024),
|
|
331
|
+
C(c, {
|
|
332
|
+
label: "交互",
|
|
333
|
+
name: "event"
|
|
334
|
+
}, {
|
|
335
|
+
label: D(() => [
|
|
336
|
+
g("span", Va, [
|
|
337
|
+
C(d, {
|
|
338
|
+
name: "LowCodeEvent",
|
|
339
|
+
style: { width: "15px", height: "15px", "margin-right": "5px" }
|
|
340
|
+
}),
|
|
341
|
+
t[7] || (t[7] = ee("交互"))
|
|
342
|
+
])
|
|
343
|
+
]),
|
|
344
|
+
default: D(() => [
|
|
345
|
+
t[8] || (t[8] = ee(" 交互 "))
|
|
346
|
+
]),
|
|
347
|
+
_: 1,
|
|
348
|
+
__: [8]
|
|
349
|
+
}),
|
|
350
|
+
C(c, {
|
|
351
|
+
label: "扩展",
|
|
352
|
+
name: "extend"
|
|
353
|
+
}, {
|
|
354
|
+
label: D(() => [
|
|
355
|
+
g("span", Ra, [
|
|
356
|
+
C(d, {
|
|
357
|
+
name: "LowCodeExtend",
|
|
358
|
+
style: { width: "15px", height: "15px", "margin-right": "5px" }
|
|
359
|
+
}),
|
|
360
|
+
t[9] || (t[9] = ee("扩展"))
|
|
361
|
+
])
|
|
362
|
+
]),
|
|
363
|
+
default: D(() => [
|
|
364
|
+
C(L, {
|
|
365
|
+
"tab-position": "left",
|
|
366
|
+
modelValue: h(ce),
|
|
367
|
+
"onUpdate:modelValue": t[1] || (t[1] = (s) => ze(ce) ? ce.value = s : null),
|
|
368
|
+
class: "extend-tabs",
|
|
369
|
+
onTabChange: h(na)
|
|
370
|
+
}, {
|
|
371
|
+
default: D(() => [
|
|
372
|
+
(r(!0), w(ae, null, te(h(la), (s, z) => (r(), A(c, {
|
|
373
|
+
key: s == null ? void 0 : s.name,
|
|
374
|
+
label: s == null ? void 0 : s.label,
|
|
375
|
+
name: s == null ? void 0 : s.name
|
|
376
|
+
}, {
|
|
377
|
+
default: D(() => [
|
|
378
|
+
C(u, null, {
|
|
379
|
+
default: D(() => {
|
|
380
|
+
var x, B, a;
|
|
381
|
+
return [
|
|
382
|
+
(r(), A(X(b((x = s == null ? void 0 : s.component) == null ? void 0 : x.comp)), {
|
|
383
|
+
compItem: s == null ? void 0 : s.component,
|
|
384
|
+
itemData: (B = s == null ? void 0 : s.component) == null ? void 0 : B.compData,
|
|
385
|
+
childItemData: (a = s == null ? void 0 : s.component) == null ? void 0 : a.itemChildData,
|
|
386
|
+
key: z,
|
|
387
|
+
level: 1,
|
|
388
|
+
onChange: h(Pe),
|
|
389
|
+
onOnButtonClick: h(oa)
|
|
390
|
+
}, null, 40, ["compItem", "itemData", "childItemData", "onChange", "onOnButtonClick"]))
|
|
391
|
+
];
|
|
392
|
+
}),
|
|
393
|
+
_: 2
|
|
394
|
+
}, 1024)
|
|
395
|
+
]),
|
|
396
|
+
_: 2
|
|
397
|
+
}, 1032, ["label", "name"]))), 128))
|
|
398
|
+
]),
|
|
399
|
+
_: 1
|
|
400
|
+
}, 8, ["modelValue", "onTabChange"])
|
|
401
|
+
]),
|
|
402
|
+
_: 1
|
|
403
|
+
})
|
|
404
|
+
]),
|
|
405
|
+
_: 2
|
|
406
|
+
}, 1032, ["modelValue"])
|
|
407
|
+
]),
|
|
408
|
+
_: 1
|
|
409
|
+
}, 8, ["collapseContents", "onChange"])
|
|
410
|
+
]),
|
|
411
|
+
C(va, {
|
|
412
|
+
class: "task-dialog-wrapper",
|
|
413
|
+
visible: h(fe).show,
|
|
414
|
+
title: h(fe).title,
|
|
415
|
+
dialogWidth: h(fe).width,
|
|
416
|
+
onBeforeDestroy: h(sa)
|
|
417
|
+
}, {
|
|
418
|
+
default: D(() => {
|
|
419
|
+
var l, f;
|
|
420
|
+
return [
|
|
421
|
+
g("div", Aa, [
|
|
422
|
+
h(re) ? (r(), A(X(b(((l = h(re)) == null ? void 0 : l.comp) + "extend")), {
|
|
423
|
+
key: 0,
|
|
424
|
+
target: "alone",
|
|
425
|
+
comp: h(re),
|
|
426
|
+
extendItem: h(ua),
|
|
427
|
+
compType: (f = h(re)) == null ? void 0 : f.comp,
|
|
428
|
+
activeTabName: h(ce),
|
|
429
|
+
relatedData: h(ra),
|
|
430
|
+
onChange: h(Pe),
|
|
431
|
+
onOnButtonClick: h(ca)
|
|
432
|
+
}, null, 40, ["comp", "extendItem", "compType", "activeTabName", "relatedData", "onChange", "onOnButtonClick"])) : G("", !0)
|
|
433
|
+
])
|
|
434
|
+
];
|
|
435
|
+
}),
|
|
436
|
+
_: 1
|
|
437
|
+
}, 8, ["visible", "title", "dialogWidth", "onBeforeDestroy"])
|
|
438
|
+
]);
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
}, Za = /* @__PURE__ */ ge(Oa, [["__scopeId", "data-v-0ecba574"]]), Na = { style: { display: "flex" } }, Ua = { style: { display: "flex" } }, Fa = { key: 2 }, za = {
|
|
442
|
+
key: 4,
|
|
443
|
+
style: { "margin-top": "30px" }
|
|
444
|
+
}, Ga = {
|
|
445
|
+
__name: "index",
|
|
446
|
+
setup(_e) {
|
|
447
|
+
const I = me(ie), { itemData: O, activeItemIndex: oe, pageMapState: de } = le(I), i = V([]), J = V(0), k = V(""), P = qe(ie), { activeMenuPath: E } = le(P), N = V(null), U = V(null), T = V(24), Y = V(2), b = V([]), q = V([]), F = Z(() => {
|
|
448
|
+
var a, n, p;
|
|
449
|
+
return {
|
|
450
|
+
default: !o.value && !S.value && M.value === "vertical" && ((a = i.value) == null ? void 0 : a.length) > 0,
|
|
451
|
+
grid: o.value && !S.value && M.value === "vertical",
|
|
452
|
+
tab: M.value === "horizontal" && ((n = i.value) == null ? void 0 : n.length) > 0,
|
|
453
|
+
step: S.value && M.value === "vertical" && ((p = i.value) == null ? void 0 : p.length) > 0
|
|
454
|
+
};
|
|
455
|
+
}), M = Z(() => {
|
|
456
|
+
var a, n, p, m;
|
|
457
|
+
return ((a = i.value) == null ? void 0 : a.length) > 0 && ((n = i.value) != null && n.every((v) => v == null ? void 0 : v.layout)) ? (m = (p = i.value) == null ? void 0 : p[0]) == null ? void 0 : m.layout : "vertical";
|
|
458
|
+
}), S = Z(() => {
|
|
459
|
+
var a, n;
|
|
460
|
+
return (n = (a = i.value) == null ? void 0 : a[0]) == null ? void 0 : n.isStepLayout;
|
|
461
|
+
}), o = Z(() => {
|
|
462
|
+
var a, n;
|
|
463
|
+
return (n = (a = i.value) == null ? void 0 : a[0]) == null ? void 0 : n.isGridLayout;
|
|
464
|
+
}), t = V(null), d = Z(() => {
|
|
465
|
+
var a, n, p;
|
|
466
|
+
return ((a = i.value) == null ? void 0 : a.length) > 0 && M.value === "horizontal" ? (p = (n = i.value) == null ? void 0 : n[0]) == null ? void 0 : p.name : "";
|
|
467
|
+
}), c = (a, n) => {
|
|
468
|
+
J.value = n, t.value = a;
|
|
469
|
+
}, u = (a) => {
|
|
470
|
+
var v;
|
|
471
|
+
if (!a) return;
|
|
472
|
+
let n = null;
|
|
473
|
+
const p = R(i.value);
|
|
474
|
+
if (oe.value >= 0 && (n = p == null ? void 0 : p[oe.value]), n && n.comp === "Layout") {
|
|
475
|
+
const { compData: H = [] } = n;
|
|
476
|
+
((v = H == null ? void 0 : H.find((_) => {
|
|
477
|
+
const { key: se } = _;
|
|
478
|
+
return se === "children";
|
|
479
|
+
})) == null ? void 0 : v.contents).push({
|
|
480
|
+
comp: a.comp,
|
|
481
|
+
name: a.name,
|
|
482
|
+
compData: []
|
|
483
|
+
}), I.setItemData(p);
|
|
484
|
+
return;
|
|
485
|
+
}
|
|
486
|
+
const m = R(i.value);
|
|
487
|
+
m.push({
|
|
488
|
+
comp: a.comp,
|
|
489
|
+
name: a.name,
|
|
490
|
+
compData: []
|
|
491
|
+
}), I.setItemData(m), x(m);
|
|
492
|
+
}, L = (a) => {
|
|
493
|
+
a.preventDefault(), a.dataTransfer.dropEffect = "copy";
|
|
494
|
+
}, $ = async (a) => {
|
|
495
|
+
try {
|
|
496
|
+
const n = a.dataTransfer.getData("application/json");
|
|
497
|
+
if (!n) return;
|
|
498
|
+
const p = JSON.parse(n), m = await l(a), v = f(p, m);
|
|
499
|
+
await Ke(), s(v), u(JSON.parse(n || "")), console.log("drop"), z();
|
|
500
|
+
} catch (n) {
|
|
501
|
+
console.error("Drop error:", n), z();
|
|
502
|
+
}
|
|
503
|
+
}, l = async (a) => N.value ? new Promise((n) => {
|
|
504
|
+
requestAnimationFrame(() => {
|
|
505
|
+
const p = N.value.getBoundingClientRect(), m = a.clientX - p.left, v = a.clientY, H = Math.floor(m / (p.width / T.value)), Q = Math.floor(v / (p.width / T.value));
|
|
506
|
+
n({
|
|
507
|
+
x: Math.max(0, H),
|
|
508
|
+
y: Math.max(0, Q),
|
|
509
|
+
w: T.value,
|
|
510
|
+
h: Y.value
|
|
511
|
+
});
|
|
512
|
+
});
|
|
513
|
+
}) : { x: 0, y: 0 }, f = (a, n) => {
|
|
514
|
+
var m, v;
|
|
515
|
+
const p = `item_${Date.now()}_${(v = (m = Math.random()) == null ? void 0 : m.toString(36)) == null ? void 0 : v.substring(2, 9)}`;
|
|
516
|
+
return {
|
|
517
|
+
i: p,
|
|
518
|
+
id: p,
|
|
519
|
+
x: n.x,
|
|
520
|
+
y: n.y,
|
|
521
|
+
w: n.w,
|
|
522
|
+
h: n.h,
|
|
523
|
+
component: a,
|
|
524
|
+
minW: 2,
|
|
525
|
+
minH: 2
|
|
526
|
+
};
|
|
527
|
+
}, s = (a) => {
|
|
528
|
+
x([...b.value, a], !0);
|
|
529
|
+
}, z = () => {
|
|
530
|
+
document.querySelectorAll(".dragging").forEach((a) => {
|
|
531
|
+
a.classList.remove("dragging");
|
|
532
|
+
});
|
|
533
|
+
}, x = (a, n) => {
|
|
534
|
+
b.value = n ? a : Ze(a), I.setItemGridData({
|
|
535
|
+
pageKey: E.value,
|
|
536
|
+
results: b.value
|
|
537
|
+
}), P.setContentLoading(!1);
|
|
538
|
+
};
|
|
539
|
+
ue(() => F.value.step, (a) => {
|
|
540
|
+
var n;
|
|
541
|
+
a && c((n = i.value) == null ? void 0 : n[0], 1);
|
|
542
|
+
}, { immediate: !0 }), ue(() => F.value.grid, (a) => {
|
|
543
|
+
var n, p;
|
|
544
|
+
!a && ((n = b.value) == null ? void 0 : n.length) > 0 && I.setItemGridData({
|
|
545
|
+
pageKey: E.value,
|
|
546
|
+
results: (p = b.value) == null ? void 0 : p.map((m) => m == null ? void 0 : m.id),
|
|
547
|
+
isDelete: !0
|
|
548
|
+
});
|
|
549
|
+
}, { immediate: !0 }), ue(() => O.value, (a) => {
|
|
550
|
+
var n, p, m;
|
|
551
|
+
P.setContentLoading(!0), i.value = !a || (a == null ? void 0 : a.length) === 0 ? [] : (n = R(a)) == null ? void 0 : n.filter((v) => !(v != null && v.affix) || (v == null ? void 0 : v.affix) === "default"), q.value = !a || (a == null ? void 0 : a.length) === 0 ? [] : (p = R(a)) == null ? void 0 : p.filter((v) => (v == null ? void 0 : v.affix) && (v == null ? void 0 : v.affix) !== "default"), (m = F.value) != null && m.grid && x(i.value);
|
|
552
|
+
}, { deep: !0, immediate: !0 });
|
|
553
|
+
const B = (a) => Ye(a);
|
|
554
|
+
return (a, n) => {
|
|
555
|
+
var Q, _, se, ye, Ce, De, we, Ie, be, xe, ke, Te;
|
|
556
|
+
const p = K("el-tab-pane"), m = K("el-tabs"), v = K("el-step"), H = K("el-steps");
|
|
557
|
+
return r(), w("div", {
|
|
558
|
+
ref_key: "containerRef",
|
|
559
|
+
ref: N,
|
|
560
|
+
class: "low-code-wrapper",
|
|
561
|
+
onDragover: L,
|
|
562
|
+
onDrop: $
|
|
563
|
+
}, [
|
|
564
|
+
(Q = F.value) != null && Q.default ? (r(!0), w(ae, { key: 0 }, te(i.value, (e, y) => (r(), w("div", {
|
|
565
|
+
class: "item-content",
|
|
566
|
+
key: y
|
|
567
|
+
}, [
|
|
568
|
+
g("div", Na, j(e.name), 1),
|
|
569
|
+
(r(), A(X(B(e.comp)), {
|
|
570
|
+
itemData: e == null ? void 0 : e.compData,
|
|
571
|
+
childItemData: e == null ? void 0 : e.itemChildData,
|
|
572
|
+
key: y,
|
|
573
|
+
config: {
|
|
574
|
+
showIndex: e == null ? void 0 : e.showIndex,
|
|
575
|
+
allowMove: e == null ? void 0 : e.allowMove,
|
|
576
|
+
viewport: e == null ? void 0 : e.viewport
|
|
577
|
+
},
|
|
578
|
+
pageLayout: M.value,
|
|
579
|
+
parentTableId: e == null ? void 0 : e.tableId,
|
|
580
|
+
children: e == null ? void 0 : e.children,
|
|
581
|
+
level: 1
|
|
582
|
+
}, null, 8, ["itemData", "childItemData", "config", "pageLayout", "parentTableId", "children"]))
|
|
583
|
+
]))), 128)) : G("", !0),
|
|
584
|
+
(_ = F.value) != null && _.grid ? (r(), A(h(je), {
|
|
585
|
+
key: 1,
|
|
586
|
+
ref_key: "gridLayoutRef",
|
|
587
|
+
ref: U,
|
|
588
|
+
layout: b.value,
|
|
589
|
+
"onUpdate:layout": n[0] || (n[0] = (e) => b.value = e),
|
|
590
|
+
"prevent-collision": !1,
|
|
591
|
+
"is-draggable": !0,
|
|
592
|
+
"is-resizable": !0,
|
|
593
|
+
responsive: !1,
|
|
594
|
+
"col-num": 24,
|
|
595
|
+
margin: [8, 16]
|
|
596
|
+
}, {
|
|
597
|
+
default: D(() => [
|
|
598
|
+
(r(!0), w(ae, null, te(b.value, (e, y) => {
|
|
599
|
+
var pe, Se;
|
|
600
|
+
return r(), A(h(Qe), {
|
|
601
|
+
key: e.i,
|
|
602
|
+
x: e.x,
|
|
603
|
+
y: e.y,
|
|
604
|
+
"min-h": e.minH,
|
|
605
|
+
"max-h": e.maxH,
|
|
606
|
+
"min-w": e.minW,
|
|
607
|
+
w: e.w,
|
|
608
|
+
h: h(He)((pe = i.value[y]) == null ? void 0 : pe.comp) ? 0 : e.h,
|
|
609
|
+
i: e.i,
|
|
610
|
+
class: Ge(h(He)((Se = i.value[y]) == null ? void 0 : Se.comp) ? "grid-method-button" : "")
|
|
611
|
+
}, {
|
|
612
|
+
default: D(() => {
|
|
613
|
+
var Le, Ee, Me, $e, Be, Ve, Re, Ae, Oe, Ne, Ue, Fe;
|
|
614
|
+
return [
|
|
615
|
+
ee(j(e.h) + " ", 1),
|
|
616
|
+
g("div", {
|
|
617
|
+
class: Ge((Ee = q.value) != null && Ee.includes((Le = e == null ? void 0 : e.component) == null ? void 0 : Le.id) ? "comp-wrapper affix-content" : "comp-wrapper")
|
|
618
|
+
}, [
|
|
619
|
+
g("div", Ua, j((Me = i.value[y]) == null ? void 0 : Me.name), 1),
|
|
620
|
+
(r(), A(X(B(($e = i.value[y]) == null ? void 0 : $e.comp)), {
|
|
621
|
+
pageLayout: M.value,
|
|
622
|
+
itemData: (Be = i.value[y]) == null ? void 0 : Be.compData,
|
|
623
|
+
childItemData: (Ve = i.value[y]) == null ? void 0 : Ve.itemChildData,
|
|
624
|
+
index: ((Re = i.value[y]) == null ? void 0 : Re.id) ?? y,
|
|
625
|
+
parentTableId: (Ae = i.value[y]) == null ? void 0 : Ae.tableId,
|
|
626
|
+
children: (Oe = i.value[y]) == null ? void 0 : Oe.children,
|
|
627
|
+
level: 1,
|
|
628
|
+
config: {
|
|
629
|
+
showIndex: (Ne = i.value[y]) == null ? void 0 : Ne.showIndex,
|
|
630
|
+
allowMove: (Ue = i.value[y]) == null ? void 0 : Ue.allowMove,
|
|
631
|
+
viewport: (Fe = i.value[y]) == null ? void 0 : Fe.viewport
|
|
632
|
+
}
|
|
633
|
+
}, null, 8, ["pageLayout", "itemData", "childItemData", "index", "parentTableId", "children", "config"]))
|
|
634
|
+
], 2)
|
|
635
|
+
];
|
|
636
|
+
}),
|
|
637
|
+
_: 2
|
|
638
|
+
}, 1032, ["x", "y", "min-h", "max-h", "min-w", "w", "h", "i", "class"]);
|
|
639
|
+
}), 128))
|
|
640
|
+
]),
|
|
641
|
+
_: 1
|
|
642
|
+
}, 8, ["layout"])) : G("", !0),
|
|
643
|
+
(se = F.value) != null && se.tab ? (r(), w("div", Fa, [
|
|
644
|
+
C(m, {
|
|
645
|
+
modelValue: d.value,
|
|
646
|
+
"onUpdate:modelValue": n[1] || (n[1] = (e) => d.value = e),
|
|
647
|
+
type: "card",
|
|
648
|
+
class: "display-tabs"
|
|
649
|
+
}, {
|
|
650
|
+
default: D(() => [
|
|
651
|
+
(r(!0), w(ae, null, te(i.value, (e, y) => (r(), A(p, {
|
|
652
|
+
key: e.i,
|
|
653
|
+
label: e == null ? void 0 : e.name,
|
|
654
|
+
name: e == null ? void 0 : e.name
|
|
655
|
+
}, {
|
|
656
|
+
default: D(() => [
|
|
657
|
+
(r(), A(X(B(e == null ? void 0 : e.comp)), {
|
|
658
|
+
pageLayout: M.value,
|
|
659
|
+
itemData: e == null ? void 0 : e.compData,
|
|
660
|
+
childItemData: e == null ? void 0 : e.itemChildData,
|
|
661
|
+
key: y,
|
|
662
|
+
config: {
|
|
663
|
+
showIndex: e == null ? void 0 : e.showIndex,
|
|
664
|
+
allowMove: e == null ? void 0 : e.allowMove,
|
|
665
|
+
viewport: e == null ? void 0 : e.viewport
|
|
666
|
+
}
|
|
667
|
+
}, null, 8, ["pageLayout", "itemData", "childItemData", "config"]))
|
|
668
|
+
]),
|
|
669
|
+
_: 2
|
|
670
|
+
}, 1032, ["label", "name"]))), 128))
|
|
671
|
+
]),
|
|
672
|
+
_: 1
|
|
673
|
+
}, 8, ["modelValue"])
|
|
674
|
+
])) : G("", !0),
|
|
675
|
+
(ye = F.value) != null && ye.step ? (r(), A(H, {
|
|
676
|
+
key: 3,
|
|
677
|
+
direction: "horizontal",
|
|
678
|
+
active: J.value,
|
|
679
|
+
"align-center": !0,
|
|
680
|
+
class: "display-steps"
|
|
681
|
+
}, {
|
|
682
|
+
default: D(() => [
|
|
683
|
+
(r(!0), w(ae, null, te(i.value, (e, y) => (r(), A(v, {
|
|
684
|
+
key: y,
|
|
685
|
+
class: "step-item",
|
|
686
|
+
status: k.value,
|
|
687
|
+
onClick: (pe) => c(e, y + 1)
|
|
688
|
+
}, {
|
|
689
|
+
title: D(() => [
|
|
690
|
+
ee(j(e == null ? void 0 : e.name), 1)
|
|
691
|
+
]),
|
|
692
|
+
_: 2
|
|
693
|
+
}, 1032, ["status", "onClick"]))), 128))
|
|
694
|
+
]),
|
|
695
|
+
_: 1
|
|
696
|
+
}, 8, ["active"])) : G("", !0),
|
|
697
|
+
(Ce = F.value) != null && Ce.step ? (r(), w("div", za, [
|
|
698
|
+
(r(), A(X(B((De = t.value) == null ? void 0 : De.comp)), {
|
|
699
|
+
pageLayout: M.value,
|
|
700
|
+
itemData: (we = t.value) == null ? void 0 : we.compData,
|
|
701
|
+
childItemData: (Ie = t.value) == null ? void 0 : Ie.itemChildData,
|
|
702
|
+
key: (be = t.value) == null ? void 0 : be.id,
|
|
703
|
+
config: {
|
|
704
|
+
showIndex: (xe = t.value) == null ? void 0 : xe.showIndex,
|
|
705
|
+
allowMove: (ke = t.value) == null ? void 0 : ke.allowMove,
|
|
706
|
+
viewport: (Te = t.value) == null ? void 0 : Te.viewport
|
|
707
|
+
}
|
|
708
|
+
}, null, 8, ["pageLayout", "itemData", "childItemData", "config"]))
|
|
709
|
+
])) : G("", !0)
|
|
710
|
+
], 544);
|
|
711
|
+
};
|
|
712
|
+
}
|
|
713
|
+
}, et = /* @__PURE__ */ ge(Ga, [["__scopeId", "data-v-4aa8798c"]]);
|
|
714
|
+
export {
|
|
715
|
+
et as a,
|
|
716
|
+
Za as b,
|
|
717
|
+
Qa as m
|
|
718
|
+
};
|