ss-component-new 1.2.150 → 1.2.152
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-DmS4PVwa.cjs → MTLLoader-CS7tCafW.cjs} +1 -1
- package/dist/{MTLLoader-DBq1KXAX.js → MTLLoader-rr5QiHpH.js} +1 -1
- package/dist/{OrbitControls-kC94N9cH.cjs → OrbitControls-BF3SmLb0.cjs} +1 -1
- package/dist/{OrbitControls-BuWaLCmX.js → OrbitControls-DJK5ejeR.js} +1 -1
- package/dist/{URDFLoader-DnTNTNA7.js → URDFLoader-GhedGy2f.js} +2 -2
- package/dist/{URDFLoader-bYvgc51y.cjs → URDFLoader-YkeuzOMY.cjs} +1 -1
- package/dist/{animationData-QNiUx7pN.js → animationData-DPvrpOI5.js} +1 -1
- package/dist/{animationData-BqEMUtAO.cjs → animationData-f8DG4NvQ.cjs} +1 -1
- package/dist/{array-ClVXVEx7.cjs → array-Fw9xDONN.cjs} +1 -1
- package/dist/{array-BZAN3toV.js → array-fj93XUQy.js} +1 -1
- package/dist/{iconfont-BaVPM2v_.js → iconfont-DaheQsG9.js} +2 -2
- package/dist/{iconfont-CEx025kZ.cjs → iconfont-DduD50a_.cjs} +1 -1
- package/dist/{index-BMtT1D-o.cjs → index-7LIrILAr.cjs} +1 -1
- package/dist/{index-C7c3lUv8.js → index-8GKfPIWL.js} +8 -8
- package/dist/{index-C0vtqHQL.cjs → index-B0hNWWPQ.cjs} +1 -1
- package/dist/{index-C0AczIyL.cjs → index-B3ltAGaY.cjs} +1 -1
- package/dist/{index-DzYbQMvt.js → index-BD3QHmi2.js} +16 -16
- package/dist/{index-DHLQmW42.cjs → index-BKkiPOUm.cjs} +1 -1
- package/dist/{index-BH4VQuVL.cjs → index-BL8WxaPd.cjs} +1 -1
- package/dist/{index-BAiAdsHA.cjs → index-BQGkc6hK.cjs} +1 -1
- package/dist/{index-B4bQuKLS.cjs → index-BXeRvh_y.cjs} +1 -1
- package/dist/{index-BfSMSCzl.js → index-C571XfiP.js} +2 -2
- package/dist/{index-DhbPFHTx.cjs → index-CB-Mvo0Z.cjs} +1 -1
- package/dist/index-CB9ExkJX.cjs +1 -0
- package/dist/{index-DDY5SaAi.cjs → index-CDAcp7rJ.cjs} +1 -1
- package/dist/{index-B6oo6nSU.js → index-CGtLqnX3.js} +1 -1
- package/dist/{index-DCdGEc5U.cjs → index-CMDAMO_8.cjs} +1 -1
- package/dist/{index-BZ25HU9Z.js → index-COELguaL.js} +1 -1
- package/dist/{index-Oo6vDcaQ.cjs → index-CR2AjtrT.cjs} +1 -1
- package/dist/{index-rI1xcF_8.js → index-CSHoEB6w.js} +2 -2
- package/dist/{index-CxdVouOB.js → index-CWxQsf8s.js} +1 -1
- package/dist/{index-zr-S3EjS.js → index-CiY3qQGB.js} +4 -4
- package/dist/{index-Cjlj79ZP.js → index-ClZIL753.js} +1 -1
- package/dist/{index-79uCUNxg.cjs → index-Co-fGQmY.cjs} +1 -1
- package/dist/{index-1tgG8Ulp.js → index-CoqywjX6.js} +1 -1
- package/dist/{index-BCLiHpHq.cjs → index-Ct1B2wQp.cjs} +1 -1
- package/dist/{index-BKcIkwEV.js → index-CvHIDE8A.js} +1 -1
- package/dist/{index-CN3gvKaE.js → index-CxWrTyvu.js} +4 -4
- package/dist/{index-CL8ma-_X.cjs → index-D28B2qMb.cjs} +1 -1
- package/dist/{index-Qw7I_PuE.cjs → index-D6QtbyQH.cjs} +1 -1
- package/dist/{index-BgasiW6D.js → index-DAW-_6kb.js} +1 -1
- package/dist/{index-DO8Z1hIx.cjs → index-DBck8dcP.cjs} +1 -1
- package/dist/{index-qRZgUzdf.cjs → index-DJ-Ubkcc.cjs} +1 -1
- package/dist/{index-C92mmFVX.cjs → index-DKvvJrTD.cjs} +1 -1
- package/dist/{index-BJNIDwSl.js → index-DRCkHJv6.js} +1 -1
- package/dist/{index-C75icw4i.js → index-DYBdWLQB.js} +7 -7
- package/dist/{index-C-S-yHzX.cjs → index-DkQWdiUV.cjs} +1 -1
- package/dist/{index-Bz-Bi3xL.js → index-Dm060Nko.js} +4 -4
- package/dist/{index-DaieDA55.js → index-Dq-92rzL.js} +1 -1
- package/dist/{index-DSOz0K3d.js → index-Lkx2D7iY.js} +3 -3
- package/dist/{index-CCSt-THq.js → index-T1w28E7x.js} +1 -1
- package/dist/{index-DUffeFlJ.js → index-et6Sj8_h.js} +3 -3
- package/dist/{index-BDf5jKR-.cjs → index-gB6pRsiR.cjs} +1 -1
- package/dist/{index-CoHIS36z.cjs → index-lDahC_XO.cjs} +1 -1
- package/dist/{index-BJaiGTMz.js → index-yYlZ6saJ.js} +1 -1
- package/dist/{index-BS-v2ugu.js → index-zvEJ55jE.js} +205 -205
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CzOb_sOB.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CK6SdpoM.js} +7 -7
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-eYNCLpxI.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Sg3OAnZO.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BV1Dk3xg.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BZDAM7UU.js} +312 -312
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DwdgpqEP.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DLwFjtzq.cjs} +13 -13
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-uz-0886n.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CXKsTe4a.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-e9qqbsy-.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-DxIhhKdi.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_1_lang-Auqs4NuA.cjs → index.vue_vue_type_style_index_1_lang-CpLBwzYm.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-D0p6yvbH.js → index.vue_vue_type_style_index_1_lang-Dsu6zZjp.js} +3 -3
- package/dist/{main-Cp7zxHT6.js → main-Bvxuhx83.js} +3 -3
- package/dist/{main-BQrLgbP3.cjs → main-CUI407g3.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-CIsVZQR7.js → threeModel-C-4qS44N.js} +4 -4
- package/dist/{threeModel-CXRR8sBZ.cjs → threeModel-DSJiORME.cjs} +1 -1
- package/dist/{threePreview-C73AiX6N.js → threePreview-BSfotxX2.js} +3 -3
- package/dist/{threePreview-Czg2IqSY.cjs → threePreview-DQPl29N6.cjs} +1 -1
- package/dist/{threeSceneView-C932sX7u.js → threeSceneView-D7WbPEOa.js} +8 -8
- package/dist/{threeSceneView-C86EhWUj.cjs → threeSceneView-wByC9Vlj.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-DHFC76-h.js → threeSceneViewForCPMPIP-BtS3FkVG.js} +7 -7
- package/dist/{threeSceneViewForCPMPIP-C83zoxxL.cjs → threeSceneViewForCPMPIP-C3wdlamC.cjs} +1 -1
- package/dist/{threeTrackPathView-BTUPpbRS.cjs → threeTrackPathView-DZdCiZmn.cjs} +1 -1
- package/dist/{threeTrackPathView-DP84E0fr.js → threeTrackPathView-TShdPDAu.js} +3 -3
- package/dist/{threeViewerHost-Bvtp3ksm.js → threeViewerHost-CScPmwpQ.js} +2 -2
- package/dist/{threeViewerHost-CWgyZ3pd.cjs → threeViewerHost-dVdN527Y.cjs} +1 -1
- package/dist/{urdfTree-C9UvMSU3.js → urdfTree-BjNrHH4-.js} +1 -1
- package/dist/{urdfTree-BZhmC8yM.cjs → urdfTree-NTWDKnsG.cjs} +1 -1
- package/dist/{workpieceTreePanel-hp8KnlNC.js → workpieceTreePanel-DQfDiDMb.js} +4 -4
- package/dist/{workpieceTreePanel-mKNnCJsz.cjs → workpieceTreePanel-KzdD3enP.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-Bdj1j_IC.cjs +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ref as Y, watch as Ze, nextTick as oa, resolveComponent as Ie, createBlock as Pe, openBlock as ae, withCtx as I, createElementVNode as ge, renderSlot as
|
|
1
|
+
import { ref as Y, watch as Ze, nextTick as oa, resolveComponent as Ie, createBlock as Pe, openBlock as ae, withCtx as I, createElementVNode as ge, renderSlot as Ba, onMounted as va, createElementBlock as ke, normalizeStyle as xl, normalizeClass as ar, toDisplayString as Oe, createCommentVNode as De, createVNode as se, unref as al, Fragment as fl, renderList as hl, createTextVNode as el, defineComponent as rr, reactive as ql, inject as dn, provide as pn, onBeforeUnmount as fn, computed as Ma, onUnmounted as hn, createSlots as gn, withModifiers as Fa, withDirectives as Ka, vShow as za } from "vue";
|
|
2
2
|
import { by as Ja, ay as Wa, c as X, E as Ge, bS as nr, g as Cl, p as ml, s as Ll, u as yn, f as vn, b as Al, bK as bn, bI as Ra, e as kn, ce as Sn } from "./index-DIUrwul5.js";
|
|
3
|
-
import { V as Hl, aD as Tn, aE as Ql, aF as mn, g as Pl, b as An, a as Cn, U as xn, u as Un, aG as qa, aH as Ga, aI as _n, aJ as Dn, d as ga, R as Ha, n as Qa, l as On, aK as Xa, a1 as En, aL as jn, aM as Ln, aN as Pn, T as $n, aO as Nn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { d as $l, a as Ya, i as
|
|
5
|
-
import { a as Fn, T as Kn } from "./threeViewerHost-
|
|
3
|
+
import { V as Hl, aD as Tn, aE as Ql, aF as mn, g as Pl, b as An, a as Cn, U as xn, u as Un, aG as qa, aH as Ga, aI as _n, aJ as Dn, d as ga, R as Ha, n as Qa, l as On, aK as Xa, a1 as En, aL as jn, aM as Ln, aN as Pn, T as $n, aO as Nn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BZDAM7UU.js";
|
|
4
|
+
import { d as $l, a as Ya, i as wn, e as Bn, E as Mn } from "./index-CiY3qQGB.js";
|
|
5
|
+
import { a as Fn, T as Kn } from "./threeViewerHost-CScPmwpQ.js";
|
|
6
6
|
import { u as zn, a as Jn, E as Za } from "./index-AIq5wzuR.js";
|
|
7
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
7
|
+
import "./index.vue_vue_type_style_index_1_lang-Dsu6zZjp.js";
|
|
8
8
|
import { _ as sa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import { s as Gl } from "./index-
|
|
9
|
+
import { s as Gl } from "./index-yYlZ6saJ.js";
|
|
10
10
|
import "./index-_lg-jrRI.js";
|
|
11
11
|
import { i as Ia } from "./isString-CN3i5s9o.js";
|
|
12
|
-
const Va = (
|
|
12
|
+
const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
13
13
|
__name: "index",
|
|
14
14
|
props: {
|
|
15
15
|
isVisible: {
|
|
@@ -29,12 +29,12 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
29
29
|
default: 200
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
setup(
|
|
33
|
-
const re =
|
|
32
|
+
setup(B) {
|
|
33
|
+
const re = B, ee = Y(null), w = Y(!1), P = Y(null);
|
|
34
34
|
return Ze(
|
|
35
35
|
() => re == null ? void 0 : re.isVisible,
|
|
36
36
|
() => {
|
|
37
|
-
|
|
37
|
+
w.value = re == null ? void 0 : re.isVisible;
|
|
38
38
|
},
|
|
39
39
|
{ deep: !0, immediate: !0 }
|
|
40
40
|
), Ze(
|
|
@@ -49,7 +49,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
49
49
|
), (o, ue) => {
|
|
50
50
|
const ve = Ie("el-popover");
|
|
51
51
|
return ae(), Pe(ve, {
|
|
52
|
-
visible:
|
|
52
|
+
visible: w.value,
|
|
53
53
|
title: re == null ? void 0 : re.title,
|
|
54
54
|
placement: re == null ? void 0 : re.placement,
|
|
55
55
|
width: re == null ? void 0 : re.width,
|
|
@@ -58,7 +58,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
58
58
|
}, {
|
|
59
59
|
reference: I(() => [
|
|
60
60
|
ge("div", null, [
|
|
61
|
-
|
|
61
|
+
Ba(o.$slots, "reference", {
|
|
62
62
|
ref_key: "referenceRef",
|
|
63
63
|
ref: P
|
|
64
64
|
})
|
|
@@ -66,7 +66,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
66
66
|
]),
|
|
67
67
|
default: I(() => [
|
|
68
68
|
ge("div", null, [
|
|
69
|
-
|
|
69
|
+
Ba(o.$slots, "content")
|
|
70
70
|
])
|
|
71
71
|
]),
|
|
72
72
|
_: 3
|
|
@@ -122,8 +122,8 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
emits: ["buttonClick", "filter", "getImportData"],
|
|
125
|
-
setup(
|
|
126
|
-
const ee = re,
|
|
125
|
+
setup(B, { emit: re }) {
|
|
126
|
+
const ee = re, w = B, P = Y(""), o = Y(!1), ue = Y([]), ve = Y([{ label: "取消", background: "#999999" }, {
|
|
127
127
|
label: "清空",
|
|
128
128
|
background: "#999999"
|
|
129
129
|
}, { label: "确认" }]), xe = [
|
|
@@ -149,16 +149,16 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
149
149
|
for (const H in ce) {
|
|
150
150
|
if (H[0] === "!") continue;
|
|
151
151
|
const { r: fe, c: Ae } = Ql.decode_cell(H);
|
|
152
|
-
let
|
|
153
|
-
if (ce[H].t === "n" &&
|
|
154
|
-
G[Ae] =
|
|
152
|
+
let we = ce[H].v;
|
|
153
|
+
if (ce[H].t === "n" && we > 0 && we < 1e6 && (we = new Date((we - 25569) * 86400 * 1e3).toISOString().split("T")[0]), (we == null || we === "") && (we = ""), fe === 0)
|
|
154
|
+
G[Ae] = we;
|
|
155
155
|
else {
|
|
156
156
|
if (!T[fe - 1]) {
|
|
157
157
|
T[fe - 1] = {};
|
|
158
158
|
for (let We = 0; We < Je; We++)
|
|
159
159
|
T[fe - 1][`col_${We}`] = "";
|
|
160
160
|
}
|
|
161
|
-
T[fe - 1][`col_${Ae}`] =
|
|
161
|
+
T[fe - 1][`col_${Ae}`] = we;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
for (let H = 0; H < Je; H++)
|
|
@@ -207,26 +207,26 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
207
207
|
ee("filter", he);
|
|
208
208
|
};
|
|
209
209
|
return va(() => {
|
|
210
|
-
vl(
|
|
210
|
+
vl(w.columns);
|
|
211
211
|
}), Ze(
|
|
212
|
-
() =>
|
|
212
|
+
() => w.columns,
|
|
213
213
|
() => {
|
|
214
|
-
vl(
|
|
214
|
+
vl(w.columns);
|
|
215
215
|
},
|
|
216
216
|
{ deep: !0, immediate: !0 }
|
|
217
217
|
), (he, Te) => {
|
|
218
218
|
var ce, He, Je, G;
|
|
219
219
|
const pe = Ie("el-icon"), V = Ie("svg-icon"), q = Ie("el-input"), Ne = Ie("el-button"), Ve = Ie("el-upload");
|
|
220
|
-
return
|
|
220
|
+
return B.pageLayout === "vertical" ? (ae(), ke("div", Wn, [
|
|
221
221
|
ge("div", {
|
|
222
|
-
class: ar(
|
|
222
|
+
class: ar(B.compName ? "table-name-wrap" : ""),
|
|
223
223
|
style: xl({
|
|
224
|
-
background: (
|
|
225
|
-
paddingLeft: ((
|
|
226
|
-
fontWeight: 600 - ((
|
|
227
|
-
fontSize: 17 - (
|
|
224
|
+
background: (w == null ? void 0 : w.level) > 1 ? "transparent" : "var(--ssgroup-background)",
|
|
225
|
+
paddingLeft: ((w == null ? void 0 : w.level) - 1) * 12 + "px",
|
|
226
|
+
fontWeight: 600 - ((w == null ? void 0 : w.level) - 1) * 100 >= 400 ? 600 - ((w == null ? void 0 : w.level) - 1) * 100 : 400,
|
|
227
|
+
fontSize: 17 - (w == null ? void 0 : w.level) >= 14 ? 17 - (w == null ? void 0 : w.level) + "px" : "14px"
|
|
228
228
|
})
|
|
229
|
-
}, Oe(
|
|
229
|
+
}, Oe(B.compName), 7),
|
|
230
230
|
ge("div", Rn, [
|
|
231
231
|
ge("div", qn, [
|
|
232
232
|
se(er, {
|
|
@@ -242,16 +242,16 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
242
242
|
modelValue: P.value,
|
|
243
243
|
"onUpdate:modelValue": Te[1] || (Te[1] = (Ae) => P.value = Ae),
|
|
244
244
|
style: { "min-width": "80px" },
|
|
245
|
-
placeholder: $e.value ? (H = (_e = (T =
|
|
245
|
+
placeholder: $e.value ? (H = (_e = (T = B.filterValues) == null ? void 0 : T.filter((Ae) => Ae)) == null ? void 0 : _e.slice(0, 3)) == null ? void 0 : H.join("/") : "搜索",
|
|
246
246
|
"prefix-icon": al(Ja),
|
|
247
247
|
clearable: "",
|
|
248
248
|
onInput: rl,
|
|
249
249
|
disabled: ((fe = ue.value) == null ? void 0 : fe.length) === 0
|
|
250
250
|
}, {
|
|
251
251
|
suffix: I(() => {
|
|
252
|
-
var Ae,
|
|
252
|
+
var Ae, we;
|
|
253
253
|
return [
|
|
254
|
-
!P.value && ((
|
|
254
|
+
!P.value && ((we = (Ae = B.filterValues) == null ? void 0 : Ae.filter((We) => We)) != null && we.join("/")) ? (ae(), Pe(pe, {
|
|
255
255
|
key: 0,
|
|
256
256
|
style: { cursor: "pointer" },
|
|
257
257
|
onClick: yl
|
|
@@ -295,8 +295,8 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
295
295
|
_: 1
|
|
296
296
|
}, 8, ["isVisible"])
|
|
297
297
|
]),
|
|
298
|
-
|
|
299
|
-
(ae(!0), ke(fl, null, hl((He =
|
|
298
|
+
B.buttons && ((ce = B.buttons) == null ? void 0 : ce.length) > 0 ? (ae(), ke("div", Hn, [
|
|
299
|
+
(ae(!0), ke(fl, null, hl((He = B.buttons) == null ? void 0 : He.filter((T) => B.isDevMode || (T == null ? void 0 : T.label) !== "修改模板"), (T, _e) => (ae(), ke("div", {
|
|
300
300
|
class: "extra-contents",
|
|
301
301
|
key: _e
|
|
302
302
|
}, [
|
|
@@ -308,11 +308,11 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
308
308
|
"auto-upload": !1,
|
|
309
309
|
action: "#",
|
|
310
310
|
"show-file-list": !1,
|
|
311
|
-
disabled: !!
|
|
311
|
+
disabled: !!B.lockingPage
|
|
312
312
|
}, {
|
|
313
313
|
default: I(() => [
|
|
314
314
|
se(Ne, {
|
|
315
|
-
disabled: !!
|
|
315
|
+
disabled: !!B.lockingPage,
|
|
316
316
|
style: xl({ background: (T == null ? void 0 : T.background) ?? "var(--ssbutton-theme-bg)", color: (T == null ? void 0 : T.color) ?? "var(--ssbutton-theme-color)" })
|
|
317
317
|
}, {
|
|
318
318
|
default: I(() => [
|
|
@@ -327,7 +327,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
327
327
|
dropTitle: I(() => [
|
|
328
328
|
(T == null ? void 0 : T.type) === "popover" ? (ae(), Pe(Ne, {
|
|
329
329
|
key: 0,
|
|
330
|
-
disabled: !!
|
|
330
|
+
disabled: !!B.lockingPage,
|
|
331
331
|
style: xl({ background: (T == null ? void 0 : T.background) ?? "var(--ssbutton-theme-bg)", color: (T == null ? void 0 : T.color) ?? "var(--ssbutton-theme-color)" })
|
|
332
332
|
}, {
|
|
333
333
|
default: I(() => [
|
|
@@ -340,7 +340,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
340
340
|
ge("div", Qn, [
|
|
341
341
|
(ae(!0), ke(fl, null, hl(T == null ? void 0 : T.contents, (H) => (ae(), Pe(Ne, {
|
|
342
342
|
key: H == null ? void 0 : H.label,
|
|
343
|
-
disabled: !!
|
|
343
|
+
disabled: !!B.lockingPage,
|
|
344
344
|
style: { width: "100%", margin: "0", border: "none", display: "flex", "justify-content": "flex-start" },
|
|
345
345
|
onClick: (fe) => il(H == null ? void 0 : H.label)
|
|
346
346
|
}, {
|
|
@@ -348,8 +348,8 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
348
348
|
var fe, Ae;
|
|
349
349
|
return [
|
|
350
350
|
el(Oe(H == null ? void 0 : H.label), 1),
|
|
351
|
-
(fe = H == null ? void 0 : H.label) != null && fe.includes("选中") ? (ae(), ke("span", Xn, "(" + Oe(
|
|
352
|
-
(Ae = H == null ? void 0 : H.label) != null && Ae.includes("全部") ? (ae(), ke("span", Yn, "(" + Oe(
|
|
351
|
+
(fe = H == null ? void 0 : H.label) != null && fe.includes("选中") ? (ae(), ke("span", Xn, "(" + Oe(B.selectNums) + ")", 1)) : De("", !0),
|
|
352
|
+
(Ae = H == null ? void 0 : H.label) != null && Ae.includes("全部") ? (ae(), ke("span", Yn, "(" + Oe(B.dataNums) + ")", 1)) : De("", !0)
|
|
353
353
|
];
|
|
354
354
|
}),
|
|
355
355
|
_: 2
|
|
@@ -361,7 +361,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
361
361
|
T != null && T.type ? De("", !0) : (ae(), Pe(Ne, {
|
|
362
362
|
key: 2,
|
|
363
363
|
id: "themeButton",
|
|
364
|
-
disabled: !!
|
|
364
|
+
disabled: !!B.lockingPage,
|
|
365
365
|
style: xl({ background: (T == null ? void 0 : T.background) ?? "var(--ssbutton-theme-bg)", color: (T == null ? void 0 : T.color) ?? "var(--ssbutton-theme-color)" }),
|
|
366
366
|
onClick: (H) => il(T == null ? void 0 : T.label)
|
|
367
367
|
}, {
|
|
@@ -389,16 +389,16 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
389
389
|
modelValue: P.value,
|
|
390
390
|
"onUpdate:modelValue": Te[3] || (Te[3] = (Ae) => P.value = Ae),
|
|
391
391
|
style: { "min-width": "80px" },
|
|
392
|
-
placeholder: $e.value ? (H = (_e = (T =
|
|
392
|
+
placeholder: $e.value ? (H = (_e = (T = B.filterValues) == null ? void 0 : T.filter((Ae) => Ae)) == null ? void 0 : _e.slice(0, 3)) == null ? void 0 : H.join("/") : "搜索",
|
|
393
393
|
"prefix-icon": al(Ja),
|
|
394
394
|
clearable: "",
|
|
395
395
|
onInput: rl,
|
|
396
396
|
disabled: ((fe = ue.value) == null ? void 0 : fe.length) === 0
|
|
397
397
|
}, {
|
|
398
398
|
suffix: I(() => {
|
|
399
|
-
var Ae,
|
|
399
|
+
var Ae, we;
|
|
400
400
|
return [
|
|
401
|
-
!P.value && ((
|
|
401
|
+
!P.value && ((we = (Ae = B.filterValues) == null ? void 0 : Ae.filter((We) => We)) != null && we.join("/")) ? (ae(), Pe(pe, {
|
|
402
402
|
key: 0,
|
|
403
403
|
style: { cursor: "pointer" },
|
|
404
404
|
onClick: yl
|
|
@@ -442,8 +442,8 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
442
442
|
_: 1
|
|
443
443
|
}, 8, ["isVisible"])
|
|
444
444
|
]),
|
|
445
|
-
|
|
446
|
-
(ae(!0), ke(fl, null, hl((G =
|
|
445
|
+
B.buttons && ((Je = B.buttons) == null ? void 0 : Je.length) > 0 ? (ae(), ke("div", lu, [
|
|
446
|
+
(ae(!0), ke(fl, null, hl((G = B.buttons) == null ? void 0 : G.filter((T) => B.isDevMode || (T == null ? void 0 : T.label) !== "修改模板"), (T, _e) => (ae(), ke("div", {
|
|
447
447
|
class: "extra-contents",
|
|
448
448
|
key: _e
|
|
449
449
|
}, [
|
|
@@ -505,8 +505,8 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
505
505
|
var fe, Ae;
|
|
506
506
|
return [
|
|
507
507
|
el(Oe(H == null ? void 0 : H.label), 1),
|
|
508
|
-
(fe = H == null ? void 0 : H.label) != null && fe.includes("选中") ? (ae(), ke("span", ru, "(" + Oe(
|
|
509
|
-
(Ae = H == null ? void 0 : H.label) != null && Ae.includes("全部") ? (ae(), ke("span", nu, "(" + Oe(
|
|
508
|
+
(fe = H == null ? void 0 : H.label) != null && fe.includes("选中") ? (ae(), ke("span", ru, "(" + Oe(B.selectNums) + ")", 1)) : De("", !0),
|
|
509
|
+
(Ae = H == null ? void 0 : H.label) != null && Ae.includes("全部") ? (ae(), ke("span", nu, "(" + Oe(B.dataNums) + ")", 1)) : De("", !0)
|
|
510
510
|
];
|
|
511
511
|
}),
|
|
512
512
|
_: 2
|
|
@@ -558,9 +558,9 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
558
558
|
}
|
|
559
559
|
},
|
|
560
560
|
emits: ["buttonClick"],
|
|
561
|
-
setup(
|
|
562
|
-
const ee =
|
|
563
|
-
|
|
561
|
+
setup(B, { emit: re }) {
|
|
562
|
+
const ee = B, w = re, P = (ue) => {
|
|
563
|
+
w("buttonClick", ue);
|
|
564
564
|
}, o = (ue) => {
|
|
565
565
|
var ve;
|
|
566
566
|
return ue != null && ue.includes("删除") ? ((ve = ee.selectTableItems) == null ? void 0 : ve.length) > 0 ? "warning-active-type" : "warning-type" : "default-type";
|
|
@@ -568,9 +568,9 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
568
568
|
return (ue, ve) => {
|
|
569
569
|
const xe = Ie("el-button");
|
|
570
570
|
return ae(), ke("div", null, [
|
|
571
|
-
(ae(!0), ke(fl, null, hl(
|
|
571
|
+
(ae(!0), ke(fl, null, hl(B.buttons, (be) => (ae(), Pe(xe, {
|
|
572
572
|
key: be == null ? void 0 : be.label,
|
|
573
|
-
disabled: !!
|
|
573
|
+
disabled: !!B.lockingPage,
|
|
574
574
|
class: ar(o(be == null ? void 0 : be.label)),
|
|
575
575
|
onClick: (rl) => P(be == null ? void 0 : be.label)
|
|
576
576
|
}, {
|
|
@@ -588,16 +588,16 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
588
588
|
selectString: ""
|
|
589
589
|
}),
|
|
590
590
|
actions: {
|
|
591
|
-
setSelectArray(
|
|
592
|
-
this.selectArray =
|
|
591
|
+
setSelectArray(B) {
|
|
592
|
+
this.selectArray = B;
|
|
593
593
|
},
|
|
594
|
-
setSelectString(
|
|
595
|
-
this.selectString =
|
|
594
|
+
setSelectString(B) {
|
|
595
|
+
this.selectString = B;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
}), cu = { class: "calculator-content" }, du = { class: "calculator-child" }, pu = { class: "calculator-child" }, fu = /* @__PURE__ */ rr({
|
|
599
599
|
__name: "calculator",
|
|
600
|
-
setup(
|
|
600
|
+
setup(B) {
|
|
601
601
|
const re = Y(), ee = Y();
|
|
602
602
|
return va(() => {
|
|
603
603
|
re.value = [
|
|
@@ -613,7 +613,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
613
613
|
name: "output"
|
|
614
614
|
}
|
|
615
615
|
];
|
|
616
|
-
}), (
|
|
616
|
+
}), (w, P) => (ae(), ke("div", cu, [
|
|
617
617
|
ge("div", du, [
|
|
618
618
|
se($l, {
|
|
619
619
|
rowContents: re.value,
|
|
@@ -629,77 +629,77 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
629
629
|
])
|
|
630
630
|
]));
|
|
631
631
|
}
|
|
632
|
-
}), hu = /* @__PURE__ */ sa(fu, [["__scopeId", "data-v-73db0fe7"]]), ya = (
|
|
633
|
-
let ee =
|
|
632
|
+
}), hu = /* @__PURE__ */ sa(fu, [["__scopeId", "data-v-73db0fe7"]]), ya = (B, re) => {
|
|
633
|
+
let ee = B, w = re;
|
|
634
634
|
return Array.isArray(ee) && (ee = ee == null ? void 0 : ee.map((P, o) => {
|
|
635
635
|
if (Array.isArray(P)) {
|
|
636
636
|
let ue = {};
|
|
637
637
|
return P = P == null ? void 0 : P.forEach((ve, xe) => {
|
|
638
638
|
var be;
|
|
639
|
-
(be =
|
|
639
|
+
(be = w == null ? void 0 : w[xe]) != null && be.prop ? ue[w[xe].prop] = ve : Array.isArray(ve) && (ue.children = ya(ve, w));
|
|
640
640
|
}), Object.assign(ue, { id: o });
|
|
641
641
|
} else
|
|
642
642
|
return P;
|
|
643
643
|
})), ee;
|
|
644
|
-
}, ur = (
|
|
645
|
-
let
|
|
646
|
-
return
|
|
644
|
+
}, ur = (B, re, ee) => {
|
|
645
|
+
let w = B, P = re;
|
|
646
|
+
return w = w == null ? void 0 : w.map((o, ue) => {
|
|
647
647
|
var ve, xe;
|
|
648
648
|
return !Array.isArray(o) || !((ve = P == null ? void 0 : P[ue]) != null && ve.label) && !ee || (o.unshift(((xe = P == null ? void 0 : P[ue]) == null ? void 0 : xe.label) ?? ""), o.some((be) => Array.isArray(be)) && (o = o == null ? void 0 : o.map((be) => {
|
|
649
649
|
var rl;
|
|
650
650
|
return Array.isArray(be) && (be = ur(be, (rl = P == null ? void 0 : P[ue]) == null ? void 0 : rl.children, ee)), be;
|
|
651
651
|
}))), o;
|
|
652
|
-
}),
|
|
653
|
-
}, gu = (
|
|
652
|
+
}), w;
|
|
653
|
+
}, gu = (B, re, ee) => {
|
|
654
654
|
if (re === "")
|
|
655
|
-
return
|
|
655
|
+
return B == null ? void 0 : B.filter((w) => (w == null ? void 0 : w.id) !== ee);
|
|
656
656
|
{
|
|
657
|
-
const
|
|
658
|
-
return yu(
|
|
657
|
+
const w = re.split("-");
|
|
658
|
+
return yu(B, w, ee);
|
|
659
659
|
}
|
|
660
|
-
}, yu = (
|
|
661
|
-
let
|
|
662
|
-
return (P == null ? void 0 : P.length) === 0 ?
|
|
663
|
-
}, or = (
|
|
660
|
+
}, yu = (B, re, ee) => {
|
|
661
|
+
let w = B, P = re;
|
|
662
|
+
return (P == null ? void 0 : P.length) === 0 ? w = w == null ? void 0 : w.filter((o) => o.id !== ee) : w = w == null ? void 0 : w.map((o) => (o.id.toString() === (P == null ? void 0 : P[0]) && (P == null || P.shift(), o = or(o, P, ee)), o)), w;
|
|
663
|
+
}, or = (B, re, ee) => {
|
|
664
664
|
var o, ue;
|
|
665
|
-
let
|
|
666
|
-
return (P == null ? void 0 : P.length) === 0 ?
|
|
667
|
-
}, vu = (
|
|
665
|
+
let w = B, P = re;
|
|
666
|
+
return (P == null ? void 0 : P.length) === 0 ? w.children = (o = w.children) == null ? void 0 : o.filter((ve) => ve.id !== ee) : w.children = (ue = w.children) == null ? void 0 : ue.map((ve) => (ve.id.toString() === (P == null ? void 0 : P[0]) && (P == null || P.shift(), ve = or(ve, P, ee)), ve)), w;
|
|
667
|
+
}, vu = (B, re, ee) => {
|
|
668
668
|
if (re === "")
|
|
669
669
|
return ee;
|
|
670
670
|
{
|
|
671
|
-
const
|
|
672
|
-
return bu(
|
|
671
|
+
const w = re.split("-");
|
|
672
|
+
return bu(B, w, ee);
|
|
673
673
|
}
|
|
674
|
-
}, bu = (
|
|
675
|
-
let
|
|
676
|
-
return (P == null ? void 0 : P.length) === 0 ?
|
|
677
|
-
}, sr = (
|
|
674
|
+
}, bu = (B, re, ee) => {
|
|
675
|
+
let w = B, P = re;
|
|
676
|
+
return (P == null ? void 0 : P.length) === 0 ? w = ee : w = w == null ? void 0 : w.map((o) => (o.id.toString() === (P == null ? void 0 : P[0]) && (P == null || P.shift(), o = sr(o, P, ee)), o)), w;
|
|
677
|
+
}, sr = (B, re, ee) => {
|
|
678
678
|
var o;
|
|
679
|
-
let
|
|
680
|
-
return (P == null ? void 0 : P.length) === 0 ?
|
|
679
|
+
let w = B, P = re;
|
|
680
|
+
return (P == null ? void 0 : P.length) === 0 ? w.children = ee : w.children = (o = w.children) == null ? void 0 : o.map((ue) => (ue.id.toString() === (P == null ? void 0 : P[0]) && (P == null || P.shift(), ue = sr(ue, P, ee)), ue)), w;
|
|
681
681
|
}, ku = nr("formComp", {
|
|
682
682
|
state: () => ({
|
|
683
683
|
objUrl: [],
|
|
684
684
|
blobUrls: []
|
|
685
685
|
}),
|
|
686
686
|
actions: {
|
|
687
|
-
setObjUrl(
|
|
688
|
-
this.objUrl =
|
|
687
|
+
setObjUrl(B) {
|
|
688
|
+
this.objUrl = B;
|
|
689
689
|
},
|
|
690
|
-
setBlobUrls(
|
|
691
|
-
this.blobUrls =
|
|
690
|
+
setBlobUrls(B) {
|
|
691
|
+
this.blobUrls = B;
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
|
-
}), lr = async (
|
|
694
|
+
}), lr = async (B, re) => {
|
|
695
695
|
var ue, ve, xe, be, rl, il, vl, $e, gl, yl, he, Te, pe, V, q, Ne, Ve;
|
|
696
|
-
let ee = (ve = (ue = X(
|
|
696
|
+
let ee = (ve = (ue = X(B)) == null ? void 0 : ue.optionUrl) == null ? void 0 : ve.menuSelect, w = [];
|
|
697
697
|
ee == null || ee.forEach((ce) => {
|
|
698
698
|
});
|
|
699
699
|
let P = "", o = await mn(ee);
|
|
700
700
|
if (o == null || o.forEach((ce) => {
|
|
701
701
|
var He, Je, G, T;
|
|
702
|
-
(ce == null ? void 0 : ce.name) === (((T = (G = (Je = (He = X(
|
|
702
|
+
(ce == null ? void 0 : ce.name) === (((T = (G = (Je = (He = X(B)) == null ? void 0 : He.optionUrl) == null ? void 0 : Je.groupSelect) == null ? void 0 : G[0]) == null ? void 0 : T.replaceAll("'", "")) ?? "") && (P = ce == null ? void 0 : ce.id);
|
|
703
703
|
}), re) {
|
|
704
704
|
P = re;
|
|
705
705
|
const ce = await Cl({
|
|
@@ -711,7 +711,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
711
711
|
let ce;
|
|
712
712
|
re ? ce = (vl = o == null ? void 0 : o.find((G) => (G == null ? void 0 : G.id) === re)) == null ? void 0 : vl.compData : ce = ($e = o == null ? void 0 : o.find((G) => {
|
|
713
713
|
var T, _e, H, fe;
|
|
714
|
-
return (G == null ? void 0 : G.name) === (((_e = (T =
|
|
714
|
+
return (G == null ? void 0 : G.name) === (((_e = (T = B == null ? void 0 : B.groupSelect) == null ? void 0 : T.split(":")) == null ? void 0 : _e[0]) || ((fe = (H = B == null ? void 0 : B.optionUrl) == null ? void 0 : H.groupSelect) == null ? void 0 : fe[0]));
|
|
715
715
|
})) == null ? void 0 : $e.compData;
|
|
716
716
|
let He = (yl = (gl = ce == null ? void 0 : ce.find((G) => (G == null ? void 0 : G.key) === "header")) == null ? void 0 : gl.contents) == null ? void 0 : yl.map((G) => G == null ? void 0 : G.label);
|
|
717
717
|
(Te = (he = ce == null ? void 0 : ce.find((G) => (G == null ? void 0 : G.key) === "header")) == null ? void 0 : he.contents) != null && Te.every((G) => Array.isArray(G)) && (He = (q = Hl((V = (pe = ce == null ? void 0 : ce.find((G) => (G == null ? void 0 : G.key) === "header")) == null ? void 0 : pe.contents) == null ? void 0 : V[0])) == null ? void 0 : q.map((G) => G == null ? void 0 : G.prop));
|
|
@@ -727,10 +727,10 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
727
727
|
return G;
|
|
728
728
|
});
|
|
729
729
|
Je == null || Je.forEach((G) => {
|
|
730
|
-
Array.isArray(G) ?
|
|
730
|
+
Array.isArray(G) ? w.push(An(G, He)) : w.push(G);
|
|
731
731
|
});
|
|
732
732
|
}
|
|
733
|
-
return
|
|
733
|
+
return w;
|
|
734
734
|
}, Su = { class: "table-content" }, Tu = { class: "menu-config-wrap" }, mu = ["onClick"], Au = {
|
|
735
735
|
key: 0,
|
|
736
736
|
class: "viewport-wrap"
|
|
@@ -740,10 +740,10 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
740
740
|
}, _u = ["title"], Du = { class: "col-operate-wrap" }, Ou = {
|
|
741
741
|
title: "拖拽排序列",
|
|
742
742
|
style: { cursor: "move", color: "grey", position: "absolute", right: "15px" }
|
|
743
|
-
}, Eu = { class: "pop-view" }, ju = { class: "pop-wrapper" }, Lu = { class: "file-list-pop" }, Pu = ["title", "onClick"], $u = ["onClick"], Nu = ["onClick"],
|
|
743
|
+
}, Eu = { class: "pop-view" }, ju = { class: "pop-wrapper" }, Lu = { class: "file-list-pop" }, Pu = ["title", "onClick"], $u = ["onClick"], Nu = ["onClick"], wu = { class: "form-content" }, Bu = {
|
|
744
744
|
key: 0,
|
|
745
745
|
class: "dialog-footer"
|
|
746
|
-
},
|
|
746
|
+
}, Mu = { class: "dialog-footer" }, Fu = { class: "form-content" }, Ku = {
|
|
747
747
|
__name: "index",
|
|
748
748
|
props: {
|
|
749
749
|
pageLayout: {
|
|
@@ -818,9 +818,9 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
818
818
|
}
|
|
819
819
|
},
|
|
820
820
|
emits: ["getSliceContLength", "clickMainKey", "change", "contentChange", "onButtonClick", "contentClick", "pageChange", "rowClick", "routeUrl"],
|
|
821
|
-
setup(
|
|
822
|
-
var
|
|
823
|
-
const ee = Y([]),
|
|
821
|
+
setup(B, { emit: re }) {
|
|
822
|
+
var wa;
|
|
823
|
+
const ee = Y([]), w = ku(ml), P = Y(null), o = B, ue = Y(o == null ? void 0 : o.allowSelect), ve = Y((wa = o == null ? void 0 : o.config) == null ? void 0 : wa.showIndex), xe = Y(), be = Y([
|
|
824
824
|
{
|
|
825
825
|
label: "排序",
|
|
826
826
|
value: "sortable",
|
|
@@ -852,24 +852,24 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
852
852
|
pageSize: 10,
|
|
853
853
|
total: 0,
|
|
854
854
|
pageSizes: [5, 10, 20, 50, 100]
|
|
855
|
-
}), V = re, q = Y([]), Ne = ql({ prop: "", order: null }), Ve = Y([]), ce = Y(!1), He = Y(!1), Je = Y(null), { isUseBackdrop: G, initTrackFileType: T, getFileExtension: _e, setData: H, getFileInfo: fe, getFilesInfo: Ae } = Fn(),
|
|
855
|
+
}), V = re, q = Y([]), Ne = ql({ prop: "", order: null }), Ve = Y([]), ce = Y(!1), He = Y(!1), Je = Y(null), { isUseBackdrop: G, initTrackFileType: T, getFileExtension: _e, setData: H, getFileInfo: fe, getFilesInfo: Ae } = Fn(), we = Y([]), We = Y(!1), Ul = Y(), Fe = zn(), { importLoading: zu, activeMenuPath: Se, contentLoading: Ju, linkMenuInfo: ir } = Ll(Fe), tr = xn(ml), Ee = Jn(ml), { extraContents: me, cacheUpdatingData: Nl, tableViewContents: wl, tableLoading: Wu, pageMapState: _l, lockingPage: Xl } = Ll(Ee), le = Y([]), Yl = Y([]), Zl = Y(/* @__PURE__ */ new Map());
|
|
856
856
|
Y(!1);
|
|
857
857
|
const tl = Y("");
|
|
858
858
|
Y();
|
|
859
859
|
const Il = Y(!0), Dl = Y(0), ba = Y(!0), nl = Y(""), cl = Y(!1), cr = Y({
|
|
860
860
|
label: "查看三维模型"
|
|
861
|
-
}), Vl = Y(!1), ia = Y(), ll = Y([]), bl = Y([]), ea = Y(!1),
|
|
861
|
+
}), Vl = Y(!1), ia = Y(), ll = Y([]), bl = Y([]), ea = Y(!1), Bl = Y([]), Ol = Y([]), kl = Y([]), Be = Y([]), ul = Y(), Re = Y(), dr = tu(ml), la = Y(), ta = Y(0), pr = Un(ml), { selectIndex: fr, selectMenu: Ml, selectTitle: Ru } = Ll(pr), { selectString: Sl } = Ll(dr), hr = yn(ml), { loginUserInfo: El } = Ll(hr), gr = Y(720), ol = Y(!1), aa = Y(!1), sl = Y([]), dl = Y(), Fl = Y(!0), ka = Y(!0), Tl = Y([]), yr = dn("contentRef");
|
|
862
862
|
pn("contentRef", yr), Ze(() => {
|
|
863
863
|
var e;
|
|
864
864
|
return (e = le.value) == null ? void 0 : e.length;
|
|
865
865
|
}, (e) => {
|
|
866
866
|
pe.total = e;
|
|
867
867
|
}), Ze(
|
|
868
|
-
() =>
|
|
868
|
+
() => wl.value,
|
|
869
869
|
async () => {
|
|
870
870
|
var s, t, c, d, f, A, L, z, g, O, j, D, J, K, F, m, _, v;
|
|
871
|
-
if (((s =
|
|
872
|
-
let e = (g = (z = (L = (A = (f = (d = o == null ? void 0 : o.itemData) == null ? void 0 : d.find((C) => (C == null ? void 0 : C.key) === "pageColumn")) == null ? void 0 : f.contents) == null ? void 0 : A.split("[")) == null ? void 0 : L[1]) == null ? void 0 : z.split("]")) == null ? void 0 : g[0], l = ((J = (D = (j = (O = o == null ? void 0 : o.itemData) == null ? void 0 : O.find((C) => (C == null ? void 0 : C.key) === "pageColumn")) == null ? void 0 : j.contents) == null ? void 0 : D.split("[")) == null ? void 0 : J[0]) + ((F = (K =
|
|
871
|
+
if (((s = wl.value) == null ? void 0 : s.length) === 0 || !((t = o == null ? void 0 : o.itemData) != null && t.find((C) => (C == null ? void 0 : C.key) === "columnPath")) || !((c = o == null ? void 0 : o.itemData) != null && c.find((C) => (C == null ? void 0 : C.key) === "pageColumn"))) return;
|
|
872
|
+
let e = (g = (z = (L = (A = (f = (d = o == null ? void 0 : o.itemData) == null ? void 0 : d.find((C) => (C == null ? void 0 : C.key) === "pageColumn")) == null ? void 0 : f.contents) == null ? void 0 : A.split("[")) == null ? void 0 : L[1]) == null ? void 0 : z.split("]")) == null ? void 0 : g[0], l = ((J = (D = (j = (O = o == null ? void 0 : o.itemData) == null ? void 0 : O.find((C) => (C == null ? void 0 : C.key) === "pageColumn")) == null ? void 0 : j.contents) == null ? void 0 : D.split("[")) == null ? void 0 : J[0]) + ((F = (K = wl.value) == null ? void 0 : K.find((C) => (C == null ? void 0 : C.key) === e)) == null ? void 0 : F.value), n = ((_ = (m = o == null ? void 0 : o.itemData) == null ? void 0 : m.find((C) => (C == null ? void 0 : C.key) === "pageGroup")) == null ? void 0 : _.contents) ?? "", a = await Pl(l, sessionStorage.getItem("systemKey"), ""), r = (v = a == null ? void 0 : a.find((C) => (C == null ? void 0 : C.name) === (n === "" ? o == null ? void 0 : o.compName : n))) == null ? void 0 : v.compData;
|
|
873
873
|
$a(r, o.allMapContents);
|
|
874
874
|
},
|
|
875
875
|
{ deep: !0 }
|
|
@@ -924,7 +924,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
924
924
|
let e = ta.value;
|
|
925
925
|
ta.value = e + 1;
|
|
926
926
|
});
|
|
927
|
-
const Sa =
|
|
927
|
+
const Sa = Ma(() => {
|
|
928
928
|
var a, r;
|
|
929
929
|
const e = (pe.currentPage - 1) * pe.pageSize, l = e + pe.pageSize, n = (a = q.value) == null ? void 0 : a.find((s) => {
|
|
930
930
|
var t;
|
|
@@ -1020,7 +1020,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1020
1020
|
sl.value = e;
|
|
1021
1021
|
}, Dr = (e, l) => {
|
|
1022
1022
|
dl.value === l ? Fl.value = !1 : Fl.value = !0, dl.value = l == null ? void 0 : l.changeProp;
|
|
1023
|
-
}, Kl =
|
|
1023
|
+
}, Kl = Ma(() => {
|
|
1024
1024
|
var n, a, r;
|
|
1025
1025
|
const e = (n = q.value) == null ? void 0 : n.some((s) => s == null ? void 0 : s.filterable);
|
|
1026
1026
|
return document.documentElement.style.setProperty("--ssTable-header-filter-display", e ? "inline-block" : "none"), (r = (a = q.value) == null ? void 0 : a.filter((s) => (s == null ? void 0 : s.label) !== "操作")) == null ? void 0 : r.map((s) => ({
|
|
@@ -1057,7 +1057,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1057
1057
|
H(_);
|
|
1058
1058
|
return;
|
|
1059
1059
|
}
|
|
1060
|
-
|
|
1060
|
+
Bl.value = [{
|
|
1061
1061
|
url: l,
|
|
1062
1062
|
extension: _e(l)
|
|
1063
1063
|
}], He.value = !0, Je.value = {
|
|
@@ -1075,7 +1075,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1075
1075
|
});
|
|
1076
1076
|
return;
|
|
1077
1077
|
}
|
|
1078
|
-
|
|
1078
|
+
Bl.value = _, He.value = !1, ce.value = !0;
|
|
1079
1079
|
return;
|
|
1080
1080
|
}
|
|
1081
1081
|
if ((L = l == null ? void 0 : l.toString()) != null && L.includes(".stl") || (z = l == null ? void 0 : l.toString()) != null && z.includes(".STL") || (g = l == null ? void 0 : l.toString()) != null && g.includes(".obj") || (O = l == null ? void 0 : l.toString()) != null && O.includes(".mtl") || a != null && a.includes(".stl") || a != null && a.includes(".STL") || a != null && a.includes(".obj") || a != null && a.includes(".mtl")) {
|
|
@@ -1125,7 +1125,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1125
1125
|
blobUrl: v
|
|
1126
1126
|
}], We.value = !0;
|
|
1127
1127
|
}
|
|
1128
|
-
(r == null ? void 0 : r.length) > 0 &&
|
|
1128
|
+
(r == null ? void 0 : r.length) > 0 && w.setBlobUrls(r);
|
|
1129
1129
|
}, na = (e) => {
|
|
1130
1130
|
var a, r, s, t;
|
|
1131
1131
|
if (e != null && e.downloadUrl)
|
|
@@ -1135,7 +1135,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1135
1135
|
}, Lr = async (e) => {
|
|
1136
1136
|
let l = null, n = null;
|
|
1137
1137
|
if (e != null && e.downloadUrl) {
|
|
1138
|
-
const r = await da(), s =
|
|
1138
|
+
const r = await da(), s = Mn.service({
|
|
1139
1139
|
lock: !0,
|
|
1140
1140
|
text: "Loading",
|
|
1141
1141
|
background: "rgba(0, 0, 0, 0.7)"
|
|
@@ -1211,7 +1211,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1211
1211
|
var t;
|
|
1212
1212
|
const r = n[a], s = (t = l[a]) == null ? void 0 : t.toLowerCase();
|
|
1213
1213
|
return s && r && typeof r == "string" ? r.toLowerCase().includes(s) : !0;
|
|
1214
|
-
})), ma = Y([]),
|
|
1214
|
+
})), ma = Y([]), wr = async (e, l, n = !1) => {
|
|
1215
1215
|
var a;
|
|
1216
1216
|
if (e) {
|
|
1217
1217
|
if (Ee.setTableLoading(!0), ma.value = Object.values(e), e && ((a = Object.values(e)) != null && a.every((r) => !r)))
|
|
@@ -1222,7 +1222,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
le.value = Nr(Zl.value, e), Ee.setTableLoading(!1);
|
|
1224
1224
|
}
|
|
1225
|
-
},
|
|
1225
|
+
}, Br = async (e) => {
|
|
1226
1226
|
}, Aa = async (e, l, n, a) => {
|
|
1227
1227
|
var r, s, t, c, d, f, A, L, z, g, O, j, D, J, K, F, m, _, v, C;
|
|
1228
1228
|
if (V("clickMainKey", n), (a == null ? void 0 : a.isExistChild) === !0) {
|
|
@@ -1292,7 +1292,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1292
1292
|
((C = (v = u == null ? void 0 : u.data) == null ? void 0 : v.result) == null ? void 0 : C.length) > 0 && Fe.setActiveMenuPath(X(Se).value + "/" + (a == null ? void 0 : a.data));
|
|
1293
1293
|
}
|
|
1294
1294
|
}
|
|
1295
|
-
},
|
|
1295
|
+
}, Mr = () => {
|
|
1296
1296
|
We.value = !1;
|
|
1297
1297
|
}, Fr = (e) => {
|
|
1298
1298
|
V("rowClick", e);
|
|
@@ -1409,18 +1409,18 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1409
1409
|
let ne = await Pl(x, sessionStorage.getItem("systemKey"), ""), Z = ne == null ? void 0 : ne.filter((S) => (S == null ? void 0 : S.name) === f);
|
|
1410
1410
|
Z = Z == null ? void 0 : Z.map((S) => {
|
|
1411
1411
|
var E;
|
|
1412
|
-
return S.compData = (E = S == null ? void 0 : S.compData) == null ? void 0 : E.map((
|
|
1412
|
+
return S.compData = (E = S == null ? void 0 : S.compData) == null ? void 0 : E.map((M) => {
|
|
1413
1413
|
var ie;
|
|
1414
|
-
return (
|
|
1414
|
+
return (M == null ? void 0 : M.key) === "tableContents" && (M.contents = (ie = M == null ? void 0 : M.contents) == null ? void 0 : ie.filter((R) => (R == null ? void 0 : R[1]) === (l == null ? void 0 : l[f]))), M;
|
|
1415
1415
|
}), S;
|
|
1416
1416
|
}), (!Z || (Z == null ? void 0 : Z.length) === 0) && (Z = ne, Z = Z == null ? void 0 : Z.map((S) => {
|
|
1417
1417
|
var E;
|
|
1418
|
-
return S.compData = (E = S == null ? void 0 : S.compData) == null ? void 0 : E.map((
|
|
1418
|
+
return S.compData = (E = S == null ? void 0 : S.compData) == null ? void 0 : E.map((M) => {
|
|
1419
1419
|
var ie;
|
|
1420
|
-
return (
|
|
1420
|
+
return (M == null ? void 0 : M.key) === "tableContents" && (M.contents = (ie = M == null ? void 0 : M.contents) == null ? void 0 : ie.filter((R) => {
|
|
1421
1421
|
var te, b;
|
|
1422
1422
|
return (R == null ? void 0 : R[1]) === (l == null ? void 0 : l[(b = (te = q == null ? void 0 : q.value) == null ? void 0 : te[0]) == null ? void 0 : b.prop]);
|
|
1423
|
-
})),
|
|
1423
|
+
})), M;
|
|
1424
1424
|
}), S;
|
|
1425
1425
|
})), A = Wr(Z);
|
|
1426
1426
|
}
|
|
@@ -1434,16 +1434,16 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1434
1434
|
const $ = new FormData(), x = (y = Rr(D)) == null ? void 0 : y.map(async (Z) => {
|
|
1435
1435
|
var S, E;
|
|
1436
1436
|
if (!Array.isArray(Z) && (Z != null && Z.includes("http"))) {
|
|
1437
|
-
let
|
|
1438
|
-
$.append("files",
|
|
1437
|
+
let M = await Al.get(Z, { responseType: "blob" }), ie = (E = Z == null ? void 0 : Z.split("/")) == null ? void 0 : E[((S = Z == null ? void 0 : Z.split("/")) == null ? void 0 : S.length) - 1];
|
|
1438
|
+
$.append("files", M.data, ie);
|
|
1439
1439
|
} else
|
|
1440
1440
|
p.push(Z);
|
|
1441
1441
|
});
|
|
1442
1442
|
if (await Promise.all(x), !jn($)) {
|
|
1443
1443
|
let Z = await Ln($), S = (k = (U = Z == null ? void 0 : Z.data) == null ? void 0 : U.result) == null ? void 0 : k.map((E) => {
|
|
1444
|
-
var
|
|
1444
|
+
var M, ie, R, te, b, i;
|
|
1445
1445
|
return {
|
|
1446
|
-
name: (i = (b = (te = (
|
|
1446
|
+
name: (i = (b = (te = (M = E == null ? void 0 : E.url) == null ? void 0 : M.split("/")) == null ? void 0 : te[((R = (ie = E == null ? void 0 : E.url) == null ? void 0 : ie.split("/")) == null ? void 0 : R.length) - 1]) == null ? void 0 : b.split(".")) == null ? void 0 : i[0],
|
|
1447
1447
|
url: E == null ? void 0 : E.url
|
|
1448
1448
|
};
|
|
1449
1449
|
});
|
|
@@ -1512,7 +1512,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1512
1512
|
type: "warning"
|
|
1513
1513
|
}).then(() => {
|
|
1514
1514
|
var K, F;
|
|
1515
|
-
(K = le.value) != null && K.find((m) => (m == null ? void 0 : m.id) === (l == null ? void 0 : l.id)) ? le.value = (F = X(le.value)) == null ? void 0 : F.filter((m) => (m == null ? void 0 : m.id) !== (l == null ? void 0 : l.id)) : le.value = Ca(X(le.value), l), gu(la.value,
|
|
1515
|
+
(K = le.value) != null && K.find((m) => (m == null ? void 0 : m.id) === (l == null ? void 0 : l.id)) ? le.value = (F = X(le.value)) == null ? void 0 : F.filter((m) => (m == null ? void 0 : m.id) !== (l == null ? void 0 : l.id)) : le.value = Ca(X(le.value), l), gu(la.value, Ml.value, l == null ? void 0 : l.id), Ee.setTableLoading(o == null ? void 0 : o.index), V("change", {
|
|
1516
1516
|
content: le.value,
|
|
1517
1517
|
singleContent: l,
|
|
1518
1518
|
index: o == null ? void 0 : o.index,
|
|
@@ -1762,7 +1762,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1762
1762
|
} else
|
|
1763
1763
|
e ? (tl.value = "", Re.value = n == null ? void 0 : n.data, Wl(!0, n == null ? void 0 : n.firstCol, s)) : (Ee.setRouteToChildPath(X(Se).value), Fe.setActiveMenuPath(r));
|
|
1764
1764
|
}, Ir = () => {
|
|
1765
|
-
ce.value = !1,
|
|
1765
|
+
ce.value = !1, Bl.value = [], He.value = !1;
|
|
1766
1766
|
}, Jl = (e) => {
|
|
1767
1767
|
var t, c, d, f, A, L, z, g, O, j, D, J, K, F, m, _, v, C, h, Q;
|
|
1768
1768
|
const l = [];
|
|
@@ -1791,7 +1791,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1791
1791
|
selectRelateType: u == null ? void 0 : u.selectRelateType,
|
|
1792
1792
|
allSelectionContents: (u == null ? void 0 : u.allSelectionContents) ?? [],
|
|
1793
1793
|
selectFilter: u == null ? void 0 : u.selectFilter,
|
|
1794
|
-
menuId:
|
|
1794
|
+
menuId: u == null ? void 0 : u.menuId,
|
|
1795
1795
|
filterContent: u == null ? void 0 : u.filterContent
|
|
1796
1796
|
}
|
|
1797
1797
|
}) : l.push({
|
|
@@ -1813,7 +1813,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1813
1813
|
var W;
|
|
1814
1814
|
let N = (u == null ? void 0 : u.prop) || ((W = a == null ? void 0 : a.find((y) => (y == null ? void 0 : y.label) === (u == null ? void 0 : u.label))) == null ? void 0 : W.prop);
|
|
1815
1815
|
return N && (u.value = e[N]), u;
|
|
1816
|
-
})),
|
|
1816
|
+
})), Be.value = ll.value && ((L = ll.value) == null ? void 0 : L.length) > 0 ? Dn(ll.value) : l;
|
|
1817
1817
|
let r = [], s = (z = o.itemData) == null ? void 0 : z.filter((u) => (u == null ? void 0 : u.key) === "filterAllType");
|
|
1818
1818
|
if ((s == null ? void 0 : s.length) > 0 && (r = (s == null ? void 0 : s.map((N) => N == null ? void 0 : N.value)).flat()), (r == null ? void 0 : r.length) > 0) {
|
|
1819
1819
|
let u = r == null ? void 0 : r.find((W) => {
|
|
@@ -1824,15 +1824,15 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1824
1824
|
let W = (j = (O = (g = u == null ? void 0 : u.content) == null ? void 0 : g.replace(":", il)) == null ? void 0 : O.split(il)) == null ? void 0 : j[1];
|
|
1825
1825
|
if (((D = W == null ? void 0 : W.trim()) == null ? void 0 : D.toUpperCase()) === "MANUAL") {
|
|
1826
1826
|
let y = (_ = (m = (J = o.itemData) == null ? void 0 : J.filter((U) => (U == null ? void 0 : U.key) === "contentTableId")) == null ? void 0 : m[((F = (K = o.itemData) == null ? void 0 : K.filter((U) => (U == null ? void 0 : U.key) === "contentTableId")) == null ? void 0 : F.length) - 1]) == null ? void 0 : _.contents;
|
|
1827
|
-
|
|
1828
|
-
var p, $, x, ne, Z, S, E,
|
|
1827
|
+
Be.value = (v = Be.value) == null ? void 0 : v.map((U, k) => {
|
|
1828
|
+
var p, $, x, ne, Z, S, E, M, ie, R, te;
|
|
1829
1829
|
return (p = U == null ? void 0 : U.optionUrl) != null && p.menuId && (U.type = "Select", ($ = U == null ? void 0 : U.optionUrl) != null && $.menuId ? (U.optionUrl.menuId = y, U.optionUrl.menuFilter = r, U.optionUrl.multiple = (Z = (ne = (x = r == null ? void 0 : r.find((b) => {
|
|
1830
1830
|
var i;
|
|
1831
1831
|
return (i = b == null ? void 0 : b.content) == null ? void 0 : i.includes("@Num");
|
|
1832
|
-
})) == null ? void 0 : x.content) == null ? void 0 : ne.split(":")) != null && Z[1] && parseInt((
|
|
1832
|
+
})) == null ? void 0 : x.content) == null ? void 0 : ne.split(":")) != null && Z[1] && parseInt((M = (E = (S = r == null ? void 0 : r.find((b) => {
|
|
1833
1833
|
var i;
|
|
1834
1834
|
return (i = b == null ? void 0 : b.content) == null ? void 0 : i.includes("@Num");
|
|
1835
|
-
})) == null ? void 0 : S.content) == null ? void 0 : E.split(":")) == null ? void 0 :
|
|
1835
|
+
})) == null ? void 0 : S.content) == null ? void 0 : E.split(":")) == null ? void 0 : M[1]) > 1 ? !0 : void 0, U.optionUrl.multipleLimit = (te = (R = (ie = r == null ? void 0 : r.find((b) => {
|
|
1836
1836
|
var i;
|
|
1837
1837
|
return (i = b == null ? void 0 : b.content) == null ? void 0 : i.includes("@Num");
|
|
1838
1838
|
})) == null ? void 0 : ie.content) == null ? void 0 : R.split(":")) == null ? void 0 : te[1]) : U.optionUrl = {
|
|
@@ -1842,13 +1842,13 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1842
1842
|
});
|
|
1843
1843
|
}
|
|
1844
1844
|
}
|
|
1845
|
-
let N = (C =
|
|
1845
|
+
let N = (C = Be.value) == null ? void 0 : C.filter((W) => {
|
|
1846
1846
|
var y, U;
|
|
1847
1847
|
return ((y = W == null ? void 0 : W.optionUrl) == null ? void 0 : y.menuId) && ((U = W == null ? void 0 : W.optionUrl) == null ? void 0 : U.menuId) !== "";
|
|
1848
1848
|
});
|
|
1849
1849
|
if ((N == null ? void 0 : N.length) > 1) {
|
|
1850
1850
|
let W = N == null ? void 0 : N.map((p) => p == null ? void 0 : p.prop), y = N == null ? void 0 : N.map((p) => p == null ? void 0 : p.label), U = N == null ? void 0 : N.map((p) => p == null ? void 0 : p.value), k = (h = X(N)) == null ? void 0 : h[0];
|
|
1851
|
-
k.label = y == null ? void 0 : y.join("·"), k.value = U == null ? void 0 : U.join(" "), k.prop = W == null ? void 0 : W.join("·"), k.usingType = "parent",
|
|
1851
|
+
k.label = y == null ? void 0 : y.join("·"), k.value = U == null ? void 0 : U.join(" "), k.prop = W == null ? void 0 : W.join("·"), k.usingType = "parent", Be.value.unshift(k), Be.value = (Q = Be.value) == null ? void 0 : Q.map((p) => (W != null && W.find(($) => $ === (p == null ? void 0 : p.prop)) && (p.isFormColHidden = !0), p));
|
|
1852
1852
|
}
|
|
1853
1853
|
}
|
|
1854
1854
|
}, Vr = () => {
|
|
@@ -1961,7 +1961,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1961
1961
|
children: Re.value.children
|
|
1962
1962
|
} : E = { id: Dl.value.toString() }, E != null && E.children && (E = {
|
|
1963
1963
|
...E,
|
|
1964
|
-
children: (A = E.children) == null ? void 0 : A.map((
|
|
1964
|
+
children: (A = E.children) == null ? void 0 : A.map((M) => Da(M, l, n))
|
|
1965
1965
|
}), s.push(Object.assign(Re.value, E)), r = Object.assign(Re.value, E);
|
|
1966
1966
|
} else
|
|
1967
1967
|
s = (L = _a(s, a)) == null ? void 0 : L.newContents, r = (z = _a(s, a)) == null ? void 0 : z.currentSelectContents;
|
|
@@ -1969,32 +1969,32 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
1969
1969
|
if (((O = t == null ? void 0 : t.contents) == null ? void 0 : O.length) > 0) {
|
|
1970
1970
|
nl.value = "编辑";
|
|
1971
1971
|
const E = [];
|
|
1972
|
-
s == null || s.forEach((
|
|
1972
|
+
s == null || s.forEach((M, ie) => {
|
|
1973
1973
|
var te;
|
|
1974
1974
|
let R = {};
|
|
1975
|
-
if (Array.isArray(
|
|
1975
|
+
if (Array.isArray(M)) {
|
|
1976
1976
|
let b = [];
|
|
1977
|
-
|
|
1977
|
+
M == null || M.filter((i) => !(i != null && i.id)).forEach((i, de) => {
|
|
1978
1978
|
var ye, oe, Ce, Ue, ze, Qe, Le;
|
|
1979
1979
|
if ((oe = (ye = ul.value) == null ? void 0 : ye[de]) != null && oe.prop && !Array.isArray(i)) {
|
|
1980
1980
|
let Ke = {};
|
|
1981
|
-
Ke[ul.value[de].column] = i, me != null && me.value && ((Ce = me == null ? void 0 : me.value) == null ? void 0 : Ce.length) > 0 && ((Ue = me == null ? void 0 : me.value) != null && Ue.find((
|
|
1981
|
+
Ke[ul.value[de].column] = i, me != null && me.value && ((Ce = me == null ? void 0 : me.value) == null ? void 0 : Ce.length) > 0 && ((Ue = me == null ? void 0 : me.value) != null && Ue.find((Me) => JSON.stringify(Me == null ? void 0 : Me[0]) === JSON.stringify(Ke))) && (b = (ze = me == null ? void 0 : me.value) == null ? void 0 : ze.find((Me) => JSON.stringify(Me == null ? void 0 : Me[0]) === JSON.stringify(Ke))), b && b.length > 0 ? R[ul.value[de].prop] = b != null && b.find((Me) => {
|
|
1982
1982
|
var Xe;
|
|
1983
|
-
return ((Xe = Object.keys(
|
|
1984
|
-
}) ? (Qe = b == null ? void 0 : b.find((
|
|
1983
|
+
return ((Xe = Object.keys(Me)) == null ? void 0 : Xe[0]) === ul.value[de].column;
|
|
1984
|
+
}) ? (Qe = b == null ? void 0 : b.find((Me) => {
|
|
1985
1985
|
var Xe;
|
|
1986
|
-
return ((Xe = Object.keys(
|
|
1986
|
+
return ((Xe = Object.keys(Me)) == null ? void 0 : Xe[0]) === ul.value[de].column;
|
|
1987
1987
|
})) == null ? void 0 : Qe[ul.value[de].column] : i : R[ul.value[de].prop] = i;
|
|
1988
1988
|
} else Array.isArray(i) && ((Le = ul.value[de]) != null && Le.prop ? R[ul.value[de].prop] = i : R.children = ya(i, ul.value));
|
|
1989
1989
|
});
|
|
1990
1990
|
} else
|
|
1991
|
-
R =
|
|
1992
|
-
Array.isArray(
|
|
1991
|
+
R = M;
|
|
1992
|
+
Array.isArray(M) && M.some((b) => b == null ? void 0 : b.id) ? E.push(Object.assign(R, { id: (te = M == null ? void 0 : M.find((b) => b.id)) == null ? void 0 : te.id })) : R.id ? E.push(R) : E.push(Object.assign(R, { id: ie.toString() }));
|
|
1993
1993
|
}), le.value = Pa(E, t, q.value);
|
|
1994
1994
|
} else
|
|
1995
1995
|
le.value = s;
|
|
1996
1996
|
ja(le.value), la.value = le.value;
|
|
1997
|
-
const c = vu(la.value,
|
|
1997
|
+
const c = vu(la.value, Ml.value, s);
|
|
1998
1998
|
let d = [];
|
|
1999
1999
|
if (Nl.value ? (d = (j = X(Nl).value.singleContent) == null ? void 0 : j.filter((E) => (E == null ? void 0 : E.id) !== (r == null ? void 0 : r.id)), d.push(r)) : d = [r], ol.value) {
|
|
2000
2000
|
const E = {
|
|
@@ -2008,8 +2008,8 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2008
2008
|
Ee.setCacheUpdatingData(E);
|
|
2009
2009
|
}
|
|
2010
2010
|
if (e) {
|
|
2011
|
-
let E = (m = (F = (K = (J = o.itemData) == null ? void 0 : J.find((R) => (R == null ? void 0 : R.key) === "filterAllType")) == null ? void 0 : K.value) == null ? void 0 : F.find((R) => (R == null ? void 0 : R.value) === "onConditionContents")) == null ? void 0 : m.content,
|
|
2012
|
-
|
|
2011
|
+
let E = (m = (F = (K = (J = o.itemData) == null ? void 0 : J.find((R) => (R == null ? void 0 : R.key) === "filterAllType")) == null ? void 0 : K.value) == null ? void 0 : F.find((R) => (R == null ? void 0 : R.value) === "onConditionContents")) == null ? void 0 : m.content, M = (_ = o.itemData) == null ? void 0 : _.filter((R) => (R == null ? void 0 : R.key) === "filterAllType");
|
|
2012
|
+
M = [].concat(...M.map((R) => R.value));
|
|
2013
2013
|
const ie = {
|
|
2014
2014
|
content: c,
|
|
2015
2015
|
singleContent: ((v = t == null ? void 0 : t.contents) == null ? void 0 : v.length) > 0 ? fa(r) : r,
|
|
@@ -2018,20 +2018,20 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2018
2018
|
column: q.value,
|
|
2019
2019
|
parentTableId: o == null ? void 0 : o.parentTableId,
|
|
2020
2020
|
filter: E,
|
|
2021
|
-
allFilter:
|
|
2021
|
+
allFilter: M,
|
|
2022
2022
|
pathIndex: (h = (C = o.itemData) == null ? void 0 : C.find((R) => (R == null ? void 0 : R.key) === "relatedFilter")) == null ? void 0 : h.index
|
|
2023
2023
|
};
|
|
2024
2024
|
Ee.setTableLoading(o == null ? void 0 : o.index), cl.value = !1, Re.value = void 0, V("change", ie);
|
|
2025
2025
|
}
|
|
2026
|
-
if ((N = (u = (Q =
|
|
2026
|
+
if ((N = (u = (Q = Be.value) == null ? void 0 : Q[0]) == null ? void 0 : u.optionUrl) != null && N.menuId) {
|
|
2027
2027
|
cl.value = !1;
|
|
2028
|
-
let E = (W = o.itemData) == null ? void 0 : W.filter((
|
|
2028
|
+
let E = (W = o.itemData) == null ? void 0 : W.filter((M) => (M == null ? void 0 : M.key) === "filterAllType");
|
|
2029
2029
|
if ((E == null ? void 0 : E.length) > 0) {
|
|
2030
|
-
let
|
|
2030
|
+
let M = E == null ? void 0 : E.map((te) => te == null ? void 0 : te.value), ie = (k = (U = (y = M.flat().find((te) => {
|
|
2031
2031
|
var b;
|
|
2032
2032
|
return (b = te == null ? void 0 : te.content) == null ? void 0 : b.includes("@Num");
|
|
2033
2033
|
})) == null ? void 0 : y.content) == null ? void 0 : U.split(":")) == null ? void 0 : k[1];
|
|
2034
|
-
((x = ($ = (p =
|
|
2034
|
+
((x = ($ = (p = M.flat().find((te) => {
|
|
2035
2035
|
var b;
|
|
2036
2036
|
return (b = te == null ? void 0 : te.content) == null ? void 0 : b.includes("@Select:");
|
|
2037
2037
|
})) == null ? void 0 : p.content) == null ? void 0 : $.split(":")) == null ? void 0 : x[1]) !== "Manual" && (ie = parseInt(ie), le.value = (S = le.value) == null ? void 0 : S.slice(((ne = le.value) == null ? void 0 : ne.length) - ie, (Z = le.value) == null ? void 0 : Z.length));
|
|
@@ -2039,7 +2039,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2039
2039
|
}
|
|
2040
2040
|
};
|
|
2041
2041
|
hn(() => {
|
|
2042
|
-
q.value = [], le.value = [], Ve.value = [],
|
|
2042
|
+
q.value = [], le.value = [], Ve.value = [], we.value = [], ll.value = [], bl.value = [], Bl.value = [], Ol.value = [], Be.value = [], sl.value = [], P.value = null;
|
|
2043
2043
|
});
|
|
2044
2044
|
const Oa = async (e, l, n) => {
|
|
2045
2045
|
var f, A, L, z, g, O, j, D, J, K, F;
|
|
@@ -2047,14 +2047,14 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2047
2047
|
const a = X(o.itemData), r = a == null ? void 0 : a.map((m) => {
|
|
2048
2048
|
var _;
|
|
2049
2049
|
return (m == null ? void 0 : m.key) === "header" && ((_ = m.contents) == null || _.map((v, C) => {
|
|
2050
|
-
var h, Q, u, N, W, y, U, k, p, $, x, ne, Z, S, E,
|
|
2050
|
+
var h, Q, u, N, W, y, U, k, p, $, x, ne, Z, S, E, M, ie, R, te;
|
|
2051
2051
|
return v.type = v != null && v.type ? v.type : (N = (u = (Q = (h = v == null ? void 0 : v.key) == null ? void 0 : h.split("$")) == null ? void 0 : Q[1]) == null ? void 0 : u.split("(")) != null && N[0] ? (y = (W = Ha) == null ? void 0 : W.find((b) => {
|
|
2052
2052
|
var i, de, ye, oe;
|
|
2053
2053
|
return (b == null ? void 0 : b.key) === ((oe = (ye = (de = (i = v == null ? void 0 : v.key) == null ? void 0 : i.split("$")) == null ? void 0 : de[1]) == null ? void 0 : ye.split("(")) == null ? void 0 : oe[0]);
|
|
2054
2054
|
})) == null ? void 0 : y.value : "Input", v.options = v != null && v.options ? v.options : ((p = (k = (U = v == null ? void 0 : v.key) == null ? void 0 : U.split("$")) == null ? void 0 : k[1]) == null ? void 0 : p.length) > 0 ? (Z = (ne = Va((x = ($ = v == null ? void 0 : v.key) == null ? void 0 : $.split("$")) == null ? void 0 : x[1])) == null ? void 0 : ne.split(",")) == null ? void 0 : Z.map((b) => ({
|
|
2055
2055
|
label: b,
|
|
2056
2056
|
value: b
|
|
2057
|
-
})) : [], (S = v == null ? void 0 : v.key) != null && S.includes("$") && (v.key = (
|
|
2057
|
+
})) : [], (S = v == null ? void 0 : v.key) != null && S.includes("$") && (v.key = (M = (E = v == null ? void 0 : v.key) == null ? void 0 : E.split("$")) == null ? void 0 : M[0]), v.value = (ie = Object.values(l)) == null ? void 0 : ie[C], v.optionUrl = v != null && v.formMenuSelect && ((R = v == null ? void 0 : v.formMenuSelect) == null ? void 0 : R.length) > 0 ? {
|
|
2058
2058
|
groupSelect: (te = v == null ? void 0 : v.groupSelect) == null ? void 0 : te.split(/[::]/).map((b) => b.trim()),
|
|
2059
2059
|
menuSelect: v == null ? void 0 : v.formMenuSelect,
|
|
2060
2060
|
selectRelateType: "",
|
|
@@ -2062,7 +2062,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2062
2062
|
} : null, v;
|
|
2063
2063
|
})), m;
|
|
2064
2064
|
});
|
|
2065
|
-
let s = X(
|
|
2065
|
+
let s = X(Be.value), t = (A = (f = X(r)) == null ? void 0 : f.find((m) => (m == null ? void 0 : m.key) === "header")) == null ? void 0 : A.contents;
|
|
2066
2066
|
s = s == null ? void 0 : s.map((m) => {
|
|
2067
2067
|
var _;
|
|
2068
2068
|
return m.value = (_ = t == null ? void 0 : t.find((v, C) => C === (m == null ? void 0 : m.id))) == null ? void 0 : _.value, m;
|
|
@@ -2123,11 +2123,11 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2123
2123
|
let n = l == null ? void 0 : l.map((y) => {
|
|
2124
2124
|
var U;
|
|
2125
2125
|
return (y == null ? void 0 : y.key) === "header" && ((U = y.contents) == null || U.map((k, p) => {
|
|
2126
|
-
var $, x, ne, Z, S, E,
|
|
2126
|
+
var $, x, ne, Z, S, E, M, ie, R, te, b, i, de, ye, oe, Ce, Ue, ze, Qe;
|
|
2127
2127
|
return k.type = k != null && k.type ? k.type : (Z = (ne = (x = ($ = k == null ? void 0 : k.key) == null ? void 0 : $.split("$")) == null ? void 0 : x[1]) == null ? void 0 : ne.split("(")) != null && Z[0] ? (E = (S = Ha) == null ? void 0 : S.find((Le) => {
|
|
2128
|
-
var Ke,
|
|
2129
|
-
return (Le == null ? void 0 : Le.key) === ((pl = (Xe = (
|
|
2130
|
-
})) == null ? void 0 : E.value : "Input", k.options = k != null && k.options ? k.options : ((R = (ie = (
|
|
2128
|
+
var Ke, Me, Xe, pl;
|
|
2129
|
+
return (Le == null ? void 0 : Le.key) === ((pl = (Xe = (Me = (Ke = k == null ? void 0 : k.key) == null ? void 0 : Ke.split("$")) == null ? void 0 : Me[1]) == null ? void 0 : Xe.split("(")) == null ? void 0 : pl[0]);
|
|
2130
|
+
})) == null ? void 0 : E.value : "Input", k.options = k != null && k.options ? k.options : ((R = (ie = (M = k == null ? void 0 : k.key) == null ? void 0 : M.split("$")) == null ? void 0 : ie[1]) == null ? void 0 : R.length) > 0 ? (de = (i = Va((b = (te = k == null ? void 0 : k.key) == null ? void 0 : te.split("$")) == null ? void 0 : b[1])) == null ? void 0 : i.split(",")) == null ? void 0 : de.map((Le) => ({
|
|
2131
2131
|
label: Le,
|
|
2132
2132
|
value: Le
|
|
2133
2133
|
})) : [], (ye = k == null ? void 0 : k.key) != null && ye.includes("$") && (k.key = (Ce = (oe = k == null ? void 0 : k.key) == null ? void 0 : oe.split("$")) == null ? void 0 : Ce[0]), k.value = (Ue = Object.values(e)) == null ? void 0 : Ue[p], k.optionUrl = k != null && k.formMenuSelect && ((ze = k == null ? void 0 : k.formMenuSelect) == null ? void 0 : ze.length) > 0 ? {
|
|
@@ -2137,7 +2137,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2137
2137
|
type: (k == null ? void 0 : k.formType) ?? (k != null && k.groupSelect ? "Select" : "")
|
|
2138
2138
|
} : null, k;
|
|
2139
2139
|
})), y;
|
|
2140
|
-
}), a =
|
|
2140
|
+
}), a = Be.value, r = (z = (L = X(n)) == null ? void 0 : L.find((y) => (y == null ? void 0 : y.key) === "header")) == null ? void 0 : z.contents;
|
|
2141
2141
|
if (r = r == null ? void 0 : r.filter((y) => (y == null ? void 0 : y.label) !== "操作"), r.push({
|
|
2142
2142
|
label: "操作",
|
|
2143
2143
|
type: "operate"
|
|
@@ -2159,17 +2159,17 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2159
2159
|
f = f == null ? void 0 : f.map((y) => {
|
|
2160
2160
|
var U, k;
|
|
2161
2161
|
return (y == null ? void 0 : y.type) === "Select" && ((k = (U = y == null ? void 0 : y.optionUrl) == null ? void 0 : U.allSelectionContents) == null ? void 0 : k.length) > 0 && (y.optionUrl.contactValue = e), y.value = e == null ? void 0 : e[y == null ? void 0 : y.prop], y;
|
|
2162
|
-
}),
|
|
2163
|
-
let A = (Q = (h = (C =
|
|
2162
|
+
}), Be.value = X(f);
|
|
2163
|
+
let A = (Q = (h = (C = Be.value) == null ? void 0 : C.find((y) => {
|
|
2164
2164
|
var U;
|
|
2165
2165
|
return (U = y == null ? void 0 : y.optionUrl) == null ? void 0 : U.menuId;
|
|
2166
2166
|
})) == null ? void 0 : h.optionUrl) == null ? void 0 : Q.menuId;
|
|
2167
2167
|
if ((u = t == null ? void 0 : t.optionUrl) != null && u.menuSelect && Fl.value || A) {
|
|
2168
2168
|
let y = await lr(t, A), U;
|
|
2169
2169
|
if ((N = t == null ? void 0 : t.optionUrl) == null || N.menuSelect, y == null || y.forEach((k) => {
|
|
2170
|
-
var p, $, x, ne, Z, S, E,
|
|
2171
|
-
if (s === (($ = (p = t == null ? void 0 : t.optionUrl) == null ? void 0 : p.groupSelect) == null ? void 0 : $[1]) && ((Z = (ne = (x = t == null ? void 0 : t.optionUrl) == null ? void 0 : x.groupSelect) == null ? void 0 : ne[1]) != null && Z.includes("[")) && ((R = X(k)) == null ? void 0 : R[(ie = (
|
|
2172
|
-
let oe = (b = (te =
|
|
2170
|
+
var p, $, x, ne, Z, S, E, M, ie, R, te, b, i, de, ye;
|
|
2171
|
+
if (s === (($ = (p = t == null ? void 0 : t.optionUrl) == null ? void 0 : p.groupSelect) == null ? void 0 : $[1]) && ((Z = (ne = (x = t == null ? void 0 : t.optionUrl) == null ? void 0 : x.groupSelect) == null ? void 0 : ne[1]) != null && Z.includes("[")) && ((R = X(k)) == null ? void 0 : R[(ie = (M = (E = (S = t == null ? void 0 : t.optionUrl) == null ? void 0 : S.groupSelect) == null ? void 0 : E[1]) == null ? void 0 : M.replaceAll("[", "")) == null ? void 0 : ie.replaceAll("]", "")]) === (t == null ? void 0 : t.value) && (U = k), A) {
|
|
2172
|
+
let oe = (b = (te = Be.value) == null ? void 0 : te.find((Ue) => {
|
|
2173
2173
|
var ze;
|
|
2174
2174
|
return (ze = Ue == null ? void 0 : Ue.optionUrl) == null ? void 0 : ze.menuId;
|
|
2175
2175
|
})) == null ? void 0 : b.prop, Ce = e[oe];
|
|
@@ -2178,13 +2178,13 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2178
2178
|
}), U) {
|
|
2179
2179
|
let k = X(a);
|
|
2180
2180
|
k = k == null ? void 0 : k.map((x) => {
|
|
2181
|
-
var ne, Z, S, E,
|
|
2182
|
-
return (U != null && U[x == null ? void 0 : x.prop] || U != null && U[(E = (S = (Z = (ne = x == null ? void 0 : x.optionUrl) == null ? void 0 : ne.groupSelect) == null ? void 0 : Z[1]) == null ? void 0 : S.replaceAll("[", "")) == null ? void 0 : E.replaceAll("]", "")]) && ((R = (ie = (
|
|
2183
|
-
}),
|
|
2181
|
+
var ne, Z, S, E, M, ie, R, te, b, i, de, ye, oe, Ce, Ue, ze, Qe;
|
|
2182
|
+
return (U != null && U[x == null ? void 0 : x.prop] || U != null && U[(E = (S = (Z = (ne = x == null ? void 0 : x.optionUrl) == null ? void 0 : ne.groupSelect) == null ? void 0 : Z[1]) == null ? void 0 : S.replaceAll("[", "")) == null ? void 0 : E.replaceAll("]", "")]) && ((R = (ie = (M = x == null ? void 0 : x.optionUrl) == null ? void 0 : M.groupSelect) == null ? void 0 : ie[1]) != null && R.includes("[")) && (x != null && x.relatedValueId) && (x.value = (U == null ? void 0 : U[x == null ? void 0 : x.prop]) || (U == null ? void 0 : U[(de = (i = (b = (te = x == null ? void 0 : x.optionUrl) == null ? void 0 : te.groupSelect) == null ? void 0 : b[1]) == null ? void 0 : i.replaceAll("[", "")) == null ? void 0 : de.replaceAll("]", "")])), A && (U != null && U[x == null ? void 0 : x.prop]) && (x != null && x.relatedValueId) ? x.value = (U == null ? void 0 : U[x == null ? void 0 : x.prop]) || (U == null ? void 0 : U[(Ue = (Ce = (oe = (ye = x == null ? void 0 : x.optionUrl) == null ? void 0 : ye.groupSelect) == null ? void 0 : oe[1]) == null ? void 0 : Ce.replaceAll("[", "")) == null ? void 0 : Ue.replaceAll("]", "")]) : x.value = (Qe = (ze = Be.value) == null ? void 0 : ze.find((Le) => (Le == null ? void 0 : Le.prop) === (x == null ? void 0 : x.prop))) == null ? void 0 : Qe.value, x;
|
|
2183
|
+
}), Be.value = X(k);
|
|
2184
2184
|
let p = X(k);
|
|
2185
2185
|
p = p == null ? void 0 : p.map((x) => {
|
|
2186
|
-
var ne, Z, S, E,
|
|
2187
|
-
return (Z = (ne = x == null ? void 0 : x.optionUrl) == null ? void 0 : ne.menuSelect) != null && Z.some((R) => R == null ? void 0 : R.includes("[")) && (x.optionUrl.oldMenuSelect = (E = (S = X(x)) == null ? void 0 : S.optionUrl) == null ? void 0 : E.menuSelect, x.optionUrl.menuSelect = (ie = (
|
|
2186
|
+
var ne, Z, S, E, M, ie;
|
|
2187
|
+
return (Z = (ne = x == null ? void 0 : x.optionUrl) == null ? void 0 : ne.menuSelect) != null && Z.some((R) => R == null ? void 0 : R.includes("[")) && (x.optionUrl.oldMenuSelect = (E = (S = X(x)) == null ? void 0 : S.optionUrl) == null ? void 0 : E.menuSelect, x.optionUrl.menuSelect = (ie = (M = x == null ? void 0 : x.optionUrl) == null ? void 0 : M.menuSelect) == null ? void 0 : ie.map((R) => {
|
|
2188
2188
|
var te, b, i, de;
|
|
2189
2189
|
if (R != null && R.includes("[")) {
|
|
2190
2190
|
let ye = (b = (te = R == null ? void 0 : R.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : te.split(":")) == null ? void 0 : b[1];
|
|
@@ -2192,9 +2192,9 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2192
2192
|
}
|
|
2193
2193
|
return R;
|
|
2194
2194
|
})), x;
|
|
2195
|
-
}),
|
|
2195
|
+
}), Be.value = p;
|
|
2196
2196
|
let $ = {};
|
|
2197
|
-
(W =
|
|
2197
|
+
(W = Be.value) == null || W.forEach((x) => {
|
|
2198
2198
|
$[x.prop] = x == null ? void 0 : x.value;
|
|
2199
2199
|
}), Re.value = $;
|
|
2200
2200
|
}
|
|
@@ -2217,7 +2217,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2217
2217
|
}, ha = (e) => {
|
|
2218
2218
|
var n, a, r, s, t, c;
|
|
2219
2219
|
Jl("");
|
|
2220
|
-
const l = (n =
|
|
2220
|
+
const l = (n = Be.value) == null ? void 0 : n.reduce((d, f) => (d[f.name] = f.value, d), {});
|
|
2221
2221
|
if (((a = Object.keys(l)) == null ? void 0 : a.length) > 0) {
|
|
2222
2222
|
Re.value = l, tl.value = "", Dl.value = (r = le.value) == null ? void 0 : r.length, Ol.value = (s = kl.value) == null ? void 0 : s.filter((f) => (f == null ? void 0 : f.label) !== "新增");
|
|
2223
2223
|
const d = (c = (t = Ve.value) == null ? void 0 : t.filter((f) => (f == null ? void 0 : f.label) !== "操作")) == null ? void 0 : c.map((f) => {
|
|
@@ -2290,16 +2290,16 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2290
2290
|
if (Sl.value === "" ? L = f == null ? void 0 : f[0] : L = (f == null ? void 0 : f.find((S) => (S == null ? void 0 : S.selectLabel) === "(" + Sl.value + ")")) ?? (f == null ? void 0 : f.find((S) => !(S != null && S.selectLabel))), ((O = A == null ? void 0 : A.contents) == null ? void 0 : O.length) > 0) {
|
|
2291
2291
|
let S = [];
|
|
2292
2292
|
if (A != null && A.contents.some((b) => Array.isArray(b) && (b == null ? void 0 : b.find((i) => i.children))))
|
|
2293
|
-
|
|
2293
|
+
Ml.value === "" ? S = (D = (j = qa(A == null ? void 0 : A.contents)) == null ? void 0 : j[0]) == null ? void 0 : D.filter((b) => !Array.isArray(b)) : (Ml.value.split("-"), S = (J = qa(A == null ? void 0 : A.contents)) == null ? void 0 : J[0]);
|
|
2294
2294
|
else {
|
|
2295
2295
|
let b = A != null && A.contents.some((i) => Array.isArray(i)) ? (K = A == null ? void 0 : A.contents) == null ? void 0 : K[0] : A == null ? void 0 : A.contents;
|
|
2296
2296
|
b == null || b.forEach((i, de) => {
|
|
2297
2297
|
var Ce, Ue, ze, Qe, Le;
|
|
2298
2298
|
let ye = "";
|
|
2299
2299
|
(Ue = (Ce = Se.value) == null ? void 0 : Ce.split("/")) == null || Ue.forEach((Ke) => {
|
|
2300
|
-
var
|
|
2300
|
+
var Me, Xe, pl;
|
|
2301
2301
|
if (Ke !== "") {
|
|
2302
|
-
let Ye = (pl = (Xe = (
|
|
2302
|
+
let Ye = (pl = (Xe = (Me = Ke == null ? void 0 : Ke.split($e + "updateLoading")) == null ? void 0 : Me[0]) == null ? void 0 : Xe.split($e + "loading")) == null ? void 0 : pl[0];
|
|
2303
2303
|
ye = ye === "" ? ye + Ye : ye + "/" + Ye;
|
|
2304
2304
|
}
|
|
2305
2305
|
}), ye = ye + $e + (i == null ? void 0 : i.directiveLabel);
|
|
@@ -2345,15 +2345,15 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2345
2345
|
});
|
|
2346
2346
|
});
|
|
2347
2347
|
}
|
|
2348
|
-
q.value = Ga(S),
|
|
2348
|
+
q.value = Ga(S), we.value = Ga(S), ee.value = (F = q.value) == null ? void 0 : F.map((b) => b == null ? void 0 : b.label), yl.value = (m = q.value) == null ? void 0 : m.every((b) => b == null ? void 0 : b.filterable), he.value = (_ = q.value) == null ? void 0 : _.every((b) => b == null ? void 0 : b.operable), gl.value = (v = q.value) == null ? void 0 : v.every((b) => b == null ? void 0 : b.sortable);
|
|
2349
2349
|
let E = (h = (C = _n(q.value)) == null ? void 0 : C.filter((b) => (b == null ? void 0 : b.type) !== "operate")) == null ? void 0 : h.map((b, i) => ({
|
|
2350
2350
|
prop: (b == null ? void 0 : b.prop) ?? "a" + i,
|
|
2351
2351
|
column: b.label
|
|
2352
2352
|
}));
|
|
2353
2353
|
ul.value = E;
|
|
2354
|
-
let
|
|
2355
|
-
Sl.value === "" ?
|
|
2356
|
-
let ie = Array.isArray((Q =
|
|
2354
|
+
let M = [];
|
|
2355
|
+
Sl.value === "" ? M = d == null ? void 0 : d[0] : M = (d == null ? void 0 : d.find((b) => (b == null ? void 0 : b.selectLabel) === "(" + Sl.value + ")")) ?? (d == null ? void 0 : d.find((b) => !(b != null && b.selectLabel)));
|
|
2356
|
+
let ie = Array.isArray((Q = M == null ? void 0 : M.contents) == null ? void 0 : Q[0]) && ((u = M == null ? void 0 : M.contents) != null && u[0].every((b) => Array.isArray(b))) ? (N = M == null ? void 0 : M.contents) == null ? void 0 : N[0] : M == null ? void 0 : M.contents;
|
|
2357
2357
|
L != null && L.contents && ((W = L == null ? void 0 : L.contents) == null ? void 0 : W.length) !== 0 && (ie = (y = X(ie)) == null ? void 0 : y.map((b, i) => {
|
|
2358
2358
|
if (!Array.isArray(b)) {
|
|
2359
2359
|
let de = {};
|
|
@@ -2372,16 +2372,16 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2372
2372
|
if (Array.isArray(b)) {
|
|
2373
2373
|
let oe = [];
|
|
2374
2374
|
b == null || b.filter((Ce) => !(Ce != null && Ce.id)).forEach((Ce, Ue) => {
|
|
2375
|
-
var ze, Qe, Le, Ke,
|
|
2375
|
+
var ze, Qe, Le, Ke, Me, Xe;
|
|
2376
2376
|
if ((ze = E == null ? void 0 : E[Ue]) != null && ze.prop && !Array.isArray(Ce)) {
|
|
2377
2377
|
let pl = {};
|
|
2378
2378
|
pl[E[Ue].column] = Ce, me != null && me.value && ((Qe = me == null ? void 0 : me.value) == null ? void 0 : Qe.length) > 0 && ((Le = me == null ? void 0 : me.value) != null && Le.find((Ye) => JSON.stringify(Ye == null ? void 0 : Ye[0]) === JSON.stringify(pl))) && (oe = (Ke = me == null ? void 0 : me.value) == null ? void 0 : Ke.find((Ye) => JSON.stringify(Ye == null ? void 0 : Ye[0]) === JSON.stringify(pl))), oe && oe.length > 0 ? de[E[Ue].prop] = oe != null && oe.find((Ye) => {
|
|
2379
2379
|
var Rl;
|
|
2380
2380
|
return ((Rl = Object.keys(Ye)) == null ? void 0 : Rl[0]) === E[Ue].column;
|
|
2381
|
-
}) ? (
|
|
2381
|
+
}) ? (Me = oe == null ? void 0 : oe.find((Ye) => {
|
|
2382
2382
|
var Rl;
|
|
2383
2383
|
return ((Rl = Object.keys(Ye)) == null ? void 0 : Rl[0]) === E[Ue].column;
|
|
2384
|
-
})) == null ? void 0 :
|
|
2384
|
+
})) == null ? void 0 : Me[E[Ue].column] : Ce : de[E[Ue].prop] = Ce;
|
|
2385
2385
|
} else Array.isArray(Ce) && ((Xe = E[Ue]) != null && Xe.prop ? de[E[Ue].prop] = Ce : de.children = ya(Ce, E));
|
|
2386
2386
|
});
|
|
2387
2387
|
} else
|
|
@@ -2408,14 +2408,14 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2408
2408
|
}), ha());
|
|
2409
2409
|
};
|
|
2410
2410
|
Ze(
|
|
2411
|
-
() => [o.itemData, Sl.value, fr.value,
|
|
2411
|
+
() => [o.itemData, Sl.value, fr.value, Ml.value, me == null ? void 0 : me.value],
|
|
2412
2412
|
async () => {
|
|
2413
2413
|
var e, l, n, a, r, s;
|
|
2414
|
-
if ((e = o == null ? void 0 : o.itemData) != null && e.find((t) => (t == null ? void 0 : t.key) === "columnPath") && !((l =
|
|
2414
|
+
if ((e = o == null ? void 0 : o.itemData) != null && e.find((t) => (t == null ? void 0 : t.key) === "columnPath") && !((l = wl.value) != null && l.find((t) => {
|
|
2415
2415
|
var c, d;
|
|
2416
2416
|
return (t == null ? void 0 : t.key) === ((d = (c = o == null ? void 0 : o.itemData) == null ? void 0 : c.find((f) => (f == null ? void 0 : f.key) === "columnPath")) == null ? void 0 : d.contents);
|
|
2417
2417
|
}))) {
|
|
2418
|
-
let t =
|
|
2418
|
+
let t = wl.value, c = {
|
|
2419
2419
|
key: (a = (n = o == null ? void 0 : o.itemData) == null ? void 0 : n.find((d) => (d == null ? void 0 : d.key) === "columnPath")) == null ? void 0 : a.contents,
|
|
2420
2420
|
value: (s = (r = o == null ? void 0 : o.itemData) == null ? void 0 : r.find((d) => (d == null ? void 0 : d.key) === "columnUsingPath")) == null ? void 0 : s.contents
|
|
2421
2421
|
};
|
|
@@ -2441,7 +2441,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2441
2441
|
xe.value = e, (e == null ? void 0 : e.length) === 0 ? ol.value = !1 : (e != null && e.includes("read") || (ol.value = !0), e != null && e.includes("edit") || (ol.value = !1)), ve.value = ((l = o == null ? void 0 : o.config) == null ? void 0 : l.showIndex) || ol.value;
|
|
2442
2442
|
}, { immediate: !0 }), Ze(() => ol.value, (e) => {
|
|
2443
2443
|
var l;
|
|
2444
|
-
e ? (ha("viewChange"), Ee.setCacheUpdatingData(null)) : (Ol.value = kl.value, q.value =
|
|
2444
|
+
e ? (ha("viewChange"), Ee.setCacheUpdatingData(null)) : (Ol.value = kl.value, q.value = we.value, Nl.value && (Ee.setTableLoading(o == null ? void 0 : o.index), V("change", Nl.value))), ue.value = e, ve.value = e || ((l = o == null ? void 0 : o.config) == null ? void 0 : l.showIndex);
|
|
2445
2445
|
}, { immediate: !0 }), Ze(() => {
|
|
2446
2446
|
var e;
|
|
2447
2447
|
return (e = Sa.value) == null ? void 0 : e.length;
|
|
@@ -2499,11 +2499,11 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2499
2499
|
var f, A, L, z;
|
|
2500
2500
|
const n = Ie("svg-icon"), a = Ie("el-popover"), r = Ie("el-switch"), s = Ie("el-checkbox"), t = Ie("el-checkbox-group"), c = Ie("el-button"), d = Ie("LookComponent");
|
|
2501
2501
|
return ae(), ke("div", Su, [
|
|
2502
|
-
ka.value ? (ae(), Pe(
|
|
2502
|
+
ka.value ? (ae(), Pe(wn, {
|
|
2503
2503
|
id: "excel-table",
|
|
2504
2504
|
pageObj: pe,
|
|
2505
2505
|
showIndex: ve.value,
|
|
2506
|
-
isTree: (f =
|
|
2506
|
+
isTree: (f = B.compItem) == null ? void 0 : f.isTree,
|
|
2507
2507
|
summaryInfo: Te,
|
|
2508
2508
|
columns: q.value,
|
|
2509
2509
|
defaultSort: Ne,
|
|
@@ -2516,7 +2516,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2516
2516
|
isShowEdit: !1,
|
|
2517
2517
|
isShowDelete: !1,
|
|
2518
2518
|
allowSelect: ue.value,
|
|
2519
|
-
onDbClickRow:
|
|
2519
|
+
onDbClickRow: Br,
|
|
2520
2520
|
extraButton: Ol.value,
|
|
2521
2521
|
rowButton: bl.value,
|
|
2522
2522
|
cacheExtraButtons: kl.value,
|
|
@@ -2537,28 +2537,28 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2537
2537
|
headerButton: I((g) => {
|
|
2538
2538
|
var O, j;
|
|
2539
2539
|
return [
|
|
2540
|
-
|
|
2540
|
+
B.showHeader ? (ae(), Pe(ou, {
|
|
2541
2541
|
key: 0,
|
|
2542
|
-
pageLayout:
|
|
2542
|
+
pageLayout: B.pageLayout,
|
|
2543
2543
|
lockingPage: al(Xl) === al(Se),
|
|
2544
2544
|
filterValues: ma.value,
|
|
2545
2545
|
selectNums: (O = sl.value) == null ? void 0 : O.length,
|
|
2546
2546
|
dataNums: (j = le.value) == null ? void 0 : j.length,
|
|
2547
|
-
compName:
|
|
2548
|
-
isDevMode:
|
|
2547
|
+
compName: B.compName,
|
|
2548
|
+
isDevMode: B.isDevMode,
|
|
2549
2549
|
buttons: g.buttons,
|
|
2550
2550
|
onButtonClick: l[1] || (l[1] = (D) => ua(D, "", {})),
|
|
2551
2551
|
columns: q.value,
|
|
2552
|
-
onFilter:
|
|
2552
|
+
onFilter: wr,
|
|
2553
2553
|
onGetImportData: mr,
|
|
2554
|
-
level:
|
|
2554
|
+
level: B.level
|
|
2555
2555
|
}, null, 8, ["pageLayout", "lockingPage", "filterValues", "selectNums", "dataNums", "compName", "isDevMode", "buttons", "columns", "level"])) : De("", !0)
|
|
2556
2556
|
];
|
|
2557
2557
|
}),
|
|
2558
2558
|
viewport: I(() => {
|
|
2559
2559
|
var g, O, j, D;
|
|
2560
2560
|
return [
|
|
2561
|
-
((g = le.value) == null ? void 0 : g.length) > 0 &&
|
|
2561
|
+
((g = le.value) == null ? void 0 : g.length) > 0 && B.allowOperate ? (ae(), ke("div", Au, [
|
|
2562
2562
|
(O = xe.value) != null && O.includes("read") && ((j = xe.value) != null && j.includes("edit")) && ((D = bl.value) != null && D.some((J) => (J == null ? void 0 : J.label) === "编辑")) && !aa.value && al(Xl) !== al(Se) ? (ae(), ke("span", {
|
|
2563
2563
|
key: 0,
|
|
2564
2564
|
title: "编辑表格",
|
|
@@ -2816,9 +2816,9 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2816
2816
|
style: { height: "74%" }
|
|
2817
2817
|
}, {
|
|
2818
2818
|
default: I(() => [
|
|
2819
|
-
ge("div",
|
|
2819
|
+
ge("div", wu, [
|
|
2820
2820
|
se($l, {
|
|
2821
|
-
rowContents:
|
|
2821
|
+
rowContents: Be.value,
|
|
2822
2822
|
isEnableWrap: !1,
|
|
2823
2823
|
showOperator: !1,
|
|
2824
2824
|
onChange: ln,
|
|
@@ -2829,7 +2829,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2829
2829
|
])
|
|
2830
2830
|
]),
|
|
2831
2831
|
footer: I(() => [
|
|
2832
|
-
ea.value ? (ae(), ke("div",
|
|
2832
|
+
ea.value ? (ae(), ke("div", Bu, [
|
|
2833
2833
|
se(c, {
|
|
2834
2834
|
onClick: l[7] || (l[7] = (g) => cl.value = !1),
|
|
2835
2835
|
id: "themeBorderButton"
|
|
@@ -2865,7 +2865,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2865
2865
|
se(hu)
|
|
2866
2866
|
]),
|
|
2867
2867
|
footer: I(() => [
|
|
2868
|
-
ge("div",
|
|
2868
|
+
ge("div", Mu, [
|
|
2869
2869
|
se(c, {
|
|
2870
2870
|
onClick: l[9] || (l[9] = (g) => Vl.value = !1),
|
|
2871
2871
|
class: "cancel-button",
|
|
@@ -2892,10 +2892,10 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2892
2892
|
]),
|
|
2893
2893
|
_: 1
|
|
2894
2894
|
}, 8, ["title", "visible", "width"]),
|
|
2895
|
-
We.value ? (ae(), Pe(
|
|
2895
|
+
We.value ? (ae(), Pe(Bn, {
|
|
2896
2896
|
key: 1,
|
|
2897
2897
|
fileDataList: Ul.value,
|
|
2898
|
-
onDestroy:
|
|
2898
|
+
onDestroy: Mr
|
|
2899
2899
|
}, null, 8, ["fileDataList"])) : De("", !0),
|
|
2900
2900
|
ce.value ? (ae(), Pe(Gl, {
|
|
2901
2901
|
key: 2,
|
|
@@ -2907,7 +2907,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2907
2907
|
}, {
|
|
2908
2908
|
default: I(() => [
|
|
2909
2909
|
se(Kn, {
|
|
2910
|
-
files:
|
|
2910
|
+
files: Bl.value,
|
|
2911
2911
|
threeData: Je.value
|
|
2912
2912
|
}, null, 8, ["files", "threeData"])
|
|
2913
2913
|
]),
|
|
@@ -2949,7 +2949,7 @@ const Va = (w) => w.match(/\((.*)\)/)[1], er = {
|
|
|
2949
2949
|
]);
|
|
2950
2950
|
};
|
|
2951
2951
|
}
|
|
2952
|
-
}, ao = /* @__PURE__ */ sa(Ku, [["__scopeId", "data-v-
|
|
2952
|
+
}, ao = /* @__PURE__ */ sa(Ku, [["__scopeId", "data-v-d5bec520"]]);
|
|
2953
2953
|
export {
|
|
2954
2954
|
tu as a,
|
|
2955
2955
|
Va as f,
|