ss-component-new 1.2.237 → 1.2.239

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 (89) hide show
  1. package/dist/{MTLLoader-C5ohCvgq.cjs → MTLLoader-Dty52Kos.cjs} +1 -1
  2. package/dist/{MTLLoader-DN75tpBv.js → MTLLoader-ZOJJ-Zca.js} +1 -1
  3. package/dist/{OrbitControls-DYPSOWLj.cjs → OrbitControls-B0AMmpiE.cjs} +1 -1
  4. package/dist/{OrbitControls-DP13KnsK.js → OrbitControls-fz1Q5z4o.js} +1 -1
  5. package/dist/{URDFLoader-BTd7mTm1.cjs → URDFLoader-Ancz7QVZ.cjs} +1 -1
  6. package/dist/{URDFLoader-DoKVcie9.js → URDFLoader-C3_kHBTh.js} +2 -2
  7. package/dist/{animationData-C1JTGIBB.cjs → animationData-D7z6SN34.cjs} +1 -1
  8. package/dist/{animationData-jLHE-bjO.js → animationData-JHXk_SMb.js} +1 -1
  9. package/dist/{array-BKLyghIn.js → array-B8jfTWdr.js} +1 -1
  10. package/dist/{array-Bf7mQyS4.cjs → array-mOhrKMKc.cjs} +1 -1
  11. package/dist/{iconfont-DkUJLtiB.js → iconfont-DeLrM3NF.js} +2 -2
  12. package/dist/{iconfont-B98kkYId.cjs → iconfont-Qm8bQNiI.cjs} +1 -1
  13. package/dist/{index-EyLrSzZz.js → index--9gCNgdE.js} +1 -1
  14. package/dist/{index-CXDN0F_M.cjs → index-305au7cl.cjs} +1 -1
  15. package/dist/{index-D75ADF_5.cjs → index-6cQWf9lg.cjs} +1 -1
  16. package/dist/{index-iYF3ubF2.js → index-B7dQMnVH.js} +2 -2
  17. package/dist/{index-CIFYOt93.cjs → index-BAahUD8z.cjs} +1 -1
  18. package/dist/{index-CAqUjCxE.js → index-BGQxV1Z0.js} +1 -1
  19. package/dist/{index-Bvr-TPgs.cjs → index-BLrtNHJw.cjs} +1 -1
  20. package/dist/{index-BTtf6e-_.js → index-BO9Xirjz.js} +16 -16
  21. package/dist/{index-DynFtycq.cjs → index-BYyAqV5J.cjs} +1 -1
  22. package/dist/{index-jB8g-Vh1.cjs → index-B_R-9InB.cjs} +1 -1
  23. package/dist/index-BnD8y-0W.cjs +1 -0
  24. package/dist/{index-DPBGeJl5.js → index-Bt7zboia.js} +1 -1
  25. package/dist/{index-Dd7oW6Bd.cjs → index-BwoWLLrS.cjs} +1 -1
  26. package/dist/{index-BDbjJR60.cjs → index-C-GYH2e-.cjs} +1 -1
  27. package/dist/{index-Bt5sKtWb.js → index-C-X7YmVi.js} +1294 -1292
  28. package/dist/{index-9VJRCDUE.cjs → index-CB9123Ca.cjs} +1 -1
  29. package/dist/{index-BNd4UDuU.js → index-CF8aoT7d.js} +1 -1
  30. package/dist/{index-DC9766Do.cjs → index-CIkvZBU9.cjs} +1 -1
  31. package/dist/{index-sNTOx33W.cjs → index-CLIohYt2.cjs} +1 -1
  32. package/dist/{index-BplC8-Qo.js → index-CL_SJFfm.js} +4 -4
  33. package/dist/{index-D0XVyubM.cjs → index-CRoEK_jP.cjs} +1 -1
  34. package/dist/{index-BJcskdxs.js → index-CSoBuWPq.js} +3 -3
  35. package/dist/{index-DdKlcoPI.cjs → index-C_fnYWIg.cjs} +1 -1
  36. package/dist/{index-B8Zx_xOr.cjs → index-CaQkGd4w.cjs} +1 -1
  37. package/dist/{index-DwI9z1AN.cjs → index-CqcIJB7l.cjs} +1 -1
  38. package/dist/{index-BT4wgIf-.js → index-Cun2oG5e.js} +4 -4
  39. package/dist/{index-CCl06VCJ.cjs → index-D7CfJNBg.cjs} +1 -1
  40. package/dist/{index-CCkl5z8E.js → index-D9uP-j_f.js} +1 -1
  41. package/dist/{index-BhPx3jmH.js → index-DIv-wtkN.js} +8 -8
  42. package/dist/{index-Cg5xmSHi.js → index-DOCcOmco.js} +1 -1
  43. package/dist/{index-CxlnzZ-9.js → index-DSmWhHh1.js} +1 -1
  44. package/dist/{index-DZbd_-bI.js → index-DW06_6Us.js} +3 -3
  45. package/dist/{index-BPwyRF0D.cjs → index-DXahvDht.cjs} +1 -1
  46. package/dist/{index-Dj2lju1K.js → index-DXc6VP0-.js} +1 -1
  47. package/dist/{index-CqNxafkQ.js → index-DjD-V1yP.js} +7 -7
  48. package/dist/{index-bqXs_Bd0.js → index-Ds4CAs9m.js} +4 -4
  49. package/dist/{index-B-E1J1b4.js → index-FjrBXhOF.js} +1 -1
  50. package/dist/{index-o_q3c9_H.js → index-RBfbRP89.js} +1 -1
  51. package/dist/{index-tFtrEE-a.js → index-TnYAZpgF.js} +2 -2
  52. package/dist/{index-BuptIZ6F.cjs → index-VXn4QQ6h.cjs} +1 -1
  53. package/dist/{index-CLJGLzRM.cjs → index-XAZJKL25.cjs} +1 -1
  54. package/dist/{index-CgYJhRMs.js → index-Y-qD2EKj.js} +1 -1
  55. package/dist/{index-C9nSFcWG.cjs → index-cVN315Aw.cjs} +1 -1
  56. package/dist/{index-aL0BQ1-2.cjs → index-mPCjoZzL.cjs} +1 -1
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-zDyQTEgH.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-B--yNtf1.js} +3362 -3362
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-rQq5kkZF.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Ceu3XjdH.cjs} +13 -13
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BRn8KHun.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D1EZRqgB.cjs} +194 -194
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-vD09aciY.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-oA5S09l2.js} +12176 -12167
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_3d3811e8_lang-CCvF51yv.js → index.vue_vue_type_style_index_0_scoped_3d3811e8_lang-BmGjawag.js} +4 -4
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_3d3811e8_lang-C0Raj3Dn.cjs → index.vue_vue_type_style_index_0_scoped_3d3811e8_lang-DNL_YdS9.cjs} +1 -1
  63. package/dist/{index.vue_vue_type_style_index_1_lang-IN9qEUgA.cjs → index.vue_vue_type_style_index_1_lang-CDkVExU4.cjs} +1 -1
  64. package/dist/{index.vue_vue_type_style_index_1_lang-CPNvtnN8.js → index.vue_vue_type_style_index_1_lang-CmRU0NlU.js} +3 -3
  65. package/dist/{main-CSsQ8vyK.js → main-B7qUb3OO.js} +3 -3
  66. package/dist/{main-DLIDn7aw.cjs → main-CzJfiOuQ.cjs} +1 -1
  67. package/dist/ss-component.cjs +1 -1
  68. package/dist/ss-component.css +1 -1
  69. package/dist/ss-component.js +9 -9
  70. package/dist/ss-component2.cjs +1 -1
  71. package/dist/ss-component2.js +10 -10
  72. package/dist/{threeModel-CWcEKC5y.cjs → threeModel-9244RH82.cjs} +1 -1
  73. package/dist/{threeModel-DYG1Gt_F.js → threeModel-B-WiRZsP.js} +4 -4
  74. package/dist/{threePreview-DzecTfP3.js → threePreview-CDVWPPqC.js} +3 -3
  75. package/dist/{threePreview-CL0mHGyZ.cjs → threePreview-Cs-fXU15.cjs} +1 -1
  76. package/dist/{threeSceneView-CDsUz97l.js → threeSceneView-BIVFCX44.js} +8 -8
  77. package/dist/{threeSceneView-C041EeAi.cjs → threeSceneView-D-QgnVtZ.cjs} +1 -1
  78. package/dist/{threeSceneViewForCPMPIP-BQ7LqbEc.cjs → threeSceneViewForCPMPIP-CP4Z7-ku.cjs} +1 -1
  79. package/dist/{threeSceneViewForCPMPIP-D_tsnQ23.js → threeSceneViewForCPMPIP-l_jYJCJ1.js} +7 -7
  80. package/dist/{threeTrackPathView-AG1PIyYQ.js → threeTrackPathView-CMTtFQwo.js} +3 -3
  81. package/dist/{threeTrackPathView-DruGVa1-.cjs → threeTrackPathView-DMTFKySx.cjs} +1 -1
  82. package/dist/{threeViewerHost-CCeYZ9RS.cjs → threeViewerHost-AibV8TLI.cjs} +1 -1
  83. package/dist/{threeViewerHost-1MS6xVBD.js → threeViewerHost-CSfITlTw.js} +2 -2
  84. package/dist/{urdfTree-ziSyujK1.js → urdfTree-Bg_hGuBV.js} +1 -1
  85. package/dist/{urdfTree-4ehgCDAN.cjs → urdfTree-C5RSefmZ.cjs} +1 -1
  86. package/dist/{workpieceTreePanel-D-05Ihws.cjs → workpieceTreePanel-CGYnW5xz.cjs} +1 -1
  87. package/dist/{workpieceTreePanel-CKrooAAa.js → workpieceTreePanel-DxjKBScf.js} +4 -4
  88. package/package.json +1 -1
  89. package/dist/index-DYiIULbt.cjs +0 -1
@@ -1,15 +1,15 @@
1
- import { ref as z, watch as jl, nextTick as er, resolveComponent as il, createBlock as Xe, openBlock as V, withCtx as G, createElementVNode as te, renderSlot as Yr, onMounted as mr, createElementBlock as Ce, normalizeStyle as sa, normalizeClass as tn, toDisplayString as Ze, createCommentVNode as qe, createVNode as re, unref as Nl, Fragment as zl, renderList as Jl, createTextVNode as Sl, defineComponent as yn, reactive as Ka, computed as gr, inject as Mu, provide as Bu, onBeforeUnmount as Fu, onUnmounted as Ku, resolveDirective as zu, createSlots as Ju, withModifiers as Va, withDirectives as br, vShow as Ir } from "vue";
2
- import { bh as Vr, as as en, c as I, E as Ve, bD as hn, g as ha, p as fa, s as Ta, u as Wu, c3 as qu, f as Gu, b as ta, bv as Hu, bt as ln, e as Qu, c4 as Xu } from "./index-7MBVUN82.js";
3
- import { $ as Ca, aI as Zu, aJ as za, aK as Yu, g as Oa, b as Iu, a as Vu, _ as es, u as ls, aL as an, aM as rn, aN as nn, aO as as, d as ma, X as kr, q as un, l as rs, aP as sn, a7 as ns, aQ as us, aR as ss, aS as is, Z as os, aT as ds } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-vD09aciY.js";
4
- import { d as xa, _ as on, j as cs, e as dn, E as Sr, u as ps } from "./index-BT4wgIf-.js";
5
- import { a as fs, T as ts } from "./threeViewerHost-1MS6xVBD.js";
6
- import { u as ys, a as hs, E as cn } from "./index-3oQGURYh.js";
7
- import { c as vs } from "./index.vue_vue_type_style_index_1_lang-CPNvtnN8.js";
8
- import { _ as lr } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- import { s as ya } from "./index-EyLrSzZz.js";
1
+ import { ref as z, watch as Ll, nextTick as lr, resolveComponent as ul, createBlock as Qe, openBlock as ee, withCtx as G, createElementVNode as te, renderSlot as an, onMounted as Or, createElementBlock as Ce, normalizeStyle as da, normalizeClass as bn, toDisplayString as Xe, createCommentVNode as We, createVNode as re, unref as Rl, Fragment as Wl, renderList as ql, createTextVNode as Sl, defineComponent as kn, reactive as za, computed as br, inject as Js, provide as Ws, onBeforeUnmount as qs, onUnmounted as Gs, resolveDirective as Hs, createSlots as Qs, withModifiers as er, withDirectives as kr, vShow as rn } from "vue";
2
+ import { bh as nn, as as sn, c as V, E as Ie, bD as Sn, g as ba, p as ha, s as Oa, u as Xs, c3 as Zs, f as Ys, b as va, bv as Is, bt as un, e as Vs, c4 as eu } from "./index-7MBVUN82.js";
3
+ import { $ as Da, aI as lu, aJ as Ja, aK as au, g as xa, b as ru, a as nu, _ as su, u as uu, aL as on, aM as dn, aN as cn, aO as iu, d as Ca, X as Sr, q as pn, l as ou, aP as fn, a7 as du, aQ as cu, aR as pu, aS as fu, Z as tu, aT as yu } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-oA5S09l2.js";
4
+ import { d as Ua, _ as tn, j as hu, e as yn, E as Ar, u as vu } from "./index-Cun2oG5e.js";
5
+ import { a as gu, T as bu } from "./threeViewerHost-CSfITlTw.js";
6
+ import { u as ku, a as Su, E as hn } from "./index-3oQGURYh.js";
7
+ import { c as Au } from "./index.vue_vue_type_style_index_1_lang-CmRU0NlU.js";
8
+ import { _ as ar } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
+ import { s as ga } from "./index--9gCNgdE.js";
10
10
  import "./index-DfFq9kkn.js";
11
- import { i as pn } from "./isString-D70CzuJZ.js";
12
- const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
11
+ import { i as vn } from "./isString-D70CzuJZ.js";
12
+ const _r = (q) => q.match(/\((.*)\)/)[1], gn = {
13
13
  __name: "index",
14
14
  props: {
15
15
  isVisible: {
@@ -31,24 +31,24 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
31
31
  },
32
32
  setup(q) {
33
33
  const fe = q, ie = z(null), F = z(!1), K = z(null);
34
- return jl(
34
+ return Ll(
35
35
  () => fe == null ? void 0 : fe.isVisible,
36
36
  () => {
37
37
  F.value = fe == null ? void 0 : fe.isVisible;
38
38
  },
39
39
  { deep: !0, immediate: !0 }
40
- ), jl(
40
+ ), Ll(
41
41
  () => K.value,
42
42
  () => {
43
- er(() => {
44
- var s, ye;
45
- (ye = (s = ie.value) == null ? void 0 : s.updatePopper) == null || ye.call(s);
43
+ lr(() => {
44
+ var u, ye;
45
+ (ye = (u = ie.value) == null ? void 0 : u.updatePopper) == null || ye.call(u);
46
46
  });
47
47
  },
48
48
  { deep: !0, immediate: !0 }
49
- ), (s, ye) => {
50
- const $e = il("el-popover");
51
- return V(), Xe($e, {
49
+ ), (u, ye) => {
50
+ const we = ul("el-popover");
51
+ return ee(), Qe(we, {
52
52
  visible: F.value,
53
53
  title: fe == null ? void 0 : fe.title,
54
54
  placement: fe == null ? void 0 : fe.placement,
@@ -58,7 +58,7 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
58
58
  }, {
59
59
  reference: G(() => [
60
60
  te("div", null, [
61
- Yr(s.$slots, "reference", {
61
+ an(u.$slots, "reference", {
62
62
  ref_key: "referenceRef",
63
63
  ref: K
64
64
  })
@@ -66,35 +66,35 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
66
66
  ]),
67
67
  default: G(() => [
68
68
  te("div", null, [
69
- Yr(s.$slots, "content")
69
+ an(u.$slots, "content")
70
70
  ])
71
71
  ]),
72
72
  _: 3
73
73
  }, 8, ["visible", "title", "placement", "width"]);
74
74
  };
75
75
  }
76
- }, gs = {
76
+ }, _u = {
77
77
  key: 0,
78
78
  class: "extra-button-content"
79
- }, bs = { class: "table-operator-wrap" }, ks = {
79
+ }, Tu = { class: "table-operator-wrap" }, mu = {
80
80
  key: 0,
81
81
  class: "extra-button-filter"
82
- }, Ss = { class: "form-content-value" }, As = {
82
+ }, Ou = { class: "form-content-value" }, Cu = {
83
83
  key: 1,
84
84
  class: "extra-header"
85
- }, _s = {
85
+ }, xu = {
86
86
  class: "drop-menu",
87
87
  style: { width: "120px" }
88
- }, Ts = { key: 0 }, ms = { key: 1 }, Os = {
88
+ }, Du = { key: 0 }, Uu = { key: 1 }, Eu = {
89
89
  key: 1,
90
90
  class: "extra-button-content tabs-button-wrapper"
91
- }, Cs = { class: "table-operator-wrap" }, xs = { class: "extra-button-filter" }, Ds = { class: "form-content-value" }, Us = {
91
+ }, ju = { class: "table-operator-wrap" }, Lu = { class: "extra-button-filter" }, Pu = { class: "form-content-value" }, $u = {
92
92
  key: 0,
93
93
  class: "extra-header"
94
- }, Es = {
94
+ }, wu = {
95
95
  class: "drop-menu",
96
96
  style: { width: "120px" }
97
- }, js = { key: 0 }, Ls = { key: 1 }, Ps = {
97
+ }, Nu = { key: 0 }, Ru = { key: 1 }, Mu = {
98
98
  __name: "header",
99
99
  props: {
100
100
  pageLayout: {
@@ -130,10 +130,10 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
130
130
  },
131
131
  emits: ["buttonClick", "filter", "getImportData"],
132
132
  setup(q, { emit: fe }) {
133
- const ie = fe, F = q, K = z(""), s = z(!1), ye = z([]), $e = z([{ label: "取消", background: "#999999" }, {
133
+ const ie = fe, F = q, K = z(""), u = z(!1), ye = z([]), we = z([{ label: "取消", background: "#999999" }, {
134
134
  label: "清空",
135
135
  background: "#999999"
136
- }, { label: "确认" }]), Ie = [
136
+ }, { label: "确认" }]), Ye = [
137
137
  {
138
138
  label: "新增",
139
139
  icon: "Plus"
@@ -150,134 +150,134 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
150
150
  label: "OCR识别",
151
151
  icon: "ocr"
152
152
  }
153
- ], we = (ve) => {
154
- const Ke = ve.raw;
155
- if (!Ke) return;
156
- const al = new FileReader();
157
- al.onload = (ge) => {
153
+ ], Ne = (ve) => {
154
+ const Fe = ve.raw;
155
+ if (!Fe) return;
156
+ const ll = new FileReader();
157
+ ll.onload = (ge) => {
158
158
  try {
159
- const nl = new Uint8Array(ge.target.result), rl = Zu(nl, { type: "array" }), Il = rl.SheetNames[0], oe = rl.Sheets[Il], X = za.decode_range(oe["!ref"]).e.c + 1, Z = new Array(X).fill(""), C = [];
160
- for (const Q in oe) {
161
- if (Q[0] === "!") continue;
162
- const { r: Ae, c: Ge } = za.decode_cell(Q);
163
- let ol = oe[Q].v;
164
- if (oe[Q].t === "n" && ol > 0 && ol < 1e6 && (ol = new Date((ol - 25569) * 86400 * 1e3).toISOString().split("T")[0]), (ol == null || ol === "") && (ol = ""), Ae === 0)
165
- Z[Ge] = ol;
159
+ const rl = new Uint8Array(ge.target.result), al = lu(rl, { type: "array" }), ea = al.SheetNames[0], oe = al.Sheets[ea], Z = Ja.decode_range(oe["!ref"]).e.c + 1, Y = new Array(Z).fill(""), C = [];
160
+ for (const X in oe) {
161
+ if (X[0] === "!") continue;
162
+ const { r: Ae, c: qe } = Ja.decode_cell(X);
163
+ let il = oe[X].v;
164
+ if (oe[X].t === "n" && il > 0 && il < 1e6 && (il = new Date((il - 25569) * 86400 * 1e3).toISOString().split("T")[0]), (il == null || il === "") && (il = ""), Ae === 0)
165
+ Y[qe] = il;
166
166
  else {
167
167
  if (!C[Ae - 1]) {
168
168
  C[Ae - 1] = {};
169
- for (let ql = 0; ql < X; ql++)
170
- C[Ae - 1][`col_${ql}`] = "";
169
+ for (let Hl = 0; Hl < Z; Hl++)
170
+ C[Ae - 1][`col_${Hl}`] = "";
171
171
  }
172
- C[Ae - 1][`col_${Ge}`] = ol;
172
+ C[Ae - 1][`col_${qe}`] = il;
173
173
  }
174
174
  }
175
- for (let Q = 0; Q < X; Q++)
176
- Z[Q] === void 0 && (Z[Q] = "");
177
- const Ye = C == null ? void 0 : C[0];
178
- if (!(Ye != null && Ye.hasOwnProperty("col_0"))) return Ve.error("导入的数据列不匹配,请检查是否错位");
179
- ie("getImportData", Z, C);
180
- } catch (nl) {
181
- throw Ve.error(nl.message), new Error(nl.message);
175
+ for (let X = 0; X < Z; X++)
176
+ Y[X] === void 0 && (Y[X] = "");
177
+ const Ze = C == null ? void 0 : C[0];
178
+ if (!(Ze != null && Ze.hasOwnProperty("col_0"))) return Ie.error("导入的数据列不匹配,请检查是否错位");
179
+ ie("getImportData", Y, C);
180
+ } catch (rl) {
181
+ throw Ie.error(rl.message), new Error(rl.message);
182
182
  }
183
- }, al.readAsArrayBuffer(Ke);
184
- }, Dl = (ve) => {
185
- var al;
186
- const Ke = (al = ye.value) == null ? void 0 : al.reduce((ge, nl, rl) => (rl === 0 ? ge[nl.label] = ve : ge[nl.label] = nl == null ? void 0 : nl.value, ge), {});
187
- ie("filter", Ke, ve, !0);
188
- }, Wl = (ve) => {
183
+ }, ll.readAsArrayBuffer(Fe);
184
+ }, Ul = (ve) => {
185
+ var ll;
186
+ const Fe = (ll = ye.value) == null ? void 0 : ll.reduce((ge, rl, al) => (al === 0 ? ge[rl.label] = ve : ge[rl.label] = rl == null ? void 0 : rl.value, ge), {});
187
+ ie("filter", Fe, ve, !0);
188
+ }, Gl = (ve) => {
189
189
  ie("buttonClick", ve);
190
- }, Zl = (ve) => {
191
- var Ke, al;
192
- ye.value = (al = (Ke = Ca(I(ve))) == null ? void 0 : Ke.filter((ge) => (ge == null ? void 0 : ge.label) !== "" && (ge == null ? void 0 : ge.label) !== "操作")) == null ? void 0 : al.map((ge) => ({
190
+ }, Il = (ve) => {
191
+ var Fe, ll;
192
+ ye.value = (ll = (Fe = Da(V(ve))) == null ? void 0 : Fe.filter((ge) => (ge == null ? void 0 : ge.label) !== "" && (ge == null ? void 0 : ge.label) !== "操作")) == null ? void 0 : ll.map((ge) => ({
193
193
  label: (ge == null ? void 0 : ge.label) ?? "",
194
194
  value: "",
195
195
  name: (ge == null ? void 0 : ge.label) ?? "",
196
196
  isFormColHidden: ge == null ? void 0 : ge.isTableColHidden,
197
197
  width: 2
198
198
  }));
199
- }, Yl = z(!1), ra = (ve) => {
200
- var Ke;
201
- if ((ve == null ? void 0 : ve.buttonName) === "确认" && (ie("filter", ve == null ? void 0 : ve.content), Yl.value = (ve == null ? void 0 : ve.content) && Object.values(ve == null ? void 0 : ve.content).length > 0), (ve == null ? void 0 : ve.buttonName) === "清空") {
202
- const al = I(ve == null ? void 0 : ve.content);
203
- for (const ge in al)
204
- al[ge] = "";
205
- ye.value = (Ke = ye.value) == null ? void 0 : Ke.map((ge) => ({
199
+ }, Vl = z(!1), ua = (ve) => {
200
+ var Fe;
201
+ if ((ve == null ? void 0 : ve.buttonName) === "确认" && (ie("filter", ve == null ? void 0 : ve.content), Vl.value = (ve == null ? void 0 : ve.content) && Object.values(ve == null ? void 0 : ve.content).length > 0), (ve == null ? void 0 : ve.buttonName) === "清空") {
202
+ const ll = V(ve == null ? void 0 : ve.content);
203
+ for (const ge in ll)
204
+ ll[ge] = "";
205
+ ye.value = (Fe = ye.value) == null ? void 0 : Fe.map((ge) => ({
206
206
  ...ge,
207
207
  value: ""
208
- })), ie("filter", al), Yl.value = !1;
208
+ })), ie("filter", ll), Vl.value = !1;
209
209
  }
210
- s.value = !1;
211
- }, ia = () => {
212
- var Ke, al;
213
- ye.value = (Ke = ye.value) == null ? void 0 : Ke.map((ge) => ({
210
+ u.value = !1;
211
+ }, ca = () => {
212
+ var Fe, ll;
213
+ ye.value = (Fe = ye.value) == null ? void 0 : Fe.map((ge) => ({
214
214
  ...ge,
215
215
  value: ""
216
216
  }));
217
- const ve = (al = ye.value) == null ? void 0 : al.reduce((ge, nl) => (ge[nl.label] = nl.value, ge), {});
217
+ const ve = (ll = ye.value) == null ? void 0 : ll.reduce((ge, rl) => (ge[rl.label] = rl.value, ge), {});
218
218
  ie("filter", ve);
219
219
  };
220
- return mr(() => {
221
- Zl(F.columns);
222
- }), jl(
220
+ return Or(() => {
221
+ Il(F.columns);
222
+ }), Ll(
223
223
  () => F.columns,
224
224
  () => {
225
- Zl(F.columns);
225
+ Il(F.columns);
226
226
  },
227
227
  { deep: !0, immediate: !0 }
228
- ), (ve, Ke) => {
229
- var oe, Re, X, Z;
230
- const al = il("el-icon"), ge = il("svg-icon"), nl = il("el-input"), rl = il("el-button"), Il = il("el-upload");
231
- return q.pageLayout === "vertical" ? (V(), Ce("div", gs, [
228
+ ), (ve, Fe) => {
229
+ var oe, Re, Z, Y;
230
+ const ll = ul("el-icon"), ge = ul("svg-icon"), rl = ul("el-input"), al = ul("el-button"), ea = ul("el-upload");
231
+ return q.pageLayout === "vertical" ? (ee(), Ce("div", _u, [
232
232
  te("div", {
233
- class: tn(q.compName ? "table-name-wrap" : ""),
234
- style: sa({
233
+ class: bn(q.compName ? "table-name-wrap" : ""),
234
+ style: da({
235
235
  background: (F == null ? void 0 : F.level) > 1 ? "transparent" : "var(--ssgroup-background)",
236
236
  paddingLeft: ((F == null ? void 0 : F.level) - 1) * 12 + "px",
237
237
  fontWeight: 600 - ((F == null ? void 0 : F.level) - 1) * 100 >= 400 ? 600 - ((F == null ? void 0 : F.level) - 1) * 100 : 400,
238
238
  fontSize: 17 - (F == null ? void 0 : F.level) >= 14 ? 17 - (F == null ? void 0 : F.level) + "px" : "14px"
239
239
  })
240
- }, Ze(q.compName), 7),
241
- te("div", bs, [
242
- F != null && F.filterShow ? (V(), Ce("div", ks, [
243
- re(fn, {
240
+ }, Xe(q.compName), 7),
241
+ te("div", Tu, [
242
+ F != null && F.filterShow ? (ee(), Ce("div", mu, [
243
+ re(gn, {
244
244
  title: "",
245
245
  width: 800,
246
246
  placement: "bottom-start",
247
- isVisible: s.value
247
+ isVisible: u.value
248
248
  }, {
249
249
  reference: G(() => {
250
- var C, Ye, Q, Ae;
250
+ var C, Ze, X, Ae;
251
251
  return [
252
- re(nl, {
252
+ re(rl, {
253
253
  modelValue: K.value,
254
- "onUpdate:modelValue": Ke[1] || (Ke[1] = (Ge) => K.value = Ge),
254
+ "onUpdate:modelValue": Fe[1] || (Fe[1] = (qe) => K.value = qe),
255
255
  style: { "min-width": "80px" },
256
- placeholder: Yl.value ? (Q = (Ye = (C = q.filterValues) == null ? void 0 : C.filter((Ge) => Ge)) == null ? void 0 : Ye.slice(0, 3)) == null ? void 0 : Q.join("/") : "搜索",
257
- "prefix-icon": Nl(Vr),
256
+ placeholder: Vl.value ? (X = (Ze = (C = q.filterValues) == null ? void 0 : C.filter((qe) => qe)) == null ? void 0 : Ze.slice(0, 3)) == null ? void 0 : X.join("/") : "搜索",
257
+ "prefix-icon": Rl(nn),
258
258
  clearable: "",
259
- onInput: Dl,
259
+ onInput: Ul,
260
260
  disabled: ((Ae = ye.value) == null ? void 0 : Ae.length) === 0
261
261
  }, {
262
262
  suffix: G(() => {
263
- var Ge, ol;
263
+ var qe, il;
264
264
  return [
265
- !K.value && ((ol = (Ge = q.filterValues) == null ? void 0 : Ge.filter((ql) => ql)) != null && ol.join("/")) ? (V(), Xe(al, {
265
+ !K.value && ((il = (qe = q.filterValues) == null ? void 0 : qe.filter((Hl) => Hl)) != null && il.join("/")) ? (ee(), Qe(ll, {
266
266
  key: 0,
267
267
  style: { cursor: "pointer" },
268
- onClick: ia
268
+ onClick: ca
269
269
  }, {
270
270
  default: G(() => [
271
- re(Nl(en))
271
+ re(Rl(sn))
272
272
  ]),
273
273
  _: 1
274
- })) : qe("", !0)
274
+ })) : We("", !0)
275
275
  ];
276
276
  }),
277
277
  append: G(() => [
278
278
  te("span", {
279
279
  title: "条件查询",
280
- onClick: Ke[0] || (Ke[0] = (Ge) => s.value = !s.value)
280
+ onClick: Fe[0] || (Fe[0] = (qe) => u.value = !u.value)
281
281
  }, [
282
282
  re(ge, {
283
283
  name: "query",
@@ -290,31 +290,31 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
290
290
  ];
291
291
  }),
292
292
  content: G(() => [
293
- te("div", Ss, [
294
- (V(), Xe(xa, {
293
+ te("div", Ou, [
294
+ (ee(), Qe(Ua, {
295
295
  rowContents: ye.value,
296
- buttonValue: $e.value,
296
+ buttonValue: we.value,
297
297
  isRowFlex: !0,
298
298
  isEnableWrap: !1,
299
299
  isButtonRow: !1,
300
- key: $e.value,
300
+ key: we.value,
301
301
  isStartJustify: !1,
302
- onOnButtonClick: ra
302
+ onOnButtonClick: ua
303
303
  }, null, 8, ["rowContents", "buttonValue"]))
304
304
  ])
305
305
  ]),
306
306
  _: 1
307
307
  }, 8, ["isVisible"])
308
- ])) : qe("", !0),
309
- q.buttons && ((oe = q.buttons) == null ? void 0 : oe.length) > 0 ? (V(), Ce("div", As, [
310
- (V(!0), Ce(zl, null, Jl((Re = q.buttons) == null ? void 0 : Re.filter((C) => q.isDevMode || (C == null ? void 0 : C.label) !== "修改模板"), (C, Ye) => (V(), Ce("div", {
308
+ ])) : We("", !0),
309
+ q.buttons && ((oe = q.buttons) == null ? void 0 : oe.length) > 0 ? (ee(), Ce("div", Cu, [
310
+ (ee(!0), Ce(Wl, null, ql((Re = q.buttons) == null ? void 0 : Re.filter((C) => q.isDevMode || (C == null ? void 0 : C.label) !== "修改模板"), (C, Ze) => (ee(), Ce("div", {
311
311
  class: "extra-contents",
312
- key: Ye
312
+ key: Ze
313
313
  }, [
314
- (C == null ? void 0 : C.type) === "upload" ? (V(), Xe(Il, {
314
+ (C == null ? void 0 : C.type) === "upload" ? (ee(), Qe(ea, {
315
315
  key: 0,
316
316
  class: "upload-button-wrap",
317
- "on-change": we,
317
+ "on-change": Ne,
318
318
  accept: ".xlsx,.xls",
319
319
  "auto-upload": !1,
320
320
  action: "#",
@@ -322,45 +322,45 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
322
322
  disabled: !!q.lockingPage
323
323
  }, {
324
324
  default: G(() => [
325
- re(rl, {
325
+ re(al, {
326
326
  disabled: !!q.lockingPage,
327
- style: sa({ background: (C == null ? void 0 : C.background) ?? "var(--ssbutton-theme-bg)", color: (C == null ? void 0 : C.color) ?? "var(--ssbutton-theme-color)" })
327
+ style: da({ background: (C == null ? void 0 : C.background) ?? "var(--ssbutton-theme-bg)", color: (C == null ? void 0 : C.color) ?? "var(--ssbutton-theme-color)" })
328
328
  }, {
329
329
  default: G(() => [
330
- Sl(Ze(C == null ? void 0 : C.label), 1)
330
+ Sl(Xe(C == null ? void 0 : C.label), 1)
331
331
  ]),
332
332
  _: 2
333
333
  }, 1032, ["disabled", "style"])
334
334
  ]),
335
335
  _: 2
336
- }, 1032, ["disabled"])) : qe("", !0),
337
- (C == null ? void 0 : C.type) === "popover" ? (V(), Xe(on, { key: 1 }, {
336
+ }, 1032, ["disabled"])) : We("", !0),
337
+ (C == null ? void 0 : C.type) === "popover" ? (ee(), Qe(tn, { key: 1 }, {
338
338
  dropTitle: G(() => [
339
- (C == null ? void 0 : C.type) === "popover" ? (V(), Xe(rl, {
339
+ (C == null ? void 0 : C.type) === "popover" ? (ee(), Qe(al, {
340
340
  key: 0,
341
341
  disabled: !!q.lockingPage,
342
- style: sa({ background: (C == null ? void 0 : C.background) ?? "var(--ssbutton-theme-bg)", color: (C == null ? void 0 : C.color) ?? "var(--ssbutton-theme-color)" })
342
+ style: da({ background: (C == null ? void 0 : C.background) ?? "var(--ssbutton-theme-bg)", color: (C == null ? void 0 : C.color) ?? "var(--ssbutton-theme-color)" })
343
343
  }, {
344
344
  default: G(() => [
345
- Sl(Ze(C == null ? void 0 : C.label), 1)
345
+ Sl(Xe(C == null ? void 0 : C.label), 1)
346
346
  ]),
347
347
  _: 2
348
- }, 1032, ["disabled", "style"])) : qe("", !0)
348
+ }, 1032, ["disabled", "style"])) : We("", !0)
349
349
  ]),
350
350
  dropMenu: G(() => [
351
- te("div", _s, [
352
- (V(!0), Ce(zl, null, Jl(C == null ? void 0 : C.contents, (Q) => (V(), Xe(rl, {
353
- key: Q == null ? void 0 : Q.label,
351
+ te("div", xu, [
352
+ (ee(!0), Ce(Wl, null, ql(C == null ? void 0 : C.contents, (X) => (ee(), Qe(al, {
353
+ key: X == null ? void 0 : X.label,
354
354
  disabled: !!q.lockingPage,
355
355
  style: { width: "100%", margin: "0", border: "none", display: "flex", "justify-content": "flex-start" },
356
- onClick: (Ae) => Wl(Q == null ? void 0 : Q.label)
356
+ onClick: (Ae) => Gl(X == null ? void 0 : X.label)
357
357
  }, {
358
358
  default: G(() => {
359
- var Ae, Ge;
359
+ var Ae, qe;
360
360
  return [
361
- Sl(Ze(Q == null ? void 0 : Q.label), 1),
362
- (Ae = Q == null ? void 0 : Q.label) != null && Ae.includes("选中") ? (V(), Ce("span", Ts, "(" + Ze(q.selectNums) + ")", 1)) : qe("", !0),
363
- (Ge = Q == null ? void 0 : Q.label) != null && Ge.includes("全部") ? (V(), Ce("span", ms, "(" + Ze(q.dataNums) + ")", 1)) : qe("", !0)
361
+ Sl(Xe(X == null ? void 0 : X.label), 1),
362
+ (Ae = X == null ? void 0 : X.label) != null && Ae.includes("选中") ? (ee(), Ce("span", Du, "(" + Xe(q.selectNums) + ")", 1)) : We("", !0),
363
+ (qe = X == null ? void 0 : X.label) != null && qe.includes("全部") ? (ee(), Ce("span", Uu, "(" + Xe(q.dataNums) + ")", 1)) : We("", !0)
364
364
  ];
365
365
  }),
366
366
  _: 2
@@ -368,63 +368,63 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
368
368
  ])
369
369
  ]),
370
370
  _: 2
371
- }, 1024)) : qe("", !0),
372
- C != null && C.type ? qe("", !0) : (V(), Xe(rl, {
371
+ }, 1024)) : We("", !0),
372
+ C != null && C.type ? We("", !0) : (ee(), Qe(al, {
373
373
  key: 2,
374
374
  id: "themeButton",
375
375
  disabled: !!q.lockingPage,
376
- style: sa({ background: (C == null ? void 0 : C.background) ?? "var(--ssbutton-theme-bg)", color: (C == null ? void 0 : C.color) ?? "var(--ssbutton-theme-color)" }),
377
- onClick: (Q) => Wl(C == null ? void 0 : C.label)
376
+ style: da({ background: (C == null ? void 0 : C.background) ?? "var(--ssbutton-theme-bg)", color: (C == null ? void 0 : C.color) ?? "var(--ssbutton-theme-color)" }),
377
+ onClick: (X) => Gl(C == null ? void 0 : C.label)
378
378
  }, {
379
379
  default: G(() => [
380
- Sl(Ze(C == null ? void 0 : C.label), 1)
380
+ Sl(Xe(C == null ? void 0 : C.label), 1)
381
381
  ]),
382
382
  _: 2
383
383
  }, 1032, ["disabled", "style", "onClick"]))
384
384
  ]))), 128))
385
- ])) : qe("", !0)
385
+ ])) : We("", !0)
386
386
  ])
387
- ])) : (V(), Ce("div", Os, [
388
- te("div", Cs, [
389
- te("div", xs, [
390
- re(fn, {
387
+ ])) : (ee(), Ce("div", Eu, [
388
+ te("div", ju, [
389
+ te("div", Lu, [
390
+ re(gn, {
391
391
  title: "",
392
392
  width: 800,
393
393
  placement: "bottom-start",
394
- isVisible: s.value
394
+ isVisible: u.value
395
395
  }, {
396
396
  reference: G(() => {
397
- var C, Ye, Q, Ae;
397
+ var C, Ze, X, Ae;
398
398
  return [
399
- re(nl, {
399
+ re(rl, {
400
400
  modelValue: K.value,
401
- "onUpdate:modelValue": Ke[3] || (Ke[3] = (Ge) => K.value = Ge),
401
+ "onUpdate:modelValue": Fe[3] || (Fe[3] = (qe) => K.value = qe),
402
402
  style: { "min-width": "80px" },
403
- placeholder: Yl.value ? (Q = (Ye = (C = q.filterValues) == null ? void 0 : C.filter((Ge) => Ge)) == null ? void 0 : Ye.slice(0, 3)) == null ? void 0 : Q.join("/") : "搜索",
404
- "prefix-icon": Nl(Vr),
403
+ placeholder: Vl.value ? (X = (Ze = (C = q.filterValues) == null ? void 0 : C.filter((qe) => qe)) == null ? void 0 : Ze.slice(0, 3)) == null ? void 0 : X.join("/") : "搜索",
404
+ "prefix-icon": Rl(nn),
405
405
  clearable: "",
406
- onInput: Dl,
406
+ onInput: Ul,
407
407
  disabled: ((Ae = ye.value) == null ? void 0 : Ae.length) === 0
408
408
  }, {
409
409
  suffix: G(() => {
410
- var Ge, ol;
410
+ var qe, il;
411
411
  return [
412
- !K.value && ((ol = (Ge = q.filterValues) == null ? void 0 : Ge.filter((ql) => ql)) != null && ol.join("/")) ? (V(), Xe(al, {
412
+ !K.value && ((il = (qe = q.filterValues) == null ? void 0 : qe.filter((Hl) => Hl)) != null && il.join("/")) ? (ee(), Qe(ll, {
413
413
  key: 0,
414
414
  style: { cursor: "pointer" },
415
- onClick: ia
415
+ onClick: ca
416
416
  }, {
417
417
  default: G(() => [
418
- re(Nl(en))
418
+ re(Rl(sn))
419
419
  ]),
420
420
  _: 1
421
- })) : qe("", !0)
421
+ })) : We("", !0)
422
422
  ];
423
423
  }),
424
424
  append: G(() => [
425
425
  te("span", {
426
426
  title: "条件查询",
427
- onClick: Ke[2] || (Ke[2] = (Ge) => s.value = !s.value)
427
+ onClick: Fe[2] || (Fe[2] = (qe) => u.value = !u.value)
428
428
  }, [
429
429
  re(ge, {
430
430
  name: "query",
@@ -437,87 +437,87 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
437
437
  ];
438
438
  }),
439
439
  content: G(() => [
440
- te("div", Ds, [
441
- (V(), Xe(xa, {
440
+ te("div", Pu, [
441
+ (ee(), Qe(Ua, {
442
442
  rowContents: ye.value,
443
- buttonValue: $e.value,
443
+ buttonValue: we.value,
444
444
  isRowFlex: !0,
445
445
  isEnableWrap: !1,
446
446
  isButtonRow: !1,
447
- key: $e.value,
447
+ key: we.value,
448
448
  isStartJustify: !1,
449
- onOnButtonClick: ra
449
+ onOnButtonClick: ua
450
450
  }, null, 8, ["rowContents", "buttonValue"]))
451
451
  ])
452
452
  ]),
453
453
  _: 1
454
454
  }, 8, ["isVisible"])
455
455
  ]),
456
- q.buttons && ((X = q.buttons) == null ? void 0 : X.length) > 0 ? (V(), Ce("div", Us, [
457
- (V(!0), Ce(zl, null, Jl((Z = q.buttons) == null ? void 0 : Z.filter((C) => q.isDevMode || (C == null ? void 0 : C.label) !== "修改模板"), (C, Ye) => (V(), Ce("div", {
456
+ q.buttons && ((Z = q.buttons) == null ? void 0 : Z.length) > 0 ? (ee(), Ce("div", $u, [
457
+ (ee(!0), Ce(Wl, null, ql((Y = q.buttons) == null ? void 0 : Y.filter((C) => q.isDevMode || (C == null ? void 0 : C.label) !== "修改模板"), (C, Ze) => (ee(), Ce("div", {
458
458
  class: "extra-contents",
459
- key: Ye
459
+ key: Ze
460
460
  }, [
461
- (C == null ? void 0 : C.type) === "upload" ? (V(), Xe(Il, {
461
+ (C == null ? void 0 : C.type) === "upload" ? (ee(), Qe(ea, {
462
462
  key: 0,
463
463
  class: "upload-button-wrap",
464
- "on-change": we,
464
+ "on-change": Ne,
465
465
  accept: ".xlsx,.xls",
466
466
  "auto-upload": !1,
467
467
  action: "#",
468
468
  "show-file-list": !1
469
469
  }, {
470
470
  default: G(() => [
471
- re(rl, { style: { background: "transparent", color: "#666666" } }, {
471
+ re(al, { style: { background: "transparent", color: "#666666" } }, {
472
472
  icon: G(() => {
473
- var Q;
473
+ var X;
474
474
  return [
475
475
  re(ge, {
476
- name: (Q = Ie == null ? void 0 : Ie.find((Ae) => (Ae == null ? void 0 : Ae.label) === (C == null ? void 0 : C.label))) == null ? void 0 : Q.icon
476
+ name: (X = Ye == null ? void 0 : Ye.find((Ae) => (Ae == null ? void 0 : Ae.label) === (C == null ? void 0 : C.label))) == null ? void 0 : X.icon
477
477
  }, null, 8, ["name"])
478
478
  ];
479
479
  }),
480
480
  default: G(() => [
481
- Sl(" " + Ze(C == null ? void 0 : C.label), 1)
481
+ Sl(" " + Xe(C == null ? void 0 : C.label), 1)
482
482
  ]),
483
483
  _: 2
484
484
  }, 1024)
485
485
  ]),
486
486
  _: 2
487
- }, 1024)) : qe("", !0),
488
- (C == null ? void 0 : C.type) === "popover" ? (V(), Xe(on, { key: 1 }, {
487
+ }, 1024)) : We("", !0),
488
+ (C == null ? void 0 : C.type) === "popover" ? (ee(), Qe(tn, { key: 1 }, {
489
489
  dropTitle: G(() => [
490
- (C == null ? void 0 : C.type) === "popover" ? (V(), Xe(rl, {
490
+ (C == null ? void 0 : C.type) === "popover" ? (ee(), Qe(al, {
491
491
  key: 0,
492
492
  style: { background: "transparent", color: "#666666" }
493
493
  }, {
494
494
  icon: G(() => {
495
- var Q;
495
+ var X;
496
496
  return [
497
497
  re(ge, {
498
- name: (Q = Ie == null ? void 0 : Ie.find((Ae) => (Ae == null ? void 0 : Ae.label) === (C == null ? void 0 : C.label))) == null ? void 0 : Q.icon
498
+ name: (X = Ye == null ? void 0 : Ye.find((Ae) => (Ae == null ? void 0 : Ae.label) === (C == null ? void 0 : C.label))) == null ? void 0 : X.icon
499
499
  }, null, 8, ["name"])
500
500
  ];
501
501
  }),
502
502
  default: G(() => [
503
- Sl(" " + Ze(C == null ? void 0 : C.label), 1)
503
+ Sl(" " + Xe(C == null ? void 0 : C.label), 1)
504
504
  ]),
505
505
  _: 2
506
- }, 1024)) : qe("", !0)
506
+ }, 1024)) : We("", !0)
507
507
  ]),
508
508
  dropMenu: G(() => [
509
- te("div", Es, [
510
- (V(!0), Ce(zl, null, Jl(C == null ? void 0 : C.contents, (Q) => (V(), Xe(rl, {
511
- key: Q == null ? void 0 : Q.label,
509
+ te("div", wu, [
510
+ (ee(!0), Ce(Wl, null, ql(C == null ? void 0 : C.contents, (X) => (ee(), Qe(al, {
511
+ key: X == null ? void 0 : X.label,
512
512
  style: { width: "100%", margin: "0", border: "none", display: "flex", "justify-content": "flex-start" },
513
- onClick: (Ae) => Wl(Q == null ? void 0 : Q.label)
513
+ onClick: (Ae) => Gl(X == null ? void 0 : X.label)
514
514
  }, {
515
515
  default: G(() => {
516
- var Ae, Ge;
516
+ var Ae, qe;
517
517
  return [
518
- Sl(Ze(Q == null ? void 0 : Q.label), 1),
519
- (Ae = Q == null ? void 0 : Q.label) != null && Ae.includes("选中") ? (V(), Ce("span", js, "(" + Ze(q.selectNums) + ")", 1)) : qe("", !0),
520
- (Ge = Q == null ? void 0 : Q.label) != null && Ge.includes("全部") ? (V(), Ce("span", Ls, "(" + Ze(q.dataNums) + ")", 1)) : qe("", !0)
518
+ Sl(Xe(X == null ? void 0 : X.label), 1),
519
+ (Ae = X == null ? void 0 : X.label) != null && Ae.includes("选中") ? (ee(), Ce("span", Nu, "(" + Xe(q.selectNums) + ")", 1)) : We("", !0),
520
+ (qe = X == null ? void 0 : X.label) != null && qe.includes("全部") ? (ee(), Ce("span", Ru, "(" + Xe(q.dataNums) + ")", 1)) : We("", !0)
521
521
  ];
522
522
  }),
523
523
  _: 2
@@ -525,33 +525,33 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
525
525
  ])
526
526
  ]),
527
527
  _: 2
528
- }, 1024)) : qe("", !0),
529
- C != null && C.type ? qe("", !0) : (V(), Xe(rl, {
528
+ }, 1024)) : We("", !0),
529
+ C != null && C.type ? We("", !0) : (ee(), Qe(al, {
530
530
  key: 2,
531
531
  id: "themeButton",
532
- style: sa({ background: "transparent", color: (C == null ? void 0 : C.label) === "新增" ? "var(--ssbutton-theme-bg)" : "#666666" }),
533
- onClick: (Q) => Wl(C == null ? void 0 : C.label)
532
+ style: da({ background: "transparent", color: (C == null ? void 0 : C.label) === "新增" ? "var(--ssbutton-theme-bg)" : "#666666" }),
533
+ onClick: (X) => Gl(C == null ? void 0 : C.label)
534
534
  }, {
535
535
  icon: G(() => {
536
- var Q;
536
+ var X;
537
537
  return [
538
538
  re(ge, {
539
- name: (Q = Ie == null ? void 0 : Ie.find((Ae) => (Ae == null ? void 0 : Ae.label) === (C == null ? void 0 : C.label))) == null ? void 0 : Q.icon
539
+ name: (X = Ye == null ? void 0 : Ye.find((Ae) => (Ae == null ? void 0 : Ae.label) === (C == null ? void 0 : C.label))) == null ? void 0 : X.icon
540
540
  }, null, 8, ["name"])
541
541
  ];
542
542
  }),
543
543
  default: G(() => [
544
- Sl(" " + Ze(C == null ? void 0 : C.label), 1)
544
+ Sl(" " + Xe(C == null ? void 0 : C.label), 1)
545
545
  ]),
546
546
  _: 2
547
547
  }, 1032, ["style", "onClick"]))
548
548
  ]))), 128))
549
- ])) : qe("", !0)
549
+ ])) : We("", !0)
550
550
  ])
551
551
  ]));
552
552
  };
553
553
  }
554
- }, $s = /* @__PURE__ */ lr(Ps, [["__scopeId", "data-v-03b0d8fa"]]), ws = /* @__PURE__ */ yn({
554
+ }, Bu = /* @__PURE__ */ ar(Mu, [["__scopeId", "data-v-03b0d8fa"]]), Fu = /* @__PURE__ */ kn({
555
555
  __name: "batch",
556
556
  props: {
557
557
  lockingPage: Boolean,
@@ -572,28 +572,28 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
572
572
  setup(q, { emit: fe }) {
573
573
  const ie = q, F = fe, K = (ye) => {
574
574
  F("buttonClick", ye);
575
- }, s = (ye) => {
576
- var $e;
577
- return ye != null && ye.includes("删除") ? (($e = ie.selectTableItems) == null ? void 0 : $e.length) > 0 ? "warning-active-type" : "warning-type" : "default-type";
575
+ }, u = (ye) => {
576
+ var we;
577
+ return ye != null && ye.includes("删除") ? ((we = ie.selectTableItems) == null ? void 0 : we.length) > 0 ? "warning-active-type" : "warning-type" : "default-type";
578
578
  };
579
- return (ye, $e) => {
580
- const Ie = il("el-button");
581
- return V(), Ce("div", null, [
582
- (V(!0), Ce(zl, null, Jl(q.buttons, (we) => (V(), Xe(Ie, {
583
- key: we == null ? void 0 : we.label,
579
+ return (ye, we) => {
580
+ const Ye = ul("el-button");
581
+ return ee(), Ce("div", null, [
582
+ (ee(!0), Ce(Wl, null, ql(q.buttons, (Ne) => (ee(), Qe(Ye, {
583
+ key: Ne == null ? void 0 : Ne.label,
584
584
  disabled: !!q.lockingPage,
585
- class: tn(s(we == null ? void 0 : we.label)),
586
- onClick: (Dl) => K(we == null ? void 0 : we.label)
585
+ class: bn(u(Ne == null ? void 0 : Ne.label)),
586
+ onClick: (Ul) => K(Ne == null ? void 0 : Ne.label)
587
587
  }, {
588
588
  default: G(() => [
589
- Sl(Ze(we == null ? void 0 : we.label), 1)
589
+ Sl(Xe(Ne == null ? void 0 : Ne.label), 1)
590
590
  ]),
591
591
  _: 2
592
592
  }, 1032, ["disabled", "class", "onClick"]))), 128))
593
593
  ]);
594
594
  };
595
595
  }
596
- }), Ns = /* @__PURE__ */ lr(ws, [["__scopeId", "data-v-70b12973"]]), Rs = hn("formToTableComp", {
596
+ }), Ku = /* @__PURE__ */ ar(Fu, [["__scopeId", "data-v-70b12973"]]), zu = Sn("formToTableComp", {
597
597
  state: () => ({
598
598
  selectArray: [],
599
599
  selectString: ""
@@ -606,11 +606,11 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
606
606
  this.selectString = q;
607
607
  }
608
608
  }
609
- }), Ms = { class: "calculator-content" }, Bs = { class: "calculator-child" }, Fs = { class: "calculator-child" }, Ks = /* @__PURE__ */ yn({
609
+ }), Ju = { class: "calculator-content" }, Wu = { class: "calculator-child" }, qu = { class: "calculator-child" }, Gu = /* @__PURE__ */ kn({
610
610
  __name: "calculator",
611
611
  setup(q) {
612
612
  const fe = z(), ie = z();
613
- return mr(() => {
613
+ return Or(() => {
614
614
  fe.value = [
615
615
  {
616
616
  type: "Upload",
@@ -624,15 +624,15 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
624
624
  name: "output"
625
625
  }
626
626
  ];
627
- }), (F, K) => (V(), Ce("div", Ms, [
628
- te("div", Bs, [
629
- re(xa, {
627
+ }), (F, K) => (ee(), Ce("div", Ju, [
628
+ te("div", Wu, [
629
+ re(Ua, {
630
630
  rowContents: fe.value,
631
631
  isRowFlex: !0
632
632
  }, null, 8, ["rowContents"])
633
633
  ]),
634
- te("div", Fs, [
635
- re(xa, {
634
+ te("div", qu, [
635
+ re(Ua, {
636
636
  rowContents: ie.value,
637
637
  isEdit: !1,
638
638
  isRowFlex: !0
@@ -640,56 +640,56 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
640
640
  ])
641
641
  ]));
642
642
  }
643
- }), zs = /* @__PURE__ */ lr(Ks, [["__scopeId", "data-v-73db0fe7"]]), Tr = (q, fe) => {
643
+ }), Hu = /* @__PURE__ */ ar(Gu, [["__scopeId", "data-v-73db0fe7"]]), mr = (q, fe) => {
644
644
  let ie = q, F = fe;
645
- return Array.isArray(ie) && (ie = ie == null ? void 0 : ie.map((K, s) => {
645
+ return Array.isArray(ie) && (ie = ie == null ? void 0 : ie.map((K, u) => {
646
646
  if (Array.isArray(K)) {
647
647
  let ye = {};
648
- return K = K == null ? void 0 : K.forEach(($e, Ie) => {
649
- var we;
650
- (we = F == null ? void 0 : F[Ie]) != null && we.prop ? ye[F[Ie].prop] = $e : Array.isArray($e) && (ye.children = Tr($e, F));
651
- }), Object.assign(ye, { id: s });
648
+ return K = K == null ? void 0 : K.forEach((we, Ye) => {
649
+ var Ne;
650
+ (Ne = F == null ? void 0 : F[Ye]) != null && Ne.prop ? ye[F[Ye].prop] = we : Array.isArray(we) && (ye.children = mr(we, F));
651
+ }), Object.assign(ye, { id: u });
652
652
  } else
653
653
  return K;
654
654
  })), ie;
655
- }, vn = (q, fe, ie) => {
655
+ }, An = (q, fe, ie) => {
656
656
  let F = q, K = fe;
657
- return F = F == null ? void 0 : F.map((s, ye) => {
658
- var $e, Ie;
659
- return !Array.isArray(s) || !(($e = K == null ? void 0 : K[ye]) != null && $e.label) && !ie || (s.unshift(((Ie = K == null ? void 0 : K[ye]) == null ? void 0 : Ie.label) ?? ""), s.some((we) => Array.isArray(we)) && (s = s == null ? void 0 : s.map((we) => {
660
- var Dl;
661
- return Array.isArray(we) && (we = vn(we, (Dl = K == null ? void 0 : K[ye]) == null ? void 0 : Dl.children, ie)), we;
662
- }))), s;
657
+ return F = F == null ? void 0 : F.map((u, ye) => {
658
+ var we, Ye;
659
+ return !Array.isArray(u) || !((we = K == null ? void 0 : K[ye]) != null && we.label) && !ie || (u.unshift(((Ye = K == null ? void 0 : K[ye]) == null ? void 0 : Ye.label) ?? ""), u.some((Ne) => Array.isArray(Ne)) && (u = u == null ? void 0 : u.map((Ne) => {
660
+ var Ul;
661
+ return Array.isArray(Ne) && (Ne = An(Ne, (Ul = K == null ? void 0 : K[ye]) == null ? void 0 : Ul.children, ie)), Ne;
662
+ }))), u;
663
663
  }), F;
664
- }, Js = (q, fe, ie) => {
664
+ }, Qu = (q, fe, ie) => {
665
665
  if (fe === "")
666
666
  return q == null ? void 0 : q.filter((F) => (F == null ? void 0 : F.id) !== ie);
667
667
  {
668
668
  const F = fe.split("-");
669
- return Ws(q, F, ie);
669
+ return Xu(q, F, ie);
670
670
  }
671
- }, Ws = (q, fe, ie) => {
671
+ }, Xu = (q, fe, ie) => {
672
672
  let F = q, K = fe;
673
- return (K == null ? void 0 : K.length) === 0 ? F = F == null ? void 0 : F.filter((s) => s.id !== ie) : F = F == null ? void 0 : F.map((s) => (s.id.toString() === (K == null ? void 0 : K[0]) && (K == null || K.shift(), s = gn(s, K, ie)), s)), F;
674
- }, gn = (q, fe, ie) => {
675
- var s, ye;
673
+ return (K == null ? void 0 : K.length) === 0 ? F = F == null ? void 0 : F.filter((u) => u.id !== ie) : F = F == null ? void 0 : F.map((u) => (u.id.toString() === (K == null ? void 0 : K[0]) && (K == null || K.shift(), u = _n(u, K, ie)), u)), F;
674
+ }, _n = (q, fe, ie) => {
675
+ var u, ye;
676
676
  let F = q, K = fe;
677
- return (K == null ? void 0 : K.length) === 0 ? F.children = (s = F.children) == null ? void 0 : s.filter(($e) => $e.id !== ie) : F.children = (ye = F.children) == null ? void 0 : ye.map(($e) => ($e.id.toString() === (K == null ? void 0 : K[0]) && (K == null || K.shift(), $e = gn($e, K, ie)), $e)), F;
678
- }, qs = (q, fe, ie) => {
677
+ return (K == null ? void 0 : K.length) === 0 ? F.children = (u = F.children) == null ? void 0 : u.filter((we) => we.id !== ie) : F.children = (ye = F.children) == null ? void 0 : ye.map((we) => (we.id.toString() === (K == null ? void 0 : K[0]) && (K == null || K.shift(), we = _n(we, K, ie)), we)), F;
678
+ }, Zu = (q, fe, ie) => {
679
679
  if (fe === "")
680
680
  return ie;
681
681
  {
682
682
  const F = fe.split("-");
683
- return Gs(q, F, ie);
683
+ return Yu(q, F, ie);
684
684
  }
685
- }, Gs = (q, fe, ie) => {
685
+ }, Yu = (q, fe, ie) => {
686
686
  let F = q, K = fe;
687
- return (K == null ? void 0 : K.length) === 0 ? F = ie : F = F == null ? void 0 : F.map((s) => (s.id.toString() === (K == null ? void 0 : K[0]) && (K == null || K.shift(), s = bn(s, K, ie)), s)), F;
688
- }, bn = (q, fe, ie) => {
689
- var s;
687
+ return (K == null ? void 0 : K.length) === 0 ? F = ie : F = F == null ? void 0 : F.map((u) => (u.id.toString() === (K == null ? void 0 : K[0]) && (K == null || K.shift(), u = Tn(u, K, ie)), u)), F;
688
+ }, Tn = (q, fe, ie) => {
689
+ var u;
690
690
  let F = q, K = fe;
691
- return (K == null ? void 0 : K.length) === 0 ? F.children = ie : F.children = (s = F.children) == null ? void 0 : s.map((ye) => (ye.id.toString() === (K == null ? void 0 : K[0]) && (K == null || K.shift(), ye = bn(ye, K, ie)), ye)), F;
692
- }, Hs = hn("formComp", {
691
+ return (K == null ? void 0 : K.length) === 0 ? F.children = ie : F.children = (u = F.children) == null ? void 0 : u.map((ye) => (ye.id.toString() === (K == null ? void 0 : K[0]) && (K == null || K.shift(), ye = Tn(ye, K, ie)), ye)), F;
692
+ }, Iu = Sn("formComp", {
693
693
  state: () => ({
694
694
  objUrl: [],
695
695
  blobUrls: []
@@ -702,68 +702,68 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
702
702
  this.blobUrls = q;
703
703
  }
704
704
  }
705
- }), _r = async (q, fe) => {
706
- var ye, $e, Ie, we, Dl, Wl, Zl, Yl, ra, ia, ve, Ke, al, ge, nl, rl, Il;
707
- let ie = ($e = (ye = I(q)) == null ? void 0 : ye.optionUrl) == null ? void 0 : $e.menuSelect, F = [];
705
+ }), Tr = async (q, fe) => {
706
+ var ye, we, Ye, Ne, Ul, Gl, Il, Vl, ua, ca, ve, Fe, ll, ge, rl, al, ea;
707
+ let ie = (we = (ye = V(q)) == null ? void 0 : ye.optionUrl) == null ? void 0 : we.menuSelect, F = [];
708
708
  ie == null || ie.forEach((oe) => {
709
709
  });
710
- let K = "", s = await Yu(ie);
711
- if (s == null || s.forEach((oe) => {
712
- var Re, X, Z, C;
713
- (oe == null ? void 0 : oe.name) === (((C = (Z = (X = (Re = I(q)) == null ? void 0 : Re.optionUrl) == null ? void 0 : X.groupSelect) == null ? void 0 : Z[0]) == null ? void 0 : C.replaceAll("'", "")) ?? "") && (K = oe == null ? void 0 : oe.id);
710
+ let K = "", u = await au(ie);
711
+ if (u == null || u.forEach((oe) => {
712
+ var Re, Z, Y, C;
713
+ (oe == null ? void 0 : oe.name) === (((C = (Y = (Z = (Re = V(q)) == null ? void 0 : Re.optionUrl) == null ? void 0 : Z.groupSelect) == null ? void 0 : Y[0]) == null ? void 0 : C.replaceAll("'", "")) ?? "") && (K = oe == null ? void 0 : oe.id);
714
714
  }), fe) {
715
715
  K = fe;
716
- const oe = await ha({
716
+ const oe = await ba({
717
717
  id: K
718
- }), Re = (Wl = (Dl = (we = (Ie = oe == null ? void 0 : oe.data) == null ? void 0 : Ie.result) == null ? void 0 : we[0]) == null ? void 0 : Dl.key) == null ? void 0 : Wl.pageKey;
719
- s = await Oa(Re, sessionStorage.getItem("systemKey"), "");
718
+ }), Re = (Gl = (Ul = (Ne = (Ye = oe == null ? void 0 : oe.data) == null ? void 0 : Ye.result) == null ? void 0 : Ne[0]) == null ? void 0 : Ul.key) == null ? void 0 : Gl.pageKey;
719
+ u = await xa(Re, sessionStorage.getItem("systemKey"), "");
720
720
  }
721
721
  if (K !== "") {
722
722
  let oe;
723
- fe ? oe = (Zl = s == null ? void 0 : s.find((Z) => (Z == null ? void 0 : Z.id) === fe)) == null ? void 0 : Zl.compData : oe = (Yl = s == null ? void 0 : s.find((Z) => {
724
- var C, Ye, Q, Ae;
725
- return (Z == null ? void 0 : Z.name) === (((Ye = (C = q == null ? void 0 : q.groupSelect) == null ? void 0 : C.split(":")) == null ? void 0 : Ye[0]) || ((Ae = (Q = q == null ? void 0 : q.optionUrl) == null ? void 0 : Q.groupSelect) == null ? void 0 : Ae[0]));
726
- })) == null ? void 0 : Yl.compData;
727
- let Re = (ia = (ra = oe == null ? void 0 : oe.find((Z) => (Z == null ? void 0 : Z.key) === "header")) == null ? void 0 : ra.contents) == null ? void 0 : ia.map((Z) => Z == null ? void 0 : Z.label);
728
- (Ke = (ve = oe == null ? void 0 : oe.find((Z) => (Z == null ? void 0 : Z.key) === "header")) == null ? void 0 : ve.contents) != null && Ke.every((Z) => Array.isArray(Z)) && (Re = (nl = Ca((ge = (al = oe == null ? void 0 : oe.find((Z) => (Z == null ? void 0 : Z.key) === "header")) == null ? void 0 : al.contents) == null ? void 0 : ge[0])) == null ? void 0 : nl.map((Z) => Z == null ? void 0 : Z.prop));
729
- let X = (Il = (rl = oe == null ? void 0 : oe.find((Z) => (Z == null ? void 0 : Z.key) === "tableContents")) == null ? void 0 : rl.contents) == null ? void 0 : Il.map((Z) => {
730
- if (Array.isArray(Z))
731
- Z = Z == null ? void 0 : Z.filter((C) => !(C != null && C.id));
723
+ fe ? oe = (Il = u == null ? void 0 : u.find((Y) => (Y == null ? void 0 : Y.id) === fe)) == null ? void 0 : Il.compData : oe = (Vl = u == null ? void 0 : u.find((Y) => {
724
+ var C, Ze, X, Ae;
725
+ return (Y == null ? void 0 : Y.name) === (((Ze = (C = q == null ? void 0 : q.groupSelect) == null ? void 0 : C.split(":")) == null ? void 0 : Ze[0]) || ((Ae = (X = q == null ? void 0 : q.optionUrl) == null ? void 0 : X.groupSelect) == null ? void 0 : Ae[0]));
726
+ })) == null ? void 0 : Vl.compData;
727
+ let Re = (ca = (ua = oe == null ? void 0 : oe.find((Y) => (Y == null ? void 0 : Y.key) === "header")) == null ? void 0 : ua.contents) == null ? void 0 : ca.map((Y) => Y == null ? void 0 : Y.label);
728
+ (Fe = (ve = oe == null ? void 0 : oe.find((Y) => (Y == null ? void 0 : Y.key) === "header")) == null ? void 0 : ve.contents) != null && Fe.every((Y) => Array.isArray(Y)) && (Re = (rl = Da((ge = (ll = oe == null ? void 0 : oe.find((Y) => (Y == null ? void 0 : Y.key) === "header")) == null ? void 0 : ll.contents) == null ? void 0 : ge[0])) == null ? void 0 : rl.map((Y) => Y == null ? void 0 : Y.prop));
729
+ let Z = (ea = (al = oe == null ? void 0 : oe.find((Y) => (Y == null ? void 0 : Y.key) === "tableContents")) == null ? void 0 : al.contents) == null ? void 0 : ea.map((Y) => {
730
+ if (Array.isArray(Y))
731
+ Y = Y == null ? void 0 : Y.filter((C) => !(C != null && C.id));
732
732
  else {
733
733
  let C = {};
734
- for (let Ye in Z)
735
- Ye !== "id" && (C[Ye] = Z == null ? void 0 : Z[Ye]);
736
- Z = C;
734
+ for (let Ze in Y)
735
+ Ze !== "id" && (C[Ze] = Y == null ? void 0 : Y[Ze]);
736
+ Y = C;
737
737
  }
738
- return Z;
738
+ return Y;
739
739
  });
740
- X == null || X.forEach((Z) => {
741
- Array.isArray(Z) ? F.push(Iu(Z, Re)) : F.push(Z);
740
+ Z == null || Z.forEach((Y) => {
741
+ Array.isArray(Y) ? F.push(ru(Y, Re)) : F.push(Y);
742
742
  });
743
743
  }
744
744
  return F;
745
- }, Qs = { class: "table-content" }, Xs = { class: "menu-config-wrap" }, Zs = ["onClick"], Ys = {
745
+ }, Vu = { class: "table-content" }, ei = { class: "menu-config-wrap" }, li = ["onClick"], ai = {
746
746
  key: 0,
747
747
  class: "viewport-wrap"
748
- }, Is = ["onClick"], Vs = { title: "选择显示列信息" }, ei = {
748
+ }, ri = ["onClick"], ni = { title: "选择显示列信息" }, si = {
749
749
  class: "menu-config-wrap",
750
750
  style: { padding: "0 0 0 16px", "box-sizing": "border-box", "min-height": "200px", width: "400px", overflow: "auto", position: "relative" }
751
- }, li = ["title"], ai = { class: "col-operate-wrap" }, ri = {
751
+ }, ui = ["title"], ii = { class: "col-operate-wrap" }, oi = {
752
752
  key: 0,
753
753
  class: "col-operate-radio-wrapper"
754
- }, ni = {
754
+ }, di = {
755
755
  title: "拖拽排序列",
756
756
  style: { cursor: "move", color: "grey", position: "absolute", right: "15px" }
757
- }, ui = {
757
+ }, ci = {
758
758
  key: 0,
759
759
  style: { display: "flex", "justify-content": "center", "align-items": "center" }
760
- }, si = { class: "pop-view" }, ii = { class: "pop-wrapper" }, oi = { class: "file-list-pop" }, di = ["title", "onClick"], ci = ["onClick"], pi = ["onClick"], fi = { class: "form-content" }, ti = {
760
+ }, pi = { class: "pop-view" }, fi = { class: "pop-wrapper" }, ti = { class: "file-list-pop" }, yi = ["title", "onClick"], hi = ["onClick"], vi = ["onClick"], gi = { class: "form-content" }, bi = {
761
761
  key: 0,
762
762
  class: "dialog-footer"
763
- }, yi = { class: "dialog-footer" }, hi = { "element-loading-text": "正在识别中 请稍后" }, vi = { style: { display: "flex", "justify-content": "space-between", width: "100%", "align-items": "center" } }, gi = ["title"], bi = {
763
+ }, ki = { class: "dialog-footer" }, Si = { "element-loading-text": "正在识别中 请稍后" }, Ai = { style: { display: "flex", "justify-content": "space-between", width: "100%", "align-items": "center" } }, _i = ["title"], Ti = {
764
764
  class: "icon",
765
765
  style: { display: "flex", gap: "8px" }
766
- }, ki = { class: "dialog-footer" }, Si = { class: "ocr-preview-content" }, Ai = { class: "ocr-preview-tip" }, _i = { class: "ocr-preview-table" }, Ti = { style: { display: "flex", "align-items": "center", gap: "8px" } }, mi = { class: "dialog-footer" }, Oi = { class: "form-content" }, Ci = {
766
+ }, mi = { class: "dialog-footer" }, Oi = { class: "ocr-preview-content" }, Ci = { class: "ocr-preview-tip" }, xi = { class: "ocr-preview-table" }, Di = { style: { display: "flex", "align-items": "center", gap: "8px" } }, Ui = { class: "dialog-footer" }, Ei = { class: "form-content" }, ji = {
767
767
  __name: "index",
768
768
  props: {
769
769
  pageLayout: {
@@ -839,14 +839,14 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
839
839
  },
840
840
  emits: ["getSliceContLength", "clickMainKey", "change", "contentChange", "onButtonClick", "contentClick", "pageChange", "rowClick", "routeUrl"],
841
841
  setup(q, { emit: fe }) {
842
- var Zr;
843
- const ie = z([]), F = Hs(fa), K = z(null), s = q, ye = z(s == null ? void 0 : s.allowSelect), $e = z((Zr = s == null ? void 0 : s.config) == null ? void 0 : Zr.showIndex), Ie = z(), we = z(!0), Dl = z(!1), Wl = {
842
+ var Yr;
843
+ const ie = z([]), F = Iu(ha), K = z(null), u = q, ye = z(u == null ? void 0 : u.allowSelect), we = z((Yr = u == null ? void 0 : u.config) == null ? void 0 : Yr.showIndex), Ye = z(), Ne = z(!0), Ul = z(!1), Gl = {
844
844
  sortable: "switch",
845
845
  filterable: "switch",
846
846
  showSummary: "switch",
847
847
  operable: "switch",
848
848
  fixed: "radio"
849
- }, Zl = z([
849
+ }, Il = z([
850
850
  {
851
851
  label: "排序",
852
852
  value: "sortable",
@@ -887,49 +887,49 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
887
887
  }
888
888
  ]
889
889
  }
890
- ]), Yl = Vu(fa);
891
- let ra = "$R";
892
- const { originalPath: ia } = Ta(Yl), ve = ia.value, Ke = z(!1), al = z(!1), ge = z(!1), nl = z(!0), rl = z([]), Il = Ka({
890
+ ]), Vl = nu(ha);
891
+ let ua = "$R";
892
+ const { originalPath: ca } = Oa(Vl), ve = ca.value, Fe = z(!1), ll = z(!1), ge = z(!1), rl = z(!0), al = z([]), ea = za({
893
893
  column: {},
894
894
  status: !1,
895
895
  text: "合计"
896
- }), oe = Ka({
896
+ }), oe = za({
897
897
  currentPage: 1,
898
898
  pageSize: 10,
899
899
  total: 0,
900
900
  pageSizes: [5, 10, 20, 50, 100]
901
- }), Re = fe, X = z([]), Z = z([]), C = Ka({ prop: "", order: null }), Ye = z([]), Q = z(!1), Ae = z(!1), Ge = z(null), { isUseBackdrop: ol, initTrackFileType: ql, getFileExtension: Or, setData: ar, getFileInfo: Cr, getFilesInfo: kn } = fs(), rr = z([]), oa = z(!1), va = z(), vl = ys(), { importLoading: xi, activeMenuPath: ze, contentLoading: Di, linkMenuInfo: Sn } = Ta(vl), An = es(fa), ul = hs(fa), { extraContents: He, cacheUpdatingData: Da, tableViewContents: Ua, tableLoading: Ui, pageMapState: ga, lockingPage: Ja } = Ta(ul), Y = z([]), Gl = z([]), Ll = z(/* @__PURE__ */ new Map());
901
+ }), Re = fe, Z = z([]), Y = z([]), C = za({ prop: "", order: null }), Ze = z([]), X = z(!1), Ae = z(!1), qe = z(null), { isUseBackdrop: il, initTrackFileType: Hl, getFileExtension: Cr, setData: rr, getFileInfo: xr, getFilesInfo: mn } = gu(), nr = z([]), pa = z(!1), ka = z(), hl = ku(), { importLoading: Li, activeMenuPath: Ke, contentLoading: Pi, linkMenuInfo: On } = Oa(hl), Cn = su(ha), nl = Su(ha), { extraContents: Ge, cacheUpdatingData: Ea, tableViewContents: ja, tableLoading: $i, pageMapState: Sa, lockingPage: Wa } = Oa(nl), I = z([]), Ql = z([]), Pl = z(/* @__PURE__ */ new Map());
902
902
  z(!1);
903
- const Hl = z("");
903
+ const Xl = z("");
904
904
  z();
905
- const Wa = z(!0), ba = z(0), xr = z(!0), Ul = z(""), Ql = z(!1), _n = z({
905
+ const qa = z(!0), Aa = z(0), Dr = z(!0), El = z(""), Zl = z(!1), xn = z({
906
906
  label: "查看三维模型"
907
- }), qa = z(!1), nr = z(), Rl = z([]), na = z([]), Ga = z(!1), Ea = z([]), Pl = z([]), $l = z([]), _e = z([]), Ha = z(!1), da = z(!1), Vl = z([]), Tn = z(null), Qa = z(!1), Xa = z([]), Dr = z(""), ur = z(""), sr = z(!1), ka = z([]), ir = z([]), or = z([]), dr = z(null), ea = z([]), ja = vs(), mn = gr(() => ja.getConfig()), Ml = z(), ml = z(), On = Rs(fa), La = z(), cr = z(0), Cn = ls(fa), { selectIndex: xn, selectMenu: Pa, selectTitle: Ei } = Ta(Cn), { selectString: ca } = Ta(On), Dn = Wu(fa), { loginUserInfo: Sa } = Ta(Dn), Un = z(720), Bl = z(!1), Za = z(!1), Fl = z([]), Kl = z(), $a = z(!0), Ur = z(!0), pa = z([]), En = Mu("contentRef");
908
- Bu("contentRef", En), jl(() => {
907
+ }), Ga = z(!1), sr = z(), Ml = z([]), ia = z([]), Ha = z(!1), La = z([]), $l = z([]), wl = z([]), _e = z([]), Qa = z(!1), fa = z(!1), la = z([]), Dn = z(null), Xa = z(!1), Za = z([]), Ur = z(""), ur = z(""), ir = z(!1), _a = z([]), or = z([]), dr = z([]), cr = z(null), aa = z([]), Pa = Au(), Un = br(() => Pa.getConfig()), Bl = z(), Ol = z(), En = zu(ha), $a = z(), pr = z(0), jn = uu(ha), { selectIndex: Ln, selectMenu: wa, selectTitle: wi } = Oa(jn), { selectString: ta } = Oa(En), Pn = Xs(ha), { loginUserInfo: Ta } = Oa(Pn), $n = z(720), Fl = z(!1), Ya = z(!1), Kl = z([]), zl = z(), Na = z(!0), Er = z(!0), ya = z([]), wn = Js("contentRef");
908
+ Ws("contentRef", wn), Ll(() => {
909
909
  var e;
910
- return (e = Y.value) == null ? void 0 : e.length;
910
+ return (e = I.value) == null ? void 0 : e.length;
911
911
  }, (e) => {
912
912
  oe.total = e;
913
- }), jl(
914
- () => Ua.value,
913
+ }), Ll(
914
+ () => ja.value,
915
915
  async () => {
916
- var o, d, u, p, b, T, h, m, L, $, w, S, N, R, E, A, D, i;
917
- if (((o = Ua.value) == null ? void 0 : o.length) === 0 || !((d = s == null ? void 0 : s.itemData) != null && d.find((y) => (y == null ? void 0 : y.key) === "columnPath")) || !((u = s == null ? void 0 : s.itemData) != null && u.find((y) => (y == null ? void 0 : y.key) === "pageColumn"))) return;
918
- let e = (L = (m = (h = (T = (b = (p = s == null ? void 0 : s.itemData) == null ? void 0 : p.find((y) => (y == null ? void 0 : y.key) === "pageColumn")) == null ? void 0 : b.contents) == null ? void 0 : T.split("[")) == null ? void 0 : h[1]) == null ? void 0 : m.split("]")) == null ? void 0 : L[0], l = ((N = (S = (w = ($ = s == null ? void 0 : s.itemData) == null ? void 0 : $.find((y) => (y == null ? void 0 : y.key) === "pageColumn")) == null ? void 0 : w.contents) == null ? void 0 : S.split("[")) == null ? void 0 : N[0]) + ((E = (R = Ua.value) == null ? void 0 : R.find((y) => (y == null ? void 0 : y.key) === e)) == null ? void 0 : E.value), a = ((D = (A = s == null ? void 0 : s.itemData) == null ? void 0 : A.find((y) => (y == null ? void 0 : y.key) === "pageGroup")) == null ? void 0 : D.contents) ?? "", r = await Oa(l, sessionStorage.getItem("systemKey"), ""), n = (i = r == null ? void 0 : r.find((y) => (y == null ? void 0 : y.name) === (a === "" ? s == null ? void 0 : s.compName : a))) == null ? void 0 : i.compData;
919
- Qr(n, s.allMapContents);
916
+ var o, d, s, p, b, T, h, m, L, $, w, S, N, R, E, A, D, i;
917
+ if (((o = ja.value) == null ? void 0 : o.length) === 0 || !((d = u == null ? void 0 : u.itemData) != null && d.find((y) => (y == null ? void 0 : y.key) === "columnPath")) || !((s = u == null ? void 0 : u.itemData) != null && s.find((y) => (y == null ? void 0 : y.key) === "pageColumn"))) return;
918
+ let e = (L = (m = (h = (T = (b = (p = u == null ? void 0 : u.itemData) == null ? void 0 : p.find((y) => (y == null ? void 0 : y.key) === "pageColumn")) == null ? void 0 : b.contents) == null ? void 0 : T.split("[")) == null ? void 0 : h[1]) == null ? void 0 : m.split("]")) == null ? void 0 : L[0], l = ((N = (S = (w = ($ = u == null ? void 0 : u.itemData) == null ? void 0 : $.find((y) => (y == null ? void 0 : y.key) === "pageColumn")) == null ? void 0 : w.contents) == null ? void 0 : S.split("[")) == null ? void 0 : N[0]) + ((E = (R = ja.value) == null ? void 0 : R.find((y) => (y == null ? void 0 : y.key) === e)) == null ? void 0 : E.value), a = ((D = (A = u == null ? void 0 : u.itemData) == null ? void 0 : A.find((y) => (y == null ? void 0 : y.key) === "pageGroup")) == null ? void 0 : D.contents) ?? "", r = await xa(l, sessionStorage.getItem("systemKey"), ""), n = (i = r == null ? void 0 : r.find((y) => (y == null ? void 0 : y.name) === (a === "" ? u == null ? void 0 : u.compName : a))) == null ? void 0 : i.compData;
919
+ Xr(n, u.allMapContents);
920
920
  },
921
921
  { deep: !0 }
922
922
  );
923
- const jn = async (e, l) => {
923
+ const Nn = async (e, l) => {
924
924
  var a, r, n, o, d;
925
925
  try {
926
- const u = await ha({ id: (s == null ? void 0 : s.parentTableId) || (s == null ? void 0 : s.index) });
926
+ const s = await ba({ id: (u == null ? void 0 : u.parentTableId) || (u == null ? void 0 : u.index) });
927
927
  let p;
928
- ((a = u == null ? void 0 : u.data) == null ? void 0 : a.code) === 200 && (p = ((n = (r = u == null ? void 0 : u.data) == null ? void 0 : r.result) == null ? void 0 : n[0]) || null);
928
+ ((a = s == null ? void 0 : s.data) == null ? void 0 : a.code) === 200 && (p = ((n = (r = s == null ? void 0 : s.data) == null ? void 0 : r.result) == null ? void 0 : n[0]) || null);
929
929
  const b = {
930
930
  type: "data",
931
- pageKey: s != null && s.parentTableId ? (o = p == null ? void 0 : p.key) == null ? void 0 : o.pageKey : ze.value,
932
- tableId: (s == null ? void 0 : s.parentTableId) || (s == null ? void 0 : s.index),
931
+ pageKey: u != null && u.parentTableId ? (o = p == null ? void 0 : p.key) == null ? void 0 : o.pageKey : Ke.value,
932
+ tableId: (u == null ? void 0 : u.parentTableId) || (u == null ? void 0 : u.index),
933
933
  systemKey: sessionStorage.getItem("systemKey")
934
934
  }, T = l == null ? void 0 : l.map((L) => {
935
935
  const $ = Object.keys(L), w = {};
@@ -941,14 +941,14 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
941
941
  value: {
942
942
  tableData: L
943
943
  }
944
- })), m = await ln({ dataList: h });
945
- ((d = m == null ? void 0 : m.data) == null ? void 0 : d.code) === 200 ? (ul.setRefreshCurStructure(!0), Ve.success("导入数据成功")) : Ve.error("导入数据响应失败");
946
- } catch (u) {
947
- throw Ve.error("导入数据处理失败"), new Error(u);
944
+ })), m = await un({ dataList: h });
945
+ ((d = m == null ? void 0 : m.data) == null ? void 0 : d.code) === 200 ? (nl.setRefreshCurStructure(!0), Ie.success("导入数据成功")) : Ie.error("导入数据响应失败");
946
+ } catch (s) {
947
+ throw Ie.error("导入数据处理失败"), new Error(s);
948
948
  }
949
- }, Ln = async (e) => {
950
- var o, d, u, p, b, T, h;
951
- let l = Z.value;
949
+ }, Rn = async (e) => {
950
+ var o, d, s, p, b, T, h;
951
+ let l = Y.value;
952
952
  l != null && l.find((m) => (e == null ? void 0 : e.key) === (m == null ? void 0 : m.key)) && (l = l == null ? void 0 : l.filter((m) => (e == null ? void 0 : e.key) !== (m == null ? void 0 : m.key))), l.push({
953
953
  key: e == null ? void 0 : e.key,
954
954
  value: [(d = e == null ? void 0 : e.value) == null ? void 0 : d[((o = e == null ? void 0 : e.value) == null ? void 0 : o.length) - 1]]
@@ -958,9 +958,9 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
958
958
  var L, $;
959
959
  return (m == null ? void 0 : m.type) === "Select" && (e == null ? void 0 : e.key) === (m == null ? void 0 : m.prop) && Array.isArray(m.value) && (L = m.value) != null && L.every((w) => typeof w == "string") && (m.selectValue = ($ = l == null ? void 0 : l.find((w) => (w == null ? void 0 : w.key) === (m == null ? void 0 : m.prop))) == null ? void 0 : $.value), m;
960
960
  });
961
- let r = (p = (u = a == null ? void 0 : a.find((m) => (m == null ? void 0 : m.prop) === (e == null ? void 0 : e.key))) == null ? void 0 : u.optionUrl) == null ? void 0 : p.menuId, n = a == null ? void 0 : a.find((m) => (m == null ? void 0 : m.prop) === (e == null ? void 0 : e.key));
961
+ let r = (p = (s = a == null ? void 0 : a.find((m) => (m == null ? void 0 : m.prop) === (e == null ? void 0 : e.key))) == null ? void 0 : s.optionUrl) == null ? void 0 : p.menuId, n = a == null ? void 0 : a.find((m) => (m == null ? void 0 : m.prop) === (e == null ? void 0 : e.key));
962
962
  if (r) {
963
- let m = await _r(n == null ? void 0 : n.optionUrl, r), L, $ = rl.value, w = (h = (T = (b = _e.value) == null ? void 0 : b.find((S) => {
963
+ let m = await Tr(n == null ? void 0 : n.optionUrl, r), L, $ = al.value, w = (h = (T = (b = _e.value) == null ? void 0 : b.find((S) => {
964
964
  var N;
965
965
  return (N = n == null ? void 0 : n.optionUrl) == null ? void 0 : N.menuId;
966
966
  })) == null ? void 0 : T.selectValue) == null ? void 0 : h[0];
@@ -977,59 +977,59 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
977
977
  let S = a;
978
978
  S = S == null ? void 0 : S.map((N) => {
979
979
  var R, E, A, D, i, y;
980
- return r && (L != null && L[N == null ? void 0 : N.prop]) && Ul.value === "新增" && (N == null ? void 0 : N.prop) !== (n == null ? void 0 : n.prop) ? N.value = (L == null ? void 0 : L[N == null ? void 0 : N.prop]) || (L == null ? void 0 : L[(D = (A = (E = (R = N == null ? void 0 : N.optionUrl) == null ? void 0 : R.groupSelect) == null ? void 0 : E[1]) == null ? void 0 : A.replaceAll("[", "")) == null ? void 0 : D.replaceAll("]", "")]) : N.value = (y = (i = _e.value) == null ? void 0 : i.find((t) => (t == null ? void 0 : t.prop) === (N == null ? void 0 : N.prop))) == null ? void 0 : y.value, N;
980
+ return r && (L != null && L[N == null ? void 0 : N.prop]) && El.value === "新增" && (N == null ? void 0 : N.prop) !== (n == null ? void 0 : n.prop) ? N.value = (L == null ? void 0 : L[N == null ? void 0 : N.prop]) || (L == null ? void 0 : L[(D = (A = (E = (R = N == null ? void 0 : N.optionUrl) == null ? void 0 : R.groupSelect) == null ? void 0 : E[1]) == null ? void 0 : A.replaceAll("[", "")) == null ? void 0 : D.replaceAll("]", "")]) : N.value = (y = (i = _e.value) == null ? void 0 : i.find((t) => (t == null ? void 0 : t.prop) === (N == null ? void 0 : N.prop))) == null ? void 0 : y.value, N;
981
981
  }), _e.value = S;
982
982
  }
983
983
  }
984
- Z.value = l;
985
- }, Pn = async (e) => {
984
+ Y.value = l;
985
+ }, Mn = async (e) => {
986
986
  var l, a, r, n, o;
987
987
  if ((l = e == null ? void 0 : e.toString()) != null && l.includes(".txt") || (a = e == null ? void 0 : e.toString()) != null && a.includes(".cpt") || (r = e == null ? void 0 : e.toString()) != null && r.includes(".cyd")) {
988
- const d = await ta.get(e, {
988
+ const d = await va.get(e, {
989
989
  responseType: "blob",
990
990
  // 必须设置
991
991
  headers: {
992
992
  "Content-Type": "application/json"
993
993
  }
994
- }), u = new Blob([d.data], {
994
+ }), s = new Blob([d.data], {
995
995
  type: "application/octet-stream;charset=UTF-8"
996
996
  });
997
- let p = URL.createObjectURL(u);
998
- va.value = [{
997
+ let p = URL.createObjectURL(s);
998
+ ka.value = [{
999
999
  name: (o = e == null ? void 0 : e.split("/")) == null ? void 0 : o[((n = e == null ? void 0 : e.split("/")) == null ? void 0 : n.length) - 1],
1000
1000
  blobUrl: p
1001
- }], oa.value = !0;
1001
+ }], pa.value = !0;
1002
1002
  }
1003
1003
  };
1004
- Fu(() => {
1005
- Ur.value = !1;
1006
- let e = cr.value;
1007
- cr.value = e + 1;
1004
+ qs(() => {
1005
+ Er.value = !1;
1006
+ let e = pr.value;
1007
+ pr.value = e + 1;
1008
1008
  });
1009
- const Er = gr(() => {
1009
+ const jr = br(() => {
1010
1010
  var r, n;
1011
- const e = (oe.currentPage - 1) * oe.pageSize, l = e + oe.pageSize, a = (r = X.value) == null ? void 0 : r.find((o) => {
1011
+ const e = (oe.currentPage - 1) * oe.pageSize, l = e + oe.pageSize, a = (r = Z.value) == null ? void 0 : r.find((o) => {
1012
1012
  var d;
1013
1013
  return (o == null ? void 0 : o.sortable) && ((d = o == null ? void 0 : o.label) == null ? void 0 : d.includes("时间"));
1014
1014
  });
1015
- return a && (C.order = "descending", C.prop = a == null ? void 0 : a.prop), Re("getSliceContLength", oe), (n = Y.value) == null ? void 0 : n.slice(e, l);
1016
- }), $n = (e) => {
1015
+ return a && (C.order = "descending", C.prop = a == null ? void 0 : a.prop), Re("getSliceContLength", oe), (n = I.value) == null ? void 0 : n.slice(e, l);
1016
+ }), Bn = (e) => {
1017
1017
  oe.currentPage = e, Re("getSliceContLength", oe);
1018
- }, wn = (e) => {
1018
+ }, Fn = (e) => {
1019
1019
  var l;
1020
- oe.pageSize = e, e * oe.currentPage > ((l = Y.value) == null ? void 0 : l.length) && (oe.currentPage = 1, oe.pageSize = 10, Ve.warning("分页无效,返回第一页")), Re("getSliceContLength", oe);
1021
- }, Nn = (e, l) => {
1022
- var d, u;
1023
- const a = (u = (d = X.value) == null ? void 0 : d.map((p) => p == null ? void 0 : p.prop)) == null ? void 0 : u.filter((p) => p !== "operate");
1020
+ oe.pageSize = e, e * oe.currentPage > ((l = I.value) == null ? void 0 : l.length) && (oe.currentPage = 1, oe.pageSize = 10, Ie.warning("分页无效,返回第一页")), Re("getSliceContLength", oe);
1021
+ }, Kn = (e, l) => {
1022
+ var d, s;
1023
+ const a = (s = (d = Z.value) == null ? void 0 : d.map((p) => p == null ? void 0 : p.prop)) == null ? void 0 : s.filter((p) => p !== "operate");
1024
1024
  let r;
1025
1025
  const n = (e == null ? void 0 : e.length) === (a == null ? void 0 : a.length);
1026
- if (e != null && e.includes("序号")) return Ve.error("导入的数据不需要包含序号列");
1027
- if (r = n ? e : e.slice(0, a == null ? void 0 : a.length), !(r == null ? void 0 : r.every((p) => a == null ? void 0 : a.find((b) => p === b)))) return Ve.error("导入的数据表头不匹配");
1028
- jn(r, l);
1029
- }, Rn = (e, l) => {
1026
+ if (e != null && e.includes("序号")) return Ie.error("导入的数据不需要包含序号列");
1027
+ if (r = n ? e : e.slice(0, a == null ? void 0 : a.length), !(r == null ? void 0 : r.every((p) => a == null ? void 0 : a.find((b) => p === b)))) return Ie.error("导入的数据表头不匹配");
1028
+ Nn(r, l);
1029
+ }, zn = (e, l) => {
1030
1030
  var a;
1031
- ul.setRefreshCurStructure(!1), ((a = X.value) == null ? void 0 : a.length) === 0 || Nn(e, l);
1032
- }, Mn = (e, l, a, r) => {
1031
+ nl.setRefreshCurStructure(!1), ((a = Z.value) == null ? void 0 : a.length) === 0 || Kn(e, l);
1032
+ }, Jn = (e, l, a, r) => {
1033
1033
  const n = [], o = [], d = (b) => Object.keys(b).length;
1034
1034
  for (const b in e)
1035
1035
  if (e[b] !== void 0) {
@@ -1039,17 +1039,17 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1039
1039
  n.push(h);
1040
1040
  }
1041
1041
  n.unshift(o);
1042
- const u = za.aoa_to_sheet(n), p = za.book_new();
1043
- za.book_append_sheet(p, u, r), is(p, `${l}.xlsx`), Fl.value = [];
1044
- }, Ya = async (e, l, a, r = !1, n) => {
1045
- var o, d, u, p, b, T, h, m;
1042
+ const s = Ja.aoa_to_sheet(n), p = Ja.book_new();
1043
+ Ja.book_append_sheet(p, s, r), fu(p, `${l}.xlsx`), Kl.value = [];
1044
+ }, Ia = async (e, l, a, r = !1, n) => {
1045
+ var o, d, s, p, b, T, h, m;
1046
1046
  try {
1047
- ul.setRefreshCurStructure(!1);
1048
- const L = await ha({
1049
- id: s == null ? void 0 : s.index
1047
+ nl.setRefreshCurStructure(!1);
1048
+ const L = await ba({
1049
+ id: u == null ? void 0 : u.index
1050
1050
  });
1051
1051
  if (((o = L == null ? void 0 : L.data) == null ? void 0 : o.code) === 200) {
1052
- let $ = (b = (p = (u = (d = L == null ? void 0 : L.data) == null ? void 0 : d.result) == null ? void 0 : u[0]) == null ? void 0 : p.value) == null ? void 0 : b.pageData;
1052
+ let $ = (b = (p = (s = (d = L == null ? void 0 : L.data) == null ? void 0 : d.result) == null ? void 0 : s[0]) == null ? void 0 : p.value) == null ? void 0 : b.pageData;
1053
1053
  r ? $ = {
1054
1054
  ...$,
1055
1055
  compData: (h = $ == null ? void 0 : $.compData) == null ? void 0 : h.map((S) => {
@@ -1090,28 +1090,28 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1090
1090
  } : S;
1091
1091
  })
1092
1092
  };
1093
- const w = await Qu({
1094
- id: s == null ? void 0 : s.index,
1093
+ const w = await Vs({
1094
+ id: u == null ? void 0 : u.index,
1095
1095
  value: {
1096
1096
  pageData: $
1097
1097
  }
1098
1098
  });
1099
- ((m = w == null ? void 0 : w.data) == null ? void 0 : m.code) === 200 ? (Ve.success("编辑成功"), ul.setRefreshCurStructure(!0)) : Ve.error("编辑响应失败");
1099
+ ((m = w == null ? void 0 : w.data) == null ? void 0 : m.code) === 200 ? (Ie.success("编辑成功"), nl.setRefreshCurStructure(!0)) : Ie.error("编辑响应失败");
1100
1100
  }
1101
1101
  } catch (L) {
1102
- Ve.error(L);
1102
+ Ie.error(L);
1103
1103
  }
1104
- }, Bn = async (e, l) => {
1105
- await Ya("label", l, e);
1106
- }, Fn = async (e, l) => {
1107
- await Ya("columnType", l, e, !1, "type");
1108
- }, Kn = () => {
1109
- Da.value ? Bl.value = !1 : Xr();
1110
- }, zn = (e) => {
1111
- Fl.value = e;
1112
- }, Jn = (e, l) => {
1113
- Kl.value === l ? $a.value = !1 : $a.value = !0, Kl.value = l == null ? void 0 : l.changeProp;
1114
- }, Wn = (e) => {
1104
+ }, Wn = async (e, l) => {
1105
+ await Ia("label", l, e);
1106
+ }, qn = async (e, l) => {
1107
+ await Ia("columnType", l, e, !1, "type");
1108
+ }, Gn = () => {
1109
+ Ea.value ? Fl.value = !1 : Zr();
1110
+ }, Hn = (e) => {
1111
+ Kl.value = e;
1112
+ }, Qn = (e, l) => {
1113
+ zl.value === l ? Na.value = !1 : Na.value = !0, zl.value = l == null ? void 0 : l.changeProp;
1114
+ }, Xn = (e) => {
1115
1115
  if (!e)
1116
1116
  return;
1117
1117
  const { item: l, value: a } = e, r = _e.value.find((n) => n.prop == l.prop);
@@ -1119,63 +1119,63 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1119
1119
  label: a,
1120
1120
  value: a
1121
1121
  });
1122
- }, wa = gr(() => {
1122
+ }, Ra = br(() => {
1123
1123
  var a, r, n;
1124
- const e = (a = X.value) == null ? void 0 : a.some((o) => o == null ? void 0 : o.filterable);
1125
- return document.documentElement.style.setProperty("--ssTable-header-filter-display", e ? "inline-block" : "none"), (n = (r = X.value) == null ? void 0 : r.filter((o) => (o == null ? void 0 : o.label) !== "操作")) == null ? void 0 : n.map((o) => ({
1124
+ const e = (a = Z.value) == null ? void 0 : a.some((o) => o == null ? void 0 : o.filterable);
1125
+ return document.documentElement.style.setProperty("--ssTable-header-filter-display", e ? "inline-block" : "none"), (n = (r = Z.value) == null ? void 0 : r.filter((o) => (o == null ? void 0 : o.label) !== "操作")) == null ? void 0 : n.map((o) => ({
1126
1126
  ...o,
1127
1127
  filterable: !!(o != null && o.filterable),
1128
1128
  showSummary: !!(o != null && o.showSummary),
1129
1129
  operable: !!(o != null && o.operable),
1130
1130
  fixed: o == null ? void 0 : o.fixed
1131
1131
  }));
1132
- }), jr = async (e, l, a) => {
1133
- const r = I(X.value);
1134
- await er(), X.value = r == null ? void 0 : r.map((n) => (a == null ? void 0 : a.label) === (n == null ? void 0 : n.label) ? {
1132
+ }), Lr = async (e, l, a) => {
1133
+ const r = V(Z.value);
1134
+ await lr(), Z.value = r == null ? void 0 : r.map((n) => (a == null ? void 0 : a.label) === (n == null ? void 0 : n.label) ? {
1135
1135
  ...n,
1136
1136
  [l]: e
1137
- } : n), await Ya(l, a, e);
1138
- }, qn = async (e, l) => {
1139
- await Ya(l, null, e, !0);
1140
- }, Gn = () => {
1141
- Ql.value = !1;
1142
- }, Hn = (e) => {
1137
+ } : n), await Ia(l, a, e);
1138
+ }, Zn = async (e, l) => {
1139
+ await Ia(l, null, e, !0);
1140
+ }, Yn = () => {
1141
+ Zl.value = !1;
1142
+ }, In = (e) => {
1143
1143
  Re("clickTrigger", e);
1144
- }, Lr = async (e) => {
1145
- var o, d, u, p, b, T, h, m, L, $, w, S, N, R, E;
1144
+ }, Pr = async (e) => {
1145
+ var o, d, s, p, b, T, h, m, L, $, w, S, N, R, E;
1146
1146
  const l = e == null ? void 0 : e.row, a = e == null ? void 0 : e.rowData, r = e == null ? void 0 : e.suffix;
1147
1147
  if ((o = l == null ? void 0 : l.toString()) != null && o.includes(".urdf") || e != null && e.isUrdf || r != null && r.includes(".urdf")) {
1148
1148
  if (l.includes(",")) {
1149
- Ve.error("当前版本仅允许单个urdf预览!");
1149
+ Ie.error("当前版本仅允许单个urdf预览!");
1150
1150
  return;
1151
1151
  }
1152
- if (ol(l)) {
1152
+ if (il(l)) {
1153
1153
  const D = {
1154
- files: [Cr(l)],
1154
+ files: [xr(l)],
1155
1155
  data: {}
1156
1156
  };
1157
- ar(D);
1157
+ rr(D);
1158
1158
  return;
1159
1159
  }
1160
- Ea.value = [{
1160
+ La.value = [{
1161
1161
  url: l,
1162
- extension: Or(l)
1163
- }], Ae.value = !0, Ge.value = {
1164
- data: I(a)
1165
- }, Q.value = !0;
1162
+ extension: Cr(l)
1163
+ }], Ae.value = !0, qe.value = {
1164
+ data: V(a)
1165
+ }, X.value = !0;
1166
1166
  return;
1167
1167
  }
1168
1168
  let n = [];
1169
- if ((d = l == null ? void 0 : l.toString()) != null && d.includes(".stl") || (u = l == null ? void 0 : l.toString()) != null && u.includes(".STL") || (p = l == null ? void 0 : l.toString()) != null && p.includes(".obj") || (b = l == null ? void 0 : l.toString()) != null && b.includes(".mtl")) {
1170
- const A = (T = l == null ? void 0 : l.toString()) == null ? void 0 : T.split(","), D = kn(A), i = D == null ? void 0 : D[0];
1171
- if (ol(i == null ? void 0 : i.extension)) {
1172
- ar({
1169
+ if ((d = l == null ? void 0 : l.toString()) != null && d.includes(".stl") || (s = l == null ? void 0 : l.toString()) != null && s.includes(".STL") || (p = l == null ? void 0 : l.toString()) != null && p.includes(".obj") || (b = l == null ? void 0 : l.toString()) != null && b.includes(".mtl")) {
1170
+ const A = (T = l == null ? void 0 : l.toString()) == null ? void 0 : T.split(","), D = mn(A), i = D == null ? void 0 : D[0];
1171
+ if (il(i == null ? void 0 : i.extension)) {
1172
+ rr({
1173
1173
  files: D,
1174
1174
  data: {}
1175
1175
  });
1176
1176
  return;
1177
1177
  }
1178
- Ea.value = D, Ae.value = !1, Q.value = !0;
1178
+ La.value = D, Ae.value = !1, X.value = !0;
1179
1179
  return;
1180
1180
  }
1181
1181
  if ((h = l == null ? void 0 : l.toString()) != null && h.includes(".stl") || (m = l == null ? void 0 : l.toString()) != null && m.includes(".STL") || (L = l == null ? void 0 : l.toString()) != null && L.includes(".obj") || ($ = l == null ? void 0 : l.toString()) != null && $.includes(".mtl") || r != null && r.includes(".stl") || r != null && r.includes(".STL") || r != null && r.includes(".obj") || r != null && r.includes(".mtl")) {
@@ -1192,13 +1192,13 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1192
1192
  (N = l == null ? void 0 : l.split("/")) == null || N.forEach((j, W) => {
1193
1193
  var c;
1194
1194
  W === ((c = l == null ? void 0 : l.split("/")) == null ? void 0 : c.length) - 1 && (B = j);
1195
- }), (R = i.blob) != null && R.includes(".stl") && (B = (B == null ? void 0 : B.replaceAll(">", "")) + ".urdf"), va.value = [{
1195
+ }), (R = i.blob) != null && R.includes(".stl") && (B = (B == null ? void 0 : B.replaceAll(">", "")) + ".urdf"), ka.value = [{
1196
1196
  name: B,
1197
1197
  blobUrl: t
1198
- }], oa.value = !0;
1198
+ }], pa.value = !0;
1199
1199
  }
1200
1200
  } else {
1201
- const A = await ta.get(l, {
1201
+ const A = await va.get(l, {
1202
1202
  responseType: "blob",
1203
1203
  headers: {
1204
1204
  "Content-Type": "application/json"
@@ -1210,9 +1210,9 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1210
1210
  if ((E = l == null ? void 0 : l.split("/")) == null || E.forEach((t, B) => {
1211
1211
  var j;
1212
1212
  B === ((j = l == null ? void 0 : l.split("/")) == null ? void 0 : j.length) - 1 && (y = t);
1213
- }), ol(y)) {
1214
- const t = ql(y), B = Cr(l);
1215
- ar({
1213
+ }), il(y)) {
1214
+ const t = Hl(y), B = xr(l);
1215
+ rr({
1216
1216
  files: [B],
1217
1217
  data: {
1218
1218
  trackFileType: t
@@ -1220,53 +1220,53 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1220
1220
  });
1221
1221
  return;
1222
1222
  }
1223
- va.value = [{
1223
+ ka.value = [{
1224
1224
  name: y,
1225
1225
  blobUrl: i
1226
- }], oa.value = !0;
1226
+ }], pa.value = !0;
1227
1227
  }
1228
1228
  (n == null ? void 0 : n.length) > 0 && F.setBlobUrls(n);
1229
- }, Na = (e) => {
1229
+ }, Ma = (e) => {
1230
1230
  var r, n, o, d;
1231
1231
  if (e != null && e.downloadUrl)
1232
1232
  return e == null ? void 0 : e.name;
1233
1233
  const l = (d = (r = e == null ? void 0 : e.url) == null ? void 0 : r.split(".")) == null ? void 0 : d[((o = (n = e == null ? void 0 : e.url) == null ? void 0 : n.split(".")) == null ? void 0 : o.length) - 1];
1234
1234
  return (e == null ? void 0 : e.name) + "." + l;
1235
- }, pr = (e) => {
1235
+ }, fr = (e) => {
1236
1236
  if (!e) return "未知文件";
1237
1237
  try {
1238
- const r = Na(e);
1238
+ const r = Ma(e);
1239
1239
  if (typeof r == "string" && r.includes(".")) return r;
1240
1240
  } catch {
1241
1241
  }
1242
1242
  const l = (e == null ? void 0 : e.fileName) || (e == null ? void 0 : e.name) || "未知文件", a = (e == null ? void 0 : e.suffix) || "";
1243
1243
  return l.includes(".") ? l : `${l}${a}`;
1244
- }, Pr = (e) => {
1244
+ }, $r = (e) => {
1245
1245
  if (e == null || typeof e == "number" || typeof e != "string") return e;
1246
1246
  const l = e.match(/^(\d+)\_(\d+)$/);
1247
1247
  if (!l) return e;
1248
1248
  const a = Number(l[1]), r = Number(l[2]);
1249
1249
  return !Number.isFinite(a) || !Number.isFinite(r) ? e : String(a * 1e3 + r);
1250
- }, $r = async (e) => {
1250
+ }, wr = async (e) => {
1251
1251
  let l = null, a = null;
1252
1252
  if (e != null && e.id) {
1253
- const n = Sr.service({
1253
+ const n = Ar.service({
1254
1254
  lock: !0,
1255
1255
  text: "Loading",
1256
1256
  background: "rgba(0, 0, 0, 0.7)"
1257
1257
  });
1258
1258
  try {
1259
- const o = await ma(e);
1260
- l = URL.createObjectURL(o.data), a = pr(e);
1259
+ const o = await Ca(e);
1260
+ l = URL.createObjectURL(o.data), a = fr(e);
1261
1261
  } finally {
1262
1262
  n.close();
1263
1263
  }
1264
1264
  } else if (e != null && e.downloadUrl) {
1265
- const n = await fr(), o = Sr.service({
1265
+ const n = await tr(), o = Ar.service({
1266
1266
  lock: !0,
1267
1267
  text: "Loading",
1268
1268
  background: "rgba(0, 0, 0, 0.7)"
1269
- }), d = await ta.post(e == null ? void 0 : e.url, null, {
1269
+ }), d = await va.post(e == null ? void 0 : e.url, null, {
1270
1270
  responseType: "blob",
1271
1271
  // 必须设置
1272
1272
  headers: {
@@ -1276,36 +1276,36 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1276
1276
  }
1277
1277
  }).finally(() => {
1278
1278
  o.close();
1279
- }), u = new Blob([d.data], {
1279
+ }), s = new Blob([d.data], {
1280
1280
  type: "application/octet-stream;charset=UTF-8"
1281
1281
  });
1282
- l = URL.createObjectURL(u), a = e == null ? void 0 : e.name;
1282
+ l = URL.createObjectURL(s), a = e == null ? void 0 : e.name;
1283
1283
  } else {
1284
- const n = await ma({
1284
+ const n = await Ca({
1285
1285
  url: e == null ? void 0 : e.url
1286
1286
  });
1287
- !e.url.toUpperCase().includes(".OBJ") && !e.url.toUpperCase().includes(".STL") && !e.url.toUpperCase().includes(".MTL") && !e.url.toUpperCase().includes(".URDF") ? (l = URL.createObjectURL(n.data), a = Na(e)) : l = e == null ? void 0 : e.url;
1287
+ !e.url.toUpperCase().includes(".OBJ") && !e.url.toUpperCase().includes(".STL") && !e.url.toUpperCase().includes(".MTL") && !e.url.toUpperCase().includes(".URDF") ? (l = URL.createObjectURL(n.data), a = Ma(e)) : l = e == null ? void 0 : e.url;
1288
1288
  }
1289
- if (ol(l)) {
1289
+ if (il(l)) {
1290
1290
  const n = {
1291
1291
  row: `${l}`,
1292
- suffix: Or(a)
1292
+ suffix: Cr(a)
1293
1293
  };
1294
- Lr(n);
1294
+ Pr(n);
1295
1295
  return;
1296
1296
  }
1297
1297
  const r = {
1298
1298
  name: a,
1299
1299
  blobUrl: l
1300
1300
  };
1301
- va.value = [r], oa.value = !0;
1302
- }, Qn = async (e) => {
1301
+ ka.value = [r], pa.value = !0;
1302
+ }, Vn = async (e) => {
1303
1303
  let l = null, a = null;
1304
1304
  if (e != null && e.id) {
1305
- const o = await ma(e);
1306
- l = URL.createObjectURL(o.data), a = pr(e);
1305
+ const o = await Ca(e);
1306
+ l = URL.createObjectURL(o.data), a = fr(e);
1307
1307
  } else if (e != null && e.downloadUrl) {
1308
- const o = await fr(), d = await ta.post(e == null ? void 0 : e.url, null, {
1308
+ const o = await tr(), d = await va.post(e == null ? void 0 : e.url, null, {
1309
1309
  responseType: "blob",
1310
1310
  // 必须设置
1311
1311
  headers: {
@@ -1313,15 +1313,15 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1313
1313
  baseURL: "http://139.196.154.85:20025",
1314
1314
  "Content-Type": "application/json"
1315
1315
  }
1316
- }), u = new Blob([d.data], {
1316
+ }), s = new Blob([d.data], {
1317
1317
  type: "application/octet-stream;charset=UTF-8"
1318
1318
  });
1319
- l = URL.createObjectURL(u), a = e == null ? void 0 : e.name;
1319
+ l = URL.createObjectURL(s), a = e == null ? void 0 : e.name;
1320
1320
  } else {
1321
- const o = await ma({
1321
+ const o = await Ca({
1322
1322
  url: e == null ? void 0 : e.url
1323
1323
  });
1324
- l = URL.createObjectURL(o.data), a = Na(e);
1324
+ l = URL.createObjectURL(o.data), a = Ma(e);
1325
1325
  }
1326
1326
  const r = {
1327
1327
  name: a,
@@ -1330,61 +1330,61 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1330
1330
  n.href = r.blobUrl, n.download = r.name, n.style.display = "none", document.body.appendChild(n), n.click(), setTimeout(() => {
1331
1331
  document.body.removeChild(n);
1332
1332
  }, 100);
1333
- }, Xn = (e, l) => {
1333
+ }, es = (e, l) => {
1334
1334
  var r;
1335
1335
  if (Object.values(l).length === 0) return;
1336
1336
  let a = e;
1337
1337
  return Object.values(l).find((n) => {
1338
- var o, d, u;
1339
- return ((o = n == null ? void 0 : n.toString()) == null ? void 0 : o.includes(".txt")) || ((d = n == null ? void 0 : n.toString()) == null ? void 0 : d.includes(".cpt")) || ((u = n == null ? void 0 : n.toString()) == null ? void 0 : u.includes(".obj"));
1340
- }) ? a = [...e, _n.value] : (r = s == null ? void 0 : s.config) != null && r.allowMove && (a = [...e, { label: "迁移" }]), a;
1341
- }, Zn = (e, l = {}) => [...e == null ? void 0 : e.values()].filter((a) => Object.keys(l).every((r) => {
1338
+ var o, d, s;
1339
+ return ((o = n == null ? void 0 : n.toString()) == null ? void 0 : o.includes(".txt")) || ((d = n == null ? void 0 : n.toString()) == null ? void 0 : d.includes(".cpt")) || ((s = n == null ? void 0 : n.toString()) == null ? void 0 : s.includes(".obj"));
1340
+ }) ? a = [...e, xn.value] : (r = u == null ? void 0 : u.config) != null && r.allowMove && (a = [...e, { label: "迁移" }]), a;
1341
+ }, ls = (e, l = {}) => [...e == null ? void 0 : e.values()].filter((a) => Object.keys(l).every((r) => {
1342
1342
  var d;
1343
1343
  const n = a[r], o = (d = l[r]) == null ? void 0 : d.toLowerCase();
1344
1344
  return o && n && typeof n == "string" ? n.toLowerCase().includes(o) : !0;
1345
- })), Yn = () => {
1346
- Dl.value = !0;
1347
- }, wr = z([]), In = async (e, l, a = !1) => {
1345
+ })), as = () => {
1346
+ Ul.value = !0;
1347
+ }, Nr = z([]), rs = async (e, l, a = !1) => {
1348
1348
  var r;
1349
1349
  if (e) {
1350
- if (ul.setTableLoading(!0), wr.value = Object.values(e), e && ((r = Object.values(e)) != null && r.every((n) => !n)))
1351
- return Y.value = Gl.value;
1350
+ if (nl.setTableLoading(!0), Nr.value = Object.values(e), e && ((r = Object.values(e)) != null && r.every((n) => !n)))
1351
+ return I.value = Ql.value;
1352
1352
  if (a) {
1353
- Y.value = [...Ll.value.values()].filter((n) => Object.values(n).some((o) => typeof o == "string" ? o == null ? void 0 : o.toLowerCase().includes(l == null ? void 0 : l.toLowerCase()) : !1));
1353
+ I.value = [...Pl.value.values()].filter((n) => Object.values(n).some((o) => typeof o == "string" ? o == null ? void 0 : o.toLowerCase().includes(l == null ? void 0 : l.toLowerCase()) : !1));
1354
1354
  return;
1355
1355
  }
1356
- Y.value = Zn(Ll.value, e), ul.setTableLoading(!1);
1356
+ I.value = ls(Pl.value, e), nl.setTableLoading(!1);
1357
1357
  }
1358
- }, Vn = async (e) => {
1359
- }, Nr = async (e, l, a, r) => {
1360
- var n, o, d, u, p, b, T, h, m, L, $, w, S, N, R, E, A, D, i, y;
1358
+ }, ns = async (e) => {
1359
+ }, Rr = async (e, l, a, r) => {
1360
+ var n, o, d, s, p, b, T, h, m, L, $, w, S, N, R, E, A, D, i, y;
1361
1361
  if (Re("clickMainKey", a), (r == null ? void 0 : r.isExistChild) === !0) {
1362
1362
  let t = (n = r == null ? void 0 : r.columnType) == null ? void 0 : n.prop, B = r == null ? void 0 : r.data;
1363
- if (pa.value = await Oa(ze.value, sessionStorage.getItem("systemKey"), ""), !pa.value) {
1364
- let W = (u = (d = (o = ze.value) == null ? void 0 : o.split("/")) == null ? void 0 : d.filter((c, x) => {
1363
+ if (ya.value = await xa(Ke.value, sessionStorage.getItem("systemKey"), ""), !ya.value) {
1364
+ let W = (s = (d = (o = Ke.value) == null ? void 0 : o.split("/")) == null ? void 0 : d.filter((c, x) => {
1365
1365
  var de, M;
1366
- return x !== ((M = (de = ze.value) == null ? void 0 : de.split("/")) == null ? void 0 : M.length) - 1;
1367
- })) == null ? void 0 : u.join("/");
1368
- pa.value = await Oa(W, sessionStorage.getItem("systemKey"), "");
1366
+ return x !== ((M = (de = Ke.value) == null ? void 0 : de.split("/")) == null ? void 0 : M.length) - 1;
1367
+ })) == null ? void 0 : s.join("/");
1368
+ ya.value = await xa(W, sessionStorage.getItem("systemKey"), "");
1369
1369
  }
1370
- let j = (p = pa.value) == null ? void 0 : p.filter((W) => (W == null ? void 0 : W.name) === t);
1371
- pa.value = j == null ? void 0 : j.map((W) => {
1370
+ let j = (p = ya.value) == null ? void 0 : p.filter((W) => (W == null ? void 0 : W.name) === t);
1371
+ ya.value = j == null ? void 0 : j.map((W) => {
1372
1372
  var c;
1373
1373
  return W.compData = (c = W.compData) == null ? void 0 : c.map((x) => {
1374
1374
  var de, M;
1375
1375
  return (x == null ? void 0 : x.key) === "tableContents" && (de = x == null ? void 0 : x.contents) != null && de.every((_) => _ == null ? void 0 : _.find((P) => P == null ? void 0 : P.id)) && (x.contents = (M = x == null ? void 0 : x.contents) == null ? void 0 : M.filter((_) => (_ == null ? void 0 : _[1]) === B)), x;
1376
1376
  }), W;
1377
- }), Re("routeUrl", pa.value, {
1377
+ }), Re("routeUrl", ya.value, {
1378
1378
  isEdit: !0,
1379
- routerUrl: ze.value
1379
+ routerUrl: Ke.value
1380
1380
  });
1381
1381
  return;
1382
1382
  }
1383
1383
  if ((r == null ? void 0 : r.data) === "查看" && (e != null && e.every((t) => (t == null ? void 0 : t.url) && (t == null ? void 0 : t.name)))) {
1384
- let t = I(e);
1385
- t = await ((b = I(t)) == null ? void 0 : b.map(async (j) => {
1384
+ let t = V(e);
1385
+ t = await ((b = V(t)) == null ? void 0 : b.map(async (j) => {
1386
1386
  var x, de, M, _;
1387
- const W = await ma({
1387
+ const W = await Ca({
1388
1388
  url: j == null ? void 0 : j.url
1389
1389
  });
1390
1390
  let c = URL.createObjectURL(W.data);
@@ -1394,86 +1394,86 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1394
1394
  };
1395
1395
  }));
1396
1396
  let B = await Promise.all(t);
1397
- va.value = B, oa.value = !0;
1397
+ ka.value = B, pa.value = !0;
1398
1398
  }
1399
- if (I(X.value), (r == null ? void 0 : r.isMainKey) === !0) {
1400
- vl.setActiveMenuPath(void 0), ul.setRouteToChildPath(void 0), ul.setFixMenuStatus(!0);
1401
- let t = (h = (T = s.itemData) == null ? void 0 : T.find((j) => (j == null ? void 0 : j.key) === "contentTableId")) == null ? void 0 : h.contents, B = (L = (m = s.itemData) == null ? void 0 : m.find((j) => (j == null ? void 0 : j.key) === "relatedFilter")) == null ? void 0 : L.index;
1399
+ if (V(Z.value), (r == null ? void 0 : r.isMainKey) === !0) {
1400
+ hl.setActiveMenuPath(void 0), nl.setRouteToChildPath(void 0), nl.setFixMenuStatus(!0);
1401
+ let t = (h = (T = u.itemData) == null ? void 0 : T.find((j) => (j == null ? void 0 : j.key) === "contentTableId")) == null ? void 0 : h.contents, B = (L = (m = u.itemData) == null ? void 0 : m.find((j) => (j == null ? void 0 : j.key) === "relatedFilter")) == null ? void 0 : L.index;
1402
1402
  if (B !== 0) {
1403
- let j = (w = ($ = X.value) == null ? void 0 : $[B]) == null ? void 0 : w.prop;
1403
+ let j = (w = ($ = Z.value) == null ? void 0 : $[B]) == null ? void 0 : w.prop;
1404
1404
  if ((a == null ? void 0 : a[j]) === (r == null ? void 0 : r.data)) {
1405
- let W = await ha({
1405
+ let W = await ba({
1406
1406
  id: t
1407
1407
  }), c = (E = (R = (N = (S = W == null ? void 0 : W.data) == null ? void 0 : S.result) == null ? void 0 : N[0]) == null ? void 0 : R.key) == null ? void 0 : E.pageKey;
1408
- vl.setActiveMenuPath(c + "/" + (r == null ? void 0 : r.data));
1408
+ hl.setActiveMenuPath(c + "/" + (r == null ? void 0 : r.data));
1409
1409
  } else {
1410
- let W = await ha({
1410
+ let W = await ba({
1411
1411
  key: {
1412
- pageKey: I(ze).value + "/" + (r == null ? void 0 : r.data),
1412
+ pageKey: V(Ke).value + "/" + (r == null ? void 0 : r.data),
1413
1413
  systemKey: sessionStorage.getItem("systemKey")
1414
1414
  }
1415
1415
  });
1416
- ((D = (A = W == null ? void 0 : W.data) == null ? void 0 : A.result) == null ? void 0 : D.length) > 0 && vl.setActiveMenuPath(I(ze).value + "/" + (r == null ? void 0 : r.data));
1416
+ ((D = (A = W == null ? void 0 : W.data) == null ? void 0 : A.result) == null ? void 0 : D.length) > 0 && hl.setActiveMenuPath(V(Ke).value + "/" + (r == null ? void 0 : r.data));
1417
1417
  }
1418
1418
  } else {
1419
- let j = await ha({
1419
+ let j = await ba({
1420
1420
  key: {
1421
- pageKey: I(ze).value + "/" + (r == null ? void 0 : r.data),
1421
+ pageKey: V(Ke).value + "/" + (r == null ? void 0 : r.data),
1422
1422
  systemKey: sessionStorage.getItem("systemKey")
1423
1423
  }
1424
1424
  });
1425
- ((y = (i = j == null ? void 0 : j.data) == null ? void 0 : i.result) == null ? void 0 : y.length) > 0 && vl.setActiveMenuPath(I(ze).value + "/" + (r == null ? void 0 : r.data));
1425
+ ((y = (i = j == null ? void 0 : j.data) == null ? void 0 : i.result) == null ? void 0 : y.length) > 0 && hl.setActiveMenuPath(V(Ke).value + "/" + (r == null ? void 0 : r.data));
1426
1426
  }
1427
1427
  }
1428
- }, eu = () => {
1429
- oa.value = !1;
1430
- }, lu = (e) => {
1428
+ }, ss = () => {
1429
+ pa.value = !1;
1430
+ }, us = (e) => {
1431
1431
  Re("rowClick", e);
1432
1432
  };
1433
- jl(
1434
- () => s.changedContent,
1433
+ Ll(
1434
+ () => u.changedContent,
1435
1435
  () => {
1436
1436
  var a, r;
1437
- if (!s.changedContent) return;
1438
- let e = (a = Y.value) == null ? void 0 : a.map((n) => {
1437
+ if (!u.changedContent) return;
1438
+ let e = (a = I.value) == null ? void 0 : a.map((n) => {
1439
1439
  var o;
1440
- return n.id === ((o = s.changedContent) == null ? void 0 : o.id) && (n = {
1441
- ...s.changedContent,
1442
- id: s.changedContent.newId ? s.changedContent.newId : s.changedContent.id
1440
+ return n.id === ((o = u.changedContent) == null ? void 0 : o.id) && (n = {
1441
+ ...u.changedContent,
1442
+ id: u.changedContent.newId ? u.changedContent.newId : u.changedContent.id
1443
1443
  }, delete n.newId), n;
1444
1444
  });
1445
- const l = (r = s.itemData) == null ? void 0 : r.map((n) => ((n == null ? void 0 : n.key) === "tableContents" && (n.contents = e), n));
1446
- Y.value = e, Re("contentChange", {
1445
+ const l = (r = u.itemData) == null ? void 0 : r.map((n) => ((n == null ? void 0 : n.key) === "tableContents" && (n.contents = e), n));
1446
+ I.value = e, Re("contentChange", {
1447
1447
  contents: l,
1448
- index: s.index
1448
+ index: u.index
1449
1449
  }), Re("change", {
1450
1450
  content: e,
1451
- index: s == null ? void 0 : s.index,
1451
+ index: u == null ? void 0 : u.index,
1452
1452
  buttonName: "",
1453
- id: s == null ? void 0 : s.index
1453
+ id: u == null ? void 0 : u.index
1454
1454
  });
1455
1455
  },
1456
1456
  { deep: !0, immediate: !0 }
1457
1457
  );
1458
- const au = () => {
1459
- }, ru = async () => {
1460
- const e = ze.value, l = sessionStorage.getItem("systemKey"), a = await Oa(e, l, ""), r = (a == null ? void 0 : a.find((u) => (u == null ? void 0 : u.name) === "方法明细")) || (a == null ? void 0 : a[0]), n = (r == null ? void 0 : r.compData) || [], o = n == null ? void 0 : n.find((u) => {
1461
- const p = u == null ? void 0 : u.key;
1458
+ const is = () => {
1459
+ }, os = async () => {
1460
+ const e = Ke.value, l = sessionStorage.getItem("systemKey"), a = await xa(e, l, ""), r = (a == null ? void 0 : a.find((s) => (s == null ? void 0 : s.name) === "方法明细")) || (a == null ? void 0 : a[0]), n = (r == null ? void 0 : r.compData) || [], o = n == null ? void 0 : n.find((s) => {
1461
+ const p = s == null ? void 0 : s.key;
1462
1462
  return p === "formContent" || p === "tableContents";
1463
1463
  });
1464
1464
  return o == null ? void 0 : o.contents;
1465
- }, fr = async () => `Bearer ${Xu.get("access-token")}`, nu = async (e, { token: l, inputData: a } = {}) => await ta.post(e, a, {
1465
+ }, tr = async () => `Bearer ${eu.get("access-token")}`, ds = async (e, { token: l, inputData: a } = {}) => await va.post(e, a, {
1466
1466
  headers: {
1467
1467
  Authorization: l
1468
1468
  }
1469
- }).catch((n) => (vl.setImportLoading(!1), Promise.reject(n))), uu = (e) => {
1469
+ }).catch((n) => (hl.setImportLoading(!1), Promise.reject(n))), cs = (e) => {
1470
1470
  var r;
1471
1471
  let l = {};
1472
1472
  const a = [];
1473
- return l.form = {}, (r = I(e)) == null || r.forEach((n, o) => {
1474
- var d, u, p, b, T, h, m, L, $, w, S, N, R, E;
1473
+ return l.form = {}, (r = V(e)) == null || r.forEach((n, o) => {
1474
+ var d, s, p, b, T, h, m, L, $, w, S, N, R, E;
1475
1475
  if ((n == null ? void 0 : n.comp) === "Table") {
1476
- (u = (d = n == null ? void 0 : n.compData) == null ? void 0 : d.find((y) => (y == null ? void 0 : y.key) === "header")) == null || u.contents;
1476
+ (s = (d = n == null ? void 0 : n.compData) == null ? void 0 : d.find((y) => (y == null ? void 0 : y.key) === "header")) == null || s.contents;
1477
1477
  let A = (T = (b = (p = n == null ? void 0 : n.compData) == null ? void 0 : p.find((y) => (y == null ? void 0 : y.key) === "tableContents")) == null ? void 0 : b.contents) == null ? void 0 : T.map((y) => y.slice(1));
1478
1478
  (w = ($ = (L = (m = (h = n == null ? void 0 : n.compData) == null ? void 0 : h.find((y) => (y == null ? void 0 : y.key) === "header")) == null ? void 0 : m.contents) == null ? void 0 : L[0]) == null ? void 0 : $[0]) == null || w.label;
1479
1479
  let D = (N = (S = n == null ? void 0 : n.compData) == null ? void 0 : S.find((y) => (y == null ? void 0 : y.key) === "header")) == null ? void 0 : N.contents, i = [];
@@ -1498,93 +1498,93 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1498
1498
  }
1499
1499
  });
1500
1500
  }
1501
- }), l.form = ds(a), l;
1502
- }, su = (e) => {
1501
+ }), l.form = yu(a), l;
1502
+ }, ps = (e) => {
1503
1503
  const l = [], a = (r) => {
1504
1504
  r && typeof r == "object" && !Array.isArray(r) ? Object.values(r).forEach(a) : l.push(r);
1505
1505
  };
1506
1506
  return a(e), l;
1507
- }, iu = async (e, l, a) => {
1507
+ }, fs = async (e, l, a) => {
1508
1508
  var D, i, y, t, B, j, W, c, x, de, M;
1509
- vl.setImportLoading(!0), ul.setFreshContent(!1);
1510
- let r = await ru().catch((_) => (vl.setImportLoading(!1), Promise.reject(_)));
1509
+ hl.setImportLoading(!0), nl.setFreshContent(!1);
1510
+ let r = await os().catch((_) => (hl.setImportLoading(!1), Promise.reject(_)));
1511
1511
  r = r == null ? void 0 : r.filter((_) => {
1512
1512
  var P;
1513
1513
  return ((P = _ == null ? void 0 : _.find((ne) => ne == null ? void 0 : ne.id)) == null ? void 0 : P.id) === (l == null ? void 0 : l.id);
1514
1514
  });
1515
- let n = sn([(D = X.value) == null ? void 0 : D.filter((_) => (_ == null ? void 0 : _.label) !== "操作")]);
1516
- const o = (y = (i = ns(r, n)) == null ? void 0 : i[0]) == null ? void 0 : y.find((_) => {
1515
+ let n = fn([(D = Z.value) == null ? void 0 : D.filter((_) => (_ == null ? void 0 : _.label) !== "操作")]);
1516
+ const o = (y = (i = du(r, n)) == null ? void 0 : i[0]) == null ? void 0 : y.find((_) => {
1517
1517
  const P = _ == null ? void 0 : _.key;
1518
1518
  return P === "Interface" || P === "方法体";
1519
1519
  }), d = o == null ? void 0 : o.value;
1520
1520
  if (!d) {
1521
- console.log("未搜索到isMain, 缺少算法执行接口"), vl.setImportLoading(!1);
1521
+ console.log("未搜索到isMain, 缺少算法执行接口"), hl.setImportLoading(!1);
1522
1522
  return;
1523
1523
  }
1524
- const u = X.value ? sn([X.value]) : [], p = u.find((_) => {
1524
+ const s = Z.value ? fn([Z.value]) : [], p = s.find((_) => {
1525
1525
  const P = _ == null ? void 0 : _.prop;
1526
1526
  return P === "Input1" || P === "输入数据.输入1" || P === "样本输入数据";
1527
1527
  }), b = p == null ? void 0 : p.prop;
1528
1528
  let T = l == null ? void 0 : l[b];
1529
- const h = await fr().catch((_) => (vl.setImportLoading(!1), Promise.reject(_)));
1529
+ const h = await tr().catch((_) => (hl.setImportLoading(!1), Promise.reject(_)));
1530
1530
  let m = !0, L = "";
1531
- (t = X.value) == null || t.forEach((_) => {
1531
+ (t = Z.value) == null || t.forEach((_) => {
1532
1532
  (_ == null ? void 0 : _.prop) === b && (m = !!(_ != null && _.childPath), L = _ == null ? void 0 : _.childPath);
1533
1533
  });
1534
1534
  let $ = "";
1535
1535
  if (m) {
1536
- let _ = (j = (B = X.value) == null ? void 0 : B.find((ke) => (ke == null ? void 0 : ke.isMainKey) === !0)) == null ? void 0 : j.prop;
1536
+ let _ = (j = (B = Z.value) == null ? void 0 : B.find((ke) => (ke == null ? void 0 : ke.isMainKey) === !0)) == null ? void 0 : j.prop;
1537
1537
  $ = l == null ? void 0 : l[_];
1538
1538
  let P = L == null ? void 0 : L.split(ve), ne = [];
1539
1539
  P == null || P.forEach((ke, Ue) => {
1540
1540
  (P == null ? void 0 : P.length) - 1 === Ue && ne.push($), ne.push(ke);
1541
1541
  }), ne = ne == null ? void 0 : ne[0];
1542
- let ae = await Oa(ne, sessionStorage.getItem("systemKey"), ""), ee = ae == null ? void 0 : ae.filter((ke) => (ke == null ? void 0 : ke.name) === b);
1543
- ee = ee == null ? void 0 : ee.map((ke) => {
1542
+ let ae = await xa(ne, sessionStorage.getItem("systemKey"), ""), le = ae == null ? void 0 : ae.filter((ke) => (ke == null ? void 0 : ke.name) === b);
1543
+ le = le == null ? void 0 : le.map((ke) => {
1544
1544
  var Ue;
1545
1545
  return ke.compData = (Ue = ke == null ? void 0 : ke.compData) == null ? void 0 : Ue.map((H) => {
1546
- var se;
1547
- return (H == null ? void 0 : H.key) === "tableContents" && (H.contents = (se = H == null ? void 0 : H.contents) == null ? void 0 : se.filter((Me) => (Me == null ? void 0 : Me[1]) === (l == null ? void 0 : l[b]))), H;
1546
+ var ue;
1547
+ return (H == null ? void 0 : H.key) === "tableContents" && (H.contents = (ue = H == null ? void 0 : H.contents) == null ? void 0 : ue.filter((Me) => (Me == null ? void 0 : Me[1]) === (l == null ? void 0 : l[b]))), H;
1548
1548
  }), ke;
1549
- }), (!ee || (ee == null ? void 0 : ee.length) === 0) && (ee = ae, ee = ee == null ? void 0 : ee.map((ke) => {
1549
+ }), (!le || (le == null ? void 0 : le.length) === 0) && (le = ae, le = le == null ? void 0 : le.map((ke) => {
1550
1550
  var Ue;
1551
1551
  return ke.compData = (Ue = ke == null ? void 0 : ke.compData) == null ? void 0 : Ue.map((H) => {
1552
- var se;
1553
- return (H == null ? void 0 : H.key) === "tableContents" && (H.contents = (se = H == null ? void 0 : H.contents) == null ? void 0 : se.filter((Me) => {
1552
+ var ue;
1553
+ return (H == null ? void 0 : H.key) === "tableContents" && (H.contents = (ue = H == null ? void 0 : H.contents) == null ? void 0 : ue.filter((Me) => {
1554
1554
  var ce, he;
1555
- return (Me == null ? void 0 : Me[1]) === (l == null ? void 0 : l[(he = (ce = X == null ? void 0 : X.value) == null ? void 0 : ce[0]) == null ? void 0 : he.prop]);
1555
+ return (Me == null ? void 0 : Me[1]) === (l == null ? void 0 : l[(he = (ce = Z == null ? void 0 : Z.value) == null ? void 0 : ce[0]) == null ? void 0 : he.prop]);
1556
1556
  })), H;
1557
1557
  }), ke;
1558
- })), T = uu(ee);
1558
+ })), T = cs(le);
1559
1559
  }
1560
- const w = await nu(d, {
1560
+ const w = await ds(d, {
1561
1561
  token: h,
1562
1562
  inputData: T
1563
- }).catch((_) => (vl.setImportLoading(!1), Promise.reject(_))), S = (W = w == null ? void 0 : w.data) == null ? void 0 : W.data, N = u.find((_) => (_ == null ? void 0 : _.prop) === "Output1"), R = N == null ? void 0 : N.prop;
1563
+ }).catch((_) => (hl.setImportLoading(!1), Promise.reject(_))), S = (W = w == null ? void 0 : w.data) == null ? void 0 : W.data, N = s.find((_) => (_ == null ? void 0 : _.prop) === "Output1"), R = N == null ? void 0 : N.prop;
1564
1564
  let E = [], A = [];
1565
1565
  if (S && ((c = Object.values(S)) == null ? void 0 : c.length) > 0) {
1566
1566
  let _ = [];
1567
- const P = new FormData(), ne = (x = su(S)) == null ? void 0 : x.map(async (ee) => {
1567
+ const P = new FormData(), ne = (x = ps(S)) == null ? void 0 : x.map(async (le) => {
1568
1568
  var ke, Ue;
1569
- if (!Array.isArray(ee) && (ee != null && ee.includes("http"))) {
1570
- let H = await ta.get(ee, { responseType: "blob" }), se = (Ue = ee == null ? void 0 : ee.split("/")) == null ? void 0 : Ue[((ke = ee == null ? void 0 : ee.split("/")) == null ? void 0 : ke.length) - 1];
1571
- P.append("files", H.data, se);
1569
+ if (!Array.isArray(le) && (le != null && le.includes("http"))) {
1570
+ let H = await va.get(le, { responseType: "blob" }), ue = (Ue = le == null ? void 0 : le.split("/")) == null ? void 0 : Ue[((ke = le == null ? void 0 : le.split("/")) == null ? void 0 : ke.length) - 1];
1571
+ P.append("files", H.data, ue);
1572
1572
  } else
1573
- _.push(ee);
1573
+ _.push(le);
1574
1574
  });
1575
- if (await Promise.all(ne), !us(P)) {
1576
- let ee = await ss(P), ke = (M = (de = ee == null ? void 0 : ee.data) == null ? void 0 : de.result) == null ? void 0 : M.map((Ue) => {
1577
- var H, se, Me, ce, he, xe;
1575
+ if (await Promise.all(ne), !cu(P)) {
1576
+ let le = await pu(P), ke = (M = (de = le == null ? void 0 : le.data) == null ? void 0 : de.result) == null ? void 0 : M.map((Ue) => {
1577
+ var H, ue, Me, ce, he, xe;
1578
1578
  return {
1579
- name: (xe = (he = (ce = (H = Ue == null ? void 0 : Ue.url) == null ? void 0 : H.split("/")) == null ? void 0 : ce[((Me = (se = Ue == null ? void 0 : Ue.url) == null ? void 0 : se.split("/")) == null ? void 0 : Me.length) - 1]) == null ? void 0 : he.split(".")) == null ? void 0 : xe[0],
1579
+ name: (xe = (he = (ce = (H = Ue == null ? void 0 : Ue.url) == null ? void 0 : H.split("/")) == null ? void 0 : ce[((Me = (ue = Ue == null ? void 0 : Ue.url) == null ? void 0 : ue.split("/")) == null ? void 0 : Me.length) - 1]) == null ? void 0 : he.split(".")) == null ? void 0 : xe[0],
1580
1580
  url: Ue == null ? void 0 : Ue.url
1581
1581
  };
1582
1582
  });
1583
1583
  _ = [..._, ...ke];
1584
1584
  }
1585
1585
  let ae = {};
1586
- for (let ee in l)
1587
- ee !== "id" && (ae[ee] = l[ee]);
1586
+ for (let le in l)
1587
+ le !== "id" && (ae[le] = l[le]);
1588
1588
  ae[R] = _, A.push({
1589
1589
  id: l == null ? void 0 : l.id,
1590
1590
  value: {
@@ -1592,20 +1592,20 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1592
1592
  }
1593
1593
  });
1594
1594
  }
1595
- (A == null ? void 0 : A.length) > 0 && await Hu({
1595
+ (A == null ? void 0 : A.length) > 0 && await Is({
1596
1596
  dataList: A
1597
- }), (E == null ? void 0 : E.length) > 0 && await ln({
1597
+ }), (E == null ? void 0 : E.length) > 0 && await un({
1598
1598
  dataList: E
1599
- }), Ba(!0), vl.setImportLoading(!1), ul.setFreshContent(!0);
1600
- }, Rr = (e, l) => (e = e == null ? void 0 : e.map((a) => {
1599
+ }), Ka(!0), hl.setImportLoading(!1), nl.setFreshContent(!0);
1600
+ }, Mr = (e, l) => (e = e == null ? void 0 : e.map((a) => {
1601
1601
  var r, n;
1602
- return a != null && a.children && ((r = a.children) != null && r.find((o) => o.id === (l == null ? void 0 : l.id)) ? a.children = (n = a.children) == null ? void 0 : n.filter((o) => (o == null ? void 0 : o.id) !== (l == null ? void 0 : l.id)) : a.children = Rr(a.children, l)), a;
1603
- }), e), sl = Ka({
1602
+ return a != null && a.children && ((r = a.children) != null && r.find((o) => o.id === (l == null ? void 0 : l.id)) ? a.children = (n = a.children) == null ? void 0 : n.filter((o) => (o == null ? void 0 : o.id) !== (l == null ? void 0 : l.id)) : a.children = Mr(a.children, l)), a;
1603
+ }), e), sl = za({
1604
1604
  title: "迁移至",
1605
1605
  show: !1,
1606
1606
  width: "20%",
1607
1607
  selectRow: null,
1608
- from: s == null ? void 0 : s.index,
1608
+ from: u == null ? void 0 : u.index,
1609
1609
  to: null,
1610
1610
  contents: [],
1611
1611
  formRules: {
@@ -1613,7 +1613,7 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1613
1613
  { required: !0, message: "输入不能为空", trigger: "blur" },
1614
1614
  {
1615
1615
  validator: (e, l, a) => {
1616
- l === (s == null ? void 0 : s.index) ? a(new Error("选择源不能和目标源一致")) : a();
1616
+ l === (u == null ? void 0 : u.index) ? a(new Error("选择源不能和目标源一致")) : a();
1617
1617
  }
1618
1618
  }
1619
1619
  ]
@@ -1623,12 +1623,12 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1623
1623
  background: "var(--ssbutton-theme-bg)",
1624
1624
  color: "var(--ssbutton-theme-color)"
1625
1625
  }]
1626
- }), ou = () => {
1626
+ }), ts = () => {
1627
1627
  sl.show = !1;
1628
- }, du = (e) => {
1628
+ }, ys = (e) => {
1629
1629
  var l, a;
1630
1630
  if ((e == null ? void 0 : e.buttonName) === "取消") return sl.show = !1;
1631
- sl.to = e == null ? void 0 : e.content, !(!(s != null && s.index) || !((l = sl.to) != null && l.groupName)) && (s == null ? void 0 : s.index) !== ((a = sl.to) == null ? void 0 : a.groupName) && (Re("change", {
1631
+ sl.to = e == null ? void 0 : e.content, !(!(u != null && u.index) || !((l = sl.to) != null && l.groupName)) && (u == null ? void 0 : u.index) !== ((a = sl.to) == null ? void 0 : a.groupName) && (Re("change", {
1632
1632
  buttonName: "迁移",
1633
1633
  value: {
1634
1634
  from: sl.from,
@@ -1636,45 +1636,45 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1636
1636
  data: sl.selectRow
1637
1637
  }
1638
1638
  }), sl.show = !1);
1639
- }, cu = (e) => {
1639
+ }, hs = (e) => {
1640
1640
  if (e) {
1641
- if (!ja.validateFileSize(e.raw)) {
1642
- Ve.warning(`文件大小不能超过 ${mn.value.maxSize}MB`);
1641
+ if (!Pa.validateFileSize(e.raw)) {
1642
+ Ie.warning(`文件大小不能超过 ${Un.value.maxSize}MB`);
1643
1643
  return;
1644
1644
  }
1645
- if (!ja.validateFileType(e.raw)) {
1646
- Ve.warning("请上传图片文件");
1645
+ if (!Pa.validateFileType(e.raw)) {
1646
+ Ie.warning("请上传图片文件");
1647
1647
  return;
1648
1648
  }
1649
1649
  }
1650
- }, pu = async () => {
1650
+ }, vs = async () => {
1651
1651
  var e, l;
1652
- if (Vl.value.length === 0) {
1653
- Ve.warning("请先选择要上传的图片");
1652
+ if (la.value.length === 0) {
1653
+ Ie.warning("请先选择要上传的图片");
1654
1654
  return;
1655
1655
  }
1656
- da.value = !0;
1656
+ fa.value = !0;
1657
1657
  try {
1658
- const a = Vl.value.map(async (h) => {
1658
+ const a = la.value.map(async (h) => {
1659
1659
  var $;
1660
1660
  const m = new FormData();
1661
1661
  m.append("file", h.raw, h.name);
1662
- const L = await ps(m);
1662
+ const L = await vu(m);
1663
1663
  return (($ = L == null ? void 0 : L.data) == null ? void 0 : $.result) || {
1664
1664
  name: h.name,
1665
1665
  url: "",
1666
1666
  fileName: h.name
1667
1667
  };
1668
- }), r = await Promise.all(a), n = ja.extractTableHeaders(X.value), o = r.map((h) => ({
1668
+ }), r = await Promise.all(a), n = Pa.extractTableHeaders(Z.value), o = r.map((h) => ({
1669
1669
  name: (h == null ? void 0 : h.fileName) || (h == null ? void 0 : h.name),
1670
1670
  url: (h == null ? void 0 : h.url) || ""
1671
- })), d = await ja.recognize(o, n), u = Array.isArray(d == null ? void 0 : d.result) ? d.result : [];
1672
- if (u.length === 0) {
1673
- Ve.warning("OCR识别未返回有效数据"), da.value = !1;
1671
+ })), d = await Pa.recognize(o, n), s = Array.isArray(d == null ? void 0 : d.result) ? d.result : [];
1672
+ if (s.length === 0) {
1673
+ Ie.warning("OCR识别未返回有效数据"), fa.value = !1;
1674
1674
  return;
1675
1675
  }
1676
1676
  const p = /* @__PURE__ */ new Set(), b = [];
1677
- u.forEach((h, m) => {
1677
+ s.forEach((h, m) => {
1678
1678
  const L = h != null && h.数据 && typeof (h == null ? void 0 : h.数据) == "object" ? h.数据 : {}, $ = {
1679
1679
  _index: m,
1680
1680
  _certType: (h == null ? void 0 : h.证书类型) || "",
@@ -1698,26 +1698,26 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1698
1698
  minWidth: 100,
1699
1699
  isAccuracy: !0
1700
1700
  });
1701
- }), ir.value = T, ka.value = b, or.value = r, dr.value = d, Ha.value = !1, Vl.value = [], da.value = !1, sr.value = !0;
1701
+ }), or.value = T, _a.value = b, dr.value = r, cr.value = d, Qa.value = !1, la.value = [], fa.value = !1, ir.value = !0;
1702
1702
  } catch (a) {
1703
- console.error("OCR处理失败:", a), Ve.error(((l = (e = a == null ? void 0 : a.response) == null ? void 0 : e.data) == null ? void 0 : l.message) || "OCR识别失败,请重试"), da.value = !1;
1703
+ console.error("OCR处理失败:", a), Ie.error(((l = (e = a == null ? void 0 : a.response) == null ? void 0 : e.data) == null ? void 0 : l.message) || "OCR识别失败,请重试"), fa.value = !1;
1704
1704
  }
1705
- }, fu = () => {
1705
+ }, gs = () => {
1706
1706
  var $, w;
1707
- const e = or.value, l = dr.value, a = ka.value;
1707
+ const e = dr.value, l = cr.value, a = _a.value;
1708
1708
  if (!a || a.length === 0) {
1709
- Ve.warning("暂无数据可添加");
1709
+ Ie.warning("暂无数据可添加");
1710
1710
  return;
1711
1711
  }
1712
- const r = ($ = nn(X.value) || []) == null ? void 0 : $.filter((S) => (S == null ? void 0 : S.type) !== "operate" && (S == null ? void 0 : S.label) !== "操作" && (S == null ? void 0 : S.prop) !== "operate"), n = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), d = (w = r == null ? void 0 : r.find((S) => (S == null ? void 0 : S.label) === "OCR图片")) == null ? void 0 : w.prop;
1712
+ const r = ($ = cn(Z.value) || []) == null ? void 0 : $.filter((S) => (S == null ? void 0 : S.type) !== "operate" && (S == null ? void 0 : S.label) !== "操作" && (S == null ? void 0 : S.prop) !== "operate"), n = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), d = (w = r == null ? void 0 : r.find((S) => (S == null ? void 0 : S.label) === "OCR图片")) == null ? void 0 : w.prop;
1713
1713
  r == null || r.forEach((S) => {
1714
1714
  S != null && S.label && (S != null && S.prop) && (n.set(S.label, S.prop), o.set(S.prop, S.label));
1715
1715
  });
1716
- const u = Date.now(), p = (S) => String(u * 1e3 + S);
1716
+ const s = Date.now(), p = (S) => String(s * 1e3 + S);
1717
1717
  let b = 0, T = 0;
1718
1718
  const h = [], m = [];
1719
1719
  a.forEach((S, N) => {
1720
- const R = { id: p(N), _isOCRRow: !0, _ocrTableId: s == null ? void 0 : s.index };
1720
+ const R = { id: p(N), _isOCRRow: !0, _ocrTableId: u == null ? void 0 : u.index };
1721
1721
  for (const [E, A] of n.entries())
1722
1722
  Object.prototype.hasOwnProperty.call(S, E) && (R[A] = S[E]);
1723
1723
  if (d && e[N]) {
@@ -1728,14 +1728,14 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1728
1728
  url: (E == null ? void 0 : E.url) || ""
1729
1729
  }];
1730
1730
  }
1731
- if (ea.value && ea.value.length > 0) {
1731
+ if (aa.value && aa.value.length > 0) {
1732
1732
  const E = {};
1733
1733
  let A = !1;
1734
- if (ea.value.forEach((D) => {
1734
+ if (aa.value.forEach((D) => {
1735
1735
  const i = n.get(D);
1736
1736
  i && R[i] !== void 0 && R[i] !== null && R[i] !== "" && (E[i] = R[i], A = !0);
1737
1737
  }), A) {
1738
- const D = Y.value.find((i) => Object.entries(E).every(([y, t]) => {
1738
+ const D = I.value.find((i) => Object.entries(E).every(([y, t]) => {
1739
1739
  const B = i[y];
1740
1740
  return String(B) === String(t) || B === t;
1741
1741
  }));
@@ -1750,7 +1750,7 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1750
1750
  url: (y == null ? void 0 : y.url) || ""
1751
1751
  }];
1752
1752
  }
1753
- const i = Gl.value.find((y) => y.id === D.id);
1753
+ const i = Ql.value.find((y) => y.id === D.id);
1754
1754
  if (i) {
1755
1755
  for (const [y, t] of n.entries())
1756
1756
  Object.prototype.hasOwnProperty.call(R, t) && t !== "_isOCRRow" && t !== "_ocrTableId" && t !== "id" && (i[t] = R[t]);
@@ -1763,183 +1763,183 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1763
1763
  }];
1764
1764
  }
1765
1765
  }
1766
- Ll.value && Ll.value.set(D.id, D), m.push(JSON.parse(JSON.stringify(D))), b++;
1766
+ Pl.value && Pl.value.set(D.id, D), m.push(JSON.parse(JSON.stringify(D))), b++;
1767
1767
  return;
1768
1768
  }
1769
1769
  }
1770
1770
  }
1771
1771
  h.push(R), T++;
1772
- }), m.length > 0 && (Y.value = [...Y.value || []]), h.length > 0 && (Y.value = [...Y.value || [], ...h], Gl.value = [...Gl.value || [], ...h], h.forEach((S) => {
1772
+ }), m.length > 0 && (I.value = [...I.value || []]), h.length > 0 && (I.value = [...I.value || [], ...h], Ql.value = [...Ql.value || [], ...h], h.forEach((S) => {
1773
1773
  var N, R;
1774
- return (R = (N = Ll.value) == null ? void 0 : N.set) == null ? void 0 : R.call(N, S.id, S);
1775
- })), La.value = Y.value;
1774
+ return (R = (N = Pl.value) == null ? void 0 : N.set) == null ? void 0 : R.call(N, S.id, S);
1775
+ })), $a.value = I.value;
1776
1776
  let L = "";
1777
- b > 0 && T > 0 ? L = `成功匹配替换 ${b} 条数据,新增 ${T} 条OCR识别数据` : b > 0 ? L = `成功匹配替换 ${b} 条数据` : L = `成功添加 ${T} 条OCR识别数据`, Ve.success(L), m.length > 0 && Re("change", {
1777
+ b > 0 && T > 0 ? L = `成功匹配替换 ${b} 条数据,新增 ${T} 条OCR识别数据` : b > 0 ? L = `成功匹配替换 ${b} 条数据` : L = `成功添加 ${T} 条OCR识别数据`, Ie.success(L), m.length > 0 && Re("change", {
1778
1778
  buttonName: "编辑",
1779
1779
  singleContent: m,
1780
- content: Y.value,
1781
- index: s == null ? void 0 : s.index,
1782
- parentTableId: s == null ? void 0 : s.parentTableId,
1783
- column: X.value
1780
+ content: I.value,
1781
+ index: u == null ? void 0 : u.index,
1782
+ parentTableId: u == null ? void 0 : u.parentTableId,
1783
+ column: Z.value
1784
1784
  }), h.length > 0 && Re("change", {
1785
1785
  buttonName: "OCR批量新增",
1786
- content: Y.value,
1787
- index: s == null ? void 0 : s.index,
1788
- parentTableId: s == null ? void 0 : s.parentTableId,
1789
- column: X.value,
1786
+ content: I.value,
1787
+ index: u == null ? void 0 : u.index,
1788
+ parentTableId: u == null ? void 0 : u.parentTableId,
1789
+ column: Z.value,
1790
1790
  ocrRows: h,
1791
1791
  uploadedFiles: e,
1792
1792
  ocrResult: l,
1793
1793
  matchedCount: b,
1794
1794
  newCount: T
1795
- }), tr();
1796
- }, tr = () => {
1797
- sr.value = !1, ka.value = [], ir.value = [], or.value = [], dr.value = null, ea.value = [];
1798
- }, tu = (e, l, a) => {
1799
- ka.value[e] && (ka.value[e][l] = a);
1800
- }, yu = (e, l) => {
1795
+ }), yr();
1796
+ }, yr = () => {
1797
+ ir.value = !1, _a.value = [], or.value = [], dr.value = [], cr.value = null, aa.value = [];
1798
+ }, bs = (e, l, a) => {
1799
+ _a.value[e] && (_a.value[e][l] = a);
1800
+ }, ks = (e, l) => {
1801
1801
  if (l)
1802
- ea.value.includes(e) || ea.value.push(e);
1802
+ aa.value.includes(e) || aa.value.push(e);
1803
1803
  else {
1804
- const a = ea.value.indexOf(e);
1805
- a > -1 && ea.value.splice(a, 1);
1804
+ const a = aa.value.indexOf(e);
1805
+ a > -1 && aa.value.splice(a, 1);
1806
1806
  }
1807
- }, hu = (e) => e == null || e === 0 ? "-" : `${(Number(e) * 100).toFixed(1)}%`, vu = (e) => {
1807
+ }, Ss = (e) => e == null || e === 0 ? "-" : `${(Number(e) * 100).toFixed(1)}%`, As = (e) => {
1808
1808
  if (e == null || e === 0)
1809
1809
  return "#909399";
1810
1810
  const l = Number(e);
1811
1811
  return l >= 0.9 ? "#67c23a" : l >= 0.7 ? "#e6a23c" : "#f56c6c";
1812
- }, Mr = () => {
1813
- Ha.value = !1, Vl.value = [], Tn.value = null;
1814
- }, gu = async (e) => {
1815
- Dr.value = e == null ? void 0 : e.name;
1812
+ }, Br = () => {
1813
+ Qa.value = !1, la.value = [], Dn.value = null;
1814
+ }, _s = async (e) => {
1815
+ Ur.value = e == null ? void 0 : e.name;
1816
1816
  const l = e.raw;
1817
- ur.value = URL.createObjectURL(l), Xa.value = [{
1818
- name: Dr.value,
1817
+ ur.value = URL.createObjectURL(l), Za.value = [{
1818
+ name: Ur.value,
1819
1819
  blobUrl: ur.value
1820
- }], Qa.value = !0;
1821
- }, bu = async (e) => {
1822
- const l = Nu(e);
1820
+ }], Xa.value = !0;
1821
+ }, Ts = async (e) => {
1822
+ const l = Ks(e);
1823
1823
  if (!l || l.length === 0) {
1824
- Ve.warning("暂无图片");
1824
+ Ie.warning("暂无图片");
1825
1825
  return;
1826
1826
  }
1827
1827
  if (l.length === 1) {
1828
- await $r(l[0]);
1828
+ await wr(l[0]);
1829
1829
  return;
1830
1830
  }
1831
1831
  try {
1832
- const a = Sr.service({
1832
+ const a = Ar.service({
1833
1833
  lock: !0,
1834
1834
  text: "Loading",
1835
1835
  background: "rgba(0, 0, 0, 0.7)"
1836
1836
  }), r = await Promise.all(
1837
1837
  l.map(async (n) => {
1838
- const o = await ma(n), d = URL.createObjectURL(o.data);
1838
+ const o = await Ca(n), d = URL.createObjectURL(o.data);
1839
1839
  return {
1840
- name: pr(n),
1840
+ name: fr(n),
1841
1841
  blobUrl: d
1842
1842
  };
1843
1843
  })
1844
1844
  );
1845
- a.close(), Xa.value = r, Qa.value = !0;
1845
+ a.close(), Za.value = r, Xa.value = !0;
1846
1846
  } catch (a) {
1847
- console.error("预览图片失败:", a), Ve.error("预览图片失败,请重试");
1847
+ console.error("预览图片失败:", a), Ie.error("预览图片失败,请重试");
1848
1848
  }
1849
- }, ku = () => {
1850
- Qa.value = !1, Xa.value = [], ur.value = "";
1851
- }, Su = (e) => {
1852
- Vl.value = Vl.value.filter((l, a) => a !== e);
1853
- }, Ia = async (e, l, a) => {
1854
- var r, n, o, d, u, p, b, T, h, m, L, $, w, S, N;
1855
- if (Hl.value = "", Ga.value = !0, Wa.value = !0, Re("onButtonClick", e, l), rl.value = [], e === "删除")
1856
- cn.confirm("是否确认删除", "温馨提示", {
1849
+ }, ms = () => {
1850
+ Xa.value = !1, Za.value = [], ur.value = "";
1851
+ }, Os = (e) => {
1852
+ la.value = la.value.filter((l, a) => a !== e);
1853
+ }, Va = async (e, l, a) => {
1854
+ var r, n, o, d, s, p, b, T, h, m, L, $, w, S, N;
1855
+ if (Xl.value = "", Ha.value = !0, qa.value = !0, Re("onButtonClick", e, l), al.value = [], e === "删除")
1856
+ hn.confirm("是否确认删除", "温馨提示", {
1857
1857
  confirmButtonText: "确认",
1858
1858
  cancelButtonText: "取消",
1859
1859
  type: "warning"
1860
1860
  }).then(() => {
1861
1861
  var R, E;
1862
- (R = Y.value) != null && R.find((A) => (A == null ? void 0 : A.id) === (l == null ? void 0 : l.id)) ? Y.value = (E = I(Y.value)) == null ? void 0 : E.filter((A) => (A == null ? void 0 : A.id) !== (l == null ? void 0 : l.id)) : Y.value = Rr(I(Y.value), l), Js(La.value, Pa.value, l == null ? void 0 : l.id), ul.setTableLoading(s == null ? void 0 : s.index), Re("change", {
1863
- content: Y.value,
1862
+ (R = I.value) != null && R.find((A) => (A == null ? void 0 : A.id) === (l == null ? void 0 : l.id)) ? I.value = (E = V(I.value)) == null ? void 0 : E.filter((A) => (A == null ? void 0 : A.id) !== (l == null ? void 0 : l.id)) : I.value = Mr(V(I.value), l), Qu($a.value, wa.value, l == null ? void 0 : l.id), nl.setTableLoading(u == null ? void 0 : u.index), Re("change", {
1863
+ content: I.value,
1864
1864
  singleContent: l,
1865
- index: s == null ? void 0 : s.index,
1865
+ index: u == null ? void 0 : u.index,
1866
1866
  type: "delete",
1867
1867
  buttonName: e,
1868
- column: X.value
1868
+ column: Z.value
1869
1869
  });
1870
1870
  });
1871
1871
  else if (e === "批量删除") {
1872
- if (((r = Fl.value) == null ? void 0 : r.length) === 0)
1873
- return Ve.warning("请先勾选操作的数据");
1874
- cn.confirm("是否确认删除", "温馨提示", {
1872
+ if (((r = Kl.value) == null ? void 0 : r.length) === 0)
1873
+ return Ie.warning("请先勾选操作的数据");
1874
+ hn.confirm("是否确认删除", "温馨提示", {
1875
1875
  confirmButtonText: "确认",
1876
1876
  cancelButtonText: "取消",
1877
1877
  type: "warning"
1878
1878
  }).then(
1879
1879
  () => {
1880
1880
  var E, A;
1881
- const R = (E = Fl.value) == null ? void 0 : E.map((D) => D.id);
1882
- Y.value = (A = I(Y.value)) == null ? void 0 : A.filter((D) => !(R != null && R.includes(D.id))), ul.setTableLoading(s == null ? void 0 : s.index), Re("change", {
1883
- content: Y.value,
1881
+ const R = (E = Kl.value) == null ? void 0 : E.map((D) => D.id);
1882
+ I.value = (A = V(I.value)) == null ? void 0 : A.filter((D) => !(R != null && R.includes(D.id))), nl.setTableLoading(u == null ? void 0 : u.index), Re("change", {
1883
+ content: I.value,
1884
1884
  singleContent: null,
1885
- selectItems: Fl.value,
1886
- index: s == null ? void 0 : s.index,
1885
+ selectItems: Kl.value,
1886
+ index: u == null ? void 0 : u.index,
1887
1887
  type: "batchDelete",
1888
1888
  buttonName: e,
1889
- column: X.value
1889
+ column: Z.value
1890
1890
  });
1891
1891
  }
1892
1892
  );
1893
1893
  } else if (e === "复制新增") {
1894
- Ul.value = "新增";
1895
- const R = I(l), E = (n = X.value) == null ? void 0 : n.find((i) => i == null ? void 0 : i.isMainKey), A = E || ((o = X.value) == null ? void 0 : o[0]), D = (d = $l.value) == null ? void 0 : d.find((i) => (i == null ? void 0 : i.label) === "新建");
1896
- await Fr(!0, D, { data: R, firstCol: A });
1894
+ El.value = "新增";
1895
+ const R = V(l), E = (n = Z.value) == null ? void 0 : n.find((i) => i == null ? void 0 : i.isMainKey), A = E || ((o = Z.value) == null ? void 0 : o[0]), D = (d = wl.value) == null ? void 0 : d.find((i) => (i == null ? void 0 : i.label) === "新建");
1896
+ await Kr(!0, D, { data: R, firstCol: A });
1897
1897
  } else if (e === "新增")
1898
- Ul.value = "新增", Ma(""), Ql.value = !0;
1898
+ El.value = "新增", Fa(""), Zl.value = !0;
1899
1899
  else if (e === "编辑")
1900
- Ul.value = "编辑", Ma(l), Ql.value = !0;
1900
+ El.value = "编辑", Fa(l), Zl.value = !0;
1901
1901
  else if (e === "查看")
1902
- Ul.value = "查看", Ma(l), Ga.value = !1, Wa.value = !1, Ql.value = !0;
1902
+ El.value = "查看", Fa(l), Ha.value = !1, qa.value = !1, Zl.value = !0;
1903
1903
  else if (e === "查看三维模型") {
1904
1904
  const R = {};
1905
1905
  for (let A in l)
1906
1906
  A !== "id" && (R[A] = l[A]);
1907
- let E = (u = Object.values(R)) == null ? void 0 : u[1];
1908
- An.setTableShowThree(E);
1907
+ let E = (s = Object.values(R)) == null ? void 0 : s[1];
1908
+ Cn.setTableShowThree(E);
1909
1909
  } else if (((p = a == null ? void 0 : a.extra) == null ? void 0 : p.type) === "modelExample")
1910
- Ul.value = e, qa.value = !0;
1910
+ El.value = e, Ga.value = !0;
1911
1911
  else if (e === "新建") {
1912
- let R = ga.value, E = [];
1912
+ let R = Sa.value, E = [];
1913
1913
  for (let t in R)
1914
- t != null && t.includes(`loading${((b = Sa.value) == null ? void 0 : b.account) || ((T = Sa.value) == null ? void 0 : T.账号)}`) && (E = [...E, ...t]);
1914
+ t != null && t.includes(`loading${((b = Ta.value) == null ? void 0 : b.account) || ((T = Ta.value) == null ? void 0 : T.账号)}`) && (E = [...E, ...t]);
1915
1915
  let A = [];
1916
1916
  for (let t in R)
1917
- t != null && t.includes(`updateLoading${((h = Sa.value) == null ? void 0 : h.account) || ((m = Sa.value) == null ? void 0 : m.账号)}`) && (A = [...A, ...t]);
1917
+ t != null && t.includes(`updateLoading${((h = Ta.value) == null ? void 0 : h.account) || ((m = Ta.value) == null ? void 0 : m.账号)}`) && (A = [...A, ...t]);
1918
1918
  let D = E == null ? void 0 : E.map((t) => t == null ? void 0 : t.id);
1919
1919
  const i = A == null ? void 0 : A.map((t) => t == null ? void 0 : t.id);
1920
- D = [...I(D), ...i], (D == null ? void 0 : D.length) > 0 && (D != null && D.every((t) => t !== null && t)) && await Gu({
1920
+ D = [...V(D), ...i], (D == null ? void 0 : D.length) > 0 && (D != null && D.every((t) => t !== null && t)) && await Ys({
1921
1921
  ids: D
1922
1922
  });
1923
- const y = (L = $l.value) == null ? void 0 : L.find((t) => (t == null ? void 0 : t.label) === "新建");
1924
- await Fr(!1, y);
1923
+ const y = (L = wl.value) == null ? void 0 : L.find((t) => (t == null ? void 0 : t.label) === "新建");
1924
+ await Kr(!1, y);
1925
1925
  } else if (e === "修改模板") {
1926
- let R = I(ze).value;
1927
- ul.setRouteToChildPath(R), vl.setActiveMenuPath(R + ve);
1926
+ let R = V(Ke).value;
1927
+ nl.setRouteToChildPath(R), hl.setActiveMenuPath(R + ve);
1928
1928
  } else if (e === "执行")
1929
- iu(e, l);
1929
+ fs(e, l);
1930
1930
  else if (e != null && e.includes("导出")) {
1931
- if (e === "导出选中" && (($ = Fl.value) == null ? void 0 : $.length) === 0)
1932
- return Ve.warning(`请先勾选${e}的数据`);
1933
- if (e === "导出全部" && ((w = Y.value) == null ? void 0 : w.length) === 0)
1934
- return Ve.warning("暂无数据导出");
1935
- const R = (N = (S = X.value) == null ? void 0 : S.map((A) => A == null ? void 0 : A.label)) == null ? void 0 : N.filter((A) => A !== "操作"), E = e === "导出全部" ? I(Y.value) : I(Fl.value);
1931
+ if (e === "导出选中" && (($ = Kl.value) == null ? void 0 : $.length) === 0)
1932
+ return Ie.warning(`请先勾选${e}的数据`);
1933
+ if (e === "导出全部" && ((w = I.value) == null ? void 0 : w.length) === 0)
1934
+ return Ie.warning("暂无数据导出");
1935
+ const R = (N = (S = Z.value) == null ? void 0 : S.map((A) => A == null ? void 0 : A.label)) == null ? void 0 : N.filter((A) => A !== "操作"), E = e === "导出全部" ? V(I.value) : V(Kl.value);
1936
1936
  E == null || E.forEach((A) => {
1937
1937
  A == null || delete A.id;
1938
- }), Mn(E, s == null ? void 0 : s.compName, R, s == null ? void 0 : s.compName);
1939
- } else e === "OCR识别" ? (Ha.value = !0, Vl.value = []) : e === "迁移" && (sl.selectRow = l, sl.show = !0);
1940
- }, Au = async (e) => {
1941
- var a, r, n, o, d, u;
1942
- const l = await ha({
1938
+ }), Jn(E, u == null ? void 0 : u.compName, R, u == null ? void 0 : u.compName);
1939
+ } else e === "OCR识别" ? (Qa.value = !0, la.value = []) : e === "迁移" && (sl.selectRow = l, sl.show = !0);
1940
+ }, Cs = async (e) => {
1941
+ var a, r, n, o, d, s;
1942
+ const l = await ba({
1943
1943
  key: {
1944
1944
  pageKey: e,
1945
1945
  type: "structure",
@@ -1947,21 +1947,21 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1947
1947
  }
1948
1948
  });
1949
1949
  if (((a = l == null ? void 0 : l.data) == null ? void 0 : a.code) === 200)
1950
- return Array.isArray((r = l == null ? void 0 : l.data) == null ? void 0 : r.result) && ((o = (n = l == null ? void 0 : l.data) == null ? void 0 : n.result) == null ? void 0 : o.length) > 0 ? (u = (d = l == null ? void 0 : l.data) == null ? void 0 : d.result) == null ? void 0 : u.map((p) => {
1950
+ return Array.isArray((r = l == null ? void 0 : l.data) == null ? void 0 : r.result) && ((o = (n = l == null ? void 0 : l.data) == null ? void 0 : n.result) == null ? void 0 : o.length) > 0 ? (s = (d = l == null ? void 0 : l.data) == null ? void 0 : d.result) == null ? void 0 : s.map((p) => {
1951
1951
  var b;
1952
1952
  return {
1953
1953
  id: p == null ? void 0 : p.id,
1954
1954
  ...(b = p == null ? void 0 : p.value) == null ? void 0 : b.pageData
1955
1955
  };
1956
1956
  }) : [];
1957
- }, _u = async (e, l) => {
1958
- var a, r, n, o, d, u, p, b, T, h, m, L, $, w, S, N, R, E, A, D;
1957
+ }, xs = async (e, l) => {
1958
+ var a, r, n, o, d, s, p, b, T, h, m, L, $, w, S, N, R, E, A, D;
1959
1959
  try {
1960
1960
  let i, y;
1961
- const t = (a = ga.value[ze.value + ve]) == null ? void 0 : a.filter((_) => {
1961
+ const t = (a = Sa.value[Ke.value + ve]) == null ? void 0 : a.filter((_) => {
1962
1962
  var P;
1963
1963
  return ((P = _ == null ? void 0 : _.key) == null ? void 0 : P.type) === "structureMethod";
1964
- }), B = (r = ga.value[ze.value + ve]) == null ? void 0 : r.filter((_) => {
1964
+ }), B = (r = Sa.value[Ke.value + ve]) == null ? void 0 : r.filter((_) => {
1965
1965
  var P;
1966
1966
  return ((P = _ == null ? void 0 : _.key) == null ? void 0 : P.type) === "structure";
1967
1967
  }), j = t == null ? void 0 : t.find((_) => {
@@ -1969,12 +1969,12 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
1969
1969
  return ((ne = (P = _ == null ? void 0 : _.value) == null ? void 0 : P.pageData) == null ? void 0 : ne.method) === "保存";
1970
1970
  });
1971
1971
  if (!j) return;
1972
- const W = (u = (d = ga.value[(o = (n = j == null ? void 0 : j.value) == null ? void 0 : n.pageData) == null ? void 0 : o.path]) == null ? void 0 : d.filter((_) => {
1972
+ const W = (s = (d = Sa.value[(o = (n = j == null ? void 0 : j.value) == null ? void 0 : n.pageData) == null ? void 0 : o.path]) == null ? void 0 : d.filter((_) => {
1973
1973
  var P;
1974
1974
  return ((P = _ == null ? void 0 : _.key) == null ? void 0 : P.type) === "data";
1975
- })) == null ? void 0 : u.find((_) => {
1976
- var P, ne, ae, ee;
1977
- return ((ne = (P = _ == null ? void 0 : _.value) == null ? void 0 : P.tableData) == null ? void 0 : ne.算法名称) === ((ee = (ae = j == null ? void 0 : j.value) == null ? void 0 : ae.pageData) == null ? void 0 : ee.method);
1975
+ })) == null ? void 0 : s.find((_) => {
1976
+ var P, ne, ae, le;
1977
+ return ((ne = (P = _ == null ? void 0 : _.value) == null ? void 0 : P.tableData) == null ? void 0 : ne.算法名称) === ((le = (ae = j == null ? void 0 : j.value) == null ? void 0 : ae.pageData) == null ? void 0 : le.method);
1978
1978
  });
1979
1979
  if (!W) return;
1980
1980
  const c = {
@@ -2003,7 +2003,7 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2003
2003
  })
2004
2004
  }, de = {
2005
2005
  key: {
2006
- pageKey: ze.value + ve,
2006
+ pageKey: Ke.value + ve,
2007
2007
  parentTable: "",
2008
2008
  systemKey: sessionStorage.getItem("systemKey"),
2009
2009
  type: "structure"
@@ -2011,7 +2011,7 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2011
2011
  value: {
2012
2012
  pageData: x
2013
2013
  }
2014
- }, M = await ta.post(c.api, de, {
2014
+ }, M = await va.post(c.api, de, {
2015
2015
  headers: {
2016
2016
  "Content-Type": "application/json"
2017
2017
  }
@@ -2021,35 +2021,35 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2021
2021
  newStatus: y
2022
2022
  };
2023
2023
  } catch (i) {
2024
- throw Ve.error(i), new Error(i);
2024
+ throw Ie.error(i), new Error(i);
2025
2025
  }
2026
- }, Br = (e, l, a, r) => {
2026
+ }, Fr = (e, l, a, r) => {
2027
2027
  var n;
2028
2028
  Re("contentChange", {
2029
2029
  contents: (n = e == null ? void 0 : e.compData) == null ? void 0 : n.map((o) => {
2030
2030
  var d;
2031
2031
  return (o == null ? void 0 : o.key) === "formContent" ? {
2032
2032
  ...o,
2033
- contents: (d = o == null ? void 0 : o.contents) == null ? void 0 : d.map((u) => (u == null ? void 0 : u.key) === l ? {
2034
- ...u,
2033
+ contents: (d = o == null ? void 0 : o.contents) == null ? void 0 : d.map((s) => (s == null ? void 0 : s.key) === l ? {
2034
+ ...s,
2035
2035
  value: a
2036
- } : Ra.value && (u == null ? void 0 : u.prop) === Ra.prop ? {
2037
- ...u,
2038
- value: Ra.value
2039
- } : u)
2036
+ } : Ba.value && (s == null ? void 0 : s.prop) === Ba.prop ? {
2037
+ ...s,
2038
+ value: Ba.value
2039
+ } : s)
2040
2040
  } : o;
2041
2041
  }),
2042
2042
  index: e == null ? void 0 : e.id
2043
2043
  }, r);
2044
- }, Ra = Ka({
2044
+ }, Ba = za({
2045
2045
  prop: "状态",
2046
2046
  value: ""
2047
- }), Tu = z(["系统自动生成信息", "审批意见"]), mu = async (e, l, a) => {
2047
+ }), Ds = z(["系统自动生成信息", "审批意见"]), Us = async (e, l, a) => {
2048
2048
  var p, b;
2049
2049
  let r = e == null ? void 0 : e[l == null ? void 0 : l.prop], n = 1, o, d;
2050
- const u = I(ze).value + ve + r;
2051
- if (u) {
2052
- Ra.value = "", o = (p = ga.value[u]) == null ? void 0 : p.filter((m) => {
2050
+ const s = V(Ke).value + ve + r;
2051
+ if (s) {
2052
+ Ba.value = "", o = (p = Sa.value[s]) == null ? void 0 : p.filter((m) => {
2053
2053
  var L;
2054
2054
  return ((L = m == null ? void 0 : m.key) == null ? void 0 : L.type) === "structure";
2055
2055
  });
@@ -2061,22 +2061,22 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2061
2061
  ...(b = T == null ? void 0 : T.value) == null ? void 0 : b.pageData,
2062
2062
  id: T == null ? void 0 : T.id
2063
2063
  };
2064
- const h = await _u(d, l == null ? void 0 : l.prop);
2065
- if (Ra.value = h == null ? void 0 : h.newStatus, h != null && h.newMainKeyValue) return h == null ? void 0 : h.newMainKeyValue;
2064
+ const h = await xs(d, l == null ? void 0 : l.prop);
2065
+ if (Ba.value = h == null ? void 0 : h.newStatus, h != null && h.newMainKeyValue) return h == null ? void 0 : h.newMainKeyValue;
2066
2066
  }
2067
- if (Y.value.some((T) => (T == null ? void 0 : T[l == null ? void 0 : l.prop]) === r)) {
2067
+ if (I.value.some((T) => (T == null ? void 0 : T[l == null ? void 0 : l.prop]) === r)) {
2068
2068
  const T = r;
2069
- for (; Y.value.some((h) => (h == null ? void 0 : h[l == null ? void 0 : l.prop]) === `${T}(${n})`); )
2069
+ for (; I.value.some((h) => (h == null ? void 0 : h[l == null ? void 0 : l.prop]) === `${T}(${n})`); )
2070
2070
  n++;
2071
2071
  r = `${T}(${n})`;
2072
2072
  }
2073
2073
  return r;
2074
- }, Fr = async (e, l, a) => {
2075
- var d, u, p, b, T, h, m, L;
2074
+ }, Kr = async (e, l, a) => {
2075
+ var d, s, p, b, T, h, m, L;
2076
2076
  let r, n;
2077
- const o = await mu(a == null ? void 0 : a.data, a == null ? void 0 : a.firstCol);
2078
- if (e ? (r = I(ze).value + ve + ((b = a == null ? void 0 : a.data) == null ? void 0 : b[(p = a == null ? void 0 : a.firstCol) == null ? void 0 : p.prop]), n = I(ze).value + ve + o) : (r = I(ze).value + ve, n = I(r) + `loading${((d = Sa.value) == null ? void 0 : d.account) || ((u = Sa.value) == null ? void 0 : u.账号)}`), l) {
2079
- const $ = (h = (T = ga.value[n]) == null ? void 0 : T.filter((w) => {
2077
+ const o = await Us(a == null ? void 0 : a.data, a == null ? void 0 : a.firstCol);
2078
+ if (e ? (r = V(Ke).value + ve + ((b = a == null ? void 0 : a.data) == null ? void 0 : b[(p = a == null ? void 0 : a.firstCol) == null ? void 0 : p.prop]), n = V(Ke).value + ve + o) : (r = V(Ke).value + ve, n = V(r) + `loading${((d = Ta.value) == null ? void 0 : d.account) || ((s = Ta.value) == null ? void 0 : s.账号)}`), l) {
2079
+ const $ = (h = (T = Sa.value[n]) == null ? void 0 : T.filter((w) => {
2080
2080
  var S;
2081
2081
  return ((S = w == null ? void 0 : w.key) == null ? void 0 : S.parentTable) === "";
2082
2082
  })) == null ? void 0 : h.map((w) => {
@@ -2092,31 +2092,31 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2092
2092
  var N;
2093
2093
  return ((N = S == null ? void 0 : S.comp) == null ? void 0 : N.toUpperCase()) === "FORM";
2094
2094
  });
2095
- w && Br(w, (m = a == null ? void 0 : a.firstCol) == null ? void 0 : m.label, o, ze.value);
2095
+ w && Fr(w, (m = a == null ? void 0 : a.firstCol) == null ? void 0 : m.label, o, Ke.value);
2096
2096
  } else
2097
- ul.setRouteToChildPath(I(ze).value), vl.setActiveMenuPath(n);
2098
- else if (await rs(r, n, null, null, e ? Tu.value : null), e) {
2099
- const w = await Au(n);
2097
+ nl.setRouteToChildPath(V(Ke).value), hl.setActiveMenuPath(n);
2098
+ else if (await ou(r, n, null, null, e ? Ds.value : null), e) {
2099
+ const w = await Cs(n);
2100
2100
  if ((w == null ? void 0 : w.length) > 0) {
2101
2101
  const S = w == null ? void 0 : w.find((N) => {
2102
2102
  var R;
2103
2103
  return ((R = N == null ? void 0 : N.comp) == null ? void 0 : R.toUpperCase()) === "FORM";
2104
2104
  });
2105
- S && Br(S, (L = a == null ? void 0 : a.firstCol) == null ? void 0 : L.label, o, ze.value);
2105
+ S && Fr(S, (L = a == null ? void 0 : a.firstCol) == null ? void 0 : L.label, o, Ke.value);
2106
2106
  }
2107
2107
  } else
2108
- ul.setRouteToChildPath(I(ze).value), vl.setActiveMenuPath(n);
2108
+ nl.setRouteToChildPath(V(Ke).value), hl.setActiveMenuPath(n);
2109
2109
  } else
2110
- e ? (Hl.value = "", ml.value = a == null ? void 0 : a.data, Ba(!0, a == null ? void 0 : a.firstCol, o)) : (ul.setRouteToChildPath(I(ze).value), vl.setActiveMenuPath(n));
2111
- }, Ou = () => {
2112
- Q.value = !1, Ea.value = [], Ae.value = !1;
2113
- }, Ma = (e) => {
2114
- var d, u, p, b, T, h, m, L, $, w, S, N, R, E, A, D, i, y, t, B, j, W;
2110
+ e ? (Xl.value = "", Ol.value = a == null ? void 0 : a.data, Ka(!0, a == null ? void 0 : a.firstCol, o)) : (nl.setRouteToChildPath(V(Ke).value), hl.setActiveMenuPath(n));
2111
+ }, Es = () => {
2112
+ X.value = !1, La.value = [], Ae.value = !1;
2113
+ }, Fa = (e) => {
2114
+ var d, s, p, b, T, h, m, L, $, w, S, N, R, E, A, D, i, y, t, B, j, W;
2115
2115
  const l = [];
2116
2116
  let a = [];
2117
2117
  for (let c in e)
2118
2118
  Array.isArray(e == null ? void 0 : e[c]) && a.push(c);
2119
- Ye.value = I(X.value), (u = Ca((d = I(X.value)) == null ? void 0 : d.filter((c) => (c == null ? void 0 : c.label) !== "操作"))) == null || u.forEach((c, x) => {
2119
+ Ze.value = V(Z.value), (s = Da((d = V(Z.value)) == null ? void 0 : d.filter((c) => (c == null ? void 0 : c.label) !== "操作"))) == null || s.forEach((c, x) => {
2120
2120
  var de, M, _;
2121
2121
  a.find((P) => P === (c == null ? void 0 : c.prop)) || (c != null && c.formType && ((de = c == null ? void 0 : c.formType) == null ? void 0 : de.toUpperCase()) === "SELECT" || c != null && c.menuId ? l.push({
2122
2122
  label: (M = c == null ? void 0 : c.prop) != null && M.includes(".") ? c == null ? void 0 : c.prop : (c == null ? void 0 : c.label) ?? (c == null ? void 0 : c.prop) ?? "",
@@ -2154,14 +2154,14 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2154
2154
  disabled: c == null ? void 0 : c.disabled,
2155
2155
  relatedValueId: c == null ? void 0 : c.relatedValueId
2156
2156
  }));
2157
- }), e === "" || !e || (Hl.value = (e == null ? void 0 : e.id) ?? "");
2158
- let r = Ca((p = I(X.value)) == null ? void 0 : p.filter((c) => (c == null ? void 0 : c.label) !== "操作"));
2159
- Rl.value && ((b = Rl.value) == null ? void 0 : b.length) > 0 && (Rl.value = (T = I(Rl).value) == null ? void 0 : T.map((c) => {
2157
+ }), e === "" || !e || (Xl.value = (e == null ? void 0 : e.id) ?? "");
2158
+ let r = Da((p = V(Z.value)) == null ? void 0 : p.filter((c) => (c == null ? void 0 : c.label) !== "操作"));
2159
+ Ml.value && ((b = Ml.value) == null ? void 0 : b.length) > 0 && (Ml.value = (T = V(Ml).value) == null ? void 0 : T.map((c) => {
2160
2160
  var de;
2161
2161
  let x = (c == null ? void 0 : c.prop) || ((de = r == null ? void 0 : r.find((M) => (M == null ? void 0 : M.label) === (c == null ? void 0 : c.label))) == null ? void 0 : de.prop);
2162
2162
  return x && (c.value = e[x]), c;
2163
- })), _e.value = Rl.value && ((h = Rl.value) == null ? void 0 : h.length) > 0 ? as(Rl.value) : l;
2164
- let n = [], o = (m = s.itemData) == null ? void 0 : m.filter((c) => (c == null ? void 0 : c.key) === "filterAllType");
2163
+ })), _e.value = Ml.value && ((h = Ml.value) == null ? void 0 : h.length) > 0 ? iu(Ml.value) : l;
2164
+ let n = [], o = (m = u.itemData) == null ? void 0 : m.filter((c) => (c == null ? void 0 : c.key) === "filterAllType");
2165
2165
  if ((o == null ? void 0 : o.length) > 0 && (n = (o == null ? void 0 : o.map((x) => x == null ? void 0 : x.value)).flat()), (n == null ? void 0 : n.length) > 0) {
2166
2166
  let c = ($ = n == null ? void 0 : n.filter((M) => {
2167
2167
  var _;
@@ -2171,12 +2171,12 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2171
2171
  return (_ = M == null ? void 0 : M.content) == null ? void 0 : _.includes("@Type");
2172
2172
  })) == null ? void 0 : L.length) - 1];
2173
2173
  if (c != null && c.content) {
2174
- let M = (N = (S = (w = c == null ? void 0 : c.content) == null ? void 0 : w.replace(":", ra)) == null ? void 0 : S.split(ra)) == null ? void 0 : N[1];
2174
+ let M = (N = (S = (w = c == null ? void 0 : c.content) == null ? void 0 : w.replace(":", ua)) == null ? void 0 : S.split(ua)) == null ? void 0 : N[1];
2175
2175
  if (((R = M == null ? void 0 : M.trim()) == null ? void 0 : R.toUpperCase()) === "MANUAL") {
2176
- let _ = (y = (i = (E = s.itemData) == null ? void 0 : E.filter((P) => (P == null ? void 0 : P.key) === "contentTableId")) == null ? void 0 : i[((D = (A = s.itemData) == null ? void 0 : A.filter((P) => (P == null ? void 0 : P.key) === "contentTableId")) == null ? void 0 : D.length) - 1]) == null ? void 0 : y.contents;
2176
+ let _ = (y = (i = (E = u.itemData) == null ? void 0 : E.filter((P) => (P == null ? void 0 : P.key) === "contentTableId")) == null ? void 0 : i[((D = (A = u.itemData) == null ? void 0 : A.filter((P) => (P == null ? void 0 : P.key) === "contentTableId")) == null ? void 0 : D.length) - 1]) == null ? void 0 : y.contents;
2177
2177
  _e.value = (t = _e.value) == null ? void 0 : t.map((P, ne) => {
2178
- var ae, ee;
2179
- return (ae = P == null ? void 0 : P.optionUrl) != null && ae.menuId && (P.type = "Select", (ee = P == null ? void 0 : P.optionUrl) != null && ee.menuId && (P.optionUrl.menuId = P.optionUrl.menuId ?? _, P.optionUrl.menuFilter = n, Ul.value === "新增" && (P.optionUrl.multiple = !0, P.optionUrl.multipleLimit = 5))), P;
2178
+ var ae, le;
2179
+ return (ae = P == null ? void 0 : P.optionUrl) != null && ae.menuId && (P.type = "Select", (le = P == null ? void 0 : P.optionUrl) != null && le.menuId && (P.optionUrl.menuId = P.optionUrl.menuId ?? _, P.optionUrl.menuFilter = n, El.value === "新增" && (P.optionUrl.multiple = !0, P.optionUrl.multipleLimit = 5))), P;
2180
2180
  });
2181
2181
  }
2182
2182
  }
@@ -2189,21 +2189,21 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2189
2189
  if (de !== void 0) return;
2190
2190
  let _ = (P = M == null ? void 0 : M.optionUrl) == null ? void 0 : P.menuId;
2191
2191
  ((ne = x == null ? void 0 : x.filter((ae) => {
2192
- var ee;
2193
- return ((ee = ae == null ? void 0 : ae.optionUrl) == null ? void 0 : ee.menuId) === _;
2192
+ var le;
2193
+ return ((le = ae == null ? void 0 : ae.optionUrl) == null ? void 0 : le.menuId) === _;
2194
2194
  })) == null ? void 0 : ne.length) > 1 && (de = _);
2195
2195
  }), x = x == null ? void 0 : x.filter((M) => {
2196
2196
  var _;
2197
2197
  return ((_ = M == null ? void 0 : M.optionUrl) == null ? void 0 : _.menuId) === de;
2198
2198
  }), (x == null ? void 0 : x.length) > 1) {
2199
- let M = x == null ? void 0 : x.map((ae) => ae == null ? void 0 : ae.prop), _ = x == null ? void 0 : x.map((ae) => ae == null ? void 0 : ae.label), P = x == null ? void 0 : x.map((ae) => ae == null ? void 0 : ae.value), ne = (j = I(x)) == null ? void 0 : j[0];
2200
- ne.label = _ == null ? void 0 : _.join("·"), ne.value = P == null ? void 0 : P.join(" "), ne.value.trim() === "" && (ne.value = ""), ne.prop = M == null ? void 0 : M.join("·"), ne.usingType = "parent", _e.value.unshift(ne), _e.value = (W = _e.value) == null ? void 0 : W.map((ae) => (M != null && M.find((ee) => ee === (ae == null ? void 0 : ae.prop)) && (ae.isFormColHidden = !0), ae));
2199
+ let M = x == null ? void 0 : x.map((ae) => ae == null ? void 0 : ae.prop), _ = x == null ? void 0 : x.map((ae) => ae == null ? void 0 : ae.label), P = x == null ? void 0 : x.map((ae) => ae == null ? void 0 : ae.value), ne = (j = V(x)) == null ? void 0 : j[0];
2200
+ ne.label = _ == null ? void 0 : _.join("·"), ne.value = P == null ? void 0 : P.join(" "), ne.value.trim() === "" && (ne.value = ""), ne.prop = M == null ? void 0 : M.join("·"), ne.usingType = "parent", _e.value.unshift(ne), _e.value = (W = _e.value) == null ? void 0 : W.map((ae) => (M != null && M.find((le) => le === (ae == null ? void 0 : ae.prop)) && (ae.isFormColHidden = !0), ae));
2201
2201
  }
2202
2202
  }
2203
- }, Cu = () => {
2203
+ }, js = () => {
2204
2204
  var l;
2205
2205
  const e = (l = K.value) == null ? void 0 : l.$el;
2206
- e && os.create(e, {
2206
+ e && tu.create(e, {
2207
2207
  animation: 150,
2208
2208
  handle: ".col-drag-icon",
2209
2209
  ghostClass: "sortable-ghost",
@@ -2211,24 +2211,24 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2211
2211
  var d;
2212
2212
  const { oldIndex: r, newIndex: n } = a;
2213
2213
  if (r === n) return;
2214
- const o = wa.value.splice(r, 1)[0];
2215
- wa.value.splice(n, 0, o), X.value = (d = X.value) == null ? void 0 : d.slice().sort((u, p) => {
2216
- if (u.label === "操作") return 1;
2214
+ const o = Ra.value.splice(r, 1)[0];
2215
+ Ra.value.splice(n, 0, o), Z.value = (d = Z.value) == null ? void 0 : d.slice().sort((s, p) => {
2216
+ if (s.label === "操作") return 1;
2217
2217
  if (p.label === "操作") return -1;
2218
- const b = wa.value.findIndex((h) => h.label === u.label), T = wa.value.findIndex((h) => h.label === p.label);
2218
+ const b = Ra.value.findIndex((h) => h.label === s.label), T = Ra.value.findIndex((h) => h.label === p.label);
2219
2219
  return b - T;
2220
2220
  });
2221
2221
  }
2222
2222
  });
2223
2223
  };
2224
- mr(() => {
2225
- nr.value = window.innerWidth - 240 * 2;
2224
+ Or(() => {
2225
+ sr.value = window.innerWidth - 240 * 2;
2226
2226
  });
2227
- const xu = () => {
2228
- er(() => {
2229
- Cu();
2227
+ const Ls = () => {
2228
+ lr(() => {
2229
+ js();
2230
2230
  });
2231
- }, yr = (e, l) => {
2231
+ }, hr = (e, l) => {
2232
2232
  var r;
2233
2233
  if (!e && !(e != null && e.children)) return {
2234
2234
  contents: e,
@@ -2237,184 +2237,184 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2237
2237
  let a;
2238
2238
  return e.children = (r = e.children) == null ? void 0 : r.map((n) => {
2239
2239
  var o, d;
2240
- if ((n == null ? void 0 : n.id) === Hl.value) {
2241
- let u = {};
2240
+ if ((n == null ? void 0 : n.id) === Xl.value) {
2241
+ let s = {};
2242
2242
  for (let p in n) {
2243
2243
  let b = (o = l == null ? void 0 : l.find((T) => (T == null ? void 0 : T.prop) === p)) == null ? void 0 : o.label;
2244
- b ? u[p] = (d = ml.value) == null ? void 0 : d[b] : u[p] = n[p];
2244
+ b ? s[p] = (d = Ol.value) == null ? void 0 : d[b] : s[p] = n[p];
2245
2245
  }
2246
- n = Object.assign(u, ml.value), a = n;
2246
+ n = Object.assign(s, Ol.value), a = n;
2247
2247
  } else {
2248
- let u = yr(n, l);
2249
- n = u == null ? void 0 : u.contents, a = u == null ? void 0 : u.currentSelectContents;
2248
+ let s = hr(n, l);
2249
+ n = s == null ? void 0 : s.contents, a = s == null ? void 0 : s.currentSelectContents;
2250
2250
  }
2251
2251
  return n;
2252
2252
  }), {
2253
2253
  contents: e,
2254
2254
  currentSelectContents: a
2255
2255
  };
2256
- }, Kr = (e, l) => {
2256
+ }, zr = (e, l) => {
2257
2257
  let a, r;
2258
- return e != null && e.find((n) => (n == null ? void 0 : n.id) === Hl.value) ? a = e == null ? void 0 : e.map((n) => {
2258
+ return e != null && e.find((n) => (n == null ? void 0 : n.id) === Xl.value) ? a = e == null ? void 0 : e.map((n) => {
2259
2259
  var o, d;
2260
- if ((n == null ? void 0 : n.id) === Hl.value) {
2261
- let u = {};
2260
+ if ((n == null ? void 0 : n.id) === Xl.value) {
2261
+ let s = {};
2262
2262
  for (let p in n) {
2263
2263
  let b = (o = l == null ? void 0 : l.find((T) => (T == null ? void 0 : T.prop) === p)) == null ? void 0 : o.label;
2264
- b ? u[p] = (d = ml.value) == null ? void 0 : d[b] : u[p] = n[p];
2264
+ b ? s[p] = (d = Ol.value) == null ? void 0 : d[b] : s[p] = n[p];
2265
2265
  }
2266
- n = Object.assign(u, ml.value), r = n;
2266
+ n = Object.assign(s, Ol.value), r = n;
2267
2267
  }
2268
2268
  return n;
2269
2269
  }) : a = e == null ? void 0 : e.map((n) => {
2270
- var o, d, u, p;
2271
- if ((n == null ? void 0 : n.id) === Hl.value) {
2270
+ var o, d, s, p;
2271
+ if ((n == null ? void 0 : n.id) === Xl.value) {
2272
2272
  let b = {};
2273
2273
  for (let T in n) {
2274
2274
  let h = (o = l == null ? void 0 : l.find((m) => (m == null ? void 0 : m.prop) === T)) == null ? void 0 : o.label;
2275
- h ? b[T] = (d = ml.value) == null ? void 0 : d[h] : b[T] = n[T];
2275
+ h ? b[T] = (d = Ol.value) == null ? void 0 : d[h] : b[T] = n[T];
2276
2276
  }
2277
- n = Object.assign(b, ml.value), r = n;
2277
+ n = Object.assign(b, Ol.value), r = n;
2278
2278
  } else
2279
- n = (u = yr(n, l)) == null ? void 0 : u.contents, r = (p = yr(n, l)) == null ? void 0 : p.currentSelectContents;
2279
+ n = (s = hr(n, l)) == null ? void 0 : s.contents, r = (p = hr(n, l)) == null ? void 0 : p.currentSelectContents;
2280
2280
  return n;
2281
2281
  }), {
2282
2282
  newContents: a,
2283
2283
  currentSelectContents: r
2284
2284
  };
2285
- }, zr = (e, l, a) => {
2285
+ }, Jr = (e, l, a) => {
2286
2286
  var r, n;
2287
- return e[l == null ? void 0 : l.prop] = a, typeof e.id == "number" && (e.id = (r = e.id) == null ? void 0 : r.toString()), e.children && ((n = e.children) == null ? void 0 : n.length) > 0 && (e.children = e.children.map(zr)), e;
2288
- }, hr = (e) => {
2287
+ return e[l == null ? void 0 : l.prop] = a, typeof e.id == "number" && (e.id = (r = e.id) == null ? void 0 : r.toString()), e.children && ((n = e.children) == null ? void 0 : n.length) > 0 && (e.children = e.children.map(Jr)), e;
2288
+ }, vr = (e) => {
2289
2289
  var a;
2290
2290
  const l = [];
2291
2291
  return l.push({ ...e }), e != null && e.children && Array.isArray(e.children) && ((a = e.children) == null || a.forEach((r) => {
2292
- l.push(...hr(r));
2292
+ l.push(...vr(r));
2293
2293
  })), (l == null ? void 0 : l.length) > 0 ? l == null ? void 0 : l.map((r) => {
2294
2294
  const n = { ...r };
2295
2295
  return delete n.children, n;
2296
2296
  }) : [];
2297
- }, Ba = (e = !0, l, a) => {
2298
- var b, T, h, m, L, $, w, S, N, R, E, A, D, i, y, t, B, j, W, c, x, de, M, _, P, ne, ae, ee, ke, Ue;
2299
- let r = Ca((b = I(X.value)) == null ? void 0 : b.filter((H) => (H == null ? void 0 : H.label) !== "操作")), n, o = I(Y.value);
2300
- if (!ml.value) {
2301
- Ql.value = !1;
2297
+ }, Ka = (e = !0, l, a) => {
2298
+ var b, T, h, m, L, $, w, S, N, R, E, A, D, i, y, t, B, j, W, c, x, de, M, _, P, ne, ae, le, ke, Ue;
2299
+ let r = Da((b = V(Z.value)) == null ? void 0 : b.filter((H) => (H == null ? void 0 : H.label) !== "操作")), n, o = V(I.value);
2300
+ if (!Ol.value) {
2301
+ Zl.value = !1;
2302
2302
  return;
2303
2303
  }
2304
- if (Hl.value === "") {
2305
- ba.value++;
2304
+ if (Xl.value === "") {
2305
+ Aa.value++;
2306
2306
  let H;
2307
2307
  l && a ? H = {
2308
- id: ba.value.toString(),
2308
+ id: Aa.value.toString(),
2309
2309
  [l == null ? void 0 : l.prop]: a,
2310
- children: ml.value.children
2311
- } : H = { id: ba.value.toString() }, H != null && H.children && (H = {
2310
+ children: Ol.value.children
2311
+ } : H = { id: Aa.value.toString() }, H != null && H.children && (H = {
2312
2312
  ...H,
2313
- children: (T = H.children) == null ? void 0 : T.map((se) => zr(se, l, a))
2314
- }), o.push(Object.assign(ml.value, H)), n = Object.assign(ml.value, H);
2313
+ children: (T = H.children) == null ? void 0 : T.map((ue) => Jr(ue, l, a))
2314
+ }), o.push(Object.assign(Ol.value, H)), n = Object.assign(Ol.value, H);
2315
2315
  } else
2316
- o = (h = Kr(o, r)) == null ? void 0 : h.newContents, n = (m = Kr(o, r)) == null ? void 0 : m.currentSelectContents;
2317
- const d = (L = s.itemData) == null ? void 0 : L.filter((H) => (H == null ? void 0 : H.key) === "childTree")[0];
2316
+ o = (h = zr(o, r)) == null ? void 0 : h.newContents, n = (m = zr(o, r)) == null ? void 0 : m.currentSelectContents;
2317
+ const d = (L = u.itemData) == null ? void 0 : L.filter((H) => (H == null ? void 0 : H.key) === "childTree")[0];
2318
2318
  if ((($ = d == null ? void 0 : d.contents) == null ? void 0 : $.length) > 0) {
2319
- Ul.value = "编辑";
2319
+ El.value = "编辑";
2320
2320
  const H = [];
2321
- o == null || o.forEach((se, Me) => {
2321
+ o == null || o.forEach((ue, Me) => {
2322
2322
  var he;
2323
2323
  let ce = {};
2324
- if (Array.isArray(se)) {
2324
+ if (Array.isArray(ue)) {
2325
2325
  let xe = [];
2326
- se == null || se.filter((Qe) => !(Qe != null && Qe.id)).forEach((Qe, O) => {
2327
- var le, Je, Be, el, f, ue, Fe;
2328
- if ((Je = (le = Ml.value) == null ? void 0 : le[O]) != null && Je.prop && !Array.isArray(Qe)) {
2326
+ ue == null || ue.filter((He) => !(He != null && He.id)).forEach((He, O) => {
2327
+ var Q, ze, Be, Ve, f, se, Pe;
2328
+ if ((ze = (Q = Bl.value) == null ? void 0 : Q[O]) != null && ze.prop && !Array.isArray(He)) {
2329
2329
  let k = {};
2330
- k[Ml.value[O].column] = Qe, He != null && He.value && ((Be = He == null ? void 0 : He.value) == null ? void 0 : Be.length) > 0 && ((el = He == null ? void 0 : He.value) != null && el.find((Se) => JSON.stringify(Se == null ? void 0 : Se[0]) === JSON.stringify(k))) && (xe = (f = He == null ? void 0 : He.value) == null ? void 0 : f.find((Se) => JSON.stringify(Se == null ? void 0 : Se[0]) === JSON.stringify(k))), xe && xe.length > 0 ? ce[Ml.value[O].prop] = xe != null && xe.find((Se) => {
2331
- var Pe;
2332
- return ((Pe = Object.keys(Se)) == null ? void 0 : Pe[0]) === Ml.value[O].column;
2333
- }) ? (ue = xe == null ? void 0 : xe.find((Se) => {
2334
- var Pe;
2335
- return ((Pe = Object.keys(Se)) == null ? void 0 : Pe[0]) === Ml.value[O].column;
2336
- })) == null ? void 0 : ue[Ml.value[O].column] : Qe : ce[Ml.value[O].prop] = Qe;
2337
- } else Array.isArray(Qe) && ((Fe = Ml.value[O]) != null && Fe.prop ? ce[Ml.value[O].prop] = Qe : ce.children = Tr(Qe, Ml.value));
2330
+ k[Bl.value[O].column] = He, Ge != null && Ge.value && ((Be = Ge == null ? void 0 : Ge.value) == null ? void 0 : Be.length) > 0 && ((Ve = Ge == null ? void 0 : Ge.value) != null && Ve.find((Se) => JSON.stringify(Se == null ? void 0 : Se[0]) === JSON.stringify(k))) && (xe = (f = Ge == null ? void 0 : Ge.value) == null ? void 0 : f.find((Se) => JSON.stringify(Se == null ? void 0 : Se[0]) === JSON.stringify(k))), xe && xe.length > 0 ? ce[Bl.value[O].prop] = xe != null && xe.find((Se) => {
2331
+ var $e;
2332
+ return (($e = Object.keys(Se)) == null ? void 0 : $e[0]) === Bl.value[O].column;
2333
+ }) ? (se = xe == null ? void 0 : xe.find((Se) => {
2334
+ var $e;
2335
+ return (($e = Object.keys(Se)) == null ? void 0 : $e[0]) === Bl.value[O].column;
2336
+ })) == null ? void 0 : se[Bl.value[O].column] : He : ce[Bl.value[O].prop] = He;
2337
+ } else Array.isArray(He) && ((Pe = Bl.value[O]) != null && Pe.prop ? ce[Bl.value[O].prop] = He : ce.children = mr(He, Bl.value));
2338
2338
  });
2339
2339
  } else
2340
- ce = se;
2341
- if (Array.isArray(se) && se.some((xe) => xe == null ? void 0 : xe.id)) {
2342
- const xe = (he = se == null ? void 0 : se.find((Qe) => Qe.id)) == null ? void 0 : he.id;
2343
- H.push(Object.assign(ce, { id: Pr(xe) }));
2340
+ ce = ue;
2341
+ if (Array.isArray(ue) && ue.some((xe) => xe == null ? void 0 : xe.id)) {
2342
+ const xe = (he = ue == null ? void 0 : ue.find((He) => He.id)) == null ? void 0 : he.id;
2343
+ H.push(Object.assign(ce, { id: $r(xe) }));
2344
2344
  } else ce.id ? H.push(ce) : H.push(Object.assign(ce, { id: Me.toString() }));
2345
- }), Y.value = Hr(H, d, X.value);
2345
+ }), I.value = Qr(H, d, Z.value);
2346
2346
  } else
2347
- Y.value = o;
2348
- qr(Y.value), La.value = Y.value;
2349
- const u = qs(La.value, Pa.value, o);
2347
+ I.value = o;
2348
+ Gr(I.value), $a.value = I.value;
2349
+ const s = Zu($a.value, wa.value, o);
2350
2350
  let p = [];
2351
- if (Da.value ? (p = (w = I(Da).value.singleContent) == null ? void 0 : w.filter((H) => (H == null ? void 0 : H.id) !== (n == null ? void 0 : n.id)), p.push(n)) : p = [n], Bl.value) {
2351
+ if (Ea.value ? (p = (w = V(Ea).value.singleContent) == null ? void 0 : w.filter((H) => (H == null ? void 0 : H.id) !== (n == null ? void 0 : n.id)), p.push(n)) : p = [n], Fl.value) {
2352
2352
  const H = {
2353
- content: u,
2354
- singleContent: ((S = d == null ? void 0 : d.contents) == null ? void 0 : S.length) > 0 ? p == null ? void 0 : p.flatMap(hr) : p,
2355
- index: s == null ? void 0 : s.index,
2353
+ content: s,
2354
+ singleContent: ((S = d == null ? void 0 : d.contents) == null ? void 0 : S.length) > 0 ? p == null ? void 0 : p.flatMap(vr) : p,
2355
+ index: u == null ? void 0 : u.index,
2356
2356
  buttonName: "编辑",
2357
- column: X.value,
2358
- parentTableId: s == null ? void 0 : s.parentTableId
2357
+ column: Z.value,
2358
+ parentTableId: u == null ? void 0 : u.parentTableId
2359
2359
  };
2360
- ul.setCacheUpdatingData(H);
2360
+ nl.setCacheUpdatingData(H);
2361
2361
  }
2362
2362
  if (e) {
2363
- let H = (A = (E = (R = (N = s.itemData) == null ? void 0 : N.find((ce) => (ce == null ? void 0 : ce.key) === "filterAllType")) == null ? void 0 : R.value) == null ? void 0 : E.find((ce) => (ce == null ? void 0 : ce.value) === "onConditionContents")) == null ? void 0 : A.content, se = (D = s.itemData) == null ? void 0 : D.filter((ce) => (ce == null ? void 0 : ce.key) === "filterAllType");
2364
- se = Array.from(
2363
+ let H = (A = (E = (R = (N = u.itemData) == null ? void 0 : N.find((ce) => (ce == null ? void 0 : ce.key) === "filterAllType")) == null ? void 0 : R.value) == null ? void 0 : E.find((ce) => (ce == null ? void 0 : ce.value) === "onConditionContents")) == null ? void 0 : A.content, ue = (D = u.itemData) == null ? void 0 : D.filter((ce) => (ce == null ? void 0 : ce.key) === "filterAllType");
2364
+ ue = Array.from(
2365
2365
  new Map(
2366
- se.filter(Boolean).map((ce, he) => [ce.value, { ...ce, _idx: he }])
2366
+ ue.filter(Boolean).map((ce, he) => [ce.value, { ...ce, _idx: he }])
2367
2367
  // 2. 带索引,保证顺序
2368
2368
  ).values()
2369
2369
  // 3. Map 自动保留“后者”
2370
- ).sort((ce, he) => ce._idx - he._idx).map(({ _idx: ce, ...he }) => he), se = (i = se == null ? void 0 : se[(se == null ? void 0 : se.length) - 1]) == null ? void 0 : i.value;
2370
+ ).sort((ce, he) => ce._idx - he._idx).map(({ _idx: ce, ...he }) => he), ue = (i = ue == null ? void 0 : ue[(ue == null ? void 0 : ue.length) - 1]) == null ? void 0 : i.value;
2371
2371
  const Me = {
2372
- content: u,
2373
- singleContent: ((y = d == null ? void 0 : d.contents) == null ? void 0 : y.length) > 0 ? hr(n) : n,
2374
- index: s == null ? void 0 : s.index,
2375
- buttonName: Ul.value,
2376
- column: X.value,
2377
- parentTableId: s == null ? void 0 : s.parentTableId,
2372
+ content: s,
2373
+ singleContent: ((y = d == null ? void 0 : d.contents) == null ? void 0 : y.length) > 0 ? vr(n) : n,
2374
+ index: u == null ? void 0 : u.index,
2375
+ buttonName: El.value,
2376
+ column: Z.value,
2377
+ parentTableId: u == null ? void 0 : u.parentTableId,
2378
2378
  filter: H,
2379
- allFilter: se,
2380
- pathIndex: (B = (t = s.itemData) == null ? void 0 : t.find((ce) => (ce == null ? void 0 : ce.key) === "relatedFilter")) == null ? void 0 : B.index,
2379
+ allFilter: ue,
2380
+ pathIndex: (B = (t = u.itemData) == null ? void 0 : t.find((ce) => (ce == null ? void 0 : ce.key) === "relatedFilter")) == null ? void 0 : B.index,
2381
2381
  rowContents: _e.value,
2382
- addArrayValues: rl.value
2382
+ addArrayValues: al.value
2383
2383
  };
2384
- ul.setTableLoading(s == null ? void 0 : s.index), Ql.value = !1, ml.value = void 0, Re("change", Me);
2384
+ nl.setTableLoading(u == null ? void 0 : u.index), Zl.value = !1, Ol.value = void 0, Re("change", Me);
2385
2385
  }
2386
2386
  if ((c = (W = (j = _e.value) == null ? void 0 : j[0]) == null ? void 0 : W.optionUrl) != null && c.menuId) {
2387
- Ql.value = !1;
2388
- let H = (x = s.itemData) == null ? void 0 : x.filter((se) => (se == null ? void 0 : se.key) === "filterAllType");
2387
+ Zl.value = !1;
2388
+ let H = (x = u.itemData) == null ? void 0 : x.filter((ue) => (ue == null ? void 0 : ue.key) === "filterAllType");
2389
2389
  if ((H == null ? void 0 : H.length) > 0) {
2390
- let se = H == null ? void 0 : H.map((he) => he == null ? void 0 : he.value), Me = (_ = (M = (de = se.flat().find((he) => {
2390
+ let ue = H == null ? void 0 : H.map((he) => he == null ? void 0 : he.value), Me = (_ = (M = (de = ue.flat().find((he) => {
2391
2391
  var xe;
2392
2392
  return (xe = he == null ? void 0 : he.content) == null ? void 0 : xe.includes("@Num");
2393
2393
  })) == null ? void 0 : de.content) == null ? void 0 : M.split(":")) == null ? void 0 : _[1];
2394
- ((ae = (ne = (P = se.flat().find((he) => {
2394
+ ((ae = (ne = (P = ue.flat().find((he) => {
2395
2395
  var xe;
2396
2396
  return (xe = he == null ? void 0 : he.content) == null ? void 0 : xe.includes("@Type:");
2397
- })) == null ? void 0 : P.content) == null ? void 0 : ne.split(":")) == null ? void 0 : ae[1]) !== "Manual" && (Me = parseInt(Me), Y.value = (Ue = Y.value) == null ? void 0 : Ue.slice(((ee = Y.value) == null ? void 0 : ee.length) - Me, (ke = Y.value) == null ? void 0 : ke.length));
2397
+ })) == null ? void 0 : P.content) == null ? void 0 : ne.split(":")) == null ? void 0 : ae[1]) !== "Manual" && (Me = parseInt(Me), I.value = (Ue = I.value) == null ? void 0 : Ue.slice(((le = I.value) == null ? void 0 : le.length) - Me, (ke = I.value) == null ? void 0 : ke.length));
2398
2398
  }
2399
2399
  }
2400
2400
  };
2401
- Ku(() => {
2402
- X.value = [], Y.value = [], Ye.value = [], rr.value = [], Rl.value = [], na.value = [], Ea.value = [], Pl.value = [], _e.value = [], Fl.value = [], K.value = null;
2401
+ Gs(() => {
2402
+ Z.value = [], I.value = [], Ze.value = [], nr.value = [], Ml.value = [], ia.value = [], La.value = [], $l.value = [], _e.value = [], Kl.value = [], K.value = null;
2403
2403
  });
2404
- const Jr = async (e, l, a) => {
2404
+ const Wr = async (e, l, a) => {
2405
2405
  var b, T, h, m, L, $, w, S, N, R, E;
2406
- Kl.value = a == null ? void 0 : a.prop;
2407
- const r = I(s.itemData), n = r == null ? void 0 : r.map((A) => {
2406
+ zl.value = a == null ? void 0 : a.prop;
2407
+ const r = V(u.itemData), n = r == null ? void 0 : r.map((A) => {
2408
2408
  var D;
2409
2409
  return (A == null ? void 0 : A.key) === "header" && ((D = A.contents) == null || D.map((i, y) => {
2410
- var t, B, j, W, c, x, de, M, _, P, ne, ae, ee, ke, Ue, H, se, Me, ce;
2411
- return i.type = i != null && i.type ? i.type : (W = (j = (B = (t = i == null ? void 0 : i.key) == null ? void 0 : t.split("$")) == null ? void 0 : B[1]) == null ? void 0 : j.split("(")) != null && W[0] ? (x = (c = kr) == null ? void 0 : c.find((he) => {
2412
- var xe, Qe, O, le;
2413
- return (he == null ? void 0 : he.key) === ((le = (O = (Qe = (xe = i == null ? void 0 : i.key) == null ? void 0 : xe.split("$")) == null ? void 0 : Qe[1]) == null ? void 0 : O.split("(")) == null ? void 0 : le[0]);
2414
- })) == null ? void 0 : x.value : "Input", i.options = i != null && i.options ? i.options : ((_ = (M = (de = i == null ? void 0 : i.key) == null ? void 0 : de.split("$")) == null ? void 0 : M[1]) == null ? void 0 : _.length) > 0 ? (ee = (ae = Ar((ne = (P = i == null ? void 0 : i.key) == null ? void 0 : P.split("$")) == null ? void 0 : ne[1])) == null ? void 0 : ae.split(",")) == null ? void 0 : ee.map((he) => ({
2410
+ var t, B, j, W, c, x, de, M, _, P, ne, ae, le, ke, Ue, H, ue, Me, ce;
2411
+ return i.type = i != null && i.type ? i.type : (W = (j = (B = (t = i == null ? void 0 : i.key) == null ? void 0 : t.split("$")) == null ? void 0 : B[1]) == null ? void 0 : j.split("(")) != null && W[0] ? (x = (c = Sr) == null ? void 0 : c.find((he) => {
2412
+ var xe, He, O, Q;
2413
+ return (he == null ? void 0 : he.key) === ((Q = (O = (He = (xe = i == null ? void 0 : i.key) == null ? void 0 : xe.split("$")) == null ? void 0 : He[1]) == null ? void 0 : O.split("(")) == null ? void 0 : Q[0]);
2414
+ })) == null ? void 0 : x.value : "Input", i.options = i != null && i.options ? i.options : ((_ = (M = (de = i == null ? void 0 : i.key) == null ? void 0 : de.split("$")) == null ? void 0 : M[1]) == null ? void 0 : _.length) > 0 ? (le = (ae = _r((ne = (P = i == null ? void 0 : i.key) == null ? void 0 : P.split("$")) == null ? void 0 : ne[1])) == null ? void 0 : ae.split(",")) == null ? void 0 : le.map((he) => ({
2415
2415
  label: he,
2416
2416
  value: he
2417
- })) : [], (ke = i == null ? void 0 : i.key) != null && ke.includes("$") && (i.key = (H = (Ue = i == null ? void 0 : i.key) == null ? void 0 : Ue.split("$")) == null ? void 0 : H[0]), i.value = (se = Object.values(l)) == null ? void 0 : se[y], i.optionUrl = i != null && i.formMenuSelect && ((Me = i == null ? void 0 : i.formMenuSelect) == null ? void 0 : Me.length) > 0 ? {
2417
+ })) : [], (ke = i == null ? void 0 : i.key) != null && ke.includes("$") && (i.key = (H = (Ue = i == null ? void 0 : i.key) == null ? void 0 : Ue.split("$")) == null ? void 0 : H[0]), i.value = (ue = Object.values(l)) == null ? void 0 : ue[y], i.optionUrl = i != null && i.formMenuSelect && ((Me = i == null ? void 0 : i.formMenuSelect) == null ? void 0 : Me.length) > 0 ? {
2418
2418
  groupSelect: (ce = i == null ? void 0 : i.groupSelect) == null ? void 0 : ce.split(/[::]/).map((he) => he.trim()),
2419
2419
  menuSelect: i == null ? void 0 : i.formMenuSelect,
2420
2420
  selectRelateType: "",
@@ -2422,29 +2422,29 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2422
2422
  } : null, i;
2423
2423
  })), A;
2424
2424
  });
2425
- let o = I(_e.value), d = (T = (b = I(n)) == null ? void 0 : b.find((A) => (A == null ? void 0 : A.key) === "header")) == null ? void 0 : T.contents;
2425
+ let o = V(_e.value), d = (T = (b = V(n)) == null ? void 0 : b.find((A) => (A == null ? void 0 : A.key) === "header")) == null ? void 0 : T.contents;
2426
2426
  o = o == null ? void 0 : o.map((A) => {
2427
2427
  var D;
2428
2428
  return A.value = (D = d == null ? void 0 : d.find((i, y) => y === (A == null ? void 0 : A.id))) == null ? void 0 : D.value, A;
2429
2429
  });
2430
- let u = "", p = (L = (m = (h = I(n)) == null ? void 0 : h.find((A) => (A == null ? void 0 : A.key) === "header")) == null ? void 0 : m.contents) == null ? void 0 : L.find((A, D) => {
2430
+ let s = "", p = (L = (m = (h = V(n)) == null ? void 0 : h.find((A) => (A == null ? void 0 : A.key) === "header")) == null ? void 0 : m.contents) == null ? void 0 : L.find((A, D) => {
2431
2431
  var i, y, t;
2432
- return (A == null ? void 0 : A.label) === Kl.value || (D == null ? void 0 : D.toString()) === ((t = (y = (i = Kl.value) == null ? void 0 : i.split("a")) == null ? void 0 : y[1]) == null ? void 0 : t.toString());
2432
+ return (A == null ? void 0 : A.label) === zl.value || (D == null ? void 0 : D.toString()) === ((t = (y = (i = zl.value) == null ? void 0 : i.split("a")) == null ? void 0 : y[1]) == null ? void 0 : t.toString());
2433
2433
  });
2434
- if ((S = (w = ($ = I(n)) == null ? void 0 : $.find((A) => (A == null ? void 0 : A.key) === "header")) == null ? void 0 : w.contents) == null || S.forEach((A) => {
2434
+ if ((S = (w = ($ = V(n)) == null ? void 0 : $.find((A) => (A == null ? void 0 : A.key) === "header")) == null ? void 0 : w.contents) == null || S.forEach((A) => {
2435
2435
  var D, i, y, t, B;
2436
- u === "" && ((y = (i = (D = A == null ? void 0 : A.optionUrl) == null ? void 0 : D.groupSelect) == null ? void 0 : i[1]) != null && y.includes("[")) && (u = (B = (t = A == null ? void 0 : A.optionUrl) == null ? void 0 : t.groupSelect) == null ? void 0 : B[1]);
2436
+ s === "" && ((y = (i = (D = A == null ? void 0 : A.optionUrl) == null ? void 0 : D.groupSelect) == null ? void 0 : i[1]) != null && y.includes("[")) && (s = (B = (t = A == null ? void 0 : A.optionUrl) == null ? void 0 : t.groupSelect) == null ? void 0 : B[1]);
2437
2437
  }), (N = p == null ? void 0 : p.optionUrl) != null && N.menuSelect) {
2438
- let A = await _r(p), D;
2438
+ let A = await Tr(p), D;
2439
2439
  if (A == null || A.forEach((i) => {
2440
2440
  var y, t, B, j, W, c, x, de, M, _;
2441
- u === ((t = (y = p == null ? void 0 : p.optionUrl) == null ? void 0 : y.groupSelect) == null ? void 0 : t[1]) && ((W = (j = (B = p == null ? void 0 : p.optionUrl) == null ? void 0 : B.groupSelect) == null ? void 0 : j[1]) != null && W.includes("[")) && ((_ = I(i)) == null ? void 0 : _[(M = (de = (x = (c = p == null ? void 0 : p.optionUrl) == null ? void 0 : c.groupSelect) == null ? void 0 : x[1]) == null ? void 0 : de.replaceAll("[", "")) == null ? void 0 : M.replaceAll("]", "")]) === (p == null ? void 0 : p.value) && (D = i);
2441
+ s === ((t = (y = p == null ? void 0 : p.optionUrl) == null ? void 0 : y.groupSelect) == null ? void 0 : t[1]) && ((W = (j = (B = p == null ? void 0 : p.optionUrl) == null ? void 0 : B.groupSelect) == null ? void 0 : j[1]) != null && W.includes("[")) && ((_ = V(i)) == null ? void 0 : _[(M = (de = (x = (c = p == null ? void 0 : p.optionUrl) == null ? void 0 : c.groupSelect) == null ? void 0 : x[1]) == null ? void 0 : de.replaceAll("[", "")) == null ? void 0 : M.replaceAll("]", "")]) === (p == null ? void 0 : p.value) && (D = i);
2442
2442
  }), D) {
2443
- let i = I(o);
2443
+ let i = V(o);
2444
2444
  i = i == null ? void 0 : i.map((t) => {
2445
2445
  var B, j, W, c, x, de, M, _, P, ne, ae;
2446
2446
  return (D != null && D[t == null ? void 0 : t.label] || D != null && D[(c = (W = (j = (B = t == null ? void 0 : t.optionUrl) == null ? void 0 : B.groupSelect) == null ? void 0 : j[1]) == null ? void 0 : W.replaceAll("[", "")) == null ? void 0 : c.replaceAll("]", "")]) && ((M = (de = (x = t == null ? void 0 : t.optionUrl) == null ? void 0 : x.groupSelect) == null ? void 0 : de[1]) != null && M.includes("[")) && (t.value = (D == null ? void 0 : D[t == null ? void 0 : t.label]) || (D == null ? void 0 : D[(ae = (ne = (P = (_ = t == null ? void 0 : t.optionUrl) == null ? void 0 : _.groupSelect) == null ? void 0 : P[1]) == null ? void 0 : ne.replaceAll("[", "")) == null ? void 0 : ae.replaceAll("]", "")])), t;
2447
- }), Y.value = (R = I(Y.value)) == null ? void 0 : R.map((t) => {
2447
+ }), I.value = (R = V(I.value)) == null ? void 0 : R.map((t) => {
2448
2448
  if ((t == null ? void 0 : t.id) === (l == null ? void 0 : l.id)) {
2449
2449
  const B = {};
2450
2450
  return i == null || i.forEach((j) => {
@@ -2453,18 +2453,18 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2453
2453
  }
2454
2454
  return t;
2455
2455
  });
2456
- let y = I(i);
2456
+ let y = V(i);
2457
2457
  y = y == null ? void 0 : y.map((t) => {
2458
2458
  var B, j, W, c;
2459
2459
  return (j = (B = t == null ? void 0 : t.optionUrl) == null ? void 0 : B.menuSelect) != null && j.some((x) => x == null ? void 0 : x.includes) && (t.optionUrl.menuSelect = (c = (W = t == null ? void 0 : t.optionUrl) == null ? void 0 : W.menuSelect) == null ? void 0 : c.map((x) => {
2460
2460
  var de, M, _, P;
2461
2461
  if (x != null && x.includes("[")) {
2462
2462
  let ne = (M = (de = x == null ? void 0 : x.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : de.split(":")) == null ? void 0 : M[1];
2463
- x = (P = (_ = I(i)) == null ? void 0 : _.find((ae) => (ae == null ? void 0 : ae.label) === ne)) == null ? void 0 : P.value;
2463
+ x = (P = (_ = V(i)) == null ? void 0 : _.find((ae) => (ae == null ? void 0 : ae.label) === ne)) == null ? void 0 : P.value;
2464
2464
  }
2465
2465
  return x;
2466
2466
  })), t;
2467
- }), Y.value = (E = I(Y.value)) == null ? void 0 : E.map((t) => {
2467
+ }), I.value = (E = V(I.value)) == null ? void 0 : E.map((t) => {
2468
2468
  if ((t == null ? void 0 : t.id) === (l == null ? void 0 : l.id)) {
2469
2469
  const B = {};
2470
2470
  return y == null || y.forEach((j) => {
@@ -2475,203 +2475,205 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2475
2475
  });
2476
2476
  }
2477
2477
  }
2478
- }, Du = async (e) => {
2479
- var L, $, w, S, N, R, E, A, D, i, y, t, B, j, W, c, x, de, M, _, P, ne, ae, ee, ke, Ue, H, se, Me, ce, he, xe, Qe;
2478
+ }, Ps = async (e) => {
2479
+ var L, $, w, S, N, R, E, A, D, i, y, t, B, j, W, c, x, de, M, _, P, ne, ae, le, ke, Ue, H, ue, Me, ce, he, xe, He;
2480
2480
  if (!e) return;
2481
- ml.value = e;
2482
- const l = I(s.itemData);
2481
+ Ol.value = e;
2482
+ const l = V(u.itemData);
2483
2483
  let a = l == null ? void 0 : l.map((O) => {
2484
- var le, Je, Be, el;
2485
- return (O == null ? void 0 : O.key) === "header" && (Array.isArray((le = O.contents) == null ? void 0 : le[0]) ? O.contents = (Be = Ca((Je = O.contents) == null ? void 0 : Je[0])) == null ? void 0 : Be.map((f, ue) => {
2486
- var Fe, k, Se, Pe, cl, pl, fl, tl, yl, hl, dl, me, Le, gl, _l, Tl, Cl, Al, g, J, De, bl, wl, kl;
2487
- return f.type = f != null && f.type ? f.type : (Pe = (Se = (k = (Fe = f == null ? void 0 : f.key) == null ? void 0 : Fe.split("$")) == null ? void 0 : k[1]) == null ? void 0 : Se.split("(")) != null && Pe[0] ? (pl = (cl = kr) == null ? void 0 : cl.find((je) => {
2488
- var xl, be, U, v;
2489
- return (je == null ? void 0 : je.key) === ((v = (U = (be = (xl = f == null ? void 0 : f.key) == null ? void 0 : xl.split("$")) == null ? void 0 : be[1]) == null ? void 0 : U.split("(")) == null ? void 0 : v[0]);
2490
- })) == null ? void 0 : pl.value : "Input", f.options = f != null && f.options ? f.options : ((yl = (tl = (fl = f == null ? void 0 : f.key) == null ? void 0 : fl.split("$")) == null ? void 0 : tl[1]) == null ? void 0 : yl.length) > 0 ? (Le = (me = Ar((dl = (hl = f == null ? void 0 : f.key) == null ? void 0 : hl.split("$")) == null ? void 0 : dl[1])) == null ? void 0 : me.split(",")) == null ? void 0 : Le.map((je) => ({
2484
+ var Q, ze, Be, Ve;
2485
+ return (O == null ? void 0 : O.key) === "header" && (Array.isArray((Q = O.contents) == null ? void 0 : Q[0]) ? O.contents = (Be = Da((ze = O.contents) == null ? void 0 : ze[0])) == null ? void 0 : Be.map((f, se) => {
2486
+ var Pe, k, Se, $e, dl, cl, pl, fl, tl, yl, ol, me, Le, vl, _l, Tl, xl, Al, g, J, De, gl, Nl, bl;
2487
+ return f.type = f != null && f.type ? f.type : ($e = (Se = (k = (Pe = f == null ? void 0 : f.key) == null ? void 0 : Pe.split("$")) == null ? void 0 : k[1]) == null ? void 0 : Se.split("(")) != null && $e[0] ? (cl = (dl = Sr) == null ? void 0 : dl.find((je) => {
2488
+ var Dl, be, U, v;
2489
+ return (je == null ? void 0 : je.key) === ((v = (U = (be = (Dl = f == null ? void 0 : f.key) == null ? void 0 : Dl.split("$")) == null ? void 0 : be[1]) == null ? void 0 : U.split("(")) == null ? void 0 : v[0]);
2490
+ })) == null ? void 0 : cl.value : "Input", f.options = f != null && f.options ? f.options : ((tl = (fl = (pl = f == null ? void 0 : f.key) == null ? void 0 : pl.split("$")) == null ? void 0 : fl[1]) == null ? void 0 : tl.length) > 0 ? (Le = (me = _r((ol = (yl = f == null ? void 0 : f.key) == null ? void 0 : yl.split("$")) == null ? void 0 : ol[1])) == null ? void 0 : me.split(",")) == null ? void 0 : Le.map((je) => ({
2491
2491
  label: je,
2492
2492
  value: je
2493
- })) : [], (gl = f == null ? void 0 : f.key) != null && gl.includes("$") && (f.key = (Tl = (_l = f == null ? void 0 : f.key) == null ? void 0 : _l.split("$")) == null ? void 0 : Tl[0]), ((g = (Al = (Cl = _e.value) == null ? void 0 : Cl.find((je) => (je == null ? void 0 : je.prop) === (f == null ? void 0 : f.prop))) == null ? void 0 : Al.optionUrl) == null ? void 0 : g.multiple) === !0 && !Array.isArray((J = Object.values(e)) == null ? void 0 : J[ue]) ? f.value = [(De = Object.values(e)) == null ? void 0 : De[ue]] : f.value = (bl = Object.values(e)) == null ? void 0 : bl[ue], f.optionUrl = f != null && f.formMenuSelect && ((wl = f == null ? void 0 : f.formMenuSelect) == null ? void 0 : wl.length) > 0 ? {
2494
- groupSelect: (kl = f == null ? void 0 : f.groupSelect) == null ? void 0 : kl.split(/[::]/).map((je) => je.trim()),
2493
+ })) : [], (vl = f == null ? void 0 : f.key) != null && vl.includes("$") && (f.key = (Tl = (_l = f == null ? void 0 : f.key) == null ? void 0 : _l.split("$")) == null ? void 0 : Tl[0]), ((g = (Al = (xl = _e.value) == null ? void 0 : xl.find((je) => (je == null ? void 0 : je.prop) === (f == null ? void 0 : f.prop))) == null ? void 0 : Al.optionUrl) == null ? void 0 : g.multiple) === !0 && !Array.isArray((J = Object.values(e)) == null ? void 0 : J[se]) ? f.value = [(De = Object.values(e)) == null ? void 0 : De[se]] : f.value = (gl = Object.values(e)) == null ? void 0 : gl[se], f.optionUrl = f != null && f.formMenuSelect && ((Nl = f == null ? void 0 : f.formMenuSelect) == null ? void 0 : Nl.length) > 0 ? {
2494
+ groupSelect: (bl = f == null ? void 0 : f.groupSelect) == null ? void 0 : bl.split(/[::]/).map((je) => je.trim()),
2495
2495
  menuSelect: f == null ? void 0 : f.formMenuSelect,
2496
2496
  selectRelateType: "",
2497
2497
  type: (f == null ? void 0 : f.formType) ?? (f != null && f.groupSelect ? "Select" : "")
2498
2498
  } : null, f;
2499
- }) : O.contents = (el = O.contents) == null ? void 0 : el.map((f, ue) => {
2500
- var Fe, k, Se, Pe, cl, pl, fl, tl, yl, hl, dl, me, Le, gl, _l, Tl, Cl, Al, g, J, De, bl, wl, kl;
2501
- return f.type = f != null && f.type ? f.type : (Pe = (Se = (k = (Fe = f == null ? void 0 : f.key) == null ? void 0 : Fe.split("$")) == null ? void 0 : k[1]) == null ? void 0 : Se.split("(")) != null && Pe[0] ? (pl = (cl = kr) == null ? void 0 : cl.find((je) => {
2502
- var xl, be, U, v;
2503
- return (je == null ? void 0 : je.key) === ((v = (U = (be = (xl = f == null ? void 0 : f.key) == null ? void 0 : xl.split("$")) == null ? void 0 : be[1]) == null ? void 0 : U.split("(")) == null ? void 0 : v[0]);
2504
- })) == null ? void 0 : pl.value : "Input", f.options = f != null && f.options ? f.options : ((yl = (tl = (fl = f == null ? void 0 : f.key) == null ? void 0 : fl.split("$")) == null ? void 0 : tl[1]) == null ? void 0 : yl.length) > 0 ? (Le = (me = Ar((dl = (hl = f == null ? void 0 : f.key) == null ? void 0 : hl.split("$")) == null ? void 0 : dl[1])) == null ? void 0 : me.split(",")) == null ? void 0 : Le.map((je) => ({
2499
+ }) : O.contents = (Ve = O.contents) == null ? void 0 : Ve.map((f, se) => {
2500
+ var Pe, k, Se, $e, dl, cl, pl, fl, tl, yl, ol, me, Le, vl, _l, Tl, xl, Al, g, J, De, gl, Nl, bl;
2501
+ return f.type = f != null && f.type ? f.type : ($e = (Se = (k = (Pe = f == null ? void 0 : f.key) == null ? void 0 : Pe.split("$")) == null ? void 0 : k[1]) == null ? void 0 : Se.split("(")) != null && $e[0] ? (cl = (dl = Sr) == null ? void 0 : dl.find((je) => {
2502
+ var Dl, be, U, v;
2503
+ return (je == null ? void 0 : je.key) === ((v = (U = (be = (Dl = f == null ? void 0 : f.key) == null ? void 0 : Dl.split("$")) == null ? void 0 : be[1]) == null ? void 0 : U.split("(")) == null ? void 0 : v[0]);
2504
+ })) == null ? void 0 : cl.value : "Input", f.options = f != null && f.options ? f.options : ((tl = (fl = (pl = f == null ? void 0 : f.key) == null ? void 0 : pl.split("$")) == null ? void 0 : fl[1]) == null ? void 0 : tl.length) > 0 ? (Le = (me = _r((ol = (yl = f == null ? void 0 : f.key) == null ? void 0 : yl.split("$")) == null ? void 0 : ol[1])) == null ? void 0 : me.split(",")) == null ? void 0 : Le.map((je) => ({
2505
2505
  label: je,
2506
2506
  value: je
2507
- })) : [], (gl = f == null ? void 0 : f.key) != null && gl.includes("$") && (f.key = (Tl = (_l = f == null ? void 0 : f.key) == null ? void 0 : _l.split("$")) == null ? void 0 : Tl[0]), ((g = (Al = (Cl = _e.value) == null ? void 0 : Cl.find((je) => (je == null ? void 0 : je.prop) === (f == null ? void 0 : f.prop))) == null ? void 0 : Al.optionUrl) == null ? void 0 : g.multiple) === !0 && !Array.isArray((J = Object.values(e)) == null ? void 0 : J[ue]) ? f.value = [(De = Object.values(e)) == null ? void 0 : De[ue]] : f.value = (bl = Object.values(e)) == null ? void 0 : bl[ue], f.optionUrl = f != null && f.formMenuSelect && ((wl = f == null ? void 0 : f.formMenuSelect) == null ? void 0 : wl.length) > 0 ? {
2508
- groupSelect: (kl = f == null ? void 0 : f.groupSelect) == null ? void 0 : kl.split(/[::]/).map((je) => je.trim()),
2507
+ })) : [], (vl = f == null ? void 0 : f.key) != null && vl.includes("$") && (f.key = (Tl = (_l = f == null ? void 0 : f.key) == null ? void 0 : _l.split("$")) == null ? void 0 : Tl[0]), ((g = (Al = (xl = _e.value) == null ? void 0 : xl.find((je) => (je == null ? void 0 : je.prop) === (f == null ? void 0 : f.prop))) == null ? void 0 : Al.optionUrl) == null ? void 0 : g.multiple) === !0 && !Array.isArray((J = Object.values(e)) == null ? void 0 : J[se]) ? f.value = [(De = Object.values(e)) == null ? void 0 : De[se]] : f.value = (gl = Object.values(e)) == null ? void 0 : gl[se], f.optionUrl = f != null && f.formMenuSelect && ((Nl = f == null ? void 0 : f.formMenuSelect) == null ? void 0 : Nl.length) > 0 ? {
2508
+ groupSelect: (bl = f == null ? void 0 : f.groupSelect) == null ? void 0 : bl.split(/[::]/).map((je) => je.trim()),
2509
2509
  menuSelect: f == null ? void 0 : f.formMenuSelect,
2510
2510
  selectRelateType: "",
2511
2511
  type: (f == null ? void 0 : f.formType) ?? (f != null && f.groupSelect ? "Select" : "")
2512
2512
  } : null, f;
2513
2513
  })), O;
2514
- }), r = _e.value, n = ($ = (L = I(a)) == null ? void 0 : L.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : $.contents;
2514
+ }), r = _e.value, n = ($ = (L = V(a)) == null ? void 0 : L.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : $.contents;
2515
2515
  if (n = n == null ? void 0 : n.filter((O) => (O == null ? void 0 : O.label) !== "操作"), n.push({
2516
2516
  label: "操作",
2517
2517
  type: "operate"
2518
2518
  }), r = r == null ? void 0 : r.map((O) => {
2519
- var le;
2520
- return O.value = O.value ?? ((le = n == null ? void 0 : n.find((Je, Be) => (Je == null ? void 0 : Je.prop) === (O == null ? void 0 : O.name))) == null ? void 0 : le.value), O;
2521
- }), !$a.value) return;
2522
- let o = "", d = I(Kl.value);
2523
- (w = Kl.value) != null && w.includes("·") && (Kl.value = (N = (S = Kl.value) == null ? void 0 : S.split("·")) == null ? void 0 : N[0]);
2524
- let u = (A = (E = (R = I(a)) == null ? void 0 : R.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : E.contents) == null ? void 0 : A.find((O, le) => {
2525
- var Je, Be, el;
2526
- return (O == null ? void 0 : O.prop) === Kl.value || (le == null ? void 0 : le.toString()) === ((el = (Be = (Je = Kl.value) == null ? void 0 : Je.split("a")) == null ? void 0 : Be[1]) == null ? void 0 : el.toString());
2527
- }), p = (D = u == null ? void 0 : u.optionUrl) == null ? void 0 : D.menuSelect, b = !0;
2528
- (t = (y = (i = I(a)) == null ? void 0 : i.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : y.contents) == null || t.forEach((O) => {
2529
- var le, Je, Be, el, f, ue;
2530
- b && ((Be = (Je = (le = O == null ? void 0 : O.optionUrl) == null ? void 0 : le.groupSelect) == null ? void 0 : Je[1]) != null && Be.includes("[")) && (o = (f = (el = O == null ? void 0 : O.optionUrl) == null ? void 0 : el.groupSelect) == null ? void 0 : f[1], JSON.stringify(p) === JSON.stringify((ue = O == null ? void 0 : O.optionUrl) == null ? void 0 : ue.menuSelect) && (b = !1));
2519
+ var Q;
2520
+ return O.value = O.value ?? ((Q = n == null ? void 0 : n.find((ze, Be) => (ze == null ? void 0 : ze.prop) === (O == null ? void 0 : O.name))) == null ? void 0 : Q.value), O;
2521
+ }), !Na.value) return;
2522
+ let o = "", d = V(zl.value);
2523
+ (w = zl.value) != null && w.includes("·") && (zl.value = (N = (S = zl.value) == null ? void 0 : S.split("·")) == null ? void 0 : N[0]);
2524
+ let s = (A = (E = (R = V(a)) == null ? void 0 : R.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : E.contents) == null ? void 0 : A.find((O, Q) => {
2525
+ var ze, Be, Ve;
2526
+ return (O == null ? void 0 : O.prop) === zl.value || (Q == null ? void 0 : Q.toString()) === ((Ve = (Be = (ze = zl.value) == null ? void 0 : ze.split("a")) == null ? void 0 : Be[1]) == null ? void 0 : Ve.toString());
2527
+ }), p = (D = s == null ? void 0 : s.optionUrl) == null ? void 0 : D.menuSelect, b = !0;
2528
+ (t = (y = (i = V(a)) == null ? void 0 : i.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : y.contents) == null || t.forEach((O) => {
2529
+ var ze, Be, Ve, f, se, Pe, k;
2530
+ let Q = (Be = (ze = O == null ? void 0 : O.optionUrl) == null ? void 0 : ze.groupSelect) == null ? void 0 : Be[1];
2531
+ !Q && !Array.isArray((Ve = O == null ? void 0 : O.optionUrl) == null ? void 0 : Ve.groupSelect) && (Q = (Pe = (se = (f = O == null ? void 0 : O.optionUrl) == null ? void 0 : f.groupSelect) == null ? void 0 : se.split(":")) == null ? void 0 : Pe[1]), b && (Q != null && Q.includes("[")) && (o = Q, JSON.stringify(p) === JSON.stringify((k = O == null ? void 0 : O.optionUrl) == null ? void 0 : k.menuSelect) && (b = !1));
2531
2532
  });
2532
- let T = I(r), h = Z.value;
2533
- h != null && h.find((O) => (u == null ? void 0 : u.prop) === (O == null ? void 0 : O.key)) && (h = h == null ? void 0 : h.filter((O) => (u == null ? void 0 : u.prop) !== (O == null ? void 0 : O.key))), h != null && h.find((O) => d === (O == null ? void 0 : O.key)) && (h = h == null ? void 0 : h.filter((O) => d !== (O == null ? void 0 : O.key))), T = T == null ? void 0 : T.map((O) => {
2534
- var le, Je, Be, el, f, ue, Fe, k, Se;
2535
- return (O == null ? void 0 : O.type) === "Select" && (((Je = (le = O == null ? void 0 : O.optionUrl) == null ? void 0 : le.allSelectionContents) == null ? void 0 : Je.length) > 0 && (O.optionUrl.contactValue = e), ((u == null ? void 0 : u.prop) === (O == null ? void 0 : O.prop) || d === (O == null ? void 0 : O.prop)) && u && (Array.isArray(u.value) && ((Be = u.value) == null ? void 0 : Be.length) > 0 && ((el = u.value) != null && el.every((Pe) => typeof Pe == "string")) ? (h.push({
2533
+ let T = V(r), h = Y.value;
2534
+ h != null && h.find((O) => (s == null ? void 0 : s.prop) === (O == null ? void 0 : O.key)) && (h = h == null ? void 0 : h.filter((O) => (s == null ? void 0 : s.prop) !== (O == null ? void 0 : O.key))), h != null && h.find((O) => d === (O == null ? void 0 : O.key)) && (h = h == null ? void 0 : h.filter((O) => d !== (O == null ? void 0 : O.key))), T = T == null ? void 0 : T.map((O) => {
2535
+ var Q, ze, Be, Ve, f, se, Pe, k, Se;
2536
+ return (O == null ? void 0 : O.type) === "Select" && (((ze = (Q = O == null ? void 0 : O.optionUrl) == null ? void 0 : Q.allSelectionContents) == null ? void 0 : ze.length) > 0 && (O.optionUrl.contactValue = e), ((s == null ? void 0 : s.prop) === (O == null ? void 0 : O.prop) || d === (O == null ? void 0 : O.prop)) && s && (Array.isArray(s.value) && ((Be = s.value) == null ? void 0 : Be.length) > 0 && ((Ve = s.value) != null && Ve.every(($e) => typeof $e == "string")) ? (h.push({
2536
2537
  key: O == null ? void 0 : O.prop,
2537
- value: [(ue = u.value) == null ? void 0 : ue[((f = u.value) == null ? void 0 : f.length) - 1]]
2538
- }), O.selectValue = (Fe = h == null ? void 0 : h.find((Pe) => (Pe == null ? void 0 : Pe.key) === (O == null ? void 0 : O.prop))) == null ? void 0 : Fe.value) : Array.isArray(u.value) && ((k = u.value) == null ? void 0 : k.length) === 0 ? (h = [], O.selectValue = [], e[O == null ? void 0 : O.prop] = "") : Array.isArray(O.value) && h.push({
2538
+ value: [(se = s.value) == null ? void 0 : se[((f = s.value) == null ? void 0 : f.length) - 1]]
2539
+ }), O.selectValue = (Pe = h == null ? void 0 : h.find(($e) => ($e == null ? void 0 : $e.key) === (O == null ? void 0 : O.prop))) == null ? void 0 : Pe.value) : Array.isArray(s.value) && ((k = s.value) == null ? void 0 : k.length) === 0 ? (h = [], O.selectValue = [], e[O == null ? void 0 : O.prop] = "") : Array.isArray(O.value) && h.push({
2539
2540
  key: O == null ? void 0 : O.prop,
2540
2541
  value: [(Se = O.value) == null ? void 0 : Se[(O == null ? void 0 : O.length) - 1]]
2541
2542
  }))), O.value = e == null ? void 0 : e[O == null ? void 0 : O.prop], O;
2542
- }), Z.value = h, _e.value = I(T);
2543
- let m = (u == null ? void 0 : u.menuId) ?? ((W = (j = (B = _e.value) == null ? void 0 : B.find((O) => {
2544
- var le;
2545
- return (le = O == null ? void 0 : O.optionUrl) == null ? void 0 : le.menuId;
2543
+ }), Y.value = h, _e.value = V(T);
2544
+ let m = (s == null ? void 0 : s.menuId) ?? ((W = (j = (B = _e.value) == null ? void 0 : B.find((O) => {
2545
+ var Q;
2546
+ return (Q = O == null ? void 0 : O.optionUrl) == null ? void 0 : Q.menuId;
2546
2547
  })) == null ? void 0 : j.optionUrl) == null ? void 0 : W.menuId);
2547
- if ((c = u == null ? void 0 : u.optionUrl) != null && c.menuSelect && $a.value || m) {
2548
- let O = await _r(u, m), le;
2548
+ if ((c = s == null ? void 0 : s.optionUrl) != null && c.menuSelect && Na.value || m) {
2549
+ let O = await Tr(s, m), Q;
2549
2550
  if (O == null || O.forEach((f) => {
2550
- var ue, Fe, k, Se, Pe, cl, pl, fl, tl, yl, hl, dl, me, Le, gl, _l, Tl, Cl, Al, g, J, De, bl, wl, kl, je, xl;
2551
- if (!m && o === ((Fe = (ue = u == null ? void 0 : u.optionUrl) == null ? void 0 : ue.groupSelect) == null ? void 0 : Fe[1]) && ((Pe = (Se = (k = u == null ? void 0 : u.optionUrl) == null ? void 0 : k.groupSelect) == null ? void 0 : Se[1]) != null && Pe.includes("[")) && ((yl = I(f)) == null ? void 0 : yl[(tl = (fl = (pl = (cl = u == null ? void 0 : u.optionUrl) == null ? void 0 : cl.groupSelect) == null ? void 0 : pl[1]) == null ? void 0 : fl.replaceAll("[", "")) == null ? void 0 : tl.replaceAll("]", "")]) === (u == null ? void 0 : u.value) && (le = f), m) {
2552
- let be = (dl = (hl = _e.value) == null ? void 0 : hl.find((pe) => {
2551
+ var se, Pe, k, Se, $e, dl, cl, pl, fl, tl, yl, ol, me, Le, vl, _l, Tl, xl, Al, g, J, De, gl, Nl, bl, je, Dl;
2552
+ if (!m && o === ((Pe = (se = s == null ? void 0 : s.optionUrl) == null ? void 0 : se.groupSelect) == null ? void 0 : Pe[1]) && (($e = (Se = (k = s == null ? void 0 : s.optionUrl) == null ? void 0 : k.groupSelect) == null ? void 0 : Se[1]) != null && $e.includes("[")) && ((tl = V(f)) == null ? void 0 : tl[(fl = (pl = (cl = (dl = s == null ? void 0 : s.optionUrl) == null ? void 0 : dl.groupSelect) == null ? void 0 : cl[1]) == null ? void 0 : pl.replaceAll("[", "")) == null ? void 0 : fl.replaceAll("]", "")]) === (s == null ? void 0 : s.value) && (Q = f), m) {
2553
+ let be = (ol = (yl = _e.value) == null ? void 0 : yl.find((pe) => {
2553
2554
  var Te;
2554
- return (u == null ? void 0 : u.menuId) === ((Te = pe == null ? void 0 : pe.optionUrl) == null ? void 0 : Te.menuId);
2555
- })) == null ? void 0 : dl.prop, U = e[be];
2555
+ return (s == null ? void 0 : s.menuId) === ((Te = pe == null ? void 0 : pe.optionUrl) == null ? void 0 : Te.menuId);
2556
+ })) == null ? void 0 : ol.prop, U = e[be];
2556
2557
  if (be != null && be.includes("·"))
2557
2558
  if (!Array.isArray(e[be]))
2558
- U = (Le = (me = e[be]) == null ? void 0 : me.split(" ")) == null ? void 0 : Le[0], be = (gl = be == null ? void 0 : be.split("·")) == null ? void 0 : gl[0];
2559
+ U = (Le = (me = e[be]) == null ? void 0 : me.split(" ")) == null ? void 0 : Le[0], be = (vl = be == null ? void 0 : be.split("·")) == null ? void 0 : vl[0];
2559
2560
  else {
2560
2561
  be = (_l = be == null ? void 0 : be.split("·")) == null ? void 0 : _l[0];
2561
- let pe = (Cl = (Tl = T == null ? void 0 : T.find((Te) => (Te == null ? void 0 : Te.prop) === be)) == null ? void 0 : Tl.selectValue) == null ? void 0 : Cl[0];
2562
+ let pe = (xl = (Tl = T == null ? void 0 : T.find((Te) => (Te == null ? void 0 : Te.prop) === be)) == null ? void 0 : Tl.selectValue) == null ? void 0 : xl[0];
2562
2563
  U = (Al = pe == null ? void 0 : pe.split(" ")) == null ? void 0 : Al[0];
2563
2564
  }
2564
2565
  let v = (J = (g = T == null ? void 0 : T.find((pe) => {
2565
2566
  var Te;
2566
2567
  return (pe == null ? void 0 : pe.prop) === be || ((Te = pe == null ? void 0 : pe.prop) == null ? void 0 : Te.includes("." + be));
2567
2568
  })) == null ? void 0 : g.selectValue) == null ? void 0 : J[0];
2568
- if (be != null && be.includes(".") && !f[be] && (be = (bl = be == null ? void 0 : be.split(".")) == null ? void 0 : bl[((De = be == null ? void 0 : be.split(".")) == null ? void 0 : De.length) - 1]), Array.isArray(U) && !v && (v = U == null ? void 0 : U[0]), f[be] === (Array.isArray(U) ? v : U) && (u == null ? void 0 : u.directiveLabel) === "#isMain") {
2569
+ if (be != null && be.includes(".") && !f[be] && (be = (gl = be == null ? void 0 : be.split(".")) == null ? void 0 : gl[((De = be == null ? void 0 : be.split(".")) == null ? void 0 : De.length) - 1]), Array.isArray(U) && !v && (v = U == null ? void 0 : U[0]), f[be] === (Array.isArray(U) ? v : U) && (s == null ? void 0 : s.directiveLabel) === "#isMain") {
2569
2570
  if (d != null && d.includes("·")) {
2570
- let pe = d == null ? void 0 : d.split("·"), Te = (xl = (je = (kl = Array.isArray(e == null ? void 0 : e[d]) ? (wl = e == null ? void 0 : e[d]) == null ? void 0 : wl[0] : e == null ? void 0 : e[d]) == null ? void 0 : kl.split(" ")) == null ? void 0 : je.filter((Ee) => Ee && Ee !== "")) == null ? void 0 : xl.map((Ee) => Ee == null ? void 0 : Ee.trim());
2571
- pe == null || pe.forEach((Ee, ll) => {
2572
- f[Ee] = Te == null ? void 0 : Te[ll];
2571
+ let pe = d == null ? void 0 : d.split("·"), Te = (Dl = (je = (bl = Array.isArray(e == null ? void 0 : e[d]) ? (Nl = e == null ? void 0 : e[d]) == null ? void 0 : Nl[0] : e == null ? void 0 : e[d]) == null ? void 0 : bl.split(" ")) == null ? void 0 : je.filter((Ee) => Ee && Ee !== "")) == null ? void 0 : Dl.map((Ee) => Ee == null ? void 0 : Ee.trim());
2572
+ pe == null || pe.forEach((Ee, el) => {
2573
+ f[Ee] = Te == null ? void 0 : Te[el];
2573
2574
  });
2574
2575
  }
2575
- le = f;
2576
+ Q = f;
2576
2577
  }
2577
2578
  }
2578
- }), Dl.value && (u == null ? void 0 : u.directiveLabel) === "#isMain" && (rl.value = []), !le) {
2579
- if (Dl.value && (u == null ? void 0 : u.directiveLabel) === "#isMain")
2579
+ }), Ul.value && (s == null ? void 0 : s.directiveLabel) === "#isMain" && (al.value = []), !Q) {
2580
+ if (Ul.value && (s == null ? void 0 : s.directiveLabel) === "#isMain")
2580
2581
  if (d != null && d.includes("·")) {
2581
- let f = e, ue = (M = (de = (x = e == null ? void 0 : e[d]) == null ? void 0 : x.split(" ")) == null ? void 0 : de.filter((k) => k && k !== "")) == null ? void 0 : M.map((k) => k == null ? void 0 : k.trim());
2582
+ let f = e, se = (M = (de = (x = e == null ? void 0 : e[d]) == null ? void 0 : x.split(" ")) == null ? void 0 : de.filter((k) => k && k !== "")) == null ? void 0 : M.map((k) => k == null ? void 0 : k.trim());
2582
2583
  (_ = d == null ? void 0 : d.split("·")) == null || _.forEach((k, Se) => {
2583
- f[k] = ue[Se];
2584
+ f[k] = se[Se];
2584
2585
  });
2585
- let Fe = (P = _e.value) == null ? void 0 : P.find((k) => (k == null ? void 0 : k.prop) === d);
2586
- f[Fe.prop] = [Fe.value], le = f;
2586
+ let Pe = (P = _e.value) == null ? void 0 : P.find((k) => (k == null ? void 0 : k.prop) === d);
2587
+ f[Pe.prop] = [Pe.value], Q = f;
2587
2588
  } else {
2588
- let f = (ne = _e.value) == null ? void 0 : ne.find((ue) => (ue == null ? void 0 : ue.prop) === (u == null ? void 0 : u.prop));
2589
- e[f.prop] = [f.value], le = e;
2589
+ let f = (ne = _e.value) == null ? void 0 : ne.find((se) => (se == null ? void 0 : se.prop) === (s == null ? void 0 : s.prop));
2590
+ e[f.prop] = [f.value], Q = e;
2590
2591
  }
2591
- else if ((u == null ? void 0 : u.directiveLabel) === "#isMain") {
2592
+ else if ((s == null ? void 0 : s.directiveLabel) === "#isMain") {
2592
2593
  let f = {};
2593
- (ae = _e.value) == null || ae.forEach((ue) => {
2594
- var Fe, k;
2595
- (ue == null ? void 0 : ue.prop) === d ? f[ue.prop] = (Fe = ue == null ? void 0 : ue.selectValue) != null && Fe[0] ? [(k = ue == null ? void 0 : ue.selectValue) == null ? void 0 : k[0]] : "" : f[ue.prop] = "";
2596
- }), le = f;
2594
+ (ae = _e.value) == null || ae.forEach((se) => {
2595
+ var Pe, k;
2596
+ (se == null ? void 0 : se.prop) === d ? f[se.prop] = (Pe = se == null ? void 0 : se.selectValue) != null && Pe[0] ? [(k = se == null ? void 0 : se.selectValue) == null ? void 0 : k[0]] : "" : f[se.prop] = "";
2597
+ }), Q = f;
2597
2598
  }
2598
2599
  }
2599
- if (le) {
2600
- let f = I(r);
2600
+ if (Q) {
2601
+ let f = V(r);
2601
2602
  f = f == null ? void 0 : f.map((k) => {
2602
- var Pe, cl, pl, fl, tl, yl, hl, dl, me, Le, gl, _l, Tl, Cl, Al, g, J, De, bl, wl, kl, je, xl, be, U, v, pe, Te, Ee, ll, We, Xl, la, aa, Oe;
2603
- (le != null && le[k == null ? void 0 : k.prop] || le != null && le[(fl = (pl = (cl = (Pe = k == null ? void 0 : k.optionUrl) == null ? void 0 : Pe.groupSelect) == null ? void 0 : cl[1]) == null ? void 0 : pl.replaceAll("[", "")) == null ? void 0 : fl.replaceAll("]", "")]) && ((hl = (yl = (tl = k == null ? void 0 : k.optionUrl) == null ? void 0 : tl.groupSelect) == null ? void 0 : yl[1]) != null && hl.includes("[")) && (k != null && k.relatedValueId) && (k.value = (le == null ? void 0 : le[k == null ? void 0 : k.prop]) || (le == null ? void 0 : le[(gl = (Le = (me = (dl = k == null ? void 0 : k.optionUrl) == null ? void 0 : dl.groupSelect) == null ? void 0 : me[1]) == null ? void 0 : Le.replaceAll("[", "")) == null ? void 0 : gl.replaceAll("]", "")]));
2604
- let Se = le == null ? void 0 : le[k == null ? void 0 : k.prop];
2605
- return (_l = k == null ? void 0 : k.prop) != null && _l.includes(".") && !Se && ((Cl = (Tl = u == null ? void 0 : u.prop) == null ? void 0 : Tl.split(".")) == null ? void 0 : Cl[0]) === ((g = (Al = k == null ? void 0 : k.prop) == null ? void 0 : Al.split(".")) == null ? void 0 : g[0]) && (Se = (le == null ? void 0 : le[(wl = (J = k == null ? void 0 : k.prop) == null ? void 0 : J.split(".")) == null ? void 0 : wl[((bl = (De = k == null ? void 0 : k.prop) == null ? void 0 : De.split(".")) == null ? void 0 : bl.length) - 1]]) ?? (le == null ? void 0 : le[k == null ? void 0 : k.prop])), m && (Se || Se === "") && (k != null && k.relatedValueId) && Ul.value === "新增" && ((k == null ? void 0 : k.prop) !== (u == null ? void 0 : u.prop) || d != null && d.includes((u == null ? void 0 : u.prop) + "·") || d != null && d.includes("·" + (k == null ? void 0 : k.prop))) ? k.value = Se ?? (le == null ? void 0 : le[(be = (xl = (je = (kl = k == null ? void 0 : k.optionUrl) == null ? void 0 : kl.groupSelect) == null ? void 0 : je[1]) == null ? void 0 : xl.replaceAll("[", "")) == null ? void 0 : be.replaceAll("]", "")]) : (d != null && d.includes("·" + (k == null ? void 0 : k.prop)) || d != null && d.includes(".")) && (k == null ? void 0 : k.prop) !== (u == null ? void 0 : u.prop) && !Array.isArray((v = (U = _e.value) == null ? void 0 : U.find((Ne) => (Ne == null ? void 0 : Ne.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : v.value) ? k.value = Se ?? "" : ((pe = k == null ? void 0 : k.optionUrl) == null ? void 0 : pe.multiple) === !0 && !Array.isArray((Ee = (Te = _e.value) == null ? void 0 : Te.find((Ne) => (Ne == null ? void 0 : Ne.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : Ee.value) ? k.value = ((We = (ll = _e.value) == null ? void 0 : ll.find((Ne) => (Ne == null ? void 0 : Ne.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : We.value) === "" ? [] : [(la = (Xl = _e.value) == null ? void 0 : Xl.find((Ne) => (Ne == null ? void 0 : Ne.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : la.value] : k.value = (Oe = (aa = _e.value) == null ? void 0 : aa.find((Ne) => (Ne == null ? void 0 : Ne.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : Oe.value, k;
2606
- }), _e.value = I(f);
2607
- let ue = I(f);
2608
- ue = ue == null ? void 0 : ue.map((k) => {
2609
- var Se, Pe, cl, pl, fl, tl, yl, hl, dl;
2610
- return (Pe = (Se = k == null ? void 0 : k.optionUrl) == null ? void 0 : Se.menuSelect) != null && Pe.some((me) => me == null ? void 0 : me.includes("[")) && (k.optionUrl.oldMenuSelect = (pl = (cl = I(k)) == null ? void 0 : cl.optionUrl) == null ? void 0 : pl.menuSelect, k.optionUrl.menuSelect = (tl = (fl = k == null ? void 0 : k.optionUrl) == null ? void 0 : fl.menuSelect) == null ? void 0 : tl.map((me) => {
2611
- var Le, gl, _l, Tl;
2603
+ var $e, dl, cl, pl, fl, tl, yl, ol, me, Le, vl, _l, Tl, xl, Al, g, J, De, gl, Nl, bl, je, Dl, be, U, v, pe, Te, Ee, el, Je, Yl, ra, na, Oe, jl, Jl, sa, ml, oa, Ir, Vr, en, ln;
2604
+ if ((($e = k == null ? void 0 : k.prop) != null && $e.includes(".") && (Q != null && Q[(fl = (dl = k == null ? void 0 : k.prop) == null ? void 0 : dl.split(".")) == null ? void 0 : fl[((pl = (cl = k == null ? void 0 : k.prop) == null ? void 0 : cl.split(".")) == null ? void 0 : pl.length) - 1]]) || Q != null && Q[k == null ? void 0 : k.prop] || Q != null && Q[(me = (ol = (yl = (tl = k == null ? void 0 : k.optionUrl) == null ? void 0 : tl.groupSelect) == null ? void 0 : yl[1]) == null ? void 0 : ol.replaceAll("[", "")) == null ? void 0 : me.replaceAll("]", "")]) && ((_l = (vl = (Le = k == null ? void 0 : k.optionUrl) == null ? void 0 : Le.groupSelect) == null ? void 0 : vl[1]) != null && _l.includes("[")) && !(k != null && k.relatedValueId))
2605
+ return k.value = (Q == null ? void 0 : Q[k == null ? void 0 : k.prop]) ?? (Q == null ? void 0 : Q[(g = (Tl = k == null ? void 0 : k.prop) == null ? void 0 : Tl.split(".")) == null ? void 0 : g[((Al = (xl = k == null ? void 0 : k.prop) == null ? void 0 : xl.split(".")) == null ? void 0 : Al.length) - 1]]) ?? (Q == null ? void 0 : Q[(Nl = (gl = (De = (J = k == null ? void 0 : k.optionUrl) == null ? void 0 : J.groupSelect) == null ? void 0 : De[1]) == null ? void 0 : gl.replaceAll("[", "")) == null ? void 0 : Nl.replaceAll("]", "")]), k;
2606
+ let Se = Q == null ? void 0 : Q[k == null ? void 0 : k.prop];
2607
+ return (bl = k == null ? void 0 : k.prop) != null && bl.includes(".") && !Se && ((Dl = (je = s == null ? void 0 : s.prop) == null ? void 0 : je.split(".")) == null ? void 0 : Dl[0]) === ((U = (be = k == null ? void 0 : k.prop) == null ? void 0 : be.split(".")) == null ? void 0 : U[0]) && (Se = (Q == null ? void 0 : Q[(Ee = (v = k == null ? void 0 : k.prop) == null ? void 0 : v.split(".")) == null ? void 0 : Ee[((Te = (pe = k == null ? void 0 : k.prop) == null ? void 0 : pe.split(".")) == null ? void 0 : Te.length) - 1]]) ?? (Q == null ? void 0 : Q[k == null ? void 0 : k.prop])), m && (Se || Se === "") && (k != null && k.relatedValueId) && El.value === "新增" && ((k == null ? void 0 : k.prop) !== (s == null ? void 0 : s.prop) || d != null && d.includes((s == null ? void 0 : s.prop) + "·") || d != null && d.includes("·" + (k == null ? void 0 : k.prop))) ? k.value = Se ?? (Q == null ? void 0 : Q[(ra = (Yl = (Je = (el = k == null ? void 0 : k.optionUrl) == null ? void 0 : el.groupSelect) == null ? void 0 : Je[1]) == null ? void 0 : Yl.replaceAll("[", "")) == null ? void 0 : ra.replaceAll("]", "")]) : (d != null && d.includes("·" + (k == null ? void 0 : k.prop)) || d != null && d.includes(".")) && (k == null ? void 0 : k.prop) !== (s == null ? void 0 : s.prop) && !Array.isArray((Oe = (na = _e.value) == null ? void 0 : na.find((kl) => (kl == null ? void 0 : kl.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : Oe.value) ? k.value = Se ?? "" : ((jl = k == null ? void 0 : k.optionUrl) == null ? void 0 : jl.multiple) === !0 && !Array.isArray((sa = (Jl = _e.value) == null ? void 0 : Jl.find((kl) => (kl == null ? void 0 : kl.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : sa.value) ? k.value = ((oa = (ml = _e.value) == null ? void 0 : ml.find((kl) => (kl == null ? void 0 : kl.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : oa.value) === "" ? [] : [(Vr = (Ir = _e.value) == null ? void 0 : Ir.find((kl) => (kl == null ? void 0 : kl.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : Vr.value] : k.value = (ln = (en = _e.value) == null ? void 0 : en.find((kl) => (kl == null ? void 0 : kl.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : ln.value, k;
2608
+ }), _e.value = V(f);
2609
+ let se = V(f);
2610
+ se = se == null ? void 0 : se.map((k) => {
2611
+ var Se, $e, dl, cl, pl, fl, tl, yl, ol;
2612
+ return ($e = (Se = k == null ? void 0 : k.optionUrl) == null ? void 0 : Se.menuSelect) != null && $e.some((me) => me == null ? void 0 : me.includes("[")) && (k.optionUrl.oldMenuSelect = (cl = (dl = V(k)) == null ? void 0 : dl.optionUrl) == null ? void 0 : cl.menuSelect, k.optionUrl.menuSelect = (fl = (pl = k == null ? void 0 : k.optionUrl) == null ? void 0 : pl.menuSelect) == null ? void 0 : fl.map((me) => {
2613
+ var Le, vl, _l, Tl;
2612
2614
  if (me != null && me.includes("[")) {
2613
- let Cl = (gl = (Le = me == null ? void 0 : me.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Le.split(":")) == null ? void 0 : gl[1];
2614
- me = (Tl = (_l = I(f)) == null ? void 0 : _l.find((Al) => (Al == null ? void 0 : Al.label) === Cl)) == null ? void 0 : Tl.value;
2615
+ let xl = (vl = (Le = me == null ? void 0 : me.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Le.split(":")) == null ? void 0 : vl[1];
2616
+ me = (Tl = (_l = V(f)) == null ? void 0 : _l.find((Al) => (Al == null ? void 0 : Al.label) === xl)) == null ? void 0 : Tl.value;
2615
2617
  }
2616
2618
  return me;
2617
- })), ((u == null ? void 0 : u.prop) === (k == null ? void 0 : k.prop) || d === (k == null ? void 0 : k.prop)) && Array.isArray(u.value) && (yl = u.value) != null && yl.every((me) => typeof me == "string") && (k.selectValue = ((hl = h == null ? void 0 : h.find((me) => (me == null ? void 0 : me.key) === (k == null ? void 0 : k.prop))) == null ? void 0 : hl.value) ?? ((dl = k.value) == null ? void 0 : dl[0])), k;
2618
- }), _e.value = ue;
2619
- let Fe = {};
2620
- (ee = _e.value) == null || ee.forEach((k) => {
2621
- Fe[k.prop] = k == null ? void 0 : k.value;
2622
- }), ml.value = Fe;
2619
+ })), ((s == null ? void 0 : s.prop) === (k == null ? void 0 : k.prop) || d === (k == null ? void 0 : k.prop)) && Array.isArray(s.value) && (tl = s.value) != null && tl.every((me) => typeof me == "string") && (k.selectValue = ((yl = h == null ? void 0 : h.find((me) => (me == null ? void 0 : me.key) === (k == null ? void 0 : k.prop))) == null ? void 0 : yl.value) ?? ((ol = k.value) == null ? void 0 : ol[0])), k;
2620
+ }), _e.value = se;
2621
+ let Pe = {};
2622
+ (le = _e.value) == null || le.forEach((k) => {
2623
+ Pe[k.prop] = k == null ? void 0 : k.value;
2624
+ }), Ol.value = Pe;
2623
2625
  }
2624
- let Je = rl.value, Be = {};
2626
+ let ze = al.value, Be = {};
2625
2627
  (ke = _e.value) == null || ke.forEach((f) => {
2626
- var ue, Fe, k, Se, Pe, cl, pl, fl, tl, yl, hl;
2627
- if (((f == null ? void 0 : f.directiveLabel) === "#isMain" || (ue = f == null ? void 0 : f.optionUrl) != null && ue.menuId) && Array.isArray(f == null ? void 0 : f.value)) {
2628
- if (Be[f.prop] || (Be[f.prop] = (k = f.value) == null ? void 0 : k[((Fe = f.value) == null ? void 0 : Fe.length) - 1]), (Se = f == null ? void 0 : f.prop) != null && Se.includes("·")) {
2629
- let dl = (pl = (cl = (Pe = f == null ? void 0 : f.prop) == null ? void 0 : Pe.split("·")) == null ? void 0 : cl.filter((Le) => Le && Le !== "")) == null ? void 0 : pl.map((Le) => Le == null ? void 0 : Le.trim()), me = (hl = (yl = (tl = (fl = f == null ? void 0 : f.selectValue) == null ? void 0 : fl[0]) == null ? void 0 : tl.split(" ")) == null ? void 0 : yl.filter((Le) => Le && Le !== "")) == null ? void 0 : hl.map((Le) => Le == null ? void 0 : Le.trim());
2630
- dl == null || dl.forEach((Le, gl) => {
2631
- Be = Object.assign({}, Be, { [Le]: me == null ? void 0 : me[gl] });
2628
+ var se, Pe, k, Se, $e, dl, cl, pl, fl, tl, yl;
2629
+ if (((f == null ? void 0 : f.directiveLabel) === "#isMain" || (se = f == null ? void 0 : f.optionUrl) != null && se.menuId) && Array.isArray(f == null ? void 0 : f.value)) {
2630
+ if (Be[f.prop] || (Be[f.prop] = (k = f.value) == null ? void 0 : k[((Pe = f.value) == null ? void 0 : Pe.length) - 1]), (Se = f == null ? void 0 : f.prop) != null && Se.includes("·")) {
2631
+ let ol = (cl = (dl = ($e = f == null ? void 0 : f.prop) == null ? void 0 : $e.split("·")) == null ? void 0 : dl.filter((Le) => Le && Le !== "")) == null ? void 0 : cl.map((Le) => Le == null ? void 0 : Le.trim()), me = (yl = (tl = (fl = (pl = f == null ? void 0 : f.selectValue) == null ? void 0 : pl[0]) == null ? void 0 : fl.split(" ")) == null ? void 0 : tl.filter((Le) => Le && Le !== "")) == null ? void 0 : yl.map((Le) => Le == null ? void 0 : Le.trim());
2632
+ ol == null || ol.forEach((Le, vl) => {
2633
+ Be = Object.assign({}, Be, { [Le]: me == null ? void 0 : me[vl] });
2632
2634
  });
2633
2635
  }
2634
2636
  } else
2635
2637
  Be[f.prop] = (Be == null ? void 0 : Be[f == null ? void 0 : f.prop]) ?? f.value;
2636
2638
  });
2637
- let el = (Ue = _e.value) == null ? void 0 : Ue.find((f) => {
2638
- var ue;
2639
- return (f == null ? void 0 : f.directiveLabel) === "#isMain" || ((ue = f == null ? void 0 : f.optionUrl) == null ? void 0 : ue.menuId);
2639
+ let Ve = (Ue = _e.value) == null ? void 0 : Ue.find((f) => {
2640
+ var se;
2641
+ return (f == null ? void 0 : f.directiveLabel) === "#isMain" || ((se = f == null ? void 0 : f.optionUrl) == null ? void 0 : se.menuId);
2640
2642
  });
2641
- (u == null ? void 0 : u.directiveLabel) === "#isMain" && ((se = u == null ? void 0 : u.value) == null ? void 0 : se[((H = u == null ? void 0 : u.value) == null ? void 0 : H.length) - 1]) !== "" ? Je.push({
2642
- label: u == null ? void 0 : u.prop,
2643
- value: (ce = u == null ? void 0 : u.value) == null ? void 0 : ce[((Me = u == null ? void 0 : u.value) == null ? void 0 : Me.length) - 1],
2643
+ (s == null ? void 0 : s.directiveLabel) === "#isMain" && ((ue = s == null ? void 0 : s.value) == null ? void 0 : ue[((H = s == null ? void 0 : s.value) == null ? void 0 : H.length) - 1]) !== "" ? ze.push({
2644
+ label: s == null ? void 0 : s.prop,
2645
+ value: (ce = s == null ? void 0 : s.value) == null ? void 0 : ce[((Me = s == null ? void 0 : s.value) == null ? void 0 : Me.length) - 1],
2644
2646
  objectValue: Be
2645
- }) : ((he = el == null ? void 0 : el.value) == null ? void 0 : he.length) > 0 && ((Qe = u == null ? void 0 : u.value) == null ? void 0 : Qe[((xe = u == null ? void 0 : u.value) == null ? void 0 : xe.length) - 1]) !== "" && (Je = Je == null ? void 0 : Je.map((f) => {
2646
- var ue;
2647
- return (f == null ? void 0 : f.value) === ((ue = el == null ? void 0 : el.selectValue) == null ? void 0 : ue[0]) && (f.objectValue = Be), f;
2648
- })), rl.value = Je;
2647
+ }) : ((he = Ve == null ? void 0 : Ve.value) == null ? void 0 : he.length) > 0 && ((He = s == null ? void 0 : s.value) == null ? void 0 : He[((xe = s == null ? void 0 : s.value) == null ? void 0 : xe.length) - 1]) !== "" && (ze = ze == null ? void 0 : ze.map((f) => {
2648
+ var se;
2649
+ return (f == null ? void 0 : f.value) === ((se = Ve == null ? void 0 : Ve.selectValue) == null ? void 0 : se[0]) && (f.objectValue = Be), f;
2650
+ })), al.value = ze;
2649
2651
  }
2650
- $a.value = !0, Dl.value = !1;
2651
- }, Uu = (e) => e ? (e == null ? void 0 : e.toUpperCase()) === "INPUT" ? "TEXTAREA" : e : "TEXTAREA", Eu = (e) => {
2652
+ Na.value = !0, Ul.value = !1;
2653
+ }, $s = (e) => e ? (e == null ? void 0 : e.toUpperCase()) === "INPUT" ? "TEXTAREA" : e : "TEXTAREA", ws = (e) => {
2652
2654
  var o, d;
2653
- const l = (d = (o = Rl.value) == null ? void 0 : o.find((u) => (u == null ? void 0 : u.label) === (e == null ? void 0 : e.label))) == null ? void 0 : d.multiple, a = e == null ? void 0 : e.prop;
2655
+ const l = (d = (o = Ml.value) == null ? void 0 : o.find((s) => (s == null ? void 0 : s.label) === (e == null ? void 0 : e.label))) == null ? void 0 : d.multiple, a = e == null ? void 0 : e.prop;
2654
2656
  if ((e == null ? void 0 : e.formType) != "Select")
2655
2657
  return;
2656
- Y.value.forEach((u) => {
2657
- const p = u == null ? void 0 : u[a];
2658
- l && pn(p) && (u[a] = [p]), !l && !pn(p) && (u[a] = "");
2658
+ I.value.forEach((s) => {
2659
+ const p = s == null ? void 0 : s[a];
2660
+ l && vn(p) && (s[a] = [p]), !l && !vn(p) && (s[a] = "");
2659
2661
  });
2660
- }, Wr = (e, l) => {
2662
+ }, qr = (e, l) => {
2661
2663
  var a;
2662
2664
  return l == null || l.forEach((r) => {
2663
2665
  e[r == null ? void 0 : r.prop] = r == null ? void 0 : r.value;
2664
- }), e.children && ((a = e.children) == null ? void 0 : a.length) > 0 && (e.children = e.children.map((r) => Wr(r, l))), e;
2665
- }, vr = (e) => {
2666
- var a, r, n, o, d, u;
2667
- Ma("");
2666
+ }), e.children && ((a = e.children) == null ? void 0 : a.length) > 0 && (e.children = e.children.map((r) => qr(r, l))), e;
2667
+ }, gr = (e) => {
2668
+ var a, r, n, o, d, s;
2669
+ Fa("");
2668
2670
  const l = (a = _e.value) == null ? void 0 : a.reduce((p, b) => (p[b.name] = b.value, p), {});
2669
2671
  if (((r = Object.keys(l)) == null ? void 0 : r.length) > 0) {
2670
- ml.value = l, Hl.value = "", ba.value = (n = Y.value) == null ? void 0 : n.length, Pl.value = (o = $l.value) == null ? void 0 : o.filter((b) => (b == null ? void 0 : b.label) !== "新增");
2671
- const p = (u = (d = Ye.value) == null ? void 0 : d.filter((b) => (b == null ? void 0 : b.label) !== "操作")) == null ? void 0 : u.map((b) => {
2672
+ Ol.value = l, Xl.value = "", Aa.value = (n = I.value) == null ? void 0 : n.length, $l.value = (o = wl.value) == null ? void 0 : o.filter((b) => (b == null ? void 0 : b.label) !== "新增");
2673
+ const p = (s = (d = Ze.value) == null ? void 0 : d.filter((b) => (b == null ? void 0 : b.label) !== "操作")) == null ? void 0 : s.map((b) => {
2672
2674
  var h, m, L;
2673
- const T = (m = (h = Rl.value) == null ? void 0 : h.find(($) => ($ == null ? void 0 : $.label) === (b == null ? void 0 : b.label))) == null ? void 0 : m.multiple;
2674
- return Eu(b), {
2675
+ const T = (m = (h = Ml.value) == null ? void 0 : h.find(($) => ($ == null ? void 0 : $.label) === (b == null ? void 0 : b.label))) == null ? void 0 : m.multiple;
2676
+ return ws(b), {
2675
2677
  ...b,
2676
2678
  contents: (b == null ? void 0 : b.options) ?? [],
2677
2679
  // type: 'edit',
@@ -2686,46 +2688,46 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2686
2688
  // columnType: convertColType(col?.formType) || col?.columnType
2687
2689
  };
2688
2690
  });
2689
- X.value = p == null ? void 0 : p.map((b) => Wr(b, [{
2691
+ Z.value = p == null ? void 0 : p.map((b) => qr(b, [{
2690
2692
  prop: "type",
2691
2693
  value: "edit"
2692
- }, { prop: "columnType", value: Uu(b == null ? void 0 : b.formType) || (b == null ? void 0 : b.columnType) }])), e === "createClick" && Ba(!1);
2694
+ }, { prop: "columnType", value: $s(b == null ? void 0 : b.formType) || (b == null ? void 0 : b.columnType) }])), e === "createClick" && Ka(!1);
2693
2695
  }
2694
- }, Aa = {
2696
+ }, ma = {
2695
2697
  START: "开始时间",
2696
2698
  END: "结束时间",
2697
2699
  HOURS: "工时"
2698
- }, ju = (e, l) => Number(un(l).diff(un(e), "day", !0).toFixed(1)), qr = (e) => {
2700
+ }, Ns = (e, l) => Number(pn(l).diff(pn(e), "day", !0).toFixed(1)), Gr = (e) => {
2699
2701
  var o;
2700
- const l = s.itemData, a = (o = l == null ? void 0 : l.find((d) => (d == null ? void 0 : d.key) === "header")) == null ? void 0 : o.contents, r = /* @__PURE__ */ new Map();
2701
- return a == null || a.forEach((d, u) => {
2702
+ const l = u.itemData, a = (o = l == null ? void 0 : l.find((d) => (d == null ? void 0 : d.key) === "header")) == null ? void 0 : o.contents, r = /* @__PURE__ */ new Map();
2703
+ return a == null || a.forEach((d, s) => {
2702
2704
  const { label: p } = d;
2703
- r.set(p, u);
2704
- }), !r.has(Aa.START) || !r.has(Aa.END) || !r.has(Aa.HOURS) ? e : e == null ? void 0 : e.map((d) => {
2705
- const u = d == null ? void 0 : d[Aa.START], p = d == null ? void 0 : d[Aa.END], b = ju(u, p);
2706
- return u && p && (d[Aa.HOURS] = `${b}天`), d;
2705
+ r.set(p, s);
2706
+ }), !r.has(ma.START) || !r.has(ma.END) || !r.has(ma.HOURS) ? e : e == null ? void 0 : e.map((d) => {
2707
+ const s = d == null ? void 0 : d[ma.START], p = d == null ? void 0 : d[ma.END], b = Ns(s, p);
2708
+ return s && p && (d[ma.HOURS] = `${b}天`), d;
2707
2709
  });
2708
- }, Gr = (e, l, a = 0) => {
2710
+ }, Hr = (e, l, a = 0) => {
2709
2711
  if (a > ((l == null ? void 0 : l.length) ?? "")) return e;
2710
2712
  const r = l == null ? void 0 : l[a], n = /* @__PURE__ */ new Map();
2711
2713
  for (const d of e) {
2712
- const u = d[r];
2713
- n.has(u) || n.set(u, []), n.get(u) && n.get(u).push(d);
2714
+ const s = d[r];
2715
+ n.has(s) || n.set(s, []), n.get(s) && n.get(s).push(d);
2714
2716
  }
2715
2717
  const o = [];
2716
- for (const [d, u] of n) {
2717
- const [p, ...b] = u, T = { ...p };
2718
- a + 1 === ((l == null ? void 0 : l.length) ?? "") ? T.children = u == null ? void 0 : u.map((h) => (h.level = I(a) + 1, h)).filter((h, m) => m !== 0) : b.length > 0 && (T.children = Gr(b, l, a + 1)), T.level = a, o.push(T);
2718
+ for (const [d, s] of n) {
2719
+ const [p, ...b] = s, T = { ...p };
2720
+ a + 1 === ((l == null ? void 0 : l.length) ?? "") ? T.children = s == null ? void 0 : s.map((h) => (h.level = V(a) + 1, h)).filter((h, m) => m !== 0) : b.length > 0 && (T.children = Hr(b, l, a + 1)), T.level = a, o.push(T);
2719
2721
  }
2720
2722
  return o;
2721
- }, Hr = (e, l, a) => {
2723
+ }, Qr = (e, l, a) => {
2722
2724
  var n;
2723
2725
  if (!(l != null && l.contents) || ((n = l == null ? void 0 : l.contents) == null ? void 0 : n.length) === 0)
2724
2726
  return e;
2725
2727
  let r = [];
2726
- return r = Gr(e, l == null ? void 0 : l.contents, 0), r;
2727
- }, Qr = (e, l) => {
2728
- var L, $, w, S, N, R, E, A, D, i, y, t, B, j, W, c, x, de, M, _, P, ne, ae, ee, ke, Ue, H, se, Me, ce, he, xe, Qe, O, le, Je, Be, el, f, ue, Fe, k, Se, Pe, cl, pl, fl, tl, yl, hl, dl, me, Le, gl, _l, Tl, Cl, Al;
2728
+ return r = Hr(e, l == null ? void 0 : l.contents, 0), r;
2729
+ }, Xr = (e, l) => {
2730
+ var L, $, w, S, N, R, E, A, D, i, y, t, B, j, W, c, x, de, M, _, P, ne, ae, le, ke, Ue, H, ue, Me, ce, he, xe, He, O, Q, ze, Be, Ve, f, se, Pe, k, Se, $e, dl, cl, pl, fl, tl, yl, ol, me, Le, vl, _l, Tl, xl, Al;
2729
2731
  const a = e == null ? void 0 : e.filter((g) => (g == null ? void 0 : g.key) === "header");
2730
2732
  e == null || e.filter((g) => (g == null ? void 0 : g.key) === "tableIndexColumn")[0];
2731
2733
  const r = e == null ? void 0 : e.filter((g) => (g == null ? void 0 : g.key) === "childTree")[0];
@@ -2735,30 +2737,30 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2735
2737
  g = (E = g == null ? void 0 : g.split(":")) == null ? void 0 : E[1], g = (A = g.slice(1, (g == null ? void 0 : g.length) - 1)) == null ? void 0 : A.split(","), n = !!(g != null && g.find((J) => J === "操作"));
2736
2738
  }
2737
2739
  let o = l;
2738
- const d = e == null ? void 0 : e.find((g) => (g == null ? void 0 : g.key) === "page"), u = e == null ? void 0 : e.find((g) => (g == null ? void 0 : g.key) === "rowButton"), p = e == null ? void 0 : e.find((g) => (g == null ? void 0 : g.key) === "extraButton"), b = e == null ? void 0 : e.filter((g) => (g == null ? void 0 : g.key) === "tableContents"), T = e == null ? void 0 : e.filter((g) => (g == null ? void 0 : g.key) === "tableIndex");
2739
- Rl.value = (i = (D = e == null ? void 0 : e.filter((g) => (g == null ? void 0 : g.key) === "tableToForm")) == null ? void 0 : D[0]) == null ? void 0 : i.contents, xr.value = (d == null ? void 0 : d.contents) ?? !0;
2740
+ const d = e == null ? void 0 : e.find((g) => (g == null ? void 0 : g.key) === "page"), s = e == null ? void 0 : e.find((g) => (g == null ? void 0 : g.key) === "rowButton"), p = e == null ? void 0 : e.find((g) => (g == null ? void 0 : g.key) === "extraButton"), b = e == null ? void 0 : e.filter((g) => (g == null ? void 0 : g.key) === "tableContents"), T = e == null ? void 0 : e.filter((g) => (g == null ? void 0 : g.key) === "tableIndex");
2741
+ Ml.value = (i = (D = e == null ? void 0 : e.filter((g) => (g == null ? void 0 : g.key) === "tableToForm")) == null ? void 0 : D[0]) == null ? void 0 : i.contents, Dr.value = (d == null ? void 0 : d.contents) ?? !0;
2740
2742
  let h = [];
2741
- ca.value === "" ? h = a == null ? void 0 : a[0] : h = (a == null ? void 0 : a.find((g) => (g == null ? void 0 : g.selectLabel) === "(" + ca.value + ")")) ?? (a == null ? void 0 : a.find((g) => !(g != null && g.selectLabel)));
2743
+ ta.value === "" ? h = a == null ? void 0 : a[0] : h = (a == null ? void 0 : a.find((g) => (g == null ? void 0 : g.selectLabel) === "(" + ta.value + ")")) ?? (a == null ? void 0 : a.find((g) => !(g != null && g.selectLabel)));
2742
2744
  let m = [];
2743
- if (ca.value === "" ? m = T == null ? void 0 : T[0] : m = (T == null ? void 0 : T.find((g) => (g == null ? void 0 : g.selectLabel) === "(" + ca.value + ")")) ?? (T == null ? void 0 : T.find((g) => !(g != null && g.selectLabel))), ((y = h == null ? void 0 : h.contents) == null ? void 0 : y.length) > 0) {
2745
+ if (ta.value === "" ? m = T == null ? void 0 : T[0] : m = (T == null ? void 0 : T.find((g) => (g == null ? void 0 : g.selectLabel) === "(" + ta.value + ")")) ?? (T == null ? void 0 : T.find((g) => !(g != null && g.selectLabel))), ((y = h == null ? void 0 : h.contents) == null ? void 0 : y.length) > 0) {
2744
2746
  let g = [];
2745
2747
  if (h != null && h.contents.some((U) => Array.isArray(U) && (U == null ? void 0 : U.find((v) => v.children))))
2746
- Pa.value === "" ? g = (B = (t = an(h == null ? void 0 : h.contents, n, o)) == null ? void 0 : t[0]) == null ? void 0 : B.filter((U) => !Array.isArray(U)) : (Pa.value.split("-"), g = (j = an(h == null ? void 0 : h.contents, n, o)) == null ? void 0 : j[0]);
2748
+ wa.value === "" ? g = (B = (t = on(h == null ? void 0 : h.contents, n, o)) == null ? void 0 : t[0]) == null ? void 0 : B.filter((U) => !Array.isArray(U)) : (wa.value.split("-"), g = (j = on(h == null ? void 0 : h.contents, n, o)) == null ? void 0 : j[0]);
2747
2749
  else {
2748
2750
  let U = h != null && h.contents.some((v) => Array.isArray(v)) ? (W = h == null ? void 0 : h.contents) == null ? void 0 : W[0] : h == null ? void 0 : h.contents;
2749
2751
  U != null && U.find((v) => (v == null ? void 0 : v.label) === "操作") || U.push({
2750
2752
  label: "操作"
2751
2753
  }), U == null || U.forEach((v, pe) => {
2752
- var ll, We, Xl, la, aa;
2754
+ var el, Je, Yl, ra, na;
2753
2755
  let Te = "";
2754
- (We = (ll = ze.value) == null ? void 0 : ll.split("/")) == null || We.forEach((Oe) => {
2755
- var Ne, ua, _a;
2756
+ (Je = (el = Ke.value) == null ? void 0 : el.split("/")) == null || Je.forEach((Oe) => {
2757
+ var jl, Jl, sa;
2756
2758
  if (Oe !== "") {
2757
- let El = (_a = (ua = (Ne = Oe == null ? void 0 : Oe.split(ve + "updateLoading")) == null ? void 0 : Ne[0]) == null ? void 0 : ua.split(ve + "loading")) == null ? void 0 : _a[0];
2758
- Te = Te === "" ? Te + El : Te + "/" + El;
2759
+ let ml = (sa = (Jl = (jl = Oe == null ? void 0 : Oe.split(ve + "updateLoading")) == null ? void 0 : jl[0]) == null ? void 0 : Jl.split(ve + "loading")) == null ? void 0 : sa[0];
2760
+ Te = Te === "" ? Te + ml : Te + "/" + ml;
2759
2761
  }
2760
2762
  }), Te = Te + "/";
2761
- const Ee = (Xl = Rl.value) == null ? void 0 : Xl.find((Oe) => (Oe == null ? void 0 : Oe.prop) === (v == null ? void 0 : v.prop));
2763
+ const Ee = (Yl = Ml.value) == null ? void 0 : Yl.find((Oe) => (Oe == null ? void 0 : Oe.prop) === (v == null ? void 0 : v.prop));
2762
2764
  g.push({
2763
2765
  label: (v == null ? void 0 : v.label) === "操作" ? n ? "操作" : "" : (v == null ? void 0 : v.label) ?? "",
2764
2766
  prop: (v == null ? void 0 : v.label) === "操作" ? "operate" : (v == null ? void 0 : v.prop) ?? "a" + pe,
@@ -2784,13 +2786,13 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2784
2786
  value: (v == null ? void 0 : v.value) ?? "",
2785
2787
  formMenuSelect: (v == null ? void 0 : v.formMenuSelect) ?? [],
2786
2788
  isRoute: (v == null ? void 0 : v.isRoute) ?? !1,
2787
- groupSelect: v != null && v.groupSelect ? (la = v == null ? void 0 : v.groupSelect) == null ? void 0 : la.replaceAll('"', "").split(":") : [],
2789
+ groupSelect: v != null && v.groupSelect ? (ra = v == null ? void 0 : v.groupSelect) == null ? void 0 : ra.replaceAll('"', "").split(":") : [],
2788
2790
  isMainKey: (v == null ? void 0 : v.isMainKey) || (v == null ? void 0 : v.directiveLabel) === "#isMain",
2789
2791
  // 同步弹窗列类型到表格列类型
2790
2792
  columnType: (Ee == null ? void 0 : Ee.type) || (v == null ? void 0 : v.columnType) || "TEXTAREA",
2791
2793
  directiveLabel: v == null ? void 0 : v.directiveLabel,
2792
2794
  directiveColor: (v == null ? void 0 : v.directiveColor) ?? !1,
2793
- isExistChild: !!(v != null && v.directiveLabel && (o != null && o[Te]) && !((aa = v == null ? void 0 : v.directiveLabel) != null && aa.includes("@")) && (v == null ? void 0 : v.directiveLabel) === "#isMain"),
2795
+ isExistChild: !!(v != null && v.directiveLabel && (o != null && o[Te]) && !((na = v == null ? void 0 : v.directiveLabel) != null && na.includes("@")) && (v == null ? void 0 : v.directiveLabel) === "#isMain"),
2794
2796
  childPath: (v == null ? void 0 : v.directiveLabel) !== "#isMain" ? Te : void 0,
2795
2797
  allSelectionContents: (v == null ? void 0 : v.allSelectionContents) ?? [],
2796
2798
  selectFilter: v == null ? void 0 : v.selectFilter,
@@ -2800,16 +2802,16 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2800
2802
  });
2801
2803
  });
2802
2804
  }
2803
- X.value = rn(g), rr.value = rn(g), ie.value = (c = X.value) == null ? void 0 : c.map((U) => U == null ? void 0 : U.label), al.value = (x = X.value) == null ? void 0 : x.every((U) => U == null ? void 0 : U.filterable), ge.value = (de = X.value) == null ? void 0 : de.every((U) => U == null ? void 0 : U.operable), Ke.value = (M = X.value) == null ? void 0 : M.every((U) => U == null ? void 0 : U.sortable);
2804
- let J = (P = (_ = nn(X.value)) == null ? void 0 : _.filter((U) => (U == null ? void 0 : U.type) !== "operate")) == null ? void 0 : P.map((U, v) => ({
2805
+ Z.value = dn(g), nr.value = dn(g), ie.value = (c = Z.value) == null ? void 0 : c.map((U) => U == null ? void 0 : U.label), ll.value = (x = Z.value) == null ? void 0 : x.every((U) => U == null ? void 0 : U.filterable), ge.value = (de = Z.value) == null ? void 0 : de.every((U) => U == null ? void 0 : U.operable), Fe.value = (M = Z.value) == null ? void 0 : M.every((U) => U == null ? void 0 : U.sortable);
2806
+ let J = (P = (_ = cn(Z.value)) == null ? void 0 : _.filter((U) => (U == null ? void 0 : U.type) !== "operate")) == null ? void 0 : P.map((U, v) => ({
2805
2807
  prop: (U == null ? void 0 : U.prop) ?? "a" + v,
2806
2808
  column: U.label
2807
2809
  }));
2808
- Ml.value = J;
2810
+ Bl.value = J;
2809
2811
  let De = [];
2810
- ca.value === "" ? De = b == null ? void 0 : b[0] : De = (b == null ? void 0 : b.find((U) => (U == null ? void 0 : U.selectLabel) === "(" + ca.value + ")")) ?? (b == null ? void 0 : b.find((U) => !(U != null && U.selectLabel)));
2811
- let bl = Array.isArray((ne = De == null ? void 0 : De.contents) == null ? void 0 : ne[0]) && ((ae = De == null ? void 0 : De.contents) != null && ae[0].every((U) => Array.isArray(U))) ? (ee = De == null ? void 0 : De.contents) == null ? void 0 : ee[0] : De == null ? void 0 : De.contents;
2812
- m != null && m.contents && ((ke = m == null ? void 0 : m.contents) == null ? void 0 : ke.length) !== 0 && (bl = (Ue = I(bl)) == null ? void 0 : Ue.map((U, v) => {
2812
+ ta.value === "" ? De = b == null ? void 0 : b[0] : De = (b == null ? void 0 : b.find((U) => (U == null ? void 0 : U.selectLabel) === "(" + ta.value + ")")) ?? (b == null ? void 0 : b.find((U) => !(U != null && U.selectLabel)));
2813
+ let gl = Array.isArray((ne = De == null ? void 0 : De.contents) == null ? void 0 : ne[0]) && ((ae = De == null ? void 0 : De.contents) != null && ae[0].every((U) => Array.isArray(U))) ? (le = De == null ? void 0 : De.contents) == null ? void 0 : le[0] : De == null ? void 0 : De.contents;
2814
+ m != null && m.contents && ((ke = m == null ? void 0 : m.contents) == null ? void 0 : ke.length) !== 0 && (gl = (Ue = V(gl)) == null ? void 0 : Ue.map((U, v) => {
2813
2815
  if (!Array.isArray(U)) {
2814
2816
  let pe = {};
2815
2817
  for (let Te in U)
@@ -2818,95 +2820,95 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2818
2820
  }
2819
2821
  return U;
2820
2822
  }));
2821
- const wl = !!((H = X.value) != null && H.find((U) => U.prop === "index"));
2822
- bl = vn(bl, m == null ? void 0 : m.contents, wl);
2823
- const kl = [];
2824
- bl == null || bl.forEach((U, v) => {
2823
+ const Nl = !!((H = Z.value) != null && H.find((U) => U.prop === "index"));
2824
+ gl = An(gl, m == null ? void 0 : m.contents, Nl);
2825
+ const bl = [];
2826
+ gl == null || gl.forEach((U, v) => {
2825
2827
  var Te;
2826
2828
  let pe = {};
2827
2829
  if (Array.isArray(U)) {
2828
2830
  let Ee = [];
2829
- U == null || U.filter((ll) => !(ll != null && ll.id)).forEach((ll, We) => {
2830
- var Xl, la, aa, Oe, Ne, ua;
2831
- if ((Xl = J == null ? void 0 : J[We]) != null && Xl.prop && !Array.isArray(ll)) {
2832
- let _a = {};
2833
- _a[J[We].column] = ll, He != null && He.value && ((la = He == null ? void 0 : He.value) == null ? void 0 : la.length) > 0 && ((aa = He == null ? void 0 : He.value) != null && aa.find((El) => JSON.stringify(El == null ? void 0 : El[0]) === JSON.stringify(_a))) && (Ee = (Oe = He == null ? void 0 : He.value) == null ? void 0 : Oe.find((El) => JSON.stringify(El == null ? void 0 : El[0]) === JSON.stringify(_a))), Ee && Ee.length > 0 ? pe[J[We].prop] = Ee != null && Ee.find((El) => {
2834
- var Fa;
2835
- return ((Fa = Object.keys(El)) == null ? void 0 : Fa[0]) === J[We].column;
2836
- }) ? (Ne = Ee == null ? void 0 : Ee.find((El) => {
2837
- var Fa;
2838
- return ((Fa = Object.keys(El)) == null ? void 0 : Fa[0]) === J[We].column;
2839
- })) == null ? void 0 : Ne[J[We].column] : ll : pe[J[We].prop] = ll;
2840
- } else Array.isArray(ll) && ((ua = J[We]) != null && ua.prop ? pe[J[We].prop] = ll : pe.children = Tr(ll, J));
2831
+ U == null || U.filter((el) => !(el != null && el.id)).forEach((el, Je) => {
2832
+ var Yl, ra, na, Oe, jl, Jl;
2833
+ if ((Yl = J == null ? void 0 : J[Je]) != null && Yl.prop && !Array.isArray(el)) {
2834
+ let sa = {};
2835
+ sa[J[Je].column] = el, Ge != null && Ge.value && ((ra = Ge == null ? void 0 : Ge.value) == null ? void 0 : ra.length) > 0 && ((na = Ge == null ? void 0 : Ge.value) != null && na.find((ml) => JSON.stringify(ml == null ? void 0 : ml[0]) === JSON.stringify(sa))) && (Ee = (Oe = Ge == null ? void 0 : Ge.value) == null ? void 0 : Oe.find((ml) => JSON.stringify(ml == null ? void 0 : ml[0]) === JSON.stringify(sa))), Ee && Ee.length > 0 ? pe[J[Je].prop] = Ee != null && Ee.find((ml) => {
2836
+ var oa;
2837
+ return ((oa = Object.keys(ml)) == null ? void 0 : oa[0]) === J[Je].column;
2838
+ }) ? (jl = Ee == null ? void 0 : Ee.find((ml) => {
2839
+ var oa;
2840
+ return ((oa = Object.keys(ml)) == null ? void 0 : oa[0]) === J[Je].column;
2841
+ })) == null ? void 0 : jl[J[Je].column] : el : pe[J[Je].prop] = el;
2842
+ } else Array.isArray(el) && ((Jl = J[Je]) != null && Jl.prop ? pe[J[Je].prop] = el : pe.children = mr(el, J));
2841
2843
  });
2842
2844
  } else
2843
2845
  pe = U;
2844
2846
  if (Array.isArray(U) && U.some((Ee) => Ee == null ? void 0 : Ee.id)) {
2845
- const Ee = (Te = U == null ? void 0 : U.find((ll) => ll.id)) == null ? void 0 : Te.id;
2846
- kl.push(Object.assign(pe, { id: Pr(Ee) }));
2847
- } else pe.id ? kl.push(pe) : kl.push(Object.assign(pe, { id: v.toString() }));
2847
+ const Ee = (Te = U == null ? void 0 : U.find((el) => el.id)) == null ? void 0 : Te.id;
2848
+ bl.push(Object.assign(pe, { id: $r(Ee) }));
2849
+ } else pe.id ? bl.push(pe) : bl.push(Object.assign(pe, { id: v.toString() }));
2848
2850
  });
2849
2851
  try {
2850
2852
  const U = JSON.parse(sessionStorage.getItem("ocr_last_saved_table") || "null"), v = JSON.parse(sessionStorage.getItem("ocr_last_saved_ids") || "null"), pe = U == null ? void 0 : U.tableId, Te = U == null ? void 0 : U.compIndex;
2851
- if (pe && Array.isArray(v) && v.length > 0 && String(pe) === String(s == null ? void 0 : s.parentTableId) && String(Te) === String(s == null ? void 0 : s.index)) {
2852
- const Ee = new Set(kl.map((We) => String(We == null ? void 0 : We.id))), ll = v.filter((We) => !Ee.has(String(We)));
2853
- if (ll.length > 0) {
2854
- const We = U == null ? void 0 : U.pageKey, Xl = We != null && We.startsWith("/") ? We.substring(1) : We;
2855
- ((l == null ? void 0 : l[We]) || (l == null ? void 0 : l[Xl]) || []).filter(
2853
+ if (pe && Array.isArray(v) && v.length > 0 && String(pe) === String(u == null ? void 0 : u.parentTableId) && String(Te) === String(u == null ? void 0 : u.index)) {
2854
+ const Ee = new Set(bl.map((Je) => String(Je == null ? void 0 : Je.id))), el = v.filter((Je) => !Ee.has(String(Je)));
2855
+ if (el.length > 0) {
2856
+ const Je = U == null ? void 0 : U.pageKey, Yl = Je != null && Je.startsWith("/") ? Je.substring(1) : Je;
2857
+ ((l == null ? void 0 : l[Je]) || (l == null ? void 0 : l[Yl]) || []).filter(
2856
2858
  (Oe) => {
2857
- var Ne, ua;
2858
- return ((Ne = Oe == null ? void 0 : Oe.key) == null ? void 0 : Ne.type) === "data" && String((ua = Oe == null ? void 0 : Oe.key) == null ? void 0 : ua.tableId) === String(pe) && ll.includes(Oe == null ? void 0 : Oe.id);
2859
+ var jl, Jl;
2860
+ return ((jl = Oe == null ? void 0 : Oe.key) == null ? void 0 : jl.type) === "data" && String((Jl = Oe == null ? void 0 : Oe.key) == null ? void 0 : Jl.tableId) === String(pe) && el.includes(Oe == null ? void 0 : Oe.id);
2859
2861
  }
2860
2862
  ).forEach((Oe) => {
2861
- var Ne;
2862
- Ee.has(String(Oe == null ? void 0 : Oe.id)) || (kl.push({ id: Oe == null ? void 0 : Oe.id, ...((Ne = Oe == null ? void 0 : Oe.value) == null ? void 0 : Ne.tableData) || {} }), Ee.add(String(Oe == null ? void 0 : Oe.id)));
2863
+ var jl;
2864
+ Ee.has(String(Oe == null ? void 0 : Oe.id)) || (bl.push({ id: Oe == null ? void 0 : Oe.id, ...((jl = Oe == null ? void 0 : Oe.value) == null ? void 0 : jl.tableData) || {} }), Ee.add(String(Oe == null ? void 0 : Oe.id)));
2863
2865
  });
2864
2866
  }
2865
2867
  }
2866
2868
  } catch {
2867
2869
  }
2868
- const je = Array.from(((se = Ll.value) == null ? void 0 : se.values()) || []).filter(
2869
- (U) => (U == null ? void 0 : U._isOCRRow) && (U == null ? void 0 : U._ocrTableId) === (s == null ? void 0 : s.index)
2870
+ const je = Array.from(((ue = Pl.value) == null ? void 0 : ue.values()) || []).filter(
2871
+ (U) => (U == null ? void 0 : U._isOCRRow) && (U == null ? void 0 : U._ocrTableId) === (u == null ? void 0 : u.index)
2870
2872
  );
2871
- Y.value = Hr(kl, r, X.value), Gl.value = kl, (Me = Gl.value) == null || Me.forEach((U) => {
2873
+ I.value = Qr(bl, r, Z.value), Ql.value = bl, (Me = Ql.value) == null || Me.forEach((U) => {
2872
2874
  var v;
2873
- (v = Ll.value) == null || v.set(U.id, U);
2875
+ (v = Pl.value) == null || v.set(U.id, U);
2874
2876
  });
2875
- const xl = JSON.parse(sessionStorage.getItem("ocr_last_saved_table") || "null"), be = JSON.parse(sessionStorage.getItem("ocr_last_saved_ids") || "null");
2876
- if (xl && Array.isArray(be) && be.length > 0 && String(xl == null ? void 0 : xl.compIndex) === String(s == null ? void 0 : s.index)) {
2877
- const U = new Set((Gl.value || []).map((v) => String(v == null ? void 0 : v.id)));
2877
+ const Dl = JSON.parse(sessionStorage.getItem("ocr_last_saved_table") || "null"), be = JSON.parse(sessionStorage.getItem("ocr_last_saved_ids") || "null");
2878
+ if (Dl && Array.isArray(be) && be.length > 0 && String(Dl == null ? void 0 : Dl.compIndex) === String(u == null ? void 0 : u.index)) {
2879
+ const U = new Set((Ql.value || []).map((v) => String(v == null ? void 0 : v.id)));
2878
2880
  be.filter((v) => !U.has(String(v)));
2879
2881
  }
2880
2882
  if (je.length > 0) {
2881
- const U = new Set((Y.value || []).map((pe) => pe == null ? void 0 : pe.id)), v = je.filter((pe) => !U.has(pe.id));
2882
- v.length > 0 && (Y.value = [...Y.value || [], ...v], Gl.value = [...Gl.value || [], ...v], v.forEach((pe) => {
2883
+ const U = new Set((I.value || []).map((pe) => pe == null ? void 0 : pe.id)), v = je.filter((pe) => !U.has(pe.id));
2884
+ v.length > 0 && (I.value = [...I.value || [], ...v], Ql.value = [...Ql.value || [], ...v], v.forEach((pe) => {
2883
2885
  var Te;
2884
- return (Te = Ll.value) == null ? void 0 : Te.set(pe.id, pe);
2886
+ return (Te = Pl.value) == null ? void 0 : Te.set(pe.id, pe);
2885
2887
  }));
2886
2888
  }
2887
2889
  } else
2888
- X.value = [], Ye.value = [], Y.value = [], Gl.value = [], Ll.value = /* @__PURE__ */ new Map();
2889
- if (((ce = u == null ? void 0 : u.contents) == null ? void 0 : ce.length) > 0)
2890
- if ((Qe = (xe = (he = e == null ? void 0 : e.find((g) => (g == null ? void 0 : g.key) === "filterAllType")) == null ? void 0 : he.value) == null ? void 0 : xe.find((g) => (g == null ? void 0 : g.value) === "onRowButtonContents")) != null && Qe.content) {
2891
- let g = (Je = (le = (O = e == null ? void 0 : e.find((J) => (J == null ? void 0 : J.key) === "filterAllType")) == null ? void 0 : O.value) == null ? void 0 : le.find((J) => (J == null ? void 0 : J.value) === "onButtonContents")) == null ? void 0 : Je.content;
2892
- g = (Be = g == null ? void 0 : g.split(":")) == null ? void 0 : Be[1], g = (el = g.slice(1, (g == null ? void 0 : g.length) - 1)) == null ? void 0 : el.split(","), na.value = (f = u == null ? void 0 : u.contents) == null ? void 0 : f.filter((J) => g == null ? void 0 : g.find((De) => De === (J == null ? void 0 : J.label)));
2890
+ Z.value = [], Ze.value = [], I.value = [], Ql.value = [], Pl.value = /* @__PURE__ */ new Map();
2891
+ if (((ce = s == null ? void 0 : s.contents) == null ? void 0 : ce.length) > 0)
2892
+ if ((He = (xe = (he = e == null ? void 0 : e.find((g) => (g == null ? void 0 : g.key) === "filterAllType")) == null ? void 0 : he.value) == null ? void 0 : xe.find((g) => (g == null ? void 0 : g.value) === "onRowButtonContents")) != null && He.content) {
2893
+ let g = (ze = (Q = (O = e == null ? void 0 : e.find((J) => (J == null ? void 0 : J.key) === "filterAllType")) == null ? void 0 : O.value) == null ? void 0 : Q.find((J) => (J == null ? void 0 : J.value) === "onButtonContents")) == null ? void 0 : ze.content;
2894
+ g = (Be = g == null ? void 0 : g.split(":")) == null ? void 0 : Be[1], g = (Ve = g.slice(1, (g == null ? void 0 : g.length) - 1)) == null ? void 0 : Ve.split(","), ia.value = (f = s == null ? void 0 : s.contents) == null ? void 0 : f.filter((J) => g == null ? void 0 : g.find((De) => De === (J == null ? void 0 : J.label)));
2893
2895
  } else
2894
- na.value = u == null ? void 0 : u.contents;
2896
+ ia.value = s == null ? void 0 : s.contents;
2895
2897
  else
2896
- na.value = [];
2897
- if (((ue = p == null ? void 0 : p.contents) == null ? void 0 : ue.length) > 0)
2898
- if ((Se = (k = (Fe = e == null ? void 0 : e.find((g) => (g == null ? void 0 : g.key) === "filterAllType")) == null ? void 0 : Fe.value) == null ? void 0 : k.find((g) => (g == null ? void 0 : g.value) === "onButtonContents")) != null && Se.content) {
2899
- let g = (pl = (cl = (Pe = e == null ? void 0 : e.find((J) => (J == null ? void 0 : J.key) === "filterAllType")) == null ? void 0 : Pe.value) == null ? void 0 : cl.find((J) => (J == null ? void 0 : J.value) === "onButtonContents")) == null ? void 0 : pl.content;
2900
- if (g = (fl = g == null ? void 0 : g.split(":")) == null ? void 0 : fl[1], g = (tl = g.slice(1, (g == null ? void 0 : g.length) - 1)) == null ? void 0 : tl.split(","), Pl.value = (yl = p == null ? void 0 : p.contents) == null ? void 0 : yl.filter((J) => g == null ? void 0 : g.find((De) => De === (J == null ? void 0 : J.label))), $l.value = (hl = p == null ? void 0 : p.contents) == null ? void 0 : hl.filter((J) => g == null ? void 0 : g.find((De) => De === (J == null ? void 0 : J.label))), (dl = p == null ? void 0 : p.contents) != null && dl.some((J) => (J == null ? void 0 : J.label) === "OCR识别") && !((me = Pl.value) != null && me.some((J) => (J == null ? void 0 : J.label) === "OCR识别"))) {
2898
+ ia.value = [];
2899
+ if (((se = p == null ? void 0 : p.contents) == null ? void 0 : se.length) > 0)
2900
+ if ((Se = (k = (Pe = e == null ? void 0 : e.find((g) => (g == null ? void 0 : g.key) === "filterAllType")) == null ? void 0 : Pe.value) == null ? void 0 : k.find((g) => (g == null ? void 0 : g.value) === "onButtonContents")) != null && Se.content) {
2901
+ let g = (cl = (dl = ($e = e == null ? void 0 : e.find((J) => (J == null ? void 0 : J.key) === "filterAllType")) == null ? void 0 : $e.value) == null ? void 0 : dl.find((J) => (J == null ? void 0 : J.value) === "onButtonContents")) == null ? void 0 : cl.content;
2902
+ if (g = (pl = g == null ? void 0 : g.split(":")) == null ? void 0 : pl[1], g = (fl = g.slice(1, (g == null ? void 0 : g.length) - 1)) == null ? void 0 : fl.split(","), $l.value = (tl = p == null ? void 0 : p.contents) == null ? void 0 : tl.filter((J) => g == null ? void 0 : g.find((De) => De === (J == null ? void 0 : J.label))), wl.value = (yl = p == null ? void 0 : p.contents) == null ? void 0 : yl.filter((J) => g == null ? void 0 : g.find((De) => De === (J == null ? void 0 : J.label))), (ol = p == null ? void 0 : p.contents) != null && ol.some((J) => (J == null ? void 0 : J.label) === "OCR识别") && !((me = $l.value) != null && me.some((J) => (J == null ? void 0 : J.label) === "OCR识别"))) {
2901
2903
  const J = (Le = p == null ? void 0 : p.contents) == null ? void 0 : Le.find((De) => (De == null ? void 0 : De.label) === "OCR识别");
2902
- Pl.value = [...Pl.value, J], $l.value = [...$l.value, J];
2904
+ $l.value = [...$l.value, J], wl.value = [...wl.value, J];
2903
2905
  }
2904
- we.value = !!(g != null && g.find((J) => J === "搜索")), nl.value = !!(g != null && g.find((J) => J === "块状显示"));
2906
+ Ne.value = !!(g != null && g.find((J) => J === "搜索")), rl.value = !!(g != null && g.find((J) => J === "块状显示"));
2905
2907
  } else
2906
- Pl.value = p == null ? void 0 : p.contents, $l.value = p == null ? void 0 : p.contents;
2908
+ $l.value = p == null ? void 0 : p.contents, wl.value = p == null ? void 0 : p.contents;
2907
2909
  else
2908
- Pl.value = [], $l.value = [];
2909
- (gl = Pl.value) != null && gl.some((g) => (g == null ? void 0 : g.label) === "OCR识别") || (Pl.value = [...Pl.value || [], { label: "OCR识别" }]), (_l = $l.value) != null && _l.some((g) => (g == null ? void 0 : g.label) === "OCR识别") || ($l.value = [...$l.value || [], { label: "OCR识别" }]), ba.value = ((Tl = Y == null ? void 0 : Y.value) == null ? void 0 : Tl.length) ?? 0, qr(Y.value), La.value = Y.value, Bl.value && (X.value = (Al = (Cl = Ye.value) == null ? void 0 : Cl.filter((g) => (g == null ? void 0 : g.label) !== "操作")) == null ? void 0 : Al.map((g) => {
2910
+ $l.value = [], wl.value = [];
2911
+ (vl = $l.value) != null && vl.some((g) => (g == null ? void 0 : g.label) === "OCR识别") || ($l.value = [...$l.value || [], { label: "OCR识别" }]), (_l = wl.value) != null && _l.some((g) => (g == null ? void 0 : g.label) === "OCR识别") || (wl.value = [...wl.value || [], { label: "OCR识别" }]), Aa.value = ((Tl = I == null ? void 0 : I.value) == null ? void 0 : Tl.length) ?? 0, Gr(I.value), $a.value = I.value, Fl.value && (Z.value = (Al = (xl = Ze.value) == null ? void 0 : xl.filter((g) => (g == null ? void 0 : g.label) !== "操作")) == null ? void 0 : Al.map((g) => {
2910
2912
  var J;
2911
2913
  return {
2912
2914
  ...g,
@@ -2918,49 +2920,49 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2918
2920
  type: g == null ? void 0 : g.formType
2919
2921
  } : null
2920
2922
  };
2921
- }), vr());
2923
+ }), gr());
2922
2924
  };
2923
- jl(
2924
- () => [s.itemData, ca.value, xn.value, Pa.value, He == null ? void 0 : He.value],
2925
+ Ll(
2926
+ () => [u.itemData, ta.value, Ln.value, wa.value, Ge == null ? void 0 : Ge.value],
2925
2927
  async () => {
2926
2928
  var e, l, a, r, n, o;
2927
- if ((e = s == null ? void 0 : s.itemData) != null && e.find((d) => (d == null ? void 0 : d.key) === "columnPath") && !((l = Ua.value) != null && l.find((d) => {
2928
- var u, p;
2929
- return (d == null ? void 0 : d.key) === ((p = (u = s == null ? void 0 : s.itemData) == null ? void 0 : u.find((b) => (b == null ? void 0 : b.key) === "columnPath")) == null ? void 0 : p.contents);
2929
+ if ((e = u == null ? void 0 : u.itemData) != null && e.find((d) => (d == null ? void 0 : d.key) === "columnPath") && !((l = ja.value) != null && l.find((d) => {
2930
+ var s, p;
2931
+ return (d == null ? void 0 : d.key) === ((p = (s = u == null ? void 0 : u.itemData) == null ? void 0 : s.find((b) => (b == null ? void 0 : b.key) === "columnPath")) == null ? void 0 : p.contents);
2930
2932
  }))) {
2931
- let d = Ua.value, u = {
2932
- key: (r = (a = s == null ? void 0 : s.itemData) == null ? void 0 : a.find((p) => (p == null ? void 0 : p.key) === "columnPath")) == null ? void 0 : r.contents,
2933
- value: (o = (n = s == null ? void 0 : s.itemData) == null ? void 0 : n.find((p) => (p == null ? void 0 : p.key) === "columnUsingPath")) == null ? void 0 : o.contents
2933
+ let d = ja.value, s = {
2934
+ key: (r = (a = u == null ? void 0 : u.itemData) == null ? void 0 : a.find((p) => (p == null ? void 0 : p.key) === "columnPath")) == null ? void 0 : r.contents,
2935
+ value: (o = (n = u == null ? void 0 : u.itemData) == null ? void 0 : n.find((p) => (p == null ? void 0 : p.key) === "columnUsingPath")) == null ? void 0 : o.contents
2934
2936
  };
2935
- d != null && d.find((p) => (p == null ? void 0 : p.key) === (u == null ? void 0 : u.key)) ? d = d == null ? void 0 : d.map((p) => ((p == null ? void 0 : p.key) === (u == null ? void 0 : u.key) && (p.value = u.value), p)) : d.push(u), ul.setTableViewContents(d);
2937
+ d != null && d.find((p) => (p == null ? void 0 : p.key) === (s == null ? void 0 : s.key)) ? d = d == null ? void 0 : d.map((p) => ((p == null ? void 0 : p.key) === (s == null ? void 0 : s.key) && (p.value = s.value), p)) : d.push(s), nl.setTableViewContents(d);
2936
2938
  }
2937
- Qr(s.itemData, s.allMapContents);
2939
+ Xr(u.itemData, u.allMapContents);
2938
2940
  },
2939
2941
  { deep: !0, immediate: !0 }
2940
- ), jl(() => s == null ? void 0 : s.operatingForm, (e) => {
2941
- e != null && e.form && (Ma(e == null ? void 0 : e.form), Ul.value = e == null ? void 0 : e.dialogTitle, Ga.value = !0, Ql.value = !0);
2942
+ ), Ll(() => u == null ? void 0 : u.operatingForm, (e) => {
2943
+ e != null && e.form && (Fa(e == null ? void 0 : e.form), El.value = e == null ? void 0 : e.dialogTitle, Ha.value = !0, Zl.value = !0);
2942
2944
  }, { immediate: !0, deep: !0 });
2943
- const Xr = () => {
2945
+ const Zr = () => {
2944
2946
  var e;
2945
- (e = Ie.value) != null && e.includes("read") && (Bl.value = !Bl.value);
2946
- }, Lu = () => {
2947
- Za.value = !Za.value;
2947
+ (e = Ye.value) != null && e.includes("read") && (Fl.value = !Fl.value);
2948
+ }, Rs = () => {
2949
+ Ya.value = !Ya.value;
2948
2950
  };
2949
- jl(() => {
2951
+ Ll(() => {
2950
2952
  var e;
2951
- return (e = s == null ? void 0 : s.config) == null ? void 0 : e.viewport;
2953
+ return (e = u == null ? void 0 : u.config) == null ? void 0 : e.viewport;
2952
2954
  }, (e) => {
2953
2955
  var l;
2954
- Ie.value = e, (e == null ? void 0 : e.length) === 0 ? Bl.value = !1 : (e != null && e.includes("read") || (Bl.value = !0), e != null && e.includes("edit") || (Bl.value = !1)), $e.value = ((l = s == null ? void 0 : s.config) == null ? void 0 : l.showIndex) || Bl.value;
2955
- }, { immediate: !0 }), jl(() => Bl.value, (e) => {
2956
+ Ye.value = e, (e == null ? void 0 : e.length) === 0 ? Fl.value = !1 : (e != null && e.includes("read") || (Fl.value = !0), e != null && e.includes("edit") || (Fl.value = !1)), we.value = ((l = u == null ? void 0 : u.config) == null ? void 0 : l.showIndex) || Fl.value;
2957
+ }, { immediate: !0 }), Ll(() => Fl.value, (e) => {
2956
2958
  var l;
2957
- e ? (vr("viewChange"), ul.setCacheUpdatingData(null)) : (Pl.value = $l.value, X.value = rr.value, Da.value && (ul.setTableLoading(s == null ? void 0 : s.index), Re("change", Da.value))), ye.value = e, $e.value = e || ((l = s == null ? void 0 : s.config) == null ? void 0 : l.showIndex);
2958
- }, { immediate: !0 }), jl(() => {
2959
+ e ? (gr("viewChange"), nl.setCacheUpdatingData(null)) : ($l.value = wl.value, Z.value = nr.value, Ea.value && (nl.setTableLoading(u == null ? void 0 : u.index), Re("change", Ea.value))), ye.value = e, we.value = e || ((l = u == null ? void 0 : u.config) == null ? void 0 : l.showIndex);
2960
+ }, { immediate: !0 }), Ll(() => {
2959
2961
  var e;
2960
- return (e = Er.value) == null ? void 0 : e.length;
2962
+ return (e = jr.value) == null ? void 0 : e.length;
2961
2963
  }, (e) => {
2962
2964
  e === 0 && (oe.currentPage = 1);
2963
- }), jl(() => s == null ? void 0 : s.compNames, (e) => {
2965
+ }), Ll(() => u == null ? void 0 : u.compNames, (e) => {
2964
2966
  sl.contents = [
2965
2967
  {
2966
2968
  label: "列表名",
@@ -2974,51 +2976,51 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
2974
2976
  }
2975
2977
  ];
2976
2978
  }, { immediate: !0 }), z(!1);
2977
- const Pu = (e, l) => {
2979
+ const Ms = (e, l) => {
2978
2980
  var a;
2979
- vr("createClick"), l === oe.pageSize && (oe.currentPage = Math.ceil(((a = Y.value) == null ? void 0 : a.length) / oe.pageSize));
2980
- }, $u = (e, l, a) => {
2981
+ gr("createClick"), l === oe.pageSize && (oe.currentPage = Math.ceil(((a = I.value) == null ? void 0 : a.length) / oe.pageSize));
2982
+ }, Bs = (e, l, a) => {
2981
2983
  var r;
2982
- Jr(a, e, l), ml.value = I(e), Hl.value = e == null ? void 0 : e.id, ba.value = (r = Y.value) == null ? void 0 : r.length, Ul.value = typeof (e == null ? void 0 : e.id) == "string" ? "新增" : "编辑", Ba(!1);
2983
- }, Ol = (e) => {
2984
+ Wr(a, e, l), Ol.value = V(e), Xl.value = e == null ? void 0 : e.id, Aa.value = (r = I.value) == null ? void 0 : r.length, El.value = typeof (e == null ? void 0 : e.id) == "string" ? "新增" : "编辑", Ka(!1);
2985
+ }, Cl = (e) => {
2984
2986
  var p, b, T, h, m, L, $, w, S, N;
2985
2987
  const { row: l, column: a, item: r, slotData: n } = e;
2986
- let o = l != null && l[a == null ? void 0 : a.prop] || (l == null ? void 0 : l[a == null ? void 0 : a.prop]) === 0 ? ((b = (p = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : p[0]) == null ? void 0 : b.contents) ?? ((l == null ? void 0 : l[a == null ? void 0 : a.prop]) === 0 ? "0" : l == null ? void 0 : l[a == null ? void 0 : a.prop]) : ((h = (T = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : T[0]) == null ? void 0 : h.contents) ?? (l == null ? void 0 : l[r == null ? void 0 : r.prop]) ?? ((L = (m = n == null ? void 0 : n[r == null ? void 0 : r.prop]) == null ? void 0 : m[0]) == null ? void 0 : L.contents) ?? (n == null ? void 0 : n[r == null ? void 0 : r.prop]) ?? ((S = (w = l == null ? void 0 : l[($ = r == null ? void 0 : r.child) == null ? void 0 : $.prop]) == null ? void 0 : w[0]) == null ? void 0 : S.contents) ?? (l == null ? void 0 : l[(N = r == null ? void 0 : r.child) == null ? void 0 : N.prop]), u = Array.isArray(o) && !(o != null && o.every((R) => typeof R == "string" || typeof R == "number")) ? "查看" : o;
2987
- return u = Array.isArray(u) ? u.join(",") : u, u;
2988
- }, wu = (e) => {
2988
+ let o = l != null && l[a == null ? void 0 : a.prop] || (l == null ? void 0 : l[a == null ? void 0 : a.prop]) === 0 ? ((b = (p = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : p[0]) == null ? void 0 : b.contents) ?? ((l == null ? void 0 : l[a == null ? void 0 : a.prop]) === 0 ? "0" : l == null ? void 0 : l[a == null ? void 0 : a.prop]) : ((h = (T = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : T[0]) == null ? void 0 : h.contents) ?? (l == null ? void 0 : l[r == null ? void 0 : r.prop]) ?? ((L = (m = n == null ? void 0 : n[r == null ? void 0 : r.prop]) == null ? void 0 : m[0]) == null ? void 0 : L.contents) ?? (n == null ? void 0 : n[r == null ? void 0 : r.prop]) ?? ((S = (w = l == null ? void 0 : l[($ = r == null ? void 0 : r.child) == null ? void 0 : $.prop]) == null ? void 0 : w[0]) == null ? void 0 : S.contents) ?? (l == null ? void 0 : l[(N = r == null ? void 0 : r.child) == null ? void 0 : N.prop]), s = Array.isArray(o) && !(o != null && o.every((R) => typeof R == "string" || typeof R == "number")) ? "查看" : o;
2989
+ return s = Array.isArray(s) ? s.join(",") : s, s;
2990
+ }, Fs = (e) => {
2989
2991
  var b, T, h, m, L, $, w, S, N, R;
2990
2992
  const { row: l, column: a, item: r, slotData: n } = e;
2991
2993
  let o = l != null && l[a == null ? void 0 : a.prop] ? ((T = (b = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : b[0]) == null ? void 0 : T.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) : ((m = (h = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : h[0]) == null ? void 0 : m.contents) ?? (l == null ? void 0 : l[r == null ? void 0 : r.prop]) ?? (($ = (L = n == null ? void 0 : n[r == null ? void 0 : r.prop]) == null ? void 0 : L[0]) == null ? void 0 : $.contents) ?? (n == null ? void 0 : n[r == null ? void 0 : r.prop]) ?? ((N = (S = l == null ? void 0 : l[(w = r == null ? void 0 : r.child) == null ? void 0 : w.prop]) == null ? void 0 : S[0]) == null ? void 0 : N.contents) ?? (l == null ? void 0 : l[(R = r == null ? void 0 : r.child) == null ? void 0 : R.prop]);
2992
- const u = Array.isArray(o) && !(o != null && o.every((E) => typeof E == "string" || typeof E == "number")), p = Array.isArray(o) && (o == null ? void 0 : o.find((E) => E == null ? void 0 : E.url));
2993
- return u && p;
2994
- }, Nu = (e) => {
2995
- var d, u, p, b, T, h, m, L, $, w;
2994
+ const s = Array.isArray(o) && !(o != null && o.every((E) => typeof E == "string" || typeof E == "number")), p = Array.isArray(o) && (o == null ? void 0 : o.find((E) => E == null ? void 0 : E.url));
2995
+ return s && p;
2996
+ }, Ks = (e) => {
2997
+ var d, s, p, b, T, h, m, L, $, w;
2996
2998
  const { row: l, column: a, item: r, slotData: n } = e || {};
2997
- let o = l != null && l[a == null ? void 0 : a.prop] ? ((u = (d = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : d[0]) == null ? void 0 : u.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) : ((b = (p = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : p[0]) == null ? void 0 : b.contents) ?? (l == null ? void 0 : l[r == null ? void 0 : r.prop]) ?? ((h = (T = n == null ? void 0 : n[r == null ? void 0 : r.prop]) == null ? void 0 : T[0]) == null ? void 0 : h.contents) ?? (n == null ? void 0 : n[r == null ? void 0 : r.prop]) ?? (($ = (L = l == null ? void 0 : l[(m = r == null ? void 0 : r.child) == null ? void 0 : m.prop]) == null ? void 0 : L[0]) == null ? void 0 : $.contents) ?? (l == null ? void 0 : l[(w = r == null ? void 0 : r.child) == null ? void 0 : w.prop]);
2999
+ let o = l != null && l[a == null ? void 0 : a.prop] ? ((s = (d = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : d[0]) == null ? void 0 : s.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) : ((b = (p = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : p[0]) == null ? void 0 : b.contents) ?? (l == null ? void 0 : l[r == null ? void 0 : r.prop]) ?? ((h = (T = n == null ? void 0 : n[r == null ? void 0 : r.prop]) == null ? void 0 : T[0]) == null ? void 0 : h.contents) ?? (n == null ? void 0 : n[r == null ? void 0 : r.prop]) ?? (($ = (L = l == null ? void 0 : l[(m = r == null ? void 0 : r.child) == null ? void 0 : m.prop]) == null ? void 0 : L[0]) == null ? void 0 : $.contents) ?? (l == null ? void 0 : l[(w = r == null ? void 0 : r.child) == null ? void 0 : w.prop]);
2998
3000
  return Array.isArray(o) ? (o == null ? void 0 : o.filter((S) => (S == null ? void 0 : S.url) || (S == null ? void 0 : S.downloadUrl))) ?? [] : [];
2999
- }, Ru = (e, l) => e.find((a) => Object.values(a).some((r) => r === l));
3000
- return jl(() => Sn.value, async (e) => {
3001
+ }, zs = (e, l) => e.find((a) => Object.values(a).some((r) => r === l));
3002
+ return Ll(() => On.value, async (e) => {
3001
3003
  if (e) {
3002
- vl.setContentLoading(!0), await er();
3003
- const l = Ru(Y.value, e == null ? void 0 : e.data);
3004
- if (!l) return vl.setContentLoading(!1);
3005
- await Nr(e == null ? void 0 : e.data, null, l, { data: e == null ? void 0 : e.data, isMainKey: !0 }), vl.setContentLoading(!1);
3004
+ hl.setContentLoading(!0), await lr();
3005
+ const l = zs(I.value, e == null ? void 0 : e.data);
3006
+ if (!l) return hl.setContentLoading(!1);
3007
+ await Rr(e == null ? void 0 : e.data, null, l, { data: e == null ? void 0 : e.data, isMainKey: !0 }), hl.setContentLoading(!1);
3006
3008
  }
3007
- }, { deep: !0, immediate: !0 }), jl(() => s == null ? void 0 : s.cacheNewData, (e) => {
3009
+ }, { deep: !0, immediate: !0 }), Ll(() => u == null ? void 0 : u.cacheNewData, (e) => {
3008
3010
  var l;
3009
3011
  e && (Array.isArray(e) ? e.forEach((a) => {
3010
- var r, n, o, d, u, p, b;
3011
- if ((a == null ? void 0 : a.compId) === (s == null ? void 0 : s.index) && (a != null && a.resId) && ((r = a == null ? void 0 : a.data) != null && r.id) && (Y.value = (n = Y.value) == null ? void 0 : n.map((T) => {
3012
+ var r, n, o, d, s, p, b;
3013
+ if ((a == null ? void 0 : a.compId) === (u == null ? void 0 : u.index) && (a != null && a.resId) && ((r = a == null ? void 0 : a.data) != null && r.id) && (I.value = (n = I.value) == null ? void 0 : n.map((T) => {
3012
3014
  var h;
3013
3015
  return (T == null ? void 0 : T.id) === ((h = a == null ? void 0 : a.data) == null ? void 0 : h.id) ? {
3014
3016
  ...T,
3015
3017
  id: a == null ? void 0 : a.resId
3016
3018
  } : T;
3017
- }), (u = (o = Ll.value) == null ? void 0 : o.has) != null && u.call(o, (d = a == null ? void 0 : a.data) == null ? void 0 : d.id))) {
3018
- const T = Ll.value.get((p = a == null ? void 0 : a.data) == null ? void 0 : p.id);
3019
- Ll.value.delete((b = a == null ? void 0 : a.data) == null ? void 0 : b.id), Ll.value.set(a == null ? void 0 : a.resId, { ...T, id: a == null ? void 0 : a.resId });
3019
+ }), (s = (o = Pl.value) == null ? void 0 : o.has) != null && s.call(o, (d = a == null ? void 0 : a.data) == null ? void 0 : d.id))) {
3020
+ const T = Pl.value.get((p = a == null ? void 0 : a.data) == null ? void 0 : p.id);
3021
+ Pl.value.delete((b = a == null ? void 0 : a.data) == null ? void 0 : b.id), Pl.value.set(a == null ? void 0 : a.resId, { ...T, id: a == null ? void 0 : a.resId });
3020
3022
  }
3021
- }) : (e == null ? void 0 : e.compId) === (s == null ? void 0 : s.index) && (Y.value = (l = Y.value) == null ? void 0 : l.map((a) => {
3023
+ }) : (e == null ? void 0 : e.compId) === (u == null ? void 0 : u.index) && (I.value = (l = I.value) == null ? void 0 : l.map((a) => {
3022
3024
  var r;
3023
3025
  return (a == null ? void 0 : a.id) === ((r = e == null ? void 0 : e.data) == null ? void 0 : r.id) ? {
3024
3026
  ...a,
@@ -3027,102 +3029,102 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3027
3029
  })));
3028
3030
  }, { immediate: !0, deep: !0 }), (e, l) => {
3029
3031
  var R, E, A, D;
3030
- const a = il("svg-icon"), r = il("el-popover"), n = il("el-switch"), o = il("el-checkbox"), d = il("el-radio"), u = il("el-radio-group"), p = il("el-checkbox-group"), b = il("el-button"), T = il("LookComponent"), h = il("el-icon"), m = il("el-upload"), L = il("el-alert"), $ = il("el-table-column"), w = il("el-input"), S = il("el-table"), N = zu("loading");
3031
- return V(), Ce("div", Qs, [
3032
- Ur.value ? (V(), Xe(cs, {
3032
+ const a = ul("svg-icon"), r = ul("el-popover"), n = ul("el-switch"), o = ul("el-checkbox"), d = ul("el-radio"), s = ul("el-radio-group"), p = ul("el-checkbox-group"), b = ul("el-button"), T = ul("LookComponent"), h = ul("el-icon"), m = ul("el-upload"), L = ul("el-alert"), $ = ul("el-table-column"), w = ul("el-input"), S = ul("el-table"), N = Hs("loading");
3033
+ return ee(), Ce("div", Vu, [
3034
+ Er.value ? (ee(), Qe(hu, {
3033
3035
  id: "excel-table",
3034
3036
  pageObj: oe,
3035
- showIndex: $e.value,
3037
+ showIndex: we.value,
3036
3038
  isTree: (R = q.compItem) == null ? void 0 : R.isTree,
3037
- summaryInfo: Il,
3038
- columns: X.value,
3039
+ summaryInfo: ea,
3040
+ columns: Z.value,
3039
3041
  defaultSort: C,
3040
- isCardViewport: Za.value,
3042
+ isCardViewport: Ya.value,
3041
3043
  checkedColumns: ie.value,
3042
- key: cr.value + JSON.stringify(X.value),
3043
- tableData: Er.value,
3044
- isEditViewport: Bl.value,
3045
- isShowPagination: xr.value,
3044
+ key: pr.value + JSON.stringify(Z.value),
3045
+ tableData: jr.value,
3046
+ isEditViewport: Fl.value,
3047
+ isShowPagination: Dr.value,
3046
3048
  isShowEdit: !1,
3047
3049
  isShowDelete: !1,
3048
3050
  allowSelect: ye.value,
3049
- onDbClickRow: Vn,
3050
- extraButton: Pl.value,
3051
- rowButton: na.value,
3052
- cacheExtraButtons: $l.value,
3053
- isClearSelection: ((E = Fl.value) == null ? void 0 : E.length) === 0,
3054
- onDoCurrentChange: $n,
3055
- onDoSizeChange: wn,
3056
- onContentClick: Nr,
3057
- onRowClick: lu,
3058
- onSelectChange: zn,
3059
- onCellChange: $u,
3060
- onChange: Jr,
3061
- onPreview: Lr,
3062
- onSubmitEditingTable: Kn,
3063
- onHandleColEditChange: Bn,
3064
- onHandleColTypeChange: Fn,
3065
- onClickButton: Ia
3066
- }, Ju({
3051
+ onDbClickRow: ns,
3052
+ extraButton: $l.value,
3053
+ rowButton: ia.value,
3054
+ cacheExtraButtons: wl.value,
3055
+ isClearSelection: ((E = Kl.value) == null ? void 0 : E.length) === 0,
3056
+ onDoCurrentChange: Bn,
3057
+ onDoSizeChange: Fn,
3058
+ onContentClick: Rr,
3059
+ onRowClick: us,
3060
+ onSelectChange: Hn,
3061
+ onCellChange: Bs,
3062
+ onChange: Wr,
3063
+ onPreview: Pr,
3064
+ onSubmitEditingTable: Gn,
3065
+ onHandleColEditChange: Wn,
3066
+ onHandleColTypeChange: qn,
3067
+ onClickButton: Va
3068
+ }, Qs({
3067
3069
  headerButton: G((i) => {
3068
3070
  var y, t;
3069
3071
  return [
3070
- q.showHeader ? (V(), Xe($s, {
3072
+ q.showHeader ? (ee(), Qe(Bu, {
3071
3073
  key: 0,
3072
3074
  pageLayout: q.pageLayout,
3073
- lockingPage: Nl(Ja) === Nl(ze),
3074
- filterValues: wr.value,
3075
- selectNums: (y = Fl.value) == null ? void 0 : y.length,
3076
- dataNums: (t = Y.value) == null ? void 0 : t.length,
3075
+ lockingPage: Rl(Wa) === Rl(Ke),
3076
+ filterValues: Nr.value,
3077
+ selectNums: (y = Kl.value) == null ? void 0 : y.length,
3078
+ dataNums: (t = I.value) == null ? void 0 : t.length,
3077
3079
  compName: q.compName,
3078
3080
  isDevMode: q.isDevMode,
3079
3081
  buttons: i.buttons,
3080
- onButtonClick: l[1] || (l[1] = (B) => Ia(B, "", {})),
3081
- columns: X.value,
3082
- onFilter: In,
3083
- onGetImportData: Rn,
3082
+ onButtonClick: l[1] || (l[1] = (B) => Va(B, "", {})),
3083
+ columns: Z.value,
3084
+ onFilter: rs,
3085
+ onGetImportData: zn,
3084
3086
  level: q.level,
3085
- filterShow: we.value
3086
- }, null, 8, ["pageLayout", "lockingPage", "filterValues", "selectNums", "dataNums", "compName", "isDevMode", "buttons", "columns", "level", "filterShow"])) : qe("", !0)
3087
+ filterShow: Ne.value
3088
+ }, null, 8, ["pageLayout", "lockingPage", "filterValues", "selectNums", "dataNums", "compName", "isDevMode", "buttons", "columns", "level", "filterShow"])) : We("", !0)
3087
3089
  ];
3088
3090
  }),
3089
3091
  viewport: G(() => {
3090
3092
  var i, y, t, B;
3091
3093
  return [
3092
- ((i = Y.value) == null ? void 0 : i.length) > 0 && q.allowOperate && nl.value ? (V(), Ce("div", Ys, [
3093
- (y = Ie.value) != null && y.includes("read") && ((t = Ie.value) != null && t.includes("edit")) && ((B = na.value) != null && B.some((j) => (j == null ? void 0 : j.label) === "编辑")) && !Za.value && Nl(Ja) !== Nl(ze) ? (V(), Ce("span", {
3094
+ ((i = I.value) == null ? void 0 : i.length) > 0 && q.allowOperate && rl.value ? (ee(), Ce("div", ai, [
3095
+ (y = Ye.value) != null && y.includes("read") && ((t = Ye.value) != null && t.includes("edit")) && ((B = ia.value) != null && B.some((j) => (j == null ? void 0 : j.label) === "编辑")) && !Ya.value && Rl(Wa) !== Rl(Ke) ? (ee(), Ce("span", {
3094
3096
  key: 0,
3095
3097
  title: "编辑表格",
3096
- onClick: Xr
3098
+ onClick: Zr
3097
3099
  }, [
3098
3100
  re(a, {
3099
3101
  name: "editTable",
3100
3102
  class: "view-icon"
3101
3103
  })
3102
- ])) : qe("", !0),
3104
+ ])) : We("", !0),
3103
3105
  te("span", {
3104
3106
  title: "卡片视图",
3105
- onClick: Lu
3107
+ onClick: Rs
3106
3108
  }, [
3107
3109
  re(a, {
3108
3110
  name: "cardViewport",
3109
3111
  class: "view-icon"
3110
3112
  })
3111
3113
  ])
3112
- ])) : qe("", !0)
3114
+ ])) : We("", !0)
3113
3115
  ];
3114
3116
  }),
3115
3117
  rowCreate: G(({ row: i, index: y }) => [
3116
3118
  te("span", {
3117
3119
  title: "新增",
3118
3120
  class: "row-create-wrap",
3119
- onClick: (t) => Pu(i, y)
3121
+ onClick: (t) => Ms(i, y)
3120
3122
  }, [
3121
3123
  re(a, {
3122
3124
  name: "rowCreate",
3123
3125
  style: { width: "10px", height: "10px" }
3124
3126
  })
3125
- ], 8, Is)
3127
+ ], 8, ri)
3126
3128
  ]),
3127
3129
  operateCol: G(() => [
3128
3130
  re(r, {
@@ -3130,10 +3132,10 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3130
3132
  placement: "left-start",
3131
3133
  "popper-class": "menu-operate-popover",
3132
3134
  trigger: "hover",
3133
- onShow: xu
3135
+ onShow: Ls
3134
3136
  }, {
3135
3137
  reference: G(() => [
3136
- te("span", Vs, [
3138
+ te("span", ni, [
3137
3139
  re(a, {
3138
3140
  name: "operate",
3139
3141
  style: { width: "15px", height: "15px", cursor: "pointer" }
@@ -3141,14 +3143,14 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3141
3143
  ])
3142
3144
  ]),
3143
3145
  default: G(() => [
3144
- te("div", ei, [
3146
+ te("div", si, [
3145
3147
  l[13] || (l[13] = te("div", { class: "group-title" }, "表格操作", -1)),
3146
3148
  re(n, {
3147
- "model-value": Ke.value,
3149
+ "model-value": Fe.value,
3148
3150
  "active-text": "排序",
3149
3151
  "inactive-text": "",
3150
3152
  style: { "margin-right": "8px" },
3151
- onChange: l[3] || (l[3] = (i) => qn(i, "sortable"))
3153
+ onChange: l[3] || (l[3] = (i) => Zn(i, "sortable"))
3152
3154
  }, null, 8, ["model-value"]),
3153
3155
  l[14] || (l[14] = te("div", { class: "group-title" }, "表格列操作", -1)),
3154
3156
  re(p, {
@@ -3160,7 +3162,7 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3160
3162
  ref: K
3161
3163
  }, {
3162
3164
  default: G(() => [
3163
- (V(!0), Ce(zl, null, Jl(wa.value, (i) => (V(), Ce("div", {
3165
+ (ee(!0), Ce(Wl, null, ql(Ra.value, (i) => (ee(), Ce("div", {
3164
3166
  style: { display: "flex", "align-items": "center" },
3165
3167
  key: i.label
3166
3168
  }, [
@@ -3172,7 +3174,7 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3172
3174
  te("span", {
3173
3175
  title: i.label,
3174
3176
  style: { display: "inline-block", width: "250px", overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }
3175
- }, Ze(i.label), 9, li)
3177
+ }, Xe(i.label), 9, ui)
3176
3178
  ]),
3177
3179
  _: 2
3178
3180
  }, 1032, ["value"]),
@@ -3192,29 +3194,29 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3192
3194
  default: G(() => {
3193
3195
  var y;
3194
3196
  return [
3195
- te("div", ai, [
3196
- (V(!0), Ce(zl, null, Jl((y = Object.keys(i)) == null ? void 0 : y.filter((t) => {
3197
+ te("div", ii, [
3198
+ (ee(!0), Ce(Wl, null, ql((y = Object.keys(i)) == null ? void 0 : y.filter((t) => {
3197
3199
  var B;
3198
- return (B = Zl.value) == null ? void 0 : B.find((j) => (j == null ? void 0 : j.value) === t);
3200
+ return (B = Il.value) == null ? void 0 : B.find((j) => (j == null ? void 0 : j.value) === t);
3199
3201
  }), (t) => {
3200
3202
  var B, j;
3201
- return V(), Ce("div", { key: t }, [
3202
- Wl[t] == "radio" ? (V(), Ce("div", ri, [
3203
+ return ee(), Ce("div", { key: t }, [
3204
+ Gl[t] == "radio" ? (ee(), Ce("div", oi, [
3203
3205
  l[12] || (l[12] = te("div", null, "固定:", -1)),
3204
- re(u, {
3206
+ re(s, {
3205
3207
  "model-value": i == null ? void 0 : i[t],
3206
- onChange: (W) => jr(W, t, i)
3208
+ onChange: (W) => Lr(W, t, i)
3207
3209
  }, {
3208
3210
  default: G(() => {
3209
3211
  var W, c;
3210
3212
  return [
3211
- (V(!0), Ce(zl, null, Jl((c = (W = Zl.value) == null ? void 0 : W.find((x) => (x == null ? void 0 : x.value) === t)) == null ? void 0 : c.options, (x) => (V(), Xe(d, {
3213
+ (ee(!0), Ce(Wl, null, ql((c = (W = Il.value) == null ? void 0 : W.find((x) => (x == null ? void 0 : x.value) === t)) == null ? void 0 : c.options, (x) => (ee(), Qe(d, {
3212
3214
  key: x == null ? void 0 : x.value,
3213
3215
  label: x == null ? void 0 : x.value,
3214
3216
  value: x == null ? void 0 : x.value
3215
3217
  }, {
3216
3218
  default: G(() => [
3217
- Sl(Ze(x == null ? void 0 : x.label), 1)
3219
+ Sl(Xe(x == null ? void 0 : x.label), 1)
3218
3220
  ]),
3219
3221
  _: 2
3220
3222
  }, 1032, ["label", "value"]))), 128))
@@ -3222,13 +3224,13 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3222
3224
  }),
3223
3225
  _: 2
3224
3226
  }, 1032, ["model-value", "onChange"])
3225
- ])) : qe("", !0),
3226
- Wl[t] == "switch" ? (V(), Xe(n, {
3227
+ ])) : We("", !0),
3228
+ Gl[t] == "switch" ? (ee(), Qe(n, {
3227
3229
  key: 1,
3228
3230
  "model-value": i == null ? void 0 : i[t],
3229
- "active-text": (j = (B = Zl.value) == null ? void 0 : B.find((W) => (W == null ? void 0 : W.value) === t)) == null ? void 0 : j.label,
3230
- onChange: (W) => jr(W, t, i)
3231
- }, null, 8, ["model-value", "active-text", "onChange"])) : qe("", !0)
3231
+ "active-text": (j = (B = Il.value) == null ? void 0 : B.find((W) => (W == null ? void 0 : W.value) === t)) == null ? void 0 : j.label,
3232
+ onChange: (W) => Lr(W, t, i)
3233
+ }, null, 8, ["model-value", "active-text", "onChange"])) : We("", !0)
3232
3234
  ]);
3233
3235
  }), 128))
3234
3236
  ])
@@ -3236,7 +3238,7 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3236
3238
  }),
3237
3239
  _: 2
3238
3240
  }, 1024),
3239
- te("span", ni, [
3241
+ te("span", di, [
3240
3242
  re(a, {
3241
3243
  name: "drag",
3242
3244
  class: "col-drag-icon",
@@ -3253,9 +3255,9 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3253
3255
  })
3254
3256
  ]),
3255
3257
  content: G((i) => {
3256
- var y, t, B, j, W, c, x, de, M, _, P, ne, ae, ee, ke, Ue, H, se, Me, ce;
3258
+ var y, t, B, j, W, c, x, de, M, _, P, ne, ae, le, ke, Ue, H, ue, Me, ce;
3257
3259
  return [
3258
- ((y = i == null ? void 0 : i.column) == null ? void 0 : y.label) === "OCR图片" || ((t = i == null ? void 0 : i.column) == null ? void 0 : t.prop) === "OCR图片" ? (V(), Ce("div", ui, [
3260
+ ((y = i == null ? void 0 : i.column) == null ? void 0 : y.label) === "OCR图片" || ((t = i == null ? void 0 : i.column) == null ? void 0 : t.prop) === "OCR图片" ? (ee(), Ce("div", ci, [
3259
3261
  re(a, {
3260
3262
  name: "query",
3261
3263
  style: {
@@ -3264,10 +3266,10 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3264
3266
  color: "var(--ssComponent-theme-color)",
3265
3267
  cursor: "pointer"
3266
3268
  },
3267
- onClick: Va((he) => bu(i), ["stop"]),
3269
+ onClick: er((he) => Ts(i), ["stop"]),
3268
3270
  title: "查看OCR图片"
3269
3271
  }, null, 8, ["onClick"])
3270
- ])) : wu(i) ? (V(), Xe(r, {
3272
+ ])) : Fs(i) ? (ee(), Qe(r, {
3271
3273
  key: 1,
3272
3274
  "popper-class": "file-popover",
3273
3275
  placement: "right",
@@ -3276,42 +3278,42 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3276
3278
  width: "auto"
3277
3279
  }, {
3278
3280
  reference: G(() => [
3279
- te("span", si, Ze(Ol(i)), 1)
3281
+ te("span", pi, Xe(Cl(i)), 1)
3280
3282
  ]),
3281
3283
  default: G(() => {
3282
3284
  var he, xe;
3283
3285
  return [
3284
- te("div", ii, [
3285
- (V(!0), Ce(zl, null, Jl((xe = i == null ? void 0 : i.row) == null ? void 0 : xe[(he = i == null ? void 0 : i.column) == null ? void 0 : he.prop], (Qe) => (V(), Ce("div", oi, [
3286
+ te("div", fi, [
3287
+ (ee(!0), Ce(Wl, null, ql((xe = i == null ? void 0 : i.row) == null ? void 0 : xe[(he = i == null ? void 0 : i.column) == null ? void 0 : he.prop], (He) => (ee(), Ce("div", ti, [
3286
3288
  te("div", {
3287
3289
  class: "prop-url",
3288
- title: Na(Qe),
3289
- onClick: (O) => $r(Qe)
3290
- }, Ze(Na(Qe)), 9, di),
3290
+ title: Ma(He),
3291
+ onClick: (O) => wr(He)
3292
+ }, Xe(Ma(He)), 9, yi),
3291
3293
  te("div", {
3292
3294
  class: "prop-download",
3293
- onClick: (O) => Qn(Qe)
3294
- }, " 下载 ", 8, ci)
3295
+ onClick: (O) => Vn(He)
3296
+ }, " 下载 ", 8, hi)
3295
3297
  ]))), 256))
3296
3298
  ])
3297
3299
  ];
3298
3300
  }),
3299
3301
  _: 2
3300
- }, 1024)) : (V(), Ce("div", {
3302
+ }, 1024)) : (ee(), Ce("div", {
3301
3303
  key: 2,
3302
- style: sa({
3303
- color: !Array.isArray(Ol(i)) && ((j = (B = Ol(i)) == null ? void 0 : B.toString()) != null && j.includes(".txt") || (c = (W = Ol(i)) == null ? void 0 : W.toString()) != null && c.includes(".cpt") || (de = (x = Ol(i)) == null ? void 0 : x.toString()) != null && de.includes(".cyd")) ? "var(--vertical-menuitem-active-bg)" : "",
3304
- textDecoration: !Array.isArray(Ol(i)) && ((_ = (M = Ol(i)) == null ? void 0 : M.toString()) != null && _.includes(".txt") || (ne = (P = Ol(i)) == null ? void 0 : P.toString()) != null && ne.includes(".cpt") || (ee = (ae = Ol(i)) == null ? void 0 : ae.toString()) != null && ee.includes(".cyd")) ? "underline" : "",
3305
- cursor: !Array.isArray(Ol(i)) && ((Ue = (ke = Ol(i)) == null ? void 0 : ke.toString()) != null && Ue.includes(".txt") || (se = (H = Ol(i)) == null ? void 0 : H.toString()) != null && se.includes(".cpt") || (ce = (Me = Ol(i)) == null ? void 0 : Me.toString()) != null && ce.includes(".cyd")) ? "pointer" : "",
3304
+ style: da({
3305
+ color: !Array.isArray(Cl(i)) && ((j = (B = Cl(i)) == null ? void 0 : B.toString()) != null && j.includes(".txt") || (c = (W = Cl(i)) == null ? void 0 : W.toString()) != null && c.includes(".cpt") || (de = (x = Cl(i)) == null ? void 0 : x.toString()) != null && de.includes(".cyd")) ? "var(--vertical-menuitem-active-bg)" : "",
3306
+ textDecoration: !Array.isArray(Cl(i)) && ((_ = (M = Cl(i)) == null ? void 0 : M.toString()) != null && _.includes(".txt") || (ne = (P = Cl(i)) == null ? void 0 : P.toString()) != null && ne.includes(".cpt") || (le = (ae = Cl(i)) == null ? void 0 : ae.toString()) != null && le.includes(".cyd")) ? "underline" : "",
3307
+ cursor: !Array.isArray(Cl(i)) && ((Ue = (ke = Cl(i)) == null ? void 0 : ke.toString()) != null && Ue.includes(".txt") || (ue = (H = Cl(i)) == null ? void 0 : H.toString()) != null && ue.includes(".cpt") || (ce = (Me = Cl(i)) == null ? void 0 : Me.toString()) != null && ce.includes(".cyd")) ? "pointer" : "",
3306
3308
  marginLeft: (i == null ? void 0 : i.colIndex) === 0 ? `${((i == null ? void 0 : i.level) ?? 0) * 20}px` : 0
3307
3309
  }),
3308
- onClick: (he) => Pn(Ol(i))
3309
- }, Ze(Ol(i) === 0 ? "0" : Ol(i)), 13, pi))
3310
+ onClick: (he) => Mn(Cl(i))
3311
+ }, Xe(Cl(i) === 0 ? "0" : Cl(i)), 13, vi))
3310
3312
  ];
3311
3313
  }),
3312
3314
  _: 2
3313
3315
  }, [
3314
- ((A = na.value) == null ? void 0 : A.length) > 0 && Nl(Ja) !== Nl(ze) ? {
3316
+ ((A = ia.value) == null ? void 0 : A.length) > 0 && Rl(Wa) !== Rl(Ke) ? {
3315
3317
  name: "actions",
3316
3318
  fn: G(({ item: i }) => [
3317
3319
  re(r, {
@@ -3323,22 +3325,22 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3323
3325
  re(a, {
3324
3326
  name: "more",
3325
3327
  style: { cursor: "pointer", width: "15px", height: "15px" },
3326
- onClick: l[0] || (l[0] = Va(() => {
3328
+ onClick: l[0] || (l[0] = er(() => {
3327
3329
  }, ["stop"]))
3328
3330
  })
3329
3331
  ]),
3330
3332
  default: G(() => [
3331
- te("div", Xs, [
3332
- (V(!0), Ce(zl, null, Jl(Xn(na.value, i), (y, t) => (V(), Ce("div", {
3333
+ te("div", ei, [
3334
+ (ee(!0), Ce(Wl, null, ql(es(ia.value, i), (y, t) => (ee(), Ce("div", {
3333
3335
  class: "menu-config-item",
3334
3336
  key: t,
3335
- onClick: Va((B) => Ia(y == null ? void 0 : y.label, i, { extra: y }), ["stop"])
3337
+ onClick: er((B) => Va(y == null ? void 0 : y.label, i, { extra: y }), ["stop"])
3336
3338
  }, [
3337
3339
  te("div", {
3338
- style: sa({ color: y == null ? void 0 : y.textColor }),
3340
+ style: da({ color: y == null ? void 0 : y.textColor }),
3339
3341
  class: "extra-button-label"
3340
- }, Ze(y == null ? void 0 : y.label), 5)
3341
- ], 8, Zs))), 128))
3342
+ }, Xe(y == null ? void 0 : y.label), 5)
3343
+ ], 8, li))), 128))
3342
3344
  ])
3343
3345
  ]),
3344
3346
  _: 2
@@ -3346,103 +3348,103 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3346
3348
  ]),
3347
3349
  key: "0"
3348
3350
  } : void 0,
3349
- ((D = Y.value) == null ? void 0 : D.length) > 0 ? {
3351
+ ((D = I.value) == null ? void 0 : D.length) > 0 ? {
3350
3352
  name: "batchButton",
3351
3353
  fn: G((i) => [
3352
- br(re(Ns, {
3353
- lockingPage: Nl(Ja) === Nl(ze),
3354
+ kr(re(Ku, {
3355
+ lockingPage: Rl(Wa) === Rl(Ke),
3354
3356
  buttons: i.buttons,
3355
- selectTableItems: Fl.value,
3356
- onButtonClick: l[2] || (l[2] = (y) => Ia(y, "", {}))
3357
+ selectTableItems: Kl.value,
3358
+ onButtonClick: l[2] || (l[2] = (y) => Va(y, "", {}))
3357
3359
  }, null, 8, ["lockingPage", "buttons", "selectTableItems"]), [
3358
- [Ir, ye.value]
3360
+ [rn, ye.value]
3359
3361
  ]),
3360
- br(te("div", null, null, 512), [
3361
- [Ir, !ye.value]
3362
+ kr(te("div", null, null, 512), [
3363
+ [rn, !ye.value]
3362
3364
  ])
3363
3365
  ]),
3364
3366
  key: "1"
3365
3367
  } : void 0
3366
- ]), 1032, ["pageObj", "showIndex", "isTree", "summaryInfo", "columns", "defaultSort", "isCardViewport", "checkedColumns", "tableData", "isEditViewport", "isShowPagination", "allowSelect", "extraButton", "rowButton", "cacheExtraButtons", "isClearSelection"])) : qe("", !0),
3367
- re(ya, {
3368
- title: Ul.value,
3369
- visible: Ql.value,
3370
- width: Un.value,
3371
- onBeforeDestroy: Gn,
3368
+ ]), 1032, ["pageObj", "showIndex", "isTree", "summaryInfo", "columns", "defaultSort", "isCardViewport", "checkedColumns", "tableData", "isEditViewport", "isShowPagination", "allowSelect", "extraButton", "rowButton", "cacheExtraButtons", "isClearSelection"])) : We("", !0),
3369
+ re(ga, {
3370
+ title: El.value,
3371
+ visible: Zl.value,
3372
+ width: $n.value,
3373
+ onBeforeDestroy: Yn,
3372
3374
  style: { height: "74%" }
3373
3375
  }, {
3374
3376
  default: G(() => [
3375
- te("div", fi, [
3376
- re(xa, {
3377
+ te("div", gi, [
3378
+ re(Ua, {
3377
3379
  rowContents: _e.value,
3378
3380
  isEnableWrap: !1,
3379
3381
  showOperator: !1,
3380
- onChange: Du,
3381
- onFixChangeValue: Yn,
3382
- onClickTrigger: Hn,
3383
- isEdit: Wa.value,
3384
- onBlurChange: Jn,
3385
- onCreate: Wn,
3386
- onTagChange: Ln
3382
+ onChange: Ps,
3383
+ onFixChangeValue: as,
3384
+ onClickTrigger: In,
3385
+ isEdit: qa.value,
3386
+ onBlurChange: Qn,
3387
+ onCreate: Xn,
3388
+ onTagChange: Rn
3387
3389
  }, null, 8, ["rowContents", "isEdit"])
3388
3390
  ])
3389
3391
  ]),
3390
3392
  footer: G(() => [
3391
- Ga.value ? (V(), Ce("div", ti, [
3393
+ Ha.value ? (ee(), Ce("div", bi, [
3392
3394
  re(b, {
3393
- onClick: l[5] || (l[5] = (i) => Ql.value = !1),
3395
+ onClick: l[5] || (l[5] = (i) => Zl.value = !1),
3394
3396
  id: "themeBorderButton"
3395
3397
  }, {
3396
3398
  default: G(() => l[15] || (l[15] = [
3397
- Sl(Ze("取消"))
3399
+ Sl(Xe("取消"))
3398
3400
  ])),
3399
3401
  _: 1,
3400
3402
  __: [15]
3401
3403
  }),
3402
3404
  re(b, {
3403
3405
  class: "ok-button",
3404
- onClick: l[6] || (l[6] = (i) => Ba(!0)),
3406
+ onClick: l[6] || (l[6] = (i) => Ka(!0)),
3405
3407
  id: "themeButton"
3406
3408
  }, {
3407
3409
  default: G(() => l[16] || (l[16] = [
3408
- Sl(Ze("确认"))
3410
+ Sl(Xe("确认"))
3409
3411
  ])),
3410
3412
  _: 1,
3411
3413
  __: [16]
3412
3414
  })
3413
- ])) : qe("", !0)
3415
+ ])) : We("", !0)
3414
3416
  ]),
3415
3417
  _: 1
3416
3418
  }, 8, ["title", "visible", "width"]),
3417
- re(ya, {
3418
- title: Ul.value,
3419
- visible: qa.value,
3420
- width: nr.value,
3421
- onBeforeDestroy: l[8] || (l[8] = (i) => qa.value = !1)
3419
+ re(ga, {
3420
+ title: El.value,
3421
+ visible: Ga.value,
3422
+ width: sr.value,
3423
+ onBeforeDestroy: l[8] || (l[8] = (i) => Ga.value = !1)
3422
3424
  }, {
3423
3425
  default: G(() => [
3424
- re(zs)
3426
+ re(Hu)
3425
3427
  ]),
3426
3428
  footer: G(() => [
3427
- te("div", yi, [
3429
+ te("div", ki, [
3428
3430
  re(b, {
3429
- onClick: l[7] || (l[7] = (i) => qa.value = !1),
3431
+ onClick: l[7] || (l[7] = (i) => Ga.value = !1),
3430
3432
  class: "cancel-button",
3431
3433
  id: "themeBorderButton"
3432
3434
  }, {
3433
3435
  default: G(() => l[17] || (l[17] = [
3434
- Sl(Ze("取消"))
3436
+ Sl(Xe("取消"))
3435
3437
  ])),
3436
3438
  _: 1,
3437
3439
  __: [17]
3438
3440
  }),
3439
3441
  re(b, {
3440
3442
  class: "ok-button",
3441
- onClick: au,
3443
+ onClick: is,
3442
3444
  id: "themeButton"
3443
3445
  }, {
3444
3446
  default: G(() => l[18] || (l[18] = [
3445
- Sl(Ze("确认"))
3447
+ Sl(Xe("确认"))
3446
3448
  ])),
3447
3449
  _: 1,
3448
3450
  __: [18]
@@ -3451,56 +3453,56 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3451
3453
  ]),
3452
3454
  _: 1
3453
3455
  }, 8, ["title", "visible", "width"]),
3454
- oa.value ? (V(), Xe(dn, {
3456
+ pa.value ? (ee(), Qe(yn, {
3455
3457
  key: 1,
3456
- fileDataList: va.value,
3457
- onDestroy: eu
3458
- }, null, 8, ["fileDataList"])) : qe("", !0),
3459
- Q.value ? (V(), Xe(ya, {
3458
+ fileDataList: ka.value,
3459
+ onDestroy: ss
3460
+ }, null, 8, ["fileDataList"])) : We("", !0),
3461
+ X.value ? (ee(), Qe(ga, {
3460
3462
  key: 2,
3461
- visible: Q.value,
3462
- onBeforeDestroy: Ou,
3463
+ visible: X.value,
3464
+ onBeforeDestroy: Es,
3463
3465
  style: { height: "80vh", width: "80vw" },
3464
3466
  "body-class": "three-dialog-body",
3465
3467
  "footer-class": "three-dialog-footer"
3466
3468
  }, {
3467
3469
  default: G(() => [
3468
- re(ts, {
3469
- files: Ea.value,
3470
- threeData: Ge.value
3470
+ re(bu, {
3471
+ files: La.value,
3472
+ threeData: qe.value
3471
3473
  }, null, 8, ["files", "threeData"])
3472
3474
  ]),
3473
3475
  _: 1
3474
- }, 8, ["visible"])) : qe("", !0),
3475
- re(ya, {
3476
+ }, 8, ["visible"])) : We("", !0),
3477
+ re(ga, {
3476
3478
  visible: e.componentVisible,
3477
3479
  onBeforeDestroy: l[9] || (l[9] = (i) => e.componentVisible = !1),
3478
- width: nr.value,
3480
+ width: sr.value,
3479
3481
  style: { height: "70vh" }
3480
3482
  }, {
3481
3483
  default: G(() => [
3482
- re(T, { dialogItem: pa.value }, null, 8, ["dialogItem"])
3484
+ re(T, { dialogItem: ya.value }, null, 8, ["dialogItem"])
3483
3485
  ]),
3484
3486
  _: 1
3485
3487
  }, 8, ["visible", "width"]),
3486
- re(ya, {
3488
+ re(ga, {
3487
3489
  title: "上传OCR图片",
3488
- visible: Ha.value,
3489
- onBeforeDestroy: Mr,
3490
+ visible: Qa.value,
3491
+ onBeforeDestroy: Br,
3490
3492
  width: "600px"
3491
3493
  }, {
3492
3494
  default: G(() => [
3493
- br((V(), Ce("div", hi, [
3495
+ kr((ee(), Ce("div", Si, [
3494
3496
  re(m, {
3495
- "file-list": Vl.value,
3496
- "onUpdate:fileList": l[10] || (l[10] = (i) => Vl.value = i),
3497
+ "file-list": la.value,
3498
+ "onUpdate:fileList": l[10] || (l[10] = (i) => la.value = i),
3497
3499
  multiple: "",
3498
3500
  drag: "",
3499
3501
  action: "",
3500
3502
  "auto-upload": !1,
3501
3503
  limit: 20,
3502
3504
  accept: "image/*",
3503
- "on-change": cu,
3505
+ "on-change": hs,
3504
3506
  class: "upload-content"
3505
3507
  }, {
3506
3508
  tip: G(() => l[19] || (l[19] = [
@@ -3509,7 +3511,7 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3509
3511
  default: G(() => [
3510
3512
  re(h, { class: "el-icon--upload" }, {
3511
3513
  default: G(() => [
3512
- re(Nl(qu))
3514
+ re(Rl(Zs))
3513
3515
  ]),
3514
3516
  _: 1
3515
3517
  }),
@@ -3519,25 +3521,25 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3519
3521
  ], -1))
3520
3522
  ]),
3521
3523
  file: G(({ file: i, index: y }) => [
3522
- te("div", vi, [
3524
+ te("div", Ai, [
3523
3525
  te("div", {
3524
3526
  class: "upload-content-title",
3525
3527
  style: { flex: "1", overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" },
3526
3528
  title: i == null ? void 0 : i.name
3527
- }, Ze(i == null ? void 0 : i.name), 9, gi),
3528
- te("div", bi, [
3529
+ }, Xe(i == null ? void 0 : i.name), 9, _i),
3530
+ te("div", Ti, [
3529
3531
  re(a, {
3530
3532
  class: "icon-blue",
3531
3533
  name: "EyeFill",
3532
3534
  style: { width: "15px", height: "15px", cursor: "pointer", color: "var(--ssform-label-color)" },
3533
- onClick: (t) => gu(i),
3535
+ onClick: (t) => _s(i),
3534
3536
  title: "预览"
3535
3537
  }, null, 8, ["onClick"]),
3536
3538
  re(a, {
3537
3539
  class: "icon-blue",
3538
3540
  name: "Cancel",
3539
3541
  style: { width: "15px", height: "15px", cursor: "pointer", color: "var(--ssform-label-color)" },
3540
- onClick: (t) => Su(y),
3542
+ onClick: (t) => Os(y),
3541
3543
  title: "删除"
3542
3544
  }, null, 8, ["onClick"])
3543
3545
  ])
@@ -3546,15 +3548,15 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3546
3548
  _: 1
3547
3549
  }, 8, ["file-list"])
3548
3550
  ])), [
3549
- [N, da.value]
3551
+ [N, fa.value]
3550
3552
  ])
3551
3553
  ]),
3552
3554
  footer: G(() => [
3553
- te("div", ki, [
3555
+ te("div", mi, [
3554
3556
  re(b, {
3555
- onClick: Mr,
3557
+ onClick: Br,
3556
3558
  id: "themeBorderButton",
3557
- disabled: da.value
3559
+ disabled: fa.value
3558
3560
  }, {
3559
3561
  default: G(() => l[21] || (l[21] = [
3560
3562
  Sl("取消")
@@ -3564,9 +3566,9 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3564
3566
  }, 8, ["disabled"]),
3565
3567
  re(b, {
3566
3568
  class: "ok-button",
3567
- onClick: pu,
3569
+ onClick: vs,
3568
3570
  id: "themeButton",
3569
- disabled: da.value
3571
+ disabled: fa.value
3570
3572
  }, {
3571
3573
  default: G(() => l[22] || (l[22] = [
3572
3574
  Sl("确认")
@@ -3578,21 +3580,21 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3578
3580
  ]),
3579
3581
  _: 1
3580
3582
  }, 8, ["visible"]),
3581
- Qa.value ? (V(), Xe(dn, {
3583
+ Xa.value ? (ee(), Qe(yn, {
3582
3584
  key: 3,
3583
- fileDataList: Xa.value,
3584
- onDestroy: ku
3585
- }, null, 8, ["fileDataList"])) : qe("", !0),
3586
- re(ya, {
3585
+ fileDataList: Za.value,
3586
+ onDestroy: ms
3587
+ }, null, 8, ["fileDataList"])) : We("", !0),
3588
+ re(ga, {
3587
3589
  title: "OCR识别结果预览",
3588
- visible: sr.value,
3589
- onBeforeDestroy: tr,
3590
+ visible: ir.value,
3591
+ onBeforeDestroy: yr,
3590
3592
  width: "90%",
3591
3593
  style: { maxWidth: "1200px" }
3592
3594
  }, {
3593
3595
  default: G(() => [
3594
- te("div", Si, [
3595
- te("div", Ai, [
3596
+ te("div", Oi, [
3597
+ te("div", Ci, [
3596
3598
  re(L, {
3597
3599
  title: "请核对识别结果,您可以修改字段值后点击确认添加到表格。在表头勾选字段用于匹配并替换现有数据",
3598
3600
  type: "info",
@@ -3600,9 +3602,9 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3600
3602
  "show-icon": ""
3601
3603
  })
3602
3604
  ]),
3603
- te("div", _i, [
3605
+ te("div", xi, [
3604
3606
  re(S, {
3605
- data: ka.value,
3607
+ data: _a.value,
3606
3608
  border: "",
3607
3609
  stripe: "",
3608
3610
  "max-height": "400",
@@ -3615,39 +3617,39 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3615
3617
  width: "60",
3616
3618
  fixed: ""
3617
3619
  }),
3618
- (V(!0), Ce(zl, null, Jl(ir.value, (i) => (V(), Xe($, {
3620
+ (ee(!0), Ce(Wl, null, ql(or.value, (i) => (ee(), Qe($, {
3619
3621
  key: i.prop,
3620
3622
  prop: i.prop,
3621
3623
  "min-width": i.minWidth || 120,
3622
3624
  "class-name": i.isAccuracy ? "accuracy-column" : ""
3623
3625
  }, {
3624
3626
  header: G(() => [
3625
- te("div", Ti, [
3626
- i.isAccuracy ? qe("", !0) : (V(), Xe(o, {
3627
+ te("div", Di, [
3628
+ i.isAccuracy ? We("", !0) : (ee(), Qe(o, {
3627
3629
  key: 0,
3628
- "model-value": ea.value.includes(i.prop),
3629
- onChange: (y) => yu(i.prop, y),
3630
- onClick: l[11] || (l[11] = Va(() => {
3630
+ "model-value": aa.value.includes(i.prop),
3631
+ onChange: (y) => ks(i.prop, y),
3632
+ onClick: l[11] || (l[11] = er(() => {
3631
3633
  }, ["stop"]))
3632
3634
  }, null, 8, ["model-value", "onChange"])),
3633
- te("span", null, Ze(i.label), 1)
3635
+ te("span", null, Xe(i.label), 1)
3634
3636
  ])
3635
3637
  ]),
3636
3638
  default: G(({ row: y, $index: t }) => [
3637
- i.isAccuracy ? (V(), Ce("span", {
3639
+ i.isAccuracy ? (ee(), Ce("span", {
3638
3640
  key: 0,
3639
3641
  class: "accuracy-value",
3640
- style: sa({
3641
- color: vu(y[i.prop]),
3642
+ style: da({
3643
+ color: As(y[i.prop]),
3642
3644
  fontWeight: 500
3643
3645
  })
3644
- }, Ze(hu(y[i.prop])), 5)) : (V(), Xe(w, {
3646
+ }, Xe(Ss(y[i.prop])), 5)) : (ee(), Qe(w, {
3645
3647
  key: 1,
3646
3648
  modelValue: y[i.prop],
3647
3649
  "onUpdate:modelValue": (B) => y[i.prop] = B,
3648
3650
  size: "small",
3649
3651
  placeholder: "请输入" + i.label,
3650
- onChange: (B) => tu(t, i.prop, B)
3652
+ onChange: (B) => bs(t, i.prop, B)
3651
3653
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"]))
3652
3654
  ]),
3653
3655
  _: 2
@@ -3659,9 +3661,9 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3659
3661
  ])
3660
3662
  ]),
3661
3663
  footer: G(() => [
3662
- te("div", mi, [
3664
+ te("div", Ui, [
3663
3665
  re(b, {
3664
- onClick: tr,
3666
+ onClick: yr,
3665
3667
  id: "themeBorderButton"
3666
3668
  }, {
3667
3669
  default: G(() => l[23] || (l[23] = [
@@ -3672,7 +3674,7 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3672
3674
  }),
3673
3675
  re(b, {
3674
3676
  class: "ok-button",
3675
- onClick: fu,
3677
+ onClick: gs,
3676
3678
  id: "themeButton"
3677
3679
  }, {
3678
3680
  default: G(() => l[24] || (l[24] = [
@@ -3685,23 +3687,23 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3685
3687
  ]),
3686
3688
  _: 1
3687
3689
  }, 8, ["visible"]),
3688
- re(ya, {
3690
+ re(ga, {
3689
3691
  title: sl.title,
3690
3692
  visible: sl.show,
3691
3693
  width: sl.width,
3692
- onBeforeDestroy: ou
3694
+ onBeforeDestroy: ts
3693
3695
  }, {
3694
3696
  default: G(() => [
3695
- te("div", Oi, [
3696
- re(xa, {
3697
+ te("div", Ei, [
3698
+ re(Ua, {
3697
3699
  rowContents: sl == null ? void 0 : sl.contents,
3698
3700
  formRules: sl == null ? void 0 : sl.formRules,
3699
3701
  showOperator: !1,
3700
3702
  buttonValue: sl.buttonValue,
3701
- isEdit: Wa.value,
3703
+ isEdit: qa.value,
3702
3704
  isStartJustify: !1,
3703
3705
  isEnableWrap: !1,
3704
- onOnButtonClick: du
3706
+ onOnButtonClick: ys
3705
3707
  }, null, 8, ["rowContents", "formRules", "buttonValue", "isEdit"])
3706
3708
  ])
3707
3709
  ]),
@@ -3710,11 +3712,11 @@ const Ar = (q) => q.match(/\((.*)\)/)[1], fn = {
3710
3712
  ]);
3711
3713
  };
3712
3714
  }
3713
- }, zi = /* @__PURE__ */ lr(Ci, [["__scopeId", "data-v-7b313963"]]);
3715
+ }, Hi = /* @__PURE__ */ ar(ji, [["__scopeId", "data-v-bb042d9d"]]);
3714
3716
  export {
3715
- Rs as a,
3716
- Ar as f,
3717
- _r as g,
3718
- zi as s,
3719
- Hs as u
3717
+ zu as a,
3718
+ _r as f,
3719
+ Tr as g,
3720
+ Hi as s,
3721
+ Iu as u
3720
3722
  };