ss-component-new 1.2.167 → 1.2.169
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-CLFzjnPX.cjs → MTLLoader-B4JVFXyL.cjs} +1 -1
- package/dist/{MTLLoader-CwSo4rHD.js → MTLLoader-CPSDHz39.js} +1 -1
- package/dist/{OrbitControls-D7j0g2sZ.js → OrbitControls-DwEkcGoo.js} +1 -1
- package/dist/{OrbitControls-Ciif_9cK.cjs → OrbitControls-VNfJrx6k.cjs} +1 -1
- package/dist/{URDFLoader-C0tqucYX.js → URDFLoader-CtARJEbJ.js} +2 -2
- package/dist/{URDFLoader-cHMWLPFW.cjs → URDFLoader-D7pm4Ixv.cjs} +1 -1
- package/dist/{animationData-CQk2prjo.js → animationData-Dd-B9Dwt.js} +1 -1
- package/dist/{animationData-BCdseud5.cjs → animationData-eMftQ0Va.cjs} +1 -1
- package/dist/{array-DYHNnoK9.js → array-C2qI1BZy.js} +1 -1
- package/dist/{array-Cp-J8xjb.cjs → array-C_fzT_TX.cjs} +1 -1
- package/dist/{iconfont-BRy-QXQw.js → iconfont-C_B_ZVBI.js} +2 -2
- package/dist/{iconfont-BFXiN9Bo.cjs → iconfont-DcFIeJZ_.cjs} +1 -1
- package/dist/{index-mydZ_rrD.cjs → index--mAvQlgv.cjs} +1 -1
- package/dist/{index-CNNDW9ER.js → index-23QD5myA.js} +134 -133
- package/dist/{index-SiOl7MN_.cjs → index-2rz_KGGr.cjs} +1 -1
- package/dist/{index-DSYTzO6a.js → index-B2QVWrF3.js} +7 -7
- package/dist/{index-Dk8X-ihc.js → index-BD8RQN3x.js} +1 -1
- package/dist/{index-Bj9nTlxi.js → index-BF6ehS1Y.js} +1 -1
- package/dist/{index-BweEcptF.js → index-BNGGkdcr.js} +1 -1
- package/dist/{index-D5QE8mUk.cjs → index-BPhZPKKk.cjs} +1 -1
- package/dist/{index-BniWsVyD.js → index-Baij8ijY.js} +16 -16
- package/dist/{index-DGR_Aii4.js → index-BfZn-wlk.js} +4 -4
- package/dist/{index-DRjBO6iH.cjs → index-BrS0cuwc.cjs} +1 -1
- package/dist/{index-BtquudlB.js → index-Btkotlwq.js} +1 -1
- package/dist/{index-DhmUocvg.cjs → index-C2WTaEGg.cjs} +1 -1
- package/dist/{index-D9F4jB5w.cjs → index-C6rSzODn.cjs} +1 -1
- package/dist/{index-yINd3mEb.js → index-C79EsC-G.js} +4 -4
- package/dist/{index-DY1duHqJ.js → index-CAXl56Gi.js} +1 -1
- package/dist/{index-D5BegmPk.cjs → index-CEWKNFIY.cjs} +1 -1
- package/dist/{index-D1Z5FL2v.js → index-CV8EVeG9.js} +8 -8
- package/dist/{index-D53LFFRF.js → index-CZCN8Fn4.js} +3 -3
- package/dist/{index-B5_ImWg6.js → index-Cc0bLetW.js} +4 -4
- package/dist/index-CgF-Rerf.cjs +1 -0
- package/dist/{index-BGFPdvbG.js → index-Cgv0M5b1.js} +3 -3
- package/dist/{index-ClyfxBR1.js → index-CoRFlw5D.js} +2 -2
- package/dist/{index-Dpe4rGFO.cjs → index-Cwu8bsdM.cjs} +1 -1
- package/dist/{index-BPX4t5Me.cjs → index-D07qGIik.cjs} +1 -1
- package/dist/{index-hfeW3BQ6.js → index-DAXE8dlB.js} +2 -2
- package/dist/{index-BrE2Bc0f.cjs → index-DCQ4jYUy.cjs} +1 -1
- package/dist/{index-BK7SMFKC.js → index-DL34KSd3.js} +1 -1
- package/dist/{index-BsUk6uFp.cjs → index-DZZ7ta48.cjs} +1 -1
- package/dist/{index-CVCnVB2h.cjs → index-DeG1qGel.cjs} +1 -1
- package/dist/{index-BPxYVk2A.cjs → index-DiH_zzfO.cjs} +1 -1
- package/dist/{index-CvthuHiN.cjs → index-Dj4m5P-u.cjs} +1 -1
- package/dist/{index-k6y7P258.js → index-DlvKJ2__.js} +1 -1
- package/dist/{index-B0UtYmIj.cjs → index-DmINjLIK.cjs} +1 -1
- package/dist/{index-BZUaEnBX.cjs → index-Dp4H6yMv.cjs} +1 -1
- package/dist/{index-xAq-FNXj.cjs → index-DwzLPE69.cjs} +1 -1
- package/dist/{index-DFzzIlqk.js → index-MFn22fGy.js} +1 -1
- package/dist/{index-FdKoPAXC.cjs → index-OOKLSSsR.cjs} +1 -1
- package/dist/{index-C2IASFRp.cjs → index-YzuL4XVC.cjs} +1 -1
- package/dist/{index-D97rmBt_.js → index-ZdfXGXbF.js} +1 -1
- package/dist/{index-7Rauzgc6.js → index-hTHHGhtm.js} +1 -1
- package/dist/{index-B3hLcSqR.js → index-hsGPaXt-.js} +1 -1
- package/dist/{index-BpWp0foW.cjs → index-iV7h190r.cjs} +1 -1
- package/dist/{index-bPYLBUyT.cjs → index-m387sSh2.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-bjAg_fV4.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Cz7dKpL6.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Bs49T9pF.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DOvxH4a7.js} +7 -7
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bjj5ubf_.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Rm3VGf5k.cjs} +136 -136
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-yCSfdkEK.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-XSGMtHhq.js} +9851 -9779
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Aw5kJy3h.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-BLZBFmtz.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-EkXalL64.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-BajTWmSa.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-DOqhwSkH.js → index.vue_vue_type_style_index_1_lang-BDbwhaRc.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_1_lang-BLPUcvNI.cjs → index.vue_vue_type_style_index_1_lang-Db3dteRF.cjs} +1 -1
- package/dist/{main-BWVy0P8L.cjs → main-18z7L03Q.cjs} +1 -1
- package/dist/{main-CEldaddq.js → main-CqflXNUz.js} +3 -3
- 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-D8xNzE3K.cjs → threeModel-BB4W24GG.cjs} +1 -1
- package/dist/{threeModel-B9sa7eGf.js → threeModel-BZtlMHWR.js} +4 -4
- package/dist/{threePreview-GJScMAEP.cjs → threePreview-BBrQNzoA.cjs} +1 -1
- package/dist/{threePreview-BE-5b24m.js → threePreview-CyesqtAW.js} +3 -3
- package/dist/{threeSceneView-BzUK4TV9.cjs → threeSceneView-DIebB1Aq.cjs} +1 -1
- package/dist/{threeSceneView-BpiNLqLX.js → threeSceneView-RmuQNRc-.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-D4DvVNeV.cjs → threeSceneViewForCPMPIP-DXcGwzzW.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-SDHyHidh.js → threeSceneViewForCPMPIP-DZ6r52WE.js} +7 -7
- package/dist/{threeTrackPathView-CZpYoFbz.js → threeTrackPathView-C0Ju0rPi.js} +3 -3
- package/dist/{threeTrackPathView-BxNyiXJw.cjs → threeTrackPathView-CidkAU-w.cjs} +1 -1
- package/dist/{threeViewerHost-DpVBZPj4.cjs → threeViewerHost-D_k2Dtrq.cjs} +1 -1
- package/dist/{threeViewerHost-7xonkuMm.js → threeViewerHost-DnCDylmd.js} +2 -2
- package/dist/{urdfTree-CbGA9aZz.cjs → urdfTree-B4VN4PHS.cjs} +1 -1
- package/dist/{urdfTree-BqejtjRY.js → urdfTree-CSqG0RnY.js} +1 -1
- package/dist/{workpieceTreePanel-Z0SsLhDM.js → workpieceTreePanel-GqNF9y61.js} +4 -4
- package/dist/{workpieceTreePanel-CY-42AI4.cjs → workpieceTreePanel-WJgMNT5u.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-q76H6HKw.cjs +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ref as X, watch as Ze, nextTick as oa, resolveComponent as Ie, createBlock as
|
|
1
|
+
import { ref as X, watch as Ze, nextTick as oa, resolveComponent as Ie, createBlock as $e, openBlock as re, withCtx as V, createElementVNode as ye, renderSlot as Ba, onMounted as va, createElementBlock as ke, normalizeStyle as Cl, normalizeClass as ar, toDisplayString as Oe, createCommentVNode as De, createVNode as te, unref as nl, 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 Q, E as Ge, bS as nr, g as xl, 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, aC as Tn, aD as Ql, aE as mn, g as Pl, b as An, a as xn, U as Cn, u as _n, aF as qa, aG as Ga, aH as Un, aI as Dn, d as ga, R as Ha, n as Qa, l as On, aJ as Xa, a1 as En, aK as jn, aL as Ln, aM as Pn, T as $n, aN as Nn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { d as $l, a as Ya, j as wn, e as Bn, E as Mn } from "./index-
|
|
5
|
-
import { a as Fn, T as Kn } from "./threeViewerHost-
|
|
3
|
+
import { V as Hl, aC as Tn, aD as Ql, aE as mn, g as Pl, b as An, a as xn, U as Cn, u as _n, aF as qa, aG as Ga, aH as Un, aI as Dn, d as ga, R as Ha, n as Qa, l as On, aJ as Xa, a1 as En, aK as jn, aL as Ln, aM as Pn, T as $n, aN as Nn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-XSGMtHhq.js";
|
|
4
|
+
import { d as $l, a as Ya, j as wn, e as Bn, E as Mn } from "./index-C79EsC-G.js";
|
|
5
|
+
import { a as Fn, T as Kn } from "./threeViewerHost-DnCDylmd.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-BDbwhaRc.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-CAXl56Gi.js";
|
|
10
10
|
import "./index-_lg-jrRI.js";
|
|
11
11
|
import { i as Ia } from "./isString-CN3i5s9o.js";
|
|
12
12
|
const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
@@ -48,7 +48,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
48
48
|
{ deep: !0, immediate: !0 }
|
|
49
49
|
), (o, se) => {
|
|
50
50
|
const ve = Ie("el-popover");
|
|
51
|
-
return re(),
|
|
51
|
+
return re(), $e(ve, {
|
|
52
52
|
visible: w.value,
|
|
53
53
|
title: ue == null ? void 0 : ue.title,
|
|
54
54
|
placement: ue == null ? void 0 : ue.placement,
|
|
@@ -145,20 +145,20 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
145
145
|
const fe = new FileReader();
|
|
146
146
|
fe.onload = (ee) => {
|
|
147
147
|
try {
|
|
148
|
-
const W = new Uint8Array(ee.target.result),
|
|
148
|
+
const W = new Uint8Array(ee.target.result), we = Tn(W, { type: "array" }), Ve = we.SheetNames[0], de = we.Sheets[Ve], Je = Ql.decode_range(de["!ref"]).e.c + 1, q = new Array(Je).fill(""), T = [];
|
|
149
149
|
for (const G in de) {
|
|
150
150
|
if (G[0] === "!") continue;
|
|
151
151
|
const { r: he, c: Ae } = Ql.decode_cell(G);
|
|
152
|
-
let
|
|
153
|
-
if (de[G].t === "n" &&
|
|
154
|
-
q[Ae] =
|
|
152
|
+
let Be = de[G].v;
|
|
153
|
+
if (de[G].t === "n" && Be > 0 && Be < 1e6 && (Be = new Date((Be - 25569) * 86400 * 1e3).toISOString().split("T")[0]), (Be == null || Be === "") && (Be = ""), he === 0)
|
|
154
|
+
q[Ae] = Be;
|
|
155
155
|
else {
|
|
156
156
|
if (!T[he - 1]) {
|
|
157
157
|
T[he - 1] = {};
|
|
158
158
|
for (let We = 0; We < Je; We++)
|
|
159
159
|
T[he - 1][`col_${We}`] = "";
|
|
160
160
|
}
|
|
161
|
-
T[he - 1][`col_${Ae}`] =
|
|
161
|
+
T[he - 1][`col_${Ae}`] = Be;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
for (let G = 0; G < Je; G++)
|
|
@@ -170,9 +170,9 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
170
170
|
throw Ge.error(W.message), new Error(W.message);
|
|
171
171
|
}
|
|
172
172
|
}, fe.readAsArrayBuffer(Te);
|
|
173
|
-
},
|
|
173
|
+
}, ul = (ge) => {
|
|
174
174
|
var fe;
|
|
175
|
-
const Te = (fe = se.value) == null ? void 0 : fe.reduce((ee, W,
|
|
175
|
+
const Te = (fe = se.value) == null ? void 0 : fe.reduce((ee, W, we) => (we === 0 ? ee[W.label] = ge : ee[W.label] = W == null ? void 0 : W.value, ee), {});
|
|
176
176
|
le("filter", Te, ge, !0);
|
|
177
177
|
}, tl = (ge) => {
|
|
178
178
|
le("buttonClick", ge);
|
|
@@ -185,16 +185,16 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
185
185
|
isFormColHidden: ee == null ? void 0 : ee.isTableColHidden,
|
|
186
186
|
width: 2
|
|
187
187
|
}));
|
|
188
|
-
},
|
|
188
|
+
}, Ne = X(!1), gl = (ge) => {
|
|
189
189
|
var Te;
|
|
190
|
-
if ((ge == null ? void 0 : ge.buttonName) === "确认" && (le("filter", ge == null ? void 0 : ge.content),
|
|
190
|
+
if ((ge == null ? void 0 : ge.buttonName) === "确认" && (le("filter", ge == null ? void 0 : ge.content), Ne.value = (ge == null ? void 0 : ge.content) && Object.values(ge == null ? void 0 : ge.content).length > 0), (ge == null ? void 0 : ge.buttonName) === "清空") {
|
|
191
191
|
const fe = Q(ge == null ? void 0 : ge.content);
|
|
192
192
|
for (const ee in fe)
|
|
193
193
|
fe[ee] = "";
|
|
194
194
|
se.value = (Te = se.value) == null ? void 0 : Te.map((ee) => ({
|
|
195
195
|
...ee,
|
|
196
196
|
value: ""
|
|
197
|
-
})), le("filter", fe),
|
|
197
|
+
})), le("filter", fe), Ne.value = !1;
|
|
198
198
|
}
|
|
199
199
|
o.value = !1;
|
|
200
200
|
}, yl = () => {
|
|
@@ -216,7 +216,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
216
216
|
{ deep: !0, immediate: !0 }
|
|
217
217
|
), (ge, Te) => {
|
|
218
218
|
var de, He, Je, q;
|
|
219
|
-
const fe = Ie("el-icon"), ee = Ie("svg-icon"), W = Ie("el-input"),
|
|
219
|
+
const fe = Ie("el-icon"), ee = Ie("svg-icon"), W = Ie("el-input"), we = Ie("el-button"), Ve = Ie("el-upload");
|
|
220
220
|
return B.pageLayout === "vertical" ? (re(), ke("div", Wn, [
|
|
221
221
|
ye("div", {
|
|
222
222
|
class: ar(B.compName ? "table-name-wrap" : ""),
|
|
@@ -242,22 +242,22 @@ const Va = (B) => B.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:
|
|
246
|
-
"prefix-icon":
|
|
245
|
+
placeholder: Ne.value ? (G = (Ue = (T = B.filterValues) == null ? void 0 : T.filter((Ae) => Ae)) == null ? void 0 : Ue.slice(0, 3)) == null ? void 0 : G.join("/") : "搜索",
|
|
246
|
+
"prefix-icon": nl(Ja),
|
|
247
247
|
clearable: "",
|
|
248
|
-
onInput:
|
|
248
|
+
onInput: ul,
|
|
249
249
|
disabled: ((he = se.value) == null ? void 0 : he.length) === 0
|
|
250
250
|
}, {
|
|
251
251
|
suffix: V(() => {
|
|
252
|
-
var Ae,
|
|
252
|
+
var Ae, Be;
|
|
253
253
|
return [
|
|
254
|
-
!P.value && ((
|
|
254
|
+
!P.value && ((Be = (Ae = B.filterValues) == null ? void 0 : Ae.filter((We) => We)) != null && Be.join("/")) ? (re(), $e(fe, {
|
|
255
255
|
key: 0,
|
|
256
256
|
style: { cursor: "pointer" },
|
|
257
257
|
onClick: yl
|
|
258
258
|
}, {
|
|
259
259
|
default: V(() => [
|
|
260
|
-
te(
|
|
260
|
+
te(nl(Wa))
|
|
261
261
|
]),
|
|
262
262
|
_: 1
|
|
263
263
|
})) : De("", !0)
|
|
@@ -280,7 +280,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
280
280
|
}),
|
|
281
281
|
content: V(() => [
|
|
282
282
|
ye("div", Gn, [
|
|
283
|
-
(re(),
|
|
283
|
+
(re(), $e($l, {
|
|
284
284
|
rowContents: se.value,
|
|
285
285
|
buttonValue: ve.value,
|
|
286
286
|
isRowFlex: !0,
|
|
@@ -300,7 +300,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
300
300
|
class: "extra-contents",
|
|
301
301
|
key: Ue
|
|
302
302
|
}, [
|
|
303
|
-
(T == null ? void 0 : T.type) === "upload" ? (re(),
|
|
303
|
+
(T == null ? void 0 : T.type) === "upload" ? (re(), $e(Ve, {
|
|
304
304
|
key: 0,
|
|
305
305
|
class: "upload-button-wrap",
|
|
306
306
|
"on-change": be,
|
|
@@ -311,7 +311,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
311
311
|
disabled: !!B.lockingPage
|
|
312
312
|
}, {
|
|
313
313
|
default: V(() => [
|
|
314
|
-
te(
|
|
314
|
+
te(we, {
|
|
315
315
|
disabled: !!B.lockingPage,
|
|
316
316
|
style: Cl({ background: (T == null ? void 0 : T.background) ?? "var(--ssbutton-theme-bg)", color: (T == null ? void 0 : T.color) ?? "var(--ssbutton-theme-color)" })
|
|
317
317
|
}, {
|
|
@@ -323,9 +323,9 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
323
323
|
]),
|
|
324
324
|
_: 2
|
|
325
325
|
}, 1032, ["disabled"])) : De("", !0),
|
|
326
|
-
(T == null ? void 0 : T.type) === "popover" ? (re(),
|
|
326
|
+
(T == null ? void 0 : T.type) === "popover" ? (re(), $e(Ya, { key: 1 }, {
|
|
327
327
|
dropTitle: V(() => [
|
|
328
|
-
(T == null ? void 0 : T.type) === "popover" ? (re(),
|
|
328
|
+
(T == null ? void 0 : T.type) === "popover" ? (re(), $e(we, {
|
|
329
329
|
key: 0,
|
|
330
330
|
disabled: !!B.lockingPage,
|
|
331
331
|
style: Cl({ background: (T == null ? void 0 : T.background) ?? "var(--ssbutton-theme-bg)", color: (T == null ? void 0 : T.color) ?? "var(--ssbutton-theme-color)" })
|
|
@@ -338,7 +338,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
338
338
|
]),
|
|
339
339
|
dropMenu: V(() => [
|
|
340
340
|
ye("div", Qn, [
|
|
341
|
-
(re(!0), ke(fl, null, hl(T == null ? void 0 : T.contents, (G) => (re(),
|
|
341
|
+
(re(!0), ke(fl, null, hl(T == null ? void 0 : T.contents, (G) => (re(), $e(we, {
|
|
342
342
|
key: G == null ? void 0 : G.label,
|
|
343
343
|
disabled: !!B.lockingPage,
|
|
344
344
|
style: { width: "100%", margin: "0", border: "none", display: "flex", "justify-content": "flex-start" },
|
|
@@ -358,7 +358,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
358
358
|
]),
|
|
359
359
|
_: 2
|
|
360
360
|
}, 1024)) : De("", !0),
|
|
361
|
-
T != null && T.type ? De("", !0) : (re(),
|
|
361
|
+
T != null && T.type ? De("", !0) : (re(), $e(we, {
|
|
362
362
|
key: 2,
|
|
363
363
|
id: "themeButton",
|
|
364
364
|
disabled: !!B.lockingPage,
|
|
@@ -389,22 +389,22 @@ const Va = (B) => B.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:
|
|
393
|
-
"prefix-icon":
|
|
392
|
+
placeholder: Ne.value ? (G = (Ue = (T = B.filterValues) == null ? void 0 : T.filter((Ae) => Ae)) == null ? void 0 : Ue.slice(0, 3)) == null ? void 0 : G.join("/") : "搜索",
|
|
393
|
+
"prefix-icon": nl(Ja),
|
|
394
394
|
clearable: "",
|
|
395
|
-
onInput:
|
|
395
|
+
onInput: ul,
|
|
396
396
|
disabled: ((he = se.value) == null ? void 0 : he.length) === 0
|
|
397
397
|
}, {
|
|
398
398
|
suffix: V(() => {
|
|
399
|
-
var Ae,
|
|
399
|
+
var Ae, Be;
|
|
400
400
|
return [
|
|
401
|
-
!P.value && ((
|
|
401
|
+
!P.value && ((Be = (Ae = B.filterValues) == null ? void 0 : Ae.filter((We) => We)) != null && Be.join("/")) ? (re(), $e(fe, {
|
|
402
402
|
key: 0,
|
|
403
403
|
style: { cursor: "pointer" },
|
|
404
404
|
onClick: yl
|
|
405
405
|
}, {
|
|
406
406
|
default: V(() => [
|
|
407
|
-
te(
|
|
407
|
+
te(nl(Wa))
|
|
408
408
|
]),
|
|
409
409
|
_: 1
|
|
410
410
|
})) : De("", !0)
|
|
@@ -427,7 +427,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
427
427
|
}),
|
|
428
428
|
content: V(() => [
|
|
429
429
|
ye("div", eu, [
|
|
430
|
-
(re(),
|
|
430
|
+
(re(), $e($l, {
|
|
431
431
|
rowContents: se.value,
|
|
432
432
|
buttonValue: ve.value,
|
|
433
433
|
isRowFlex: !0,
|
|
@@ -447,7 +447,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
447
447
|
class: "extra-contents",
|
|
448
448
|
key: Ue
|
|
449
449
|
}, [
|
|
450
|
-
(T == null ? void 0 : T.type) === "upload" ? (re(),
|
|
450
|
+
(T == null ? void 0 : T.type) === "upload" ? (re(), $e(Ve, {
|
|
451
451
|
key: 0,
|
|
452
452
|
class: "upload-button-wrap",
|
|
453
453
|
"on-change": be,
|
|
@@ -457,7 +457,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
457
457
|
"show-file-list": !1
|
|
458
458
|
}, {
|
|
459
459
|
default: V(() => [
|
|
460
|
-
te(
|
|
460
|
+
te(we, { style: { background: "transparent", color: "#666666" } }, {
|
|
461
461
|
icon: V(() => {
|
|
462
462
|
var G;
|
|
463
463
|
return [
|
|
@@ -474,9 +474,9 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
474
474
|
]),
|
|
475
475
|
_: 2
|
|
476
476
|
}, 1024)) : De("", !0),
|
|
477
|
-
(T == null ? void 0 : T.type) === "popover" ? (re(),
|
|
477
|
+
(T == null ? void 0 : T.type) === "popover" ? (re(), $e(Ya, { key: 1 }, {
|
|
478
478
|
dropTitle: V(() => [
|
|
479
|
-
(T == null ? void 0 : T.type) === "popover" ? (re(),
|
|
479
|
+
(T == null ? void 0 : T.type) === "popover" ? (re(), $e(we, {
|
|
480
480
|
key: 0,
|
|
481
481
|
style: { background: "transparent", color: "#666666" }
|
|
482
482
|
}, {
|
|
@@ -496,7 +496,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
496
496
|
]),
|
|
497
497
|
dropMenu: V(() => [
|
|
498
498
|
ye("div", au, [
|
|
499
|
-
(re(!0), ke(fl, null, hl(T == null ? void 0 : T.contents, (G) => (re(),
|
|
499
|
+
(re(!0), ke(fl, null, hl(T == null ? void 0 : T.contents, (G) => (re(), $e(we, {
|
|
500
500
|
key: G == null ? void 0 : G.label,
|
|
501
501
|
style: { width: "100%", margin: "0", border: "none", display: "flex", "justify-content": "flex-start" },
|
|
502
502
|
onClick: (he) => tl(G == null ? void 0 : G.label)
|
|
@@ -515,7 +515,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
515
515
|
]),
|
|
516
516
|
_: 2
|
|
517
517
|
}, 1024)) : De("", !0),
|
|
518
|
-
T != null && T.type ? De("", !0) : (re(),
|
|
518
|
+
T != null && T.type ? De("", !0) : (re(), $e(we, {
|
|
519
519
|
key: 2,
|
|
520
520
|
id: "themeButton",
|
|
521
521
|
style: Cl({ background: "transparent", color: (T == null ? void 0 : T.label) === "新增" ? "var(--ssbutton-theme-bg)" : "#666666" }),
|
|
@@ -568,11 +568,11 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
568
568
|
return (se, ve) => {
|
|
569
569
|
const Ce = Ie("el-button");
|
|
570
570
|
return re(), ke("div", null, [
|
|
571
|
-
(re(!0), ke(fl, null, hl(B.buttons, (be) => (re(),
|
|
571
|
+
(re(!0), ke(fl, null, hl(B.buttons, (be) => (re(), $e(Ce, {
|
|
572
572
|
key: be == null ? void 0 : be.label,
|
|
573
573
|
disabled: !!B.lockingPage,
|
|
574
574
|
class: ar(o(be == null ? void 0 : be.label)),
|
|
575
|
-
onClick: (
|
|
575
|
+
onClick: (ul) => P(be == null ? void 0 : be.label)
|
|
576
576
|
}, {
|
|
577
577
|
default: V(() => [
|
|
578
578
|
el(Oe(be == null ? void 0 : be.label), 1)
|
|
@@ -646,8 +646,8 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
646
646
|
return w = w == null ? void 0 : w.map((o, se) => {
|
|
647
647
|
var ve, Ce;
|
|
648
648
|
return !Array.isArray(o) || !((ve = P == null ? void 0 : P[se]) != null && ve.label) && !le || (o.unshift(((Ce = P == null ? void 0 : P[se]) == null ? void 0 : Ce.label) ?? ""), o.some((be) => Array.isArray(be)) && (o = o == null ? void 0 : o.map((be) => {
|
|
649
|
-
var
|
|
650
|
-
return Array.isArray(be) && (be = ur(be, (
|
|
649
|
+
var ul;
|
|
650
|
+
return Array.isArray(be) && (be = ur(be, (ul = P == null ? void 0 : P[se]) == null ? void 0 : ul.children, le)), be;
|
|
651
651
|
}))), o;
|
|
652
652
|
}), w;
|
|
653
653
|
}, gu = (B, ue, le) => {
|
|
@@ -692,7 +692,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
694
|
}), lr = async (B, ue) => {
|
|
695
|
-
var se, ve, Ce, be,
|
|
695
|
+
var se, ve, Ce, be, ul, tl, vl, Ne, gl, yl, ge, Te, fe, ee, W, we, Ve;
|
|
696
696
|
let le = (ve = (se = Q(B)) == null ? void 0 : se.optionUrl) == null ? void 0 : ve.menuSelect, w = [];
|
|
697
697
|
le == null || le.forEach((de) => {
|
|
698
698
|
});
|
|
@@ -704,18 +704,18 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
704
704
|
P = ue;
|
|
705
705
|
const de = await xl({
|
|
706
706
|
id: P
|
|
707
|
-
}), He = (tl = (
|
|
707
|
+
}), He = (tl = (ul = (be = (Ce = de == null ? void 0 : de.data) == null ? void 0 : Ce.result) == null ? void 0 : be[0]) == null ? void 0 : ul.key) == null ? void 0 : tl.pageKey;
|
|
708
708
|
o = await Pl(He, sessionStorage.getItem("systemKey"), "");
|
|
709
709
|
}
|
|
710
710
|
if (P !== "") {
|
|
711
711
|
let de;
|
|
712
|
-
ue ? de = (vl = o == null ? void 0 : o.find((q) => (q == null ? void 0 : q.id) === ue)) == null ? void 0 : vl.compData : de = (
|
|
712
|
+
ue ? de = (vl = o == null ? void 0 : o.find((q) => (q == null ? void 0 : q.id) === ue)) == null ? void 0 : vl.compData : de = (Ne = o == null ? void 0 : o.find((q) => {
|
|
713
713
|
var T, Ue, G, he;
|
|
714
714
|
return (q == null ? void 0 : q.name) === (((Ue = (T = B == null ? void 0 : B.groupSelect) == null ? void 0 : T.split(":")) == null ? void 0 : Ue[0]) || ((he = (G = B == null ? void 0 : B.optionUrl) == null ? void 0 : G.groupSelect) == null ? void 0 : he[0]));
|
|
715
|
-
})) == null ? void 0 :
|
|
715
|
+
})) == null ? void 0 : Ne.compData;
|
|
716
716
|
let He = (yl = (gl = de == null ? void 0 : de.find((q) => (q == null ? void 0 : q.key) === "header")) == null ? void 0 : gl.contents) == null ? void 0 : yl.map((q) => q == null ? void 0 : q.label);
|
|
717
717
|
(Te = (ge = de == null ? void 0 : de.find((q) => (q == null ? void 0 : q.key) === "header")) == null ? void 0 : ge.contents) != null && Te.every((q) => Array.isArray(q)) && (He = (W = Hl((ee = (fe = de == null ? void 0 : de.find((q) => (q == null ? void 0 : q.key) === "header")) == null ? void 0 : fe.contents) == null ? void 0 : ee[0])) == null ? void 0 : W.map((q) => q == null ? void 0 : q.prop));
|
|
718
|
-
let Je = (Ve = (
|
|
718
|
+
let Je = (Ve = (we = de == null ? void 0 : de.find((q) => (q == null ? void 0 : q.key) === "tableContents")) == null ? void 0 : we.contents) == null ? void 0 : Ve.map((q) => {
|
|
719
719
|
if (Array.isArray(q))
|
|
720
720
|
q = q == null ? void 0 : q.filter((T) => !(T != null && T.id));
|
|
721
721
|
else {
|
|
@@ -841,9 +841,9 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
841
841
|
value: "operable",
|
|
842
842
|
checked: !1
|
|
843
843
|
}
|
|
844
|
-
]),
|
|
844
|
+
]), ul = xn(ml);
|
|
845
845
|
let tl = "$R";
|
|
846
|
-
const { originalPath: vl } = Ll(
|
|
846
|
+
const { originalPath: vl } = Ll(ul), Ne = vl.value, gl = X(!1), yl = X(!1), ge = X(!1), Te = ql({
|
|
847
847
|
column: {},
|
|
848
848
|
status: !1,
|
|
849
849
|
text: "合计"
|
|
@@ -852,13 +852,13 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
852
852
|
pageSize: 10,
|
|
853
853
|
total: 0,
|
|
854
854
|
pageSizes: [5, 10, 20, 50, 100]
|
|
855
|
-
}), ee = ue, W = X([]),
|
|
855
|
+
}), ee = ue, W = X([]), we = ql({ prop: "", order: null }), Ve = X([]), de = X(!1), He = X(!1), Je = X(null), { isUseBackdrop: q, initTrackFileType: T, getFileExtension: Ue, setData: G, getFileInfo: he, getFilesInfo: Ae } = Fn(), Be = X([]), We = X(!1), _l = X(), Fe = zn(), { importLoading: zu, activeMenuPath: Se, contentLoading: Ju, linkMenuInfo: ir } = Ll(Fe), tr = Cn(ml), Ee = Jn(ml), { extraContents: me, cacheUpdatingData: Nl, tableViewContents: wl, tableLoading: Wu, pageMapState: Ul, lockingPage: Xl } = Ll(Ee), ae = X([]), Yl = X([]), Zl = X(/* @__PURE__ */ new Map());
|
|
856
856
|
X(!1);
|
|
857
857
|
const cl = X("");
|
|
858
858
|
X();
|
|
859
|
-
const Il = X(!0), Dl = X(0), ba = X(!0),
|
|
859
|
+
const Il = X(!0), Dl = X(0), ba = X(!0), ll = X(""), dl = X(!1), cr = X({
|
|
860
860
|
label: "查看三维模型"
|
|
861
|
-
}), Vl = X(!1), ia = X(),
|
|
861
|
+
}), Vl = X(!1), ia = X(), al = X([]), bl = X([]), ea = X(!1), Bl = X([]), Ol = X([]), kl = X([]), Le = X([]), ol = X(), Re = X(), dr = tu(ml), la = X(), ta = X(0), pr = _n(ml), { selectIndex: fr, selectMenu: Ml, selectTitle: Ru } = Ll(pr), { selectString: Sl } = Ll(dr), hr = yn(ml), { loginUserInfo: El } = Ll(hr), gr = X(720), sl = X(!1), aa = X(!1), il = X([]), pl = X(), Fl = X(!0), ka = X(!0), Tl = X([]), yr = dn("contentRef");
|
|
862
862
|
pn("contentRef", yr), Ze(() => {
|
|
863
863
|
var e;
|
|
864
864
|
return (e = ae.value) == null ? void 0 : e.length;
|
|
@@ -930,7 +930,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
930
930
|
var t;
|
|
931
931
|
return (i == null ? void 0 : i.sortable) && ((t = i == null ? void 0 : i.label) == null ? void 0 : t.includes("时间"));
|
|
932
932
|
});
|
|
933
|
-
return n && (
|
|
933
|
+
return n && (we.order = "descending", we.prop = n == null ? void 0 : n.prop), ee("getSliceContLength", fe), (r = ae.value) == null ? void 0 : r.slice(e, l);
|
|
934
934
|
}), kr = (e) => {
|
|
935
935
|
fe.currentPage = e, ee("getSliceContLength", fe);
|
|
936
936
|
}, Sr = (e) => {
|
|
@@ -1402,7 +1402,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
1402
1402
|
if (K) {
|
|
1403
1403
|
let p = (u = (H = W.value) == null ? void 0 : H.find((S) => (S == null ? void 0 : S.isMainKey) === !0)) == null ? void 0 : u.prop;
|
|
1404
1404
|
O = l == null ? void 0 : l[p];
|
|
1405
|
-
let $ = g == null ? void 0 : g.split(
|
|
1405
|
+
let $ = g == null ? void 0 : g.split(Ne), C = [];
|
|
1406
1406
|
$ == null || $.forEach((S, I) => {
|
|
1407
1407
|
($ == null ? void 0 : $.length) - 1 === I && C.push(O), C.push(S);
|
|
1408
1408
|
}), C = C == null ? void 0 : C[0];
|
|
@@ -1544,15 +1544,15 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
1544
1544
|
}
|
|
1545
1545
|
);
|
|
1546
1546
|
} else if (e === "复制新增") {
|
|
1547
|
-
|
|
1547
|
+
ll.value = "新增";
|
|
1548
1548
|
const F = Q(l), M = (r = W.value) == null ? void 0 : r.find((v) => v == null ? void 0 : v.isMainKey), m = M || ((i = W.value) == null ? void 0 : i[0]), U = (t = kl.value) == null ? void 0 : t.find((v) => (v == null ? void 0 : v.label) === "新建");
|
|
1549
1549
|
await _a(!0, U, { data: F, firstCol: m });
|
|
1550
1550
|
} else if (e === "新增")
|
|
1551
|
-
|
|
1551
|
+
ll.value = "新增", Jl(""), dl.value = !0;
|
|
1552
1552
|
else if (e === "编辑")
|
|
1553
|
-
|
|
1553
|
+
ll.value = "编辑", Jl(l), dl.value = !0;
|
|
1554
1554
|
else if (e === "查看")
|
|
1555
|
-
|
|
1555
|
+
ll.value = "查看", Jl(l), ea.value = !1, Il.value = !1, dl.value = !0;
|
|
1556
1556
|
else if (e === "查看三维模型") {
|
|
1557
1557
|
const F = {};
|
|
1558
1558
|
for (let m in l)
|
|
@@ -1560,7 +1560,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
1560
1560
|
let M = (c = Object.values(F)) == null ? void 0 : c[1];
|
|
1561
1561
|
tr.setTableShowThree(M);
|
|
1562
1562
|
} else if (((d = n == null ? void 0 : n.extra) == null ? void 0 : d.type) === "modelExample")
|
|
1563
|
-
|
|
1563
|
+
ll.value = e, Vl.value = !0;
|
|
1564
1564
|
else if (e === "新建") {
|
|
1565
1565
|
let F = Ul.value, M = [];
|
|
1566
1566
|
for (let h in F)
|
|
@@ -1577,7 +1577,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
1577
1577
|
await _a(!1, x);
|
|
1578
1578
|
} else if (e === "修改模板") {
|
|
1579
1579
|
let F = Q(Se).value;
|
|
1580
|
-
Ee.setRouteToChildPath(F), Fe.setActiveMenuPath(F +
|
|
1580
|
+
Ee.setRouteToChildPath(F), Fe.setActiveMenuPath(F + Ne);
|
|
1581
1581
|
} else if (e === "执行")
|
|
1582
1582
|
qr(e, l);
|
|
1583
1583
|
else if (e != null && e.includes("导出")) {
|
|
@@ -1611,10 +1611,10 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
1611
1611
|
var n, a, r, i, t, c, d, f, A, L, K, g, O, j, D, z, F, M, m, U;
|
|
1612
1612
|
try {
|
|
1613
1613
|
let v, x;
|
|
1614
|
-
const h = (n = Ul.value[Se.value +
|
|
1614
|
+
const h = (n = Ul.value[Se.value + Ne]) == null ? void 0 : n.filter((p) => {
|
|
1615
1615
|
var $;
|
|
1616
1616
|
return (($ = p == null ? void 0 : p.key) == null ? void 0 : $.type) === "structureMethod";
|
|
1617
|
-
}), H = (a = Ul.value[Se.value +
|
|
1617
|
+
}), H = (a = Ul.value[Se.value + Ne]) == null ? void 0 : a.filter((p) => {
|
|
1618
1618
|
var $;
|
|
1619
1619
|
return (($ = p == null ? void 0 : p.key) == null ? void 0 : $.type) === "structure";
|
|
1620
1620
|
}), u = h == null ? void 0 : h.find((p) => {
|
|
@@ -1656,7 +1656,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
1656
1656
|
})
|
|
1657
1657
|
}, _ = {
|
|
1658
1658
|
key: {
|
|
1659
|
-
pageKey: Se.value +
|
|
1659
|
+
pageKey: Se.value + Ne,
|
|
1660
1660
|
parentTable: "",
|
|
1661
1661
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
1662
1662
|
type: "structure"
|
|
@@ -1700,7 +1700,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
1700
1700
|
}), Yr = X(["系统自动生成信息", "审批意见"]), Zr = async (e, l, n) => {
|
|
1701
1701
|
var d, f;
|
|
1702
1702
|
let a = e == null ? void 0 : e[l == null ? void 0 : l.prop], r = 1, i, t;
|
|
1703
|
-
const c = Q(Se).value +
|
|
1703
|
+
const c = Q(Se).value + Ne + a;
|
|
1704
1704
|
if (c) {
|
|
1705
1705
|
zl.value = "", i = (d = Ul.value[c]) == null ? void 0 : d.filter((K) => {
|
|
1706
1706
|
var g;
|
|
@@ -1728,7 +1728,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
1728
1728
|
var t, c, d, f, A, L, K, g;
|
|
1729
1729
|
let a, r;
|
|
1730
1730
|
const i = await Zr(n == null ? void 0 : n.data, n == null ? void 0 : n.firstCol);
|
|
1731
|
-
if (e ? (a = Q(Se).value +
|
|
1731
|
+
if (e ? (a = Q(Se).value + Ne + ((f = n == null ? void 0 : n.data) == null ? void 0 : f[(d = n == null ? void 0 : n.firstCol) == null ? void 0 : d.prop]), r = Q(Se).value + Ne + i) : (a = Q(Se).value + Ne, r = Q(a) + `loading${((t = El.value) == null ? void 0 : t.account) || ((c = El.value) == null ? void 0 : c.账号)}`), l) {
|
|
1732
1732
|
const O = (L = (A = Ul.value[r]) == null ? void 0 : A.filter((j) => {
|
|
1733
1733
|
var D;
|
|
1734
1734
|
return ((D = j == null ? void 0 : j.key) == null ? void 0 : D.parentTable) === "";
|
|
@@ -1765,6 +1765,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
1765
1765
|
de.value = !1, Bl.value = [], He.value = !1;
|
|
1766
1766
|
}, Jl = (e) => {
|
|
1767
1767
|
var t, c, d, f, A, L, K, g, O, j, D, z, F, M, m, U, v, x, h, H;
|
|
1768
|
+
Le.value = [];
|
|
1768
1769
|
const l = [];
|
|
1769
1770
|
let n = [];
|
|
1770
1771
|
for (let u in e)
|
|
@@ -1809,11 +1810,11 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
1809
1810
|
}));
|
|
1810
1811
|
}), e === "" || !e || (cl.value = (e == null ? void 0 : e.id) ?? "");
|
|
1811
1812
|
let a = Hl((d = Q(W.value)) == null ? void 0 : d.filter((u) => (u == null ? void 0 : u.label) !== "操作"));
|
|
1812
|
-
|
|
1813
|
+
al.value && ((f = al.value) == null ? void 0 : f.length) > 0 && (al.value = (A = Q(al).value) == null ? void 0 : A.map((u) => {
|
|
1813
1814
|
var J;
|
|
1814
1815
|
let N = (u == null ? void 0 : u.prop) || ((J = a == null ? void 0 : a.find((y) => (y == null ? void 0 : y.label) === (u == null ? void 0 : u.label))) == null ? void 0 : J.prop);
|
|
1815
1816
|
return N && (u.value = e[N]), u;
|
|
1816
|
-
})),
|
|
1817
|
+
})), Le.value = al.value && ((L = al.value) == null ? void 0 : L.length) > 0 ? Dn(al.value) : l;
|
|
1817
1818
|
let r = [], i = (K = o.itemData) == null ? void 0 : K.filter((u) => (u == null ? void 0 : u.key) === "filterAllType");
|
|
1818
1819
|
if ((i == null ? void 0 : i.length) > 0 && (r = (i == null ? void 0 : i.map((N) => N == null ? void 0 : N.value)).flat()), (r == null ? void 0 : r.length) > 0) {
|
|
1819
1820
|
let u = r == null ? void 0 : r.find((J) => {
|
|
@@ -1824,7 +1825,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
1824
1825
|
let J = (j = (O = (g = u == null ? void 0 : u.content) == null ? void 0 : g.replace(":", tl)) == null ? void 0 : O.split(tl)) == null ? void 0 : j[1];
|
|
1825
1826
|
if (((D = J == null ? void 0 : J.trim()) == null ? void 0 : D.toUpperCase()) === "MANUAL") {
|
|
1826
1827
|
let y = (U = (m = (z = o.itemData) == null ? void 0 : z.filter((_) => (_ == null ? void 0 : _.key) === "contentTableId")) == null ? void 0 : m[((M = (F = o.itemData) == null ? void 0 : F.filter((_) => (_ == null ? void 0 : _.key) === "contentTableId")) == null ? void 0 : M.length) - 1]) == null ? void 0 : U.contents;
|
|
1827
|
-
|
|
1828
|
+
Le.value = (v = Le.value) == null ? void 0 : v.map((_, b) => {
|
|
1828
1829
|
var p, $, C, oe, Y, S, I, E, R, ne, Z;
|
|
1829
1830
|
return (p = _ == null ? void 0 : _.optionUrl) != null && p.menuId && (_.type = "Select", ($ = _ == null ? void 0 : _.optionUrl) != null && $.menuId ? (_.optionUrl.menuId = y, _.optionUrl.menuFilter = r, _.optionUrl.multiple = (Y = (oe = (C = r == null ? void 0 : r.find((k) => {
|
|
1830
1831
|
var s;
|
|
@@ -1842,13 +1843,13 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
1842
1843
|
});
|
|
1843
1844
|
}
|
|
1844
1845
|
}
|
|
1845
|
-
let N = (x =
|
|
1846
|
+
let N = (x = Le.value) == null ? void 0 : x.filter((J) => {
|
|
1846
1847
|
var y, _;
|
|
1847
1848
|
return ((y = J == null ? void 0 : J.optionUrl) == null ? void 0 : y.menuId) && ((_ = J == null ? void 0 : J.optionUrl) == null ? void 0 : _.menuId) !== "";
|
|
1848
1849
|
});
|
|
1849
1850
|
if ((N == null ? void 0 : N.length) > 1) {
|
|
1850
1851
|
let J = 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), _ = N == null ? void 0 : N.map((p) => p == null ? void 0 : p.value), b = (h = Q(N)) == null ? void 0 : h[0];
|
|
1851
|
-
b.label = y == null ? void 0 : y.join("·"), b.value = _ == null ? void 0 : _.join(" "), b.value.trim() === "" && (b.value = ""), b.prop = J == null ? void 0 : J.join("·"), b.usingType = "parent",
|
|
1852
|
+
b.label = y == null ? void 0 : y.join("·"), b.value = _ == null ? void 0 : _.join(" "), b.value.trim() === "" && (b.value = ""), b.prop = J == null ? void 0 : J.join("·"), b.usingType = "parent", Le.value.unshift(b), Le.value = (H = Le.value) == null ? void 0 : H.map((p) => (J != null && J.find(($) => $ === (p == null ? void 0 : p.prop)) && (p.isFormColHidden = !0), p));
|
|
1852
1853
|
}
|
|
1853
1854
|
}
|
|
1854
1855
|
}, Vr = () => {
|
|
@@ -1967,7 +1968,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
1967
1968
|
i = (L = Ua(i, a)) == null ? void 0 : L.newContents, r = (K = Ua(i, a)) == null ? void 0 : K.currentSelectContents;
|
|
1968
1969
|
const t = (g = o.itemData) == null ? void 0 : g.filter((E) => (E == null ? void 0 : E.key) === "childTree")[0];
|
|
1969
1970
|
if (((O = t == null ? void 0 : t.contents) == null ? void 0 : O.length) > 0) {
|
|
1970
|
-
|
|
1971
|
+
ll.value = "编辑";
|
|
1971
1972
|
const E = [];
|
|
1972
1973
|
i == null || i.forEach((R, ne) => {
|
|
1973
1974
|
var k;
|
|
@@ -1975,16 +1976,16 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
1975
1976
|
if (Array.isArray(R)) {
|
|
1976
1977
|
let s = [];
|
|
1977
1978
|
R == null || R.filter((ce) => !(ce != null && ce.id)).forEach((ce, pe) => {
|
|
1978
|
-
var ie, xe, _e, Ke, Xe,
|
|
1979
|
+
var ie, xe, _e, Ke, Xe, Pe, ze;
|
|
1979
1980
|
if ((xe = (ie = ol.value) == null ? void 0 : ie[pe]) != null && xe.prop && !Array.isArray(ce)) {
|
|
1980
|
-
let
|
|
1981
|
-
|
|
1981
|
+
let rl = {};
|
|
1982
|
+
rl[ol.value[pe].column] = ce, me != null && me.value && ((_e = me == null ? void 0 : me.value) == null ? void 0 : _e.length) > 0 && ((Ke = me == null ? void 0 : me.value) != null && Ke.find((Me) => JSON.stringify(Me == null ? void 0 : Me[0]) === JSON.stringify(rl))) && (s = (Xe = me == null ? void 0 : me.value) == null ? void 0 : Xe.find((Me) => JSON.stringify(Me == null ? void 0 : Me[0]) === JSON.stringify(rl))), s && s.length > 0 ? Z[ol.value[pe].prop] = s != null && s.find((Me) => {
|
|
1982
1983
|
var Qe;
|
|
1983
1984
|
return ((Qe = Object.keys(Me)) == null ? void 0 : Qe[0]) === ol.value[pe].column;
|
|
1984
|
-
}) ? (
|
|
1985
|
+
}) ? (Pe = s == null ? void 0 : s.find((Me) => {
|
|
1985
1986
|
var Qe;
|
|
1986
1987
|
return ((Qe = Object.keys(Me)) == null ? void 0 : Qe[0]) === ol.value[pe].column;
|
|
1987
|
-
})) == null ? void 0 :
|
|
1988
|
+
})) == null ? void 0 : Pe[ol.value[pe].column] : ce : Z[ol.value[pe].prop] = ce;
|
|
1988
1989
|
} else Array.isArray(ce) && ((ze = ol.value[pe]) != null && ze.prop ? Z[ol.value[pe].prop] = ce : Z.children = ya(ce, ol.value));
|
|
1989
1990
|
});
|
|
1990
1991
|
} else
|
|
@@ -2020,7 +2021,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2020
2021
|
content: c,
|
|
2021
2022
|
singleContent: ((x = t == null ? void 0 : t.contents) == null ? void 0 : x.length) > 0 ? fa(r) : r,
|
|
2022
2023
|
index: o == null ? void 0 : o.index,
|
|
2023
|
-
buttonName:
|
|
2024
|
+
buttonName: ll.value,
|
|
2024
2025
|
column: W.value,
|
|
2025
2026
|
parentTableId: o == null ? void 0 : o.parentTableId,
|
|
2026
2027
|
filter: E,
|
|
@@ -2029,7 +2030,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2029
2030
|
};
|
|
2030
2031
|
Ee.setTableLoading(o == null ? void 0 : o.index), dl.value = !1, Re.value = void 0, ee("change", ne);
|
|
2031
2032
|
}
|
|
2032
|
-
if ((J = (N = (u =
|
|
2033
|
+
if ((J = (N = (u = Le.value) == null ? void 0 : u[0]) == null ? void 0 : N.optionUrl) != null && J.menuId) {
|
|
2033
2034
|
dl.value = !1;
|
|
2034
2035
|
let E = (y = o.itemData) == null ? void 0 : y.filter((R) => (R == null ? void 0 : R.key) === "filterAllType");
|
|
2035
2036
|
if ((E == null ? void 0 : E.length) > 0) {
|
|
@@ -2045,7 +2046,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2045
2046
|
}
|
|
2046
2047
|
};
|
|
2047
2048
|
hn(() => {
|
|
2048
|
-
W.value = [], ae.value = [], Ve.value = [],
|
|
2049
|
+
W.value = [], ae.value = [], Ve.value = [], Be.value = [], al.value = [], bl.value = [], Bl.value = [], Ol.value = [], Le.value = [], il.value = [], P.value = null;
|
|
2049
2050
|
});
|
|
2050
2051
|
const Oa = async (e, l, n) => {
|
|
2051
2052
|
var f, A, L, K, g, O, j, D, z, F, M;
|
|
@@ -2068,7 +2069,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2068
2069
|
} : null, v;
|
|
2069
2070
|
})), m;
|
|
2070
2071
|
});
|
|
2071
|
-
let i = Q(
|
|
2072
|
+
let i = Q(Le.value), t = (A = (f = Q(r)) == null ? void 0 : f.find((m) => (m == null ? void 0 : m.key) === "header")) == null ? void 0 : A.contents;
|
|
2072
2073
|
i = i == null ? void 0 : i.map((m) => {
|
|
2073
2074
|
var U;
|
|
2074
2075
|
return m.value = (U = t == null ? void 0 : t.find((v, x) => x === (m == null ? void 0 : m.id))) == null ? void 0 : U.value, m;
|
|
@@ -2130,20 +2131,20 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2130
2131
|
var _;
|
|
2131
2132
|
return (y == null ? void 0 : y.key) === "header" && ((_ = y.contents) == null || _.map((b, p) => {
|
|
2132
2133
|
var $, C, oe, Y, S, I, E, R, ne, Z, k, s, ce, pe, ie, xe, _e, Ke, Xe;
|
|
2133
|
-
return b.type = b != null && b.type ? b.type : (Y = (oe = (C = ($ = b == null ? void 0 : b.key) == null ? void 0 : $.split("$")) == null ? void 0 : C[1]) == null ? void 0 : oe.split("(")) != null && Y[0] ? (I = (S = Ha) == null ? void 0 : S.find((
|
|
2134
|
-
var ze,
|
|
2135
|
-
return (
|
|
2136
|
-
})) == null ? void 0 : I.value : "Input", b.options = b != null && b.options ? b.options : ((ne = (R = (E = b == null ? void 0 : b.key) == null ? void 0 : E.split("$")) == null ? void 0 : R[1]) == null ? void 0 : ne.length) > 0 ? (ce = (s = Va((k = (Z = b == null ? void 0 : b.key) == null ? void 0 : Z.split("$")) == null ? void 0 : k[1])) == null ? void 0 : s.split(",")) == null ? void 0 : ce.map((
|
|
2137
|
-
label:
|
|
2138
|
-
value:
|
|
2134
|
+
return b.type = b != null && b.type ? b.type : (Y = (oe = (C = ($ = b == null ? void 0 : b.key) == null ? void 0 : $.split("$")) == null ? void 0 : C[1]) == null ? void 0 : oe.split("(")) != null && Y[0] ? (I = (S = Ha) == null ? void 0 : S.find((Pe) => {
|
|
2135
|
+
var ze, rl, Me, Qe;
|
|
2136
|
+
return (Pe == null ? void 0 : Pe.key) === ((Qe = (Me = (rl = (ze = b == null ? void 0 : b.key) == null ? void 0 : ze.split("$")) == null ? void 0 : rl[1]) == null ? void 0 : Me.split("(")) == null ? void 0 : Qe[0]);
|
|
2137
|
+
})) == null ? void 0 : I.value : "Input", b.options = b != null && b.options ? b.options : ((ne = (R = (E = b == null ? void 0 : b.key) == null ? void 0 : E.split("$")) == null ? void 0 : R[1]) == null ? void 0 : ne.length) > 0 ? (ce = (s = Va((k = (Z = b == null ? void 0 : b.key) == null ? void 0 : Z.split("$")) == null ? void 0 : k[1])) == null ? void 0 : s.split(",")) == null ? void 0 : ce.map((Pe) => ({
|
|
2138
|
+
label: Pe,
|
|
2139
|
+
value: Pe
|
|
2139
2140
|
})) : [], (pe = b == null ? void 0 : b.key) != null && pe.includes("$") && (b.key = (xe = (ie = b == null ? void 0 : b.key) == null ? void 0 : ie.split("$")) == null ? void 0 : xe[0]), b.value = (_e = Object.values(e)) == null ? void 0 : _e[p], b.optionUrl = b != null && b.formMenuSelect && ((Ke = b == null ? void 0 : b.formMenuSelect) == null ? void 0 : Ke.length) > 0 ? {
|
|
2140
|
-
groupSelect: (Xe = b == null ? void 0 : b.groupSelect) == null ? void 0 : Xe.split(/[::]/).map((
|
|
2141
|
+
groupSelect: (Xe = b == null ? void 0 : b.groupSelect) == null ? void 0 : Xe.split(/[::]/).map((Pe) => Pe.trim()),
|
|
2141
2142
|
menuSelect: b == null ? void 0 : b.formMenuSelect,
|
|
2142
2143
|
selectRelateType: "",
|
|
2143
2144
|
type: (b == null ? void 0 : b.formType) ?? (b != null && b.groupSelect ? "Select" : "")
|
|
2144
2145
|
} : null, b;
|
|
2145
2146
|
})), y;
|
|
2146
|
-
}), a =
|
|
2147
|
+
}), a = Le.value, r = (K = (L = Q(n)) == null ? void 0 : L.find((y) => (y == null ? void 0 : y.key) === "header")) == null ? void 0 : K.contents;
|
|
2147
2148
|
if (r = r == null ? void 0 : r.filter((y) => (y == null ? void 0 : y.label) !== "操作"), r.push({
|
|
2148
2149
|
label: "操作",
|
|
2149
2150
|
type: "operate"
|
|
@@ -2165,8 +2166,8 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2165
2166
|
f = f == null ? void 0 : f.map((y) => {
|
|
2166
2167
|
var _, b;
|
|
2167
2168
|
return (y == null ? void 0 : y.type) === "Select" && ((b = (_ = y == null ? void 0 : y.optionUrl) == null ? void 0 : _.allSelectionContents) == null ? void 0 : b.length) > 0 && (y.optionUrl.contactValue = e), y.value = e == null ? void 0 : e[y == null ? void 0 : y.prop], y;
|
|
2168
|
-
}),
|
|
2169
|
-
let A = (H = (h = (x =
|
|
2169
|
+
}), Le.value = Q(f);
|
|
2170
|
+
let A = (H = (h = (x = Le.value) == null ? void 0 : x.find((y) => {
|
|
2170
2171
|
var _;
|
|
2171
2172
|
return (_ = y == null ? void 0 : y.optionUrl) == null ? void 0 : _.menuId;
|
|
2172
2173
|
})) == null ? void 0 : h.optionUrl) == null ? void 0 : H.menuId;
|
|
@@ -2175,7 +2176,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2175
2176
|
if ((N = t == null ? void 0 : t.optionUrl) == null || N.menuSelect, y == null || y.forEach((b) => {
|
|
2176
2177
|
var p, $, C, oe, Y, S, I, E, R, ne, Z, k, s, ce, pe;
|
|
2177
2178
|
if (i === (($ = (p = t == null ? void 0 : t.optionUrl) == null ? void 0 : p.groupSelect) == null ? void 0 : $[1]) && ((Y = (oe = (C = t == null ? void 0 : t.optionUrl) == null ? void 0 : C.groupSelect) == null ? void 0 : oe[1]) != null && Y.includes("[")) && ((ne = Q(b)) == null ? void 0 : ne[(R = (E = (I = (S = t == null ? void 0 : t.optionUrl) == null ? void 0 : S.groupSelect) == null ? void 0 : I[1]) == null ? void 0 : E.replaceAll("[", "")) == null ? void 0 : R.replaceAll("]", "")]) === (t == null ? void 0 : t.value) && (_ = b), A) {
|
|
2178
|
-
let ie = (k = (Z =
|
|
2179
|
+
let ie = (k = (Z = Le.value) == null ? void 0 : Z.find((_e) => {
|
|
2179
2180
|
var Ke;
|
|
2180
2181
|
return (Ke = _e == null ? void 0 : _e.optionUrl) == null ? void 0 : Ke.menuId;
|
|
2181
2182
|
})) == null ? void 0 : k.prop, xe = e[ie];
|
|
@@ -2185,8 +2186,8 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2185
2186
|
let b = Q(a);
|
|
2186
2187
|
b = b == null ? void 0 : b.map((C) => {
|
|
2187
2188
|
var oe, Y, S, I, E, R, ne, Z, k, s, ce, pe, ie, xe, _e, Ke, Xe;
|
|
2188
|
-
return (_ != null && _[C == null ? void 0 : C.prop] || _ != null && _[(I = (S = (Y = (oe = C == null ? void 0 : C.optionUrl) == null ? void 0 : oe.groupSelect) == null ? void 0 : Y[1]) == null ? void 0 : S.replaceAll("[", "")) == null ? void 0 : I.replaceAll("]", "")]) && ((ne = (R = (E = C == null ? void 0 : C.optionUrl) == null ? void 0 : E.groupSelect) == null ? void 0 : R[1]) != null && ne.includes("[")) && (C != null && C.relatedValueId) && (C.value = (_ == null ? void 0 : _[C == null ? void 0 : C.prop]) || (_ == null ? void 0 : _[(ce = (s = (k = (Z = C == null ? void 0 : C.optionUrl) == null ? void 0 : Z.groupSelect) == null ? void 0 : k[1]) == null ? void 0 : s.replaceAll("[", "")) == null ? void 0 : ce.replaceAll("]", "")])), A && (_ != null && _[C == null ? void 0 : C.prop]) && (C != null && C.relatedValueId) ? C.value = (_ == null ? void 0 : _[C == null ? void 0 : C.prop]) || (_ == null ? void 0 : _[(_e = (xe = (ie = (pe = C == null ? void 0 : C.optionUrl) == null ? void 0 : pe.groupSelect) == null ? void 0 : ie[1]) == null ? void 0 : xe.replaceAll("[", "")) == null ? void 0 : _e.replaceAll("]", "")]) : C.value = (Xe = (Ke =
|
|
2189
|
-
}),
|
|
2189
|
+
return (_ != null && _[C == null ? void 0 : C.prop] || _ != null && _[(I = (S = (Y = (oe = C == null ? void 0 : C.optionUrl) == null ? void 0 : oe.groupSelect) == null ? void 0 : Y[1]) == null ? void 0 : S.replaceAll("[", "")) == null ? void 0 : I.replaceAll("]", "")]) && ((ne = (R = (E = C == null ? void 0 : C.optionUrl) == null ? void 0 : E.groupSelect) == null ? void 0 : R[1]) != null && ne.includes("[")) && (C != null && C.relatedValueId) && (C.value = (_ == null ? void 0 : _[C == null ? void 0 : C.prop]) || (_ == null ? void 0 : _[(ce = (s = (k = (Z = C == null ? void 0 : C.optionUrl) == null ? void 0 : Z.groupSelect) == null ? void 0 : k[1]) == null ? void 0 : s.replaceAll("[", "")) == null ? void 0 : ce.replaceAll("]", "")])), A && (_ != null && _[C == null ? void 0 : C.prop]) && (C != null && C.relatedValueId) && ll.value === "新增" ? C.value = (_ == null ? void 0 : _[C == null ? void 0 : C.prop]) || (_ == null ? void 0 : _[(_e = (xe = (ie = (pe = C == null ? void 0 : C.optionUrl) == null ? void 0 : pe.groupSelect) == null ? void 0 : ie[1]) == null ? void 0 : xe.replaceAll("[", "")) == null ? void 0 : _e.replaceAll("]", "")]) : C.value = (Xe = (Ke = Le.value) == null ? void 0 : Ke.find((Pe) => (Pe == null ? void 0 : Pe.prop) === (C == null ? void 0 : C.prop))) == null ? void 0 : Xe.value, C;
|
|
2190
|
+
}), Le.value = Q(b);
|
|
2190
2191
|
let p = Q(b);
|
|
2191
2192
|
p = p == null ? void 0 : p.map((C) => {
|
|
2192
2193
|
var oe, Y, S, I, E, R;
|
|
@@ -2198,9 +2199,9 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2198
2199
|
}
|
|
2199
2200
|
return ne;
|
|
2200
2201
|
})), C;
|
|
2201
|
-
}),
|
|
2202
|
+
}), Le.value = p;
|
|
2202
2203
|
let $ = {};
|
|
2203
|
-
(J =
|
|
2204
|
+
(J = Le.value) == null || J.forEach((C) => {
|
|
2204
2205
|
$[C.prop] = C == null ? void 0 : C.value;
|
|
2205
2206
|
}), Re.value = $;
|
|
2206
2207
|
}
|
|
@@ -2208,7 +2209,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2208
2209
|
Fl.value = !1;
|
|
2209
2210
|
}, an = (e) => e ? (e == null ? void 0 : e.toUpperCase()) === "INPUT" ? "TEXTAREA" : e : "TEXTAREA", rn = (e) => {
|
|
2210
2211
|
var i, t;
|
|
2211
|
-
const l = (t = (i =
|
|
2212
|
+
const l = (t = (i = al.value) == null ? void 0 : i.find((c) => (c == null ? void 0 : c.label) === (e == null ? void 0 : e.label))) == null ? void 0 : t.multiple, n = e == null ? void 0 : e.prop;
|
|
2212
2213
|
if ((e == null ? void 0 : e.formType) != "Select")
|
|
2213
2214
|
return;
|
|
2214
2215
|
ae.value.forEach((c) => {
|
|
@@ -2223,12 +2224,12 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2223
2224
|
}, ha = (e) => {
|
|
2224
2225
|
var n, a, r, i, t, c;
|
|
2225
2226
|
Jl("");
|
|
2226
|
-
const l = (n =
|
|
2227
|
+
const l = (n = Le.value) == null ? void 0 : n.reduce((d, f) => (d[f.name] = f.value, d), {});
|
|
2227
2228
|
if (((a = Object.keys(l)) == null ? void 0 : a.length) > 0) {
|
|
2228
2229
|
Re.value = l, cl.value = "", Dl.value = (r = ae.value) == null ? void 0 : r.length, Ol.value = (i = kl.value) == null ? void 0 : i.filter((f) => (f == null ? void 0 : f.label) !== "新增");
|
|
2229
2230
|
const d = (c = (t = Ve.value) == null ? void 0 : t.filter((f) => (f == null ? void 0 : f.label) !== "操作")) == null ? void 0 : c.map((f) => {
|
|
2230
2231
|
var L, K, g;
|
|
2231
|
-
const A = (K = (L =
|
|
2232
|
+
const A = (K = (L = al.value) == null ? void 0 : L.find((O) => (O == null ? void 0 : O.label) === (f == null ? void 0 : f.label))) == null ? void 0 : K.multiple;
|
|
2232
2233
|
return rn(f), {
|
|
2233
2234
|
...f,
|
|
2234
2235
|
contents: (f == null ? void 0 : f.options) ?? [],
|
|
@@ -2289,7 +2290,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2289
2290
|
const a = e == null ? void 0 : e.filter((S) => (S == null ? void 0 : S.key) === "childTree")[0];
|
|
2290
2291
|
let r = l;
|
|
2291
2292
|
const i = e == null ? void 0 : e.find((S) => (S == null ? void 0 : S.key) === "page"), t = e == null ? void 0 : e.find((S) => (S == null ? void 0 : S.key) === "rowButton"), c = e == null ? void 0 : e.find((S) => (S == null ? void 0 : S.key) === "extraButton"), d = e == null ? void 0 : e.filter((S) => (S == null ? void 0 : S.key) === "tableContents"), f = e == null ? void 0 : e.filter((S) => (S == null ? void 0 : S.key) === "tableIndex");
|
|
2292
|
-
|
|
2293
|
+
al.value = (g = (K = e == null ? void 0 : e.filter((S) => (S == null ? void 0 : S.key) === "tableToForm")) == null ? void 0 : K[0]) == null ? void 0 : g.contents, ba.value = (i == null ? void 0 : i.contents) ?? !0;
|
|
2293
2294
|
let A = [];
|
|
2294
2295
|
Sl.value === "" ? A = n == null ? void 0 : n[0] : A = (n == null ? void 0 : n.find((S) => (S == null ? void 0 : S.selectLabel) === "(" + Sl.value + ")")) ?? (n == null ? void 0 : n.find((S) => !(S != null && S.selectLabel)));
|
|
2295
2296
|
let L = [];
|
|
@@ -2300,16 +2301,16 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2300
2301
|
else {
|
|
2301
2302
|
let k = A != null && A.contents.some((s) => Array.isArray(s)) ? (F = A == null ? void 0 : A.contents) == null ? void 0 : F[0] : A == null ? void 0 : A.contents;
|
|
2302
2303
|
k == null || k.forEach((s, ce) => {
|
|
2303
|
-
var xe, _e, Ke, Xe,
|
|
2304
|
+
var xe, _e, Ke, Xe, Pe;
|
|
2304
2305
|
let pe = "";
|
|
2305
2306
|
(_e = (xe = Se.value) == null ? void 0 : xe.split("/")) == null || _e.forEach((ze) => {
|
|
2306
|
-
var
|
|
2307
|
+
var rl, Me, Qe;
|
|
2307
2308
|
if (ze !== "") {
|
|
2308
|
-
let Ye = (Qe = (Me = (
|
|
2309
|
+
let Ye = (Qe = (Me = (rl = ze == null ? void 0 : ze.split(Ne + "updateLoading")) == null ? void 0 : rl[0]) == null ? void 0 : Me.split(Ne + "loading")) == null ? void 0 : Qe[0];
|
|
2309
2310
|
pe = pe === "" ? pe + Ye : pe + "/" + Ye;
|
|
2310
2311
|
}
|
|
2311
|
-
}), pe = pe +
|
|
2312
|
-
const ie = (Ke =
|
|
2312
|
+
}), pe = pe + Ne + (s == null ? void 0 : s.directiveLabel);
|
|
2313
|
+
const ie = (Ke = al.value) == null ? void 0 : Ke.find((ze) => (ze == null ? void 0 : ze.prop) === (s == null ? void 0 : s.prop));
|
|
2313
2314
|
S.push({
|
|
2314
2315
|
label: (s == null ? void 0 : s.label) ?? "",
|
|
2315
2316
|
prop: (s == null ? void 0 : s.label) === "操作" ? "operate" : (s == null ? void 0 : s.prop) ?? "a" + ce,
|
|
@@ -2341,7 +2342,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2341
2342
|
columnType: (ie == null ? void 0 : ie.type) || (s == null ? void 0 : s.columnType) || "TEXTAREA",
|
|
2342
2343
|
directiveLabel: s == null ? void 0 : s.directiveLabel,
|
|
2343
2344
|
directiveColor: (s == null ? void 0 : s.directiveColor) ?? !1,
|
|
2344
|
-
isExistChild: !!(s != null && s.directiveLabel && !(r != null && r[pe]) && !((
|
|
2345
|
+
isExistChild: !!(s != null && s.directiveLabel && !(r != null && r[pe]) && !((Pe = s == null ? void 0 : s.directiveLabel) != null && Pe.includes("@")) && (s == null ? void 0 : s.directiveLabel) !== "#isMain"),
|
|
2345
2346
|
childPath: (s == null ? void 0 : s.directiveLabel) !== "#isMain" ? pe : void 0,
|
|
2346
2347
|
allSelectionContents: (s == null ? void 0 : s.allSelectionContents) ?? [],
|
|
2347
2348
|
selectFilter: s == null ? void 0 : s.selectFilter,
|
|
@@ -2351,7 +2352,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2351
2352
|
});
|
|
2352
2353
|
});
|
|
2353
2354
|
}
|
|
2354
|
-
W.value = Ga(S),
|
|
2355
|
+
W.value = Ga(S), Be.value = Ga(S), le.value = (M = W.value) == null ? void 0 : M.map((k) => k == null ? void 0 : k.label), yl.value = (m = W.value) == null ? void 0 : m.every((k) => k == null ? void 0 : k.filterable), ge.value = (U = W.value) == null ? void 0 : U.every((k) => k == null ? void 0 : k.operable), gl.value = (v = W.value) == null ? void 0 : v.every((k) => k == null ? void 0 : k.sortable);
|
|
2355
2356
|
let I = (h = (x = Un(W.value)) == null ? void 0 : x.filter((k) => (k == null ? void 0 : k.type) !== "operate")) == null ? void 0 : h.map((k, s) => ({
|
|
2356
2357
|
prop: (k == null ? void 0 : k.prop) ?? "a" + s,
|
|
2357
2358
|
column: k.label
|
|
@@ -2378,16 +2379,16 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2378
2379
|
if (Array.isArray(k)) {
|
|
2379
2380
|
let ie = [];
|
|
2380
2381
|
k == null || k.filter((xe) => !(xe != null && xe.id)).forEach((xe, _e) => {
|
|
2381
|
-
var Ke, Xe,
|
|
2382
|
+
var Ke, Xe, Pe, ze, rl, Me;
|
|
2382
2383
|
if ((Ke = I == null ? void 0 : I[_e]) != null && Ke.prop && !Array.isArray(xe)) {
|
|
2383
2384
|
let Qe = {};
|
|
2384
|
-
Qe[I[_e].column] = xe, me != null && me.value && ((Xe = me == null ? void 0 : me.value) == null ? void 0 : Xe.length) > 0 && ((
|
|
2385
|
+
Qe[I[_e].column] = xe, me != null && me.value && ((Xe = me == null ? void 0 : me.value) == null ? void 0 : Xe.length) > 0 && ((Pe = me == null ? void 0 : me.value) != null && Pe.find((Ye) => JSON.stringify(Ye == null ? void 0 : Ye[0]) === JSON.stringify(Qe))) && (ie = (ze = me == null ? void 0 : me.value) == null ? void 0 : ze.find((Ye) => JSON.stringify(Ye == null ? void 0 : Ye[0]) === JSON.stringify(Qe))), ie && ie.length > 0 ? ce[I[_e].prop] = ie != null && ie.find((Ye) => {
|
|
2385
2386
|
var Rl;
|
|
2386
2387
|
return ((Rl = Object.keys(Ye)) == null ? void 0 : Rl[0]) === I[_e].column;
|
|
2387
|
-
}) ? (
|
|
2388
|
+
}) ? (rl = ie == null ? void 0 : ie.find((Ye) => {
|
|
2388
2389
|
var Rl;
|
|
2389
2390
|
return ((Rl = Object.keys(Ye)) == null ? void 0 : Rl[0]) === I[_e].column;
|
|
2390
|
-
})) == null ? void 0 :
|
|
2391
|
+
})) == null ? void 0 : rl[I[_e].column] : xe : ce[I[_e].prop] = xe;
|
|
2391
2392
|
} else Array.isArray(xe) && ((Me = I[_e]) != null && Me.prop ? ce[I[_e].prop] = xe : ce.children = ya(xe, I));
|
|
2392
2393
|
});
|
|
2393
2394
|
} else
|
|
@@ -2431,7 +2432,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2431
2432
|
},
|
|
2432
2433
|
{ deep: !0, immediate: !0 }
|
|
2433
2434
|
), Ze(() => o == null ? void 0 : o.operatingForm, (e) => {
|
|
2434
|
-
e != null && e.form && (Jl(e == null ? void 0 : e.form),
|
|
2435
|
+
e != null && e.form && (Jl(e == null ? void 0 : e.form), ll.value = e == null ? void 0 : e.dialogTitle, ea.value = !0, dl.value = !0);
|
|
2435
2436
|
}, { immediate: !0, deep: !0 });
|
|
2436
2437
|
const Na = () => {
|
|
2437
2438
|
var e;
|
|
@@ -2447,7 +2448,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2447
2448
|
Ce.value = e, (e == null ? void 0 : e.length) === 0 ? sl.value = !1 : (e != null && e.includes("read") || (sl.value = !0), e != null && e.includes("edit") || (sl.value = !1)), ve.value = ((l = o == null ? void 0 : o.config) == null ? void 0 : l.showIndex) || sl.value;
|
|
2448
2449
|
}, { immediate: !0 }), Ze(() => sl.value, (e) => {
|
|
2449
2450
|
var l;
|
|
2450
|
-
e ? (ha("viewChange"), Ee.setCacheUpdatingData(null)) : (Ol.value = kl.value, W.value =
|
|
2451
|
+
e ? (ha("viewChange"), Ee.setCacheUpdatingData(null)) : (Ol.value = kl.value, W.value = Be.value, Nl.value && (Ee.setTableLoading(o == null ? void 0 : o.index), ee("change", Nl.value))), se.value = e, ve.value = e || ((l = o == null ? void 0 : o.config) == null ? void 0 : l.showIndex);
|
|
2451
2452
|
}, { immediate: !0 }), Ze(() => {
|
|
2452
2453
|
var e;
|
|
2453
2454
|
return (e = Sa.value) == null ? void 0 : e.length;
|
|
@@ -2472,7 +2473,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2472
2473
|
ha("createClick"), l === fe.pageSize && (fe.currentPage = Math.ceil(((n = ae.value) == null ? void 0 : n.length) / fe.pageSize));
|
|
2473
2474
|
}, sn = (e, l, n) => {
|
|
2474
2475
|
var a;
|
|
2475
|
-
Oa(n, e, l), Re.value = Q(e), cl.value = e == null ? void 0 : e.id, Dl.value = (a = ae.value) == null ? void 0 : a.length,
|
|
2476
|
+
Oa(n, e, l), Re.value = Q(e), cl.value = e == null ? void 0 : e.id, Dl.value = (a = ae.value) == null ? void 0 : a.length, ll.value = typeof (e == null ? void 0 : e.id) == "string" ? "新增" : "编辑", Wl(!1);
|
|
2476
2477
|
}, qe = (e) => {
|
|
2477
2478
|
var d, f, A, L, K, g, O, j, D, z;
|
|
2478
2479
|
const { row: l, column: n, item: a, slotData: r } = e;
|
|
@@ -2505,14 +2506,14 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2505
2506
|
var f, A, L, K;
|
|
2506
2507
|
const n = Ie("svg-icon"), a = Ie("el-popover"), r = Ie("el-switch"), i = Ie("el-checkbox"), t = Ie("el-checkbox-group"), c = Ie("el-button"), d = Ie("LookComponent");
|
|
2507
2508
|
return re(), ke("div", Su, [
|
|
2508
|
-
ka.value ? (re(),
|
|
2509
|
+
ka.value ? (re(), $e(wn, {
|
|
2509
2510
|
id: "excel-table",
|
|
2510
2511
|
pageObj: fe,
|
|
2511
2512
|
showIndex: ve.value,
|
|
2512
2513
|
isTree: (f = B.compItem) == null ? void 0 : f.isTree,
|
|
2513
2514
|
summaryInfo: Te,
|
|
2514
2515
|
columns: W.value,
|
|
2515
|
-
defaultSort:
|
|
2516
|
+
defaultSort: we,
|
|
2516
2517
|
isCardViewport: aa.value,
|
|
2517
2518
|
checkedColumns: le.value,
|
|
2518
2519
|
key: ta.value + JSON.stringify(W.value),
|
|
@@ -2543,10 +2544,10 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2543
2544
|
headerButton: V((g) => {
|
|
2544
2545
|
var O, j;
|
|
2545
2546
|
return [
|
|
2546
|
-
B.showHeader ? (re(),
|
|
2547
|
+
B.showHeader ? (re(), $e(ou, {
|
|
2547
2548
|
key: 0,
|
|
2548
2549
|
pageLayout: B.pageLayout,
|
|
2549
|
-
lockingPage:
|
|
2550
|
+
lockingPage: nl(Xl) === nl(Se),
|
|
2550
2551
|
filterValues: ma.value,
|
|
2551
2552
|
selectNums: (O = il.value) == null ? void 0 : O.length,
|
|
2552
2553
|
dataNums: (j = ae.value) == null ? void 0 : j.length,
|
|
@@ -2565,7 +2566,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2565
2566
|
var g, O, j, D;
|
|
2566
2567
|
return [
|
|
2567
2568
|
((g = ae.value) == null ? void 0 : g.length) > 0 && B.allowOperate ? (re(), ke("div", Au, [
|
|
2568
|
-
(O = Ce.value) != null && O.includes("read") && ((j = Ce.value) != null && j.includes("edit")) && ((D = bl.value) != null && D.some((z) => (z == null ? void 0 : z.label) === "编辑")) && !aa.value &&
|
|
2569
|
+
(O = Ce.value) != null && O.includes("read") && ((j = Ce.value) != null && j.includes("edit")) && ((D = bl.value) != null && D.some((z) => (z == null ? void 0 : z.label) === "编辑")) && !aa.value && nl(Xl) !== nl(Se) ? (re(), ke("span", {
|
|
2569
2570
|
key: 0,
|
|
2570
2571
|
title: "编辑表格",
|
|
2571
2572
|
onClick: Na
|
|
@@ -2717,7 +2718,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2717
2718
|
content: V((g) => {
|
|
2718
2719
|
var O, j, D, z, F, M, m, U, v, x, h, H, u, N, J, y, _, b;
|
|
2719
2720
|
return [
|
|
2720
|
-
tn(g) ? (re(),
|
|
2721
|
+
tn(g) ? (re(), $e(a, {
|
|
2721
2722
|
key: 0,
|
|
2722
2723
|
"popper-class": "file-popover",
|
|
2723
2724
|
placement: "right",
|
|
@@ -2761,7 +2762,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2761
2762
|
}),
|
|
2762
2763
|
_: 2
|
|
2763
2764
|
}, [
|
|
2764
|
-
((L = bl.value) == null ? void 0 : L.length) > 0 &&
|
|
2765
|
+
((L = bl.value) == null ? void 0 : L.length) > 0 && nl(Xl) !== nl(Se) ? {
|
|
2765
2766
|
name: "actions",
|
|
2766
2767
|
fn: V(({ item: g }) => [
|
|
2767
2768
|
te(a, {
|
|
@@ -2800,7 +2801,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2800
2801
|
name: "batchButton",
|
|
2801
2802
|
fn: V((g) => [
|
|
2802
2803
|
Ka(te(iu, {
|
|
2803
|
-
lockingPage:
|
|
2804
|
+
lockingPage: nl(Xl) === nl(Se),
|
|
2804
2805
|
buttons: g.buttons,
|
|
2805
2806
|
selectTableItems: il.value,
|
|
2806
2807
|
onButtonClick: l[2] || (l[2] = (O) => ua(O, "", {}))
|
|
@@ -2815,7 +2816,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2815
2816
|
} : void 0
|
|
2816
2817
|
]), 1032, ["pageObj", "showIndex", "isTree", "summaryInfo", "columns", "defaultSort", "isCardViewport", "checkedColumns", "tableData", "isEditViewport", "isShowPagination", "allowSelect", "extraButton", "rowButton", "cacheExtraButtons", "isClearSelection"])) : De("", !0),
|
|
2817
2818
|
te(Gl, {
|
|
2818
|
-
title:
|
|
2819
|
+
title: ll.value,
|
|
2819
2820
|
visible: dl.value,
|
|
2820
2821
|
width: gr.value,
|
|
2821
2822
|
onBeforeDestroy: Er,
|
|
@@ -2824,7 +2825,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2824
2825
|
default: V(() => [
|
|
2825
2826
|
ye("div", wu, [
|
|
2826
2827
|
te($l, {
|
|
2827
|
-
rowContents:
|
|
2828
|
+
rowContents: Le.value,
|
|
2828
2829
|
isEnableWrap: !1,
|
|
2829
2830
|
showOperator: !1,
|
|
2830
2831
|
onChange: ln,
|
|
@@ -2862,7 +2863,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2862
2863
|
_: 1
|
|
2863
2864
|
}, 8, ["title", "visible", "width"]),
|
|
2864
2865
|
te(Gl, {
|
|
2865
|
-
title:
|
|
2866
|
+
title: ll.value,
|
|
2866
2867
|
visible: Vl.value,
|
|
2867
2868
|
width: ia.value,
|
|
2868
2869
|
onBeforeDestroy: l[10] || (l[10] = (g) => Vl.value = !1)
|
|
@@ -2898,12 +2899,12 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2898
2899
|
]),
|
|
2899
2900
|
_: 1
|
|
2900
2901
|
}, 8, ["title", "visible", "width"]),
|
|
2901
|
-
We.value ? (re(),
|
|
2902
|
+
We.value ? (re(), $e(Bn, {
|
|
2902
2903
|
key: 1,
|
|
2903
2904
|
fileDataList: _l.value,
|
|
2904
2905
|
onDestroy: Mr
|
|
2905
2906
|
}, null, 8, ["fileDataList"])) : De("", !0),
|
|
2906
|
-
de.value ? (re(),
|
|
2907
|
+
de.value ? (re(), $e(Gl, {
|
|
2907
2908
|
key: 2,
|
|
2908
2909
|
visible: de.value,
|
|
2909
2910
|
onBeforeDestroy: Ir,
|
|
@@ -2955,7 +2956,7 @@ const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
|
2955
2956
|
]);
|
|
2956
2957
|
};
|
|
2957
2958
|
}
|
|
2958
|
-
}, ao = /* @__PURE__ */ sa(Ku, [["__scopeId", "data-v-
|
|
2959
|
+
}, ao = /* @__PURE__ */ sa(Ku, [["__scopeId", "data-v-e3cad20c"]]);
|
|
2959
2960
|
export {
|
|
2960
2961
|
tu as a,
|
|
2961
2962
|
Va as f,
|