ss-component-new 1.1.397 → 1.1.399

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 (85) hide show
  1. package/dist/{array-BMm2xbyh.js → array-C13q96fE.js} +2 -2
  2. package/dist/{array-DrchcVuo.cjs → array-yUwu98Ew.cjs} +1 -1
  3. package/dist/{index-ASm-tiLF.js → index-1m_cCg1n.js} +4 -4
  4. package/dist/{index-DUcpVC5C.js → index-7DuCpZgO.js} +4 -4
  5. package/dist/{index-CM1PfZ-y.js → index-9fTG91n7.js} +5 -5
  6. package/dist/{index-Dgk3r8_M.cjs → index-B2Psq7GY.cjs} +1 -1
  7. package/dist/{index-DuC_dofe.js → index-B5PjLYuq.js} +4 -4
  8. package/dist/{index-BusYSZDz.cjs → index-B6HIXhXu.cjs} +1 -1
  9. package/dist/{index-DP9-VsqS.js → index-B9JjbBr8.js} +389 -369
  10. package/dist/{index-CI1TvyGc.js → index-BC0A2eZS.js} +4 -4
  11. package/dist/{index-vorF-H1l.cjs → index-BF9CurcP.cjs} +1 -1
  12. package/dist/{index-BLq1jCgy.cjs → index-BGA3fSJf.cjs} +1 -1
  13. package/dist/{index-7UFQD8dI.cjs → index-BLrUy9Y9.cjs} +1 -1
  14. package/dist/{index-CWxAe8Hn.js → index-BTHb1-3F.js} +15 -15
  15. package/dist/{index-CkuA9YtT.cjs → index-BYIldZcn.cjs} +1 -1
  16. package/dist/{index-Dn-0fR75.cjs → index-BhzyywcV.cjs} +1 -1
  17. package/dist/{index-DQ3sNMML.js → index-BkrWkFgv.js} +6 -6
  18. package/dist/{index-DxkIkZjg.js → index-BmgTgl2A.js} +1 -1
  19. package/dist/{index-Bhci20la.js → index-Br5tBQBt.js} +4 -4
  20. package/dist/{index-0xeOQNqr.cjs → index-Byrl49Xv.cjs} +1 -1
  21. package/dist/{index-HT7hXa5c.js → index-C-RC6WZI.js} +7 -7
  22. package/dist/{index-Byf9n_kH.js → index-C9P9BDDt.js} +7 -7
  23. package/dist/{index-CyxJ_jHM.cjs → index-CA2meevw.cjs} +1 -1
  24. package/dist/{index-ecJYDIw4.js → index-CEEeGJkE.js} +9 -9
  25. package/dist/{index-D7gBl7Bx.js → index-CFhN9rmM.js} +5 -5
  26. package/dist/index-CN9Qxc0u.cjs +1 -0
  27. package/dist/{index-DcuoGUjl.cjs → index-CSYkMDUZ.cjs} +1 -1
  28. package/dist/{index-Ds8QFoQ-.cjs → index-CTuAUOS6.cjs} +1 -1
  29. package/dist/{index-CusCByer.js → index-CYTb3eSv.js} +2 -2
  30. package/dist/{index-Bxi55yPn.js → index-C_6v1ec6.js} +5 -5
  31. package/dist/{index-BR_5J-Rp.cjs → index-C_eTh7Dl.cjs} +1 -1
  32. package/dist/{index-BU_03B7p.js → index-CbwEkiyE.js} +9 -9
  33. package/dist/{index-BJjUEAip.cjs → index-CcMgPg94.cjs} +1 -1
  34. package/dist/{index-CcUmQ8j2.cjs → index-Ce2OjCiE.cjs} +1 -1
  35. package/dist/{index-D3-VeVtm.js → index-Cfvhhp0q.js} +6 -6
  36. package/dist/{index-CvKVVUbj.cjs → index-Cq-kwfVp.cjs} +1 -1
  37. package/dist/{index-CeZMiwjT.cjs → index-CzbpvSX_.cjs} +1 -1
  38. package/dist/{index-BY1X4-T5.cjs → index-CzioFuHh.cjs} +1 -1
  39. package/dist/{index-BqArjijs.cjs → index-D61KfeKz.cjs} +1 -1
  40. package/dist/{index-DYvfFqEa.js → index-DCwcFrMf.js} +3 -3
  41. package/dist/{index-rIMXQ6PY.js → index-DCxqdvr1.js} +1 -1
  42. package/dist/{index-Wb412Wki.cjs → index-DIC7X3s7.cjs} +1 -1
  43. package/dist/{index-BVQIDysd.js → index-DIKP_4Y_.js} +3 -3
  44. package/dist/index-DIiDbkV0.cjs +1 -0
  45. package/dist/index-DOz8nljc.js +677 -0
  46. package/dist/{index-XV4q28ju.js → index-DS_xCzZL.js} +3 -3
  47. package/dist/{index-Y7giQ1a4.cjs → index-D_c3eoZt.cjs} +1 -1
  48. package/dist/{index-DLBak3Lt.js → index-DitTxyfw.js} +4 -4
  49. package/dist/{index-CKfWuKQ-.cjs → index-DnEFGy-q.cjs} +1 -1
  50. package/dist/{index-BPnzUJyM.js → index-DzOHIQjE.js} +1 -1
  51. package/dist/{index-gyJJ1_Vo.cjs → index-IoLHLSAE.cjs} +1 -1
  52. package/dist/{index-CydzKd1p.js → index-d1c914sZ.js} +1 -1
  53. package/dist/{index-5rgfBNRZ.cjs → index-duFmkYOj.cjs} +1 -1
  54. package/dist/{index-B4MrDBQI.cjs → index-mtjnM56c.cjs} +1 -1
  55. package/dist/{index.vue_vue_type_script_setup_true_lang-D67sZOgP.cjs → index.vue_vue_type_script_setup_true_lang-2rkAK2HN.cjs} +1 -1
  56. package/dist/{index.vue_vue_type_script_setup_true_lang-T1imEghJ.js → index.vue_vue_type_script_setup_true_lang-vyEszWh6.js} +3 -3
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Csbqxggh.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D6wk-sER.cjs} +1 -1
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D2ENkR1G.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-uwJUQkzo.js} +2 -2
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_306ecd73_lang-Dk0_HFXf.js → index.vue_vue_type_style_index_0_scoped_306ecd73_lang-BSVkJKH2.js} +85 -89
  60. package/dist/index.vue_vue_type_style_index_0_scoped_306ecd73_lang-pvL13tVI.cjs +1 -0
  61. package/dist/index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-BUcNCIc3.js +3902 -0
  62. package/dist/index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-DD9Xxbqt.cjs +12 -0
  63. package/dist/{login-CII9CG-J.cjs → login-BgYT2uER.cjs} +1 -1
  64. package/dist/{login-DdNgIg3X.js → login-OYT0u6ct.js} +1 -1
  65. package/dist/{main-BOfMXV-3.js → main-BH-RJOOY.js} +6 -6
  66. package/dist/{main-B1ZWk63R.cjs → main-D8NPuV2X.cjs} +1 -1
  67. package/dist/{menu-Dl_Xtx7n.js → menu-B93W3Rb7.js} +10 -2
  68. package/dist/{menu-DlNtyfT6.cjs → menu-B_3Bn00z.cjs} +2 -2
  69. package/dist/ss-component.cjs +1 -1
  70. package/dist/ss-component.css +1 -1
  71. package/dist/ss-component.js +10 -10
  72. package/dist/ss-component3.cjs +1 -1
  73. package/dist/ss-component3.js +1 -1
  74. package/dist/{threeModel-Cc5t11yb.js → threeModel-C5C6FKp8.js} +506 -609
  75. package/dist/threeModel-CMYxYprc.cjs +1 -0
  76. package/dist/{threeModel.vue_vue_type_style_index_0_scoped_55d9773d_lang-DMIfmZ8j.cjs → threeModel.vue_vue_type_style_index_0_scoped_4918e0ca_lang-D26BaqSV.cjs} +1 -1
  77. package/dist/{threeModel.vue_vue_type_style_index_0_scoped_55d9773d_lang-OVa4vxrk.js → threeModel.vue_vue_type_style_index_0_scoped_4918e0ca_lang-Dxvs1Tw0.js} +2 -2
  78. package/package.json +1 -1
  79. package/dist/index-BzWrFscu.cjs +0 -1
  80. package/dist/index-DE3aicnZ.js +0 -613
  81. package/dist/index-QK5rLXVe.cjs +0 -1
  82. package/dist/index.vue_vue_type_style_index_0_scoped_306ecd73_lang-CG-9MeCv.cjs +0 -1
  83. package/dist/index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-CafwctIq.js +0 -3914
  84. package/dist/index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-CpPem8Cc.cjs +0 -12
  85. package/dist/threeModel-Bf7f4982.cjs +0 -1
@@ -1,9 +1,9 @@
1
- import { ref as L, watch as Ne, nextTick as rl, resolveComponent as na, createBlock as ra, openBlock as pe, withCtx as ie, createElementVNode as ce, renderSlot as Sa, onMounted as ia, createElementBlock as ke, normalizeClass as il, toDisplayString as Pe, createCommentVNode as Ga, Fragment as Wa, renderList as Qa, normalizeStyle as Xa, createVNode as ue, unref as sl, defineComponent as tl, createSlots as ol, createTextVNode as Je } from "vue";
2
- import { f as sa, g as ee, d as Be, h as ul, i as qe, c as aa, s as Me, u as Ya, p as Ve, e as fl } from "./menu-Dl_Xtx7n.js";
3
- import { u as cl } from "./threeModel.vue_vue_type_style_index_0_scoped_55d9773d_lang-OVa4vxrk.js";
4
- import { a3 as yl, S as Ea, a4 as pl, m as Pa, a5 as Fa, a6 as dl } from "./index-ecJYDIw4.js";
5
- import { b as Ge, f as gl, s as Na } from "./index-ASm-tiLF.js";
6
- import { U as Ba, o as Ra, p as ja, q as $a, S as ze, r as hl, b as We, c as d, t as xa, u as bl, v as ml, w as Al, x as vl } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D2ENkR1G.js";
1
+ import { ref as U, watch as Ne, nextTick as rl, resolveComponent as na, createBlock as ra, openBlock as pe, withCtx as ie, createElementVNode as ce, renderSlot as Sa, onMounted as ia, createElementBlock as ke, normalizeClass as il, toDisplayString as Pe, createCommentVNode as Ga, Fragment as Wa, renderList as Qa, normalizeStyle as Xa, createVNode as ue, unref as sl, defineComponent as tl, createSlots as ol, createTextVNode as Je } from "vue";
2
+ import { f as sa, g as I, d as Be, h as ul, i as qe, c as aa, s as Me, u as Ya, p as Ve, e as fl } from "./menu-B93W3Rb7.js";
3
+ import { u as cl } from "./threeModel.vue_vue_type_style_index_0_scoped_4918e0ca_lang-Dxvs1Tw0.js";
4
+ import { a3 as yl, S as Ea, a4 as pl, m as Pa, a5 as Fa, a6 as dl } from "./index-CEEeGJkE.js";
5
+ import { b as Ge, f as gl, s as Na } from "./index-1m_cCg1n.js";
6
+ import { U as Ba, o as Ra, p as ja, q as $a, S as ze, r as hl, b as We, c as g, t as xa, u as bl, v as ml, w as Al, x as vl } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-uwJUQkzo.js";
7
7
  import { _ as ta } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  var kl = "__lodash_hash_undefined__";
9
9
  function Tl(a) {
@@ -36,26 +36,26 @@ function Za(a, l, r, e, n, i) {
36
36
  var o = i.get(a), t = i.get(l);
37
37
  if (o && t)
38
38
  return o == l && t == a;
39
- var g = -1, y = !0, v = r & Kl ? new Qe() : void 0;
40
- for (i.set(a, l), i.set(l, a); ++g < c; ) {
41
- var D = a[g], w = l[g];
39
+ var p = -1, y = !0, k = r & Kl ? new Qe() : void 0;
40
+ for (i.set(a, l), i.set(l, a); ++p < c; ) {
41
+ var D = a[p], _ = l[p];
42
42
  if (e)
43
- var m = s ? e(w, D, g, l, a, i) : e(D, w, g, a, l, i);
43
+ var m = s ? e(_, D, p, l, a, i) : e(D, _, p, a, l, i);
44
44
  if (m !== void 0) {
45
45
  if (m)
46
46
  continue;
47
47
  y = !1;
48
48
  break;
49
49
  }
50
- if (v) {
51
- if (!_l(l, function(R, k) {
52
- if (!wl(v, k) && (D === R || n(D, R, r, e, i)))
53
- return v.push(k);
50
+ if (k) {
51
+ if (!_l(l, function(j, B) {
52
+ if (!wl(k, B) && (D === j || n(D, j, r, e, i)))
53
+ return k.push(B);
54
54
  })) {
55
55
  y = !1;
56
56
  break;
57
57
  }
58
- } else if (!(D === w || n(D, w, r, e, i))) {
58
+ } else if (!(D === _ || n(D, _, r, e, i))) {
59
59
  y = !1;
60
60
  break;
61
61
  }
@@ -115,38 +115,38 @@ function Wl(a, l, r, e, n, i) {
115
115
  var s = r & Ul, c = Ra(a), f = c.length, o = Ra(l), t = o.length;
116
116
  if (f != t && !s)
117
117
  return !1;
118
- for (var g = f; g--; ) {
119
- var y = c[g];
118
+ for (var p = f; p--; ) {
119
+ var y = c[p];
120
120
  if (!(s ? y in l : Gl.call(l, y)))
121
121
  return !1;
122
122
  }
123
- var v = i.get(a), D = i.get(l);
124
- if (v && D)
125
- return v == l && D == a;
126
- var w = !0;
123
+ var k = i.get(a), D = i.get(l);
124
+ if (k && D)
125
+ return k == l && D == a;
126
+ var _ = !0;
127
127
  i.set(a, l), i.set(l, a);
128
- for (var m = s; ++g < f; ) {
129
- y = c[g];
130
- var R = a[y], k = l[y];
128
+ for (var m = s; ++p < f; ) {
129
+ y = c[p];
130
+ var j = a[y], B = l[y];
131
131
  if (e)
132
- var C = s ? e(k, R, y, l, a, i) : e(R, k, y, a, l, i);
133
- if (!(C === void 0 ? R === k || n(R, k, r, e, i) : C)) {
134
- w = !1;
132
+ var S = s ? e(B, j, y, l, a, i) : e(j, B, y, a, l, i);
133
+ if (!(S === void 0 ? j === B || n(j, B, r, e, i) : S)) {
134
+ _ = !1;
135
135
  break;
136
136
  }
137
137
  m || (m = y == "constructor");
138
138
  }
139
- if (w && !m) {
140
- var j = a.constructor, K = l.constructor;
141
- j != K && "constructor" in a && "constructor" in l && !(typeof j == "function" && j instanceof j && typeof K == "function" && K instanceof K) && (w = !1);
139
+ if (_ && !m) {
140
+ var M = a.constructor, T = l.constructor;
141
+ M != T && "constructor" in a && "constructor" in l && !(typeof M == "function" && M instanceof M && typeof T == "function" && T instanceof T) && (_ = !1);
142
142
  }
143
- return i.delete(a), i.delete(l), w;
143
+ return i.delete(a), i.delete(l), _;
144
144
  }
145
145
  var Ql = 1, Va = "[object Arguments]", La = "[object Array]", He = "[object Object]", Xl = Object.prototype, Ja = Xl.hasOwnProperty;
146
146
  function Yl(a, l, r, e, n, i) {
147
147
  var s = Pa(a), c = Pa(l), f = s ? La : ja(a), o = c ? La : ja(l);
148
148
  f = f == Va ? He : f, o = o == Va ? He : o;
149
- var t = f == He, g = o == He, y = f == o;
149
+ var t = f == He, p = o == He, y = f == o;
150
150
  if (y && $a(a)) {
151
151
  if (!$a(l))
152
152
  return !1;
@@ -155,10 +155,10 @@ function Yl(a, l, r, e, n, i) {
155
155
  if (y && !t)
156
156
  return i || (i = new ze()), s || hl(a) ? Za(a, l, r, e, n, i) : Hl(a, l, f, r, e, n, i);
157
157
  if (!(r & Ql)) {
158
- var v = t && Ja.call(a, "__wrapped__"), D = g && Ja.call(l, "__wrapped__");
159
- if (v || D) {
160
- var w = v ? a.value() : a, m = D ? l.value() : l;
161
- return i || (i = new ze()), n(w, m, r, e, i);
158
+ var k = t && Ja.call(a, "__wrapped__"), D = p && Ja.call(l, "__wrapped__");
159
+ if (k || D) {
160
+ var _ = k ? a.value() : a, m = D ? l.value() : l;
161
+ return i || (i = new ze()), n(_, m, r, e, i);
162
162
  }
163
163
  }
164
164
  return y ? (i || (i = new ze()), Wl(a, l, r, e, n, i)) : !1;
@@ -186,7 +186,7 @@ const zl = {
186
186
  }
187
187
  },
188
188
  setup(a) {
189
- const l = a, r = L(null), e = L(!1), n = L(null);
189
+ const l = a, r = U(null), e = U(!1), n = U(null);
190
190
  return Ne(
191
191
  () => l == null ? void 0 : l.isVisible,
192
192
  () => {
@@ -251,15 +251,15 @@ const zl = {
251
251
  },
252
252
  emits: ["buttonClick", "filter"],
253
253
  setup(a, { emit: l }) {
254
- const r = l, e = a, n = L(!1), i = L([]), s = L([{ label: "取消" }, { label: "确认" }]), c = (t) => {
254
+ const r = l, e = a, n = U(!1), i = U([]), s = U([{ label: "取消" }, { label: "确认" }]), c = (t) => {
255
255
  r("buttonClick", t);
256
256
  }, f = (t) => {
257
- var g, y;
258
- i.value = (y = (g = We(d(t))) == null ? void 0 : g.filter((v) => (v == null ? void 0 : v.label) !== "" && (v == null ? void 0 : v.label) !== "操作")) == null ? void 0 : y.map((v) => ({
259
- label: (v == null ? void 0 : v.label) ?? "",
257
+ var p, y;
258
+ i.value = (y = (p = We(g(t))) == null ? void 0 : p.filter((k) => (k == null ? void 0 : k.label) !== "" && (k == null ? void 0 : k.label) !== "操作")) == null ? void 0 : y.map((k) => ({
259
+ label: (k == null ? void 0 : k.label) ?? "",
260
260
  value: "",
261
- name: (v == null ? void 0 : v.label) ?? "",
262
- isFormColHidden: v == null ? void 0 : v.isTableColHidden
261
+ name: (k == null ? void 0 : k.label) ?? "",
262
+ isFormColHidden: k == null ? void 0 : k.isTableColHidden
263
263
  }));
264
264
  }, o = (t) => {
265
265
  (t == null ? void 0 : t.buttonName) === "确认" && r("filter", t == null ? void 0 : t.content), n.value = !1;
@@ -272,18 +272,18 @@ const zl = {
272
272
  f(e.columns);
273
273
  },
274
274
  { deep: !0, immediate: !0 }
275
- ), (t, g) => {
276
- var v;
275
+ ), (t, p) => {
276
+ var k;
277
277
  const y = na("el-tooltip");
278
278
  return pe(), ke("div", Il, [
279
279
  ce("div", {
280
280
  class: il(a.compName ? "table-name-wrap" : "")
281
281
  }, Pe(a.compName), 3),
282
282
  ce("div", en, [
283
- e != null && e.buttons && ((v = e == null ? void 0 : e.buttons) == null ? void 0 : v.length) > 0 ? (pe(), ke("div", an, [
284
- (pe(!0), ke(Wa, null, Qa(e == null ? void 0 : e.buttons, (D, w) => (pe(), ke("div", {
283
+ e != null && e.buttons && ((k = e == null ? void 0 : e.buttons) == null ? void 0 : k.length) > 0 ? (pe(), ke("div", an, [
284
+ (pe(!0), ke(Wa, null, Qa(e == null ? void 0 : e.buttons, (D, _) => (pe(), ke("div", {
285
285
  class: "extra-contents",
286
- key: w
286
+ key: _
287
287
  }, [
288
288
  ce("div", {
289
289
  class: "extra-content",
@@ -306,7 +306,7 @@ const zl = {
306
306
  default: ie(() => [
307
307
  ce("div", {
308
308
  class: "button-style",
309
- onClick: g[0] || (g[0] = (D) => n.value = !n.value)
309
+ onClick: p[0] || (p[0] = (D) => n.value = !n.value)
310
310
  }, [
311
311
  ue(sl(dl), { color: "var(--ssComponent-black)" })
312
312
  ])
@@ -351,7 +351,7 @@ const zl = {
351
351
  }), un = { class: "calculator-content" }, fn = { class: "calculator-child" }, cn = { class: "calculator-child" }, yn = /* @__PURE__ */ tl({
352
352
  __name: "calculator",
353
353
  setup(a) {
354
- const l = L(), r = L();
354
+ const l = U(), r = U();
355
355
  return ia(() => {
356
356
  l.value = [
357
357
  {
@@ -456,15 +456,15 @@ const zl = {
456
456
  return e;
457
457
  {
458
458
  let t = [];
459
- if (t.push(e == null ? void 0 : e.find((g) => g == null ? void 0 : g.id)), Array.isArray(l == null ? void 0 : l[0])) {
460
- const g = (s = e == null ? void 0 : e.filter((y) => !(y != null && y.id))) == null ? void 0 : s[0];
461
- (c = We(d(l == null ? void 0 : l[0]))) == null || c.forEach((y) => {
462
- t.push(g == null ? void 0 : g[(y == null ? void 0 : y.prop) ?? (y == null ? void 0 : y.label) ?? y]);
459
+ if (t.push(e == null ? void 0 : e.find((p) => p == null ? void 0 : p.id)), Array.isArray(l == null ? void 0 : l[0])) {
460
+ const p = (s = e == null ? void 0 : e.filter((y) => !(y != null && y.id))) == null ? void 0 : s[0];
461
+ (c = We(g(l == null ? void 0 : l[0]))) == null || c.forEach((y) => {
462
+ t.push(p == null ? void 0 : p[(y == null ? void 0 : y.prop) ?? (y == null ? void 0 : y.label) ?? y]);
463
463
  });
464
464
  } else {
465
- const g = (f = e == null ? void 0 : e.filter((y) => !(y != null && y.id))) == null ? void 0 : f[0];
466
- (o = We(d(l))) == null || o.forEach((y) => {
467
- t.push(g == null ? void 0 : g[(y == null ? void 0 : y.prop) ?? (y == null ? void 0 : y.label) ?? y]);
465
+ const p = (f = e == null ? void 0 : e.filter((y) => !(y != null && y.id))) == null ? void 0 : f[0];
466
+ (o = We(g(l))) == null || o.forEach((y) => {
467
+ t.push(p == null ? void 0 : p[(y == null ? void 0 : y.prop) ?? (y == null ? void 0 : y.label) ?? y]);
468
468
  });
469
469
  }
470
470
  return t;
@@ -492,7 +492,7 @@ const zl = {
492
492
  return r(a), l;
493
493
  }, An = (a, l, r) => {
494
494
  var n;
495
- let e = (n = d(a)) == null ? void 0 : n.map((i) => (i = i.filter((s) => !(s != null && s.id)), i));
495
+ let e = (n = g(a)) == null ? void 0 : n.map((i) => (i = i.filter((s) => !(s != null && s.id)), i));
496
496
  return e = e == null ? void 0 : e.map((i) => {
497
497
  var s;
498
498
  return i = (s = i.map((c, f) => {
@@ -503,7 +503,7 @@ const zl = {
503
503
  }), e;
504
504
  }, Xn = (a, l) => {
505
505
  var s, c;
506
- const r = d(a), e = (s = r == null ? void 0 : r.find((f) => (f == null ? void 0 : f.key) === "header")) == null ? void 0 : s.contents, n = (c = r == null ? void 0 : r.find((f) => (f == null ? void 0 : f.key) === "tableContents")) == null ? void 0 : c.contents;
506
+ const r = g(a), e = (s = r == null ? void 0 : r.find((f) => (f == null ? void 0 : f.key) === "header")) == null ? void 0 : s.contents, n = (c = r == null ? void 0 : r.find((f) => (f == null ? void 0 : f.key) === "tableContents")) == null ? void 0 : c.contents;
507
507
  return An(n, Te(e).slice(0, Te(e).length - 1), l);
508
508
  }, Yn = (a) => {
509
509
  let l = {};
@@ -513,7 +513,7 @@ const zl = {
513
513
  }, Zn = (a) => {
514
514
  var r;
515
515
  let l = [];
516
- return (r = d(a)) == null || r.forEach((e) => {
516
+ return (r = g(a)) == null || r.forEach((e) => {
517
517
  let n = {};
518
518
  e == null || e.forEach((i) => {
519
519
  n[Object.keys(i)[0]] = Object.values(i)[0];
@@ -526,7 +526,7 @@ const zl = {
526
526
  var s, c, f;
527
527
  if (!(a != null && a.extra)) return;
528
528
  let l = (s = a == null ? void 0 : a.extra) == null ? void 0 : s.tableId, r = a == null ? void 0 : a.contents;
529
- const n = (f = (await ee({
529
+ const n = (f = (await I({
530
530
  key: {
531
531
  type: "data",
532
532
  pageKey: (c = a == null ? void 0 : a.extra) == null ? void 0 : c.pageKey,
@@ -539,10 +539,10 @@ const zl = {
539
539
  });
540
540
  let i = [];
541
541
  r == null || r.forEach((o) => {
542
- var g, y;
542
+ var p, y;
543
543
  let t = {};
544
- (g = Object.keys(o)) == null || g.forEach((v) => {
545
- t[v.toUpperCase()] = o[v.toLowerCase()];
544
+ (p = Object.keys(o)) == null || p.forEach((k) => {
545
+ t[k.toUpperCase()] = o[k.toLowerCase()];
546
546
  }), i.push({
547
547
  key: {
548
548
  type: "data",
@@ -559,7 +559,7 @@ const zl = {
559
559
  });
560
560
  }, kn = (a, l) => {
561
561
  var i;
562
- let r = d(a), e = !1, n = Object.keys(l);
562
+ let r = g(a), e = !1, n = Object.keys(l);
563
563
  return (i = r.compData) == null || i.forEach((s) => {
564
564
  var c;
565
565
  Array.isArray(s == null ? void 0 : s.contents) && ((c = s == null ? void 0 : s.contents) == null || c.forEach((f) => {
@@ -568,13 +568,13 @@ const zl = {
568
568
  }), e;
569
569
  }, In = (a, l) => {
570
570
  var n;
571
- let r = d(a);
572
- return kn(d(r), l) && (r.compData = (n = r.compData) == null ? void 0 : n.map((i) => {
571
+ let r = g(a);
572
+ return kn(g(r), l) && (r.compData = (n = r.compData) == null ? void 0 : n.map((i) => {
573
573
  var s;
574
574
  return (i == null ? void 0 : i.key) === "formContent" && (i.contents = (s = i == null ? void 0 : i.contents) == null ? void 0 : s.map((c) => (Object.keys(l).includes(c.key) && (c.value = l[c.key]), c))), i;
575
575
  })), r;
576
576
  }, er = (a) => {
577
- let l = d(a);
577
+ let l = g(a);
578
578
  return l == null || l.forEach((r) => {
579
579
  let e = {};
580
580
  for (let n in r)
@@ -582,8 +582,8 @@ const zl = {
582
582
  }), l;
583
583
  }, ar = async (a) => {
584
584
  var s, c, f, o, t;
585
- let l = (c = (s = a == null ? void 0 : a[0]) == null ? void 0 : s.find((g) => g == null ? void 0 : g.id)) == null ? void 0 : c.id;
586
- const r = await ee({
585
+ let l = (c = (s = a == null ? void 0 : a[0]) == null ? void 0 : s.find((p) => p == null ? void 0 : p.id)) == null ? void 0 : c.id;
586
+ const r = await I({
587
587
  id: l
588
588
  });
589
589
  let e = await ((t = (o = (f = r == null ? void 0 : r.data) == null ? void 0 : f.result) == null ? void 0 : o[0]) == null ? void 0 : t.key), n = e == null ? void 0 : e.pageKey, i = e == null ? void 0 : e.tableId;
@@ -615,8 +615,8 @@ const zl = {
615
615
  const l = a;
616
616
  let r = [];
617
617
  l.compData = (n = l.compData) == null ? void 0 : n.filter((f) => (f == null ? void 0 : f.key) !== "tableContents" && (f == null ? void 0 : f.key) !== "tableIndex");
618
- const e = (s = (i = d(l.compData)) == null ? void 0 : i.find((f) => (f == null ? void 0 : f.key) === "tableIndexColumn")) == null ? void 0 : s.contents;
619
- return (c = d(l.compData)) == null || c.forEach((f) => {
618
+ const e = (s = (i = g(l.compData)) == null ? void 0 : i.find((f) => (f == null ? void 0 : f.key) === "tableIndexColumn")) == null ? void 0 : s.contents;
619
+ return (c = g(l.compData)) == null || c.forEach((f) => {
620
620
  if ((f == null ? void 0 : f.key) !== "tableIndexColumn" && (f == null ? void 0 : f.key) !== "header")
621
621
  r.push(f);
622
622
  else if ((f == null ? void 0 : f.key) === "header") {
@@ -631,7 +631,7 @@ const zl = {
631
631
  var i, s, c, f, o;
632
632
  const l = (i = a.compData) == null ? void 0 : i.filter((t) => (t == null ? void 0 : t.key) === "tableContents" || (t == null ? void 0 : t.key) === "tableIndex"), r = (c = (s = l == null ? void 0 : l.find((t) => (t == null ? void 0 : t.key) === "tableIndex")) == null ? void 0 : s.contents) == null ? void 0 : c.map((t) => t.label), e = (f = l == null ? void 0 : l.find((t) => (t == null ? void 0 : t.key) === "tableContents")) == null ? void 0 : f.contents;
633
633
  let n = [];
634
- return (r == null ? void 0 : r.length) > 0 && (e != null && e.every((t) => Array.isArray(t))) ? n = r == null ? void 0 : r.map((t, g) => e[g] ? [t, ...e[g]] : [t]) : Array.isArray(e == null ? void 0 : e[0]) && ((o = e == null ? void 0 : e[0]) != null && o.every((t) => Array.isArray(t))) ? n = e == null ? void 0 : e[0] : Array.isArray(e == null ? void 0 : e[0]) ? n = e : n.push(e), n;
634
+ return (r == null ? void 0 : r.length) > 0 && (e != null && e.every((t) => Array.isArray(t))) ? n = r == null ? void 0 : r.map((t, p) => e[p] ? [t, ...e[p]] : [t]) : Array.isArray(e == null ? void 0 : e[0]) && ((o = e == null ? void 0 : e[0]) != null && o.every((t) => Array.isArray(t))) ? n = e == null ? void 0 : e[0] : Array.isArray(e == null ? void 0 : e[0]) ? n = e : n.push(e), n;
635
635
  }, Dn = (a) => {
636
636
  const l = [];
637
637
  function r(e) {
@@ -673,11 +673,11 @@ const zl = {
673
673
  function e(n, i, s = 1) {
674
674
  var f;
675
675
  if (!n || n.length === 0) return;
676
- const c = (f = d(i)) == null ? void 0 : f.map((o) => o == null ? void 0 : o.filter((t) => !Array.isArray(t)));
676
+ const c = (f = g(i)) == null ? void 0 : f.map((o) => o == null ? void 0 : o.filter((t) => !Array.isArray(t)));
677
677
  return c != null && c.find((o) => Ha(o, n == null ? void 0 : n.key)) ? (i == null || i.forEach((o) => {
678
- !e(n, o.find((g) => Array.isArray(g))) && Ha(o.filter((g) => !Array.isArray(g)), n == null ? void 0 : n.key) && (r = {
678
+ !e(n, o.find((p) => Array.isArray(p))) && Ha(o.filter((p) => !Array.isArray(p)), n == null ? void 0 : n.key) && (r = {
679
679
  type: s,
680
- contents: o.filter((g) => !Array.isArray(g))
680
+ contents: o.filter((p) => !Array.isArray(p))
681
681
  });
682
682
  }), !0) : !1;
683
683
  }
@@ -687,22 +687,22 @@ const zl = {
687
687
  return !e || e.length === 0 || e == null ? void 0 : e.map((s, c) => {
688
688
  var o, t;
689
689
  let f = s;
690
- return f.unshift((o = n == null ? void 0 : n[c]) == null ? void 0 : o.label), f.some((g) => Array.isArray(g)) && (f[f.length - 1] = r(f.find((g) => Array.isArray(g)), (t = n == null ? void 0 : n[c]) == null ? void 0 : t.children)), f;
690
+ return f.unshift((o = n == null ? void 0 : n[c]) == null ? void 0 : o.label), f.some((p) => Array.isArray(p)) && (f[f.length - 1] = r(f.find((p) => Array.isArray(p)), (t = n == null ? void 0 : n[c]) == null ? void 0 : t.children)), f;
691
691
  });
692
692
  }
693
693
  return r(a, l);
694
694
  }, Ue = (a) => {
695
- var r, e, n, i, s, c, f, o, t, g, y, v, D, w, m, R, k, C, j, K, J, H, U, F, $;
695
+ var r, e, n, i, s, c, f, o, t, p, y, k, D, _, m, j, B, S, M, T, J, q, F, P, $;
696
696
  const l = a;
697
697
  if ((a == null ? void 0 : a.comp) === "Table") {
698
- if ((n = (e = (r = a.compData) == null ? void 0 : r.find((P) => (P == null ? void 0 : P.key) === "tableIndex")) == null ? void 0 : e.contents) != null && n.every((P) => !(P != null && P.children)) || !((i = a.compData) != null && i.find((P) => (P == null ? void 0 : P.key) === "tableIndex")))
699
- return ((f = (c = (s = l.compData) == null ? void 0 : s.find((P) => (P == null ? void 0 : P.key) === "tableContents")) == null ? void 0 : c.contents) == null ? void 0 : f.length) === 1 && ((y = (g = (t = (o = l.compData) == null ? void 0 : o.find((P) => (P == null ? void 0 : P.key) === "tableContents")) == null ? void 0 : t.contents) == null ? void 0 : g[0]) != null && y.every((P) => Array.isArray(P))) ? (l.compData = (v = l.compData) == null ? void 0 : v.map((P) => {
700
- var _;
701
- return (P == null ? void 0 : P.key) === "tableContents" && (P.contents = (_ = P.contents) == null ? void 0 : _[0]), P;
698
+ if ((n = (e = (r = a.compData) == null ? void 0 : r.find((K) => (K == null ? void 0 : K.key) === "tableIndex")) == null ? void 0 : e.contents) != null && n.every((K) => !(K != null && K.children)) || !((i = a.compData) != null && i.find((K) => (K == null ? void 0 : K.key) === "tableIndex")))
699
+ return ((f = (c = (s = l.compData) == null ? void 0 : s.find((K) => (K == null ? void 0 : K.key) === "tableContents")) == null ? void 0 : c.contents) == null ? void 0 : f.length) === 1 && ((y = (p = (t = (o = l.compData) == null ? void 0 : o.find((K) => (K == null ? void 0 : K.key) === "tableContents")) == null ? void 0 : t.contents) == null ? void 0 : p[0]) != null && y.every((K) => Array.isArray(K))) ? (l.compData = (k = l.compData) == null ? void 0 : k.map((K) => {
700
+ var H;
701
+ return (K == null ? void 0 : K.key) === "tableContents" && (K.contents = (H = K.contents) == null ? void 0 : H[0]), K;
702
702
  }), [l]) : [l];
703
703
  {
704
- let P = [];
705
- const _ = l.compData, X = (D = d(_)) == null ? void 0 : D.find((N) => (N == null ? void 0 : N.key) === "tableIndexColumn"), Y = (w = d(_)) == null ? void 0 : w.find((N) => (N == null ? void 0 : N.key) === "extraButton"), G = (m = d(_)) == null ? void 0 : m.find((N) => (N == null ? void 0 : N.key) === "rowButton"), q = Cn((k = (R = d(_)) == null ? void 0 : R.find((N) => (N == null ? void 0 : N.key) === "header")) == null ? void 0 : k.contents), x = (C = d(_)) == null ? void 0 : C.find((N) => (N == null ? void 0 : N.key) === "tableIndex"), W = wn((K = (j = d(_)) == null ? void 0 : j.find((N) => (N == null ? void 0 : N.key) === "tableContents")) == null ? void 0 : K.contents), Ce = Ua((H = (J = d(_)) == null ? void 0 : J.find((N) => (N == null ? void 0 : N.key) === "tableContents")) == null ? void 0 : H.contents, x == null ? void 0 : x.contents), be = _n(Ua((F = (U = d(_)) == null ? void 0 : U.find((N) => (N == null ? void 0 : N.key) === "tableContents")) == null ? void 0 : F.contents, x == null ? void 0 : x.contents));
704
+ let K = [];
705
+ const H = l.compData, G = (D = g(H)) == null ? void 0 : D.find((N) => (N == null ? void 0 : N.key) === "tableIndexColumn"), Q = (_ = g(H)) == null ? void 0 : _.find((N) => (N == null ? void 0 : N.key) === "extraButton"), C = (m = g(H)) == null ? void 0 : m.find((N) => (N == null ? void 0 : N.key) === "rowButton"), W = Cn((B = (j = g(H)) == null ? void 0 : j.find((N) => (N == null ? void 0 : N.key) === "header")) == null ? void 0 : B.contents), x = (S = g(H)) == null ? void 0 : S.find((N) => (N == null ? void 0 : N.key) === "tableIndex"), X = wn((T = (M = g(H)) == null ? void 0 : M.find((N) => (N == null ? void 0 : N.key) === "tableContents")) == null ? void 0 : T.contents), Ce = Ua((q = (J = g(H)) == null ? void 0 : J.find((N) => (N == null ? void 0 : N.key) === "tableContents")) == null ? void 0 : q.contents, x == null ? void 0 : x.contents), be = _n(Ua((P = (F = g(H)) == null ? void 0 : F.find((N) => (N == null ? void 0 : N.key) === "tableContents")) == null ? void 0 : P.contents, x == null ? void 0 : x.contents));
706
706
  if (x)
707
707
  return ($ = Dn(x.contents)) == null || $.forEach((N, me) => {
708
708
  var Ke;
@@ -710,19 +710,19 @@ const zl = {
710
710
  ye.push({
711
711
  key: "tableIndex",
712
712
  contents: N
713
- }), ye.push(X), ye.push(Y), ye.push(G), ye.push({
713
+ }), ye.push(G), ye.push(Q), ye.push(C), ye.push({
714
714
  key: "tableContents",
715
- contents: W[me]
715
+ contents: X[me]
716
716
  }), ye.push({
717
717
  key: "header",
718
- contents: q != null && q[me] ? [q == null ? void 0 : q[me]] : [q == null ? void 0 : q[0]]
719
- }), P.push({
718
+ contents: W != null && W[me] ? [W == null ? void 0 : W[me]] : [W == null ? void 0 : W[0]]
719
+ }), K.push({
720
720
  comp: "Table",
721
721
  compData: ye,
722
722
  name: "",
723
723
  parentTableContents: ((Ke = Kn(be[me], Ce)) == null ? void 0 : Ke.contents) ?? ""
724
724
  });
725
- }), P;
725
+ }), K;
726
726
  }
727
727
  } else
728
728
  return [l];
@@ -736,12 +736,12 @@ const zl = {
736
736
  }, On = (a) => {
737
737
  var r, e;
738
738
  let l = "";
739
- return (e = (r = d(a)) == null ? void 0 : r.split("/")) == null || e.forEach((n, i) => {
739
+ return (e = (r = g(a)) == null ? void 0 : r.split("/")) == null || e.forEach((n, i) => {
740
740
  var s, c;
741
- i < ((c = (s = d(a)) == null ? void 0 : s.split("/")) == null ? void 0 : c.length) - 1 && (l = l === "" ? l + n : l + "/" + n);
741
+ i < ((c = (s = g(a)) == null ? void 0 : s.split("/")) == null ? void 0 : c.length) - 1 && (l = l === "" ? l + n : l + "/" + n);
742
742
  }), l;
743
743
  }, Sn = async (a) => {
744
- const l = d(a);
744
+ const l = g(a);
745
745
  let r = [], e = [];
746
746
  l == null || l.forEach((n) => {
747
747
  !(e != null && e.find((i) => (i == null ? void 0 : i.parentKey) === (n == null ? void 0 : n.parentKey))) && (n == null ? void 0 : n.parentKey) !== "" && e.push(n);
@@ -768,13 +768,13 @@ const zl = {
768
768
  var n;
769
769
  await ((n = e.compData) == null ? void 0 : n.forEach(async (i) => {
770
770
  var c, f, o;
771
- const s = (c = d(i == null ? void 0 : i.contents)) == null ? void 0 : c.map((t) => {
772
- var g, y, v, D;
771
+ const s = (c = g(i == null ? void 0 : i.contents)) == null ? void 0 : c.map((t) => {
772
+ var p, y, k, D;
773
773
  if (Array.isArray(t)) {
774
- let w = (g = t == null ? void 0 : t.map) == null ? void 0 : g.call(t, (m) => {
775
- var k;
776
- return (k = Ue(d(m))) == null ? void 0 : k.map((C) => {
777
- var j, K, J, H;
774
+ let _ = (p = t == null ? void 0 : t.map) == null ? void 0 : p.call(t, (m) => {
775
+ var B;
776
+ return (B = Ue(g(m))) == null ? void 0 : B.map((S) => {
777
+ var M, T, J, q;
778
778
  if (m.comp === "Table")
779
779
  return {
780
780
  key: {
@@ -782,18 +782,18 @@ const zl = {
782
782
  pageKey: e.name,
783
783
  type: "structure",
784
784
  version: 1,
785
- parentTable: (C == null ? void 0 : C.parentTableContents) ?? ""
785
+ parentTable: (S == null ? void 0 : S.parentTableContents) ?? ""
786
786
  },
787
787
  value: {
788
788
  pageData: {
789
- comp: (j = re(d(C))) == null ? void 0 : j.comp,
790
- compData: (K = re(d(C))) == null ? void 0 : K.compData,
791
- name: (J = re(d(C))) == null ? void 0 : J.name
789
+ comp: (M = re(g(S))) == null ? void 0 : M.comp,
790
+ compData: (T = re(g(S))) == null ? void 0 : T.compData,
791
+ name: (J = re(g(S))) == null ? void 0 : J.name
792
792
  }
793
793
  }
794
794
  };
795
- if ((C == null ? void 0 : C.key) === "extraButton") {
796
- if (((H = Object.values(C == null ? void 0 : C.value)) == null ? void 0 : H.length) !== 0)
795
+ if ((S == null ? void 0 : S.key) === "extraButton") {
796
+ if (((q = Object.values(S == null ? void 0 : S.value)) == null ? void 0 : q.length) !== 0)
797
797
  return {
798
798
  key: {
799
799
  systemKey: sessionStorage.getItem("systemKey"),
@@ -802,7 +802,7 @@ const zl = {
802
802
  version: 1
803
803
  },
804
804
  value: {
805
- pageData: C.value
805
+ pageData: S.value
806
806
  }
807
807
  };
808
808
  } else
@@ -812,18 +812,18 @@ const zl = {
812
812
  pageKey: e.name,
813
813
  type: "structure",
814
814
  version: 1,
815
- parentTable: (C == null ? void 0 : C.parentTableContents) ?? ""
815
+ parentTable: (S == null ? void 0 : S.parentTableContents) ?? ""
816
816
  },
817
817
  value: {
818
- pageData: C
818
+ pageData: S
819
819
  }
820
820
  };
821
821
  });
822
822
  });
823
- return w = (y = w == null ? void 0 : w.map((m) => m != null && m.every((R) => R) ? m : [])) == null ? void 0 : y.filter((m) => m.length > 0), (v = w == null ? void 0 : w[0]) == null ? void 0 : v[0];
823
+ return _ = (y = _ == null ? void 0 : _.map((m) => m != null && m.every((j) => j) ? m : [])) == null ? void 0 : y.filter((m) => m.length > 0), (k = _ == null ? void 0 : _[0]) == null ? void 0 : k[0];
824
824
  } else {
825
- const w = (D = Ue(d(t))) == null ? void 0 : D.map((m) => {
826
- var R, k, C, j;
825
+ const _ = (D = Ue(g(t))) == null ? void 0 : D.map((m) => {
826
+ var j, B, S, M;
827
827
  if (t.comp === "Table")
828
828
  return {
829
829
  key: {
@@ -835,14 +835,14 @@ const zl = {
835
835
  },
836
836
  value: {
837
837
  pageData: {
838
- comp: (R = re(d(m))) == null ? void 0 : R.comp,
839
- compData: (k = re(d(m))) == null ? void 0 : k.compData,
840
- name: (C = re(d(m))) == null ? void 0 : C.name
838
+ comp: (j = re(g(m))) == null ? void 0 : j.comp,
839
+ compData: (B = re(g(m))) == null ? void 0 : B.compData,
840
+ name: (S = re(g(m))) == null ? void 0 : S.name
841
841
  }
842
842
  }
843
843
  };
844
844
  if ((m == null ? void 0 : m.key) === "extraButton") {
845
- if (((j = Object.values(m == null ? void 0 : m.value)) == null ? void 0 : j.length) !== 0)
845
+ if (((M = Object.values(m == null ? void 0 : m.value)) == null ? void 0 : M.length) !== 0)
846
846
  return {
847
847
  key: {
848
848
  systemKey: sessionStorage.getItem("systemKey"),
@@ -868,11 +868,11 @@ const zl = {
868
868
  }
869
869
  };
870
870
  });
871
- return w == null ? void 0 : w[0];
871
+ return _ == null ? void 0 : _[0];
872
872
  }
873
873
  });
874
874
  if (r.push({
875
- parentKey: On((f = d(e)) == null ? void 0 : f.name),
875
+ parentKey: On((f = g(e)) == null ? void 0 : f.name),
876
876
  content: s
877
877
  }), (s == null ? void 0 : s.length) > 0) {
878
878
  const t = await qe({
@@ -881,13 +881,13 @@ const zl = {
881
881
  l.push(t);
882
882
  }
883
883
  (o = i.contents) == null || o.map(async (t) => {
884
- var g;
884
+ var p;
885
885
  Array.isArray(t) ? t == null || t.forEach(async (y) => {
886
- var v;
887
- (v = Ue(d(y))) == null || v.forEach(async (D) => {
888
- var w, m, R, k, C, j;
886
+ var k;
887
+ (k = Ue(g(y))) == null || k.forEach(async (D) => {
888
+ var _, m, j, B, S, M;
889
889
  if (y.comp === "Table") {
890
- const J = (C = (k = (await ee({
890
+ const J = (S = (B = (await I({
891
891
  key: {
892
892
  systemKey: sessionStorage.getItem("systemKey"),
893
893
  pageKey: e.name,
@@ -897,15 +897,15 @@ const zl = {
897
897
  },
898
898
  value: {
899
899
  pageData: {
900
- comp: (w = re(d(D))) == null ? void 0 : w.comp,
901
- compData: (m = re(d(D))) == null ? void 0 : m.compData,
902
- name: (R = re(d(D))) == null ? void 0 : R.name
900
+ comp: (_ = re(g(D))) == null ? void 0 : _.comp,
901
+ compData: (m = re(g(D))) == null ? void 0 : m.compData,
902
+ name: (j = re(g(D))) == null ? void 0 : j.name
903
903
  }
904
904
  }
905
- })).data.result) == null ? void 0 : k[0]) == null ? void 0 : C.id, H = await ((j = ea(d(D))) == null ? void 0 : j.map(async (U) => {
906
- var _, X, Y, G, q;
907
- let F;
908
- U.length !== 0 && (F = await aa({
905
+ })).data.result) == null ? void 0 : B[0]) == null ? void 0 : S.id, q = await ((M = ea(g(D))) == null ? void 0 : M.map(async (F) => {
906
+ var H, G, Q, C, W;
907
+ let P;
908
+ F.length !== 0 && (P = await aa({
909
909
  key: {
910
910
  systemKey: sessionStorage.getItem("systemKey"),
911
911
  pageKey: e.name,
@@ -913,35 +913,35 @@ const zl = {
913
913
  tableId: J
914
914
  },
915
915
  value: {
916
- tableData: Fe(U, (G = Te((Y = (X = (_ = re(d(D))) == null ? void 0 : _.compData) == null ? void 0 : X.find((x) => (x == null ? void 0 : x.key) === "header")) == null ? void 0 : Y.contents)) == null ? void 0 : G.filter((x) => x !== "操作"))
916
+ tableData: Fe(F, (C = Te((Q = (G = (H = re(g(D))) == null ? void 0 : H.compData) == null ? void 0 : G.find((x) => (x == null ? void 0 : x.key) === "header")) == null ? void 0 : Q.contents)) == null ? void 0 : C.filter((x) => x !== "操作"))
917
917
  }
918
918
  }));
919
- const P = await ((q = (await ee({
919
+ const K = await ((W = (await I({
920
920
  key: {
921
921
  systemKey: sessionStorage.getItem("systemKey"),
922
922
  pageKey: e.name,
923
923
  type: "structure",
924
- parentTable: U
924
+ parentTable: F
925
925
  }
926
- })).data.result) == null ? void 0 : q.map(async (x) => await Be({
926
+ })).data.result) == null ? void 0 : W.map(async (x) => await Be({
927
927
  id: x.id,
928
928
  key: {
929
929
  systemKey: x.key.systemKey,
930
930
  pageKey: x.key.pageKey,
931
931
  type: x.key.type,
932
932
  version: x.key.version,
933
- parentTable: F.data.result
933
+ parentTable: P.data.result
934
934
  }
935
935
  })));
936
- return l.push(P), F;
936
+ return l.push(K), P;
937
937
  }));
938
- l.push(H);
938
+ l.push(q);
939
939
  }
940
940
  });
941
- }) : (g = Ue(d(t))) == null || g.forEach(async (y) => {
942
- var v, D, w, m, R, k, C;
941
+ }) : (p = Ue(g(t))) == null || p.forEach(async (y) => {
942
+ var k, D, _, m, j, B, S;
943
943
  if (t.comp === "Table") {
944
- const K = (R = (m = (await ee({
944
+ const T = (j = (m = (await I({
945
945
  key: {
946
946
  systemKey: sessionStorage.getItem("systemKey"),
947
947
  pageKey: e.name,
@@ -951,64 +951,64 @@ const zl = {
951
951
  },
952
952
  value: {
953
953
  pageData: {
954
- comp: (v = re(d(y))) == null ? void 0 : v.comp,
955
- compData: (D = re(d(y))) == null ? void 0 : D.compData,
956
- name: (w = re(d(y))) == null ? void 0 : w.name
954
+ comp: (k = re(g(y))) == null ? void 0 : k.comp,
955
+ compData: (D = re(g(y))) == null ? void 0 : D.compData,
956
+ name: (_ = re(g(y))) == null ? void 0 : _.name
957
957
  }
958
958
  }
959
- })).data.result) == null ? void 0 : m[0]) == null ? void 0 : R.id, J = (k = ea(d(y))) == null ? void 0 : k.map((F) => {
960
- var $, P, _, X;
961
- if ((F == null ? void 0 : F.length) !== 0)
959
+ })).data.result) == null ? void 0 : m[0]) == null ? void 0 : j.id, J = (B = ea(g(y))) == null ? void 0 : B.map((P) => {
960
+ var $, K, H, G;
961
+ if ((P == null ? void 0 : P.length) !== 0)
962
962
  return {
963
963
  key: {
964
964
  systemKey: sessionStorage.getItem("systemKey"),
965
965
  pageKey: e.name,
966
966
  type: "data",
967
- tableId: K
967
+ tableId: T
968
968
  },
969
969
  value: {
970
- tableData: Fe(F, (X = Te((_ = (P = ($ = re(d(y))) == null ? void 0 : $.compData) == null ? void 0 : P.find((Y) => (Y == null ? void 0 : Y.key) === "header")) == null ? void 0 : _.contents)) == null ? void 0 : X.filter((Y) => Y !== "操作"))
970
+ tableData: Fe(P, (G = Te((H = (K = ($ = re(g(y))) == null ? void 0 : $.compData) == null ? void 0 : K.find((Q) => (Q == null ? void 0 : Q.key) === "header")) == null ? void 0 : H.contents)) == null ? void 0 : G.filter((Q) => Q !== "操作"))
971
971
  }
972
972
  };
973
- }), H = await qe({
973
+ }), q = await qe({
974
974
  dataList: J
975
975
  });
976
- l.push(H);
977
- const U = await ((C = ea(d(y))) == null ? void 0 : C.map(async (F) => {
978
- var X, Y, G, q, x;
976
+ l.push(q);
977
+ const F = await ((S = ea(g(y))) == null ? void 0 : S.map(async (P) => {
978
+ var G, Q, C, W, x;
979
979
  let $;
980
- return (F == null ? void 0 : F.length) !== 0 && ($ = await ee({
980
+ return (P == null ? void 0 : P.length) !== 0 && ($ = await I({
981
981
  key: {
982
982
  systemKey: sessionStorage.getItem("systemKey"),
983
983
  pageKey: e.name,
984
984
  type: "data",
985
- tableId: K
985
+ tableId: T
986
986
  },
987
987
  value: {
988
- tableData: Fe(F, (q = Te((G = (Y = (X = re(d(y))) == null ? void 0 : X.compData) == null ? void 0 : Y.find((W) => (W == null ? void 0 : W.key) === "header")) == null ? void 0 : G.contents)) == null ? void 0 : q.filter((W) => W !== "操作"))
988
+ tableData: Fe(P, (W = Te((C = (Q = (G = re(g(y))) == null ? void 0 : G.compData) == null ? void 0 : Q.find((X) => (X == null ? void 0 : X.key) === "header")) == null ? void 0 : C.contents)) == null ? void 0 : W.filter((X) => X !== "操作"))
989
989
  }
990
- })), await ((x = (await ee({
990
+ })), await ((x = (await I({
991
991
  key: {
992
- parentTable: F,
992
+ parentTable: P,
993
993
  systemKey: sessionStorage.getItem("systemKey"),
994
994
  pageKey: e.name,
995
995
  type: "structure"
996
996
  }
997
- })).data.result) == null ? void 0 : x.map(async (W) => {
997
+ })).data.result) == null ? void 0 : x.map(async (X) => {
998
998
  var be, N;
999
999
  return await Be({
1000
- id: W.id,
1000
+ id: X.id,
1001
1001
  key: {
1002
- systemKey: W.key.systemKey,
1003
- pageKey: W.key.pageKey,
1004
- type: W.key.type,
1005
- version: W.key.version,
1006
- parentTable: W.key.parentTable === "" ? "" : (N = (be = $.data.result) == null ? void 0 : be[0]) == null ? void 0 : N.id
1002
+ systemKey: X.key.systemKey,
1003
+ pageKey: X.key.pageKey,
1004
+ type: X.key.type,
1005
+ version: X.key.version,
1006
+ parentTable: X.key.parentTable === "" ? "" : (N = (be = $.data.result) == null ? void 0 : be[0]) == null ? void 0 : N.id
1007
1007
  }
1008
1008
  });
1009
1009
  }));
1010
1010
  }));
1011
- l.push(U);
1011
+ l.push(F);
1012
1012
  }
1013
1013
  });
1014
1014
  });
@@ -1022,16 +1022,16 @@ const zl = {
1022
1022
  ...e[1]
1023
1023
  }));
1024
1024
  }, Fn = async (a, l) => {
1025
- var o, t, g, y, v, D, w, m, R, k, C, j, K, J, H, U;
1026
- const r = (t = (o = a == null ? void 0 : a.find((F) => (F == null ? void 0 : F.key) === "header")) == null ? void 0 : o.contents) == null ? void 0 : t.find((F) => F == null ? void 0 : F.columnPath);
1027
- let e = (y = (g = d(r == null ? void 0 : r.columnPath)) == null ? void 0 : g.split("[")) == null ? void 0 : y[0], n = (R = (m = (w = (D = (v = d(r == null ? void 0 : r.columnPath)) == null ? void 0 : v.split("[")) == null ? void 0 : D[1]) == null ? void 0 : w.split("]")) == null ? void 0 : m[0]) == null ? void 0 : R.replaceAll("'", ""), i = [];
1028
- const s = await ee({
1025
+ var o, t, p, y, k, D, _, m, j, B, S, M, T, J, q, F;
1026
+ const r = (t = (o = a == null ? void 0 : a.find((P) => (P == null ? void 0 : P.key) === "header")) == null ? void 0 : o.contents) == null ? void 0 : t.find((P) => P == null ? void 0 : P.columnPath);
1027
+ let e = (y = (p = g(r == null ? void 0 : r.columnPath)) == null ? void 0 : p.split("[")) == null ? void 0 : y[0], n = (j = (m = (_ = (D = (k = g(r == null ? void 0 : r.columnPath)) == null ? void 0 : k.split("[")) == null ? void 0 : D[1]) == null ? void 0 : _.split("]")) == null ? void 0 : m[0]) == null ? void 0 : j.replaceAll("'", ""), i = [];
1028
+ const s = await I({
1029
1029
  key: {
1030
1030
  pageKey: e,
1031
1031
  systemKey: sessionStorage.getItem("systemKey"),
1032
1032
  type: "structure"
1033
1033
  }
1034
- }), c = await ee({
1034
+ }), c = await I({
1035
1035
  key: {
1036
1036
  pageKey: En.value,
1037
1037
  systemKey: sessionStorage.getItem("systemKey"),
@@ -1039,127 +1039,147 @@ const zl = {
1039
1039
  type: "data"
1040
1040
  }
1041
1041
  }), f = [];
1042
- if ((C = (k = c == null ? void 0 : c.data) == null ? void 0 : k.result) == null || C.forEach((F) => {
1042
+ if ((S = (B = c == null ? void 0 : c.data) == null ? void 0 : B.result) == null || S.forEach((P) => {
1043
1043
  f.push(
1044
1044
  [
1045
1045
  {
1046
- id: F == null ? void 0 : F.id
1046
+ id: P == null ? void 0 : P.id
1047
1047
  },
1048
- F.value.tableData
1048
+ P.value.tableData
1049
1049
  ]
1050
1050
  );
1051
- }), Array.isArray((j = s == null ? void 0 : s.data) == null ? void 0 : j.result) && ((J = (K = s == null ? void 0 : s.data) == null ? void 0 : K.result) == null ? void 0 : J.length) > 0) {
1052
- const F = await ((U = (H = s == null ? void 0 : s.data) == null ? void 0 : H.result) == null ? void 0 : U.map(async ($) => {
1053
- var P, _, X, Y, G, q, x, W, Ce, be, N, me, ye, Ke, Re;
1054
- if (((_ = (P = $ == null ? void 0 : $.value) == null ? void 0 : P.pageData) == null ? void 0 : _.name) === n) {
1055
- i = d((Y = (X = $ == null ? void 0 : $.value) == null ? void 0 : X.pageData) == null ? void 0 : Y.compData);
1056
- const je = await ee({
1051
+ }), Array.isArray((M = s == null ? void 0 : s.data) == null ? void 0 : M.result) && ((J = (T = s == null ? void 0 : s.data) == null ? void 0 : T.result) == null ? void 0 : J.length) > 0) {
1052
+ const P = await ((F = (q = s == null ? void 0 : s.data) == null ? void 0 : q.result) == null ? void 0 : F.map(async ($) => {
1053
+ var K, H, G, Q, C, W, x, X, Ce, be, N, me, ye, Ke, Re;
1054
+ if (((H = (K = $ == null ? void 0 : $.value) == null ? void 0 : K.pageData) == null ? void 0 : H.name) === n) {
1055
+ i = g((Q = (G = $ == null ? void 0 : $.value) == null ? void 0 : G.pageData) == null ? void 0 : Q.compData);
1056
+ const je = await I({
1057
1057
  key: {
1058
1058
  pageKey: e,
1059
1059
  systemKey: sessionStorage.getItem("systemKey"),
1060
1060
  tableId: $ == null ? void 0 : $.id,
1061
1061
  type: "data"
1062
1062
  }
1063
- }), Ye = (q = (G = je == null ? void 0 : je.data) == null ? void 0 : G.result) == null ? void 0 : q.map((Q) => {
1063
+ }), Ye = (W = (C = je == null ? void 0 : je.data) == null ? void 0 : C.result) == null ? void 0 : W.map((Y) => {
1064
1064
  var h;
1065
1065
  let u = [];
1066
1066
  return u.push({
1067
- id: Q == null ? void 0 : Q.id
1068
- }), u.push((h = Q == null ? void 0 : Q.value) == null ? void 0 : h.tableData), u;
1067
+ id: Y == null ? void 0 : Y.id
1068
+ }), u.push((h = Y == null ? void 0 : Y.value) == null ? void 0 : h.tableData), u;
1069
1069
  });
1070
- let $e = Xe(f, (be = (Ce = (W = (x = $ == null ? void 0 : $.value) == null ? void 0 : x.pageData) == null ? void 0 : W.compData) == null ? void 0 : Ce.find((Q) => (Q == null ? void 0 : Q.key) === "header")) == null ? void 0 : be.contents), Oe = !1;
1071
- Oe = ((N = d($e)) == null ? void 0 : N.map((Q) => Q.slice(1))).every((Q) => Q.every((u) => u === void 0)), Oe ? i.push({
1070
+ let $e = Xe(f, (be = (Ce = (X = (x = $ == null ? void 0 : $.value) == null ? void 0 : x.pageData) == null ? void 0 : X.compData) == null ? void 0 : Ce.find((Y) => (Y == null ? void 0 : Y.key) === "header")) == null ? void 0 : be.contents), Oe = !1;
1071
+ Oe = ((N = g($e)) == null ? void 0 : N.map((Y) => Y.slice(1))).every((Y) => Y.every((u) => u === void 0)), Oe ? i.push({
1072
1072
  key: "tableContents",
1073
- contents: Xe(Ye, (Re = (Ke = (ye = (me = $ == null ? void 0 : $.value) == null ? void 0 : me.pageData) == null ? void 0 : ye.compData) == null ? void 0 : Ke.find((Q) => (Q == null ? void 0 : Q.key) === "header")) == null ? void 0 : Re.contents)
1073
+ contents: Xe(Ye, (Re = (Ke = (ye = (me = $ == null ? void 0 : $.value) == null ? void 0 : me.pageData) == null ? void 0 : ye.compData) == null ? void 0 : Ke.find((Y) => (Y == null ? void 0 : Y.key) === "header")) == null ? void 0 : Re.contents)
1074
1074
  }) : i.push({
1075
1075
  key: "tableContents",
1076
1076
  contents: $e
1077
1077
  });
1078
1078
  }
1079
1079
  }));
1080
- await Promise.all(F);
1080
+ await Promise.all(P);
1081
1081
  }
1082
1082
  return i;
1083
- }, qa = async (a, l, r = "", e) => {
1084
- var y, v, D, w, m, R;
1085
- const n = await ee({
1086
- key: {
1087
- pageKey: a,
1088
- systemKey: l,
1089
- parentTable: r
1090
- }
1091
- }), i = await ee({
1083
+ }, qa = async (a, l, r = "", e, n = !1, i) => {
1084
+ var D, _, m, j, B, S, M;
1085
+ let s;
1086
+ if (!n)
1087
+ s = await I({
1088
+ key: {
1089
+ pageKey: a,
1090
+ systemKey: l,
1091
+ parentTable: r
1092
+ }
1093
+ });
1094
+ else {
1095
+ let T = i == null ? void 0 : i.map((q) => {
1096
+ if (q)
1097
+ return I({ id: q });
1098
+ });
1099
+ const J = await Promise.all(T);
1100
+ s = {
1101
+ data: {
1102
+ result: J == null ? void 0 : J.map((q) => {
1103
+ var F, P;
1104
+ return (P = (F = q == null ? void 0 : q.data) == null ? void 0 : F.result) == null ? void 0 : P[0];
1105
+ })
1106
+ }
1107
+ };
1108
+ }
1109
+ const c = await I({
1092
1110
  key: {
1093
1111
  pageKey: a,
1094
1112
  systemKey: l,
1095
1113
  type: "structureMethod"
1096
1114
  }
1097
- }), s = (y = n.data.result) == null ? void 0 : y.map((k) => k.id), c = s == null ? void 0 : s.map((k) => ee({
1115
+ }), f = (_ = (D = s == null ? void 0 : s.data) == null ? void 0 : D.result) == null ? void 0 : _.map((T) => T.id);
1116
+ if (!f) return;
1117
+ const o = f == null ? void 0 : f.map((T) => I({
1098
1118
  key: {
1099
1119
  pageKey: a,
1100
1120
  systemKey: l,
1101
- tableId: k
1121
+ tableId: T
1102
1122
  }
1103
- })), f = await Promise.all(c), o = [];
1104
- f == null || f.forEach((k) => {
1105
- var K, J, H, U;
1106
- const C = (K = k.data.result) == null ? void 0 : K.map((F) => {
1107
- const $ = Array.isArray(F.value.tableData) ? F.value.tableData : [F.value.tableData];
1108
- return $.unshift({
1109
- id: F.id
1110
- }), $;
1111
- }), j = (U = (H = (J = k.data.result) == null ? void 0 : J[0]) == null ? void 0 : H.key) == null ? void 0 : U.tableId;
1112
- o.push({
1113
- key: j,
1114
- contents: C
1123
+ })), t = await Promise.all(o), p = [];
1124
+ t == null || t.forEach((T) => {
1125
+ var F, P, $, K;
1126
+ const J = (F = T.data.result) == null ? void 0 : F.map((H) => {
1127
+ const G = Array.isArray(H.value.tableData) ? H.value.tableData : [H.value.tableData];
1128
+ return G.unshift({
1129
+ id: H.id
1130
+ }), G;
1131
+ }), q = (K = ($ = (P = T.data.result) == null ? void 0 : P[0]) == null ? void 0 : $.key) == null ? void 0 : K.tableId;
1132
+ p.push({
1133
+ key: q,
1134
+ contents: J
1115
1135
  });
1116
1136
  });
1117
- let t = [];
1118
- const g = await ((v = n.data.result) == null ? void 0 : v.map(async (k) => {
1119
- var J, H, U, F, $, P;
1120
- const C = k.value.pageData, j = k == null ? void 0 : k.id;
1121
- let K = (J = d(C.compData)) == null ? void 0 : J.filter((_) => (_ == null ? void 0 : _.key) !== "tableContents");
1122
- if (K && (K != null && K.find((_) => (_ == null ? void 0 : _.key) === "header")) && ((U = (H = K == null ? void 0 : K.find((_) => (_ == null ? void 0 : _.key) === "header")) == null ? void 0 : H.contents) != null && U.every((_) => !(_ != null && _.columnPath))) ? K.push({
1137
+ let y = [];
1138
+ const k = await ((m = s.data.result) == null ? void 0 : m.map(async (T) => {
1139
+ var P, $, K, H, G, Q;
1140
+ const J = T.value.pageData, q = T == null ? void 0 : T.id;
1141
+ let F = (P = g(J.compData)) == null ? void 0 : P.filter((C) => (C == null ? void 0 : C.key) !== "tableContents");
1142
+ if (F && (F != null && F.find((C) => (C == null ? void 0 : C.key) === "header")) && ((K = ($ = F == null ? void 0 : F.find((C) => (C == null ? void 0 : C.key) === "header")) == null ? void 0 : $.contents) != null && K.every((C) => !(C != null && C.columnPath))) ? F.push({
1123
1143
  key: "tableContents",
1124
1144
  // contents: getTableContents(currentTableContents?.find((v: any) => v?.key === t.id)?.contents, newCompData?.find((s: any) => s?.key === "header")?.contents)
1125
- contents: e === "/系统管理/用户管理" ? Pn(o) : Xe((F = o == null ? void 0 : o.find((_) => (_ == null ? void 0 : _.key) === k.id)) == null ? void 0 : F.contents, ($ = K == null ? void 0 : K.find((_) => (_ == null ? void 0 : _.key) === "header")) == null ? void 0 : $.contents)
1126
- }) : K && (K != null && K.find((_) => (_ == null ? void 0 : _.key) === "header")) && (K = await Fn(d(K), j)), C.compData = K, C.id = k.id, ((P = k.key) == null ? void 0 : P.type) !== "method")
1127
- t.push(C);
1145
+ contents: e === "/系统管理/用户管理" ? Pn(p) : Xe((H = p == null ? void 0 : p.find((C) => (C == null ? void 0 : C.key) === T.id)) == null ? void 0 : H.contents, (G = F == null ? void 0 : F.find((C) => (C == null ? void 0 : C.key) === "header")) == null ? void 0 : G.contents)
1146
+ }) : F && (F != null && F.find((C) => (C == null ? void 0 : C.key) === "header")) && (F = await Fn(g(F), q)), J.compData = F, J.id = T.id, ((Q = T.key) == null ? void 0 : Q.type) !== "method")
1147
+ y.push(J);
1128
1148
  else {
1129
- let _;
1130
- _ = {
1149
+ let C;
1150
+ C = {
1131
1151
  name: "",
1132
- compData: [C],
1152
+ compData: [J],
1133
1153
  comp: "calculator"
1134
- }, t.push(_);
1154
+ }, y.push(C);
1135
1155
  }
1136
1156
  }));
1137
- return await Promise.all(g), ((w = (D = i.data.result) == null ? void 0 : D.map((k) => k.value.pageData)) == null ? void 0 : w.filter((k) => Object.values(k).length > 0).length) > 0 && t.push({
1157
+ return await Promise.all(k), ((B = (j = c.data.result) == null ? void 0 : j.map((T) => T.value.pageData)) == null ? void 0 : B.filter((T) => Object.values(T).length > 0).length) > 0 && y.push({
1138
1158
  comp: "methodButton",
1139
1159
  name: "",
1140
- compData: (R = (m = i.data.result) == null ? void 0 : m.map((k) => k.value.pageData)) == null ? void 0 : R.filter((k) => Object.values(k).length > 0)
1141
- }), t = t.sort((k, C) => k.id - C.id), t;
1160
+ compData: (M = (S = c.data.result) == null ? void 0 : S.map((T) => T.value.pageData)) == null ? void 0 : M.filter((T) => Object.values(T).length > 0)
1161
+ }), y = y.sort((T, J) => T.id - J.id), y;
1142
1162
  }, rr = async (a) => {
1143
1163
  await fl({
1144
1164
  id: a
1145
1165
  });
1146
1166
  }, ir = async (a, l, r, e, n, i, s) => {
1147
- var f, o, t, g, y, v, D, w, m, R, k, C, j;
1167
+ var f, o, t, p, y, k, D, _, m, j, B, S, M;
1148
1168
  const c = ((o = (f = s == null ? void 0 : s.content) == null ? void 0 : f[0]) == null ? void 0 : o.id) ?? "";
1149
1169
  if (c !== "" && ((t = s == null ? void 0 : s.content) == null ? void 0 : t.length) > 1) {
1150
- const K = await ee({
1170
+ const T = await I({
1151
1171
  id: c
1152
1172
  });
1153
- let J = ((D = (v = (y = (g = K == null ? void 0 : K.data) == null ? void 0 : g.result) == null ? void 0 : y[0]) == null ? void 0 : v.key) == null ? void 0 : D.tableId) ?? "", H = ((k = (R = (m = (w = K == null ? void 0 : K.data) == null ? void 0 : w.result) == null ? void 0 : m[0]) == null ? void 0 : R.key) == null ? void 0 : k.pageKey) ?? "";
1173
+ let J = ((D = (k = (y = (p = T == null ? void 0 : T.data) == null ? void 0 : p.result) == null ? void 0 : y[0]) == null ? void 0 : k.key) == null ? void 0 : D.tableId) ?? "", q = ((B = (j = (m = (_ = T == null ? void 0 : T.data) == null ? void 0 : _.result) == null ? void 0 : m[0]) == null ? void 0 : j.key) == null ? void 0 : B.pageKey) ?? "";
1154
1174
  await aa({
1155
1175
  key: {
1156
1176
  type: a,
1157
- pageKey: H,
1177
+ pageKey: q,
1158
1178
  tableId: J,
1159
1179
  systemKey: e
1160
1180
  },
1161
1181
  value: {
1162
- tableData: Fe(n, (C = Te(i)) == null ? void 0 : C.filter((U) => U !== "操作"))
1182
+ tableData: Fe(n, (S = Te(i)) == null ? void 0 : S.filter((F) => F !== "操作"))
1163
1183
  }
1164
1184
  });
1165
1185
  } else
@@ -1171,15 +1191,15 @@ const zl = {
1171
1191
  systemKey: e
1172
1192
  },
1173
1193
  value: {
1174
- tableData: Fe(n, (j = Te(i)) == null ? void 0 : j.filter((K) => K !== "操作"))
1194
+ tableData: Fe(n, (M = Te(i)) == null ? void 0 : M.filter((T) => T !== "操作"))
1175
1195
  }
1176
1196
  });
1177
1197
  }, sr = async (a, l, r, e, n, i, s) => {
1178
- var t, g, y, v, D, w, m, R, k, C;
1179
- const c = await ee({
1198
+ var t, p, y, k, D, _, m, j, B, S;
1199
+ const c = await I({
1180
1200
  id: e
1181
1201
  });
1182
- let f = ((v = (y = (g = (t = c == null ? void 0 : c.data) == null ? void 0 : t.result) == null ? void 0 : g[0]) == null ? void 0 : y.key) == null ? void 0 : v.tableId) ?? "", o = ((R = (m = (w = (D = c == null ? void 0 : c.data) == null ? void 0 : D.result) == null ? void 0 : w[0]) == null ? void 0 : m.key) == null ? void 0 : R.pageKey) ?? "";
1202
+ let f = ((k = (y = (p = (t = c == null ? void 0 : c.data) == null ? void 0 : t.result) == null ? void 0 : p[0]) == null ? void 0 : y.key) == null ? void 0 : k.tableId) ?? "", o = ((j = (m = (_ = (D = c == null ? void 0 : c.data) == null ? void 0 : D.result) == null ? void 0 : _[0]) == null ? void 0 : m.key) == null ? void 0 : j.pageKey) ?? "";
1183
1203
  f && f !== "" ? await Be({
1184
1204
  key: {
1185
1205
  type: a,
@@ -1188,7 +1208,7 @@ const zl = {
1188
1208
  systemKey: n
1189
1209
  },
1190
1210
  value: {
1191
- tableData: Fe(i, (k = Te(s)) == null ? void 0 : k.filter((j) => j !== "操作"))
1211
+ tableData: Fe(i, (B = Te(s)) == null ? void 0 : B.filter((M) => M !== "操作"))
1192
1212
  },
1193
1213
  id: e
1194
1214
  }) : await Be({
@@ -1199,7 +1219,7 @@ const zl = {
1199
1219
  systemKey: n
1200
1220
  },
1201
1221
  value: {
1202
- tableData: Fe(i, (C = Te(s)) == null ? void 0 : C.filter((j) => j !== "操作"))
1222
+ tableData: Fe(i, (S = Te(s)) == null ? void 0 : S.filter((M) => M !== "操作"))
1203
1223
  },
1204
1224
  id: e
1205
1225
  });
@@ -1210,13 +1230,13 @@ const zl = {
1210
1230
  },
1211
1231
  id: a
1212
1232
  });
1213
- }, Nn = async (a, l) => await ee({
1233
+ }, Nn = async (a, l) => await I({
1214
1234
  key: a,
1215
1235
  valueLikes: l
1216
1236
  }), or = async () => {
1217
1237
  var a, l, r, e, n, i, s, c, f;
1218
1238
  try {
1219
- const o = await ee({
1239
+ const o = await I({
1220
1240
  key: {
1221
1241
  systemKey: sessionStorage.getItem("systemKey"),
1222
1242
  layer: "superAdmin"
@@ -1272,108 +1292,108 @@ const zl = {
1272
1292
  },
1273
1293
  emits: ["change", "contentChange", "onButtonClick", "contentClick", "pageChange"],
1274
1294
  setup(a, { emit: l }) {
1275
- const r = a, e = l, n = L([]), i = Ya(), { activeMenuPath: s } = Me(i), c = Bn(Ve), f = cl(Ve), { extraContents: o } = Me(f), t = L([]);
1276
- L(!1);
1277
- const g = L("");
1278
- L();
1279
- const y = L(!0), v = L(0), D = L(!1), w = L(""), m = L(!1), R = L({
1295
+ const r = a, e = l, n = U([]), i = Ya(), { activeMenuPath: s } = Me(i), c = Bn(Ve), f = cl(Ve), { extraContents: o } = Me(f), t = U([]);
1296
+ U(!1);
1297
+ const p = U("");
1298
+ U();
1299
+ const y = U(!0), k = U(0), D = U(!1), _ = U(""), m = U(!1), j = U({
1280
1300
  label: "查看三维模型"
1281
- }), k = L(!1), C = L(), j = L([]), K = L([]), J = L(!1), H = L([]), U = L([]), F = L(), $ = L(), P = on(Ve), _ = L(), X = dn(Ve), { selectIndex: Y, selectMenu: G, selectTitle: q } = Me(X), { selectString: x } = Me(P), W = L(720), Ce = () => {
1301
+ }), B = U(!1), S = U(), M = U([]), T = U([]), J = U(!1), q = U([]), F = U([]), P = U(), $ = U(), K = on(Ve), H = U(), G = dn(Ve), { selectIndex: Q, selectMenu: C, selectTitle: W } = Me(G), { selectString: x } = Me(K), X = U(720), Ce = () => {
1282
1302
  m.value = !1;
1283
1303
  }, be = (u) => {
1284
1304
  e("clickTrigger", u);
1285
1305
  }, N = (u, h) => {
1286
1306
  if (Object.values(h).length !== 0)
1287
1307
  return Object.values(h).find((A) => {
1288
- var B, E, T;
1289
- return ((B = A == null ? void 0 : A.toString()) == null ? void 0 : B.includes(".txt")) || ((E = A == null ? void 0 : A.toString()) == null ? void 0 : E.includes(".cpt")) || ((T = A == null ? void 0 : A.toString()) == null ? void 0 : T.includes(".obj"));
1290
- }) ? [...u, R.value] : u;
1308
+ var R, E, v;
1309
+ return ((R = A == null ? void 0 : A.toString()) == null ? void 0 : R.includes(".txt")) || ((E = A == null ? void 0 : A.toString()) == null ? void 0 : E.includes(".cpt")) || ((v = A == null ? void 0 : A.toString()) == null ? void 0 : v.includes(".obj"));
1310
+ }) ? [...u, j.value] : u;
1291
1311
  }, me = (u) => {
1292
1312
  var E;
1293
- x.value === "" ? u == null || u[0] : (u == null ? void 0 : u.find((T) => (T == null ? void 0 : T.selectLabel) === "(" + x.value + ")")) ?? (u == null || u.find((T) => !(T != null && T.selectLabel)));
1313
+ x.value === "" ? u == null || u[0] : (u == null ? void 0 : u.find((v) => (v == null ? void 0 : v.selectLabel) === "(" + x.value + ")")) ?? (u == null || u.find((v) => !(v != null && v.selectLabel)));
1294
1314
  let h = u;
1295
- (E = n.value) != null && E.find((T) => T.prop === "index");
1296
- let A = F.value;
1297
- const B = [];
1298
- return h == null || h.forEach((T, p) => {
1299
- var I;
1300
- let M = {};
1301
- if (Array.isArray(T)) {
1302
- let V = [];
1303
- T == null || T.filter((Z) => !(Z != null && Z.id)).forEach((Z, ae) => {
1315
+ (E = n.value) != null && E.find((v) => v.prop === "index");
1316
+ let A = P.value;
1317
+ const R = [];
1318
+ return h == null || h.forEach((v, d) => {
1319
+ var ee;
1320
+ let V = {};
1321
+ if (Array.isArray(v)) {
1322
+ let L = [];
1323
+ v == null || v.filter((Z) => !(Z != null && Z.id)).forEach((Z, ae) => {
1304
1324
  var De, z, se, _e, Ae;
1305
1325
  if ((De = A == null ? void 0 : A[ae]) != null && De.prop && !Array.isArray(Z)) {
1306
1326
  let de = {};
1307
- de[A[ae].column] = Z, o != null && o.value && ((z = o == null ? void 0 : o.value) == null ? void 0 : z.length) > 0 && ((se = o == null ? void 0 : o.value) != null && se.find((te) => JSON.stringify(te == null ? void 0 : te[0]) === JSON.stringify(de))) && (V = (_e = o == null ? void 0 : o.value) == null ? void 0 : _e.find((te) => JSON.stringify(te == null ? void 0 : te[0]) === JSON.stringify(de))), V && V.length > 0 ? M[A[ae].prop] = V != null && V.find((te) => {
1327
+ de[A[ae].column] = Z, o != null && o.value && ((z = o == null ? void 0 : o.value) == null ? void 0 : z.length) > 0 && ((se = o == null ? void 0 : o.value) != null && se.find((te) => JSON.stringify(te == null ? void 0 : te[0]) === JSON.stringify(de))) && (L = (_e = o == null ? void 0 : o.value) == null ? void 0 : _e.find((te) => JSON.stringify(te == null ? void 0 : te[0]) === JSON.stringify(de))), L && L.length > 0 ? V[A[ae].prop] = L != null && L.find((te) => {
1308
1328
  var we;
1309
1329
  return ((we = Object.keys(te)) == null ? void 0 : we[0]) === A[ae].column;
1310
- }) ? (Ae = V == null ? void 0 : V.find((te) => {
1330
+ }) ? (Ae = L == null ? void 0 : L.find((te) => {
1311
1331
  var we;
1312
1332
  return ((we = Object.keys(te)) == null ? void 0 : we[0]) === A[ae].column;
1313
- })) == null ? void 0 : Ae[A[ae].column] : Z : M[A[ae].prop] = Z;
1333
+ })) == null ? void 0 : Ae[A[ae].column] : Z : V[A[ae].prop] = Z;
1314
1334
  }
1315
1335
  });
1316
1336
  } else
1317
- M = T;
1318
- Array.isArray(T) && T.some((V) => V == null ? void 0 : V.id) ? B.push(Object.assign(M, { id: (I = T == null ? void 0 : T.find((V) => V.id)) == null ? void 0 : I.id })) : M.id ? B.push(M) : B.push(Object.assign(M, { id: p }));
1319
- }), B;
1337
+ V = v;
1338
+ Array.isArray(v) && v.some((L) => L == null ? void 0 : L.id) ? R.push(Object.assign(V, { id: (ee = v == null ? void 0 : v.find((L) => L.id)) == null ? void 0 : ee.id })) : V.id ? R.push(V) : R.push(Object.assign(V, { id: d }));
1339
+ }), R;
1320
1340
  }, ye = async (u) => {
1321
- var E, T, p, M, I;
1341
+ var E, v, d, V, ee;
1322
1342
  let h = {};
1323
- for (let V in u)
1324
- u[V] !== "" && (h["tableData." + V] = u[V]);
1343
+ for (let L in u)
1344
+ u[L] !== "" && (h["tableData." + L] = u[L]);
1325
1345
  const A = await Nn({
1326
1346
  type: "data",
1327
1347
  tableId: r == null ? void 0 : r.index,
1328
1348
  systemKey: sessionStorage.getItem("systemKey"),
1329
1349
  pageKey: s.value
1330
- }, h), B = (p = (T = (E = d(A)) == null ? void 0 : E.data) == null ? void 0 : T.result) == null ? void 0 : p.map((V) => {
1350
+ }, h), R = (d = (v = (E = g(A)) == null ? void 0 : E.data) == null ? void 0 : v.result) == null ? void 0 : d.map((L) => {
1331
1351
  var ae;
1332
1352
  let Z = [];
1333
1353
  return Z.push({
1334
- id: V.id
1335
- }), Z.push((ae = V == null ? void 0 : V.value) == null ? void 0 : ae.tableData), Z;
1354
+ id: L.id
1355
+ }), Z.push((ae = L == null ? void 0 : L.value) == null ? void 0 : ae.tableData), Z;
1336
1356
  });
1337
- t.value = me(Xe(B, (I = (M = d(n.value)) == null ? void 0 : M.map((V) => V.label)) == null ? void 0 : I.filter((V) => V !== "操作")));
1357
+ t.value = me(Xe(R, (ee = (V = g(n.value)) == null ? void 0 : V.map((L) => L.label)) == null ? void 0 : ee.filter((L) => L !== "操作")));
1338
1358
  }, Ke = async (u) => {
1339
- var B, E, T, p, M, I, V, Z, ae, De;
1340
- const h = (B = d(n.value)) == null ? void 0 : B.filter((z) => z == null ? void 0 : z.isRoute);
1359
+ var R, E, v, d, V, ee, L, Z, ae, De;
1360
+ const h = (R = g(n.value)) == null ? void 0 : R.filter((z) => z == null ? void 0 : z.isRoute);
1341
1361
  if ((h == null ? void 0 : h.length) > 0) {
1342
1362
  let z = (E = h == null ? void 0 : h[0]) == null ? void 0 : E.prop, se = s.value + "/" + (u == null ? void 0 : u[z]), _e = s.value, Ae = await qa(se, sessionStorage.getItem("systemKey"), "", se);
1343
1363
  if ((Ae == null ? void 0 : Ae.length) > 0)
1344
1364
  f.setRouteToChildPath(_e), i.setActiveMenuPath(se);
1345
1365
  else {
1346
1366
  const de = await Al(r == null ? void 0 : r.index);
1347
- de && (se = s.value + "/" + (de == null ? void 0 : de[(T = h == null ? void 0 : h[0]) == null ? void 0 : T.label]), await vl(se, s.value + "/" + (u == null ? void 0 : u[z])), f.setRouteToChildPath(_e), i.setActiveMenuPath(s.value + "/" + (u == null ? void 0 : u[z])));
1367
+ de && (se = s.value + "/" + (de == null ? void 0 : de[(v = h == null ? void 0 : h[0]) == null ? void 0 : v.label]), await vl(se, s.value + "/" + (u == null ? void 0 : u[z])), f.setRouteToChildPath(_e), i.setActiveMenuPath(s.value + "/" + (u == null ? void 0 : u[z])));
1348
1368
  }
1349
1369
  }
1350
1370
  let A = await qa(s.value, sessionStorage.getItem("systemKey"), u.id);
1351
1371
  if (A = A == null ? void 0 : A.filter((z) => z.comp !== "methodButton"), A && A.length > 0) {
1352
- const z = !Array.isArray(q.value) && ((p = q.value) == null ? void 0 : p.key) !== "main" ? [] : q.value;
1372
+ const z = !Array.isArray(W.value) && ((d = W.value) == null ? void 0 : d.key) !== "main" ? [] : W.value;
1353
1373
  z.push({
1354
- key: G.value === "" ? (M = u == null ? void 0 : u.id) == null ? void 0 : M.toString() : G.value + "-" + ((I = u == null ? void 0 : u.id) == null ? void 0 : I.toString()),
1355
- value: u[(V = Object.keys(u)) == null ? void 0 : V.filter((se) => se !== "index" && se !== "id")[0]]
1356
- }), X.setSelectMenu(G.value === "" ? (Z = u == null ? void 0 : u.id) == null ? void 0 : Z.toString() : G.value + "-" + ((ae = u == null ? void 0 : u.id) == null ? void 0 : ae.toString())), X.setSelectTitle(z), X.setSelectIndex((De = u == null ? void 0 : u.id) == null ? void 0 : De.toString()), e("pageChange", A);
1374
+ key: C.value === "" ? (V = u == null ? void 0 : u.id) == null ? void 0 : V.toString() : C.value + "-" + ((ee = u == null ? void 0 : u.id) == null ? void 0 : ee.toString()),
1375
+ value: u[(L = Object.keys(u)) == null ? void 0 : L.filter((se) => se !== "index" && se !== "id")[0]]
1376
+ }), G.setSelectMenu(C.value === "" ? (Z = u == null ? void 0 : u.id) == null ? void 0 : Z.toString() : C.value + "-" + ((ae = u == null ? void 0 : u.id) == null ? void 0 : ae.toString())), G.setSelectTitle(z), G.setSelectIndex((De = u == null ? void 0 : u.id) == null ? void 0 : De.toString()), e("pageChange", A);
1357
1377
  }
1358
1378
  }, Re = (u) => {
1359
1379
  var h;
1360
- (h = d(r.itemData)) == null || h.map((A) => ((A == null ? void 0 : A.key) === "tableContents" && (A.contents = u), A));
1380
+ (h = g(r.itemData)) == null || h.map((A) => ((A == null ? void 0 : A.key) === "tableContents" && (A.contents = u), A));
1361
1381
  }, je = (u, h, A) => {
1362
1382
  e("contentClick", u, h, A, { id: r == null ? void 0 : r.index, type: "table" });
1363
1383
  };
1364
1384
  Ne(
1365
1385
  () => r.changedContent,
1366
1386
  () => {
1367
- var A, B;
1387
+ var A, R;
1368
1388
  if (!r.changedContent) return;
1369
1389
  let u = (A = t.value) == null ? void 0 : A.map((E) => {
1370
- var T;
1371
- return E.id === ((T = r.changedContent) == null ? void 0 : T.id) && (E = {
1390
+ var v;
1391
+ return E.id === ((v = r.changedContent) == null ? void 0 : v.id) && (E = {
1372
1392
  ...r.changedContent,
1373
1393
  id: r.changedContent.newId ? r.changedContent.newId : r.changedContent.id
1374
1394
  }, delete E.newId), E;
1375
1395
  });
1376
- const h = (B = r.itemData) == null ? void 0 : B.map((E) => ((E == null ? void 0 : E.key) === "tableContents" && (E.contents = u), E));
1396
+ const h = (R = r.itemData) == null ? void 0 : R.map((E) => ((E == null ? void 0 : E.key) === "tableContents" && (E.contents = u), E));
1377
1397
  t.value = u, e("contentChange", {
1378
1398
  contents: h,
1379
1399
  index: r.index
@@ -1388,11 +1408,11 @@ const zl = {
1388
1408
  );
1389
1409
  const Ye = () => {
1390
1410
  }, $e = (u, h, A) => {
1391
- var B, E, T;
1392
- if (g.value = "", J.value = !0, y.value = !0, e("onButtonClick", u, h), u === "删除") {
1393
- t.value = (B = d(t.value)) == null ? void 0 : B.filter((M) => (M == null ? void 0 : M.id) !== (h == null ? void 0 : h.id));
1394
- const p = gn(_.value, G.value, h == null ? void 0 : h.id);
1395
- Re(p), e("change", {
1411
+ var R, E, v;
1412
+ if (p.value = "", J.value = !0, y.value = !0, e("onButtonClick", u, h), u === "删除") {
1413
+ t.value = (R = g(t.value)) == null ? void 0 : R.filter((V) => (V == null ? void 0 : V.id) !== (h == null ? void 0 : h.id));
1414
+ const d = gn(H.value, C.value, h == null ? void 0 : h.id);
1415
+ Re(d), e("change", {
1396
1416
  content: t.value,
1397
1417
  singleContent: h,
1398
1418
  index: r == null ? void 0 : r.index,
@@ -1401,73 +1421,73 @@ const zl = {
1401
1421
  column: n.value
1402
1422
  });
1403
1423
  } else if (u === "新增")
1404
- w.value = "新增", Oe(""), m.value = !0;
1424
+ _.value = "新增", Oe(""), m.value = !0;
1405
1425
  else if (u === "编辑")
1406
- w.value = "编辑", Oe(h), m.value = !0;
1426
+ _.value = "编辑", Oe(h), m.value = !0;
1407
1427
  else if (u === "查看")
1408
- w.value = "查看", Oe(h), J.value = !1, y.value = !1, m.value = !0;
1428
+ _.value = "查看", Oe(h), J.value = !1, y.value = !1, m.value = !0;
1409
1429
  else if (u === "查看三维模型") {
1410
- const p = {};
1411
- for (let I in h)
1412
- I !== "id" && (p[I] = h[I]);
1413
- let M = (E = Object.values(p)) == null ? void 0 : E[1];
1414
- c.setTableShowThree(M);
1415
- } else ((T = A == null ? void 0 : A.extra) == null ? void 0 : T.type) === "modelExample" && (w.value = u, k.value = !0);
1430
+ const d = {};
1431
+ for (let ee in h)
1432
+ ee !== "id" && (d[ee] = h[ee]);
1433
+ let V = (E = Object.values(d)) == null ? void 0 : E[1];
1434
+ c.setTableShowThree(V);
1435
+ } else ((v = A == null ? void 0 : A.extra) == null ? void 0 : v.type) === "modelExample" && (_.value = u, B.value = !0);
1416
1436
  }, Oe = (u) => {
1417
- var B, E, T;
1437
+ var R, E, v;
1418
1438
  const h = [];
1419
1439
  let A = [];
1420
- for (let p in u)
1421
- Array.isArray(u == null ? void 0 : u[p]) && A.push(p);
1422
- (E = We((B = d(n.value)) == null ? void 0 : B.filter((p) => (p == null ? void 0 : p.label) !== "操作"))) == null || E.forEach((p, M) => {
1423
- A.find((I) => I === (p == null ? void 0 : p.prop)) || h.push({
1424
- label: (p == null ? void 0 : p.label) ?? "",
1425
- name: (p == null ? void 0 : p.prop) ?? "t" + M,
1426
- type: !(p != null && p.formType) || (p == null ? void 0 : p.formType) === "" ? "Input" : p == null ? void 0 : p.formType,
1427
- value: (u == null ? void 0 : u[p == null ? void 0 : p.prop]) ?? (p == null ? void 0 : p.value) ?? "",
1428
- id: (p == null ? void 0 : p.id) ?? M,
1429
- contents: (p == null ? void 0 : p.options) ?? [],
1440
+ for (let d in u)
1441
+ Array.isArray(u == null ? void 0 : u[d]) && A.push(d);
1442
+ (E = We((R = g(n.value)) == null ? void 0 : R.filter((d) => (d == null ? void 0 : d.label) !== "操作"))) == null || E.forEach((d, V) => {
1443
+ A.find((ee) => ee === (d == null ? void 0 : d.prop)) || h.push({
1444
+ label: (d == null ? void 0 : d.label) ?? "",
1445
+ name: (d == null ? void 0 : d.prop) ?? "t" + V,
1446
+ type: !(d != null && d.formType) || (d == null ? void 0 : d.formType) === "" ? "Input" : d == null ? void 0 : d.formType,
1447
+ value: (u == null ? void 0 : u[d == null ? void 0 : d.prop]) ?? (d == null ? void 0 : d.value) ?? "",
1448
+ id: (d == null ? void 0 : d.id) ?? V,
1449
+ contents: (d == null ? void 0 : d.options) ?? [],
1430
1450
  width: 1,
1431
- isFormColHidden: p == null ? void 0 : p.isFormColHidden
1451
+ isFormColHidden: d == null ? void 0 : d.isFormColHidden
1432
1452
  });
1433
- }), u === "" || !u || (g.value = u == null ? void 0 : u.id), U.value = j.value && ((T = j.value) == null ? void 0 : T.length) > 0 ? ml(j.value) : h;
1453
+ }), u === "" || !u || (p.value = u == null ? void 0 : u.id), F.value = M.value && ((v = M.value) == null ? void 0 : v.length) > 0 ? ml(M.value) : h;
1434
1454
  };
1435
1455
  ia(() => {
1436
- C.value = window.innerWidth - 240 * 2;
1456
+ S.value = window.innerWidth - 240 * 2;
1437
1457
  });
1438
1458
  const oa = () => {
1439
- let u, h = d(t.value);
1440
- g.value === "" ? (v.value++, h.push(Object.assign($.value, { id: v.value })), u = Object.assign($.value, { id: v.value })) : h = h == null ? void 0 : h.map((B) => ((B == null ? void 0 : B.id) === g.value && (B = Object.assign(B, $.value), u = B), B)), t.value = h;
1441
- const A = bn(_.value, G.value, h);
1459
+ let u, h = g(t.value);
1460
+ p.value === "" ? (k.value++, h.push(Object.assign($.value, { id: k.value })), u = Object.assign($.value, { id: k.value })) : h = h == null ? void 0 : h.map((R) => ((R == null ? void 0 : R.id) === p.value && (R = Object.assign(R, $.value), u = R), R)), t.value = h;
1461
+ const A = bn(H.value, C.value, h);
1442
1462
  Re(A), m.value = !1, e("change", {
1443
1463
  content: A,
1444
1464
  singleContent: u,
1445
1465
  index: r == null ? void 0 : r.index,
1446
- buttonName: w.value,
1466
+ buttonName: _.value,
1447
1467
  column: n.value
1448
1468
  });
1449
- }, Q = (u) => {
1469
+ }, Y = (u) => {
1450
1470
  $.value = u, e("onFormChange", u);
1451
1471
  };
1452
1472
  return Ne(
1453
- () => [r.itemData, x.value, Y.value, G.value, o == null ? void 0 : o.value],
1473
+ () => [r.itemData, x.value, Q.value, C.value, o == null ? void 0 : o.value],
1454
1474
  () => {
1455
- var I, V, Z, ae, De, z, se, _e, Ae, de, te, we, ua, fa, ca, ya, pa, da, ga, ha, ba, ma, Aa, va, ka, Ta;
1456
- const u = (I = d(r.itemData)) == null ? void 0 : I.filter((O) => (O == null ? void 0 : O.key) === "header");
1457
- (V = d(r.itemData)) == null || V.filter((O) => (O == null ? void 0 : O.key) === "tableIndexColumn")[0];
1458
- const h = (Z = d(r.itemData)) == null ? void 0 : Z.find((O) => (O == null ? void 0 : O.key) === "page"), A = (ae = d(r.itemData)) == null ? void 0 : ae.find((O) => (O == null ? void 0 : O.key) === "rowButton"), B = (De = d(r.itemData)) == null ? void 0 : De.find((O) => (O == null ? void 0 : O.key) === "extraButton"), E = (z = d(r.itemData)) == null ? void 0 : z.filter((O) => (O == null ? void 0 : O.key) === "tableContents"), T = (se = d(r.itemData)) == null ? void 0 : se.filter((O) => (O == null ? void 0 : O.key) === "tableIndex");
1459
- j.value = (de = (Ae = (_e = d(r.itemData)) == null ? void 0 : _e.filter((O) => (O == null ? void 0 : O.key) === "tableToForm")) == null ? void 0 : Ae[0]) == null ? void 0 : de.contents, D.value = (h == null ? void 0 : h.contents) ?? !1;
1460
- let p = [];
1461
- x.value === "" ? p = u == null ? void 0 : u[0] : p = (u == null ? void 0 : u.find((O) => (O == null ? void 0 : O.selectLabel) === "(" + x.value + ")")) ?? (u == null ? void 0 : u.find((O) => !(O != null && O.selectLabel)));
1462
- let M = [];
1463
- if (x.value === "" ? M = T == null ? void 0 : T[0] : M = (T == null ? void 0 : T.find((O) => (O == null ? void 0 : O.selectLabel) === "(" + x.value + ")")) ?? (T == null ? void 0 : T.find((O) => !(O != null && O.selectLabel))), ((te = p == null ? void 0 : p.contents) == null ? void 0 : te.length) > 0) {
1464
- let O = [];
1465
- if (p != null && p.contents.some((S) => Array.isArray(S) && (S == null ? void 0 : S.find((b) => b.children))))
1466
- G.value === "" ? O = (ua = (we = xa(d(p == null ? void 0 : p.contents))) == null ? void 0 : we[0]) == null ? void 0 : ua.filter((S) => !Array.isArray(S)) : (G.value.split("-"), O = (fa = xa(d(p == null ? void 0 : p.contents))) == null ? void 0 : fa[0]);
1475
+ var ee, L, Z, ae, De, z, se, _e, Ae, de, te, we, ua, fa, ca, ya, pa, da, ga, ha, ba, ma, Aa, va, ka, Ta;
1476
+ const u = (ee = g(r.itemData)) == null ? void 0 : ee.filter((w) => (w == null ? void 0 : w.key) === "header");
1477
+ (L = g(r.itemData)) == null || L.filter((w) => (w == null ? void 0 : w.key) === "tableIndexColumn")[0];
1478
+ const h = (Z = g(r.itemData)) == null ? void 0 : Z.find((w) => (w == null ? void 0 : w.key) === "page"), A = (ae = g(r.itemData)) == null ? void 0 : ae.find((w) => (w == null ? void 0 : w.key) === "rowButton"), R = (De = g(r.itemData)) == null ? void 0 : De.find((w) => (w == null ? void 0 : w.key) === "extraButton"), E = (z = g(r.itemData)) == null ? void 0 : z.filter((w) => (w == null ? void 0 : w.key) === "tableContents"), v = (se = g(r.itemData)) == null ? void 0 : se.filter((w) => (w == null ? void 0 : w.key) === "tableIndex");
1479
+ M.value = (de = (Ae = (_e = g(r.itemData)) == null ? void 0 : _e.filter((w) => (w == null ? void 0 : w.key) === "tableToForm")) == null ? void 0 : Ae[0]) == null ? void 0 : de.contents, D.value = (h == null ? void 0 : h.contents) ?? !1;
1480
+ let d = [];
1481
+ x.value === "" ? d = u == null ? void 0 : u[0] : d = (u == null ? void 0 : u.find((w) => (w == null ? void 0 : w.selectLabel) === "(" + x.value + ")")) ?? (u == null ? void 0 : u.find((w) => !(w != null && w.selectLabel)));
1482
+ let V = [];
1483
+ if (x.value === "" ? V = v == null ? void 0 : v[0] : V = (v == null ? void 0 : v.find((w) => (w == null ? void 0 : w.selectLabel) === "(" + x.value + ")")) ?? (v == null ? void 0 : v.find((w) => !(w != null && w.selectLabel))), ((te = d == null ? void 0 : d.contents) == null ? void 0 : te.length) > 0) {
1484
+ let w = [];
1485
+ if (d != null && d.contents.some((O) => Array.isArray(O) && (O == null ? void 0 : O.find((b) => b.children))))
1486
+ C.value === "" ? w = (ua = (we = xa(g(d == null ? void 0 : d.contents))) == null ? void 0 : we[0]) == null ? void 0 : ua.filter((O) => !Array.isArray(O)) : (C.value.split("-"), w = (fa = xa(g(d == null ? void 0 : d.contents))) == null ? void 0 : fa[0]);
1467
1487
  else {
1468
- const S = p != null && p.contents.some((b) => Array.isArray(b)) ? (ca = p == null ? void 0 : p.contents) == null ? void 0 : ca[0] : p == null ? void 0 : p.contents;
1469
- S == null || S.forEach((b, le) => {
1470
- O.push({
1488
+ const O = d != null && d.contents.some((b) => Array.isArray(b)) ? (ca = d == null ? void 0 : d.contents) == null ? void 0 : ca[0] : d == null ? void 0 : d.contents;
1489
+ O == null || O.forEach((b, le) => {
1490
+ w.push({
1471
1491
  label: (b == null ? void 0 : b.label) ?? "",
1472
1492
  prop: (b == null ? void 0 : b.label) === "操作" ? "operate" : (b == null ? void 0 : b.prop) ?? "a" + le,
1473
1493
  width: (b == null ? void 0 : b.label) === "操作" ? "200" : b != null && b.width ? parseInt(b.width) : "",
@@ -1490,33 +1510,33 @@ const zl = {
1490
1510
  });
1491
1511
  });
1492
1512
  }
1493
- n.value = O;
1494
- let fe = (pa = (ya = bl(d(n.value))) == null ? void 0 : ya.filter((S) => (S == null ? void 0 : S.type) !== "operate")) == null ? void 0 : pa.map((S, b) => ({
1495
- prop: (S == null ? void 0 : S.prop) ?? "a" + b,
1496
- column: S.label
1513
+ n.value = w;
1514
+ let fe = (pa = (ya = bl(g(n.value))) == null ? void 0 : ya.filter((O) => (O == null ? void 0 : O.type) !== "operate")) == null ? void 0 : pa.map((O, b) => ({
1515
+ prop: (O == null ? void 0 : O.prop) ?? "a" + b,
1516
+ column: O.label
1497
1517
  }));
1498
- F.value = fe;
1518
+ P.value = fe;
1499
1519
  let oe = [];
1500
- x.value === "" ? oe = E == null ? void 0 : E[0] : oe = (E == null ? void 0 : E.find((S) => (S == null ? void 0 : S.selectLabel) === "(" + x.value + ")")) ?? (E == null ? void 0 : E.find((S) => !(S != null && S.selectLabel)));
1501
- let Se = Array.isArray((da = oe == null ? void 0 : oe.contents) == null ? void 0 : da[0]) && ((ga = oe == null ? void 0 : oe.contents) != null && ga[0].every((S) => Array.isArray(S))) ? (ha = d(oe == null ? void 0 : oe.contents)) == null ? void 0 : ha[0] : d(oe == null ? void 0 : oe.contents);
1502
- M != null && M.contents && ((ba = M == null ? void 0 : M.contents) == null ? void 0 : ba.length) !== 0 && (Se = (ma = d(Se)) == null ? void 0 : ma.map((S, b) => {
1503
- if (!Array.isArray(S)) {
1520
+ x.value === "" ? oe = E == null ? void 0 : E[0] : oe = (E == null ? void 0 : E.find((O) => (O == null ? void 0 : O.selectLabel) === "(" + x.value + ")")) ?? (E == null ? void 0 : E.find((O) => !(O != null && O.selectLabel)));
1521
+ let Se = Array.isArray((da = oe == null ? void 0 : oe.contents) == null ? void 0 : da[0]) && ((ga = oe == null ? void 0 : oe.contents) != null && ga[0].every((O) => Array.isArray(O))) ? (ha = g(oe == null ? void 0 : oe.contents)) == null ? void 0 : ha[0] : g(oe == null ? void 0 : oe.contents);
1522
+ V != null && V.contents && ((ba = V == null ? void 0 : V.contents) == null ? void 0 : ba.length) !== 0 && (Se = (ma = g(Se)) == null ? void 0 : ma.map((O, b) => {
1523
+ if (!Array.isArray(O)) {
1504
1524
  let le = {};
1505
- for (let Ee in S)
1506
- Ee !== "id" && Ee !== "index" && (le[Ee] = S[Ee]);
1507
- S = Object.values(le);
1525
+ for (let Ee in O)
1526
+ Ee !== "id" && Ee !== "index" && (le[Ee] = O[Ee]);
1527
+ O = Object.values(le);
1508
1528
  }
1509
- return S;
1529
+ return O;
1510
1530
  }));
1511
- const nl = !!((Aa = n.value) != null && Aa.find((S) => S.prop === "index"));
1512
- Se = el(d(Se), M == null ? void 0 : M.contents, nl);
1531
+ const nl = !!((Aa = n.value) != null && Aa.find((O) => O.prop === "index"));
1532
+ Se = el(g(Se), V == null ? void 0 : V.contents, nl);
1513
1533
  const Le = [];
1514
- Se == null || Se.forEach((S, b) => {
1534
+ Se == null || Se.forEach((O, b) => {
1515
1535
  var Ee;
1516
1536
  let le = {};
1517
- if (Array.isArray(S)) {
1537
+ if (Array.isArray(O)) {
1518
1538
  let ne = [];
1519
- S == null || S.filter((ge) => !(ge != null && ge.id)).forEach((ge, ve) => {
1539
+ O == null || O.filter((ge) => !(ge != null && ge.id)).forEach((ge, ve) => {
1520
1540
  var Da, _a, wa, Ca, Ka, Oa;
1521
1541
  if ((Da = fe == null ? void 0 : fe[ve]) != null && Da.prop && !Array.isArray(ge)) {
1522
1542
  let Ze = {};
@@ -1530,18 +1550,18 @@ const zl = {
1530
1550
  } else Array.isArray(ge) && ((Oa = fe[ve]) != null && Oa.prop ? le[fe[ve].prop] = ge : le.children = Ia(ge, fe));
1531
1551
  });
1532
1552
  } else
1533
- le = S;
1534
- Array.isArray(S) && S.some((ne) => ne == null ? void 0 : ne.id) ? Le.push(Object.assign(le, { id: (Ee = S == null ? void 0 : S.find((ne) => ne.id)) == null ? void 0 : Ee.id })) : le.id ? Le.push(le) : Le.push(Object.assign(le, { id: b }));
1553
+ le = O;
1554
+ Array.isArray(O) && O.some((ne) => ne == null ? void 0 : ne.id) ? Le.push(Object.assign(le, { id: (Ee = O == null ? void 0 : O.find((ne) => ne.id)) == null ? void 0 : Ee.id })) : le.id ? Le.push(le) : Le.push(Object.assign(le, { id: b }));
1535
1555
  }), t.value = Le;
1536
1556
  } else
1537
1557
  n.value = [], t.value = [];
1538
- ((va = A == null ? void 0 : A.contents) == null ? void 0 : va.length) > 0 ? K.value = A == null ? void 0 : A.contents : K.value = [], ((ka = B == null ? void 0 : B.contents) == null ? void 0 : ka.length) > 0 ? H.value = B == null ? void 0 : B.contents : H.value = [], v.value = ((Ta = t == null ? void 0 : t.value) == null ? void 0 : Ta.length) ?? 0, _.value = t.value;
1558
+ ((va = A == null ? void 0 : A.contents) == null ? void 0 : va.length) > 0 ? T.value = A == null ? void 0 : A.contents : T.value = [], ((ka = R == null ? void 0 : R.contents) == null ? void 0 : ka.length) > 0 ? q.value = R == null ? void 0 : R.contents : q.value = [], k.value = ((Ta = t == null ? void 0 : t.value) == null ? void 0 : Ta.length) ?? 0, H.value = t.value;
1539
1559
  },
1540
1560
  { deep: !0, immediate: !0 }
1541
1561
  ), Ne(() => r == null ? void 0 : r.operatingForm, (u) => {
1542
- u != null && u.form && (Oe(u == null ? void 0 : u.form), w.value = u == null ? void 0 : u.dialogTitle, J.value = !0, m.value = !0);
1562
+ u != null && u.form && (Oe(u == null ? void 0 : u.form), _.value = u == null ? void 0 : u.dialogTitle, J.value = !0, m.value = !0);
1543
1563
  }, { immediate: !0, deep: !0 }), (u, h) => {
1544
- var B;
1564
+ var R;
1545
1565
  const A = na("el-button");
1546
1566
  return pe(), ke("div", Rn, [
1547
1567
  (pe(), ra(gl, {
@@ -1552,48 +1572,48 @@ const zl = {
1552
1572
  isShowEdit: !1,
1553
1573
  isShowDelete: !1,
1554
1574
  onDbClickRow: Ke,
1555
- extraButton: H.value,
1575
+ extraButton: q.value,
1556
1576
  onContentClick: je
1557
1577
  }, ol({
1558
1578
  headerButton: ie((E) => [
1559
1579
  ue(tn, {
1560
1580
  compName: a.compName,
1561
1581
  buttons: E.buttons,
1562
- onButtonClick: h[0] || (h[0] = (T) => $e(T, "", {})),
1582
+ onButtonClick: h[0] || (h[0] = (v) => $e(v, "", {})),
1563
1583
  columns: n.value,
1564
1584
  onFilter: ye
1565
1585
  }, null, 8, ["compName", "buttons", "columns"])
1566
1586
  ]),
1567
1587
  _: 2
1568
1588
  }, [
1569
- ((B = K.value) == null ? void 0 : B.length) > 0 ? {
1589
+ ((R = T.value) == null ? void 0 : R.length) > 0 ? {
1570
1590
  name: "actions",
1571
1591
  fn: ie(({ item: E }) => [
1572
- (pe(!0), ke(Wa, null, Qa(N(K.value, E), (T, p) => (pe(), ke("div", { key: p }, [
1592
+ (pe(!0), ke(Wa, null, Qa(N(T.value, E), (v, d) => (pe(), ke("div", { key: d }, [
1573
1593
  ce("div", {
1574
- style: Xa({ color: T == null ? void 0 : T.textColor }),
1594
+ style: Xa({ color: v == null ? void 0 : v.textColor }),
1575
1595
  class: "extra-button-label",
1576
- onClick: (M) => $e(T == null ? void 0 : T.label, E, {
1577
- extra: T
1596
+ onClick: (V) => $e(v == null ? void 0 : v.label, E, {
1597
+ extra: v
1578
1598
  })
1579
- }, Pe(T == null ? void 0 : T.label), 13, jn)
1599
+ }, Pe(v == null ? void 0 : v.label), 13, jn)
1580
1600
  ]))), 128))
1581
1601
  ]),
1582
1602
  key: "0"
1583
1603
  } : void 0
1584
1604
  ]), 1032, ["columns", "tableData", "isShowPagination", "extraButton"])),
1585
1605
  ue(Na, {
1586
- title: w.value,
1606
+ title: _.value,
1587
1607
  visible: m.value,
1588
- width: W.value,
1608
+ width: X.value,
1589
1609
  onBeforeDestroy: Ce
1590
1610
  }, {
1591
1611
  default: ie(() => [
1592
1612
  ce("div", $n, [
1593
1613
  ue(Ge, {
1594
- rowContents: U.value,
1614
+ rowContents: F.value,
1595
1615
  isEnableWrap: !1,
1596
- onChange: Q,
1616
+ onChange: Y,
1597
1617
  onClickTrigger: be,
1598
1618
  isEdit: y.value
1599
1619
  }, null, 8, ["rowContents", "isEdit"])
@@ -1627,10 +1647,10 @@ const zl = {
1627
1647
  _: 1
1628
1648
  }, 8, ["title", "visible", "width"]),
1629
1649
  ue(Na, {
1630
- title: w.value,
1631
- visible: k.value,
1632
- width: C.value,
1633
- onBeforeDestroy: h[3] || (h[3] = (E) => k.value = !1)
1650
+ title: _.value,
1651
+ visible: B.value,
1652
+ width: S.value,
1653
+ onBeforeDestroy: h[3] || (h[3] = (E) => B.value = !1)
1634
1654
  }, {
1635
1655
  default: ie(() => [
1636
1656
  ue(pn)
@@ -1638,7 +1658,7 @@ const zl = {
1638
1658
  footer: ie(() => [
1639
1659
  ce("div", Mn, [
1640
1660
  ue(A, {
1641
- onClick: h[2] || (h[2] = (E) => k.value = !1),
1661
+ onClick: h[2] || (h[2] = (E) => B.value = !1),
1642
1662
  class: "cancel-button",
1643
1663
  id: "themeBorderButton"
1644
1664
  }, {