ss-component-new 1.2.4 → 1.2.6
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/{animationData-CfT99nMO.cjs → animationData-B0K2ghu6.cjs} +1 -1
- package/dist/{animationData-9n1X4UvO.js → animationData-GqECkAbz.js} +4 -4
- package/dist/{array-pg68Qbs1.js → array-D65aMM6H.js} +1 -1
- package/dist/{array-BPHS7JFA.cjs → array-DMPAgNcb.cjs} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-bj8hK6Pe.js → index--rLSLEk3.js} +2 -2
- package/dist/{index-B8J_v2Ky.cjs → index-67QO-qDa.cjs} +1 -1
- package/dist/{index-DOlPMLvf.cjs → index-87kRWJv8.cjs} +1 -1
- package/dist/{index-CdPbJekh.js → index-8Dyi4QCI.js} +185 -186
- package/dist/{index-CK_O7QdV.cjs → index-8yRiF_z8.cjs} +1 -1
- package/dist/{index-B5srJr0o.js → index-9zEdW6xv.js} +2 -2
- package/dist/{index-CAHYTZ1Q.cjs → index-B14iwpkN.cjs} +1 -1
- package/dist/{index-DJ1PTHpx.cjs → index-B7hLDNQ6.cjs} +1 -1
- package/dist/{index-DBScQH7L.js → index-BEoEUXZe.js} +166 -166
- package/dist/{index-BOVdAFDH.cjs → index-BHJ-tVLT.cjs} +1 -1
- package/dist/{index-Dk8D9SRm.js → index-BMMYAqF1.js} +1 -1
- package/dist/{index-DFg-bhPI.js → index-BNOx3XL5.js} +1 -1
- package/dist/{index-CMlYJD5U.cjs → index-BNvpuVyw.cjs} +1 -1
- package/dist/{index-d6tSWKtY.cjs → index-BOJUyAaV.cjs} +2 -2
- package/dist/{index-B5vIeQUq.cjs → index-BYUPvuvs.cjs} +1 -1
- package/dist/{index-LXb5DfDE.cjs → index-BaRkv5oc.cjs} +1 -1
- package/dist/{index-Bx4qIiIa.cjs → index-BpR7F1Fp.cjs} +1 -1
- package/dist/{index-BjXcyVvp.js → index-Bs2K1FVH.js} +2 -2
- package/dist/{index-Bsdjuxq1.cjs → index-BsM9qdbC.cjs} +1 -1
- package/dist/{index-CyP2hcVu.js → index-BsfJJu0R.js} +6 -6
- package/dist/{index-BAj0dyBF.js → index-Bw_JtuzR.js} +3 -3
- package/dist/{index-BuKHInQb.js → index-C1FOuBuy.js} +1 -1
- package/dist/{index-NFCeQcv4.cjs → index-C5CKSB0e.cjs} +1 -1
- package/dist/{index-CCsSOTaB.js → index-C8UOMPgt.js} +2 -2
- package/dist/{index-CCIJ-P3X.cjs → index-CA-FC_OL.cjs} +1 -1
- package/dist/{index-CDXq3gs4.js → index-CArSUfnV.js} +19 -19
- package/dist/{index-8CcD03tl.js → index-CBuqdsPh.js} +6 -6
- package/dist/{index---6UATT0.js → index-CMCrQ36H.js} +3 -3
- package/dist/{index-CpE8hbs0.js → index-CRj9VM12.js} +6 -6
- package/dist/{index-C1lB8apW.js → index-CRrAiL5l.js} +4 -4
- package/dist/{index-BNNxPuEV.js → index-CShBWCYm.js} +1 -1
- package/dist/{index-FxX6NP0J.js → index-CTkF2kl_.js} +1 -1
- package/dist/{index-DCf7Tz40.cjs → index-CZaBF851.cjs} +1 -1
- package/dist/{index-Y7MUJdPv.js → index-CbA74tCL.js} +2 -2
- package/dist/{index-B5gNufYw.js → index-CbDu4gfZ.js} +2 -2
- package/dist/{index-zQVJFawn.cjs → index-CePZE-QA.cjs} +1 -1
- package/dist/{index-Bi7yv8jC.cjs → index-CedgKpsz.cjs} +1 -1
- package/dist/{index-C0HHmjrg.cjs → index-Cm3z0Vmi.cjs} +1 -1
- package/dist/{index-BEJOd_29.js → index-D-WcrLQv.js} +4 -4
- package/dist/{index-D-r_YKrq.cjs → index-D6mwkqWY.cjs} +2 -2
- package/dist/index-D8510-YQ.cjs +1 -0
- package/dist/{index-DPyzaxnq.cjs → index-D9oqICYV.cjs} +1 -1
- package/dist/{index-DSsZtYMz.js → index-DGepdvRW.js} +2 -2
- package/dist/{index-D0_4keB8.js → index-DGi-ANHr.js} +5 -5
- package/dist/{index-CLtFz5gE.js → index-DJGsDpDp.js} +3 -3
- package/dist/{index-B9nZeing.cjs → index-DPBmAgEA.cjs} +1 -1
- package/dist/{index-xHEf6hcO.js → index-DPWc4No_.js} +2 -2
- package/dist/{index-BrsIZVyD.cjs → index-DSchKIyh.cjs} +1 -1
- package/dist/{index-UN4JU0ly.js → index-DV_ZZQBO.js} +2 -2
- package/dist/{index-1DtctdYW.cjs → index-DVmoPvzr.cjs} +1 -1
- package/dist/{index-BKhDFqMM.cjs → index-DWs7-g1h.cjs} +1 -1
- package/dist/{index-DszzdQnM.cjs → index-DZ8a7BZ1.cjs} +1 -1
- package/dist/{index-nUEWiqy9.cjs → index-DcUUpSE1.cjs} +1 -1
- package/dist/{index-DsHRVZ0E.js → index-DvpVQvAe.js} +2 -2
- package/dist/{index-DPaTtF3h.cjs → index-FK1YYpjN.cjs} +1 -1
- package/dist/{index-DEwcUkb-.js → index-HvKjB6_P.js} +3 -3
- package/dist/{index-PIEkAjRf.js → index-LADv0t0E.js} +11 -11
- package/dist/{index-DS5z17Mc.js → index-_66uQhcl.js} +7 -7
- package/dist/{index-CxNBcsll.cjs → index-_uyv24Pt.cjs} +1 -1
- package/dist/{index-pLeOyTaj.js → index-g4qw0jRy.js} +6 -6
- package/dist/{index-C-AOuDkl.cjs → index-mtuIEfrj.cjs} +1 -1
- package/dist/{index-CmlXlH2b.cjs → index-tttYIzsn.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cmc1oALS.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BSOYWm_U.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BTu7I4mn.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DIMJusrg.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-C795GAHK.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-D2VLEzGB.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-Bg_c-oAL.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-D58IzjOR.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-Bn5qXF4J.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BnNwKutS.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-9kDr7Iek.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CJCvJvBM.js} +13 -13
- package/dist/{index.vue_vue_type_style_index_1_lang-Exyt6qTf.js → index.vue_vue_type_style_index_1_lang-D5Hjs-g0.js} +31 -25
- package/dist/{index.vue_vue_type_style_index_1_lang-Bn7P4fYM.cjs → index.vue_vue_type_style_index_1_lang-H_pReDxj.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-zN5mc8b0.cjs → index.vue_vue_type_style_index_1_lang-N-_9ZJEf.cjs} +2 -2
- package/dist/{index.vue_vue_type_style_index_1_lang-D1n_3_F6.js → index.vue_vue_type_style_index_1_lang-hBa3nAgx.js} +3 -3
- package/dist/{isString-BAN9KLwf.js → isString--ZVOCy4V.js} +1 -1
- package/dist/{isString-ChvWbctO.cjs → isString-CELwppr9.cjs} +1 -1
- package/dist/{main-BUEuCNq-.cjs → main-C6Iw-pcH.cjs} +1 -1
- package/dist/{main-Dk3BZDsa.js → main-CygliYyN.js} +5 -5
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeLatheView-DfSxRY8B.cjs → threeLatheView-CdUoB0Te.cjs} +1 -1
- package/dist/{threeLatheView-DcuDjVv0.js → threeLatheView-DzpPpdDr.js} +2 -2
- package/dist/{threeModel-DjjtL0-a.cjs → threeModel-BUCLJlE5.cjs} +1 -1
- package/dist/{threeModel-YRFvkgXU.js → threeModel-BfMMeZCc.js} +3 -3
- package/dist/{threePreview-CyYfnbB6.js → threePreview-BEqzg370.js} +1 -1
- package/dist/{threePreview-ByUYJkts.cjs → threePreview-C-JW_pcY.cjs} +1 -1
- package/dist/threeSceneView-BTsG2QJg.cjs +5 -0
- package/dist/threeSceneView-DV5dsTZZ.js +1471 -0
- package/dist/{threeSceneViewForCPMPIP-axjwKt9X.js → threeSceneViewForCPMPIP-Bexwqkry.js} +7 -7
- package/dist/{threeSceneViewForCPMPIP-DA-twBdG.cjs → threeSceneViewForCPMPIP-DwLWGNUd.cjs} +1 -1
- package/dist/{threeViewerHost-B02OtfCk.cjs → threeViewerHost-CRqcYbJE.cjs} +1 -1
- package/dist/{threeViewerHost-D7L1FW__.js → threeViewerHost-CTjd2V1D.js} +4 -4
- package/dist/{useRayCaster-CAqupK7D.js → useRayCaster-D0_7oJan.js} +1 -1
- package/dist/{useRayCaster-ClcofJkf.cjs → useRayCaster-DN56HpNP.cjs} +1 -1
- package/package.json +1 -1
- package/public/config.js +1 -1
- package/dist/index-5hLZZ6t-.cjs +0 -1
- package/dist/threeSceneView-mhrcH0WG.cjs +0 -5
- package/dist/threeSceneView-zvyCHrp1.js +0 -1469
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ref as R, watch as Fe, nextTick as Il, resolveComponent as Ke, createBlock as $e, openBlock as ne, withCtx as re, createElementVNode as ve, renderSlot as $a, onMounted as ha, createElementBlock as Te, normalizeStyle as kl, normalizeClass as Ra, toDisplayString as
|
|
2
|
-
import { bh as Zr, as as Vr, c as J, E as xe, b$ as ya, p as tl, s as bl, u as Ir, bt as Yl, d as pa, b as Sl, g as $l, bu as en, f as ln, c3 as an } from "./index-
|
|
3
|
-
import { d as Ma, S as rn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { c as la, _ as nn, h as sn, e as un, E as on } from "./index-
|
|
5
|
-
import { a as tn, T as cn, d as fa } from "./threeViewerHost-
|
|
6
|
-
import { aH as ea, aC as dn, k as pn, j as fn, u as gn, aG as hn, a as yn, i as we, aV as Na, aW as wa, aX as vn, aY as bn, l as Zl, E as Fa, aE as za, aZ as Sn } from "./index.vue_vue_type_style_index_1_lang-
|
|
7
|
-
import { r as kn, a as Bl, w as mn } from "./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
import { ref as R, watch as Fe, nextTick as Il, resolveComponent as Ke, createBlock as $e, openBlock as ne, withCtx as re, createElementVNode as ve, renderSlot as $a, onMounted as ha, createElementBlock as Te, normalizeStyle as kl, normalizeClass as Ra, toDisplayString as Ee, createCommentVNode as Le, createVNode as ie, unref as Ye, Fragment as cl, renderList as dl, createTextVNode as el, defineComponent as qa, reactive as Ql, inject as qr, provide as Hr, onBeforeUnmount as Xr, computed as Ba, onUnmounted as Qr, createSlots as Yr } from "vue";
|
|
2
|
+
import { bh as Zr, as as Vr, c as J, E as xe, b$ as ya, p as tl, s as bl, u as Ir, bt as Yl, d as pa, b as Sl, g as $l, bu as en, f as ln, c3 as an } from "./index-DV_ZZQBO.js";
|
|
3
|
+
import { d as Ma, S as rn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DIMJusrg.js";
|
|
4
|
+
import { c as la, _ as nn, h as sn, e as un, E as on } from "./index-_66uQhcl.js";
|
|
5
|
+
import { a as tn, T as cn, d as fa } from "./threeViewerHost-CTjd2V1D.js";
|
|
6
|
+
import { aH as ea, aC as dn, k as pn, j as fn, u as gn, aG as hn, a as yn, i as we, aV as Na, aW as wa, aX as vn, aY as bn, l as Zl, E as Fa, aE as za, aZ as Sn } from "./index.vue_vue_type_style_index_1_lang-D5Hjs-g0.js";
|
|
7
|
+
import { r as kn, a as Bl, w as mn } from "./index.vue_vue_type_style_index_1_lang-hBa3nAgx.js";
|
|
8
8
|
import { _ as aa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
import "./three-viewport-gizmo-BHznJ6W3.js";
|
|
10
|
-
import { s as Vl } from "./index-
|
|
11
|
-
import "./index-
|
|
12
|
-
import { i as Ja } from "./isString
|
|
10
|
+
import { s as Vl } from "./index-BMMYAqF1.js";
|
|
11
|
+
import "./index-CbDu4gfZ.js";
|
|
12
|
+
import { i as Ja } from "./isString--ZVOCy4V.js";
|
|
13
13
|
const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
14
14
|
__name: "index",
|
|
15
15
|
props: {
|
|
@@ -74,10 +74,10 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
74
74
|
}, 8, ["visible", "title", "placement", "width"]);
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
|
-
}, An = { class: "extra-button-content" }, Un = { class: "table-operator-wrap" }, _n = { class: "extra-button-filter" }, On = { class: "form-content-value" },
|
|
77
|
+
}, An = { class: "extra-button-content" }, Un = { class: "table-operator-wrap" }, _n = { class: "extra-button-filter" }, On = { class: "form-content-value" }, En = {
|
|
78
78
|
key: 0,
|
|
79
79
|
class: "extra-header"
|
|
80
|
-
},
|
|
80
|
+
}, Cn = {
|
|
81
81
|
class: "drop-menu",
|
|
82
82
|
style: { width: "120px" }
|
|
83
83
|
}, Dn = { key: 0 }, xn = { key: 1 }, Ln = {
|
|
@@ -198,7 +198,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
198
198
|
fontWeight: 600 - ((j == null ? void 0 : j.level) - 1) * 100 >= 400 ? 600 - ((j == null ? void 0 : j.level) - 1) * 100 : 400,
|
|
199
199
|
fontSize: 17 - (j == null ? void 0 : j.level) >= 14 ? 17 - (j == null ? void 0 : j.level) + "px" : "14px"
|
|
200
200
|
})
|
|
201
|
-
},
|
|
201
|
+
}, Ee(K.compName), 7),
|
|
202
202
|
ve("div", Un, [
|
|
203
203
|
ve("div", _n, [
|
|
204
204
|
ie(Tn, {
|
|
@@ -267,7 +267,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
267
267
|
_: 1
|
|
268
268
|
}, 8, ["isVisible"])
|
|
269
269
|
]),
|
|
270
|
-
K.buttons && ((ze = K.buttons) == null ? void 0 : ze.length) > 0 ? (ne(), Te("div",
|
|
270
|
+
K.buttons && ((ze = K.buttons) == null ? void 0 : ze.length) > 0 ? (ne(), Te("div", En, [
|
|
271
271
|
(ne(!0), Te(cl, null, dl((Je = K.buttons) == null ? void 0 : Je.filter((z) => K.isDevMode || (z == null ? void 0 : z.label) !== "修改模板"), (z, ye) => (ne(), Te("div", {
|
|
272
272
|
class: "extra-contents",
|
|
273
273
|
key: ye
|
|
@@ -288,7 +288,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
288
288
|
style: kl({ background: (z == null ? void 0 : z.background) ?? "var(--ssbutton-theme-bg)", color: (z == null ? void 0 : z.color) ?? "var(--ssbutton-theme-color)" })
|
|
289
289
|
}, {
|
|
290
290
|
default: re(() => [
|
|
291
|
-
el(
|
|
291
|
+
el(Ee(z == null ? void 0 : z.label), 1)
|
|
292
292
|
]),
|
|
293
293
|
_: 2
|
|
294
294
|
}, 1032, ["disabled", "style"])
|
|
@@ -303,13 +303,13 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
303
303
|
style: kl({ background: (z == null ? void 0 : z.background) ?? "var(--ssbutton-theme-bg)", color: (z == null ? void 0 : z.color) ?? "var(--ssbutton-theme-color)" })
|
|
304
304
|
}, {
|
|
305
305
|
default: re(() => [
|
|
306
|
-
el(
|
|
306
|
+
el(Ee(z == null ? void 0 : z.label), 1)
|
|
307
307
|
]),
|
|
308
308
|
_: 2
|
|
309
309
|
}, 1032, ["disabled", "style"])) : Le("", !0)
|
|
310
310
|
]),
|
|
311
311
|
dropMenu: re(() => [
|
|
312
|
-
ve("div",
|
|
312
|
+
ve("div", Cn, [
|
|
313
313
|
(ne(!0), Te(cl, null, dl(z == null ? void 0 : z.contents, (ge) => (ne(), $e(Pe, {
|
|
314
314
|
key: ge == null ? void 0 : ge.label,
|
|
315
315
|
disabled: !!K.lockingPage,
|
|
@@ -319,9 +319,9 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
319
319
|
default: re(() => {
|
|
320
320
|
var se, _e;
|
|
321
321
|
return [
|
|
322
|
-
el(
|
|
323
|
-
(se = ge == null ? void 0 : ge.label) != null && se.includes("选中") ? (ne(), Te("span", Dn, "(" +
|
|
324
|
-
(_e = ge == null ? void 0 : ge.label) != null && _e.includes("全部") ? (ne(), Te("span", xn, "(" +
|
|
322
|
+
el(Ee(ge == null ? void 0 : ge.label), 1),
|
|
323
|
+
(se = ge == null ? void 0 : ge.label) != null && se.includes("选中") ? (ne(), Te("span", Dn, "(" + Ee(K.selectNums) + ")", 1)) : Le("", !0),
|
|
324
|
+
(_e = ge == null ? void 0 : ge.label) != null && _e.includes("全部") ? (ne(), Te("span", xn, "(" + Ee(K.dataNums) + ")", 1)) : Le("", !0)
|
|
325
325
|
];
|
|
326
326
|
}),
|
|
327
327
|
_: 2
|
|
@@ -338,7 +338,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
338
338
|
onClick: (ge) => Be(z == null ? void 0 : z.label)
|
|
339
339
|
}, {
|
|
340
340
|
default: re(() => [
|
|
341
|
-
el(
|
|
341
|
+
el(Ee(z == null ? void 0 : z.label), 1)
|
|
342
342
|
]),
|
|
343
343
|
_: 2
|
|
344
344
|
}, 1032, ["disabled", "style", "onClick"]))
|
|
@@ -383,7 +383,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
383
383
|
onClick: (Be) => L(q == null ? void 0 : q.label)
|
|
384
384
|
}, {
|
|
385
385
|
default: re(() => [
|
|
386
|
-
el(
|
|
386
|
+
el(Ee(q == null ? void 0 : q.label), 1)
|
|
387
387
|
]),
|
|
388
388
|
_: 2
|
|
389
389
|
}, 1032, ["disabled", "class", "onClick"]))), 128))
|
|
@@ -648,7 +648,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
648
648
|
R();
|
|
649
649
|
const ra = R(!0), gl = R(0), va = R(!0), We = R(""), Ze = R(!1), Ya = R({
|
|
650
650
|
label: "查看三维模型"
|
|
651
|
-
}), Fl = R(!1), na = R(), Me = R([]), nl = R([]), zl = R(!1), Al = R([]), hl = R([]), sl = R([]), Ve = R([]), Ge = R(),
|
|
651
|
+
}), Fl = R(!1), na = R(), Me = R([]), nl = R([]), zl = R(!1), Al = R([]), hl = R([]), sl = R([]), Ve = R([]), Ge = R(), Ce = R(), Za = $n(tl), Jl = R(), sa = R(0), Wl = zn(tl), { selectIndex: Va, selectMenu: Ie, selectTitle: ua } = bl(Wl), { selectString: ul } = bl(Za), Ia = Ir(tl), { loginUserInfo: ce } = bl(Ia), er = R(720), il = R(!1), Gl = R(!1), Re = R([]), ol = R(), Ul = R(!0), ba = R(!0), Rl = R([]), lr = qr("contentRef");
|
|
652
652
|
Hr("contentRef", lr), Fe(() => {
|
|
653
653
|
var e;
|
|
654
654
|
return (e = Z.value) == null ? void 0 : e.length;
|
|
@@ -657,9 +657,9 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
657
657
|
}), Fe(
|
|
658
658
|
() => Tl.value,
|
|
659
659
|
async () => {
|
|
660
|
-
var u, c, o, p, b, s, T, v, m,
|
|
660
|
+
var u, c, o, p, b, s, T, v, m, E, D, S, w, _, x, k, f, g;
|
|
661
661
|
if (((u = Tl.value) == null ? void 0 : u.length) === 0 || !((c = t == null ? void 0 : t.itemData) != null && c.find((i) => (i == null ? void 0 : i.key) === "columnPath")) || !((o = t == null ? void 0 : t.itemData) != null && o.find((i) => (i == null ? void 0 : i.key) === "pageColumn"))) return;
|
|
662
|
-
let e = (m = (v = (T = (s = (b = (p = t == null ? void 0 : t.itemData) == null ? void 0 : p.find((i) => (i == null ? void 0 : i.key) === "pageColumn")) == null ? void 0 : b.contents) == null ? void 0 : s.split("[")) == null ? void 0 : T[1]) == null ? void 0 : v.split("]")) == null ? void 0 : m[0], l = ((w = (S = (D = (
|
|
662
|
+
let e = (m = (v = (T = (s = (b = (p = t == null ? void 0 : t.itemData) == null ? void 0 : p.find((i) => (i == null ? void 0 : i.key) === "pageColumn")) == null ? void 0 : b.contents) == null ? void 0 : s.split("[")) == null ? void 0 : T[1]) == null ? void 0 : v.split("]")) == null ? void 0 : m[0], l = ((w = (S = (D = (E = t == null ? void 0 : t.itemData) == null ? void 0 : E.find((i) => (i == null ? void 0 : i.key) === "pageColumn")) == null ? void 0 : D.contents) == null ? void 0 : S.split("[")) == null ? void 0 : w[0]) + ((x = (_ = Tl.value) == null ? void 0 : _.find((i) => (i == null ? void 0 : i.key) === e)) == null ? void 0 : x.value), r = ((f = (k = t == null ? void 0 : t.itemData) == null ? void 0 : k.find((i) => (i == null ? void 0 : i.key) === "pageGroup")) == null ? void 0 : f.contents) ?? "", a = await we(l, sessionStorage.getItem("systemKey"), ""), n = (g = a == null ? void 0 : a.find((i) => (i == null ? void 0 : i.name) === (r === "" ? t == null ? void 0 : t.compName : r))) == null ? void 0 : g.compData;
|
|
663
663
|
Pa(n, t.allMapContents);
|
|
664
664
|
},
|
|
665
665
|
{ deep: !0 }
|
|
@@ -676,8 +676,8 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
676
676
|
tableId: (t == null ? void 0 : t.parentTableId) || (t == null ? void 0 : t.index),
|
|
677
677
|
systemKey: sessionStorage.getItem("systemKey")
|
|
678
678
|
}, s = l == null ? void 0 : l.map((m) => {
|
|
679
|
-
const
|
|
680
|
-
return
|
|
679
|
+
const E = Object.keys(m), D = {};
|
|
680
|
+
return E.forEach((S, w) => {
|
|
681
681
|
D[e[w]] = m[S];
|
|
682
682
|
}), D;
|
|
683
683
|
}), T = s == null ? void 0 : s.map((m) => ({
|
|
@@ -757,10 +757,10 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
757
757
|
id: t == null ? void 0 : t.index
|
|
758
758
|
});
|
|
759
759
|
if (((u = m == null ? void 0 : m.data) == null ? void 0 : u.code) === 200) {
|
|
760
|
-
let
|
|
761
|
-
a ?
|
|
762
|
-
...
|
|
763
|
-
compData: (T =
|
|
760
|
+
let E = (b = (p = (o = (c = m == null ? void 0 : m.data) == null ? void 0 : c.result) == null ? void 0 : o[0]) == null ? void 0 : p.value) == null ? void 0 : b.pageData;
|
|
761
|
+
a ? E = {
|
|
762
|
+
...E,
|
|
763
|
+
compData: (T = E == null ? void 0 : E.compData) == null ? void 0 : T.map((S) => {
|
|
764
764
|
var w;
|
|
765
765
|
return (S == null ? void 0 : S.key) === "header" ? {
|
|
766
766
|
...S,
|
|
@@ -770,9 +770,9 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
770
770
|
}))
|
|
771
771
|
} : S;
|
|
772
772
|
})
|
|
773
|
-
} :
|
|
774
|
-
...
|
|
775
|
-
compData: (s =
|
|
773
|
+
} : E = {
|
|
774
|
+
...E,
|
|
775
|
+
compData: (s = E == null ? void 0 : E.compData) == null ? void 0 : s.map((S) => {
|
|
776
776
|
var w, _;
|
|
777
777
|
return (S == null ? void 0 : S.key) === "header" ? {
|
|
778
778
|
...S,
|
|
@@ -792,7 +792,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
792
792
|
const D = await ln({
|
|
793
793
|
id: t == null ? void 0 : t.index,
|
|
794
794
|
value: {
|
|
795
|
-
pageData:
|
|
795
|
+
pageData: E
|
|
796
796
|
}
|
|
797
797
|
});
|
|
798
798
|
((v = D == null ? void 0 : D.data) == null ? void 0 : v.code) === 200 ? (xe.success("编辑成功"), de.setRefreshCurStructure(!0)) : xe.error("编辑响应失败");
|
|
@@ -832,7 +832,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
832
832
|
}, yr = (e) => {
|
|
833
833
|
M("clickTrigger", e);
|
|
834
834
|
}, ka = async (e) => {
|
|
835
|
-
var u, c, o, p, b, s, T, v, m,
|
|
835
|
+
var u, c, o, p, b, s, T, v, m, E, D, S, w, _, x;
|
|
836
836
|
const l = e == null ? void 0 : e.row, r = e == null ? void 0 : e.rowData, a = e == null ? void 0 : e.suffix;
|
|
837
837
|
if ((u = l == null ? void 0 : l.toString()) != null && u.includes(".urdf") || e != null && e.isUrdf || a != null && a.includes(".urdf")) {
|
|
838
838
|
if (l.includes(",")) {
|
|
@@ -849,7 +849,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
849
849
|
Al.value = (s = l == null ? void 0 : l.toString()) == null ? void 0 : s.split(","), Pe.value = !1, me.value = !0;
|
|
850
850
|
return;
|
|
851
851
|
}
|
|
852
|
-
if ((T = l == null ? void 0 : l.toString()) != null && T.includes(".stl") || (v = l == null ? void 0 : l.toString()) != null && v.includes(".STL") || (m = l == null ? void 0 : l.toString()) != null && m.includes(".obj") || (
|
|
852
|
+
if ((T = l == null ? void 0 : l.toString()) != null && T.includes(".stl") || (v = l == null ? void 0 : l.toString()) != null && v.includes(".STL") || (m = l == null ? void 0 : l.toString()) != null && m.includes(".obj") || (E = l == null ? void 0 : l.toString()) != null && E.includes(".mtl") || a != null && a.includes(".stl") || a != null && a.includes(".STL") || a != null && a.includes(".obj") || a != null && a.includes(".mtl")) {
|
|
853
853
|
let k, f = [], g = {};
|
|
854
854
|
if (Array.isArray(l) ? k = l : k = l == null ? void 0 : l.split(","), k == null || k.forEach((i) => {
|
|
855
855
|
i.includes(".mtl") ? f.push(i) : g.blob = g.blob ? g.blob + "," + i : i;
|
|
@@ -985,7 +985,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
985
985
|
Z.value = kr(wl.value, e), de.setTableLoading(!1);
|
|
986
986
|
}
|
|
987
987
|
}, Tr = async (e) => {
|
|
988
|
-
var c, o, p, b, s, T, v, m,
|
|
988
|
+
var c, o, p, b, s, T, v, m, E, D, S, w, _, x, k;
|
|
989
989
|
const l = await $l({
|
|
990
990
|
keyLikes: {
|
|
991
991
|
pageKey: `loading${((c = ce.value) == null ? void 0 : c.account) || ((o = ce.value) == null ? void 0 : o.账号)}`,
|
|
@@ -1004,14 +1004,14 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1004
1004
|
});
|
|
1005
1005
|
let u = await we(se.value, sessionStorage.getItem("systemKey"), e.id);
|
|
1006
1006
|
if (u = u == null ? void 0 : u.filter((f) => f.comp !== "methodButton"), u && u.length > 0) {
|
|
1007
|
-
const f = !Array.isArray(ua.value) && ((
|
|
1007
|
+
const f = !Array.isArray(ua.value) && ((E = ua.value) == null ? void 0 : E.key) !== "main" ? [] : ua.value;
|
|
1008
1008
|
f.push({
|
|
1009
1009
|
key: Ie.value === "" ? (D = e == null ? void 0 : e.id) == null ? void 0 : D.toString() : Ie.value + "-" + ((S = e == null ? void 0 : e.id) == null ? void 0 : S.toString()),
|
|
1010
1010
|
value: e[(w = Object.keys(e)) == null ? void 0 : w.filter((g) => g !== "index" && g !== "id")[0]]
|
|
1011
1011
|
}), Wl.setSelectMenu(Ie.value === "" ? (_ = e == null ? void 0 : e.id) == null ? void 0 : _.toString() : Ie.value + "-" + ((x = e == null ? void 0 : e.id) == null ? void 0 : x.toString())), Wl.setSelectTitle(f), Wl.setSelectIndex((k = e == null ? void 0 : e.id) == null ? void 0 : k.toString()), M("pageChange", u);
|
|
1012
1012
|
}
|
|
1013
1013
|
}, Ta = async (e, l, r, a) => {
|
|
1014
|
-
var u, c, o, p, b, s, T, v, m,
|
|
1014
|
+
var u, c, o, p, b, s, T, v, m, E, D, S, w, _, x, k, f, g, i, h, $, A, X, I, Y;
|
|
1015
1015
|
if ((a == null ? void 0 : a.isExistChild) === !0) {
|
|
1016
1016
|
let W = (c = (u = B.value) == null ? void 0 : u.find((F) => (F == null ? void 0 : F.isMainKey) === !0)) == null ? void 0 : c.prop, H = (o = a == null ? void 0 : a.rowContent) == null ? void 0 : o[W], O = (b = (p = a == null ? void 0 : a.columnType) == null ? void 0 : p.childPath) == null ? void 0 : b.split(q), P = [];
|
|
1017
1017
|
O == null || O.forEach((F, d) => {
|
|
@@ -1022,7 +1022,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1022
1022
|
let F = [];
|
|
1023
1023
|
ee == null || ee.forEach((N) => {
|
|
1024
1024
|
var Se, fe, U, y;
|
|
1025
|
-
let
|
|
1025
|
+
let C = {
|
|
1026
1026
|
type: "structure",
|
|
1027
1027
|
pageKey: P,
|
|
1028
1028
|
version: 1,
|
|
@@ -1040,7 +1040,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1040
1040
|
}
|
|
1041
1041
|
};
|
|
1042
1042
|
F.push({
|
|
1043
|
-
key:
|
|
1043
|
+
key: C,
|
|
1044
1044
|
value: be
|
|
1045
1045
|
});
|
|
1046
1046
|
}), (F == null ? void 0 : F.length) > 0 && await Yl({
|
|
@@ -1075,10 +1075,10 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1075
1075
|
const n = J(B.value);
|
|
1076
1076
|
if ((a == null ? void 0 : a.isMainKey) === !0 && (n == null ? void 0 : n.length) > 0) {
|
|
1077
1077
|
(v = n == null ? void 0 : n[0]) == null || v.prop;
|
|
1078
|
-
let W = J(se).value + q + (a == null ? void 0 : a.data), H = J(se).value, O = (
|
|
1078
|
+
let W = J(se).value + q + (a == null ? void 0 : a.data), H = J(se).value, O = (E = (m = rl.value[W]) == null ? void 0 : m.filter((F) => {
|
|
1079
1079
|
var d, N;
|
|
1080
1080
|
return ((d = F == null ? void 0 : F.key) == null ? void 0 : d.type) === "structure" && ((N = F == null ? void 0 : F.key) == null ? void 0 : N.parentTable) === "";
|
|
1081
|
-
})) == null ? void 0 :
|
|
1081
|
+
})) == null ? void 0 : E.map((F) => {
|
|
1082
1082
|
var d;
|
|
1083
1083
|
return (d = F == null ? void 0 : F.value) == null ? void 0 : d.pageData;
|
|
1084
1084
|
}), P = {};
|
|
@@ -1132,20 +1132,20 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1132
1132
|
}, Or = async () => {
|
|
1133
1133
|
const e = se.value, l = sessionStorage.getItem("systemKey"), r = await we(e, l, ""), a = r == null ? void 0 : r.find((o) => (o == null ? void 0 : o.name) === "方法明细"), n = (a == null ? void 0 : a.compData) || [], u = n == null ? void 0 : n.find((o) => (o == null ? void 0 : o.key) === "formContent");
|
|
1134
1134
|
return u == null ? void 0 : u.contents;
|
|
1135
|
-
}, oa = async () => `Bearer ${an.get("access-token")}`,
|
|
1135
|
+
}, oa = async () => `Bearer ${an.get("access-token")}`, Er = async (e, { token: l, inputData: r } = {}) => await Sl.post(e, r, {
|
|
1136
1136
|
headers: {
|
|
1137
1137
|
Authorization: l
|
|
1138
1138
|
}
|
|
1139
|
-
}).catch((n) => (ye.setImportLoading(!1), Promise.reject(n))),
|
|
1139
|
+
}).catch((n) => (ye.setImportLoading(!1), Promise.reject(n))), Cr = (e) => {
|
|
1140
1140
|
var a;
|
|
1141
1141
|
let l = {};
|
|
1142
1142
|
const r = [];
|
|
1143
1143
|
return l.form = {}, (a = J(e)) == null || a.forEach((n, u) => {
|
|
1144
|
-
var c, o, p, b, s, T, v, m,
|
|
1144
|
+
var c, o, p, b, s, T, v, m, E, D, S, w, _, x;
|
|
1145
1145
|
if ((n == null ? void 0 : n.comp) === "Table") {
|
|
1146
1146
|
(o = (c = n == null ? void 0 : n.compData) == null ? void 0 : c.find((i) => (i == null ? void 0 : i.key) === "header")) == null || o.contents;
|
|
1147
1147
|
let k = (s = (b = (p = n == null ? void 0 : n.compData) == null ? void 0 : p.find((i) => (i == null ? void 0 : i.key) === "tableContents")) == null ? void 0 : b.contents) == null ? void 0 : s.map((i) => i.slice(1));
|
|
1148
|
-
(D = (
|
|
1148
|
+
(D = (E = (m = (v = (T = n == null ? void 0 : n.compData) == null ? void 0 : T.find((i) => (i == null ? void 0 : i.key) === "header")) == null ? void 0 : v.contents) == null ? void 0 : m[0]) == null ? void 0 : E[0]) == null || D.label;
|
|
1149
1149
|
let f = (w = (S = n == null ? void 0 : n.compData) == null ? void 0 : S.find((i) => (i == null ? void 0 : i.key) === "header")) == null ? void 0 : w.contents, g = [];
|
|
1150
1150
|
k == null || k.forEach((i) => {
|
|
1151
1151
|
let h = [];
|
|
@@ -1161,7 +1161,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1161
1161
|
var g, i;
|
|
1162
1162
|
if (f.prop !== "") {
|
|
1163
1163
|
let h = f == null ? void 0 : f.value;
|
|
1164
|
-
Array.isArray(h) ? h = ((g = h == null ? void 0 : h[0]) == null ? void 0 : g.oldUrl) || "http://222.92.178.198:
|
|
1164
|
+
Array.isArray(h) ? h = ((g = h == null ? void 0 : h[0]) == null ? void 0 : g.oldUrl) || "http://222.92.178.198:62001/" + ((i = h == null ? void 0 : h[0]) == null ? void 0 : i.url) : h = h.toString(), f = {
|
|
1165
1165
|
key: (f == null ? void 0 : f.prop) ?? (f == null ? void 0 : f.label),
|
|
1166
1166
|
value: h
|
|
1167
1167
|
}, r.push(f);
|
|
@@ -1184,40 +1184,40 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1184
1184
|
($ = B.value) == null || $.forEach((d) => {
|
|
1185
1185
|
(d == null ? void 0 : d.prop) === p && (T = !!(d != null && d.childPath), v = d == null ? void 0 : d.childPath);
|
|
1186
1186
|
});
|
|
1187
|
-
let m = "",
|
|
1187
|
+
let m = "", E = "";
|
|
1188
1188
|
if (T) {
|
|
1189
1189
|
let d = (X = (A = B.value) == null ? void 0 : A.find((Se) => (Se == null ? void 0 : Se.isMainKey) === !0)) == null ? void 0 : X.prop;
|
|
1190
|
-
|
|
1191
|
-
let N = v == null ? void 0 : v.split(q),
|
|
1190
|
+
E = l == null ? void 0 : l[d];
|
|
1191
|
+
let N = v == null ? void 0 : v.split(q), C = [];
|
|
1192
1192
|
N == null || N.forEach((Se, fe) => {
|
|
1193
|
-
(N == null ? void 0 : N.length) - 1 === fe &&
|
|
1194
|
-
}),
|
|
1195
|
-
let be = await we(
|
|
1196
|
-
b =
|
|
1193
|
+
(N == null ? void 0 : N.length) - 1 === fe && C.push(E), C.push(Se);
|
|
1194
|
+
}), C = C.join(q), m = C;
|
|
1195
|
+
let be = await we(C, sessionStorage.getItem("systemKey"), "");
|
|
1196
|
+
b = Cr(be);
|
|
1197
1197
|
}
|
|
1198
|
-
const D = await
|
|
1198
|
+
const D = await Er(u, {
|
|
1199
1199
|
token: s,
|
|
1200
1200
|
inputData: b
|
|
1201
1201
|
}).catch((d) => (ye.setImportLoading(!1), Promise.reject(d))), S = (I = D == null ? void 0 : D.data) == null ? void 0 : I.data, w = a == null ? void 0 : a.find((d) => (d == null ? void 0 : d.prop) === "算法名称");
|
|
1202
1202
|
w == null || w.value;
|
|
1203
1203
|
const _ = c.find((d) => (d == null ? void 0 : d.prop) === "输出"), x = _ == null ? void 0 : _.directiveLabel;
|
|
1204
1204
|
m = m == null ? void 0 : m.replaceAll(o == null ? void 0 : o.directiveLabel, x);
|
|
1205
|
-
const k = (Y = J(m)) == null ? void 0 : Y.replaceAll(q +
|
|
1205
|
+
const k = (Y = J(m)) == null ? void 0 : Y.replaceAll(q + E, "");
|
|
1206
1206
|
let f = await we(m, sessionStorage.getItem("systemKey"), ""), g = await we(k, sessionStorage.getItem("systemKey"), "");
|
|
1207
1207
|
if (f) {
|
|
1208
1208
|
let d = [], N = [];
|
|
1209
|
-
f == null || f.forEach((
|
|
1209
|
+
f == null || f.forEach((C) => {
|
|
1210
1210
|
var be, Se;
|
|
1211
|
-
if ((
|
|
1212
|
-
(be =
|
|
1211
|
+
if ((C == null ? void 0 : C.comp) === "Table")
|
|
1212
|
+
(be = C == null ? void 0 : C.compData) == null || be.forEach((fe) => {
|
|
1213
1213
|
var U;
|
|
1214
1214
|
(fe == null ? void 0 : fe.key) === "tableContents" && ((U = fe == null ? void 0 : fe.contents) == null || U.forEach((y) => {
|
|
1215
1215
|
var ue, oe;
|
|
1216
1216
|
(ue = y == null ? void 0 : y[0]) != null && ue.id && d.push((oe = y == null ? void 0 : y[0]) == null ? void 0 : oe.id);
|
|
1217
1217
|
}));
|
|
1218
1218
|
});
|
|
1219
|
-
else if ((
|
|
1220
|
-
|
|
1219
|
+
else if ((C == null ? void 0 : C.comp) === "Form") {
|
|
1220
|
+
C.compData = (Se = C == null ? void 0 : C.compData) == null ? void 0 : Se.map((U) => {
|
|
1221
1221
|
var y;
|
|
1222
1222
|
return (U == null ? void 0 : U.key) === "formContent" && (U.contents = (y = U == null ? void 0 : U.contents) == null ? void 0 : y.map((ue) => {
|
|
1223
1223
|
var oe, pe;
|
|
@@ -1226,14 +1226,14 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1226
1226
|
});
|
|
1227
1227
|
let fe = {
|
|
1228
1228
|
pageData: {
|
|
1229
|
-
comp:
|
|
1230
|
-
name:
|
|
1231
|
-
isShow:
|
|
1232
|
-
compData:
|
|
1229
|
+
comp: C == null ? void 0 : C.comp,
|
|
1230
|
+
name: C == null ? void 0 : C.name,
|
|
1231
|
+
isShow: C == null ? void 0 : C.isShow,
|
|
1232
|
+
compData: C == null ? void 0 : C.compData
|
|
1233
1233
|
}
|
|
1234
1234
|
};
|
|
1235
1235
|
N.push({
|
|
1236
|
-
id:
|
|
1236
|
+
id: C == null ? void 0 : C.id,
|
|
1237
1237
|
value: fe
|
|
1238
1238
|
});
|
|
1239
1239
|
}
|
|
@@ -1253,13 +1253,13 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1253
1253
|
createUserId: (W = ce.value) == null ? void 0 : W.id,
|
|
1254
1254
|
createUserOrg: ((H = ce.value) == null ? void 0 : H.dept) || ((O = ce.value) == null ? void 0 : O.部门名称)
|
|
1255
1255
|
};
|
|
1256
|
-
g == null || g.forEach((
|
|
1256
|
+
g == null || g.forEach((C) => {
|
|
1257
1257
|
let Se = {
|
|
1258
1258
|
pageData: {
|
|
1259
|
-
comp:
|
|
1260
|
-
name:
|
|
1261
|
-
isShow:
|
|
1262
|
-
compData:
|
|
1259
|
+
comp: C == null ? void 0 : C.comp,
|
|
1260
|
+
name: C == null ? void 0 : C.name,
|
|
1261
|
+
isShow: C == null ? void 0 : C.isShow,
|
|
1262
|
+
compData: C == null ? void 0 : C.compData
|
|
1263
1263
|
}
|
|
1264
1264
|
};
|
|
1265
1265
|
d.push({
|
|
@@ -1278,9 +1278,9 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1278
1278
|
parentPageKey: "",
|
|
1279
1279
|
createUserLayer: ((G = ce.value) == null ? void 0 : G.dept) || ((ee = ce.value) == null ? void 0 : ee.部门名称)
|
|
1280
1280
|
};
|
|
1281
|
-
g == null || g.forEach((
|
|
1281
|
+
g == null || g.forEach((C) => {
|
|
1282
1282
|
var U;
|
|
1283
|
-
let be = (U =
|
|
1283
|
+
let be = (U = C == null ? void 0 : C.compData) == null ? void 0 : U.map((y) => {
|
|
1284
1284
|
var ue;
|
|
1285
1285
|
return (y == null ? void 0 : y.key) === "formContent" && (y.contents = (ue = y.contents) == null ? void 0 : ue.map((oe) => {
|
|
1286
1286
|
var pe, Oe;
|
|
@@ -1288,9 +1288,9 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1288
1288
|
})), y;
|
|
1289
1289
|
}), fe = {
|
|
1290
1290
|
pageData: {
|
|
1291
|
-
comp:
|
|
1292
|
-
name:
|
|
1293
|
-
isShow:
|
|
1291
|
+
comp: C == null ? void 0 : C.comp,
|
|
1292
|
+
name: C == null ? void 0 : C.name,
|
|
1293
|
+
isShow: C == null ? void 0 : C.isShow,
|
|
1294
1294
|
compData: be
|
|
1295
1295
|
}
|
|
1296
1296
|
};
|
|
@@ -1314,21 +1314,21 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1314
1314
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
1315
1315
|
createUserId: (Se = ce.value) == null ? void 0 : Se.id,
|
|
1316
1316
|
createUserOrg: ((fe = ce.value) == null ? void 0 : fe.dept) || ((U = ce.value) == null ? void 0 : U.部门名称)
|
|
1317
|
-
},
|
|
1317
|
+
}, C = {
|
|
1318
1318
|
tableData: d
|
|
1319
1319
|
};
|
|
1320
1320
|
h.push({
|
|
1321
1321
|
key: N,
|
|
1322
|
-
value:
|
|
1322
|
+
value: C
|
|
1323
1323
|
});
|
|
1324
1324
|
})), (h == null ? void 0 : h.length) > 0 && await Yl({
|
|
1325
1325
|
dataList: h
|
|
1326
|
-
}),
|
|
1326
|
+
}), Cl(!0), ye.setImportLoading(!1);
|
|
1327
1327
|
}, Aa = (e, l) => (e = e == null ? void 0 : e.map((r) => {
|
|
1328
1328
|
var a, n;
|
|
1329
1329
|
return r != null && r.children && ((a = r.children) != null && a.find((u) => u.id === (l == null ? void 0 : l.id)) ? r.children = (n = r.children) == null ? void 0 : n.filter((u) => (u == null ? void 0 : u.id) !== (l == null ? void 0 : l.id)) : r.children = Aa(r.children, l)), r;
|
|
1330
1330
|
}), e), Xl = async (e, l, r) => {
|
|
1331
|
-
var a, n, u, c, o, p, b, s, T, v, m,
|
|
1331
|
+
var a, n, u, c, o, p, b, s, T, v, m, E, D, S, w;
|
|
1332
1332
|
if (Qe.value = "", zl.value = !0, ra.value = !0, M("onButtonClick", e, l), e === "删除")
|
|
1333
1333
|
Fa.confirm("是否确认删除", "温馨提示", {
|
|
1334
1334
|
confirmButtonText: "确认",
|
|
@@ -1372,11 +1372,11 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1372
1372
|
const _ = J(l), x = (n = B.value) == null ? void 0 : n.find((g) => g == null ? void 0 : g.isMainKey), k = x || ((u = B.value) == null ? void 0 : u[0]), f = (c = sl.value) == null ? void 0 : c.find((g) => (g == null ? void 0 : g.label) === "新建");
|
|
1373
1373
|
await _a(!0, f, { data: _, firstCol: k });
|
|
1374
1374
|
} else if (e === "新增")
|
|
1375
|
-
We.value = "新增",
|
|
1375
|
+
We.value = "新增", El(""), Ze.value = !0;
|
|
1376
1376
|
else if (e === "编辑")
|
|
1377
|
-
We.value = "编辑",
|
|
1377
|
+
We.value = "编辑", El(l), Ze.value = !0;
|
|
1378
1378
|
else if (e === "查看")
|
|
1379
|
-
We.value = "查看",
|
|
1379
|
+
We.value = "查看", El(l), zl.value = !1, ra.value = !1, Ze.value = !0;
|
|
1380
1380
|
else if (e === "查看三维模型") {
|
|
1381
1381
|
const _ = {};
|
|
1382
1382
|
for (let k in l)
|
|
@@ -1405,7 +1405,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1405
1405
|
} else if (e === "执行")
|
|
1406
1406
|
Dr(e, l);
|
|
1407
1407
|
else if (e != null && e.includes("导出")) {
|
|
1408
|
-
if (e === "导出选中" && ((
|
|
1408
|
+
if (e === "导出选中" && ((E = Re.value) == null ? void 0 : E.length) === 0)
|
|
1409
1409
|
return xe.warning(`请先勾选${e}的数据`);
|
|
1410
1410
|
if (e === "导出全部" && ((D = Z.value) == null ? void 0 : D.length) === 0)
|
|
1411
1411
|
return xe.warning("暂无数据导出");
|
|
@@ -1432,7 +1432,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1432
1432
|
};
|
|
1433
1433
|
}) : [];
|
|
1434
1434
|
}, Lr = async (e, l) => {
|
|
1435
|
-
var r, a, n, u, c, o, p, b, s, T, v, m,
|
|
1435
|
+
var r, a, n, u, c, o, p, b, s, T, v, m, E, D, S, w, _, x, k, f;
|
|
1436
1436
|
try {
|
|
1437
1437
|
let g, i;
|
|
1438
1438
|
const h = (r = rl.value[se.value + q]) == null ? void 0 : r.filter((O) => {
|
|
@@ -1463,7 +1463,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1463
1463
|
}),
|
|
1464
1464
|
extraContent: [],
|
|
1465
1465
|
extraValues: (m = (v = A == null ? void 0 : A.value) == null ? void 0 : v.pageData) == null ? void 0 : m.data,
|
|
1466
|
-
methodName: (D = (
|
|
1466
|
+
methodName: (D = (E = A == null ? void 0 : A.value) == null ? void 0 : E.pageData) == null ? void 0 : D.path
|
|
1467
1467
|
};
|
|
1468
1468
|
if (!e) return;
|
|
1469
1469
|
const Y = {
|
|
@@ -1531,8 +1531,8 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1531
1531
|
return ((m = v == null ? void 0 : v.key) == null ? void 0 : m.type) === "structure";
|
|
1532
1532
|
});
|
|
1533
1533
|
const s = u == null ? void 0 : u.find((v) => {
|
|
1534
|
-
var m,
|
|
1535
|
-
return ((D = (
|
|
1534
|
+
var m, E, D;
|
|
1535
|
+
return ((D = (E = (m = v == null ? void 0 : v.value) == null ? void 0 : m.pageData) == null ? void 0 : E.comp) == null ? void 0 : D.toUpperCase()) === "FORM";
|
|
1536
1536
|
});
|
|
1537
1537
|
c = {
|
|
1538
1538
|
...(b = s == null ? void 0 : s.value) == null ? void 0 : b.pageData,
|
|
@@ -1553,7 +1553,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1553
1553
|
let a, n;
|
|
1554
1554
|
const u = await Pr(r == null ? void 0 : r.data, r == null ? void 0 : r.firstCol);
|
|
1555
1555
|
if (e ? (a = J(se).value + q + ((b = r == null ? void 0 : r.data) == null ? void 0 : b[(p = r == null ? void 0 : r.firstCol) == null ? void 0 : p.prop]), n = J(se).value + q + u) : (a = J(se).value + q, n = J(a) + `loading${((c = ce.value) == null ? void 0 : c.account) || ((o = ce.value) == null ? void 0 : o.账号)}`), l) {
|
|
1556
|
-
const
|
|
1556
|
+
const E = (T = (s = rl.value[n]) == null ? void 0 : s.filter((D) => {
|
|
1557
1557
|
var S;
|
|
1558
1558
|
return ((S = D == null ? void 0 : D.key) == null ? void 0 : S.parentTable) === "";
|
|
1559
1559
|
})) == null ? void 0 : T.map((D) => {
|
|
@@ -1563,16 +1563,16 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1563
1563
|
...(S = D == null ? void 0 : D.value) == null ? void 0 : S.pageData
|
|
1564
1564
|
};
|
|
1565
1565
|
});
|
|
1566
|
-
if ((
|
|
1566
|
+
if ((E == null ? void 0 : E.length) > 0)
|
|
1567
1567
|
if (e) {
|
|
1568
|
-
const D =
|
|
1568
|
+
const D = E == null ? void 0 : E.find((S) => {
|
|
1569
1569
|
var w;
|
|
1570
1570
|
return ((w = S == null ? void 0 : S.comp) == null ? void 0 : w.toUpperCase()) === "FORM";
|
|
1571
1571
|
});
|
|
1572
1572
|
D && Ua(D, (v = r == null ? void 0 : r.firstCol) == null ? void 0 : v.label, u, se.value);
|
|
1573
1573
|
} else
|
|
1574
1574
|
de.setRouteToChildPath(J(se).value), ye.setActiveMenuPath(n);
|
|
1575
|
-
else if (await Zl(a, n, null, null, jr.value), e) {
|
|
1575
|
+
else if (await Zl(a, n, null, null, e ? jr.value : null), e) {
|
|
1576
1576
|
const D = await xr(n);
|
|
1577
1577
|
if ((D == null ? void 0 : D.length) > 0) {
|
|
1578
1578
|
const S = D == null ? void 0 : D.find((w) => {
|
|
@@ -1584,10 +1584,10 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1584
1584
|
} else
|
|
1585
1585
|
de.setRouteToChildPath(J(se).value), ye.setActiveMenuPath(n);
|
|
1586
1586
|
} else
|
|
1587
|
-
e ? (Qe.value = "",
|
|
1587
|
+
e ? (Qe.value = "", Ce.value = r == null ? void 0 : r.data, Cl(!0, r == null ? void 0 : r.firstCol, u)) : (de.setRouteToChildPath(J(se).value), ye.setActiveMenuPath(n));
|
|
1588
1588
|
}, Kr = () => {
|
|
1589
1589
|
me.value = !1, Al.value = [], Pe.value = !1;
|
|
1590
|
-
},
|
|
1590
|
+
}, El = (e) => {
|
|
1591
1591
|
var n, u, c, o, p, b;
|
|
1592
1592
|
const l = [];
|
|
1593
1593
|
let r = [];
|
|
@@ -1672,9 +1672,9 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1672
1672
|
let o = {};
|
|
1673
1673
|
for (let p in n) {
|
|
1674
1674
|
let b = (u = l == null ? void 0 : l.find((s) => (s == null ? void 0 : s.prop) === p)) == null ? void 0 : u.label;
|
|
1675
|
-
b ? o[p] = (c =
|
|
1675
|
+
b ? o[p] = (c = Ce.value) == null ? void 0 : c[b] : o[p] = n[p];
|
|
1676
1676
|
}
|
|
1677
|
-
n = Object.assign(o,
|
|
1677
|
+
n = Object.assign(o, Ce.value), r = n;
|
|
1678
1678
|
} else {
|
|
1679
1679
|
let o = ta(n, l);
|
|
1680
1680
|
n = o == null ? void 0 : o.contents, r = o == null ? void 0 : o.currentSelectContents;
|
|
@@ -1692,9 +1692,9 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1692
1692
|
let o = {};
|
|
1693
1693
|
for (let p in n) {
|
|
1694
1694
|
let b = (u = l == null ? void 0 : l.find((s) => (s == null ? void 0 : s.prop) === p)) == null ? void 0 : u.label;
|
|
1695
|
-
b ? o[p] = (c =
|
|
1695
|
+
b ? o[p] = (c = Ce.value) == null ? void 0 : c[b] : o[p] = n[p];
|
|
1696
1696
|
}
|
|
1697
|
-
n = Object.assign(o,
|
|
1697
|
+
n = Object.assign(o, Ce.value), a = n;
|
|
1698
1698
|
}
|
|
1699
1699
|
return n;
|
|
1700
1700
|
}) : r = e == null ? void 0 : e.map((n) => {
|
|
@@ -1703,9 +1703,9 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1703
1703
|
let b = {};
|
|
1704
1704
|
for (let s in n) {
|
|
1705
1705
|
let T = (u = l == null ? void 0 : l.find((v) => (v == null ? void 0 : v.prop) === s)) == null ? void 0 : u.label;
|
|
1706
|
-
T ? b[s] = (c =
|
|
1706
|
+
T ? b[s] = (c = Ce.value) == null ? void 0 : c[T] : b[s] = n[s];
|
|
1707
1707
|
}
|
|
1708
|
-
n = Object.assign(b,
|
|
1708
|
+
n = Object.assign(b, Ce.value), a = n;
|
|
1709
1709
|
} else
|
|
1710
1710
|
n = (o = ta(n, l)) == null ? void 0 : o.contents, a = (p = ta(n, l)) == null ? void 0 : p.currentSelectContents;
|
|
1711
1711
|
return n;
|
|
@@ -1713,9 +1713,9 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1713
1713
|
newContents: r,
|
|
1714
1714
|
currentSelectContents: a
|
|
1715
1715
|
};
|
|
1716
|
-
},
|
|
1716
|
+
}, Ea = (e, l, r) => {
|
|
1717
1717
|
var a, n;
|
|
1718
|
-
return e[l == null ? void 0 : l.prop] = r, typeof e.id == "number" && (e.id = (a = e.id) == null ? void 0 : a.toString()), e.children && ((n = e.children) == null ? void 0 : n.length) > 0 && (e.children = e.children.map(
|
|
1718
|
+
return e[l == null ? void 0 : l.prop] = r, typeof e.id == "number" && (e.id = (a = e.id) == null ? void 0 : a.toString()), e.children && ((n = e.children) == null ? void 0 : n.length) > 0 && (e.children = e.children.map(Ea)), e;
|
|
1719
1719
|
}, ca = (e) => {
|
|
1720
1720
|
var r;
|
|
1721
1721
|
const l = [];
|
|
@@ -1725,10 +1725,10 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1725
1725
|
const n = { ...a };
|
|
1726
1726
|
return delete n.children, n;
|
|
1727
1727
|
}) : [];
|
|
1728
|
-
},
|
|
1729
|
-
var b, s, T, v, m,
|
|
1728
|
+
}, Cl = (e = !0, l, r) => {
|
|
1729
|
+
var b, s, T, v, m, E, D, S, w;
|
|
1730
1730
|
let a = ea((b = J(B.value)) == null ? void 0 : b.filter((_) => (_ == null ? void 0 : _.label) !== "操作")), n, u = J(Z.value);
|
|
1731
|
-
if (!
|
|
1731
|
+
if (!Ce.value) {
|
|
1732
1732
|
Ze.value = !1;
|
|
1733
1733
|
return;
|
|
1734
1734
|
}
|
|
@@ -1738,15 +1738,15 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1738
1738
|
l && r ? _ = {
|
|
1739
1739
|
id: gl.value.toString(),
|
|
1740
1740
|
[l == null ? void 0 : l.prop]: r,
|
|
1741
|
-
children:
|
|
1741
|
+
children: Ce.value.children
|
|
1742
1742
|
} : _ = { id: gl.value.toString() }, _ != null && _.children && (_ = {
|
|
1743
1743
|
..._,
|
|
1744
|
-
children: (s = _.children) == null ? void 0 : s.map((x) =>
|
|
1745
|
-
}), u.push(Object.assign(
|
|
1744
|
+
children: (s = _.children) == null ? void 0 : s.map((x) => Ea(x, l, r))
|
|
1745
|
+
}), u.push(Object.assign(Ce.value, _)), n = Object.assign(Ce.value, _);
|
|
1746
1746
|
} else
|
|
1747
1747
|
u = (T = Oa(u, a)) == null ? void 0 : T.newContents, n = (v = Oa(u, a)) == null ? void 0 : v.currentSelectContents;
|
|
1748
1748
|
const c = (m = t.itemData) == null ? void 0 : m.filter((_) => (_ == null ? void 0 : _.key) === "childTree")[0];
|
|
1749
|
-
if (((
|
|
1749
|
+
if (((E = c == null ? void 0 : c.contents) == null ? void 0 : E.length) > 0) {
|
|
1750
1750
|
We.value = "编辑";
|
|
1751
1751
|
const _ = [];
|
|
1752
1752
|
u == null || u.forEach((x, k) => {
|
|
@@ -1796,26 +1796,26 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1796
1796
|
column: B.value,
|
|
1797
1797
|
parentTableId: t == null ? void 0 : t.parentTableId
|
|
1798
1798
|
};
|
|
1799
|
-
de.setTableLoading(t == null ? void 0 : t.index), Ze.value = !1,
|
|
1799
|
+
de.setTableLoading(t == null ? void 0 : t.index), Ze.value = !1, Ce.value = void 0, M("change", _);
|
|
1800
1800
|
}
|
|
1801
1801
|
};
|
|
1802
1802
|
Qr(() => {
|
|
1803
1803
|
B.value = [], Z.value = [], ae.value = [], ze.value = [], Me.value = [], nl.value = [], Al.value = [], hl.value = [], Ve.value = [], Re.value = [], L.value = null;
|
|
1804
1804
|
});
|
|
1805
|
-
const
|
|
1806
|
-
var b, s, T, v, m,
|
|
1805
|
+
const Ca = async (e, l, r) => {
|
|
1806
|
+
var b, s, T, v, m, E, D, S, w, _, x;
|
|
1807
1807
|
ol.value = r == null ? void 0 : r.prop;
|
|
1808
1808
|
const a = J(t.itemData), n = a == null ? void 0 : a.map((k) => {
|
|
1809
1809
|
var f;
|
|
1810
1810
|
return (k == null ? void 0 : k.key) === "header" && ((f = k.contents) == null || f.map((g, i) => {
|
|
1811
|
-
var h, $, A, X, I, Y, W, H, O, P, G, ee, F, d, N,
|
|
1811
|
+
var h, $, A, X, I, Y, W, H, O, P, G, ee, F, d, N, C, be, Se, fe;
|
|
1812
1812
|
return g.type = g != null && g.type ? g.type : (X = (A = ($ = (h = g == null ? void 0 : g.key) == null ? void 0 : h.split("$")) == null ? void 0 : $[1]) == null ? void 0 : A.split("(")) != null && X[0] ? (Y = (I = za) == null ? void 0 : I.find((U) => {
|
|
1813
1813
|
var y, ue, oe, pe;
|
|
1814
1814
|
return (U == null ? void 0 : U.key) === ((pe = (oe = (ue = (y = g == null ? void 0 : g.key) == null ? void 0 : y.split("$")) == null ? void 0 : ue[1]) == null ? void 0 : oe.split("(")) == null ? void 0 : pe[0]);
|
|
1815
1815
|
})) == null ? void 0 : Y.value : "Input", g.options = g != null && g.options ? g.options : ((O = (H = (W = g == null ? void 0 : g.key) == null ? void 0 : W.split("$")) == null ? void 0 : H[1]) == null ? void 0 : O.length) > 0 ? (F = (ee = Wa((G = (P = g == null ? void 0 : g.key) == null ? void 0 : P.split("$")) == null ? void 0 : G[1])) == null ? void 0 : ee.split(",")) == null ? void 0 : F.map((U) => ({
|
|
1816
1816
|
label: U,
|
|
1817
1817
|
value: U
|
|
1818
|
-
})) : [], (d = g == null ? void 0 : g.key) != null && d.includes("$") && (g.key = (
|
|
1818
|
+
})) : [], (d = g == null ? void 0 : g.key) != null && d.includes("$") && (g.key = (C = (N = g == null ? void 0 : g.key) == null ? void 0 : N.split("$")) == null ? void 0 : C[0]), g.value = (be = Object.values(l)) == null ? void 0 : be[i], g.optionUrl = g != null && g.formMenuSelect && ((Se = g == null ? void 0 : g.formMenuSelect) == null ? void 0 : Se.length) > 0 ? {
|
|
1819
1819
|
groupSelect: (fe = g == null ? void 0 : g.groupSelect) == null ? void 0 : fe.split(/[::]/).map((U) => U.trim()),
|
|
1820
1820
|
menuSelect: g == null ? void 0 : g.formMenuSelect,
|
|
1821
1821
|
selectRelateType: "",
|
|
@@ -1832,7 +1832,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1832
1832
|
var g, i, h;
|
|
1833
1833
|
return (k == null ? void 0 : k.label) === ol.value || (f == null ? void 0 : f.toString()) === ((h = (i = (g = ol.value) == null ? void 0 : g.split("a")) == null ? void 0 : i[1]) == null ? void 0 : h.toString());
|
|
1834
1834
|
});
|
|
1835
|
-
if ((S = (D = (
|
|
1835
|
+
if ((S = (D = (E = J(n)) == null ? void 0 : E.find((k) => (k == null ? void 0 : k.key) === "header")) == null ? void 0 : D.contents) == null || S.forEach((k) => {
|
|
1836
1836
|
var f, g, i, h, $;
|
|
1837
1837
|
o === "" && ((i = (g = (f = k == null ? void 0 : k.optionUrl) == null ? void 0 : f.groupSelect) == null ? void 0 : g[1]) != null && i.includes("[")) && (o = ($ = (h = k == null ? void 0 : k.optionUrl) == null ? void 0 : h.groupSelect) == null ? void 0 : $[1]);
|
|
1838
1838
|
}), (w = p == null ? void 0 : p.optionUrl) != null && w.menuSelect) {
|
|
@@ -1877,21 +1877,21 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1877
1877
|
}
|
|
1878
1878
|
}
|
|
1879
1879
|
}, Mr = async (e) => {
|
|
1880
|
-
var b, s, T, v, m,
|
|
1880
|
+
var b, s, T, v, m, E, D, S, w, _, x, k;
|
|
1881
1881
|
if (!e) return;
|
|
1882
|
-
|
|
1882
|
+
Ce.value = e;
|
|
1883
1883
|
const l = J(t.itemData);
|
|
1884
1884
|
let r = l == null ? void 0 : l.map((f) => {
|
|
1885
1885
|
var g;
|
|
1886
1886
|
return (f == null ? void 0 : f.key) === "header" && ((g = f.contents) == null || g.map((i, h) => {
|
|
1887
|
-
var $, A, X, I, Y, W, H, O, P, G, ee, F, d, N,
|
|
1887
|
+
var $, A, X, I, Y, W, H, O, P, G, ee, F, d, N, C, be, Se, fe, U;
|
|
1888
1888
|
return i.type = i != null && i.type ? i.type : (I = (X = (A = ($ = i == null ? void 0 : i.key) == null ? void 0 : $.split("$")) == null ? void 0 : A[1]) == null ? void 0 : X.split("(")) != null && I[0] ? (W = (Y = za) == null ? void 0 : Y.find((y) => {
|
|
1889
1889
|
var ue, oe, pe, Oe;
|
|
1890
1890
|
return (y == null ? void 0 : y.key) === ((Oe = (pe = (oe = (ue = i == null ? void 0 : i.key) == null ? void 0 : ue.split("$")) == null ? void 0 : oe[1]) == null ? void 0 : pe.split("(")) == null ? void 0 : Oe[0]);
|
|
1891
1891
|
})) == null ? void 0 : W.value : "Input", i.options = i != null && i.options ? i.options : ((P = (O = (H = i == null ? void 0 : i.key) == null ? void 0 : H.split("$")) == null ? void 0 : O[1]) == null ? void 0 : P.length) > 0 ? (d = (F = Wa((ee = (G = i == null ? void 0 : i.key) == null ? void 0 : G.split("$")) == null ? void 0 : ee[1])) == null ? void 0 : F.split(",")) == null ? void 0 : d.map((y) => ({
|
|
1892
1892
|
label: y,
|
|
1893
1893
|
value: y
|
|
1894
|
-
})) : [], (N = i == null ? void 0 : i.key) != null && N.includes("$") && (i.key = (be = (
|
|
1894
|
+
})) : [], (N = i == null ? void 0 : i.key) != null && N.includes("$") && (i.key = (be = (C = i == null ? void 0 : i.key) == null ? void 0 : C.split("$")) == null ? void 0 : be[0]), i.value = (Se = Object.values(e)) == null ? void 0 : Se[h], i.optionUrl = i != null && i.formMenuSelect && ((fe = i == null ? void 0 : i.formMenuSelect) == null ? void 0 : fe.length) > 0 ? {
|
|
1895
1895
|
groupSelect: (U = i == null ? void 0 : i.groupSelect) == null ? void 0 : U.split(/[::]/).map((y) => y.trim()),
|
|
1896
1896
|
menuSelect: i == null ? void 0 : i.formMenuSelect,
|
|
1897
1897
|
selectRelateType: "",
|
|
@@ -1906,7 +1906,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1906
1906
|
let u = "", c = (m = (v = (T = J(r)) == null ? void 0 : T.find((f) => (f == null ? void 0 : f.key) === "header")) == null ? void 0 : v.contents) == null ? void 0 : m.find((f, g) => {
|
|
1907
1907
|
var i, h, $;
|
|
1908
1908
|
return (f == null ? void 0 : f.label) === ol.value || (g == null ? void 0 : g.toString()) === (($ = (h = (i = ol.value) == null ? void 0 : i.split("a")) == null ? void 0 : h[1]) == null ? void 0 : $.toString());
|
|
1909
|
-
}), o = (
|
|
1909
|
+
}), o = (E = c == null ? void 0 : c.optionUrl) == null ? void 0 : E.menuSelect, p = !0;
|
|
1910
1910
|
if ((w = (S = (D = J(r)) == null ? void 0 : D.find((f) => (f == null ? void 0 : f.key) === "header")) == null ? void 0 : S.contents) == null || w.forEach((f) => {
|
|
1911
1911
|
var g, i, h, $, A, X;
|
|
1912
1912
|
p && ((h = (i = (g = f == null ? void 0 : f.optionUrl) == null ? void 0 : g.groupSelect) == null ? void 0 : i[1]) != null && h.includes("[")) && (u = (A = ($ = f == null ? void 0 : f.optionUrl) == null ? void 0 : $.groupSelect) == null ? void 0 : A[1], JSON.stringify(o) === JSON.stringify((X = f == null ? void 0 : f.optionUrl) == null ? void 0 : X.menuSelect) && (p = !1));
|
|
@@ -1928,7 +1928,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1928
1928
|
var G, ee, F, d;
|
|
1929
1929
|
if (P != null && P.includes("[")) {
|
|
1930
1930
|
let N = (ee = (G = P == null ? void 0 : P.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : G.split(":")) == null ? void 0 : ee[1];
|
|
1931
|
-
P = (d = (F = J(i)) == null ? void 0 : F.find((
|
|
1931
|
+
P = (d = (F = J(i)) == null ? void 0 : F.find((C) => (C == null ? void 0 : C.label) === N)) == null ? void 0 : d.value;
|
|
1932
1932
|
}
|
|
1933
1933
|
return P;
|
|
1934
1934
|
})), A;
|
|
@@ -1936,7 +1936,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1936
1936
|
let $ = {};
|
|
1937
1937
|
(k = Ve.value) == null || k.forEach((A) => {
|
|
1938
1938
|
$[A.prop] = A == null ? void 0 : A.value;
|
|
1939
|
-
}),
|
|
1939
|
+
}), Ce.value = $;
|
|
1940
1940
|
}
|
|
1941
1941
|
}
|
|
1942
1942
|
Ul.value = !1;
|
|
@@ -1956,13 +1956,13 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1956
1956
|
}), e.children && ((r = e.children) == null ? void 0 : r.length) > 0 && (e.children = e.children.map((a) => Da(a, l))), e;
|
|
1957
1957
|
}, da = (e) => {
|
|
1958
1958
|
var r, a, n, u, c, o;
|
|
1959
|
-
|
|
1959
|
+
El("");
|
|
1960
1960
|
const l = (r = Ve.value) == null ? void 0 : r.reduce((p, b) => (p[b.name] = b.value, p), {});
|
|
1961
1961
|
if (((a = Object.keys(l)) == null ? void 0 : a.length) > 0) {
|
|
1962
|
-
|
|
1962
|
+
Ce.value = l, Qe.value = "", gl.value = (n = Z.value) == null ? void 0 : n.length, hl.value = (u = sl.value) == null ? void 0 : u.filter((b) => (b == null ? void 0 : b.label) !== "新增");
|
|
1963
1963
|
const p = (o = (c = ae.value) == null ? void 0 : c.filter((b) => (b == null ? void 0 : b.label) !== "操作")) == null ? void 0 : o.map((b) => {
|
|
1964
1964
|
var T, v, m;
|
|
1965
|
-
const s = (v = (T = Me.value) == null ? void 0 : T.find((
|
|
1965
|
+
const s = (v = (T = Me.value) == null ? void 0 : T.find((E) => (E == null ? void 0 : E.label) === (b == null ? void 0 : b.label))) == null ? void 0 : v.multiple;
|
|
1966
1966
|
return wr(b), {
|
|
1967
1967
|
...b,
|
|
1968
1968
|
contents: (b == null ? void 0 : b.options) ?? [],
|
|
@@ -1981,7 +1981,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
1981
1981
|
B.value = p == null ? void 0 : p.map((b) => Da(b, [{
|
|
1982
1982
|
prop: "type",
|
|
1983
1983
|
value: "edit"
|
|
1984
|
-
}, { prop: "columnType", value: Nr(b == null ? void 0 : b.formType) || (b == null ? void 0 : b.columnType) }])), e === "createClick" &&
|
|
1984
|
+
}, { prop: "columnType", value: Nr(b == null ? void 0 : b.formType) || (b == null ? void 0 : b.columnType) }])), e === "createClick" && Cl(!1);
|
|
1985
1985
|
}
|
|
1986
1986
|
}, yl = {
|
|
1987
1987
|
START: "开始时间",
|
|
@@ -2017,7 +2017,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2017
2017
|
let a = [];
|
|
2018
2018
|
return a = La(e, l == null ? void 0 : l.contents, 0), a;
|
|
2019
2019
|
}, Pa = (e, l) => {
|
|
2020
|
-
var v, m,
|
|
2020
|
+
var v, m, E, D, S, w, _, x, k, f, g, i, h, $, A, X, I, Y, W, H, O, P, G, ee, F;
|
|
2021
2021
|
const r = e == null ? void 0 : e.filter((d) => (d == null ? void 0 : d.key) === "header");
|
|
2022
2022
|
e == null || e.filter((d) => (d == null ? void 0 : d.key) === "tableIndexColumn")[0];
|
|
2023
2023
|
const a = e == null ? void 0 : e.filter((d) => (d == null ? void 0 : d.key) === "childTree")[0];
|
|
@@ -2027,7 +2027,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2027
2027
|
let s = [];
|
|
2028
2028
|
ul.value === "" ? s = r == null ? void 0 : r[0] : s = (r == null ? void 0 : r.find((d) => (d == null ? void 0 : d.selectLabel) === "(" + ul.value + ")")) ?? (r == null ? void 0 : r.find((d) => !(d != null && d.selectLabel)));
|
|
2029
2029
|
let T = [];
|
|
2030
|
-
if (ul.value === "" ? T = b == null ? void 0 : b[0] : T = (b == null ? void 0 : b.find((d) => (d == null ? void 0 : d.selectLabel) === "(" + ul.value + ")")) ?? (b == null ? void 0 : b.find((d) => !(d != null && d.selectLabel))), ((
|
|
2030
|
+
if (ul.value === "" ? T = b == null ? void 0 : b[0] : T = (b == null ? void 0 : b.find((d) => (d == null ? void 0 : d.selectLabel) === "(" + ul.value + ")")) ?? (b == null ? void 0 : b.find((d) => !(d != null && d.selectLabel))), ((E = s == null ? void 0 : s.contents) == null ? void 0 : E.length) > 0) {
|
|
2031
2031
|
let d = [];
|
|
2032
2032
|
if (s != null && s.contents.some((U) => Array.isArray(U) && (U == null ? void 0 : U.find((y) => y.children))))
|
|
2033
2033
|
Ie.value === "" ? d = (S = (D = Na(s == null ? void 0 : s.contents)) == null ? void 0 : D[0]) == null ? void 0 : S.filter((U) => !Array.isArray(U)) : (Ie.value.split("-"), d = (w = Na(s == null ? void 0 : s.contents)) == null ? void 0 : w[0]);
|
|
@@ -2085,9 +2085,9 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2085
2085
|
column: U.label
|
|
2086
2086
|
}));
|
|
2087
2087
|
Ge.value = N;
|
|
2088
|
-
let
|
|
2089
|
-
ul.value === "" ?
|
|
2090
|
-
let be = Array.isArray(($ =
|
|
2088
|
+
let C = [];
|
|
2089
|
+
ul.value === "" ? C = p == null ? void 0 : p[0] : C = (p == null ? void 0 : p.find((U) => (U == null ? void 0 : U.selectLabel) === "(" + ul.value + ")")) ?? (p == null ? void 0 : p.find((U) => !(U != null && U.selectLabel)));
|
|
2090
|
+
let be = Array.isArray(($ = C == null ? void 0 : C.contents) == null ? void 0 : $[0]) && ((A = C == null ? void 0 : C.contents) != null && A[0].every((U) => Array.isArray(U))) ? (X = C == null ? void 0 : C.contents) == null ? void 0 : X[0] : C == null ? void 0 : C.contents;
|
|
2091
2091
|
T != null && T.contents && ((I = T == null ? void 0 : T.contents) == null ? void 0 : I.length) !== 0 && (be = (Y = J(be)) == null ? void 0 : Y.map((U, y) => {
|
|
2092
2092
|
if (!Array.isArray(U)) {
|
|
2093
2093
|
let ue = {};
|
|
@@ -2159,7 +2159,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2159
2159
|
},
|
|
2160
2160
|
{ deep: !0, immediate: !0 }
|
|
2161
2161
|
), Fe(() => t == null ? void 0 : t.operatingForm, (e) => {
|
|
2162
|
-
e != null && e.form && (
|
|
2162
|
+
e != null && e.form && (El(e == null ? void 0 : e.form), We.value = e == null ? void 0 : e.dialogTitle, zl.value = !0, Ze.value = !0);
|
|
2163
2163
|
}, { immediate: !0, deep: !0 });
|
|
2164
2164
|
const Ka = () => {
|
|
2165
2165
|
il.value = !il.value;
|
|
@@ -2179,16 +2179,16 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2179
2179
|
da("createClick"), l === Ae.pageSize && (Ae.currentPage = Math.ceil(((r = Z.value) == null ? void 0 : r.length) / Ae.pageSize));
|
|
2180
2180
|
}, Wr = (e, l, r) => {
|
|
2181
2181
|
var a;
|
|
2182
|
-
|
|
2182
|
+
Ca(r, e, l), Ce.value = J(e), Qe.value = e == null ? void 0 : e.id, gl.value = (a = Z.value) == null ? void 0 : a.length, We.value = typeof (e == null ? void 0 : e.id) == "string" ? "新增" : "编辑", Cl(!1);
|
|
2183
2183
|
}, De = (e) => {
|
|
2184
|
-
var p, b, s, T, v, m,
|
|
2184
|
+
var p, b, s, T, v, m, E, D, S, w;
|
|
2185
2185
|
const { row: l, column: r, item: a, slotData: n } = e;
|
|
2186
|
-
let u = l != null && l[r == null ? void 0 : r.prop] || (l == null ? void 0 : l[r == null ? void 0 : r.prop]) === 0 ? ((b = (p = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : p[0]) == null ? void 0 : b.contents) ?? ((l == null ? void 0 : l[r == null ? void 0 : r.prop]) === 0 ? "0" : l == null ? void 0 : l[r == null ? void 0 : r.prop]) : ((T = (s = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : s[0]) == null ? void 0 : T.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((m = (v = n == null ? void 0 : n[a == null ? void 0 : a.prop]) == null ? void 0 : v[0]) == null ? void 0 : m.contents) ?? (n == null ? void 0 : n[a == null ? void 0 : a.prop]) ?? ((S = (D = l == null ? void 0 : l[(
|
|
2186
|
+
let u = l != null && l[r == null ? void 0 : r.prop] || (l == null ? void 0 : l[r == null ? void 0 : r.prop]) === 0 ? ((b = (p = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : p[0]) == null ? void 0 : b.contents) ?? ((l == null ? void 0 : l[r == null ? void 0 : r.prop]) === 0 ? "0" : l == null ? void 0 : l[r == null ? void 0 : r.prop]) : ((T = (s = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : s[0]) == null ? void 0 : T.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((m = (v = n == null ? void 0 : n[a == null ? void 0 : a.prop]) == null ? void 0 : v[0]) == null ? void 0 : m.contents) ?? (n == null ? void 0 : n[a == null ? void 0 : a.prop]) ?? ((S = (D = l == null ? void 0 : l[(E = a == null ? void 0 : a.child) == null ? void 0 : E.prop]) == null ? void 0 : D[0]) == null ? void 0 : S.contents) ?? (l == null ? void 0 : l[(w = a == null ? void 0 : a.child) == null ? void 0 : w.prop]), o = Array.isArray(u) && !(u != null && u.every((_) => typeof _ == "string" || typeof _ == "number")) ? "查看" : u;
|
|
2187
2187
|
return o = Array.isArray(o) ? o.join(",") : o, o;
|
|
2188
2188
|
}, Gr = (e) => {
|
|
2189
|
-
var b, s, T, v, m,
|
|
2189
|
+
var b, s, T, v, m, E, D, S, w, _;
|
|
2190
2190
|
const { row: l, column: r, item: a, slotData: n } = e;
|
|
2191
|
-
let u = l != null && l[r == null ? void 0 : r.prop] ? ((s = (b = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : b[0]) == null ? void 0 : s.contents) ?? (l == null ? void 0 : l[r == null ? void 0 : r.prop]) : ((v = (T = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : T[0]) == null ? void 0 : v.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((
|
|
2191
|
+
let u = l != null && l[r == null ? void 0 : r.prop] ? ((s = (b = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : b[0]) == null ? void 0 : s.contents) ?? (l == null ? void 0 : l[r == null ? void 0 : r.prop]) : ((v = (T = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : T[0]) == null ? void 0 : v.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((E = (m = n == null ? void 0 : n[a == null ? void 0 : a.prop]) == null ? void 0 : m[0]) == null ? void 0 : E.contents) ?? (n == null ? void 0 : n[a == null ? void 0 : a.prop]) ?? ((w = (S = l == null ? void 0 : l[(D = a == null ? void 0 : a.child) == null ? void 0 : D.prop]) == null ? void 0 : S[0]) == null ? void 0 : w.contents) ?? (l == null ? void 0 : l[(_ = a == null ? void 0 : a.child) == null ? void 0 : _.prop]);
|
|
2192
2192
|
const o = Array.isArray(u) && !(u != null && u.every((x) => typeof x == "string" || typeof x == "number")), p = Array.isArray(u) && (u == null ? void 0 : u.find((x) => x == null ? void 0 : x.url));
|
|
2193
2193
|
return o && p;
|
|
2194
2194
|
}, Rr = (e, l) => e.find((r) => Object.values(r).some((a) => a === l));
|
|
@@ -2238,7 +2238,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2238
2238
|
onRowClick: Ur,
|
|
2239
2239
|
onSelectChange: pr,
|
|
2240
2240
|
onCellChange: Wr,
|
|
2241
|
-
onChange:
|
|
2241
|
+
onChange: Ca,
|
|
2242
2242
|
onPreview: ka,
|
|
2243
2243
|
onSubmitEditingTable: dr,
|
|
2244
2244
|
onHandleColEditChange: tr,
|
|
@@ -2246,14 +2246,14 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2246
2246
|
onClickButton: Xl
|
|
2247
2247
|
}, Yr({
|
|
2248
2248
|
headerButton: re((v) => {
|
|
2249
|
-
var m,
|
|
2249
|
+
var m, E;
|
|
2250
2250
|
return [
|
|
2251
2251
|
K.showHeader ? (ne(), $e(jn, {
|
|
2252
2252
|
key: 0,
|
|
2253
2253
|
lockingPage: Ye(Ml) === Ye(se),
|
|
2254
2254
|
filterValues: ma.value,
|
|
2255
2255
|
selectNums: (m = Re.value) == null ? void 0 : m.length,
|
|
2256
|
-
dataNums: (
|
|
2256
|
+
dataNums: (E = Z.value) == null ? void 0 : E.length,
|
|
2257
2257
|
compName: K.compName,
|
|
2258
2258
|
isDevMode: K.isDevMode,
|
|
2259
2259
|
buttons: v.buttons,
|
|
@@ -2269,7 +2269,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2269
2269
|
var v, m;
|
|
2270
2270
|
return [
|
|
2271
2271
|
((v = Z.value) == null ? void 0 : v.length) > 0 && K.allowOperate ? (ne(), Te("div", Yn, [
|
|
2272
|
-
(m = nl.value) != null && m.some((
|
|
2272
|
+
(m = nl.value) != null && m.some((E) => (E == null ? void 0 : E.label) === "编辑") && !Gl.value && Ye(Ml) !== Ye(se) ? (ne(), Te("span", {
|
|
2273
2273
|
key: 0,
|
|
2274
2274
|
title: "编辑表格",
|
|
2275
2275
|
onClick: Ka
|
|
@@ -2295,7 +2295,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2295
2295
|
ve("span", {
|
|
2296
2296
|
title: "新增",
|
|
2297
2297
|
class: "row-create-wrap",
|
|
2298
|
-
onClick: (
|
|
2298
|
+
onClick: (E) => Jr(v, m)
|
|
2299
2299
|
}, [
|
|
2300
2300
|
ie(r, {
|
|
2301
2301
|
name: "rowCreate",
|
|
@@ -2364,7 +2364,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2364
2364
|
ve("span", {
|
|
2365
2365
|
title: v.label,
|
|
2366
2366
|
style: { display: "inline-block", width: "250px", overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }
|
|
2367
|
-
},
|
|
2367
|
+
}, Ee(v.label), 9, es)
|
|
2368
2368
|
]),
|
|
2369
2369
|
_: 2
|
|
2370
2370
|
}, 1032, ["value"]),
|
|
@@ -2384,16 +2384,16 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2384
2384
|
var m;
|
|
2385
2385
|
return [
|
|
2386
2386
|
ve("div", ls, [
|
|
2387
|
-
(ne(!0), Te(cl, null, dl((m = Object.keys(v)) == null ? void 0 : m.filter((
|
|
2387
|
+
(ne(!0), Te(cl, null, dl((m = Object.keys(v)) == null ? void 0 : m.filter((E) => {
|
|
2388
2388
|
var D;
|
|
2389
|
-
return (D = le.value) == null ? void 0 : D.find((S) => (S == null ? void 0 : S.value) ===
|
|
2390
|
-
}), (
|
|
2389
|
+
return (D = le.value) == null ? void 0 : D.find((S) => (S == null ? void 0 : S.value) === E);
|
|
2390
|
+
}), (E) => {
|
|
2391
2391
|
var D, S;
|
|
2392
|
-
return ne(), Te("div", { key:
|
|
2392
|
+
return ne(), Te("div", { key: E }, [
|
|
2393
2393
|
ie(n, {
|
|
2394
|
-
"model-value": v == null ? void 0 : v[
|
|
2395
|
-
"active-text": (S = (D = le.value) == null ? void 0 : D.find((w) => (w == null ? void 0 : w.value) ===
|
|
2396
|
-
onChange: (w) => gr(w,
|
|
2394
|
+
"model-value": v == null ? void 0 : v[E],
|
|
2395
|
+
"active-text": (S = (D = le.value) == null ? void 0 : D.find((w) => (w == null ? void 0 : w.value) === E)) == null ? void 0 : S.label,
|
|
2396
|
+
onChange: (w) => gr(w, E, v)
|
|
2397
2397
|
}, null, 8, ["model-value", "active-text", "onChange"])
|
|
2398
2398
|
]);
|
|
2399
2399
|
}), 128))
|
|
@@ -2419,7 +2419,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2419
2419
|
})
|
|
2420
2420
|
]),
|
|
2421
2421
|
content: re((v) => {
|
|
2422
|
-
var m,
|
|
2422
|
+
var m, E, D, S, w, _, x, k, f, g, i, h, $, A, X, I, Y, W;
|
|
2423
2423
|
return [
|
|
2424
2424
|
Gr(v) ? (ne(), $e(a, {
|
|
2425
2425
|
key: 0,
|
|
@@ -2430,7 +2430,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2430
2430
|
width: "auto"
|
|
2431
2431
|
}, {
|
|
2432
2432
|
reference: re(() => [
|
|
2433
|
-
ve("span", rs,
|
|
2433
|
+
ve("span", rs, Ee(De(v)), 1)
|
|
2434
2434
|
]),
|
|
2435
2435
|
default: re(() => {
|
|
2436
2436
|
var H;
|
|
@@ -2441,7 +2441,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2441
2441
|
class: "prop-url",
|
|
2442
2442
|
title: Hl(O),
|
|
2443
2443
|
onClick: (P) => vr(O)
|
|
2444
|
-
},
|
|
2444
|
+
}, Ee(Hl(O)), 9, us),
|
|
2445
2445
|
ve("div", {
|
|
2446
2446
|
class: "prop-download",
|
|
2447
2447
|
onClick: (P) => br(O)
|
|
@@ -2454,13 +2454,13 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2454
2454
|
}, 1024)) : (ne(), Te("div", {
|
|
2455
2455
|
key: 1,
|
|
2456
2456
|
style: kl({
|
|
2457
|
-
color: !Array.isArray(De(v)) && ((
|
|
2457
|
+
color: !Array.isArray(De(v)) && ((E = (m = De(v)) == null ? void 0 : m.toString()) != null && E.includes(".txt") || (S = (D = De(v)) == null ? void 0 : D.toString()) != null && S.includes(".cpt") || (_ = (w = De(v)) == null ? void 0 : w.toString()) != null && _.includes(".cyd")) ? "var(--vertical-menuitem-active-bg)" : "",
|
|
2458
2458
|
textDecoration: !Array.isArray(De(v)) && ((k = (x = De(v)) == null ? void 0 : x.toString()) != null && k.includes(".txt") || (g = (f = De(v)) == null ? void 0 : f.toString()) != null && g.includes(".cpt") || (h = (i = De(v)) == null ? void 0 : i.toString()) != null && h.includes(".cyd")) ? "underline" : "",
|
|
2459
2459
|
cursor: !Array.isArray(De(v)) && ((A = ($ = De(v)) == null ? void 0 : $.toString()) != null && A.includes(".txt") || (I = (X = De(v)) == null ? void 0 : X.toString()) != null && I.includes(".cpt") || (W = (Y = De(v)) == null ? void 0 : Y.toString()) != null && W.includes(".cyd")) ? "pointer" : "",
|
|
2460
2460
|
marginLeft: (v == null ? void 0 : v.colIndex) === 0 ? `${((v == null ? void 0 : v.level) ?? 0) * 20}px` : 0
|
|
2461
2461
|
}),
|
|
2462
2462
|
onClick: (H) => rr(De(v))
|
|
2463
|
-
},
|
|
2463
|
+
}, Ee(De(v) === 0 ? "0" : De(v)), 13, os))
|
|
2464
2464
|
];
|
|
2465
2465
|
}),
|
|
2466
2466
|
_: 2
|
|
@@ -2481,15 +2481,15 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2481
2481
|
]),
|
|
2482
2482
|
default: re(() => [
|
|
2483
2483
|
ve("div", Xn, [
|
|
2484
|
-
(ne(!0), Te(cl, null, dl(Sr(nl.value, v), (m,
|
|
2484
|
+
(ne(!0), Te(cl, null, dl(Sr(nl.value, v), (m, E) => (ne(), Te("div", {
|
|
2485
2485
|
class: "menu-config-item",
|
|
2486
|
-
key:
|
|
2486
|
+
key: E,
|
|
2487
2487
|
onClick: (D) => Xl(m == null ? void 0 : m.label, v, { extra: m })
|
|
2488
2488
|
}, [
|
|
2489
2489
|
ve("div", {
|
|
2490
2490
|
style: kl({ color: m == null ? void 0 : m.textColor }),
|
|
2491
2491
|
class: "extra-button-label"
|
|
2492
|
-
},
|
|
2492
|
+
}, Ee(m == null ? void 0 : m.label), 5)
|
|
2493
2493
|
], 8, Qn))), 128))
|
|
2494
2494
|
])
|
|
2495
2495
|
]),
|
|
@@ -2538,18 +2538,18 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2538
2538
|
id: "themeBorderButton"
|
|
2539
2539
|
}, {
|
|
2540
2540
|
default: re(() => l[13] || (l[13] = [
|
|
2541
|
-
el(
|
|
2541
|
+
el(Ee("取消"))
|
|
2542
2542
|
])),
|
|
2543
2543
|
_: 1,
|
|
2544
2544
|
__: [13]
|
|
2545
2545
|
}),
|
|
2546
2546
|
ie(o, {
|
|
2547
2547
|
class: "ok-button",
|
|
2548
|
-
onClick: l[7] || (l[7] = (v) =>
|
|
2548
|
+
onClick: l[7] || (l[7] = (v) => Cl(!0)),
|
|
2549
2549
|
id: "themeButton"
|
|
2550
2550
|
}, {
|
|
2551
2551
|
default: re(() => l[14] || (l[14] = [
|
|
2552
|
-
el(
|
|
2552
|
+
el(Ee("确认"))
|
|
2553
2553
|
])),
|
|
2554
2554
|
_: 1,
|
|
2555
2555
|
__: [14]
|
|
@@ -2575,7 +2575,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2575
2575
|
id: "themeBorderButton"
|
|
2576
2576
|
}, {
|
|
2577
2577
|
default: re(() => l[15] || (l[15] = [
|
|
2578
|
-
el(
|
|
2578
|
+
el(Ee("取消"))
|
|
2579
2579
|
])),
|
|
2580
2580
|
_: 1,
|
|
2581
2581
|
__: [15]
|
|
@@ -2586,7 +2586,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2586
2586
|
id: "themeButton"
|
|
2587
2587
|
}, {
|
|
2588
2588
|
default: re(() => l[16] || (l[16] = [
|
|
2589
|
-
el(
|
|
2589
|
+
el(Ee("确认"))
|
|
2590
2590
|
])),
|
|
2591
2591
|
_: 1,
|
|
2592
2592
|
__: [16]
|
|
@@ -2632,7 +2632,7 @@ const Wa = (K) => K.match(/\((.*)\)/)[1], Tn = {
|
|
|
2632
2632
|
]);
|
|
2633
2633
|
};
|
|
2634
2634
|
}
|
|
2635
|
-
}, Os = /* @__PURE__ */ aa(ps, [["__scopeId", "data-v-
|
|
2635
|
+
}, Os = /* @__PURE__ */ aa(ps, [["__scopeId", "data-v-61e73981"]]);
|
|
2636
2636
|
export {
|
|
2637
2637
|
qn as a,
|
|
2638
2638
|
$n as b,
|