ss-component-new 1.2.16 → 1.2.18

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 (86) hide show
  1. package/dist/{animationData-BWw4kCRg.js → animationData-CYVo4cF3.js} +3 -3
  2. package/dist/{animationData-Gmqt1miw.cjs → animationData-DTnmVl43.cjs} +1 -1
  3. package/dist/{array-BzGprQMJ.js → array-D5WfaBtT.js} +1 -1
  4. package/dist/{array-BnEzUAqG.cjs → array-kfBiN1QA.cjs} +1 -1
  5. package/dist/{index-DjlNkAz3.js → index-8U0_G_0R.js} +18 -18
  6. package/dist/{index-Cdz24GlP.js → index-9RCVRjgc.js} +1 -1
  7. package/dist/{index-Drtr5P6Z.js → index-BGnIpBtJ.js} +178 -175
  8. package/dist/{index-VAoviGiD.js → index-BHHFDjsi.js} +1133 -1126
  9. package/dist/{index-0yieO8oJ.js → index-BgJ164SD.js} +1 -1
  10. package/dist/{index-DIVlMcU8.cjs → index-BiNsOjcC.cjs} +1 -1
  11. package/dist/{index-BSt5BRu5.js → index-Bj3QBLNZ.js} +1 -1
  12. package/dist/{index-BN61mxV-.cjs → index-Bjp7vtmT.cjs} +1 -1
  13. package/dist/{index-Ol-nncQ8.js → index-BoD05_J0.js} +1 -1
  14. package/dist/{index-Cuw0COzP.cjs → index-BpyDAfgJ.cjs} +1 -1
  15. package/dist/{index-Bog3Ps53.js → index-BrdP9HC4.js} +2 -2
  16. package/dist/{index-BWiorSLN.js → index-BsEOhglN.js} +5 -5
  17. package/dist/{index-CDVTwJO1.js → index-C0M4a5a7.js} +2 -2
  18. package/dist/{index-DKqiOVYm.js → index-C8gXNO36.js} +2 -2
  19. package/dist/{index-BBp-QrUN.cjs → index-CEsRU7PI.cjs} +1 -1
  20. package/dist/{index-DzKxXHO_.cjs → index-CGGQf1Fy.cjs} +1 -1
  21. package/dist/{index-Dw-oonRR.js → index-CQBynyM7.js} +3 -3
  22. package/dist/{index-Cc_TW4OE.cjs → index-CTd5yE7g.cjs} +1 -1
  23. package/dist/{index-ClciGXhU.js → index-CgEp32Ha.js} +2 -2
  24. package/dist/{index-D-aPtE2l.cjs → index-CgXgl7xg.cjs} +1 -1
  25. package/dist/{index-b0_Sdvtc.cjs → index-Cl1eN72c.cjs} +1 -1
  26. package/dist/{index-0s9a7Rpc.cjs → index-CoQXoOC5.cjs} +1 -1
  27. package/dist/{index-DMzjugA8.js → index-Cz9V1kg-.js} +5 -5
  28. package/dist/{index-DE2PX8iP.cjs → index-D51ekpXx.cjs} +1 -1
  29. package/dist/{index-i7c0i6cs.cjs → index-D7Y91W7M.cjs} +1 -1
  30. package/dist/{index-DvS03o0x.js → index-D9BKoQ6f.js} +3 -3
  31. package/dist/{index-45a8lajL.cjs → index-D9D2Wuf4.cjs} +1 -1
  32. package/dist/{index-Bxj1NF8c.js → index-DFH8aI2Y.js} +1 -1
  33. package/dist/{index-GPZD2ZHO.cjs → index-DKo5-PGs.cjs} +1 -1
  34. package/dist/{index-CgkhjQBg.js → index-DLRyzLvk.js} +5 -5
  35. package/dist/index-DWCqPPU9.cjs +1 -0
  36. package/dist/{index-MJGhXKrR.js → index-DYT7O5SY.js} +1 -1
  37. package/dist/{index-DBS-llYZ.cjs → index-Djrsmf4o.cjs} +1 -1
  38. package/dist/{index-C4KNN0N1.cjs → index-DuE6CA_5.cjs} +1 -1
  39. package/dist/{index-CF9Y_2xa.cjs → index-DuX7JuNX.cjs} +1 -1
  40. package/dist/{index-CTMVMsEw.cjs → index-DviC5Mes.cjs} +1 -1
  41. package/dist/{index-CQ2og4VS.cjs → index-DxERe_o8.cjs} +1 -1
  42. package/dist/{index-BtktIcJr.js → index-JqoJqpvd.js} +5 -5
  43. package/dist/{index-C0_dzZqi.cjs → index-L_8m2Edi.cjs} +1 -1
  44. package/dist/{index-DasYrMO9.js → index-PYM4eM9f.js} +2 -2
  45. package/dist/{index-N9O6PaDb.js → index-RSZafNJV.js} +2 -2
  46. package/dist/{index-CcrmcbVW.cjs → index-Upb8vZrJ.cjs} +1 -1
  47. package/dist/{index-Dtqc59Tk.js → index-WkhOFQKy.js} +1 -1
  48. package/dist/{index-B-78xMsr.cjs → index-aTTU_ja_.cjs} +1 -1
  49. package/dist/{index-CO9tS7yE.cjs → index-brsfUqkV.cjs} +1 -1
  50. package/dist/{index-BF5O3SKN.cjs → index-fTU6D0EV.cjs} +1 -1
  51. package/dist/{index-0xuBTAzf.js → index-fcgKi8rF.js} +10 -10
  52. package/dist/{index-ly9ku1Ig.cjs → index-loXBOUd5.cjs} +1 -1
  53. package/dist/{index-B1VERzBW.cjs → index-oKm_bMcI.cjs} +1 -1
  54. package/dist/{index-c2Td0J53.js → index-pDGtp9Y4.js} +1 -1
  55. package/dist/{index-B775IA-h.js → index-t-iLIRPH.js} +2 -2
  56. package/dist/{index-Dlqjb3Ae.js → index-uzUGa1I0.js} +2 -2
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DM8to6QE.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DkvEh0kU.js} +1 -1
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DDk9QivU.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DyCjVGK4.cjs} +1 -1
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BbO6f96z.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-CgRoTnM4.cjs} +1 -1
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CX2RbTN9.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-DDuO2RJ1.js} +5 -5
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-Cg8Mjd8K.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BimjDwOI.cjs} +2 -2
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BgGmA99m.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-Cc_BYWMl.js} +14 -11
  63. package/dist/{index.vue_vue_type_style_index_1_lang-CwoxJbwS.cjs → index.vue_vue_type_style_index_1_lang-B-382mSr.cjs} +1 -1
  64. package/dist/{index.vue_vue_type_style_index_1_lang-CrPsDsEY.js → index.vue_vue_type_style_index_1_lang-CnzkLjVf.js} +2 -2
  65. package/dist/index.vue_vue_type_style_index_1_lang-YnBuuwY6.cjs +32 -0
  66. package/dist/{index.vue_vue_type_style_index_1_lang-CeaEXypd.js → index.vue_vue_type_style_index_1_lang-vU1VQMfs.js} +2008 -1961
  67. package/dist/{main-Dg2tI2uw.js → main-Dk1H52zm.js} +4 -4
  68. package/dist/{main-DGXvSAML.cjs → main-hA5knk3Y.cjs} +1 -1
  69. package/dist/ss-component.cjs +1 -1
  70. package/dist/ss-component.css +1 -1
  71. package/dist/ss-component.js +10 -10
  72. package/dist/ss-component2.cjs +1 -1
  73. package/dist/ss-component2.js +11 -11
  74. package/dist/{threeModel-wyboz8GN.js → threeModel-7FtoCWUL.js} +2 -2
  75. package/dist/{threeModel-DR5HOavd.cjs → threeModel-B8ayOk4L.cjs} +1 -1
  76. package/dist/{threeSceneView-9bR4B421.cjs → threeSceneView-DpIfHcs5.cjs} +1 -1
  77. package/dist/{threeSceneView-BBp0_Tq3.js → threeSceneView-kfQrdRjz.js} +7 -7
  78. package/dist/{threeSceneViewForCPMPIP-BYI3fXA6.cjs → threeSceneViewForCPMPIP-BTLpKMe4.cjs} +1 -1
  79. package/dist/{threeSceneViewForCPMPIP-pDy7SQVJ.js → threeSceneViewForCPMPIP-Cz1ay3aa.js} +6 -6
  80. package/dist/{threeViewerHost-6YyhGjjJ.js → threeViewerHost-CXQi7gV5.js} +3 -3
  81. package/dist/{threeViewerHost-kHhK4tIS.cjs → threeViewerHost-Da6cfLt7.cjs} +1 -1
  82. package/dist/{useRayCaster-DENUSa5k.js → useRayCaster-Ca7t2A9k.js} +1 -1
  83. package/dist/{useRayCaster-BhV1gz97.cjs → useRayCaster-x0qmWO-B.cjs} +1 -1
  84. package/package.json +1 -1
  85. package/dist/index-CZs4OK7B.cjs +0 -1
  86. package/dist/index.vue_vue_type_style_index_1_lang-D2WqwMCZ.cjs +0 -32
@@ -1,14 +1,14 @@
1
1
  import { ref as H, watch as Ge, nextTick as ea, resolveComponent as Ne, createBlock as Fe, openBlock as ie, withCtx as re, createElementVNode as be, renderSlot as Ba, onMounted as ha, createElementBlock as Ue, normalizeStyle as Ol, normalizeClass as Ha, toDisplayString as je, createCommentVNode as Me, createVNode as te, unref as Ie, Fragment as vl, renderList as bl, createTextVNode as rl, defineComponent as Qa, reactive as Yl, inject as Qr, provide as Xr, onBeforeUnmount as Zr, computed as Ma, onUnmounted as Yr, createSlots as Ir } from "vue";
2
2
  import { bh as Vr, as as en, c as q, E as $e, b$ as ya, g as _l, p as hl, s as Ul, u as ln, bt as pa, d as Ka, b as yl, bu as an, f as rn, c3 as nn } from "./index-CYp77kPp.js";
3
- import { d as Na, S as sn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DM8to6QE.js";
4
- import { c as la, _ as un, h as on, e as tn, E as cn } from "./index-BtktIcJr.js";
5
- import { a as dn, T as pn, d as fa, c as fn } from "./threeViewerHost-6YyhGjjJ.js";
6
- import { aK as Kl, aE as gn, i as al, k as hn, j as yn, u as vn, aJ as bn, a as Sn, aZ as Fa, a_ as wa, a$ as kn, b0 as Tn, l as Il, E as za, aH as Ja, b1 as Wa, aS as mn, b2 as An } from "./index.vue_vue_type_style_index_1_lang-CeaEXypd.js";
7
- import { r as Un, a as Nl, w as _n } from "./index.vue_vue_type_style_index_1_lang-CrPsDsEY.js";
3
+ import { d as Na, S as sn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DkvEh0kU.js";
4
+ import { c as la, _ as un, h as on, e as tn, E as cn } from "./index-JqoJqpvd.js";
5
+ import { a as dn, T as pn, d as fa, c as fn } from "./threeViewerHost-CXQi7gV5.js";
6
+ import { aK as Kl, aE as gn, i as al, k as hn, j as yn, u as vn, aJ as bn, a as Sn, aZ as Fa, a_ as wa, a$ as kn, b0 as Tn, l as Il, E as za, aH as Ja, b1 as Wa, aS as mn, b2 as An } from "./index.vue_vue_type_style_index_1_lang-vU1VQMfs.js";
7
+ import { r as Un, a as Nl, w as _n } from "./index.vue_vue_type_style_index_1_lang-CnzkLjVf.js";
8
8
  import { _ as aa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  import "./three-viewport-gizmo-CkQ98n-T.js";
10
- import { s as Vl } from "./index-Bxj1NF8c.js";
11
- import "./index-0yieO8oJ.js";
10
+ import { s as Vl } from "./index-DFH8aI2Y.js";
11
+ import "./index-BgJ164SD.js";
12
12
  import { i as Ga } from "./isString-BNK38WbE.js";
13
13
  const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
14
14
  __name: "index",
@@ -117,7 +117,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
117
117
  const R = new FileReader();
118
118
  R.onload = (ne) => {
119
119
  try {
120
- const Te = new Uint8Array(ne.target.result), Ce = Un(Te, { type: "array" }), Re = Ce.SheetNames[0], we = Ce.Sheets[Re], w = Nl.decode_range(we["!ref"]).e.c + 1, me = new Array(w).fill(""), O = [];
120
+ const Te = new Uint8Array(ne.target.result), Ce = Un(Te, { type: "array" }), Re = Ce.SheetNames[0], we = Ce.Sheets[Re], w = Nl.decode_range(we["!ref"]).e.c + 1, me = new Array(w).fill(""), D = [];
121
121
  for (const Y in we) {
122
122
  if (Y[0] === "!") continue;
123
123
  const { r: ze, c: el } = Nl.decode_cell(Y);
@@ -125,19 +125,19 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
125
125
  if (we[Y].t === "n" && Je > 0 && Je < 1e6 && (Je = new Date((Je - 25569) * 86400 * 1e3).toISOString().split("T")[0]), (Je == null || Je === "") && (Je = ""), ze === 0)
126
126
  me[el] = Je;
127
127
  else {
128
- if (!O[ze - 1]) {
129
- O[ze - 1] = {};
128
+ if (!D[ze - 1]) {
129
+ D[ze - 1] = {};
130
130
  for (let he = 0; he < w; he++)
131
- O[ze - 1][`col_${he}`] = "";
131
+ D[ze - 1][`col_${he}`] = "";
132
132
  }
133
- O[ze - 1][`col_${el}`] = Je;
133
+ D[ze - 1][`col_${el}`] = Je;
134
134
  }
135
135
  }
136
136
  for (let Y = 0; Y < w; Y++)
137
137
  me[Y] === void 0 && (me[Y] = "");
138
- const Oe = O == null ? void 0 : O[0];
138
+ const Oe = D == null ? void 0 : D[0];
139
139
  if (!(Oe != null && Oe.hasOwnProperty("col_0"))) return $e.error("导入的数据列不匹配,请检查是否错位");
140
- X("getImportData", me, O);
140
+ X("getImportData", me, D);
141
141
  } catch (Te) {
142
142
  throw $e.error(Te.message), new Error(Te.message);
143
143
  }
@@ -208,13 +208,13 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
208
208
  isVisible: i.value
209
209
  }, {
210
210
  reference: re(() => {
211
- var w, me, O, Oe;
211
+ var w, me, D, Oe;
212
212
  return [
213
213
  te(Te, {
214
214
  modelValue: $.value,
215
215
  "onUpdate:modelValue": ce[1] || (ce[1] = (Y) => $.value = Y),
216
216
  style: { "min-width": "80px" },
217
- placeholder: Ve.value ? (O = (me = (w = N.filterValues) == null ? void 0 : w.filter((Y) => Y)) == null ? void 0 : me.slice(0, 3)) == null ? void 0 : O.join("/") : "搜索",
217
+ placeholder: Ve.value ? (D = (me = (w = N.filterValues) == null ? void 0 : w.filter((Y) => Y)) == null ? void 0 : me.slice(0, 3)) == null ? void 0 : D.join("/") : "搜索",
218
218
  "prefix-icon": Ie(Vr),
219
219
  clearable: "",
220
220
  onInput: fe,
@@ -310,18 +310,18 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
310
310
  ]),
311
311
  dropMenu: re(() => [
312
312
  be("div", Ln, [
313
- (ie(!0), Ue(vl, null, bl(w == null ? void 0 : w.contents, (O) => (ie(), Fe(Ce, {
314
- key: O == null ? void 0 : O.label,
313
+ (ie(!0), Ue(vl, null, bl(w == null ? void 0 : w.contents, (D) => (ie(), Fe(Ce, {
314
+ key: D == null ? void 0 : D.label,
315
315
  disabled: !!N.lockingPage,
316
316
  style: { width: "100%", margin: "0", border: "none", display: "flex", "justify-content": "flex-start" },
317
- onClick: (Oe) => oe(O == null ? void 0 : O.label)
317
+ onClick: (Oe) => oe(D == null ? void 0 : D.label)
318
318
  }, {
319
319
  default: re(() => {
320
320
  var Oe, Y;
321
321
  return [
322
- rl(je(O == null ? void 0 : O.label), 1),
323
- (Oe = O == null ? void 0 : O.label) != null && Oe.includes("选中") ? (ie(), Ue("span", Pn, "(" + je(N.selectNums) + ")", 1)) : Me("", !0),
324
- (Y = O == null ? void 0 : O.label) != null && Y.includes("全部") ? (ie(), Ue("span", $n, "(" + je(N.dataNums) + ")", 1)) : Me("", !0)
322
+ rl(je(D == null ? void 0 : D.label), 1),
323
+ (Oe = D == null ? void 0 : D.label) != null && Oe.includes("选中") ? (ie(), Ue("span", Pn, "(" + je(N.selectNums) + ")", 1)) : Me("", !0),
324
+ (Y = D == null ? void 0 : D.label) != null && Y.includes("全部") ? (ie(), Ue("span", $n, "(" + je(N.dataNums) + ")", 1)) : Me("", !0)
325
325
  ];
326
326
  }),
327
327
  _: 2
@@ -335,7 +335,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
335
335
  id: "themeButton",
336
336
  disabled: !!N.lockingPage,
337
337
  style: Ol({ background: (w == null ? void 0 : w.background) ?? "var(--ssbutton-theme-bg)", color: (w == null ? void 0 : w.color) ?? "var(--ssbutton-theme-color)" }),
338
- onClick: (O) => oe(w == null ? void 0 : w.label)
338
+ onClick: (D) => oe(w == null ? void 0 : w.label)
339
339
  }, {
340
340
  default: re(() => [
341
341
  rl(je(w == null ? void 0 : w.label), 1)
@@ -523,8 +523,8 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
523
523
  });
524
524
  let $ = "", i = await gn(X);
525
525
  if (i == null || i.forEach((de) => {
526
- var w, me, O, Oe;
527
- (de == null ? void 0 : de.name) === (((Oe = (O = (me = (w = q(N)) == null ? void 0 : w.optionUrl) == null ? void 0 : me.groupSelect) == null ? void 0 : O[0]) == null ? void 0 : Oe.replaceAll("'", "")) ?? "") && ($ = de == null ? void 0 : de.id);
526
+ var w, me, D, Oe;
527
+ (de == null ? void 0 : de.name) === (((Oe = (D = (me = (w = q(N)) == null ? void 0 : w.optionUrl) == null ? void 0 : me.groupSelect) == null ? void 0 : D[0]) == null ? void 0 : Oe.replaceAll("'", "")) ?? "") && ($ = de == null ? void 0 : de.id);
528
528
  }), I) {
529
529
  $ = I;
530
530
  const de = await _l({
@@ -534,15 +534,15 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
534
534
  }
535
535
  if ($ !== "") {
536
536
  let de;
537
- I ? de = (Ve = i == null ? void 0 : i.find((O) => (O == null ? void 0 : O.id) === I)) == null ? void 0 : Ve.compData : de = (ol = i == null ? void 0 : i.find((O) => {
537
+ I ? de = (Ve = i == null ? void 0 : i.find((D) => (D == null ? void 0 : D.id) === I)) == null ? void 0 : Ve.compData : de = (ol = i == null ? void 0 : i.find((D) => {
538
538
  var Oe, Y, ze, el;
539
- return (O == null ? void 0 : O.name) === (((Y = (Oe = N == null ? void 0 : N.groupSelect) == null ? void 0 : Oe.split(":")) == null ? void 0 : Y[0]) || ((el = (ze = N == null ? void 0 : N.optionUrl) == null ? void 0 : ze.groupSelect) == null ? void 0 : el[0]));
539
+ return (D == null ? void 0 : D.name) === (((Y = (Oe = N == null ? void 0 : N.groupSelect) == null ? void 0 : Oe.split(":")) == null ? void 0 : Y[0]) || ((el = (ze = N == null ? void 0 : N.optionUrl) == null ? void 0 : ze.groupSelect) == null ? void 0 : el[0]));
540
540
  })) == null ? void 0 : ol.compData;
541
- let w = (V = (Sl = de == null ? void 0 : de.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : Sl.contents) == null ? void 0 : V.map((O) => O == null ? void 0 : O.label);
542
- (R = (ce = de == null ? void 0 : de.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : ce.contents) != null && R.every((O) => Array.isArray(O)) && (w = (Ce = Kl((Te = (ne = de == null ? void 0 : de.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : ne.contents) == null ? void 0 : Te[0])) == null ? void 0 : Ce.map((O) => O == null ? void 0 : O.prop));
543
- let me = (we = (Re = de == null ? void 0 : de.find((O) => (O == null ? void 0 : O.key) === "tableContents")) == null ? void 0 : Re.contents) == null ? void 0 : we.map((O) => (O = O == null ? void 0 : O.filter((Oe) => !(Oe != null && Oe.id)), O));
544
- me == null || me.forEach((O) => {
545
- B.push(hn(O, w));
541
+ let w = (V = (Sl = de == null ? void 0 : de.find((D) => (D == null ? void 0 : D.key) === "header")) == null ? void 0 : Sl.contents) == null ? void 0 : V.map((D) => D == null ? void 0 : D.label);
542
+ (R = (ce = de == null ? void 0 : de.find((D) => (D == null ? void 0 : D.key) === "header")) == null ? void 0 : ce.contents) != null && R.every((D) => Array.isArray(D)) && (w = (Ce = Kl((Te = (ne = de == null ? void 0 : de.find((D) => (D == null ? void 0 : D.key) === "header")) == null ? void 0 : ne.contents) == null ? void 0 : Te[0])) == null ? void 0 : Ce.map((D) => D == null ? void 0 : D.prop));
543
+ let me = (we = (Re = de == null ? void 0 : de.find((D) => (D == null ? void 0 : D.key) === "tableContents")) == null ? void 0 : Re.contents) == null ? void 0 : we.map((D) => (D = D == null ? void 0 : D.filter((Oe) => !(Oe != null && Oe.id)), D));
544
+ me == null || me.forEach((D) => {
545
+ B.push(hn(D, w));
546
546
  });
547
547
  }
548
548
  return B;
@@ -653,7 +653,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
653
653
  pageSizes: [5, 10, 20, 50, 100]
654
654
  }), ce = I, R = H([]), ne = Yl({ prop: "", order: null }), Te = H([]), Ce = H(!1), Re = H(!1), we = H(null);
655
655
  dn();
656
- const de = H([]), w = H(!1), me = H(), O = vn(), { importLoading: Oe, activeMenuPath: Y, contentLoading: ze, linkMenuInfo: el } = Ul(O), Je = bn(hl), he = Sn(hl), { extraContents: ye, cacheUpdatingData: Dl, tableViewContents: Cl, tableLoading: vs, pageMapState: tl, lockingPage: Fl } = Ul(he), Z = H([]), wl = H([]), zl = H(/* @__PURE__ */ new Map());
656
+ const de = H([]), w = H(!1), me = H(), D = vn(), { importLoading: Oe, activeMenuPath: Y, contentLoading: ze, linkMenuInfo: el } = Ul(D), Je = bn(hl), he = Sn(hl), { extraContents: ye, cacheUpdatingData: Dl, tableViewContents: Cl, tableLoading: vs, pageMapState: tl, lockingPage: Fl } = Ul(he), Z = H([]), wl = H([]), zl = H(/* @__PURE__ */ new Map());
657
657
  H(!1);
658
658
  const Ze = H("");
659
659
  H();
@@ -668,9 +668,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
668
668
  }), Ge(
669
669
  () => Cl.value,
670
670
  async () => {
671
- var u, o, t, c, p, v, D, f, m, C, P, U, W, z, K, n, S, h;
671
+ var u, o, t, c, p, v, C, f, m, E, P, U, W, z, K, n, S, h;
672
672
  if (((u = Cl.value) == null ? void 0 : u.length) === 0 || !((o = i == null ? void 0 : i.itemData) != null && o.find((T) => (T == null ? void 0 : T.key) === "columnPath")) || !((t = i == null ? void 0 : i.itemData) != null && t.find((T) => (T == null ? void 0 : T.key) === "pageColumn"))) return;
673
- let e = (m = (f = (D = (v = (p = (c = i == null ? void 0 : i.itemData) == null ? void 0 : c.find((T) => (T == null ? void 0 : T.key) === "pageColumn")) == null ? void 0 : p.contents) == null ? void 0 : v.split("[")) == null ? void 0 : D[1]) == null ? void 0 : f.split("]")) == null ? void 0 : m[0], l = ((W = (U = (P = (C = i == null ? void 0 : i.itemData) == null ? void 0 : C.find((T) => (T == null ? void 0 : T.key) === "pageColumn")) == null ? void 0 : P.contents) == null ? void 0 : U.split("[")) == null ? void 0 : W[0]) + ((K = (z = Cl.value) == null ? void 0 : z.find((T) => (T == null ? void 0 : T.key) === e)) == null ? void 0 : K.value), r = ((S = (n = i == null ? void 0 : i.itemData) == null ? void 0 : n.find((T) => (T == null ? void 0 : T.key) === "pageGroup")) == null ? void 0 : S.contents) ?? "", a = await al(l, sessionStorage.getItem("systemKey"), ""), s = (h = a == null ? void 0 : a.find((T) => (T == null ? void 0 : T.name) === (r === "" ? i == null ? void 0 : i.compName : r))) == null ? void 0 : h.compData;
673
+ let e = (m = (f = (C = (v = (p = (c = i == null ? void 0 : i.itemData) == null ? void 0 : c.find((T) => (T == null ? void 0 : T.key) === "pageColumn")) == null ? void 0 : p.contents) == null ? void 0 : v.split("[")) == null ? void 0 : C[1]) == null ? void 0 : f.split("]")) == null ? void 0 : m[0], l = ((W = (U = (P = (E = i == null ? void 0 : i.itemData) == null ? void 0 : E.find((T) => (T == null ? void 0 : T.key) === "pageColumn")) == null ? void 0 : P.contents) == null ? void 0 : U.split("[")) == null ? void 0 : W[0]) + ((K = (z = Cl.value) == null ? void 0 : z.find((T) => (T == null ? void 0 : T.key) === e)) == null ? void 0 : K.value), r = ((S = (n = i == null ? void 0 : i.itemData) == null ? void 0 : n.find((T) => (T == null ? void 0 : T.key) === "pageGroup")) == null ? void 0 : S.contents) ?? "", a = await al(l, sessionStorage.getItem("systemKey"), ""), s = (h = a == null ? void 0 : a.find((T) => (T == null ? void 0 : T.name) === (r === "" ? i == null ? void 0 : i.compName : r))) == null ? void 0 : h.compData;
674
674
  Pa(s, i.allMapContents);
675
675
  },
676
676
  { deep: !0 }
@@ -687,16 +687,16 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
687
687
  tableId: (i == null ? void 0 : i.parentTableId) || (i == null ? void 0 : i.index),
688
688
  systemKey: sessionStorage.getItem("systemKey")
689
689
  }, v = l == null ? void 0 : l.map((m) => {
690
- const C = Object.keys(m), P = {};
691
- return C.forEach((U, W) => {
690
+ const E = Object.keys(m), P = {};
691
+ return E.forEach((U, W) => {
692
692
  P[e[W]] = m[U];
693
693
  }), P;
694
- }), D = v == null ? void 0 : v.map((m) => ({
694
+ }), C = v == null ? void 0 : v.map((m) => ({
695
695
  key: p,
696
696
  value: {
697
697
  tableData: m
698
698
  }
699
- })), f = await pa({ dataList: D });
699
+ })), f = await pa({ dataList: C });
700
700
  ((o = f == null ? void 0 : f.data) == null ? void 0 : o.code) === 200 ? (he.setRefreshCurStructure(!0), $e.success("导入数据成功")) : $e.error("导入数据响应失败");
701
701
  } catch (t) {
702
702
  throw $e.error("导入数据处理失败"), new Error(t);
@@ -752,26 +752,26 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
752
752
  const s = [], u = [], o = (p) => Object.keys(p).length;
753
753
  for (const p in e)
754
754
  if (e[p] !== void 0) {
755
- const v = e[p], D = [];
755
+ const v = e[p], C = [];
756
756
  for (const [f, m] of Object.entries(v))
757
- D.push(m), u.length < o(v) && u.push(f);
758
- s.push(D);
757
+ C.push(m), u.length < o(v) && u.push(f);
758
+ s.push(C);
759
759
  }
760
760
  s.unshift(u);
761
761
  const t = Nl.aoa_to_sheet(s), c = Nl.book_new();
762
762
  Nl.book_append_sheet(c, t, a), _n(c, `${l}.xlsx`), Qe.value = [];
763
763
  }, Ql = async (e, l, r, a = !1, s) => {
764
- var u, o, t, c, p, v, D, f;
764
+ var u, o, t, c, p, v, C, f;
765
765
  try {
766
766
  he.setRefreshCurStructure(!1);
767
767
  const m = await _l({
768
768
  id: i == null ? void 0 : i.index
769
769
  });
770
770
  if (((u = m == null ? void 0 : m.data) == null ? void 0 : u.code) === 200) {
771
- let C = (p = (c = (t = (o = m == null ? void 0 : m.data) == null ? void 0 : o.result) == null ? void 0 : t[0]) == null ? void 0 : c.value) == null ? void 0 : p.pageData;
772
- a ? C = {
773
- ...C,
774
- compData: (D = C == null ? void 0 : C.compData) == null ? void 0 : D.map((U) => {
771
+ let E = (p = (c = (t = (o = m == null ? void 0 : m.data) == null ? void 0 : o.result) == null ? void 0 : t[0]) == null ? void 0 : c.value) == null ? void 0 : p.pageData;
772
+ a ? E = {
773
+ ...E,
774
+ compData: (C = E == null ? void 0 : E.compData) == null ? void 0 : C.map((U) => {
775
775
  var W;
776
776
  return (U == null ? void 0 : U.key) === "header" ? {
777
777
  ...U,
@@ -781,9 +781,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
781
781
  }))
782
782
  } : U;
783
783
  })
784
- } : C = {
785
- ...C,
786
- compData: (v = C == null ? void 0 : C.compData) == null ? void 0 : v.map((U) => {
784
+ } : E = {
785
+ ...E,
786
+ compData: (v = E == null ? void 0 : E.compData) == null ? void 0 : v.map((U) => {
787
787
  var W, z;
788
788
  return (U == null ? void 0 : U.key) === "header" ? {
789
789
  ...U,
@@ -803,7 +803,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
803
803
  const P = await rn({
804
804
  id: i == null ? void 0 : i.index,
805
805
  value: {
806
- pageData: C
806
+ pageData: E
807
807
  }
808
808
  });
809
809
  ((f = P == null ? void 0 : P.data) == null ? void 0 : f.code) === 200 ? ($e.success("编辑成功"), he.setRefreshCurStructure(!0)) : $e.error("编辑响应失败");
@@ -843,7 +843,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
843
843
  }, br = (e) => {
844
844
  ce("clickTrigger", e);
845
845
  }, ka = async (e) => {
846
- var u, o, t, c, p, v, D, f, m, C, P, U, W, z, K;
846
+ var u, o, t, c, p, v, C, f, m, E, P, U, W, z, K;
847
847
  const l = e == null ? void 0 : e.row, r = e == null ? void 0 : e.rowData, a = e == null ? void 0 : e.suffix;
848
848
  if ((u = l == null ? void 0 : l.toString()) != null && u.includes(".urdf") || e != null && e.isUrdf || a != null && a.includes(".urdf")) {
849
849
  if (l.includes(",")) {
@@ -860,7 +860,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
860
860
  El.value = (v = l == null ? void 0 : l.toString()) == null ? void 0 : v.split(","), Re.value = !1, Ce.value = !0;
861
861
  return;
862
862
  }
863
- if ((D = l == null ? void 0 : l.toString()) != null && D.includes(".stl") || (f = l == null ? void 0 : l.toString()) != null && f.includes(".STL") || (m = l == null ? void 0 : l.toString()) != null && m.includes(".obj") || (C = l == null ? void 0 : l.toString()) != null && C.includes(".mtl") || a != null && a.includes(".stl") || a != null && a.includes(".STL") || a != null && a.includes(".obj") || a != null && a.includes(".mtl")) {
863
+ if ((C = l == null ? void 0 : l.toString()) != null && C.includes(".stl") || (f = l == null ? void 0 : l.toString()) != null && f.includes(".STL") || (m = l == null ? void 0 : l.toString()) != null && m.includes(".obj") || (E = l == null ? void 0 : l.toString()) != null && E.includes(".mtl") || a != null && a.includes(".stl") || a != null && a.includes(".STL") || a != null && a.includes(".obj") || a != null && a.includes(".mtl")) {
864
864
  let n, S = [], h = {};
865
865
  if (Array.isArray(l) ? n = l : n = l == null ? void 0 : l.split(","), n == null || n.forEach((T) => {
866
866
  T.includes(".mtl") ? S.push(T) : h.blob = h.blob ? h.blob + "," + T : T;
@@ -871,9 +871,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
871
871
  type: "application/octet-stream;charset=UTF-8"
872
872
  });
873
873
  let k = URL.createObjectURL(T), Q = "";
874
- (W = l == null ? void 0 : l.split("/")) == null || W.forEach((j, E) => {
874
+ (W = l == null ? void 0 : l.split("/")) == null || W.forEach((j, O) => {
875
875
  var J;
876
- E === ((J = l == null ? void 0 : l.split("/")) == null ? void 0 : J.length) - 1 && (Q = j);
876
+ O === ((J = l == null ? void 0 : l.split("/")) == null ? void 0 : J.length) - 1 && (Q = j);
877
877
  }), (z = h.blob) != null && z.includes(".stl") && (Q = (Q == null ? void 0 : Q.replaceAll(">", "")) + ".urdf"), me.value = [{
878
878
  name: Q,
879
879
  blobUrl: k
@@ -996,7 +996,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
996
996
  Z.value = mr(zl.value, e), he.setTableLoading(!1);
997
997
  }
998
998
  }, Ur = async (e) => {
999
- var o, t, c, p, v, D, f, m, C, P, U, W, z, K, n;
999
+ var o, t, c, p, v, C, f, m, E, P, U, W, z, K, n;
1000
1000
  const l = await _l({
1001
1001
  keyLikes: {
1002
1002
  pageKey: `loading${((o = Ae.value) == null ? void 0 : o.account) || ((t = Ae.value) == null ? void 0 : t.账号)}`,
@@ -1008,21 +1008,21 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1008
1008
  systemKey: sessionStorage.getItem("systemKey")
1009
1009
  }
1010
1010
  });
1011
- let a = (D = (v = l == null ? void 0 : l.data) == null ? void 0 : v.result) == null ? void 0 : D.map((S) => S == null ? void 0 : S.id);
1011
+ let a = (C = (v = l == null ? void 0 : l.data) == null ? void 0 : v.result) == null ? void 0 : C.map((S) => S == null ? void 0 : S.id);
1012
1012
  const s = (m = (f = r == null ? void 0 : r.data) == null ? void 0 : f.result) == null ? void 0 : m.map((S) => S == null ? void 0 : S.id);
1013
1013
  a = [...q(a), ...s], (a == null ? void 0 : a.length) > 0 && (a != null && a.every((S) => S !== null && S)) && await Ka({
1014
1014
  ids: a
1015
1015
  });
1016
1016
  let u = await al(Y.value, sessionStorage.getItem("systemKey"), e.id);
1017
1017
  if (u = u == null ? void 0 : u.filter((S) => S.comp !== "methodButton"), u && u.length > 0) {
1018
- const S = !Array.isArray(ua.value) && ((C = ua.value) == null ? void 0 : C.key) !== "main" ? [] : ua.value;
1018
+ const S = !Array.isArray(ua.value) && ((E = ua.value) == null ? void 0 : E.key) !== "main" ? [] : ua.value;
1019
1019
  S.push({
1020
1020
  key: ll.value === "" ? (P = e == null ? void 0 : e.id) == null ? void 0 : P.toString() : ll.value + "-" + ((U = e == null ? void 0 : e.id) == null ? void 0 : U.toString()),
1021
1021
  value: e[(W = Object.keys(e)) == null ? void 0 : W.filter((h) => h !== "index" && h !== "id")[0]]
1022
1022
  }), Rl.setSelectMenu(ll.value === "" ? (z = e == null ? void 0 : e.id) == null ? void 0 : z.toString() : ll.value + "-" + ((K = e == null ? void 0 : e.id) == null ? void 0 : K.toString())), Rl.setSelectTitle(S), Rl.setSelectIndex((n = e == null ? void 0 : e.id) == null ? void 0 : n.toString()), ce("pageChange", u);
1023
1023
  }
1024
1024
  }, ma = async (e, l, r, a) => {
1025
- var u, o, t, c, p, v, D, f, m, C, P, U, W, z, K, n, S, h, T, k, Q, j, E, J, b;
1025
+ var u, o, t, c, p, v, C, f, m, E, P, U, W, z, K, n, S, h, T, k, Q, j, O, J, b;
1026
1026
  if ((a == null ? void 0 : a.isExistChild) === !0) {
1027
1027
  let x = (o = (u = R.value) == null ? void 0 : u.find((L) => (L == null ? void 0 : L.isMainKey) === !0)) == null ? void 0 : o.prop, _ = (t = a == null ? void 0 : a.rowContent) == null ? void 0 : t[x], d = (p = (c = a == null ? void 0 : a.columnType) == null ? void 0 : c.childPath) == null ? void 0 : p.split(oe), M = [];
1028
1028
  d == null || d.forEach((L, y) => {
@@ -1069,7 +1069,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1069
1069
  }
1070
1070
  if ((a == null ? void 0 : a.data) === "查看" && (e != null && e.every((x) => (x == null ? void 0 : x.url) && (x == null ? void 0 : x.name)))) {
1071
1071
  let x = q(e);
1072
- x = await ((D = q(x)) == null ? void 0 : D.map(async (d) => {
1072
+ x = await ((C = q(x)) == null ? void 0 : C.map(async (d) => {
1073
1073
  var ee, L, y, G;
1074
1074
  const M = await fa({
1075
1075
  url: d == null ? void 0 : d.url
@@ -1086,10 +1086,10 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1086
1086
  const s = q(R.value);
1087
1087
  if ((a == null ? void 0 : a.isMainKey) === !0 && (s == null ? void 0 : s.length) > 0) {
1088
1088
  (f = s == null ? void 0 : s[0]) == null || f.prop;
1089
- let x = q(Y).value + oe + (a == null ? void 0 : a.data), _ = q(Y).value, d = (C = (m = tl.value[x]) == null ? void 0 : m.filter((L) => {
1089
+ let x = q(Y).value + oe + (a == null ? void 0 : a.data), _ = q(Y).value, d = (E = (m = tl.value[x]) == null ? void 0 : m.filter((L) => {
1090
1090
  var y, G;
1091
1091
  return ((y = L == null ? void 0 : L.key) == null ? void 0 : y.type) === "structure" && ((G = L == null ? void 0 : L.key) == null ? void 0 : G.parentTable) === "";
1092
- })) == null ? void 0 : C.map((L) => {
1092
+ })) == null ? void 0 : E.map((L) => {
1093
1093
  var y;
1094
1094
  return (y = L == null ? void 0 : L.value) == null ? void 0 : y.pageData;
1095
1095
  }), M = {};
@@ -1102,11 +1102,11 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1102
1102
  ee = (y == null ? void 0 : y.routerContent) + oe + (y == null ? void 0 : y.key);
1103
1103
  }
1104
1104
  if ((d == null ? void 0 : d.length) > 0)
1105
- await al(x + oe + `updateLoading${((K = Ae.value) == null ? void 0 : K.account) || ((n = Ae.value) == null ? void 0 : n.账号)}`, sessionStorage.getItem("systemKey"), "") || await Il(x, x + oe + `updateLoading${((S = Ae.value) == null ? void 0 : S.account) || ((h = Ae.value) == null ? void 0 : h.账号)}`, M, ee), he.setRouteToChildPath(_), O.setActiveMenuPath(x + oe + `updateLoading${((T = Ae.value) == null ? void 0 : T.account) || ((k = Ae.value) == null ? void 0 : k.账号)}`);
1105
+ await al(x + oe + `updateLoading${((K = Ae.value) == null ? void 0 : K.account) || ((n = Ae.value) == null ? void 0 : n.账号)}`, sessionStorage.getItem("systemKey"), "") || await Il(x, x + oe + `updateLoading${((S = Ae.value) == null ? void 0 : S.account) || ((h = Ae.value) == null ? void 0 : h.账号)}`, M, ee), he.setRouteToChildPath(_), D.setActiveMenuPath(x + oe + `updateLoading${((T = Ae.value) == null ? void 0 : T.account) || ((k = Ae.value) == null ? void 0 : k.账号)}`);
1106
1106
  else {
1107
1107
  (Q = s == null ? void 0 : s[0]) == null || Q.prop;
1108
1108
  let L = q(Y).value + oe + (a == null ? void 0 : a.data), y = q(Y).value;
1109
- await al(y + oe, sessionStorage.getItem("systemKey"), ""), await Il(y + oe, L, M), await Il(L, L + oe + `updateLoading${((j = Ae.value) == null ? void 0 : j.account) || ((E = Ae.value) == null ? void 0 : E.账号)}`, M, ee), he.setRouteToChildPath(y), O.setActiveMenuPath(L + oe + `updateLoading${((J = Ae.value) == null ? void 0 : J.account) || ((b = Ae.value) == null ? void 0 : b.账号)}`);
1109
+ await al(y + oe, sessionStorage.getItem("systemKey"), ""), await Il(y + oe, L, M), await Il(L, L + oe + `updateLoading${((j = Ae.value) == null ? void 0 : j.account) || ((O = Ae.value) == null ? void 0 : O.账号)}`, M, ee), he.setRouteToChildPath(y), D.setActiveMenuPath(L + oe + `updateLoading${((J = Ae.value) == null ? void 0 : J.account) || ((b = Ae.value) == null ? void 0 : b.账号)}`);
1110
1110
  }
1111
1111
  }
1112
1112
  }, _r = () => {
@@ -1150,50 +1150,50 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1150
1150
  headers: {
1151
1151
  Authorization: l
1152
1152
  }
1153
- }).catch((s) => (O.setImportLoading(!1), Promise.reject(s))), xr = (e) => {
1153
+ }).catch((s) => (D.setImportLoading(!1), Promise.reject(s))), xr = (e) => {
1154
1154
  const l = [], r = (a) => {
1155
1155
  a && typeof a == "object" && !Array.isArray(a) ? Object.values(a).forEach(r) : l.push(a);
1156
1156
  };
1157
1157
  return r(e), l;
1158
1158
  }, jr = async (e, l, r) => {
1159
1159
  var z, K, n, S, h, T, k, Q;
1160
- O.setImportLoading(!0), he.setFreshContent(!1);
1161
- let a = await Cr().catch((j) => (O.setImportLoading(!1), Promise.reject(j)));
1160
+ D.setImportLoading(!0), he.setFreshContent(!1);
1161
+ let a = await Cr().catch((j) => (D.setImportLoading(!1), Promise.reject(j)));
1162
1162
  a = a == null ? void 0 : a.filter((j) => {
1163
- var E;
1164
- return ((E = j == null ? void 0 : j.find((J) => J == null ? void 0 : J.id)) == null ? void 0 : E.id) === (l == null ? void 0 : l.id);
1163
+ var O;
1164
+ return ((O = j == null ? void 0 : j.find((J) => J == null ? void 0 : J.id)) == null ? void 0 : O.id) === (l == null ? void 0 : l.id);
1165
1165
  });
1166
1166
  let s = Wa([(z = R.value) == null ? void 0 : z.filter((j) => (j == null ? void 0 : j.label) !== "操作")]);
1167
1167
  const u = (n = (K = mn(a, s)) == null ? void 0 : K[0]) == null ? void 0 : n.find((j) => {
1168
- const E = j == null ? void 0 : j.key;
1169
- return E === "算法体" || E === "方法体";
1168
+ const O = j == null ? void 0 : j.key;
1169
+ return O === "算法体" || O === "方法体";
1170
1170
  }), o = u == null ? void 0 : u.value;
1171
1171
  if (!o) {
1172
- console.log("未搜索到isMain, 缺少算法执行接口"), O.setImportLoading(!1);
1172
+ console.log("未搜索到isMain, 缺少算法执行接口"), D.setImportLoading(!1);
1173
1173
  return;
1174
1174
  }
1175
1175
  const t = R.value ? Wa([R.value]) : [], c = t.find((j) => {
1176
- const E = j == null ? void 0 : j.prop;
1177
- return E === "输入" || E === "输入数据.输入1" || E === "样本输入数据";
1176
+ const O = j == null ? void 0 : j.prop;
1177
+ return O === "输入" || O === "输入数据.输入1" || O === "样本输入数据";
1178
1178
  }), p = c == null ? void 0 : c.prop;
1179
1179
  let v = l == null ? void 0 : l[p];
1180
- const D = await oa().catch((j) => (O.setImportLoading(!1), Promise.reject(j))), f = await Er(o, {
1181
- token: D,
1180
+ const C = await oa().catch((j) => (D.setImportLoading(!1), Promise.reject(j))), f = await Er(o, {
1181
+ token: C,
1182
1182
  inputData: v
1183
- }).catch((j) => (O.setImportLoading(!1), Promise.reject(j))), m = (S = f == null ? void 0 : f.data) == null ? void 0 : S.data, C = t.find((j) => (j == null ? void 0 : j.prop) === "输出数据.输出1"), P = C == null ? void 0 : C.prop;
1183
+ }).catch((j) => (D.setImportLoading(!1), Promise.reject(j))), m = (S = f == null ? void 0 : f.data) == null ? void 0 : S.data, E = t.find((j) => (j == null ? void 0 : j.prop) === "输出数据.输出1"), P = E == null ? void 0 : E.prop;
1184
1184
  let U = [], W = [];
1185
1185
  if (((h = Object.values(m)) == null ? void 0 : h.length) > 0) {
1186
1186
  let j = [];
1187
- const E = new FormData(), J = (T = xr(m)) == null ? void 0 : T.map(async (x) => {
1187
+ const O = new FormData(), J = (T = xr(m)) == null ? void 0 : T.map(async (x) => {
1188
1188
  var _, d;
1189
1189
  if (!Array.isArray(x) && (x != null && x.includes("http"))) {
1190
1190
  let M = await yl.get(x, { responseType: "blob" }), F = (d = x == null ? void 0 : x.split("/")) == null ? void 0 : d[((_ = x == null ? void 0 : x.split("/")) == null ? void 0 : _.length) - 1];
1191
- E.append("files", M.data, F);
1191
+ O.append("files", M.data, F);
1192
1192
  } else
1193
1193
  j.push(x);
1194
1194
  });
1195
- if (await Promise.all(J), !An(E)) {
1196
- let x = await fn(E), _ = (Q = (k = x == null ? void 0 : x.data) == null ? void 0 : k.result) == null ? void 0 : Q.map((d) => {
1195
+ if (await Promise.all(J), !An(O)) {
1196
+ let x = await fn(O), _ = (Q = (k = x == null ? void 0 : x.data) == null ? void 0 : k.result) == null ? void 0 : Q.map((d) => {
1197
1197
  var M, F, ee, L, y, G;
1198
1198
  return {
1199
1199
  name: (G = (y = (L = (M = d == null ? void 0 : d.url) == null ? void 0 : M.split("/")) == null ? void 0 : L[((ee = (F = d == null ? void 0 : d.url) == null ? void 0 : F.split("/")) == null ? void 0 : ee.length) - 1]) == null ? void 0 : y.split(".")) == null ? void 0 : G[0],
@@ -1216,12 +1216,12 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1216
1216
  dataList: W
1217
1217
  }), (U == null ? void 0 : U.length) > 0 && await pa({
1218
1218
  dataList: U
1219
- }), $l(!0), O.setImportLoading(!1), he.setFreshContent(!0);
1219
+ }), $l(!0), D.setImportLoading(!1), he.setFreshContent(!0);
1220
1220
  }, Aa = (e, l) => (e = e == null ? void 0 : e.map((r) => {
1221
1221
  var a, s;
1222
1222
  return r != null && r.children && ((a = r.children) != null && a.find((u) => u.id === (l == null ? void 0 : l.id)) ? r.children = (s = r.children) == null ? void 0 : s.filter((u) => (u == null ? void 0 : u.id) !== (l == null ? void 0 : l.id)) : r.children = Aa(r.children, l)), r;
1223
1223
  }), e), Zl = async (e, l, r) => {
1224
- var a, s, u, o, t, c, p, v, D, f, m, C, P, U, W;
1224
+ var a, s, u, o, t, c, p, v, C, f, m, E, P, U, W;
1225
1225
  if (Ze.value = "", Wl.value = !0, ra.value = !0, ce("onButtonClick", e, l), e === "删除")
1226
1226
  za.confirm("是否确认删除", "温馨提示", {
1227
1227
  confirmButtonText: "确认",
@@ -1284,7 +1284,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1284
1284
  k != null && k.includes(`loading${((p = Ae.value) == null ? void 0 : p.account) || ((v = Ae.value) == null ? void 0 : v.账号)}`) && (K = [...K, ...k]);
1285
1285
  let n = [];
1286
1286
  for (let k in z)
1287
- k != null && k.includes(`updateLoading${((D = Ae.value) == null ? void 0 : D.account) || ((f = Ae.value) == null ? void 0 : f.账号)}`) && (n = [...n, ...k]);
1287
+ k != null && k.includes(`updateLoading${((C = Ae.value) == null ? void 0 : C.account) || ((f = Ae.value) == null ? void 0 : f.账号)}`) && (n = [...n, ...k]);
1288
1288
  let S = K == null ? void 0 : K.map((k) => k == null ? void 0 : k.id);
1289
1289
  const h = n == null ? void 0 : n.map((k) => k == null ? void 0 : k.id);
1290
1290
  S = [...q(S), ...h], (S == null ? void 0 : S.length) > 0 && (S != null && S.every((k) => k !== null && k)) && await Ka({
@@ -1294,11 +1294,11 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1294
1294
  await _a(!1, T);
1295
1295
  } else if (e === "修改模板") {
1296
1296
  let z = q(Y).value;
1297
- he.setRouteToChildPath(z), O.setActiveMenuPath(z + oe);
1297
+ he.setRouteToChildPath(z), D.setActiveMenuPath(z + oe);
1298
1298
  } else if (e === "执行")
1299
1299
  jr(e, l);
1300
1300
  else if (e != null && e.includes("导出")) {
1301
- if (e === "导出选中" && ((C = Qe.value) == null ? void 0 : C.length) === 0)
1301
+ if (e === "导出选中" && ((E = Qe.value) == null ? void 0 : E.length) === 0)
1302
1302
  return $e.warning(`请先勾选${e}的数据`);
1303
1303
  if (e === "导出全部" && ((P = Z.value) == null ? void 0 : P.length) === 0)
1304
1304
  return $e.warning("暂无数据导出");
@@ -1325,7 +1325,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1325
1325
  };
1326
1326
  }) : [];
1327
1327
  }, Pr = async (e, l) => {
1328
- var r, a, s, u, o, t, c, p, v, D, f, m, C, P, U, W, z, K, n, S;
1328
+ var r, a, s, u, o, t, c, p, v, C, f, m, E, P, U, W, z, K, n, S;
1329
1329
  try {
1330
1330
  let h, T;
1331
1331
  const k = (r = tl.value[Y.value + oe]) == null ? void 0 : r.filter((d) => {
@@ -1339,24 +1339,24 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1339
1339
  return ((F = (M = d == null ? void 0 : d.value) == null ? void 0 : M.pageData) == null ? void 0 : F.method) === "保存";
1340
1340
  });
1341
1341
  if (!j) return;
1342
- const E = (t = (o = tl.value[(u = (s = j == null ? void 0 : j.value) == null ? void 0 : s.pageData) == null ? void 0 : u.path]) == null ? void 0 : o.filter((d) => {
1342
+ const O = (t = (o = tl.value[(u = (s = j == null ? void 0 : j.value) == null ? void 0 : s.pageData) == null ? void 0 : u.path]) == null ? void 0 : o.filter((d) => {
1343
1343
  var M;
1344
1344
  return ((M = d == null ? void 0 : d.key) == null ? void 0 : M.type) === "data";
1345
1345
  })) == null ? void 0 : t.find((d) => {
1346
1346
  var M, F, ee, L;
1347
1347
  return ((F = (M = d == null ? void 0 : d.value) == null ? void 0 : M.tableData) == null ? void 0 : F.算法名称) === ((L = (ee = j == null ? void 0 : j.value) == null ? void 0 : ee.pageData) == null ? void 0 : L.method);
1348
1348
  });
1349
- if (!E) return;
1349
+ if (!O) return;
1350
1350
  const J = {
1351
1351
  buttonName: (p = (c = j == null ? void 0 : j.value) == null ? void 0 : c.pageData) == null ? void 0 : p.method,
1352
- api: (D = (v = E == null ? void 0 : E.value) == null ? void 0 : v.tableData) == null ? void 0 : D.算法体,
1352
+ api: (C = (v = O == null ? void 0 : O.value) == null ? void 0 : v.tableData) == null ? void 0 : C.算法体,
1353
1353
  content: Q == null ? void 0 : Q.map((d) => {
1354
1354
  var M;
1355
1355
  return (M = d == null ? void 0 : d.value) == null ? void 0 : M.pageData;
1356
1356
  }),
1357
1357
  extraContent: [],
1358
1358
  extraValues: (m = (f = j == null ? void 0 : j.value) == null ? void 0 : f.pageData) == null ? void 0 : m.data,
1359
- methodName: (P = (C = j == null ? void 0 : j.value) == null ? void 0 : C.pageData) == null ? void 0 : P.path
1359
+ methodName: (P = (E = j == null ? void 0 : j.value) == null ? void 0 : E.pageData) == null ? void 0 : P.path
1360
1360
  };
1361
1361
  if (!e) return;
1362
1362
  const b = {
@@ -1424,47 +1424,47 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1424
1424
  return ((m = f == null ? void 0 : f.key) == null ? void 0 : m.type) === "structure";
1425
1425
  });
1426
1426
  const v = u == null ? void 0 : u.find((f) => {
1427
- var m, C, P;
1428
- return ((P = (C = (m = f == null ? void 0 : f.value) == null ? void 0 : m.pageData) == null ? void 0 : C.comp) == null ? void 0 : P.toUpperCase()) === "FORM";
1427
+ var m, E, P;
1428
+ return ((P = (E = (m = f == null ? void 0 : f.value) == null ? void 0 : m.pageData) == null ? void 0 : E.comp) == null ? void 0 : P.toUpperCase()) === "FORM";
1429
1429
  });
1430
1430
  o = {
1431
1431
  ...(p = v == null ? void 0 : v.value) == null ? void 0 : p.pageData,
1432
1432
  id: v == null ? void 0 : v.id
1433
1433
  };
1434
- const D = await Pr(o, l == null ? void 0 : l.prop);
1435
- if (Ll.value = D == null ? void 0 : D.newStatus, D != null && D.newMainKeyValue) return D == null ? void 0 : D.newMainKeyValue;
1434
+ const C = await Pr(o, l == null ? void 0 : l.prop);
1435
+ if (Ll.value = C == null ? void 0 : C.newStatus, C != null && C.newMainKeyValue) return C == null ? void 0 : C.newMainKeyValue;
1436
1436
  }
1437
1437
  if (Z.value.some((v) => (v == null ? void 0 : v[l == null ? void 0 : l.prop]) === a)) {
1438
1438
  const v = a;
1439
- for (; Z.value.some((D) => (D == null ? void 0 : D[l == null ? void 0 : l.prop]) === `${v}(${s})`); )
1439
+ for (; Z.value.some((C) => (C == null ? void 0 : C[l == null ? void 0 : l.prop]) === `${v}(${s})`); )
1440
1440
  s++;
1441
1441
  a = `${v}(${s})`;
1442
1442
  }
1443
1443
  return a;
1444
1444
  }, _a = async (e, l, r) => {
1445
- var o, t, c, p, v, D, f, m;
1445
+ var o, t, c, p, v, C, f, m;
1446
1446
  let a, s;
1447
1447
  const u = await Br(r == null ? void 0 : r.data, r == null ? void 0 : r.firstCol);
1448
1448
  if (e ? (a = q(Y).value + oe + ((p = r == null ? void 0 : r.data) == null ? void 0 : p[(c = r == null ? void 0 : r.firstCol) == null ? void 0 : c.prop]), s = q(Y).value + oe + u) : (a = q(Y).value + oe, s = q(a) + `loading${((o = Ae.value) == null ? void 0 : o.account) || ((t = Ae.value) == null ? void 0 : t.账号)}`), l) {
1449
- const C = (D = (v = tl.value[s]) == null ? void 0 : v.filter((P) => {
1449
+ const E = (C = (v = tl.value[s]) == null ? void 0 : v.filter((P) => {
1450
1450
  var U;
1451
1451
  return ((U = P == null ? void 0 : P.key) == null ? void 0 : U.parentTable) === "";
1452
- })) == null ? void 0 : D.map((P) => {
1452
+ })) == null ? void 0 : C.map((P) => {
1453
1453
  var U;
1454
1454
  return {
1455
1455
  id: P == null ? void 0 : P.id,
1456
1456
  ...(U = P == null ? void 0 : P.value) == null ? void 0 : U.pageData
1457
1457
  };
1458
1458
  });
1459
- if ((C == null ? void 0 : C.length) > 0)
1459
+ if ((E == null ? void 0 : E.length) > 0)
1460
1460
  if (e) {
1461
- const P = C == null ? void 0 : C.find((U) => {
1461
+ const P = E == null ? void 0 : E.find((U) => {
1462
1462
  var W;
1463
1463
  return ((W = U == null ? void 0 : U.comp) == null ? void 0 : W.toUpperCase()) === "FORM";
1464
1464
  });
1465
1465
  P && Ua(P, (f = r == null ? void 0 : r.firstCol) == null ? void 0 : f.label, u, Y.value);
1466
1466
  } else
1467
- he.setRouteToChildPath(q(Y).value), O.setActiveMenuPath(s);
1467
+ he.setRouteToChildPath(q(Y).value), D.setActiveMenuPath(s);
1468
1468
  else if (await Il(a, s, null, null, e ? $r.value : null), e) {
1469
1469
  const P = await Lr(s);
1470
1470
  if ((P == null ? void 0 : P.length) > 0) {
@@ -1475,13 +1475,13 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1475
1475
  U && Ua(U, (m = r == null ? void 0 : r.firstCol) == null ? void 0 : m.label, u, Y.value);
1476
1476
  }
1477
1477
  } else
1478
- he.setRouteToChildPath(q(Y).value), O.setActiveMenuPath(s);
1478
+ he.setRouteToChildPath(q(Y).value), D.setActiveMenuPath(s);
1479
1479
  } else
1480
- e ? (Ze.value = "", Le.value = r == null ? void 0 : r.data, $l(!0, r == null ? void 0 : r.firstCol, u)) : (he.setRouteToChildPath(q(Y).value), O.setActiveMenuPath(s));
1480
+ e ? (Ze.value = "", Le.value = r == null ? void 0 : r.data, $l(!0, r == null ? void 0 : r.firstCol, u)) : (he.setRouteToChildPath(q(Y).value), D.setActiveMenuPath(s));
1481
1481
  }, Mr = () => {
1482
1482
  Ce.value = !1, El.value = [], Re.value = !1;
1483
1483
  }, Pl = (e) => {
1484
- var o, t, c, p, v, D, f, m, C, P, U, W, z, K;
1484
+ var o, t, c, p, v, C, f, m, E, P, U, W, z, K;
1485
1485
  const l = [];
1486
1486
  let r = [];
1487
1487
  for (let n in e)
@@ -1523,7 +1523,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1523
1523
  var h;
1524
1524
  let S = (n == null ? void 0 : n.prop) || ((h = a == null ? void 0 : a.find((T) => (T == null ? void 0 : T.label) === (n == null ? void 0 : n.label))) == null ? void 0 : h.prop);
1525
1525
  return S && (n.value = e[S]), n;
1526
- })), De.value = We.value && ((D = We.value) == null ? void 0 : D.length) > 0 ? Tn(We.value) : l;
1526
+ })), De.value = We.value && ((C = We.value) == null ? void 0 : C.length) > 0 ? Tn(We.value) : l;
1527
1527
  let s = [], u = (f = i.itemData) == null ? void 0 : f.filter((n) => (n == null ? void 0 : n.key) === "filterAllType");
1528
1528
  if ((u == null ? void 0 : u.length) > 0 && (s = (u == null ? void 0 : u.map((S) => S == null ? void 0 : S.value)).flat()), (s == null ? void 0 : s.length) > 0) {
1529
1529
  let n = s == null ? void 0 : s.find((S) => {
@@ -1531,7 +1531,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1531
1531
  return (h = S == null ? void 0 : S.content) == null ? void 0 : h.includes("@Type");
1532
1532
  });
1533
1533
  if (n != null && n.content) {
1534
- let S = (P = (C = (m = n == null ? void 0 : n.content) == null ? void 0 : m.replace(":", Be)) == null ? void 0 : C.split(Be)) == null ? void 0 : P[1];
1534
+ let S = (P = (E = (m = n == null ? void 0 : n.content) == null ? void 0 : m.replace(":", Be)) == null ? void 0 : E.split(Be)) == null ? void 0 : P[1];
1535
1535
  if (((U = S == null ? void 0 : S.trim()) == null ? void 0 : U.toUpperCase()) === "MANUAL") {
1536
1536
  let h = (z = (W = i.itemData) == null ? void 0 : W.find((T) => (T == null ? void 0 : T.key) === "contentTableId")) == null ? void 0 : z.contents;
1537
1537
  De.value = (K = De.value) == null ? void 0 : K.map((T, k) => {
@@ -1559,7 +1559,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1559
1559
  jl.value.splice(s, 0, u), R.value = (o = R.value) == null ? void 0 : o.slice().sort((t, c) => {
1560
1560
  if (t.label === "操作") return 1;
1561
1561
  if (c.label === "操作") return -1;
1562
- const p = jl.value.findIndex((D) => D.label === t.label), v = jl.value.findIndex((D) => D.label === c.label);
1562
+ const p = jl.value.findIndex((C) => C.label === t.label), v = jl.value.findIndex((C) => C.label === c.label);
1563
1563
  return p - v;
1564
1564
  });
1565
1565
  }
@@ -1615,8 +1615,8 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1615
1615
  if ((s == null ? void 0 : s.id) === Ze.value) {
1616
1616
  let p = {};
1617
1617
  for (let v in s) {
1618
- let D = (u = l == null ? void 0 : l.find((f) => (f == null ? void 0 : f.prop) === v)) == null ? void 0 : u.label;
1619
- D ? p[v] = (o = Le.value) == null ? void 0 : o[D] : p[v] = s[v];
1618
+ let C = (u = l == null ? void 0 : l.find((f) => (f == null ? void 0 : f.prop) === v)) == null ? void 0 : u.label;
1619
+ C ? p[v] = (o = Le.value) == null ? void 0 : o[C] : p[v] = s[v];
1620
1620
  }
1621
1621
  s = Object.assign(p, Le.value), a = s;
1622
1622
  } else
@@ -1639,7 +1639,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1639
1639
  return delete s.children, s;
1640
1640
  }) : [];
1641
1641
  }, $l = (e = !0, l, r) => {
1642
- var p, v, D, f, m, C, P, U, W, z, K, n, S, h, T, k, Q, j, E, J, b, x;
1642
+ var p, v, C, f, m, E, P, U, W, z, K, n, S, h, T, k, Q, j, O, J, b, x;
1643
1643
  let a = Kl((p = q(R.value)) == null ? void 0 : p.filter((_) => (_ == null ? void 0 : _.label) !== "操作")), s, u = q(Z.value);
1644
1644
  if (!Le.value) {
1645
1645
  Ye.value = !1;
@@ -1657,9 +1657,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1657
1657
  children: (v = _.children) == null ? void 0 : v.map((d) => Da(d, l, r))
1658
1658
  }), u.push(Object.assign(Le.value, _)), s = Object.assign(Le.value, _);
1659
1659
  } else
1660
- u = (D = Oa(u, a)) == null ? void 0 : D.newContents, s = (f = Oa(u, a)) == null ? void 0 : f.currentSelectContents;
1660
+ u = (C = Oa(u, a)) == null ? void 0 : C.newContents, s = (f = Oa(u, a)) == null ? void 0 : f.currentSelectContents;
1661
1661
  const o = (m = i.itemData) == null ? void 0 : m.filter((_) => (_ == null ? void 0 : _.key) === "childTree")[0];
1662
- if (((C = o == null ? void 0 : o.contents) == null ? void 0 : C.length) > 0) {
1662
+ if (((E = o == null ? void 0 : o.contents) == null ? void 0 : E.length) > 0) {
1663
1663
  qe.value = "编辑";
1664
1664
  const _ = [];
1665
1665
  u == null || u.forEach((d, M) => {
@@ -1715,10 +1715,10 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1715
1715
  Ye.value = !1;
1716
1716
  let _ = (k = i.itemData) == null ? void 0 : k.filter((d) => (d == null ? void 0 : d.key) === "filterAllType");
1717
1717
  if ((_ == null ? void 0 : _.length) > 0) {
1718
- let M = (E = (j = (Q = (_ == null ? void 0 : _.map((F) => F == null ? void 0 : F.value)).flat().find((F) => {
1718
+ let M = (O = (j = (Q = (_ == null ? void 0 : _.map((F) => F == null ? void 0 : F.value)).flat().find((F) => {
1719
1719
  var ee;
1720
1720
  return (ee = F == null ? void 0 : F.content) == null ? void 0 : ee.includes("@Num");
1721
- })) == null ? void 0 : Q.content) == null ? void 0 : j.split(":")) == null ? void 0 : E[1];
1721
+ })) == null ? void 0 : Q.content) == null ? void 0 : j.split(":")) == null ? void 0 : O[1];
1722
1722
  M = parseInt(M), Z.value = (x = Z.value) == null ? void 0 : x.slice(((J = Z.value) == null ? void 0 : J.length) - M, (b = Z.value) == null ? void 0 : b.length);
1723
1723
  }
1724
1724
  }
@@ -1727,13 +1727,13 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1727
1727
  R.value = [], Z.value = [], Te.value = [], de.value = [], We.value = [], cl.value = [], El.value = [], Tl.value = [], De.value = [], Qe.value = [], $.value = null;
1728
1728
  });
1729
1729
  const Ca = async (e, l, r) => {
1730
- var p, v, D, f, m, C, P, U, W, z, K;
1730
+ var p, v, C, f, m, E, P, U, W, z, K;
1731
1731
  gl.value = r == null ? void 0 : r.prop;
1732
1732
  const a = q(i.itemData), s = a == null ? void 0 : a.map((n) => {
1733
1733
  var S;
1734
1734
  return (n == null ? void 0 : n.key) === "header" && ((S = n.contents) == null || S.map((h, T) => {
1735
- var k, Q, j, E, J, b, x, _, d, M, F, ee, L, y, G, le, ve, _e, Se;
1736
- return h.type = h != null && h.type ? h.type : (E = (j = (Q = (k = h == null ? void 0 : h.key) == null ? void 0 : k.split("$")) == null ? void 0 : Q[1]) == null ? void 0 : j.split("(")) != null && E[0] ? (b = (J = Ja) == null ? void 0 : J.find((A) => {
1735
+ var k, Q, j, O, J, b, x, _, d, M, F, ee, L, y, G, le, ve, _e, Se;
1736
+ return h.type = h != null && h.type ? h.type : (O = (j = (Q = (k = h == null ? void 0 : h.key) == null ? void 0 : k.split("$")) == null ? void 0 : Q[1]) == null ? void 0 : j.split("(")) != null && O[0] ? (b = (J = Ja) == null ? void 0 : J.find((A) => {
1737
1737
  var g, ue, pe, se;
1738
1738
  return (A == null ? void 0 : A.key) === ((se = (pe = (ue = (g = h == null ? void 0 : h.key) == null ? void 0 : g.split("$")) == null ? void 0 : ue[1]) == null ? void 0 : pe.split("(")) == null ? void 0 : se[0]);
1739
1739
  })) == null ? void 0 : b.value : "Input", h.options = h != null && h.options ? h.options : ((d = (_ = (x = h == null ? void 0 : h.key) == null ? void 0 : x.split("$")) == null ? void 0 : _[1]) == null ? void 0 : d.length) > 0 ? (L = (ee = Ra((F = (M = h == null ? void 0 : h.key) == null ? void 0 : M.split("$")) == null ? void 0 : F[1])) == null ? void 0 : ee.split(",")) == null ? void 0 : L.map((A) => ({
@@ -1752,23 +1752,23 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1752
1752
  var S;
1753
1753
  return n.value = (S = o == null ? void 0 : o.find((h, T) => T === (n == null ? void 0 : n.id))) == null ? void 0 : S.value, n;
1754
1754
  });
1755
- let t = "", c = (m = (f = (D = q(s)) == null ? void 0 : D.find((n) => (n == null ? void 0 : n.key) === "header")) == null ? void 0 : f.contents) == null ? void 0 : m.find((n, S) => {
1755
+ let t = "", c = (m = (f = (C = q(s)) == null ? void 0 : C.find((n) => (n == null ? void 0 : n.key) === "header")) == null ? void 0 : f.contents) == null ? void 0 : m.find((n, S) => {
1756
1756
  var h, T, k;
1757
1757
  return (n == null ? void 0 : n.label) === gl.value || (S == null ? void 0 : S.toString()) === ((k = (T = (h = gl.value) == null ? void 0 : h.split("a")) == null ? void 0 : T[1]) == null ? void 0 : k.toString());
1758
1758
  });
1759
- if ((U = (P = (C = q(s)) == null ? void 0 : C.find((n) => (n == null ? void 0 : n.key) === "header")) == null ? void 0 : P.contents) == null || U.forEach((n) => {
1759
+ if ((U = (P = (E = q(s)) == null ? void 0 : E.find((n) => (n == null ? void 0 : n.key) === "header")) == null ? void 0 : P.contents) == null || U.forEach((n) => {
1760
1760
  var S, h, T, k, Q;
1761
1761
  t === "" && ((T = (h = (S = n == null ? void 0 : n.optionUrl) == null ? void 0 : S.groupSelect) == null ? void 0 : h[1]) != null && T.includes("[")) && (t = (Q = (k = n == null ? void 0 : n.optionUrl) == null ? void 0 : k.groupSelect) == null ? void 0 : Q[1]);
1762
1762
  }), (W = c == null ? void 0 : c.optionUrl) != null && W.menuSelect) {
1763
1763
  let n = await qa(c), S;
1764
1764
  if (n == null || n.forEach((h) => {
1765
- var T, k, Q, j, E, J, b, x, _, d;
1766
- t === ((k = (T = c == null ? void 0 : c.optionUrl) == null ? void 0 : T.groupSelect) == null ? void 0 : k[1]) && ((E = (j = (Q = c == null ? void 0 : c.optionUrl) == null ? void 0 : Q.groupSelect) == null ? void 0 : j[1]) != null && E.includes("[")) && ((d = q(h)) == null ? void 0 : d[(_ = (x = (b = (J = c == null ? void 0 : c.optionUrl) == null ? void 0 : J.groupSelect) == null ? void 0 : b[1]) == null ? void 0 : x.replaceAll("[", "")) == null ? void 0 : _.replaceAll("]", "")]) === (c == null ? void 0 : c.value) && (S = h);
1765
+ var T, k, Q, j, O, J, b, x, _, d;
1766
+ t === ((k = (T = c == null ? void 0 : c.optionUrl) == null ? void 0 : T.groupSelect) == null ? void 0 : k[1]) && ((O = (j = (Q = c == null ? void 0 : c.optionUrl) == null ? void 0 : Q.groupSelect) == null ? void 0 : j[1]) != null && O.includes("[")) && ((d = q(h)) == null ? void 0 : d[(_ = (x = (b = (J = c == null ? void 0 : c.optionUrl) == null ? void 0 : J.groupSelect) == null ? void 0 : b[1]) == null ? void 0 : x.replaceAll("[", "")) == null ? void 0 : _.replaceAll("]", "")]) === (c == null ? void 0 : c.value) && (S = h);
1767
1767
  }), S) {
1768
1768
  let h = q(u);
1769
1769
  h = h == null ? void 0 : h.map((k) => {
1770
- var Q, j, E, J, b, x, _, d, M, F, ee;
1771
- return (S != null && S[k == null ? void 0 : k.label] || S != null && S[(J = (E = (j = (Q = k == null ? void 0 : k.optionUrl) == null ? void 0 : Q.groupSelect) == null ? void 0 : j[1]) == null ? void 0 : E.replaceAll("[", "")) == null ? void 0 : J.replaceAll("]", "")]) && ((_ = (x = (b = k == null ? void 0 : k.optionUrl) == null ? void 0 : b.groupSelect) == null ? void 0 : x[1]) != null && _.includes("[")) && (k.value = (S == null ? void 0 : S[k == null ? void 0 : k.label]) || (S == null ? void 0 : S[(ee = (F = (M = (d = k == null ? void 0 : k.optionUrl) == null ? void 0 : d.groupSelect) == null ? void 0 : M[1]) == null ? void 0 : F.replaceAll("[", "")) == null ? void 0 : ee.replaceAll("]", "")])), k;
1770
+ var Q, j, O, J, b, x, _, d, M, F, ee;
1771
+ return (S != null && S[k == null ? void 0 : k.label] || S != null && S[(J = (O = (j = (Q = k == null ? void 0 : k.optionUrl) == null ? void 0 : Q.groupSelect) == null ? void 0 : j[1]) == null ? void 0 : O.replaceAll("[", "")) == null ? void 0 : J.replaceAll("]", "")]) && ((_ = (x = (b = k == null ? void 0 : k.optionUrl) == null ? void 0 : b.groupSelect) == null ? void 0 : x[1]) != null && _.includes("[")) && (k.value = (S == null ? void 0 : S[k == null ? void 0 : k.label]) || (S == null ? void 0 : S[(ee = (F = (M = (d = k == null ? void 0 : k.optionUrl) == null ? void 0 : d.groupSelect) == null ? void 0 : M[1]) == null ? void 0 : F.replaceAll("[", "")) == null ? void 0 : ee.replaceAll("]", "")])), k;
1772
1772
  }), Z.value = (z = q(Z.value)) == null ? void 0 : z.map((k) => {
1773
1773
  if ((k == null ? void 0 : k.id) === (l == null ? void 0 : l.id)) {
1774
1774
  const Q = {};
@@ -1780,8 +1780,8 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1780
1780
  });
1781
1781
  let T = q(h);
1782
1782
  T = T == null ? void 0 : T.map((k) => {
1783
- var Q, j, E, J;
1784
- return (j = (Q = k == null ? void 0 : k.optionUrl) == null ? void 0 : Q.menuSelect) != null && j.some((b) => b == null ? void 0 : b.includes) && (k.optionUrl.menuSelect = (J = (E = k == null ? void 0 : k.optionUrl) == null ? void 0 : E.menuSelect) == null ? void 0 : J.map((b) => {
1783
+ var Q, j, O, J;
1784
+ return (j = (Q = k == null ? void 0 : k.optionUrl) == null ? void 0 : Q.menuSelect) != null && j.some((b) => b == null ? void 0 : b.includes) && (k.optionUrl.menuSelect = (J = (O = k == null ? void 0 : k.optionUrl) == null ? void 0 : O.menuSelect) == null ? void 0 : J.map((b) => {
1785
1785
  var x, _, d, M;
1786
1786
  if (b != null && b.includes("[")) {
1787
1787
  let F = (_ = (x = b == null ? void 0 : b.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : x.split(":")) == null ? void 0 : _[1];
@@ -1801,13 +1801,13 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1801
1801
  }
1802
1802
  }
1803
1803
  }, Fr = async (e) => {
1804
- var p, v, D, f, m, C, P, U, W, z, K, n, S, h, T, k, Q, j;
1804
+ var p, v, C, f, m, E, P, U, W, z, K, n, S, h, T, k, Q, j;
1805
1805
  if (!e) return;
1806
1806
  Le.value = e;
1807
1807
  const l = q(i.itemData);
1808
- let r = l == null ? void 0 : l.map((E) => {
1808
+ let r = l == null ? void 0 : l.map((O) => {
1809
1809
  var J;
1810
- return (E == null ? void 0 : E.key) === "header" && ((J = E.contents) == null || J.map((b, x) => {
1810
+ return (O == null ? void 0 : O.key) === "header" && ((J = O.contents) == null || J.map((b, x) => {
1811
1811
  var _, d, M, F, ee, L, y, G, le, ve, _e, Se, A, g, ue, pe, se, ke, Ee;
1812
1812
  return b.type = b != null && b.type ? b.type : (F = (M = (d = (_ = b == null ? void 0 : b.key) == null ? void 0 : _.split("$")) == null ? void 0 : d[1]) == null ? void 0 : M.split("(")) != null && F[0] ? (L = (ee = Ja) == null ? void 0 : ee.find((xe) => {
1813
1813
  var sl, Ke, ul, il;
@@ -1821,22 +1821,25 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1821
1821
  selectRelateType: "",
1822
1822
  type: (b == null ? void 0 : b.formType) ?? (b != null && b.groupSelect ? "Select" : "")
1823
1823
  } : null, b;
1824
- })), E;
1825
- }), a = De.value, s = (v = (p = q(r)) == null ? void 0 : p.find((E) => (E == null ? void 0 : E.key) === "header")) == null ? void 0 : v.contents;
1826
- if (a = a == null ? void 0 : a.map((E) => {
1824
+ })), O;
1825
+ }), a = De.value, s = (v = (p = q(r)) == null ? void 0 : p.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : v.contents;
1826
+ if (s = s == null ? void 0 : s.filter((O) => (O == null ? void 0 : O.label) !== "操作"), s.push({
1827
+ label: "操作",
1828
+ type: "operate"
1829
+ }), a = a == null ? void 0 : a.map((O) => {
1827
1830
  var J;
1828
- return E.value = (J = s == null ? void 0 : s.find((b, x) => (b == null ? void 0 : b.prop) === (E == null ? void 0 : E.name))) == null ? void 0 : J.value, E;
1831
+ return O.value = O.value ?? ((J = s == null ? void 0 : s.find((b, x) => (b == null ? void 0 : b.prop) === (O == null ? void 0 : O.name))) == null ? void 0 : J.value), O;
1829
1832
  }), !xl.value) return;
1830
- let u = "", o = (m = (f = (D = q(r)) == null ? void 0 : D.find((E) => (E == null ? void 0 : E.key) === "header")) == null ? void 0 : f.contents) == null ? void 0 : m.find((E, J) => {
1833
+ let u = "", o = (m = (f = (C = q(r)) == null ? void 0 : C.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : f.contents) == null ? void 0 : m.find((O, J) => {
1831
1834
  var b, x, _;
1832
- return (E == null ? void 0 : E.label) === gl.value || (J == null ? void 0 : J.toString()) === ((_ = (x = (b = gl.value) == null ? void 0 : b.split("a")) == null ? void 0 : x[1]) == null ? void 0 : _.toString());
1833
- }), t = (C = o == null ? void 0 : o.optionUrl) == null ? void 0 : C.menuSelect, c = !0;
1834
- if ((W = (U = (P = q(r)) == null ? void 0 : P.find((E) => (E == null ? void 0 : E.key) === "header")) == null ? void 0 : U.contents) == null || W.forEach((E) => {
1835
+ return (O == null ? void 0 : O.label) === gl.value || (J == null ? void 0 : J.toString()) === ((_ = (x = (b = gl.value) == null ? void 0 : b.split("a")) == null ? void 0 : x[1]) == null ? void 0 : _.toString());
1836
+ }), t = (E = o == null ? void 0 : o.optionUrl) == null ? void 0 : E.menuSelect, c = !0;
1837
+ if ((W = (U = (P = q(r)) == null ? void 0 : P.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : U.contents) == null || W.forEach((O) => {
1835
1838
  var J, b, x, _, d, M;
1836
- c && ((x = (b = (J = E == null ? void 0 : E.optionUrl) == null ? void 0 : J.groupSelect) == null ? void 0 : b[1]) != null && x.includes("[")) && (u = (d = (_ = E == null ? void 0 : E.optionUrl) == null ? void 0 : _.groupSelect) == null ? void 0 : d[1], JSON.stringify(t) === JSON.stringify((M = E == null ? void 0 : E.optionUrl) == null ? void 0 : M.menuSelect) && (c = !1));
1839
+ c && ((x = (b = (J = O == null ? void 0 : O.optionUrl) == null ? void 0 : J.groupSelect) == null ? void 0 : b[1]) != null && x.includes("[")) && (u = (d = (_ = O == null ? void 0 : O.optionUrl) == null ? void 0 : _.groupSelect) == null ? void 0 : d[1], JSON.stringify(t) === JSON.stringify((M = O == null ? void 0 : O.optionUrl) == null ? void 0 : M.menuSelect) && (c = !1));
1837
1840
  }), (z = o == null ? void 0 : o.optionUrl) != null && z.menuSelect && xl.value || (S = (n = (K = De.value) == null ? void 0 : K[0]) == null ? void 0 : n.optionUrl) != null && S.menuId) {
1838
- let E = await qa(o, (k = (T = (h = De.value) == null ? void 0 : h[0]) == null ? void 0 : T.optionUrl) == null ? void 0 : k.menuId), J;
1839
- if ((Q = o == null ? void 0 : o.optionUrl) == null || Q.menuSelect, E == null || E.forEach((b) => {
1841
+ let O = await qa(o, (k = (T = (h = De.value) == null ? void 0 : h[0]) == null ? void 0 : T.optionUrl) == null ? void 0 : k.menuId), J;
1842
+ if ((Q = o == null ? void 0 : o.optionUrl) == null || Q.menuSelect, O == null || O.forEach((b) => {
1840
1843
  var x, _, d, M, F, ee, L, y, G, le, ve, _e, Se, A, g, ue, pe;
1841
1844
  u === ((_ = (x = o == null ? void 0 : o.optionUrl) == null ? void 0 : x.groupSelect) == null ? void 0 : _[1]) && ((F = (M = (d = o == null ? void 0 : o.optionUrl) == null ? void 0 : d.groupSelect) == null ? void 0 : M[1]) != null && F.includes("[")) && ((le = q(b)) == null ? void 0 : le[(G = (y = (L = (ee = o == null ? void 0 : o.optionUrl) == null ? void 0 : ee.groupSelect) == null ? void 0 : L[1]) == null ? void 0 : y.replaceAll("[", "")) == null ? void 0 : G.replaceAll("]", "")]) === (o == null ? void 0 : o.value) && (J = b), (Se = (_e = (ve = De.value) == null ? void 0 : ve[0]) == null ? void 0 : _e.optionUrl) != null && Se.menuId && b[(g = (A = De.value) == null ? void 0 : A[0]) == null ? void 0 : g.prop] === e[(pe = (ue = De.value) == null ? void 0 : ue[0]) == null ? void 0 : pe.prop] && (J = b);
1842
1845
  }), J) {
@@ -1885,8 +1888,8 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1885
1888
  if (((a = Object.keys(l)) == null ? void 0 : a.length) > 0) {
1886
1889
  Le.value = l, Ze.value = "", kl.value = (s = Z.value) == null ? void 0 : s.length, Tl.value = (u = dl.value) == null ? void 0 : u.filter((p) => (p == null ? void 0 : p.label) !== "新增");
1887
1890
  const c = (t = (o = Te.value) == null ? void 0 : o.filter((p) => (p == null ? void 0 : p.label) !== "操作")) == null ? void 0 : t.map((p) => {
1888
- var D, f, m;
1889
- const v = (f = (D = We.value) == null ? void 0 : D.find((C) => (C == null ? void 0 : C.label) === (p == null ? void 0 : p.label))) == null ? void 0 : f.multiple;
1891
+ var C, f, m;
1892
+ const v = (f = (C = We.value) == null ? void 0 : C.find((E) => (E == null ? void 0 : E.label) === (p == null ? void 0 : p.label))) == null ? void 0 : f.multiple;
1890
1893
  return zr(p), {
1891
1894
  ...p,
1892
1895
  contents: (p == null ? void 0 : p.options) ?? [],
@@ -1931,7 +1934,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1931
1934
  const u = [];
1932
1935
  for (const [o, t] of s) {
1933
1936
  const [c, ...p] = t, v = { ...c };
1934
- r + 1 === ((l == null ? void 0 : l.length) ?? "") ? v.children = t == null ? void 0 : t.map((D) => (D.level = q(r) + 1, D)).filter((D, f) => f !== 0) : p.length > 0 && (v.children = ja(p, l, r + 1)), v.level = r, u.push(v);
1937
+ r + 1 === ((l == null ? void 0 : l.length) ?? "") ? v.children = t == null ? void 0 : t.map((C) => (C.level = q(r) + 1, C)).filter((C, f) => f !== 0) : p.length > 0 && (v.children = ja(p, l, r + 1)), v.level = r, u.push(v);
1935
1938
  }
1936
1939
  return u;
1937
1940
  }, La = (e, l, r) => {
@@ -1941,7 +1944,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1941
1944
  let a = [];
1942
1945
  return a = ja(e, l == null ? void 0 : l.contents, 0), a;
1943
1946
  }, Pa = (e, l) => {
1944
- var f, m, C, P, U, W, z, K, n, S, h, T, k, Q, j, E, J, b, x, _, d, M, F, ee, L;
1947
+ var f, m, E, P, U, W, z, K, n, S, h, T, k, Q, j, O, J, b, x, _, d, M, F, ee, L;
1945
1948
  const r = e == null ? void 0 : e.filter((y) => (y == null ? void 0 : y.key) === "header");
1946
1949
  e == null || e.filter((y) => (y == null ? void 0 : y.key) === "tableIndexColumn")[0];
1947
1950
  const a = e == null ? void 0 : e.filter((y) => (y == null ? void 0 : y.key) === "childTree")[0];
@@ -1950,8 +1953,8 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
1950
1953
  We.value = (m = (f = e == null ? void 0 : e.filter((y) => (y == null ? void 0 : y.key) === "tableToForm")) == null ? void 0 : f[0]) == null ? void 0 : m.contents, va.value = (u == null ? void 0 : u.contents) ?? !0;
1951
1954
  let v = [];
1952
1955
  pl.value === "" ? v = r == null ? void 0 : r[0] : v = (r == null ? void 0 : r.find((y) => (y == null ? void 0 : y.selectLabel) === "(" + pl.value + ")")) ?? (r == null ? void 0 : r.find((y) => !(y != null && y.selectLabel)));
1953
- let D = [];
1954
- if (pl.value === "" ? D = p == null ? void 0 : p[0] : D = (p == null ? void 0 : p.find((y) => (y == null ? void 0 : y.selectLabel) === "(" + pl.value + ")")) ?? (p == null ? void 0 : p.find((y) => !(y != null && y.selectLabel))), ((C = v == null ? void 0 : v.contents) == null ? void 0 : C.length) > 0) {
1956
+ let C = [];
1957
+ if (pl.value === "" ? C = p == null ? void 0 : p[0] : C = (p == null ? void 0 : p.find((y) => (y == null ? void 0 : y.selectLabel) === "(" + pl.value + ")")) ?? (p == null ? void 0 : p.find((y) => !(y != null && y.selectLabel))), ((E = v == null ? void 0 : v.contents) == null ? void 0 : E.length) > 0) {
1955
1958
  let y = [];
1956
1959
  if (v != null && v.contents.some((A) => Array.isArray(A) && (A == null ? void 0 : A.find((g) => g.children))))
1957
1960
  ll.value === "" ? y = (U = (P = Fa(v == null ? void 0 : v.contents)) == null ? void 0 : P[0]) == null ? void 0 : U.filter((A) => !Array.isArray(A)) : (ll.value.split("-"), y = (W = Fa(v == null ? void 0 : v.contents)) == null ? void 0 : W[0]);
@@ -2011,8 +2014,8 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
2011
2014
  He.value = G;
2012
2015
  let le = [];
2013
2016
  pl.value === "" ? le = c == null ? void 0 : c[0] : le = (c == null ? void 0 : c.find((A) => (A == null ? void 0 : A.selectLabel) === "(" + pl.value + ")")) ?? (c == null ? void 0 : c.find((A) => !(A != null && A.selectLabel)));
2014
- let ve = Array.isArray((Q = le == null ? void 0 : le.contents) == null ? void 0 : Q[0]) && ((j = le == null ? void 0 : le.contents) != null && j[0].every((A) => Array.isArray(A))) ? (E = le == null ? void 0 : le.contents) == null ? void 0 : E[0] : le == null ? void 0 : le.contents;
2015
- D != null && D.contents && ((J = D == null ? void 0 : D.contents) == null ? void 0 : J.length) !== 0 && (ve = (b = q(ve)) == null ? void 0 : b.map((A, g) => {
2017
+ let ve = Array.isArray((Q = le == null ? void 0 : le.contents) == null ? void 0 : Q[0]) && ((j = le == null ? void 0 : le.contents) != null && j[0].every((A) => Array.isArray(A))) ? (O = le == null ? void 0 : le.contents) == null ? void 0 : O[0] : le == null ? void 0 : le.contents;
2018
+ C != null && C.contents && ((J = C == null ? void 0 : C.contents) == null ? void 0 : J.length) !== 0 && (ve = (b = q(ve)) == null ? void 0 : b.map((A, g) => {
2016
2019
  if (!Array.isArray(A)) {
2017
2020
  let ue = {};
2018
2021
  for (let pe in A)
@@ -2022,7 +2025,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
2022
2025
  return A;
2023
2026
  }));
2024
2027
  const _e = !!((x = R.value) != null && x.find((A) => A.prop === "index"));
2025
- ve = Xa(ve, D == null ? void 0 : D.contents, _e);
2028
+ ve = Xa(ve, C == null ? void 0 : C.contents, _e);
2026
2029
  const Se = [];
2027
2030
  ve == null || ve.forEach((A, g) => {
2028
2031
  var pe;
@@ -2105,23 +2108,23 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
2105
2108
  var a;
2106
2109
  Ca(r, e, l), Le.value = q(e), Ze.value = e == null ? void 0 : e.id, kl.value = (a = Z.value) == null ? void 0 : a.length, qe.value = typeof (e == null ? void 0 : e.id) == "string" ? "新增" : "编辑", $l(!1);
2107
2110
  }, Pe = (e) => {
2108
- var c, p, v, D, f, m, C, P, U, W;
2111
+ var c, p, v, C, f, m, E, P, U, W;
2109
2112
  const { row: l, column: r, item: a, slotData: s } = e;
2110
- let u = l != null && l[r == null ? void 0 : r.prop] || (l == null ? void 0 : l[r == null ? void 0 : r.prop]) === 0 ? ((p = (c = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : c[0]) == null ? void 0 : p.contents) ?? ((l == null ? void 0 : l[r == null ? void 0 : r.prop]) === 0 ? "0" : l == null ? void 0 : l[r == null ? void 0 : r.prop]) : ((D = (v = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : v[0]) == null ? void 0 : D.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((m = (f = s == null ? void 0 : s[a == null ? void 0 : a.prop]) == null ? void 0 : f[0]) == null ? void 0 : m.contents) ?? (s == null ? void 0 : s[a == null ? void 0 : a.prop]) ?? ((U = (P = l == null ? void 0 : l[(C = a == null ? void 0 : a.child) == null ? void 0 : C.prop]) == null ? void 0 : P[0]) == null ? void 0 : U.contents) ?? (l == null ? void 0 : l[(W = a == null ? void 0 : a.child) == null ? void 0 : W.prop]), t = Array.isArray(u) && !(u != null && u.every((z) => typeof z == "string" || typeof z == "number")) ? "查看" : u;
2113
+ let u = l != null && l[r == null ? void 0 : r.prop] || (l == null ? void 0 : l[r == null ? void 0 : r.prop]) === 0 ? ((p = (c = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : c[0]) == null ? void 0 : p.contents) ?? ((l == null ? void 0 : l[r == null ? void 0 : r.prop]) === 0 ? "0" : l == null ? void 0 : l[r == null ? void 0 : r.prop]) : ((C = (v = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : v[0]) == null ? void 0 : C.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((m = (f = s == null ? void 0 : s[a == null ? void 0 : a.prop]) == null ? void 0 : f[0]) == null ? void 0 : m.contents) ?? (s == null ? void 0 : s[a == null ? void 0 : a.prop]) ?? ((U = (P = l == null ? void 0 : l[(E = a == null ? void 0 : a.child) == null ? void 0 : E.prop]) == null ? void 0 : P[0]) == null ? void 0 : U.contents) ?? (l == null ? void 0 : l[(W = a == null ? void 0 : a.child) == null ? void 0 : W.prop]), t = Array.isArray(u) && !(u != null && u.every((z) => typeof z == "string" || typeof z == "number")) ? "查看" : u;
2111
2114
  return t = Array.isArray(t) ? t.join(",") : t, t;
2112
2115
  }, qr = (e) => {
2113
- var p, v, D, f, m, C, P, U, W, z;
2116
+ var p, v, C, f, m, E, P, U, W, z;
2114
2117
  const { row: l, column: r, item: a, slotData: s } = e;
2115
- let u = l != null && l[r == null ? void 0 : r.prop] ? ((v = (p = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : p[0]) == null ? void 0 : v.contents) ?? (l == null ? void 0 : l[r == null ? void 0 : r.prop]) : ((f = (D = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : D[0]) == null ? void 0 : f.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((C = (m = s == null ? void 0 : s[a == null ? void 0 : a.prop]) == null ? void 0 : m[0]) == null ? void 0 : C.contents) ?? (s == null ? void 0 : s[a == null ? void 0 : a.prop]) ?? ((W = (U = l == null ? void 0 : l[(P = a == null ? void 0 : a.child) == null ? void 0 : P.prop]) == null ? void 0 : U[0]) == null ? void 0 : W.contents) ?? (l == null ? void 0 : l[(z = a == null ? void 0 : a.child) == null ? void 0 : z.prop]);
2118
+ let u = l != null && l[r == null ? void 0 : r.prop] ? ((v = (p = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : p[0]) == null ? void 0 : v.contents) ?? (l == null ? void 0 : l[r == null ? void 0 : r.prop]) : ((f = (C = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : C[0]) == null ? void 0 : f.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((E = (m = s == null ? void 0 : s[a == null ? void 0 : a.prop]) == null ? void 0 : m[0]) == null ? void 0 : E.contents) ?? (s == null ? void 0 : s[a == null ? void 0 : a.prop]) ?? ((W = (U = l == null ? void 0 : l[(P = a == null ? void 0 : a.child) == null ? void 0 : P.prop]) == null ? void 0 : U[0]) == null ? void 0 : W.contents) ?? (l == null ? void 0 : l[(z = a == null ? void 0 : a.child) == null ? void 0 : z.prop]);
2116
2119
  const t = Array.isArray(u) && !(u != null && u.every((K) => typeof K == "string" || typeof K == "number")), c = Array.isArray(u) && (u == null ? void 0 : u.find((K) => K == null ? void 0 : K.url));
2117
2120
  return t && c;
2118
2121
  }, Hr = (e, l) => e.find((r) => Object.values(r).some((a) => a === l));
2119
2122
  return Ge(() => el.value, async (e) => {
2120
2123
  if (e) {
2121
- O.setContentLoading(!0), await ea();
2124
+ D.setContentLoading(!0), await ea();
2122
2125
  const l = Hr(Z.value, e == null ? void 0 : e.data);
2123
- if (!l) return O.setContentLoading(!1);
2124
- await ma(e == null ? void 0 : e.data, null, l, { data: e == null ? void 0 : e.data, isMainKey: !0 }), O.setContentLoading(!1);
2126
+ if (!l) return D.setContentLoading(!1);
2127
+ await ma(e == null ? void 0 : e.data, null, l, { data: e == null ? void 0 : e.data, isMainKey: !0 }), D.setContentLoading(!1);
2125
2128
  }
2126
2129
  }, { deep: !0, immediate: !0 }), Ge(() => i == null ? void 0 : i.cacheNewData, (e) => {
2127
2130
  var l;
@@ -2133,7 +2136,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
2133
2136
  } : r;
2134
2137
  })));
2135
2138
  }, { immediate: !0, deep: !0 }), (e, l) => {
2136
- var p, v, D;
2139
+ var p, v, C;
2137
2140
  const r = Ne("svg-icon"), a = Ne("el-popover"), s = Ne("el-switch"), u = Ne("el-checkbox"), o = Ne("el-checkbox-group"), t = Ne("el-button"), c = Ne("LookComponent");
2138
2141
  return ie(), Ue("div", Yn, [
2139
2142
  ba.value ? (ie(), Fe(on, {
@@ -2170,14 +2173,14 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
2170
2173
  onClickButton: Zl
2171
2174
  }, Ir({
2172
2175
  headerButton: re((f) => {
2173
- var m, C;
2176
+ var m, E;
2174
2177
  return [
2175
2178
  N.showHeader ? (ie(), Fe(Mn, {
2176
2179
  key: 0,
2177
2180
  lockingPage: Ie(Fl) === Ie(Y),
2178
2181
  filterValues: Ta.value,
2179
2182
  selectNums: (m = Qe.value) == null ? void 0 : m.length,
2180
- dataNums: (C = Z.value) == null ? void 0 : C.length,
2183
+ dataNums: (E = Z.value) == null ? void 0 : E.length,
2181
2184
  compName: N.compName,
2182
2185
  isDevMode: N.isDevMode,
2183
2186
  buttons: f.buttons,
@@ -2193,7 +2196,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
2193
2196
  var f, m;
2194
2197
  return [
2195
2198
  ((f = Z.value) == null ? void 0 : f.length) > 0 && N.allowOperate ? (ie(), Ue("div", es, [
2196
- (m = cl.value) != null && m.some((C) => (C == null ? void 0 : C.label) === "编辑") && !ql.value && Ie(Fl) !== Ie(Y) ? (ie(), Ue("span", {
2199
+ (m = cl.value) != null && m.some((E) => (E == null ? void 0 : E.label) === "编辑") && !ql.value && Ie(Fl) !== Ie(Y) ? (ie(), Ue("span", {
2197
2200
  key: 0,
2198
2201
  title: "编辑表格",
2199
2202
  onClick: $a
@@ -2219,7 +2222,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
2219
2222
  be("span", {
2220
2223
  title: "新增",
2221
2224
  class: "row-create-wrap",
2222
- onClick: (C) => Gr(f, m)
2225
+ onClick: (E) => Gr(f, m)
2223
2226
  }, [
2224
2227
  te(r, {
2225
2228
  name: "rowCreate",
@@ -2308,16 +2311,16 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
2308
2311
  var m;
2309
2312
  return [
2310
2313
  be("div", ss, [
2311
- (ie(!0), Ue(vl, null, bl((m = Object.keys(f)) == null ? void 0 : m.filter((C) => {
2314
+ (ie(!0), Ue(vl, null, bl((m = Object.keys(f)) == null ? void 0 : m.filter((E) => {
2312
2315
  var P;
2313
- return (P = ae.value) == null ? void 0 : P.find((U) => (U == null ? void 0 : U.value) === C);
2314
- }), (C) => {
2316
+ return (P = ae.value) == null ? void 0 : P.find((U) => (U == null ? void 0 : U.value) === E);
2317
+ }), (E) => {
2315
2318
  var P, U;
2316
- return ie(), Ue("div", { key: C }, [
2319
+ return ie(), Ue("div", { key: E }, [
2317
2320
  te(s, {
2318
- "model-value": f == null ? void 0 : f[C],
2319
- "active-text": (U = (P = ae.value) == null ? void 0 : P.find((W) => (W == null ? void 0 : W.value) === C)) == null ? void 0 : U.label,
2320
- onChange: (W) => yr(W, C, f)
2321
+ "model-value": f == null ? void 0 : f[E],
2322
+ "active-text": (U = (P = ae.value) == null ? void 0 : P.find((W) => (W == null ? void 0 : W.value) === E)) == null ? void 0 : U.label,
2323
+ onChange: (W) => yr(W, E, f)
2321
2324
  }, null, 8, ["model-value", "active-text", "onChange"])
2322
2325
  ]);
2323
2326
  }), 128))
@@ -2343,7 +2346,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
2343
2346
  })
2344
2347
  ]),
2345
2348
  content: re((f) => {
2346
- var m, C, P, U, W, z, K, n, S, h, T, k, Q, j, E, J, b, x;
2349
+ var m, E, P, U, W, z, K, n, S, h, T, k, Q, j, O, J, b, x;
2347
2350
  return [
2348
2351
  qr(f) ? (ie(), Fe(a, {
2349
2352
  key: 0,
@@ -2378,9 +2381,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
2378
2381
  }, 1024)) : (ie(), Ue("div", {
2379
2382
  key: 1,
2380
2383
  style: Ol({
2381
- color: !Array.isArray(Pe(f)) && ((C = (m = Pe(f)) == null ? void 0 : m.toString()) != null && C.includes(".txt") || (U = (P = Pe(f)) == null ? void 0 : P.toString()) != null && U.includes(".cpt") || (z = (W = Pe(f)) == null ? void 0 : W.toString()) != null && z.includes(".cyd")) ? "var(--vertical-menuitem-active-bg)" : "",
2384
+ color: !Array.isArray(Pe(f)) && ((E = (m = Pe(f)) == null ? void 0 : m.toString()) != null && E.includes(".txt") || (U = (P = Pe(f)) == null ? void 0 : P.toString()) != null && U.includes(".cpt") || (z = (W = Pe(f)) == null ? void 0 : W.toString()) != null && z.includes(".cyd")) ? "var(--vertical-menuitem-active-bg)" : "",
2382
2385
  textDecoration: !Array.isArray(Pe(f)) && ((n = (K = Pe(f)) == null ? void 0 : K.toString()) != null && n.includes(".txt") || (h = (S = Pe(f)) == null ? void 0 : S.toString()) != null && h.includes(".cpt") || (k = (T = Pe(f)) == null ? void 0 : T.toString()) != null && k.includes(".cyd")) ? "underline" : "",
2383
- cursor: !Array.isArray(Pe(f)) && ((j = (Q = Pe(f)) == null ? void 0 : Q.toString()) != null && j.includes(".txt") || (J = (E = Pe(f)) == null ? void 0 : E.toString()) != null && J.includes(".cpt") || (x = (b = Pe(f)) == null ? void 0 : b.toString()) != null && x.includes(".cyd")) ? "pointer" : "",
2386
+ cursor: !Array.isArray(Pe(f)) && ((j = (Q = Pe(f)) == null ? void 0 : Q.toString()) != null && j.includes(".txt") || (J = (O = Pe(f)) == null ? void 0 : O.toString()) != null && J.includes(".cpt") || (x = (b = Pe(f)) == null ? void 0 : b.toString()) != null && x.includes(".cyd")) ? "pointer" : "",
2384
2387
  marginLeft: (f == null ? void 0 : f.colIndex) === 0 ? `${((f == null ? void 0 : f.level) ?? 0) * 20}px` : 0
2385
2388
  }),
2386
2389
  onClick: (_) => sr(Pe(f))
@@ -2405,9 +2408,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
2405
2408
  ]),
2406
2409
  default: re(() => [
2407
2410
  be("div", In, [
2408
- (ie(!0), Ue(vl, null, bl(Tr(cl.value, f), (m, C) => (ie(), Ue("div", {
2411
+ (ie(!0), Ue(vl, null, bl(Tr(cl.value, f), (m, E) => (ie(), Ue("div", {
2409
2412
  class: "menu-config-item",
2410
- key: C,
2413
+ key: E,
2411
2414
  onClick: (P) => Zl(m == null ? void 0 : m.label, f, { extra: m })
2412
2415
  }, [
2413
2416
  be("div", {
@@ -2422,7 +2425,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
2422
2425
  ]),
2423
2426
  key: "0"
2424
2427
  } : void 0,
2425
- ((D = Z.value) == null ? void 0 : D.length) > 0 ? {
2428
+ ((C = Z.value) == null ? void 0 : C.length) > 0 ? {
2426
2429
  name: "batchButton",
2427
2430
  fn: re((f) => [
2428
2431
  te(Nn, {
@@ -2556,7 +2559,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
2556
2559
  ]);
2557
2560
  };
2558
2561
  }
2559
- }, xs = /* @__PURE__ */ aa(ys, [["__scopeId", "data-v-7871dfee"]]);
2562
+ }, xs = /* @__PURE__ */ aa(ys, [["__scopeId", "data-v-c6360b92"]]);
2560
2563
  export {
2561
2564
  Zn as a,
2562
2565
  Fn as b,