ss-component-new 1.2.270 → 1.2.271

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.
Files changed (88) hide show
  1. package/dist/{MTLLoader-BaluxQWn.js → MTLLoader-9wqZ2Lqu.js} +1 -1
  2. package/dist/{MTLLoader-CUByiybQ.cjs → MTLLoader-CzCzJmBA.cjs} +1 -1
  3. package/dist/{OrbitControls-EKGtRqaq.js → OrbitControls-D8bOrNpX.js} +1 -1
  4. package/dist/{OrbitControls-danR4CyK.cjs → OrbitControls-DCSZsEug.cjs} +1 -1
  5. package/dist/{URDFLoader-D7MudzUz.cjs → URDFLoader-B7WkrADJ.cjs} +1 -1
  6. package/dist/{URDFLoader-CN99sJ2W.js → URDFLoader-Dlbj2A26.js} +2 -2
  7. package/dist/{animationData-klIYO78V.cjs → animationData-ClzsQidz.cjs} +1 -1
  8. package/dist/{animationData-CZX9vh3m.js → animationData-VcWdeVsA.js} +1 -1
  9. package/dist/{array-Czn-0IIK.cjs → array-CrGMLa9P.cjs} +1 -1
  10. package/dist/{array-jozUN1tT.js → array-kYAwyza4.js} +1 -1
  11. package/dist/{iconfont-BueoisBI.js → iconfont-BXFsrNsb.js} +2 -2
  12. package/dist/{iconfont-CXAkXCkA.cjs → iconfont-CDLGYTwh.cjs} +1 -1
  13. package/dist/{index-ChbcrM1K.js → index-37SDMDZC.js} +1 -1
  14. package/dist/{index-DbBQdlYy.js → index-B1q3fkTC.js} +1 -1
  15. package/dist/{index-gYdiU0-r.js → index-BKdtM6pv.js} +1 -1
  16. package/dist/{index-BjWsF82m.js → index-BOeU_ORh.js} +659 -655
  17. package/dist/{index-BDGGSSUD.cjs → index-BTZdExJZ.cjs} +1 -1
  18. package/dist/{index-Btm2ksrW.js → index-BbBKZorL.js} +1 -1
  19. package/dist/{index-C7yaSVkq.js → index-BbY0sxE9.js} +2 -2
  20. package/dist/{index-ByWskyaN.js → index-BdbXL9ZZ.js} +1 -1
  21. package/dist/{index-B0CrL-d6.js → index-Bi1TuXfs.js} +16 -16
  22. package/dist/{index-CaXOQE9v.cjs → index-Bq3L8IJL.cjs} +1 -1
  23. package/dist/{index-DjlCJCJa.js → index-C1qgyRNd.js} +1 -1
  24. package/dist/{index-tBBaT8AA.cjs → index-C93yihHT.cjs} +1 -1
  25. package/dist/{index-BXL6ax6T.js → index-C9FBCTul.js} +8 -8
  26. package/dist/{index-6NryHMoR.cjs → index-CCRmsHjx.cjs} +1 -1
  27. package/dist/{index-h43KcJHi.js → index-CCZutj8x.js} +2 -2
  28. package/dist/{index-jnRpRdp0.cjs → index-CEbRR_X8.cjs} +1 -1
  29. package/dist/{index-CiOCi4J5.js → index-CIKbEjx6.js} +3 -3
  30. package/dist/{index-BV_CR1qV.cjs → index-CRj176Zp.cjs} +1 -1
  31. package/dist/{index-CLu_YPz9.js → index-CSTB3ghP.js} +4 -4
  32. package/dist/{index-BMjYzoUP.cjs → index-Ca6T7C7u.cjs} +1 -1
  33. package/dist/{index-BjeyXbSD.cjs → index-CaODRufW.cjs} +1 -1
  34. package/dist/{index-hAe2hsF2.js → index-CgCUIZ-I.js} +7 -7
  35. package/dist/{index-BM-GRNXd.js → index-D-eV3YBS.js} +4 -4
  36. package/dist/{index-yQF1iSVX.cjs → index-D4U2ekPB.cjs} +1 -1
  37. package/dist/{index-Czn35EXK.js → index-D5J53dCD.js} +3 -3
  38. package/dist/{index-DWwUhkPY.cjs → index-DAQSE5D4.cjs} +1 -1
  39. package/dist/{index-33-VTIwq.js → index-DFM2wZJf.js} +1 -1
  40. package/dist/{index-HIfBi0Bz.cjs → index-DY1R77Nz.cjs} +1 -1
  41. package/dist/{index-CpbV9ZOl.cjs → index-DctXqHjz.cjs} +1 -1
  42. package/dist/{index-ZAbFeIkQ.cjs → index-DibH-OIa.cjs} +1 -1
  43. package/dist/{index-BR2U4H_b.cjs → index-Dk1DRt1B.cjs} +1 -1
  44. package/dist/{index-DjTHW8Tf.cjs → index-Dmz9tQX-.cjs} +1 -1
  45. package/dist/{index-BKh4ZE2i.js → index-EKg8uZB7.js} +4 -4
  46. package/dist/{index-BiOniVeb.js → index-HR8x4CPk.js} +1 -1
  47. package/dist/{index-rk-PN_eE.cjs → index-M3-F9DaX.cjs} +1 -1
  48. package/dist/{index-ByrNIYGI.js → index-ReK7idY4.js} +1 -1
  49. package/dist/{index-Dj33_oBO.js → index-S9ZGttXe.js} +1 -1
  50. package/dist/{index-DCxsBXly.cjs → index-UXfOWuiW.cjs} +1 -1
  51. package/dist/{index-CgTVDegm.js → index-WJBbuXAd.js} +1 -1
  52. package/dist/{index-DGSXW-Ay.cjs → index-at68TiA7.cjs} +1 -1
  53. package/dist/{index-CaG44u3B.cjs → index-fYYxk1hA.cjs} +1 -1
  54. package/dist/index-hlYJk618.cjs +13 -0
  55. package/dist/{index-DiSbNr68.cjs → index-jmOZbnxj.cjs} +1 -1
  56. package/dist/{index-MxB50T82.cjs → index-sewcufn_.cjs} +1 -1
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DkOe352b.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Bq8d2o0G.cjs} +1 -1
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DKiMx4Nk.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-V-FPf_YD.js} +6 -6
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BqmC2ZwG.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BFgaBHSl.js} +18395 -18385
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BEuWZSiW.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CWUZ08qs.cjs} +237 -237
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_20f284c2_lang-CxcDUhZT.js → index.vue_vue_type_style_index_0_scoped_20f284c2_lang-vO0Uk8Xw.js} +4 -4
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_20f284c2_lang-DNQ9s1h5.cjs → index.vue_vue_type_style_index_0_scoped_20f284c2_lang-wSsMFQ0S.cjs} +1 -1
  63. package/dist/{index.vue_vue_type_style_index_1_lang-CIrbJz00.js → index.vue_vue_type_style_index_1_lang-DP77QaBa.js} +3 -3
  64. package/dist/{index.vue_vue_type_style_index_1_lang-BJN_Eo_J.cjs → index.vue_vue_type_style_index_1_lang-bkwh7_Ji.cjs} +1 -1
  65. package/dist/{main-C0pWtKqP.js → main-BuP-ALTV.js} +3 -3
  66. package/dist/{main-DkSQ6I2D.cjs → main-Cps3H57a.cjs} +1 -1
  67. package/dist/ss-component.cjs +1 -1
  68. package/dist/ss-component.js +9 -9
  69. package/dist/ss-component2.cjs +1 -1
  70. package/dist/ss-component2.js +10 -10
  71. package/dist/{threeModel-DCuEB23C.cjs → threeModel-Cna034fP.cjs} +1 -1
  72. package/dist/{threeModel-CSgUlVfw.js → threeModel-DGRnzwGY.js} +4 -4
  73. package/dist/{threePreview-DKJnZXGd.js → threePreview-BA5BpQsE.js} +3 -3
  74. package/dist/{threePreview-RsM6qx9C.cjs → threePreview-Bftgi9FJ.cjs} +1 -1
  75. package/dist/{threeSceneView-D9vZGhoS.js → threeSceneView-C7AooGMQ.js} +8 -8
  76. package/dist/{threeSceneView-Bw3svHFL.cjs → threeSceneView-DTrrl0kr.cjs} +1 -1
  77. package/dist/{threeSceneViewForCPMPIP-DEPF9CS2.cjs → threeSceneViewForCPMPIP-B7ch6ArE.cjs} +1 -1
  78. package/dist/{threeSceneViewForCPMPIP-0YmBMjxq.js → threeSceneViewForCPMPIP-BXh5g-2e.js} +7 -7
  79. package/dist/{threeTrackPathView-BajQteD0.js → threeTrackPathView-C8YrOObH.js} +3 -3
  80. package/dist/{threeTrackPathView-D_eGBMib.cjs → threeTrackPathView-CA4QDcmt.cjs} +1 -1
  81. package/dist/{threeViewerHost-ndbdGR7n.js → threeViewerHost-DNr0xJXZ.js} +2 -2
  82. package/dist/{threeViewerHost-lx_5Ttnm.cjs → threeViewerHost-qNCl0vqw.cjs} +1 -1
  83. package/dist/{urdfTree-BQ38tSc1.cjs → urdfTree-DA1EPzUq.cjs} +1 -1
  84. package/dist/{urdfTree-CuWCuLmh.js → urdfTree-E8gBNijd.js} +1 -1
  85. package/dist/{workpieceTreePanel-hgVLDo8h.cjs → workpieceTreePanel-CSlKJ9_L.cjs} +1 -1
  86. package/dist/{workpieceTreePanel-DCzWzDOm.js → workpieceTreePanel-ZkFu8nzf.js} +4 -4
  87. package/package.json +1 -1
  88. package/dist/index-3wQPrEhH.cjs +0 -13
@@ -1,15 +1,15 @@
1
1
  var co = Object.defineProperty;
2
2
  var to = (U, P, S) => P in U ? co(U, P, { enumerable: !0, configurable: !0, writable: !0, value: S }) : U[P] = S;
3
3
  var Kl = (U, P, S) => to(U, typeof P != "symbol" ? P + "" : P, S);
4
- import { ref as G, watch as Fl, nextTick as Ia, resolveComponent as fl, createBlock as ll, openBlock as le, withCtx as H, createElementVNode as pe, renderSlot as kn, onMounted as Pr, createElementBlock as Oe, normalizeStyle as ba, normalizeClass as Pn, toDisplayString as nl, createCommentVNode as Je, createVNode as ee, unref as Hl, Fragment as aa, renderList as ra, createTextVNode as sl, defineComponent as $r, computed as Ua, reactive as Za, inject as po, provide as fo, onBeforeUnmount as ho, onUnmounted as yo, resolveDirective as vo, createSlots as go, withModifiers as tr, withDirectives as wr, vShow as Sn } from "vue";
5
- import { bh as mn, as as _n, c as re, E as tl, bD as $n, g as ta, bv as Nn, e as Bn, h as bo, p as _a, s as Ea, u as ko, c3 as So, f as mo, b as Aa, bt as An, c4 as _o } from "./index-7MBVUN82.js";
6
- import { $ as Pa, aI as Ao, aJ as Va, aK as Co, g as ja, b as To, aL as Oo, a as xo, _ as wo, u as Do, aM as Cn, J as Uo, aN as Eo, aO as Tn, aP as Lo, d as La, X as Dr, q as On, l as jo, aQ as xn, a7 as Po, aR as $o, aS as No, aT as Bo, Z as Ro, aU as Mo } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BqmC2ZwG.js";
7
- import { d as $a, _ as wn, j as Ko, e as Dn, E as Ur, u as Fo } from "./index-BM-GRNXd.js";
8
- import { a as zo, T as Jo } from "./threeViewerHost-ndbdGR7n.js";
4
+ import { ref as G, watch as Fl, nextTick as Ia, resolveComponent as pl, createBlock as ll, openBlock as le, withCtx as H, createElementVNode as fe, renderSlot as kn, onMounted as Pr, createElementBlock as Oe, normalizeStyle as ba, normalizeClass as Pn, toDisplayString as nl, createCommentVNode as Je, createVNode as ee, unref as Hl, Fragment as aa, renderList as ra, createTextVNode as sl, defineComponent as $r, computed as Ua, reactive as Za, inject as po, provide as fo, onBeforeUnmount as ho, onUnmounted as yo, resolveDirective as vo, createSlots as go, withModifiers as tr, withDirectives as wr, vShow as Sn } from "vue";
5
+ import { bh as mn, as as _n, c as re, E as dl, bD as $n, g as ta, bv as Nn, e as Bn, h as bo, p as _a, s as Ea, u as ko, c3 as So, f as mo, b as Aa, bt as An, c4 as _o } from "./index-7MBVUN82.js";
6
+ import { $ as Pa, aI as Ao, aJ as Va, aK as Co, g as ja, b as To, aL as Oo, a as xo, _ as wo, u as Do, aM as Cn, J as Uo, aN as Eo, aO as Tn, aP as Lo, d as La, X as Dr, q as On, l as jo, aQ as xn, a7 as Po, aR as $o, aS as No, aT as Bo, Z as Ro, aU as Mo } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BFgaBHSl.js";
7
+ import { d as $a, _ as wn, j as Ko, e as Dn, E as Ur, u as Fo } from "./index-D-eV3YBS.js";
8
+ import { a as zo, T as Jo } from "./threeViewerHost-DNr0xJXZ.js";
9
9
  import { u as Wo, a as qo, E as Un } from "./index-3oQGURYh.js";
10
- import { c as Go } from "./index.vue_vue_type_style_index_1_lang-CIrbJz00.js";
10
+ import { c as Go } from "./index.vue_vue_type_style_index_1_lang-DP77QaBa.js";
11
11
  import { _ as er } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- import { s as ga } from "./index-Dj33_oBO.js";
12
+ import { s as ga } from "./index-S9ZGttXe.js";
13
13
  import "./index-DfFq9kkn.js";
14
14
  import { i as En } from "./isString-D70CzuJZ.js";
15
15
  const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
@@ -50,8 +50,8 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
50
50
  },
51
51
  { deep: !0, immediate: !0 }
52
52
  ), (s, Q) => {
53
- const fe = fl("el-popover");
54
- return le(), ll(fe, {
53
+ const ie = pl("el-popover");
54
+ return le(), ll(ie, {
55
55
  visible: C.value,
56
56
  title: P == null ? void 0 : P.title,
57
57
  placement: P == null ? void 0 : P.placement,
@@ -60,7 +60,7 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
60
60
  ref: S
61
61
  }, {
62
62
  reference: H(() => [
63
- pe("div", null, [
63
+ fe("div", null, [
64
64
  kn(s.$slots, "reference", {
65
65
  ref_key: "referenceRef",
66
66
  ref: m
@@ -68,7 +68,7 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
68
68
  ])
69
69
  ]),
70
70
  default: H(() => [
71
- pe("div", null, [
71
+ fe("div", null, [
72
72
  kn(s.$slots, "content")
73
73
  ])
74
74
  ]),
@@ -133,7 +133,7 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
133
133
  },
134
134
  emits: ["buttonClick", "filter", "getImportData"],
135
135
  setup(U, { emit: P }) {
136
- const S = P, C = U, m = G(""), s = G(!1), Q = G([]), fe = G([{ label: "取消", background: "#999999" }, {
136
+ const S = P, C = U, m = G(""), s = G(!1), Q = G([]), ie = G([{ label: "取消", background: "#999999" }, {
137
137
  label: "清空",
138
138
  background: "#999999"
139
139
  }, { label: "确认" }]), ke = [
@@ -153,86 +153,86 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
153
153
  label: "OCR识别",
154
154
  icon: "ocr"
155
155
  }
156
- ], Ae = (oe) => {
157
- const Be = oe.raw;
158
- if (!Be) return;
159
- const We = new FileReader();
160
- We.onload = (ve) => {
156
+ ], Ae = (se) => {
157
+ const xe = se.raw;
158
+ if (!xe) return;
159
+ const He = new FileReader();
160
+ He.onload = (ye) => {
161
161
  try {
162
- const ce = new Uint8Array(ve.target.result), ie = Ao(ce, { type: "array" }), Le = ie.SheetNames[0], B = ie.Sheets[Le], hl = Va.decode_range(B["!ref"]).e.c + 1, ae = new Array(hl).fill(""), A = [];
162
+ const de = new Uint8Array(ye.target.result), ce = Ao(de, { type: "array" }), je = ce.SheetNames[0], B = ce.Sheets[je], fl = Va.decode_range(B["!ref"]).e.c + 1, ae = new Array(fl).fill(""), A = [];
163
163
  for (const ne in B) {
164
164
  if (ne[0] === "!") continue;
165
- const { r: Ue, c: Xe } = Va.decode_cell(ne);
165
+ const { r: Ee, c: Xe } = Va.decode_cell(ne);
166
166
  let El = B[ne].v;
167
- if (B[ne].t === "n" && El > 0 && El < 1e6 && (El = new Date((El - 25569) * 86400 * 1e3).toISOString().split("T")[0]), (El == null || El === "") && (El = ""), Ue === 0)
167
+ if (B[ne].t === "n" && El > 0 && El < 1e6 && (El = new Date((El - 25569) * 86400 * 1e3).toISOString().split("T")[0]), (El == null || El === "") && (El = ""), Ee === 0)
168
168
  ae[Xe] = El;
169
169
  else {
170
- if (!A[Ue - 1]) {
171
- A[Ue - 1] = {};
172
- for (let Ql = 0; Ql < hl; Ql++)
173
- A[Ue - 1][`col_${Ql}`] = "";
170
+ if (!A[Ee - 1]) {
171
+ A[Ee - 1] = {};
172
+ for (let Ql = 0; Ql < fl; Ql++)
173
+ A[Ee - 1][`col_${Ql}`] = "";
174
174
  }
175
- A[Ue - 1][`col_${Xe}`] = El;
175
+ A[Ee - 1][`col_${Xe}`] = El;
176
176
  }
177
177
  }
178
- for (let ne = 0; ne < hl; ne++)
178
+ for (let ne = 0; ne < fl; ne++)
179
179
  ae[ne] === void 0 && (ae[ne] = "");
180
- const il = A == null ? void 0 : A[0];
181
- if (!(il != null && il.hasOwnProperty("col_0"))) return tl.error("导入的数据列不匹配,请检查是否错位");
180
+ const ol = A == null ? void 0 : A[0];
181
+ if (!(ol != null && ol.hasOwnProperty("col_0"))) return dl.error("导入的数据列不匹配,请检查是否错位");
182
182
  S("getImportData", ae, A);
183
- } catch (ce) {
184
- throw tl.error(ce.message), new Error(ce.message);
183
+ } catch (de) {
184
+ throw dl.error(de.message), new Error(de.message);
185
185
  }
186
- }, We.readAsArrayBuffer(Be);
187
- }, He = (oe) => {
188
- var We;
189
- const Be = (We = Q.value) == null ? void 0 : We.reduce((ve, ce, ie) => (ie === 0 ? ve[ce.label] = oe : ve[ce.label] = ce == null ? void 0 : ce.value, ve), {});
190
- S("filter", Be, oe, !0);
191
- }, ue = (oe, Be = {}) => {
192
- S("buttonClick", oe, "", Be);
193
- }, De = (oe) => {
194
- var Be, We;
195
- Q.value = (We = (Be = Pa(re(oe))) == null ? void 0 : Be.filter((ve) => (ve == null ? void 0 : ve.label) !== "" && (ve == null ? void 0 : ve.label) !== "操作")) == null ? void 0 : We.map((ve) => ({
196
- label: (ve == null ? void 0 : ve.label) ?? "",
186
+ }, He.readAsArrayBuffer(xe);
187
+ }, Ge = (se) => {
188
+ var He;
189
+ const xe = (He = Q.value) == null ? void 0 : He.reduce((ye, de, ce) => (ce === 0 ? ye[de.label] = se : ye[de.label] = de == null ? void 0 : de.value, ye), {});
190
+ S("filter", xe, se, !0);
191
+ }, Ye = (se, xe = {}) => {
192
+ S("buttonClick", se, "", xe);
193
+ }, ue = (se) => {
194
+ var xe, He;
195
+ Q.value = (He = (xe = Pa(re(se))) == null ? void 0 : xe.filter((ye) => (ye == null ? void 0 : ye.label) !== "" && (ye == null ? void 0 : ye.label) !== "操作")) == null ? void 0 : He.map((ye) => ({
196
+ label: (ye == null ? void 0 : ye.label) ?? "",
197
197
  value: "",
198
- name: (ve == null ? void 0 : ve.label) ?? "",
199
- isFormColHidden: ve == null ? void 0 : ve.isTableColHidden,
198
+ name: (ye == null ? void 0 : ye.label) ?? "",
199
+ isFormColHidden: ye == null ? void 0 : ye.isTableColHidden,
200
200
  width: 2
201
201
  }));
202
- }, ol = G(!1), Ne = (oe) => {
203
- var Be;
204
- if ((oe == null ? void 0 : oe.buttonName) === "确认" && (S("filter", oe == null ? void 0 : oe.content), ol.value = (oe == null ? void 0 : oe.content) && Object.values(oe == null ? void 0 : oe.content).length > 0), (oe == null ? void 0 : oe.buttonName) === "清空") {
205
- const We = re(oe == null ? void 0 : oe.content);
206
- for (const ve in We)
207
- We[ve] = "";
208
- Q.value = (Be = Q.value) == null ? void 0 : Be.map((ve) => ({
209
- ...ve,
202
+ }, De = G(!1), Sl = (se) => {
203
+ var xe;
204
+ if ((se == null ? void 0 : se.buttonName) === "确认" && (S("filter", se == null ? void 0 : se.content), De.value = (se == null ? void 0 : se.content) && Object.values(se == null ? void 0 : se.content).length > 0), (se == null ? void 0 : se.buttonName) === "清空") {
205
+ const He = re(se == null ? void 0 : se.content);
206
+ for (const ye in He)
207
+ He[ye] = "";
208
+ Q.value = (xe = Q.value) == null ? void 0 : xe.map((ye) => ({
209
+ ...ye,
210
210
  value: ""
211
- })), S("filter", We), ol.value = !1;
211
+ })), S("filter", He), De.value = !1;
212
212
  }
213
213
  s.value = !1;
214
- }, Ye = () => {
215
- var Be, We;
216
- Q.value = (Be = Q.value) == null ? void 0 : Be.map((ve) => ({
217
- ...ve,
214
+ }, Be = () => {
215
+ var xe, He;
216
+ Q.value = (xe = Q.value) == null ? void 0 : xe.map((ye) => ({
217
+ ...ye,
218
218
  value: ""
219
219
  }));
220
- const oe = (We = Q.value) == null ? void 0 : We.reduce((ve, ce) => (ve[ce.label] = ce.value, ve), {});
221
- S("filter", oe);
220
+ const se = (He = Q.value) == null ? void 0 : He.reduce((ye, de) => (ye[de.label] = de.value, ye), {});
221
+ S("filter", se);
222
222
  };
223
223
  return Pr(() => {
224
- De(C.columns);
224
+ ue(C.columns);
225
225
  }), Fl(
226
226
  () => C.columns,
227
227
  () => {
228
- De(C.columns);
228
+ ue(C.columns);
229
229
  },
230
230
  { deep: !0, immediate: !0 }
231
- ), (oe, Be) => {
232
- var B, xl, hl, ae;
233
- const We = fl("el-icon"), ve = fl("svg-icon"), ce = fl("el-input"), ie = fl("el-button"), Le = fl("el-upload");
231
+ ), (se, xe) => {
232
+ var B, xl, fl, ae;
233
+ const He = pl("el-icon"), ye = pl("svg-icon"), de = pl("el-input"), ce = pl("el-button"), je = pl("el-upload");
234
234
  return U.pageLayout === "vertical" ? (le(), Oe("div", Ho, [
235
- pe("div", {
235
+ fe("div", {
236
236
  class: Pn(U.compName ? "table-name-wrap" : ""),
237
237
  style: ba({
238
238
  background: (C == null ? void 0 : C.level) > 1 ? "transparent" : "var(--ssgroup-background)",
@@ -241,7 +241,7 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
241
241
  fontSize: 17 - (C == null ? void 0 : C.level) >= 14 ? 17 - (C == null ? void 0 : C.level) + "px" : "14px"
242
242
  })
243
243
  }, nl(U.compName), 7),
244
- pe("div", Xo, [
244
+ fe("div", Xo, [
245
245
  C != null && C.filterShow ? (le(), Oe("div", Qo, [
246
246
  ee(Ln, {
247
247
  title: "",
@@ -250,25 +250,25 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
250
250
  isVisible: s.value
251
251
  }, {
252
252
  reference: H(() => {
253
- var A, il, ne, Ue;
253
+ var A, ol, ne, Ee;
254
254
  return [
255
- ee(ce, {
255
+ ee(de, {
256
256
  modelValue: m.value,
257
- "onUpdate:modelValue": Be[1] || (Be[1] = (Xe) => m.value = Xe),
257
+ "onUpdate:modelValue": xe[1] || (xe[1] = (Xe) => m.value = Xe),
258
258
  style: { "min-width": "80px" },
259
- placeholder: ol.value ? (ne = (il = (A = U.filterValues) == null ? void 0 : A.filter((Xe) => Xe)) == null ? void 0 : il.slice(0, 3)) == null ? void 0 : ne.join("/") : "搜索",
259
+ placeholder: De.value ? (ne = (ol = (A = U.filterValues) == null ? void 0 : A.filter((Xe) => Xe)) == null ? void 0 : ol.slice(0, 3)) == null ? void 0 : ne.join("/") : "搜索",
260
260
  "prefix-icon": Hl(mn),
261
261
  clearable: "",
262
- onInput: He,
263
- disabled: ((Ue = Q.value) == null ? void 0 : Ue.length) === 0
262
+ onInput: Ge,
263
+ disabled: ((Ee = Q.value) == null ? void 0 : Ee.length) === 0
264
264
  }, {
265
265
  suffix: H(() => {
266
266
  var Xe, El;
267
267
  return [
268
- !m.value && ((El = (Xe = U.filterValues) == null ? void 0 : Xe.filter((Ql) => Ql)) != null && El.join("/")) ? (le(), ll(We, {
268
+ !m.value && ((El = (Xe = U.filterValues) == null ? void 0 : Xe.filter((Ql) => Ql)) != null && El.join("/")) ? (le(), ll(He, {
269
269
  key: 0,
270
270
  style: { cursor: "pointer" },
271
- onClick: Ye
271
+ onClick: Be
272
272
  }, {
273
273
  default: H(() => [
274
274
  ee(Hl(_n))
@@ -278,11 +278,11 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
278
278
  ];
279
279
  }),
280
280
  append: H(() => [
281
- pe("span", {
281
+ fe("span", {
282
282
  title: "条件查询",
283
- onClick: Be[0] || (Be[0] = (Xe) => s.value = !s.value)
283
+ onClick: xe[0] || (xe[0] = (Xe) => s.value = !s.value)
284
284
  }, [
285
- ee(ve, {
285
+ ee(ye, {
286
286
  name: "query",
287
287
  style: { width: "15px", height: "15px", cursor: "pointer" }
288
288
  })
@@ -293,16 +293,16 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
293
293
  ];
294
294
  }),
295
295
  content: H(() => [
296
- pe("div", Yo, [
296
+ fe("div", Yo, [
297
297
  (le(), ll($a, {
298
298
  rowContents: Q.value,
299
- buttonValue: fe.value,
299
+ buttonValue: ie.value,
300
300
  isRowFlex: !0,
301
301
  isEnableWrap: !1,
302
302
  isButtonRow: !1,
303
- key: fe.value,
303
+ key: ie.value,
304
304
  isStartJustify: !1,
305
- onOnButtonClick: Ne
305
+ onOnButtonClick: Sl
306
306
  }, null, 8, ["rowContents", "buttonValue"]))
307
307
  ])
308
308
  ]),
@@ -310,11 +310,11 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
310
310
  }, 8, ["isVisible"])
311
311
  ])) : Je("", !0),
312
312
  U.buttons && ((B = U.buttons) == null ? void 0 : B.length) > 0 ? (le(), Oe("div", Zo, [
313
- (le(!0), Oe(aa, null, ra((xl = U.buttons) == null ? void 0 : xl.filter((A) => U.isDevMode || (A == null ? void 0 : A.label) !== "修改模板"), (A, il) => (le(), Oe("div", {
313
+ (le(!0), Oe(aa, null, ra((xl = U.buttons) == null ? void 0 : xl.filter((A) => U.isDevMode || (A == null ? void 0 : A.label) !== "修改模板"), (A, ol) => (le(), Oe("div", {
314
314
  class: "extra-contents",
315
- key: il
315
+ key: ol
316
316
  }, [
317
- (A == null ? void 0 : A.type) === "upload" ? (le(), ll(Le, {
317
+ (A == null ? void 0 : A.type) === "upload" ? (le(), ll(je, {
318
318
  key: 0,
319
319
  class: "upload-button-wrap",
320
320
  "on-change": Ae,
@@ -325,7 +325,7 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
325
325
  disabled: !!U.lockingPage
326
326
  }, {
327
327
  default: H(() => [
328
- ee(ie, {
328
+ ee(ce, {
329
329
  disabled: !!U.lockingPage,
330
330
  style: ba({ background: (A == null ? void 0 : A.background) ?? "var(--ssbutton-theme-bg)", color: (A == null ? void 0 : A.color) ?? "var(--ssbutton-theme-color)" })
331
331
  }, {
@@ -339,7 +339,7 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
339
339
  }, 1032, ["disabled"])) : Je("", !0),
340
340
  (A == null ? void 0 : A.type) === "popover" ? (le(), ll(wn, { key: 1 }, {
341
341
  dropTitle: H(() => [
342
- (A == null ? void 0 : A.type) === "popover" ? (le(), ll(ie, {
342
+ (A == null ? void 0 : A.type) === "popover" ? (le(), ll(ce, {
343
343
  key: 0,
344
344
  disabled: !!U.lockingPage,
345
345
  style: ba({ background: (A == null ? void 0 : A.background) ?? "var(--ssbutton-theme-bg)", color: (A == null ? void 0 : A.color) ?? "var(--ssbutton-theme-color)" })
@@ -351,18 +351,18 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
351
351
  }, 1032, ["disabled", "style"])) : Je("", !0)
352
352
  ]),
353
353
  dropMenu: H(() => [
354
- pe("div", Io, [
355
- (le(!0), Oe(aa, null, ra(A == null ? void 0 : A.contents, (ne) => (le(), ll(ie, {
354
+ fe("div", Io, [
355
+ (le(!0), Oe(aa, null, ra(A == null ? void 0 : A.contents, (ne) => (le(), ll(ce, {
356
356
  key: ne == null ? void 0 : ne.label,
357
357
  disabled: !!U.lockingPage,
358
358
  style: { width: "100%", margin: "0", border: "none", display: "flex", "justify-content": "flex-start" },
359
- onClick: (Ue) => ue(ne == null ? void 0 : ne.label)
359
+ onClick: (Ee) => Ye(ne == null ? void 0 : ne.label)
360
360
  }, {
361
361
  default: H(() => {
362
- var Ue, Xe;
362
+ var Ee, Xe;
363
363
  return [
364
364
  sl(nl(ne == null ? void 0 : ne.label), 1),
365
- (Ue = ne == null ? void 0 : ne.label) != null && Ue.includes("选中") ? (le(), Oe("span", Vo, "(" + nl(U.selectNums) + ")", 1)) : Je("", !0),
365
+ (Ee = ne == null ? void 0 : ne.label) != null && Ee.includes("选中") ? (le(), Oe("span", Vo, "(" + nl(U.selectNums) + ")", 1)) : Je("", !0),
366
366
  (Xe = ne == null ? void 0 : ne.label) != null && Xe.includes("全部") ? (le(), Oe("span", ei, "(" + nl(U.dataNums) + ")", 1)) : Je("", !0)
367
367
  ];
368
368
  }),
@@ -372,12 +372,12 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
372
372
  ]),
373
373
  _: 2
374
374
  }, 1024)) : Je("", !0),
375
- !(A != null && A.type) || (A == null ? void 0 : A.type) === "methodButton" ? (le(), ll(ie, {
375
+ !(A != null && A.type) || (A == null ? void 0 : A.type) === "methodButton" ? (le(), ll(ce, {
376
376
  key: 2,
377
377
  id: "themeButton",
378
378
  disabled: !!U.lockingPage,
379
379
  style: ba({ background: (A == null ? void 0 : A.background) ?? "var(--ssbutton-theme-bg)", color: (A == null ? void 0 : A.color) ?? "var(--ssbutton-theme-color)" }),
380
- onClick: (ne) => ue(A == null ? void 0 : A.label, A)
380
+ onClick: (ne) => Ye(A == null ? void 0 : A.label, A)
381
381
  }, {
382
382
  default: H(() => [
383
383
  sl(nl(A == null ? void 0 : A.label), 1)
@@ -388,8 +388,8 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
388
388
  ])) : Je("", !0)
389
389
  ])
390
390
  ])) : (le(), Oe("div", li, [
391
- pe("div", ai, [
392
- pe("div", ri, [
391
+ fe("div", ai, [
392
+ fe("div", ri, [
393
393
  ee(Ln, {
394
394
  title: "",
395
395
  width: 800,
@@ -397,25 +397,25 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
397
397
  isVisible: s.value
398
398
  }, {
399
399
  reference: H(() => {
400
- var A, il, ne, Ue;
400
+ var A, ol, ne, Ee;
401
401
  return [
402
- ee(ce, {
402
+ ee(de, {
403
403
  modelValue: m.value,
404
- "onUpdate:modelValue": Be[3] || (Be[3] = (Xe) => m.value = Xe),
404
+ "onUpdate:modelValue": xe[3] || (xe[3] = (Xe) => m.value = Xe),
405
405
  style: { "min-width": "80px" },
406
- placeholder: ol.value ? (ne = (il = (A = U.filterValues) == null ? void 0 : A.filter((Xe) => Xe)) == null ? void 0 : il.slice(0, 3)) == null ? void 0 : ne.join("/") : "搜索",
406
+ placeholder: De.value ? (ne = (ol = (A = U.filterValues) == null ? void 0 : A.filter((Xe) => Xe)) == null ? void 0 : ol.slice(0, 3)) == null ? void 0 : ne.join("/") : "搜索",
407
407
  "prefix-icon": Hl(mn),
408
408
  clearable: "",
409
- onInput: He,
410
- disabled: ((Ue = Q.value) == null ? void 0 : Ue.length) === 0
409
+ onInput: Ge,
410
+ disabled: ((Ee = Q.value) == null ? void 0 : Ee.length) === 0
411
411
  }, {
412
412
  suffix: H(() => {
413
413
  var Xe, El;
414
414
  return [
415
- !m.value && ((El = (Xe = U.filterValues) == null ? void 0 : Xe.filter((Ql) => Ql)) != null && El.join("/")) ? (le(), ll(We, {
415
+ !m.value && ((El = (Xe = U.filterValues) == null ? void 0 : Xe.filter((Ql) => Ql)) != null && El.join("/")) ? (le(), ll(He, {
416
416
  key: 0,
417
417
  style: { cursor: "pointer" },
418
- onClick: Ye
418
+ onClick: Be
419
419
  }, {
420
420
  default: H(() => [
421
421
  ee(Hl(_n))
@@ -425,11 +425,11 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
425
425
  ];
426
426
  }),
427
427
  append: H(() => [
428
- pe("span", {
428
+ fe("span", {
429
429
  title: "条件查询",
430
- onClick: Be[2] || (Be[2] = (Xe) => s.value = !s.value)
430
+ onClick: xe[2] || (xe[2] = (Xe) => s.value = !s.value)
431
431
  }, [
432
- ee(ve, {
432
+ ee(ye, {
433
433
  name: "query",
434
434
  style: { width: "15px", height: "15px", cursor: "pointer" }
435
435
  })
@@ -440,28 +440,28 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
440
440
  ];
441
441
  }),
442
442
  content: H(() => [
443
- pe("div", ni, [
443
+ fe("div", ni, [
444
444
  (le(), ll($a, {
445
445
  rowContents: Q.value,
446
- buttonValue: fe.value,
446
+ buttonValue: ie.value,
447
447
  isRowFlex: !0,
448
448
  isEnableWrap: !1,
449
449
  isButtonRow: !1,
450
- key: fe.value,
450
+ key: ie.value,
451
451
  isStartJustify: !1,
452
- onOnButtonClick: Ne
452
+ onOnButtonClick: Sl
453
453
  }, null, 8, ["rowContents", "buttonValue"]))
454
454
  ])
455
455
  ]),
456
456
  _: 1
457
457
  }, 8, ["isVisible"])
458
458
  ]),
459
- U.buttons && ((hl = U.buttons) == null ? void 0 : hl.length) > 0 ? (le(), Oe("div", si, [
460
- (le(!0), Oe(aa, null, ra((ae = U.buttons) == null ? void 0 : ae.filter((A) => U.isDevMode || (A == null ? void 0 : A.label) !== "修改模板"), (A, il) => (le(), Oe("div", {
459
+ U.buttons && ((fl = U.buttons) == null ? void 0 : fl.length) > 0 ? (le(), Oe("div", si, [
460
+ (le(!0), Oe(aa, null, ra((ae = U.buttons) == null ? void 0 : ae.filter((A) => U.isDevMode || (A == null ? void 0 : A.label) !== "修改模板"), (A, ol) => (le(), Oe("div", {
461
461
  class: "extra-contents",
462
- key: il
462
+ key: ol
463
463
  }, [
464
- (A == null ? void 0 : A.type) === "upload" ? (le(), ll(Le, {
464
+ (A == null ? void 0 : A.type) === "upload" ? (le(), ll(je, {
465
465
  key: 0,
466
466
  class: "upload-button-wrap",
467
467
  "on-change": Ae,
@@ -471,12 +471,12 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
471
471
  "show-file-list": !1
472
472
  }, {
473
473
  default: H(() => [
474
- ee(ie, { style: { background: "transparent", color: "#666666" } }, {
474
+ ee(ce, { style: { background: "transparent", color: "#666666" } }, {
475
475
  icon: H(() => {
476
476
  var ne;
477
477
  return [
478
- ee(ve, {
479
- name: (ne = ke == null ? void 0 : ke.find((Ue) => (Ue == null ? void 0 : Ue.label) === (A == null ? void 0 : A.label))) == null ? void 0 : ne.icon
478
+ ee(ye, {
479
+ name: (ne = ke == null ? void 0 : ke.find((Ee) => (Ee == null ? void 0 : Ee.label) === (A == null ? void 0 : A.label))) == null ? void 0 : ne.icon
480
480
  }, null, 8, ["name"])
481
481
  ];
482
482
  }),
@@ -490,15 +490,15 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
490
490
  }, 1024)) : Je("", !0),
491
491
  (A == null ? void 0 : A.type) === "popover" ? (le(), ll(wn, { key: 1 }, {
492
492
  dropTitle: H(() => [
493
- (A == null ? void 0 : A.type) === "popover" ? (le(), ll(ie, {
493
+ (A == null ? void 0 : A.type) === "popover" ? (le(), ll(ce, {
494
494
  key: 0,
495
495
  style: { background: "transparent", color: "#666666" }
496
496
  }, {
497
497
  icon: H(() => {
498
498
  var ne;
499
499
  return [
500
- ee(ve, {
501
- name: (ne = ke == null ? void 0 : ke.find((Ue) => (Ue == null ? void 0 : Ue.label) === (A == null ? void 0 : A.label))) == null ? void 0 : ne.icon
500
+ ee(ye, {
501
+ name: (ne = ke == null ? void 0 : ke.find((Ee) => (Ee == null ? void 0 : Ee.label) === (A == null ? void 0 : A.label))) == null ? void 0 : ne.icon
502
502
  }, null, 8, ["name"])
503
503
  ];
504
504
  }),
@@ -509,17 +509,17 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
509
509
  }, 1024)) : Je("", !0)
510
510
  ]),
511
511
  dropMenu: H(() => [
512
- pe("div", oi, [
513
- (le(!0), Oe(aa, null, ra(A == null ? void 0 : A.contents, (ne) => (le(), ll(ie, {
512
+ fe("div", oi, [
513
+ (le(!0), Oe(aa, null, ra(A == null ? void 0 : A.contents, (ne) => (le(), ll(ce, {
514
514
  key: ne == null ? void 0 : ne.label,
515
515
  style: { width: "100%", margin: "0", border: "none", display: "flex", "justify-content": "flex-start" },
516
- onClick: (Ue) => ue(ne == null ? void 0 : ne.label)
516
+ onClick: (Ee) => Ye(ne == null ? void 0 : ne.label)
517
517
  }, {
518
518
  default: H(() => {
519
- var Ue, Xe;
519
+ var Ee, Xe;
520
520
  return [
521
521
  sl(nl(ne == null ? void 0 : ne.label), 1),
522
- (Ue = ne == null ? void 0 : ne.label) != null && Ue.includes("选中") ? (le(), Oe("span", ii, "(" + nl(U.selectNums) + ")", 1)) : Je("", !0),
522
+ (Ee = ne == null ? void 0 : ne.label) != null && Ee.includes("选中") ? (le(), Oe("span", ii, "(" + nl(U.selectNums) + ")", 1)) : Je("", !0),
523
523
  (Xe = ne == null ? void 0 : ne.label) != null && Xe.includes("全部") ? (le(), Oe("span", ui, "(" + nl(U.dataNums) + ")", 1)) : Je("", !0)
524
524
  ];
525
525
  }),
@@ -529,17 +529,17 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
529
529
  ]),
530
530
  _: 2
531
531
  }, 1024)) : Je("", !0),
532
- !(A != null && A.type) || (A == null ? void 0 : A.type) === "methodButton" ? (le(), ll(ie, {
532
+ !(A != null && A.type) || (A == null ? void 0 : A.type) === "methodButton" ? (le(), ll(ce, {
533
533
  key: 2,
534
534
  id: "themeButton",
535
535
  style: ba({ background: "transparent", color: (A == null ? void 0 : A.label) === "新增" ? "var(--ssbutton-theme-bg)" : "#666666" }),
536
- onClick: (ne) => ue(A == null ? void 0 : A.label, A)
536
+ onClick: (ne) => Ye(A == null ? void 0 : A.label, A)
537
537
  }, {
538
538
  icon: H(() => {
539
539
  var ne;
540
540
  return [
541
- ee(ve, {
542
- name: (ne = ke == null ? void 0 : ke.find((Ue) => (Ue == null ? void 0 : Ue.label) === (A == null ? void 0 : A.label))) == null ? void 0 : ne.icon
541
+ ee(ye, {
542
+ name: (ne = ke == null ? void 0 : ke.find((Ee) => (Ee == null ? void 0 : Ee.label) === (A == null ? void 0 : A.label))) == null ? void 0 : ne.icon
543
543
  }, null, 8, ["name"])
544
544
  ];
545
545
  }),
@@ -576,17 +576,17 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
576
576
  const S = U, C = P, m = (Q) => {
577
577
  C("buttonClick", Q);
578
578
  }, s = (Q) => {
579
- var fe;
580
- return Q != null && Q.includes("删除") ? ((fe = S.selectTableItems) == null ? void 0 : fe.length) > 0 ? "warning-active-type" : "warning-type" : "default-type";
579
+ var ie;
580
+ return Q != null && Q.includes("删除") ? ((ie = S.selectTableItems) == null ? void 0 : ie.length) > 0 ? "warning-active-type" : "warning-type" : "default-type";
581
581
  };
582
- return (Q, fe) => {
583
- const ke = fl("el-button");
582
+ return (Q, ie) => {
583
+ const ke = pl("el-button");
584
584
  return le(), Oe("div", null, [
585
585
  (le(!0), Oe(aa, null, ra(U.buttons, (Ae) => (le(), ll(ke, {
586
586
  key: Ae == null ? void 0 : Ae.label,
587
587
  disabled: !!U.lockingPage,
588
588
  class: Pn(s(Ae == null ? void 0 : Ae.label)),
589
- onClick: (He) => m(Ae == null ? void 0 : Ae.label)
589
+ onClick: (Ge) => m(Ae == null ? void 0 : Ae.label)
590
590
  }, {
591
591
  default: H(() => [
592
592
  sl(nl(Ae == null ? void 0 : Ae.label), 1)
@@ -628,13 +628,13 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
628
628
  }
629
629
  ];
630
630
  }), (C, m) => (le(), Oe("div", hi, [
631
- pe("div", yi, [
631
+ fe("div", yi, [
632
632
  ee($a, {
633
633
  rowContents: P.value,
634
634
  isRowFlex: !0
635
635
  }, null, 8, ["rowContents"])
636
636
  ]),
637
- pe("div", vi, [
637
+ fe("div", vi, [
638
638
  ee($a, {
639
639
  rowContents: S.value,
640
640
  isEdit: !1,
@@ -648,9 +648,9 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
648
648
  return Array.isArray(S) && (S = S == null ? void 0 : S.map((m, s) => {
649
649
  if (Array.isArray(m)) {
650
650
  let Q = {};
651
- return m = m == null ? void 0 : m.forEach((fe, ke) => {
651
+ return m = m == null ? void 0 : m.forEach((ie, ke) => {
652
652
  var Ae;
653
- (Ae = C == null ? void 0 : C[ke]) != null && Ae.prop ? Q[C[ke].prop] = fe : Array.isArray(fe) && (Q.children = jr(fe, C));
653
+ (Ae = C == null ? void 0 : C[ke]) != null && Ae.prop ? Q[C[ke].prop] = ie : Array.isArray(ie) && (Q.children = jr(ie, C));
654
654
  }), Object.assign(Q, { id: s });
655
655
  } else
656
656
  return m;
@@ -658,10 +658,10 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
658
658
  }, Rn = (U, P, S) => {
659
659
  let C = U, m = P;
660
660
  return C = C == null ? void 0 : C.map((s, Q) => {
661
- var fe, ke;
662
- return !Array.isArray(s) || !((fe = m == null ? void 0 : m[Q]) != null && fe.label) && !S || (s.unshift(((ke = m == null ? void 0 : m[Q]) == null ? void 0 : ke.label) ?? ""), s.some((Ae) => Array.isArray(Ae)) && (s = s == null ? void 0 : s.map((Ae) => {
663
- var He;
664
- return Array.isArray(Ae) && (Ae = Rn(Ae, (He = m == null ? void 0 : m[Q]) == null ? void 0 : He.children, S)), Ae;
661
+ var ie, ke;
662
+ return !Array.isArray(s) || !((ie = m == null ? void 0 : m[Q]) != null && ie.label) && !S || (s.unshift(((ke = m == null ? void 0 : m[Q]) == null ? void 0 : ke.label) ?? ""), s.some((Ae) => Array.isArray(Ae)) && (s = s == null ? void 0 : s.map((Ae) => {
663
+ var Ge;
664
+ return Array.isArray(Ae) && (Ae = Rn(Ae, (Ge = m == null ? void 0 : m[Q]) == null ? void 0 : Ge.children, S)), Ae;
665
665
  }))), s;
666
666
  }), C;
667
667
  }, ki = (U, P, S) => {
@@ -677,7 +677,7 @@ const Er = (U) => U.match(/\((.*)\)/)[1], Ln = {
677
677
  }, Mn = (U, P, S) => {
678
678
  var s, Q;
679
679
  let C = U, m = P;
680
- return (m == null ? void 0 : m.length) === 0 ? C.children = (s = C.children) == null ? void 0 : s.filter((fe) => fe.id !== S) : C.children = (Q = C.children) == null ? void 0 : Q.map((fe) => (fe.id.toString() === (m == null ? void 0 : m[0]) && (m == null || m.shift(), fe = Mn(fe, m, S)), fe)), C;
680
+ return (m == null ? void 0 : m.length) === 0 ? C.children = (s = C.children) == null ? void 0 : s.filter((ie) => ie.id !== S) : C.children = (Q = C.children) == null ? void 0 : Q.map((ie) => (ie.id.toString() === (m == null ? void 0 : m[0]) && (m == null || m.shift(), ie = Mn(ie, m, S)), ie)), C;
681
681
  }, mi = (U, P, S) => {
682
682
  if (P === "")
683
683
  return S;
@@ -811,7 +811,7 @@ class Ai {
811
811
  this.heartTimer && (clearInterval(this.heartTimer), this.heartTimer = null);
812
812
  }
813
813
  handleMessage(P) {
814
- var m, s, Q, fe, ke;
814
+ var m, s, Q, ie, ke;
815
815
  const S = new Uint8Array(P.data);
816
816
  if (S.length <= 0) return;
817
817
  if (S[0] === 17 && S[1] === 17 && S[2] === 17) {
@@ -821,10 +821,10 @@ class Ai {
821
821
  if (S[0] !== 85 || S[1] !== 102) return;
822
822
  const C = S[2];
823
823
  if (C === 80) {
824
- const Ae = S[3], He = S.length - 4, ue = new Uint8Array(He);
825
- for (let Ne = 0; Ne < He; Ne++) ue[Ne] = S[4 + Ne];
826
- const ol = decodeURIComponent(this.byteToString(ue)).split("|");
827
- (m = this.onDevCount) == null || m.call(this, Ae, ol);
824
+ const Ae = S[3], Ge = S.length - 4, Ye = new Uint8Array(Ge);
825
+ for (let Sl = 0; Sl < Ge; Sl++) Ye[Sl] = S[4 + Sl];
826
+ const De = decodeURIComponent(this.byteToString(Ye)).split("|");
827
+ (m = this.onDevCount) == null || m.call(this, Ae, De);
828
828
  return;
829
829
  }
830
830
  if (C === 1) {
@@ -833,31 +833,31 @@ class Ai {
833
833
  }
834
834
  if (C === 16) {
835
835
  if (S[3] === 1) {
836
- const He = S[4] * 256 + S[5], ue = S[6] * 65536 + S[7] * 256 + S[8];
837
- let De = "";
838
- if (He > 0) {
839
- const Ye = new Uint8Array(He);
840
- for (let oe = 0; oe < He; oe++) Ye[oe] = S[9 + oe];
841
- De = decodeURIComponent(this.byteToString(Ye));
836
+ const Ge = S[4] * 256 + S[5], Ye = S[6] * 65536 + S[7] * 256 + S[8];
837
+ let ue = "";
838
+ if (Ge > 0) {
839
+ const Be = new Uint8Array(Ge);
840
+ for (let se = 0; se < Ge; se++) Be[se] = S[9 + se];
841
+ ue = decodeURIComponent(this.byteToString(Be));
842
842
  }
843
- const ol = new Uint8Array(ue);
844
- for (let Ye = 0; Ye < ue; Ye++)
845
- ol[Ye] = S[9 + He + Ye];
846
- const Ne = this.uint8ArrayToString(ol);
847
- (fe = this.onPhoto) == null || fe.call(this, { flag: 0, imgPath: De, base64: Ne });
843
+ const De = new Uint8Array(Ye);
844
+ for (let Be = 0; Be < Ye; Be++)
845
+ De[Be] = S[9 + Ge + Be];
846
+ const Sl = this.uint8ArrayToString(De);
847
+ (ie = this.onPhoto) == null || ie.call(this, { flag: 0, imgPath: ue, base64: Sl });
848
848
  }
849
849
  S[3] === 2 && ((ke = this.onPhoto) == null || ke.call(this, { flag: 2, imgPath: "", base64: "" }));
850
850
  return;
851
851
  }
852
852
  if (C === 204) {
853
853
  if (!this.canvas || !this.ctx) return;
854
- const Ae = S[3] * 256 + S[4], He = S[5] * 256 + S[6];
854
+ const Ae = S[3] * 256 + S[4], Ge = S[5] * 256 + S[6];
855
855
  this.pMainShowStartX = S[7] * 256 + S[8], this.pMainShowStartY = S[9] * 256 + S[10], this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
856
- const ue = this.ctx.createImageData(Ae, He);
857
- let De = 11;
858
- for (let ol = 0; ol < ue.data.length; ol += 4)
859
- ue.data[ol + 0] = S[De], ue.data[ol + 1] = S[De + 1], ue.data[ol + 2] = S[De + 2], ue.data[ol + 3] = 255, De += 3;
860
- this.ctx.putImageData(ue, this.pMainShowStartX, this.pMainShowStartY), this.mainCamCutMode;
856
+ const Ye = this.ctx.createImageData(Ae, Ge);
857
+ let ue = 11;
858
+ for (let De = 0; De < Ye.data.length; De += 4)
859
+ Ye.data[De + 0] = S[ue], Ye.data[De + 1] = S[ue + 1], Ye.data[De + 2] = S[ue + 2], Ye.data[De + 3] = 255, ue += 3;
860
+ this.ctx.putImageData(Ye, this.pMainShowStartX, this.pMainShowStartY), this.mainCamCutMode;
861
861
  return;
862
862
  }
863
863
  }
@@ -893,130 +893,130 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
893
893
  },
894
894
  emits: ["confirm", "cancel"],
895
895
  setup(U, { emit: P }) {
896
- const S = U, C = P, m = G(null), s = G(!1), Q = G(""), fe = G(""), ke = new Ai({
896
+ const S = U, C = P, m = G(null), s = G(!1), Q = G(""), ie = G(""), ke = new Ai({
897
897
  url: "ws://127.0.0.1:22225"
898
898
  });
899
- function Ae(ce, ie) {
899
+ function Ae(de, ce) {
900
900
  var A;
901
- const Le = ce.split(","), B = ((A = Le[0].match(/:(.*?);/)) == null ? void 0 : A[1]) ?? "image/jpeg", xl = atob(Le[1]);
902
- let hl = xl.length;
903
- const ae = new Uint8Array(hl);
904
- for (; hl--; )
905
- ae[hl] = xl.charCodeAt(hl);
906
- return new File([ae], ie, { type: B });
901
+ const je = de.split(","), B = ((A = je[0].match(/:(.*?);/)) == null ? void 0 : A[1]) ?? "image/jpeg", xl = atob(je[1]);
902
+ let fl = xl.length;
903
+ const ae = new Uint8Array(fl);
904
+ for (; fl--; )
905
+ ae[fl] = xl.charCodeAt(fl);
906
+ return new File([ae], ce, { type: B });
907
907
  }
908
- function He() {
909
- ke.onLog = (ce) => {
910
- console.log("[GPY]", ce);
911
- }, ke.onDevCount = (ce, ie) => {
912
- if (fe.value += `设备数量=${ce},设备=${ie.join(",")}
913
- `, ce > 0) {
914
- fe.value += `检测到设备,正在打开摄像头...
908
+ function Ge() {
909
+ ke.onLog = (de) => {
910
+ console.log("[GPY]", de);
911
+ }, ke.onDevCount = (de, ce) => {
912
+ if (ie.value += `设备数量=${de},设备=${ce.join(",")}
913
+ `, de > 0) {
914
+ ie.value += `检测到设备,正在打开摄像头...
915
915
  `;
916
916
  try {
917
917
  ke.openCamera(0, 1280, 720);
918
- } catch (Le) {
919
- fe.value += `打开摄像头失败:${(Le == null ? void 0 : Le.message) ?? Le}
918
+ } catch (je) {
919
+ ie.value += `打开摄像头失败:${(je == null ? void 0 : je.message) ?? je}
920
920
  `;
921
921
  }
922
922
  } else
923
- fe.value += `未检测到高拍仪设备!
923
+ ie.value += `未检测到高拍仪设备!
924
924
  `;
925
- }, ke.onCameraStatus = (ce) => {
926
- ce === "opened" ? (s.value = !0, fe.value += `摄像头已打开
927
- `) : (s.value = !1, fe.value += `摄像头已关闭
925
+ }, ke.onCameraStatus = (de) => {
926
+ de === "opened" ? (s.value = !0, ie.value += `摄像头已打开
927
+ `) : (s.value = !1, ie.value += `摄像头已关闭
928
928
  `);
929
- }, ke.onPhoto = (ce) => {
930
- ce.flag === 0 && ce.base64 ? (Q.value = `data:image/jpeg;base64,${ce.base64}`, fe.value += `拍照完成,已接收图片
931
- `) : fe.value += `拍照失败 flag=${ce.flag}
929
+ }, ke.onPhoto = (de) => {
930
+ de.flag === 0 && de.base64 ? (Q.value = `data:image/jpeg;base64,${de.base64}`, ie.value += `拍照完成,已接收图片
931
+ `) : ie.value += `拍照失败 flag=${de.flag}
932
932
  `;
933
933
  };
934
934
  }
935
- const ue = async () => {
935
+ const Ye = async () => {
936
936
  if (await Ia(), !m.value) return;
937
- De(), He();
938
- const ce = m.value.getBoundingClientRect();
939
- ke.init(m.value, Math.floor(ce.width), Math.floor(ce.height)), fe.value += `正在连接设备服务...
940
- `, await ke.connect(), fe.value += `正在获取设备数量...
937
+ ue(), Ge();
938
+ const de = m.value.getBoundingClientRect();
939
+ ke.init(m.value, Math.floor(de.width), Math.floor(de.height)), ie.value += `正在连接设备服务...
940
+ `, await ke.connect(), ie.value += `正在获取设备数量...
941
941
  `, ke.getDevCount();
942
- }, De = () => {
942
+ }, ue = () => {
943
943
  try {
944
944
  ke.destroy();
945
- } catch (ce) {
946
- console.error(ce);
945
+ } catch (de) {
946
+ console.error(de);
947
947
  }
948
- s.value = !1, Q.value = "", fe.value = "";
948
+ s.value = !1, Q.value = "", ie.value = "";
949
949
  };
950
950
  Fl(
951
951
  () => S.visible,
952
- (ce) => {
953
- ce ? ue() : De();
952
+ (de) => {
953
+ de ? Ye() : ue();
954
954
  }
955
955
  );
956
- const ol = () => {
956
+ const De = () => {
957
957
  try {
958
958
  ke.bestSize();
959
- } catch (ce) {
960
- console.error(ce);
959
+ } catch (de) {
960
+ console.error(de);
961
961
  }
962
- }, Ne = () => {
962
+ }, Sl = () => {
963
963
  try {
964
964
  ke.rotateLeft();
965
- } catch (ce) {
966
- console.error(ce);
965
+ } catch (de) {
966
+ console.error(de);
967
967
  }
968
- }, Ye = () => {
968
+ }, Be = () => {
969
969
  try {
970
970
  ke.rotateRight();
971
- } catch (ce) {
972
- console.error(ce);
971
+ } catch (de) {
972
+ console.error(de);
973
973
  }
974
- }, oe = () => {
974
+ }, se = () => {
975
975
  try {
976
976
  ke.focus();
977
- } catch (ce) {
978
- console.error(ce);
977
+ } catch (de) {
978
+ console.error(de);
979
979
  }
980
- }, Be = () => {
981
- fe.value += `正在拍照...
980
+ }, xe = () => {
981
+ ie.value += `正在拍照...
982
982
  `;
983
983
  try {
984
984
  ke.photo();
985
- } catch (ce) {
986
- fe.value += `拍照调用失败:${(ce == null ? void 0 : ce.message) ?? ce}
985
+ } catch (de) {
986
+ ie.value += `拍照调用失败:${(de == null ? void 0 : de.message) ?? de}
987
987
  `;
988
988
  }
989
- }, We = () => {
989
+ }, He = () => {
990
990
  if (Q.value) {
991
- const ce = Ae(Q.value, "gpy-capture.jpg");
992
- C("confirm", ce);
991
+ const de = Ae(Q.value, "gpy-capture.jpg");
992
+ C("confirm", de);
993
993
  } else
994
994
  C("confirm", null);
995
- }, ve = () => {
996
- De(), C("cancel");
995
+ }, ye = () => {
996
+ ue(), C("cancel");
997
997
  };
998
- return (ce, ie) => {
999
- const Le = fl("el-input"), B = fl("el-button");
998
+ return (de, ce) => {
999
+ const je = pl("el-input"), B = pl("el-button");
1000
1000
  return le(), ll(ga, {
1001
1001
  title: "扫描录入",
1002
1002
  visible: S.visible,
1003
- onBeforeDestroy: ve,
1003
+ onBeforeDestroy: ye,
1004
1004
  width: "1200px",
1005
1005
  style: { height: "80%" }
1006
1006
  }, {
1007
1007
  default: H(() => [
1008
- pe("div", Ci, [
1009
- pe("div", {
1008
+ fe("div", Ci, [
1009
+ fe("div", {
1010
1010
  ref_key: "cameraBox",
1011
1011
  ref: m,
1012
1012
  style: { flex: "1", "min-width": "0", border: "1px solid var(--el-border-color)", "border-radius": "4px", position: "relative", overflow: "hidden", display: "flex", "align-items": "center", "justify-content": "center", background: "var(--el-fill-color-lighter)" }
1013
1013
  }, [
1014
1014
  s.value ? Je("", !0) : (le(), Oe("div", Ti, "初始化摄像头..."))
1015
1015
  ], 512),
1016
- pe("div", Oi, [
1017
- pe("div", xi, [
1018
- ie[0] || (ie[0] = pe("div", { style: { "font-weight": "600", "margin-bottom": "8px" } }, "拍照图片", -1)),
1019
- pe("div", wi, [
1016
+ fe("div", Oi, [
1017
+ fe("div", xi, [
1018
+ ce[0] || (ce[0] = fe("div", { style: { "font-weight": "600", "margin-bottom": "8px" } }, "拍照图片", -1)),
1019
+ fe("div", wi, [
1020
1020
  Q.value ? Je("", !0) : (le(), Oe("div", Di, "暂无图片")),
1021
1021
  Q.value ? (le(), Oe("img", {
1022
1022
  key: 1,
@@ -1026,11 +1026,11 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1026
1026
  }, null, 8, Ui)) : Je("", !0)
1027
1027
  ], 512)
1028
1028
  ]),
1029
- pe("div", Ei, [
1030
- ie[1] || (ie[1] = pe("div", { style: { "font-weight": "600", "margin-bottom": "8px" } }, "操作记录", -1)),
1031
- ee(Le, {
1029
+ fe("div", Ei, [
1030
+ ce[1] || (ce[1] = fe("div", { style: { "font-weight": "600", "margin-bottom": "8px" } }, "操作记录", -1)),
1031
+ ee(je, {
1032
1032
  type: "textarea",
1033
- value: fe.value,
1033
+ value: ie.value,
1034
1034
  readonly: "",
1035
1035
  rows: 10,
1036
1036
  placeholder: "设备操作记录...",
@@ -1041,79 +1041,79 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1041
1041
  ])
1042
1042
  ]),
1043
1043
  footer: H(() => [
1044
- pe("div", Li, [
1044
+ fe("div", Li, [
1045
1045
  ee(B, {
1046
- onClick: ol,
1046
+ onClick: De,
1047
1047
  disabled: !s.value,
1048
1048
  id: "themeBorderButton"
1049
1049
  }, {
1050
- default: H(() => ie[2] || (ie[2] = [
1050
+ default: H(() => ce[2] || (ce[2] = [
1051
1051
  sl("适屏")
1052
1052
  ])),
1053
1053
  _: 1,
1054
1054
  __: [2]
1055
1055
  }, 8, ["disabled"]),
1056
1056
  ee(B, {
1057
- onClick: Ne,
1057
+ onClick: Sl,
1058
1058
  disabled: !s.value,
1059
1059
  id: "themeBorderButton"
1060
1060
  }, {
1061
- default: H(() => ie[3] || (ie[3] = [
1061
+ default: H(() => ce[3] || (ce[3] = [
1062
1062
  sl("左旋")
1063
1063
  ])),
1064
1064
  _: 1,
1065
1065
  __: [3]
1066
1066
  }, 8, ["disabled"]),
1067
1067
  ee(B, {
1068
- onClick: Ye,
1068
+ onClick: Be,
1069
1069
  disabled: !s.value,
1070
1070
  id: "themeBorderButton"
1071
1071
  }, {
1072
- default: H(() => ie[4] || (ie[4] = [
1072
+ default: H(() => ce[4] || (ce[4] = [
1073
1073
  sl("右旋")
1074
1074
  ])),
1075
1075
  _: 1,
1076
1076
  __: [4]
1077
1077
  }, 8, ["disabled"]),
1078
1078
  ee(B, {
1079
- onClick: oe,
1079
+ onClick: se,
1080
1080
  disabled: !s.value,
1081
1081
  id: "themeBorderButton"
1082
1082
  }, {
1083
- default: H(() => ie[5] || (ie[5] = [
1083
+ default: H(() => ce[5] || (ce[5] = [
1084
1084
  sl("对焦")
1085
1085
  ])),
1086
1086
  _: 1,
1087
1087
  __: [5]
1088
1088
  }, 8, ["disabled"]),
1089
1089
  ee(B, {
1090
- onClick: Be,
1090
+ onClick: xe,
1091
1091
  disabled: !s.value,
1092
1092
  id: "themeButton"
1093
1093
  }, {
1094
- default: H(() => ie[6] || (ie[6] = [
1094
+ default: H(() => ce[6] || (ce[6] = [
1095
1095
  sl("拍照")
1096
1096
  ])),
1097
1097
  _: 1,
1098
1098
  __: [6]
1099
1099
  }, 8, ["disabled"]),
1100
- ie[9] || (ie[9] = pe("div", { style: { flex: "1" } }, null, -1)),
1100
+ ce[9] || (ce[9] = fe("div", { style: { flex: "1" } }, null, -1)),
1101
1101
  ee(B, {
1102
- onClick: We,
1102
+ onClick: He,
1103
1103
  disabled: !Q.value,
1104
1104
  id: "themeButton"
1105
1105
  }, {
1106
- default: H(() => ie[7] || (ie[7] = [
1106
+ default: H(() => ce[7] || (ce[7] = [
1107
1107
  sl("确认")
1108
1108
  ])),
1109
1109
  _: 1,
1110
1110
  __: [7]
1111
1111
  }, 8, ["disabled"]),
1112
1112
  ee(B, {
1113
- onClick: ve,
1113
+ onClick: ye,
1114
1114
  id: "themeBorderButton"
1115
1115
  }, {
1116
- default: H(() => ie[8] || (ie[8] = [
1116
+ default: H(() => ce[8] || (ce[8] = [
1117
1117
  sl("取消")
1118
1118
  ])),
1119
1119
  _: 1,
@@ -1139,93 +1139,97 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1139
1139
  }
1140
1140
  }
1141
1141
  }), Lr = async (U, P) => {
1142
- var Q, fe, ke, Ae, He, ue, De, ol, Ne, Ye, oe, Be, We, ve, ce, ie, Le;
1143
- let S = (fe = (Q = re(U)) == null ? void 0 : Q.optionUrl) == null ? void 0 : fe.menuSelect, C = [];
1142
+ var Q, ie, ke, Ae, Ge, Ye, ue, De, Sl, Be, se, xe, He, ye, de, ce, je;
1143
+ let S = (ie = (Q = re(U)) == null ? void 0 : Q.optionUrl) == null ? void 0 : ie.menuSelect, C = [];
1144
1144
  S == null || S.forEach((B) => {
1145
1145
  });
1146
1146
  let m = "", s = await Co(S);
1147
1147
  if (s == null || s.forEach((B) => {
1148
- var xl, hl, ae, A;
1149
- (B == null ? void 0 : B.name) === (((A = (ae = (hl = (xl = re(U)) == null ? void 0 : xl.optionUrl) == null ? void 0 : hl.groupSelect) == null ? void 0 : ae[0]) == null ? void 0 : A.replaceAll("'", "")) ?? "") && (m = B == null ? void 0 : B.id);
1148
+ var xl, fl, ae, A;
1149
+ (B == null ? void 0 : B.name) === (((A = (ae = (fl = (xl = re(U)) == null ? void 0 : xl.optionUrl) == null ? void 0 : fl.groupSelect) == null ? void 0 : ae[0]) == null ? void 0 : A.replaceAll("'", "")) ?? "") && (m = B == null ? void 0 : B.id);
1150
1150
  }), P) {
1151
1151
  m = P;
1152
1152
  const B = await ta({
1153
1153
  id: m
1154
- }), xl = (ue = (He = (Ae = (ke = B == null ? void 0 : B.data) == null ? void 0 : ke.result) == null ? void 0 : Ae[0]) == null ? void 0 : He.key) == null ? void 0 : ue.pageKey;
1154
+ }), xl = (Ye = (Ge = (Ae = (ke = B == null ? void 0 : B.data) == null ? void 0 : ke.result) == null ? void 0 : Ae[0]) == null ? void 0 : Ge.key) == null ? void 0 : Ye.pageKey;
1155
1155
  s = await ja(xl, sessionStorage.getItem("systemKey"), "");
1156
1156
  }
1157
1157
  if (m !== "") {
1158
1158
  let B;
1159
- P ? B = (De = s == null ? void 0 : s.find((ae) => (ae == null ? void 0 : ae.id) === P)) == null ? void 0 : De.compData : B = (ol = s == null ? void 0 : s.find((ae) => {
1160
- var A, il, ne, Ue;
1161
- return (ae == null ? void 0 : ae.name) === (((il = (A = U == null ? void 0 : U.groupSelect) == null ? void 0 : A.split(":")) == null ? void 0 : il[0]) || ((Ue = (ne = U == null ? void 0 : U.optionUrl) == null ? void 0 : ne.groupSelect) == null ? void 0 : Ue[0]));
1162
- })) == null ? void 0 : ol.compData;
1163
- let xl = (Ye = (Ne = B == null ? void 0 : B.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : Ne.contents) == null ? void 0 : Ye.map((ae) => ae == null ? void 0 : ae.label);
1164
- (Be = (oe = B == null ? void 0 : B.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : oe.contents) != null && Be.every((ae) => Array.isArray(ae)) && (xl = (ce = Pa((ve = (We = B == null ? void 0 : B.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : We.contents) == null ? void 0 : ve[0])) == null ? void 0 : ce.map((ae) => ae == null ? void 0 : ae.prop));
1165
- let hl = (Le = (ie = B == null ? void 0 : B.find((ae) => (ae == null ? void 0 : ae.key) === "tableContents")) == null ? void 0 : ie.contents) == null ? void 0 : Le.map((ae) => {
1159
+ P ? B = (ue = s == null ? void 0 : s.find((ae) => (ae == null ? void 0 : ae.id) === P)) == null ? void 0 : ue.compData : B = (De = s == null ? void 0 : s.find((ae) => {
1160
+ var A, ol, ne, Ee;
1161
+ return (ae == null ? void 0 : ae.name) === (((ol = (A = U == null ? void 0 : U.groupSelect) == null ? void 0 : A.split(":")) == null ? void 0 : ol[0]) || ((Ee = (ne = U == null ? void 0 : U.optionUrl) == null ? void 0 : ne.groupSelect) == null ? void 0 : Ee[0]));
1162
+ })) == null ? void 0 : De.compData;
1163
+ let xl = (Be = (Sl = B == null ? void 0 : B.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : Sl.contents) == null ? void 0 : Be.map((ae) => ae == null ? void 0 : ae.label);
1164
+ (xe = (se = B == null ? void 0 : B.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : se.contents) != null && xe.every((ae) => Array.isArray(ae)) && (xl = (de = Pa((ye = (He = B == null ? void 0 : B.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : He.contents) == null ? void 0 : ye[0])) == null ? void 0 : de.map((ae) => ae == null ? void 0 : ae.prop));
1165
+ let fl = (je = (ce = B == null ? void 0 : B.find((ae) => (ae == null ? void 0 : ae.key) === "tableContents")) == null ? void 0 : ce.contents) == null ? void 0 : je.map((ae) => {
1166
1166
  if (Array.isArray(ae))
1167
1167
  ae = ae == null ? void 0 : ae.filter((A) => !(A != null && A.id));
1168
1168
  else {
1169
1169
  let A = {};
1170
- for (let il in ae)
1171
- il !== "id" && (A[il] = ae == null ? void 0 : ae[il]);
1170
+ for (let ol in ae)
1171
+ ol !== "id" && (A[ol] = ae == null ? void 0 : ae[ol]);
1172
1172
  ae = A;
1173
1173
  }
1174
1174
  return ae;
1175
1175
  });
1176
- hl == null || hl.forEach((ae) => {
1176
+ fl == null || fl.forEach((ae) => {
1177
1177
  Array.isArray(ae) ? C.push(To(ae, xl)) : C.push(ae);
1178
1178
  });
1179
1179
  }
1180
1180
  return C;
1181
1181
  }, Ni = async (U, P) => {
1182
- var Ae, He;
1182
+ var Ge, Ye;
1183
1183
  let S = U;
1184
1184
  Array.isArray(S) || (S = [S]);
1185
- let C = (Ae = P == null ? void 0 : P.filter((ue) => {
1185
+ let C = (Ge = P == null ? void 0 : P.filter((ue) => {
1186
1186
  var De;
1187
1187
  return (ue == null ? void 0 : ue.methodContent) && ((De = ue == null ? void 0 : ue.methodContent) == null ? void 0 : De.includes("Manual"));
1188
- })) == null ? void 0 : Ae.map((ue) => ({
1188
+ })) == null ? void 0 : Ge.map((ue) => ({
1189
1189
  prop: ue == null ? void 0 : ue.prop,
1190
1190
  label: ue == null ? void 0 : ue.label,
1191
1191
  methods: ue == null ? void 0 : ue.methodContent
1192
1192
  }));
1193
1193
  S = S == null ? void 0 : S.map(async (ue) => (ue = await Oo(ue, C, P, "Manual", S), ue)), S = await Promise.all(S);
1194
- let m = P == null ? void 0 : P.filter((ue) => ue == null ? void 0 : ue.methodId), s = (He = P == null ? void 0 : P[0]) == null ? void 0 : He.prop, Q = S == null ? void 0 : S.map((ue) => ue == null ? void 0 : ue[s]);
1194
+ let m = P == null ? void 0 : P.filter((ue) => ue == null ? void 0 : ue.methodId), s = (Ye = P == null ? void 0 : P[0]) == null ? void 0 : Ye.prop, Q = S == null ? void 0 : S.map((ue) => ue == null ? void 0 : ue[s]);
1195
1195
  Q = [...new Set(Q)];
1196
- let fe = [], ke = m == null ? void 0 : m.map(async (ue) => {
1197
- var ol;
1196
+ let ie = [], ke = m == null ? void 0 : m.map(async (ue) => {
1197
+ var Sl;
1198
1198
  let De = await ta({
1199
1199
  key: {
1200
1200
  tableId: ue == null ? void 0 : ue.methodId
1201
1201
  }
1202
1202
  });
1203
- De = (ol = De == null ? void 0 : De.data) == null ? void 0 : ol.result, De = De == null ? void 0 : De.map((Ne) => {
1204
- var Ye;
1203
+ De = (Sl = De == null ? void 0 : De.data) == null ? void 0 : Sl.result, De = De == null ? void 0 : De.map((Be) => {
1204
+ var se;
1205
1205
  return {
1206
- id: Ne == null ? void 0 : Ne.id,
1207
- value: (Ye = Ne == null ? void 0 : Ne.value) == null ? void 0 : Ye.tableData
1206
+ id: Be == null ? void 0 : Be.id,
1207
+ value: (se = Be == null ? void 0 : Be.value) == null ? void 0 : se.tableData
1208
1208
  };
1209
- }), De == null || De.forEach((Ne) => {
1210
- if (Q != null && Q.find((Ye) => {
1211
- var oe;
1212
- return ((oe = Ne == null ? void 0 : Ne.value) == null ? void 0 : oe[s]) === Ye;
1209
+ }), De == null || De.forEach((Be) => {
1210
+ if (Q != null && Q.find((se) => {
1211
+ var xe;
1212
+ return ((xe = Be == null ? void 0 : Be.value) == null ? void 0 : xe[s]) === se;
1213
1213
  })) {
1214
- let Ye = Ne == null ? void 0 : Ne.value;
1215
- C == null || C.forEach((oe) => {
1216
- var Be;
1217
- Ye[oe.prop.replace(/\d+$/, "")] = (Be = S == null ? void 0 : S.find((We) => (We == null ? void 0 : We[s]) === (Ye == null ? void 0 : Ye[s]))) == null ? void 0 : Be[oe == null ? void 0 : oe.prop];
1218
- }), fe.push({
1219
- id: Ne == null ? void 0 : Ne.id,
1214
+ let se = Be == null ? void 0 : Be.value;
1215
+ C == null || C.forEach((xe) => {
1216
+ var He;
1217
+ se[xe.prop.replace(/\d+$/, "")] = (He = S == null ? void 0 : S.find((ye) => (ye == null ? void 0 : ye[s]) === (se == null ? void 0 : se[s]))) == null ? void 0 : He[xe == null ? void 0 : xe.prop];
1218
+ }), ie.push({
1219
+ id: Be == null ? void 0 : Be.id,
1220
1220
  value: {
1221
- tableData: Ye
1221
+ tableData: se
1222
1222
  }
1223
1223
  });
1224
1224
  }
1225
1225
  });
1226
1226
  });
1227
- return await Promise.all(ke), await Nn({
1228
- dataList: fe
1227
+ await Promise.all(ke);
1228
+ const Ae = /* @__PURE__ */ new Map();
1229
+ return ie.forEach((ue) => {
1230
+ Ae.has(ue.id) || Ae.set(ue.id, ue);
1231
+ }), ie = [...Ae.values()], (ie == null ? void 0 : ie.length) > 0 && await Nn({
1232
+ dataList: ie
1229
1233
  }), S;
1230
1234
  }, Bi = "col-operate", Nr = (U) => `${Bi}-${U}`, Ri = (U, P) => {
1231
1235
  const S = /* @__PURE__ */ new Map();
@@ -1259,7 +1263,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1259
1263
  if (C == 200)
1260
1264
  return m == null ? void 0 : m[0];
1261
1265
  }, zi = async (U) => {
1262
- var s, Q, fe, ke;
1266
+ var s, Q, ie, ke;
1263
1267
  if (!U)
1264
1268
  return;
1265
1269
  const P = Nr(U), S = await ta({
@@ -1268,7 +1272,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1268
1272
  uniqueKey: P
1269
1273
  }
1270
1274
  }), C = (s = S == null ? void 0 : S.data) == null ? void 0 : s.code, m = (Q = S == null ? void 0 : S.data) == null ? void 0 : Q.result;
1271
- return C == 200 ? (ke = (fe = m == null ? void 0 : m[0]) == null ? void 0 : fe.value) == null ? void 0 : ke.columns : [];
1275
+ return C == 200 ? (ke = (ie = m == null ? void 0 : m[0]) == null ? void 0 : ie.value) == null ? void 0 : ke.columns : [];
1272
1276
  }, Ji = async (U, P) => {
1273
1277
  if (!U || !P)
1274
1278
  return;
@@ -1391,13 +1395,13 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1391
1395
  emits: ["getSliceContLength", "clickMainKey", "change", "contentChange", "onButtonClick", "contentClick", "pageChange", "rowClick", "routeUrl"],
1392
1396
  setup(U, { emit: P }) {
1393
1397
  var cn;
1394
- const S = G([]), C = $i(_a), m = G(null), s = U, Q = G(s == null ? void 0 : s.allowSelect), fe = G((cn = s == null ? void 0 : s.config) == null ? void 0 : cn.showIndex), ke = G(), Ae = G(!0), He = G(!1), ue = {
1398
+ const S = G([]), C = $i(_a), m = G(null), s = U, Q = G(s == null ? void 0 : s.allowSelect), ie = G((cn = s == null ? void 0 : s.config) == null ? void 0 : cn.showIndex), ke = G(), Ae = G(!0), Ge = G(!1), Ye = {
1395
1399
  sortable: "switch",
1396
1400
  filterable: "switch",
1397
1401
  showSummary: "switch",
1398
1402
  operable: "switch",
1399
1403
  fixed: "radio"
1400
- }, De = G([
1404
+ }, ue = G([
1401
1405
  {
1402
1406
  label: "排序",
1403
1407
  value: "sortable",
@@ -1438,9 +1442,9 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1438
1442
  }
1439
1443
  ]
1440
1444
  }
1441
- ]), ol = xo(_a);
1442
- let Ne = "$R";
1443
- const { originalPath: Ye } = Ea(ol), oe = Ye.value, Be = Ua(() => {
1445
+ ]), De = xo(_a);
1446
+ let Sl = "$R";
1447
+ const { originalPath: Be } = Ea(De), se = Be.value, xe = Ua(() => {
1444
1448
  var l;
1445
1449
  return (l = B.value) == null ? void 0 : l.every((a) => a == null ? void 0 : a.sortable);
1446
1450
  });
@@ -1451,27 +1455,27 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1451
1455
  var l;
1452
1456
  return (l = B.value) == null ? void 0 : l.every((a) => a == null ? void 0 : a.operable);
1453
1457
  });
1454
- const We = G(!0), ve = G([]), ce = Za({
1458
+ const He = G(!0), ye = G([]), de = Za({
1455
1459
  column: {},
1456
1460
  status: !1,
1457
1461
  text: "合计"
1458
- }), ie = Za({
1462
+ }), ce = Za({
1459
1463
  currentPage: 1,
1460
1464
  pageSize: 10,
1461
1465
  total: 0,
1462
1466
  pageSizes: [5, 10, 20, 50, 100]
1463
- }), Le = P, B = G([]), xl = G([]), hl = G([]), ae = Za({ prop: "", order: null }), A = G([]), il = G(!1), ne = G(!1), Ue = G(null), { isUseBackdrop: Xe, initTrackFileType: El, getFileExtension: Ql, setData: pr, getFileInfo: Br, getFilesInfo: Fn } = zo(), fr = G([]), ka = G(!1), Ca = G(), wl = Wo(), { importLoading: Cu, activeMenuPath: Ze, contentLoading: Tu, linkMenuInfo: zn } = Ea(wl), Jn = wo(_a), yl = qo(_a), { extraContents: al, cacheUpdatingData: Na, tableViewContents: Ba, tableLoading: Ou, pageMapState: Ta, lockingPage: lr } = Ea(yl), I = G([]), na = G([]), ql = G(/* @__PURE__ */ new Map());
1467
+ }), je = P, B = G([]), xl = G([]), fl = G([]), ae = Za({ prop: "", order: null }), A = G([]), ol = G(!1), ne = G(!1), Ee = G(null), { isUseBackdrop: Xe, initTrackFileType: El, getFileExtension: Ql, setData: pr, getFileInfo: Br, getFilesInfo: Fn } = zo(), fr = G([]), ka = G(!1), Ca = G(), wl = Wo(), { importLoading: Cu, activeMenuPath: Ze, contentLoading: Tu, linkMenuInfo: zn } = Ea(wl), Jn = wo(_a), hl = qo(_a), { extraContents: al, cacheUpdatingData: Na, tableViewContents: Ba, tableLoading: Ou, pageMapState: Ta, lockingPage: lr } = Ea(hl), I = G([]), na = G([]), ql = G(/* @__PURE__ */ new Map());
1464
1468
  G(!1);
1465
1469
  const sa = G("");
1466
1470
  G();
1467
1471
  const ar = G(!0), Oa = G(0), Rr = G(!0), zl = G(""), oa = G(!1), Wn = G({
1468
1472
  label: "查看三维模型"
1469
- }), rr = G(!1), hr = G(), Xl = G([]), ia = G([]), nr = G(!1), Ra = G([]), Rl = G([]), Ml = G([]), we = G([]), sr = G(!1), va = G(!1), ua = G([]), qn = G(null), or = G(!1), ir = G([]), Mr = G(""), yr = G(""), vr = G(!1), xa = G([]), gr = G([]), br = G([]), kr = G(null), pa = G([]), Ma = Go(), Gn = Ua(() => Ma.getConfig()), Yl = G(), $l = G(), Hn = fi(_a), Ka = G(), Sr = G(0), Xn = Do(_a), { selectIndex: Qn, selectMenu: Fa, selectTitle: xu } = Ea(Xn), { selectString: Sa } = Ea(Hn), Yn = ko(_a), { loginUserInfo: wa } = Ea(Yn), Zn = G(720), Zl = G(!1), ur = G(!1), Il = G([]), Vl = G(), za = G(!0), Kr = G(!0), ma = G([]), In = po("contentRef");
1473
+ }), rr = G(!1), hr = G(), Xl = G([]), ia = G([]), nr = G(!1), Ra = G([]), Rl = G([]), Ml = G([]), Ue = G([]), sr = G(!1), va = G(!1), ua = G([]), qn = G(null), or = G(!1), ir = G([]), Mr = G(""), yr = G(""), vr = G(!1), xa = G([]), gr = G([]), br = G([]), kr = G(null), pa = G([]), Ma = Go(), Gn = Ua(() => Ma.getConfig()), Yl = G(), $l = G(), Hn = fi(_a), Ka = G(), Sr = G(0), Xn = Do(_a), { selectIndex: Qn, selectMenu: Fa, selectTitle: xu } = Ea(Xn), { selectString: Sa } = Ea(Hn), Yn = ko(_a), { loginUserInfo: wa } = Ea(Yn), Zn = G(720), Zl = G(!1), ur = G(!1), Il = G([]), Vl = G(), za = G(!0), Kr = G(!0), ma = G([]), In = po("contentRef");
1470
1474
  fo("contentRef", In), Fl(() => {
1471
1475
  var e;
1472
1476
  return (e = I.value) == null ? void 0 : e.length;
1473
1477
  }, (e) => {
1474
- ie.total = e;
1478
+ ce.total = e;
1475
1479
  }), Fl(
1476
1480
  () => Ba.value,
1477
1481
  async () => {
@@ -1504,32 +1508,32 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1504
1508
  tableData: $
1505
1509
  }
1506
1510
  })), D = await An({ dataList: k });
1507
- ((c = D == null ? void 0 : D.data) == null ? void 0 : c.code) === 200 ? (yl.setRefreshCurStructure(!0), tl.success("导入数据成功")) : tl.error("导入数据响应失败");
1511
+ ((c = D == null ? void 0 : D.data) == null ? void 0 : c.code) === 200 ? (hl.setRefreshCurStructure(!0), dl.success("导入数据成功")) : dl.error("导入数据响应失败");
1508
1512
  } catch (o) {
1509
- throw tl.error("导入数据处理失败"), new Error(o);
1513
+ throw dl.error("导入数据处理失败"), new Error(o);
1510
1514
  }
1511
1515
  }, es = async (e) => {
1512
1516
  var u, c, o, p, g, w, k;
1513
- let l = hl.value;
1517
+ let l = fl.value;
1514
1518
  l != null && l.find((D) => (e == null ? void 0 : e.key) === (D == null ? void 0 : D.key)) && (l = l == null ? void 0 : l.filter((D) => (e == null ? void 0 : e.key) !== (D == null ? void 0 : D.key))), l.push({
1515
1519
  key: e == null ? void 0 : e.key,
1516
1520
  value: [(c = e == null ? void 0 : e.value) == null ? void 0 : c[((u = e == null ? void 0 : e.value) == null ? void 0 : u.length) - 1]]
1517
1521
  });
1518
- let a = we.value;
1522
+ let a = Ue.value;
1519
1523
  a = a == null ? void 0 : a.map((D) => {
1520
1524
  var $, N;
1521
1525
  return (D == null ? void 0 : D.type) === "Select" && (e == null ? void 0 : e.key) === (D == null ? void 0 : D.prop) && Array.isArray(D.value) && ($ = D.value) != null && $.every((M) => typeof M == "string") && (D.selectValue = (N = l == null ? void 0 : l.find((M) => (M == null ? void 0 : M.key) === (D == null ? void 0 : D.prop))) == null ? void 0 : N.value), D;
1522
1526
  });
1523
1527
  let r = (p = (o = a == null ? void 0 : a.find((D) => (D == null ? void 0 : D.prop) === (e == null ? void 0 : e.key))) == null ? void 0 : o.optionUrl) == null ? void 0 : p.menuId, n = a == null ? void 0 : a.find((D) => (D == null ? void 0 : D.prop) === (e == null ? void 0 : e.key));
1524
1528
  if (r) {
1525
- let D = await Lr(n == null ? void 0 : n.optionUrl, r), $, N = ve.value, M = (k = (w = (g = we.value) == null ? void 0 : g.find((_) => {
1529
+ let D = await Lr(n == null ? void 0 : n.optionUrl, r), $, N = ye.value, M = (k = (w = (g = Ue.value) == null ? void 0 : g.find((_) => {
1526
1530
  var K;
1527
1531
  return (K = n == null ? void 0 : n.optionUrl) == null ? void 0 : K.menuId;
1528
1532
  })) == null ? void 0 : w.selectValue) == null ? void 0 : k[0];
1529
1533
  if (D == null || D.forEach((_) => {
1530
1534
  var K, Z, W, L, T, i, h, y, z, x;
1531
1535
  if (r) {
1532
- let X = (Z = (K = we.value) == null ? void 0 : K.find((j) => {
1536
+ let X = (Z = (K = Ue.value) == null ? void 0 : K.find((j) => {
1533
1537
  var ge, J;
1534
1538
  return ((ge = n == null ? void 0 : n.optionUrl) == null ? void 0 : ge.menuId) === ((J = j == null ? void 0 : j.optionUrl) == null ? void 0 : J.menuId);
1535
1539
  })) == null ? void 0 : Z.prop, d = (L = (W = a == null ? void 0 : a.find((j) => (j == null ? void 0 : j.prop) === X)) == null ? void 0 : W.selectValue) == null ? void 0 : L[0];
@@ -1539,11 +1543,11 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1539
1543
  let _ = a;
1540
1544
  _ = _ == null ? void 0 : _.map((K) => {
1541
1545
  var Z, W, L, T, i, h;
1542
- return r && ($ != null && $[K == null ? void 0 : K.prop]) && zl.value === "新增" && (K == null ? void 0 : K.prop) !== (n == null ? void 0 : n.prop) ? K.value = ($ == null ? void 0 : $[K == null ? void 0 : K.prop]) || ($ == null ? void 0 : $[(T = (L = (W = (Z = K == null ? void 0 : K.optionUrl) == null ? void 0 : Z.groupSelect) == null ? void 0 : W[1]) == null ? void 0 : L.replaceAll("[", "")) == null ? void 0 : T.replaceAll("]", "")]) : K.value = (h = (i = we.value) == null ? void 0 : i.find((y) => (y == null ? void 0 : y.prop) === (K == null ? void 0 : K.prop))) == null ? void 0 : h.value, K;
1543
- }), we.value = _;
1546
+ return r && ($ != null && $[K == null ? void 0 : K.prop]) && zl.value === "新增" && (K == null ? void 0 : K.prop) !== (n == null ? void 0 : n.prop) ? K.value = ($ == null ? void 0 : $[K == null ? void 0 : K.prop]) || ($ == null ? void 0 : $[(T = (L = (W = (Z = K == null ? void 0 : K.optionUrl) == null ? void 0 : Z.groupSelect) == null ? void 0 : W[1]) == null ? void 0 : L.replaceAll("[", "")) == null ? void 0 : T.replaceAll("]", "")]) : K.value = (h = (i = Ue.value) == null ? void 0 : i.find((y) => (y == null ? void 0 : y.prop) === (K == null ? void 0 : K.prop))) == null ? void 0 : h.value, K;
1547
+ }), Ue.value = _;
1544
1548
  }
1545
1549
  }
1546
- hl.value = l;
1550
+ fl.value = l;
1547
1551
  }, ls = async (e) => {
1548
1552
  var l, a, r, n, u;
1549
1553
  if ((l = e == null ? void 0 : e.toString()) != null && l.includes(".txt") || (a = e == null ? void 0 : e.toString()) != null && a.includes(".cpt") || (r = e == null ? void 0 : e.toString()) != null && r.includes(".cyd")) {
@@ -1570,27 +1574,27 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1570
1574
  });
1571
1575
  const Fr = Ua(() => {
1572
1576
  var r, n;
1573
- const e = (ie.currentPage - 1) * ie.pageSize, l = e + ie.pageSize, a = (r = B.value) == null ? void 0 : r.find((u) => {
1577
+ const e = (ce.currentPage - 1) * ce.pageSize, l = e + ce.pageSize, a = (r = B.value) == null ? void 0 : r.find((u) => {
1574
1578
  var c;
1575
1579
  return (u == null ? void 0 : u.sortable) && ((c = u == null ? void 0 : u.label) == null ? void 0 : c.includes("时间"));
1576
1580
  });
1577
- return a && (ae.order = "descending", ae.prop = a == null ? void 0 : a.prop), Le("getSliceContLength", ie), (n = I.value) == null ? void 0 : n.slice(e, l);
1581
+ return a && (ae.order = "descending", ae.prop = a == null ? void 0 : a.prop), je("getSliceContLength", ce), (n = I.value) == null ? void 0 : n.slice(e, l);
1578
1582
  }), as = (e) => {
1579
- ie.currentPage = e, Le("getSliceContLength", ie);
1583
+ ce.currentPage = e, je("getSliceContLength", ce);
1580
1584
  }, rs = (e) => {
1581
1585
  var l;
1582
- ie.pageSize = e, e * ie.currentPage > ((l = I.value) == null ? void 0 : l.length) && (ie.currentPage = 1, ie.pageSize = 10, tl.warning("分页无效,返回第一页")), Le("getSliceContLength", ie);
1586
+ ce.pageSize = e, e * ce.currentPage > ((l = I.value) == null ? void 0 : l.length) && (ce.currentPage = 1, ce.pageSize = 10, dl.warning("分页无效,返回第一页")), je("getSliceContLength", ce);
1583
1587
  }, ns = (e, l) => {
1584
1588
  var c, o;
1585
1589
  const a = (o = (c = B.value) == null ? void 0 : c.map((p) => p == null ? void 0 : p.prop)) == null ? void 0 : o.filter((p) => p !== "operate");
1586
1590
  let r;
1587
1591
  const n = (e == null ? void 0 : e.length) === (a == null ? void 0 : a.length);
1588
- if (e != null && e.includes("序号")) return tl.error("导入的数据不需要包含序号列");
1589
- if (r = n ? e : e.slice(0, a == null ? void 0 : a.length), !(r == null ? void 0 : r.every((p) => a == null ? void 0 : a.find((g) => p === g)))) return tl.error("导入的数据表头不匹配");
1592
+ if (e != null && e.includes("序号")) return dl.error("导入的数据不需要包含序号列");
1593
+ if (r = n ? e : e.slice(0, a == null ? void 0 : a.length), !(r == null ? void 0 : r.every((p) => a == null ? void 0 : a.find((g) => p === g)))) return dl.error("导入的数据表头不匹配");
1590
1594
  Vn(r, l);
1591
1595
  }, ss = (e, l) => {
1592
1596
  var a;
1593
- yl.setRefreshCurStructure(!1), ((a = B.value) == null ? void 0 : a.length) === 0 || ns(e, l);
1597
+ hl.setRefreshCurStructure(!1), ((a = B.value) == null ? void 0 : a.length) === 0 || ns(e, l);
1594
1598
  }, os = (e, l, a, r) => {
1595
1599
  const n = [], u = [], c = (g) => Object.keys(g).length;
1596
1600
  for (const g in e)
@@ -1606,7 +1610,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1606
1610
  }, zr = async (e, l, a, r = !1, n) => {
1607
1611
  var u, c, o, p, g, w, k, D;
1608
1612
  try {
1609
- yl.setRefreshCurStructure(!1);
1613
+ hl.setRefreshCurStructure(!1);
1610
1614
  const $ = await ta({
1611
1615
  id: s == null ? void 0 : s.index
1612
1616
  });
@@ -1658,10 +1662,10 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1658
1662
  pageData: N
1659
1663
  }
1660
1664
  });
1661
- ((D = M == null ? void 0 : M.data) == null ? void 0 : D.code) === 200 ? (tl.success("编辑成功"), yl.setRefreshCurStructure(!0)) : tl.error("编辑响应失败");
1665
+ ((D = M == null ? void 0 : M.data) == null ? void 0 : D.code) === 200 ? (dl.success("编辑成功"), hl.setRefreshCurStructure(!0)) : dl.error("编辑响应失败");
1662
1666
  }
1663
1667
  } catch ($) {
1664
- tl.error($);
1668
+ dl.error($);
1665
1669
  }
1666
1670
  }, is = async (e, l) => {
1667
1671
  await zr("label", l, e);
@@ -1676,7 +1680,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1676
1680
  }, ps = (e) => {
1677
1681
  if (!e)
1678
1682
  return;
1679
- const { item: l, value: a } = e, r = we.value.find((n) => n.prop == l.prop);
1683
+ const { item: l, value: a } = e, r = Ue.value.find((n) => n.prop == l.prop);
1680
1684
  r && r.contents.push({
1681
1685
  label: a,
1682
1686
  value: a
@@ -1714,13 +1718,13 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1714
1718
  }, ys = () => {
1715
1719
  oa.value = !1;
1716
1720
  }, vs = (e) => {
1717
- Le("clickTrigger", e);
1721
+ je("clickTrigger", e);
1718
1722
  }, Wr = async (e) => {
1719
1723
  var u, c, o, p, g, w, k, D, $, N, M, _, K, Z, W;
1720
1724
  const l = e == null ? void 0 : e.row, a = e == null ? void 0 : e.rowData, r = e == null ? void 0 : e.suffix;
1721
1725
  if ((u = l == null ? void 0 : l.toString()) != null && u.includes(".urdf") || e != null && e.isUrdf || r != null && r.includes(".urdf")) {
1722
1726
  if (l.includes(",")) {
1723
- tl.error("当前版本仅允许单个urdf预览!");
1727
+ dl.error("当前版本仅允许单个urdf预览!");
1724
1728
  return;
1725
1729
  }
1726
1730
  if (Xe(l)) {
@@ -1734,9 +1738,9 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1734
1738
  Ra.value = [{
1735
1739
  url: l,
1736
1740
  extension: Ql(l)
1737
- }], ne.value = !0, Ue.value = {
1741
+ }], ne.value = !0, Ee.value = {
1738
1742
  data: re(a)
1739
- }, il.value = !0;
1743
+ }, ol.value = !0;
1740
1744
  return;
1741
1745
  }
1742
1746
  let n = [];
@@ -1749,7 +1753,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1749
1753
  });
1750
1754
  return;
1751
1755
  }
1752
- Ra.value = T, ne.value = !1, il.value = !0;
1756
+ Ra.value = T, ne.value = !1, ol.value = !0;
1753
1757
  return;
1754
1758
  }
1755
1759
  if ((k = l == null ? void 0 : l.toString()) != null && k.includes(".stl") || (D = l == null ? void 0 : l.toString()) != null && D.includes(".STL") || ($ = l == null ? void 0 : l.toString()) != null && $.includes(".obj") || (N = l == null ? void 0 : l.toString()) != null && N.includes(".mtl") || r != null && r.includes(".stl") || r != null && r.includes(".STL") || r != null && r.includes(".obj") || r != null && r.includes(".mtl")) {
@@ -1917,22 +1921,22 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1917
1921
  const n = a[r], u = (c = l[r]) == null ? void 0 : c.toLowerCase();
1918
1922
  return u && n && typeof n == "string" ? n.toLowerCase().includes(u) : !0;
1919
1923
  })), Ss = () => {
1920
- He.value = !0;
1924
+ Ge.value = !0;
1921
1925
  }, Hr = G([]), ms = async (e, l, a = !1) => {
1922
1926
  var r;
1923
1927
  if (e) {
1924
- if (yl.setTableLoading(!0), Hr.value = Object.values(e), e && ((r = Object.values(e)) != null && r.every((n) => !n)))
1928
+ if (hl.setTableLoading(!0), Hr.value = Object.values(e), e && ((r = Object.values(e)) != null && r.every((n) => !n)))
1925
1929
  return I.value = na.value;
1926
1930
  if (a) {
1927
1931
  I.value = [...ql.value.values()].filter((n) => Object.values(n).some((u) => typeof u == "string" ? u == null ? void 0 : u.toLowerCase().includes(l == null ? void 0 : l.toLowerCase()) : !1));
1928
1932
  return;
1929
1933
  }
1930
- I.value = ks(ql.value, e), yl.setTableLoading(!1);
1934
+ I.value = ks(ql.value, e), hl.setTableLoading(!1);
1931
1935
  }
1932
1936
  }, _s = async (e) => {
1933
1937
  }, Xr = async (e, l, a, r) => {
1934
1938
  var n, u, c, o, p, g, w, k, D, $, N, M, _, K, Z, W, L, T, i, h;
1935
- if (Le("clickMainKey", a), (r == null ? void 0 : r.isExistChild) === !0) {
1939
+ if (je("clickMainKey", a), (r == null ? void 0 : r.isExistChild) === !0) {
1936
1940
  let y = (n = r == null ? void 0 : r.columnType) == null ? void 0 : n.prop, z = r == null ? void 0 : r.data;
1937
1941
  if (ma.value = await ja(Ze.value, sessionStorage.getItem("systemKey"), ""), !ma.value) {
1938
1942
  let X = (o = (c = (u = Ze.value) == null ? void 0 : u.split("/")) == null ? void 0 : c.filter((d, j) => {
@@ -1948,7 +1952,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1948
1952
  var ge, J;
1949
1953
  return (j == null ? void 0 : j.key) === "tableContents" && (ge = j == null ? void 0 : j.contents) != null && ge.every((O) => O == null ? void 0 : O.find((R) => R == null ? void 0 : R.id)) && (j.contents = (J = j == null ? void 0 : j.contents) == null ? void 0 : J.filter((O) => (O == null ? void 0 : O[1]) === z)), j;
1950
1954
  }), X;
1951
- }), Le("routeUrl", ma.value, {
1955
+ }), je("routeUrl", ma.value, {
1952
1956
  isEdit: !0,
1953
1957
  routerUrl: Ze.value
1954
1958
  });
@@ -1971,7 +1975,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
1971
1975
  Ca.value = z, ka.value = !0;
1972
1976
  }
1973
1977
  if (re(B.value), (r == null ? void 0 : r.isMainKey) === !0) {
1974
- wl.setActiveMenuPath(void 0), yl.setRouteToChildPath(void 0), yl.setFixMenuStatus(!0);
1978
+ wl.setActiveMenuPath(void 0), hl.setRouteToChildPath(void 0), hl.setFixMenuStatus(!0);
1975
1979
  let y = (k = (w = s.itemData) == null ? void 0 : w.find((x) => (x == null ? void 0 : x.key) === "contentTableId")) == null ? void 0 : k.contents, z = ($ = (D = s.itemData) == null ? void 0 : D.find((x) => (x == null ? void 0 : x.key) === "relatedFilter")) == null ? void 0 : $.index;
1976
1980
  if (z !== 0) {
1977
1981
  let x = (M = (N = B.value) == null ? void 0 : N[z]) == null ? void 0 : M.prop;
@@ -2002,7 +2006,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2002
2006
  }, As = () => {
2003
2007
  ka.value = !1;
2004
2008
  }, Cs = (e) => {
2005
- Le("rowClick", e);
2009
+ je("rowClick", e);
2006
2010
  };
2007
2011
  Fl(
2008
2012
  () => s.changedContent,
@@ -2017,10 +2021,10 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2017
2021
  }, delete n.newId), n;
2018
2022
  });
2019
2023
  const l = (r = s.itemData) == null ? void 0 : r.map((n) => ((n == null ? void 0 : n.key) === "tableContents" && (n.contents = e), n));
2020
- I.value = e, Le("contentChange", {
2024
+ I.value = e, je("contentChange", {
2021
2025
  contents: l,
2022
2026
  index: s.index
2023
- }), Le("change", {
2027
+ }), je("change", {
2024
2028
  content: e,
2025
2029
  index: s == null ? void 0 : s.index,
2026
2030
  buttonName: "",
@@ -2080,11 +2084,11 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2080
2084
  return a(e), l;
2081
2085
  }, Us = async (e, l, a) => {
2082
2086
  var T, i, h, y, z, x, X, d, j, ge, J;
2083
- wl.setImportLoading(!0), yl.setFreshContent(!1);
2087
+ wl.setImportLoading(!0), hl.setFreshContent(!1);
2084
2088
  let r = await Os().catch((O) => (wl.setImportLoading(!1), Promise.reject(O)));
2085
2089
  r = r == null ? void 0 : r.filter((O) => {
2086
2090
  var R;
2087
- return ((R = O == null ? void 0 : O.find((te) => te == null ? void 0 : te.id)) == null ? void 0 : R.id) === (l == null ? void 0 : l.id);
2091
+ return ((R = O == null ? void 0 : O.find((pe) => pe == null ? void 0 : pe.id)) == null ? void 0 : R.id) === (l == null ? void 0 : l.id);
2088
2092
  });
2089
2093
  let n = xn([(T = B.value) == null ? void 0 : T.filter((O) => (O == null ? void 0 : O.label) !== "操作")]);
2090
2094
  const u = (h = (i = Po(r, n)) == null ? void 0 : i[0]) == null ? void 0 : h.find((O) => {
@@ -2109,27 +2113,27 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2109
2113
  if (D) {
2110
2114
  let O = (x = (z = B.value) == null ? void 0 : z.find((Ce) => (Ce == null ? void 0 : Ce.isMainKey) === !0)) == null ? void 0 : x.prop;
2111
2115
  N = l == null ? void 0 : l[O];
2112
- let R = $ == null ? void 0 : $.split(oe), te = [];
2113
- R == null || R.forEach((Ce, $e) => {
2114
- (R == null ? void 0 : R.length) - 1 === $e && te.push(N), te.push(Ce);
2115
- }), te = te == null ? void 0 : te[0];
2116
- let de = await ja(te, sessionStorage.getItem("systemKey"), ""), se = de == null ? void 0 : de.filter((Ce) => (Ce == null ? void 0 : Ce.name) === g);
2117
- se = se == null ? void 0 : se.map((Ce) => {
2118
- var $e;
2119
- return Ce.compData = ($e = Ce == null ? void 0 : Ce.compData) == null ? void 0 : $e.map((Y) => {
2120
- var ye;
2121
- return (Y == null ? void 0 : Y.key) === "tableContents" && (Y.contents = (ye = Y == null ? void 0 : Y.contents) == null ? void 0 : ye.filter((qe) => (qe == null ? void 0 : qe[1]) === (l == null ? void 0 : l[g]))), Y;
2116
+ let R = $ == null ? void 0 : $.split(se), pe = [];
2117
+ R == null || R.forEach((Ce, Ne) => {
2118
+ (R == null ? void 0 : R.length) - 1 === Ne && pe.push(N), pe.push(Ce);
2119
+ }), pe = pe == null ? void 0 : pe[0];
2120
+ let te = await ja(pe, sessionStorage.getItem("systemKey"), ""), oe = te == null ? void 0 : te.filter((Ce) => (Ce == null ? void 0 : Ce.name) === g);
2121
+ oe = oe == null ? void 0 : oe.map((Ce) => {
2122
+ var Ne;
2123
+ return Ce.compData = (Ne = Ce == null ? void 0 : Ce.compData) == null ? void 0 : Ne.map((Y) => {
2124
+ var ve;
2125
+ return (Y == null ? void 0 : Y.key) === "tableContents" && (Y.contents = (ve = Y == null ? void 0 : Y.contents) == null ? void 0 : ve.filter((We) => (We == null ? void 0 : We[1]) === (l == null ? void 0 : l[g]))), Y;
2122
2126
  }), Ce;
2123
- }), (!se || (se == null ? void 0 : se.length) === 0) && (se = de, se = se == null ? void 0 : se.map((Ce) => {
2124
- var $e;
2125
- return Ce.compData = ($e = Ce == null ? void 0 : Ce.compData) == null ? void 0 : $e.map((Y) => {
2126
- var ye;
2127
- return (Y == null ? void 0 : Y.key) === "tableContents" && (Y.contents = (ye = Y == null ? void 0 : Y.contents) == null ? void 0 : ye.filter((qe) => {
2127
+ }), (!oe || (oe == null ? void 0 : oe.length) === 0) && (oe = te, oe = oe == null ? void 0 : oe.map((Ce) => {
2128
+ var Ne;
2129
+ return Ce.compData = (Ne = Ce == null ? void 0 : Ce.compData) == null ? void 0 : Ne.map((Y) => {
2130
+ var ve;
2131
+ return (Y == null ? void 0 : Y.key) === "tableContents" && (Y.contents = (ve = Y == null ? void 0 : Y.contents) == null ? void 0 : ve.filter((We) => {
2128
2132
  var be, Se;
2129
- return (qe == null ? void 0 : qe[1]) === (l == null ? void 0 : l[(Se = (be = B == null ? void 0 : B.value) == null ? void 0 : be[0]) == null ? void 0 : Se.prop]);
2133
+ return (We == null ? void 0 : We[1]) === (l == null ? void 0 : l[(Se = (be = B == null ? void 0 : B.value) == null ? void 0 : be[0]) == null ? void 0 : Se.prop]);
2130
2134
  })), Y;
2131
2135
  }), Ce;
2132
- })), w = ws(se);
2136
+ })), w = ws(oe);
2133
2137
  }
2134
2138
  const M = await xs(c, {
2135
2139
  token: k,
@@ -2138,31 +2142,31 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2138
2142
  let W = [], L = [];
2139
2143
  if (_ && ((d = Object.values(_)) == null ? void 0 : d.length) > 0) {
2140
2144
  let O = [];
2141
- const R = new FormData(), te = (j = Ds(_)) == null ? void 0 : j.map(async (se) => {
2142
- var Ce, $e;
2143
- if (!Array.isArray(se) && (se != null && se.includes("http"))) {
2144
- let Y = await Aa.get(se, { responseType: "blob" }), ye = ($e = se == null ? void 0 : se.split("/")) == null ? void 0 : $e[((Ce = se == null ? void 0 : se.split("/")) == null ? void 0 : Ce.length) - 1];
2145
- R.append("files", Y.data, ye);
2145
+ const R = new FormData(), pe = (j = Ds(_)) == null ? void 0 : j.map(async (oe) => {
2146
+ var Ce, Ne;
2147
+ if (!Array.isArray(oe) && (oe != null && oe.includes("http"))) {
2148
+ let Y = await Aa.get(oe, { responseType: "blob" }), ve = (Ne = oe == null ? void 0 : oe.split("/")) == null ? void 0 : Ne[((Ce = oe == null ? void 0 : oe.split("/")) == null ? void 0 : Ce.length) - 1];
2149
+ R.append("files", Y.data, ve);
2146
2150
  } else
2147
- O.push(se);
2151
+ O.push(oe);
2148
2152
  });
2149
- if (await Promise.all(te), !$o(R)) {
2150
- let se = await No(R), Ce = (J = (ge = se == null ? void 0 : se.data) == null ? void 0 : ge.result) == null ? void 0 : J.map(($e) => {
2151
- var Y, ye, qe, be, Se, je;
2153
+ if (await Promise.all(pe), !$o(R)) {
2154
+ let oe = await No(R), Ce = (J = (ge = oe == null ? void 0 : oe.data) == null ? void 0 : ge.result) == null ? void 0 : J.map((Ne) => {
2155
+ var Y, ve, We, be, Se, Pe;
2152
2156
  return {
2153
- name: (je = (Se = (be = (Y = $e == null ? void 0 : $e.url) == null ? void 0 : Y.split("/")) == null ? void 0 : be[((qe = (ye = $e == null ? void 0 : $e.url) == null ? void 0 : ye.split("/")) == null ? void 0 : qe.length) - 1]) == null ? void 0 : Se.split(".")) == null ? void 0 : je[0],
2154
- url: $e == null ? void 0 : $e.url
2157
+ name: (Pe = (Se = (be = (Y = Ne == null ? void 0 : Ne.url) == null ? void 0 : Y.split("/")) == null ? void 0 : be[((We = (ve = Ne == null ? void 0 : Ne.url) == null ? void 0 : ve.split("/")) == null ? void 0 : We.length) - 1]) == null ? void 0 : Se.split(".")) == null ? void 0 : Pe[0],
2158
+ url: Ne == null ? void 0 : Ne.url
2155
2159
  };
2156
2160
  });
2157
2161
  O = [...O, ...Ce];
2158
2162
  }
2159
- let de = {};
2160
- for (let se in l)
2161
- se !== "id" && (de[se] = l[se]);
2162
- de[Z] = O, L.push({
2163
+ let te = {};
2164
+ for (let oe in l)
2165
+ oe !== "id" && (te[oe] = l[oe]);
2166
+ te[Z] = O, L.push({
2163
2167
  id: l == null ? void 0 : l.id,
2164
2168
  value: {
2165
- tableData: de
2169
+ tableData: te
2166
2170
  }
2167
2171
  });
2168
2172
  }
@@ -2170,7 +2174,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2170
2174
  dataList: L
2171
2175
  }), (W == null ? void 0 : W.length) > 0 && await An({
2172
2176
  dataList: W
2173
- }), Ha(!0), wl.setImportLoading(!1), yl.setFreshContent(!0);
2177
+ }), Ha(!0), wl.setImportLoading(!1), hl.setFreshContent(!0);
2174
2178
  }, Qr = (e, l) => (e = e == null ? void 0 : e.map((a) => {
2175
2179
  var r, n;
2176
2180
  return a != null && a.children && ((r = a.children) != null && r.find((u) => u.id === (l == null ? void 0 : l.id)) ? a.children = (n = a.children) == null ? void 0 : n.filter((u) => (u == null ? void 0 : u.id) !== (l == null ? void 0 : l.id)) : a.children = Qr(a.children, l)), a;
@@ -2186,7 +2190,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2186
2190
  };
2187
2191
  ua.value.push(l);
2188
2192
  }
2189
- }, vl = Za({
2193
+ }, yl = Za({
2190
2194
  title: "迁移至",
2191
2195
  show: !1,
2192
2196
  width: "20%",
@@ -2210,33 +2214,33 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2210
2214
  color: "var(--ssbutton-theme-color)"
2211
2215
  }]
2212
2216
  }), js = () => {
2213
- vl.show = !1;
2217
+ yl.show = !1;
2214
2218
  }, Ps = (e) => {
2215
2219
  var l, a;
2216
- if ((e == null ? void 0 : e.buttonName) === "取消") return vl.show = !1;
2217
- vl.to = e == null ? void 0 : e.content, !(!(s != null && s.index) || !((l = vl.to) != null && l.groupName)) && (s == null ? void 0 : s.index) !== ((a = vl.to) == null ? void 0 : a.groupName) && (Le("change", {
2220
+ if ((e == null ? void 0 : e.buttonName) === "取消") return yl.show = !1;
2221
+ yl.to = e == null ? void 0 : e.content, !(!(s != null && s.index) || !((l = yl.to) != null && l.groupName)) && (s == null ? void 0 : s.index) !== ((a = yl.to) == null ? void 0 : a.groupName) && (je("change", {
2218
2222
  buttonName: "迁移",
2219
2223
  value: {
2220
- from: vl.from,
2221
- to: vl.to,
2222
- data: vl.selectRow
2224
+ from: yl.from,
2225
+ to: yl.to,
2226
+ data: yl.selectRow
2223
2227
  }
2224
- }), vl.show = !1);
2228
+ }), yl.show = !1);
2225
2229
  }, $s = (e) => {
2226
2230
  if (e) {
2227
2231
  if (!Ma.validateFileSize(e.raw)) {
2228
- tl.warning(`文件大小不能超过 ${Gn.value.maxSize}MB`);
2232
+ dl.warning(`文件大小不能超过 ${Gn.value.maxSize}MB`);
2229
2233
  return;
2230
2234
  }
2231
2235
  if (!Ma.validateFileType(e.raw)) {
2232
- tl.warning("请上传图片文件");
2236
+ dl.warning("请上传图片文件");
2233
2237
  return;
2234
2238
  }
2235
2239
  }
2236
2240
  }, Ns = async () => {
2237
2241
  var e, l;
2238
2242
  if (ua.value.length === 0) {
2239
- tl.warning("请先选择要上传的图片");
2243
+ dl.warning("请先选择要上传的图片");
2240
2244
  return;
2241
2245
  }
2242
2246
  va.value = !0;
@@ -2256,7 +2260,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2256
2260
  url: (k == null ? void 0 : k.url) || ""
2257
2261
  })), c = await Ma.recognize(u, n), o = Array.isArray(c == null ? void 0 : c.result) ? c.result : [];
2258
2262
  if (o.length === 0) {
2259
- tl.warning("OCR识别未返回有效数据"), va.value = !1;
2263
+ dl.warning("OCR识别未返回有效数据"), va.value = !1;
2260
2264
  return;
2261
2265
  }
2262
2266
  const p = /* @__PURE__ */ new Set(), g = [];
@@ -2286,13 +2290,13 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2286
2290
  });
2287
2291
  }), gr.value = w, xa.value = g, br.value = r, kr.value = c, sr.value = !1, ua.value = [], va.value = !1, vr.value = !0;
2288
2292
  } catch (a) {
2289
- console.error("OCR处理失败:", a), tl.error(((l = (e = a == null ? void 0 : a.response) == null ? void 0 : e.data) == null ? void 0 : l.message) || "OCR识别失败,请重试"), va.value = !1;
2293
+ console.error("OCR处理失败:", a), dl.error(((l = (e = a == null ? void 0 : a.response) == null ? void 0 : e.data) == null ? void 0 : l.message) || "OCR识别失败,请重试"), va.value = !1;
2290
2294
  }
2291
2295
  }, Bs = () => {
2292
2296
  var N, M;
2293
2297
  const e = br.value, l = kr.value, a = xa.value;
2294
2298
  if (!a || a.length === 0) {
2295
- tl.warning("暂无数据可添加");
2299
+ dl.warning("暂无数据可添加");
2296
2300
  return;
2297
2301
  }
2298
2302
  const r = (N = Tn(B.value) || []) == null ? void 0 : N.filter((_) => (_ == null ? void 0 : _.type) !== "operate" && (_ == null ? void 0 : _.label) !== "操作" && (_ == null ? void 0 : _.prop) !== "operate"), n = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Map(), c = (M = r == null ? void 0 : r.find((_) => (_ == null ? void 0 : _.label) === "OCR图片")) == null ? void 0 : M.prop;
@@ -2360,14 +2364,14 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2360
2364
  return (Z = (K = ql.value) == null ? void 0 : K.set) == null ? void 0 : Z.call(K, _.id, _);
2361
2365
  })), Ka.value = I.value;
2362
2366
  let $ = "";
2363
- g > 0 && w > 0 ? $ = `成功匹配替换 ${g} 条数据,新增 ${w} 条OCR识别数据` : g > 0 ? $ = `成功匹配替换 ${g} 条数据` : $ = `成功添加 ${w} 条OCR识别数据`, tl.success($), D.length > 0 && Le("change", {
2367
+ g > 0 && w > 0 ? $ = `成功匹配替换 ${g} 条数据,新增 ${w} 条OCR识别数据` : g > 0 ? $ = `成功匹配替换 ${g} 条数据` : $ = `成功添加 ${w} 条OCR识别数据`, dl.success($), D.length > 0 && je("change", {
2364
2368
  buttonName: "编辑",
2365
2369
  singleContent: D,
2366
2370
  content: I.value,
2367
2371
  index: s == null ? void 0 : s.index,
2368
2372
  parentTableId: s == null ? void 0 : s.parentTableId,
2369
2373
  column: B.value
2370
- }), k.length > 0 && Le("change", {
2374
+ }), k.length > 0 && je("change", {
2371
2375
  buttonName: "OCR批量新增",
2372
2376
  content: I.value,
2373
2377
  index: s == null ? void 0 : s.index,
@@ -2407,7 +2411,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2407
2411
  }, Js = async (e) => {
2408
2412
  const l = io(e);
2409
2413
  if (!l || l.length === 0) {
2410
- tl.warning("暂无图片");
2414
+ dl.warning("暂无图片");
2411
2415
  return;
2412
2416
  }
2413
2417
  if (l.length === 1) {
@@ -2430,7 +2434,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2430
2434
  );
2431
2435
  a.close(), ir.value = r, or.value = !0;
2432
2436
  } catch (a) {
2433
- console.error("预览图片失败:", a), tl.error("预览图片失败,请重试");
2437
+ console.error("预览图片失败:", a), dl.error("预览图片失败,请重试");
2434
2438
  }
2435
2439
  }, Ws = () => {
2436
2440
  or.value = !1, ir.value = [], yr.value = "";
@@ -2438,14 +2442,14 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2438
2442
  ua.value = ua.value.filter((l, a) => a !== e);
2439
2443
  }, dr = async (e, l, a) => {
2440
2444
  var r, n, u, c, o, p, g, w, k, D, $, N, M, _, K, Z, W;
2441
- if (sa.value = "", nr.value = !0, ar.value = !0, Le("onButtonClick", e, l), ve.value = [], e === "删除")
2445
+ if (sa.value = "", nr.value = !0, ar.value = !0, je("onButtonClick", e, l), ye.value = [], e === "删除")
2442
2446
  Un.confirm("是否确认删除", "温馨提示", {
2443
2447
  confirmButtonText: "确认",
2444
2448
  cancelButtonText: "取消",
2445
2449
  type: "warning"
2446
2450
  }).then(() => {
2447
2451
  var L, T;
2448
- (L = I.value) != null && L.find((i) => (i == null ? void 0 : i.id) === (l == null ? void 0 : l.id)) ? I.value = (T = re(I.value)) == null ? void 0 : T.filter((i) => (i == null ? void 0 : i.id) !== (l == null ? void 0 : l.id)) : I.value = Qr(re(I.value), l), ki(Ka.value, Fa.value, l == null ? void 0 : l.id), yl.setTableLoading(s == null ? void 0 : s.index), Le("change", {
2452
+ (L = I.value) != null && L.find((i) => (i == null ? void 0 : i.id) === (l == null ? void 0 : l.id)) ? I.value = (T = re(I.value)) == null ? void 0 : T.filter((i) => (i == null ? void 0 : i.id) !== (l == null ? void 0 : l.id)) : I.value = Qr(re(I.value), l), ki(Ka.value, Fa.value, l == null ? void 0 : l.id), hl.setTableLoading(s == null ? void 0 : s.index), je("change", {
2449
2453
  content: I.value,
2450
2454
  singleContent: l,
2451
2455
  index: s == null ? void 0 : s.index,
@@ -2456,7 +2460,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2456
2460
  });
2457
2461
  else if (e === "批量删除") {
2458
2462
  if (((r = Il.value) == null ? void 0 : r.length) === 0)
2459
- return tl.warning("请先勾选操作的数据");
2463
+ return dl.warning("请先勾选操作的数据");
2460
2464
  Un.confirm("是否确认删除", "温馨提示", {
2461
2465
  confirmButtonText: "确认",
2462
2466
  cancelButtonText: "取消",
@@ -2465,7 +2469,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2465
2469
  () => {
2466
2470
  var T, i;
2467
2471
  const L = (T = Il.value) == null ? void 0 : T.map((h) => h.id);
2468
- I.value = (i = re(I.value)) == null ? void 0 : i.filter((h) => !(L != null && L.includes(h.id))), yl.setTableLoading(s == null ? void 0 : s.index), Le("change", {
2472
+ I.value = (i = re(I.value)) == null ? void 0 : i.filter((h) => !(L != null && L.includes(h.id))), hl.setTableLoading(s == null ? void 0 : s.index), je("change", {
2469
2473
  content: I.value,
2470
2474
  singleContent: null,
2471
2475
  selectItems: Il.value,
@@ -2510,14 +2514,14 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2510
2514
  await Ir(!1, z);
2511
2515
  } else if (e === "修改模板") {
2512
2516
  let L = re(Ze).value;
2513
- yl.setRouteToChildPath(L), wl.setActiveMenuPath(L + oe);
2517
+ hl.setRouteToChildPath(L), wl.setActiveMenuPath(L + se);
2514
2518
  } else if (e === "执行")
2515
2519
  Us(e, l);
2516
2520
  else if (e != null && e.includes("导出")) {
2517
2521
  if (e === "导出选中" && ((N = Il.value) == null ? void 0 : N.length) === 0)
2518
- return tl.warning(`请先勾选${e}的数据`);
2522
+ return dl.warning(`请先勾选${e}的数据`);
2519
2523
  if (e === "导出全部" && ((M = I.value) == null ? void 0 : M.length) === 0)
2520
- return tl.warning("暂无数据导出");
2524
+ return dl.warning("暂无数据导出");
2521
2525
  const L = (K = (_ = B.value) == null ? void 0 : _.map((i) => i == null ? void 0 : i.label)) == null ? void 0 : K.filter((i) => i !== "操作"), T = e === "导出全部" ? re(I.value) : re(Il.value);
2522
2526
  T == null || T.forEach((i) => {
2523
2527
  i == null || delete i.id;
@@ -2525,7 +2529,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2525
2529
  } else if (e === "OCR识别")
2526
2530
  sr.value = !0, ua.value = [];
2527
2531
  else if (e === "迁移")
2528
- vl.selectRow = l, vl.show = !0;
2532
+ yl.selectRow = l, yl.show = !0;
2529
2533
  else if (((Z = a == null ? void 0 : a.extra) == null ? void 0 : Z.type) === "methodButton") {
2530
2534
  let L = l;
2531
2535
  l === "" && (L = re(I.value));
@@ -2553,23 +2557,23 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2553
2557
  var a, r, n, u, c, o, p, g, w, k, D, $, N, M, _, K, Z, W, L, T;
2554
2558
  try {
2555
2559
  let i, h;
2556
- const y = (a = Ta.value[Ze.value + oe]) == null ? void 0 : a.filter((O) => {
2560
+ const y = (a = Ta.value[Ze.value + se]) == null ? void 0 : a.filter((O) => {
2557
2561
  var R;
2558
2562
  return ((R = O == null ? void 0 : O.key) == null ? void 0 : R.type) === "structureMethod";
2559
- }), z = (r = Ta.value[Ze.value + oe]) == null ? void 0 : r.filter((O) => {
2563
+ }), z = (r = Ta.value[Ze.value + se]) == null ? void 0 : r.filter((O) => {
2560
2564
  var R;
2561
2565
  return ((R = O == null ? void 0 : O.key) == null ? void 0 : R.type) === "structure";
2562
2566
  }), x = y == null ? void 0 : y.find((O) => {
2563
- var R, te;
2564
- return ((te = (R = O == null ? void 0 : O.value) == null ? void 0 : R.pageData) == null ? void 0 : te.method) === "保存";
2567
+ var R, pe;
2568
+ return ((pe = (R = O == null ? void 0 : O.value) == null ? void 0 : R.pageData) == null ? void 0 : pe.method) === "保存";
2565
2569
  });
2566
2570
  if (!x) return;
2567
2571
  const X = (o = (c = Ta.value[(u = (n = x == null ? void 0 : x.value) == null ? void 0 : n.pageData) == null ? void 0 : u.path]) == null ? void 0 : c.filter((O) => {
2568
2572
  var R;
2569
2573
  return ((R = O == null ? void 0 : O.key) == null ? void 0 : R.type) === "data";
2570
2574
  })) == null ? void 0 : o.find((O) => {
2571
- var R, te, de, se;
2572
- return ((te = (R = O == null ? void 0 : O.value) == null ? void 0 : R.tableData) == null ? void 0 : te.算法名称) === ((se = (de = x == null ? void 0 : x.value) == null ? void 0 : de.pageData) == null ? void 0 : se.method);
2575
+ var R, pe, te, oe;
2576
+ return ((pe = (R = O == null ? void 0 : O.value) == null ? void 0 : R.tableData) == null ? void 0 : pe.算法名称) === ((oe = (te = x == null ? void 0 : x.value) == null ? void 0 : te.pageData) == null ? void 0 : oe.method);
2573
2577
  });
2574
2578
  if (!X) return;
2575
2579
  const d = {
@@ -2590,15 +2594,15 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2590
2594
  var R;
2591
2595
  return (O == null ? void 0 : O.key) === "formContent" ? {
2592
2596
  ...O,
2593
- contents: (R = O == null ? void 0 : O.contents) == null ? void 0 : R.map((te) => (te == null ? void 0 : te.prop) === l ? {
2594
- ...te,
2597
+ contents: (R = O == null ? void 0 : O.contents) == null ? void 0 : R.map((pe) => (pe == null ? void 0 : pe.prop) === l ? {
2598
+ ...pe,
2595
2599
  value: ""
2596
- } : te)
2600
+ } : pe)
2597
2601
  } : O;
2598
2602
  })
2599
2603
  }, ge = {
2600
2604
  key: {
2601
- pageKey: Ze.value + oe,
2605
+ pageKey: Ze.value + se,
2602
2606
  parentTable: "",
2603
2607
  systemKey: sessionStorage.getItem("systemKey"),
2604
2608
  type: "structure"
@@ -2616,11 +2620,11 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2616
2620
  newStatus: h
2617
2621
  };
2618
2622
  } catch (i) {
2619
- throw tl.error(i), new Error(i);
2623
+ throw dl.error(i), new Error(i);
2620
2624
  }
2621
2625
  }, Zr = (e, l, a, r) => {
2622
2626
  var n;
2623
- Le("contentChange", {
2627
+ je("contentChange", {
2624
2628
  contents: (n = e == null ? void 0 : e.compData) == null ? void 0 : n.map((u) => {
2625
2629
  var c;
2626
2630
  return (u == null ? void 0 : u.key) === "formContent" ? {
@@ -2642,7 +2646,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2642
2646
  }), Xs = G(["系统自动生成信息", "审批意见"]), Qs = async (e, l, a) => {
2643
2647
  var p, g;
2644
2648
  let r = e == null ? void 0 : e[l == null ? void 0 : l.prop], n = 1, u, c;
2645
- const o = re(Ze).value + oe + r;
2649
+ const o = re(Ze).value + se + r;
2646
2650
  if (o) {
2647
2651
  qa.value = "", u = (p = Ta.value[o]) == null ? void 0 : p.filter((D) => {
2648
2652
  var $;
@@ -2670,7 +2674,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2670
2674
  var c, o, p, g, w, k, D, $;
2671
2675
  let r, n;
2672
2676
  const u = await Qs(a == null ? void 0 : a.data, a == null ? void 0 : a.firstCol);
2673
- if (e ? (r = re(Ze).value + oe + ((g = a == null ? void 0 : a.data) == null ? void 0 : g[(p = a == null ? void 0 : a.firstCol) == null ? void 0 : p.prop]), n = re(Ze).value + oe + u) : (r = re(Ze).value + oe, n = re(r) + `loading${((c = wa.value) == null ? void 0 : c.account) || ((o = wa.value) == null ? void 0 : o.账号)}`), l) {
2677
+ if (e ? (r = re(Ze).value + se + ((g = a == null ? void 0 : a.data) == null ? void 0 : g[(p = a == null ? void 0 : a.firstCol) == null ? void 0 : p.prop]), n = re(Ze).value + se + u) : (r = re(Ze).value + se, n = re(r) + `loading${((c = wa.value) == null ? void 0 : c.account) || ((o = wa.value) == null ? void 0 : o.账号)}`), l) {
2674
2678
  const N = (k = (w = Ta.value[n]) == null ? void 0 : w.filter((M) => {
2675
2679
  var _;
2676
2680
  return ((_ = M == null ? void 0 : M.key) == null ? void 0 : _.parentTable) === "";
@@ -2689,7 +2693,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2689
2693
  });
2690
2694
  M && Zr(M, (D = a == null ? void 0 : a.firstCol) == null ? void 0 : D.label, u, Ze.value);
2691
2695
  } else
2692
- yl.setRouteToChildPath(re(Ze).value), wl.setActiveMenuPath(n);
2696
+ hl.setRouteToChildPath(re(Ze).value), wl.setActiveMenuPath(n);
2693
2697
  else if (await jo(r, n, null, null, e ? Xs.value : null), e) {
2694
2698
  const M = await Gs(n);
2695
2699
  if ((M == null ? void 0 : M.length) > 0) {
@@ -2700,11 +2704,11 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2700
2704
  _ && Zr(_, ($ = a == null ? void 0 : a.firstCol) == null ? void 0 : $.label, u, Ze.value);
2701
2705
  }
2702
2706
  } else
2703
- yl.setRouteToChildPath(re(Ze).value), wl.setActiveMenuPath(n);
2707
+ hl.setRouteToChildPath(re(Ze).value), wl.setActiveMenuPath(n);
2704
2708
  } else
2705
- e ? (sa.value = "", $l.value = a == null ? void 0 : a.data, Ha(!0, a == null ? void 0 : a.firstCol, u)) : (yl.setRouteToChildPath(re(Ze).value), wl.setActiveMenuPath(n));
2709
+ e ? (sa.value = "", $l.value = a == null ? void 0 : a.data, Ha(!0, a == null ? void 0 : a.firstCol, u)) : (hl.setRouteToChildPath(re(Ze).value), wl.setActiveMenuPath(n));
2706
2710
  }, Ys = () => {
2707
- il.value = !1, Ra.value = [], ne.value = !1;
2711
+ ol.value = !1, Ra.value = [], ne.value = !1;
2708
2712
  }, Ga = (e) => {
2709
2713
  var c, o, p, g, w, k, D, $, N, M, _, K, Z, W, L, T, i, h, y, z, x, X;
2710
2714
  const l = [];
@@ -2755,7 +2759,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2755
2759
  var ge;
2756
2760
  let j = (d == null ? void 0 : d.prop) || ((ge = r == null ? void 0 : r.find((J) => (J == null ? void 0 : J.label) === (d == null ? void 0 : d.label))) == null ? void 0 : ge.prop);
2757
2761
  return j && (d.value = e[j]), d;
2758
- })), we.value = Xl.value && ((k = Xl.value) == null ? void 0 : k.length) > 0 ? Lo(Xl.value) : l;
2762
+ })), Ue.value = Xl.value && ((k = Xl.value) == null ? void 0 : k.length) > 0 ? Lo(Xl.value) : l;
2759
2763
  let n = [], u = (D = s.itemData) == null ? void 0 : D.filter((d) => (d == null ? void 0 : d.key) === "filterAllType");
2760
2764
  if ((u == null ? void 0 : u.length) > 0 && (n = (u == null ? void 0 : u.map((j) => j == null ? void 0 : j.value)).flat()), (n == null ? void 0 : n.length) > 0) {
2761
2765
  let d = (N = n == null ? void 0 : n.filter((J) => {
@@ -2766,33 +2770,33 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2766
2770
  return (O = J == null ? void 0 : J.content) == null ? void 0 : O.includes("@Type");
2767
2771
  })) == null ? void 0 : $.length) - 1];
2768
2772
  if (d != null && d.content) {
2769
- let J = (K = (_ = (M = d == null ? void 0 : d.content) == null ? void 0 : M.replace(":", Ne)) == null ? void 0 : _.split(Ne)) == null ? void 0 : K[1];
2773
+ let J = (K = (_ = (M = d == null ? void 0 : d.content) == null ? void 0 : M.replace(":", Sl)) == null ? void 0 : _.split(Sl)) == null ? void 0 : K[1];
2770
2774
  if (((Z = J == null ? void 0 : J.trim()) == null ? void 0 : Z.toUpperCase()) === "MANUAL") {
2771
2775
  let O = (h = (i = (W = s.itemData) == null ? void 0 : W.filter((R) => (R == null ? void 0 : R.key) === "contentTableId")) == null ? void 0 : i[((T = (L = s.itemData) == null ? void 0 : L.filter((R) => (R == null ? void 0 : R.key) === "contentTableId")) == null ? void 0 : T.length) - 1]) == null ? void 0 : h.contents;
2772
- we.value = (y = we.value) == null ? void 0 : y.map((R, te) => {
2773
- var de, se;
2774
- return (de = R == null ? void 0 : R.optionUrl) != null && de.menuId && (R.type = "Select", (se = R == null ? void 0 : R.optionUrl) != null && se.menuId && (R.optionUrl.menuId = R.optionUrl.menuId ?? O, R.optionUrl.menuFilter = n, zl.value === "新增" && (R.optionUrl.multiple = !0, R.optionUrl.multipleLimit = 5))), R;
2776
+ Ue.value = (y = Ue.value) == null ? void 0 : y.map((R, pe) => {
2777
+ var te, oe;
2778
+ return (te = R == null ? void 0 : R.optionUrl) != null && te.menuId && (R.type = "Select", (oe = R == null ? void 0 : R.optionUrl) != null && oe.menuId && (R.optionUrl.menuId = R.optionUrl.menuId ?? O, R.optionUrl.menuFilter = n, zl.value === "新增" && (R.optionUrl.multiple = !0, R.optionUrl.multipleLimit = 5))), R;
2775
2779
  });
2776
2780
  }
2777
2781
  }
2778
- let j = (z = we.value) == null ? void 0 : z.filter((J) => {
2782
+ let j = (z = Ue.value) == null ? void 0 : z.filter((J) => {
2779
2783
  var O, R;
2780
2784
  return ((O = J == null ? void 0 : J.optionUrl) == null ? void 0 : O.menuId) && ((R = J == null ? void 0 : J.optionUrl) == null ? void 0 : R.menuId) !== "";
2781
2785
  }), ge;
2782
2786
  if (j == null || j.forEach((J) => {
2783
- var R, te;
2787
+ var R, pe;
2784
2788
  if (ge !== void 0) return;
2785
2789
  let O = (R = J == null ? void 0 : J.optionUrl) == null ? void 0 : R.menuId;
2786
- ((te = j == null ? void 0 : j.filter((de) => {
2787
- var se;
2788
- return ((se = de == null ? void 0 : de.optionUrl) == null ? void 0 : se.menuId) === O;
2789
- })) == null ? void 0 : te.length) > 1 && (ge = O);
2790
+ ((pe = j == null ? void 0 : j.filter((te) => {
2791
+ var oe;
2792
+ return ((oe = te == null ? void 0 : te.optionUrl) == null ? void 0 : oe.menuId) === O;
2793
+ })) == null ? void 0 : pe.length) > 1 && (ge = O);
2790
2794
  }), j = j == null ? void 0 : j.filter((J) => {
2791
2795
  var O;
2792
2796
  return ((O = J == null ? void 0 : J.optionUrl) == null ? void 0 : O.menuId) === ge;
2793
2797
  }), (j == null ? void 0 : j.length) > 1) {
2794
- let J = j == null ? void 0 : j.map((de) => de == null ? void 0 : de.prop), O = j == null ? void 0 : j.map((de) => de == null ? void 0 : de.label), R = j == null ? void 0 : j.map((de) => de == null ? void 0 : de.value), te = (x = re(j)) == null ? void 0 : x[0];
2795
- te.label = O == null ? void 0 : O.join("·"), te.value = R == null ? void 0 : R.join(" "), te.value.trim() === "" && (te.value = ""), te.prop = J == null ? void 0 : J.join("·"), te.usingType = "parent", we.value.unshift(te), we.value = (X = we.value) == null ? void 0 : X.map((de) => (J != null && J.find((se) => se === (de == null ? void 0 : de.prop)) && (de.isFormColHidden = !0), de));
2798
+ let J = j == null ? void 0 : j.map((te) => te == null ? void 0 : te.prop), O = j == null ? void 0 : j.map((te) => te == null ? void 0 : te.label), R = j == null ? void 0 : j.map((te) => te == null ? void 0 : te.value), pe = (x = re(j)) == null ? void 0 : x[0];
2799
+ pe.label = O == null ? void 0 : O.join("·"), pe.value = R == null ? void 0 : R.join(" "), pe.value.trim() === "" && (pe.value = ""), pe.prop = J == null ? void 0 : J.join("·"), pe.usingType = "parent", Ue.value.unshift(pe), Ue.value = (X = Ue.value) == null ? void 0 : X.map((te) => (J != null && J.find((oe) => oe === (te == null ? void 0 : te.prop)) && (te.isFormColHidden = !0), te));
2796
2800
  }
2797
2801
  }
2798
2802
  }, Zs = () => {
@@ -2890,7 +2894,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2890
2894
  return delete n.children, n;
2891
2895
  }) : [];
2892
2896
  }, Ha = (e = !0, l, a) => {
2893
- var g, w, k, D, $, N, M, _, K, Z, W, L, T, i, h, y, z, x, X, d, j, ge, J, O, R, te, de, se, Ce, $e;
2897
+ var g, w, k, D, $, N, M, _, K, Z, W, L, T, i, h, y, z, x, X, d, j, ge, J, O, R, pe, te, oe, Ce, Ne;
2894
2898
  let r = Pa((g = re(B.value)) == null ? void 0 : g.filter((Y) => (Y == null ? void 0 : Y.label) !== "操作")), n, u = re(I.value);
2895
2899
  if (!$l.value) {
2896
2900
  oa.value = !1;
@@ -2905,7 +2909,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2905
2909
  children: $l.value.children
2906
2910
  } : Y = { id: Oa.value.toString() }, Y != null && Y.children && (Y = {
2907
2911
  ...Y,
2908
- children: (w = Y.children) == null ? void 0 : w.map((ye) => en(ye, l, a))
2912
+ children: (w = Y.children) == null ? void 0 : w.map((ve) => en(ve, l, a))
2909
2913
  }), u.push(Object.assign($l.value, Y)), n = Object.assign($l.value, Y);
2910
2914
  } else
2911
2915
  u = (k = Vr(u, r)) == null ? void 0 : k.newContents, n = (D = Vr(u, r)) == null ? void 0 : D.currentSelectContents;
@@ -2913,30 +2917,30 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2913
2917
  if (((N = c == null ? void 0 : c.contents) == null ? void 0 : N.length) > 0) {
2914
2918
  zl.value = "编辑";
2915
2919
  const Y = [];
2916
- u == null || u.forEach((ye, qe) => {
2920
+ u == null || u.forEach((ve, We) => {
2917
2921
  var Se;
2918
2922
  let be = {};
2919
- if (Array.isArray(ye)) {
2920
- let je = [];
2921
- ye == null || ye.filter((rl) => !(rl != null && rl.id)).forEach((rl, E) => {
2922
- var V, Ie, Qe, pl, f, he, Ke;
2923
+ if (Array.isArray(ve)) {
2924
+ let Pe = [];
2925
+ ve == null || ve.filter((rl) => !(rl != null && rl.id)).forEach((rl, E) => {
2926
+ var V, Ie, Qe, tl, f, he, Ke;
2923
2927
  if ((Ie = (V = Yl.value) == null ? void 0 : V[E]) != null && Ie.prop && !Array.isArray(rl)) {
2924
2928
  let b = {};
2925
- b[Yl.value[E].column] = rl, al != null && al.value && ((Qe = al == null ? void 0 : al.value) == null ? void 0 : Qe.length) > 0 && ((pl = al == null ? void 0 : al.value) != null && pl.find((Te) => JSON.stringify(Te == null ? void 0 : Te[0]) === JSON.stringify(b))) && (je = (f = al == null ? void 0 : al.value) == null ? void 0 : f.find((Te) => JSON.stringify(Te == null ? void 0 : Te[0]) === JSON.stringify(b))), je && je.length > 0 ? be[Yl.value[E].prop] = je != null && je.find((Te) => {
2929
+ b[Yl.value[E].column] = rl, al != null && al.value && ((Qe = al == null ? void 0 : al.value) == null ? void 0 : Qe.length) > 0 && ((tl = al == null ? void 0 : al.value) != null && tl.find((Te) => JSON.stringify(Te == null ? void 0 : Te[0]) === JSON.stringify(b))) && (Pe = (f = al == null ? void 0 : al.value) == null ? void 0 : f.find((Te) => JSON.stringify(Te == null ? void 0 : Te[0]) === JSON.stringify(b))), Pe && Pe.length > 0 ? be[Yl.value[E].prop] = Pe != null && Pe.find((Te) => {
2926
2930
  var Fe;
2927
2931
  return ((Fe = Object.keys(Te)) == null ? void 0 : Fe[0]) === Yl.value[E].column;
2928
- }) ? (he = je == null ? void 0 : je.find((Te) => {
2932
+ }) ? (he = Pe == null ? void 0 : Pe.find((Te) => {
2929
2933
  var Fe;
2930
2934
  return ((Fe = Object.keys(Te)) == null ? void 0 : Fe[0]) === Yl.value[E].column;
2931
2935
  })) == null ? void 0 : he[Yl.value[E].column] : rl : be[Yl.value[E].prop] = rl;
2932
2936
  } else Array.isArray(rl) && ((Ke = Yl.value[E]) != null && Ke.prop ? be[Yl.value[E].prop] = rl : be.children = jr(rl, Yl.value));
2933
2937
  });
2934
2938
  } else
2935
- be = ye;
2936
- if (Array.isArray(ye) && ye.some((je) => je == null ? void 0 : je.id)) {
2937
- const je = (Se = ye == null ? void 0 : ye.find((rl) => rl.id)) == null ? void 0 : Se.id;
2938
- Y.push(Object.assign(be, { id: qr(je) }));
2939
- } else be.id ? Y.push(be) : Y.push(Object.assign(be, { id: qe.toString() }));
2939
+ be = ve;
2940
+ if (Array.isArray(ve) && ve.some((Pe) => Pe == null ? void 0 : Pe.id)) {
2941
+ const Pe = (Se = ve == null ? void 0 : ve.find((rl) => rl.id)) == null ? void 0 : Se.id;
2942
+ Y.push(Object.assign(be, { id: qr(Pe) }));
2943
+ } else be.id ? Y.push(be) : Y.push(Object.assign(be, { id: We.toString() }));
2940
2944
  }), I.value = sn(Y, c, B.value);
2941
2945
  } else
2942
2946
  I.value = u;
@@ -2952,18 +2956,18 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2952
2956
  column: B.value,
2953
2957
  parentTableId: s == null ? void 0 : s.parentTableId
2954
2958
  };
2955
- yl.setCacheUpdatingData(Y);
2959
+ hl.setCacheUpdatingData(Y);
2956
2960
  }
2957
2961
  if (e) {
2958
- let Y = (L = (W = (Z = (K = s.itemData) == null ? void 0 : K.find((be) => (be == null ? void 0 : be.key) === "filterAllType")) == null ? void 0 : Z.value) == null ? void 0 : W.find((be) => (be == null ? void 0 : be.value) === "onConditionContents")) == null ? void 0 : L.content, ye = (T = s.itemData) == null ? void 0 : T.filter((be) => (be == null ? void 0 : be.key) === "filterAllType");
2959
- ye = Array.from(
2962
+ let Y = (L = (W = (Z = (K = s.itemData) == null ? void 0 : K.find((be) => (be == null ? void 0 : be.key) === "filterAllType")) == null ? void 0 : Z.value) == null ? void 0 : W.find((be) => (be == null ? void 0 : be.value) === "onConditionContents")) == null ? void 0 : L.content, ve = (T = s.itemData) == null ? void 0 : T.filter((be) => (be == null ? void 0 : be.key) === "filterAllType");
2963
+ ve = Array.from(
2960
2964
  new Map(
2961
- ye.filter(Boolean).map((be, Se) => [be.value, { ...be, _idx: Se }])
2965
+ ve.filter(Boolean).map((be, Se) => [be.value, { ...be, _idx: Se }])
2962
2966
  // 2. 带索引,保证顺序
2963
2967
  ).values()
2964
2968
  // 3. Map 自动保留“后者”
2965
- ).sort((be, Se) => be._idx - Se._idx).map(({ _idx: be, ...Se }) => Se), ye = (i = ye == null ? void 0 : ye[(ye == null ? void 0 : ye.length) - 1]) == null ? void 0 : i.value;
2966
- const qe = {
2969
+ ).sort((be, Se) => be._idx - Se._idx).map(({ _idx: be, ...Se }) => Se), ve = (i = ve == null ? void 0 : ve[(ve == null ? void 0 : ve.length) - 1]) == null ? void 0 : i.value;
2970
+ const We = {
2967
2971
  content: o,
2968
2972
  singleContent: ((h = c == null ? void 0 : c.contents) == null ? void 0 : h.length) > 0 ? Or(n) : n,
2969
2973
  index: s == null ? void 0 : s.index,
@@ -2971,30 +2975,30 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
2971
2975
  column: B.value,
2972
2976
  parentTableId: s == null ? void 0 : s.parentTableId,
2973
2977
  filter: Y,
2974
- allFilter: ye,
2978
+ allFilter: ve,
2975
2979
  pathIndex: (z = (y = s.itemData) == null ? void 0 : y.find((be) => (be == null ? void 0 : be.key) === "relatedFilter")) == null ? void 0 : z.index,
2976
- rowContents: we.value,
2977
- addArrayValues: ve.value
2980
+ rowContents: Ue.value,
2981
+ addArrayValues: ye.value
2978
2982
  };
2979
- yl.setTableLoading(s == null ? void 0 : s.index), oa.value = !1, $l.value = void 0, Le("change", qe);
2983
+ hl.setTableLoading(s == null ? void 0 : s.index), oa.value = !1, $l.value = void 0, je("change", We);
2980
2984
  }
2981
- if ((d = (X = (x = we.value) == null ? void 0 : x[0]) == null ? void 0 : X.optionUrl) != null && d.menuId) {
2985
+ if ((d = (X = (x = Ue.value) == null ? void 0 : x[0]) == null ? void 0 : X.optionUrl) != null && d.menuId) {
2982
2986
  oa.value = !1;
2983
- let Y = (j = s.itemData) == null ? void 0 : j.filter((ye) => (ye == null ? void 0 : ye.key) === "filterAllType");
2987
+ let Y = (j = s.itemData) == null ? void 0 : j.filter((ve) => (ve == null ? void 0 : ve.key) === "filterAllType");
2984
2988
  if ((Y == null ? void 0 : Y.length) > 0) {
2985
- let ye = Y == null ? void 0 : Y.map((Se) => Se == null ? void 0 : Se.value), qe = (O = (J = (ge = ye.flat().find((Se) => {
2986
- var je;
2987
- return (je = Se == null ? void 0 : Se.content) == null ? void 0 : je.includes("@Num");
2989
+ let ve = Y == null ? void 0 : Y.map((Se) => Se == null ? void 0 : Se.value), We = (O = (J = (ge = ve.flat().find((Se) => {
2990
+ var Pe;
2991
+ return (Pe = Se == null ? void 0 : Se.content) == null ? void 0 : Pe.includes("@Num");
2988
2992
  })) == null ? void 0 : ge.content) == null ? void 0 : J.split(":")) == null ? void 0 : O[1];
2989
- ((de = (te = (R = ye.flat().find((Se) => {
2990
- var je;
2991
- return (je = Se == null ? void 0 : Se.content) == null ? void 0 : je.includes("@Type:");
2992
- })) == null ? void 0 : R.content) == null ? void 0 : te.split(":")) == null ? void 0 : de[1]) !== "Manual" && (qe = parseInt(qe), I.value = ($e = I.value) == null ? void 0 : $e.slice(((se = I.value) == null ? void 0 : se.length) - qe, (Ce = I.value) == null ? void 0 : Ce.length));
2993
+ ((te = (pe = (R = ve.flat().find((Se) => {
2994
+ var Pe;
2995
+ return (Pe = Se == null ? void 0 : Se.content) == null ? void 0 : Pe.includes("@Type:");
2996
+ })) == null ? void 0 : R.content) == null ? void 0 : pe.split(":")) == null ? void 0 : te[1]) !== "Manual" && (We = parseInt(We), I.value = (Ne = I.value) == null ? void 0 : Ne.slice(((oe = I.value) == null ? void 0 : oe.length) - We, (Ce = I.value) == null ? void 0 : Ce.length));
2993
2997
  }
2994
2998
  }
2995
2999
  };
2996
3000
  yo(() => {
2997
- B.value = [], I.value = [], A.value = [], fr.value = [], Xl.value = [], ia.value = [], Ra.value = [], Rl.value = [], we.value = [], Il.value = [], m.value = null;
3001
+ B.value = [], I.value = [], A.value = [], fr.value = [], Xl.value = [], ia.value = [], Ra.value = [], Rl.value = [], Ue.value = [], Il.value = [], m.value = null;
2998
3002
  });
2999
3003
  const ln = async (e, l, a) => {
3000
3004
  var g, w, k, D, $, N, M, _, K, Z, W;
@@ -3002,14 +3006,14 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3002
3006
  const r = re(s.itemData), n = r == null ? void 0 : r.map((L) => {
3003
3007
  var T;
3004
3008
  return (L == null ? void 0 : L.key) === "header" && ((T = L.contents) == null || T.map((i, h) => {
3005
- var y, z, x, X, d, j, ge, J, O, R, te, de, se, Ce, $e, Y, ye, qe, be;
3009
+ var y, z, x, X, d, j, ge, J, O, R, pe, te, oe, Ce, Ne, Y, ve, We, be;
3006
3010
  return i.type = i != null && i.type ? i.type : (X = (x = (z = (y = i == null ? void 0 : i.key) == null ? void 0 : y.split("$")) == null ? void 0 : z[1]) == null ? void 0 : x.split("(")) != null && X[0] ? (j = (d = Dr) == null ? void 0 : d.find((Se) => {
3007
- var je, rl, E, V;
3008
- return (Se == null ? void 0 : Se.key) === ((V = (E = (rl = (je = i == null ? void 0 : i.key) == null ? void 0 : je.split("$")) == null ? void 0 : rl[1]) == null ? void 0 : E.split("(")) == null ? void 0 : V[0]);
3009
- })) == null ? void 0 : j.value : "Input", i.options = i != null && i.options ? i.options : ((O = (J = (ge = i == null ? void 0 : i.key) == null ? void 0 : ge.split("$")) == null ? void 0 : J[1]) == null ? void 0 : O.length) > 0 ? (se = (de = Er((te = (R = i == null ? void 0 : i.key) == null ? void 0 : R.split("$")) == null ? void 0 : te[1])) == null ? void 0 : de.split(",")) == null ? void 0 : se.map((Se) => ({
3011
+ var Pe, rl, E, V;
3012
+ return (Se == null ? void 0 : Se.key) === ((V = (E = (rl = (Pe = i == null ? void 0 : i.key) == null ? void 0 : Pe.split("$")) == null ? void 0 : rl[1]) == null ? void 0 : E.split("(")) == null ? void 0 : V[0]);
3013
+ })) == null ? void 0 : j.value : "Input", i.options = i != null && i.options ? i.options : ((O = (J = (ge = i == null ? void 0 : i.key) == null ? void 0 : ge.split("$")) == null ? void 0 : J[1]) == null ? void 0 : O.length) > 0 ? (oe = (te = Er((pe = (R = i == null ? void 0 : i.key) == null ? void 0 : R.split("$")) == null ? void 0 : pe[1])) == null ? void 0 : te.split(",")) == null ? void 0 : oe.map((Se) => ({
3010
3014
  label: Se,
3011
3015
  value: Se
3012
- })) : [], (Ce = i == null ? void 0 : i.key) != null && Ce.includes("$") && (i.key = (Y = ($e = i == null ? void 0 : i.key) == null ? void 0 : $e.split("$")) == null ? void 0 : Y[0]), i.value = (ye = Object.values(l)) == null ? void 0 : ye[h], i.optionUrl = i != null && i.formMenuSelect && ((qe = i == null ? void 0 : i.formMenuSelect) == null ? void 0 : qe.length) > 0 ? {
3016
+ })) : [], (Ce = i == null ? void 0 : i.key) != null && Ce.includes("$") && (i.key = (Y = (Ne = i == null ? void 0 : i.key) == null ? void 0 : Ne.split("$")) == null ? void 0 : Y[0]), i.value = (ve = Object.values(l)) == null ? void 0 : ve[h], i.optionUrl = i != null && i.formMenuSelect && ((We = i == null ? void 0 : i.formMenuSelect) == null ? void 0 : We.length) > 0 ? {
3013
3017
  groupSelect: (be = i == null ? void 0 : i.groupSelect) == null ? void 0 : be.split(/[::]/).map((Se) => Se.trim()),
3014
3018
  menuSelect: i == null ? void 0 : i.formMenuSelect,
3015
3019
  selectRelateType: "",
@@ -3017,7 +3021,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3017
3021
  } : null, i;
3018
3022
  })), L;
3019
3023
  });
3020
- let u = re(we.value), c = (w = (g = re(n)) == null ? void 0 : g.find((L) => (L == null ? void 0 : L.key) === "header")) == null ? void 0 : w.contents;
3024
+ let u = re(Ue.value), c = (w = (g = re(n)) == null ? void 0 : g.find((L) => (L == null ? void 0 : L.key) === "header")) == null ? void 0 : w.contents;
3021
3025
  u = u == null ? void 0 : u.map((L) => {
3022
3026
  var T;
3023
3027
  return L.value = (T = c == null ? void 0 : c.find((i, h) => h === (L == null ? void 0 : L.id))) == null ? void 0 : T.value, L;
@@ -3037,8 +3041,8 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3037
3041
  }), T) {
3038
3042
  let i = re(u);
3039
3043
  i = i == null ? void 0 : i.map((y) => {
3040
- var z, x, X, d, j, ge, J, O, R, te, de;
3041
- return (T != null && T[y == null ? void 0 : y.label] || T != null && T[(d = (X = (x = (z = y == null ? void 0 : y.optionUrl) == null ? void 0 : z.groupSelect) == null ? void 0 : x[1]) == null ? void 0 : X.replaceAll("[", "")) == null ? void 0 : d.replaceAll("]", "")]) && ((J = (ge = (j = y == null ? void 0 : y.optionUrl) == null ? void 0 : j.groupSelect) == null ? void 0 : ge[1]) != null && J.includes("[")) && (y.value = (T == null ? void 0 : T[y == null ? void 0 : y.label]) || (T == null ? void 0 : T[(de = (te = (R = (O = y == null ? void 0 : y.optionUrl) == null ? void 0 : O.groupSelect) == null ? void 0 : R[1]) == null ? void 0 : te.replaceAll("[", "")) == null ? void 0 : de.replaceAll("]", "")])), y;
3044
+ var z, x, X, d, j, ge, J, O, R, pe, te;
3045
+ return (T != null && T[y == null ? void 0 : y.label] || T != null && T[(d = (X = (x = (z = y == null ? void 0 : y.optionUrl) == null ? void 0 : z.groupSelect) == null ? void 0 : x[1]) == null ? void 0 : X.replaceAll("[", "")) == null ? void 0 : d.replaceAll("]", "")]) && ((J = (ge = (j = y == null ? void 0 : y.optionUrl) == null ? void 0 : j.groupSelect) == null ? void 0 : ge[1]) != null && J.includes("[")) && (y.value = (T == null ? void 0 : T[y == null ? void 0 : y.label]) || (T == null ? void 0 : T[(te = (pe = (R = (O = y == null ? void 0 : y.optionUrl) == null ? void 0 : O.groupSelect) == null ? void 0 : R[1]) == null ? void 0 : pe.replaceAll("[", "")) == null ? void 0 : te.replaceAll("]", "")])), y;
3042
3046
  }), I.value = (Z = re(I.value)) == null ? void 0 : Z.map((y) => {
3043
3047
  if ((y == null ? void 0 : y.id) === (l == null ? void 0 : l.id)) {
3044
3048
  const z = {};
@@ -3054,8 +3058,8 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3054
3058
  return (x = (z = y == null ? void 0 : y.optionUrl) == null ? void 0 : z.menuSelect) != null && x.some((j) => j == null ? void 0 : j.includes) && (y.optionUrl.menuSelect = (d = (X = y == null ? void 0 : y.optionUrl) == null ? void 0 : X.menuSelect) == null ? void 0 : d.map((j) => {
3055
3059
  var ge, J, O, R;
3056
3060
  if (j != null && j.includes("[")) {
3057
- let te = (J = (ge = j == null ? void 0 : j.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : ge.split(":")) == null ? void 0 : J[1];
3058
- j = (R = (O = re(i)) == null ? void 0 : O.find((de) => (de == null ? void 0 : de.label) === te)) == null ? void 0 : R.value;
3061
+ let pe = (J = (ge = j == null ? void 0 : j.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : ge.split(":")) == null ? void 0 : J[1];
3062
+ j = (R = (O = re(i)) == null ? void 0 : O.find((te) => (te == null ? void 0 : te.label) === pe)) == null ? void 0 : R.value;
3059
3063
  }
3060
3064
  return j;
3061
3065
  })), y;
@@ -3071,42 +3075,42 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3071
3075
  }
3072
3076
  }
3073
3077
  }, Vs = async (e) => {
3074
- var $, N, M, _, K, Z, W, L, T, i, h, y, z, x, X, d, j, ge, J, O, R, te, de, se, Ce, $e, Y, ye, qe, be, Se, je, rl;
3078
+ var $, N, M, _, K, Z, W, L, T, i, h, y, z, x, X, d, j, ge, J, O, R, pe, te, oe, Ce, Ne, Y, ve, We, be, Se, Pe, rl;
3075
3079
  if (!e) return;
3076
3080
  $l.value = e;
3077
3081
  const l = re(s.itemData);
3078
3082
  let a = l == null ? void 0 : l.map((E) => {
3079
- var V, Ie, Qe, pl;
3083
+ var V, Ie, Qe, tl;
3080
3084
  return (E == null ? void 0 : E.key) === "header" && (Array.isArray((V = E.contents) == null ? void 0 : V[0]) ? E.contents = (Qe = Pa((Ie = E.contents) == null ? void 0 : Ie[0])) == null ? void 0 : Qe.map((f, he) => {
3081
- var Ke, b, Te, Fe, ml, _l, Al, Cl, Tl, Ol, kl, Ee, Re, Dl, Ll, jl, Bl, v, q, ul, dl, cl, Ul, Gl;
3082
- return f.type = f != null && f.type ? f.type : (Fe = (Te = (b = (Ke = f == null ? void 0 : f.key) == null ? void 0 : Ke.split("$")) == null ? void 0 : b[1]) == null ? void 0 : Te.split("(")) != null && Fe[0] ? (_l = (ml = Dr) == null ? void 0 : ml.find((xe) => {
3083
- var Jl, _e, Sl, F;
3084
- return (xe == null ? void 0 : xe.key) === ((F = (Sl = (_e = (Jl = f == null ? void 0 : f.key) == null ? void 0 : Jl.split("$")) == null ? void 0 : _e[1]) == null ? void 0 : Sl.split("(")) == null ? void 0 : F[0]);
3085
- })) == null ? void 0 : _l.value : "Input", f.options = f != null && f.options ? f.options : ((Tl = (Cl = (Al = f == null ? void 0 : f.key) == null ? void 0 : Al.split("$")) == null ? void 0 : Cl[1]) == null ? void 0 : Tl.length) > 0 ? (Re = (Ee = Er((kl = (Ol = f == null ? void 0 : f.key) == null ? void 0 : Ol.split("$")) == null ? void 0 : kl[1])) == null ? void 0 : Ee.split(",")) == null ? void 0 : Re.map((xe) => ({
3086
- label: xe,
3087
- value: xe
3088
- })) : [], (Dl = f == null ? void 0 : f.key) != null && Dl.includes("$") && (f.key = (jl = (Ll = f == null ? void 0 : f.key) == null ? void 0 : Ll.split("$")) == null ? void 0 : jl[0]), ((q = (v = (Bl = we.value) == null ? void 0 : Bl.find((xe) => (xe == null ? void 0 : xe.prop) === (f == null ? void 0 : f.prop))) == null ? void 0 : v.optionUrl) == null ? void 0 : q.multiple) === !0 && !Array.isArray((ul = Object.values(e)) == null ? void 0 : ul[he]) ? f.value = [(dl = Object.values(e)) == null ? void 0 : dl[he]] : f.value = (cl = Object.values(e)) == null ? void 0 : cl[he], f.optionUrl = f != null && f.formMenuSelect && ((Ul = f == null ? void 0 : f.formMenuSelect) == null ? void 0 : Ul.length) > 0 ? {
3089
- groupSelect: (Gl = f == null ? void 0 : f.groupSelect) == null ? void 0 : Gl.split(/[::]/).map((xe) => xe.trim()),
3085
+ var Ke, b, Te, Fe, ml, _l, Al, Cl, Tl, Ol, bl, Le, Re, Dl, Ll, jl, Bl, v, q, il, cl, ul, Ul, Gl;
3086
+ return f.type = f != null && f.type ? f.type : (Fe = (Te = (b = (Ke = f == null ? void 0 : f.key) == null ? void 0 : Ke.split("$")) == null ? void 0 : b[1]) == null ? void 0 : Te.split("(")) != null && Fe[0] ? (_l = (ml = Dr) == null ? void 0 : ml.find((we) => {
3087
+ var Jl, _e, kl, F;
3088
+ return (we == null ? void 0 : we.key) === ((F = (kl = (_e = (Jl = f == null ? void 0 : f.key) == null ? void 0 : Jl.split("$")) == null ? void 0 : _e[1]) == null ? void 0 : kl.split("(")) == null ? void 0 : F[0]);
3089
+ })) == null ? void 0 : _l.value : "Input", f.options = f != null && f.options ? f.options : ((Tl = (Cl = (Al = f == null ? void 0 : f.key) == null ? void 0 : Al.split("$")) == null ? void 0 : Cl[1]) == null ? void 0 : Tl.length) > 0 ? (Re = (Le = Er((bl = (Ol = f == null ? void 0 : f.key) == null ? void 0 : Ol.split("$")) == null ? void 0 : bl[1])) == null ? void 0 : Le.split(",")) == null ? void 0 : Re.map((we) => ({
3090
+ label: we,
3091
+ value: we
3092
+ })) : [], (Dl = f == null ? void 0 : f.key) != null && Dl.includes("$") && (f.key = (jl = (Ll = f == null ? void 0 : f.key) == null ? void 0 : Ll.split("$")) == null ? void 0 : jl[0]), ((q = (v = (Bl = Ue.value) == null ? void 0 : Bl.find((we) => (we == null ? void 0 : we.prop) === (f == null ? void 0 : f.prop))) == null ? void 0 : v.optionUrl) == null ? void 0 : q.multiple) === !0 && !Array.isArray((il = Object.values(e)) == null ? void 0 : il[he]) ? f.value = [(cl = Object.values(e)) == null ? void 0 : cl[he]] : f.value = (ul = Object.values(e)) == null ? void 0 : ul[he], f.optionUrl = f != null && f.formMenuSelect && ((Ul = f == null ? void 0 : f.formMenuSelect) == null ? void 0 : Ul.length) > 0 ? {
3093
+ groupSelect: (Gl = f == null ? void 0 : f.groupSelect) == null ? void 0 : Gl.split(/[::]/).map((we) => we.trim()),
3090
3094
  menuSelect: f == null ? void 0 : f.formMenuSelect,
3091
3095
  selectRelateType: "",
3092
3096
  type: (f == null ? void 0 : f.formType) ?? (f != null && f.groupSelect ? "Select" : "")
3093
3097
  } : null, f;
3094
- }) : E.contents = (pl = E.contents) == null ? void 0 : pl.map((f, he) => {
3095
- var Ke, b, Te, Fe, ml, _l, Al, Cl, Tl, Ol, kl, Ee, Re, Dl, Ll, jl, Bl, v, q, ul, dl, cl, Ul, Gl;
3096
- return f.type = f != null && f.type ? f.type : (Fe = (Te = (b = (Ke = f == null ? void 0 : f.key) == null ? void 0 : Ke.split("$")) == null ? void 0 : b[1]) == null ? void 0 : Te.split("(")) != null && Fe[0] ? (_l = (ml = Dr) == null ? void 0 : ml.find((xe) => {
3097
- var Jl, _e, Sl, F;
3098
- return (xe == null ? void 0 : xe.key) === ((F = (Sl = (_e = (Jl = f == null ? void 0 : f.key) == null ? void 0 : Jl.split("$")) == null ? void 0 : _e[1]) == null ? void 0 : Sl.split("(")) == null ? void 0 : F[0]);
3099
- })) == null ? void 0 : _l.value : "Input", f.options = f != null && f.options ? f.options : ((Tl = (Cl = (Al = f == null ? void 0 : f.key) == null ? void 0 : Al.split("$")) == null ? void 0 : Cl[1]) == null ? void 0 : Tl.length) > 0 ? (Re = (Ee = Er((kl = (Ol = f == null ? void 0 : f.key) == null ? void 0 : Ol.split("$")) == null ? void 0 : kl[1])) == null ? void 0 : Ee.split(",")) == null ? void 0 : Re.map((xe) => ({
3100
- label: xe,
3101
- value: xe
3102
- })) : [], (Dl = f == null ? void 0 : f.key) != null && Dl.includes("$") && (f.key = (jl = (Ll = f == null ? void 0 : f.key) == null ? void 0 : Ll.split("$")) == null ? void 0 : jl[0]), ((q = (v = (Bl = we.value) == null ? void 0 : Bl.find((xe) => (xe == null ? void 0 : xe.prop) === (f == null ? void 0 : f.prop))) == null ? void 0 : v.optionUrl) == null ? void 0 : q.multiple) === !0 && !Array.isArray((ul = Object.values(e)) == null ? void 0 : ul[he]) ? f.value = [(dl = Object.values(e)) == null ? void 0 : dl[he]] : f.value = (cl = Object.values(e)) == null ? void 0 : cl[he], f.optionUrl = f != null && f.formMenuSelect && ((Ul = f == null ? void 0 : f.formMenuSelect) == null ? void 0 : Ul.length) > 0 ? {
3103
- groupSelect: (Gl = f == null ? void 0 : f.groupSelect) == null ? void 0 : Gl.split(/[::]/).map((xe) => xe.trim()),
3098
+ }) : E.contents = (tl = E.contents) == null ? void 0 : tl.map((f, he) => {
3099
+ var Ke, b, Te, Fe, ml, _l, Al, Cl, Tl, Ol, bl, Le, Re, Dl, Ll, jl, Bl, v, q, il, cl, ul, Ul, Gl;
3100
+ return f.type = f != null && f.type ? f.type : (Fe = (Te = (b = (Ke = f == null ? void 0 : f.key) == null ? void 0 : Ke.split("$")) == null ? void 0 : b[1]) == null ? void 0 : Te.split("(")) != null && Fe[0] ? (_l = (ml = Dr) == null ? void 0 : ml.find((we) => {
3101
+ var Jl, _e, kl, F;
3102
+ return (we == null ? void 0 : we.key) === ((F = (kl = (_e = (Jl = f == null ? void 0 : f.key) == null ? void 0 : Jl.split("$")) == null ? void 0 : _e[1]) == null ? void 0 : kl.split("(")) == null ? void 0 : F[0]);
3103
+ })) == null ? void 0 : _l.value : "Input", f.options = f != null && f.options ? f.options : ((Tl = (Cl = (Al = f == null ? void 0 : f.key) == null ? void 0 : Al.split("$")) == null ? void 0 : Cl[1]) == null ? void 0 : Tl.length) > 0 ? (Re = (Le = Er((bl = (Ol = f == null ? void 0 : f.key) == null ? void 0 : Ol.split("$")) == null ? void 0 : bl[1])) == null ? void 0 : Le.split(",")) == null ? void 0 : Re.map((we) => ({
3104
+ label: we,
3105
+ value: we
3106
+ })) : [], (Dl = f == null ? void 0 : f.key) != null && Dl.includes("$") && (f.key = (jl = (Ll = f == null ? void 0 : f.key) == null ? void 0 : Ll.split("$")) == null ? void 0 : jl[0]), ((q = (v = (Bl = Ue.value) == null ? void 0 : Bl.find((we) => (we == null ? void 0 : we.prop) === (f == null ? void 0 : f.prop))) == null ? void 0 : v.optionUrl) == null ? void 0 : q.multiple) === !0 && !Array.isArray((il = Object.values(e)) == null ? void 0 : il[he]) ? f.value = [(cl = Object.values(e)) == null ? void 0 : cl[he]] : f.value = (ul = Object.values(e)) == null ? void 0 : ul[he], f.optionUrl = f != null && f.formMenuSelect && ((Ul = f == null ? void 0 : f.formMenuSelect) == null ? void 0 : Ul.length) > 0 ? {
3107
+ groupSelect: (Gl = f == null ? void 0 : f.groupSelect) == null ? void 0 : Gl.split(/[::]/).map((we) => we.trim()),
3104
3108
  menuSelect: f == null ? void 0 : f.formMenuSelect,
3105
3109
  selectRelateType: "",
3106
3110
  type: (f == null ? void 0 : f.formType) ?? (f != null && f.groupSelect ? "Select" : "")
3107
3111
  } : null, f;
3108
3112
  })), E;
3109
- }), r = we.value, n = (N = ($ = re(a)) == null ? void 0 : $.find((E) => (E == null ? void 0 : E.key) === "header")) == null ? void 0 : N.contents;
3113
+ }), r = Ue.value, n = (N = ($ = re(a)) == null ? void 0 : $.find((E) => (E == null ? void 0 : E.key) === "header")) == null ? void 0 : N.contents;
3110
3114
  if (n = n == null ? void 0 : n.filter((E) => (E == null ? void 0 : E.label) !== "操作"), n.push({
3111
3115
  label: "操作",
3112
3116
  type: "operate"
@@ -3117,53 +3121,53 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3117
3121
  let u = "", c = re(Vl.value);
3118
3122
  (M = Vl.value) != null && M.includes("·") && (Vl.value = (K = (_ = Vl.value) == null ? void 0 : _.split("·")) == null ? void 0 : K[0]);
3119
3123
  let o = (L = (W = (Z = re(a)) == null ? void 0 : Z.find((E) => (E == null ? void 0 : E.key) === "header")) == null ? void 0 : W.contents) == null ? void 0 : L.find((E, V) => {
3120
- var Ie, Qe, pl;
3121
- return (E == null ? void 0 : E.prop) === Vl.value || (V == null ? void 0 : V.toString()) === ((pl = (Qe = (Ie = Vl.value) == null ? void 0 : Ie.split("a")) == null ? void 0 : Qe[1]) == null ? void 0 : pl.toString());
3124
+ var Ie, Qe, tl;
3125
+ return (E == null ? void 0 : E.prop) === Vl.value || (V == null ? void 0 : V.toString()) === ((tl = (Qe = (Ie = Vl.value) == null ? void 0 : Ie.split("a")) == null ? void 0 : Qe[1]) == null ? void 0 : tl.toString());
3122
3126
  }), p = (T = o == null ? void 0 : o.optionUrl) == null ? void 0 : T.menuSelect, g = !0;
3123
3127
  (y = (h = (i = re(a)) == null ? void 0 : i.find((E) => (E == null ? void 0 : E.key) === "header")) == null ? void 0 : h.contents) == null || y.forEach((E) => {
3124
- var Ie, Qe, pl, f, he, Ke, b;
3128
+ var Ie, Qe, tl, f, he, Ke, b;
3125
3129
  let V = (Qe = (Ie = E == null ? void 0 : E.optionUrl) == null ? void 0 : Ie.groupSelect) == null ? void 0 : Qe[1];
3126
- !V && !Array.isArray((pl = E == null ? void 0 : E.optionUrl) == null ? void 0 : pl.groupSelect) && (V = (Ke = (he = (f = E == null ? void 0 : E.optionUrl) == null ? void 0 : f.groupSelect) == null ? void 0 : he.split(":")) == null ? void 0 : Ke[1]), g && (V != null && V.includes("[")) && (u = V, JSON.stringify(p) === JSON.stringify((b = E == null ? void 0 : E.optionUrl) == null ? void 0 : b.menuSelect) && (g = !1));
3130
+ !V && !Array.isArray((tl = E == null ? void 0 : E.optionUrl) == null ? void 0 : tl.groupSelect) && (V = (Ke = (he = (f = E == null ? void 0 : E.optionUrl) == null ? void 0 : f.groupSelect) == null ? void 0 : he.split(":")) == null ? void 0 : Ke[1]), g && (V != null && V.includes("[")) && (u = V, JSON.stringify(p) === JSON.stringify((b = E == null ? void 0 : E.optionUrl) == null ? void 0 : b.menuSelect) && (g = !1));
3127
3131
  });
3128
- let w = re(r), k = hl.value;
3132
+ let w = re(r), k = fl.value;
3129
3133
  k != null && k.find((E) => (o == null ? void 0 : o.prop) === (E == null ? void 0 : E.key)) && (k = k == null ? void 0 : k.filter((E) => (o == null ? void 0 : o.prop) !== (E == null ? void 0 : E.key))), k != null && k.find((E) => c === (E == null ? void 0 : E.key)) && (k = k == null ? void 0 : k.filter((E) => c !== (E == null ? void 0 : E.key))), w = w == null ? void 0 : w.map((E) => {
3130
- var V, Ie, Qe, pl, f, he, Ke, b, Te;
3131
- return (E == null ? void 0 : E.type) === "Select" && (((Ie = (V = E == null ? void 0 : E.optionUrl) == null ? void 0 : V.allSelectionContents) == null ? void 0 : Ie.length) > 0 && (E.optionUrl.contactValue = e), ((o == null ? void 0 : o.prop) === (E == null ? void 0 : E.prop) || c === (E == null ? void 0 : E.prop)) && o && (Array.isArray(o.value) && ((Qe = o.value) == null ? void 0 : Qe.length) > 0 && ((pl = o.value) != null && pl.every((Fe) => typeof Fe == "string")) ? (k.push({
3134
+ var V, Ie, Qe, tl, f, he, Ke, b, Te;
3135
+ return (E == null ? void 0 : E.type) === "Select" && (((Ie = (V = E == null ? void 0 : E.optionUrl) == null ? void 0 : V.allSelectionContents) == null ? void 0 : Ie.length) > 0 && (E.optionUrl.contactValue = e), ((o == null ? void 0 : o.prop) === (E == null ? void 0 : E.prop) || c === (E == null ? void 0 : E.prop)) && o && (Array.isArray(o.value) && ((Qe = o.value) == null ? void 0 : Qe.length) > 0 && ((tl = o.value) != null && tl.every((Fe) => typeof Fe == "string")) ? (k.push({
3132
3136
  key: E == null ? void 0 : E.prop,
3133
3137
  value: [(he = o.value) == null ? void 0 : he[((f = o.value) == null ? void 0 : f.length) - 1]]
3134
3138
  }), E.selectValue = (Ke = k == null ? void 0 : k.find((Fe) => (Fe == null ? void 0 : Fe.key) === (E == null ? void 0 : E.prop))) == null ? void 0 : Ke.value) : Array.isArray(o.value) && ((b = o.value) == null ? void 0 : b.length) === 0 ? (k = [], E.selectValue = [], e[E == null ? void 0 : E.prop] = "") : Array.isArray(E.value) && k.push({
3135
3139
  key: E == null ? void 0 : E.prop,
3136
3140
  value: [(Te = E.value) == null ? void 0 : Te[(E == null ? void 0 : E.length) - 1]]
3137
3141
  }))), E.value = e == null ? void 0 : e[E == null ? void 0 : E.prop], E;
3138
- }), hl.value = k, we.value = re(w);
3139
- let D = (o == null ? void 0 : o.menuId) ?? ((X = (x = (z = we.value) == null ? void 0 : z.find((E) => {
3142
+ }), fl.value = k, Ue.value = re(w);
3143
+ let D = (o == null ? void 0 : o.menuId) ?? ((X = (x = (z = Ue.value) == null ? void 0 : z.find((E) => {
3140
3144
  var V;
3141
3145
  return (V = E == null ? void 0 : E.optionUrl) == null ? void 0 : V.menuId;
3142
3146
  })) == null ? void 0 : x.optionUrl) == null ? void 0 : X.menuId);
3143
3147
  if ((d = o == null ? void 0 : o.optionUrl) != null && d.menuSelect && za.value || D) {
3144
3148
  let E = await Lr(o, D), V;
3145
3149
  if (E == null || E.forEach((f) => {
3146
- var he, Ke, b, Te, Fe, ml, _l, Al, Cl, Tl, Ol, kl, Ee, Re, Dl, Ll, jl, Bl, v, q, ul, dl, cl, Ul, Gl, xe, Jl;
3150
+ var he, Ke, b, Te, Fe, ml, _l, Al, Cl, Tl, Ol, bl, Le, Re, Dl, Ll, jl, Bl, v, q, il, cl, ul, Ul, Gl, we, Jl;
3147
3151
  if (!D && u === ((Ke = (he = o == null ? void 0 : o.optionUrl) == null ? void 0 : he.groupSelect) == null ? void 0 : Ke[1]) && ((Fe = (Te = (b = o == null ? void 0 : o.optionUrl) == null ? void 0 : b.groupSelect) == null ? void 0 : Te[1]) != null && Fe.includes("[")) && ((Tl = re(f)) == null ? void 0 : Tl[(Cl = (Al = (_l = (ml = o == null ? void 0 : o.optionUrl) == null ? void 0 : ml.groupSelect) == null ? void 0 : _l[1]) == null ? void 0 : Al.replaceAll("[", "")) == null ? void 0 : Cl.replaceAll("]", "")]) === (o == null ? void 0 : o.value) && (V = f), D) {
3148
- let _e = (kl = (Ol = we.value) == null ? void 0 : Ol.find((t) => {
3152
+ let _e = (bl = (Ol = Ue.value) == null ? void 0 : Ol.find((t) => {
3149
3153
  var me;
3150
3154
  return (o == null ? void 0 : o.menuId) === ((me = t == null ? void 0 : t.optionUrl) == null ? void 0 : me.menuId);
3151
- })) == null ? void 0 : kl.prop, Sl = e[_e];
3155
+ })) == null ? void 0 : bl.prop, kl = e[_e];
3152
3156
  if (_e != null && _e.includes("·"))
3153
3157
  if (!Array.isArray(e[_e]))
3154
- Sl = (Re = (Ee = e[_e]) == null ? void 0 : Ee.split(" ")) == null ? void 0 : Re[0], _e = (Dl = _e == null ? void 0 : _e.split("·")) == null ? void 0 : Dl[0];
3158
+ kl = (Re = (Le = e[_e]) == null ? void 0 : Le.split(" ")) == null ? void 0 : Re[0], _e = (Dl = _e == null ? void 0 : _e.split("·")) == null ? void 0 : Dl[0];
3155
3159
  else {
3156
3160
  _e = (Ll = _e == null ? void 0 : _e.split("·")) == null ? void 0 : Ll[0];
3157
3161
  let t = (Bl = (jl = w == null ? void 0 : w.find((me) => (me == null ? void 0 : me.prop) === _e)) == null ? void 0 : jl.selectValue) == null ? void 0 : Bl[0];
3158
- Sl = (v = t == null ? void 0 : t.split(" ")) == null ? void 0 : v[0];
3162
+ kl = (v = t == null ? void 0 : t.split(" ")) == null ? void 0 : v[0];
3159
3163
  }
3160
- let F = (ul = (q = w == null ? void 0 : w.find((t) => {
3164
+ let F = (il = (q = w == null ? void 0 : w.find((t) => {
3161
3165
  var me;
3162
3166
  return (t == null ? void 0 : t.prop) === _e || ((me = t == null ? void 0 : t.prop) == null ? void 0 : me.includes("." + _e));
3163
- })) == null ? void 0 : q.selectValue) == null ? void 0 : ul[0];
3164
- if (_e != null && _e.includes(".") && !f[_e] && (_e = (cl = _e == null ? void 0 : _e.split(".")) == null ? void 0 : cl[((dl = _e == null ? void 0 : _e.split(".")) == null ? void 0 : dl.length) - 1]), Array.isArray(Sl) && !F && (F = Sl == null ? void 0 : Sl[0]), f[_e] === (Array.isArray(Sl) ? F : Sl) && (o == null ? void 0 : o.directiveLabel) === "#isMain") {
3167
+ })) == null ? void 0 : q.selectValue) == null ? void 0 : il[0];
3168
+ if (_e != null && _e.includes(".") && !f[_e] && (_e = (ul = _e == null ? void 0 : _e.split(".")) == null ? void 0 : ul[((cl = _e == null ? void 0 : _e.split(".")) == null ? void 0 : cl.length) - 1]), Array.isArray(kl) && !F && (F = kl == null ? void 0 : kl[0]), f[_e] === (Array.isArray(kl) ? F : kl) && (o == null ? void 0 : o.directiveLabel) === "#isMain") {
3165
3169
  if (c != null && c.includes("·")) {
3166
- let t = c == null ? void 0 : c.split("·"), me = (Jl = (xe = (Gl = Array.isArray(e == null ? void 0 : e[c]) ? (Ul = e == null ? void 0 : e[c]) == null ? void 0 : Ul[0] : e == null ? void 0 : e[c]) == null ? void 0 : Gl.split(" ")) == null ? void 0 : xe.filter((Me) => Me && Me !== "")) == null ? void 0 : Jl.map((Me) => Me == null ? void 0 : Me.trim());
3170
+ let t = c == null ? void 0 : c.split("·"), me = (Jl = (we = (Gl = Array.isArray(e == null ? void 0 : e[c]) ? (Ul = e == null ? void 0 : e[c]) == null ? void 0 : Ul[0] : e == null ? void 0 : e[c]) == null ? void 0 : Gl.split(" ")) == null ? void 0 : we.filter((Me) => Me && Me !== "")) == null ? void 0 : Jl.map((Me) => Me == null ? void 0 : Me.trim());
3167
3171
  t == null || t.forEach((Me, Ve) => {
3168
3172
  f[Me] = me == null ? void 0 : me[Ve];
3169
3173
  });
@@ -3171,22 +3175,22 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3171
3175
  V = f;
3172
3176
  }
3173
3177
  }
3174
- }), He.value && (o == null ? void 0 : o.directiveLabel) === "#isMain" && (ve.value = []), !V) {
3175
- if (He.value && (o == null ? void 0 : o.directiveLabel) === "#isMain")
3178
+ }), Ge.value && (o == null ? void 0 : o.directiveLabel) === "#isMain" && (ye.value = []), !V) {
3179
+ if (Ge.value && (o == null ? void 0 : o.directiveLabel) === "#isMain")
3176
3180
  if (c != null && c.includes("·")) {
3177
3181
  let f = e, he = (J = (ge = (j = e == null ? void 0 : e[c]) == null ? void 0 : j.split(" ")) == null ? void 0 : ge.filter((b) => b && b !== "")) == null ? void 0 : J.map((b) => b == null ? void 0 : b.trim());
3178
3182
  (O = c == null ? void 0 : c.split("·")) == null || O.forEach((b, Te) => {
3179
3183
  f[b] = he[Te];
3180
3184
  });
3181
- let Ke = (R = we.value) == null ? void 0 : R.find((b) => (b == null ? void 0 : b.prop) === c);
3185
+ let Ke = (R = Ue.value) == null ? void 0 : R.find((b) => (b == null ? void 0 : b.prop) === c);
3182
3186
  f[Ke.prop] = [Ke.value], V = f;
3183
3187
  } else {
3184
- let f = (te = we.value) == null ? void 0 : te.find((he) => (he == null ? void 0 : he.prop) === (o == null ? void 0 : o.prop));
3188
+ let f = (pe = Ue.value) == null ? void 0 : pe.find((he) => (he == null ? void 0 : he.prop) === (o == null ? void 0 : o.prop));
3185
3189
  e[f.prop] = [f.value], V = e;
3186
3190
  }
3187
3191
  else if ((o == null ? void 0 : o.directiveLabel) === "#isMain") {
3188
3192
  let f = {};
3189
- (de = we.value) == null || de.forEach((he) => {
3193
+ (te = Ue.value) == null || te.forEach((he) => {
3190
3194
  var Ke, b;
3191
3195
  (he == null ? void 0 : he.prop) === c ? f[he.prop] = (Ke = he == null ? void 0 : he.selectValue) != null && Ke[0] ? [(b = he == null ? void 0 : he.selectValue) == null ? void 0 : b[0]] : "" : f[he.prop] = "";
3192
3196
  }), V = f;
@@ -3195,56 +3199,56 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3195
3199
  if (V) {
3196
3200
  let f = re(r);
3197
3201
  f = f == null ? void 0 : f.map((b) => {
3198
- var Fe, ml, _l, Al, Cl, Tl, Ol, kl, Ee, Re, Dl, Ll, jl, Bl, v, q, ul, dl, cl, Ul, Gl, xe, Jl, _e, Sl, F, t, me, Me, Ve, gl, el, ca, fa, ha, ze, Wl, ea, ya, Pl, la, Xa, Qa, Ya;
3199
- if (((Fe = b == null ? void 0 : b.prop) != null && Fe.includes(".") && (V != null && V[(Cl = (ml = b == null ? void 0 : b.prop) == null ? void 0 : ml.split(".")) == null ? void 0 : Cl[((Al = (_l = b == null ? void 0 : b.prop) == null ? void 0 : _l.split(".")) == null ? void 0 : Al.length) - 1]]) || V != null && V[b == null ? void 0 : b.prop] || V != null && V[(Ee = (kl = (Ol = (Tl = b == null ? void 0 : b.optionUrl) == null ? void 0 : Tl.groupSelect) == null ? void 0 : Ol[1]) == null ? void 0 : kl.replaceAll("[", "")) == null ? void 0 : Ee.replaceAll("]", "")]) && ((Ll = (Dl = (Re = b == null ? void 0 : b.optionUrl) == null ? void 0 : Re.groupSelect) == null ? void 0 : Dl[1]) != null && Ll.includes("[")) && !(b != null && b.relatedValueId))
3200
- return b.value = (V == null ? void 0 : V[b == null ? void 0 : b.prop]) ?? (V == null ? void 0 : V[(q = (jl = b == null ? void 0 : b.prop) == null ? void 0 : jl.split(".")) == null ? void 0 : q[((v = (Bl = b == null ? void 0 : b.prop) == null ? void 0 : Bl.split(".")) == null ? void 0 : v.length) - 1]]) ?? (V == null ? void 0 : V[(Ul = (cl = (dl = (ul = b == null ? void 0 : b.optionUrl) == null ? void 0 : ul.groupSelect) == null ? void 0 : dl[1]) == null ? void 0 : cl.replaceAll("[", "")) == null ? void 0 : Ul.replaceAll("]", "")]), b;
3202
+ var Fe, ml, _l, Al, Cl, Tl, Ol, bl, Le, Re, Dl, Ll, jl, Bl, v, q, il, cl, ul, Ul, Gl, we, Jl, _e, kl, F, t, me, Me, Ve, vl, el, ca, fa, ha, ze, Wl, ea, ya, Pl, la, Xa, Qa, Ya;
3203
+ if (((Fe = b == null ? void 0 : b.prop) != null && Fe.includes(".") && (V != null && V[(Cl = (ml = b == null ? void 0 : b.prop) == null ? void 0 : ml.split(".")) == null ? void 0 : Cl[((Al = (_l = b == null ? void 0 : b.prop) == null ? void 0 : _l.split(".")) == null ? void 0 : Al.length) - 1]]) || V != null && V[b == null ? void 0 : b.prop] || V != null && V[(Le = (bl = (Ol = (Tl = b == null ? void 0 : b.optionUrl) == null ? void 0 : Tl.groupSelect) == null ? void 0 : Ol[1]) == null ? void 0 : bl.replaceAll("[", "")) == null ? void 0 : Le.replaceAll("]", "")]) && ((Ll = (Dl = (Re = b == null ? void 0 : b.optionUrl) == null ? void 0 : Re.groupSelect) == null ? void 0 : Dl[1]) != null && Ll.includes("[")) && !(b != null && b.relatedValueId))
3204
+ return b.value = (V == null ? void 0 : V[b == null ? void 0 : b.prop]) ?? (V == null ? void 0 : V[(q = (jl = b == null ? void 0 : b.prop) == null ? void 0 : jl.split(".")) == null ? void 0 : q[((v = (Bl = b == null ? void 0 : b.prop) == null ? void 0 : Bl.split(".")) == null ? void 0 : v.length) - 1]]) ?? (V == null ? void 0 : V[(Ul = (ul = (cl = (il = b == null ? void 0 : b.optionUrl) == null ? void 0 : il.groupSelect) == null ? void 0 : cl[1]) == null ? void 0 : ul.replaceAll("[", "")) == null ? void 0 : Ul.replaceAll("]", "")]), b;
3201
3205
  let Te = V == null ? void 0 : V[b == null ? void 0 : b.prop];
3202
- return (Gl = b == null ? void 0 : b.prop) != null && Gl.includes(".") && !Te && ((Jl = (xe = o == null ? void 0 : o.prop) == null ? void 0 : xe.split(".")) == null ? void 0 : Jl[0]) === ((Sl = (_e = b == null ? void 0 : b.prop) == null ? void 0 : _e.split(".")) == null ? void 0 : Sl[0]) && (Te = (V == null ? void 0 : V[(Me = (F = b == null ? void 0 : b.prop) == null ? void 0 : F.split(".")) == null ? void 0 : Me[((me = (t = b == null ? void 0 : b.prop) == null ? void 0 : t.split(".")) == null ? void 0 : me.length) - 1]]) ?? (V == null ? void 0 : V[b == null ? void 0 : b.prop])), D && (Te || Te === "") && (b != null && b.relatedValueId) && zl.value === "新增" && ((b == null ? void 0 : b.prop) !== (o == null ? void 0 : o.prop) || c != null && c.includes((o == null ? void 0 : o.prop) + "·") || c != null && c.includes("·" + (b == null ? void 0 : b.prop))) ? b.value = Te ?? (V == null ? void 0 : V[(ca = (el = (gl = (Ve = b == null ? void 0 : b.optionUrl) == null ? void 0 : Ve.groupSelect) == null ? void 0 : gl[1]) == null ? void 0 : el.replaceAll("[", "")) == null ? void 0 : ca.replaceAll("]", "")]) : (c != null && c.includes("·" + (b == null ? void 0 : b.prop)) || c != null && c.includes(".")) && (b == null ? void 0 : b.prop) !== (o == null ? void 0 : o.prop) && !Array.isArray((ha = (fa = we.value) == null ? void 0 : fa.find((bl) => (bl == null ? void 0 : bl.prop) === (b == null ? void 0 : b.prop))) == null ? void 0 : ha.value) ? b.value = Te ?? "" : ((ze = b == null ? void 0 : b.optionUrl) == null ? void 0 : ze.multiple) === !0 && !Array.isArray((ea = (Wl = we.value) == null ? void 0 : Wl.find((bl) => (bl == null ? void 0 : bl.prop) === (b == null ? void 0 : b.prop))) == null ? void 0 : ea.value) ? b.value = ((Pl = (ya = we.value) == null ? void 0 : ya.find((bl) => (bl == null ? void 0 : bl.prop) === (b == null ? void 0 : b.prop))) == null ? void 0 : Pl.value) === "" ? [] : [(Xa = (la = we.value) == null ? void 0 : la.find((bl) => (bl == null ? void 0 : bl.prop) === (b == null ? void 0 : b.prop))) == null ? void 0 : Xa.value] : b.value = (Ya = (Qa = we.value) == null ? void 0 : Qa.find((bl) => (bl == null ? void 0 : bl.prop) === (b == null ? void 0 : b.prop))) == null ? void 0 : Ya.value, b;
3203
- }), we.value = re(f);
3206
+ return (Gl = b == null ? void 0 : b.prop) != null && Gl.includes(".") && !Te && ((Jl = (we = o == null ? void 0 : o.prop) == null ? void 0 : we.split(".")) == null ? void 0 : Jl[0]) === ((kl = (_e = b == null ? void 0 : b.prop) == null ? void 0 : _e.split(".")) == null ? void 0 : kl[0]) && (Te = (V == null ? void 0 : V[(Me = (F = b == null ? void 0 : b.prop) == null ? void 0 : F.split(".")) == null ? void 0 : Me[((me = (t = b == null ? void 0 : b.prop) == null ? void 0 : t.split(".")) == null ? void 0 : me.length) - 1]]) ?? (V == null ? void 0 : V[b == null ? void 0 : b.prop])), D && (Te || Te === "") && (b != null && b.relatedValueId) && zl.value === "新增" && ((b == null ? void 0 : b.prop) !== (o == null ? void 0 : o.prop) || c != null && c.includes((o == null ? void 0 : o.prop) + "·") || c != null && c.includes("·" + (b == null ? void 0 : b.prop))) ? b.value = Te ?? (V == null ? void 0 : V[(ca = (el = (vl = (Ve = b == null ? void 0 : b.optionUrl) == null ? void 0 : Ve.groupSelect) == null ? void 0 : vl[1]) == null ? void 0 : el.replaceAll("[", "")) == null ? void 0 : ca.replaceAll("]", "")]) : (c != null && c.includes("·" + (b == null ? void 0 : b.prop)) || c != null && c.includes(".")) && (b == null ? void 0 : b.prop) !== (o == null ? void 0 : o.prop) && !Array.isArray((ha = (fa = Ue.value) == null ? void 0 : fa.find((gl) => (gl == null ? void 0 : gl.prop) === (b == null ? void 0 : b.prop))) == null ? void 0 : ha.value) ? b.value = Te ?? "" : ((ze = b == null ? void 0 : b.optionUrl) == null ? void 0 : ze.multiple) === !0 && !Array.isArray((ea = (Wl = Ue.value) == null ? void 0 : Wl.find((gl) => (gl == null ? void 0 : gl.prop) === (b == null ? void 0 : b.prop))) == null ? void 0 : ea.value) ? b.value = ((Pl = (ya = Ue.value) == null ? void 0 : ya.find((gl) => (gl == null ? void 0 : gl.prop) === (b == null ? void 0 : b.prop))) == null ? void 0 : Pl.value) === "" ? [] : [(Xa = (la = Ue.value) == null ? void 0 : la.find((gl) => (gl == null ? void 0 : gl.prop) === (b == null ? void 0 : b.prop))) == null ? void 0 : Xa.value] : b.value = (Ya = (Qa = Ue.value) == null ? void 0 : Qa.find((gl) => (gl == null ? void 0 : gl.prop) === (b == null ? void 0 : b.prop))) == null ? void 0 : Ya.value, b;
3207
+ }), Ue.value = re(f);
3204
3208
  let he = re(f);
3205
3209
  he = he == null ? void 0 : he.map((b) => {
3206
- var Te, Fe, ml, _l, Al, Cl, Tl, Ol, kl;
3207
- return (Fe = (Te = b == null ? void 0 : b.optionUrl) == null ? void 0 : Te.menuSelect) != null && Fe.some((Ee) => Ee == null ? void 0 : Ee.includes("[")) && (b.optionUrl.oldMenuSelect = (_l = (ml = re(b)) == null ? void 0 : ml.optionUrl) == null ? void 0 : _l.menuSelect, b.optionUrl.menuSelect = (Cl = (Al = b == null ? void 0 : b.optionUrl) == null ? void 0 : Al.menuSelect) == null ? void 0 : Cl.map((Ee) => {
3210
+ var Te, Fe, ml, _l, Al, Cl, Tl, Ol, bl;
3211
+ return (Fe = (Te = b == null ? void 0 : b.optionUrl) == null ? void 0 : Te.menuSelect) != null && Fe.some((Le) => Le == null ? void 0 : Le.includes("[")) && (b.optionUrl.oldMenuSelect = (_l = (ml = re(b)) == null ? void 0 : ml.optionUrl) == null ? void 0 : _l.menuSelect, b.optionUrl.menuSelect = (Cl = (Al = b == null ? void 0 : b.optionUrl) == null ? void 0 : Al.menuSelect) == null ? void 0 : Cl.map((Le) => {
3208
3212
  var Re, Dl, Ll, jl;
3209
- if (Ee != null && Ee.includes("[")) {
3210
- let Bl = (Dl = (Re = Ee == null ? void 0 : Ee.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Re.split(":")) == null ? void 0 : Dl[1];
3211
- Ee = (jl = (Ll = re(f)) == null ? void 0 : Ll.find((v) => (v == null ? void 0 : v.label) === Bl)) == null ? void 0 : jl.value;
3213
+ if (Le != null && Le.includes("[")) {
3214
+ let Bl = (Dl = (Re = Le == null ? void 0 : Le.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Re.split(":")) == null ? void 0 : Dl[1];
3215
+ Le = (jl = (Ll = re(f)) == null ? void 0 : Ll.find((v) => (v == null ? void 0 : v.label) === Bl)) == null ? void 0 : jl.value;
3212
3216
  }
3213
- return Ee;
3214
- })), ((o == null ? void 0 : o.prop) === (b == null ? void 0 : b.prop) || c === (b == null ? void 0 : b.prop)) && Array.isArray(o.value) && (Tl = o.value) != null && Tl.every((Ee) => typeof Ee == "string") && (b.selectValue = ((Ol = k == null ? void 0 : k.find((Ee) => (Ee == null ? void 0 : Ee.key) === (b == null ? void 0 : b.prop))) == null ? void 0 : Ol.value) ?? ((kl = b.value) == null ? void 0 : kl[0])), b;
3215
- }), we.value = he;
3217
+ return Le;
3218
+ })), ((o == null ? void 0 : o.prop) === (b == null ? void 0 : b.prop) || c === (b == null ? void 0 : b.prop)) && Array.isArray(o.value) && (Tl = o.value) != null && Tl.every((Le) => typeof Le == "string") && (b.selectValue = ((Ol = k == null ? void 0 : k.find((Le) => (Le == null ? void 0 : Le.key) === (b == null ? void 0 : b.prop))) == null ? void 0 : Ol.value) ?? ((bl = b.value) == null ? void 0 : bl[0])), b;
3219
+ }), Ue.value = he;
3216
3220
  let Ke = {};
3217
- (se = we.value) == null || se.forEach((b) => {
3221
+ (oe = Ue.value) == null || oe.forEach((b) => {
3218
3222
  Ke[b.prop] = b == null ? void 0 : b.value;
3219
3223
  }), $l.value = Ke;
3220
3224
  }
3221
- let Ie = ve.value, Qe = {};
3222
- (Ce = we.value) == null || Ce.forEach((f) => {
3225
+ let Ie = ye.value, Qe = {};
3226
+ (Ce = Ue.value) == null || Ce.forEach((f) => {
3223
3227
  var he, Ke, b, Te, Fe, ml, _l, Al, Cl, Tl, Ol;
3224
3228
  if (((f == null ? void 0 : f.directiveLabel) === "#isMain" || (he = f == null ? void 0 : f.optionUrl) != null && he.menuId) && Array.isArray(f == null ? void 0 : f.value)) {
3225
3229
  if (Qe[f.prop] || (Qe[f.prop] = (b = f.value) == null ? void 0 : b[((Ke = f.value) == null ? void 0 : Ke.length) - 1]), (Te = f == null ? void 0 : f.prop) != null && Te.includes("·")) {
3226
- let kl = (_l = (ml = (Fe = f == null ? void 0 : f.prop) == null ? void 0 : Fe.split("·")) == null ? void 0 : ml.filter((Re) => Re && Re !== "")) == null ? void 0 : _l.map((Re) => Re == null ? void 0 : Re.trim()), Ee = (Ol = (Tl = (Cl = (Al = f == null ? void 0 : f.selectValue) == null ? void 0 : Al[0]) == null ? void 0 : Cl.split(" ")) == null ? void 0 : Tl.filter((Re) => Re && Re !== "")) == null ? void 0 : Ol.map((Re) => Re == null ? void 0 : Re.trim());
3227
- kl == null || kl.forEach((Re, Dl) => {
3228
- Qe = Object.assign({}, Qe, { [Re]: Ee == null ? void 0 : Ee[Dl] });
3230
+ let bl = (_l = (ml = (Fe = f == null ? void 0 : f.prop) == null ? void 0 : Fe.split("·")) == null ? void 0 : ml.filter((Re) => Re && Re !== "")) == null ? void 0 : _l.map((Re) => Re == null ? void 0 : Re.trim()), Le = (Ol = (Tl = (Cl = (Al = f == null ? void 0 : f.selectValue) == null ? void 0 : Al[0]) == null ? void 0 : Cl.split(" ")) == null ? void 0 : Tl.filter((Re) => Re && Re !== "")) == null ? void 0 : Ol.map((Re) => Re == null ? void 0 : Re.trim());
3231
+ bl == null || bl.forEach((Re, Dl) => {
3232
+ Qe = Object.assign({}, Qe, { [Re]: Le == null ? void 0 : Le[Dl] });
3229
3233
  });
3230
3234
  }
3231
3235
  } else
3232
3236
  Qe[f.prop] = (Qe == null ? void 0 : Qe[f == null ? void 0 : f.prop]) ?? f.value;
3233
3237
  });
3234
- let pl = ($e = we.value) == null ? void 0 : $e.find((f) => {
3238
+ let tl = (Ne = Ue.value) == null ? void 0 : Ne.find((f) => {
3235
3239
  var he;
3236
3240
  return (f == null ? void 0 : f.directiveLabel) === "#isMain" || ((he = f == null ? void 0 : f.optionUrl) == null ? void 0 : he.menuId);
3237
3241
  });
3238
- (o == null ? void 0 : o.directiveLabel) === "#isMain" && ((ye = o == null ? void 0 : o.value) == null ? void 0 : ye[((Y = o == null ? void 0 : o.value) == null ? void 0 : Y.length) - 1]) !== "" ? Ie.push({
3242
+ (o == null ? void 0 : o.directiveLabel) === "#isMain" && ((ve = o == null ? void 0 : o.value) == null ? void 0 : ve[((Y = o == null ? void 0 : o.value) == null ? void 0 : Y.length) - 1]) !== "" ? Ie.push({
3239
3243
  label: o == null ? void 0 : o.prop,
3240
- value: (be = o == null ? void 0 : o.value) == null ? void 0 : be[((qe = o == null ? void 0 : o.value) == null ? void 0 : qe.length) - 1],
3244
+ value: (be = o == null ? void 0 : o.value) == null ? void 0 : be[((We = o == null ? void 0 : o.value) == null ? void 0 : We.length) - 1],
3241
3245
  objectValue: Qe
3242
- }) : ((Se = pl == null ? void 0 : pl.value) == null ? void 0 : Se.length) > 0 && ((rl = o == null ? void 0 : o.value) == null ? void 0 : rl[((je = o == null ? void 0 : o.value) == null ? void 0 : je.length) - 1]) !== "" && (Ie = Ie == null ? void 0 : Ie.map((f) => {
3246
+ }) : ((Se = tl == null ? void 0 : tl.value) == null ? void 0 : Se.length) > 0 && ((rl = o == null ? void 0 : o.value) == null ? void 0 : rl[((Pe = o == null ? void 0 : o.value) == null ? void 0 : Pe.length) - 1]) !== "" && (Ie = Ie == null ? void 0 : Ie.map((f) => {
3243
3247
  var he;
3244
- return (f == null ? void 0 : f.value) === ((he = pl == null ? void 0 : pl.selectValue) == null ? void 0 : he[0]) && (f.objectValue = Qe), f;
3245
- })), ve.value = Ie;
3248
+ return (f == null ? void 0 : f.value) === ((he = tl == null ? void 0 : tl.selectValue) == null ? void 0 : he[0]) && (f.objectValue = Qe), f;
3249
+ })), ye.value = Ie;
3246
3250
  }
3247
- za.value = !0, He.value = !1;
3251
+ za.value = !0, Ge.value = !1;
3248
3252
  }, eo = (e) => e ? (e == null ? void 0 : e.toUpperCase()) === "INPUT" ? "TEXTAREA" : e : "TEXTAREA", lo = (e) => {
3249
3253
  var u, c;
3250
3254
  const l = (c = (u = Xl.value) == null ? void 0 : u.find((o) => (o == null ? void 0 : o.label) === (e == null ? void 0 : e.label))) == null ? void 0 : c.multiple, a = e == null ? void 0 : e.prop;
@@ -3262,7 +3266,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3262
3266
  }, xr = (e) => {
3263
3267
  var a, r, n, u, c, o;
3264
3268
  Ga("");
3265
- const l = (a = we.value) == null ? void 0 : a.reduce((p, g) => (p[g.name] = g.value, p), {});
3269
+ const l = (a = Ue.value) == null ? void 0 : a.reduce((p, g) => (p[g.name] = g.value, p), {});
3266
3270
  if (((r = Object.keys(l)) == null ? void 0 : r.length) > 0) {
3267
3271
  $l.value = l, sa.value = "", Oa.value = (n = I.value) == null ? void 0 : n.length, Rl.value = (u = Ml.value) == null ? void 0 : u.filter((g) => (g == null ? void 0 : g.label) !== "新增");
3268
3272
  const p = (o = (c = A.value) == null ? void 0 : c.filter((g) => (g == null ? void 0 : g.label) !== "操作")) == null ? void 0 : o.map((g) => {
@@ -3322,7 +3326,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3322
3326
  let r = [];
3323
3327
  return r = nn(e, l == null ? void 0 : l.contents, 0), r;
3324
3328
  }, on = async (e, l) => {
3325
- var M, _, K, Z, W, L, T, i, h, y, z, x, X, d, j, ge, J, O, R, te, de, se, Ce, $e, Y, ye, qe, be, Se, je, rl, E, V, Ie, Qe, pl, f, he, Ke, b, Te, Fe, ml, _l, Al, Cl, Tl, Ol, kl, Ee, Re, Dl, Ll, jl, Bl;
3329
+ var M, _, K, Z, W, L, T, i, h, y, z, x, X, d, j, ge, J, O, R, pe, te, oe, Ce, Ne, Y, ve, We, be, Se, Pe, rl, E, V, Ie, Qe, tl, f, he, Ke, b, Te, Fe, ml, _l, Al, Cl, Tl, Ol, bl, Le, Re, Dl, Ll, jl, Bl;
3326
3330
  const a = e == null ? void 0 : e.filter((v) => (v == null ? void 0 : v.key) === "header");
3327
3331
  e == null || e.filter((v) => (v == null ? void 0 : v.key) === "tableIndexColumn")[0];
3328
3332
  const r = e == null ? void 0 : e.filter((v) => (v == null ? void 0 : v.key) === "childTree")[0];
@@ -3348,26 +3352,26 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3348
3352
  F != null && F.find((t) => (t == null ? void 0 : t.label) === "操作") || F.push({
3349
3353
  label: "操作"
3350
3354
  }), F == null || F.forEach((t, me) => {
3351
- var gl, el, ca, fa, ha, ze, Wl, ea, ya, Pl, la, Xa, Qa, Ya, bl, dn, tn, pn, fn, hn, yn, vn;
3355
+ var vl, el, ca, fa, ha, ze, Wl, ea, ya, Pl, la, Xa, Qa, Ya, gl, dn, tn, pn, fn, hn, yn, vn;
3352
3356
  let Me = "";
3353
- if ((el = (gl = Ze.value) == null ? void 0 : gl.split("/")) == null || el.forEach((Pe) => {
3354
- var Ge, da, gn;
3355
- if (Pe !== "") {
3356
- let bn = (gn = (da = (Ge = Pe == null ? void 0 : Pe.split(oe + "updateLoading")) == null ? void 0 : Ge[0]) == null ? void 0 : da.split(oe + "loading")) == null ? void 0 : gn[0];
3357
+ if ((el = (vl = Ze.value) == null ? void 0 : vl.split("/")) == null || el.forEach(($e) => {
3358
+ var qe, da, gn;
3359
+ if ($e !== "") {
3360
+ let bn = (gn = (da = (qe = $e == null ? void 0 : $e.split(se + "updateLoading")) == null ? void 0 : qe[0]) == null ? void 0 : da.split(se + "loading")) == null ? void 0 : gn[0];
3357
3361
  Me = Me === "" ? Me + bn : Me + "/" + bn;
3358
3362
  }
3359
3363
  }), t != null && t.methodContent) {
3360
- let Pe = (ha = (fa = (ca = t == null ? void 0 : t.methodContent) == null ? void 0 : ca.replace("@", "%%#")) == null ? void 0 : fa.split("%%#")) == null ? void 0 : ha[1];
3361
- if (Pe = Pe == null ? void 0 : Pe.slice(0, (Pe == null ? void 0 : Pe.length) - 1), Pe = Uo(Pe ?? "", ","), (ze = Pe == null ? void 0 : Pe.find((Ge) => Ge == null ? void 0 : Ge.includes("@Button"))) != null && ze.includes("Prop") && ((Wl = Pe == null ? void 0 : Pe.find((Ge) => Ge == null ? void 0 : Ge.includes("Type"))) != null && Wl.includes("Manual"))) {
3362
- let Ge = (ya = (ea = Pe == null ? void 0 : Pe.find((da) => da == null ? void 0 : da.includes("@Button"))) == null ? void 0 : ea.split(":")) == null ? void 0 : ya[1];
3363
- Ge = ((Xa = (la = (Pl = Ge == null ? void 0 : Ge.replaceAll("[", "")) == null ? void 0 : Pl.replaceAll("]", "")) == null ? void 0 : la.split(",")) == null ? void 0 : Xa[1]) ?? "算法执行", $.push(Ge);
3364
- } else if ((Qa = Pe == null ? void 0 : Pe.find((Ge) => Ge == null ? void 0 : Ge.includes("@Button"))) != null && Qa.includes("Row") && ((Ya = Pe == null ? void 0 : Pe.find((Ge) => Ge == null ? void 0 : Ge.includes("Type"))) != null && Ya.includes("Manual"))) {
3365
- let Ge = (dn = (bl = Pe == null ? void 0 : Pe.find((da) => da == null ? void 0 : da.includes("@Button"))) == null ? void 0 : bl.split(":")) == null ? void 0 : dn[1];
3366
- Ge = ((fn = (pn = (tn = Ge == null ? void 0 : Ge.replaceAll("[", "")) == null ? void 0 : tn.replaceAll("]", "")) == null ? void 0 : pn.split(",")) == null ? void 0 : fn[1]) ?? "算法执行", N.push(Ge);
3364
+ let $e = (ha = (fa = (ca = t == null ? void 0 : t.methodContent) == null ? void 0 : ca.replace("@", "%%#")) == null ? void 0 : fa.split("%%#")) == null ? void 0 : ha[1];
3365
+ if ($e = $e == null ? void 0 : $e.slice(0, ($e == null ? void 0 : $e.length) - 1), $e = Uo($e ?? "", ","), (ze = $e == null ? void 0 : $e.find((qe) => qe == null ? void 0 : qe.includes("@Button"))) != null && ze.includes("Prop") && ((Wl = $e == null ? void 0 : $e.find((qe) => qe == null ? void 0 : qe.includes("Type"))) != null && Wl.includes("Manual"))) {
3366
+ let qe = (ya = (ea = $e == null ? void 0 : $e.find((da) => da == null ? void 0 : da.includes("@Button"))) == null ? void 0 : ea.split(":")) == null ? void 0 : ya[1];
3367
+ qe = ((Xa = (la = (Pl = qe == null ? void 0 : qe.replaceAll("[", "")) == null ? void 0 : Pl.replaceAll("]", "")) == null ? void 0 : la.split(",")) == null ? void 0 : Xa[1]) ?? "算法执行", $.push(qe);
3368
+ } else if ((Qa = $e == null ? void 0 : $e.find((qe) => qe == null ? void 0 : qe.includes("@Button"))) != null && Qa.includes("Row") && ((Ya = $e == null ? void 0 : $e.find((qe) => qe == null ? void 0 : qe.includes("Type"))) != null && Ya.includes("Manual"))) {
3369
+ let qe = (dn = (gl = $e == null ? void 0 : $e.find((da) => da == null ? void 0 : da.includes("@Button"))) == null ? void 0 : gl.split(":")) == null ? void 0 : dn[1];
3370
+ qe = ((fn = (pn = (tn = qe == null ? void 0 : qe.replaceAll("[", "")) == null ? void 0 : tn.replaceAll("]", "")) == null ? void 0 : pn.split(",")) == null ? void 0 : fn[1]) ?? "算法执行", N.push(qe);
3367
3371
  }
3368
3372
  }
3369
3373
  Me = Me + "/";
3370
- const Ve = (hn = Xl.value) == null ? void 0 : hn.find((Pe) => (Pe == null ? void 0 : Pe.prop) === (t == null ? void 0 : t.prop));
3374
+ const Ve = (hn = Xl.value) == null ? void 0 : hn.find(($e) => ($e == null ? void 0 : $e.prop) === (t == null ? void 0 : t.prop));
3371
3375
  v.push({
3372
3376
  label: (t == null ? void 0 : t.label) === "操作" ? n ? "操作" : "" : (t == null ? void 0 : t.label) ?? "",
3373
3377
  prop: (t == null ? void 0 : t.label) === "操作" ? "operate" : (t == null ? void 0 : t.prop) ?? "a" + me,
@@ -3411,17 +3415,17 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3411
3415
  });
3412
3416
  });
3413
3417
  }
3414
- const ul = Eo(v);
3415
- await fs(ul), Ri(xl.value, ul), B.value = ul, fr.value = ul, S.value = (ge = B.value) == null ? void 0 : ge.map((F) => F == null ? void 0 : F.label);
3416
- let dl = (O = (J = Tn(B.value)) == null ? void 0 : J.filter((F) => (F == null ? void 0 : F.type) !== "operate")) == null ? void 0 : O.map((F, t) => ({
3418
+ const il = Eo(v);
3419
+ await fs(il), Ri(xl.value, il), B.value = il, fr.value = il, S.value = (ge = B.value) == null ? void 0 : ge.map((F) => F == null ? void 0 : F.label);
3420
+ let cl = (O = (J = Tn(B.value)) == null ? void 0 : J.filter((F) => (F == null ? void 0 : F.type) !== "operate")) == null ? void 0 : O.map((F, t) => ({
3417
3421
  prop: (F == null ? void 0 : F.prop) ?? "a" + t,
3418
3422
  column: F.label
3419
3423
  }));
3420
- Yl.value = dl;
3421
- let cl = [];
3422
- Sa.value === "" ? cl = g == null ? void 0 : g[0] : cl = (g == null ? void 0 : g.find((F) => (F == null ? void 0 : F.selectLabel) === "(" + Sa.value + ")")) ?? (g == null ? void 0 : g.find((F) => !(F != null && F.selectLabel)));
3423
- let Ul = Array.isArray((R = cl == null ? void 0 : cl.contents) == null ? void 0 : R[0]) && ((te = cl == null ? void 0 : cl.contents) != null && te[0].every((F) => Array.isArray(F))) ? (de = cl == null ? void 0 : cl.contents) == null ? void 0 : de[0] : cl == null ? void 0 : cl.contents;
3424
- D != null && D.contents && ((se = D == null ? void 0 : D.contents) == null ? void 0 : se.length) !== 0 && (Ul = (Ce = re(Ul)) == null ? void 0 : Ce.map((F, t) => {
3424
+ Yl.value = cl;
3425
+ let ul = [];
3426
+ Sa.value === "" ? ul = g == null ? void 0 : g[0] : ul = (g == null ? void 0 : g.find((F) => (F == null ? void 0 : F.selectLabel) === "(" + Sa.value + ")")) ?? (g == null ? void 0 : g.find((F) => !(F != null && F.selectLabel)));
3427
+ let Ul = Array.isArray((R = ul == null ? void 0 : ul.contents) == null ? void 0 : R[0]) && ((pe = ul == null ? void 0 : ul.contents) != null && pe[0].every((F) => Array.isArray(F))) ? (te = ul == null ? void 0 : ul.contents) == null ? void 0 : te[0] : ul == null ? void 0 : ul.contents;
3428
+ D != null && D.contents && ((oe = D == null ? void 0 : D.contents) == null ? void 0 : oe.length) !== 0 && (Ul = (Ce = re(Ul)) == null ? void 0 : Ce.map((F, t) => {
3425
3429
  if (!Array.isArray(F)) {
3426
3430
  let me = {};
3427
3431
  for (let Me in F)
@@ -3430,48 +3434,48 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3430
3434
  }
3431
3435
  return F;
3432
3436
  }));
3433
- const Gl = !!(($e = B.value) != null && $e.find((F) => F.prop === "index"));
3437
+ const Gl = !!((Ne = B.value) != null && Ne.find((F) => F.prop === "index"));
3434
3438
  Ul = Rn(Ul, D == null ? void 0 : D.contents, Gl);
3435
- const xe = [];
3439
+ const we = [];
3436
3440
  Ul == null || Ul.forEach((F, t) => {
3437
3441
  var Me;
3438
3442
  let me = {};
3439
3443
  if (Array.isArray(F)) {
3440
3444
  let Ve = [];
3441
- F == null || F.filter((gl) => !(gl != null && gl.id)).forEach((gl, el) => {
3445
+ F == null || F.filter((vl) => !(vl != null && vl.id)).forEach((vl, el) => {
3442
3446
  var ca, fa, ha, ze, Wl, ea;
3443
- if ((ca = dl == null ? void 0 : dl[el]) != null && ca.prop && !Array.isArray(gl)) {
3447
+ if ((ca = cl == null ? void 0 : cl[el]) != null && ca.prop && !Array.isArray(vl)) {
3444
3448
  let ya = {};
3445
- ya[dl[el].column] = gl, al != null && al.value && ((fa = al == null ? void 0 : al.value) == null ? void 0 : fa.length) > 0 && ((ha = al == null ? void 0 : al.value) != null && ha.find((Pl) => JSON.stringify(Pl == null ? void 0 : Pl[0]) === JSON.stringify(ya))) && (Ve = (ze = al == null ? void 0 : al.value) == null ? void 0 : ze.find((Pl) => JSON.stringify(Pl == null ? void 0 : Pl[0]) === JSON.stringify(ya))), Ve && Ve.length > 0 ? me[dl[el].prop] = Ve != null && Ve.find((Pl) => {
3449
+ ya[cl[el].column] = vl, al != null && al.value && ((fa = al == null ? void 0 : al.value) == null ? void 0 : fa.length) > 0 && ((ha = al == null ? void 0 : al.value) != null && ha.find((Pl) => JSON.stringify(Pl == null ? void 0 : Pl[0]) === JSON.stringify(ya))) && (Ve = (ze = al == null ? void 0 : al.value) == null ? void 0 : ze.find((Pl) => JSON.stringify(Pl == null ? void 0 : Pl[0]) === JSON.stringify(ya))), Ve && Ve.length > 0 ? me[cl[el].prop] = Ve != null && Ve.find((Pl) => {
3446
3450
  var la;
3447
- return ((la = Object.keys(Pl)) == null ? void 0 : la[0]) === dl[el].column;
3451
+ return ((la = Object.keys(Pl)) == null ? void 0 : la[0]) === cl[el].column;
3448
3452
  }) ? (Wl = Ve == null ? void 0 : Ve.find((Pl) => {
3449
3453
  var la;
3450
- return ((la = Object.keys(Pl)) == null ? void 0 : la[0]) === dl[el].column;
3451
- })) == null ? void 0 : Wl[dl[el].column] : gl : me[dl[el].prop] = gl;
3452
- } else Array.isArray(gl) && ((ea = dl[el]) != null && ea.prop ? me[dl[el].prop] = gl : me.children = jr(gl, dl));
3454
+ return ((la = Object.keys(Pl)) == null ? void 0 : la[0]) === cl[el].column;
3455
+ })) == null ? void 0 : Wl[cl[el].column] : vl : me[cl[el].prop] = vl;
3456
+ } else Array.isArray(vl) && ((ea = cl[el]) != null && ea.prop ? me[cl[el].prop] = vl : me.children = jr(vl, cl));
3453
3457
  });
3454
3458
  } else
3455
3459
  me = F;
3456
3460
  if (Array.isArray(F) && F.some((Ve) => Ve == null ? void 0 : Ve.id)) {
3457
- const Ve = (Me = F == null ? void 0 : F.find((gl) => gl.id)) == null ? void 0 : Me.id;
3458
- xe.push(Object.assign(me, { id: qr(Ve) }));
3459
- } else me.id ? xe.push(me) : xe.push(Object.assign(me, { id: t.toString() }));
3461
+ const Ve = (Me = F == null ? void 0 : F.find((vl) => vl.id)) == null ? void 0 : Me.id;
3462
+ we.push(Object.assign(me, { id: qr(Ve) }));
3463
+ } else me.id ? we.push(me) : we.push(Object.assign(me, { id: t.toString() }));
3460
3464
  });
3461
3465
  try {
3462
3466
  const F = JSON.parse(sessionStorage.getItem("ocr_last_saved_table") || "null"), t = JSON.parse(sessionStorage.getItem("ocr_last_saved_ids") || "null"), me = F == null ? void 0 : F.tableId, Me = F == null ? void 0 : F.compIndex;
3463
3467
  if (me && Array.isArray(t) && t.length > 0 && String(me) === String(s == null ? void 0 : s.parentTableId) && String(Me) === String(s == null ? void 0 : s.index)) {
3464
- const Ve = new Set(xe.map((el) => String(el == null ? void 0 : el.id))), gl = t.filter((el) => !Ve.has(String(el)));
3465
- if (gl.length > 0) {
3468
+ const Ve = new Set(we.map((el) => String(el == null ? void 0 : el.id))), vl = t.filter((el) => !Ve.has(String(el)));
3469
+ if (vl.length > 0) {
3466
3470
  const el = F == null ? void 0 : F.pageKey, ca = el != null && el.startsWith("/") ? el.substring(1) : el;
3467
3471
  ((l == null ? void 0 : l[el]) || (l == null ? void 0 : l[ca]) || []).filter(
3468
3472
  (ze) => {
3469
3473
  var Wl, ea;
3470
- return ((Wl = ze == null ? void 0 : ze.key) == null ? void 0 : Wl.type) === "data" && String((ea = ze == null ? void 0 : ze.key) == null ? void 0 : ea.tableId) === String(me) && gl.includes(ze == null ? void 0 : ze.id);
3474
+ return ((Wl = ze == null ? void 0 : ze.key) == null ? void 0 : Wl.type) === "data" && String((ea = ze == null ? void 0 : ze.key) == null ? void 0 : ea.tableId) === String(me) && vl.includes(ze == null ? void 0 : ze.id);
3471
3475
  }
3472
3476
  ).forEach((ze) => {
3473
3477
  var Wl;
3474
- Ve.has(String(ze == null ? void 0 : ze.id)) || (xe.push({ id: ze == null ? void 0 : ze.id, ...((Wl = ze == null ? void 0 : ze.value) == null ? void 0 : Wl.tableData) || {} }), Ve.add(String(ze == null ? void 0 : ze.id)));
3478
+ Ve.has(String(ze == null ? void 0 : ze.id)) || (we.push({ id: ze == null ? void 0 : ze.id, ...((Wl = ze == null ? void 0 : ze.value) == null ? void 0 : Wl.tableData) || {} }), Ve.add(String(ze == null ? void 0 : ze.id)));
3475
3479
  });
3476
3480
  }
3477
3481
  }
@@ -3480,14 +3484,14 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3480
3484
  const Jl = Array.from(((Y = ql.value) == null ? void 0 : Y.values()) || []).filter(
3481
3485
  (F) => (F == null ? void 0 : F._isOCRRow) && (F == null ? void 0 : F._ocrTableId) === (s == null ? void 0 : s.index)
3482
3486
  );
3483
- I.value = sn(xe, r, B.value), na.value = xe, (ye = na.value) == null || ye.forEach((F) => {
3487
+ I.value = sn(we, r, B.value), na.value = we, (ve = na.value) == null || ve.forEach((F) => {
3484
3488
  var t;
3485
3489
  (t = ql.value) == null || t.set(F.id, F);
3486
3490
  });
3487
- const _e = JSON.parse(sessionStorage.getItem("ocr_last_saved_table") || "null"), Sl = JSON.parse(sessionStorage.getItem("ocr_last_saved_ids") || "null");
3488
- if (_e && Array.isArray(Sl) && Sl.length > 0 && String(_e == null ? void 0 : _e.compIndex) === String(s == null ? void 0 : s.index)) {
3491
+ const _e = JSON.parse(sessionStorage.getItem("ocr_last_saved_table") || "null"), kl = JSON.parse(sessionStorage.getItem("ocr_last_saved_ids") || "null");
3492
+ if (_e && Array.isArray(kl) && kl.length > 0 && String(_e == null ? void 0 : _e.compIndex) === String(s == null ? void 0 : s.index)) {
3489
3493
  const F = new Set((na.value || []).map((t) => String(t == null ? void 0 : t.id)));
3490
- Sl.filter((t) => !F.has(String(t)));
3494
+ kl.filter((t) => !F.has(String(t)));
3491
3495
  }
3492
3496
  if (Jl.length > 0) {
3493
3497
  const F = new Set((I.value || []).map((me) => me == null ? void 0 : me.id)), t = Jl.filter((me) => !F.has(me.id));
@@ -3501,10 +3505,10 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3501
3505
  if (N = [...new Set(N)], N = N == null ? void 0 : N.map((v) => ({
3502
3506
  label: v,
3503
3507
  type: "methodButton"
3504
- })), ((qe = o == null ? void 0 : o.contents) == null ? void 0 : qe.length) > 0)
3505
- if ((je = (Se = (be = e == null ? void 0 : e.find((v) => (v == null ? void 0 : v.key) === "filterAllType")) == null ? void 0 : be.value) == null ? void 0 : Se.find((v) => (v == null ? void 0 : v.value) === "onRowButtonContents")) != null && je.content) {
3508
+ })), ((We = o == null ? void 0 : o.contents) == null ? void 0 : We.length) > 0)
3509
+ if ((Pe = (Se = (be = e == null ? void 0 : e.find((v) => (v == null ? void 0 : v.key) === "filterAllType")) == null ? void 0 : be.value) == null ? void 0 : Se.find((v) => (v == null ? void 0 : v.value) === "onRowButtonContents")) != null && Pe.content) {
3506
3510
  let v = (V = (E = (rl = e == null ? void 0 : e.find((q) => (q == null ? void 0 : q.key) === "filterAllType")) == null ? void 0 : rl.value) == null ? void 0 : E.find((q) => (q == null ? void 0 : q.value) === "onButtonContents")) == null ? void 0 : V.content;
3507
- v = (Ie = v == null ? void 0 : v.split(":")) == null ? void 0 : Ie[1], v = (Qe = v.slice(1, (v == null ? void 0 : v.length) - 1)) == null ? void 0 : Qe.split(","), ia.value = (pl = o == null ? void 0 : o.contents) == null ? void 0 : pl.filter((q) => v == null ? void 0 : v.find((ul) => ul === (q == null ? void 0 : q.label)));
3511
+ v = (Ie = v == null ? void 0 : v.split(":")) == null ? void 0 : Ie[1], v = (Qe = v.slice(1, (v == null ? void 0 : v.length) - 1)) == null ? void 0 : Qe.split(","), ia.value = (tl = o == null ? void 0 : o.contents) == null ? void 0 : tl.filter((q) => v == null ? void 0 : v.find((il) => il === (q == null ? void 0 : q.label)));
3508
3512
  } else
3509
3513
  ia.value = o == null ? void 0 : o.contents;
3510
3514
  else
@@ -3515,11 +3519,11 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3515
3519
  })), ((f = p == null ? void 0 : p.contents) == null ? void 0 : f.length) > 0)
3516
3520
  if ((b = (Ke = (he = e == null ? void 0 : e.find((v) => (v == null ? void 0 : v.key) === "filterAllType")) == null ? void 0 : he.value) == null ? void 0 : Ke.find((v) => (v == null ? void 0 : v.value) === "onButtonContents")) != null && b.content) {
3517
3521
  let v = (ml = (Fe = (Te = e == null ? void 0 : e.find((q) => (q == null ? void 0 : q.key) === "filterAllType")) == null ? void 0 : Te.value) == null ? void 0 : Fe.find((q) => (q == null ? void 0 : q.value) === "onButtonContents")) == null ? void 0 : ml.content;
3518
- if (v = (_l = v == null ? void 0 : v.split(":")) == null ? void 0 : _l[1], v = (Al = v.slice(1, (v == null ? void 0 : v.length) - 1)) == null ? void 0 : Al.split(","), Rl.value = (Cl = p == null ? void 0 : p.contents) == null ? void 0 : Cl.filter((q) => v == null ? void 0 : v.find((ul) => ul === (q == null ? void 0 : q.label))), Ml.value = (Tl = p == null ? void 0 : p.contents) == null ? void 0 : Tl.filter((q) => v == null ? void 0 : v.find((ul) => ul === (q == null ? void 0 : q.label))), (Ol = p == null ? void 0 : p.contents) != null && Ol.some((q) => (q == null ? void 0 : q.label) === "OCR识别") && !((kl = Rl.value) != null && kl.some((q) => (q == null ? void 0 : q.label) === "OCR识别"))) {
3519
- const q = (Ee = p == null ? void 0 : p.contents) == null ? void 0 : Ee.find((ul) => (ul == null ? void 0 : ul.label) === "OCR识别");
3522
+ if (v = (_l = v == null ? void 0 : v.split(":")) == null ? void 0 : _l[1], v = (Al = v.slice(1, (v == null ? void 0 : v.length) - 1)) == null ? void 0 : Al.split(","), Rl.value = (Cl = p == null ? void 0 : p.contents) == null ? void 0 : Cl.filter((q) => v == null ? void 0 : v.find((il) => il === (q == null ? void 0 : q.label))), Ml.value = (Tl = p == null ? void 0 : p.contents) == null ? void 0 : Tl.filter((q) => v == null ? void 0 : v.find((il) => il === (q == null ? void 0 : q.label))), (Ol = p == null ? void 0 : p.contents) != null && Ol.some((q) => (q == null ? void 0 : q.label) === "OCR识别") && !((bl = Rl.value) != null && bl.some((q) => (q == null ? void 0 : q.label) === "OCR识别"))) {
3523
+ const q = (Le = p == null ? void 0 : p.contents) == null ? void 0 : Le.find((il) => (il == null ? void 0 : il.label) === "OCR识别");
3520
3524
  Rl.value = [...Rl.value, q], Ml.value = [...Ml.value, q];
3521
3525
  }
3522
- Ae.value = !!(v != null && v.find((q) => q === "搜索")), We.value = !!(v != null && v.find((q) => q === "块状显示"));
3526
+ Ae.value = !!(v != null && v.find((q) => q === "搜索")), He.value = !!(v != null && v.find((q) => q === "块状显示"));
3523
3527
  } else
3524
3528
  Rl.value = p == null ? void 0 : p.contents, Ml.value = p == null ? void 0 : p.contents;
3525
3529
  else
@@ -3550,7 +3554,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3550
3554
  key: (r = (a = s == null ? void 0 : s.itemData) == null ? void 0 : a.find((p) => (p == null ? void 0 : p.key) === "columnPath")) == null ? void 0 : r.contents,
3551
3555
  value: (u = (n = s == null ? void 0 : s.itemData) == null ? void 0 : n.find((p) => (p == null ? void 0 : p.key) === "columnUsingPath")) == null ? void 0 : u.contents
3552
3556
  };
3553
- c != null && c.find((p) => (p == null ? void 0 : p.key) === (o == null ? void 0 : o.key)) ? c = c == null ? void 0 : c.map((p) => ((p == null ? void 0 : p.key) === (o == null ? void 0 : o.key) && (p.value = o.value), p)) : c.push(o), yl.setTableViewContents(c);
3557
+ c != null && c.find((p) => (p == null ? void 0 : p.key) === (o == null ? void 0 : o.key)) ? c = c == null ? void 0 : c.map((p) => ((p == null ? void 0 : p.key) === (o == null ? void 0 : o.key) && (p.value = o.value), p)) : c.push(o), hl.setTableViewContents(c);
3554
3558
  }
3555
3559
  on(s.itemData, s.allMapContents);
3556
3560
  },
@@ -3569,17 +3573,17 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3569
3573
  return (e = s == null ? void 0 : s.config) == null ? void 0 : e.viewport;
3570
3574
  }, (e) => {
3571
3575
  var l;
3572
- ke.value = e, (e == null ? void 0 : e.length) === 0 ? Zl.value = !1 : (e != null && e.includes("read") || (Zl.value = !0), e != null && e.includes("edit") || (Zl.value = !1)), fe.value = ((l = s == null ? void 0 : s.config) == null ? void 0 : l.showIndex) || Zl.value;
3576
+ ke.value = e, (e == null ? void 0 : e.length) === 0 ? Zl.value = !1 : (e != null && e.includes("read") || (Zl.value = !0), e != null && e.includes("edit") || (Zl.value = !1)), ie.value = ((l = s == null ? void 0 : s.config) == null ? void 0 : l.showIndex) || Zl.value;
3573
3577
  }, { immediate: !0 }), Fl(() => Zl.value, (e) => {
3574
3578
  var l;
3575
- e ? (xr("viewChange"), yl.setCacheUpdatingData(null)) : (Rl.value = Ml.value, B.value = fr.value, Na.value && (yl.setTableLoading(s == null ? void 0 : s.index), Le("change", Na.value))), Q.value = e, fe.value = e || ((l = s == null ? void 0 : s.config) == null ? void 0 : l.showIndex);
3579
+ e ? (xr("viewChange"), hl.setCacheUpdatingData(null)) : (Rl.value = Ml.value, B.value = fr.value, Na.value && (hl.setTableLoading(s == null ? void 0 : s.index), je("change", Na.value))), Q.value = e, ie.value = e || ((l = s == null ? void 0 : s.config) == null ? void 0 : l.showIndex);
3576
3580
  }, { immediate: !0 }), Fl(() => {
3577
3581
  var e;
3578
3582
  return (e = Fr.value) == null ? void 0 : e.length;
3579
3583
  }, (e) => {
3580
- e === 0 && (ie.currentPage = 1);
3584
+ e === 0 && (ce.currentPage = 1);
3581
3585
  }), Fl(() => s == null ? void 0 : s.compNames, (e) => {
3582
- vl.contents = [
3586
+ yl.contents = [
3583
3587
  {
3584
3588
  label: "列表名",
3585
3589
  prop: "groupName",
@@ -3594,7 +3598,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3594
3598
  }, { immediate: !0 }), G(!1);
3595
3599
  const no = (e, l) => {
3596
3600
  var a;
3597
- xr("createClick"), l === ie.pageSize && (ie.currentPage = Math.ceil(((a = I.value) == null ? void 0 : a.length) / ie.pageSize));
3601
+ xr("createClick"), l === ce.pageSize && (ce.currentPage = Math.ceil(((a = I.value) == null ? void 0 : a.length) / ce.pageSize));
3598
3602
  }, so = (e, l, a) => {
3599
3603
  var r;
3600
3604
  ln(a, e, l), $l.value = re(e), sa.value = e == null ? void 0 : e.id, Oa.value = (r = I.value) == null ? void 0 : r.length, zl.value = typeof (e == null ? void 0 : e.id) == "string" ? "新增" : "编辑", Ha(!1);
@@ -3645,14 +3649,14 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3645
3649
  })));
3646
3650
  }, { immediate: !0, deep: !0 }), (e, l) => {
3647
3651
  var Z, W, L, T;
3648
- const a = fl("svg-icon"), r = fl("el-popover"), n = fl("el-switch"), u = fl("el-checkbox"), c = fl("el-radio"), o = fl("el-radio-group"), p = fl("el-checkbox-group"), g = fl("el-button"), w = fl("LookComponent"), k = fl("el-icon"), D = fl("el-upload"), $ = fl("el-alert"), N = fl("el-table-column"), M = fl("el-input"), _ = fl("el-table"), K = vo("loading");
3652
+ const a = pl("svg-icon"), r = pl("el-popover"), n = pl("el-switch"), u = pl("el-checkbox"), c = pl("el-radio"), o = pl("el-radio-group"), p = pl("el-checkbox-group"), g = pl("el-button"), w = pl("LookComponent"), k = pl("el-icon"), D = pl("el-upload"), $ = pl("el-alert"), N = pl("el-table-column"), M = pl("el-input"), _ = pl("el-table"), K = vo("loading");
3649
3653
  return le(), Oe("div", qi, [
3650
3654
  Kr.value ? (le(), ll(Ko, {
3651
3655
  id: "excel-table",
3652
- pageObj: ie,
3653
- showIndex: fe.value,
3656
+ pageObj: ce,
3657
+ showIndex: ie.value,
3654
3658
  isTree: (Z = U.compItem) == null ? void 0 : Z.isTree,
3655
- summaryInfo: ce,
3659
+ summaryInfo: de,
3656
3660
  columns: B.value,
3657
3661
  defaultSort: ae,
3658
3662
  isCardViewport: ur.value,
@@ -3707,7 +3711,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3707
3711
  viewport: H(() => {
3708
3712
  var i, h, y, z;
3709
3713
  return [
3710
- ((i = I.value) == null ? void 0 : i.length) > 0 && U.allowOperate && We.value ? (le(), Oe("div", Xi, [
3714
+ ((i = I.value) == null ? void 0 : i.length) > 0 && U.allowOperate && He.value ? (le(), Oe("div", Xi, [
3711
3715
  (h = ke.value) != null && h.includes("read") && ((y = ke.value) != null && y.includes("edit")) && ((z = ia.value) != null && z.some((x) => (x == null ? void 0 : x.label) === "编辑")) && !ur.value && Hl(lr) !== Hl(Ze) ? (le(), Oe("span", {
3712
3716
  key: 0,
3713
3717
  title: "编辑表格",
@@ -3718,7 +3722,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3718
3722
  class: "view-icon"
3719
3723
  })
3720
3724
  ])) : Je("", !0),
3721
- pe("span", {
3725
+ fe("span", {
3722
3726
  title: "卡片视图",
3723
3727
  onClick: ro
3724
3728
  }, [
@@ -3731,7 +3735,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3731
3735
  ];
3732
3736
  }),
3733
3737
  rowCreate: H(({ row: i, index: h }) => [
3734
- pe("span", {
3738
+ fe("span", {
3735
3739
  title: "新增",
3736
3740
  class: "row-create-wrap",
3737
3741
  onClick: (y) => no(i, h)
@@ -3751,7 +3755,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3751
3755
  onShow: Is
3752
3756
  }, {
3753
3757
  reference: H(() => [
3754
- pe("span", Yi, [
3758
+ fe("span", Yi, [
3755
3759
  ee(a, {
3756
3760
  name: "operate",
3757
3761
  style: { width: "15px", height: "15px", cursor: "pointer" }
@@ -3759,16 +3763,16 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3759
3763
  ])
3760
3764
  ]),
3761
3765
  default: H(() => [
3762
- pe("div", Zi, [
3763
- l[14] || (l[14] = pe("div", { class: "group-title" }, "表格操作", -1)),
3766
+ fe("div", Zi, [
3767
+ l[14] || (l[14] = fe("div", { class: "group-title" }, "表格操作", -1)),
3764
3768
  ee(n, {
3765
- "model-value": Be.value,
3769
+ "model-value": xe.value,
3766
3770
  "active-text": "排序",
3767
3771
  "inactive-text": "",
3768
3772
  style: { "margin-right": "8px" },
3769
3773
  onChange: l[3] || (l[3] = (i) => hs(i, "sortable"))
3770
3774
  }, null, 8, ["model-value"]),
3771
- l[15] || (l[15] = pe("div", { class: "group-title" }, "表格列操作", -1)),
3775
+ l[15] || (l[15] = fe("div", { class: "group-title" }, "表格列操作", -1)),
3772
3776
  ee(p, {
3773
3777
  modelValue: S.value,
3774
3778
  "onUpdate:modelValue": l[4] || (l[4] = (i) => S.value = i),
@@ -3787,7 +3791,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3787
3791
  style: { width: "100%", marginRight: 0 }
3788
3792
  }, {
3789
3793
  default: H(() => [
3790
- pe("span", {
3794
+ fe("span", {
3791
3795
  title: i.label,
3792
3796
  style: { display: "inline-block", width: "250px", overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }
3793
3797
  }, nl(i.label), 9, Ii)
@@ -3810,15 +3814,15 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3810
3814
  default: H(() => {
3811
3815
  var h;
3812
3816
  return [
3813
- pe("div", Vi, [
3817
+ fe("div", Vi, [
3814
3818
  (le(!0), Oe(aa, null, ra((h = Object.keys(i)) == null ? void 0 : h.filter((y) => {
3815
3819
  var z;
3816
- return (z = De.value) == null ? void 0 : z.find((x) => (x == null ? void 0 : x.value) === y);
3820
+ return (z = ue.value) == null ? void 0 : z.find((x) => (x == null ? void 0 : x.value) === y);
3817
3821
  }), (y) => {
3818
3822
  var z, x;
3819
3823
  return le(), Oe("div", { key: y }, [
3820
- ue[y] == "radio" ? (le(), Oe("div", eu, [
3821
- l[13] || (l[13] = pe("div", null, "固定:", -1)),
3824
+ Ye[y] == "radio" ? (le(), Oe("div", eu, [
3825
+ l[13] || (l[13] = fe("div", null, "固定:", -1)),
3822
3826
  ee(o, {
3823
3827
  "model-value": i == null ? void 0 : i[y],
3824
3828
  onChange: (X) => Jr(X, y, i)
@@ -3826,7 +3830,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3826
3830
  default: H(() => {
3827
3831
  var X, d;
3828
3832
  return [
3829
- (le(!0), Oe(aa, null, ra((d = (X = De.value) == null ? void 0 : X.find((j) => (j == null ? void 0 : j.value) === y)) == null ? void 0 : d.options, (j) => (le(), ll(c, {
3833
+ (le(!0), Oe(aa, null, ra((d = (X = ue.value) == null ? void 0 : X.find((j) => (j == null ? void 0 : j.value) === y)) == null ? void 0 : d.options, (j) => (le(), ll(c, {
3830
3834
  key: j == null ? void 0 : j.value,
3831
3835
  label: j == null ? void 0 : j.value,
3832
3836
  value: j == null ? void 0 : j.value
@@ -3841,10 +3845,10 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3841
3845
  _: 2
3842
3846
  }, 1032, ["model-value", "onChange"])
3843
3847
  ])) : Je("", !0),
3844
- ue[y] == "switch" ? (le(), ll(n, {
3848
+ Ye[y] == "switch" ? (le(), ll(n, {
3845
3849
  key: 1,
3846
3850
  "model-value": i == null ? void 0 : i[y],
3847
- "active-text": (x = (z = De.value) == null ? void 0 : z.find((X) => (X == null ? void 0 : X.value) === y)) == null ? void 0 : x.label,
3851
+ "active-text": (x = (z = ue.value) == null ? void 0 : z.find((X) => (X == null ? void 0 : X.value) === y)) == null ? void 0 : x.label,
3848
3852
  onChange: (X) => Jr(X, y, i)
3849
3853
  }, null, 8, ["model-value", "active-text", "onChange"])) : Je("", !0)
3850
3854
  ]);
@@ -3854,7 +3858,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3854
3858
  }),
3855
3859
  _: 2
3856
3860
  }, 1024),
3857
- pe("span", lu, [
3861
+ fe("span", lu, [
3858
3862
  ee(a, {
3859
3863
  name: "drag",
3860
3864
  class: "col-drag-icon",
@@ -3871,7 +3875,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3871
3875
  })
3872
3876
  ]),
3873
3877
  content: H((i) => {
3874
- var h, y, z, x, X, d, j, ge, J, O, R, te, de, se, Ce, $e, Y, ye, qe, be;
3878
+ var h, y, z, x, X, d, j, ge, J, O, R, pe, te, oe, Ce, Ne, Y, ve, We, be;
3875
3879
  return [
3876
3880
  ((h = i == null ? void 0 : i.column) == null ? void 0 : h.label) === "OCR图片" || ((y = i == null ? void 0 : i.column) == null ? void 0 : y.prop) === "OCR图片" ? (le(), Oe("div", au, [
3877
3881
  ee(a, {
@@ -3894,19 +3898,19 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3894
3898
  width: "auto"
3895
3899
  }, {
3896
3900
  reference: H(() => [
3897
- pe("span", ru, nl(Nl(i)), 1)
3901
+ fe("span", ru, nl(Nl(i)), 1)
3898
3902
  ]),
3899
3903
  default: H(() => {
3900
- var Se, je;
3904
+ var Se, Pe;
3901
3905
  return [
3902
- pe("div", nu, [
3903
- (le(!0), Oe(aa, null, ra((je = i == null ? void 0 : i.row) == null ? void 0 : je[(Se = i == null ? void 0 : i.column) == null ? void 0 : Se.prop], (rl) => (le(), Oe("div", su, [
3904
- pe("div", {
3906
+ fe("div", nu, [
3907
+ (le(!0), Oe(aa, null, ra((Pe = i == null ? void 0 : i.row) == null ? void 0 : Pe[(Se = i == null ? void 0 : i.column) == null ? void 0 : Se.prop], (rl) => (le(), Oe("div", su, [
3908
+ fe("div", {
3905
3909
  class: "prop-url",
3906
3910
  title: Wa(rl),
3907
3911
  onClick: (E) => Gr(rl)
3908
3912
  }, nl(Wa(rl)), 9, ou),
3909
- pe("div", {
3913
+ fe("div", {
3910
3914
  class: "prop-download",
3911
3915
  onClick: (E) => gs(rl)
3912
3916
  }, " 下载 ", 8, iu)
@@ -3919,8 +3923,8 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3919
3923
  key: 2,
3920
3924
  style: ba({
3921
3925
  color: !Array.isArray(Nl(i)) && ((x = (z = Nl(i)) == null ? void 0 : z.toString()) != null && x.includes(".txt") || (d = (X = Nl(i)) == null ? void 0 : X.toString()) != null && d.includes(".cpt") || (ge = (j = Nl(i)) == null ? void 0 : j.toString()) != null && ge.includes(".cyd")) ? "var(--vertical-menuitem-active-bg)" : "",
3922
- textDecoration: !Array.isArray(Nl(i)) && ((O = (J = Nl(i)) == null ? void 0 : J.toString()) != null && O.includes(".txt") || (te = (R = Nl(i)) == null ? void 0 : R.toString()) != null && te.includes(".cpt") || (se = (de = Nl(i)) == null ? void 0 : de.toString()) != null && se.includes(".cyd")) ? "underline" : "",
3923
- cursor: !Array.isArray(Nl(i)) && (($e = (Ce = Nl(i)) == null ? void 0 : Ce.toString()) != null && $e.includes(".txt") || (ye = (Y = Nl(i)) == null ? void 0 : Y.toString()) != null && ye.includes(".cpt") || (be = (qe = Nl(i)) == null ? void 0 : qe.toString()) != null && be.includes(".cyd")) ? "pointer" : "",
3926
+ textDecoration: !Array.isArray(Nl(i)) && ((O = (J = Nl(i)) == null ? void 0 : J.toString()) != null && O.includes(".txt") || (pe = (R = Nl(i)) == null ? void 0 : R.toString()) != null && pe.includes(".cpt") || (oe = (te = Nl(i)) == null ? void 0 : te.toString()) != null && oe.includes(".cyd")) ? "underline" : "",
3927
+ cursor: !Array.isArray(Nl(i)) && ((Ne = (Ce = Nl(i)) == null ? void 0 : Ce.toString()) != null && Ne.includes(".txt") || (ve = (Y = Nl(i)) == null ? void 0 : Y.toString()) != null && ve.includes(".cpt") || (be = (We = Nl(i)) == null ? void 0 : We.toString()) != null && be.includes(".cyd")) ? "pointer" : "",
3924
3928
  marginLeft: (i == null ? void 0 : i.colIndex) === 0 ? `${((i == null ? void 0 : i.level) ?? 0) * 20}px` : 0
3925
3929
  }),
3926
3930
  onClick: (Se) => ls(Nl(i))
@@ -3946,13 +3950,13 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3946
3950
  })
3947
3951
  ]),
3948
3952
  default: H(() => [
3949
- pe("div", Gi, [
3953
+ fe("div", Gi, [
3950
3954
  (le(!0), Oe(aa, null, ra(bs(ia.value, i), (y, z) => (le(), Oe("div", {
3951
3955
  class: "menu-config-item",
3952
3956
  key: z,
3953
3957
  onClick: tr((x) => dr(y == null ? void 0 : y.label, i, { extra: y, index: h }), ["stop"])
3954
3958
  }, [
3955
- pe("div", {
3959
+ fe("div", {
3956
3960
  style: ba({ color: y == null ? void 0 : y.textColor }),
3957
3961
  class: "extra-button-label"
3958
3962
  }, nl(y == null ? void 0 : y.label), 5)
@@ -3975,7 +3979,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3975
3979
  }, null, 8, ["lockingPage", "buttons", "selectTableItems"]), [
3976
3980
  [Sn, Q.value]
3977
3981
  ]),
3978
- wr(pe("div", null, null, 512), [
3982
+ wr(fe("div", null, null, 512), [
3979
3983
  [Sn, !Q.value]
3980
3984
  ])
3981
3985
  ]),
@@ -3990,9 +3994,9 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
3990
3994
  style: { height: "74%" }
3991
3995
  }, {
3992
3996
  default: H(() => [
3993
- pe("div", cu, [
3997
+ fe("div", cu, [
3994
3998
  ee($a, {
3995
- rowContents: we.value,
3999
+ rowContents: Ue.value,
3996
4000
  isEnableWrap: !1,
3997
4001
  showOperator: !1,
3998
4002
  onChange: Vs,
@@ -4042,7 +4046,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
4042
4046
  ee(bi)
4043
4047
  ]),
4044
4048
  footer: H(() => [
4045
- pe("div", tu, [
4049
+ fe("div", tu, [
4046
4050
  ee(g, {
4047
4051
  onClick: l[7] || (l[7] = (i) => rr.value = !1),
4048
4052
  class: "cancel-button",
@@ -4074,9 +4078,9 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
4074
4078
  fileDataList: Ca.value,
4075
4079
  onDestroy: As
4076
4080
  }, null, 8, ["fileDataList"])) : Je("", !0),
4077
- il.value ? (le(), ll(ga, {
4081
+ ol.value ? (le(), ll(ga, {
4078
4082
  key: 2,
4079
- visible: il.value,
4083
+ visible: ol.value,
4080
4084
  onBeforeDestroy: Ys,
4081
4085
  style: { height: "80vh", width: "80vw" },
4082
4086
  "body-class": "three-dialog-body",
@@ -4085,7 +4089,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
4085
4089
  default: H(() => [
4086
4090
  ee(Jo, {
4087
4091
  files: Ra.value,
4088
- threeData: Ue.value
4092
+ threeData: Ee.value
4089
4093
  }, null, 8, ["files", "threeData"])
4090
4094
  ]),
4091
4095
  _: 1
@@ -4122,7 +4126,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
4122
4126
  class: "upload-content"
4123
4127
  }, {
4124
4128
  tip: H(() => l[20] || (l[20] = [
4125
- pe("div", { class: "el-upload__tip tip-content" }, " 请上传图片或PDF文件,大小不超过10MB ", -1)
4129
+ fe("div", { class: "el-upload__tip tip-content" }, " 请上传图片或PDF文件,大小不超过10MB ", -1)
4126
4130
  ])),
4127
4131
  default: H(() => [
4128
4132
  ee(k, { class: "el-icon--upload" }, {
@@ -4131,19 +4135,19 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
4131
4135
  ]),
4132
4136
  _: 1
4133
4137
  }),
4134
- l[21] || (l[21] = pe("div", { class: "el-upload__text" }, [
4138
+ l[21] || (l[21] = fe("div", { class: "el-upload__text" }, [
4135
4139
  sl(" 将图片拖到此处或"),
4136
- pe("em", null, "点击上传")
4140
+ fe("em", null, "点击上传")
4137
4141
  ], -1))
4138
4142
  ]),
4139
4143
  file: H(({ file: i, index: h }) => [
4140
- pe("div", fu, [
4141
- pe("div", {
4144
+ fe("div", fu, [
4145
+ fe("div", {
4142
4146
  class: "upload-content-title",
4143
4147
  style: { flex: "1", overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" },
4144
4148
  title: i == null ? void 0 : i.name
4145
4149
  }, nl(i == null ? void 0 : i.name), 9, hu),
4146
- pe("div", yu, [
4150
+ fe("div", yu, [
4147
4151
  ee(a, {
4148
4152
  class: "icon-blue",
4149
4153
  name: "EyeFill",
@@ -4168,7 +4172,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
4168
4172
  ])
4169
4173
  ]),
4170
4174
  footer: H(() => [
4171
- pe("div", vu, [
4175
+ fe("div", vu, [
4172
4176
  ee(g, {
4173
4177
  onClick: Es,
4174
4178
  id: "themeBorderButton",
@@ -4225,8 +4229,8 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
4225
4229
  style: { maxWidth: "1200px" }
4226
4230
  }, {
4227
4231
  default: H(() => [
4228
- pe("div", gu, [
4229
- pe("div", bu, [
4232
+ fe("div", gu, [
4233
+ fe("div", bu, [
4230
4234
  ee($, {
4231
4235
  title: "请核对识别结果,您可以修改字段值后点击确认添加到表格。在表头勾选字段用于匹配并替换现有数据",
4232
4236
  type: "info",
@@ -4234,7 +4238,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
4234
4238
  "show-icon": ""
4235
4239
  })
4236
4240
  ]),
4237
- pe("div", ku, [
4241
+ fe("div", ku, [
4238
4242
  ee(_, {
4239
4243
  data: xa.value,
4240
4244
  border: "",
@@ -4256,7 +4260,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
4256
4260
  "class-name": i.isAccuracy ? "accuracy-column" : ""
4257
4261
  }, {
4258
4262
  header: H(() => [
4259
- pe("div", Su, [
4263
+ fe("div", Su, [
4260
4264
  i.isAccuracy ? Je("", !0) : (le(), ll(u, {
4261
4265
  key: 0,
4262
4266
  "model-value": pa.value.includes(i.prop),
@@ -4264,7 +4268,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
4264
4268
  onClick: l[12] || (l[12] = tr(() => {
4265
4269
  }, ["stop"]))
4266
4270
  }, null, 8, ["model-value", "onChange"])),
4267
- pe("span", null, nl(i.label), 1)
4271
+ fe("span", null, nl(i.label), 1)
4268
4272
  ])
4269
4273
  ]),
4270
4274
  default: H(({ row: h, $index: y }) => [
@@ -4293,7 +4297,7 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
4293
4297
  ])
4294
4298
  ]),
4295
4299
  footer: H(() => [
4296
- pe("div", mu, [
4300
+ fe("div", mu, [
4297
4301
  ee(g, {
4298
4302
  onClick: Cr,
4299
4303
  id: "themeBorderButton"
@@ -4320,18 +4324,18 @@ const Ci = { style: { display: "flex", gap: "16px", height: "100%" } }, Ti = {
4320
4324
  _: 1
4321
4325
  }, 8, ["visible"]),
4322
4326
  ee(ga, {
4323
- title: vl.title,
4324
- visible: vl.show,
4325
- width: vl.width,
4327
+ title: yl.title,
4328
+ visible: yl.show,
4329
+ width: yl.width,
4326
4330
  onBeforeDestroy: js
4327
4331
  }, {
4328
4332
  default: H(() => [
4329
- pe("div", _u, [
4333
+ fe("div", _u, [
4330
4334
  ee($a, {
4331
- rowContents: vl == null ? void 0 : vl.contents,
4332
- formRules: vl == null ? void 0 : vl.formRules,
4335
+ rowContents: yl == null ? void 0 : yl.contents,
4336
+ formRules: yl == null ? void 0 : yl.formRules,
4333
4337
  showOperator: !1,
4334
- buttonValue: vl.buttonValue,
4338
+ buttonValue: yl.buttonValue,
4335
4339
  isEdit: ar.value,
4336
4340
  isStartJustify: !1,
4337
4341
  isEnableWrap: !1,