ss-component-new 1.2.113 → 1.2.115

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 (93) hide show
  1. package/dist/{MTLLoader-CxvMDUe0.js → MTLLoader-ChZw6xWv.js} +1 -1
  2. package/dist/{MTLLoader-DGjQiY9j.cjs → MTLLoader-Du7jscN5.cjs} +1 -1
  3. package/dist/{OBJLoader-qAJoaDam.js → OBJLoader-CjBxghms.js} +1 -1
  4. package/dist/{OBJLoader-DJpc8vUj.cjs → OBJLoader-DGv0iaIs.cjs} +1 -1
  5. package/dist/{OrbitControls-Y0_MwO63.cjs → OrbitControls-Bo_mBp8h.cjs} +1 -1
  6. package/dist/{OrbitControls-BMEUSilq.js → OrbitControls-q9rTrMaN.js} +1 -1
  7. package/dist/{URDFLoader-DFaB1rOB.js → URDFLoader-BbpEP04U.js} +2 -2
  8. package/dist/{URDFLoader-z_OD751c.cjs → URDFLoader-Vr0YcMmf.cjs} +1 -1
  9. package/dist/{animationData-DcdD2uXH.cjs → animationData-BCm6_zFX.cjs} +1 -1
  10. package/dist/{animationData-Clde34ha.js → animationData-Cu-nUwtX.js} +1 -1
  11. package/dist/{array-DyI9Z7da.cjs → array-Ce5HiXZM.cjs} +1 -1
  12. package/dist/{array-DdC5qADi.js → array-Doh7RAHg.js} +1 -1
  13. package/dist/{iconfont-Bi9FnKuf.cjs → iconfont-BS0A4Srp.cjs} +1 -1
  14. package/dist/{iconfont-BXKkx1g6.js → iconfont-RGqnbWE0.js} +2 -2
  15. package/dist/{index-CL-M8PGp.js → index-4CkDSXiQ.js} +10 -10
  16. package/dist/{index-BWdy2G65.cjs → index-4QWO0cmt.cjs} +1 -1
  17. package/dist/{index-CoVIQ7yB.cjs → index-B4o8Nb8o.cjs} +1 -1
  18. package/dist/{index-BDUgsfdc.cjs → index-B6a3sUJW.cjs} +1 -1
  19. package/dist/{index-OXqTOaYL.js → index-BPKtA44Y.js} +1 -1
  20. package/dist/{index-6hYePeg5.cjs → index-BQZhQmW4.cjs} +1 -1
  21. package/dist/{index-Dn7a-X3Y.js → index-BXrKm_EY.js} +2 -2
  22. package/dist/{index-CXPAg3zi.cjs → index-BYhjZjl9.cjs} +1 -1
  23. package/dist/{index-BsyhUS4V.cjs → index-BaTVlPay.cjs} +1 -1
  24. package/dist/{index-CH7VgZsg.js → index-BfWXnn2e.js} +5 -5
  25. package/dist/{index-Ddk7mQP9.cjs → index-BmToqlpI.cjs} +1 -1
  26. package/dist/{index-CNyI4C5D.js → index-Bp--2CgX.js} +4 -4
  27. package/dist/{index-BfVijxl4.js → index-C3wEQJ7-.js} +1 -1
  28. package/dist/{index-CWUgMjDD.cjs → index-C43tJFru.cjs} +1 -1
  29. package/dist/index-CEz5dP4D.cjs +1 -0
  30. package/dist/{index-B1DG30Df.cjs → index-CF7ZDRSw.cjs} +1 -1
  31. package/dist/{index-D2J4nD2U.js → index-CH_hR-6t.js} +3 -3
  32. package/dist/{index-D6gzqbUQ.cjs → index-CNBTC3qV.cjs} +1 -1
  33. package/dist/{index-C5pOxrIu.cjs → index-CbaQWEb6.cjs} +1 -1
  34. package/dist/{index-BUC9msP6.cjs → index-Ce85nYZO.cjs} +1 -1
  35. package/dist/{index-DyLovBRT.cjs → index-CgP1r9FH.cjs} +1 -1
  36. package/dist/{index-Ct7FxVrb.js → index-CiaZD4Lw.js} +1 -1
  37. package/dist/{index-Cfh6xox2.js → index-CySsnRMw.js} +1 -1
  38. package/dist/{index-CKtVnHqz.js → index-D2Sqmvo3.js} +1 -1
  39. package/dist/{index-bNwKGgV2.js → index-D5G8hyYX.js} +4 -4
  40. package/dist/{index-Cag9EKDi.js → index-DCIxl_gZ.js} +971 -968
  41. package/dist/{index-4PVKlafX.js → index-DCrLkzl5.js} +1 -1
  42. package/dist/{index-Md9bylWp.cjs → index-DFhskDMM.cjs} +1 -1
  43. package/dist/{index-BAvTpFlb.js → index-DL-N0WPL.js} +1 -1
  44. package/dist/{index-BxrVd7R_.js → index-DQJ7cTj4.js} +1 -1
  45. package/dist/{index-C6VrMmAM.cjs → index-DYY7fQSq.cjs} +1 -1
  46. package/dist/{index-CrLgmQwX.js → index-DcZ9F6gE.js} +516 -521
  47. package/dist/{index-Ddl5YPaT.js → index-DeY6ui7X.js} +7 -7
  48. package/dist/{index-DZ6iK-To.js → index-Dg81xC48.js} +2 -2
  49. package/dist/{index-B8eH4yd_.js → index-DlT4U6c7.js} +1 -1
  50. package/dist/{index-DvR7fcc6.cjs → index-DoQCOt2n.cjs} +1 -1
  51. package/dist/{index-D7uWgp_G.js → index-Dvu-D2YB.js} +1 -1
  52. package/dist/{index-lOzwjQZi.cjs → index-Dw9BZhKc.cjs} +1 -1
  53. package/dist/{index-Ce63svvK.cjs → index-NybE7ES_.cjs} +1 -1
  54. package/dist/{index-BGYM_yzB.js → index-QxsR9_5U.js} +1 -1
  55. package/dist/{index-Dw15nvpm.cjs → index-iSGUQpi1.cjs} +1 -1
  56. package/dist/{index-BgMxvBrj.cjs → index-kyd731ZG.cjs} +1 -1
  57. package/dist/{index-BZBOlP5a.js → index-ufQDKQWq.js} +3 -3
  58. package/dist/{index-PGBtNsFS.cjs → index-w6g6nLke.cjs} +1 -1
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-D1CNkdop.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BlB8Er1e.js} +7 -7
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DzZjQSCB.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DM8z_38o.cjs} +1 -1
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DV9lk-8w.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D86KARi-.js} +10867 -10865
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D_eVz0Sp.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-vSEn_BxR.cjs} +165 -165
  63. package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Bo97w4bj.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-1DnPpHum.cjs} +1 -1
  64. package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Deyo5lI4.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Z4fETtju.js} +4 -4
  65. package/dist/{index.vue_vue_type_style_index_1_lang-Duqg1WtV.js → index.vue_vue_type_style_index_1_lang-B2ZrOvVF.js} +4 -4
  66. package/dist/{index.vue_vue_type_style_index_1_lang-BwsR7epS.cjs → index.vue_vue_type_style_index_1_lang-sLoccwtY.cjs} +1 -1
  67. package/dist/{loaderUtil-Cq8QCp9W.cjs → loaderUtil-EhcWxG87.cjs} +1 -1
  68. package/dist/{loaderUtil-1wRb28no.js → loaderUtil-zatghsLn.js} +1 -1
  69. package/dist/{main-CBFpUWMt.cjs → main-DIdvY4K2.cjs} +1 -1
  70. package/dist/{main-5e5sWLUD.js → main-a6a_9ryo.js} +3 -3
  71. package/dist/ss-component.cjs +1 -1
  72. package/dist/ss-component.css +2 -2
  73. package/dist/ss-component.js +9 -9
  74. package/dist/ss-component2.cjs +1 -1
  75. package/dist/ss-component2.js +10 -10
  76. package/dist/{threeModel-BbUQzHU5.cjs → threeModel-BqyUWmYY.cjs} +1 -1
  77. package/dist/{threeModel-BqpIaxlN.js → threeModel-C-fhCBOv.js} +4 -4
  78. package/dist/{threePreview-Aib1ZmEj.cjs → threePreview-4gCs8AYu.cjs} +1 -1
  79. package/dist/{threePreview-B-BL8PZx.js → threePreview-Bd7q7Vl_.js} +4 -4
  80. package/dist/{threeSceneView-CLF-6z2y.cjs → threeSceneView-ClAXcrXV.cjs} +1 -1
  81. package/dist/{threeSceneView-BVK89QUf.js → threeSceneView-DKDXoCXH.js} +8 -8
  82. package/dist/{threeSceneViewForCPMPIP-BjV_TpZd.js → threeSceneViewForCPMPIP-Bdamvfk1.js} +7 -7
  83. package/dist/{threeSceneViewForCPMPIP-wW_fS1HP.cjs → threeSceneViewForCPMPIP-Cm4U5hzm.cjs} +1 -1
  84. package/dist/{threeTrackPathView-BwlIgu4k.js → threeTrackPathView-N8b2ilJa.js} +4 -4
  85. package/dist/{threeTrackPathView-CjpKhUbd.cjs → threeTrackPathView-kOsdFRa8.cjs} +1 -1
  86. package/dist/{threeViewerHost-EljVz9SK.cjs → threeViewerHost-CL04W08y.cjs} +1 -1
  87. package/dist/{threeViewerHost-D3LMGTE2.js → threeViewerHost-CbpQyudr.js} +2 -2
  88. package/dist/{urdfTree-C1_9e3Ka.js → urdfTree-CR-e6R9V.js} +1 -1
  89. package/dist/{urdfTree-W9sGK4ua.cjs → urdfTree-Cl0WHFV5.cjs} +1 -1
  90. package/dist/{workpieceTreePanel-B5YNWinu.js → workpieceTreePanel-CiWoxido.js} +5 -5
  91. package/dist/{workpieceTreePanel-DrSgMdW9.cjs → workpieceTreePanel-Du-eCh1J.cjs} +1 -1
  92. package/package.json +1 -1
  93. package/dist/index-DnoDETkE.cjs +0 -1
@@ -1,15 +1,15 @@
1
- import { ref as J, watch as He, nextTick as sa, resolveComponent as Qe, createBlock as je, openBlock as I, withCtx as H, createElementVNode as ge, renderSlot as Ba, onMounted as va, createElementBlock as Se, normalizeStyle as Ul, normalizeClass as ln, toDisplayString as Oe, createCommentVNode as _e, createVNode as ne, unref as Ve, Fragment as pl, renderList as fl, createTextVNode as Ye, defineComponent as an, reactive as Rl, inject as tr, provide as cr, onBeforeUnmount as dr, computed as Ma, onUnmounted as pr, createSlots as fr, withDirectives as Fa, vShow as Ka } from "vue";
2
- import { by as za, ay as Ja, c as G, E as Re, bS as nn, g as xl, p as ml, s as Pl, u as gr, f as hr, b as Al, bK as yr, bI as Wa, e as vr, ce as br } from "./index-DIUrwul5.js";
3
- import { D as Hl, ap as Sr, aq as Ql, ar as kr, g as Gl, a as Tr, u as mr, C as Ar, as as Ra, at as qa, au as xr, av as Ur, d as ha, F as Ga, m as Ha, l as Cr, aw as Qa, N as _r, ax as Or, ay as Dr, az as Er, S as jr } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DV9lk-8w.js";
4
- import { d as Ll, a as Xa, u as Pr, i as Lr, e as wr, E as $r } from "./index-CH7VgZsg.js";
5
- import { a as Nr, T as Br } from "./threeViewerHost-D3LMGTE2.js";
6
- import { u as Mr, a as Fr, E as Ya } from "./index-AIq5wzuR.js";
7
- import "./index.vue_vue_type_style_index_1_lang-Duqg1WtV.js";
1
+ import { ref as J, watch as He, nextTick as sa, resolveComponent as Qe, createBlock as je, openBlock as V, withCtx as H, createElementVNode as fe, renderSlot as Ba, onMounted as va, createElementBlock as be, normalizeStyle as xl, normalizeClass as an, toDisplayString as Oe, createCommentVNode as _e, createVNode as re, unref as Ie, Fragment as dl, renderList as pl, createTextVNode as Ye, defineComponent as nn, reactive as Rl, inject as cr, provide as dr, onBeforeUnmount as pr, computed as Ma, onUnmounted as fr, createSlots as gr, withModifiers as Fa, withDirectives as Ka, vShow as za } from "vue";
2
+ import { by as Ja, ay as Wa, c as G, E as Re, bS as rn, g as Al, p as Tl, s as Pl, u as hr, f as yr, b as ml, bK as vr, bI as Ra, e as br, ce as Sr } from "./index-DIUrwul5.js";
3
+ import { D as Hl, ap as kr, aq as Ql, ar as Tr, g as Gl, a as mr, u as Ar, C as xr, as as qa, at as Ga, au as Ur, av as Cr, d as ha, F as Ha, m as Qa, l as _r, aw as Xa, N as Or, ax as Dr, ay as Er, az as jr, S as Pr } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D86KARi-.js";
4
+ import { d as Ll, a as Ya, u as Lr, i as wr, e as $r, E as Nr } from "./index-BfWXnn2e.js";
5
+ import { a as Br, T as Mr } from "./threeViewerHost-CbpQyudr.js";
6
+ import { u as Fr, a as Kr, E as Za } from "./index-AIq5wzuR.js";
7
+ import "./index.vue_vue_type_style_index_1_lang-B2ZrOvVF.js";
8
8
  import { _ as oa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- import { s as ql } from "./index-BxrVd7R_.js";
9
+ import { s as ql } from "./index-DQJ7cTj4.js";
10
10
  import "./index-_lg-jrRI.js";
11
- import { i as Za } from "./isString-CN3i5s9o.js";
12
- const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
11
+ import { i as Ia } from "./isString-CN3i5s9o.js";
12
+ const Va = (w) => w.match(/\((.*)\)/)[1], en = {
13
13
  __name: "index",
14
14
  props: {
15
15
  isVisible: {
@@ -29,12 +29,12 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
29
29
  default: 200
30
30
  }
31
31
  },
32
- setup(L) {
33
- const ee = L, Y = J(null), P = J(!1), j = J(null);
32
+ setup(w) {
33
+ const le = w, Z = J(null), L = J(!1), j = J(null);
34
34
  return He(
35
- () => ee == null ? void 0 : ee.isVisible,
35
+ () => le == null ? void 0 : le.isVisible,
36
36
  () => {
37
- P.value = ee == null ? void 0 : ee.isVisible;
37
+ L.value = le == null ? void 0 : le.isVisible;
38
38
  },
39
39
  { deep: !0, immediate: !0 }
40
40
  ), He(
@@ -42,22 +42,22 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
42
42
  () => {
43
43
  sa(() => {
44
44
  var s, ae;
45
- (ae = (s = Y.value) == null ? void 0 : s.updatePopper) == null || ae.call(s);
45
+ (ae = (s = Z.value) == null ? void 0 : s.updatePopper) == null || ae.call(s);
46
46
  });
47
47
  },
48
48
  { deep: !0, immediate: !0 }
49
49
  ), (s, ae) => {
50
- const he = Qe("el-popover");
51
- return I(), je(he, {
52
- visible: P.value,
53
- title: ee == null ? void 0 : ee.title,
54
- placement: ee == null ? void 0 : ee.placement,
55
- width: ee == null ? void 0 : ee.width,
50
+ const ge = Qe("el-popover");
51
+ return V(), je(ge, {
52
+ visible: L.value,
53
+ title: le == null ? void 0 : le.title,
54
+ placement: le == null ? void 0 : le.placement,
55
+ width: le == null ? void 0 : le.width,
56
56
  ref_key: "popOverRef",
57
- ref: Y
57
+ ref: Z
58
58
  }, {
59
59
  reference: H(() => [
60
- ge("div", null, [
60
+ fe("div", null, [
61
61
  Ba(s.$slots, "reference", {
62
62
  ref_key: "referenceRef",
63
63
  ref: j
@@ -65,7 +65,7 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
65
65
  ])
66
66
  ]),
67
67
  default: H(() => [
68
- ge("div", null, [
68
+ fe("div", null, [
69
69
  Ba(s.$slots, "content")
70
70
  ])
71
71
  ]),
@@ -73,25 +73,25 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
73
73
  }, 8, ["visible", "title", "placement", "width"]);
74
74
  };
75
75
  }
76
- }, Kr = {
76
+ }, zr = {
77
77
  key: 0,
78
78
  class: "extra-button-content"
79
- }, zr = { class: "table-operator-wrap" }, Jr = { class: "extra-button-filter" }, Wr = { class: "form-content-value" }, Rr = {
79
+ }, Jr = { class: "table-operator-wrap" }, Wr = { class: "extra-button-filter" }, Rr = { class: "form-content-value" }, qr = {
80
80
  key: 0,
81
81
  class: "extra-header"
82
- }, qr = {
82
+ }, Gr = {
83
83
  class: "drop-menu",
84
84
  style: { width: "120px" }
85
- }, Gr = { key: 0 }, Hr = { key: 1 }, Qr = {
85
+ }, Hr = { key: 0 }, Qr = { key: 1 }, Xr = {
86
86
  key: 1,
87
87
  class: "extra-button-content tabs-button-wrapper"
88
- }, Xr = { class: "table-operator-wrap" }, Yr = { class: "extra-button-filter" }, Zr = { class: "form-content-value" }, Ir = {
88
+ }, Yr = { class: "table-operator-wrap" }, Zr = { class: "extra-button-filter" }, Ir = { class: "form-content-value" }, Vr = {
89
89
  key: 0,
90
90
  class: "extra-header"
91
- }, Vr = {
91
+ }, eu = {
92
92
  class: "drop-menu",
93
93
  style: { width: "120px" }
94
- }, eu = { key: 0 }, lu = { key: 1 }, au = {
94
+ }, lu = { key: 0 }, au = { key: 1 }, nu = {
95
95
  __name: "header",
96
96
  props: {
97
97
  pageLayout: {
@@ -122,8 +122,8 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
122
122
  }
123
123
  },
124
124
  emits: ["buttonClick", "filter", "getImportData"],
125
- setup(L, { emit: ee }) {
126
- const Y = ee, P = L, j = J(""), s = J(!1), ae = J([]), he = J([{ label: "取消", background: "#999999" }, {
125
+ setup(w, { emit: le }) {
126
+ const Z = le, L = w, j = J(""), s = J(!1), ae = J([]), ge = J([{ label: "取消", background: "#999999" }, {
127
127
  label: "清空",
128
128
  background: "#999999"
129
129
  }, { label: "确认" }]), Ue = [
@@ -139,136 +139,136 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
139
139
  label: "导出",
140
140
  icon: "export"
141
141
  }
142
- ], ye = (de) => {
143
- const me = de.raw;
142
+ ], he = (ce) => {
143
+ const me = ce.raw;
144
144
  if (!me) return;
145
145
  const se = new FileReader();
146
146
  se.onload = (Q) => {
147
147
  try {
148
- const W = new Uint8Array(Q.target.result), Pe = Sr(W, { type: "array" }), Xe = Pe.SheetNames[0], ue = Pe.Sheets[Xe], Ke = Ql.decode_range(ue["!ref"]).e.c + 1, X = new Array(Ke).fill(""), y = [];
148
+ const W = new Uint8Array(Q.target.result), Pe = kr(W, { type: "array" }), Xe = Pe.SheetNames[0], ue = Pe.Sheets[Xe], Ke = Ql.decode_range(ue["!ref"]).e.c + 1, X = new Array(Ke).fill(""), y = [];
149
149
  for (const z in ue) {
150
150
  if (z[0] === "!") continue;
151
- const { r: ce, c: xe } = Ql.decode_cell(z);
151
+ const { r: te, c: xe } = Ql.decode_cell(z);
152
152
  let Le = ue[z].v;
153
- if (ue[z].t === "n" && Le > 0 && Le < 1e6 && (Le = new Date((Le - 25569) * 86400 * 1e3).toISOString().split("T")[0]), (Le == null || Le === "") && (Le = ""), ce === 0)
153
+ if (ue[z].t === "n" && Le > 0 && Le < 1e6 && (Le = new Date((Le - 25569) * 86400 * 1e3).toISOString().split("T")[0]), (Le == null || Le === "") && (Le = ""), te === 0)
154
154
  X[xe] = Le;
155
155
  else {
156
- if (!y[ce - 1]) {
157
- y[ce - 1] = {};
156
+ if (!y[te - 1]) {
157
+ y[te - 1] = {};
158
158
  for (let ze = 0; ze < Ke; ze++)
159
- y[ce - 1][`col_${ze}`] = "";
159
+ y[te - 1][`col_${ze}`] = "";
160
160
  }
161
- y[ce - 1][`col_${xe}`] = Le;
161
+ y[te - 1][`col_${xe}`] = Le;
162
162
  }
163
163
  }
164
164
  for (let z = 0; z < Ke; z++)
165
165
  X[z] === void 0 && (X[z] = "");
166
166
  const $e = y == null ? void 0 : y[0];
167
167
  if (!($e != null && $e.hasOwnProperty("col_0"))) return Re.error("导入的数据列不匹配,请检查是否错位");
168
- Y("getImportData", X, y);
168
+ Z("getImportData", X, y);
169
169
  } catch (W) {
170
170
  throw Re.error(W.message), new Error(W.message);
171
171
  }
172
172
  }, se.readAsArrayBuffer(me);
173
- }, el = (de) => {
173
+ }, Ve = (ce) => {
174
174
  var se;
175
- const me = (se = ae.value) == null ? void 0 : se.reduce((Q, W, Pe) => (Pe === 0 ? Q[W.label] = de : Q[W.label] = W == null ? void 0 : W.value, Q), {});
176
- Y("filter", me, de, !0);
177
- }, il = (de) => {
178
- Y("buttonClick", de);
179
- }, yl = (de) => {
175
+ const me = (se = ae.value) == null ? void 0 : se.reduce((Q, W, Pe) => (Pe === 0 ? Q[W.label] = ce : Q[W.label] = W == null ? void 0 : W.value, Q), {});
176
+ Z("filter", me, ce, !0);
177
+ }, il = (ce) => {
178
+ Z("buttonClick", ce);
179
+ }, hl = (ce) => {
180
180
  var me, se;
181
- ae.value = (se = (me = Hl(G(de))) == null ? void 0 : me.filter((Q) => (Q == null ? void 0 : Q.label) !== "" && (Q == null ? void 0 : Q.label) !== "操作")) == null ? void 0 : se.map((Q) => ({
181
+ ae.value = (se = (me = Hl(G(ce))) == null ? void 0 : me.filter((Q) => (Q == null ? void 0 : Q.label) !== "" && (Q == null ? void 0 : Q.label) !== "操作")) == null ? void 0 : se.map((Q) => ({
182
182
  label: (Q == null ? void 0 : Q.label) ?? "",
183
183
  value: "",
184
184
  name: (Q == null ? void 0 : Q.label) ?? "",
185
185
  isFormColHidden: Q == null ? void 0 : Q.isTableColHidden,
186
186
  width: 2
187
187
  }));
188
- }, we = J(!1), gl = (de) => {
188
+ }, we = J(!1), fl = (ce) => {
189
189
  var me;
190
- if ((de == null ? void 0 : de.buttonName) === "确认" && (Y("filter", de == null ? void 0 : de.content), we.value = (de == null ? void 0 : de.content) && Object.values(de == null ? void 0 : de.content).length > 0), (de == null ? void 0 : de.buttonName) === "清空") {
191
- const se = G(de == null ? void 0 : de.content);
190
+ if ((ce == null ? void 0 : ce.buttonName) === "确认" && (Z("filter", ce == null ? void 0 : ce.content), we.value = (ce == null ? void 0 : ce.content) && Object.values(ce == null ? void 0 : ce.content).length > 0), (ce == null ? void 0 : ce.buttonName) === "清空") {
191
+ const se = G(ce == null ? void 0 : ce.content);
192
192
  for (const Q in se)
193
193
  se[Q] = "";
194
194
  ae.value = (me = ae.value) == null ? void 0 : me.map((Q) => ({
195
195
  ...Q,
196
196
  value: ""
197
- })), Y("filter", se), we.value = !1;
197
+ })), Z("filter", se), we.value = !1;
198
198
  }
199
199
  s.value = !1;
200
- }, hl = () => {
200
+ }, gl = () => {
201
201
  var me, se;
202
202
  ae.value = (me = ae.value) == null ? void 0 : me.map((Q) => ({
203
203
  ...Q,
204
204
  value: ""
205
205
  }));
206
- const de = (se = ae.value) == null ? void 0 : se.reduce((Q, W) => (Q[W.label] = W.value, Q), {});
207
- Y("filter", de);
206
+ const ce = (se = ae.value) == null ? void 0 : se.reduce((Q, W) => (Q[W.label] = W.value, Q), {});
207
+ Z("filter", ce);
208
208
  };
209
209
  return va(() => {
210
- yl(P.columns);
210
+ hl(L.columns);
211
211
  }), He(
212
- () => P.columns,
212
+ () => L.columns,
213
213
  () => {
214
- yl(P.columns);
214
+ hl(L.columns);
215
215
  },
216
216
  { deep: !0, immediate: !0 }
217
- ), (de, me) => {
217
+ ), (ce, me) => {
218
218
  var ue, qe, Ke, X;
219
219
  const se = Qe("el-icon"), Q = Qe("svg-icon"), W = Qe("el-input"), Pe = Qe("el-button"), Xe = Qe("el-upload");
220
- return L.pageLayout === "vertical" ? (I(), Se("div", Kr, [
221
- ge("div", {
222
- class: ln(L.compName ? "table-name-wrap" : ""),
223
- style: Ul({
224
- background: (P == null ? void 0 : P.level) > 1 ? "transparent" : "var(--ssgroup-background)",
225
- paddingLeft: ((P == null ? void 0 : P.level) - 1) * 12 + "px",
226
- fontWeight: 600 - ((P == null ? void 0 : P.level) - 1) * 100 >= 400 ? 600 - ((P == null ? void 0 : P.level) - 1) * 100 : 400,
227
- fontSize: 17 - (P == null ? void 0 : P.level) >= 14 ? 17 - (P == null ? void 0 : P.level) + "px" : "14px"
220
+ return w.pageLayout === "vertical" ? (V(), be("div", zr, [
221
+ fe("div", {
222
+ class: an(w.compName ? "table-name-wrap" : ""),
223
+ style: xl({
224
+ background: (L == null ? void 0 : L.level) > 1 ? "transparent" : "var(--ssgroup-background)",
225
+ paddingLeft: ((L == null ? void 0 : L.level) - 1) * 12 + "px",
226
+ fontWeight: 600 - ((L == null ? void 0 : L.level) - 1) * 100 >= 400 ? 600 - ((L == null ? void 0 : L.level) - 1) * 100 : 400,
227
+ fontSize: 17 - (L == null ? void 0 : L.level) >= 14 ? 17 - (L == null ? void 0 : L.level) + "px" : "14px"
228
228
  })
229
- }, Oe(L.compName), 7),
230
- ge("div", zr, [
231
- ge("div", Jr, [
232
- ne(Va, {
229
+ }, Oe(w.compName), 7),
230
+ fe("div", Jr, [
231
+ fe("div", Wr, [
232
+ re(en, {
233
233
  title: "",
234
234
  width: 800,
235
235
  placement: "bottom-start",
236
236
  isVisible: s.value
237
237
  }, {
238
238
  reference: H(() => {
239
- var y, $e, z, ce;
239
+ var y, $e, z, te;
240
240
  return [
241
- ne(W, {
241
+ re(W, {
242
242
  modelValue: j.value,
243
243
  "onUpdate:modelValue": me[1] || (me[1] = (xe) => j.value = xe),
244
244
  style: { "min-width": "80px" },
245
- placeholder: we.value ? (z = ($e = (y = L.filterValues) == null ? void 0 : y.filter((xe) => xe)) == null ? void 0 : $e.slice(0, 3)) == null ? void 0 : z.join("/") : "搜索",
246
- "prefix-icon": Ve(za),
245
+ placeholder: we.value ? (z = ($e = (y = w.filterValues) == null ? void 0 : y.filter((xe) => xe)) == null ? void 0 : $e.slice(0, 3)) == null ? void 0 : z.join("/") : "搜索",
246
+ "prefix-icon": Ie(Ja),
247
247
  clearable: "",
248
- onInput: el,
249
- disabled: ((ce = ae.value) == null ? void 0 : ce.length) === 0
248
+ onInput: Ve,
249
+ disabled: ((te = ae.value) == null ? void 0 : te.length) === 0
250
250
  }, {
251
251
  suffix: H(() => {
252
252
  var xe, Le;
253
253
  return [
254
- !j.value && ((Le = (xe = L.filterValues) == null ? void 0 : xe.filter((ze) => ze)) != null && Le.join("/")) ? (I(), je(se, {
254
+ !j.value && ((Le = (xe = w.filterValues) == null ? void 0 : xe.filter((ze) => ze)) != null && Le.join("/")) ? (V(), je(se, {
255
255
  key: 0,
256
256
  style: { cursor: "pointer" },
257
- onClick: hl
257
+ onClick: gl
258
258
  }, {
259
259
  default: H(() => [
260
- ne(Ve(Ja))
260
+ re(Ie(Wa))
261
261
  ]),
262
262
  _: 1
263
263
  })) : _e("", !0)
264
264
  ];
265
265
  }),
266
266
  append: H(() => [
267
- ge("span", {
267
+ fe("span", {
268
268
  title: "条件查询",
269
269
  onClick: me[0] || (me[0] = (xe) => s.value = !s.value)
270
270
  }, [
271
- ne(Q, {
271
+ re(Q, {
272
272
  name: "query",
273
273
  style: { width: "15px", height: "15px", cursor: "pointer" }
274
274
  })
@@ -279,41 +279,41 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
279
279
  ];
280
280
  }),
281
281
  content: H(() => [
282
- ge("div", Wr, [
283
- (I(), je(Ll, {
282
+ fe("div", Rr, [
283
+ (V(), je(Ll, {
284
284
  rowContents: ae.value,
285
- buttonValue: he.value,
285
+ buttonValue: ge.value,
286
286
  isRowFlex: !0,
287
287
  isEnableWrap: !1,
288
288
  isButtonRow: !1,
289
- key: he.value,
289
+ key: ge.value,
290
290
  isStartJustify: !1,
291
- onOnButtonClick: gl
291
+ onOnButtonClick: fl
292
292
  }, null, 8, ["rowContents", "buttonValue"]))
293
293
  ])
294
294
  ]),
295
295
  _: 1
296
296
  }, 8, ["isVisible"])
297
297
  ]),
298
- L.buttons && ((ue = L.buttons) == null ? void 0 : ue.length) > 0 ? (I(), Se("div", Rr, [
299
- (I(!0), Se(pl, null, fl((qe = L.buttons) == null ? void 0 : qe.filter((y) => L.isDevMode || (y == null ? void 0 : y.label) !== "修改模板"), (y, $e) => (I(), Se("div", {
298
+ w.buttons && ((ue = w.buttons) == null ? void 0 : ue.length) > 0 ? (V(), be("div", qr, [
299
+ (V(!0), be(dl, null, pl((qe = w.buttons) == null ? void 0 : qe.filter((y) => w.isDevMode || (y == null ? void 0 : y.label) !== "修改模板"), (y, $e) => (V(), be("div", {
300
300
  class: "extra-contents",
301
301
  key: $e
302
302
  }, [
303
- (y == null ? void 0 : y.type) === "upload" ? (I(), je(Xe, {
303
+ (y == null ? void 0 : y.type) === "upload" ? (V(), je(Xe, {
304
304
  key: 0,
305
305
  class: "upload-button-wrap",
306
- "on-change": ye,
306
+ "on-change": he,
307
307
  accept: ".xlsx,.xls",
308
308
  "auto-upload": !1,
309
309
  action: "#",
310
310
  "show-file-list": !1,
311
- disabled: !!L.lockingPage
311
+ disabled: !!w.lockingPage
312
312
  }, {
313
313
  default: H(() => [
314
- ne(Pe, {
315
- disabled: !!L.lockingPage,
316
- style: Ul({ background: (y == null ? void 0 : y.background) ?? "var(--ssbutton-theme-bg)", color: (y == null ? void 0 : y.color) ?? "var(--ssbutton-theme-color)" })
314
+ re(Pe, {
315
+ disabled: !!w.lockingPage,
316
+ style: xl({ background: (y == null ? void 0 : y.background) ?? "var(--ssbutton-theme-bg)", color: (y == null ? void 0 : y.color) ?? "var(--ssbutton-theme-color)" })
317
317
  }, {
318
318
  default: H(() => [
319
319
  Ye(Oe(y == null ? void 0 : y.label), 1)
@@ -323,12 +323,12 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
323
323
  ]),
324
324
  _: 2
325
325
  }, 1032, ["disabled"])) : _e("", !0),
326
- (y == null ? void 0 : y.type) === "popover" ? (I(), je(Xa, { key: 1 }, {
326
+ (y == null ? void 0 : y.type) === "popover" ? (V(), je(Ya, { key: 1 }, {
327
327
  dropTitle: H(() => [
328
- (y == null ? void 0 : y.type) === "popover" ? (I(), je(Pe, {
328
+ (y == null ? void 0 : y.type) === "popover" ? (V(), je(Pe, {
329
329
  key: 0,
330
- disabled: !!L.lockingPage,
331
- style: Ul({ background: (y == null ? void 0 : y.background) ?? "var(--ssbutton-theme-bg)", color: (y == null ? void 0 : y.color) ?? "var(--ssbutton-theme-color)" })
330
+ disabled: !!w.lockingPage,
331
+ style: xl({ background: (y == null ? void 0 : y.background) ?? "var(--ssbutton-theme-bg)", color: (y == null ? void 0 : y.color) ?? "var(--ssbutton-theme-color)" })
332
332
  }, {
333
333
  default: H(() => [
334
334
  Ye(Oe(y == null ? void 0 : y.label), 1)
@@ -337,19 +337,19 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
337
337
  }, 1032, ["disabled", "style"])) : _e("", !0)
338
338
  ]),
339
339
  dropMenu: H(() => [
340
- ge("div", qr, [
341
- (I(!0), Se(pl, null, fl(y == null ? void 0 : y.contents, (z) => (I(), je(Pe, {
340
+ fe("div", Gr, [
341
+ (V(!0), be(dl, null, pl(y == null ? void 0 : y.contents, (z) => (V(), je(Pe, {
342
342
  key: z == null ? void 0 : z.label,
343
- disabled: !!L.lockingPage,
343
+ disabled: !!w.lockingPage,
344
344
  style: { width: "100%", margin: "0", border: "none", display: "flex", "justify-content": "flex-start" },
345
- onClick: (ce) => il(z == null ? void 0 : z.label)
345
+ onClick: (te) => il(z == null ? void 0 : z.label)
346
346
  }, {
347
347
  default: H(() => {
348
- var ce, xe;
348
+ var te, xe;
349
349
  return [
350
350
  Ye(Oe(z == null ? void 0 : z.label), 1),
351
- (ce = z == null ? void 0 : z.label) != null && ce.includes("选中") ? (I(), Se("span", Gr, "(" + Oe(L.selectNums) + ")", 1)) : _e("", !0),
352
- (xe = z == null ? void 0 : z.label) != null && xe.includes("全部") ? (I(), Se("span", Hr, "(" + Oe(L.dataNums) + ")", 1)) : _e("", !0)
351
+ (te = z == null ? void 0 : z.label) != null && te.includes("选中") ? (V(), be("span", Hr, "(" + Oe(w.selectNums) + ")", 1)) : _e("", !0),
352
+ (xe = z == null ? void 0 : z.label) != null && xe.includes("全部") ? (V(), be("span", Qr, "(" + Oe(w.dataNums) + ")", 1)) : _e("", !0)
353
353
  ];
354
354
  }),
355
355
  _: 2
@@ -358,11 +358,11 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
358
358
  ]),
359
359
  _: 2
360
360
  }, 1024)) : _e("", !0),
361
- y != null && y.type ? _e("", !0) : (I(), je(Pe, {
361
+ y != null && y.type ? _e("", !0) : (V(), je(Pe, {
362
362
  key: 2,
363
363
  id: "themeButton",
364
- disabled: !!L.lockingPage,
365
- style: Ul({ background: (y == null ? void 0 : y.background) ?? "var(--ssbutton-theme-bg)", color: (y == null ? void 0 : y.color) ?? "var(--ssbutton-theme-color)" }),
364
+ disabled: !!w.lockingPage,
365
+ style: xl({ background: (y == null ? void 0 : y.background) ?? "var(--ssbutton-theme-bg)", color: (y == null ? void 0 : y.color) ?? "var(--ssbutton-theme-color)" }),
366
366
  onClick: (z) => il(y == null ? void 0 : y.label)
367
367
  }, {
368
368
  default: H(() => [
@@ -373,49 +373,49 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
373
373
  ]))), 128))
374
374
  ])) : _e("", !0)
375
375
  ])
376
- ])) : (I(), Se("div", Qr, [
377
- ge("div", Xr, [
378
- ge("div", Yr, [
379
- ne(Va, {
376
+ ])) : (V(), be("div", Xr, [
377
+ fe("div", Yr, [
378
+ fe("div", Zr, [
379
+ re(en, {
380
380
  title: "",
381
381
  width: 800,
382
382
  placement: "bottom-start",
383
383
  isVisible: s.value
384
384
  }, {
385
385
  reference: H(() => {
386
- var y, $e, z, ce;
386
+ var y, $e, z, te;
387
387
  return [
388
- ne(W, {
388
+ re(W, {
389
389
  modelValue: j.value,
390
390
  "onUpdate:modelValue": me[3] || (me[3] = (xe) => j.value = xe),
391
391
  style: { "min-width": "80px" },
392
- placeholder: we.value ? (z = ($e = (y = L.filterValues) == null ? void 0 : y.filter((xe) => xe)) == null ? void 0 : $e.slice(0, 3)) == null ? void 0 : z.join("/") : "搜索",
393
- "prefix-icon": Ve(za),
392
+ placeholder: we.value ? (z = ($e = (y = w.filterValues) == null ? void 0 : y.filter((xe) => xe)) == null ? void 0 : $e.slice(0, 3)) == null ? void 0 : z.join("/") : "搜索",
393
+ "prefix-icon": Ie(Ja),
394
394
  clearable: "",
395
- onInput: el,
396
- disabled: ((ce = ae.value) == null ? void 0 : ce.length) === 0
395
+ onInput: Ve,
396
+ disabled: ((te = ae.value) == null ? void 0 : te.length) === 0
397
397
  }, {
398
398
  suffix: H(() => {
399
399
  var xe, Le;
400
400
  return [
401
- !j.value && ((Le = (xe = L.filterValues) == null ? void 0 : xe.filter((ze) => ze)) != null && Le.join("/")) ? (I(), je(se, {
401
+ !j.value && ((Le = (xe = w.filterValues) == null ? void 0 : xe.filter((ze) => ze)) != null && Le.join("/")) ? (V(), je(se, {
402
402
  key: 0,
403
403
  style: { cursor: "pointer" },
404
- onClick: hl
404
+ onClick: gl
405
405
  }, {
406
406
  default: H(() => [
407
- ne(Ve(Ja))
407
+ re(Ie(Wa))
408
408
  ]),
409
409
  _: 1
410
410
  })) : _e("", !0)
411
411
  ];
412
412
  }),
413
413
  append: H(() => [
414
- ge("span", {
414
+ fe("span", {
415
415
  title: "条件查询",
416
416
  onClick: me[2] || (me[2] = (xe) => s.value = !s.value)
417
417
  }, [
418
- ne(Q, {
418
+ re(Q, {
419
419
  name: "query",
420
420
  style: { width: "15px", height: "15px", cursor: "pointer" }
421
421
  })
@@ -426,43 +426,43 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
426
426
  ];
427
427
  }),
428
428
  content: H(() => [
429
- ge("div", Zr, [
430
- (I(), je(Ll, {
429
+ fe("div", Ir, [
430
+ (V(), je(Ll, {
431
431
  rowContents: ae.value,
432
- buttonValue: he.value,
432
+ buttonValue: ge.value,
433
433
  isRowFlex: !0,
434
434
  isEnableWrap: !1,
435
435
  isButtonRow: !1,
436
- key: he.value,
436
+ key: ge.value,
437
437
  isStartJustify: !1,
438
- onOnButtonClick: gl
438
+ onOnButtonClick: fl
439
439
  }, null, 8, ["rowContents", "buttonValue"]))
440
440
  ])
441
441
  ]),
442
442
  _: 1
443
443
  }, 8, ["isVisible"])
444
444
  ]),
445
- L.buttons && ((Ke = L.buttons) == null ? void 0 : Ke.length) > 0 ? (I(), Se("div", Ir, [
446
- (I(!0), Se(pl, null, fl((X = L.buttons) == null ? void 0 : X.filter((y) => L.isDevMode || (y == null ? void 0 : y.label) !== "修改模板"), (y, $e) => (I(), Se("div", {
445
+ w.buttons && ((Ke = w.buttons) == null ? void 0 : Ke.length) > 0 ? (V(), be("div", Vr, [
446
+ (V(!0), be(dl, null, pl((X = w.buttons) == null ? void 0 : X.filter((y) => w.isDevMode || (y == null ? void 0 : y.label) !== "修改模板"), (y, $e) => (V(), be("div", {
447
447
  class: "extra-contents",
448
448
  key: $e
449
449
  }, [
450
- (y == null ? void 0 : y.type) === "upload" ? (I(), je(Xe, {
450
+ (y == null ? void 0 : y.type) === "upload" ? (V(), je(Xe, {
451
451
  key: 0,
452
452
  class: "upload-button-wrap",
453
- "on-change": ye,
453
+ "on-change": he,
454
454
  accept: ".xlsx,.xls",
455
455
  "auto-upload": !1,
456
456
  action: "#",
457
457
  "show-file-list": !1
458
458
  }, {
459
459
  default: H(() => [
460
- ne(Pe, { style: { background: "transparent", color: "#666666" } }, {
460
+ re(Pe, { style: { background: "transparent", color: "#666666" } }, {
461
461
  icon: H(() => {
462
462
  var z;
463
463
  return [
464
- ne(Q, {
465
- name: (z = Ue == null ? void 0 : Ue.find((ce) => (ce == null ? void 0 : ce.label) === (y == null ? void 0 : y.label))) == null ? void 0 : z.icon
464
+ re(Q, {
465
+ name: (z = Ue == null ? void 0 : Ue.find((te) => (te == null ? void 0 : te.label) === (y == null ? void 0 : y.label))) == null ? void 0 : z.icon
466
466
  }, null, 8, ["name"])
467
467
  ];
468
468
  }),
@@ -474,17 +474,17 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
474
474
  ]),
475
475
  _: 2
476
476
  }, 1024)) : _e("", !0),
477
- (y == null ? void 0 : y.type) === "popover" ? (I(), je(Xa, { key: 1 }, {
477
+ (y == null ? void 0 : y.type) === "popover" ? (V(), je(Ya, { key: 1 }, {
478
478
  dropTitle: H(() => [
479
- (y == null ? void 0 : y.type) === "popover" ? (I(), je(Pe, {
479
+ (y == null ? void 0 : y.type) === "popover" ? (V(), je(Pe, {
480
480
  key: 0,
481
481
  style: { background: "transparent", color: "#666666" }
482
482
  }, {
483
483
  icon: H(() => {
484
484
  var z;
485
485
  return [
486
- ne(Q, {
487
- name: (z = Ue == null ? void 0 : Ue.find((ce) => (ce == null ? void 0 : ce.label) === (y == null ? void 0 : y.label))) == null ? void 0 : z.icon
486
+ re(Q, {
487
+ name: (z = Ue == null ? void 0 : Ue.find((te) => (te == null ? void 0 : te.label) === (y == null ? void 0 : y.label))) == null ? void 0 : z.icon
488
488
  }, null, 8, ["name"])
489
489
  ];
490
490
  }),
@@ -495,18 +495,18 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
495
495
  }, 1024)) : _e("", !0)
496
496
  ]),
497
497
  dropMenu: H(() => [
498
- ge("div", Vr, [
499
- (I(!0), Se(pl, null, fl(y == null ? void 0 : y.contents, (z) => (I(), je(Pe, {
498
+ fe("div", eu, [
499
+ (V(!0), be(dl, null, pl(y == null ? void 0 : y.contents, (z) => (V(), je(Pe, {
500
500
  key: z == null ? void 0 : z.label,
501
501
  style: { width: "100%", margin: "0", border: "none", display: "flex", "justify-content": "flex-start" },
502
- onClick: (ce) => il(z == null ? void 0 : z.label)
502
+ onClick: (te) => il(z == null ? void 0 : z.label)
503
503
  }, {
504
504
  default: H(() => {
505
- var ce, xe;
505
+ var te, xe;
506
506
  return [
507
507
  Ye(Oe(z == null ? void 0 : z.label), 1),
508
- (ce = z == null ? void 0 : z.label) != null && ce.includes("选中") ? (I(), Se("span", eu, "(" + Oe(L.selectNums) + ")", 1)) : _e("", !0),
509
- (xe = z == null ? void 0 : z.label) != null && xe.includes("全部") ? (I(), Se("span", lu, "(" + Oe(L.dataNums) + ")", 1)) : _e("", !0)
508
+ (te = z == null ? void 0 : z.label) != null && te.includes("选中") ? (V(), be("span", lu, "(" + Oe(w.selectNums) + ")", 1)) : _e("", !0),
509
+ (xe = z == null ? void 0 : z.label) != null && xe.includes("全部") ? (V(), be("span", au, "(" + Oe(w.dataNums) + ")", 1)) : _e("", !0)
510
510
  ];
511
511
  }),
512
512
  _: 2
@@ -515,17 +515,17 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
515
515
  ]),
516
516
  _: 2
517
517
  }, 1024)) : _e("", !0),
518
- y != null && y.type ? _e("", !0) : (I(), je(Pe, {
518
+ y != null && y.type ? _e("", !0) : (V(), je(Pe, {
519
519
  key: 2,
520
520
  id: "themeButton",
521
- style: Ul({ background: "transparent", color: (y == null ? void 0 : y.label) === "新增" ? "var(--ssbutton-theme-bg)" : "#666666" }),
521
+ style: xl({ background: "transparent", color: (y == null ? void 0 : y.label) === "新增" ? "var(--ssbutton-theme-bg)" : "#666666" }),
522
522
  onClick: (z) => il(y == null ? void 0 : y.label)
523
523
  }, {
524
524
  icon: H(() => {
525
525
  var z;
526
526
  return [
527
- ne(Q, {
528
- name: (z = Ue == null ? void 0 : Ue.find((ce) => (ce == null ? void 0 : ce.label) === (y == null ? void 0 : y.label))) == null ? void 0 : z.icon
527
+ re(Q, {
528
+ name: (z = Ue == null ? void 0 : Ue.find((te) => (te == null ? void 0 : te.label) === (y == null ? void 0 : y.label))) == null ? void 0 : z.icon
529
529
  }, null, 8, ["name"])
530
530
  ];
531
531
  }),
@@ -540,7 +540,7 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
540
540
  ]));
541
541
  };
542
542
  }
543
- }, nu = /* @__PURE__ */ oa(au, [["__scopeId", "data-v-dc7dc670"]]), ru = /* @__PURE__ */ an({
543
+ }, ru = /* @__PURE__ */ oa(nu, [["__scopeId", "data-v-dc7dc670"]]), uu = /* @__PURE__ */ nn({
544
544
  __name: "batch",
545
545
  props: {
546
546
  lockingPage: Boolean,
@@ -558,182 +558,182 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
558
558
  }
559
559
  },
560
560
  emits: ["buttonClick"],
561
- setup(L, { emit: ee }) {
562
- const Y = L, P = ee, j = (ae) => {
563
- P("buttonClick", ae);
561
+ setup(w, { emit: le }) {
562
+ const Z = w, L = le, j = (ae) => {
563
+ L("buttonClick", ae);
564
564
  }, s = (ae) => {
565
- var he;
566
- return ae != null && ae.includes("删除") ? ((he = Y.selectTableItems) == null ? void 0 : he.length) > 0 ? "warning-active-type" : "warning-type" : "default-type";
565
+ var ge;
566
+ return ae != null && ae.includes("删除") ? ((ge = Z.selectTableItems) == null ? void 0 : ge.length) > 0 ? "warning-active-type" : "warning-type" : "default-type";
567
567
  };
568
- return (ae, he) => {
568
+ return (ae, ge) => {
569
569
  const Ue = Qe("el-button");
570
- return I(), Se("div", null, [
571
- (I(!0), Se(pl, null, fl(L.buttons, (ye) => (I(), je(Ue, {
572
- key: ye == null ? void 0 : ye.label,
573
- disabled: !!L.lockingPage,
574
- class: ln(s(ye == null ? void 0 : ye.label)),
575
- onClick: (el) => j(ye == null ? void 0 : ye.label)
570
+ return V(), be("div", null, [
571
+ (V(!0), be(dl, null, pl(w.buttons, (he) => (V(), je(Ue, {
572
+ key: he == null ? void 0 : he.label,
573
+ disabled: !!w.lockingPage,
574
+ class: an(s(he == null ? void 0 : he.label)),
575
+ onClick: (Ve) => j(he == null ? void 0 : he.label)
576
576
  }, {
577
577
  default: H(() => [
578
- Ye(Oe(ye == null ? void 0 : ye.label), 1)
578
+ Ye(Oe(he == null ? void 0 : he.label), 1)
579
579
  ]),
580
580
  _: 2
581
581
  }, 1032, ["disabled", "class", "onClick"]))), 128))
582
582
  ]);
583
583
  };
584
584
  }
585
- }), uu = /* @__PURE__ */ oa(ru, [["__scopeId", "data-v-70b12973"]]), su = nn("formToTableComp", {
585
+ }), su = /* @__PURE__ */ oa(uu, [["__scopeId", "data-v-70b12973"]]), ou = rn("formToTableComp", {
586
586
  state: () => ({
587
587
  selectArray: [],
588
588
  selectString: ""
589
589
  }),
590
590
  actions: {
591
- setSelectArray(L) {
592
- this.selectArray = L;
591
+ setSelectArray(w) {
592
+ this.selectArray = w;
593
593
  },
594
- setSelectString(L) {
595
- this.selectString = L;
594
+ setSelectString(w) {
595
+ this.selectString = w;
596
596
  }
597
597
  }
598
- }), ou = { class: "calculator-content" }, iu = { class: "calculator-child" }, tu = { class: "calculator-child" }, cu = /* @__PURE__ */ an({
598
+ }), iu = { class: "calculator-content" }, tu = { class: "calculator-child" }, cu = { class: "calculator-child" }, du = /* @__PURE__ */ nn({
599
599
  __name: "calculator",
600
- setup(L) {
601
- const ee = J(), Y = J();
600
+ setup(w) {
601
+ const le = J(), Z = J();
602
602
  return va(() => {
603
- ee.value = [
603
+ le.value = [
604
604
  {
605
605
  type: "Upload",
606
606
  label: "输入",
607
607
  name: "input"
608
608
  }
609
- ], Y.value = [
609
+ ], Z.value = [
610
610
  {
611
611
  type: "Upload",
612
612
  label: "输出",
613
613
  name: "output"
614
614
  }
615
615
  ];
616
- }), (P, j) => (I(), Se("div", ou, [
617
- ge("div", iu, [
618
- ne(Ll, {
619
- rowContents: ee.value,
616
+ }), (L, j) => (V(), be("div", iu, [
617
+ fe("div", tu, [
618
+ re(Ll, {
619
+ rowContents: le.value,
620
620
  isRowFlex: !0
621
621
  }, null, 8, ["rowContents"])
622
622
  ]),
623
- ge("div", tu, [
624
- ne(Ll, {
625
- rowContents: Y.value,
623
+ fe("div", cu, [
624
+ re(Ll, {
625
+ rowContents: Z.value,
626
626
  isEdit: !1,
627
627
  isRowFlex: !0
628
628
  }, null, 8, ["rowContents"])
629
629
  ])
630
630
  ]));
631
631
  }
632
- }), du = /* @__PURE__ */ oa(cu, [["__scopeId", "data-v-73db0fe7"]]), ya = (L, ee) => {
633
- let Y = L, P = ee;
634
- return Array.isArray(Y) && (Y = Y == null ? void 0 : Y.map((j, s) => {
632
+ }), pu = /* @__PURE__ */ oa(du, [["__scopeId", "data-v-73db0fe7"]]), ya = (w, le) => {
633
+ let Z = w, L = le;
634
+ return Array.isArray(Z) && (Z = Z == null ? void 0 : Z.map((j, s) => {
635
635
  if (Array.isArray(j)) {
636
636
  let ae = {};
637
- return j = j == null ? void 0 : j.forEach((he, Ue) => {
638
- var ye;
639
- (ye = P == null ? void 0 : P[Ue]) != null && ye.prop ? ae[P[Ue].prop] = he : Array.isArray(he) && (ae.children = ya(he, P));
637
+ return j = j == null ? void 0 : j.forEach((ge, Ue) => {
638
+ var he;
639
+ (he = L == null ? void 0 : L[Ue]) != null && he.prop ? ae[L[Ue].prop] = ge : Array.isArray(ge) && (ae.children = ya(ge, L));
640
640
  }), Object.assign(ae, { id: s });
641
641
  } else
642
642
  return j;
643
- })), Y;
644
- }, rn = (L, ee, Y) => {
645
- let P = L, j = ee;
646
- return P = P == null ? void 0 : P.map((s, ae) => {
647
- var he, Ue;
648
- return !Array.isArray(s) || !((he = j == null ? void 0 : j[ae]) != null && he.label) && !Y || (s.unshift(((Ue = j == null ? void 0 : j[ae]) == null ? void 0 : Ue.label) ?? ""), s.some((ye) => Array.isArray(ye)) && (s = s == null ? void 0 : s.map((ye) => {
649
- var el;
650
- return Array.isArray(ye) && (ye = rn(ye, (el = j == null ? void 0 : j[ae]) == null ? void 0 : el.children, Y)), ye;
643
+ })), Z;
644
+ }, un = (w, le, Z) => {
645
+ let L = w, j = le;
646
+ return L = L == null ? void 0 : L.map((s, ae) => {
647
+ var ge, Ue;
648
+ return !Array.isArray(s) || !((ge = j == null ? void 0 : j[ae]) != null && ge.label) && !Z || (s.unshift(((Ue = j == null ? void 0 : j[ae]) == null ? void 0 : Ue.label) ?? ""), s.some((he) => Array.isArray(he)) && (s = s == null ? void 0 : s.map((he) => {
649
+ var Ve;
650
+ return Array.isArray(he) && (he = un(he, (Ve = j == null ? void 0 : j[ae]) == null ? void 0 : Ve.children, Z)), he;
651
651
  }))), s;
652
- }), P;
653
- }, pu = (L, ee, Y) => {
654
- if (ee === "")
655
- return L == null ? void 0 : L.filter((P) => (P == null ? void 0 : P.id) !== Y);
652
+ }), L;
653
+ }, fu = (w, le, Z) => {
654
+ if (le === "")
655
+ return w == null ? void 0 : w.filter((L) => (L == null ? void 0 : L.id) !== Z);
656
656
  {
657
- const P = ee.split("-");
658
- return fu(L, P, Y);
657
+ const L = le.split("-");
658
+ return gu(w, L, Z);
659
659
  }
660
- }, fu = (L, ee, Y) => {
661
- let P = L, j = ee;
662
- return (j == null ? void 0 : j.length) === 0 ? P = P == null ? void 0 : P.filter((s) => s.id !== Y) : P = P == null ? void 0 : P.map((s) => (s.id.toString() === (j == null ? void 0 : j[0]) && (j == null || j.shift(), s = un(s, j, Y)), s)), P;
663
- }, un = (L, ee, Y) => {
660
+ }, gu = (w, le, Z) => {
661
+ let L = w, j = le;
662
+ return (j == null ? void 0 : j.length) === 0 ? L = L == null ? void 0 : L.filter((s) => s.id !== Z) : L = L == null ? void 0 : L.map((s) => (s.id.toString() === (j == null ? void 0 : j[0]) && (j == null || j.shift(), s = sn(s, j, Z)), s)), L;
663
+ }, sn = (w, le, Z) => {
664
664
  var s, ae;
665
- let P = L, j = ee;
666
- return (j == null ? void 0 : j.length) === 0 ? P.children = (s = P.children) == null ? void 0 : s.filter((he) => he.id !== Y) : P.children = (ae = P.children) == null ? void 0 : ae.map((he) => (he.id.toString() === (j == null ? void 0 : j[0]) && (j == null || j.shift(), he = un(he, j, Y)), he)), P;
667
- }, gu = (L, ee, Y) => {
668
- if (ee === "")
669
- return Y;
665
+ let L = w, j = le;
666
+ return (j == null ? void 0 : j.length) === 0 ? L.children = (s = L.children) == null ? void 0 : s.filter((ge) => ge.id !== Z) : L.children = (ae = L.children) == null ? void 0 : ae.map((ge) => (ge.id.toString() === (j == null ? void 0 : j[0]) && (j == null || j.shift(), ge = sn(ge, j, Z)), ge)), L;
667
+ }, hu = (w, le, Z) => {
668
+ if (le === "")
669
+ return Z;
670
670
  {
671
- const P = ee.split("-");
672
- return hu(L, P, Y);
671
+ const L = le.split("-");
672
+ return yu(w, L, Z);
673
673
  }
674
- }, hu = (L, ee, Y) => {
675
- let P = L, j = ee;
676
- return (j == null ? void 0 : j.length) === 0 ? P = Y : P = P == null ? void 0 : P.map((s) => (s.id.toString() === (j == null ? void 0 : j[0]) && (j == null || j.shift(), s = sn(s, j, Y)), s)), P;
677
- }, sn = (L, ee, Y) => {
674
+ }, yu = (w, le, Z) => {
675
+ let L = w, j = le;
676
+ return (j == null ? void 0 : j.length) === 0 ? L = Z : L = L == null ? void 0 : L.map((s) => (s.id.toString() === (j == null ? void 0 : j[0]) && (j == null || j.shift(), s = on(s, j, Z)), s)), L;
677
+ }, on = (w, le, Z) => {
678
678
  var s;
679
- let P = L, j = ee;
680
- return (j == null ? void 0 : j.length) === 0 ? P.children = Y : P.children = (s = P.children) == null ? void 0 : s.map((ae) => (ae.id.toString() === (j == null ? void 0 : j[0]) && (j == null || j.shift(), ae = sn(ae, j, Y)), ae)), P;
681
- }, yu = nn("formComp", {
679
+ let L = w, j = le;
680
+ return (j == null ? void 0 : j.length) === 0 ? L.children = Z : L.children = (s = L.children) == null ? void 0 : s.map((ae) => (ae.id.toString() === (j == null ? void 0 : j[0]) && (j == null || j.shift(), ae = on(ae, j, Z)), ae)), L;
681
+ }, vu = rn("formComp", {
682
682
  state: () => ({
683
683
  objUrl: [],
684
684
  blobUrls: []
685
685
  }),
686
686
  actions: {
687
- setObjUrl(L) {
688
- this.objUrl = L;
687
+ setObjUrl(w) {
688
+ this.objUrl = w;
689
689
  },
690
- setBlobUrls(L) {
691
- this.blobUrls = L;
690
+ setBlobUrls(w) {
691
+ this.blobUrls = w;
692
692
  }
693
693
  }
694
- }), en = async (L, ee) => {
695
- var ae, he, Ue, ye, el, il, yl, we, gl, hl, de, me, se, Q, W, Pe, Xe;
696
- let Y = (he = (ae = G(L)) == null ? void 0 : ae.optionUrl) == null ? void 0 : he.menuSelect, P = [];
697
- Y == null || Y.forEach((ue) => {
694
+ }), ln = async (w, le) => {
695
+ var ae, ge, Ue, he, Ve, il, hl, we, fl, gl, ce, me, se, Q, W, Pe, Xe;
696
+ let Z = (ge = (ae = G(w)) == null ? void 0 : ae.optionUrl) == null ? void 0 : ge.menuSelect, L = [];
697
+ Z == null || Z.forEach((ue) => {
698
698
  });
699
- let j = "", s = await kr(Y);
699
+ let j = "", s = await Tr(Z);
700
700
  if (s == null || s.forEach((ue) => {
701
701
  var qe, Ke, X, y;
702
- (ue == null ? void 0 : ue.name) === (((y = (X = (Ke = (qe = G(L)) == null ? void 0 : qe.optionUrl) == null ? void 0 : Ke.groupSelect) == null ? void 0 : X[0]) == null ? void 0 : y.replaceAll("'", "")) ?? "") && (j = ue == null ? void 0 : ue.id);
703
- }), ee) {
704
- j = ee;
705
- const ue = await xl({
702
+ (ue == null ? void 0 : ue.name) === (((y = (X = (Ke = (qe = G(w)) == null ? void 0 : qe.optionUrl) == null ? void 0 : Ke.groupSelect) == null ? void 0 : X[0]) == null ? void 0 : y.replaceAll("'", "")) ?? "") && (j = ue == null ? void 0 : ue.id);
703
+ }), le) {
704
+ j = le;
705
+ const ue = await Al({
706
706
  id: j
707
- }), qe = (il = (el = (ye = (Ue = ue == null ? void 0 : ue.data) == null ? void 0 : Ue.result) == null ? void 0 : ye[0]) == null ? void 0 : el.key) == null ? void 0 : il.pageKey;
707
+ }), qe = (il = (Ve = (he = (Ue = ue == null ? void 0 : ue.data) == null ? void 0 : Ue.result) == null ? void 0 : he[0]) == null ? void 0 : Ve.key) == null ? void 0 : il.pageKey;
708
708
  s = await Gl(qe, sessionStorage.getItem("systemKey"), "");
709
709
  }
710
710
  if (j !== "") {
711
711
  let ue;
712
- ee ? ue = (yl = s == null ? void 0 : s.find((X) => (X == null ? void 0 : X.id) === ee)) == null ? void 0 : yl.compData : ue = (we = s == null ? void 0 : s.find((X) => {
713
- var y, $e, z, ce;
714
- return (X == null ? void 0 : X.name) === ((($e = (y = L == null ? void 0 : L.groupSelect) == null ? void 0 : y.split(":")) == null ? void 0 : $e[0]) || ((ce = (z = L == null ? void 0 : L.optionUrl) == null ? void 0 : z.groupSelect) == null ? void 0 : ce[0]));
712
+ le ? ue = (hl = s == null ? void 0 : s.find((X) => (X == null ? void 0 : X.id) === le)) == null ? void 0 : hl.compData : ue = (we = s == null ? void 0 : s.find((X) => {
713
+ var y, $e, z, te;
714
+ return (X == null ? void 0 : X.name) === ((($e = (y = w == null ? void 0 : w.groupSelect) == null ? void 0 : y.split(":")) == null ? void 0 : $e[0]) || ((te = (z = w == null ? void 0 : w.optionUrl) == null ? void 0 : z.groupSelect) == null ? void 0 : te[0]));
715
715
  })) == null ? void 0 : we.compData;
716
- let qe = (hl = (gl = ue == null ? void 0 : ue.find((X) => (X == null ? void 0 : X.key) === "header")) == null ? void 0 : gl.contents) == null ? void 0 : hl.map((X) => X == null ? void 0 : X.label);
717
- (me = (de = ue == null ? void 0 : ue.find((X) => (X == null ? void 0 : X.key) === "header")) == null ? void 0 : de.contents) != null && me.every((X) => Array.isArray(X)) && (qe = (W = Hl((Q = (se = ue == null ? void 0 : ue.find((X) => (X == null ? void 0 : X.key) === "header")) == null ? void 0 : se.contents) == null ? void 0 : Q[0])) == null ? void 0 : W.map((X) => X == null ? void 0 : X.prop));
716
+ let qe = (gl = (fl = ue == null ? void 0 : ue.find((X) => (X == null ? void 0 : X.key) === "header")) == null ? void 0 : fl.contents) == null ? void 0 : gl.map((X) => X == null ? void 0 : X.label);
717
+ (me = (ce = ue == null ? void 0 : ue.find((X) => (X == null ? void 0 : X.key) === "header")) == null ? void 0 : ce.contents) != null && me.every((X) => Array.isArray(X)) && (qe = (W = Hl((Q = (se = ue == null ? void 0 : ue.find((X) => (X == null ? void 0 : X.key) === "header")) == null ? void 0 : se.contents) == null ? void 0 : Q[0])) == null ? void 0 : W.map((X) => X == null ? void 0 : X.prop));
718
718
  let Ke = (Xe = (Pe = ue == null ? void 0 : ue.find((X) => (X == null ? void 0 : X.key) === "tableContents")) == null ? void 0 : Pe.contents) == null ? void 0 : Xe.map((X) => (X = X == null ? void 0 : X.filter((y) => !(y != null && y.id)), X));
719
719
  Ke == null || Ke.forEach((X) => {
720
- P.push(Tr(X, qe));
720
+ L.push(mr(X, qe));
721
721
  });
722
722
  }
723
- return P;
724
- }, vu = { class: "table-content" }, bu = { class: "menu-config-wrap" }, Su = ["onClick"], ku = {
723
+ return L;
724
+ }, bu = { class: "table-content" }, Su = { class: "menu-config-wrap" }, ku = ["onClick"], Tu = {
725
725
  key: 0,
726
726
  class: "viewport-wrap"
727
- }, Tu = ["onClick"], mu = { title: "选择显示列信息" }, Au = {
727
+ }, mu = ["onClick"], Au = { title: "选择显示列信息" }, xu = {
728
728
  class: "menu-config-wrap",
729
729
  style: { padding: "0 0 0 16px", "box-sizing": "border-box", "min-height": "200px", width: "400px", overflow: "auto", position: "relative" }
730
- }, xu = ["title"], Uu = { class: "col-operate-wrap" }, Cu = {
730
+ }, Uu = ["title"], Cu = { class: "col-operate-wrap" }, _u = {
731
731
  title: "拖拽排序列",
732
732
  style: { cursor: "move", color: "grey", position: "absolute", right: "15px" }
733
- }, _u = { class: "pop-view" }, Ou = { class: "pop-wrapper" }, Du = { class: "file-list-pop" }, Eu = ["title", "onClick"], ju = ["onClick"], Pu = ["onClick"], Lu = { class: "form-content" }, wu = {
733
+ }, Ou = { class: "pop-view" }, Du = { class: "pop-wrapper" }, Eu = { class: "file-list-pop" }, ju = ["title", "onClick"], Pu = ["onClick"], Lu = ["onClick"], wu = { class: "form-content" }, $u = {
734
734
  key: 0,
735
735
  class: "dialog-footer"
736
- }, $u = { class: "dialog-footer" }, Nu = { class: "form-content" }, Bu = {
736
+ }, Nu = { class: "dialog-footer" }, Bu = { class: "form-content" }, Mu = {
737
737
  __name: "index",
738
738
  props: {
739
739
  pageLayout: {
@@ -808,9 +808,9 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
808
808
  }
809
809
  },
810
810
  emits: ["getSliceContLength", "clickMainKey", "change", "contentChange", "onButtonClick", "contentClick", "pageChange", "rowClick", "routeUrl"],
811
- setup(L, { emit: ee }) {
811
+ setup(w, { emit: le }) {
812
812
  var Na;
813
- const Y = J([]), P = yu(ml), j = J(null), s = L, ae = J(s == null ? void 0 : s.allowSelect), he = J((Na = s == null ? void 0 : s.config) == null ? void 0 : Na.showIndex), Ue = J(), ye = J([
813
+ const Z = J([]), L = vu(Tl), j = J(null), s = w, ae = J(s == null ? void 0 : s.allowSelect), ge = J((Na = s == null ? void 0 : s.config) == null ? void 0 : Na.showIndex), Ue = J(), he = J([
814
814
  {
815
815
  label: "排序",
816
816
  value: "sortable",
@@ -831,9 +831,9 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
831
831
  value: "operable",
832
832
  checked: !1
833
833
  }
834
- ]), el = mr(ml);
834
+ ]), Ve = Ar(Tl);
835
835
  let il = "$R";
836
- const { originalPath: yl } = Pl(el), we = yl.value, gl = J(!1), hl = J(!1), de = J(!1), me = Rl({
836
+ const { originalPath: hl } = Pl(Ve), we = hl.value, fl = J(!1), gl = J(!1), ce = J(!1), me = Rl({
837
837
  column: {},
838
838
  status: !1,
839
839
  text: "合计"
@@ -842,58 +842,58 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
842
842
  pageSize: 10,
843
843
  total: 0,
844
844
  pageSizes: [5, 10, 20, 50, 100]
845
- }), Q = ee, W = J([]), Pe = Rl({ prop: "", order: null }), Xe = J([]), ue = J(!1), qe = J(!1), Ke = J(null), { isUseBackdrop: X, initTrackFileType: y, getFileExtension: $e, setData: z, getFileInfo: ce, getFilesInfo: xe } = Nr(), Le = J([]), ze = J(!1), Cl = J(), Ne = Mr(), { importLoading: Mu, activeMenuPath: ke, contentLoading: Fu, linkMenuInfo: on } = Pl(Ne), tn = Ar(ml), De = Fr(ml), { extraContents: Ae, cacheUpdatingData: wl, tableViewContents: $l, tableLoading: Ku, pageMapState: _l, lockingPage: Xl } = Pl(De), Z = J([]), Yl = J([]), Zl = J(/* @__PURE__ */ new Map());
845
+ }), Q = le, W = J([]), Pe = Rl({ prop: "", order: null }), Xe = J([]), ue = J(!1), qe = J(!1), Ke = J(null), { isUseBackdrop: X, initTrackFileType: y, getFileExtension: $e, setData: z, getFileInfo: te, getFilesInfo: xe } = Br(), Le = J([]), ze = J(!1), Ul = J(), Ne = Fr(), { importLoading: Fu, activeMenuPath: Se, contentLoading: Ku, linkMenuInfo: tn } = Pl(Ne), cn = xr(Tl), De = Kr(Tl), { extraContents: Ae, cacheUpdatingData: wl, tableViewContents: $l, tableLoading: zu, pageMapState: Cl, lockingPage: Xl } = Pl(De), I = J([]), Yl = J([]), Zl = J(/* @__PURE__ */ new Map());
846
846
  J(!1);
847
847
  const tl = J("");
848
848
  J();
849
- const Il = J(!0), Ol = J(0), ba = J(!0), ll = J(""), cl = J(!1), cn = J({
849
+ const Il = J(!0), _l = J(0), ba = J(!0), el = J(""), cl = J(!1), dn = J({
850
850
  label: "查看三维模型"
851
- }), Vl = J(!1), ia = J(), Ze = J([]), vl = J([]), ea = J(!1), Nl = J([]), Dl = J([]), bl = J([]), Be = J([]), al = J(), Je = J(), dn = su(ml), la = J(), ta = J(0), pn = Pr(ml), { selectIndex: fn, selectMenu: Bl, selectTitle: zu } = Pl(pn), { selectString: Sl } = Pl(dn), gn = gr(ml), { loginUserInfo: El } = Pl(gn), hn = J(720), nl = J(!1), aa = J(!1), rl = J([]), kl = J(), Ml = J(!0), Sa = J(!0), Tl = J([]), yn = tr("contentRef");
852
- cr("contentRef", yn), He(() => {
851
+ }), Vl = J(!1), ia = J(), Ze = J([]), yl = J([]), ea = J(!1), Nl = J([]), Ol = J([]), vl = J([]), Me = J([]), ll = J(), Je = J(), pn = ou(Tl), la = J(), ta = J(0), fn = Lr(Tl), { selectIndex: gn, selectMenu: Bl, selectTitle: Ju } = Pl(fn), { selectString: bl } = Pl(pn), hn = hr(Tl), { loginUserInfo: Dl } = Pl(hn), yn = J(720), al = J(!1), aa = J(!1), nl = J([]), Sl = J(), Ml = J(!0), Sa = J(!0), kl = J([]), vn = cr("contentRef");
852
+ dr("contentRef", vn), He(() => {
853
853
  var e;
854
- return (e = Z.value) == null ? void 0 : e.length;
854
+ return (e = I.value) == null ? void 0 : e.length;
855
855
  }, (e) => {
856
856
  se.total = e;
857
857
  }), He(
858
858
  () => $l.value,
859
859
  async () => {
860
- var o, c, d, p, f, S, D, B, h, O, E, _, M, N, $, r, U, g;
861
- if (((o = $l.value) == null ? void 0 : o.length) === 0 || !((c = s == null ? void 0 : s.itemData) != null && c.find((m) => (m == null ? void 0 : m.key) === "columnPath")) || !((d = s == null ? void 0 : s.itemData) != null && d.find((m) => (m == null ? void 0 : m.key) === "pageColumn"))) return;
862
- let e = (h = (B = (D = (S = (f = (p = s == null ? void 0 : s.itemData) == null ? void 0 : p.find((m) => (m == null ? void 0 : m.key) === "pageColumn")) == null ? void 0 : f.contents) == null ? void 0 : S.split("[")) == null ? void 0 : D[1]) == null ? void 0 : B.split("]")) == null ? void 0 : h[0], l = ((M = (_ = (E = (O = s == null ? void 0 : s.itemData) == null ? void 0 : O.find((m) => (m == null ? void 0 : m.key) === "pageColumn")) == null ? void 0 : E.contents) == null ? void 0 : _.split("[")) == null ? void 0 : M[0]) + (($ = (N = $l.value) == null ? void 0 : N.find((m) => (m == null ? void 0 : m.key) === e)) == null ? void 0 : $.value), n = ((U = (r = s == null ? void 0 : s.itemData) == null ? void 0 : r.find((m) => (m == null ? void 0 : m.key) === "pageGroup")) == null ? void 0 : U.contents) ?? "", a = await Gl(l, sessionStorage.getItem("systemKey"), ""), u = (g = a == null ? void 0 : a.find((m) => (m == null ? void 0 : m.name) === (n === "" ? s == null ? void 0 : s.compName : n))) == null ? void 0 : g.compData;
860
+ var o, c, d, p, f, k, D, M, h, O, E, _, F, B, N, r, U, g;
861
+ if (((o = $l.value) == null ? void 0 : o.length) === 0 || !((c = s == null ? void 0 : s.itemData) != null && c.find((A) => (A == null ? void 0 : A.key) === "columnPath")) || !((d = s == null ? void 0 : s.itemData) != null && d.find((A) => (A == null ? void 0 : A.key) === "pageColumn"))) return;
862
+ let e = (h = (M = (D = (k = (f = (p = s == null ? void 0 : s.itemData) == null ? void 0 : p.find((A) => (A == null ? void 0 : A.key) === "pageColumn")) == null ? void 0 : f.contents) == null ? void 0 : k.split("[")) == null ? void 0 : D[1]) == null ? void 0 : M.split("]")) == null ? void 0 : h[0], l = ((F = (_ = (E = (O = s == null ? void 0 : s.itemData) == null ? void 0 : O.find((A) => (A == null ? void 0 : A.key) === "pageColumn")) == null ? void 0 : E.contents) == null ? void 0 : _.split("[")) == null ? void 0 : F[0]) + ((N = (B = $l.value) == null ? void 0 : B.find((A) => (A == null ? void 0 : A.key) === e)) == null ? void 0 : N.value), n = ((U = (r = s == null ? void 0 : s.itemData) == null ? void 0 : r.find((A) => (A == null ? void 0 : A.key) === "pageGroup")) == null ? void 0 : U.contents) ?? "", a = await Gl(l, sessionStorage.getItem("systemKey"), ""), u = (g = a == null ? void 0 : a.find((A) => (A == null ? void 0 : A.name) === (n === "" ? s == null ? void 0 : s.compName : n))) == null ? void 0 : g.compData;
863
863
  wa(u, s.allMapContents);
864
864
  },
865
865
  { deep: !0 }
866
866
  );
867
- const vn = async (e, l) => {
867
+ const bn = async (e, l) => {
868
868
  var n, a, u, o, c;
869
869
  try {
870
- const d = await xl({ id: (s == null ? void 0 : s.parentTableId) || (s == null ? void 0 : s.index) });
870
+ const d = await Al({ id: (s == null ? void 0 : s.parentTableId) || (s == null ? void 0 : s.index) });
871
871
  let p;
872
872
  ((n = d == null ? void 0 : d.data) == null ? void 0 : n.code) === 200 && (p = ((u = (a = d == null ? void 0 : d.data) == null ? void 0 : a.result) == null ? void 0 : u[0]) || null);
873
873
  const f = {
874
874
  type: "data",
875
- pageKey: s != null && s.parentTableId ? (o = p == null ? void 0 : p.key) == null ? void 0 : o.pageKey : ke.value,
875
+ pageKey: s != null && s.parentTableId ? (o = p == null ? void 0 : p.key) == null ? void 0 : o.pageKey : Se.value,
876
876
  tableId: (s == null ? void 0 : s.parentTableId) || (s == null ? void 0 : s.index),
877
877
  systemKey: sessionStorage.getItem("systemKey")
878
- }, S = l == null ? void 0 : l.map((h) => {
878
+ }, k = l == null ? void 0 : l.map((h) => {
879
879
  const O = Object.keys(h), E = {};
880
- return O.forEach((_, M) => {
881
- E[e[M]] = h[_];
880
+ return O.forEach((_, F) => {
881
+ E[e[F]] = h[_];
882
882
  }), E;
883
- }), D = S == null ? void 0 : S.map((h) => ({
883
+ }), D = k == null ? void 0 : k.map((h) => ({
884
884
  key: f,
885
885
  value: {
886
886
  tableData: h
887
887
  }
888
- })), B = await Wa({ dataList: D });
889
- ((c = B == null ? void 0 : B.data) == null ? void 0 : c.code) === 200 ? (De.setRefreshCurStructure(!0), Re.success("导入数据成功")) : Re.error("导入数据响应失败");
888
+ })), M = await Ra({ dataList: D });
889
+ ((c = M == null ? void 0 : M.data) == null ? void 0 : c.code) === 200 ? (De.setRefreshCurStructure(!0), Re.success("导入数据成功")) : Re.error("导入数据响应失败");
890
890
  } catch (d) {
891
891
  throw Re.error("导入数据处理失败"), new Error(d);
892
892
  }
893
- }, bn = async (e) => {
893
+ }, Sn = async (e) => {
894
894
  var l, n, a, u, o;
895
895
  if ((l = e == null ? void 0 : e.toString()) != null && l.includes(".txt") || (n = e == null ? void 0 : e.toString()) != null && n.includes(".cpt") || (a = e == null ? void 0 : e.toString()) != null && a.includes(".cyd")) {
896
- const c = await Al.get(e, {
896
+ const c = await ml.get(e, {
897
897
  responseType: "blob",
898
898
  // 必须设置
899
899
  headers: {
@@ -903,13 +903,13 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
903
903
  type: "application/octet-stream;charset=UTF-8"
904
904
  });
905
905
  let p = URL.createObjectURL(d);
906
- Cl.value = [{
906
+ Ul.value = [{
907
907
  name: (o = e == null ? void 0 : e.split("/")) == null ? void 0 : o[((u = e == null ? void 0 : e.split("/")) == null ? void 0 : u.length) - 1],
908
908
  blobUrl: p
909
909
  }], ze.value = !0;
910
910
  }
911
911
  };
912
- dr(() => {
912
+ pr(() => {
913
913
  Sa.value = !1;
914
914
  let e = ta.value;
915
915
  ta.value = e + 1;
@@ -920,40 +920,40 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
920
920
  var c;
921
921
  return (o == null ? void 0 : o.sortable) && ((c = o == null ? void 0 : o.label) == null ? void 0 : c.includes("时间"));
922
922
  });
923
- return n && (Pe.order = "descending", Pe.prop = n == null ? void 0 : n.prop), Q("getSliceContLength", se), (u = Z.value) == null ? void 0 : u.slice(e, l);
924
- }), Sn = (e) => {
923
+ return n && (Pe.order = "descending", Pe.prop = n == null ? void 0 : n.prop), Q("getSliceContLength", se), (u = I.value) == null ? void 0 : u.slice(e, l);
924
+ }), kn = (e) => {
925
925
  se.currentPage = e, Q("getSliceContLength", se);
926
- }, kn = (e) => {
926
+ }, Tn = (e) => {
927
927
  var l;
928
- se.pageSize = e, e * se.currentPage > ((l = Z.value) == null ? void 0 : l.length) && (se.currentPage = 1, se.pageSize = 10, Re.warning("分页无效,返回第一页")), Q("getSliceContLength", se);
929
- }, Tn = (e, l) => {
928
+ se.pageSize = e, e * se.currentPage > ((l = I.value) == null ? void 0 : l.length) && (se.currentPage = 1, se.pageSize = 10, Re.warning("分页无效,返回第一页")), Q("getSliceContLength", se);
929
+ }, mn = (e, l) => {
930
930
  var c, d;
931
931
  const n = (d = (c = W.value) == null ? void 0 : c.map((p) => p == null ? void 0 : p.prop)) == null ? void 0 : d.filter((p) => p !== "operate");
932
932
  let a;
933
933
  const u = (e == null ? void 0 : e.length) === (n == null ? void 0 : n.length);
934
934
  if (e != null && e.includes("序号")) return Re.error("导入的数据不需要包含序号列");
935
935
  if (a = u ? e : e.slice(0, n == null ? void 0 : n.length), !(a == null ? void 0 : a.every((p) => n == null ? void 0 : n.find((f) => p === f)))) return Re.error("导入的数据表头不匹配");
936
- vn(a, l);
937
- }, mn = (e, l) => {
936
+ bn(a, l);
937
+ }, An = (e, l) => {
938
938
  var n;
939
- De.setRefreshCurStructure(!1), ((n = W.value) == null ? void 0 : n.length) === 0 || Tn(e, l);
940
- }, An = (e, l, n, a) => {
939
+ De.setRefreshCurStructure(!1), ((n = W.value) == null ? void 0 : n.length) === 0 || mn(e, l);
940
+ }, xn = (e, l, n, a) => {
941
941
  const u = [], o = [], c = (f) => Object.keys(f).length;
942
942
  for (const f in e)
943
943
  if (e[f] !== void 0) {
944
- const S = e[f], D = [];
945
- for (const [B, h] of Object.entries(S))
946
- D.push(h), o.length < c(S) && o.push(B);
944
+ const k = e[f], D = [];
945
+ for (const [M, h] of Object.entries(k))
946
+ D.push(h), o.length < c(k) && o.push(M);
947
947
  u.push(D);
948
948
  }
949
949
  u.unshift(o);
950
950
  const d = Ql.aoa_to_sheet(u), p = Ql.book_new();
951
- Ql.book_append_sheet(p, d, a), Er(p, `${l}.xlsx`), rl.value = [];
951
+ Ql.book_append_sheet(p, d, a), jr(p, `${l}.xlsx`), nl.value = [];
952
952
  }, na = async (e, l, n, a = !1, u) => {
953
- var o, c, d, p, f, S, D, B;
953
+ var o, c, d, p, f, k, D, M;
954
954
  try {
955
955
  De.setRefreshCurStructure(!1);
956
- const h = await xl({
956
+ const h = await Al({
957
957
  id: s == null ? void 0 : s.index
958
958
  });
959
959
  if (((o = h == null ? void 0 : h.data) == null ? void 0 : o.code) === 200) {
@@ -961,55 +961,55 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
961
961
  a ? O = {
962
962
  ...O,
963
963
  compData: (D = O == null ? void 0 : O.compData) == null ? void 0 : D.map((_) => {
964
- var M;
964
+ var F;
965
965
  return (_ == null ? void 0 : _.key) === "header" ? {
966
966
  ..._,
967
- contents: (M = _ == null ? void 0 : _.contents) == null ? void 0 : M.map((N) => ({
968
- ...N,
967
+ contents: (F = _ == null ? void 0 : _.contents) == null ? void 0 : F.map((B) => ({
968
+ ...B,
969
969
  [e]: n
970
970
  }))
971
971
  } : _;
972
972
  })
973
973
  } : O = {
974
974
  ...O,
975
- compData: (S = O == null ? void 0 : O.compData) == null ? void 0 : S.map((_) => {
976
- var M, N;
975
+ compData: (k = O == null ? void 0 : O.compData) == null ? void 0 : k.map((_) => {
976
+ var F, B;
977
977
  return (_ == null ? void 0 : _.key) === "header" ? {
978
978
  ..._,
979
- contents: (M = _ == null ? void 0 : _.contents) == null ? void 0 : M.map(($) => ($ == null ? void 0 : $.prop) === (l == null ? void 0 : l.prop) ? {
980
- ...$,
979
+ contents: (F = _ == null ? void 0 : _.contents) == null ? void 0 : F.map((N) => (N == null ? void 0 : N.prop) === (l == null ? void 0 : l.prop) ? {
980
+ ...N,
981
981
  [e]: n
982
- } : $)
982
+ } : N)
983
983
  } : (_ == null ? void 0 : _.key) === "tableToForm" && u ? {
984
984
  ..._,
985
- contents: (N = _ == null ? void 0 : _.contents) == null ? void 0 : N.map(($) => ($ == null ? void 0 : $.prop) === (l == null ? void 0 : l.prop) ? {
986
- ...$,
985
+ contents: (B = _ == null ? void 0 : _.contents) == null ? void 0 : B.map((N) => (N == null ? void 0 : N.prop) === (l == null ? void 0 : l.prop) ? {
986
+ ...N,
987
987
  [u]: n
988
- } : $)
988
+ } : N)
989
989
  } : _;
990
990
  })
991
991
  };
992
- const E = await vr({
992
+ const E = await br({
993
993
  id: s == null ? void 0 : s.index,
994
994
  value: {
995
995
  pageData: O
996
996
  }
997
997
  });
998
- ((B = E == null ? void 0 : E.data) == null ? void 0 : B.code) === 200 ? (Re.success("编辑成功"), De.setRefreshCurStructure(!0)) : Re.error("编辑响应失败");
998
+ ((M = E == null ? void 0 : E.data) == null ? void 0 : M.code) === 200 ? (Re.success("编辑成功"), De.setRefreshCurStructure(!0)) : Re.error("编辑响应失败");
999
999
  }
1000
1000
  } catch (h) {
1001
1001
  Re.error(h);
1002
1002
  }
1003
- }, xn = async (e, l) => {
1004
- await na("label", l, e);
1005
1003
  }, Un = async (e, l) => {
1004
+ await na("label", l, e);
1005
+ }, Cn = async (e, l) => {
1006
1006
  await na("columnType", l, e, !1, "type");
1007
- }, Cn = () => {
1008
- wl.value ? nl.value = !1 : $a();
1009
- }, _n = (e) => {
1010
- rl.value = e;
1011
- }, On = (e, l) => {
1012
- kl.value === l ? Ml.value = !1 : Ml.value = !0, kl.value = l == null ? void 0 : l.changeProp;
1007
+ }, _n = () => {
1008
+ wl.value ? al.value = !1 : $a();
1009
+ }, On = (e) => {
1010
+ nl.value = e;
1011
+ }, Dn = (e, l) => {
1012
+ Sl.value === l ? Ml.value = !1 : Ml.value = !0, Sl.value = l == null ? void 0 : l.changeProp;
1013
1013
  }, Fl = Ma(() => {
1014
1014
  var n, a, u;
1015
1015
  const e = (n = W.value) == null ? void 0 : n.some((o) => o == null ? void 0 : o.filterable);
@@ -1019,7 +1019,7 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1019
1019
  showSummary: !!(o != null && o.showSummary),
1020
1020
  operable: !!(o != null && o.operable)
1021
1021
  }));
1022
- }), Dn = async (e, l, n) => {
1022
+ }), En = async (e, l, n) => {
1023
1023
  const a = G(W.value);
1024
1024
  await sa(), W.value = a == null ? void 0 : a.map((u) => (n == null ? void 0 : n.label) === (u == null ? void 0 : u.label) ? {
1025
1025
  ...u,
@@ -1027,12 +1027,12 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1027
1027
  } : u), await na(l, n, e);
1028
1028
  }, ca = async (e, l) => {
1029
1029
  await na(l, null, e, !0);
1030
- }, En = () => {
1030
+ }, jn = () => {
1031
1031
  cl.value = !1;
1032
- }, jn = (e) => {
1032
+ }, Pn = (e) => {
1033
1033
  Q("clickTrigger", e);
1034
1034
  }, Ta = async (e) => {
1035
- var o, c, d, p, f, S, D, B, h, O, E, _, M, N, $;
1035
+ var o, c, d, p, f, k, D, M, h, O, E, _, F, B, N;
1036
1036
  const l = e == null ? void 0 : e.row, n = e == null ? void 0 : e.rowData, a = e == null ? void 0 : e.suffix;
1037
1037
  if ((o = l == null ? void 0 : l.toString()) != null && o.includes(".urdf") || e != null && e.isUrdf || a != null && a.includes(".urdf")) {
1038
1038
  if (l.includes(",")) {
@@ -1041,7 +1041,7 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1041
1041
  }
1042
1042
  if (X(l)) {
1043
1043
  const U = {
1044
- files: [ce(l)],
1044
+ files: [te(l)],
1045
1045
  data: {}
1046
1046
  };
1047
1047
  z(U);
@@ -1057,7 +1057,7 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1057
1057
  }
1058
1058
  let u = [];
1059
1059
  if ((c = l == null ? void 0 : l.toString()) != null && c.includes(".stl") || (d = l == null ? void 0 : l.toString()) != null && d.includes(".STL") || (p = l == null ? void 0 : l.toString()) != null && p.includes(".obj") || (f = l == null ? void 0 : l.toString()) != null && f.includes(".mtl")) {
1060
- const r = (S = l == null ? void 0 : l.toString()) == null ? void 0 : S.split(","), U = xe(r), g = U == null ? void 0 : U[0];
1060
+ const r = (k = l == null ? void 0 : l.toString()) == null ? void 0 : k.split(","), U = xe(r), g = U == null ? void 0 : U[0];
1061
1061
  if (X(g == null ? void 0 : g.extension)) {
1062
1062
  z({
1063
1063
  files: U,
@@ -1068,27 +1068,27 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1068
1068
  Nl.value = U, qe.value = !1, ue.value = !0;
1069
1069
  return;
1070
1070
  }
1071
- if ((D = l == null ? void 0 : l.toString()) != null && D.includes(".stl") || (B = l == null ? void 0 : l.toString()) != null && B.includes(".STL") || (h = l == null ? void 0 : l.toString()) != null && h.includes(".obj") || (O = l == null ? void 0 : l.toString()) != null && O.includes(".mtl") || a != null && a.includes(".stl") || a != null && a.includes(".STL") || a != null && a.includes(".obj") || a != null && a.includes(".mtl")) {
1071
+ if ((D = l == null ? void 0 : l.toString()) != null && D.includes(".stl") || (M = l == null ? void 0 : l.toString()) != null && M.includes(".STL") || (h = l == null ? void 0 : l.toString()) != null && h.includes(".obj") || (O = l == null ? void 0 : l.toString()) != null && O.includes(".mtl") || a != null && a.includes(".stl") || a != null && a.includes(".STL") || a != null && a.includes(".obj") || a != null && a.includes(".mtl")) {
1072
1072
  let r, U = [], g = {};
1073
- if (Array.isArray(l) ? r = l : r = l == null ? void 0 : l.split(","), r == null || r.forEach((m) => {
1074
- m.includes(".mtl") ? U.push(m) : g.blob = g.blob ? g.blob + "," + m : m;
1073
+ if (Array.isArray(l) ? r = l : r = l == null ? void 0 : l.split(","), r == null || r.forEach((A) => {
1074
+ A.includes(".mtl") ? U.push(A) : g.blob = g.blob ? g.blob + "," + A : A;
1075
1075
  }), (U == null ? void 0 : U.length) > 0 && (g.mtlBlobs = U), a && (g.suffix = a), (_ = (E = Object.values(g)) == null ? void 0 : E[0]) != null && _.includes("http:"))
1076
1076
  u.push(g);
1077
1077
  else {
1078
- const m = new Blob([g.blob], {
1078
+ const A = new Blob([g.blob], {
1079
1079
  type: "application/octet-stream;charset=UTF-8"
1080
1080
  });
1081
- let v = URL.createObjectURL(m), R = "";
1082
- (M = l == null ? void 0 : l.split("/")) == null || M.forEach((i, k) => {
1081
+ let v = URL.createObjectURL(A), R = "";
1082
+ (F = l == null ? void 0 : l.split("/")) == null || F.forEach((i, T) => {
1083
1083
  var b;
1084
- k === ((b = l == null ? void 0 : l.split("/")) == null ? void 0 : b.length) - 1 && (R = i);
1085
- }), (N = g.blob) != null && N.includes(".stl") && (R = (R == null ? void 0 : R.replaceAll(">", "")) + ".urdf"), Cl.value = [{
1084
+ T === ((b = l == null ? void 0 : l.split("/")) == null ? void 0 : b.length) - 1 && (R = i);
1085
+ }), (B = g.blob) != null && B.includes(".stl") && (R = (R == null ? void 0 : R.replaceAll(">", "")) + ".urdf"), Ul.value = [{
1086
1086
  name: R,
1087
1087
  blobUrl: v
1088
1088
  }], ze.value = !0;
1089
1089
  }
1090
1090
  } else {
1091
- const r = await Al.get(l, {
1091
+ const r = await ml.get(l, {
1092
1092
  responseType: "blob",
1093
1093
  headers: {
1094
1094
  "Content-Type": "application/json"
@@ -1096,12 +1096,12 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1096
1096
  }), U = new Blob([r.data], {
1097
1097
  type: "application/octet-stream;charset=UTF-8"
1098
1098
  });
1099
- let g = URL.createObjectURL(U), m = "";
1100
- if (($ = l == null ? void 0 : l.split("/")) == null || $.forEach((v, R) => {
1099
+ let g = URL.createObjectURL(U), A = "";
1100
+ if ((N = l == null ? void 0 : l.split("/")) == null || N.forEach((v, R) => {
1101
1101
  var i;
1102
- R === ((i = l == null ? void 0 : l.split("/")) == null ? void 0 : i.length) - 1 && (m = v);
1103
- }), X(m)) {
1104
- const v = y(m), R = ce(l);
1102
+ R === ((i = l == null ? void 0 : l.split("/")) == null ? void 0 : i.length) - 1 && (A = v);
1103
+ }), X(A)) {
1104
+ const v = y(A), R = te(l);
1105
1105
  z({
1106
1106
  files: [R],
1107
1107
  data: {
@@ -1110,26 +1110,26 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1110
1110
  });
1111
1111
  return;
1112
1112
  }
1113
- Cl.value = [{
1114
- name: m,
1113
+ Ul.value = [{
1114
+ name: A,
1115
1115
  blobUrl: g
1116
1116
  }], ze.value = !0;
1117
1117
  }
1118
- (u == null ? void 0 : u.length) > 0 && P.setBlobUrls(u);
1118
+ (u == null ? void 0 : u.length) > 0 && L.setBlobUrls(u);
1119
1119
  }, ra = (e) => {
1120
1120
  var a, u, o, c;
1121
1121
  if (e != null && e.downloadUrl)
1122
1122
  return e == null ? void 0 : e.name;
1123
1123
  const l = (c = (a = e == null ? void 0 : e.url) == null ? void 0 : a.split(".")) == null ? void 0 : c[((o = (u = e == null ? void 0 : e.url) == null ? void 0 : u.split(".")) == null ? void 0 : o.length) - 1];
1124
1124
  return (e == null ? void 0 : e.name) + "." + l;
1125
- }, Pn = async (e) => {
1125
+ }, Ln = async (e) => {
1126
1126
  let l = null, n = null;
1127
1127
  if (e != null && e.downloadUrl) {
1128
- const u = await da(), o = $r.service({
1128
+ const u = await da(), o = Nr.service({
1129
1129
  lock: !0,
1130
1130
  text: "Loading",
1131
1131
  background: "rgba(0, 0, 0, 0.7)"
1132
- }), c = await Al.post(e == null ? void 0 : e.url, null, {
1132
+ }), c = await ml.post(e == null ? void 0 : e.url, null, {
1133
1133
  responseType: "blob",
1134
1134
  // 必须设置
1135
1135
  headers: {
@@ -1161,11 +1161,11 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1161
1161
  name: n,
1162
1162
  blobUrl: l
1163
1163
  };
1164
- Cl.value = [a], ze.value = !0;
1165
- }, Ln = async (e) => {
1164
+ Ul.value = [a], ze.value = !0;
1165
+ }, wn = async (e) => {
1166
1166
  let l = null, n = null;
1167
1167
  if (e != null && e.downloadUrl) {
1168
- const o = await da(), c = await Al.post(e == null ? void 0 : e.url, null, {
1168
+ const o = await da(), c = await ml.post(e == null ? void 0 : e.url, null, {
1169
1169
  responseType: "blob",
1170
1170
  // 必须设置
1171
1171
  headers: {
@@ -1190,101 +1190,101 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1190
1190
  u.href = a.blobUrl, u.download = a.name, u.style.display = "none", document.body.appendChild(u), u.click(), setTimeout(() => {
1191
1191
  document.body.removeChild(u);
1192
1192
  }, 100);
1193
- }, wn = (e, l) => {
1193
+ }, $n = (e, l) => {
1194
1194
  var n;
1195
1195
  if (Object.values(l).length !== 0)
1196
1196
  return Object.values(l).find((a) => {
1197
1197
  var u, o, c;
1198
1198
  return ((u = a == null ? void 0 : a.toString()) == null ? void 0 : u.includes(".txt")) || ((o = a == null ? void 0 : a.toString()) == null ? void 0 : o.includes(".cpt")) || ((c = a == null ? void 0 : a.toString()) == null ? void 0 : c.includes(".obj"));
1199
- }) ? [...e, cn.value] : (n = s == null ? void 0 : s.config) != null && n.allowMove ? [...e, { label: "迁移" }] : e;
1200
- }, $n = (e, l = {}) => [...e == null ? void 0 : e.values()].filter((n) => Object.keys(l).every((a) => {
1199
+ }) ? [...e, dn.value] : (n = s == null ? void 0 : s.config) != null && n.allowMove ? [...e, { label: "迁移" }] : e;
1200
+ }, Nn = (e, l = {}) => [...e == null ? void 0 : e.values()].filter((n) => Object.keys(l).every((a) => {
1201
1201
  var c;
1202
1202
  const u = n[a], o = (c = l[a]) == null ? void 0 : c.toLowerCase();
1203
1203
  return o && u && typeof u == "string" ? u.toLowerCase().includes(o) : !0;
1204
- })), ma = J([]), Nn = async (e, l, n = !1) => {
1204
+ })), ma = J([]), Bn = async (e, l, n = !1) => {
1205
1205
  var a;
1206
1206
  if (e) {
1207
1207
  if (De.setTableLoading(!0), ma.value = Object.values(e), e && ((a = Object.values(e)) != null && a.every((u) => !u)))
1208
- return Z.value = Yl.value;
1208
+ return I.value = Yl.value;
1209
1209
  if (n) {
1210
- Z.value = [...Zl.value.values()].filter((u) => Object.values(u).some((o) => typeof o == "string" ? o == null ? void 0 : o.toLowerCase().includes(l == null ? void 0 : l.toLowerCase()) : !1));
1210
+ I.value = [...Zl.value.values()].filter((u) => Object.values(u).some((o) => typeof o == "string" ? o == null ? void 0 : o.toLowerCase().includes(l == null ? void 0 : l.toLowerCase()) : !1));
1211
1211
  return;
1212
1212
  }
1213
- Z.value = $n(Zl.value, e), De.setTableLoading(!1);
1213
+ I.value = Nn(Zl.value, e), De.setTableLoading(!1);
1214
1214
  }
1215
- }, Bn = async (e) => {
1215
+ }, Mn = async (e) => {
1216
1216
  }, Aa = async (e, l, n, a) => {
1217
- var u, o, c, d, p, f, S, D, B, h, O, E, _, M, N, $, r, U, g, m;
1217
+ var u, o, c, d, p, f, k, D, M, h, O, E, _, F, B, N, r, U, g, A;
1218
1218
  if (Q("clickMainKey", n), (a == null ? void 0 : a.isExistChild) === !0) {
1219
1219
  let v = (u = a == null ? void 0 : a.columnType) == null ? void 0 : u.prop, R = a == null ? void 0 : a.data;
1220
- if (Tl.value = await Gl(ke.value, sessionStorage.getItem("systemKey"), ""), !Tl.value) {
1221
- let k = (d = (c = (o = ke.value) == null ? void 0 : o.split("/")) == null ? void 0 : c.filter((b, w) => {
1222
- var F, x;
1223
- return w !== ((x = (F = ke.value) == null ? void 0 : F.split("/")) == null ? void 0 : x.length) - 1;
1220
+ if (kl.value = await Gl(Se.value, sessionStorage.getItem("systemKey"), ""), !kl.value) {
1221
+ let T = (d = (c = (o = Se.value) == null ? void 0 : o.split("/")) == null ? void 0 : c.filter((b, $) => {
1222
+ var K, x;
1223
+ return $ !== ((x = (K = Se.value) == null ? void 0 : K.split("/")) == null ? void 0 : x.length) - 1;
1224
1224
  })) == null ? void 0 : d.join("/");
1225
- Tl.value = await Gl(k, sessionStorage.getItem("systemKey"), "");
1225
+ kl.value = await Gl(T, sessionStorage.getItem("systemKey"), "");
1226
1226
  }
1227
- let i = (p = Tl.value) == null ? void 0 : p.filter((k) => (k == null ? void 0 : k.name) === v);
1228
- Tl.value = i == null ? void 0 : i.map((k) => {
1227
+ let i = (p = kl.value) == null ? void 0 : p.filter((T) => (T == null ? void 0 : T.name) === v);
1228
+ kl.value = i == null ? void 0 : i.map((T) => {
1229
1229
  var b;
1230
- return k.compData = (b = k.compData) == null ? void 0 : b.map((w) => {
1231
- var F, x;
1232
- return (w == null ? void 0 : w.key) === "tableContents" && (F = w == null ? void 0 : w.contents) != null && F.every((C) => C == null ? void 0 : C.find((q) => q == null ? void 0 : q.id)) && (w.contents = (x = w == null ? void 0 : w.contents) == null ? void 0 : x.filter((C) => (C == null ? void 0 : C[1]) === R)), w;
1233
- }), k;
1234
- }), Q("routeUrl", Tl.value, {
1230
+ return T.compData = (b = T.compData) == null ? void 0 : b.map(($) => {
1231
+ var K, x;
1232
+ return ($ == null ? void 0 : $.key) === "tableContents" && (K = $ == null ? void 0 : $.contents) != null && K.every((C) => C == null ? void 0 : C.find((q) => q == null ? void 0 : q.id)) && ($.contents = (x = $ == null ? void 0 : $.contents) == null ? void 0 : x.filter((C) => (C == null ? void 0 : C[1]) === R)), $;
1233
+ }), T;
1234
+ }), Q("routeUrl", kl.value, {
1235
1235
  isEdit: !0,
1236
- routerUrl: ke.value
1236
+ routerUrl: Se.value
1237
1237
  });
1238
1238
  return;
1239
1239
  }
1240
1240
  if ((a == null ? void 0 : a.data) === "查看" && (e != null && e.every((v) => (v == null ? void 0 : v.url) && (v == null ? void 0 : v.name)))) {
1241
1241
  let v = G(e);
1242
1242
  v = await ((f = G(v)) == null ? void 0 : f.map(async (i) => {
1243
- var w, F, x, C;
1244
- const k = await ha({
1243
+ var $, K, x, C;
1244
+ const T = await ha({
1245
1245
  url: i == null ? void 0 : i.url
1246
1246
  });
1247
- let b = URL.createObjectURL(k.data);
1247
+ let b = URL.createObjectURL(T.data);
1248
1248
  return {
1249
- name: (i == null ? void 0 : i.name) + "." + ((C = (w = i == null ? void 0 : i.url) == null ? void 0 : w.split(".")) == null ? void 0 : C[((x = (F = i == null ? void 0 : i.url) == null ? void 0 : F.split(".")) == null ? void 0 : x.length) - 1]),
1249
+ name: (i == null ? void 0 : i.name) + "." + ((C = ($ = i == null ? void 0 : i.url) == null ? void 0 : $.split(".")) == null ? void 0 : C[((x = (K = i == null ? void 0 : i.url) == null ? void 0 : K.split(".")) == null ? void 0 : x.length) - 1]),
1250
1250
  blobUrl: b
1251
1251
  };
1252
1252
  }));
1253
1253
  let R = await Promise.all(v);
1254
- Cl.value = R, ze.value = !0;
1254
+ Ul.value = R, ze.value = !0;
1255
1255
  }
1256
1256
  if (G(W.value), (a == null ? void 0 : a.isMainKey) === !0) {
1257
1257
  Ne.setActiveMenuPath(void 0), De.setRouteToChildPath(void 0), De.setFixMenuStatus(!0);
1258
- let v = (D = (S = s.itemData) == null ? void 0 : S.find((i) => (i == null ? void 0 : i.key) === "contentTableId")) == null ? void 0 : D.contents, R = (h = (B = s.itemData) == null ? void 0 : B.find((i) => (i == null ? void 0 : i.key) === "relatedFilter")) == null ? void 0 : h.index;
1258
+ let v = (D = (k = s.itemData) == null ? void 0 : k.find((i) => (i == null ? void 0 : i.key) === "contentTableId")) == null ? void 0 : D.contents, R = (h = (M = s.itemData) == null ? void 0 : M.find((i) => (i == null ? void 0 : i.key) === "relatedFilter")) == null ? void 0 : h.index;
1259
1259
  if (R !== 0) {
1260
1260
  let i = (E = (O = W.value) == null ? void 0 : O[R]) == null ? void 0 : E.prop;
1261
1261
  if ((n == null ? void 0 : n[i]) === (a == null ? void 0 : a.data)) {
1262
- let k = await xl({
1262
+ let T = await Al({
1263
1263
  id: v
1264
- }), b = ($ = (N = (M = (_ = k == null ? void 0 : k.data) == null ? void 0 : _.result) == null ? void 0 : M[0]) == null ? void 0 : N.key) == null ? void 0 : $.pageKey;
1264
+ }), b = (N = (B = (F = (_ = T == null ? void 0 : T.data) == null ? void 0 : _.result) == null ? void 0 : F[0]) == null ? void 0 : B.key) == null ? void 0 : N.pageKey;
1265
1265
  Ne.setActiveMenuPath(b + "/" + (a == null ? void 0 : a.data));
1266
1266
  } else {
1267
- let k = await xl({
1267
+ let T = await Al({
1268
1268
  key: {
1269
- pageKey: G(ke).value + "/" + (a == null ? void 0 : a.data),
1269
+ pageKey: G(Se).value + "/" + (a == null ? void 0 : a.data),
1270
1270
  systemKey: sessionStorage.getItem("systemKey")
1271
1271
  }
1272
1272
  });
1273
- ((U = (r = k == null ? void 0 : k.data) == null ? void 0 : r.result) == null ? void 0 : U.length) > 0 && Ne.setActiveMenuPath(G(ke).value + "/" + (a == null ? void 0 : a.data));
1273
+ ((U = (r = T == null ? void 0 : T.data) == null ? void 0 : r.result) == null ? void 0 : U.length) > 0 && Ne.setActiveMenuPath(G(Se).value + "/" + (a == null ? void 0 : a.data));
1274
1274
  }
1275
1275
  } else {
1276
- let i = await xl({
1276
+ let i = await Al({
1277
1277
  key: {
1278
- pageKey: G(ke).value + "/" + (a == null ? void 0 : a.data),
1278
+ pageKey: G(Se).value + "/" + (a == null ? void 0 : a.data),
1279
1279
  systemKey: sessionStorage.getItem("systemKey")
1280
1280
  }
1281
1281
  });
1282
- ((m = (g = i == null ? void 0 : i.data) == null ? void 0 : g.result) == null ? void 0 : m.length) > 0 && Ne.setActiveMenuPath(G(ke).value + "/" + (a == null ? void 0 : a.data));
1282
+ ((A = (g = i == null ? void 0 : i.data) == null ? void 0 : g.result) == null ? void 0 : A.length) > 0 && Ne.setActiveMenuPath(G(Se).value + "/" + (a == null ? void 0 : a.data));
1283
1283
  }
1284
1284
  }
1285
- }, Mn = () => {
1285
+ }, Fn = () => {
1286
1286
  ze.value = !1;
1287
- }, Fn = (e) => {
1287
+ }, Kn = (e) => {
1288
1288
  Q("rowClick", e);
1289
1289
  };
1290
1290
  He(
@@ -1292,7 +1292,7 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1292
1292
  () => {
1293
1293
  var n, a;
1294
1294
  if (!s.changedContent) return;
1295
- let e = (n = Z.value) == null ? void 0 : n.map((u) => {
1295
+ let e = (n = I.value) == null ? void 0 : n.map((u) => {
1296
1296
  var o;
1297
1297
  return u.id === ((o = s.changedContent) == null ? void 0 : o.id) && (u = {
1298
1298
  ...s.changedContent,
@@ -1300,7 +1300,7 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1300
1300
  }, delete u.newId), u;
1301
1301
  });
1302
1302
  const l = (a = s.itemData) == null ? void 0 : a.map((u) => ((u == null ? void 0 : u.key) === "tableContents" && (u.contents = e), u));
1303
- Z.value = e, Q("contentChange", {
1303
+ I.value = e, Q("contentChange", {
1304
1304
  contents: l,
1305
1305
  index: s.index
1306
1306
  }), Q("change", {
@@ -1312,82 +1312,82 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1312
1312
  },
1313
1313
  { deep: !0, immediate: !0 }
1314
1314
  );
1315
- const Kn = () => {
1316
- }, zn = async () => {
1317
- const e = ke.value, l = sessionStorage.getItem("systemKey"), n = await Gl(e, l, ""), a = (n == null ? void 0 : n.find((d) => (d == null ? void 0 : d.name) === "方法明细")) || (n == null ? void 0 : n[0]), u = (a == null ? void 0 : a.compData) || [], o = u == null ? void 0 : u.find((d) => {
1315
+ const zn = () => {
1316
+ }, Jn = async () => {
1317
+ const e = Se.value, l = sessionStorage.getItem("systemKey"), n = await Gl(e, l, ""), a = (n == null ? void 0 : n.find((d) => (d == null ? void 0 : d.name) === "方法明细")) || (n == null ? void 0 : n[0]), u = (a == null ? void 0 : a.compData) || [], o = u == null ? void 0 : u.find((d) => {
1318
1318
  const p = d == null ? void 0 : d.key;
1319
1319
  return p === "formContent" || p === "tableContents";
1320
1320
  });
1321
1321
  return o == null ? void 0 : o.contents;
1322
- }, da = async () => `Bearer ${br.get("access-token")}`, Jn = async (e, { token: l, inputData: n } = {}) => await Al.post(e, n, {
1322
+ }, da = async () => `Bearer ${Sr.get("access-token")}`, Wn = async (e, { token: l, inputData: n } = {}) => await ml.post(e, n, {
1323
1323
  headers: {
1324
1324
  Authorization: l
1325
1325
  }
1326
- }).catch((u) => (Ne.setImportLoading(!1), Promise.reject(u))), Wn = (e) => {
1326
+ }).catch((u) => (Ne.setImportLoading(!1), Promise.reject(u))), Rn = (e) => {
1327
1327
  const l = [], n = (a) => {
1328
1328
  a && typeof a == "object" && !Array.isArray(a) ? Object.values(a).forEach(n) : l.push(a);
1329
1329
  };
1330
1330
  return n(e), l;
1331
- }, Rn = async (e, l, n) => {
1332
- var N, $, r, U, g, m, v, R;
1331
+ }, qn = async (e, l, n) => {
1332
+ var B, N, r, U, g, A, v, R;
1333
1333
  Ne.setImportLoading(!0), De.setFreshContent(!1);
1334
- let a = await zn().catch((i) => (Ne.setImportLoading(!1), Promise.reject(i)));
1334
+ let a = await Jn().catch((i) => (Ne.setImportLoading(!1), Promise.reject(i)));
1335
1335
  a = a == null ? void 0 : a.filter((i) => {
1336
- var k;
1337
- return ((k = i == null ? void 0 : i.find((b) => b == null ? void 0 : b.id)) == null ? void 0 : k.id) === (l == null ? void 0 : l.id);
1336
+ var T;
1337
+ return ((T = i == null ? void 0 : i.find((b) => b == null ? void 0 : b.id)) == null ? void 0 : T.id) === (l == null ? void 0 : l.id);
1338
1338
  });
1339
- let u = Qa([(N = W.value) == null ? void 0 : N.filter((i) => (i == null ? void 0 : i.label) !== "操作")]);
1340
- const o = (r = ($ = _r(a, u)) == null ? void 0 : $[0]) == null ? void 0 : r.find((i) => {
1341
- const k = i == null ? void 0 : i.key;
1342
- return k === "Interface" || k === "方法体";
1339
+ let u = Xa([(B = W.value) == null ? void 0 : B.filter((i) => (i == null ? void 0 : i.label) !== "操作")]);
1340
+ const o = (r = (N = Or(a, u)) == null ? void 0 : N[0]) == null ? void 0 : r.find((i) => {
1341
+ const T = i == null ? void 0 : i.key;
1342
+ return T === "Interface" || T === "方法体";
1343
1343
  }), c = o == null ? void 0 : o.value;
1344
1344
  if (!c) {
1345
1345
  console.log("未搜索到isMain, 缺少算法执行接口"), Ne.setImportLoading(!1);
1346
1346
  return;
1347
1347
  }
1348
- const d = W.value ? Qa([W.value]) : [], p = d.find((i) => {
1349
- const k = i == null ? void 0 : i.prop;
1350
- return k === "Input1" || k === "输入数据.输入1" || k === "样本输入数据";
1348
+ const d = W.value ? Xa([W.value]) : [], p = d.find((i) => {
1349
+ const T = i == null ? void 0 : i.prop;
1350
+ return T === "Input1" || T === "输入数据.输入1" || T === "样本输入数据";
1351
1351
  }), f = p == null ? void 0 : p.prop;
1352
- let S = l == null ? void 0 : l[f];
1353
- const D = await da().catch((i) => (Ne.setImportLoading(!1), Promise.reject(i))), B = await Jn(c, {
1352
+ let k = l == null ? void 0 : l[f];
1353
+ const D = await da().catch((i) => (Ne.setImportLoading(!1), Promise.reject(i))), M = await Wn(c, {
1354
1354
  token: D,
1355
- inputData: S
1356
- }).catch((i) => (Ne.setImportLoading(!1), Promise.reject(i))), h = (U = B == null ? void 0 : B.data) == null ? void 0 : U.data, O = d.find((i) => (i == null ? void 0 : i.prop) === "Output1"), E = O == null ? void 0 : O.prop;
1357
- let _ = [], M = [];
1355
+ inputData: k
1356
+ }).catch((i) => (Ne.setImportLoading(!1), Promise.reject(i))), h = (U = M == null ? void 0 : M.data) == null ? void 0 : U.data, O = d.find((i) => (i == null ? void 0 : i.prop) === "Output1"), E = O == null ? void 0 : O.prop;
1357
+ let _ = [], F = [];
1358
1358
  if (((g = Object.values(h)) == null ? void 0 : g.length) > 0) {
1359
1359
  let i = [];
1360
- const k = new FormData(), b = (m = Wn(h)) == null ? void 0 : m.map(async (F) => {
1360
+ const T = new FormData(), b = (A = Rn(h)) == null ? void 0 : A.map(async (K) => {
1361
1361
  var x, C;
1362
- if (!Array.isArray(F) && (F != null && F.includes("http"))) {
1363
- let q = await Al.get(F, { responseType: "blob" }), V = (C = F == null ? void 0 : F.split("/")) == null ? void 0 : C[((x = F == null ? void 0 : F.split("/")) == null ? void 0 : x.length) - 1];
1364
- k.append("files", q.data, V);
1362
+ if (!Array.isArray(K) && (K != null && K.includes("http"))) {
1363
+ let q = await ml.get(K, { responseType: "blob" }), ee = (C = K == null ? void 0 : K.split("/")) == null ? void 0 : C[((x = K == null ? void 0 : K.split("/")) == null ? void 0 : x.length) - 1];
1364
+ T.append("files", q.data, ee);
1365
1365
  } else
1366
- i.push(F);
1366
+ i.push(K);
1367
1367
  });
1368
- if (await Promise.all(b), !Or(k)) {
1369
- let F = await Dr(k), x = (R = (v = F == null ? void 0 : F.data) == null ? void 0 : v.result) == null ? void 0 : R.map((C) => {
1370
- var q, V, oe, ie, T, le;
1368
+ if (await Promise.all(b), !Dr(T)) {
1369
+ let K = await Er(T), x = (R = (v = K == null ? void 0 : K.data) == null ? void 0 : v.result) == null ? void 0 : R.map((C) => {
1370
+ var q, ee, oe, ie, m, P;
1371
1371
  return {
1372
- name: (le = (T = (ie = (q = C == null ? void 0 : C.url) == null ? void 0 : q.split("/")) == null ? void 0 : ie[((oe = (V = C == null ? void 0 : C.url) == null ? void 0 : V.split("/")) == null ? void 0 : oe.length) - 1]) == null ? void 0 : T.split(".")) == null ? void 0 : le[0],
1372
+ name: (P = (m = (ie = (q = C == null ? void 0 : C.url) == null ? void 0 : q.split("/")) == null ? void 0 : ie[((oe = (ee = C == null ? void 0 : C.url) == null ? void 0 : ee.split("/")) == null ? void 0 : oe.length) - 1]) == null ? void 0 : m.split(".")) == null ? void 0 : P[0],
1373
1373
  url: C == null ? void 0 : C.url
1374
1374
  };
1375
1375
  });
1376
1376
  i = [...i, ...x];
1377
1377
  }
1378
- let w = {};
1379
- for (let F in l)
1380
- F !== "id" && (w[F] = l[F]);
1381
- w[E] = i, M.push({
1378
+ let $ = {};
1379
+ for (let K in l)
1380
+ K !== "id" && ($[K] = l[K]);
1381
+ $[E] = i, F.push({
1382
1382
  id: l == null ? void 0 : l.id,
1383
1383
  value: {
1384
- tableData: w
1384
+ tableData: $
1385
1385
  }
1386
1386
  });
1387
1387
  }
1388
- (M == null ? void 0 : M.length) > 0 && await yr({
1389
- dataList: M
1390
- }), (_ == null ? void 0 : _.length) > 0 && await Wa({
1388
+ (F == null ? void 0 : F.length) > 0 && await vr({
1389
+ dataList: F
1390
+ }), (_ == null ? void 0 : _.length) > 0 && await Ra({
1391
1391
  dataList: _
1392
1392
  }), Jl(!0), Ne.setImportLoading(!1), De.setFreshContent(!0);
1393
1393
  }, xa = (e, l) => (e = e == null ? void 0 : e.map((n) => {
@@ -1416,9 +1416,9 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1416
1416
  background: "var(--ssbutton-theme-bg)",
1417
1417
  color: "var(--ssbutton-theme-color)"
1418
1418
  }]
1419
- }), qn = () => {
1419
+ }), Gn = () => {
1420
1420
  Ee.show = !1;
1421
- }, Gn = (e) => {
1421
+ }, Hn = (e) => {
1422
1422
  var l, n;
1423
1423
  if ((e == null ? void 0 : e.buttonName) === "取消") return Ee.show = !1;
1424
1424
  Ee.to = e == null ? void 0 : e.content, !(!(s != null && s.index) || !((l = Ee.to) != null && l.groupName)) && (s == null ? void 0 : s.index) !== ((n = Ee.to) == null ? void 0 : n.groupName) && (Q("change", {
@@ -1430,16 +1430,16 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1430
1430
  }
1431
1431
  }), Ee.show = !1);
1432
1432
  }, ua = async (e, l, n) => {
1433
- var a, u, o, c, d, p, f, S, D, B, h, O, E, _, M;
1433
+ var a, u, o, c, d, p, f, k, D, M, h, O, E, _, F;
1434
1434
  if (tl.value = "", ea.value = !0, Il.value = !0, Q("onButtonClick", e, l), e === "删除")
1435
- Ya.confirm("是否确认删除", "温馨提示", {
1435
+ Za.confirm("是否确认删除", "温馨提示", {
1436
1436
  confirmButtonText: "确认",
1437
1437
  cancelButtonText: "取消",
1438
1438
  type: "warning"
1439
1439
  }).then(() => {
1440
- var N, $;
1441
- (N = Z.value) != null && N.find((r) => (r == null ? void 0 : r.id) === (l == null ? void 0 : l.id)) ? Z.value = ($ = G(Z.value)) == null ? void 0 : $.filter((r) => (r == null ? void 0 : r.id) !== (l == null ? void 0 : l.id)) : Z.value = xa(G(Z.value), l), pu(la.value, Bl.value, l == null ? void 0 : l.id), De.setTableLoading(s == null ? void 0 : s.index), Q("change", {
1442
- content: Z.value,
1440
+ var B, N;
1441
+ (B = I.value) != null && B.find((r) => (r == null ? void 0 : r.id) === (l == null ? void 0 : l.id)) ? I.value = (N = G(I.value)) == null ? void 0 : N.filter((r) => (r == null ? void 0 : r.id) !== (l == null ? void 0 : l.id)) : I.value = xa(G(I.value), l), fu(la.value, Bl.value, l == null ? void 0 : l.id), De.setTableLoading(s == null ? void 0 : s.index), Q("change", {
1442
+ content: I.value,
1443
1443
  singleContent: l,
1444
1444
  index: s == null ? void 0 : s.index,
1445
1445
  type: "delete",
@@ -1448,20 +1448,20 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1448
1448
  });
1449
1449
  });
1450
1450
  else if (e === "批量删除") {
1451
- if (((a = rl.value) == null ? void 0 : a.length) === 0)
1451
+ if (((a = nl.value) == null ? void 0 : a.length) === 0)
1452
1452
  return Re.warning("请先勾选操作的数据");
1453
- Ya.confirm("是否确认删除", "温馨提示", {
1453
+ Za.confirm("是否确认删除", "温馨提示", {
1454
1454
  confirmButtonText: "确认",
1455
1455
  cancelButtonText: "取消",
1456
1456
  type: "warning"
1457
1457
  }).then(
1458
1458
  () => {
1459
- var $, r;
1460
- const N = ($ = rl.value) == null ? void 0 : $.map((U) => U.id);
1461
- Z.value = (r = G(Z.value)) == null ? void 0 : r.filter((U) => !(N != null && N.includes(U.id))), De.setTableLoading(s == null ? void 0 : s.index), Q("change", {
1462
- content: Z.value,
1459
+ var N, r;
1460
+ const B = (N = nl.value) == null ? void 0 : N.map((U) => U.id);
1461
+ I.value = (r = G(I.value)) == null ? void 0 : r.filter((U) => !(B != null && B.includes(U.id))), De.setTableLoading(s == null ? void 0 : s.index), Q("change", {
1462
+ content: I.value,
1463
1463
  singleContent: null,
1464
- selectItems: rl.value,
1464
+ selectItems: nl.value,
1465
1465
  index: s == null ? void 0 : s.index,
1466
1466
  type: "batchDelete",
1467
1467
  buttonName: e,
@@ -1470,55 +1470,55 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1470
1470
  }
1471
1471
  );
1472
1472
  } else if (e === "复制新增") {
1473
- ll.value = "新增";
1474
- const N = G(l), $ = (u = W.value) == null ? void 0 : u.find((g) => g == null ? void 0 : g.isMainKey), r = $ || ((o = W.value) == null ? void 0 : o[0]), U = (c = bl.value) == null ? void 0 : c.find((g) => (g == null ? void 0 : g.label) === "新建");
1475
- await Ca(!0, U, { data: N, firstCol: r });
1473
+ el.value = "新增";
1474
+ const B = G(l), N = (u = W.value) == null ? void 0 : u.find((g) => g == null ? void 0 : g.isMainKey), r = N || ((o = W.value) == null ? void 0 : o[0]), U = (c = vl.value) == null ? void 0 : c.find((g) => (g == null ? void 0 : g.label) === "新建");
1475
+ await Ca(!0, U, { data: B, firstCol: r });
1476
1476
  } else if (e === "新增")
1477
- ll.value = "新增", zl(""), cl.value = !0;
1477
+ el.value = "新增", zl(""), cl.value = !0;
1478
1478
  else if (e === "编辑")
1479
- ll.value = "编辑", zl(l), cl.value = !0;
1479
+ el.value = "编辑", zl(l), cl.value = !0;
1480
1480
  else if (e === "查看")
1481
- ll.value = "查看", zl(l), ea.value = !1, Il.value = !1, cl.value = !0;
1481
+ el.value = "查看", zl(l), ea.value = !1, Il.value = !1, cl.value = !0;
1482
1482
  else if (e === "查看三维模型") {
1483
- const N = {};
1483
+ const B = {};
1484
1484
  for (let r in l)
1485
- r !== "id" && (N[r] = l[r]);
1486
- let $ = (d = Object.values(N)) == null ? void 0 : d[1];
1487
- tn.setTableShowThree($);
1485
+ r !== "id" && (B[r] = l[r]);
1486
+ let N = (d = Object.values(B)) == null ? void 0 : d[1];
1487
+ cn.setTableShowThree(N);
1488
1488
  } else if (((p = n == null ? void 0 : n.extra) == null ? void 0 : p.type) === "modelExample")
1489
- ll.value = e, Vl.value = !0;
1489
+ el.value = e, Vl.value = !0;
1490
1490
  else if (e === "新建") {
1491
- let N = _l.value, $ = [];
1492
- for (let v in N)
1493
- v != null && v.includes(`loading${((f = El.value) == null ? void 0 : f.account) || ((S = El.value) == null ? void 0 : S.账号)}`) && ($ = [...$, ...v]);
1491
+ let B = Cl.value, N = [];
1492
+ for (let v in B)
1493
+ v != null && v.includes(`loading${((f = Dl.value) == null ? void 0 : f.account) || ((k = Dl.value) == null ? void 0 : k.账号)}`) && (N = [...N, ...v]);
1494
1494
  let r = [];
1495
- for (let v in N)
1496
- v != null && v.includes(`updateLoading${((D = El.value) == null ? void 0 : D.account) || ((B = El.value) == null ? void 0 : B.账号)}`) && (r = [...r, ...v]);
1497
- let U = $ == null ? void 0 : $.map((v) => v == null ? void 0 : v.id);
1495
+ for (let v in B)
1496
+ v != null && v.includes(`updateLoading${((D = Dl.value) == null ? void 0 : D.account) || ((M = Dl.value) == null ? void 0 : M.账号)}`) && (r = [...r, ...v]);
1497
+ let U = N == null ? void 0 : N.map((v) => v == null ? void 0 : v.id);
1498
1498
  const g = r == null ? void 0 : r.map((v) => v == null ? void 0 : v.id);
1499
- U = [...G(U), ...g], (U == null ? void 0 : U.length) > 0 && (U != null && U.every((v) => v !== null && v)) && await hr({
1499
+ U = [...G(U), ...g], (U == null ? void 0 : U.length) > 0 && (U != null && U.every((v) => v !== null && v)) && await yr({
1500
1500
  ids: U
1501
1501
  });
1502
- const m = (h = bl.value) == null ? void 0 : h.find((v) => (v == null ? void 0 : v.label) === "新建");
1503
- await Ca(!1, m);
1502
+ const A = (h = vl.value) == null ? void 0 : h.find((v) => (v == null ? void 0 : v.label) === "新建");
1503
+ await Ca(!1, A);
1504
1504
  } else if (e === "修改模板") {
1505
- let N = G(ke).value;
1506
- De.setRouteToChildPath(N), Ne.setActiveMenuPath(N + we);
1505
+ let B = G(Se).value;
1506
+ De.setRouteToChildPath(B), Ne.setActiveMenuPath(B + we);
1507
1507
  } else if (e === "执行")
1508
- Rn(e, l);
1508
+ qn(e, l);
1509
1509
  else if (e != null && e.includes("导出")) {
1510
- if (e === "导出选中" && ((O = rl.value) == null ? void 0 : O.length) === 0)
1510
+ if (e === "导出选中" && ((O = nl.value) == null ? void 0 : O.length) === 0)
1511
1511
  return Re.warning(`请先勾选${e}的数据`);
1512
- if (e === "导出全部" && ((E = Z.value) == null ? void 0 : E.length) === 0)
1512
+ if (e === "导出全部" && ((E = I.value) == null ? void 0 : E.length) === 0)
1513
1513
  return Re.warning("暂无数据导出");
1514
- const N = (M = (_ = W.value) == null ? void 0 : _.map((r) => r == null ? void 0 : r.label)) == null ? void 0 : M.filter((r) => r !== "操作"), $ = e === "导出全部" ? G(Z.value) : G(rl.value);
1515
- $ == null || $.forEach((r) => {
1514
+ const B = (F = (_ = W.value) == null ? void 0 : _.map((r) => r == null ? void 0 : r.label)) == null ? void 0 : F.filter((r) => r !== "操作"), N = e === "导出全部" ? G(I.value) : G(nl.value);
1515
+ N == null || N.forEach((r) => {
1516
1516
  r == null || delete r.id;
1517
- }), An($, s == null ? void 0 : s.compName, N, s == null ? void 0 : s.compName);
1517
+ }), xn(N, s == null ? void 0 : s.compName, B, s == null ? void 0 : s.compName);
1518
1518
  } else e === "迁移" && (Ee.selectRow = l, Ee.show = !0);
1519
- }, Hn = async (e) => {
1519
+ }, Qn = async (e) => {
1520
1520
  var n, a, u, o, c, d;
1521
- const l = await xl({
1521
+ const l = await Al({
1522
1522
  key: {
1523
1523
  pageKey: e,
1524
1524
  type: "structure",
@@ -1533,71 +1533,71 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1533
1533
  ...(f = p == null ? void 0 : p.value) == null ? void 0 : f.pageData
1534
1534
  };
1535
1535
  }) : [];
1536
- }, Qn = async (e, l) => {
1537
- var n, a, u, o, c, d, p, f, S, D, B, h, O, E, _, M, N, $, r, U;
1536
+ }, Xn = async (e, l) => {
1537
+ var n, a, u, o, c, d, p, f, k, D, M, h, O, E, _, F, B, N, r, U;
1538
1538
  try {
1539
- let g, m;
1540
- const v = (n = _l.value[ke.value + we]) == null ? void 0 : n.filter((C) => {
1539
+ let g, A;
1540
+ const v = (n = Cl.value[Se.value + we]) == null ? void 0 : n.filter((C) => {
1541
1541
  var q;
1542
1542
  return ((q = C == null ? void 0 : C.key) == null ? void 0 : q.type) === "structureMethod";
1543
- }), R = (a = _l.value[ke.value + we]) == null ? void 0 : a.filter((C) => {
1543
+ }), R = (a = Cl.value[Se.value + we]) == null ? void 0 : a.filter((C) => {
1544
1544
  var q;
1545
1545
  return ((q = C == null ? void 0 : C.key) == null ? void 0 : q.type) === "structure";
1546
1546
  }), i = v == null ? void 0 : v.find((C) => {
1547
- var q, V;
1548
- return ((V = (q = C == null ? void 0 : C.value) == null ? void 0 : q.pageData) == null ? void 0 : V.method) === "保存";
1547
+ var q, ee;
1548
+ return ((ee = (q = C == null ? void 0 : C.value) == null ? void 0 : q.pageData) == null ? void 0 : ee.method) === "保存";
1549
1549
  });
1550
1550
  if (!i) return;
1551
- const k = (d = (c = _l.value[(o = (u = i == null ? void 0 : i.value) == null ? void 0 : u.pageData) == null ? void 0 : o.path]) == null ? void 0 : c.filter((C) => {
1551
+ const T = (d = (c = Cl.value[(o = (u = i == null ? void 0 : i.value) == null ? void 0 : u.pageData) == null ? void 0 : o.path]) == null ? void 0 : c.filter((C) => {
1552
1552
  var q;
1553
1553
  return ((q = C == null ? void 0 : C.key) == null ? void 0 : q.type) === "data";
1554
1554
  })) == null ? void 0 : d.find((C) => {
1555
- var q, V, oe, ie;
1556
- return ((V = (q = C == null ? void 0 : C.value) == null ? void 0 : q.tableData) == null ? void 0 : V.算法名称) === ((ie = (oe = i == null ? void 0 : i.value) == null ? void 0 : oe.pageData) == null ? void 0 : ie.method);
1555
+ var q, ee, oe, ie;
1556
+ return ((ee = (q = C == null ? void 0 : C.value) == null ? void 0 : q.tableData) == null ? void 0 : ee.算法名称) === ((ie = (oe = i == null ? void 0 : i.value) == null ? void 0 : oe.pageData) == null ? void 0 : ie.method);
1557
1557
  });
1558
- if (!k) return;
1558
+ if (!T) return;
1559
1559
  const b = {
1560
1560
  buttonName: (f = (p = i == null ? void 0 : i.value) == null ? void 0 : p.pageData) == null ? void 0 : f.method,
1561
- api: (D = (S = k == null ? void 0 : k.value) == null ? void 0 : S.tableData) == null ? void 0 : D.算法体,
1561
+ api: (D = (k = T == null ? void 0 : T.value) == null ? void 0 : k.tableData) == null ? void 0 : D.算法体,
1562
1562
  content: R == null ? void 0 : R.map((C) => {
1563
1563
  var q;
1564
1564
  return (q = C == null ? void 0 : C.value) == null ? void 0 : q.pageData;
1565
1565
  }),
1566
1566
  extraContent: [],
1567
- extraValues: (h = (B = i == null ? void 0 : i.value) == null ? void 0 : B.pageData) == null ? void 0 : h.data,
1567
+ extraValues: (h = (M = i == null ? void 0 : i.value) == null ? void 0 : M.pageData) == null ? void 0 : h.data,
1568
1568
  methodName: (E = (O = i == null ? void 0 : i.value) == null ? void 0 : O.pageData) == null ? void 0 : E.path
1569
1569
  };
1570
1570
  if (!e) return;
1571
- const w = {
1571
+ const $ = {
1572
1572
  ...e,
1573
1573
  compData: (_ = e == null ? void 0 : e.compData) == null ? void 0 : _.map((C) => {
1574
1574
  var q;
1575
1575
  return (C == null ? void 0 : C.key) === "formContent" ? {
1576
1576
  ...C,
1577
- contents: (q = C == null ? void 0 : C.contents) == null ? void 0 : q.map((V) => (V == null ? void 0 : V.prop) === l ? {
1578
- ...V,
1577
+ contents: (q = C == null ? void 0 : C.contents) == null ? void 0 : q.map((ee) => (ee == null ? void 0 : ee.prop) === l ? {
1578
+ ...ee,
1579
1579
  value: ""
1580
- } : V)
1580
+ } : ee)
1581
1581
  } : C;
1582
1582
  })
1583
- }, F = {
1583
+ }, K = {
1584
1584
  key: {
1585
- pageKey: ke.value + we,
1585
+ pageKey: Se.value + we,
1586
1586
  parentTable: "",
1587
1587
  systemKey: sessionStorage.getItem("systemKey"),
1588
1588
  type: "structure"
1589
1589
  },
1590
1590
  value: {
1591
- pageData: w
1591
+ pageData: $
1592
1592
  }
1593
- }, x = await Al.post(b.api, F, {
1593
+ }, x = await ml.post(b.api, K, {
1594
1594
  headers: {
1595
1595
  "Content-Type": "application/json"
1596
1596
  }
1597
1597
  });
1598
- return ((M = x == null ? void 0 : x.data) == null ? void 0 : M.code) === 200 && (g = ($ = (N = x == null ? void 0 : x.data) == null ? void 0 : N.result) == null ? void 0 : $.latestReportCode, m = (U = (r = x == null ? void 0 : x.data) == null ? void 0 : r.result) == null ? void 0 : U.status), {
1598
+ return ((F = x == null ? void 0 : x.data) == null ? void 0 : F.code) === 200 && (g = (N = (B = x == null ? void 0 : x.data) == null ? void 0 : B.result) == null ? void 0 : N.latestReportCode, A = (U = (r = x == null ? void 0 : x.data) == null ? void 0 : r.result) == null ? void 0 : U.status), {
1599
1599
  newMainKeyValue: g,
1600
- newStatus: m
1600
+ newStatus: A
1601
1601
  };
1602
1602
  } catch (g) {
1603
1603
  throw Re.error(g), new Error(g);
@@ -1623,39 +1623,39 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1623
1623
  }, Kl = Rl({
1624
1624
  prop: "状态",
1625
1625
  value: ""
1626
- }), Xn = J(["系统自动生成信息", "审批意见"]), Yn = async (e, l, n) => {
1626
+ }), Yn = J(["系统自动生成信息", "审批意见"]), Zn = async (e, l, n) => {
1627
1627
  var p, f;
1628
1628
  let a = e == null ? void 0 : e[l == null ? void 0 : l.prop], u = 1, o, c;
1629
- const d = G(ke).value + we + a;
1629
+ const d = G(Se).value + we + a;
1630
1630
  if (d) {
1631
- Kl.value = "", o = (p = _l.value[d]) == null ? void 0 : p.filter((B) => {
1631
+ Kl.value = "", o = (p = Cl.value[d]) == null ? void 0 : p.filter((M) => {
1632
1632
  var h;
1633
- return ((h = B == null ? void 0 : B.key) == null ? void 0 : h.type) === "structure";
1633
+ return ((h = M == null ? void 0 : M.key) == null ? void 0 : h.type) === "structure";
1634
1634
  });
1635
- const S = o == null ? void 0 : o.find((B) => {
1635
+ const k = o == null ? void 0 : o.find((M) => {
1636
1636
  var h, O, E;
1637
- return ((E = (O = (h = B == null ? void 0 : B.value) == null ? void 0 : h.pageData) == null ? void 0 : O.comp) == null ? void 0 : E.toUpperCase()) === "FORM";
1637
+ return ((E = (O = (h = M == null ? void 0 : M.value) == null ? void 0 : h.pageData) == null ? void 0 : O.comp) == null ? void 0 : E.toUpperCase()) === "FORM";
1638
1638
  });
1639
1639
  c = {
1640
- ...(f = S == null ? void 0 : S.value) == null ? void 0 : f.pageData,
1641
- id: S == null ? void 0 : S.id
1640
+ ...(f = k == null ? void 0 : k.value) == null ? void 0 : f.pageData,
1641
+ id: k == null ? void 0 : k.id
1642
1642
  };
1643
- const D = await Qn(c, l == null ? void 0 : l.prop);
1643
+ const D = await Xn(c, l == null ? void 0 : l.prop);
1644
1644
  if (Kl.value = D == null ? void 0 : D.newStatus, D != null && D.newMainKeyValue) return D == null ? void 0 : D.newMainKeyValue;
1645
1645
  }
1646
- if (Z.value.some((S) => (S == null ? void 0 : S[l == null ? void 0 : l.prop]) === a)) {
1647
- const S = a;
1648
- for (; Z.value.some((D) => (D == null ? void 0 : D[l == null ? void 0 : l.prop]) === `${S}(${u})`); )
1646
+ if (I.value.some((k) => (k == null ? void 0 : k[l == null ? void 0 : l.prop]) === a)) {
1647
+ const k = a;
1648
+ for (; I.value.some((D) => (D == null ? void 0 : D[l == null ? void 0 : l.prop]) === `${k}(${u})`); )
1649
1649
  u++;
1650
- a = `${S}(${u})`;
1650
+ a = `${k}(${u})`;
1651
1651
  }
1652
1652
  return a;
1653
1653
  }, Ca = async (e, l, n) => {
1654
- var c, d, p, f, S, D, B, h;
1654
+ var c, d, p, f, k, D, M, h;
1655
1655
  let a, u;
1656
- const o = await Yn(n == null ? void 0 : n.data, n == null ? void 0 : n.firstCol);
1657
- if (e ? (a = G(ke).value + we + ((f = n == null ? void 0 : n.data) == null ? void 0 : f[(p = n == null ? void 0 : n.firstCol) == null ? void 0 : p.prop]), u = G(ke).value + we + o) : (a = G(ke).value + we, u = G(a) + `loading${((c = El.value) == null ? void 0 : c.account) || ((d = El.value) == null ? void 0 : d.账号)}`), l) {
1658
- const O = (D = (S = _l.value[u]) == null ? void 0 : S.filter((E) => {
1656
+ const o = await Zn(n == null ? void 0 : n.data, n == null ? void 0 : n.firstCol);
1657
+ if (e ? (a = G(Se).value + we + ((f = n == null ? void 0 : n.data) == null ? void 0 : f[(p = n == null ? void 0 : n.firstCol) == null ? void 0 : p.prop]), u = G(Se).value + we + o) : (a = G(Se).value + we, u = G(a) + `loading${((c = Dl.value) == null ? void 0 : c.account) || ((d = Dl.value) == null ? void 0 : d.账号)}`), l) {
1658
+ const O = (D = (k = Cl.value[u]) == null ? void 0 : k.filter((E) => {
1659
1659
  var _;
1660
1660
  return ((_ = E == null ? void 0 : E.key) == null ? void 0 : _.parentTable) === "";
1661
1661
  })) == null ? void 0 : D.map((E) => {
@@ -1668,36 +1668,36 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1668
1668
  if ((O == null ? void 0 : O.length) > 0)
1669
1669
  if (e) {
1670
1670
  const E = O == null ? void 0 : O.find((_) => {
1671
- var M;
1672
- return ((M = _ == null ? void 0 : _.comp) == null ? void 0 : M.toUpperCase()) === "FORM";
1671
+ var F;
1672
+ return ((F = _ == null ? void 0 : _.comp) == null ? void 0 : F.toUpperCase()) === "FORM";
1673
1673
  });
1674
- E && Ua(E, (B = n == null ? void 0 : n.firstCol) == null ? void 0 : B.label, o, ke.value);
1674
+ E && Ua(E, (M = n == null ? void 0 : n.firstCol) == null ? void 0 : M.label, o, Se.value);
1675
1675
  } else
1676
- De.setRouteToChildPath(G(ke).value), Ne.setActiveMenuPath(u);
1677
- else if (await Cr(a, u, null, null, e ? Xn.value : null), e) {
1678
- const E = await Hn(u);
1676
+ De.setRouteToChildPath(G(Se).value), Ne.setActiveMenuPath(u);
1677
+ else if (await _r(a, u, null, null, e ? Yn.value : null), e) {
1678
+ const E = await Qn(u);
1679
1679
  if ((E == null ? void 0 : E.length) > 0) {
1680
- const _ = E == null ? void 0 : E.find((M) => {
1681
- var N;
1682
- return ((N = M == null ? void 0 : M.comp) == null ? void 0 : N.toUpperCase()) === "FORM";
1680
+ const _ = E == null ? void 0 : E.find((F) => {
1681
+ var B;
1682
+ return ((B = F == null ? void 0 : F.comp) == null ? void 0 : B.toUpperCase()) === "FORM";
1683
1683
  });
1684
- _ && Ua(_, (h = n == null ? void 0 : n.firstCol) == null ? void 0 : h.label, o, ke.value);
1684
+ _ && Ua(_, (h = n == null ? void 0 : n.firstCol) == null ? void 0 : h.label, o, Se.value);
1685
1685
  }
1686
1686
  } else
1687
- De.setRouteToChildPath(G(ke).value), Ne.setActiveMenuPath(u);
1687
+ De.setRouteToChildPath(G(Se).value), Ne.setActiveMenuPath(u);
1688
1688
  } else
1689
- e ? (tl.value = "", Je.value = n == null ? void 0 : n.data, Jl(!0, n == null ? void 0 : n.firstCol, o)) : (De.setRouteToChildPath(G(ke).value), Ne.setActiveMenuPath(u));
1690
- }, Zn = () => {
1689
+ e ? (tl.value = "", Je.value = n == null ? void 0 : n.data, Jl(!0, n == null ? void 0 : n.firstCol, o)) : (De.setRouteToChildPath(G(Se).value), Ne.setActiveMenuPath(u));
1690
+ }, In = () => {
1691
1691
  ue.value = !1, Nl.value = [], qe.value = !1;
1692
1692
  }, zl = (e) => {
1693
- var c, d, p, f, S, D, B, h, O, E, _, M, N, $;
1693
+ var c, d, p, f, k, D, M, h, O, E, _, F, B, N;
1694
1694
  const l = [];
1695
1695
  let n = [];
1696
1696
  for (let r in e)
1697
1697
  Array.isArray(e == null ? void 0 : e[r]) && n.push(r);
1698
1698
  Xe.value = G(W.value), (d = Hl((c = G(W.value)) == null ? void 0 : c.filter((r) => (r == null ? void 0 : r.label) !== "操作"))) == null || d.forEach((r, U) => {
1699
1699
  var g;
1700
- n.find((m) => m === (r == null ? void 0 : r.prop)) || (r != null && r.formType && ((g = r == null ? void 0 : r.formType) == null ? void 0 : g.toUpperCase()) === "SELECT" || r != null && r.menuId ? l.push({
1700
+ n.find((A) => A === (r == null ? void 0 : r.prop)) || (r != null && r.formType && ((g = r == null ? void 0 : r.formType) == null ? void 0 : g.toUpperCase()) === "SELECT" || r != null && r.menuId ? l.push({
1701
1701
  label: (r == null ? void 0 : r.prop) || (r == null ? void 0 : r.label) || "",
1702
1702
  name: (r == null ? void 0 : r.prop) ?? "t" + U,
1703
1703
  prop: r == null ? void 0 : r.prop,
@@ -1732,12 +1732,12 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1732
1732
  }));
1733
1733
  }), e === "" || !e || (tl.value = (e == null ? void 0 : e.id) ?? "");
1734
1734
  let a = Hl((p = G(W.value)) == null ? void 0 : p.filter((r) => (r == null ? void 0 : r.label) !== "操作"));
1735
- Ze.value && ((f = Ze.value) == null ? void 0 : f.length) > 0 && (Ze.value = (S = G(Ze).value) == null ? void 0 : S.map((r) => {
1735
+ Ze.value && ((f = Ze.value) == null ? void 0 : f.length) > 0 && (Ze.value = (k = G(Ze).value) == null ? void 0 : k.map((r) => {
1736
1736
  var g;
1737
- let U = (r == null ? void 0 : r.prop) || ((g = a == null ? void 0 : a.find((m) => (m == null ? void 0 : m.label) === (r == null ? void 0 : r.label))) == null ? void 0 : g.prop);
1737
+ let U = (r == null ? void 0 : r.prop) || ((g = a == null ? void 0 : a.find((A) => (A == null ? void 0 : A.label) === (r == null ? void 0 : r.label))) == null ? void 0 : g.prop);
1738
1738
  return U && (r.value = e[U]), r;
1739
- })), Be.value = Ze.value && ((D = Ze.value) == null ? void 0 : D.length) > 0 ? Ur(Ze.value) : l;
1740
- let u = [], o = (B = s.itemData) == null ? void 0 : B.filter((r) => (r == null ? void 0 : r.key) === "filterAllType");
1739
+ })), Me.value = Ze.value && ((D = Ze.value) == null ? void 0 : D.length) > 0 ? Cr(Ze.value) : l;
1740
+ let u = [], o = (M = s.itemData) == null ? void 0 : M.filter((r) => (r == null ? void 0 : r.key) === "filterAllType");
1741
1741
  if ((o == null ? void 0 : o.length) > 0 && (u = (o == null ? void 0 : o.map((U) => U == null ? void 0 : U.value)).flat()), (u == null ? void 0 : u.length) > 0) {
1742
1742
  let r = u == null ? void 0 : u.find((U) => {
1743
1743
  var g;
@@ -1746,30 +1746,30 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1746
1746
  if (r != null && r.content) {
1747
1747
  let U = (E = (O = (h = r == null ? void 0 : r.content) == null ? void 0 : h.replace(":", il)) == null ? void 0 : O.split(il)) == null ? void 0 : E[1];
1748
1748
  if (((_ = U == null ? void 0 : U.trim()) == null ? void 0 : _.toUpperCase()) === "MANUAL") {
1749
- let g = (N = (M = s.itemData) == null ? void 0 : M.find((m) => (m == null ? void 0 : m.key) === "contentTableId")) == null ? void 0 : N.contents;
1750
- Be.value = ($ = Be.value) == null ? void 0 : $.map((m, v) => {
1751
- var R, i, k, b, w, F, x, C, q, V, oe;
1752
- return (R = m == null ? void 0 : m.optionUrl) != null && R.menuId && (m.type = "Select", (i = m == null ? void 0 : m.optionUrl) != null && i.menuId ? (m.optionUrl.menuId = g, m.optionUrl.menuFilter = u, m.optionUrl.multiple = (w = (b = (k = u == null ? void 0 : u.find((ie) => {
1753
- var T;
1754
- return (T = ie == null ? void 0 : ie.content) == null ? void 0 : T.includes("@Num");
1755
- })) == null ? void 0 : k.content) == null ? void 0 : b.split(":")) != null && w[1] && parseInt((C = (x = (F = u == null ? void 0 : u.find((ie) => {
1756
- var T;
1757
- return (T = ie == null ? void 0 : ie.content) == null ? void 0 : T.includes("@Num");
1758
- })) == null ? void 0 : F.content) == null ? void 0 : x.split(":")) == null ? void 0 : C[1]) > 1 ? !0 : void 0, m.optionUrl.multipleLimit = (oe = (V = (q = u == null ? void 0 : u.find((ie) => {
1759
- var T;
1760
- return (T = ie == null ? void 0 : ie.content) == null ? void 0 : T.includes("@Num");
1761
- })) == null ? void 0 : q.content) == null ? void 0 : V.split(":")) == null ? void 0 : oe[1]) : m.optionUrl = {
1749
+ let g = (B = (F = s.itemData) == null ? void 0 : F.find((A) => (A == null ? void 0 : A.key) === "contentTableId")) == null ? void 0 : B.contents;
1750
+ Me.value = (N = Me.value) == null ? void 0 : N.map((A, v) => {
1751
+ var R, i, T, b, $, K, x, C, q, ee, oe;
1752
+ return (R = A == null ? void 0 : A.optionUrl) != null && R.menuId && (A.type = "Select", (i = A == null ? void 0 : A.optionUrl) != null && i.menuId ? (A.optionUrl.menuId = g, A.optionUrl.menuFilter = u, A.optionUrl.multiple = ($ = (b = (T = u == null ? void 0 : u.find((ie) => {
1753
+ var m;
1754
+ return (m = ie == null ? void 0 : ie.content) == null ? void 0 : m.includes("@Num");
1755
+ })) == null ? void 0 : T.content) == null ? void 0 : b.split(":")) != null && $[1] && parseInt((C = (x = (K = u == null ? void 0 : u.find((ie) => {
1756
+ var m;
1757
+ return (m = ie == null ? void 0 : ie.content) == null ? void 0 : m.includes("@Num");
1758
+ })) == null ? void 0 : K.content) == null ? void 0 : x.split(":")) == null ? void 0 : C[1]) > 1 ? !0 : void 0, A.optionUrl.multipleLimit = (oe = (ee = (q = u == null ? void 0 : u.find((ie) => {
1759
+ var m;
1760
+ return (m = ie == null ? void 0 : ie.content) == null ? void 0 : m.includes("@Num");
1761
+ })) == null ? void 0 : q.content) == null ? void 0 : ee.split(":")) == null ? void 0 : oe[1]) : A.optionUrl = {
1762
1762
  menuId: g,
1763
1763
  menuFilter: u
1764
- }), m;
1764
+ }), A;
1765
1765
  });
1766
1766
  }
1767
1767
  }
1768
1768
  }
1769
- }, In = () => {
1769
+ }, Vn = () => {
1770
1770
  var l;
1771
1771
  const e = (l = j.value) == null ? void 0 : l.$el;
1772
- e && jr.create(e, {
1772
+ e && Pr.create(e, {
1773
1773
  animation: 150,
1774
1774
  handle: ".col-drag-icon",
1775
1775
  ghostClass: "sortable-ghost",
@@ -1781,8 +1781,8 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1781
1781
  Fl.value.splice(u, 0, o), W.value = (c = W.value) == null ? void 0 : c.slice().sort((d, p) => {
1782
1782
  if (d.label === "操作") return 1;
1783
1783
  if (p.label === "操作") return -1;
1784
- const f = Fl.value.findIndex((D) => D.label === d.label), S = Fl.value.findIndex((D) => D.label === p.label);
1785
- return f - S;
1784
+ const f = Fl.value.findIndex((D) => D.label === d.label), k = Fl.value.findIndex((D) => D.label === p.label);
1785
+ return f - k;
1786
1786
  });
1787
1787
  }
1788
1788
  });
@@ -1790,9 +1790,9 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1790
1790
  va(() => {
1791
1791
  ia.value = window.innerWidth - 240 * 2;
1792
1792
  });
1793
- const Vn = () => {
1793
+ const er = () => {
1794
1794
  sa(() => {
1795
- In();
1795
+ Vn();
1796
1796
  });
1797
1797
  }, pa = (e, l) => {
1798
1798
  var a;
@@ -1806,7 +1806,7 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1806
1806
  if ((u == null ? void 0 : u.id) === tl.value) {
1807
1807
  let d = {};
1808
1808
  for (let p in u) {
1809
- let f = (o = l == null ? void 0 : l.find((S) => (S == null ? void 0 : S.prop) === p)) == null ? void 0 : o.label;
1809
+ let f = (o = l == null ? void 0 : l.find((k) => (k == null ? void 0 : k.prop) === p)) == null ? void 0 : o.label;
1810
1810
  f ? d[p] = (c = Je.value) == null ? void 0 : c[f] : d[p] = u[p];
1811
1811
  }
1812
1812
  u = Object.assign(d, Je.value), n = u;
@@ -1826,7 +1826,7 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1826
1826
  if ((u == null ? void 0 : u.id) === tl.value) {
1827
1827
  let d = {};
1828
1828
  for (let p in u) {
1829
- let f = (o = l == null ? void 0 : l.find((S) => (S == null ? void 0 : S.prop) === p)) == null ? void 0 : o.label;
1829
+ let f = (o = l == null ? void 0 : l.find((k) => (k == null ? void 0 : k.prop) === p)) == null ? void 0 : o.label;
1830
1830
  f ? d[p] = (c = Je.value) == null ? void 0 : c[f] : d[p] = u[p];
1831
1831
  }
1832
1832
  u = Object.assign(d, Je.value), a = u;
@@ -1836,9 +1836,9 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1836
1836
  var o, c, d, p;
1837
1837
  if ((u == null ? void 0 : u.id) === tl.value) {
1838
1838
  let f = {};
1839
- for (let S in u) {
1840
- let D = (o = l == null ? void 0 : l.find((B) => (B == null ? void 0 : B.prop) === S)) == null ? void 0 : o.label;
1841
- D ? f[S] = (c = Je.value) == null ? void 0 : c[D] : f[S] = u[S];
1839
+ for (let k in u) {
1840
+ let D = (o = l == null ? void 0 : l.find((M) => (M == null ? void 0 : M.prop) === k)) == null ? void 0 : o.label;
1841
+ D ? f[k] = (c = Je.value) == null ? void 0 : c[D] : f[k] = u[k];
1842
1842
  }
1843
1843
  u = Object.assign(f, Je.value), a = u;
1844
1844
  } else
@@ -1861,58 +1861,58 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1861
1861
  return delete u.children, u;
1862
1862
  }) : [];
1863
1863
  }, Jl = (e = !0, l, n) => {
1864
- var f, S, D, B, h, O, E, _, M, N, $, r, U, g, m, v, R, i, k, b, w, F, x, C, q, V, oe, ie, T, le;
1865
- let a = Hl((f = G(W.value)) == null ? void 0 : f.filter((K) => (K == null ? void 0 : K.label) !== "操作")), u, o = G(Z.value);
1864
+ var f, k, D, M, h, O, E, _, F, B, N, r, U, g, A, v, R, i, T, b, $, K, x, C, q, ee, oe, ie, m;
1865
+ let a = Hl((f = G(W.value)) == null ? void 0 : f.filter((P) => (P == null ? void 0 : P.label) !== "操作")), u, o = G(I.value);
1866
1866
  if (!Je.value) {
1867
1867
  cl.value = !1;
1868
1868
  return;
1869
1869
  }
1870
1870
  if (tl.value === "") {
1871
- Ol.value++;
1872
- let K;
1873
- l && n ? K = {
1874
- id: Ol.value.toString(),
1871
+ _l.value++;
1872
+ let P;
1873
+ l && n ? P = {
1874
+ id: _l.value.toString(),
1875
1875
  [l == null ? void 0 : l.prop]: n,
1876
1876
  children: Je.value.children
1877
- } : K = { id: Ol.value.toString() }, K != null && K.children && (K = {
1878
- ...K,
1879
- children: (S = K.children) == null ? void 0 : S.map((re) => Oa(re, l, n))
1880
- }), o.push(Object.assign(Je.value, K)), u = Object.assign(Je.value, K);
1877
+ } : P = { id: _l.value.toString() }, P != null && P.children && (P = {
1878
+ ...P,
1879
+ children: (k = P.children) == null ? void 0 : k.map((Y) => Oa(Y, l, n))
1880
+ }), o.push(Object.assign(Je.value, P)), u = Object.assign(Je.value, P);
1881
1881
  } else
1882
- o = (D = _a(o, a)) == null ? void 0 : D.newContents, u = (B = _a(o, a)) == null ? void 0 : B.currentSelectContents;
1883
- const c = (h = s.itemData) == null ? void 0 : h.filter((K) => (K == null ? void 0 : K.key) === "childTree")[0];
1882
+ o = (D = _a(o, a)) == null ? void 0 : D.newContents, u = (M = _a(o, a)) == null ? void 0 : M.currentSelectContents;
1883
+ const c = (h = s.itemData) == null ? void 0 : h.filter((P) => (P == null ? void 0 : P.key) === "childTree")[0];
1884
1884
  if (((O = c == null ? void 0 : c.contents) == null ? void 0 : O.length) > 0) {
1885
- ll.value = "编辑";
1886
- const K = [];
1887
- o == null || o.forEach((re, te) => {
1888
- var A;
1889
- let ve = {};
1890
- if (Array.isArray(re)) {
1891
- let t = [];
1892
- re == null || re.filter((pe) => !(pe != null && pe.id)).forEach((pe, fe) => {
1893
- var be, Ce, Te, ul, sl, ol, Me;
1894
- if ((Ce = (be = al.value) == null ? void 0 : be[fe]) != null && Ce.prop && !Array.isArray(pe)) {
1895
- let dl = {};
1896
- dl[al.value[fe].column] = pe, Ae != null && Ae.value && ((Te = Ae == null ? void 0 : Ae.value) == null ? void 0 : Te.length) > 0 && ((ul = Ae == null ? void 0 : Ae.value) != null && ul.find((Fe) => JSON.stringify(Fe == null ? void 0 : Fe[0]) === JSON.stringify(dl))) && (t = (sl = Ae == null ? void 0 : Ae.value) == null ? void 0 : sl.find((Fe) => JSON.stringify(Fe == null ? void 0 : Fe[0]) === JSON.stringify(dl))), t && t.length > 0 ? ve[al.value[fe].prop] = t != null && t.find((Fe) => {
1897
- var Ie;
1898
- return ((Ie = Object.keys(Fe)) == null ? void 0 : Ie[0]) === al.value[fe].column;
1899
- }) ? (ol = t == null ? void 0 : t.find((Fe) => {
1900
- var Ie;
1901
- return ((Ie = Object.keys(Fe)) == null ? void 0 : Ie[0]) === al.value[fe].column;
1902
- })) == null ? void 0 : ol[al.value[fe].column] : pe : ve[al.value[fe].prop] = pe;
1903
- } else Array.isArray(pe) && ((Me = al.value[fe]) != null && Me.prop ? ve[al.value[fe].prop] = pe : ve.children = ya(pe, al.value));
1885
+ el.value = "编辑";
1886
+ const P = [];
1887
+ o == null || o.forEach((Y, ve) => {
1888
+ var de;
1889
+ let ne = {};
1890
+ if (Array.isArray(Y)) {
1891
+ let S = [];
1892
+ Y == null || Y.filter((t) => !(t != null && t.id)).forEach((t, pe) => {
1893
+ var ke, ye, Ce, Te, rl, ul, sl;
1894
+ if ((ye = (ke = ll.value) == null ? void 0 : ke[pe]) != null && ye.prop && !Array.isArray(t)) {
1895
+ let Be = {};
1896
+ Be[ll.value[pe].column] = t, Ae != null && Ae.value && ((Ce = Ae == null ? void 0 : Ae.value) == null ? void 0 : Ce.length) > 0 && ((Te = Ae == null ? void 0 : Ae.value) != null && Te.find((Fe) => JSON.stringify(Fe == null ? void 0 : Fe[0]) === JSON.stringify(Be))) && (S = (rl = Ae == null ? void 0 : Ae.value) == null ? void 0 : rl.find((Fe) => JSON.stringify(Fe == null ? void 0 : Fe[0]) === JSON.stringify(Be))), S && S.length > 0 ? ne[ll.value[pe].prop] = S != null && S.find((Fe) => {
1897
+ var ol;
1898
+ return ((ol = Object.keys(Fe)) == null ? void 0 : ol[0]) === ll.value[pe].column;
1899
+ }) ? (ul = S == null ? void 0 : S.find((Fe) => {
1900
+ var ol;
1901
+ return ((ol = Object.keys(Fe)) == null ? void 0 : ol[0]) === ll.value[pe].column;
1902
+ })) == null ? void 0 : ul[ll.value[pe].column] : t : ne[ll.value[pe].prop] = t;
1903
+ } else Array.isArray(t) && ((sl = ll.value[pe]) != null && sl.prop ? ne[ll.value[pe].prop] = t : ne.children = ya(t, ll.value));
1904
1904
  });
1905
1905
  } else
1906
- ve = re;
1907
- Array.isArray(re) && re.some((t) => t == null ? void 0 : t.id) ? K.push(Object.assign(ve, { id: (A = re == null ? void 0 : re.find((t) => t.id)) == null ? void 0 : A.id })) : ve.id ? K.push(ve) : K.push(Object.assign(ve, { id: te.toString() }));
1908
- }), Z.value = La(K, c, W.value);
1906
+ ne = Y;
1907
+ Array.isArray(Y) && Y.some((S) => S == null ? void 0 : S.id) ? P.push(Object.assign(ne, { id: (de = Y == null ? void 0 : Y.find((S) => S.id)) == null ? void 0 : de.id })) : ne.id ? P.push(ne) : P.push(Object.assign(ne, { id: ve.toString() }));
1908
+ }), I.value = La(P, c, W.value);
1909
1909
  } else
1910
- Z.value = o;
1911
- ja(Z.value), la.value = Z.value;
1912
- const d = gu(la.value, Bl.value, o);
1910
+ I.value = o;
1911
+ ja(I.value), la.value = I.value;
1912
+ const d = hu(la.value, Bl.value, o);
1913
1913
  let p = [];
1914
- if (wl.value ? (p = (E = G(wl).value.singleContent) == null ? void 0 : E.filter((K) => (K == null ? void 0 : K.id) !== (u == null ? void 0 : u.id)), p.push(u)) : p = [u], nl.value) {
1915
- const K = {
1914
+ if (wl.value ? (p = (E = G(wl).value.singleContent) == null ? void 0 : E.filter((P) => (P == null ? void 0 : P.id) !== (u == null ? void 0 : u.id)), p.push(u)) : p = [u], al.value) {
1915
+ const P = {
1916
1916
  content: d,
1917
1917
  singleContent: ((_ = c == null ? void 0 : c.contents) == null ? void 0 : _.length) > 0 ? p == null ? void 0 : p.flatMap(fa) : p,
1918
1918
  index: s == null ? void 0 : s.index,
@@ -1920,85 +1920,86 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
1920
1920
  column: W.value,
1921
1921
  parentTableId: s == null ? void 0 : s.parentTableId
1922
1922
  };
1923
- De.setCacheUpdatingData(K);
1923
+ De.setCacheUpdatingData(P);
1924
1924
  }
1925
1925
  if (e) {
1926
- let K = (r = ($ = (N = (M = s.itemData) == null ? void 0 : M.find((te) => (te == null ? void 0 : te.key) === "filterAllType")) == null ? void 0 : N.value) == null ? void 0 : $.find((te) => (te == null ? void 0 : te.value) === "onConditionContents")) == null ? void 0 : r.content;
1927
- const re = {
1926
+ let P = (r = (N = (B = (F = s.itemData) == null ? void 0 : F.find((ne) => (ne == null ? void 0 : ne.key) === "filterAllType")) == null ? void 0 : B.value) == null ? void 0 : N.find((ne) => (ne == null ? void 0 : ne.value) === "onConditionContents")) == null ? void 0 : r.content, Y = (U = s.itemData) == null ? void 0 : U.filter((ne) => (ne == null ? void 0 : ne.key) === "filterAllType");
1927
+ Y = [].concat(...Y.map((ne) => ne.value));
1928
+ const ve = {
1928
1929
  content: d,
1929
- singleContent: ((U = c == null ? void 0 : c.contents) == null ? void 0 : U.length) > 0 ? fa(u) : u,
1930
+ singleContent: ((g = c == null ? void 0 : c.contents) == null ? void 0 : g.length) > 0 ? fa(u) : u,
1930
1931
  index: s == null ? void 0 : s.index,
1931
- buttonName: ll.value,
1932
+ buttonName: el.value,
1932
1933
  column: W.value,
1933
1934
  parentTableId: s == null ? void 0 : s.parentTableId,
1934
- filter: K,
1935
- allFilter: (m = (g = s.itemData) == null ? void 0 : g.find((te) => (te == null ? void 0 : te.key) === "filterAllType")) == null ? void 0 : m.value,
1936
- pathIndex: (R = (v = s.itemData) == null ? void 0 : v.find((te) => (te == null ? void 0 : te.key) === "relatedFilter")) == null ? void 0 : R.index
1935
+ filter: P,
1936
+ allFilter: Y,
1937
+ pathIndex: (v = (A = s.itemData) == null ? void 0 : A.find((ne) => (ne == null ? void 0 : ne.key) === "relatedFilter")) == null ? void 0 : v.index
1937
1938
  };
1938
- De.setTableLoading(s == null ? void 0 : s.index), cl.value = !1, Je.value = void 0, Q("change", re);
1939
+ De.setTableLoading(s == null ? void 0 : s.index), cl.value = !1, Je.value = void 0, Q("change", ve);
1939
1940
  }
1940
- if ((b = (k = (i = Be.value) == null ? void 0 : i[0]) == null ? void 0 : k.optionUrl) != null && b.menuId) {
1941
+ if ((T = (i = (R = Me.value) == null ? void 0 : R[0]) == null ? void 0 : i.optionUrl) != null && T.menuId) {
1941
1942
  cl.value = !1;
1942
- let K = (w = s.itemData) == null ? void 0 : w.filter((re) => (re == null ? void 0 : re.key) === "filterAllType");
1943
- if ((K == null ? void 0 : K.length) > 0) {
1944
- let re = K == null ? void 0 : K.map((A) => A == null ? void 0 : A.value), te = (C = (x = (F = re.flat().find((A) => {
1945
- var t;
1946
- return (t = A == null ? void 0 : A.content) == null ? void 0 : t.includes("@Num");
1947
- })) == null ? void 0 : F.content) == null ? void 0 : x.split(":")) == null ? void 0 : C[1];
1948
- ((oe = (V = (q = re.flat().find((A) => {
1949
- var t;
1950
- return (t = A == null ? void 0 : A.content) == null ? void 0 : t.includes("@Select:");
1951
- })) == null ? void 0 : q.content) == null ? void 0 : V.split(":")) == null ? void 0 : oe[1]) !== "Manual" && (te = parseInt(te), Z.value = (le = Z.value) == null ? void 0 : le.slice(((ie = Z.value) == null ? void 0 : ie.length) - te, (T = Z.value) == null ? void 0 : T.length));
1943
+ let P = (b = s.itemData) == null ? void 0 : b.filter((Y) => (Y == null ? void 0 : Y.key) === "filterAllType");
1944
+ if ((P == null ? void 0 : P.length) > 0) {
1945
+ let Y = P == null ? void 0 : P.map((de) => de == null ? void 0 : de.value), ve = (x = (K = ($ = Y.flat().find((de) => {
1946
+ var S;
1947
+ return (S = de == null ? void 0 : de.content) == null ? void 0 : S.includes("@Num");
1948
+ })) == null ? void 0 : $.content) == null ? void 0 : K.split(":")) == null ? void 0 : x[1];
1949
+ ((ee = (q = (C = Y.flat().find((de) => {
1950
+ var S;
1951
+ return (S = de == null ? void 0 : de.content) == null ? void 0 : S.includes("@Select:");
1952
+ })) == null ? void 0 : C.content) == null ? void 0 : q.split(":")) == null ? void 0 : ee[1]) !== "Manual" && (ve = parseInt(ve), I.value = (m = I.value) == null ? void 0 : m.slice(((oe = I.value) == null ? void 0 : oe.length) - ve, (ie = I.value) == null ? void 0 : ie.length));
1952
1953
  }
1953
1954
  }
1954
1955
  };
1955
- pr(() => {
1956
- W.value = [], Z.value = [], Xe.value = [], Le.value = [], Ze.value = [], vl.value = [], Nl.value = [], Dl.value = [], Be.value = [], rl.value = [], j.value = null;
1956
+ fr(() => {
1957
+ W.value = [], I.value = [], Xe.value = [], Le.value = [], Ze.value = [], yl.value = [], Nl.value = [], Ol.value = [], Me.value = [], nl.value = [], j.value = null;
1957
1958
  });
1958
1959
  const Da = async (e, l, n) => {
1959
- var f, S, D, B, h, O, E, _, M, N, $;
1960
- kl.value = n == null ? void 0 : n.prop;
1960
+ var f, k, D, M, h, O, E, _, F, B, N;
1961
+ Sl.value = n == null ? void 0 : n.prop;
1961
1962
  const a = G(s.itemData), u = a == null ? void 0 : a.map((r) => {
1962
1963
  var U;
1963
- return (r == null ? void 0 : r.key) === "header" && ((U = r.contents) == null || U.map((g, m) => {
1964
- var v, R, i, k, b, w, F, x, C, q, V, oe, ie, T, le, K, re, te, ve;
1965
- return g.type = g != null && g.type ? g.type : (k = (i = (R = (v = g == null ? void 0 : g.key) == null ? void 0 : v.split("$")) == null ? void 0 : R[1]) == null ? void 0 : i.split("(")) != null && k[0] ? (w = (b = Ga) == null ? void 0 : b.find((A) => {
1966
- var t, pe, fe, be;
1967
- return (A == null ? void 0 : A.key) === ((be = (fe = (pe = (t = g == null ? void 0 : g.key) == null ? void 0 : t.split("$")) == null ? void 0 : pe[1]) == null ? void 0 : fe.split("(")) == null ? void 0 : be[0]);
1968
- })) == null ? void 0 : w.value : "Input", g.options = g != null && g.options ? g.options : ((C = (x = (F = g == null ? void 0 : g.key) == null ? void 0 : F.split("$")) == null ? void 0 : x[1]) == null ? void 0 : C.length) > 0 ? (ie = (oe = Ia((V = (q = g == null ? void 0 : g.key) == null ? void 0 : q.split("$")) == null ? void 0 : V[1])) == null ? void 0 : oe.split(",")) == null ? void 0 : ie.map((A) => ({
1969
- label: A,
1970
- value: A
1971
- })) : [], (T = g == null ? void 0 : g.key) != null && T.includes("$") && (g.key = (K = (le = g == null ? void 0 : g.key) == null ? void 0 : le.split("$")) == null ? void 0 : K[0]), g.value = (re = Object.values(l)) == null ? void 0 : re[m], g.optionUrl = g != null && g.formMenuSelect && ((te = g == null ? void 0 : g.formMenuSelect) == null ? void 0 : te.length) > 0 ? {
1972
- groupSelect: (ve = g == null ? void 0 : g.groupSelect) == null ? void 0 : ve.split(/[::]/).map((A) => A.trim()),
1964
+ return (r == null ? void 0 : r.key) === "header" && ((U = r.contents) == null || U.map((g, A) => {
1965
+ var v, R, i, T, b, $, K, x, C, q, ee, oe, ie, m, P, Y, ve, ne, de;
1966
+ return g.type = g != null && g.type ? g.type : (T = (i = (R = (v = g == null ? void 0 : g.key) == null ? void 0 : v.split("$")) == null ? void 0 : R[1]) == null ? void 0 : i.split("(")) != null && T[0] ? ($ = (b = Ha) == null ? void 0 : b.find((S) => {
1967
+ var t, pe, ke, ye;
1968
+ return (S == null ? void 0 : S.key) === ((ye = (ke = (pe = (t = g == null ? void 0 : g.key) == null ? void 0 : t.split("$")) == null ? void 0 : pe[1]) == null ? void 0 : ke.split("(")) == null ? void 0 : ye[0]);
1969
+ })) == null ? void 0 : $.value : "Input", g.options = g != null && g.options ? g.options : ((C = (x = (K = g == null ? void 0 : g.key) == null ? void 0 : K.split("$")) == null ? void 0 : x[1]) == null ? void 0 : C.length) > 0 ? (ie = (oe = Va((ee = (q = g == null ? void 0 : g.key) == null ? void 0 : q.split("$")) == null ? void 0 : ee[1])) == null ? void 0 : oe.split(",")) == null ? void 0 : ie.map((S) => ({
1970
+ label: S,
1971
+ value: S
1972
+ })) : [], (m = g == null ? void 0 : g.key) != null && m.includes("$") && (g.key = (Y = (P = g == null ? void 0 : g.key) == null ? void 0 : P.split("$")) == null ? void 0 : Y[0]), g.value = (ve = Object.values(l)) == null ? void 0 : ve[A], g.optionUrl = g != null && g.formMenuSelect && ((ne = g == null ? void 0 : g.formMenuSelect) == null ? void 0 : ne.length) > 0 ? {
1973
+ groupSelect: (de = g == null ? void 0 : g.groupSelect) == null ? void 0 : de.split(/[::]/).map((S) => S.trim()),
1973
1974
  menuSelect: g == null ? void 0 : g.formMenuSelect,
1974
1975
  selectRelateType: "",
1975
1976
  type: (g == null ? void 0 : g.formType) ?? (g != null && g.groupSelect ? "Select" : "")
1976
1977
  } : null, g;
1977
1978
  })), r;
1978
1979
  });
1979
- let o = G(Be.value), c = (S = (f = G(u)) == null ? void 0 : f.find((r) => (r == null ? void 0 : r.key) === "header")) == null ? void 0 : S.contents;
1980
+ let o = G(Me.value), c = (k = (f = G(u)) == null ? void 0 : f.find((r) => (r == null ? void 0 : r.key) === "header")) == null ? void 0 : k.contents;
1980
1981
  o = o == null ? void 0 : o.map((r) => {
1981
1982
  var U;
1982
- return r.value = (U = c == null ? void 0 : c.find((g, m) => m === (r == null ? void 0 : r.id))) == null ? void 0 : U.value, r;
1983
+ return r.value = (U = c == null ? void 0 : c.find((g, A) => A === (r == null ? void 0 : r.id))) == null ? void 0 : U.value, r;
1983
1984
  });
1984
- let d = "", p = (h = (B = (D = G(u)) == null ? void 0 : D.find((r) => (r == null ? void 0 : r.key) === "header")) == null ? void 0 : B.contents) == null ? void 0 : h.find((r, U) => {
1985
- var g, m, v;
1986
- return (r == null ? void 0 : r.label) === kl.value || (U == null ? void 0 : U.toString()) === ((v = (m = (g = kl.value) == null ? void 0 : g.split("a")) == null ? void 0 : m[1]) == null ? void 0 : v.toString());
1985
+ let d = "", p = (h = (M = (D = G(u)) == null ? void 0 : D.find((r) => (r == null ? void 0 : r.key) === "header")) == null ? void 0 : M.contents) == null ? void 0 : h.find((r, U) => {
1986
+ var g, A, v;
1987
+ return (r == null ? void 0 : r.label) === Sl.value || (U == null ? void 0 : U.toString()) === ((v = (A = (g = Sl.value) == null ? void 0 : g.split("a")) == null ? void 0 : A[1]) == null ? void 0 : v.toString());
1987
1988
  });
1988
1989
  if ((_ = (E = (O = G(u)) == null ? void 0 : O.find((r) => (r == null ? void 0 : r.key) === "header")) == null ? void 0 : E.contents) == null || _.forEach((r) => {
1989
- var U, g, m, v, R;
1990
- d === "" && ((m = (g = (U = r == null ? void 0 : r.optionUrl) == null ? void 0 : U.groupSelect) == null ? void 0 : g[1]) != null && m.includes("[")) && (d = (R = (v = r == null ? void 0 : r.optionUrl) == null ? void 0 : v.groupSelect) == null ? void 0 : R[1]);
1991
- }), (M = p == null ? void 0 : p.optionUrl) != null && M.menuSelect) {
1992
- let r = await en(p), U;
1990
+ var U, g, A, v, R;
1991
+ d === "" && ((A = (g = (U = r == null ? void 0 : r.optionUrl) == null ? void 0 : U.groupSelect) == null ? void 0 : g[1]) != null && A.includes("[")) && (d = (R = (v = r == null ? void 0 : r.optionUrl) == null ? void 0 : v.groupSelect) == null ? void 0 : R[1]);
1992
+ }), (F = p == null ? void 0 : p.optionUrl) != null && F.menuSelect) {
1993
+ let r = await ln(p), U;
1993
1994
  if (r == null || r.forEach((g) => {
1994
- var m, v, R, i, k, b, w, F, x, C;
1995
- d === ((v = (m = p == null ? void 0 : p.optionUrl) == null ? void 0 : m.groupSelect) == null ? void 0 : v[1]) && ((k = (i = (R = p == null ? void 0 : p.optionUrl) == null ? void 0 : R.groupSelect) == null ? void 0 : i[1]) != null && k.includes("[")) && ((C = G(g)) == null ? void 0 : C[(x = (F = (w = (b = p == null ? void 0 : p.optionUrl) == null ? void 0 : b.groupSelect) == null ? void 0 : w[1]) == null ? void 0 : F.replaceAll("[", "")) == null ? void 0 : x.replaceAll("]", "")]) === (p == null ? void 0 : p.value) && (U = g);
1995
+ var A, v, R, i, T, b, $, K, x, C;
1996
+ d === ((v = (A = p == null ? void 0 : p.optionUrl) == null ? void 0 : A.groupSelect) == null ? void 0 : v[1]) && ((T = (i = (R = p == null ? void 0 : p.optionUrl) == null ? void 0 : R.groupSelect) == null ? void 0 : i[1]) != null && T.includes("[")) && ((C = G(g)) == null ? void 0 : C[(x = (K = ($ = (b = p == null ? void 0 : p.optionUrl) == null ? void 0 : b.groupSelect) == null ? void 0 : $[1]) == null ? void 0 : K.replaceAll("[", "")) == null ? void 0 : x.replaceAll("]", "")]) === (p == null ? void 0 : p.value) && (U = g);
1996
1997
  }), U) {
1997
1998
  let g = G(o);
1998
1999
  g = g == null ? void 0 : g.map((v) => {
1999
- var R, i, k, b, w, F, x, C, q, V, oe;
2000
- return (U != null && U[v == null ? void 0 : v.label] || U != null && U[(b = (k = (i = (R = v == null ? void 0 : v.optionUrl) == null ? void 0 : R.groupSelect) == null ? void 0 : i[1]) == null ? void 0 : k.replaceAll("[", "")) == null ? void 0 : b.replaceAll("]", "")]) && ((x = (F = (w = v == null ? void 0 : v.optionUrl) == null ? void 0 : w.groupSelect) == null ? void 0 : F[1]) != null && x.includes("[")) && (v.value = (U == null ? void 0 : U[v == null ? void 0 : v.label]) || (U == null ? void 0 : U[(oe = (V = (q = (C = v == null ? void 0 : v.optionUrl) == null ? void 0 : C.groupSelect) == null ? void 0 : q[1]) == null ? void 0 : V.replaceAll("[", "")) == null ? void 0 : oe.replaceAll("]", "")])), v;
2001
- }), Z.value = (N = G(Z.value)) == null ? void 0 : N.map((v) => {
2000
+ var R, i, T, b, $, K, x, C, q, ee, oe;
2001
+ return (U != null && U[v == null ? void 0 : v.label] || U != null && U[(b = (T = (i = (R = v == null ? void 0 : v.optionUrl) == null ? void 0 : R.groupSelect) == null ? void 0 : i[1]) == null ? void 0 : T.replaceAll("[", "")) == null ? void 0 : b.replaceAll("]", "")]) && ((x = (K = ($ = v == null ? void 0 : v.optionUrl) == null ? void 0 : $.groupSelect) == null ? void 0 : K[1]) != null && x.includes("[")) && (v.value = (U == null ? void 0 : U[v == null ? void 0 : v.label]) || (U == null ? void 0 : U[(oe = (ee = (q = (C = v == null ? void 0 : v.optionUrl) == null ? void 0 : C.groupSelect) == null ? void 0 : q[1]) == null ? void 0 : ee.replaceAll("[", "")) == null ? void 0 : oe.replaceAll("]", "")])), v;
2002
+ }), I.value = (B = G(I.value)) == null ? void 0 : B.map((v) => {
2002
2003
  if ((v == null ? void 0 : v.id) === (l == null ? void 0 : l.id)) {
2003
2004
  const R = {};
2004
2005
  return g == null || g.forEach((i) => {
@@ -2007,21 +2008,21 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2007
2008
  }
2008
2009
  return v;
2009
2010
  });
2010
- let m = G(g);
2011
- m = m == null ? void 0 : m.map((v) => {
2012
- var R, i, k, b;
2013
- return (i = (R = v == null ? void 0 : v.optionUrl) == null ? void 0 : R.menuSelect) != null && i.some((w) => w == null ? void 0 : w.includes) && (v.optionUrl.menuSelect = (b = (k = v == null ? void 0 : v.optionUrl) == null ? void 0 : k.menuSelect) == null ? void 0 : b.map((w) => {
2014
- var F, x, C, q;
2015
- if (w != null && w.includes("[")) {
2016
- let V = (x = (F = w == null ? void 0 : w.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : F.split(":")) == null ? void 0 : x[1];
2017
- w = (q = (C = G(g)) == null ? void 0 : C.find((oe) => (oe == null ? void 0 : oe.label) === V)) == null ? void 0 : q.value;
2011
+ let A = G(g);
2012
+ A = A == null ? void 0 : A.map((v) => {
2013
+ var R, i, T, b;
2014
+ return (i = (R = v == null ? void 0 : v.optionUrl) == null ? void 0 : R.menuSelect) != null && i.some(($) => $ == null ? void 0 : $.includes) && (v.optionUrl.menuSelect = (b = (T = v == null ? void 0 : v.optionUrl) == null ? void 0 : T.menuSelect) == null ? void 0 : b.map(($) => {
2015
+ var K, x, C, q;
2016
+ if ($ != null && $.includes("[")) {
2017
+ let ee = (x = (K = $ == null ? void 0 : $.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : K.split(":")) == null ? void 0 : x[1];
2018
+ $ = (q = (C = G(g)) == null ? void 0 : C.find((oe) => (oe == null ? void 0 : oe.label) === ee)) == null ? void 0 : q.value;
2018
2019
  }
2019
- return w;
2020
+ return $;
2020
2021
  })), v;
2021
- }), Z.value = ($ = G(Z.value)) == null ? void 0 : $.map((v) => {
2022
+ }), I.value = (N = G(I.value)) == null ? void 0 : N.map((v) => {
2022
2023
  if ((v == null ? void 0 : v.id) === (l == null ? void 0 : l.id)) {
2023
2024
  const R = {};
2024
- return m == null || m.forEach((i) => {
2025
+ return A == null || A.forEach((i) => {
2025
2026
  R[i.name] = i.value;
2026
2027
  }), R.id = v == null ? void 0 : v.id, R;
2027
2028
  }
@@ -2029,97 +2030,97 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2029
2030
  });
2030
2031
  }
2031
2032
  }
2032
- }, er = async (e) => {
2033
- var D, B, h, O, E, _, M, N, $, r, U, g, m, v, R;
2033
+ }, lr = async (e) => {
2034
+ var D, M, h, O, E, _, F, B, N, r, U, g, A, v, R;
2034
2035
  if (!e) return;
2035
2036
  Je.value = e;
2036
2037
  const l = G(s.itemData);
2037
2038
  let n = l == null ? void 0 : l.map((i) => {
2038
- var k;
2039
- return (i == null ? void 0 : i.key) === "header" && ((k = i.contents) == null || k.map((b, w) => {
2040
- var F, x, C, q, V, oe, ie, T, le, K, re, te, ve, A, t, pe, fe, be, Ce;
2041
- return b.type = b != null && b.type ? b.type : (q = (C = (x = (F = b == null ? void 0 : b.key) == null ? void 0 : F.split("$")) == null ? void 0 : x[1]) == null ? void 0 : C.split("(")) != null && q[0] ? (oe = (V = Ga) == null ? void 0 : V.find((Te) => {
2042
- var ul, sl, ol, Me;
2043
- return (Te == null ? void 0 : Te.key) === ((Me = (ol = (sl = (ul = b == null ? void 0 : b.key) == null ? void 0 : ul.split("$")) == null ? void 0 : sl[1]) == null ? void 0 : ol.split("(")) == null ? void 0 : Me[0]);
2044
- })) == null ? void 0 : oe.value : "Input", b.options = b != null && b.options ? b.options : ((le = (T = (ie = b == null ? void 0 : b.key) == null ? void 0 : ie.split("$")) == null ? void 0 : T[1]) == null ? void 0 : le.length) > 0 ? (ve = (te = Ia((re = (K = b == null ? void 0 : b.key) == null ? void 0 : K.split("$")) == null ? void 0 : re[1])) == null ? void 0 : te.split(",")) == null ? void 0 : ve.map((Te) => ({
2039
+ var T;
2040
+ return (i == null ? void 0 : i.key) === "header" && ((T = i.contents) == null || T.map((b, $) => {
2041
+ var K, x, C, q, ee, oe, ie, m, P, Y, ve, ne, de, S, t, pe, ke, ye, Ce;
2042
+ return b.type = b != null && b.type ? b.type : (q = (C = (x = (K = b == null ? void 0 : b.key) == null ? void 0 : K.split("$")) == null ? void 0 : x[1]) == null ? void 0 : C.split("(")) != null && q[0] ? (oe = (ee = Ha) == null ? void 0 : ee.find((Te) => {
2043
+ var rl, ul, sl, Be;
2044
+ return (Te == null ? void 0 : Te.key) === ((Be = (sl = (ul = (rl = b == null ? void 0 : b.key) == null ? void 0 : rl.split("$")) == null ? void 0 : ul[1]) == null ? void 0 : sl.split("(")) == null ? void 0 : Be[0]);
2045
+ })) == null ? void 0 : oe.value : "Input", b.options = b != null && b.options ? b.options : ((P = (m = (ie = b == null ? void 0 : b.key) == null ? void 0 : ie.split("$")) == null ? void 0 : m[1]) == null ? void 0 : P.length) > 0 ? (de = (ne = Va((ve = (Y = b == null ? void 0 : b.key) == null ? void 0 : Y.split("$")) == null ? void 0 : ve[1])) == null ? void 0 : ne.split(",")) == null ? void 0 : de.map((Te) => ({
2045
2046
  label: Te,
2046
2047
  value: Te
2047
- })) : [], (A = b == null ? void 0 : b.key) != null && A.includes("$") && (b.key = (pe = (t = b == null ? void 0 : b.key) == null ? void 0 : t.split("$")) == null ? void 0 : pe[0]), b.value = (fe = Object.values(e)) == null ? void 0 : fe[w], b.optionUrl = b != null && b.formMenuSelect && ((be = b == null ? void 0 : b.formMenuSelect) == null ? void 0 : be.length) > 0 ? {
2048
+ })) : [], (S = b == null ? void 0 : b.key) != null && S.includes("$") && (b.key = (pe = (t = b == null ? void 0 : b.key) == null ? void 0 : t.split("$")) == null ? void 0 : pe[0]), b.value = (ke = Object.values(e)) == null ? void 0 : ke[$], b.optionUrl = b != null && b.formMenuSelect && ((ye = b == null ? void 0 : b.formMenuSelect) == null ? void 0 : ye.length) > 0 ? {
2048
2049
  groupSelect: (Ce = b == null ? void 0 : b.groupSelect) == null ? void 0 : Ce.split(/[::]/).map((Te) => Te.trim()),
2049
2050
  menuSelect: b == null ? void 0 : b.formMenuSelect,
2050
2051
  selectRelateType: "",
2051
2052
  type: (b == null ? void 0 : b.formType) ?? (b != null && b.groupSelect ? "Select" : "")
2052
2053
  } : null, b;
2053
2054
  })), i;
2054
- }), a = Be.value, u = (B = (D = G(n)) == null ? void 0 : D.find((i) => (i == null ? void 0 : i.key) === "header")) == null ? void 0 : B.contents;
2055
+ }), a = Me.value, u = (M = (D = G(n)) == null ? void 0 : D.find((i) => (i == null ? void 0 : i.key) === "header")) == null ? void 0 : M.contents;
2055
2056
  if (u = u == null ? void 0 : u.filter((i) => (i == null ? void 0 : i.label) !== "操作"), u.push({
2056
2057
  label: "操作",
2057
2058
  type: "operate"
2058
2059
  }), a = a == null ? void 0 : a.map((i) => {
2059
- var k;
2060
- return i.value = i.value ?? ((k = u == null ? void 0 : u.find((b, w) => (b == null ? void 0 : b.prop) === (i == null ? void 0 : i.name))) == null ? void 0 : k.value), i;
2060
+ var T;
2061
+ return i.value = i.value ?? ((T = u == null ? void 0 : u.find((b, $) => (b == null ? void 0 : b.prop) === (i == null ? void 0 : i.name))) == null ? void 0 : T.value), i;
2061
2062
  }), !Ml.value) return;
2062
- let o = "", c = (E = (O = (h = G(n)) == null ? void 0 : h.find((i) => (i == null ? void 0 : i.key) === "header")) == null ? void 0 : O.contents) == null ? void 0 : E.find((i, k) => {
2063
- var b, w, F;
2064
- return (i == null ? void 0 : i.label) === kl.value || (k == null ? void 0 : k.toString()) === ((F = (w = (b = kl.value) == null ? void 0 : b.split("a")) == null ? void 0 : w[1]) == null ? void 0 : F.toString());
2063
+ let o = "", c = (E = (O = (h = G(n)) == null ? void 0 : h.find((i) => (i == null ? void 0 : i.key) === "header")) == null ? void 0 : O.contents) == null ? void 0 : E.find((i, T) => {
2064
+ var b, $, K;
2065
+ return (i == null ? void 0 : i.label) === Sl.value || (T == null ? void 0 : T.toString()) === ((K = ($ = (b = Sl.value) == null ? void 0 : b.split("a")) == null ? void 0 : $[1]) == null ? void 0 : K.toString());
2065
2066
  }), d = (_ = c == null ? void 0 : c.optionUrl) == null ? void 0 : _.menuSelect, p = !0;
2066
- ($ = (N = (M = G(n)) == null ? void 0 : M.find((i) => (i == null ? void 0 : i.key) === "header")) == null ? void 0 : N.contents) == null || $.forEach((i) => {
2067
- var k, b, w, F, x, C;
2068
- p && ((w = (b = (k = i == null ? void 0 : i.optionUrl) == null ? void 0 : k.groupSelect) == null ? void 0 : b[1]) != null && w.includes("[")) && (o = (x = (F = i == null ? void 0 : i.optionUrl) == null ? void 0 : F.groupSelect) == null ? void 0 : x[1], JSON.stringify(d) === JSON.stringify((C = i == null ? void 0 : i.optionUrl) == null ? void 0 : C.menuSelect) && (p = !1));
2067
+ (N = (B = (F = G(n)) == null ? void 0 : F.find((i) => (i == null ? void 0 : i.key) === "header")) == null ? void 0 : B.contents) == null || N.forEach((i) => {
2068
+ var T, b, $, K, x, C;
2069
+ p && (($ = (b = (T = i == null ? void 0 : i.optionUrl) == null ? void 0 : T.groupSelect) == null ? void 0 : b[1]) != null && $.includes("[")) && (o = (x = (K = i == null ? void 0 : i.optionUrl) == null ? void 0 : K.groupSelect) == null ? void 0 : x[1], JSON.stringify(d) === JSON.stringify((C = i == null ? void 0 : i.optionUrl) == null ? void 0 : C.menuSelect) && (p = !1));
2069
2070
  });
2070
2071
  let f = G(a);
2071
2072
  f = f == null ? void 0 : f.map((i) => {
2072
- var k, b;
2073
- return (i == null ? void 0 : i.type) === "Select" && ((b = (k = i == null ? void 0 : i.optionUrl) == null ? void 0 : k.allSelectionContents) == null ? void 0 : b.length) > 0 && (i.optionUrl.contactValue = e), i.value = e == null ? void 0 : e[i == null ? void 0 : i.prop], i;
2074
- }), Be.value = G(f);
2075
- let S = (g = (U = (r = Be.value) == null ? void 0 : r.find((i) => {
2076
- var k;
2077
- return (k = i == null ? void 0 : i.optionUrl) == null ? void 0 : k.menuId;
2073
+ var T, b;
2074
+ return (i == null ? void 0 : i.type) === "Select" && ((b = (T = i == null ? void 0 : i.optionUrl) == null ? void 0 : T.allSelectionContents) == null ? void 0 : b.length) > 0 && (i.optionUrl.contactValue = e), i.value = e == null ? void 0 : e[i == null ? void 0 : i.prop], i;
2075
+ }), Me.value = G(f);
2076
+ let k = (g = (U = (r = Me.value) == null ? void 0 : r.find((i) => {
2077
+ var T;
2078
+ return (T = i == null ? void 0 : i.optionUrl) == null ? void 0 : T.menuId;
2078
2079
  })) == null ? void 0 : U.optionUrl) == null ? void 0 : g.menuId;
2079
- if ((m = c == null ? void 0 : c.optionUrl) != null && m.menuSelect && Ml.value || S) {
2080
- let i = await en(c, S), k;
2080
+ if ((A = c == null ? void 0 : c.optionUrl) != null && A.menuSelect && Ml.value || k) {
2081
+ let i = await ln(c, k), T;
2081
2082
  if ((v = c == null ? void 0 : c.optionUrl) == null || v.menuSelect, i == null || i.forEach((b) => {
2082
- var w, F, x, C, q, V, oe, ie, T, le, K, re, te, ve;
2083
- o === ((F = (w = c == null ? void 0 : c.optionUrl) == null ? void 0 : w.groupSelect) == null ? void 0 : F[1]) && ((q = (C = (x = c == null ? void 0 : c.optionUrl) == null ? void 0 : x.groupSelect) == null ? void 0 : C[1]) != null && q.includes("[")) && ((le = G(b)) == null ? void 0 : le[(T = (ie = (oe = (V = c == null ? void 0 : c.optionUrl) == null ? void 0 : V.groupSelect) == null ? void 0 : oe[1]) == null ? void 0 : ie.replaceAll("[", "")) == null ? void 0 : T.replaceAll("]", "")]) === (c == null ? void 0 : c.value) && (k = b), S && b[(re = (K = Be.value) == null ? void 0 : K.find((A) => {
2083
+ var $, K, x, C, q, ee, oe, ie, m, P, Y, ve, ne, de;
2084
+ o === ((K = ($ = c == null ? void 0 : c.optionUrl) == null ? void 0 : $.groupSelect) == null ? void 0 : K[1]) && ((q = (C = (x = c == null ? void 0 : c.optionUrl) == null ? void 0 : x.groupSelect) == null ? void 0 : C[1]) != null && q.includes("[")) && ((P = G(b)) == null ? void 0 : P[(m = (ie = (oe = (ee = c == null ? void 0 : c.optionUrl) == null ? void 0 : ee.groupSelect) == null ? void 0 : oe[1]) == null ? void 0 : ie.replaceAll("[", "")) == null ? void 0 : m.replaceAll("]", "")]) === (c == null ? void 0 : c.value) && (T = b), k && b[(ve = (Y = Me.value) == null ? void 0 : Y.find((S) => {
2084
2085
  var t;
2085
- return (t = A == null ? void 0 : A.optionUrl) == null ? void 0 : t.menuId;
2086
- })) == null ? void 0 : re.prop] === e[(ve = (te = Be.value) == null ? void 0 : te.find((A) => {
2086
+ return (t = S == null ? void 0 : S.optionUrl) == null ? void 0 : t.menuId;
2087
+ })) == null ? void 0 : ve.prop] === e[(de = (ne = Me.value) == null ? void 0 : ne.find((S) => {
2087
2088
  var t;
2088
- return (t = A == null ? void 0 : A.optionUrl) == null ? void 0 : t.menuId;
2089
- })) == null ? void 0 : ve.prop] && (k = b);
2090
- }), k) {
2089
+ return (t = S == null ? void 0 : S.optionUrl) == null ? void 0 : t.menuId;
2090
+ })) == null ? void 0 : de.prop] && (T = b);
2091
+ }), T) {
2091
2092
  let b = G(a);
2092
2093
  b = b == null ? void 0 : b.map((x) => {
2093
- var C, q, V, oe, ie, T, le, K, re, te, ve, A, t, pe, fe, be, Ce;
2094
- return (k != null && k[x == null ? void 0 : x.label] || k != null && k[(oe = (V = (q = (C = x == null ? void 0 : x.optionUrl) == null ? void 0 : C.groupSelect) == null ? void 0 : q[1]) == null ? void 0 : V.replaceAll("[", "")) == null ? void 0 : oe.replaceAll("]", "")]) && ((le = (T = (ie = x == null ? void 0 : x.optionUrl) == null ? void 0 : ie.groupSelect) == null ? void 0 : T[1]) != null && le.includes("[")) && (x.value = (k == null ? void 0 : k[x == null ? void 0 : x.label]) || (k == null ? void 0 : k[(ve = (te = (re = (K = x == null ? void 0 : x.optionUrl) == null ? void 0 : K.groupSelect) == null ? void 0 : re[1]) == null ? void 0 : te.replaceAll("[", "")) == null ? void 0 : ve.replaceAll("]", "")])), S && (k != null && k[x == null ? void 0 : x.label]) ? x.value = (k == null ? void 0 : k[x == null ? void 0 : x.label]) || (k == null ? void 0 : k[(fe = (pe = (t = (A = x == null ? void 0 : x.optionUrl) == null ? void 0 : A.groupSelect) == null ? void 0 : t[1]) == null ? void 0 : pe.replaceAll("[", "")) == null ? void 0 : fe.replaceAll("]", "")]) : x.value = (Ce = (be = Be.value) == null ? void 0 : be.find((Te) => (Te == null ? void 0 : Te.prop) === (x == null ? void 0 : x.prop))) == null ? void 0 : Ce.value, x;
2095
- }), Be.value = G(b);
2096
- let w = G(b);
2097
- w = w == null ? void 0 : w.map((x) => {
2098
- var C, q, V, oe, ie, T;
2099
- return (q = (C = x == null ? void 0 : x.optionUrl) == null ? void 0 : C.menuSelect) != null && q.some((le) => le == null ? void 0 : le.includes("[")) && (x.optionUrl.oldMenuSelect = (oe = (V = G(x)) == null ? void 0 : V.optionUrl) == null ? void 0 : oe.menuSelect, x.optionUrl.menuSelect = (T = (ie = x == null ? void 0 : x.optionUrl) == null ? void 0 : ie.menuSelect) == null ? void 0 : T.map((le) => {
2100
- var K, re, te, ve;
2101
- if (le != null && le.includes("[")) {
2102
- let A = (re = (K = le == null ? void 0 : le.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : K.split(":")) == null ? void 0 : re[1];
2103
- le = (ve = (te = G(b)) == null ? void 0 : te.find((t) => (t == null ? void 0 : t.label) === A)) == null ? void 0 : ve.value;
2094
+ var C, q, ee, oe, ie, m, P, Y, ve, ne, de, S, t, pe, ke, ye, Ce;
2095
+ return (T != null && T[x == null ? void 0 : x.label] || T != null && T[(oe = (ee = (q = (C = x == null ? void 0 : x.optionUrl) == null ? void 0 : C.groupSelect) == null ? void 0 : q[1]) == null ? void 0 : ee.replaceAll("[", "")) == null ? void 0 : oe.replaceAll("]", "")]) && ((P = (m = (ie = x == null ? void 0 : x.optionUrl) == null ? void 0 : ie.groupSelect) == null ? void 0 : m[1]) != null && P.includes("[")) && (x.value = (T == null ? void 0 : T[x == null ? void 0 : x.label]) || (T == null ? void 0 : T[(de = (ne = (ve = (Y = x == null ? void 0 : x.optionUrl) == null ? void 0 : Y.groupSelect) == null ? void 0 : ve[1]) == null ? void 0 : ne.replaceAll("[", "")) == null ? void 0 : de.replaceAll("]", "")])), k && (T != null && T[x == null ? void 0 : x.label]) ? x.value = (T == null ? void 0 : T[x == null ? void 0 : x.label]) || (T == null ? void 0 : T[(ke = (pe = (t = (S = x == null ? void 0 : x.optionUrl) == null ? void 0 : S.groupSelect) == null ? void 0 : t[1]) == null ? void 0 : pe.replaceAll("[", "")) == null ? void 0 : ke.replaceAll("]", "")]) : x.value = (Ce = (ye = Me.value) == null ? void 0 : ye.find((Te) => (Te == null ? void 0 : Te.prop) === (x == null ? void 0 : x.prop))) == null ? void 0 : Ce.value, x;
2096
+ }), Me.value = G(b);
2097
+ let $ = G(b);
2098
+ $ = $ == null ? void 0 : $.map((x) => {
2099
+ var C, q, ee, oe, ie, m;
2100
+ return (q = (C = x == null ? void 0 : x.optionUrl) == null ? void 0 : C.menuSelect) != null && q.some((P) => P == null ? void 0 : P.includes("[")) && (x.optionUrl.oldMenuSelect = (oe = (ee = G(x)) == null ? void 0 : ee.optionUrl) == null ? void 0 : oe.menuSelect, x.optionUrl.menuSelect = (m = (ie = x == null ? void 0 : x.optionUrl) == null ? void 0 : ie.menuSelect) == null ? void 0 : m.map((P) => {
2101
+ var Y, ve, ne, de;
2102
+ if (P != null && P.includes("[")) {
2103
+ let S = (ve = (Y = P == null ? void 0 : P.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Y.split(":")) == null ? void 0 : ve[1];
2104
+ P = (de = (ne = G(b)) == null ? void 0 : ne.find((t) => (t == null ? void 0 : t.label) === S)) == null ? void 0 : de.value;
2104
2105
  }
2105
- return le;
2106
+ return P;
2106
2107
  })), x;
2107
- }), Be.value = w;
2108
- let F = {};
2109
- (R = Be.value) == null || R.forEach((x) => {
2110
- F[x.prop] = x == null ? void 0 : x.value;
2111
- }), Je.value = F;
2108
+ }), Me.value = $;
2109
+ let K = {};
2110
+ (R = Me.value) == null || R.forEach((x) => {
2111
+ K[x.prop] = x == null ? void 0 : x.value;
2112
+ }), Je.value = K;
2112
2113
  }
2113
2114
  }
2114
2115
  Ml.value = !1;
2115
- }, lr = (e) => e ? (e == null ? void 0 : e.toUpperCase()) === "INPUT" ? "TEXTAREA" : e : "TEXTAREA", ar = (e) => {
2116
+ }, ar = (e) => e ? (e == null ? void 0 : e.toUpperCase()) === "INPUT" ? "TEXTAREA" : e : "TEXTAREA", nr = (e) => {
2116
2117
  var o, c;
2117
2118
  const l = (c = (o = Ze.value) == null ? void 0 : o.find((d) => (d == null ? void 0 : d.label) === (e == null ? void 0 : e.label))) == null ? void 0 : c.multiple, n = e == null ? void 0 : e.prop;
2118
2119
  if ((e == null ? void 0 : e.formType) != "Select")
2119
2120
  return;
2120
- Z.value.forEach((d) => {
2121
+ I.value.forEach((d) => {
2121
2122
  const p = d == null ? void 0 : d[n];
2122
- l && Za(p) && (d[n] = [p]), !l && !Za(p) && (d[n] = "");
2123
+ l && Ia(p) && (d[n] = [p]), !l && !Ia(p) && (d[n] = "");
2123
2124
  });
2124
2125
  }, Ea = (e, l) => {
2125
2126
  var n;
@@ -2129,13 +2130,13 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2129
2130
  }, ga = (e) => {
2130
2131
  var n, a, u, o, c, d;
2131
2132
  zl("");
2132
- const l = (n = Be.value) == null ? void 0 : n.reduce((p, f) => (p[f.name] = f.value, p), {});
2133
+ const l = (n = Me.value) == null ? void 0 : n.reduce((p, f) => (p[f.name] = f.value, p), {});
2133
2134
  if (((a = Object.keys(l)) == null ? void 0 : a.length) > 0) {
2134
- Je.value = l, tl.value = "", Ol.value = (u = Z.value) == null ? void 0 : u.length, Dl.value = (o = bl.value) == null ? void 0 : o.filter((f) => (f == null ? void 0 : f.label) !== "新增");
2135
+ Je.value = l, tl.value = "", _l.value = (u = I.value) == null ? void 0 : u.length, Ol.value = (o = vl.value) == null ? void 0 : o.filter((f) => (f == null ? void 0 : f.label) !== "新增");
2135
2136
  const p = (d = (c = Xe.value) == null ? void 0 : c.filter((f) => (f == null ? void 0 : f.label) !== "操作")) == null ? void 0 : d.map((f) => {
2136
- var D, B, h;
2137
- const S = (B = (D = Ze.value) == null ? void 0 : D.find((O) => (O == null ? void 0 : O.label) === (f == null ? void 0 : f.label))) == null ? void 0 : B.multiple;
2138
- return ar(f), {
2137
+ var D, M, h;
2138
+ const k = (M = (D = Ze.value) == null ? void 0 : D.find((O) => (O == null ? void 0 : O.label) === (f == null ? void 0 : f.label))) == null ? void 0 : M.multiple;
2139
+ return nr(f), {
2139
2140
  ...f,
2140
2141
  contents: (f == null ? void 0 : f.options) ?? [],
2141
2142
  // type: 'edit',
@@ -2144,7 +2145,7 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2144
2145
  menuSelect: f == null ? void 0 : f.formMenuSelect,
2145
2146
  selectRelateType: "",
2146
2147
  type: f == null ? void 0 : f.formType,
2147
- multiple: S
2148
+ multiple: k
2148
2149
  } : null
2149
2150
  // 表格编辑视图组件类型:兼容表头类型切换逻辑,优先模型里定义的类型,其次是手动配置的类型
2150
2151
  // columnType: convertColType(col?.formType) || col?.columnType
@@ -2153,21 +2154,21 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2153
2154
  W.value = p == null ? void 0 : p.map((f) => Ea(f, [{
2154
2155
  prop: "type",
2155
2156
  value: "edit"
2156
- }, { prop: "columnType", value: lr(f == null ? void 0 : f.formType) || (f == null ? void 0 : f.columnType) }])), e === "createClick" && Jl(!1);
2157
+ }, { prop: "columnType", value: ar(f == null ? void 0 : f.formType) || (f == null ? void 0 : f.columnType) }])), e === "createClick" && Jl(!1);
2157
2158
  }
2158
- }, jl = {
2159
+ }, El = {
2159
2160
  START: "开始时间",
2160
2161
  END: "结束时间",
2161
2162
  HOURS: "工时"
2162
- }, nr = (e, l) => Number(Ha(l).diff(Ha(e), "day", !0).toFixed(1)), ja = (e) => {
2163
+ }, rr = (e, l) => Number(Qa(l).diff(Qa(e), "day", !0).toFixed(1)), ja = (e) => {
2163
2164
  var o;
2164
2165
  const l = s.itemData, n = (o = l == null ? void 0 : l.find((c) => (c == null ? void 0 : c.key) === "header")) == null ? void 0 : o.contents, a = /* @__PURE__ */ new Map();
2165
2166
  return n == null || n.forEach((c, d) => {
2166
2167
  const { label: p } = c;
2167
2168
  a.set(p, d);
2168
- }), !a.has(jl.START) || !a.has(jl.END) || !a.has(jl.HOURS) ? e : e == null ? void 0 : e.map((c) => {
2169
- const d = c == null ? void 0 : c[jl.START], p = c == null ? void 0 : c[jl.END], f = nr(d, p);
2170
- return d && p && (c[jl.HOURS] = `${f}天`), c;
2169
+ }), !a.has(El.START) || !a.has(El.END) || !a.has(El.HOURS) ? e : e == null ? void 0 : e.map((c) => {
2170
+ const d = c == null ? void 0 : c[El.START], p = c == null ? void 0 : c[El.END], f = rr(d, p);
2171
+ return d && p && (c[El.HOURS] = `${f}天`), c;
2171
2172
  });
2172
2173
  }, Pa = (e, l, n = 0) => {
2173
2174
  if (n > ((l == null ? void 0 : l.length) ?? "")) return e;
@@ -2178,8 +2179,8 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2178
2179
  }
2179
2180
  const o = [];
2180
2181
  for (const [c, d] of u) {
2181
- const [p, ...f] = d, S = { ...p };
2182
- n + 1 === ((l == null ? void 0 : l.length) ?? "") ? S.children = d == null ? void 0 : d.map((D) => (D.level = G(n) + 1, D)).filter((D, B) => B !== 0) : f.length > 0 && (S.children = Pa(f, l, n + 1)), S.level = n, o.push(S);
2182
+ const [p, ...f] = d, k = { ...p };
2183
+ n + 1 === ((l == null ? void 0 : l.length) ?? "") ? k.children = d == null ? void 0 : d.map((D) => (D.level = G(n) + 1, D)).filter((D, M) => M !== 0) : f.length > 0 && (k.children = Pa(f, l, n + 1)), k.level = n, o.push(k);
2183
2184
  }
2184
2185
  return o;
2185
2186
  }, La = (e, l, n) => {
@@ -2189,34 +2190,34 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2189
2190
  let a = [];
2190
2191
  return a = Pa(e, l == null ? void 0 : l.contents, 0), a;
2191
2192
  }, wa = (e, l) => {
2192
- var B, h, O, E, _, M, N, $, r, U, g, m, v, R, i, k, b, w, F, x, C, q, V, oe, ie;
2193
- const n = e == null ? void 0 : e.filter((T) => (T == null ? void 0 : T.key) === "header");
2194
- e == null || e.filter((T) => (T == null ? void 0 : T.key) === "tableIndexColumn")[0];
2195
- const a = e == null ? void 0 : e.filter((T) => (T == null ? void 0 : T.key) === "childTree")[0];
2193
+ var M, h, O, E, _, F, B, N, r, U, g, A, v, R, i, T, b, $, K, x, C, q, ee, oe, ie;
2194
+ const n = e == null ? void 0 : e.filter((m) => (m == null ? void 0 : m.key) === "header");
2195
+ e == null || e.filter((m) => (m == null ? void 0 : m.key) === "tableIndexColumn")[0];
2196
+ const a = e == null ? void 0 : e.filter((m) => (m == null ? void 0 : m.key) === "childTree")[0];
2196
2197
  let u = l;
2197
- const o = e == null ? void 0 : e.find((T) => (T == null ? void 0 : T.key) === "page"), c = e == null ? void 0 : e.find((T) => (T == null ? void 0 : T.key) === "rowButton"), d = e == null ? void 0 : e.find((T) => (T == null ? void 0 : T.key) === "extraButton"), p = e == null ? void 0 : e.filter((T) => (T == null ? void 0 : T.key) === "tableContents"), f = e == null ? void 0 : e.filter((T) => (T == null ? void 0 : T.key) === "tableIndex");
2198
- Ze.value = (h = (B = e == null ? void 0 : e.filter((T) => (T == null ? void 0 : T.key) === "tableToForm")) == null ? void 0 : B[0]) == null ? void 0 : h.contents, ba.value = (o == null ? void 0 : o.contents) ?? !0;
2199
- let S = [];
2200
- Sl.value === "" ? S = n == null ? void 0 : n[0] : S = (n == null ? void 0 : n.find((T) => (T == null ? void 0 : T.selectLabel) === "(" + Sl.value + ")")) ?? (n == null ? void 0 : n.find((T) => !(T != null && T.selectLabel)));
2198
+ const o = e == null ? void 0 : e.find((m) => (m == null ? void 0 : m.key) === "page"), c = e == null ? void 0 : e.find((m) => (m == null ? void 0 : m.key) === "rowButton"), d = e == null ? void 0 : e.find((m) => (m == null ? void 0 : m.key) === "extraButton"), p = e == null ? void 0 : e.filter((m) => (m == null ? void 0 : m.key) === "tableContents"), f = e == null ? void 0 : e.filter((m) => (m == null ? void 0 : m.key) === "tableIndex");
2199
+ Ze.value = (h = (M = e == null ? void 0 : e.filter((m) => (m == null ? void 0 : m.key) === "tableToForm")) == null ? void 0 : M[0]) == null ? void 0 : h.contents, ba.value = (o == null ? void 0 : o.contents) ?? !0;
2200
+ let k = [];
2201
+ bl.value === "" ? k = n == null ? void 0 : n[0] : k = (n == null ? void 0 : n.find((m) => (m == null ? void 0 : m.selectLabel) === "(" + bl.value + ")")) ?? (n == null ? void 0 : n.find((m) => !(m != null && m.selectLabel)));
2201
2202
  let D = [];
2202
- if (Sl.value === "" ? D = f == null ? void 0 : f[0] : D = (f == null ? void 0 : f.find((T) => (T == null ? void 0 : T.selectLabel) === "(" + Sl.value + ")")) ?? (f == null ? void 0 : f.find((T) => !(T != null && T.selectLabel))), ((O = S == null ? void 0 : S.contents) == null ? void 0 : O.length) > 0) {
2203
- let T = [];
2204
- if (S != null && S.contents.some((A) => Array.isArray(A) && (A == null ? void 0 : A.find((t) => t.children))))
2205
- Bl.value === "" ? T = (_ = (E = Ra(S == null ? void 0 : S.contents)) == null ? void 0 : E[0]) == null ? void 0 : _.filter((A) => !Array.isArray(A)) : (Bl.value.split("-"), T = (M = Ra(S == null ? void 0 : S.contents)) == null ? void 0 : M[0]);
2203
+ if (bl.value === "" ? D = f == null ? void 0 : f[0] : D = (f == null ? void 0 : f.find((m) => (m == null ? void 0 : m.selectLabel) === "(" + bl.value + ")")) ?? (f == null ? void 0 : f.find((m) => !(m != null && m.selectLabel))), ((O = k == null ? void 0 : k.contents) == null ? void 0 : O.length) > 0) {
2204
+ let m = [];
2205
+ if (k != null && k.contents.some((S) => Array.isArray(S) && (S == null ? void 0 : S.find((t) => t.children))))
2206
+ Bl.value === "" ? m = (_ = (E = qa(k == null ? void 0 : k.contents)) == null ? void 0 : E[0]) == null ? void 0 : _.filter((S) => !Array.isArray(S)) : (Bl.value.split("-"), m = (F = qa(k == null ? void 0 : k.contents)) == null ? void 0 : F[0]);
2206
2207
  else {
2207
- let A = S != null && S.contents.some((t) => Array.isArray(t)) ? (N = S == null ? void 0 : S.contents) == null ? void 0 : N[0] : S == null ? void 0 : S.contents;
2208
- A == null || A.forEach((t, pe) => {
2209
- var Ce, Te, ul, sl, ol;
2210
- let fe = "";
2211
- (Te = (Ce = ke.value) == null ? void 0 : Ce.split("/")) == null || Te.forEach((Me) => {
2212
- var dl, Fe, Ie;
2213
- if (Me !== "") {
2214
- let Ge = (Ie = (Fe = (dl = Me == null ? void 0 : Me.split(we + "updateLoading")) == null ? void 0 : dl[0]) == null ? void 0 : Fe.split(we + "loading")) == null ? void 0 : Ie[0];
2215
- fe = fe === "" ? fe + Ge : fe + "/" + Ge;
2208
+ let S = k != null && k.contents.some((t) => Array.isArray(t)) ? (B = k == null ? void 0 : k.contents) == null ? void 0 : B[0] : k == null ? void 0 : k.contents;
2209
+ S == null || S.forEach((t, pe) => {
2210
+ var Ce, Te, rl, ul, sl;
2211
+ let ke = "";
2212
+ (Te = (Ce = Se.value) == null ? void 0 : Ce.split("/")) == null || Te.forEach((Be) => {
2213
+ var Fe, ol, jl;
2214
+ if (Be !== "") {
2215
+ let Ge = (jl = (ol = (Fe = Be == null ? void 0 : Be.split(we + "updateLoading")) == null ? void 0 : Fe[0]) == null ? void 0 : ol.split(we + "loading")) == null ? void 0 : jl[0];
2216
+ ke = ke === "" ? ke + Ge : ke + "/" + Ge;
2216
2217
  }
2217
- }), fe = fe + we + (t == null ? void 0 : t.directiveLabel);
2218
- const be = (ul = Ze.value) == null ? void 0 : ul.find((Me) => (Me == null ? void 0 : Me.prop) === (t == null ? void 0 : t.prop));
2219
- T.push({
2218
+ }), ke = ke + we + (t == null ? void 0 : t.directiveLabel);
2219
+ const ye = (rl = Ze.value) == null ? void 0 : rl.find((Be) => (Be == null ? void 0 : Be.prop) === (t == null ? void 0 : t.prop));
2220
+ m.push({
2220
2221
  label: (t == null ? void 0 : t.label) ?? "",
2221
2222
  prop: (t == null ? void 0 : t.label) === "操作" ? "operate" : (t == null ? void 0 : t.prop) ?? "a" + pe,
2222
2223
  // width: t?.label === '操作' ? '200' : (t?.width ? parseInt(t.width) : ''),
@@ -2241,84 +2242,84 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2241
2242
  value: (t == null ? void 0 : t.value) ?? "",
2242
2243
  formMenuSelect: (t == null ? void 0 : t.formMenuSelect) ?? [],
2243
2244
  isRoute: (t == null ? void 0 : t.isRoute) ?? !1,
2244
- groupSelect: t != null && t.groupSelect ? (sl = t == null ? void 0 : t.groupSelect) == null ? void 0 : sl.replaceAll('"', "").split(":") : [],
2245
+ groupSelect: t != null && t.groupSelect ? (ul = t == null ? void 0 : t.groupSelect) == null ? void 0 : ul.replaceAll('"', "").split(":") : [],
2245
2246
  isMainKey: (t == null ? void 0 : t.isMainKey) || (t == null ? void 0 : t.directiveLabel) === "#isMain",
2246
2247
  // 同步弹窗列类型到表格列类型
2247
- columnType: (be == null ? void 0 : be.type) || (t == null ? void 0 : t.columnType) || "TEXTAREA",
2248
+ columnType: (ye == null ? void 0 : ye.type) || (t == null ? void 0 : t.columnType) || "TEXTAREA",
2248
2249
  directiveLabel: t == null ? void 0 : t.directiveLabel,
2249
2250
  directiveColor: (t == null ? void 0 : t.directiveColor) ?? !1,
2250
- isExistChild: !!(t != null && t.directiveLabel && !(u != null && u[fe]) && !((ol = t == null ? void 0 : t.directiveLabel) != null && ol.includes("@")) && (t == null ? void 0 : t.directiveLabel) !== "#isMain"),
2251
- childPath: (t == null ? void 0 : t.directiveLabel) !== "#isMain" ? fe : void 0,
2251
+ isExistChild: !!(t != null && t.directiveLabel && !(u != null && u[ke]) && !((sl = t == null ? void 0 : t.directiveLabel) != null && sl.includes("@")) && (t == null ? void 0 : t.directiveLabel) !== "#isMain"),
2252
+ childPath: (t == null ? void 0 : t.directiveLabel) !== "#isMain" ? ke : void 0,
2252
2253
  allSelectionContents: (t == null ? void 0 : t.allSelectionContents) ?? [],
2253
2254
  selectFilter: t == null ? void 0 : t.selectFilter,
2254
2255
  menuId: t == null ? void 0 : t.menuId
2255
2256
  });
2256
2257
  });
2257
2258
  }
2258
- W.value = qa(T), Le.value = qa(T), Y.value = ($ = W.value) == null ? void 0 : $.map((A) => A == null ? void 0 : A.label), hl.value = (r = W.value) == null ? void 0 : r.every((A) => A == null ? void 0 : A.filterable), de.value = (U = W.value) == null ? void 0 : U.every((A) => A == null ? void 0 : A.operable), gl.value = (g = W.value) == null ? void 0 : g.every((A) => A == null ? void 0 : A.sortable);
2259
- let le = (v = (m = xr(W.value)) == null ? void 0 : m.filter((A) => (A == null ? void 0 : A.type) !== "operate")) == null ? void 0 : v.map((A, t) => ({
2260
- prop: (A == null ? void 0 : A.prop) ?? "a" + t,
2261
- column: A.label
2259
+ W.value = Ga(m), Le.value = Ga(m), Z.value = (N = W.value) == null ? void 0 : N.map((S) => S == null ? void 0 : S.label), gl.value = (r = W.value) == null ? void 0 : r.every((S) => S == null ? void 0 : S.filterable), ce.value = (U = W.value) == null ? void 0 : U.every((S) => S == null ? void 0 : S.operable), fl.value = (g = W.value) == null ? void 0 : g.every((S) => S == null ? void 0 : S.sortable);
2260
+ let P = (v = (A = Ur(W.value)) == null ? void 0 : A.filter((S) => (S == null ? void 0 : S.type) !== "operate")) == null ? void 0 : v.map((S, t) => ({
2261
+ prop: (S == null ? void 0 : S.prop) ?? "a" + t,
2262
+ column: S.label
2262
2263
  }));
2263
- al.value = le;
2264
- let K = [];
2265
- Sl.value === "" ? K = p == null ? void 0 : p[0] : K = (p == null ? void 0 : p.find((A) => (A == null ? void 0 : A.selectLabel) === "(" + Sl.value + ")")) ?? (p == null ? void 0 : p.find((A) => !(A != null && A.selectLabel)));
2266
- let re = Array.isArray((R = K == null ? void 0 : K.contents) == null ? void 0 : R[0]) && ((i = K == null ? void 0 : K.contents) != null && i[0].every((A) => Array.isArray(A))) ? (k = K == null ? void 0 : K.contents) == null ? void 0 : k[0] : K == null ? void 0 : K.contents;
2267
- D != null && D.contents && ((b = D == null ? void 0 : D.contents) == null ? void 0 : b.length) !== 0 && (re = (w = G(re)) == null ? void 0 : w.map((A, t) => {
2268
- if (!Array.isArray(A)) {
2264
+ ll.value = P;
2265
+ let Y = [];
2266
+ bl.value === "" ? Y = p == null ? void 0 : p[0] : Y = (p == null ? void 0 : p.find((S) => (S == null ? void 0 : S.selectLabel) === "(" + bl.value + ")")) ?? (p == null ? void 0 : p.find((S) => !(S != null && S.selectLabel)));
2267
+ let ve = Array.isArray((R = Y == null ? void 0 : Y.contents) == null ? void 0 : R[0]) && ((i = Y == null ? void 0 : Y.contents) != null && i[0].every((S) => Array.isArray(S))) ? (T = Y == null ? void 0 : Y.contents) == null ? void 0 : T[0] : Y == null ? void 0 : Y.contents;
2268
+ D != null && D.contents && ((b = D == null ? void 0 : D.contents) == null ? void 0 : b.length) !== 0 && (ve = ($ = G(ve)) == null ? void 0 : $.map((S, t) => {
2269
+ if (!Array.isArray(S)) {
2269
2270
  let pe = {};
2270
- for (let fe in A)
2271
- fe !== "id" && fe !== "index" && (pe[fe] = A[fe]);
2272
- A = Object.values(pe);
2271
+ for (let ke in S)
2272
+ ke !== "id" && ke !== "index" && (pe[ke] = S[ke]);
2273
+ S = Object.values(pe);
2273
2274
  }
2274
- return A;
2275
+ return S;
2275
2276
  }));
2276
- const te = !!((F = W.value) != null && F.find((A) => A.prop === "index"));
2277
- re = rn(re, D == null ? void 0 : D.contents, te);
2278
- const ve = [];
2279
- re == null || re.forEach((A, t) => {
2280
- var fe;
2277
+ const ne = !!((K = W.value) != null && K.find((S) => S.prop === "index"));
2278
+ ve = un(ve, D == null ? void 0 : D.contents, ne);
2279
+ const de = [];
2280
+ ve == null || ve.forEach((S, t) => {
2281
+ var ke;
2281
2282
  let pe = {};
2282
- if (Array.isArray(A)) {
2283
- let be = [];
2284
- A == null || A.filter((Ce) => !(Ce != null && Ce.id)).forEach((Ce, Te) => {
2285
- var ul, sl, ol, Me, dl, Fe;
2286
- if ((ul = le == null ? void 0 : le[Te]) != null && ul.prop && !Array.isArray(Ce)) {
2287
- let Ie = {};
2288
- Ie[le[Te].column] = Ce, Ae != null && Ae.value && ((sl = Ae == null ? void 0 : Ae.value) == null ? void 0 : sl.length) > 0 && ((ol = Ae == null ? void 0 : Ae.value) != null && ol.find((Ge) => JSON.stringify(Ge == null ? void 0 : Ge[0]) === JSON.stringify(Ie))) && (be = (Me = Ae == null ? void 0 : Ae.value) == null ? void 0 : Me.find((Ge) => JSON.stringify(Ge == null ? void 0 : Ge[0]) === JSON.stringify(Ie))), be && be.length > 0 ? pe[le[Te].prop] = be != null && be.find((Ge) => {
2283
+ if (Array.isArray(S)) {
2284
+ let ye = [];
2285
+ S == null || S.filter((Ce) => !(Ce != null && Ce.id)).forEach((Ce, Te) => {
2286
+ var rl, ul, sl, Be, Fe, ol;
2287
+ if ((rl = P == null ? void 0 : P[Te]) != null && rl.prop && !Array.isArray(Ce)) {
2288
+ let jl = {};
2289
+ jl[P[Te].column] = Ce, Ae != null && Ae.value && ((ul = Ae == null ? void 0 : Ae.value) == null ? void 0 : ul.length) > 0 && ((sl = Ae == null ? void 0 : Ae.value) != null && sl.find((Ge) => JSON.stringify(Ge == null ? void 0 : Ge[0]) === JSON.stringify(jl))) && (ye = (Be = Ae == null ? void 0 : Ae.value) == null ? void 0 : Be.find((Ge) => JSON.stringify(Ge == null ? void 0 : Ge[0]) === JSON.stringify(jl))), ye && ye.length > 0 ? pe[P[Te].prop] = ye != null && ye.find((Ge) => {
2289
2290
  var Wl;
2290
- return ((Wl = Object.keys(Ge)) == null ? void 0 : Wl[0]) === le[Te].column;
2291
- }) ? (dl = be == null ? void 0 : be.find((Ge) => {
2291
+ return ((Wl = Object.keys(Ge)) == null ? void 0 : Wl[0]) === P[Te].column;
2292
+ }) ? (Fe = ye == null ? void 0 : ye.find((Ge) => {
2292
2293
  var Wl;
2293
- return ((Wl = Object.keys(Ge)) == null ? void 0 : Wl[0]) === le[Te].column;
2294
- })) == null ? void 0 : dl[le[Te].column] : Ce : pe[le[Te].prop] = Ce;
2295
- } else Array.isArray(Ce) && ((Fe = le[Te]) != null && Fe.prop ? pe[le[Te].prop] = Ce : pe.children = ya(Ce, le));
2294
+ return ((Wl = Object.keys(Ge)) == null ? void 0 : Wl[0]) === P[Te].column;
2295
+ })) == null ? void 0 : Fe[P[Te].column] : Ce : pe[P[Te].prop] = Ce;
2296
+ } else Array.isArray(Ce) && ((ol = P[Te]) != null && ol.prop ? pe[P[Te].prop] = Ce : pe.children = ya(Ce, P));
2296
2297
  });
2297
2298
  } else
2298
- pe = A;
2299
- Array.isArray(A) && A.some((be) => be == null ? void 0 : be.id) ? ve.push(Object.assign(pe, { id: (fe = A == null ? void 0 : A.find((be) => be.id)) == null ? void 0 : fe.id })) : pe.id ? ve.push(pe) : ve.push(Object.assign(pe, { id: t.toString() }));
2300
- }), Z.value = La(ve, a, W.value), Yl.value = ve, (x = Yl.value) == null || x.forEach((A) => {
2299
+ pe = S;
2300
+ Array.isArray(S) && S.some((ye) => ye == null ? void 0 : ye.id) ? de.push(Object.assign(pe, { id: (ke = S == null ? void 0 : S.find((ye) => ye.id)) == null ? void 0 : ke.id })) : pe.id ? de.push(pe) : de.push(Object.assign(pe, { id: t.toString() }));
2301
+ }), I.value = La(de, a, W.value), Yl.value = de, (x = Yl.value) == null || x.forEach((S) => {
2301
2302
  var t;
2302
- (t = Zl.value) == null || t.set(A.id, A);
2303
+ (t = Zl.value) == null || t.set(S.id, S);
2303
2304
  });
2304
2305
  } else
2305
- W.value = [], Xe.value = [], Z.value = [], Yl.value = [], Zl.value = /* @__PURE__ */ new Map();
2306
- ((C = c == null ? void 0 : c.contents) == null ? void 0 : C.length) > 0 ? vl.value = c == null ? void 0 : c.contents : vl.value = [], ((q = d == null ? void 0 : d.contents) == null ? void 0 : q.length) > 0 ? (Dl.value = d == null ? void 0 : d.contents, bl.value = d == null ? void 0 : d.contents) : (Dl.value = [], bl.value = []), Ol.value = ((V = Z == null ? void 0 : Z.value) == null ? void 0 : V.length) ?? 0, ja(Z.value), la.value = Z.value, nl.value && (W.value = (ie = (oe = Xe.value) == null ? void 0 : oe.filter((T) => (T == null ? void 0 : T.label) !== "操作")) == null ? void 0 : ie.map((T) => {
2307
- var le;
2306
+ W.value = [], Xe.value = [], I.value = [], Yl.value = [], Zl.value = /* @__PURE__ */ new Map();
2307
+ ((C = c == null ? void 0 : c.contents) == null ? void 0 : C.length) > 0 ? yl.value = c == null ? void 0 : c.contents : yl.value = [], ((q = d == null ? void 0 : d.contents) == null ? void 0 : q.length) > 0 ? (Ol.value = d == null ? void 0 : d.contents, vl.value = d == null ? void 0 : d.contents) : (Ol.value = [], vl.value = []), _l.value = ((ee = I == null ? void 0 : I.value) == null ? void 0 : ee.length) ?? 0, ja(I.value), la.value = I.value, al.value && (W.value = (ie = (oe = Xe.value) == null ? void 0 : oe.filter((m) => (m == null ? void 0 : m.label) !== "操作")) == null ? void 0 : ie.map((m) => {
2308
+ var P;
2308
2309
  return {
2309
- ...T,
2310
+ ...m,
2310
2311
  type: "edit",
2311
- optionUrl: T != null && T.formMenuSelect && ((le = T == null ? void 0 : T.formMenuSelect) == null ? void 0 : le.length) > 0 ? {
2312
- groupSelect: T == null ? void 0 : T.groupSelect,
2313
- menuSelect: T == null ? void 0 : T.formMenuSelect,
2312
+ optionUrl: m != null && m.formMenuSelect && ((P = m == null ? void 0 : m.formMenuSelect) == null ? void 0 : P.length) > 0 ? {
2313
+ groupSelect: m == null ? void 0 : m.groupSelect,
2314
+ menuSelect: m == null ? void 0 : m.formMenuSelect,
2314
2315
  selectRelateType: "",
2315
- type: T == null ? void 0 : T.formType
2316
+ type: m == null ? void 0 : m.formType
2316
2317
  } : null
2317
2318
  };
2318
2319
  }), ga());
2319
2320
  };
2320
2321
  He(
2321
- () => [s.itemData, Sl.value, fn.value, Bl.value, Ae == null ? void 0 : Ae.value],
2322
+ () => [s.itemData, bl.value, gn.value, Bl.value, Ae == null ? void 0 : Ae.value],
2322
2323
  async () => {
2323
2324
  var e, l, n, a, u, o;
2324
2325
  if ((e = s == null ? void 0 : s.itemData) != null && e.find((c) => (c == null ? void 0 : c.key) === "columnPath") && !((l = $l.value) != null && l.find((c) => {
@@ -2335,12 +2336,12 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2335
2336
  },
2336
2337
  { deep: !0, immediate: !0 }
2337
2338
  ), He(() => s == null ? void 0 : s.operatingForm, (e) => {
2338
- e != null && e.form && (zl(e == null ? void 0 : e.form), ll.value = e == null ? void 0 : e.dialogTitle, ea.value = !0, cl.value = !0);
2339
+ e != null && e.form && (zl(e == null ? void 0 : e.form), el.value = e == null ? void 0 : e.dialogTitle, ea.value = !0, cl.value = !0);
2339
2340
  }, { immediate: !0, deep: !0 });
2340
2341
  const $a = () => {
2341
2342
  var e;
2342
- (e = Ue.value) != null && e.includes("read") && (nl.value = !nl.value);
2343
- }, rr = () => {
2343
+ (e = Ue.value) != null && e.includes("read") && (al.value = !al.value);
2344
+ }, ur = () => {
2344
2345
  aa.value = !aa.value;
2345
2346
  };
2346
2347
  He(() => {
@@ -2348,10 +2349,10 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2348
2349
  return (e = s == null ? void 0 : s.config) == null ? void 0 : e.viewport;
2349
2350
  }, (e) => {
2350
2351
  var l;
2351
- Ue.value = e, (e == null ? void 0 : e.length) === 0 ? nl.value = !1 : (e != null && e.includes("read") || (nl.value = !0), e != null && e.includes("edit") || (nl.value = !1)), he.value = ((l = s == null ? void 0 : s.config) == null ? void 0 : l.showIndex) || nl.value;
2352
- }, { immediate: !0 }), He(() => nl.value, (e) => {
2352
+ Ue.value = e, (e == null ? void 0 : e.length) === 0 ? al.value = !1 : (e != null && e.includes("read") || (al.value = !0), e != null && e.includes("edit") || (al.value = !1)), ge.value = ((l = s == null ? void 0 : s.config) == null ? void 0 : l.showIndex) || al.value;
2353
+ }, { immediate: !0 }), He(() => al.value, (e) => {
2353
2354
  var l;
2354
- e ? (ga("viewChange"), De.setCacheUpdatingData(null)) : (Dl.value = bl.value, W.value = Le.value, wl.value && (De.setTableLoading(s == null ? void 0 : s.index), Q("change", wl.value))), ae.value = e, he.value = e || ((l = s == null ? void 0 : s.config) == null ? void 0 : l.showIndex);
2355
+ e ? (ga("viewChange"), De.setCacheUpdatingData(null)) : (Ol.value = vl.value, W.value = Le.value, wl.value && (De.setTableLoading(s == null ? void 0 : s.index), Q("change", wl.value))), ae.value = e, ge.value = e || ((l = s == null ? void 0 : s.config) == null ? void 0 : l.showIndex);
2355
2356
  }, { immediate: !0 }), He(() => {
2356
2357
  var e;
2357
2358
  return (e = ka.value) == null ? void 0 : e.length;
@@ -2371,34 +2372,34 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2371
2372
  }
2372
2373
  ];
2373
2374
  }, { immediate: !0 }), J(!1);
2374
- const ur = (e, l) => {
2375
+ const sr = (e, l) => {
2375
2376
  var n;
2376
- ga("createClick"), l === se.pageSize && (se.currentPage = Math.ceil(((n = Z.value) == null ? void 0 : n.length) / se.pageSize));
2377
- }, sr = (e, l, n) => {
2377
+ ga("createClick"), l === se.pageSize && (se.currentPage = Math.ceil(((n = I.value) == null ? void 0 : n.length) / se.pageSize));
2378
+ }, or = (e, l, n) => {
2378
2379
  var a;
2379
- Da(n, e, l), Je.value = G(e), tl.value = e == null ? void 0 : e.id, Ol.value = (a = Z.value) == null ? void 0 : a.length, ll.value = typeof (e == null ? void 0 : e.id) == "string" ? "新增" : "编辑", Jl(!1);
2380
+ Da(n, e, l), Je.value = G(e), tl.value = e == null ? void 0 : e.id, _l.value = (a = I.value) == null ? void 0 : a.length, el.value = typeof (e == null ? void 0 : e.id) == "string" ? "新增" : "编辑", Jl(!1);
2380
2381
  }, We = (e) => {
2381
- var p, f, S, D, B, h, O, E, _, M;
2382
+ var p, f, k, D, M, h, O, E, _, F;
2382
2383
  const { row: l, column: n, item: a, slotData: u } = e;
2383
- let o = l != null && l[n == null ? void 0 : n.prop] || (l == null ? void 0 : l[n == null ? void 0 : n.prop]) === 0 ? ((f = (p = l == null ? void 0 : l[n == null ? void 0 : n.prop]) == null ? void 0 : p[0]) == null ? void 0 : f.contents) ?? ((l == null ? void 0 : l[n == null ? void 0 : n.prop]) === 0 ? "0" : l == null ? void 0 : l[n == null ? void 0 : n.prop]) : ((D = (S = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : S[0]) == null ? void 0 : D.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((h = (B = u == null ? void 0 : u[a == null ? void 0 : a.prop]) == null ? void 0 : B[0]) == null ? void 0 : h.contents) ?? (u == null ? void 0 : u[a == null ? void 0 : a.prop]) ?? ((_ = (E = l == null ? void 0 : l[(O = a == null ? void 0 : a.child) == null ? void 0 : O.prop]) == null ? void 0 : E[0]) == null ? void 0 : _.contents) ?? (l == null ? void 0 : l[(M = a == null ? void 0 : a.child) == null ? void 0 : M.prop]), d = Array.isArray(o) && !(o != null && o.every((N) => typeof N == "string" || typeof N == "number")) ? "查看" : o;
2384
+ let o = l != null && l[n == null ? void 0 : n.prop] || (l == null ? void 0 : l[n == null ? void 0 : n.prop]) === 0 ? ((f = (p = l == null ? void 0 : l[n == null ? void 0 : n.prop]) == null ? void 0 : p[0]) == null ? void 0 : f.contents) ?? ((l == null ? void 0 : l[n == null ? void 0 : n.prop]) === 0 ? "0" : l == null ? void 0 : l[n == null ? void 0 : n.prop]) : ((D = (k = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : k[0]) == null ? void 0 : D.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((h = (M = u == null ? void 0 : u[a == null ? void 0 : a.prop]) == null ? void 0 : M[0]) == null ? void 0 : h.contents) ?? (u == null ? void 0 : u[a == null ? void 0 : a.prop]) ?? ((_ = (E = l == null ? void 0 : l[(O = a == null ? void 0 : a.child) == null ? void 0 : O.prop]) == null ? void 0 : E[0]) == null ? void 0 : _.contents) ?? (l == null ? void 0 : l[(F = a == null ? void 0 : a.child) == null ? void 0 : F.prop]), d = Array.isArray(o) && !(o != null && o.every((B) => typeof B == "string" || typeof B == "number")) ? "查看" : o;
2384
2385
  return d = Array.isArray(d) ? d.join(",") : d, d;
2385
- }, or = (e) => {
2386
- var f, S, D, B, h, O, E, _, M, N;
2386
+ }, ir = (e) => {
2387
+ var f, k, D, M, h, O, E, _, F, B;
2387
2388
  const { row: l, column: n, item: a, slotData: u } = e;
2388
- let o = l != null && l[n == null ? void 0 : n.prop] ? ((S = (f = l == null ? void 0 : l[n == null ? void 0 : n.prop]) == null ? void 0 : f[0]) == null ? void 0 : S.contents) ?? (l == null ? void 0 : l[n == null ? void 0 : n.prop]) : ((B = (D = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : D[0]) == null ? void 0 : B.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((O = (h = u == null ? void 0 : u[a == null ? void 0 : a.prop]) == null ? void 0 : h[0]) == null ? void 0 : O.contents) ?? (u == null ? void 0 : u[a == null ? void 0 : a.prop]) ?? ((M = (_ = l == null ? void 0 : l[(E = a == null ? void 0 : a.child) == null ? void 0 : E.prop]) == null ? void 0 : _[0]) == null ? void 0 : M.contents) ?? (l == null ? void 0 : l[(N = a == null ? void 0 : a.child) == null ? void 0 : N.prop]);
2389
- const d = Array.isArray(o) && !(o != null && o.every(($) => typeof $ == "string" || typeof $ == "number")), p = Array.isArray(o) && (o == null ? void 0 : o.find(($) => $ == null ? void 0 : $.url));
2389
+ let o = l != null && l[n == null ? void 0 : n.prop] ? ((k = (f = l == null ? void 0 : l[n == null ? void 0 : n.prop]) == null ? void 0 : f[0]) == null ? void 0 : k.contents) ?? (l == null ? void 0 : l[n == null ? void 0 : n.prop]) : ((M = (D = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : D[0]) == null ? void 0 : M.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((O = (h = u == null ? void 0 : u[a == null ? void 0 : a.prop]) == null ? void 0 : h[0]) == null ? void 0 : O.contents) ?? (u == null ? void 0 : u[a == null ? void 0 : a.prop]) ?? ((F = (_ = l == null ? void 0 : l[(E = a == null ? void 0 : a.child) == null ? void 0 : E.prop]) == null ? void 0 : _[0]) == null ? void 0 : F.contents) ?? (l == null ? void 0 : l[(B = a == null ? void 0 : a.child) == null ? void 0 : B.prop]);
2390
+ const d = Array.isArray(o) && !(o != null && o.every((N) => typeof N == "string" || typeof N == "number")), p = Array.isArray(o) && (o == null ? void 0 : o.find((N) => N == null ? void 0 : N.url));
2390
2391
  return d && p;
2391
- }, ir = (e, l) => e.find((n) => Object.values(n).some((a) => a === l));
2392
- return He(() => on.value, async (e) => {
2392
+ }, tr = (e, l) => e.find((n) => Object.values(n).some((a) => a === l));
2393
+ return He(() => tn.value, async (e) => {
2393
2394
  if (e) {
2394
2395
  Ne.setContentLoading(!0), await sa();
2395
- const l = ir(Z.value, e == null ? void 0 : e.data);
2396
+ const l = tr(I.value, e == null ? void 0 : e.data);
2396
2397
  if (!l) return Ne.setContentLoading(!1);
2397
2398
  await Aa(e == null ? void 0 : e.data, null, l, { data: e == null ? void 0 : e.data, isMainKey: !0 }), Ne.setContentLoading(!1);
2398
2399
  }
2399
2400
  }, { deep: !0, immediate: !0 }), He(() => s == null ? void 0 : s.cacheNewData, (e) => {
2400
2401
  var l;
2401
- e && (Array.isArray(e) || (e == null ? void 0 : e.compId) === (s == null ? void 0 : s.index) && (Z.value = (l = Z.value) == null ? void 0 : l.map((n) => {
2402
+ e && (Array.isArray(e) || (e == null ? void 0 : e.compId) === (s == null ? void 0 : s.index) && (I.value = (l = I.value) == null ? void 0 : l.map((n) => {
2402
2403
  var a;
2403
2404
  return (n == null ? void 0 : n.id) === ((a = e == null ? void 0 : e.data) == null ? void 0 : a.id) ? {
2404
2405
  ...n,
@@ -2406,84 +2407,84 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2406
2407
  } : n;
2407
2408
  })));
2408
2409
  }, { immediate: !0, deep: !0 }), (e, l) => {
2409
- var f, S, D, B;
2410
+ var f, k, D, M;
2410
2411
  const n = Qe("svg-icon"), a = Qe("el-popover"), u = Qe("el-switch"), o = Qe("el-checkbox"), c = Qe("el-checkbox-group"), d = Qe("el-button"), p = Qe("LookComponent");
2411
- return I(), Se("div", vu, [
2412
- Sa.value ? (I(), je(Lr, {
2412
+ return V(), be("div", bu, [
2413
+ Sa.value ? (V(), je(wr, {
2413
2414
  id: "excel-table",
2414
2415
  pageObj: se,
2415
- showIndex: he.value,
2416
- isTree: (f = L.compItem) == null ? void 0 : f.isTree,
2416
+ showIndex: ge.value,
2417
+ isTree: (f = w.compItem) == null ? void 0 : f.isTree,
2417
2418
  summaryInfo: me,
2418
2419
  columns: W.value,
2419
2420
  defaultSort: Pe,
2420
2421
  isCardViewport: aa.value,
2421
- checkedColumns: Y.value,
2422
+ checkedColumns: Z.value,
2422
2423
  key: ta.value + JSON.stringify(W.value),
2423
2424
  tableData: ka.value,
2424
- isEditViewport: nl.value,
2425
+ isEditViewport: al.value,
2425
2426
  isShowPagination: ba.value,
2426
2427
  isShowEdit: !1,
2427
2428
  isShowDelete: !1,
2428
2429
  allowSelect: ae.value,
2429
- onDbClickRow: Bn,
2430
- extraButton: Dl.value,
2431
- rowButton: vl.value,
2432
- cacheExtraButtons: bl.value,
2433
- isClearSelection: ((S = rl.value) == null ? void 0 : S.length) === 0,
2434
- onDoCurrentChange: Sn,
2435
- onDoSizeChange: kn,
2430
+ onDbClickRow: Mn,
2431
+ extraButton: Ol.value,
2432
+ rowButton: yl.value,
2433
+ cacheExtraButtons: vl.value,
2434
+ isClearSelection: ((k = nl.value) == null ? void 0 : k.length) === 0,
2435
+ onDoCurrentChange: kn,
2436
+ onDoSizeChange: Tn,
2436
2437
  onContentClick: Aa,
2437
- onRowClick: Fn,
2438
- onSelectChange: _n,
2439
- onCellChange: sr,
2438
+ onRowClick: Kn,
2439
+ onSelectChange: On,
2440
+ onCellChange: or,
2440
2441
  onChange: Da,
2441
2442
  onPreview: Ta,
2442
- onSubmitEditingTable: Cn,
2443
- onHandleColEditChange: xn,
2444
- onHandleColTypeChange: Un,
2443
+ onSubmitEditingTable: _n,
2444
+ onHandleColEditChange: Un,
2445
+ onHandleColTypeChange: Cn,
2445
2446
  onClickButton: ua
2446
- }, fr({
2447
+ }, gr({
2447
2448
  headerButton: H((h) => {
2448
2449
  var O, E;
2449
2450
  return [
2450
- L.showHeader ? (I(), je(nu, {
2451
+ w.showHeader ? (V(), je(ru, {
2451
2452
  key: 0,
2452
- pageLayout: L.pageLayout,
2453
- lockingPage: Ve(Xl) === Ve(ke),
2453
+ pageLayout: w.pageLayout,
2454
+ lockingPage: Ie(Xl) === Ie(Se),
2454
2455
  filterValues: ma.value,
2455
- selectNums: (O = rl.value) == null ? void 0 : O.length,
2456
- dataNums: (E = Z.value) == null ? void 0 : E.length,
2457
- compName: L.compName,
2458
- isDevMode: L.isDevMode,
2456
+ selectNums: (O = nl.value) == null ? void 0 : O.length,
2457
+ dataNums: (E = I.value) == null ? void 0 : E.length,
2458
+ compName: w.compName,
2459
+ isDevMode: w.isDevMode,
2459
2460
  buttons: h.buttons,
2460
- onButtonClick: l[0] || (l[0] = (_) => ua(_, "", {})),
2461
+ onButtonClick: l[1] || (l[1] = (_) => ua(_, "", {})),
2461
2462
  columns: W.value,
2462
- onFilter: Nn,
2463
- onGetImportData: mn,
2464
- level: L.level
2463
+ onFilter: Bn,
2464
+ onGetImportData: An,
2465
+ level: w.level
2465
2466
  }, null, 8, ["pageLayout", "lockingPage", "filterValues", "selectNums", "dataNums", "compName", "isDevMode", "buttons", "columns", "level"])) : _e("", !0)
2466
2467
  ];
2467
2468
  }),
2468
2469
  viewport: H(() => {
2469
2470
  var h, O, E, _;
2470
2471
  return [
2471
- ((h = Z.value) == null ? void 0 : h.length) > 0 && L.allowOperate ? (I(), Se("div", ku, [
2472
- (O = Ue.value) != null && O.includes("read") && ((E = Ue.value) != null && E.includes("edit")) && ((_ = vl.value) != null && _.some((M) => (M == null ? void 0 : M.label) === "编辑")) && !aa.value && Ve(Xl) !== Ve(ke) ? (I(), Se("span", {
2472
+ ((h = I.value) == null ? void 0 : h.length) > 0 && w.allowOperate ? (V(), be("div", Tu, [
2473
+ (O = Ue.value) != null && O.includes("read") && ((E = Ue.value) != null && E.includes("edit")) && ((_ = yl.value) != null && _.some((F) => (F == null ? void 0 : F.label) === "编辑")) && !aa.value && Ie(Xl) !== Ie(Se) ? (V(), be("span", {
2473
2474
  key: 0,
2474
2475
  title: "编辑表格",
2475
2476
  onClick: $a
2476
2477
  }, [
2477
- ne(n, {
2478
+ re(n, {
2478
2479
  name: "editTable",
2479
2480
  class: "view-icon"
2480
2481
  })
2481
2482
  ])) : _e("", !0),
2482
- ge("span", {
2483
+ fe("span", {
2483
2484
  title: "卡片视图",
2484
- onClick: rr
2485
+ onClick: ur
2485
2486
  }, [
2486
- ne(n, {
2487
+ re(n, {
2487
2488
  name: "cardViewport",
2488
2489
  class: "view-icon"
2489
2490
  })
@@ -2492,90 +2493,90 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2492
2493
  ];
2493
2494
  }),
2494
2495
  rowCreate: H(({ row: h, index: O }) => [
2495
- ge("span", {
2496
+ fe("span", {
2496
2497
  title: "新增",
2497
2498
  class: "row-create-wrap",
2498
- onClick: (E) => ur(h, O)
2499
+ onClick: (E) => sr(h, O)
2499
2500
  }, [
2500
- ne(n, {
2501
+ re(n, {
2501
2502
  name: "rowCreate",
2502
2503
  style: { width: "10px", height: "10px" }
2503
2504
  })
2504
- ], 8, Tu)
2505
+ ], 8, mu)
2505
2506
  ]),
2506
2507
  operateCol: H(() => [
2507
- ne(a, {
2508
+ re(a, {
2508
2509
  title: "选择显示列信息",
2509
2510
  placement: "left-start",
2510
2511
  "popper-class": "menu-operate-popover",
2511
2512
  trigger: "hover",
2512
- onShow: Vn
2513
+ onShow: er
2513
2514
  }, {
2514
2515
  reference: H(() => [
2515
- ge("span", mu, [
2516
- ne(n, {
2516
+ fe("span", Au, [
2517
+ re(n, {
2517
2518
  name: "operate",
2518
2519
  style: { width: "15px", height: "15px", cursor: "pointer" }
2519
2520
  })
2520
2521
  ])
2521
2522
  ]),
2522
2523
  default: H(() => [
2523
- ge("div", Au, [
2524
- l[11] || (l[11] = ge("div", { class: "group-title" }, "表格操作", -1)),
2525
- ne(u, {
2526
- "model-value": gl.value,
2524
+ fe("div", xu, [
2525
+ l[12] || (l[12] = fe("div", { class: "group-title" }, "表格操作", -1)),
2526
+ re(u, {
2527
+ "model-value": fl.value,
2527
2528
  "active-text": "排序",
2528
2529
  "inactive-text": "",
2529
2530
  style: { "margin-right": "8px" },
2530
- onChange: l[2] || (l[2] = (h) => ca(h, "sortable"))
2531
+ onChange: l[3] || (l[3] = (h) => ca(h, "sortable"))
2531
2532
  }, null, 8, ["model-value"]),
2532
- ne(u, {
2533
- "model-value": hl.value,
2533
+ re(u, {
2534
+ "model-value": gl.value,
2534
2535
  "active-text": "筛选",
2535
2536
  "inactive-text": "",
2536
2537
  style: { "margin-right": "8px" },
2537
- onChange: l[3] || (l[3] = (h) => ca(h, "filterable"))
2538
+ onChange: l[4] || (l[4] = (h) => ca(h, "filterable"))
2538
2539
  }, null, 8, ["model-value"]),
2539
- ne(u, {
2540
- "model-value": de.value,
2540
+ re(u, {
2541
+ "model-value": ce.value,
2541
2542
  "active-text": "编辑所有表头",
2542
2543
  "inactive-text": "",
2543
- onChange: l[4] || (l[4] = (h) => ca(h, "operable"))
2544
+ onChange: l[5] || (l[5] = (h) => ca(h, "operable"))
2544
2545
  }, null, 8, ["model-value"]),
2545
- l[12] || (l[12] = ge("div", { class: "group-title" }, "表格列操作", -1)),
2546
- ne(c, {
2547
- modelValue: Y.value,
2548
- "onUpdate:modelValue": l[5] || (l[5] = (h) => Y.value = h),
2546
+ l[13] || (l[13] = fe("div", { class: "group-title" }, "表格列操作", -1)),
2547
+ re(c, {
2548
+ modelValue: Z.value,
2549
+ "onUpdate:modelValue": l[6] || (l[6] = (h) => Z.value = h),
2549
2550
  style: { height: "100%" },
2550
2551
  min: 2,
2551
2552
  ref_key: "checkboxGroupRef",
2552
2553
  ref: j
2553
2554
  }, {
2554
2555
  default: H(() => [
2555
- (I(!0), Se(pl, null, fl(Fl.value, (h) => (I(), Se("div", {
2556
+ (V(!0), be(dl, null, pl(Fl.value, (h) => (V(), be("div", {
2556
2557
  style: { display: "flex", "align-items": "center" },
2557
2558
  key: h.label
2558
2559
  }, [
2559
- ne(o, {
2560
+ re(o, {
2560
2561
  value: h.label,
2561
2562
  style: { width: "100%", marginRight: 0 }
2562
2563
  }, {
2563
2564
  default: H(() => [
2564
- ge("span", {
2565
+ fe("span", {
2565
2566
  title: h.label,
2566
2567
  style: { display: "inline-block", width: "250px", overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }
2567
- }, Oe(h.label), 9, xu)
2568
+ }, Oe(h.label), 9, Uu)
2568
2569
  ]),
2569
2570
  _: 2
2570
2571
  }, 1032, ["value"]),
2571
- ne(a, {
2572
+ re(a, {
2572
2573
  title: "列操作",
2573
2574
  placement: "left",
2574
2575
  teleported: !1,
2575
2576
  trigger: "hover"
2576
2577
  }, {
2577
2578
  reference: H(() => [
2578
- ne(n, {
2579
+ re(n, {
2579
2580
  name: "colOperate",
2580
2581
  style: { width: "15px", height: "15px", cursor: "pointer", color: "grey", position: "absolute", right: "40px" }
2581
2582
  })
@@ -2583,17 +2584,17 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2583
2584
  default: H(() => {
2584
2585
  var O;
2585
2586
  return [
2586
- ge("div", Uu, [
2587
- (I(!0), Se(pl, null, fl((O = Object.keys(h)) == null ? void 0 : O.filter((E) => {
2587
+ fe("div", Cu, [
2588
+ (V(!0), be(dl, null, pl((O = Object.keys(h)) == null ? void 0 : O.filter((E) => {
2588
2589
  var _;
2589
- return (_ = ye.value) == null ? void 0 : _.find((M) => (M == null ? void 0 : M.value) === E);
2590
+ return (_ = he.value) == null ? void 0 : _.find((F) => (F == null ? void 0 : F.value) === E);
2590
2591
  }), (E) => {
2591
- var _, M;
2592
- return I(), Se("div", { key: E }, [
2593
- ne(u, {
2592
+ var _, F;
2593
+ return V(), be("div", { key: E }, [
2594
+ re(u, {
2594
2595
  "model-value": h == null ? void 0 : h[E],
2595
- "active-text": (M = (_ = ye.value) == null ? void 0 : _.find((N) => (N == null ? void 0 : N.value) === E)) == null ? void 0 : M.label,
2596
- onChange: (N) => Dn(N, E, h)
2596
+ "active-text": (F = (_ = he.value) == null ? void 0 : _.find((B) => (B == null ? void 0 : B.value) === E)) == null ? void 0 : F.label,
2597
+ onChange: (B) => En(B, E, h)
2597
2598
  }, null, 8, ["model-value", "active-text", "onChange"])
2598
2599
  ]);
2599
2600
  }), 128))
@@ -2602,8 +2603,8 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2602
2603
  }),
2603
2604
  _: 2
2604
2605
  }, 1024),
2605
- ge("span", Cu, [
2606
- ne(n, {
2606
+ fe("span", _u, [
2607
+ re(n, {
2607
2608
  name: "drag",
2608
2609
  class: "col-drag-icon",
2609
2610
  style: { width: "15px", height: "15px" }
@@ -2619,9 +2620,9 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2619
2620
  })
2620
2621
  ]),
2621
2622
  content: H((h) => {
2622
- var O, E, _, M, N, $, r, U, g, m, v, R, i, k, b, w, F, x;
2623
+ var O, E, _, F, B, N, r, U, g, A, v, R, i, T, b, $, K, x;
2623
2624
  return [
2624
- or(h) ? (I(), je(a, {
2625
+ ir(h) ? (V(), je(a, {
2625
2626
  key: 0,
2626
2627
  "popper-class": "file-popover",
2627
2628
  placement: "right",
@@ -2630,67 +2631,69 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2630
2631
  width: "auto"
2631
2632
  }, {
2632
2633
  reference: H(() => [
2633
- ge("span", _u, Oe(We(h)), 1)
2634
+ fe("span", Ou, Oe(We(h)), 1)
2634
2635
  ]),
2635
2636
  default: H(() => {
2636
2637
  var C, q;
2637
2638
  return [
2638
- ge("div", Ou, [
2639
- (I(!0), Se(pl, null, fl((q = h == null ? void 0 : h.row) == null ? void 0 : q[(C = h == null ? void 0 : h.column) == null ? void 0 : C.prop], (V) => (I(), Se("div", Du, [
2640
- ge("div", {
2639
+ fe("div", Du, [
2640
+ (V(!0), be(dl, null, pl((q = h == null ? void 0 : h.row) == null ? void 0 : q[(C = h == null ? void 0 : h.column) == null ? void 0 : C.prop], (ee) => (V(), be("div", Eu, [
2641
+ fe("div", {
2641
2642
  class: "prop-url",
2642
- title: ra(V),
2643
- onClick: (oe) => Pn(V)
2644
- }, Oe(ra(V)), 9, Eu),
2645
- ge("div", {
2643
+ title: ra(ee),
2644
+ onClick: (oe) => Ln(ee)
2645
+ }, Oe(ra(ee)), 9, ju),
2646
+ fe("div", {
2646
2647
  class: "prop-download",
2647
- onClick: (oe) => Ln(V)
2648
- }, " 下载 ", 8, ju)
2648
+ onClick: (oe) => wn(ee)
2649
+ }, " 下载 ", 8, Pu)
2649
2650
  ]))), 256))
2650
2651
  ])
2651
2652
  ];
2652
2653
  }),
2653
2654
  _: 2
2654
- }, 1024)) : (I(), Se("div", {
2655
+ }, 1024)) : (V(), be("div", {
2655
2656
  key: 1,
2656
- style: Ul({
2657
- color: !Array.isArray(We(h)) && ((E = (O = We(h)) == null ? void 0 : O.toString()) != null && E.includes(".txt") || (M = (_ = We(h)) == null ? void 0 : _.toString()) != null && M.includes(".cpt") || ($ = (N = We(h)) == null ? void 0 : N.toString()) != null && $.includes(".cyd")) ? "var(--vertical-menuitem-active-bg)" : "",
2658
- textDecoration: !Array.isArray(We(h)) && ((U = (r = We(h)) == null ? void 0 : r.toString()) != null && U.includes(".txt") || (m = (g = We(h)) == null ? void 0 : g.toString()) != null && m.includes(".cpt") || (R = (v = We(h)) == null ? void 0 : v.toString()) != null && R.includes(".cyd")) ? "underline" : "",
2659
- cursor: !Array.isArray(We(h)) && ((k = (i = We(h)) == null ? void 0 : i.toString()) != null && k.includes(".txt") || (w = (b = We(h)) == null ? void 0 : b.toString()) != null && w.includes(".cpt") || (x = (F = We(h)) == null ? void 0 : F.toString()) != null && x.includes(".cyd")) ? "pointer" : "",
2657
+ style: xl({
2658
+ color: !Array.isArray(We(h)) && ((E = (O = We(h)) == null ? void 0 : O.toString()) != null && E.includes(".txt") || (F = (_ = We(h)) == null ? void 0 : _.toString()) != null && F.includes(".cpt") || (N = (B = We(h)) == null ? void 0 : B.toString()) != null && N.includes(".cyd")) ? "var(--vertical-menuitem-active-bg)" : "",
2659
+ textDecoration: !Array.isArray(We(h)) && ((U = (r = We(h)) == null ? void 0 : r.toString()) != null && U.includes(".txt") || (A = (g = We(h)) == null ? void 0 : g.toString()) != null && A.includes(".cpt") || (R = (v = We(h)) == null ? void 0 : v.toString()) != null && R.includes(".cyd")) ? "underline" : "",
2660
+ cursor: !Array.isArray(We(h)) && ((T = (i = We(h)) == null ? void 0 : i.toString()) != null && T.includes(".txt") || ($ = (b = We(h)) == null ? void 0 : b.toString()) != null && $.includes(".cpt") || (x = (K = We(h)) == null ? void 0 : K.toString()) != null && x.includes(".cyd")) ? "pointer" : "",
2660
2661
  marginLeft: (h == null ? void 0 : h.colIndex) === 0 ? `${((h == null ? void 0 : h.level) ?? 0) * 20}px` : 0
2661
2662
  }),
2662
- onClick: (C) => bn(We(h))
2663
- }, Oe(We(h) === 0 ? "0" : We(h)), 13, Pu))
2663
+ onClick: (C) => Sn(We(h))
2664
+ }, Oe(We(h) === 0 ? "0" : We(h)), 13, Lu))
2664
2665
  ];
2665
2666
  }),
2666
2667
  _: 2
2667
2668
  }, [
2668
- ((D = vl.value) == null ? void 0 : D.length) > 0 && Ve(Xl) !== Ve(ke) ? {
2669
+ ((D = yl.value) == null ? void 0 : D.length) > 0 && Ie(Xl) !== Ie(Se) ? {
2669
2670
  name: "actions",
2670
2671
  fn: H(({ item: h }) => [
2671
- ne(a, {
2672
+ re(a, {
2672
2673
  title: "",
2673
2674
  placement: "left-start",
2674
2675
  "popper-class": "menu-operate-popover"
2675
2676
  }, {
2676
2677
  reference: H(() => [
2677
- ne(n, {
2678
+ re(n, {
2678
2679
  name: "more",
2679
- style: { cursor: "pointer", width: "15px", height: "15px" }
2680
+ style: { cursor: "pointer", width: "15px", height: "15px" },
2681
+ onClick: l[0] || (l[0] = Fa(() => {
2682
+ }, ["stop"]))
2680
2683
  })
2681
2684
  ]),
2682
2685
  default: H(() => [
2683
- ge("div", bu, [
2684
- (I(!0), Se(pl, null, fl(wn(vl.value, h), (O, E) => (I(), Se("div", {
2686
+ fe("div", Su, [
2687
+ (V(!0), be(dl, null, pl($n(yl.value, h), (O, E) => (V(), be("div", {
2685
2688
  class: "menu-config-item",
2686
2689
  key: E,
2687
- onClick: (_) => ua(O == null ? void 0 : O.label, h, { extra: O })
2690
+ onClick: Fa((_) => ua(O == null ? void 0 : O.label, h, { extra: O }), ["stop"])
2688
2691
  }, [
2689
- ge("div", {
2690
- style: Ul({ color: O == null ? void 0 : O.textColor }),
2692
+ fe("div", {
2693
+ style: xl({ color: O == null ? void 0 : O.textColor }),
2691
2694
  class: "extra-button-label"
2692
2695
  }, Oe(O == null ? void 0 : O.label), 5)
2693
- ], 8, Su))), 128))
2696
+ ], 8, ku))), 128))
2694
2697
  ])
2695
2698
  ]),
2696
2699
  _: 2
@@ -2698,149 +2701,149 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2698
2701
  ]),
2699
2702
  key: "0"
2700
2703
  } : void 0,
2701
- ((B = Z.value) == null ? void 0 : B.length) > 0 ? {
2704
+ ((M = I.value) == null ? void 0 : M.length) > 0 ? {
2702
2705
  name: "batchButton",
2703
2706
  fn: H((h) => [
2704
- Fa(ne(uu, {
2705
- lockingPage: Ve(Xl) === Ve(ke),
2707
+ Ka(re(su, {
2708
+ lockingPage: Ie(Xl) === Ie(Se),
2706
2709
  buttons: h.buttons,
2707
- selectTableItems: rl.value,
2708
- onButtonClick: l[1] || (l[1] = (O) => ua(O, "", {}))
2710
+ selectTableItems: nl.value,
2711
+ onButtonClick: l[2] || (l[2] = (O) => ua(O, "", {}))
2709
2712
  }, null, 8, ["lockingPage", "buttons", "selectTableItems"]), [
2710
- [Ka, ae.value]
2713
+ [za, ae.value]
2711
2714
  ]),
2712
- Fa(ge("div", null, null, 512), [
2713
- [Ka, !ae.value]
2715
+ Ka(fe("div", null, null, 512), [
2716
+ [za, !ae.value]
2714
2717
  ])
2715
2718
  ]),
2716
2719
  key: "1"
2717
2720
  } : void 0
2718
2721
  ]), 1032, ["pageObj", "showIndex", "isTree", "summaryInfo", "columns", "defaultSort", "isCardViewport", "checkedColumns", "tableData", "isEditViewport", "isShowPagination", "allowSelect", "extraButton", "rowButton", "cacheExtraButtons", "isClearSelection"])) : _e("", !0),
2719
- ne(ql, {
2720
- title: ll.value,
2722
+ re(ql, {
2723
+ title: el.value,
2721
2724
  visible: cl.value,
2722
- width: hn.value,
2723
- onBeforeDestroy: En,
2725
+ width: yn.value,
2726
+ onBeforeDestroy: jn,
2724
2727
  style: { height: "74%" }
2725
2728
  }, {
2726
2729
  default: H(() => [
2727
- ge("div", Lu, [
2728
- ne(Ll, {
2729
- rowContents: Be.value,
2730
+ fe("div", wu, [
2731
+ re(Ll, {
2732
+ rowContents: Me.value,
2730
2733
  isEnableWrap: !1,
2731
2734
  showOperator: !1,
2732
- onChange: er,
2733
- onClickTrigger: jn,
2735
+ onChange: lr,
2736
+ onClickTrigger: Pn,
2734
2737
  isEdit: Il.value,
2735
- onBlurChange: On
2738
+ onBlurChange: Dn
2736
2739
  }, null, 8, ["rowContents", "isEdit"])
2737
2740
  ])
2738
2741
  ]),
2739
2742
  footer: H(() => [
2740
- ea.value ? (I(), Se("div", wu, [
2741
- ne(d, {
2742
- onClick: l[6] || (l[6] = (h) => cl.value = !1),
2743
+ ea.value ? (V(), be("div", $u, [
2744
+ re(d, {
2745
+ onClick: l[7] || (l[7] = (h) => cl.value = !1),
2743
2746
  id: "themeBorderButton"
2744
2747
  }, {
2745
- default: H(() => l[13] || (l[13] = [
2748
+ default: H(() => l[14] || (l[14] = [
2746
2749
  Ye(Oe("取消"))
2747
2750
  ])),
2748
2751
  _: 1,
2749
- __: [13]
2752
+ __: [14]
2750
2753
  }),
2751
- ne(d, {
2754
+ re(d, {
2752
2755
  class: "ok-button",
2753
- onClick: l[7] || (l[7] = (h) => Jl(!0)),
2756
+ onClick: l[8] || (l[8] = (h) => Jl(!0)),
2754
2757
  id: "themeButton"
2755
2758
  }, {
2756
- default: H(() => l[14] || (l[14] = [
2759
+ default: H(() => l[15] || (l[15] = [
2757
2760
  Ye(Oe("确认"))
2758
2761
  ])),
2759
2762
  _: 1,
2760
- __: [14]
2763
+ __: [15]
2761
2764
  })
2762
2765
  ])) : _e("", !0)
2763
2766
  ]),
2764
2767
  _: 1
2765
2768
  }, 8, ["title", "visible", "width"]),
2766
- ne(ql, {
2767
- title: ll.value,
2769
+ re(ql, {
2770
+ title: el.value,
2768
2771
  visible: Vl.value,
2769
2772
  width: ia.value,
2770
- onBeforeDestroy: l[9] || (l[9] = (h) => Vl.value = !1)
2773
+ onBeforeDestroy: l[10] || (l[10] = (h) => Vl.value = !1)
2771
2774
  }, {
2772
2775
  default: H(() => [
2773
- ne(du)
2776
+ re(pu)
2774
2777
  ]),
2775
2778
  footer: H(() => [
2776
- ge("div", $u, [
2777
- ne(d, {
2778
- onClick: l[8] || (l[8] = (h) => Vl.value = !1),
2779
+ fe("div", Nu, [
2780
+ re(d, {
2781
+ onClick: l[9] || (l[9] = (h) => Vl.value = !1),
2779
2782
  class: "cancel-button",
2780
2783
  id: "themeBorderButton"
2781
2784
  }, {
2782
- default: H(() => l[15] || (l[15] = [
2785
+ default: H(() => l[16] || (l[16] = [
2783
2786
  Ye(Oe("取消"))
2784
2787
  ])),
2785
2788
  _: 1,
2786
- __: [15]
2789
+ __: [16]
2787
2790
  }),
2788
- ne(d, {
2791
+ re(d, {
2789
2792
  class: "ok-button",
2790
- onClick: Kn,
2793
+ onClick: zn,
2791
2794
  id: "themeButton"
2792
2795
  }, {
2793
- default: H(() => l[16] || (l[16] = [
2796
+ default: H(() => l[17] || (l[17] = [
2794
2797
  Ye(Oe("确认"))
2795
2798
  ])),
2796
2799
  _: 1,
2797
- __: [16]
2800
+ __: [17]
2798
2801
  })
2799
2802
  ])
2800
2803
  ]),
2801
2804
  _: 1
2802
2805
  }, 8, ["title", "visible", "width"]),
2803
- ze.value ? (I(), je(wr, {
2806
+ ze.value ? (V(), je($r, {
2804
2807
  key: 1,
2805
- fileDataList: Cl.value,
2806
- onDestroy: Mn
2808
+ fileDataList: Ul.value,
2809
+ onDestroy: Fn
2807
2810
  }, null, 8, ["fileDataList"])) : _e("", !0),
2808
- ue.value ? (I(), je(ql, {
2811
+ ue.value ? (V(), je(ql, {
2809
2812
  key: 2,
2810
2813
  visible: ue.value,
2811
- onBeforeDestroy: Zn,
2814
+ onBeforeDestroy: In,
2812
2815
  style: { height: "80vh", width: "80vw" },
2813
2816
  "body-class": "three-dialog-body",
2814
2817
  "footer-class": "three-dialog-footer"
2815
2818
  }, {
2816
2819
  default: H(() => [
2817
- ne(Br, {
2820
+ re(Mr, {
2818
2821
  files: Nl.value,
2819
2822
  threeData: Ke.value
2820
2823
  }, null, 8, ["files", "threeData"])
2821
2824
  ]),
2822
2825
  _: 1
2823
2826
  }, 8, ["visible"])) : _e("", !0),
2824
- ne(ql, {
2827
+ re(ql, {
2825
2828
  visible: e.componentVisible,
2826
- onBeforeDestroy: l[10] || (l[10] = (h) => e.componentVisible = !1),
2829
+ onBeforeDestroy: l[11] || (l[11] = (h) => e.componentVisible = !1),
2827
2830
  width: ia.value,
2828
2831
  style: { height: "70vh" }
2829
2832
  }, {
2830
2833
  default: H(() => [
2831
- ne(p, { dialogItem: Tl.value }, null, 8, ["dialogItem"])
2834
+ re(p, { dialogItem: kl.value }, null, 8, ["dialogItem"])
2832
2835
  ]),
2833
2836
  _: 1
2834
2837
  }, 8, ["visible", "width"]),
2835
- ne(ql, {
2838
+ re(ql, {
2836
2839
  title: Ee.title,
2837
2840
  visible: Ee.show,
2838
2841
  width: Ee.width,
2839
- onBeforeDestroy: qn
2842
+ onBeforeDestroy: Gn
2840
2843
  }, {
2841
2844
  default: H(() => [
2842
- ge("div", Nu, [
2843
- ne(Ll, {
2845
+ fe("div", Bu, [
2846
+ re(Ll, {
2844
2847
  rowContents: Ee == null ? void 0 : Ee.contents,
2845
2848
  formRules: Ee == null ? void 0 : Ee.formRules,
2846
2849
  showOperator: !1,
@@ -2848,7 +2851,7 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2848
2851
  isEdit: Il.value,
2849
2852
  isStartJustify: !1,
2850
2853
  isEnableWrap: !1,
2851
- onOnButtonClick: Gn
2854
+ onOnButtonClick: Hn
2852
2855
  }, null, 8, ["rowContents", "formRules", "buttonValue", "isEdit"])
2853
2856
  ])
2854
2857
  ]),
@@ -2857,11 +2860,11 @@ const Ia = (L) => L.match(/\((.*)\)/)[1], Va = {
2857
2860
  ]);
2858
2861
  };
2859
2862
  }
2860
- }, Vu = /* @__PURE__ */ oa(Bu, [["__scopeId", "data-v-de3cd928"]]);
2863
+ }, es = /* @__PURE__ */ oa(Mu, [["__scopeId", "data-v-134c824e"]]);
2861
2864
  export {
2862
- su as a,
2863
- Ia as f,
2864
- en as g,
2865
- Vu as s,
2866
- yu as u
2865
+ ou as a,
2866
+ Va as f,
2867
+ ln as g,
2868
+ es as s,
2869
+ vu as u
2867
2870
  };