ss-component-new 1.2.59 → 1.2.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/dist/{MTLLoader-BlLfoBce.cjs → MTLLoader-Bd8gswVO.cjs} +1 -1
  2. package/dist/{MTLLoader-Bl6JMZD-.js → MTLLoader-gdzQR_Hk.js} +1 -1
  3. package/dist/{OrbitControls-BP4_rhtR.cjs → OrbitControls-BDr3JwU7.cjs} +1 -1
  4. package/dist/{OrbitControls-BbhnJ_4u.js → OrbitControls-DrQG0WwG.js} +1 -1
  5. package/dist/{animationData-CEkMmPAJ.js → animationData-BebPFu1o.js} +9 -9
  6. package/dist/{animationData-FLuoH13j.cjs → animationData-DZnytjR7.cjs} +1 -1
  7. package/dist/{array-BLzorBeE.cjs → array-CsVIMexm.cjs} +1 -1
  8. package/dist/{array-BkvrJ2GR.js → array-mkPvdkqz.js} +1 -1
  9. package/dist/{iconfont-ji7A-_XJ.cjs → iconfont-B2jKfn1c.cjs} +1 -1
  10. package/dist/{iconfont-Dp3iGl32.js → iconfont-sA0TqvpZ.js} +2 -2
  11. package/dist/{index-DXGiAs1G.cjs → index-3F5KjCbv.cjs} +1 -1
  12. package/dist/{index-CWG2zhJZ.cjs → index-4M7aervZ.cjs} +1 -1
  13. package/dist/{index-BiwVpb9o.cjs → index-6A1xf0Gs.cjs} +1 -1
  14. package/dist/{index-qDBAJZN2.cjs → index-B-zqezDR.cjs} +1 -1
  15. package/dist/{index-LVKvj2hU.cjs → index-BDOF1BPC.cjs} +1 -1
  16. package/dist/{index-NUzOUiu0.js → index-BIOzO44u.js} +1 -1
  17. package/dist/{index-rPWz6KHn.js → index-BLXYg9Gs.js} +4 -4
  18. package/dist/{index-bcbWOGXs.js → index-BawiQHQM.js} +4 -4
  19. package/dist/{index-BNES2eKm.js → index-BcGarjC7.js} +1 -1
  20. package/dist/{index-FUWILZwY.js → index-BdoWr55z.js} +2 -2
  21. package/dist/{index-CDW8XzWT.cjs → index-BkJkmkcq.cjs} +1 -1
  22. package/dist/{index-DIpWkFjh.cjs → index-BoVvgAUF.cjs} +1 -1
  23. package/dist/{index-YoJfAd5X.js → index-BqPYebkC.js} +1 -1
  24. package/dist/{index-DlClEW8i.js → index-CBHRkOa4.js} +1 -1
  25. package/dist/{index-DLU6Qv3w.cjs → index-CF9id9ro.cjs} +13 -13
  26. package/dist/{index-BiUFu7a_.js → index-CK_bms-m.js} +240 -242
  27. package/dist/{index-gcSJbApQ.cjs → index-CRvxI1hr.cjs} +1 -1
  28. package/dist/{index-B2xsH_Wl.cjs → index-CaubJFHG.cjs} +1 -1
  29. package/dist/index-Ch_Cm24f.cjs +1 -0
  30. package/dist/{index-CHzlphv9.cjs → index-Ck3lmJpc.cjs} +1 -1
  31. package/dist/{index-BFHCLxvz.js → index-ClCw6ykP.js} +1 -1
  32. package/dist/{index-BEfSpHE6.js → index-DA4aTMB5.js} +1 -1
  33. package/dist/{index-ChyicQIl.js → index-DG0upY6_.js} +1 -1
  34. package/dist/{index-u-f2S6H4.cjs → index-DI5DRRI8.cjs} +1 -1
  35. package/dist/{index-DuamAhUi.cjs → index-DLiM284R.cjs} +1 -1
  36. package/dist/{index-BYIlecoJ.cjs → index-DNnfnoYc.cjs} +1 -1
  37. package/dist/{index-95KyZ7PB.js → index-DVNrIedZ.js} +1 -1
  38. package/dist/{index-DvgAOa6m.js → index-DXiQ5JKb.js} +1149 -1127
  39. package/dist/{index-B1U77nyf.cjs → index-DZ3LdxA8.cjs} +1 -1
  40. package/dist/{index-CxMIdKAy.cjs → index-D_FAvCkR.cjs} +1 -1
  41. package/dist/{index-JXXdn01K.cjs → index-DgW_swZz.cjs} +1 -1
  42. package/dist/{index-BxEjroD6.cjs → index-DjQZE_pv.cjs} +1 -1
  43. package/dist/{index-BTwRUubF.js → index-DmLuog-V.js} +3 -3
  44. package/dist/{index-BooTgcW2.js → index-Do_4Y2BA.js} +923 -934
  45. package/dist/{index-DN40xEbb.js → index-Dq9ppmM1.js} +3 -3
  46. package/dist/{index-DZQjq0ZR.js → index-DuXxVHLY.js} +1 -1
  47. package/dist/{index-OLQpbvuS.js → index-Duh5yc_7.js} +8 -8
  48. package/dist/{index-DNs7ujiq.js → index-DunWx7gk.js} +2 -2
  49. package/dist/{index--qwZeW47.js → index-GbPoL1UR.js} +1 -1
  50. package/dist/{index-DkNldOC0.cjs → index-MHgc1J83.cjs} +1 -1
  51. package/dist/{index-BgwYXT31.cjs → index-RhIBaFyU.cjs} +1 -1
  52. package/dist/{index-DZbNXTrw.js → index-YhC-PbE3.js} +1 -1
  53. package/dist/{index-lP-_9Gsb.cjs → index-aTpWvup6.cjs} +1 -1
  54. package/dist/{index-C8IFPtAJ.js → index-ajVsMnUs.js} +7 -7
  55. package/dist/{index-BN4opOSk.cjs → index-fv_bHYEK.cjs} +1 -1
  56. package/dist/{index-DAJoy_Z5.js → index-vPR31-Zk.js} +1 -1
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Bff2sYnQ.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DF-onWE-.cjs} +1 -1
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-D6uh0ooh.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DVp62_ZP.js} +8 -8
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BZPnZF-N.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BL1cikD3.js} +1071 -1076
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-fAuSnfOH.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CHavLvPk.cjs} +32 -32
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_b00cbae2_lang-Dt5lXvbN.js → index.vue_vue_type_style_index_0_scoped_b00cbae2_lang-B60JZATD.js} +4 -4
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_b00cbae2_lang-DlyCfLDJ.cjs → index.vue_vue_type_style_index_0_scoped_b00cbae2_lang-zIOhigw2.cjs} +1 -1
  63. package/dist/{index.vue_vue_type_style_index_1_lang-DDYxgdQk.cjs → index.vue_vue_type_style_index_1_lang-B5nfyDvl.cjs} +1 -1
  64. package/dist/{index.vue_vue_type_style_index_1_lang-BUhvhTqt.js → index.vue_vue_type_style_index_1_lang-CChX6Zmx.js} +3 -3
  65. package/dist/{main-ChUyYPuq.js → main-CIXVap1M.js} +3 -3
  66. package/dist/{main-D-bdppOV.cjs → main-e1Q2-l7w.cjs} +1 -1
  67. package/dist/ss-component.cjs +1 -1
  68. package/dist/ss-component.css +2 -2
  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-CDFo3As-.cjs → threeModel-UBx8eTMe.cjs} +1 -1
  73. package/dist/{threeModel-DcuAlWjb.js → threeModel-cKQrxO3d.js} +4 -4
  74. package/dist/{threePreview-q4R-oAs6.cjs → threePreview-BAJ00HhJ.cjs} +1 -1
  75. package/dist/{threePreview-DhMkG1np.js → threePreview-D35fdkMP.js} +3 -3
  76. package/dist/{threeSceneView-Dav7AGkH.js → threeSceneView-BZenUkiZ.js} +9 -9
  77. package/dist/{threeSceneView-CAsVH82L.cjs → threeSceneView-OEime_CV.cjs} +1 -1
  78. package/dist/{threeSceneViewForCPMPIP-9__8NGa5.cjs → threeSceneViewForCPMPIP-C044dPvs.cjs} +1 -1
  79. package/dist/{threeSceneViewForCPMPIP-DxFYivgN.js → threeSceneViewForCPMPIP-zeiEQd6_.js} +9 -9
  80. package/dist/{threeTrackPathView-DXCMl3aZ.js → threeTrackPathView-CHosxM5O.js} +4 -4
  81. package/dist/{threeTrackPathView-B7yrSLKq.cjs → threeTrackPathView-DdZ_W87m.cjs} +1 -1
  82. package/dist/{threeViewerHost-D70yS3z2.cjs → threeViewerHost-Ba-SeQ6m.cjs} +36 -36
  83. package/dist/{threeViewerHost-BNnzz6WM.js → threeViewerHost-Co0U6v_d.js} +2126 -2090
  84. package/dist/{urdfTree-3Jd59vvU.js → urdfTree-CtpNr38F.js} +1 -1
  85. package/dist/{urdfTree-CPEMi7wo.cjs → urdfTree-DkWqLWnt.cjs} +1 -1
  86. package/dist/{workpieceTreePanel-KdP9UaVe.cjs → workpieceTreePanel-BPsnvq9b.cjs} +1 -1
  87. package/dist/{workpieceTreePanel-CCbVIIlm.js → workpieceTreePanel-DimwJSXC.js} +5 -5
  88. package/package.json +1 -1
  89. package/dist/index-C9C84gkB.cjs +0 -1
  90. package/dist/obj/model.mtl +0 -42
  91. package/dist/obj/model.obj +0 -26110
  92. package/public/obj/model.mtl +0 -42
  93. package/public/obj/model.obj +0 -26110
@@ -1,15 +1,15 @@
1
- import { ref as q, watch as He, nextTick as ua, resolveComponent as Qe, createBlock as Pe, openBlock as le, withCtx as Q, createElementVNode as ge, renderSlot as wa, onMounted as va, createElementBlock as ke, normalizeStyle as xl, normalizeClass as nn, toDisplayString as Ee, createCommentVNode as De, createVNode as oe, unref as Ie, Fragment as tl, renderList as cl, createTextVNode as Ye, defineComponent as rn, reactive as Jl, inject as tr, provide as cr, onBeforeUnmount as dr, computed as Fa, onUnmounted as pr, createSlots as fr, withDirectives as Ka, vShow as za } from "vue";
2
- import { by as Ja, ay as Ra, c as W, E as ze, c3 as ba, g as jl, p as ml, s as El, u as gr, e as Wa, b as Ul, bK as hr, bI as qa, d as yr, ce as vr } from "./index-DsSA-OiE.js";
3
- import { b6 as Wl, bm as br, g as hl, a as Sr, u as kr, b5 as Tr, bn as Ga, bo as Ha, bp as Ar, bq as mr, l as ra, b2 as Qa, f as Xa, br as Ya, be as Ur, bs as xr, b4 as _r } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BZPnZF-N.js";
4
- import { c as Ll, _ as Za, h as Cr, e as Or, E as Dr } from "./index-BooTgcW2.js";
5
- import { e as Er, f as ql, b as jr, T as Lr, d as ha, h as $r, w as Pr } from "./threeViewerHost-BNnzz6WM.js";
6
- import { u as Br, a as Nr, E as Ia } from "./index-Ce_gZ72y.js";
7
- import "./index.vue_vue_type_style_index_1_lang-BUhvhTqt.js";
8
- import { _ as sa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- import { s as Rl } from "./index-DlClEW8i.js";
1
+ import { ref as q, watch as Ye, nextTick as ia, resolveComponent as Ze, createBlock as $e, openBlock as ee, withCtx as X, createElementVNode as fe, renderSlot as za, onMounted as ka, createElementBlock as Se, normalizeStyle as Cl, normalizeClass as sn, toDisplayString as De, createCommentVNode as Oe, createVNode as ue, unref as ll, Fragment as dl, renderList as pl, createTextVNode as Ve, defineComponent as on, reactive as ql, inject as pr, provide as fr, onBeforeUnmount as gr, computed as Ja, onUnmounted as hr, createSlots as yr, withDirectives as Ra, vShow as Wa } from "vue";
2
+ import { by as qa, ay as Ga, c as W, E as We, c3 as Ta, g as Pl, p as xl, s as $l, u as vr, e as Ha, b as _l, bK as br, bI as Qa, d as Sr, ce as kr } from "./index-DsSA-OiE.js";
3
+ import { b6 as Hl, bm as Tr, g as vl, a as Ar, u as mr, b5 as Ur, bn as Xa, bo as Ya, bp as xr, bq as _r, l as oa, b2 as Za, f as Ia, br as Va, be as Cr, bs as Or, b4 as Dr } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BL1cikD3.js";
4
+ import { c as Bl, _ as en, h as Er, e as jr, E as Lr } from "./index-Do_4Y2BA.js";
5
+ import { e as $r, f as Ql, b as Pr, T as Br, d as ba, h as Nr, w as Mr } from "./threeViewerHost-Co0U6v_d.js";
6
+ import { u as wr, a as Fr, E as ln } from "./index-Ce_gZ72y.js";
7
+ import "./index.vue_vue_type_style_index_1_lang-CChX6Zmx.js";
8
+ import { _ as ta } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
+ import { s as Gl } from "./index-CBHRkOa4.js";
10
10
  import "./index-BIHEqwHC.js";
11
- import { i as Va } from "./isString-RZ1z_1Z2.js";
12
- const en = (L) => L.match(/\((.*)\)/)[1], ln = {
11
+ import { i as an } from "./isString-RZ1z_1Z2.js";
12
+ const nn = (L) => L.match(/\((.*)\)/)[1], rn = {
13
13
  __name: "index",
14
14
  props: {
15
15
  isVisible: {
@@ -30,68 +30,68 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
30
30
  }
31
31
  },
32
32
  setup(L) {
33
- const re = L, I = q(null), B = q(!1), P = q(null);
34
- return He(
35
- () => re == null ? void 0 : re.isVisible,
33
+ const ne = L, I = q(null), B = q(!1), P = q(null);
34
+ return Ye(
35
+ () => ne == null ? void 0 : ne.isVisible,
36
36
  () => {
37
- B.value = re == null ? void 0 : re.isVisible;
37
+ B.value = ne == null ? void 0 : ne.isVisible;
38
38
  },
39
39
  { deep: !0, immediate: !0 }
40
- ), He(
40
+ ), Ye(
41
41
  () => P.value,
42
42
  () => {
43
- ua(() => {
44
- var s, ue;
45
- (ue = (s = I.value) == null ? void 0 : s.updatePopper) == null || ue.call(s);
43
+ ia(() => {
44
+ var s, re;
45
+ (re = (s = I.value) == null ? void 0 : s.updatePopper) == null || re.call(s);
46
46
  });
47
47
  },
48
48
  { deep: !0, immediate: !0 }
49
- ), (s, ue) => {
50
- const ye = Qe("el-popover");
51
- return le(), Pe(ye, {
49
+ ), (s, re) => {
50
+ const he = Ze("el-popover");
51
+ return ee(), $e(he, {
52
52
  visible: B.value,
53
- title: re == null ? void 0 : re.title,
54
- placement: re == null ? void 0 : re.placement,
55
- width: re == null ? void 0 : re.width,
53
+ title: ne == null ? void 0 : ne.title,
54
+ placement: ne == null ? void 0 : ne.placement,
55
+ width: ne == null ? void 0 : ne.width,
56
56
  ref_key: "popOverRef",
57
57
  ref: I
58
58
  }, {
59
- reference: Q(() => [
60
- ge("div", null, [
61
- wa(s.$slots, "reference", {
59
+ reference: X(() => [
60
+ fe("div", null, [
61
+ za(s.$slots, "reference", {
62
62
  ref_key: "referenceRef",
63
63
  ref: P
64
64
  })
65
65
  ])
66
66
  ]),
67
- default: Q(() => [
68
- ge("div", null, [
69
- wa(s.$slots, "content")
67
+ default: X(() => [
68
+ fe("div", null, [
69
+ za(s.$slots, "content")
70
70
  ])
71
71
  ]),
72
72
  _: 3
73
73
  }, 8, ["visible", "title", "placement", "width"]);
74
74
  };
75
75
  }
76
- }, Mr = {
76
+ }, Kr = {
77
77
  key: 0,
78
78
  class: "extra-button-content"
79
- }, wr = { class: "table-operator-wrap" }, Fr = { class: "extra-button-filter" }, Kr = { class: "form-content-value" }, zr = {
79
+ }, zr = { class: "table-operator-wrap" }, Jr = { class: "extra-button-filter" }, Rr = { class: "form-content-value" }, Wr = {
80
80
  key: 0,
81
81
  class: "extra-header"
82
- }, Jr = {
82
+ }, qr = {
83
83
  class: "drop-menu",
84
84
  style: { width: "120px" }
85
- }, Rr = { key: 0 }, Wr = { key: 1 }, qr = {
85
+ }, Gr = { key: 0 }, Hr = { key: 1 }, Qr = {
86
86
  key: 1,
87
87
  class: "extra-button-content tabs-button-wrapper"
88
- }, Gr = { class: "table-operator-wrap" }, Hr = { class: "extra-button-filter" }, Qr = { class: "form-content-value" }, Xr = {
88
+ }, Xr = { class: "table-operator-wrap" }, Yr = { class: "extra-button-filter" }, Zr = { class: "form-content-value" }, Ir = {
89
89
  key: 0,
90
90
  class: "extra-header"
91
- }, Yr = {
91
+ }, Vr = {
92
92
  class: "drop-menu",
93
93
  style: { width: "120px" }
94
- }, Zr = { key: 0 }, Ir = { key: 1 }, Vr = {
94
+ }, eu = { key: 0 }, lu = { key: 1 }, au = {
95
95
  __name: "header",
96
96
  props: {
97
97
  pageLayout: {
@@ -122,11 +122,11 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
122
122
  }
123
123
  },
124
124
  emits: ["buttonClick", "filter", "getImportData"],
125
- setup(L, { emit: re }) {
126
- const I = re, B = L, P = q(""), s = q(!1), ue = q([]), ye = q([{ label: "取消", background: "#999999" }, {
125
+ setup(L, { emit: ne }) {
126
+ const I = ne, B = L, P = q(""), s = q(!1), re = q([]), he = q([{ label: "取消", background: "#999999" }, {
127
127
  label: "清空",
128
128
  background: "#999999"
129
- }, { label: "确认" }]), xe = [
129
+ }, { label: "确认" }]), _e = [
130
130
  {
131
131
  label: "新增",
132
132
  icon: "Plus"
@@ -139,136 +139,136 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
139
139
  label: "导出",
140
140
  icon: "export"
141
141
  }
142
- ], ve = (ce) => {
143
- const me = ce.raw;
142
+ ], ye = (te) => {
143
+ const me = te.raw;
144
144
  if (!me) return;
145
- const te = new FileReader();
146
- te.onload = (H) => {
145
+ const oe = new FileReader();
146
+ oe.onload = (H) => {
147
147
  try {
148
- const G = new Uint8Array(H.target.result), Be = Er(G, { type: "array" }), Xe = Be.SheetNames[0], ie = Be.Sheets[Xe], we = ql.decode_range(ie["!ref"]).e.c + 1, Z = new Array(we).fill(""), v = [];
149
- for (const R in ie) {
148
+ const G = new Uint8Array(H.target.result), Pe = $r(G, { type: "array" }), Ie = Pe.SheetNames[0], se = Pe.Sheets[Ie], Ke = Ql.decode_range(se["!ref"]).e.c + 1, Y = new Array(Ke).fill(""), v = [];
149
+ for (const R in se) {
150
150
  if (R[0] === "!") continue;
151
- const { r: V, c: _e } = ql.decode_cell(R);
152
- let se = ie[R].v;
153
- if (ie[R].t === "n" && se > 0 && se < 1e6 && (se = new Date((se - 25569) * 86400 * 1e3).toISOString().split("T")[0]), (se == null || se === "") && (se = ""), V === 0)
154
- Z[_e] = se;
151
+ const { r: ie, c: xe } = Ql.decode_cell(R);
152
+ let Be = se[R].v;
153
+ if (se[R].t === "n" && Be > 0 && Be < 1e6 && (Be = new Date((Be - 25569) * 86400 * 1e3).toISOString().split("T")[0]), (Be == null || Be === "") && (Be = ""), ie === 0)
154
+ Y[xe] = Be;
155
155
  else {
156
- if (!v[V - 1]) {
157
- v[V - 1] = {};
158
- for (let ol = 0; ol < we; ol++)
159
- v[V - 1][`col_${ol}`] = "";
156
+ if (!v[ie - 1]) {
157
+ v[ie - 1] = {};
158
+ for (let ze = 0; ze < Ke; ze++)
159
+ v[ie - 1][`col_${ze}`] = "";
160
160
  }
161
- v[V - 1][`col_${_e}`] = se;
161
+ v[ie - 1][`col_${xe}`] = Be;
162
162
  }
163
163
  }
164
- for (let R = 0; R < we; R++)
165
- Z[R] === void 0 && (Z[R] = "");
166
- const Ce = v == null ? void 0 : v[0];
167
- if (!(Ce != null && Ce.hasOwnProperty("col_0"))) return ze.error("导入的数据列不匹配,请检查是否错位");
168
- I("getImportData", Z, v);
164
+ for (let R = 0; R < Ke; R++)
165
+ Y[R] === void 0 && (Y[R] = "");
166
+ const we = v == null ? void 0 : v[0];
167
+ if (!(we != null && we.hasOwnProperty("col_0"))) return We.error("导入的数据列不匹配,请检查是否错位");
168
+ I("getImportData", Y, v);
169
169
  } catch (G) {
170
- throw ze.error(G.message), new Error(G.message);
170
+ throw We.error(G.message), new Error(G.message);
171
171
  }
172
- }, te.readAsArrayBuffer(me);
173
- }, Ve = (ce) => {
174
- var te;
175
- const me = (te = ue.value) == null ? void 0 : te.reduce((H, G, Be) => (Be === 0 ? H[G.label] = ce : H[G.label] = G == null ? void 0 : G.value, H), {});
176
- I("filter", me, ce, !0);
177
- }, rl = (ce) => {
178
- I("buttonClick", ce);
179
- }, yl = (ce) => {
180
- var me, te;
181
- ue.value = (te = (me = Wl(W(ce))) == null ? void 0 : me.filter((H) => (H == null ? void 0 : H.label) !== "" && (H == null ? void 0 : H.label) !== "操作")) == null ? void 0 : te.map((H) => ({
172
+ }, oe.readAsArrayBuffer(me);
173
+ }, al = (te) => {
174
+ var oe;
175
+ const me = (oe = re.value) == null ? void 0 : oe.reduce((H, G, Pe) => (Pe === 0 ? H[G.label] = te : H[G.label] = G == null ? void 0 : G.value, H), {});
176
+ I("filter", me, te, !0);
177
+ }, ol = (te) => {
178
+ I("buttonClick", te);
179
+ }, bl = (te) => {
180
+ var me, oe;
181
+ re.value = (oe = (me = Hl(W(te))) == null ? void 0 : me.filter((H) => (H == null ? void 0 : H.label) !== "" && (H == null ? void 0 : H.label) !== "操作")) == null ? void 0 : oe.map((H) => ({
182
182
  label: (H == null ? void 0 : H.label) ?? "",
183
183
  value: "",
184
184
  name: (H == null ? void 0 : H.label) ?? "",
185
185
  isFormColHidden: H == null ? void 0 : H.isTableColHidden,
186
186
  width: 2
187
187
  }));
188
- }, be = q(!1), dl = (ce) => {
188
+ }, ve = q(!1), fl = (te) => {
189
189
  var me;
190
- if ((ce == null ? void 0 : ce.buttonName) === "确认" && (I("filter", ce == null ? void 0 : ce.content), be.value = (ce == null ? void 0 : ce.content) && Object.values(ce == null ? void 0 : ce.content).length > 0), (ce == null ? void 0 : ce.buttonName) === "清空") {
191
- const te = W(ce == null ? void 0 : ce.content);
192
- for (const H in te)
193
- te[H] = "";
194
- ue.value = (me = ue.value) == null ? void 0 : me.map((H) => ({
190
+ if ((te == null ? void 0 : te.buttonName) === "确认" && (I("filter", te == null ? void 0 : te.content), ve.value = (te == null ? void 0 : te.content) && Object.values(te == null ? void 0 : te.content).length > 0), (te == null ? void 0 : te.buttonName) === "清空") {
191
+ const oe = W(te == null ? void 0 : te.content);
192
+ for (const H in oe)
193
+ oe[H] = "";
194
+ re.value = (me = re.value) == null ? void 0 : me.map((H) => ({
195
195
  ...H,
196
196
  value: ""
197
- })), I("filter", te), be.value = !1;
197
+ })), I("filter", oe), ve.value = !1;
198
198
  }
199
199
  s.value = !1;
200
- }, pl = () => {
201
- var me, te;
202
- ue.value = (me = ue.value) == null ? void 0 : me.map((H) => ({
200
+ }, gl = () => {
201
+ var me, oe;
202
+ re.value = (me = re.value) == null ? void 0 : me.map((H) => ({
203
203
  ...H,
204
204
  value: ""
205
205
  }));
206
- const ce = (te = ue.value) == null ? void 0 : te.reduce((H, G) => (H[G.label] = G.value, H), {});
207
- I("filter", ce);
206
+ const te = (oe = re.value) == null ? void 0 : oe.reduce((H, G) => (H[G.label] = G.value, H), {});
207
+ I("filter", te);
208
208
  };
209
- return va(() => {
210
- yl(B.columns);
211
- }), He(
209
+ return ka(() => {
210
+ bl(B.columns);
211
+ }), Ye(
212
212
  () => B.columns,
213
213
  () => {
214
- yl(B.columns);
214
+ bl(B.columns);
215
215
  },
216
216
  { deep: !0, immediate: !0 }
217
- ), (ce, me) => {
218
- var ie, Je, we, Z;
219
- const te = Qe("el-icon"), H = Qe("svg-icon"), G = Qe("el-input"), Be = Qe("el-button"), Xe = Qe("el-upload");
220
- return L.pageLayout === "vertical" ? (le(), ke("div", Mr, [
221
- ge("div", {
222
- class: nn(L.compName ? "table-name-wrap" : ""),
223
- style: xl({
217
+ ), (te, me) => {
218
+ var se, qe, Ke, Y;
219
+ const oe = Ze("el-icon"), H = Ze("svg-icon"), G = Ze("el-input"), Pe = Ze("el-button"), Ie = Ze("el-upload");
220
+ return L.pageLayout === "vertical" ? (ee(), Se("div", Kr, [
221
+ fe("div", {
222
+ class: sn(L.compName ? "table-name-wrap" : ""),
223
+ style: Cl({
224
224
  background: (B == null ? void 0 : B.level) > 1 ? "transparent" : "var(--ssgroup-background)",
225
225
  paddingLeft: ((B == null ? void 0 : B.level) - 1) * 12 + "px",
226
226
  fontWeight: 600 - ((B == null ? void 0 : B.level) - 1) * 100 >= 400 ? 600 - ((B == null ? void 0 : B.level) - 1) * 100 : 400,
227
227
  fontSize: 17 - (B == null ? void 0 : B.level) >= 14 ? 17 - (B == null ? void 0 : B.level) + "px" : "14px"
228
228
  })
229
- }, Ee(L.compName), 7),
230
- ge("div", wr, [
231
- ge("div", Fr, [
232
- oe(ln, {
229
+ }, De(L.compName), 7),
230
+ fe("div", zr, [
231
+ fe("div", Jr, [
232
+ ue(rn, {
233
233
  title: "",
234
234
  width: 800,
235
235
  placement: "bottom-start",
236
236
  isVisible: s.value
237
237
  }, {
238
- reference: Q(() => {
239
- var v, Ce, R, V;
238
+ reference: X(() => {
239
+ var v, we, R, ie;
240
240
  return [
241
- oe(G, {
241
+ ue(G, {
242
242
  modelValue: P.value,
243
- "onUpdate:modelValue": me[1] || (me[1] = (_e) => P.value = _e),
243
+ "onUpdate:modelValue": me[1] || (me[1] = (xe) => P.value = xe),
244
244
  style: { "min-width": "80px" },
245
- placeholder: be.value ? (R = (Ce = (v = L.filterValues) == null ? void 0 : v.filter((_e) => _e)) == null ? void 0 : Ce.slice(0, 3)) == null ? void 0 : R.join("/") : "搜索",
246
- "prefix-icon": Ie(Ja),
245
+ placeholder: ve.value ? (R = (we = (v = L.filterValues) == null ? void 0 : v.filter((xe) => xe)) == null ? void 0 : we.slice(0, 3)) == null ? void 0 : R.join("/") : "搜索",
246
+ "prefix-icon": ll(qa),
247
247
  clearable: "",
248
- onInput: Ve,
249
- disabled: ((V = ue.value) == null ? void 0 : V.length) === 0
248
+ onInput: al,
249
+ disabled: ((ie = re.value) == null ? void 0 : ie.length) === 0
250
250
  }, {
251
- suffix: Q(() => {
252
- var _e, se;
251
+ suffix: X(() => {
252
+ var xe, Be;
253
253
  return [
254
- !P.value && ((se = (_e = L.filterValues) == null ? void 0 : _e.filter((ol) => ol)) != null && se.join("/")) ? (le(), Pe(te, {
254
+ !P.value && ((Be = (xe = L.filterValues) == null ? void 0 : xe.filter((ze) => ze)) != null && Be.join("/")) ? (ee(), $e(oe, {
255
255
  key: 0,
256
256
  style: { cursor: "pointer" },
257
- onClick: pl
257
+ onClick: gl
258
258
  }, {
259
- default: Q(() => [
260
- oe(Ie(Ra))
259
+ default: X(() => [
260
+ ue(ll(Ga))
261
261
  ]),
262
262
  _: 1
263
- })) : De("", !0)
263
+ })) : Oe("", !0)
264
264
  ];
265
265
  }),
266
- append: Q(() => [
267
- ge("span", {
266
+ append: X(() => [
267
+ fe("span", {
268
268
  title: "条件查询",
269
- onClick: me[0] || (me[0] = (_e) => s.value = !s.value)
269
+ onClick: me[0] || (me[0] = (xe) => s.value = !s.value)
270
270
  }, [
271
- oe(H, {
271
+ ue(H, {
272
272
  name: "query",
273
273
  style: { width: "15px", height: "15px", cursor: "pointer" }
274
274
  })
@@ -278,78 +278,78 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
278
278
  }, 8, ["modelValue", "placeholder", "prefix-icon", "disabled"])
279
279
  ];
280
280
  }),
281
- content: Q(() => [
282
- ge("div", Kr, [
283
- (le(), Pe(Ll, {
284
- rowContents: ue.value,
285
- buttonValue: ye.value,
281
+ content: X(() => [
282
+ fe("div", Rr, [
283
+ (ee(), $e(Bl, {
284
+ rowContents: re.value,
285
+ buttonValue: he.value,
286
286
  isRowFlex: !0,
287
287
  isEnableWrap: !1,
288
288
  isButtonRow: !1,
289
- key: ye.value,
289
+ key: he.value,
290
290
  isStartJustify: !1,
291
- onOnButtonClick: dl
291
+ onOnButtonClick: fl
292
292
  }, null, 8, ["rowContents", "buttonValue"]))
293
293
  ])
294
294
  ]),
295
295
  _: 1
296
296
  }, 8, ["isVisible"])
297
297
  ]),
298
- L.buttons && ((ie = L.buttons) == null ? void 0 : ie.length) > 0 ? (le(), ke("div", zr, [
299
- (le(!0), ke(tl, null, cl((Je = L.buttons) == null ? void 0 : Je.filter((v) => L.isDevMode || (v == null ? void 0 : v.label) !== "修改模板"), (v, Ce) => (le(), ke("div", {
298
+ L.buttons && ((se = L.buttons) == null ? void 0 : se.length) > 0 ? (ee(), Se("div", Wr, [
299
+ (ee(!0), Se(dl, null, pl((qe = L.buttons) == null ? void 0 : qe.filter((v) => L.isDevMode || (v == null ? void 0 : v.label) !== "修改模板"), (v, we) => (ee(), Se("div", {
300
300
  class: "extra-contents",
301
- key: Ce
301
+ key: we
302
302
  }, [
303
- (v == null ? void 0 : v.type) === "upload" ? (le(), Pe(Xe, {
303
+ (v == null ? void 0 : v.type) === "upload" ? (ee(), $e(Ie, {
304
304
  key: 0,
305
305
  class: "upload-button-wrap",
306
- "on-change": ve,
306
+ "on-change": ye,
307
307
  accept: ".xlsx,.xls",
308
308
  "auto-upload": !1,
309
309
  action: "#",
310
310
  "show-file-list": !1,
311
311
  disabled: !!L.lockingPage
312
312
  }, {
313
- default: Q(() => [
314
- oe(Be, {
313
+ default: X(() => [
314
+ ue(Pe, {
315
315
  disabled: !!L.lockingPage,
316
- style: xl({ background: (v == null ? void 0 : v.background) ?? "var(--ssbutton-theme-bg)", color: (v == null ? void 0 : v.color) ?? "var(--ssbutton-theme-color)" })
316
+ style: Cl({ background: (v == null ? void 0 : v.background) ?? "var(--ssbutton-theme-bg)", color: (v == null ? void 0 : v.color) ?? "var(--ssbutton-theme-color)" })
317
317
  }, {
318
- default: Q(() => [
319
- Ye(Ee(v == null ? void 0 : v.label), 1)
318
+ default: X(() => [
319
+ Ve(De(v == null ? void 0 : v.label), 1)
320
320
  ]),
321
321
  _: 2
322
322
  }, 1032, ["disabled", "style"])
323
323
  ]),
324
324
  _: 2
325
- }, 1032, ["disabled"])) : De("", !0),
326
- (v == null ? void 0 : v.type) === "popover" ? (le(), Pe(Za, { key: 1 }, {
327
- dropTitle: Q(() => [
328
- (v == null ? void 0 : v.type) === "popover" ? (le(), Pe(Be, {
325
+ }, 1032, ["disabled"])) : Oe("", !0),
326
+ (v == null ? void 0 : v.type) === "popover" ? (ee(), $e(en, { key: 1 }, {
327
+ dropTitle: X(() => [
328
+ (v == null ? void 0 : v.type) === "popover" ? (ee(), $e(Pe, {
329
329
  key: 0,
330
330
  disabled: !!L.lockingPage,
331
- style: xl({ background: (v == null ? void 0 : v.background) ?? "var(--ssbutton-theme-bg)", color: (v == null ? void 0 : v.color) ?? "var(--ssbutton-theme-color)" })
331
+ style: Cl({ background: (v == null ? void 0 : v.background) ?? "var(--ssbutton-theme-bg)", color: (v == null ? void 0 : v.color) ?? "var(--ssbutton-theme-color)" })
332
332
  }, {
333
- default: Q(() => [
334
- Ye(Ee(v == null ? void 0 : v.label), 1)
333
+ default: X(() => [
334
+ Ve(De(v == null ? void 0 : v.label), 1)
335
335
  ]),
336
336
  _: 2
337
- }, 1032, ["disabled", "style"])) : De("", !0)
337
+ }, 1032, ["disabled", "style"])) : Oe("", !0)
338
338
  ]),
339
- dropMenu: Q(() => [
340
- ge("div", Jr, [
341
- (le(!0), ke(tl, null, cl(v == null ? void 0 : v.contents, (R) => (le(), Pe(Be, {
339
+ dropMenu: X(() => [
340
+ fe("div", qr, [
341
+ (ee(!0), Se(dl, null, pl(v == null ? void 0 : v.contents, (R) => (ee(), $e(Pe, {
342
342
  key: R == null ? void 0 : R.label,
343
343
  disabled: !!L.lockingPage,
344
344
  style: { width: "100%", margin: "0", border: "none", display: "flex", "justify-content": "flex-start" },
345
- onClick: (V) => rl(R == null ? void 0 : R.label)
345
+ onClick: (ie) => ol(R == null ? void 0 : R.label)
346
346
  }, {
347
- default: Q(() => {
348
- var V, _e;
347
+ default: X(() => {
348
+ var ie, xe;
349
349
  return [
350
- Ye(Ee(R == null ? void 0 : R.label), 1),
351
- (V = R == null ? void 0 : R.label) != null && V.includes("选中") ? (le(), ke("span", Rr, "(" + Ee(L.selectNums) + ")", 1)) : De("", !0),
352
- (_e = R == null ? void 0 : R.label) != null && _e.includes("全部") ? (le(), ke("span", Wr, "(" + Ee(L.dataNums) + ")", 1)) : De("", !0)
350
+ Ve(De(R == null ? void 0 : R.label), 1),
351
+ (ie = R == null ? void 0 : R.label) != null && ie.includes("选中") ? (ee(), Se("span", Gr, "(" + De(L.selectNums) + ")", 1)) : Oe("", !0),
352
+ (xe = R == null ? void 0 : R.label) != null && xe.includes("全部") ? (ee(), Se("span", Hr, "(" + De(L.dataNums) + ")", 1)) : Oe("", !0)
353
353
  ];
354
354
  }),
355
355
  _: 2
@@ -357,65 +357,65 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
357
357
  ])
358
358
  ]),
359
359
  _: 2
360
- }, 1024)) : De("", !0),
361
- v != null && v.type ? De("", !0) : (le(), Pe(Be, {
360
+ }, 1024)) : Oe("", !0),
361
+ v != null && v.type ? Oe("", !0) : (ee(), $e(Pe, {
362
362
  key: 2,
363
363
  id: "themeButton",
364
364
  disabled: !!L.lockingPage,
365
- style: xl({ background: (v == null ? void 0 : v.background) ?? "var(--ssbutton-theme-bg)", color: (v == null ? void 0 : v.color) ?? "var(--ssbutton-theme-color)" }),
366
- onClick: (R) => rl(v == null ? void 0 : v.label)
365
+ style: Cl({ background: (v == null ? void 0 : v.background) ?? "var(--ssbutton-theme-bg)", color: (v == null ? void 0 : v.color) ?? "var(--ssbutton-theme-color)" }),
366
+ onClick: (R) => ol(v == null ? void 0 : v.label)
367
367
  }, {
368
- default: Q(() => [
369
- Ye(Ee(v == null ? void 0 : v.label), 1)
368
+ default: X(() => [
369
+ Ve(De(v == null ? void 0 : v.label), 1)
370
370
  ]),
371
371
  _: 2
372
372
  }, 1032, ["disabled", "style", "onClick"]))
373
373
  ]))), 128))
374
- ])) : De("", !0)
374
+ ])) : Oe("", !0)
375
375
  ])
376
- ])) : (le(), ke("div", qr, [
377
- ge("div", Gr, [
378
- ge("div", Hr, [
379
- oe(ln, {
376
+ ])) : (ee(), Se("div", Qr, [
377
+ fe("div", Xr, [
378
+ fe("div", Yr, [
379
+ ue(rn, {
380
380
  title: "",
381
381
  width: 800,
382
382
  placement: "bottom-start",
383
383
  isVisible: s.value
384
384
  }, {
385
- reference: Q(() => {
386
- var v, Ce, R, V;
385
+ reference: X(() => {
386
+ var v, we, R, ie;
387
387
  return [
388
- oe(G, {
388
+ ue(G, {
389
389
  modelValue: P.value,
390
- "onUpdate:modelValue": me[3] || (me[3] = (_e) => P.value = _e),
390
+ "onUpdate:modelValue": me[3] || (me[3] = (xe) => P.value = xe),
391
391
  style: { "min-width": "80px" },
392
- placeholder: be.value ? (R = (Ce = (v = L.filterValues) == null ? void 0 : v.filter((_e) => _e)) == null ? void 0 : Ce.slice(0, 3)) == null ? void 0 : R.join("/") : "搜索",
393
- "prefix-icon": Ie(Ja),
392
+ placeholder: ve.value ? (R = (we = (v = L.filterValues) == null ? void 0 : v.filter((xe) => xe)) == null ? void 0 : we.slice(0, 3)) == null ? void 0 : R.join("/") : "搜索",
393
+ "prefix-icon": ll(qa),
394
394
  clearable: "",
395
- onInput: Ve,
396
- disabled: ((V = ue.value) == null ? void 0 : V.length) === 0
395
+ onInput: al,
396
+ disabled: ((ie = re.value) == null ? void 0 : ie.length) === 0
397
397
  }, {
398
- suffix: Q(() => {
399
- var _e, se;
398
+ suffix: X(() => {
399
+ var xe, Be;
400
400
  return [
401
- !P.value && ((se = (_e = L.filterValues) == null ? void 0 : _e.filter((ol) => ol)) != null && se.join("/")) ? (le(), Pe(te, {
401
+ !P.value && ((Be = (xe = L.filterValues) == null ? void 0 : xe.filter((ze) => ze)) != null && Be.join("/")) ? (ee(), $e(oe, {
402
402
  key: 0,
403
403
  style: { cursor: "pointer" },
404
- onClick: pl
404
+ onClick: gl
405
405
  }, {
406
- default: Q(() => [
407
- oe(Ie(Ra))
406
+ default: X(() => [
407
+ ue(ll(Ga))
408
408
  ]),
409
409
  _: 1
410
- })) : De("", !0)
410
+ })) : Oe("", !0)
411
411
  ];
412
412
  }),
413
- append: Q(() => [
414
- ge("span", {
413
+ append: X(() => [
414
+ fe("span", {
415
415
  title: "条件查询",
416
- onClick: me[2] || (me[2] = (_e) => s.value = !s.value)
416
+ onClick: me[2] || (me[2] = (xe) => s.value = !s.value)
417
417
  }, [
418
- oe(H, {
418
+ ue(H, {
419
419
  name: "query",
420
420
  style: { width: "15px", height: "15px", cursor: "pointer" }
421
421
  })
@@ -425,88 +425,88 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
425
425
  }, 8, ["modelValue", "placeholder", "prefix-icon", "disabled"])
426
426
  ];
427
427
  }),
428
- content: Q(() => [
429
- ge("div", Qr, [
430
- (le(), Pe(Ll, {
431
- rowContents: ue.value,
432
- buttonValue: ye.value,
428
+ content: X(() => [
429
+ fe("div", Zr, [
430
+ (ee(), $e(Bl, {
431
+ rowContents: re.value,
432
+ buttonValue: he.value,
433
433
  isRowFlex: !0,
434
434
  isEnableWrap: !1,
435
435
  isButtonRow: !1,
436
- key: ye.value,
436
+ key: he.value,
437
437
  isStartJustify: !1,
438
- onOnButtonClick: dl
438
+ onOnButtonClick: fl
439
439
  }, null, 8, ["rowContents", "buttonValue"]))
440
440
  ])
441
441
  ]),
442
442
  _: 1
443
443
  }, 8, ["isVisible"])
444
444
  ]),
445
- L.buttons && ((we = L.buttons) == null ? void 0 : we.length) > 0 ? (le(), ke("div", Xr, [
446
- (le(!0), ke(tl, null, cl((Z = L.buttons) == null ? void 0 : Z.filter((v) => L.isDevMode || (v == null ? void 0 : v.label) !== "修改模板"), (v, Ce) => (le(), ke("div", {
445
+ L.buttons && ((Ke = L.buttons) == null ? void 0 : Ke.length) > 0 ? (ee(), Se("div", Ir, [
446
+ (ee(!0), Se(dl, null, pl((Y = L.buttons) == null ? void 0 : Y.filter((v) => L.isDevMode || (v == null ? void 0 : v.label) !== "修改模板"), (v, we) => (ee(), Se("div", {
447
447
  class: "extra-contents",
448
- key: Ce
448
+ key: we
449
449
  }, [
450
- (v == null ? void 0 : v.type) === "upload" ? (le(), Pe(Xe, {
450
+ (v == null ? void 0 : v.type) === "upload" ? (ee(), $e(Ie, {
451
451
  key: 0,
452
452
  class: "upload-button-wrap",
453
- "on-change": ve,
453
+ "on-change": ye,
454
454
  accept: ".xlsx,.xls",
455
455
  "auto-upload": !1,
456
456
  action: "#",
457
457
  "show-file-list": !1
458
458
  }, {
459
- default: Q(() => [
460
- oe(Be, { style: { background: "transparent", color: "#666666" } }, {
461
- icon: Q(() => {
459
+ default: X(() => [
460
+ ue(Pe, { style: { background: "transparent", color: "#666666" } }, {
461
+ icon: X(() => {
462
462
  var R;
463
463
  return [
464
- oe(H, {
465
- name: (R = xe == null ? void 0 : xe.find((V) => (V == null ? void 0 : V.label) === (v == null ? void 0 : v.label))) == null ? void 0 : R.icon
464
+ ue(H, {
465
+ name: (R = _e == null ? void 0 : _e.find((ie) => (ie == null ? void 0 : ie.label) === (v == null ? void 0 : v.label))) == null ? void 0 : R.icon
466
466
  }, null, 8, ["name"])
467
467
  ];
468
468
  }),
469
- default: Q(() => [
470
- Ye(" " + Ee(v == null ? void 0 : v.label), 1)
469
+ default: X(() => [
470
+ Ve(" " + De(v == null ? void 0 : v.label), 1)
471
471
  ]),
472
472
  _: 2
473
473
  }, 1024)
474
474
  ]),
475
475
  _: 2
476
- }, 1024)) : De("", !0),
477
- (v == null ? void 0 : v.type) === "popover" ? (le(), Pe(Za, { key: 1 }, {
478
- dropTitle: Q(() => [
479
- (v == null ? void 0 : v.type) === "popover" ? (le(), Pe(Be, {
476
+ }, 1024)) : Oe("", !0),
477
+ (v == null ? void 0 : v.type) === "popover" ? (ee(), $e(en, { key: 1 }, {
478
+ dropTitle: X(() => [
479
+ (v == null ? void 0 : v.type) === "popover" ? (ee(), $e(Pe, {
480
480
  key: 0,
481
481
  style: { background: "transparent", color: "#666666" }
482
482
  }, {
483
- icon: Q(() => {
483
+ icon: X(() => {
484
484
  var R;
485
485
  return [
486
- oe(H, {
487
- name: (R = xe == null ? void 0 : xe.find((V) => (V == null ? void 0 : V.label) === (v == null ? void 0 : v.label))) == null ? void 0 : R.icon
486
+ ue(H, {
487
+ name: (R = _e == null ? void 0 : _e.find((ie) => (ie == null ? void 0 : ie.label) === (v == null ? void 0 : v.label))) == null ? void 0 : R.icon
488
488
  }, null, 8, ["name"])
489
489
  ];
490
490
  }),
491
- default: Q(() => [
492
- Ye(" " + Ee(v == null ? void 0 : v.label), 1)
491
+ default: X(() => [
492
+ Ve(" " + De(v == null ? void 0 : v.label), 1)
493
493
  ]),
494
494
  _: 2
495
- }, 1024)) : De("", !0)
495
+ }, 1024)) : Oe("", !0)
496
496
  ]),
497
- dropMenu: Q(() => [
498
- ge("div", Yr, [
499
- (le(!0), ke(tl, null, cl(v == null ? void 0 : v.contents, (R) => (le(), Pe(Be, {
497
+ dropMenu: X(() => [
498
+ fe("div", Vr, [
499
+ (ee(!0), Se(dl, null, pl(v == null ? void 0 : v.contents, (R) => (ee(), $e(Pe, {
500
500
  key: R == null ? void 0 : R.label,
501
501
  style: { width: "100%", margin: "0", border: "none", display: "flex", "justify-content": "flex-start" },
502
- onClick: (V) => rl(R == null ? void 0 : R.label)
502
+ onClick: (ie) => ol(R == null ? void 0 : R.label)
503
503
  }, {
504
- default: Q(() => {
505
- var V, _e;
504
+ default: X(() => {
505
+ var ie, xe;
506
506
  return [
507
- Ye(Ee(R == null ? void 0 : R.label), 1),
508
- (V = R == null ? void 0 : R.label) != null && V.includes("选中") ? (le(), ke("span", Zr, "(" + Ee(L.selectNums) + ")", 1)) : De("", !0),
509
- (_e = R == null ? void 0 : R.label) != null && _e.includes("全部") ? (le(), ke("span", Ir, "(" + Ee(L.dataNums) + ")", 1)) : De("", !0)
507
+ Ve(De(R == null ? void 0 : R.label), 1),
508
+ (ie = R == null ? void 0 : R.label) != null && ie.includes("选中") ? (ee(), Se("span", eu, "(" + De(L.selectNums) + ")", 1)) : Oe("", !0),
509
+ (xe = R == null ? void 0 : R.label) != null && xe.includes("全部") ? (ee(), Se("span", lu, "(" + De(L.dataNums) + ")", 1)) : Oe("", !0)
510
510
  ];
511
511
  }),
512
512
  _: 2
@@ -514,33 +514,33 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
514
514
  ])
515
515
  ]),
516
516
  _: 2
517
- }, 1024)) : De("", !0),
518
- v != null && v.type ? De("", !0) : (le(), Pe(Be, {
517
+ }, 1024)) : Oe("", !0),
518
+ v != null && v.type ? Oe("", !0) : (ee(), $e(Pe, {
519
519
  key: 2,
520
520
  id: "themeButton",
521
- style: xl({ background: "transparent", color: (v == null ? void 0 : v.label) === "新增" ? "var(--ssbutton-theme-bg)" : "#666666" }),
522
- onClick: (R) => rl(v == null ? void 0 : v.label)
521
+ style: Cl({ background: "transparent", color: (v == null ? void 0 : v.label) === "新增" ? "var(--ssbutton-theme-bg)" : "#666666" }),
522
+ onClick: (R) => ol(v == null ? void 0 : v.label)
523
523
  }, {
524
- icon: Q(() => {
524
+ icon: X(() => {
525
525
  var R;
526
526
  return [
527
- oe(H, {
528
- name: (R = xe == null ? void 0 : xe.find((V) => (V == null ? void 0 : V.label) === (v == null ? void 0 : v.label))) == null ? void 0 : R.icon
527
+ ue(H, {
528
+ name: (R = _e == null ? void 0 : _e.find((ie) => (ie == null ? void 0 : ie.label) === (v == null ? void 0 : v.label))) == null ? void 0 : R.icon
529
529
  }, null, 8, ["name"])
530
530
  ];
531
531
  }),
532
- default: Q(() => [
533
- Ye(" " + Ee(v == null ? void 0 : v.label), 1)
532
+ default: X(() => [
533
+ Ve(" " + De(v == null ? void 0 : v.label), 1)
534
534
  ]),
535
535
  _: 2
536
536
  }, 1032, ["style", "onClick"]))
537
537
  ]))), 128))
538
- ])) : De("", !0)
538
+ ])) : Oe("", !0)
539
539
  ])
540
540
  ]));
541
541
  };
542
542
  }
543
- }, eu = /* @__PURE__ */ sa(Vr, [["__scopeId", "data-v-dc7dc670"]]), lu = /* @__PURE__ */ rn({
543
+ }, nu = /* @__PURE__ */ ta(au, [["__scopeId", "data-v-dc7dc670"]]), ru = /* @__PURE__ */ on({
544
544
  __name: "batch",
545
545
  props: {
546
546
  lockingPage: Boolean,
@@ -558,31 +558,31 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
558
558
  }
559
559
  },
560
560
  emits: ["buttonClick"],
561
- setup(L, { emit: re }) {
562
- const I = L, B = re, P = (ue) => {
563
- B("buttonClick", ue);
564
- }, s = (ue) => {
565
- var ye;
566
- return ue != null && ue.includes("删除") ? ((ye = I.selectTableItems) == null ? void 0 : ye.length) > 0 ? "warning-active-type" : "warning-type" : "default-type";
561
+ setup(L, { emit: ne }) {
562
+ const I = L, B = ne, P = (re) => {
563
+ B("buttonClick", re);
564
+ }, s = (re) => {
565
+ var he;
566
+ return re != null && re.includes("删除") ? ((he = I.selectTableItems) == null ? void 0 : he.length) > 0 ? "warning-active-type" : "warning-type" : "default-type";
567
567
  };
568
- return (ue, ye) => {
569
- const xe = Qe("el-button");
570
- return le(), ke("div", null, [
571
- (le(!0), ke(tl, null, cl(L.buttons, (ve) => (le(), Pe(xe, {
572
- key: ve == null ? void 0 : ve.label,
568
+ return (re, he) => {
569
+ const _e = Ze("el-button");
570
+ return ee(), Se("div", null, [
571
+ (ee(!0), Se(dl, null, pl(L.buttons, (ye) => (ee(), $e(_e, {
572
+ key: ye == null ? void 0 : ye.label,
573
573
  disabled: !!L.lockingPage,
574
- class: nn(s(ve == null ? void 0 : ve.label)),
575
- onClick: (Ve) => P(ve == null ? void 0 : ve.label)
574
+ class: sn(s(ye == null ? void 0 : ye.label)),
575
+ onClick: (al) => P(ye == null ? void 0 : ye.label)
576
576
  }, {
577
- default: Q(() => [
578
- Ye(Ee(ve == null ? void 0 : ve.label), 1)
577
+ default: X(() => [
578
+ Ve(De(ye == null ? void 0 : ye.label), 1)
579
579
  ]),
580
580
  _: 2
581
581
  }, 1032, ["disabled", "class", "onClick"]))), 128))
582
582
  ]);
583
583
  };
584
584
  }
585
- }), au = /* @__PURE__ */ sa(lu, [["__scopeId", "data-v-70b12973"]]), nu = ba("formToTableComp", {
585
+ }), uu = /* @__PURE__ */ ta(ru, [["__scopeId", "data-v-70b12973"]]), su = Ta("formToTableComp", {
586
586
  state: () => ({
587
587
  selectArray: [],
588
588
  selectString: ""
@@ -595,12 +595,12 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
595
595
  this.selectString = L;
596
596
  }
597
597
  }
598
- }), ru = { class: "calculator-content" }, uu = { class: "calculator-child" }, su = { class: "calculator-child" }, ou = /* @__PURE__ */ rn({
598
+ }), ou = { class: "calculator-content" }, iu = { class: "calculator-child" }, tu = { class: "calculator-child" }, cu = /* @__PURE__ */ on({
599
599
  __name: "calculator",
600
600
  setup(L) {
601
- const re = q(), I = q();
602
- return va(() => {
603
- re.value = [
601
+ const ne = q(), I = q();
602
+ return ka(() => {
603
+ ne.value = [
604
604
  {
605
605
  type: "Upload",
606
606
  label: "输入",
@@ -613,15 +613,15 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
613
613
  name: "output"
614
614
  }
615
615
  ];
616
- }), (B, P) => (le(), ke("div", ru, [
617
- ge("div", uu, [
618
- oe(Ll, {
619
- rowContents: re.value,
616
+ }), (B, P) => (ee(), Se("div", ou, [
617
+ fe("div", iu, [
618
+ ue(Bl, {
619
+ rowContents: ne.value,
620
620
  isRowFlex: !0
621
621
  }, null, 8, ["rowContents"])
622
622
  ]),
623
- ge("div", su, [
624
- oe(Ll, {
623
+ fe("div", tu, [
624
+ ue(Bl, {
625
625
  rowContents: I.value,
626
626
  isEdit: !1,
627
627
  isRowFlex: !0
@@ -629,7 +629,7 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
629
629
  ])
630
630
  ]));
631
631
  }
632
- }), iu = /* @__PURE__ */ sa(ou, [["__scopeId", "data-v-73db0fe7"]]), tu = ba("unit", {
632
+ }), du = /* @__PURE__ */ ta(cu, [["__scopeId", "data-v-73db0fe7"]]), pu = Ta("unit", {
633
633
  state: () => ({
634
634
  selectIndex: "",
635
635
  selectMenu: "",
@@ -646,56 +646,56 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
646
646
  this.selectTitle = L;
647
647
  }
648
648
  }
649
- }), ya = (L, re) => {
650
- let I = L, B = re;
649
+ }), Sa = (L, ne) => {
650
+ let I = L, B = ne;
651
651
  return Array.isArray(I) && (I = I == null ? void 0 : I.map((P, s) => {
652
652
  if (Array.isArray(P)) {
653
- let ue = {};
654
- return P = P == null ? void 0 : P.forEach((ye, xe) => {
655
- var ve;
656
- (ve = B == null ? void 0 : B[xe]) != null && ve.prop ? ue[B[xe].prop] = ye : Array.isArray(ye) && (ue.children = ya(ye, B));
657
- }), Object.assign(ue, { id: s });
653
+ let re = {};
654
+ return P = P == null ? void 0 : P.forEach((he, _e) => {
655
+ var ye;
656
+ (ye = B == null ? void 0 : B[_e]) != null && ye.prop ? re[B[_e].prop] = he : Array.isArray(he) && (re.children = Sa(he, B));
657
+ }), Object.assign(re, { id: s });
658
658
  } else
659
659
  return P;
660
660
  })), I;
661
- }, un = (L, re, I) => {
662
- let B = L, P = re;
663
- return B = B == null ? void 0 : B.map((s, ue) => {
664
- var ye, xe;
665
- return !Array.isArray(s) || !((ye = P == null ? void 0 : P[ue]) != null && ye.label) && !I || (s.unshift(((xe = P == null ? void 0 : P[ue]) == null ? void 0 : xe.label) ?? ""), s.some((ve) => Array.isArray(ve)) && (s = s == null ? void 0 : s.map((ve) => {
666
- var Ve;
667
- return Array.isArray(ve) && (ve = un(ve, (Ve = P == null ? void 0 : P[ue]) == null ? void 0 : Ve.children, I)), ve;
661
+ }, tn = (L, ne, I) => {
662
+ let B = L, P = ne;
663
+ return B = B == null ? void 0 : B.map((s, re) => {
664
+ var he, _e;
665
+ return !Array.isArray(s) || !((he = P == null ? void 0 : P[re]) != null && he.label) && !I || (s.unshift(((_e = P == null ? void 0 : P[re]) == null ? void 0 : _e.label) ?? ""), s.some((ye) => Array.isArray(ye)) && (s = s == null ? void 0 : s.map((ye) => {
666
+ var al;
667
+ return Array.isArray(ye) && (ye = tn(ye, (al = P == null ? void 0 : P[re]) == null ? void 0 : al.children, I)), ye;
668
668
  }))), s;
669
669
  }), B;
670
- }, cu = (L, re, I) => {
671
- if (re === "")
670
+ }, fu = (L, ne, I) => {
671
+ if (ne === "")
672
672
  return L == null ? void 0 : L.filter((B) => (B == null ? void 0 : B.id) !== I);
673
673
  {
674
- const B = re.split("-");
675
- return du(L, B, I);
674
+ const B = ne.split("-");
675
+ return gu(L, B, I);
676
676
  }
677
- }, du = (L, re, I) => {
678
- let B = L, P = re;
679
- return (P == null ? void 0 : P.length) === 0 ? B = B == null ? void 0 : B.filter((s) => s.id !== I) : B = B == null ? void 0 : B.map((s) => (s.id.toString() === (P == null ? void 0 : P[0]) && (P == null || P.shift(), s = sn(s, P, I)), s)), B;
680
- }, sn = (L, re, I) => {
681
- var s, ue;
682
- let B = L, P = re;
683
- return (P == null ? void 0 : P.length) === 0 ? B.children = (s = B.children) == null ? void 0 : s.filter((ye) => ye.id !== I) : B.children = (ue = B.children) == null ? void 0 : ue.map((ye) => (ye.id.toString() === (P == null ? void 0 : P[0]) && (P == null || P.shift(), ye = sn(ye, P, I)), ye)), B;
684
- }, pu = (L, re, I) => {
685
- if (re === "")
677
+ }, gu = (L, ne, I) => {
678
+ let B = L, P = ne;
679
+ return (P == null ? void 0 : P.length) === 0 ? B = B == null ? void 0 : B.filter((s) => s.id !== I) : B = B == null ? void 0 : B.map((s) => (s.id.toString() === (P == null ? void 0 : P[0]) && (P == null || P.shift(), s = cn(s, P, I)), s)), B;
680
+ }, cn = (L, ne, I) => {
681
+ var s, re;
682
+ let B = L, P = ne;
683
+ return (P == null ? void 0 : P.length) === 0 ? B.children = (s = B.children) == null ? void 0 : s.filter((he) => he.id !== I) : B.children = (re = B.children) == null ? void 0 : re.map((he) => (he.id.toString() === (P == null ? void 0 : P[0]) && (P == null || P.shift(), he = cn(he, P, I)), he)), B;
684
+ }, hu = (L, ne, I) => {
685
+ if (ne === "")
686
686
  return I;
687
687
  {
688
- const B = re.split("-");
689
- return fu(L, B, I);
688
+ const B = ne.split("-");
689
+ return yu(L, B, I);
690
690
  }
691
- }, fu = (L, re, I) => {
692
- let B = L, P = re;
693
- return (P == null ? void 0 : P.length) === 0 ? B = I : B = B == null ? void 0 : B.map((s) => (s.id.toString() === (P == null ? void 0 : P[0]) && (P == null || P.shift(), s = on(s, P, I)), s)), B;
694
- }, on = (L, re, I) => {
691
+ }, yu = (L, ne, I) => {
692
+ let B = L, P = ne;
693
+ return (P == null ? void 0 : P.length) === 0 ? B = I : B = B == null ? void 0 : B.map((s) => (s.id.toString() === (P == null ? void 0 : P[0]) && (P == null || P.shift(), s = dn(s, P, I)), s)), B;
694
+ }, dn = (L, ne, I) => {
695
695
  var s;
696
- let B = L, P = re;
697
- return (P == null ? void 0 : P.length) === 0 ? B.children = I : B.children = (s = B.children) == null ? void 0 : s.map((ue) => (ue.id.toString() === (P == null ? void 0 : P[0]) && (P == null || P.shift(), ue = on(ue, P, I)), ue)), B;
698
- }, gu = ba("formComp", {
696
+ let B = L, P = ne;
697
+ return (P == null ? void 0 : P.length) === 0 ? B.children = I : B.children = (s = B.children) == null ? void 0 : s.map((re) => (re.id.toString() === (P == null ? void 0 : P[0]) && (P == null || P.shift(), re = dn(re, P, I)), re)), B;
698
+ }, vu = Ta("formComp", {
699
699
  state: () => ({
700
700
  objUrl: [],
701
701
  blobUrls: []
@@ -708,49 +708,49 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
708
708
  this.blobUrls = L;
709
709
  }
710
710
  }
711
- }), an = async (L, re) => {
712
- var ue, ye, xe, ve, Ve, rl, yl, be, dl, pl, ce, me, te, H, G, Be, Xe;
713
- let I = (ye = (ue = W(L)) == null ? void 0 : ue.optionUrl) == null ? void 0 : ye.menuSelect, B = [];
714
- I == null || I.forEach((ie) => {
711
+ }), un = async (L, ne) => {
712
+ var re, he, _e, ye, al, ol, bl, ve, fl, gl, te, me, oe, H, G, Pe, Ie;
713
+ let I = (he = (re = W(L)) == null ? void 0 : re.optionUrl) == null ? void 0 : he.menuSelect, B = [];
714
+ I == null || I.forEach((se) => {
715
715
  });
716
- let P = "", s = await br(I);
717
- if (s == null || s.forEach((ie) => {
718
- var Je, we, Z, v;
719
- (ie == null ? void 0 : ie.name) === (((v = (Z = (we = (Je = W(L)) == null ? void 0 : Je.optionUrl) == null ? void 0 : we.groupSelect) == null ? void 0 : Z[0]) == null ? void 0 : v.replaceAll("'", "")) ?? "") && (P = ie == null ? void 0 : ie.id);
720
- }), re) {
721
- P = re;
722
- const ie = await jl({
716
+ let P = "", s = await Tr(I);
717
+ if (s == null || s.forEach((se) => {
718
+ var qe, Ke, Y, v;
719
+ (se == null ? void 0 : se.name) === (((v = (Y = (Ke = (qe = W(L)) == null ? void 0 : qe.optionUrl) == null ? void 0 : Ke.groupSelect) == null ? void 0 : Y[0]) == null ? void 0 : v.replaceAll("'", "")) ?? "") && (P = se == null ? void 0 : se.id);
720
+ }), ne) {
721
+ P = ne;
722
+ const se = await Pl({
723
723
  id: P
724
- }), Je = (rl = (Ve = (ve = (xe = ie == null ? void 0 : ie.data) == null ? void 0 : xe.result) == null ? void 0 : ve[0]) == null ? void 0 : Ve.key) == null ? void 0 : rl.pageKey;
725
- s = await hl(Je, sessionStorage.getItem("systemKey"), "");
724
+ }), qe = (ol = (al = (ye = (_e = se == null ? void 0 : se.data) == null ? void 0 : _e.result) == null ? void 0 : ye[0]) == null ? void 0 : al.key) == null ? void 0 : ol.pageKey;
725
+ s = await vl(qe, sessionStorage.getItem("systemKey"), "");
726
726
  }
727
727
  if (P !== "") {
728
- let ie;
729
- re ? ie = (yl = s == null ? void 0 : s.find((Z) => (Z == null ? void 0 : Z.id) === re)) == null ? void 0 : yl.compData : ie = (be = s == null ? void 0 : s.find((Z) => {
730
- var v, Ce, R, V;
731
- return (Z == null ? void 0 : Z.name) === (((Ce = (v = L == null ? void 0 : L.groupSelect) == null ? void 0 : v.split(":")) == null ? void 0 : Ce[0]) || ((V = (R = L == null ? void 0 : L.optionUrl) == null ? void 0 : R.groupSelect) == null ? void 0 : V[0]));
732
- })) == null ? void 0 : be.compData;
733
- let Je = (pl = (dl = ie == null ? void 0 : ie.find((Z) => (Z == null ? void 0 : Z.key) === "header")) == null ? void 0 : dl.contents) == null ? void 0 : pl.map((Z) => Z == null ? void 0 : Z.label);
734
- (me = (ce = ie == null ? void 0 : ie.find((Z) => (Z == null ? void 0 : Z.key) === "header")) == null ? void 0 : ce.contents) != null && me.every((Z) => Array.isArray(Z)) && (Je = (G = Wl((H = (te = ie == null ? void 0 : ie.find((Z) => (Z == null ? void 0 : Z.key) === "header")) == null ? void 0 : te.contents) == null ? void 0 : H[0])) == null ? void 0 : G.map((Z) => Z == null ? void 0 : Z.prop));
735
- let we = (Xe = (Be = ie == null ? void 0 : ie.find((Z) => (Z == null ? void 0 : Z.key) === "tableContents")) == null ? void 0 : Be.contents) == null ? void 0 : Xe.map((Z) => (Z = Z == null ? void 0 : Z.filter((v) => !(v != null && v.id)), Z));
736
- we == null || we.forEach((Z) => {
737
- B.push(Sr(Z, Je));
728
+ let se;
729
+ ne ? se = (bl = s == null ? void 0 : s.find((Y) => (Y == null ? void 0 : Y.id) === ne)) == null ? void 0 : bl.compData : se = (ve = s == null ? void 0 : s.find((Y) => {
730
+ var v, we, R, ie;
731
+ return (Y == null ? void 0 : Y.name) === (((we = (v = L == null ? void 0 : L.groupSelect) == null ? void 0 : v.split(":")) == null ? void 0 : we[0]) || ((ie = (R = L == null ? void 0 : L.optionUrl) == null ? void 0 : R.groupSelect) == null ? void 0 : ie[0]));
732
+ })) == null ? void 0 : ve.compData;
733
+ let qe = (gl = (fl = se == null ? void 0 : se.find((Y) => (Y == null ? void 0 : Y.key) === "header")) == null ? void 0 : fl.contents) == null ? void 0 : gl.map((Y) => Y == null ? void 0 : Y.label);
734
+ (me = (te = se == null ? void 0 : se.find((Y) => (Y == null ? void 0 : Y.key) === "header")) == null ? void 0 : te.contents) != null && me.every((Y) => Array.isArray(Y)) && (qe = (G = Hl((H = (oe = se == null ? void 0 : se.find((Y) => (Y == null ? void 0 : Y.key) === "header")) == null ? void 0 : oe.contents) == null ? void 0 : H[0])) == null ? void 0 : G.map((Y) => Y == null ? void 0 : Y.prop));
735
+ let Ke = (Ie = (Pe = se == null ? void 0 : se.find((Y) => (Y == null ? void 0 : Y.key) === "tableContents")) == null ? void 0 : Pe.contents) == null ? void 0 : Ie.map((Y) => (Y = Y == null ? void 0 : Y.filter((v) => !(v != null && v.id)), Y));
736
+ Ke == null || Ke.forEach((Y) => {
737
+ B.push(Ar(Y, qe));
738
738
  });
739
739
  }
740
740
  return B;
741
- }, hu = { class: "table-content" }, yu = { class: "menu-config-wrap" }, vu = ["onClick"], bu = {
741
+ }, bu = { class: "table-content" }, Su = { class: "menu-config-wrap" }, ku = ["onClick"], Tu = {
742
742
  key: 0,
743
743
  class: "viewport-wrap"
744
- }, Su = ["onClick"], ku = { title: "选择显示列信息" }, Tu = {
744
+ }, Au = ["onClick"], mu = { title: "选择显示列信息" }, Uu = {
745
745
  class: "menu-config-wrap",
746
746
  style: { padding: "0 0 0 16px", "box-sizing": "border-box", "min-height": "200px", width: "400px", overflow: "auto", position: "relative" }
747
- }, Au = ["title"], mu = { class: "col-operate-wrap" }, Uu = {
747
+ }, xu = ["title"], _u = { class: "col-operate-wrap" }, Cu = {
748
748
  title: "拖拽排序列",
749
749
  style: { cursor: "move", color: "grey", position: "absolute", right: "15px" }
750
- }, xu = { class: "pop-view" }, _u = { class: "pop-wrapper" }, Cu = { class: "file-list-pop" }, Ou = ["title", "onClick"], Du = ["onClick"], Eu = ["onClick"], ju = { class: "form-content" }, Lu = {
750
+ }, Ou = { class: "pop-view" }, Du = { class: "pop-wrapper" }, Eu = { class: "file-list-pop" }, ju = ["title", "onClick"], Lu = ["onClick"], $u = ["onClick"], Pu = { class: "form-content" }, Bu = {
751
751
  key: 0,
752
752
  class: "dialog-footer"
753
- }, $u = { class: "dialog-footer" }, Pu = { class: "form-content" }, Bu = {
753
+ }, Nu = { class: "dialog-footer" }, Mu = { class: "form-content" }, wu = {
754
754
  __name: "index",
755
755
  props: {
756
756
  pageLayout: {
@@ -825,9 +825,9 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
825
825
  }
826
826
  },
827
827
  emits: ["getSliceContLength", "clickMainKey", "change", "contentChange", "onButtonClick", "contentClick", "pageChange", "rowClick", "routeUrl"],
828
- setup(L, { emit: re }) {
829
- var Ma;
830
- const I = q([]), B = gu(ml), P = q(null), s = L, ue = q(s == null ? void 0 : s.allowSelect), ye = q((Ma = s == null ? void 0 : s.config) == null ? void 0 : Ma.showIndex), xe = q(), ve = q([
828
+ setup(L, { emit: ne }) {
829
+ var Ka;
830
+ const I = q([]), B = vu(xl), P = q(null), s = L, re = q(s == null ? void 0 : s.allowSelect), he = q((Ka = s == null ? void 0 : s.config) == null ? void 0 : Ka.showIndex), _e = q(), ye = q([
831
831
  {
832
832
  label: "排序",
833
833
  value: "sortable",
@@ -848,69 +848,69 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
848
848
  value: "operable",
849
849
  checked: !1
850
850
  }
851
- ]), Ve = kr(ml);
852
- let rl = "$R";
853
- const { originalPath: yl } = El(Ve), be = yl.value, dl = q(!1), pl = q(!1), ce = q(!1), me = Jl({
851
+ ]), al = mr(xl);
852
+ let ol = "$R";
853
+ const { originalPath: bl } = $l(al), ve = bl.value, fl = q(!1), gl = q(!1), te = q(!1), me = ql({
854
854
  column: {},
855
855
  status: !1,
856
856
  text: "合计"
857
- }), te = Jl({
857
+ }), oe = ql({
858
858
  currentPage: 1,
859
859
  pageSize: 10,
860
860
  total: 0,
861
861
  pageSizes: [5, 10, 20, 50, 100]
862
- }), H = re, G = q([]), Be = Jl({ prop: "", order: null }), Xe = q([]), ie = q(!1), Je = q(!1), we = q(null), { getFileExtension: Z } = jr(), v = q([]), Ce = q(!1), R = q(), V = Br(), { importLoading: _e, activeMenuPath: se, contentLoading: ol, linkMenuInfo: tn } = El(V), cn = Tr(ml), je = Nr(ml), { extraContents: Ue, cacheUpdatingData: $l, tableViewContents: Pl, tableLoading: Nu, pageMapState: vl, lockingPage: Gl } = El(je), ee = q([]), Hl = q([]), Ql = q(/* @__PURE__ */ new Map());
862
+ }), H = ne, G = q([]), Pe = ql({ prop: "", order: null }), Ie = q([]), se = q(!1), qe = q(!1), Ke = q(null), { isUseBackdrop: Y, initTrackFileType: v, getFileExtension: we, setData: R, getFileInfo: ie, getFilesInfo: xe } = Pr(), Be = q([]), ze = q(!1), Ol = q(), Fe = wr(), { importLoading: Fu, activeMenuPath: ke, contentLoading: Ku, linkMenuInfo: pn } = $l(Fe), fn = Ur(xl), Ee = Fr(xl), { extraContents: Ue, cacheUpdatingData: Nl, tableViewContents: Ml, tableLoading: zu, pageMapState: Sl, lockingPage: Xl } = $l(Ee), V = q([]), Yl = q([]), Zl = q(/* @__PURE__ */ new Map());
863
863
  q(!1);
864
- const ul = q("");
864
+ const il = q("");
865
865
  q();
866
- const Xl = q(!0), _l = q(0), Sa = q(!0), el = q(""), sl = q(!1), dn = q({
866
+ const Il = q(!0), Dl = q(0), Aa = q(!0), nl = q(""), tl = q(!1), gn = q({
867
867
  label: "查看三维模型"
868
- }), Yl = q(!1), oa = q(), Ze = q([]), bl = q([]), Zl = q(!1), Bl = q([]), Cl = q([]), Sl = q([]), Ne = q([]), ll = q(), Fe = q(), pn = nu(ml), Il = q(), ia = q(0), Vl = tu(ml), { selectIndex: fn, selectMenu: il, selectTitle: ta } = El(Vl), { selectString: kl } = El(pn), gn = gr(ml), { loginUserInfo: Me } = El(gn), hn = q(720), al = q(!1), ea = q(!1), nl = q([]), Tl = q(), Nl = q(!0), ka = q(!0), Al = q([]), yn = tr("contentRef");
869
- cr("contentRef", yn), He(() => {
868
+ }), Vl = q(!1), ca = q(), el = q([]), kl = q([]), ea = q(!1), wl = q([]), El = q([]), Tl = q([]), Ne = q([]), rl = q(), Je = q(), hn = su(xl), la = q(), da = q(0), aa = pu(xl), { selectIndex: yn, selectMenu: cl, selectTitle: pa } = $l(aa), { selectString: Al } = $l(hn), vn = vr(xl), { loginUserInfo: Me } = $l(vn), bn = q(720), ul = q(!1), na = q(!1), sl = q([]), ml = q(), Fl = q(!0), ma = q(!0), Ul = q([]), Sn = pr("contentRef");
869
+ fr("contentRef", Sn), Ye(() => {
870
870
  var e;
871
- return (e = ee.value) == null ? void 0 : e.length;
871
+ return (e = V.value) == null ? void 0 : e.length;
872
872
  }, (e) => {
873
- te.total = e;
874
- }), He(
875
- () => Pl.value,
873
+ oe.total = e;
874
+ }), Ye(
875
+ () => Ml.value,
876
876
  async () => {
877
- var o, i, t, c, d, b, D, w, g, C, j, _, K, M, N, r, S, f;
878
- if (((o = Pl.value) == null ? void 0 : o.length) === 0 || !((i = s == null ? void 0 : s.itemData) != null && i.find((m) => (m == null ? void 0 : m.key) === "columnPath")) || !((t = s == null ? void 0 : s.itemData) != null && t.find((m) => (m == null ? void 0 : m.key) === "pageColumn"))) return;
879
- let e = (g = (w = (D = (b = (d = (c = s == null ? void 0 : s.itemData) == null ? void 0 : c.find((m) => (m == null ? void 0 : m.key) === "pageColumn")) == null ? void 0 : d.contents) == null ? void 0 : b.split("[")) == null ? void 0 : D[1]) == null ? void 0 : w.split("]")) == null ? void 0 : g[0], l = ((K = (_ = (j = (C = s == null ? void 0 : s.itemData) == null ? void 0 : C.find((m) => (m == null ? void 0 : m.key) === "pageColumn")) == null ? void 0 : j.contents) == null ? void 0 : _.split("[")) == null ? void 0 : K[0]) + ((N = (M = Pl.value) == null ? void 0 : M.find((m) => (m == null ? void 0 : m.key) === e)) == null ? void 0 : N.value), n = ((S = (r = s == null ? void 0 : s.itemData) == null ? void 0 : r.find((m) => (m == null ? void 0 : m.key) === "pageGroup")) == null ? void 0 : S.contents) ?? "", a = await hl(l, sessionStorage.getItem("systemKey"), ""), u = (f = a == null ? void 0 : a.find((m) => (m == null ? void 0 : m.name) === (n === "" ? s == null ? void 0 : s.compName : n))) == null ? void 0 : f.compData;
880
- Ba(u, s.allMapContents);
877
+ var o, i, t, c, d, S, D, w, g, C, j, _, K, M, N, r, b, f;
878
+ if (((o = Ml.value) == null ? void 0 : o.length) === 0 || !((i = s == null ? void 0 : s.itemData) != null && i.find((m) => (m == null ? void 0 : m.key) === "columnPath")) || !((t = s == null ? void 0 : s.itemData) != null && t.find((m) => (m == null ? void 0 : m.key) === "pageColumn"))) return;
879
+ let e = (g = (w = (D = (S = (d = (c = s == null ? void 0 : s.itemData) == null ? void 0 : c.find((m) => (m == null ? void 0 : m.key) === "pageColumn")) == null ? void 0 : d.contents) == null ? void 0 : S.split("[")) == null ? void 0 : D[1]) == null ? void 0 : w.split("]")) == null ? void 0 : g[0], l = ((K = (_ = (j = (C = s == null ? void 0 : s.itemData) == null ? void 0 : C.find((m) => (m == null ? void 0 : m.key) === "pageColumn")) == null ? void 0 : j.contents) == null ? void 0 : _.split("[")) == null ? void 0 : K[0]) + ((N = (M = Ml.value) == null ? void 0 : M.find((m) => (m == null ? void 0 : m.key) === e)) == null ? void 0 : N.value), n = ((b = (r = s == null ? void 0 : s.itemData) == null ? void 0 : r.find((m) => (m == null ? void 0 : m.key) === "pageGroup")) == null ? void 0 : b.contents) ?? "", a = await vl(l, sessionStorage.getItem("systemKey"), ""), u = (f = a == null ? void 0 : a.find((m) => (m == null ? void 0 : m.name) === (n === "" ? s == null ? void 0 : s.compName : n))) == null ? void 0 : f.compData;
880
+ wa(u, s.allMapContents);
881
881
  },
882
882
  { deep: !0 }
883
883
  );
884
- const vn = async (e, l) => {
884
+ const kn = async (e, l) => {
885
885
  var n, a, u, o, i;
886
886
  try {
887
- const t = await jl({ id: (s == null ? void 0 : s.parentTableId) || (s == null ? void 0 : s.index) });
887
+ const t = await Pl({ id: (s == null ? void 0 : s.parentTableId) || (s == null ? void 0 : s.index) });
888
888
  let c;
889
889
  ((n = t == null ? void 0 : t.data) == null ? void 0 : n.code) === 200 && (c = ((u = (a = t == null ? void 0 : t.data) == null ? void 0 : a.result) == null ? void 0 : u[0]) || null);
890
890
  const d = {
891
891
  type: "data",
892
- pageKey: s != null && s.parentTableId ? (o = c == null ? void 0 : c.key) == null ? void 0 : o.pageKey : se.value,
892
+ pageKey: s != null && s.parentTableId ? (o = c == null ? void 0 : c.key) == null ? void 0 : o.pageKey : ke.value,
893
893
  tableId: (s == null ? void 0 : s.parentTableId) || (s == null ? void 0 : s.index),
894
894
  systemKey: sessionStorage.getItem("systemKey")
895
- }, b = l == null ? void 0 : l.map((g) => {
895
+ }, S = l == null ? void 0 : l.map((g) => {
896
896
  const C = Object.keys(g), j = {};
897
897
  return C.forEach((_, K) => {
898
898
  j[e[K]] = g[_];
899
899
  }), j;
900
- }), D = b == null ? void 0 : b.map((g) => ({
900
+ }), D = S == null ? void 0 : S.map((g) => ({
901
901
  key: d,
902
902
  value: {
903
903
  tableData: g
904
904
  }
905
- })), w = await qa({ dataList: D });
906
- ((i = w == null ? void 0 : w.data) == null ? void 0 : i.code) === 200 ? (je.setRefreshCurStructure(!0), ze.success("导入数据成功")) : ze.error("导入数据响应失败");
905
+ })), w = await Qa({ dataList: D });
906
+ ((i = w == null ? void 0 : w.data) == null ? void 0 : i.code) === 200 ? (Ee.setRefreshCurStructure(!0), We.success("导入数据成功")) : We.error("导入数据响应失败");
907
907
  } catch (t) {
908
- throw ze.error("导入数据处理失败"), new Error(t);
908
+ throw We.error("导入数据处理失败"), new Error(t);
909
909
  }
910
- }, bn = async (e) => {
910
+ }, Tn = async (e) => {
911
911
  var l, n;
912
912
  if (e != null && e.includes(".txt") || e != null && e.includes(".cpt") || e != null && e.includes(".cyd")) {
913
- const a = await Ul.get(e, {
913
+ const a = await _l.get(e, {
914
914
  responseType: "blob",
915
915
  // 必须设置
916
916
  headers: {
@@ -920,57 +920,57 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
920
920
  type: "application/octet-stream;charset=UTF-8"
921
921
  });
922
922
  let o = URL.createObjectURL(u);
923
- R.value = [{
923
+ Ol.value = [{
924
924
  name: (n = e == null ? void 0 : e.split("/")) == null ? void 0 : n[((l = e == null ? void 0 : e.split("/")) == null ? void 0 : l.length) - 1],
925
925
  blobUrl: o
926
- }], Ce.value = !0;
926
+ }], ze.value = !0;
927
927
  }
928
928
  };
929
- dr(() => {
930
- ka.value = !1;
931
- let e = ia.value;
932
- ia.value = e + 1;
929
+ gr(() => {
930
+ ma.value = !1;
931
+ let e = da.value;
932
+ da.value = e + 1;
933
933
  });
934
- const Ta = Fa(() => {
934
+ const Ua = Ja(() => {
935
935
  var a, u;
936
- const e = (te.currentPage - 1) * te.pageSize, l = e + te.pageSize, n = (a = G.value) == null ? void 0 : a.find((o) => {
936
+ const e = (oe.currentPage - 1) * oe.pageSize, l = e + oe.pageSize, n = (a = G.value) == null ? void 0 : a.find((o) => {
937
937
  var i;
938
938
  return (o == null ? void 0 : o.sortable) && ((i = o == null ? void 0 : o.label) == null ? void 0 : i.includes("时间"));
939
939
  });
940
- return n && (Be.order = "descending", Be.prop = n == null ? void 0 : n.prop), H("getSliceContLength", te), (u = ee.value) == null ? void 0 : u.slice(e, l);
941
- }), Sn = (e) => {
942
- te.currentPage = e, H("getSliceContLength", te);
943
- }, kn = (e) => {
940
+ return n && (Pe.order = "descending", Pe.prop = n == null ? void 0 : n.prop), H("getSliceContLength", oe), (u = V.value) == null ? void 0 : u.slice(e, l);
941
+ }), An = (e) => {
942
+ oe.currentPage = e, H("getSliceContLength", oe);
943
+ }, mn = (e) => {
944
944
  var l;
945
- te.pageSize = e, e * te.currentPage > ((l = ee.value) == null ? void 0 : l.length) && (te.currentPage = 1, te.pageSize = 10, ze.warning("分页无效,返回第一页")), H("getSliceContLength", te);
946
- }, Tn = (e, l) => {
945
+ oe.pageSize = e, e * oe.currentPage > ((l = V.value) == null ? void 0 : l.length) && (oe.currentPage = 1, oe.pageSize = 10, We.warning("分页无效,返回第一页")), H("getSliceContLength", oe);
946
+ }, Un = (e, l) => {
947
947
  var i, t;
948
948
  const n = (t = (i = G.value) == null ? void 0 : i.map((c) => c == null ? void 0 : c.prop)) == null ? void 0 : t.filter((c) => c !== "operate");
949
949
  let a;
950
950
  const u = (e == null ? void 0 : e.length) === (n == null ? void 0 : n.length);
951
- if (e != null && e.includes("序号")) return ze.error("导入的数据不需要包含序号列");
952
- if (a = u ? e : e.slice(0, n == null ? void 0 : n.length), !(a == null ? void 0 : a.every((c) => n == null ? void 0 : n.find((d) => c === d)))) return ze.error("导入的数据表头不匹配");
953
- vn(a, l);
954
- }, An = (e, l) => {
951
+ if (e != null && e.includes("序号")) return We.error("导入的数据不需要包含序号列");
952
+ if (a = u ? e : e.slice(0, n == null ? void 0 : n.length), !(a == null ? void 0 : a.every((c) => n == null ? void 0 : n.find((d) => c === d)))) return We.error("导入的数据表头不匹配");
953
+ kn(a, l);
954
+ }, xn = (e, l) => {
955
955
  var n;
956
- je.setRefreshCurStructure(!1), ((n = G.value) == null ? void 0 : n.length) === 0 || Tn(e, l);
957
- }, mn = (e, l, n, a) => {
956
+ Ee.setRefreshCurStructure(!1), ((n = G.value) == null ? void 0 : n.length) === 0 || Un(e, l);
957
+ }, _n = (e, l, n, a) => {
958
958
  const u = [], o = [], i = (d) => Object.keys(d).length;
959
959
  for (const d in e)
960
960
  if (e[d] !== void 0) {
961
- const b = e[d], D = [];
962
- for (const [w, g] of Object.entries(b))
963
- D.push(g), o.length < i(b) && o.push(w);
961
+ const S = e[d], D = [];
962
+ for (const [w, g] of Object.entries(S))
963
+ D.push(g), o.length < i(S) && o.push(w);
964
964
  u.push(D);
965
965
  }
966
966
  u.unshift(o);
967
- const t = ql.aoa_to_sheet(u), c = ql.book_new();
968
- ql.book_append_sheet(c, t, a), Pr(c, `${l}.xlsx`), nl.value = [];
969
- }, la = async (e, l, n, a = !1, u) => {
970
- var o, i, t, c, d, b, D, w;
967
+ const t = Ql.aoa_to_sheet(u), c = Ql.book_new();
968
+ Ql.book_append_sheet(c, t, a), Mr(c, `${l}.xlsx`), sl.value = [];
969
+ }, ra = async (e, l, n, a = !1, u) => {
970
+ var o, i, t, c, d, S, D, w;
971
971
  try {
972
- je.setRefreshCurStructure(!1);
973
- const g = await jl({
972
+ Ee.setRefreshCurStructure(!1);
973
+ const g = await Pl({
974
974
  id: s == null ? void 0 : s.index
975
975
  });
976
976
  if (((o = g == null ? void 0 : g.data) == null ? void 0 : o.code) === 200) {
@@ -989,7 +989,7 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
989
989
  })
990
990
  } : C = {
991
991
  ...C,
992
- compData: (b = C == null ? void 0 : C.compData) == null ? void 0 : b.map((_) => {
992
+ compData: (S = C == null ? void 0 : C.compData) == null ? void 0 : S.map((_) => {
993
993
  var K, M;
994
994
  return (_ == null ? void 0 : _.key) === "header" ? {
995
995
  ..._,
@@ -1006,28 +1006,28 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1006
1006
  } : _;
1007
1007
  })
1008
1008
  };
1009
- const j = await yr({
1009
+ const j = await Sr({
1010
1010
  id: s == null ? void 0 : s.index,
1011
1011
  value: {
1012
1012
  pageData: C
1013
1013
  }
1014
1014
  });
1015
- ((w = j == null ? void 0 : j.data) == null ? void 0 : w.code) === 200 ? (ze.success("编辑成功"), je.setRefreshCurStructure(!0)) : ze.error("编辑响应失败");
1015
+ ((w = j == null ? void 0 : j.data) == null ? void 0 : w.code) === 200 ? (We.success("编辑成功"), Ee.setRefreshCurStructure(!0)) : We.error("编辑响应失败");
1016
1016
  }
1017
1017
  } catch (g) {
1018
- ze.error(g);
1018
+ We.error(g);
1019
1019
  }
1020
- }, Un = async (e, l) => {
1021
- await la("label", l, e);
1022
- }, xn = async (e, l) => {
1023
- await la("columnType", l, e, !1, "type");
1024
- }, _n = () => {
1025
- $l.value ? al.value = !1 : Na();
1026
- }, Cn = (e) => {
1027
- nl.value = e;
1028
- }, On = (e, l) => {
1029
- Tl.value === l ? Nl.value = !1 : Nl.value = !0, Tl.value = l == null ? void 0 : l.changeProp;
1030
- }, Ml = Fa(() => {
1020
+ }, Cn = async (e, l) => {
1021
+ await ra("label", l, e);
1022
+ }, On = async (e, l) => {
1023
+ await ra("columnType", l, e, !1, "type");
1024
+ }, Dn = () => {
1025
+ Nl.value ? ul.value = !1 : Fa();
1026
+ }, En = (e) => {
1027
+ sl.value = e;
1028
+ }, jn = (e, l) => {
1029
+ ml.value === l ? Fl.value = !1 : Fl.value = !0, ml.value = l == null ? void 0 : l.changeProp;
1030
+ }, Kl = Ja(() => {
1031
1031
  var n, a, u;
1032
1032
  const e = (n = G.value) == null ? void 0 : n.some((o) => o == null ? void 0 : o.filterable);
1033
1033
  return document.documentElement.style.setProperty("--ssTable-header-filter-display", e ? "inline-block" : "none"), (u = (a = G.value) == null ? void 0 : a.filter((o) => (o == null ? void 0 : o.label) !== "操作")) == null ? void 0 : u.map((o) => ({
@@ -1036,95 +1036,117 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1036
1036
  showSummary: !!(o != null && o.showSummary),
1037
1037
  operable: !!(o != null && o.operable)
1038
1038
  }));
1039
- }), Dn = async (e, l, n) => {
1039
+ }), Ln = async (e, l, n) => {
1040
1040
  const a = W(G.value);
1041
- await ua(), G.value = a == null ? void 0 : a.map((u) => (n == null ? void 0 : n.label) === (u == null ? void 0 : u.label) ? {
1041
+ await ia(), G.value = a == null ? void 0 : a.map((u) => (n == null ? void 0 : n.label) === (u == null ? void 0 : u.label) ? {
1042
1042
  ...u,
1043
1043
  [l]: e
1044
- } : u), await la(l, n, e);
1045
- }, ca = async (e, l) => {
1046
- await la(l, null, e, !0);
1047
- }, En = () => {
1048
- sl.value = !1;
1049
- }, jn = (e) => {
1044
+ } : u), await ra(l, n, e);
1045
+ }, fa = async (e, l) => {
1046
+ await ra(l, null, e, !0);
1047
+ }, $n = () => {
1048
+ tl.value = !1;
1049
+ }, Pn = (e) => {
1050
1050
  H("clickTrigger", e);
1051
- }, Aa = async (e) => {
1052
- var o, i, t, c, d, b, D, w, g, C, j, _, K, M, N;
1051
+ }, xa = async (e) => {
1052
+ var o, i, t, c, d, S, D, w, g, C, j, _, K, M, N;
1053
1053
  const l = e == null ? void 0 : e.row, n = e == null ? void 0 : e.rowData, a = e == null ? void 0 : e.suffix;
1054
1054
  if ((o = l == null ? void 0 : l.toString()) != null && o.includes(".urdf") || e != null && e.isUrdf || a != null && a.includes(".urdf")) {
1055
1055
  if (l.includes(",")) {
1056
- ze.error("当前版本仅允许单个urdf预览!");
1056
+ We.error("当前版本仅允许单个urdf预览!");
1057
1057
  return;
1058
1058
  }
1059
- Bl.value = [{
1059
+ if (Y(l)) {
1060
+ const b = {
1061
+ files: [ie(l)],
1062
+ data: {}
1063
+ };
1064
+ R(b);
1065
+ return;
1066
+ }
1067
+ wl.value = [{
1060
1068
  url: l,
1061
- extension: Z(l)
1062
- }], Je.value = !0, we.value = {
1069
+ extension: we(l)
1070
+ }], qe.value = !0, Ke.value = {
1063
1071
  data: W(n)
1064
- }, ie.value = !0;
1072
+ }, se.value = !0;
1065
1073
  return;
1066
1074
  }
1067
1075
  let u = [];
1068
1076
  if ((i = l == null ? void 0 : l.toString()) != null && i.includes(".stl") || (t = l == null ? void 0 : l.toString()) != null && t.includes(".STL") || (c = l == null ? void 0 : l.toString()) != null && c.includes(".obj") || (d = l == null ? void 0 : l.toString()) != null && d.includes(".mtl")) {
1069
- const S = ((b = l == null ? void 0 : l.toString()) == null ? void 0 : b.split(",")).map((f) => ({
1070
- url: f,
1071
- extension: Z(f)
1072
- }));
1073
- Bl.value = S, Je.value = !1, ie.value = !0;
1077
+ const r = (S = l == null ? void 0 : l.toString()) == null ? void 0 : S.split(","), b = xe(r), f = b == null ? void 0 : b[0];
1078
+ if (Y(f == null ? void 0 : f.extension)) {
1079
+ R({
1080
+ files: b,
1081
+ data: {}
1082
+ });
1083
+ return;
1084
+ }
1085
+ wl.value = b, qe.value = !1, se.value = !0;
1074
1086
  return;
1075
1087
  }
1076
1088
  if ((D = l == null ? void 0 : l.toString()) != null && D.includes(".stl") || (w = l == null ? void 0 : l.toString()) != null && w.includes(".STL") || (g = l == null ? void 0 : l.toString()) != null && g.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")) {
1077
- let r, S = [], f = {};
1089
+ let r, b = [], f = {};
1078
1090
  if (Array.isArray(l) ? r = l : r = l == null ? void 0 : l.split(","), r == null || r.forEach((m) => {
1079
- m.includes(".mtl") ? S.push(m) : f.blob = f.blob ? f.blob + "," + m : m;
1080
- }), (S == null ? void 0 : S.length) > 0 && (f.mtlBlobs = S), a && (f.suffix = a), (_ = (j = Object.values(f)) == null ? void 0 : j[0]) != null && _.includes("http:"))
1091
+ m.includes(".mtl") ? b.push(m) : f.blob = f.blob ? f.blob + "," + m : m;
1092
+ }), (b == null ? void 0 : b.length) > 0 && (f.mtlBlobs = b), a && (f.suffix = a), (_ = (j = Object.values(f)) == null ? void 0 : j[0]) != null && _.includes("http:"))
1081
1093
  u.push(f);
1082
1094
  else {
1083
1095
  const m = new Blob([f.blob], {
1084
1096
  type: "application/octet-stream;charset=UTF-8"
1085
1097
  });
1086
- let T = URL.createObjectURL(m), X = "";
1087
- (K = l == null ? void 0 : l.split("/")) == null || K.forEach(($, ae) => {
1098
+ let T = URL.createObjectURL(m), Q = "";
1099
+ (K = l == null ? void 0 : l.split("/")) == null || K.forEach(($, le) => {
1088
1100
  var O;
1089
- ae === ((O = l == null ? void 0 : l.split("/")) == null ? void 0 : O.length) - 1 && (X = $);
1090
- }), (M = f.blob) != null && M.includes(".stl") && (X = (X == null ? void 0 : X.replaceAll(">", "")) + ".urdf"), R.value = [{
1091
- name: X,
1101
+ le === ((O = l == null ? void 0 : l.split("/")) == null ? void 0 : O.length) - 1 && (Q = $);
1102
+ }), (M = f.blob) != null && M.includes(".stl") && (Q = (Q == null ? void 0 : Q.replaceAll(">", "")) + ".urdf"), Ol.value = [{
1103
+ name: Q,
1092
1104
  blobUrl: T
1093
- }], Ce.value = !0;
1105
+ }], ze.value = !0;
1094
1106
  }
1095
1107
  } else {
1096
- const r = await Ul.get(l, {
1108
+ const r = await _l.get(l, {
1097
1109
  responseType: "blob",
1098
1110
  headers: {
1099
1111
  "Content-Type": "application/json"
1100
1112
  }
1101
- }), S = new Blob([r.data], {
1113
+ }), b = new Blob([r.data], {
1102
1114
  type: "application/octet-stream;charset=UTF-8"
1103
1115
  });
1104
- let f = URL.createObjectURL(S), m = "";
1105
- (N = l == null ? void 0 : l.split("/")) == null || N.forEach((T, X) => {
1116
+ let f = URL.createObjectURL(b), m = "";
1117
+ if ((N = l == null ? void 0 : l.split("/")) == null || N.forEach((T, Q) => {
1106
1118
  var $;
1107
- X === (($ = l == null ? void 0 : l.split("/")) == null ? void 0 : $.length) - 1 && (m = T);
1108
- }), R.value = [{
1119
+ Q === (($ = l == null ? void 0 : l.split("/")) == null ? void 0 : $.length) - 1 && (m = T);
1120
+ }), Y(m)) {
1121
+ const T = v(m), Q = ie(l);
1122
+ R({
1123
+ files: [Q],
1124
+ data: {
1125
+ trackFileType: T
1126
+ }
1127
+ });
1128
+ return;
1129
+ }
1130
+ Ol.value = [{
1109
1131
  name: m,
1110
1132
  blobUrl: f
1111
- }], Ce.value = !0;
1133
+ }], ze.value = !0;
1112
1134
  }
1113
1135
  (u == null ? void 0 : u.length) > 0 && B.setBlobUrls(u);
1114
- }, aa = (e) => {
1136
+ }, ua = (e) => {
1115
1137
  var a, u, o, i;
1116
1138
  if (e != null && e.downloadUrl)
1117
1139
  return e == null ? void 0 : e.name;
1118
1140
  const l = (i = (a = e == null ? void 0 : e.url) == null ? void 0 : a.split(".")) == null ? void 0 : i[((o = (u = e == null ? void 0 : e.url) == null ? void 0 : u.split(".")) == null ? void 0 : o.length) - 1];
1119
1141
  return (e == null ? void 0 : e.name) + "." + l;
1120
- }, Ln = async (e) => {
1142
+ }, Bn = async (e) => {
1121
1143
  let l = null, n = null, a = null;
1122
1144
  if (e != null && e.downloadUrl) {
1123
- const o = await da(), i = Dr.service({
1145
+ const o = await ga(), i = Lr.service({
1124
1146
  lock: !0,
1125
1147
  text: "Loading",
1126
1148
  background: "rgba(0, 0, 0, 0.7)"
1127
- }), t = await Ul.post(e == null ? void 0 : e.url, null, {
1149
+ }), t = await _l.post(e == null ? void 0 : e.url, null, {
1128
1150
  responseType: "blob",
1129
1151
  // 必须设置
1130
1152
  headers: {
@@ -1141,28 +1163,28 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1141
1163
  const d = n == null ? void 0 : n.lastIndexOf(".");
1142
1164
  a = n == null ? void 0 : n.slice(d);
1143
1165
  } else {
1144
- const o = await ha({
1166
+ const o = await ba({
1145
1167
  url: e == null ? void 0 : e.url
1146
1168
  });
1147
- !e.url.toUpperCase().includes(".OBJ") && !e.url.toUpperCase().includes(".STL") && !e.url.toUpperCase().includes(".MTL") && !e.url.toUpperCase().includes(".URDF") ? (l = URL.createObjectURL(o.data), n = aa(e)) : l = e == null ? void 0 : e.url;
1169
+ !e.url.toUpperCase().includes(".OBJ") && !e.url.toUpperCase().includes(".STL") && !e.url.toUpperCase().includes(".MTL") && !e.url.toUpperCase().includes(".URDF") ? (l = URL.createObjectURL(o.data), n = ua(e)) : l = e == null ? void 0 : e.url;
1148
1170
  }
1149
1171
  if (a != null && a.includes(".urdf") || a != null && a.includes(".stl") || a != null && a.includes(".STL") || a != null && a.includes(".obj") || a != null && a.includes(".mtl")) {
1150
1172
  const o = {
1151
1173
  row: `${l}`,
1152
1174
  suffix: a
1153
1175
  };
1154
- Aa(o);
1176
+ xa(o);
1155
1177
  return;
1156
1178
  }
1157
1179
  const u = {
1158
1180
  name: n,
1159
1181
  blobUrl: l
1160
1182
  };
1161
- R.value = [u], Ce.value = !0;
1162
- }, $n = async (e) => {
1183
+ Ol.value = [u], ze.value = !0;
1184
+ }, Nn = async (e) => {
1163
1185
  let l = null, n = null;
1164
1186
  if (e != null && e.downloadUrl) {
1165
- const o = await da(), i = await Ul.post(e == null ? void 0 : e.url, null, {
1187
+ const o = await ga(), i = await _l.post(e == null ? void 0 : e.url, null, {
1166
1188
  responseType: "blob",
1167
1189
  // 必须设置
1168
1190
  headers: {
@@ -1175,10 +1197,10 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1175
1197
  });
1176
1198
  l = URL.createObjectURL(t), n = e == null ? void 0 : e.name;
1177
1199
  } else {
1178
- const o = await ha({
1200
+ const o = await ba({
1179
1201
  url: e == null ? void 0 : e.url
1180
1202
  });
1181
- l = URL.createObjectURL(o.data), n = aa(e);
1203
+ l = URL.createObjectURL(o.data), n = ua(e);
1182
1204
  }
1183
1205
  const a = {
1184
1206
  name: n,
@@ -1187,83 +1209,83 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1187
1209
  u.href = a.blobUrl, u.download = a.name, u.style.display = "none", document.body.appendChild(u), u.click(), setTimeout(() => {
1188
1210
  document.body.removeChild(u);
1189
1211
  }, 100);
1190
- }, Pn = (e, l) => {
1212
+ }, Mn = (e, l) => {
1191
1213
  var n;
1192
1214
  if (Object.values(l).length !== 0)
1193
1215
  return Object.values(l).find((a) => {
1194
1216
  var u, o, i;
1195
1217
  return ((u = a == null ? void 0 : a.toString()) == null ? void 0 : u.includes(".txt")) || ((o = a == null ? void 0 : a.toString()) == null ? void 0 : o.includes(".cpt")) || ((i = a == null ? void 0 : a.toString()) == null ? void 0 : i.includes(".obj"));
1196
- }) ? [...e, dn.value] : (n = s == null ? void 0 : s.config) != null && n.allowMove ? [...e, { label: "迁移" }] : e;
1197
- }, Bn = (e, l = {}) => [...e == null ? void 0 : e.values()].filter((n) => Object.keys(l).every((a) => {
1218
+ }) ? [...e, gn.value] : (n = s == null ? void 0 : s.config) != null && n.allowMove ? [...e, { label: "迁移" }] : e;
1219
+ }, wn = (e, l = {}) => [...e == null ? void 0 : e.values()].filter((n) => Object.keys(l).every((a) => {
1198
1220
  var i;
1199
1221
  const u = n[a], o = (i = l[a]) == null ? void 0 : i.toLowerCase();
1200
1222
  return o && u && typeof u == "string" ? u.toLowerCase().includes(o) : !0;
1201
- })), ma = q([]), Nn = async (e, l, n = !1) => {
1223
+ })), _a = q([]), Fn = async (e, l, n = !1) => {
1202
1224
  var a;
1203
1225
  if (e) {
1204
- if (je.setTableLoading(!0), ma.value = Object.values(e), e && ((a = Object.values(e)) != null && a.every((u) => !u)))
1205
- return ee.value = Hl.value;
1226
+ if (Ee.setTableLoading(!0), _a.value = Object.values(e), e && ((a = Object.values(e)) != null && a.every((u) => !u)))
1227
+ return V.value = Yl.value;
1206
1228
  if (n) {
1207
- ee.value = [...Ql.value.values()].filter((u) => Object.values(u).some((o) => typeof o == "string" ? o == null ? void 0 : o.toLowerCase().includes(l == null ? void 0 : l.toLowerCase()) : !1));
1229
+ V.value = [...Zl.value.values()].filter((u) => Object.values(u).some((o) => typeof o == "string" ? o == null ? void 0 : o.toLowerCase().includes(l == null ? void 0 : l.toLowerCase()) : !1));
1208
1230
  return;
1209
1231
  }
1210
- ee.value = Bn(Ql.value, e), je.setTableLoading(!1);
1232
+ V.value = wn(Zl.value, e), Ee.setTableLoading(!1);
1211
1233
  }
1212
- }, Mn = async (e) => {
1213
- var i, t, c, d, b, D, w, g, C, j, _, K, M, N, r;
1214
- const l = await jl({
1234
+ }, Kn = async (e) => {
1235
+ var i, t, c, d, S, D, w, g, C, j, _, K, M, N, r;
1236
+ const l = await Pl({
1215
1237
  keyLikes: {
1216
1238
  pageKey: `loading${((i = Me.value) == null ? void 0 : i.account) || ((t = Me.value) == null ? void 0 : t.账号)}`,
1217
1239
  systemKey: sessionStorage.getItem("systemKey")
1218
1240
  }
1219
- }), n = await jl({
1241
+ }), n = await Pl({
1220
1242
  keyLikes: {
1221
1243
  pageKey: `updateLoading${((c = Me.value) == null ? void 0 : c.account) || ((d = Me.value) == null ? void 0 : d.账号)}`,
1222
1244
  systemKey: sessionStorage.getItem("systemKey")
1223
1245
  }
1224
1246
  });
1225
- let a = (D = (b = l == null ? void 0 : l.data) == null ? void 0 : b.result) == null ? void 0 : D.map((S) => S == null ? void 0 : S.id);
1226
- const u = (g = (w = n == null ? void 0 : n.data) == null ? void 0 : w.result) == null ? void 0 : g.map((S) => S == null ? void 0 : S.id);
1227
- a = [...W(a), ...u], (a == null ? void 0 : a.length) > 0 && (a != null && a.every((S) => S !== null && S)) && await Wa({
1247
+ let a = (D = (S = l == null ? void 0 : l.data) == null ? void 0 : S.result) == null ? void 0 : D.map((b) => b == null ? void 0 : b.id);
1248
+ const u = (g = (w = n == null ? void 0 : n.data) == null ? void 0 : w.result) == null ? void 0 : g.map((b) => b == null ? void 0 : b.id);
1249
+ a = [...W(a), ...u], (a == null ? void 0 : a.length) > 0 && (a != null && a.every((b) => b !== null && b)) && await Ha({
1228
1250
  ids: a
1229
1251
  });
1230
- let o = await hl(se.value, sessionStorage.getItem("systemKey"), e.id);
1231
- if (o = o == null ? void 0 : o.filter((S) => S.comp !== "methodButton"), o && o.length > 0) {
1232
- const S = !Array.isArray(ta.value) && ((C = ta.value) == null ? void 0 : C.key) !== "main" ? [] : ta.value;
1233
- S.push({
1234
- key: il.value === "" ? (j = e == null ? void 0 : e.id) == null ? void 0 : j.toString() : il.value + "-" + ((_ = e == null ? void 0 : e.id) == null ? void 0 : _.toString()),
1252
+ let o = await vl(ke.value, sessionStorage.getItem("systemKey"), e.id);
1253
+ if (o = o == null ? void 0 : o.filter((b) => b.comp !== "methodButton"), o && o.length > 0) {
1254
+ const b = !Array.isArray(pa.value) && ((C = pa.value) == null ? void 0 : C.key) !== "main" ? [] : pa.value;
1255
+ b.push({
1256
+ key: cl.value === "" ? (j = e == null ? void 0 : e.id) == null ? void 0 : j.toString() : cl.value + "-" + ((_ = e == null ? void 0 : e.id) == null ? void 0 : _.toString()),
1235
1257
  value: e[(K = Object.keys(e)) == null ? void 0 : K.filter((f) => f !== "index" && f !== "id")[0]]
1236
- }), Vl.setSelectMenu(il.value === "" ? (M = e == null ? void 0 : e.id) == null ? void 0 : M.toString() : il.value + "-" + ((N = e == null ? void 0 : e.id) == null ? void 0 : N.toString())), Vl.setSelectTitle(S), Vl.setSelectIndex((r = e == null ? void 0 : e.id) == null ? void 0 : r.toString()), H("pageChange", o);
1258
+ }), aa.setSelectMenu(cl.value === "" ? (M = e == null ? void 0 : e.id) == null ? void 0 : M.toString() : cl.value + "-" + ((N = e == null ? void 0 : e.id) == null ? void 0 : N.toString())), aa.setSelectTitle(b), aa.setSelectIndex((r = e == null ? void 0 : e.id) == null ? void 0 : r.toString()), H("pageChange", o);
1237
1259
  }
1238
- }, Ua = async (e, l, n, a) => {
1239
- var o, i, t, c, d, b, D, w, g, C, j, _, K, M, N, r, S, f, m, T, X, $, ae, O;
1260
+ }, Ca = async (e, l, n, a) => {
1261
+ var o, i, t, c, d, S, D, w, g, C, j, _, K, M, N, r, b, f, m, T, Q, $, le, O;
1240
1262
  if (H("clickMainKey", n), (a == null ? void 0 : a.isExistChild) === !0) {
1241
1263
  let U = (o = a == null ? void 0 : a.columnType) == null ? void 0 : o.prop, y = a == null ? void 0 : a.data;
1242
- if (Al.value = await hl(se.value, sessionStorage.getItem("systemKey"), ""), !Al.value) {
1243
- let x = (c = (t = (i = se.value) == null ? void 0 : i.split("/")) == null ? void 0 : t.filter((A, z) => {
1264
+ if (Ul.value = await vl(ke.value, sessionStorage.getItem("systemKey"), ""), !Ul.value) {
1265
+ let x = (c = (t = (i = ke.value) == null ? void 0 : i.split("/")) == null ? void 0 : t.filter((A, z) => {
1244
1266
  var k, J;
1245
- return z !== ((J = (k = se.value) == null ? void 0 : k.split("/")) == null ? void 0 : J.length) - 1;
1267
+ return z !== ((J = (k = ke.value) == null ? void 0 : k.split("/")) == null ? void 0 : J.length) - 1;
1246
1268
  })) == null ? void 0 : c.join("/");
1247
- Al.value = await hl(x, sessionStorage.getItem("systemKey"), "");
1269
+ Ul.value = await vl(x, sessionStorage.getItem("systemKey"), "");
1248
1270
  }
1249
- let F = (d = Al.value) == null ? void 0 : d.filter((x) => (x == null ? void 0 : x.name) === U);
1250
- Al.value = F == null ? void 0 : F.map((x) => {
1271
+ let F = (d = Ul.value) == null ? void 0 : d.filter((x) => (x == null ? void 0 : x.name) === U);
1272
+ Ul.value = F == null ? void 0 : F.map((x) => {
1251
1273
  var A;
1252
1274
  return x.compData = (A = x.compData) == null ? void 0 : A.map((z) => {
1253
1275
  var k, J;
1254
- return (z == null ? void 0 : z.key) === "tableContents" && (k = z == null ? void 0 : z.contents) != null && k.every((h) => h == null ? void 0 : h.find((Y) => Y == null ? void 0 : Y.id)) && (z.contents = (J = z == null ? void 0 : z.contents) == null ? void 0 : J.filter((h) => (h == null ? void 0 : h[1]) === y)), z;
1276
+ return (z == null ? void 0 : z.key) === "tableContents" && (k = z == null ? void 0 : z.contents) != null && k.every((h) => h == null ? void 0 : h.find((Z) => Z == null ? void 0 : Z.id)) && (z.contents = (J = z == null ? void 0 : z.contents) == null ? void 0 : J.filter((h) => (h == null ? void 0 : h[1]) === y)), z;
1255
1277
  }), x;
1256
- }), H("routeUrl", Al.value, {
1278
+ }), H("routeUrl", Ul.value, {
1257
1279
  isEdit: !0,
1258
- routerUrl: se.value
1280
+ routerUrl: ke.value
1259
1281
  });
1260
1282
  return;
1261
1283
  }
1262
1284
  if ((a == null ? void 0 : a.data) === "查看" && (e != null && e.every((U) => (U == null ? void 0 : U.url) && (U == null ? void 0 : U.name)))) {
1263
1285
  let U = W(e);
1264
- U = await ((b = W(U)) == null ? void 0 : b.map(async (F) => {
1286
+ U = await ((S = W(U)) == null ? void 0 : S.map(async (F) => {
1265
1287
  var z, k, J, h;
1266
- const x = await ha({
1288
+ const x = await ba({
1267
1289
  url: F == null ? void 0 : F.url
1268
1290
  });
1269
1291
  let A = URL.createObjectURL(x.data);
@@ -1273,12 +1295,12 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1273
1295
  };
1274
1296
  }));
1275
1297
  let y = await Promise.all(U);
1276
- R.value = y, Ce.value = !0;
1298
+ Ol.value = y, ze.value = !0;
1277
1299
  }
1278
1300
  const u = W(G.value);
1279
1301
  if ((a == null ? void 0 : a.isMainKey) === !0 && (u == null ? void 0 : u.length) > 0) {
1280
1302
  (D = u == null ? void 0 : u[0]) == null || D.prop;
1281
- let U = W(se).value + be + (a == null ? void 0 : a.data), y = W(se).value, F = (g = (w = vl.value[U]) == null ? void 0 : w.filter((k) => {
1303
+ let U = W(ke).value + ve + (a == null ? void 0 : a.data), y = W(ke).value, F = (g = (w = Sl.value[U]) == null ? void 0 : w.filter((k) => {
1282
1304
  var J, h;
1283
1305
  return ((J = k == null ? void 0 : k.key) == null ? void 0 : J.type) === "structure" && ((h = k == null ? void 0 : k.key) == null ? void 0 : h.parentTable) === "";
1284
1306
  })) == null ? void 0 : g.map((k) => {
@@ -1290,28 +1312,28 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1290
1312
  });
1291
1313
  let A = (_ = (j = s == null ? void 0 : s.itemData) == null ? void 0 : j.find((k) => (k == null ? void 0 : k.key) === "mainRouters")) == null ? void 0 : _.contents, z;
1292
1314
  if ((A == null ? void 0 : A.length) > 0) {
1293
- let k = U == null ? void 0 : U.split(be)[((K = U == null ? void 0 : U.split(be)) == null ? void 0 : K.length) - 1], J = A == null ? void 0 : A.find((h) => (h == null ? void 0 : h.key) === k);
1294
- z = (J == null ? void 0 : J.routerContent) + be + (J == null ? void 0 : J.key);
1315
+ let k = U == null ? void 0 : U.split(ve)[((K = U == null ? void 0 : U.split(ve)) == null ? void 0 : K.length) - 1], J = A == null ? void 0 : A.find((h) => (h == null ? void 0 : h.key) === k);
1316
+ z = (J == null ? void 0 : J.routerContent) + ve + (J == null ? void 0 : J.key);
1295
1317
  }
1296
1318
  if ((F == null ? void 0 : F.length) > 0)
1297
- await hl(U + be + `updateLoading${((M = Me.value) == null ? void 0 : M.account) || ((N = Me.value) == null ? void 0 : N.账号)}`, sessionStorage.getItem("systemKey"), "") || await ra(U, U + be + `updateLoading${((r = Me.value) == null ? void 0 : r.account) || ((S = Me.value) == null ? void 0 : S.账号)}`, x, z), je.setRouteToChildPath(y), V.setActiveMenuPath(U + be + `updateLoading${((f = Me.value) == null ? void 0 : f.account) || ((m = Me.value) == null ? void 0 : m.账号)}`);
1319
+ await vl(U + ve + `updateLoading${((M = Me.value) == null ? void 0 : M.account) || ((N = Me.value) == null ? void 0 : N.账号)}`, sessionStorage.getItem("systemKey"), "") || await oa(U, U + ve + `updateLoading${((r = Me.value) == null ? void 0 : r.account) || ((b = Me.value) == null ? void 0 : b.账号)}`, x, z), Ee.setRouteToChildPath(y), Fe.setActiveMenuPath(U + ve + `updateLoading${((f = Me.value) == null ? void 0 : f.account) || ((m = Me.value) == null ? void 0 : m.账号)}`);
1298
1320
  else {
1299
1321
  (T = u == null ? void 0 : u[0]) == null || T.prop;
1300
- let k = W(se).value + be + (a == null ? void 0 : a.data), J = W(se).value;
1301
- await hl(J + be, sessionStorage.getItem("systemKey"), ""), await ra(J + be, k, x), await ra(k, k + be + `updateLoading${((X = Me.value) == null ? void 0 : X.account) || (($ = Me.value) == null ? void 0 : $.账号)}`, x, z), je.setRouteToChildPath(J), V.setActiveMenuPath(k + be + `updateLoading${((ae = Me.value) == null ? void 0 : ae.account) || ((O = Me.value) == null ? void 0 : O.账号)}`);
1322
+ let k = W(ke).value + ve + (a == null ? void 0 : a.data), J = W(ke).value;
1323
+ await vl(J + ve, sessionStorage.getItem("systemKey"), ""), await oa(J + ve, k, x), await oa(k, k + ve + `updateLoading${((Q = Me.value) == null ? void 0 : Q.account) || (($ = Me.value) == null ? void 0 : $.账号)}`, x, z), Ee.setRouteToChildPath(J), Fe.setActiveMenuPath(k + ve + `updateLoading${((le = Me.value) == null ? void 0 : le.account) || ((O = Me.value) == null ? void 0 : O.账号)}`);
1302
1324
  }
1303
1325
  }
1304
- }, wn = () => {
1305
- Ce.value = !1;
1306
- }, Fn = (e) => {
1326
+ }, zn = () => {
1327
+ ze.value = !1;
1328
+ }, Jn = (e) => {
1307
1329
  H("rowClick", e);
1308
1330
  };
1309
- He(
1331
+ Ye(
1310
1332
  () => s.changedContent,
1311
1333
  () => {
1312
1334
  var n, a;
1313
1335
  if (!s.changedContent) return;
1314
- let e = (n = ee.value) == null ? void 0 : n.map((u) => {
1336
+ let e = (n = V.value) == null ? void 0 : n.map((u) => {
1315
1337
  var o;
1316
1338
  return u.id === ((o = s.changedContent) == null ? void 0 : o.id) && (u = {
1317
1339
  ...s.changedContent,
@@ -1319,7 +1341,7 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1319
1341
  }, delete u.newId), u;
1320
1342
  });
1321
1343
  const l = (a = s.itemData) == null ? void 0 : a.map((u) => ((u == null ? void 0 : u.key) === "tableContents" && (u.contents = e), u));
1322
- ee.value = e, H("contentChange", {
1344
+ V.value = e, H("contentChange", {
1323
1345
  contents: l,
1324
1346
  index: s.index
1325
1347
  }), H("change", {
@@ -1331,64 +1353,64 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1331
1353
  },
1332
1354
  { deep: !0, immediate: !0 }
1333
1355
  );
1334
- const Kn = () => {
1335
- }, zn = async () => {
1336
- const e = se.value, l = sessionStorage.getItem("systemKey"), n = await hl(e, l, ""), a = (n == null ? void 0 : n.find((t) => (t == null ? void 0 : t.name) === "方法明细")) || (n == null ? void 0 : n[0]), u = (a == null ? void 0 : a.compData) || [], o = u == null ? void 0 : u.find((t) => {
1356
+ const Rn = () => {
1357
+ }, Wn = async () => {
1358
+ const e = ke.value, l = sessionStorage.getItem("systemKey"), n = await vl(e, l, ""), a = (n == null ? void 0 : n.find((t) => (t == null ? void 0 : t.name) === "方法明细")) || (n == null ? void 0 : n[0]), u = (a == null ? void 0 : a.compData) || [], o = u == null ? void 0 : u.find((t) => {
1337
1359
  const c = t == null ? void 0 : t.key;
1338
1360
  return c === "formContent" || c === "tableContents";
1339
1361
  });
1340
1362
  return o == null ? void 0 : o.contents;
1341
- }, da = async () => `Bearer ${vr.get("access-token")}`, Jn = async (e, { token: l, inputData: n } = {}) => await Ul.post(e, n, {
1363
+ }, ga = async () => `Bearer ${kr.get("access-token")}`, qn = async (e, { token: l, inputData: n } = {}) => await _l.post(e, n, {
1342
1364
  headers: {
1343
1365
  Authorization: l
1344
1366
  }
1345
- }).catch((u) => (V.setImportLoading(!1), Promise.reject(u))), Rn = (e) => {
1367
+ }).catch((u) => (Fe.setImportLoading(!1), Promise.reject(u))), Gn = (e) => {
1346
1368
  const l = [], n = (a) => {
1347
1369
  a && typeof a == "object" && !Array.isArray(a) ? Object.values(a).forEach(n) : l.push(a);
1348
1370
  };
1349
1371
  return n(e), l;
1350
- }, Wn = async (e, l, n) => {
1351
- var M, N, r, S, f, m, T, X;
1352
- V.setImportLoading(!0), je.setFreshContent(!1);
1353
- let a = await zn().catch(($) => (V.setImportLoading(!1), Promise.reject($)));
1372
+ }, Hn = async (e, l, n) => {
1373
+ var M, N, r, b, f, m, T, Q;
1374
+ Fe.setImportLoading(!0), Ee.setFreshContent(!1);
1375
+ let a = await Wn().catch(($) => (Fe.setImportLoading(!1), Promise.reject($)));
1354
1376
  a = a == null ? void 0 : a.filter(($) => {
1355
- var ae;
1356
- return ((ae = $ == null ? void 0 : $.find((O) => O == null ? void 0 : O.id)) == null ? void 0 : ae.id) === (l == null ? void 0 : l.id);
1377
+ var le;
1378
+ return ((le = $ == null ? void 0 : $.find((O) => O == null ? void 0 : O.id)) == null ? void 0 : le.id) === (l == null ? void 0 : l.id);
1357
1379
  });
1358
- let u = Ya([(M = G.value) == null ? void 0 : M.filter(($) => ($ == null ? void 0 : $.label) !== "操作")]);
1359
- const o = (r = (N = Ur(a, u)) == null ? void 0 : N[0]) == null ? void 0 : r.find(($) => {
1360
- const ae = $ == null ? void 0 : $.key;
1361
- return ae === "算法体" || ae === "方法体";
1380
+ let u = Va([(M = G.value) == null ? void 0 : M.filter(($) => ($ == null ? void 0 : $.label) !== "操作")]);
1381
+ const o = (r = (N = Cr(a, u)) == null ? void 0 : N[0]) == null ? void 0 : r.find(($) => {
1382
+ const le = $ == null ? void 0 : $.key;
1383
+ return le === "算法体" || le === "方法体";
1362
1384
  }), i = o == null ? void 0 : o.value;
1363
1385
  if (!i) {
1364
- console.log("未搜索到isMain, 缺少算法执行接口"), V.setImportLoading(!1);
1386
+ console.log("未搜索到isMain, 缺少算法执行接口"), Fe.setImportLoading(!1);
1365
1387
  return;
1366
1388
  }
1367
- const t = G.value ? Ya([G.value]) : [], c = t.find(($) => {
1368
- const ae = $ == null ? void 0 : $.prop;
1369
- return ae === "输入" || ae === "输入数据.输入1" || ae === "样本输入数据";
1389
+ const t = G.value ? Va([G.value]) : [], c = t.find(($) => {
1390
+ const le = $ == null ? void 0 : $.prop;
1391
+ return le === "输入" || le === "输入数据.输入1" || le === "样本输入数据";
1370
1392
  }), d = c == null ? void 0 : c.prop;
1371
- let b = l == null ? void 0 : l[d];
1372
- const D = await da().catch(($) => (V.setImportLoading(!1), Promise.reject($))), w = await Jn(i, {
1393
+ let S = l == null ? void 0 : l[d];
1394
+ const D = await ga().catch(($) => (Fe.setImportLoading(!1), Promise.reject($))), w = await qn(i, {
1373
1395
  token: D,
1374
- inputData: b
1375
- }).catch(($) => (V.setImportLoading(!1), Promise.reject($))), g = (S = w == null ? void 0 : w.data) == null ? void 0 : S.data, C = t.find(($) => ($ == null ? void 0 : $.prop) === "输出数据.输出1"), j = C == null ? void 0 : C.prop;
1396
+ inputData: S
1397
+ }).catch(($) => (Fe.setImportLoading(!1), Promise.reject($))), g = (b = w == null ? void 0 : w.data) == null ? void 0 : b.data, C = t.find(($) => ($ == null ? void 0 : $.prop) === "输出数据.输出1"), j = C == null ? void 0 : C.prop;
1376
1398
  let _ = [], K = [];
1377
1399
  if (((f = Object.values(g)) == null ? void 0 : f.length) > 0) {
1378
1400
  let $ = [];
1379
- const ae = new FormData(), O = (m = Rn(g)) == null ? void 0 : m.map(async (y) => {
1401
+ const le = new FormData(), O = (m = Gn(g)) == null ? void 0 : m.map(async (y) => {
1380
1402
  var F, x;
1381
1403
  if (!Array.isArray(y) && (y != null && y.includes("http"))) {
1382
- let A = await Ul.get(y, { responseType: "blob" }), z = (x = y == null ? void 0 : y.split("/")) == null ? void 0 : x[((F = y == null ? void 0 : y.split("/")) == null ? void 0 : F.length) - 1];
1383
- ae.append("files", A.data, z);
1404
+ let A = await _l.get(y, { responseType: "blob" }), z = (x = y == null ? void 0 : y.split("/")) == null ? void 0 : x[((F = y == null ? void 0 : y.split("/")) == null ? void 0 : F.length) - 1];
1405
+ le.append("files", A.data, z);
1384
1406
  } else
1385
1407
  $.push(y);
1386
1408
  });
1387
- if (await Promise.all(O), !xr(ae)) {
1388
- let y = await $r(ae), F = (X = (T = y == null ? void 0 : y.data) == null ? void 0 : T.result) == null ? void 0 : X.map((x) => {
1389
- var A, z, k, J, h, Y;
1409
+ if (await Promise.all(O), !Or(le)) {
1410
+ let y = await Nr(le), F = (Q = (T = y == null ? void 0 : y.data) == null ? void 0 : T.result) == null ? void 0 : Q.map((x) => {
1411
+ var A, z, k, J, h, Z;
1390
1412
  return {
1391
- name: (Y = (h = (J = (A = x == null ? void 0 : x.url) == null ? void 0 : A.split("/")) == null ? void 0 : J[((k = (z = x == null ? void 0 : x.url) == null ? void 0 : z.split("/")) == null ? void 0 : k.length) - 1]) == null ? void 0 : h.split(".")) == null ? void 0 : Y[0],
1413
+ name: (Z = (h = (J = (A = x == null ? void 0 : x.url) == null ? void 0 : A.split("/")) == null ? void 0 : J[((k = (z = x == null ? void 0 : x.url) == null ? void 0 : z.split("/")) == null ? void 0 : k.length) - 1]) == null ? void 0 : h.split(".")) == null ? void 0 : Z[0],
1392
1414
  url: x == null ? void 0 : x.url
1393
1415
  };
1394
1416
  });
@@ -1404,15 +1426,15 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1404
1426
  }
1405
1427
  });
1406
1428
  }
1407
- (K == null ? void 0 : K.length) > 0 && await hr({
1429
+ (K == null ? void 0 : K.length) > 0 && await br({
1408
1430
  dataList: K
1409
- }), (_ == null ? void 0 : _.length) > 0 && await qa({
1431
+ }), (_ == null ? void 0 : _.length) > 0 && await Qa({
1410
1432
  dataList: _
1411
- }), Kl(!0), V.setImportLoading(!1), je.setFreshContent(!0);
1412
- }, xa = (e, l) => (e = e == null ? void 0 : e.map((n) => {
1433
+ }), Rl(!0), Fe.setImportLoading(!1), Ee.setFreshContent(!0);
1434
+ }, Oa = (e, l) => (e = e == null ? void 0 : e.map((n) => {
1413
1435
  var a, u;
1414
- return n != null && n.children && ((a = n.children) != null && a.find((o) => o.id === (l == null ? void 0 : l.id)) ? n.children = (u = n.children) == null ? void 0 : u.filter((o) => (o == null ? void 0 : o.id) !== (l == null ? void 0 : l.id)) : n.children = xa(n.children, l)), n;
1415
- }), e), Le = Jl({
1436
+ return n != null && n.children && ((a = n.children) != null && a.find((o) => o.id === (l == null ? void 0 : l.id)) ? n.children = (u = n.children) == null ? void 0 : u.filter((o) => (o == null ? void 0 : o.id) !== (l == null ? void 0 : l.id)) : n.children = Oa(n.children, l)), n;
1437
+ }), e), je = ql({
1416
1438
  title: "迁移至",
1417
1439
  show: !1,
1418
1440
  width: "20%",
@@ -1435,30 +1457,30 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1435
1457
  background: "var(--ssbutton-theme-bg)",
1436
1458
  color: "var(--ssbutton-theme-color)"
1437
1459
  }]
1438
- }), qn = () => {
1439
- Le.show = !1;
1440
- }, Gn = (e) => {
1460
+ }), Qn = () => {
1461
+ je.show = !1;
1462
+ }, Xn = (e) => {
1441
1463
  var l, n;
1442
- if ((e == null ? void 0 : e.buttonName) === "取消") return Le.show = !1;
1443
- Le.to = e == null ? void 0 : e.content, !(!(s != null && s.index) || !((l = Le.to) != null && l.groupName)) && (s == null ? void 0 : s.index) !== ((n = Le.to) == null ? void 0 : n.groupName) && (H("change", {
1464
+ if ((e == null ? void 0 : e.buttonName) === "取消") return je.show = !1;
1465
+ je.to = e == null ? void 0 : e.content, !(!(s != null && s.index) || !((l = je.to) != null && l.groupName)) && (s == null ? void 0 : s.index) !== ((n = je.to) == null ? void 0 : n.groupName) && (H("change", {
1444
1466
  buttonName: "迁移",
1445
1467
  value: {
1446
- from: Le.from,
1447
- to: Le.to,
1448
- data: Le.selectRow
1468
+ from: je.from,
1469
+ to: je.to,
1470
+ data: je.selectRow
1449
1471
  }
1450
- }), Le.show = !1);
1451
- }, na = async (e, l, n) => {
1452
- var a, u, o, i, t, c, d, b, D, w, g, C, j, _, K;
1453
- if (ul.value = "", Zl.value = !0, Xl.value = !0, H("onButtonClick", e, l), e === "删除")
1454
- Ia.confirm("是否确认删除", "温馨提示", {
1472
+ }), je.show = !1);
1473
+ }, sa = async (e, l, n) => {
1474
+ var a, u, o, i, t, c, d, S, D, w, g, C, j, _, K;
1475
+ if (il.value = "", ea.value = !0, Il.value = !0, H("onButtonClick", e, l), e === "删除")
1476
+ ln.confirm("是否确认删除", "温馨提示", {
1455
1477
  confirmButtonText: "确认",
1456
1478
  cancelButtonText: "取消",
1457
1479
  type: "warning"
1458
1480
  }).then(() => {
1459
1481
  var M, N;
1460
- (M = ee.value) != null && M.find((r) => (r == null ? void 0 : r.id) === (l == null ? void 0 : l.id)) ? ee.value = (N = W(ee.value)) == null ? void 0 : N.filter((r) => (r == null ? void 0 : r.id) !== (l == null ? void 0 : l.id)) : ee.value = xa(W(ee.value), l), cu(Il.value, il.value, l == null ? void 0 : l.id), je.setTableLoading(s == null ? void 0 : s.index), H("change", {
1461
- content: ee.value,
1482
+ (M = V.value) != null && M.find((r) => (r == null ? void 0 : r.id) === (l == null ? void 0 : l.id)) ? V.value = (N = W(V.value)) == null ? void 0 : N.filter((r) => (r == null ? void 0 : r.id) !== (l == null ? void 0 : l.id)) : V.value = Oa(W(V.value), l), fu(la.value, cl.value, l == null ? void 0 : l.id), Ee.setTableLoading(s == null ? void 0 : s.index), H("change", {
1483
+ content: V.value,
1462
1484
  singleContent: l,
1463
1485
  index: s == null ? void 0 : s.index,
1464
1486
  type: "delete",
@@ -1467,20 +1489,20 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1467
1489
  });
1468
1490
  });
1469
1491
  else if (e === "批量删除") {
1470
- if (((a = nl.value) == null ? void 0 : a.length) === 0)
1471
- return ze.warning("请先勾选操作的数据");
1472
- Ia.confirm("是否确认删除", "温馨提示", {
1492
+ if (((a = sl.value) == null ? void 0 : a.length) === 0)
1493
+ return We.warning("请先勾选操作的数据");
1494
+ ln.confirm("是否确认删除", "温馨提示", {
1473
1495
  confirmButtonText: "确认",
1474
1496
  cancelButtonText: "取消",
1475
1497
  type: "warning"
1476
1498
  }).then(
1477
1499
  () => {
1478
1500
  var N, r;
1479
- const M = (N = nl.value) == null ? void 0 : N.map((S) => S.id);
1480
- ee.value = (r = W(ee.value)) == null ? void 0 : r.filter((S) => !(M != null && M.includes(S.id))), je.setTableLoading(s == null ? void 0 : s.index), H("change", {
1481
- content: ee.value,
1501
+ const M = (N = sl.value) == null ? void 0 : N.map((b) => b.id);
1502
+ V.value = (r = W(V.value)) == null ? void 0 : r.filter((b) => !(M != null && M.includes(b.id))), Ee.setTableLoading(s == null ? void 0 : s.index), H("change", {
1503
+ content: V.value,
1482
1504
  singleContent: null,
1483
- selectItems: nl.value,
1505
+ selectItems: sl.value,
1484
1506
  index: s == null ? void 0 : s.index,
1485
1507
  type: "batchDelete",
1486
1508
  buttonName: e,
@@ -1489,55 +1511,55 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1489
1511
  }
1490
1512
  );
1491
1513
  } else if (e === "复制新增") {
1492
- el.value = "新增";
1493
- const M = W(l), N = (u = G.value) == null ? void 0 : u.find((f) => f == null ? void 0 : f.isMainKey), r = N || ((o = G.value) == null ? void 0 : o[0]), S = (i = Sl.value) == null ? void 0 : i.find((f) => (f == null ? void 0 : f.label) === "新建");
1494
- await Ca(!0, S, { data: M, firstCol: r });
1514
+ nl.value = "新增";
1515
+ const M = W(l), N = (u = G.value) == null ? void 0 : u.find((f) => f == null ? void 0 : f.isMainKey), r = N || ((o = G.value) == null ? void 0 : o[0]), b = (i = Tl.value) == null ? void 0 : i.find((f) => (f == null ? void 0 : f.label) === "新建");
1516
+ await Ea(!0, b, { data: M, firstCol: r });
1495
1517
  } else if (e === "新增")
1496
- el.value = "新增", Fl(""), sl.value = !0;
1518
+ nl.value = "新增", Jl(""), tl.value = !0;
1497
1519
  else if (e === "编辑")
1498
- el.value = "编辑", Fl(l), sl.value = !0;
1520
+ nl.value = "编辑", Jl(l), tl.value = !0;
1499
1521
  else if (e === "查看")
1500
- el.value = "查看", Fl(l), Zl.value = !1, Xl.value = !1, sl.value = !0;
1522
+ nl.value = "查看", Jl(l), ea.value = !1, Il.value = !1, tl.value = !0;
1501
1523
  else if (e === "查看三维模型") {
1502
1524
  const M = {};
1503
1525
  for (let r in l)
1504
1526
  r !== "id" && (M[r] = l[r]);
1505
1527
  let N = (t = Object.values(M)) == null ? void 0 : t[1];
1506
- cn.setTableShowThree(N);
1528
+ fn.setTableShowThree(N);
1507
1529
  } else if (((c = n == null ? void 0 : n.extra) == null ? void 0 : c.type) === "modelExample")
1508
- el.value = e, Yl.value = !0;
1530
+ nl.value = e, Vl.value = !0;
1509
1531
  else if (e === "新建") {
1510
- let M = vl.value, N = [];
1532
+ let M = Sl.value, N = [];
1511
1533
  for (let T in M)
1512
- T != null && T.includes(`loading${((d = Me.value) == null ? void 0 : d.account) || ((b = Me.value) == null ? void 0 : b.账号)}`) && (N = [...N, ...T]);
1534
+ T != null && T.includes(`loading${((d = Me.value) == null ? void 0 : d.account) || ((S = Me.value) == null ? void 0 : S.账号)}`) && (N = [...N, ...T]);
1513
1535
  let r = [];
1514
1536
  for (let T in M)
1515
1537
  T != null && T.includes(`updateLoading${((D = Me.value) == null ? void 0 : D.account) || ((w = Me.value) == null ? void 0 : w.账号)}`) && (r = [...r, ...T]);
1516
- let S = N == null ? void 0 : N.map((T) => T == null ? void 0 : T.id);
1538
+ let b = N == null ? void 0 : N.map((T) => T == null ? void 0 : T.id);
1517
1539
  const f = r == null ? void 0 : r.map((T) => T == null ? void 0 : T.id);
1518
- S = [...W(S), ...f], (S == null ? void 0 : S.length) > 0 && (S != null && S.every((T) => T !== null && T)) && await Wa({
1519
- ids: S
1540
+ b = [...W(b), ...f], (b == null ? void 0 : b.length) > 0 && (b != null && b.every((T) => T !== null && T)) && await Ha({
1541
+ ids: b
1520
1542
  });
1521
- const m = (g = Sl.value) == null ? void 0 : g.find((T) => (T == null ? void 0 : T.label) === "新建");
1522
- await Ca(!1, m);
1543
+ const m = (g = Tl.value) == null ? void 0 : g.find((T) => (T == null ? void 0 : T.label) === "新建");
1544
+ await Ea(!1, m);
1523
1545
  } else if (e === "修改模板") {
1524
- let M = W(se).value;
1525
- je.setRouteToChildPath(M), V.setActiveMenuPath(M + be);
1546
+ let M = W(ke).value;
1547
+ Ee.setRouteToChildPath(M), Fe.setActiveMenuPath(M + ve);
1526
1548
  } else if (e === "执行")
1527
- Wn(e, l);
1549
+ Hn(e, l);
1528
1550
  else if (e != null && e.includes("导出")) {
1529
- if (e === "导出选中" && ((C = nl.value) == null ? void 0 : C.length) === 0)
1530
- return ze.warning(`请先勾选${e}的数据`);
1531
- if (e === "导出全部" && ((j = ee.value) == null ? void 0 : j.length) === 0)
1532
- return ze.warning("暂无数据导出");
1533
- const M = (K = (_ = G.value) == null ? void 0 : _.map((r) => r == null ? void 0 : r.label)) == null ? void 0 : K.filter((r) => r !== "操作"), N = e === "导出全部" ? W(ee.value) : W(nl.value);
1551
+ if (e === "导出选中" && ((C = sl.value) == null ? void 0 : C.length) === 0)
1552
+ return We.warning(`请先勾选${e}的数据`);
1553
+ if (e === "导出全部" && ((j = V.value) == null ? void 0 : j.length) === 0)
1554
+ return We.warning("暂无数据导出");
1555
+ const M = (K = (_ = G.value) == null ? void 0 : _.map((r) => r == null ? void 0 : r.label)) == null ? void 0 : K.filter((r) => r !== "操作"), N = e === "导出全部" ? W(V.value) : W(sl.value);
1534
1556
  N == null || N.forEach((r) => {
1535
1557
  r == null || delete r.id;
1536
- }), mn(N, s == null ? void 0 : s.compName, M, s == null ? void 0 : s.compName);
1537
- } else e === "迁移" && (Le.selectRow = l, Le.show = !0);
1538
- }, Hn = async (e) => {
1558
+ }), _n(N, s == null ? void 0 : s.compName, M, s == null ? void 0 : s.compName);
1559
+ } else e === "迁移" && (je.selectRow = l, je.show = !0);
1560
+ }, Yn = async (e) => {
1539
1561
  var n, a, u, o, i, t;
1540
- const l = await jl({
1562
+ const l = await Pl({
1541
1563
  key: {
1542
1564
  pageKey: e,
1543
1565
  type: "structure",
@@ -1552,14 +1574,14 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1552
1574
  ...(d = c == null ? void 0 : c.value) == null ? void 0 : d.pageData
1553
1575
  };
1554
1576
  }) : [];
1555
- }, Qn = async (e, l) => {
1556
- var n, a, u, o, i, t, c, d, b, D, w, g, C, j, _, K, M, N, r, S;
1577
+ }, Zn = async (e, l) => {
1578
+ var n, a, u, o, i, t, c, d, S, D, w, g, C, j, _, K, M, N, r, b;
1557
1579
  try {
1558
1580
  let f, m;
1559
- const T = (n = vl.value[se.value + be]) == null ? void 0 : n.filter((x) => {
1581
+ const T = (n = Sl.value[ke.value + ve]) == null ? void 0 : n.filter((x) => {
1560
1582
  var A;
1561
1583
  return ((A = x == null ? void 0 : x.key) == null ? void 0 : A.type) === "structureMethod";
1562
- }), X = (a = vl.value[se.value + be]) == null ? void 0 : a.filter((x) => {
1584
+ }), Q = (a = Sl.value[ke.value + ve]) == null ? void 0 : a.filter((x) => {
1563
1585
  var A;
1564
1586
  return ((A = x == null ? void 0 : x.key) == null ? void 0 : A.type) === "structure";
1565
1587
  }), $ = T == null ? void 0 : T.find((x) => {
@@ -1567,18 +1589,18 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1567
1589
  return ((z = (A = x == null ? void 0 : x.value) == null ? void 0 : A.pageData) == null ? void 0 : z.method) === "保存";
1568
1590
  });
1569
1591
  if (!$) return;
1570
- const ae = (t = (i = vl.value[(o = (u = $ == null ? void 0 : $.value) == null ? void 0 : u.pageData) == null ? void 0 : o.path]) == null ? void 0 : i.filter((x) => {
1592
+ const le = (t = (i = Sl.value[(o = (u = $ == null ? void 0 : $.value) == null ? void 0 : u.pageData) == null ? void 0 : o.path]) == null ? void 0 : i.filter((x) => {
1571
1593
  var A;
1572
1594
  return ((A = x == null ? void 0 : x.key) == null ? void 0 : A.type) === "data";
1573
1595
  })) == null ? void 0 : t.find((x) => {
1574
1596
  var A, z, k, J;
1575
1597
  return ((z = (A = x == null ? void 0 : x.value) == null ? void 0 : A.tableData) == null ? void 0 : z.算法名称) === ((J = (k = $ == null ? void 0 : $.value) == null ? void 0 : k.pageData) == null ? void 0 : J.method);
1576
1598
  });
1577
- if (!ae) return;
1599
+ if (!le) return;
1578
1600
  const O = {
1579
1601
  buttonName: (d = (c = $ == null ? void 0 : $.value) == null ? void 0 : c.pageData) == null ? void 0 : d.method,
1580
- api: (D = (b = ae == null ? void 0 : ae.value) == null ? void 0 : b.tableData) == null ? void 0 : D.算法体,
1581
- content: X == null ? void 0 : X.map((x) => {
1602
+ api: (D = (S = le == null ? void 0 : le.value) == null ? void 0 : S.tableData) == null ? void 0 : D.算法体,
1603
+ content: Q == null ? void 0 : Q.map((x) => {
1582
1604
  var A;
1583
1605
  return (A = x == null ? void 0 : x.value) == null ? void 0 : A.pageData;
1584
1606
  }),
@@ -1601,7 +1623,7 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1601
1623
  })
1602
1624
  }, y = {
1603
1625
  key: {
1604
- pageKey: se.value + be,
1626
+ pageKey: ke.value + ve,
1605
1627
  parentTable: "",
1606
1628
  systemKey: sessionStorage.getItem("systemKey"),
1607
1629
  type: "structure"
@@ -1609,19 +1631,19 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1609
1631
  value: {
1610
1632
  pageData: U
1611
1633
  }
1612
- }, F = await Ul.post(O.api, y, {
1634
+ }, F = await _l.post(O.api, y, {
1613
1635
  headers: {
1614
1636
  "Content-Type": "application/json"
1615
1637
  }
1616
1638
  });
1617
- return ((K = F == null ? void 0 : F.data) == null ? void 0 : K.code) === 200 && (f = (N = (M = F == null ? void 0 : F.data) == null ? void 0 : M.result) == null ? void 0 : N.latestReportCode, m = (S = (r = F == null ? void 0 : F.data) == null ? void 0 : r.result) == null ? void 0 : S.status), {
1639
+ return ((K = F == null ? void 0 : F.data) == null ? void 0 : K.code) === 200 && (f = (N = (M = F == null ? void 0 : F.data) == null ? void 0 : M.result) == null ? void 0 : N.latestReportCode, m = (b = (r = F == null ? void 0 : F.data) == null ? void 0 : r.result) == null ? void 0 : b.status), {
1618
1640
  newMainKeyValue: f,
1619
1641
  newStatus: m
1620
1642
  };
1621
1643
  } catch (f) {
1622
- throw ze.error(f), new Error(f);
1644
+ throw We.error(f), new Error(f);
1623
1645
  }
1624
- }, _a = (e, l, n, a) => {
1646
+ }, Da = (e, l, n, a) => {
1625
1647
  var u;
1626
1648
  H("contentChange", {
1627
1649
  contents: (u = e == null ? void 0 : e.compData) == null ? void 0 : u.map((o) => {
@@ -1631,50 +1653,50 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1631
1653
  contents: (i = o == null ? void 0 : o.contents) == null ? void 0 : i.map((t) => (t == null ? void 0 : t.key) === l ? {
1632
1654
  ...t,
1633
1655
  value: n
1634
- } : wl.value && (t == null ? void 0 : t.prop) === wl.prop ? {
1656
+ } : zl.value && (t == null ? void 0 : t.prop) === zl.prop ? {
1635
1657
  ...t,
1636
- value: wl.value
1658
+ value: zl.value
1637
1659
  } : t)
1638
1660
  } : o;
1639
1661
  }),
1640
1662
  index: e == null ? void 0 : e.id
1641
1663
  }, a);
1642
- }, wl = Jl({
1664
+ }, zl = ql({
1643
1665
  prop: "状态",
1644
1666
  value: ""
1645
- }), Xn = q(["系统自动生成信息", "审批意见"]), Yn = async (e, l, n) => {
1667
+ }), In = q(["系统自动生成信息", "审批意见"]), Vn = async (e, l, n) => {
1646
1668
  var c, d;
1647
1669
  let a = e == null ? void 0 : e[l == null ? void 0 : l.prop], u = 1, o, i;
1648
- const t = W(se).value + be + a;
1670
+ const t = W(ke).value + ve + a;
1649
1671
  if (t) {
1650
- wl.value = "", o = (c = vl.value[t]) == null ? void 0 : c.filter((w) => {
1672
+ zl.value = "", o = (c = Sl.value[t]) == null ? void 0 : c.filter((w) => {
1651
1673
  var g;
1652
1674
  return ((g = w == null ? void 0 : w.key) == null ? void 0 : g.type) === "structure";
1653
1675
  });
1654
- const b = o == null ? void 0 : o.find((w) => {
1676
+ const S = o == null ? void 0 : o.find((w) => {
1655
1677
  var g, C, j;
1656
1678
  return ((j = (C = (g = w == null ? void 0 : w.value) == null ? void 0 : g.pageData) == null ? void 0 : C.comp) == null ? void 0 : j.toUpperCase()) === "FORM";
1657
1679
  });
1658
1680
  i = {
1659
- ...(d = b == null ? void 0 : b.value) == null ? void 0 : d.pageData,
1660
- id: b == null ? void 0 : b.id
1681
+ ...(d = S == null ? void 0 : S.value) == null ? void 0 : d.pageData,
1682
+ id: S == null ? void 0 : S.id
1661
1683
  };
1662
- const D = await Qn(i, l == null ? void 0 : l.prop);
1663
- if (wl.value = D == null ? void 0 : D.newStatus, D != null && D.newMainKeyValue) return D == null ? void 0 : D.newMainKeyValue;
1684
+ const D = await Zn(i, l == null ? void 0 : l.prop);
1685
+ if (zl.value = D == null ? void 0 : D.newStatus, D != null && D.newMainKeyValue) return D == null ? void 0 : D.newMainKeyValue;
1664
1686
  }
1665
- if (ee.value.some((b) => (b == null ? void 0 : b[l == null ? void 0 : l.prop]) === a)) {
1666
- const b = a;
1667
- for (; ee.value.some((D) => (D == null ? void 0 : D[l == null ? void 0 : l.prop]) === `${b}(${u})`); )
1687
+ if (V.value.some((S) => (S == null ? void 0 : S[l == null ? void 0 : l.prop]) === a)) {
1688
+ const S = a;
1689
+ for (; V.value.some((D) => (D == null ? void 0 : D[l == null ? void 0 : l.prop]) === `${S}(${u})`); )
1668
1690
  u++;
1669
- a = `${b}(${u})`;
1691
+ a = `${S}(${u})`;
1670
1692
  }
1671
1693
  return a;
1672
- }, Ca = async (e, l, n) => {
1673
- var i, t, c, d, b, D, w, g;
1694
+ }, Ea = async (e, l, n) => {
1695
+ var i, t, c, d, S, D, w, g;
1674
1696
  let a, u;
1675
- const o = await Yn(n == null ? void 0 : n.data, n == null ? void 0 : n.firstCol);
1676
- if (e ? (a = W(se).value + be + ((d = n == null ? void 0 : n.data) == null ? void 0 : d[(c = n == null ? void 0 : n.firstCol) == null ? void 0 : c.prop]), u = W(se).value + be + o) : (a = W(se).value + be, u = W(a) + `loading${((i = Me.value) == null ? void 0 : i.account) || ((t = Me.value) == null ? void 0 : t.账号)}`), l) {
1677
- const C = (D = (b = vl.value[u]) == null ? void 0 : b.filter((j) => {
1697
+ const o = await Vn(n == null ? void 0 : n.data, n == null ? void 0 : n.firstCol);
1698
+ if (e ? (a = W(ke).value + ve + ((d = n == null ? void 0 : n.data) == null ? void 0 : d[(c = n == null ? void 0 : n.firstCol) == null ? void 0 : c.prop]), u = W(ke).value + ve + o) : (a = W(ke).value + ve, u = W(a) + `loading${((i = Me.value) == null ? void 0 : i.account) || ((t = Me.value) == null ? void 0 : t.账号)}`), l) {
1699
+ const C = (D = (S = Sl.value[u]) == null ? void 0 : S.filter((j) => {
1678
1700
  var _;
1679
1701
  return ((_ = j == null ? void 0 : j.key) == null ? void 0 : _.parentTable) === "";
1680
1702
  })) == null ? void 0 : D.map((j) => {
@@ -1690,39 +1712,39 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1690
1712
  var K;
1691
1713
  return ((K = _ == null ? void 0 : _.comp) == null ? void 0 : K.toUpperCase()) === "FORM";
1692
1714
  });
1693
- j && _a(j, (w = n == null ? void 0 : n.firstCol) == null ? void 0 : w.label, o, se.value);
1715
+ j && Da(j, (w = n == null ? void 0 : n.firstCol) == null ? void 0 : w.label, o, ke.value);
1694
1716
  } else
1695
- je.setRouteToChildPath(W(se).value), V.setActiveMenuPath(u);
1696
- else if (await ra(a, u, null, null, e ? Xn.value : null), e) {
1697
- const j = await Hn(u);
1717
+ Ee.setRouteToChildPath(W(ke).value), Fe.setActiveMenuPath(u);
1718
+ else if (await oa(a, u, null, null, e ? In.value : null), e) {
1719
+ const j = await Yn(u);
1698
1720
  if ((j == null ? void 0 : j.length) > 0) {
1699
1721
  const _ = j == null ? void 0 : j.find((K) => {
1700
1722
  var M;
1701
1723
  return ((M = K == null ? void 0 : K.comp) == null ? void 0 : M.toUpperCase()) === "FORM";
1702
1724
  });
1703
- _ && _a(_, (g = n == null ? void 0 : n.firstCol) == null ? void 0 : g.label, o, se.value);
1725
+ _ && Da(_, (g = n == null ? void 0 : n.firstCol) == null ? void 0 : g.label, o, ke.value);
1704
1726
  }
1705
1727
  } else
1706
- je.setRouteToChildPath(W(se).value), V.setActiveMenuPath(u);
1728
+ Ee.setRouteToChildPath(W(ke).value), Fe.setActiveMenuPath(u);
1707
1729
  } else
1708
- e ? (ul.value = "", Fe.value = n == null ? void 0 : n.data, Kl(!0, n == null ? void 0 : n.firstCol, o)) : (je.setRouteToChildPath(W(se).value), V.setActiveMenuPath(u));
1709
- }, Zn = () => {
1710
- ie.value = !1, Bl.value = [], Je.value = !1;
1711
- }, Fl = (e) => {
1712
- var i, t, c, d, b, D, w, g, C, j, _, K, M, N;
1730
+ e ? (il.value = "", Je.value = n == null ? void 0 : n.data, Rl(!0, n == null ? void 0 : n.firstCol, o)) : (Ee.setRouteToChildPath(W(ke).value), Fe.setActiveMenuPath(u));
1731
+ }, er = () => {
1732
+ se.value = !1, wl.value = [], qe.value = !1;
1733
+ }, Jl = (e) => {
1734
+ var i, t, c, d, S, D, w, g, C, j, _, K, M, N;
1713
1735
  const l = [];
1714
1736
  let n = [];
1715
1737
  for (let r in e)
1716
1738
  Array.isArray(e == null ? void 0 : e[r]) && n.push(r);
1717
- Xe.value = W(G.value), (t = Wl((i = W(G.value)) == null ? void 0 : i.filter((r) => (r == null ? void 0 : r.label) !== "操作"))) == null || t.forEach((r, S) => {
1739
+ Ie.value = W(G.value), (t = Hl((i = W(G.value)) == null ? void 0 : i.filter((r) => (r == null ? void 0 : r.label) !== "操作"))) == null || t.forEach((r, b) => {
1718
1740
  var f;
1719
1741
  n.find((m) => m === (r == null ? void 0 : r.prop)) || (r != null && r.formType && ((f = r == null ? void 0 : r.formType) == null ? void 0 : f.toUpperCase()) === "SELECT" ? l.push({
1720
1742
  label: (r == null ? void 0 : r.prop) || (r == null ? void 0 : r.label) || "",
1721
- name: (r == null ? void 0 : r.prop) ?? "t" + S,
1743
+ name: (r == null ? void 0 : r.prop) ?? "t" + b,
1722
1744
  prop: r == null ? void 0 : r.prop,
1723
1745
  type: !(r != null && r.formType) || (r == null ? void 0 : r.formType) === "" ? "Input" : r == null ? void 0 : r.formType,
1724
1746
  value: (e == null ? void 0 : e[r == null ? void 0 : r.prop]) ?? (r == null ? void 0 : r.value) ?? "",
1725
- id: (r == null ? void 0 : r.id) ?? S,
1747
+ id: (r == null ? void 0 : r.id) ?? b,
1726
1748
  contents: (r == null ? void 0 : r.options) ?? [],
1727
1749
  width: 1,
1728
1750
  isFormColHidden: r == null ? void 0 : r.isFormColHidden,
@@ -1738,35 +1760,35 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1738
1760
  }) : l.push({
1739
1761
  label: (r == null ? void 0 : r.prop) || (r == null ? void 0 : r.label) || "",
1740
1762
  prop: r == null ? void 0 : r.prop,
1741
- name: (r == null ? void 0 : r.prop) ?? "t" + S,
1763
+ name: (r == null ? void 0 : r.prop) ?? "t" + b,
1742
1764
  type: !(r != null && r.formType) || (r == null ? void 0 : r.formType) === "" ? "Input" : r == null ? void 0 : r.formType,
1743
1765
  value: (e == null ? void 0 : e[r == null ? void 0 : r.prop]) ?? (r == null ? void 0 : r.value) ?? "",
1744
- id: (r == null ? void 0 : r.id) ?? S,
1766
+ id: (r == null ? void 0 : r.id) ?? b,
1745
1767
  contents: (r == null ? void 0 : r.options) ?? [],
1746
1768
  width: 1,
1747
1769
  isFormColHidden: r == null ? void 0 : r.isFormColHidden,
1748
1770
  disabled: r == null ? void 0 : r.disabled
1749
1771
  }));
1750
- }), e === "" || !e || (ul.value = (e == null ? void 0 : e.id) ?? "");
1751
- let a = Wl((c = W(G.value)) == null ? void 0 : c.filter((r) => (r == null ? void 0 : r.label) !== "操作"));
1752
- Ze.value && ((d = Ze.value) == null ? void 0 : d.length) > 0 && (Ze.value = (b = W(Ze).value) == null ? void 0 : b.map((r) => {
1772
+ }), e === "" || !e || (il.value = (e == null ? void 0 : e.id) ?? "");
1773
+ let a = Hl((c = W(G.value)) == null ? void 0 : c.filter((r) => (r == null ? void 0 : r.label) !== "操作"));
1774
+ el.value && ((d = el.value) == null ? void 0 : d.length) > 0 && (el.value = (S = W(el).value) == null ? void 0 : S.map((r) => {
1753
1775
  var f;
1754
- let S = (r == null ? void 0 : r.prop) || ((f = a == null ? void 0 : a.find((m) => (m == null ? void 0 : m.label) === (r == null ? void 0 : r.label))) == null ? void 0 : f.prop);
1755
- return S && (r.value = e[S]), r;
1756
- })), Ne.value = Ze.value && ((D = Ze.value) == null ? void 0 : D.length) > 0 ? mr(Ze.value) : l;
1776
+ let b = (r == null ? void 0 : r.prop) || ((f = a == null ? void 0 : a.find((m) => (m == null ? void 0 : m.label) === (r == null ? void 0 : r.label))) == null ? void 0 : f.prop);
1777
+ return b && (r.value = e[b]), r;
1778
+ })), Ne.value = el.value && ((D = el.value) == null ? void 0 : D.length) > 0 ? _r(el.value) : l;
1757
1779
  let u = [], o = (w = s.itemData) == null ? void 0 : w.filter((r) => (r == null ? void 0 : r.key) === "filterAllType");
1758
- if ((o == null ? void 0 : o.length) > 0 && (u = (o == null ? void 0 : o.map((S) => S == null ? void 0 : S.value)).flat()), (u == null ? void 0 : u.length) > 0) {
1759
- let r = u == null ? void 0 : u.find((S) => {
1780
+ if ((o == null ? void 0 : o.length) > 0 && (u = (o == null ? void 0 : o.map((b) => b == null ? void 0 : b.value)).flat()), (u == null ? void 0 : u.length) > 0) {
1781
+ let r = u == null ? void 0 : u.find((b) => {
1760
1782
  var f;
1761
- return (f = S == null ? void 0 : S.content) == null ? void 0 : f.includes("@Select");
1783
+ return (f = b == null ? void 0 : b.content) == null ? void 0 : f.includes("@Select");
1762
1784
  });
1763
1785
  if (r != null && r.content) {
1764
- let S = (j = (C = (g = r == null ? void 0 : r.content) == null ? void 0 : g.replace(":", rl)) == null ? void 0 : C.split(rl)) == null ? void 0 : j[1];
1765
- if (((_ = S == null ? void 0 : S.trim()) == null ? void 0 : _.toUpperCase()) === "MANUAL") {
1786
+ let b = (j = (C = (g = r == null ? void 0 : r.content) == null ? void 0 : g.replace(":", ol)) == null ? void 0 : C.split(ol)) == null ? void 0 : j[1];
1787
+ if (((_ = b == null ? void 0 : b.trim()) == null ? void 0 : _.toUpperCase()) === "MANUAL") {
1766
1788
  let f = (M = (K = s.itemData) == null ? void 0 : K.find((m) => (m == null ? void 0 : m.key) === "contentTableId")) == null ? void 0 : M.contents;
1767
1789
  Ne.value = (N = Ne.value) == null ? void 0 : N.map((m, T) => {
1768
- var X;
1769
- return T === 0 && (m.type = "Select", (X = m == null ? void 0 : m.optionUrl) != null && X.menuId ? (m.optionUrl.menuId = f, m.optionUrl.menuFilter = u) : m.optionUrl = {
1790
+ var Q;
1791
+ return T === 0 && (m.type = "Select", (Q = m == null ? void 0 : m.optionUrl) != null && Q.menuId ? (m.optionUrl.menuId = f, m.optionUrl.menuFilter = u) : m.optionUrl = {
1770
1792
  menuId: f,
1771
1793
  menuFilter: u
1772
1794
  }), m;
@@ -1774,10 +1796,10 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1774
1796
  }
1775
1797
  }
1776
1798
  }
1777
- }, In = () => {
1799
+ }, lr = () => {
1778
1800
  var l;
1779
1801
  const e = (l = P.value) == null ? void 0 : l.$el;
1780
- e && _r.create(e, {
1802
+ e && Dr.create(e, {
1781
1803
  animation: 150,
1782
1804
  handle: ".col-drag-icon",
1783
1805
  ghostClass: "sortable-ghost",
@@ -1785,24 +1807,24 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1785
1807
  var i;
1786
1808
  const { oldIndex: a, newIndex: u } = n;
1787
1809
  if (a === u) return;
1788
- const o = Ml.value.splice(a, 1)[0];
1789
- Ml.value.splice(u, 0, o), G.value = (i = G.value) == null ? void 0 : i.slice().sort((t, c) => {
1810
+ const o = Kl.value.splice(a, 1)[0];
1811
+ Kl.value.splice(u, 0, o), G.value = (i = G.value) == null ? void 0 : i.slice().sort((t, c) => {
1790
1812
  if (t.label === "操作") return 1;
1791
1813
  if (c.label === "操作") return -1;
1792
- const d = Ml.value.findIndex((D) => D.label === t.label), b = Ml.value.findIndex((D) => D.label === c.label);
1793
- return d - b;
1814
+ const d = Kl.value.findIndex((D) => D.label === t.label), S = Kl.value.findIndex((D) => D.label === c.label);
1815
+ return d - S;
1794
1816
  });
1795
1817
  }
1796
1818
  });
1797
1819
  };
1798
- va(() => {
1799
- oa.value = window.innerWidth - 240 * 2;
1820
+ ka(() => {
1821
+ ca.value = window.innerWidth - 240 * 2;
1800
1822
  });
1801
- const Vn = () => {
1802
- ua(() => {
1803
- In();
1823
+ const ar = () => {
1824
+ ia(() => {
1825
+ lr();
1804
1826
  });
1805
- }, pa = (e, l) => {
1827
+ }, ha = (e, l) => {
1806
1828
  var a;
1807
1829
  if (!e && !(e != null && e.children)) return {
1808
1830
  contents: e,
@@ -1811,15 +1833,15 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1811
1833
  let n;
1812
1834
  return e.children = (a = e.children) == null ? void 0 : a.map((u) => {
1813
1835
  var o, i;
1814
- if ((u == null ? void 0 : u.id) === ul.value) {
1836
+ if ((u == null ? void 0 : u.id) === il.value) {
1815
1837
  let t = {};
1816
1838
  for (let c in u) {
1817
- let d = (o = l == null ? void 0 : l.find((b) => (b == null ? void 0 : b.prop) === c)) == null ? void 0 : o.label;
1818
- d ? t[c] = (i = Fe.value) == null ? void 0 : i[d] : t[c] = u[c];
1839
+ let d = (o = l == null ? void 0 : l.find((S) => (S == null ? void 0 : S.prop) === c)) == null ? void 0 : o.label;
1840
+ d ? t[c] = (i = Je.value) == null ? void 0 : i[d] : t[c] = u[c];
1819
1841
  }
1820
- u = Object.assign(t, Fe.value), n = u;
1842
+ u = Object.assign(t, Je.value), n = u;
1821
1843
  } else {
1822
- let t = pa(u, l);
1844
+ let t = ha(u, l);
1823
1845
  u = t == null ? void 0 : t.contents, n = t == null ? void 0 : t.currentSelectContents;
1824
1846
  }
1825
1847
  return u;
@@ -1827,193 +1849,193 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
1827
1849
  contents: e,
1828
1850
  currentSelectContents: n
1829
1851
  };
1830
- }, Oa = (e, l) => {
1852
+ }, ja = (e, l) => {
1831
1853
  let n, a;
1832
- return e != null && e.find((u) => (u == null ? void 0 : u.id) === ul.value) ? n = e == null ? void 0 : e.map((u) => {
1854
+ return e != null && e.find((u) => (u == null ? void 0 : u.id) === il.value) ? n = e == null ? void 0 : e.map((u) => {
1833
1855
  var o, i;
1834
- if ((u == null ? void 0 : u.id) === ul.value) {
1856
+ if ((u == null ? void 0 : u.id) === il.value) {
1835
1857
  let t = {};
1836
1858
  for (let c in u) {
1837
- let d = (o = l == null ? void 0 : l.find((b) => (b == null ? void 0 : b.prop) === c)) == null ? void 0 : o.label;
1838
- d ? t[c] = (i = Fe.value) == null ? void 0 : i[d] : t[c] = u[c];
1859
+ let d = (o = l == null ? void 0 : l.find((S) => (S == null ? void 0 : S.prop) === c)) == null ? void 0 : o.label;
1860
+ d ? t[c] = (i = Je.value) == null ? void 0 : i[d] : t[c] = u[c];
1839
1861
  }
1840
- u = Object.assign(t, Fe.value), a = u;
1862
+ u = Object.assign(t, Je.value), a = u;
1841
1863
  }
1842
1864
  return u;
1843
1865
  }) : n = e == null ? void 0 : e.map((u) => {
1844
1866
  var o, i, t, c;
1845
- if ((u == null ? void 0 : u.id) === ul.value) {
1867
+ if ((u == null ? void 0 : u.id) === il.value) {
1846
1868
  let d = {};
1847
- for (let b in u) {
1848
- let D = (o = l == null ? void 0 : l.find((w) => (w == null ? void 0 : w.prop) === b)) == null ? void 0 : o.label;
1849
- D ? d[b] = (i = Fe.value) == null ? void 0 : i[D] : d[b] = u[b];
1869
+ for (let S in u) {
1870
+ let D = (o = l == null ? void 0 : l.find((w) => (w == null ? void 0 : w.prop) === S)) == null ? void 0 : o.label;
1871
+ D ? d[S] = (i = Je.value) == null ? void 0 : i[D] : d[S] = u[S];
1850
1872
  }
1851
- u = Object.assign(d, Fe.value), a = u;
1873
+ u = Object.assign(d, Je.value), a = u;
1852
1874
  } else
1853
- u = (t = pa(u, l)) == null ? void 0 : t.contents, a = (c = pa(u, l)) == null ? void 0 : c.currentSelectContents;
1875
+ u = (t = ha(u, l)) == null ? void 0 : t.contents, a = (c = ha(u, l)) == null ? void 0 : c.currentSelectContents;
1854
1876
  return u;
1855
1877
  }), {
1856
1878
  newContents: n,
1857
1879
  currentSelectContents: a
1858
1880
  };
1859
- }, Da = (e, l, n) => {
1881
+ }, La = (e, l, n) => {
1860
1882
  var a, u;
1861
- return e[l == null ? void 0 : l.prop] = n, typeof e.id == "number" && (e.id = (a = e.id) == null ? void 0 : a.toString()), e.children && ((u = e.children) == null ? void 0 : u.length) > 0 && (e.children = e.children.map(Da)), e;
1862
- }, fa = (e) => {
1883
+ return e[l == null ? void 0 : l.prop] = n, typeof e.id == "number" && (e.id = (a = e.id) == null ? void 0 : a.toString()), e.children && ((u = e.children) == null ? void 0 : u.length) > 0 && (e.children = e.children.map(La)), e;
1884
+ }, ya = (e) => {
1863
1885
  var n;
1864
1886
  const l = [];
1865
1887
  return l.push({ ...e }), e != null && e.children && Array.isArray(e.children) && ((n = e.children) == null || n.forEach((a) => {
1866
- l.push(...fa(a));
1888
+ l.push(...ya(a));
1867
1889
  })), (l == null ? void 0 : l.length) > 0 ? l == null ? void 0 : l.map((a) => {
1868
1890
  const u = { ...a };
1869
1891
  return delete u.children, u;
1870
1892
  }) : [];
1871
- }, Kl = (e = !0, l, n) => {
1872
- var d, b, D, w, g, C, j, _, K, M, N, r, S, f, m, T, X, $, ae, O, U, y, F, x, A, z;
1873
- let a = Wl((d = W(G.value)) == null ? void 0 : d.filter((k) => (k == null ? void 0 : k.label) !== "操作")), u, o = W(ee.value);
1874
- if (!Fe.value) {
1875
- sl.value = !1;
1893
+ }, Rl = (e = !0, l, n) => {
1894
+ var d, S, D, w, g, C, j, _, K, M, N, r, b, f, m, T, Q, $, le, O, U, y, F, x, A, z;
1895
+ let a = Hl((d = W(G.value)) == null ? void 0 : d.filter((k) => (k == null ? void 0 : k.label) !== "操作")), u, o = W(V.value);
1896
+ if (!Je.value) {
1897
+ tl.value = !1;
1876
1898
  return;
1877
1899
  }
1878
- if (ul.value === "") {
1879
- _l.value++;
1900
+ if (il.value === "") {
1901
+ Dl.value++;
1880
1902
  let k;
1881
1903
  l && n ? k = {
1882
- id: _l.value.toString(),
1904
+ id: Dl.value.toString(),
1883
1905
  [l == null ? void 0 : l.prop]: n,
1884
- children: Fe.value.children
1885
- } : k = { id: _l.value.toString() }, k != null && k.children && (k = {
1906
+ children: Je.value.children
1907
+ } : k = { id: Dl.value.toString() }, k != null && k.children && (k = {
1886
1908
  ...k,
1887
- children: (b = k.children) == null ? void 0 : b.map((J) => Da(J, l, n))
1888
- }), o.push(Object.assign(Fe.value, k)), u = Object.assign(Fe.value, k);
1909
+ children: (S = k.children) == null ? void 0 : S.map((J) => La(J, l, n))
1910
+ }), o.push(Object.assign(Je.value, k)), u = Object.assign(Je.value, k);
1889
1911
  } else
1890
- o = (D = Oa(o, a)) == null ? void 0 : D.newContents, u = (w = Oa(o, a)) == null ? void 0 : w.currentSelectContents;
1912
+ o = (D = ja(o, a)) == null ? void 0 : D.newContents, u = (w = ja(o, a)) == null ? void 0 : w.currentSelectContents;
1891
1913
  const i = (g = s.itemData) == null ? void 0 : g.filter((k) => (k == null ? void 0 : k.key) === "childTree")[0];
1892
1914
  if (((C = i == null ? void 0 : i.contents) == null ? void 0 : C.length) > 0) {
1893
- el.value = "编辑";
1915
+ nl.value = "编辑";
1894
1916
  const k = [];
1895
1917
  o == null || o.forEach((J, h) => {
1896
- var de;
1897
- let Y = {};
1918
+ var ce;
1919
+ let Z = {};
1898
1920
  if (Array.isArray(J)) {
1899
- let ne = [];
1900
- J == null || J.filter((Ae) => !(Ae != null && Ae.id)).forEach((Ae, Se) => {
1901
- var E, p, he, pe, fe, Oe, $e;
1902
- if ((p = (E = ll.value) == null ? void 0 : E[Se]) != null && p.prop && !Array.isArray(Ae)) {
1903
- let Re = {};
1904
- Re[ll.value[Se].column] = Ae, Ue != null && Ue.value && ((he = Ue == null ? void 0 : Ue.value) == null ? void 0 : he.length) > 0 && ((pe = Ue == null ? void 0 : Ue.value) != null && pe.find((Te) => JSON.stringify(Te == null ? void 0 : Te[0]) === JSON.stringify(Re))) && (ne = (fe = Ue == null ? void 0 : Ue.value) == null ? void 0 : fe.find((Te) => JSON.stringify(Te == null ? void 0 : Te[0]) === JSON.stringify(Re))), ne && ne.length > 0 ? Y[ll.value[Se].prop] = ne != null && ne.find((Te) => {
1905
- var We;
1906
- return ((We = Object.keys(Te)) == null ? void 0 : We[0]) === ll.value[Se].column;
1907
- }) ? (Oe = ne == null ? void 0 : ne.find((Te) => {
1908
- var We;
1909
- return ((We = Object.keys(Te)) == null ? void 0 : We[0]) === ll.value[Se].column;
1910
- })) == null ? void 0 : Oe[ll.value[Se].column] : Ae : Y[ll.value[Se].prop] = Ae;
1911
- } else Array.isArray(Ae) && (($e = ll.value[Se]) != null && $e.prop ? Y[ll.value[Se].prop] = Ae : Y.children = ya(Ae, ll.value));
1921
+ let ae = [];
1922
+ J == null || J.filter((Ae) => !(Ae != null && Ae.id)).forEach((Ae, be) => {
1923
+ var E, p, ge, de, pe, Ce, Le;
1924
+ if ((p = (E = rl.value) == null ? void 0 : E[be]) != null && p.prop && !Array.isArray(Ae)) {
1925
+ let Ge = {};
1926
+ Ge[rl.value[be].column] = Ae, Ue != null && Ue.value && ((ge = Ue == null ? void 0 : Ue.value) == null ? void 0 : ge.length) > 0 && ((de = Ue == null ? void 0 : Ue.value) != null && de.find((Te) => JSON.stringify(Te == null ? void 0 : Te[0]) === JSON.stringify(Ge))) && (ae = (pe = Ue == null ? void 0 : Ue.value) == null ? void 0 : pe.find((Te) => JSON.stringify(Te == null ? void 0 : Te[0]) === JSON.stringify(Ge))), ae && ae.length > 0 ? Z[rl.value[be].prop] = ae != null && ae.find((Te) => {
1927
+ var He;
1928
+ return ((He = Object.keys(Te)) == null ? void 0 : He[0]) === rl.value[be].column;
1929
+ }) ? (Ce = ae == null ? void 0 : ae.find((Te) => {
1930
+ var He;
1931
+ return ((He = Object.keys(Te)) == null ? void 0 : He[0]) === rl.value[be].column;
1932
+ })) == null ? void 0 : Ce[rl.value[be].column] : Ae : Z[rl.value[be].prop] = Ae;
1933
+ } else Array.isArray(Ae) && ((Le = rl.value[be]) != null && Le.prop ? Z[rl.value[be].prop] = Ae : Z.children = Sa(Ae, rl.value));
1912
1934
  });
1913
1935
  } else
1914
- Y = J;
1915
- Array.isArray(J) && J.some((ne) => ne == null ? void 0 : ne.id) ? k.push(Object.assign(Y, { id: (de = J == null ? void 0 : J.find((ne) => ne.id)) == null ? void 0 : de.id })) : Y.id ? k.push(Y) : k.push(Object.assign(Y, { id: h.toString() }));
1916
- }), ee.value = Pa(k, i, G.value);
1936
+ Z = J;
1937
+ Array.isArray(J) && J.some((ae) => ae == null ? void 0 : ae.id) ? k.push(Object.assign(Z, { id: (ce = J == null ? void 0 : J.find((ae) => ae.id)) == null ? void 0 : ce.id })) : Z.id ? k.push(Z) : k.push(Object.assign(Z, { id: h.toString() }));
1938
+ }), V.value = Ma(k, i, G.value);
1917
1939
  } else
1918
- ee.value = o;
1919
- La(ee.value), Il.value = ee.value;
1920
- const t = pu(Il.value, il.value, o);
1940
+ V.value = o;
1941
+ Ba(V.value), la.value = V.value;
1942
+ const t = hu(la.value, cl.value, o);
1921
1943
  let c = [];
1922
- if ($l.value ? (c = (j = W($l).value.singleContent) == null ? void 0 : j.filter((k) => (k == null ? void 0 : k.id) !== (u == null ? void 0 : u.id)), c.push(u)) : c = [u], al.value) {
1944
+ if (Nl.value ? (c = (j = W(Nl).value.singleContent) == null ? void 0 : j.filter((k) => (k == null ? void 0 : k.id) !== (u == null ? void 0 : u.id)), c.push(u)) : c = [u], ul.value) {
1923
1945
  const k = {
1924
1946
  content: t,
1925
- singleContent: ((_ = i == null ? void 0 : i.contents) == null ? void 0 : _.length) > 0 ? c == null ? void 0 : c.flatMap(fa) : c,
1947
+ singleContent: ((_ = i == null ? void 0 : i.contents) == null ? void 0 : _.length) > 0 ? c == null ? void 0 : c.flatMap(ya) : c,
1926
1948
  index: s == null ? void 0 : s.index,
1927
1949
  buttonName: "编辑",
1928
1950
  column: G.value,
1929
1951
  parentTableId: s == null ? void 0 : s.parentTableId
1930
1952
  };
1931
- je.setCacheUpdatingData(k);
1953
+ Ee.setCacheUpdatingData(k);
1932
1954
  }
1933
1955
  if (e && !((N = (M = (K = Ne.value) == null ? void 0 : K[0]) == null ? void 0 : M.optionUrl) != null && N.menuId)) {
1934
- let k = (m = (f = (S = (r = s.itemData) == null ? void 0 : r.find((h) => (h == null ? void 0 : h.key) === "filterAllType")) == null ? void 0 : S.value) == null ? void 0 : f.find((h) => (h == null ? void 0 : h.value) === "onConditionContents")) == null ? void 0 : m.content;
1956
+ let k = (m = (f = (b = (r = s.itemData) == null ? void 0 : r.find((h) => (h == null ? void 0 : h.key) === "filterAllType")) == null ? void 0 : b.value) == null ? void 0 : f.find((h) => (h == null ? void 0 : h.value) === "onConditionContents")) == null ? void 0 : m.content;
1935
1957
  const J = {
1936
1958
  content: t,
1937
- singleContent: ((T = i == null ? void 0 : i.contents) == null ? void 0 : T.length) > 0 ? fa(u) : u,
1959
+ singleContent: ((T = i == null ? void 0 : i.contents) == null ? void 0 : T.length) > 0 ? ya(u) : u,
1938
1960
  index: s == null ? void 0 : s.index,
1939
- buttonName: el.value,
1961
+ buttonName: nl.value,
1940
1962
  column: G.value,
1941
1963
  parentTableId: s == null ? void 0 : s.parentTableId,
1942
1964
  filter: k
1943
1965
  };
1944
- je.setTableLoading(s == null ? void 0 : s.index), sl.value = !1, Fe.value = void 0, H("change", J);
1966
+ Ee.setTableLoading(s == null ? void 0 : s.index), tl.value = !1, Je.value = void 0, H("change", J);
1945
1967
  }
1946
- if ((ae = ($ = (X = Ne.value) == null ? void 0 : X[0]) == null ? void 0 : $.optionUrl) != null && ae.menuId) {
1947
- sl.value = !1;
1968
+ if ((le = ($ = (Q = Ne.value) == null ? void 0 : Q[0]) == null ? void 0 : $.optionUrl) != null && le.menuId) {
1969
+ tl.value = !1;
1948
1970
  let k = (O = s.itemData) == null ? void 0 : O.filter((J) => (J == null ? void 0 : J.key) === "filterAllType");
1949
1971
  if ((k == null ? void 0 : k.length) > 0) {
1950
- let h = (F = (y = (U = (k == null ? void 0 : k.map((Y) => Y == null ? void 0 : Y.value)).flat().find((Y) => {
1951
- var de;
1952
- return (de = Y == null ? void 0 : Y.content) == null ? void 0 : de.includes("@Num");
1972
+ let h = (F = (y = (U = (k == null ? void 0 : k.map((Z) => Z == null ? void 0 : Z.value)).flat().find((Z) => {
1973
+ var ce;
1974
+ return (ce = Z == null ? void 0 : Z.content) == null ? void 0 : ce.includes("@Num");
1953
1975
  })) == null ? void 0 : U.content) == null ? void 0 : y.split(":")) == null ? void 0 : F[1];
1954
- h = parseInt(h), ee.value = (z = ee.value) == null ? void 0 : z.slice(((x = ee.value) == null ? void 0 : x.length) - h, (A = ee.value) == null ? void 0 : A.length);
1976
+ h = parseInt(h), V.value = (z = V.value) == null ? void 0 : z.slice(((x = V.value) == null ? void 0 : x.length) - h, (A = V.value) == null ? void 0 : A.length);
1955
1977
  }
1956
1978
  }
1957
1979
  };
1958
- pr(() => {
1959
- G.value = [], ee.value = [], Xe.value = [], v.value = [], Ze.value = [], bl.value = [], Bl.value = [], Cl.value = [], Ne.value = [], nl.value = [], P.value = null;
1980
+ hr(() => {
1981
+ G.value = [], V.value = [], Ie.value = [], Be.value = [], el.value = [], kl.value = [], wl.value = [], El.value = [], Ne.value = [], sl.value = [], P.value = null;
1960
1982
  });
1961
- const Ea = async (e, l, n) => {
1962
- var d, b, D, w, g, C, j, _, K, M, N;
1963
- Tl.value = n == null ? void 0 : n.prop;
1983
+ const $a = async (e, l, n) => {
1984
+ var d, S, D, w, g, C, j, _, K, M, N;
1985
+ ml.value = n == null ? void 0 : n.prop;
1964
1986
  const a = W(s.itemData), u = a == null ? void 0 : a.map((r) => {
1965
- var S;
1966
- return (r == null ? void 0 : r.key) === "header" && ((S = r.contents) == null || S.map((f, m) => {
1967
- var T, X, $, ae, O, U, y, F, x, A, z, k, J, h, Y, de, ne, Ae, Se;
1968
- return f.type = f != null && f.type ? f.type : (ae = ($ = (X = (T = f == null ? void 0 : f.key) == null ? void 0 : T.split("$")) == null ? void 0 : X[1]) == null ? void 0 : $.split("(")) != null && ae[0] ? (U = (O = Qa) == null ? void 0 : O.find((E) => {
1969
- var p, he, pe, fe;
1970
- return (E == null ? void 0 : E.key) === ((fe = (pe = (he = (p = f == null ? void 0 : f.key) == null ? void 0 : p.split("$")) == null ? void 0 : he[1]) == null ? void 0 : pe.split("(")) == null ? void 0 : fe[0]);
1971
- })) == null ? void 0 : U.value : "Input", f.options = f != null && f.options ? f.options : ((x = (F = (y = f == null ? void 0 : f.key) == null ? void 0 : y.split("$")) == null ? void 0 : F[1]) == null ? void 0 : x.length) > 0 ? (J = (k = en((z = (A = f == null ? void 0 : f.key) == null ? void 0 : A.split("$")) == null ? void 0 : z[1])) == null ? void 0 : k.split(",")) == null ? void 0 : J.map((E) => ({
1987
+ var b;
1988
+ return (r == null ? void 0 : r.key) === "header" && ((b = r.contents) == null || b.map((f, m) => {
1989
+ var T, Q, $, le, O, U, y, F, x, A, z, k, J, h, Z, ce, ae, Ae, be;
1990
+ return f.type = f != null && f.type ? f.type : (le = ($ = (Q = (T = f == null ? void 0 : f.key) == null ? void 0 : T.split("$")) == null ? void 0 : Q[1]) == null ? void 0 : $.split("(")) != null && le[0] ? (U = (O = Za) == null ? void 0 : O.find((E) => {
1991
+ var p, ge, de, pe;
1992
+ return (E == null ? void 0 : E.key) === ((pe = (de = (ge = (p = f == null ? void 0 : f.key) == null ? void 0 : p.split("$")) == null ? void 0 : ge[1]) == null ? void 0 : de.split("(")) == null ? void 0 : pe[0]);
1993
+ })) == null ? void 0 : U.value : "Input", f.options = f != null && f.options ? f.options : ((x = (F = (y = f == null ? void 0 : f.key) == null ? void 0 : y.split("$")) == null ? void 0 : F[1]) == null ? void 0 : x.length) > 0 ? (J = (k = nn((z = (A = f == null ? void 0 : f.key) == null ? void 0 : A.split("$")) == null ? void 0 : z[1])) == null ? void 0 : k.split(",")) == null ? void 0 : J.map((E) => ({
1972
1994
  label: E,
1973
1995
  value: E
1974
- })) : [], (h = f == null ? void 0 : f.key) != null && h.includes("$") && (f.key = (de = (Y = f == null ? void 0 : f.key) == null ? void 0 : Y.split("$")) == null ? void 0 : de[0]), f.value = (ne = Object.values(l)) == null ? void 0 : ne[m], f.optionUrl = f != null && f.formMenuSelect && ((Ae = f == null ? void 0 : f.formMenuSelect) == null ? void 0 : Ae.length) > 0 ? {
1975
- groupSelect: (Se = f == null ? void 0 : f.groupSelect) == null ? void 0 : Se.split(/[::]/).map((E) => E.trim()),
1996
+ })) : [], (h = f == null ? void 0 : f.key) != null && h.includes("$") && (f.key = (ce = (Z = f == null ? void 0 : f.key) == null ? void 0 : Z.split("$")) == null ? void 0 : ce[0]), f.value = (ae = Object.values(l)) == null ? void 0 : ae[m], f.optionUrl = f != null && f.formMenuSelect && ((Ae = f == null ? void 0 : f.formMenuSelect) == null ? void 0 : Ae.length) > 0 ? {
1997
+ groupSelect: (be = f == null ? void 0 : f.groupSelect) == null ? void 0 : be.split(/[::]/).map((E) => E.trim()),
1976
1998
  menuSelect: f == null ? void 0 : f.formMenuSelect,
1977
1999
  selectRelateType: "",
1978
2000
  type: (f == null ? void 0 : f.formType) ?? (f != null && f.groupSelect ? "Select" : "")
1979
2001
  } : null, f;
1980
2002
  })), r;
1981
2003
  });
1982
- let o = W(Ne.value), i = (b = (d = W(u)) == null ? void 0 : d.find((r) => (r == null ? void 0 : r.key) === "header")) == null ? void 0 : b.contents;
2004
+ let o = W(Ne.value), i = (S = (d = W(u)) == null ? void 0 : d.find((r) => (r == null ? void 0 : r.key) === "header")) == null ? void 0 : S.contents;
1983
2005
  o = o == null ? void 0 : o.map((r) => {
1984
- var S;
1985
- return r.value = (S = i == null ? void 0 : i.find((f, m) => m === (r == null ? void 0 : r.id))) == null ? void 0 : S.value, r;
2006
+ var b;
2007
+ return r.value = (b = i == null ? void 0 : i.find((f, m) => m === (r == null ? void 0 : r.id))) == null ? void 0 : b.value, r;
1986
2008
  });
1987
- let t = "", c = (g = (w = (D = W(u)) == null ? void 0 : D.find((r) => (r == null ? void 0 : r.key) === "header")) == null ? void 0 : w.contents) == null ? void 0 : g.find((r, S) => {
2009
+ let t = "", c = (g = (w = (D = W(u)) == null ? void 0 : D.find((r) => (r == null ? void 0 : r.key) === "header")) == null ? void 0 : w.contents) == null ? void 0 : g.find((r, b) => {
1988
2010
  var f, m, T;
1989
- return (r == null ? void 0 : r.label) === Tl.value || (S == null ? void 0 : S.toString()) === ((T = (m = (f = Tl.value) == null ? void 0 : f.split("a")) == null ? void 0 : m[1]) == null ? void 0 : T.toString());
2011
+ return (r == null ? void 0 : r.label) === ml.value || (b == null ? void 0 : b.toString()) === ((T = (m = (f = ml.value) == null ? void 0 : f.split("a")) == null ? void 0 : m[1]) == null ? void 0 : T.toString());
1990
2012
  });
1991
2013
  if ((_ = (j = (C = W(u)) == null ? void 0 : C.find((r) => (r == null ? void 0 : r.key) === "header")) == null ? void 0 : j.contents) == null || _.forEach((r) => {
1992
- var S, f, m, T, X;
1993
- t === "" && ((m = (f = (S = r == null ? void 0 : r.optionUrl) == null ? void 0 : S.groupSelect) == null ? void 0 : f[1]) != null && m.includes("[")) && (t = (X = (T = r == null ? void 0 : r.optionUrl) == null ? void 0 : T.groupSelect) == null ? void 0 : X[1]);
2014
+ var b, f, m, T, Q;
2015
+ t === "" && ((m = (f = (b = r == null ? void 0 : r.optionUrl) == null ? void 0 : b.groupSelect) == null ? void 0 : f[1]) != null && m.includes("[")) && (t = (Q = (T = r == null ? void 0 : r.optionUrl) == null ? void 0 : T.groupSelect) == null ? void 0 : Q[1]);
1994
2016
  }), (K = c == null ? void 0 : c.optionUrl) != null && K.menuSelect) {
1995
- let r = await an(c), S;
2017
+ let r = await un(c), b;
1996
2018
  if (r == null || r.forEach((f) => {
1997
- var m, T, X, $, ae, O, U, y, F, x;
1998
- t === ((T = (m = c == null ? void 0 : c.optionUrl) == null ? void 0 : m.groupSelect) == null ? void 0 : T[1]) && ((ae = ($ = (X = c == null ? void 0 : c.optionUrl) == null ? void 0 : X.groupSelect) == null ? void 0 : $[1]) != null && ae.includes("[")) && ((x = W(f)) == null ? void 0 : x[(F = (y = (U = (O = c == null ? void 0 : c.optionUrl) == null ? void 0 : O.groupSelect) == null ? void 0 : U[1]) == null ? void 0 : y.replaceAll("[", "")) == null ? void 0 : F.replaceAll("]", "")]) === (c == null ? void 0 : c.value) && (S = f);
1999
- }), S) {
2019
+ var m, T, Q, $, le, O, U, y, F, x;
2020
+ t === ((T = (m = c == null ? void 0 : c.optionUrl) == null ? void 0 : m.groupSelect) == null ? void 0 : T[1]) && ((le = ($ = (Q = c == null ? void 0 : c.optionUrl) == null ? void 0 : Q.groupSelect) == null ? void 0 : $[1]) != null && le.includes("[")) && ((x = W(f)) == null ? void 0 : x[(F = (y = (U = (O = c == null ? void 0 : c.optionUrl) == null ? void 0 : O.groupSelect) == null ? void 0 : U[1]) == null ? void 0 : y.replaceAll("[", "")) == null ? void 0 : F.replaceAll("]", "")]) === (c == null ? void 0 : c.value) && (b = f);
2021
+ }), b) {
2000
2022
  let f = W(o);
2001
2023
  f = f == null ? void 0 : f.map((T) => {
2002
- var X, $, ae, O, U, y, F, x, A, z, k;
2003
- return (S != null && S[T == null ? void 0 : T.label] || S != null && S[(O = (ae = ($ = (X = T == null ? void 0 : T.optionUrl) == null ? void 0 : X.groupSelect) == null ? void 0 : $[1]) == null ? void 0 : ae.replaceAll("[", "")) == null ? void 0 : O.replaceAll("]", "")]) && ((F = (y = (U = T == null ? void 0 : T.optionUrl) == null ? void 0 : U.groupSelect) == null ? void 0 : y[1]) != null && F.includes("[")) && (T.value = (S == null ? void 0 : S[T == null ? void 0 : T.label]) || (S == null ? void 0 : S[(k = (z = (A = (x = T == null ? void 0 : T.optionUrl) == null ? void 0 : x.groupSelect) == null ? void 0 : A[1]) == null ? void 0 : z.replaceAll("[", "")) == null ? void 0 : k.replaceAll("]", "")])), T;
2004
- }), ee.value = (M = W(ee.value)) == null ? void 0 : M.map((T) => {
2024
+ var Q, $, le, O, U, y, F, x, A, z, k;
2025
+ return (b != null && b[T == null ? void 0 : T.label] || b != null && b[(O = (le = ($ = (Q = T == null ? void 0 : T.optionUrl) == null ? void 0 : Q.groupSelect) == null ? void 0 : $[1]) == null ? void 0 : le.replaceAll("[", "")) == null ? void 0 : O.replaceAll("]", "")]) && ((F = (y = (U = T == null ? void 0 : T.optionUrl) == null ? void 0 : U.groupSelect) == null ? void 0 : y[1]) != null && F.includes("[")) && (T.value = (b == null ? void 0 : b[T == null ? void 0 : T.label]) || (b == null ? void 0 : b[(k = (z = (A = (x = T == null ? void 0 : T.optionUrl) == null ? void 0 : x.groupSelect) == null ? void 0 : A[1]) == null ? void 0 : z.replaceAll("[", "")) == null ? void 0 : k.replaceAll("]", "")])), T;
2026
+ }), V.value = (M = W(V.value)) == null ? void 0 : M.map((T) => {
2005
2027
  if ((T == null ? void 0 : T.id) === (l == null ? void 0 : l.id)) {
2006
- const X = {};
2028
+ const Q = {};
2007
2029
  return f == null || f.forEach(($) => {
2008
- X[$.name] = $.value;
2009
- }), X.id = T == null ? void 0 : T.id, X;
2030
+ Q[$.name] = $.value;
2031
+ }), Q.id = T == null ? void 0 : T.id, Q;
2010
2032
  }
2011
2033
  return T;
2012
2034
  });
2013
2035
  let m = W(f);
2014
2036
  m = m == null ? void 0 : m.map((T) => {
2015
- var X, $, ae, O;
2016
- return ($ = (X = T == null ? void 0 : T.optionUrl) == null ? void 0 : X.menuSelect) != null && $.some((U) => U == null ? void 0 : U.includes) && (T.optionUrl.menuSelect = (O = (ae = T == null ? void 0 : T.optionUrl) == null ? void 0 : ae.menuSelect) == null ? void 0 : O.map((U) => {
2037
+ var Q, $, le, O;
2038
+ return ($ = (Q = T == null ? void 0 : T.optionUrl) == null ? void 0 : Q.menuSelect) != null && $.some((U) => U == null ? void 0 : U.includes) && (T.optionUrl.menuSelect = (O = (le = T == null ? void 0 : T.optionUrl) == null ? void 0 : le.menuSelect) == null ? void 0 : O.map((U) => {
2017
2039
  var y, F, x, A;
2018
2040
  if (U != null && U.includes("[")) {
2019
2041
  let z = (F = (y = U == null ? void 0 : U.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : y.split(":")) == null ? void 0 : F[1];
@@ -2021,50 +2043,50 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
2021
2043
  }
2022
2044
  return U;
2023
2045
  })), T;
2024
- }), ee.value = (N = W(ee.value)) == null ? void 0 : N.map((T) => {
2046
+ }), V.value = (N = W(V.value)) == null ? void 0 : N.map((T) => {
2025
2047
  if ((T == null ? void 0 : T.id) === (l == null ? void 0 : l.id)) {
2026
- const X = {};
2048
+ const Q = {};
2027
2049
  return m == null || m.forEach(($) => {
2028
- X[$.name] = $.value;
2029
- }), X.id = T == null ? void 0 : T.id, X;
2050
+ Q[$.name] = $.value;
2051
+ }), Q.id = T == null ? void 0 : T.id, Q;
2030
2052
  }
2031
2053
  return T;
2032
2054
  });
2033
2055
  }
2034
2056
  }
2035
- }, er = async (e) => {
2036
- var b, D, w, g, C, j, _, K, M, N, r, S, f, m, T, X, $, ae;
2057
+ }, nr = async (e) => {
2058
+ var S, D, w, g, C, j, _, K, M, N, r, b, f, m, T, Q, $, le;
2037
2059
  if (!e) return;
2038
- Fe.value = e;
2060
+ Je.value = e;
2039
2061
  const l = W(s.itemData);
2040
2062
  let n = l == null ? void 0 : l.map((O) => {
2041
2063
  var U;
2042
2064
  return (O == null ? void 0 : O.key) === "header" && ((U = O.contents) == null || U.map((y, F) => {
2043
- var x, A, z, k, J, h, Y, de, ne, Ae, Se, E, p, he, pe, fe, Oe, $e, Re;
2044
- return y.type = y != null && y.type ? y.type : (k = (z = (A = (x = y == null ? void 0 : y.key) == null ? void 0 : x.split("$")) == null ? void 0 : A[1]) == null ? void 0 : z.split("(")) != null && k[0] ? (h = (J = Qa) == null ? void 0 : J.find((Te) => {
2045
- var We, qe, fl, gl;
2046
- return (Te == null ? void 0 : Te.key) === ((gl = (fl = (qe = (We = y == null ? void 0 : y.key) == null ? void 0 : We.split("$")) == null ? void 0 : qe[1]) == null ? void 0 : fl.split("(")) == null ? void 0 : gl[0]);
2047
- })) == null ? void 0 : h.value : "Input", y.options = y != null && y.options ? y.options : ((ne = (de = (Y = y == null ? void 0 : y.key) == null ? void 0 : Y.split("$")) == null ? void 0 : de[1]) == null ? void 0 : ne.length) > 0 ? (p = (E = en((Se = (Ae = y == null ? void 0 : y.key) == null ? void 0 : Ae.split("$")) == null ? void 0 : Se[1])) == null ? void 0 : E.split(",")) == null ? void 0 : p.map((Te) => ({
2065
+ var x, A, z, k, J, h, Z, ce, ae, Ae, be, E, p, ge, de, pe, Ce, Le, Ge;
2066
+ return y.type = y != null && y.type ? y.type : (k = (z = (A = (x = y == null ? void 0 : y.key) == null ? void 0 : x.split("$")) == null ? void 0 : A[1]) == null ? void 0 : z.split("(")) != null && k[0] ? (h = (J = Za) == null ? void 0 : J.find((Te) => {
2067
+ var He, Qe, hl, yl;
2068
+ return (Te == null ? void 0 : Te.key) === ((yl = (hl = (Qe = (He = y == null ? void 0 : y.key) == null ? void 0 : He.split("$")) == null ? void 0 : Qe[1]) == null ? void 0 : hl.split("(")) == null ? void 0 : yl[0]);
2069
+ })) == null ? void 0 : h.value : "Input", y.options = y != null && y.options ? y.options : ((ae = (ce = (Z = y == null ? void 0 : y.key) == null ? void 0 : Z.split("$")) == null ? void 0 : ce[1]) == null ? void 0 : ae.length) > 0 ? (p = (E = nn((be = (Ae = y == null ? void 0 : y.key) == null ? void 0 : Ae.split("$")) == null ? void 0 : be[1])) == null ? void 0 : E.split(",")) == null ? void 0 : p.map((Te) => ({
2048
2070
  label: Te,
2049
2071
  value: Te
2050
- })) : [], (he = y == null ? void 0 : y.key) != null && he.includes("$") && (y.key = (fe = (pe = y == null ? void 0 : y.key) == null ? void 0 : pe.split("$")) == null ? void 0 : fe[0]), y.value = (Oe = Object.values(e)) == null ? void 0 : Oe[F], y.optionUrl = y != null && y.formMenuSelect && (($e = y == null ? void 0 : y.formMenuSelect) == null ? void 0 : $e.length) > 0 ? {
2051
- groupSelect: (Re = y == null ? void 0 : y.groupSelect) == null ? void 0 : Re.split(/[::]/).map((Te) => Te.trim()),
2072
+ })) : [], (ge = y == null ? void 0 : y.key) != null && ge.includes("$") && (y.key = (pe = (de = y == null ? void 0 : y.key) == null ? void 0 : de.split("$")) == null ? void 0 : pe[0]), y.value = (Ce = Object.values(e)) == null ? void 0 : Ce[F], y.optionUrl = y != null && y.formMenuSelect && ((Le = y == null ? void 0 : y.formMenuSelect) == null ? void 0 : Le.length) > 0 ? {
2073
+ groupSelect: (Ge = y == null ? void 0 : y.groupSelect) == null ? void 0 : Ge.split(/[::]/).map((Te) => Te.trim()),
2052
2074
  menuSelect: y == null ? void 0 : y.formMenuSelect,
2053
2075
  selectRelateType: "",
2054
2076
  type: (y == null ? void 0 : y.formType) ?? (y != null && y.groupSelect ? "Select" : "")
2055
2077
  } : null, y;
2056
2078
  })), O;
2057
- }), a = Ne.value, u = (D = (b = W(n)) == null ? void 0 : b.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : D.contents;
2079
+ }), a = Ne.value, u = (D = (S = W(n)) == null ? void 0 : S.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : D.contents;
2058
2080
  if (u = u == null ? void 0 : u.filter((O) => (O == null ? void 0 : O.label) !== "操作"), u.push({
2059
2081
  label: "操作",
2060
2082
  type: "operate"
2061
2083
  }), a = a == null ? void 0 : a.map((O) => {
2062
2084
  var U;
2063
2085
  return O.value = O.value ?? ((U = u == null ? void 0 : u.find((y, F) => (y == null ? void 0 : y.prop) === (O == null ? void 0 : O.name))) == null ? void 0 : U.value), O;
2064
- }), !Nl.value) return;
2086
+ }), !Fl.value) return;
2065
2087
  let o = "", i = (C = (g = (w = W(n)) == null ? void 0 : w.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : g.contents) == null ? void 0 : C.find((O, U) => {
2066
2088
  var y, F, x;
2067
- return (O == null ? void 0 : O.label) === Tl.value || (U == null ? void 0 : U.toString()) === ((x = (F = (y = Tl.value) == null ? void 0 : y.split("a")) == null ? void 0 : F[1]) == null ? void 0 : x.toString());
2089
+ return (O == null ? void 0 : O.label) === ml.value || (U == null ? void 0 : U.toString()) === ((x = (F = (y = ml.value) == null ? void 0 : y.split("a")) == null ? void 0 : F[1]) == null ? void 0 : x.toString());
2068
2090
  }), t = (j = i == null ? void 0 : i.optionUrl) == null ? void 0 : j.menuSelect, c = !0;
2069
2091
  (M = (K = (_ = W(n)) == null ? void 0 : _.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : K.contents) == null || M.forEach((O) => {
2070
2092
  var U, y, F, x, A, z;
@@ -2074,60 +2096,60 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
2074
2096
  if (d = d == null ? void 0 : d.map((O) => {
2075
2097
  var U, y;
2076
2098
  return (O == null ? void 0 : O.type) === "Select" && ((y = (U = O == null ? void 0 : O.optionUrl) == null ? void 0 : U.allSelectionContents) == null ? void 0 : y.length) > 0 && (O.optionUrl.contactValue = e), O.value = e == null ? void 0 : e[O == null ? void 0 : O.prop], O;
2077
- }), Ne.value = W(d), (N = i == null ? void 0 : i.optionUrl) != null && N.menuSelect && Nl.value || (f = (S = (r = Ne.value) == null ? void 0 : r[0]) == null ? void 0 : S.optionUrl) != null && f.menuId) {
2078
- let O = await an(i, (X = (T = (m = Ne.value) == null ? void 0 : m[0]) == null ? void 0 : T.optionUrl) == null ? void 0 : X.menuId), U;
2099
+ }), Ne.value = W(d), (N = i == null ? void 0 : i.optionUrl) != null && N.menuSelect && Fl.value || (f = (b = (r = Ne.value) == null ? void 0 : r[0]) == null ? void 0 : b.optionUrl) != null && f.menuId) {
2100
+ let O = await un(i, (Q = (T = (m = Ne.value) == null ? void 0 : m[0]) == null ? void 0 : T.optionUrl) == null ? void 0 : Q.menuId), U;
2079
2101
  if (($ = i == null ? void 0 : i.optionUrl) == null || $.menuSelect, O == null || O.forEach((y) => {
2080
- var F, x, A, z, k, J, h, Y, de, ne, Ae, Se, E, p, he, pe, fe;
2081
- o === ((x = (F = i == null ? void 0 : i.optionUrl) == null ? void 0 : F.groupSelect) == null ? void 0 : x[1]) && ((k = (z = (A = i == null ? void 0 : i.optionUrl) == null ? void 0 : A.groupSelect) == null ? void 0 : z[1]) != null && k.includes("[")) && ((ne = W(y)) == null ? void 0 : ne[(de = (Y = (h = (J = i == null ? void 0 : i.optionUrl) == null ? void 0 : J.groupSelect) == null ? void 0 : h[1]) == null ? void 0 : Y.replaceAll("[", "")) == null ? void 0 : de.replaceAll("]", "")]) === (i == null ? void 0 : i.value) && (U = y), (E = (Se = (Ae = Ne.value) == null ? void 0 : Ae[0]) == null ? void 0 : Se.optionUrl) != null && E.menuId && y[(he = (p = Ne.value) == null ? void 0 : p[0]) == null ? void 0 : he.prop] === e[(fe = (pe = Ne.value) == null ? void 0 : pe[0]) == null ? void 0 : fe.prop] && (U = y);
2102
+ var F, x, A, z, k, J, h, Z, ce, ae, Ae, be, E, p, ge, de, pe;
2103
+ o === ((x = (F = i == null ? void 0 : i.optionUrl) == null ? void 0 : F.groupSelect) == null ? void 0 : x[1]) && ((k = (z = (A = i == null ? void 0 : i.optionUrl) == null ? void 0 : A.groupSelect) == null ? void 0 : z[1]) != null && k.includes("[")) && ((ae = W(y)) == null ? void 0 : ae[(ce = (Z = (h = (J = i == null ? void 0 : i.optionUrl) == null ? void 0 : J.groupSelect) == null ? void 0 : h[1]) == null ? void 0 : Z.replaceAll("[", "")) == null ? void 0 : ce.replaceAll("]", "")]) === (i == null ? void 0 : i.value) && (U = y), (E = (be = (Ae = Ne.value) == null ? void 0 : Ae[0]) == null ? void 0 : be.optionUrl) != null && E.menuId && y[(ge = (p = Ne.value) == null ? void 0 : p[0]) == null ? void 0 : ge.prop] === e[(pe = (de = Ne.value) == null ? void 0 : de[0]) == null ? void 0 : pe.prop] && (U = y);
2082
2104
  }), U) {
2083
2105
  let y = W(a);
2084
2106
  y = y == null ? void 0 : y.map((A) => {
2085
- var z, k, J, h, Y, de, ne, Ae, Se, E, p, he, pe, fe, Oe, $e, Re, Te;
2086
- return (U != null && U[A == null ? void 0 : A.label] || U != null && U[(h = (J = (k = (z = A == null ? void 0 : A.optionUrl) == null ? void 0 : z.groupSelect) == null ? void 0 : k[1]) == null ? void 0 : J.replaceAll("[", "")) == null ? void 0 : h.replaceAll("]", "")]) && ((ne = (de = (Y = A == null ? void 0 : A.optionUrl) == null ? void 0 : Y.groupSelect) == null ? void 0 : de[1]) != null && ne.includes("[")) && (A.value = (U == null ? void 0 : U[A == null ? void 0 : A.label]) || (U == null ? void 0 : U[(p = (E = (Se = (Ae = A == null ? void 0 : A.optionUrl) == null ? void 0 : Ae.groupSelect) == null ? void 0 : Se[1]) == null ? void 0 : E.replaceAll("[", "")) == null ? void 0 : p.replaceAll("]", "")])), (fe = (pe = (he = Ne.value) == null ? void 0 : he[0]) == null ? void 0 : pe.optionUrl) != null && fe.menuId && (A.value = (U == null ? void 0 : U[A == null ? void 0 : A.label]) || (U == null ? void 0 : U[(Te = (Re = ($e = (Oe = A == null ? void 0 : A.optionUrl) == null ? void 0 : Oe.groupSelect) == null ? void 0 : $e[1]) == null ? void 0 : Re.replaceAll("[", "")) == null ? void 0 : Te.replaceAll("]", "")])), A;
2107
+ var z, k, J, h, Z, ce, ae, Ae, be, E, p, ge, de, pe, Ce, Le, Ge, Te;
2108
+ return (U != null && U[A == null ? void 0 : A.label] || U != null && U[(h = (J = (k = (z = A == null ? void 0 : A.optionUrl) == null ? void 0 : z.groupSelect) == null ? void 0 : k[1]) == null ? void 0 : J.replaceAll("[", "")) == null ? void 0 : h.replaceAll("]", "")]) && ((ae = (ce = (Z = A == null ? void 0 : A.optionUrl) == null ? void 0 : Z.groupSelect) == null ? void 0 : ce[1]) != null && ae.includes("[")) && (A.value = (U == null ? void 0 : U[A == null ? void 0 : A.label]) || (U == null ? void 0 : U[(p = (E = (be = (Ae = A == null ? void 0 : A.optionUrl) == null ? void 0 : Ae.groupSelect) == null ? void 0 : be[1]) == null ? void 0 : E.replaceAll("[", "")) == null ? void 0 : p.replaceAll("]", "")])), (pe = (de = (ge = Ne.value) == null ? void 0 : ge[0]) == null ? void 0 : de.optionUrl) != null && pe.menuId && (A.value = (U == null ? void 0 : U[A == null ? void 0 : A.label]) || (U == null ? void 0 : U[(Te = (Ge = (Le = (Ce = A == null ? void 0 : A.optionUrl) == null ? void 0 : Ce.groupSelect) == null ? void 0 : Le[1]) == null ? void 0 : Ge.replaceAll("[", "")) == null ? void 0 : Te.replaceAll("]", "")])), A;
2087
2109
  }), Ne.value = W(y);
2088
2110
  let F = W(y);
2089
2111
  F = F == null ? void 0 : F.map((A) => {
2090
- var z, k, J, h, Y, de;
2091
- return (k = (z = A == null ? void 0 : A.optionUrl) == null ? void 0 : z.menuSelect) != null && k.some((ne) => ne == null ? void 0 : ne.includes("[")) && (A.optionUrl.oldMenuSelect = (h = (J = W(A)) == null ? void 0 : J.optionUrl) == null ? void 0 : h.menuSelect, A.optionUrl.menuSelect = (de = (Y = A == null ? void 0 : A.optionUrl) == null ? void 0 : Y.menuSelect) == null ? void 0 : de.map((ne) => {
2092
- var Ae, Se, E, p;
2093
- if (ne != null && ne.includes("[")) {
2094
- let he = (Se = (Ae = ne == null ? void 0 : ne.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Ae.split(":")) == null ? void 0 : Se[1];
2095
- ne = (p = (E = W(y)) == null ? void 0 : E.find((pe) => (pe == null ? void 0 : pe.label) === he)) == null ? void 0 : p.value;
2112
+ var z, k, J, h, Z, ce;
2113
+ return (k = (z = A == null ? void 0 : A.optionUrl) == null ? void 0 : z.menuSelect) != null && k.some((ae) => ae == null ? void 0 : ae.includes("[")) && (A.optionUrl.oldMenuSelect = (h = (J = W(A)) == null ? void 0 : J.optionUrl) == null ? void 0 : h.menuSelect, A.optionUrl.menuSelect = (ce = (Z = A == null ? void 0 : A.optionUrl) == null ? void 0 : Z.menuSelect) == null ? void 0 : ce.map((ae) => {
2114
+ var Ae, be, E, p;
2115
+ if (ae != null && ae.includes("[")) {
2116
+ let ge = (be = (Ae = ae == null ? void 0 : ae.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Ae.split(":")) == null ? void 0 : be[1];
2117
+ ae = (p = (E = W(y)) == null ? void 0 : E.find((de) => (de == null ? void 0 : de.label) === ge)) == null ? void 0 : p.value;
2096
2118
  }
2097
- return ne;
2119
+ return ae;
2098
2120
  })), A;
2099
2121
  }), Ne.value = F;
2100
2122
  let x = {};
2101
- (ae = Ne.value) == null || ae.forEach((A) => {
2123
+ (le = Ne.value) == null || le.forEach((A) => {
2102
2124
  x[A.prop] = A == null ? void 0 : A.value;
2103
- }), Fe.value = x;
2125
+ }), Je.value = x;
2104
2126
  }
2105
2127
  }
2106
- Nl.value = !1;
2107
- }, lr = (e) => e ? (e == null ? void 0 : e.toUpperCase()) === "INPUT" ? "TEXTAREA" : e : "TEXTAREA", ar = (e) => {
2128
+ Fl.value = !1;
2129
+ }, rr = (e) => e ? (e == null ? void 0 : e.toUpperCase()) === "INPUT" ? "TEXTAREA" : e : "TEXTAREA", ur = (e) => {
2108
2130
  var o, i;
2109
- const l = (i = (o = Ze.value) == null ? void 0 : o.find((t) => (t == null ? void 0 : t.label) === (e == null ? void 0 : e.label))) == null ? void 0 : i.multiple, n = e == null ? void 0 : e.prop;
2131
+ const l = (i = (o = el.value) == null ? void 0 : o.find((t) => (t == null ? void 0 : t.label) === (e == null ? void 0 : e.label))) == null ? void 0 : i.multiple, n = e == null ? void 0 : e.prop;
2110
2132
  if ((e == null ? void 0 : e.formType) != "Select")
2111
2133
  return;
2112
- ee.value.forEach((t) => {
2134
+ V.value.forEach((t) => {
2113
2135
  const c = t == null ? void 0 : t[n];
2114
- l && Va(c) && (t[n] = [c]), !l && !Va(c) && (t[n] = "");
2136
+ l && an(c) && (t[n] = [c]), !l && !an(c) && (t[n] = "");
2115
2137
  });
2116
- }, ja = (e, l) => {
2138
+ }, Pa = (e, l) => {
2117
2139
  var n;
2118
2140
  return l == null || l.forEach((a) => {
2119
2141
  e[a == null ? void 0 : a.prop] = a == null ? void 0 : a.value;
2120
- }), e.children && ((n = e.children) == null ? void 0 : n.length) > 0 && (e.children = e.children.map((a) => ja(a, l))), e;
2121
- }, ga = (e) => {
2142
+ }), e.children && ((n = e.children) == null ? void 0 : n.length) > 0 && (e.children = e.children.map((a) => Pa(a, l))), e;
2143
+ }, va = (e) => {
2122
2144
  var n, a, u, o, i, t;
2123
- Fl("");
2145
+ Jl("");
2124
2146
  const l = (n = Ne.value) == null ? void 0 : n.reduce((c, d) => (c[d.name] = d.value, c), {});
2125
2147
  if (((a = Object.keys(l)) == null ? void 0 : a.length) > 0) {
2126
- Fe.value = l, ul.value = "", _l.value = (u = ee.value) == null ? void 0 : u.length, Cl.value = (o = Sl.value) == null ? void 0 : o.filter((d) => (d == null ? void 0 : d.label) !== "新增");
2127
- const c = (t = (i = Xe.value) == null ? void 0 : i.filter((d) => (d == null ? void 0 : d.label) !== "操作")) == null ? void 0 : t.map((d) => {
2148
+ Je.value = l, il.value = "", Dl.value = (u = V.value) == null ? void 0 : u.length, El.value = (o = Tl.value) == null ? void 0 : o.filter((d) => (d == null ? void 0 : d.label) !== "新增");
2149
+ const c = (t = (i = Ie.value) == null ? void 0 : i.filter((d) => (d == null ? void 0 : d.label) !== "操作")) == null ? void 0 : t.map((d) => {
2128
2150
  var D, w, g;
2129
- const b = (w = (D = Ze.value) == null ? void 0 : D.find((C) => (C == null ? void 0 : C.label) === (d == null ? void 0 : d.label))) == null ? void 0 : w.multiple;
2130
- return ar(d), {
2151
+ const S = (w = (D = el.value) == null ? void 0 : D.find((C) => (C == null ? void 0 : C.label) === (d == null ? void 0 : d.label))) == null ? void 0 : w.multiple;
2152
+ return ur(d), {
2131
2153
  ...d,
2132
2154
  contents: (d == null ? void 0 : d.options) ?? [],
2133
2155
  // type: 'edit',
@@ -2136,32 +2158,32 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
2136
2158
  menuSelect: d == null ? void 0 : d.formMenuSelect,
2137
2159
  selectRelateType: "",
2138
2160
  type: d == null ? void 0 : d.formType,
2139
- multiple: b
2161
+ multiple: S
2140
2162
  } : null
2141
2163
  // 表格编辑视图组件类型:兼容表头类型切换逻辑,优先模型里定义的类型,其次是手动配置的类型
2142
2164
  // columnType: convertColType(col?.formType) || col?.columnType
2143
2165
  };
2144
2166
  });
2145
- G.value = c == null ? void 0 : c.map((d) => ja(d, [{
2167
+ G.value = c == null ? void 0 : c.map((d) => Pa(d, [{
2146
2168
  prop: "type",
2147
2169
  value: "edit"
2148
- }, { prop: "columnType", value: lr(d == null ? void 0 : d.formType) || (d == null ? void 0 : d.columnType) }])), e === "createClick" && Kl(!1);
2170
+ }, { prop: "columnType", value: rr(d == null ? void 0 : d.formType) || (d == null ? void 0 : d.columnType) }])), e === "createClick" && Rl(!1);
2149
2171
  }
2150
- }, Ol = {
2172
+ }, jl = {
2151
2173
  START: "开始时间",
2152
2174
  END: "结束时间",
2153
2175
  HOURS: "工时"
2154
- }, nr = (e, l) => Number(Xa(l).diff(Xa(e), "day", !0).toFixed(1)), La = (e) => {
2176
+ }, sr = (e, l) => Number(Ia(l).diff(Ia(e), "day", !0).toFixed(1)), Ba = (e) => {
2155
2177
  var o;
2156
2178
  const l = s.itemData, n = (o = l == null ? void 0 : l.find((i) => (i == null ? void 0 : i.key) === "header")) == null ? void 0 : o.contents, a = /* @__PURE__ */ new Map();
2157
2179
  return n == null || n.forEach((i, t) => {
2158
2180
  const { label: c } = i;
2159
2181
  a.set(c, t);
2160
- }), !a.has(Ol.START) || !a.has(Ol.END) || !a.has(Ol.HOURS) ? e : e == null ? void 0 : e.map((i) => {
2161
- const t = i == null ? void 0 : i[Ol.START], c = i == null ? void 0 : i[Ol.END], d = nr(t, c);
2162
- return t && c && (i[Ol.HOURS] = `${d}天`), i;
2182
+ }), !a.has(jl.START) || !a.has(jl.END) || !a.has(jl.HOURS) ? e : e == null ? void 0 : e.map((i) => {
2183
+ const t = i == null ? void 0 : i[jl.START], c = i == null ? void 0 : i[jl.END], d = sr(t, c);
2184
+ return t && c && (i[jl.HOURS] = `${d}天`), i;
2163
2185
  });
2164
- }, $a = (e, l, n = 0) => {
2186
+ }, Na = (e, l, n = 0) => {
2165
2187
  if (n > ((l == null ? void 0 : l.length) ?? "")) return e;
2166
2188
  const a = l == null ? void 0 : l[n], u = /* @__PURE__ */ new Map();
2167
2189
  for (const i of e) {
@@ -2170,47 +2192,47 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
2170
2192
  }
2171
2193
  const o = [];
2172
2194
  for (const [i, t] of u) {
2173
- const [c, ...d] = t, b = { ...c };
2174
- n + 1 === ((l == null ? void 0 : l.length) ?? "") ? b.children = t == null ? void 0 : t.map((D) => (D.level = W(n) + 1, D)).filter((D, w) => w !== 0) : d.length > 0 && (b.children = $a(d, l, n + 1)), b.level = n, o.push(b);
2195
+ const [c, ...d] = t, S = { ...c };
2196
+ n + 1 === ((l == null ? void 0 : l.length) ?? "") ? S.children = t == null ? void 0 : t.map((D) => (D.level = W(n) + 1, D)).filter((D, w) => w !== 0) : d.length > 0 && (S.children = Na(d, l, n + 1)), S.level = n, o.push(S);
2175
2197
  }
2176
2198
  return o;
2177
- }, Pa = (e, l, n) => {
2199
+ }, Ma = (e, l, n) => {
2178
2200
  var u;
2179
2201
  if (!(l != null && l.contents) || ((u = l == null ? void 0 : l.contents) == null ? void 0 : u.length) === 0)
2180
2202
  return e;
2181
2203
  let a = [];
2182
- return a = $a(e, l == null ? void 0 : l.contents, 0), a;
2183
- }, Ba = (e, l) => {
2184
- var w, g, C, j, _, K, M, N, r, S, f, m, T, X, $, ae, O, U, y, F, x, A, z, k, J;
2204
+ return a = Na(e, l == null ? void 0 : l.contents, 0), a;
2205
+ }, wa = (e, l) => {
2206
+ var w, g, C, j, _, K, M, N, r, b, f, m, T, Q, $, le, O, U, y, F, x, A, z, k, J;
2185
2207
  const n = e == null ? void 0 : e.filter((h) => (h == null ? void 0 : h.key) === "header");
2186
2208
  e == null || e.filter((h) => (h == null ? void 0 : h.key) === "tableIndexColumn")[0];
2187
2209
  const a = e == null ? void 0 : e.filter((h) => (h == null ? void 0 : h.key) === "childTree")[0];
2188
2210
  let u = l;
2189
2211
  const o = e == null ? void 0 : e.find((h) => (h == null ? void 0 : h.key) === "page"), i = e == null ? void 0 : e.find((h) => (h == null ? void 0 : h.key) === "rowButton"), t = e == null ? void 0 : e.find((h) => (h == null ? void 0 : h.key) === "extraButton"), c = e == null ? void 0 : e.filter((h) => (h == null ? void 0 : h.key) === "tableContents"), d = e == null ? void 0 : e.filter((h) => (h == null ? void 0 : h.key) === "tableIndex");
2190
- Ze.value = (g = (w = e == null ? void 0 : e.filter((h) => (h == null ? void 0 : h.key) === "tableToForm")) == null ? void 0 : w[0]) == null ? void 0 : g.contents, Sa.value = (o == null ? void 0 : o.contents) ?? !0;
2191
- let b = [];
2192
- kl.value === "" ? b = n == null ? void 0 : n[0] : b = (n == null ? void 0 : n.find((h) => (h == null ? void 0 : h.selectLabel) === "(" + kl.value + ")")) ?? (n == null ? void 0 : n.find((h) => !(h != null && h.selectLabel)));
2212
+ el.value = (g = (w = e == null ? void 0 : e.filter((h) => (h == null ? void 0 : h.key) === "tableToForm")) == null ? void 0 : w[0]) == null ? void 0 : g.contents, Aa.value = (o == null ? void 0 : o.contents) ?? !0;
2213
+ let S = [];
2214
+ Al.value === "" ? S = n == null ? void 0 : n[0] : S = (n == null ? void 0 : n.find((h) => (h == null ? void 0 : h.selectLabel) === "(" + Al.value + ")")) ?? (n == null ? void 0 : n.find((h) => !(h != null && h.selectLabel)));
2193
2215
  let D = [];
2194
- if (kl.value === "" ? D = d == null ? void 0 : d[0] : D = (d == null ? void 0 : d.find((h) => (h == null ? void 0 : h.selectLabel) === "(" + kl.value + ")")) ?? (d == null ? void 0 : d.find((h) => !(h != null && h.selectLabel))), ((C = b == null ? void 0 : b.contents) == null ? void 0 : C.length) > 0) {
2216
+ if (Al.value === "" ? D = d == null ? void 0 : d[0] : D = (d == null ? void 0 : d.find((h) => (h == null ? void 0 : h.selectLabel) === "(" + Al.value + ")")) ?? (d == null ? void 0 : d.find((h) => !(h != null && h.selectLabel))), ((C = S == null ? void 0 : S.contents) == null ? void 0 : C.length) > 0) {
2195
2217
  let h = [];
2196
- if (b != null && b.contents.some((E) => Array.isArray(E) && (E == null ? void 0 : E.find((p) => p.children))))
2197
- il.value === "" ? h = (_ = (j = Ga(b == null ? void 0 : b.contents)) == null ? void 0 : j[0]) == null ? void 0 : _.filter((E) => !Array.isArray(E)) : (il.value.split("-"), h = (K = Ga(b == null ? void 0 : b.contents)) == null ? void 0 : K[0]);
2218
+ if (S != null && S.contents.some((E) => Array.isArray(E) && (E == null ? void 0 : E.find((p) => p.children))))
2219
+ cl.value === "" ? h = (_ = (j = Xa(S == null ? void 0 : S.contents)) == null ? void 0 : j[0]) == null ? void 0 : _.filter((E) => !Array.isArray(E)) : (cl.value.split("-"), h = (K = Xa(S == null ? void 0 : S.contents)) == null ? void 0 : K[0]);
2198
2220
  else {
2199
- let E = b != null && b.contents.some((p) => Array.isArray(p)) ? (M = b == null ? void 0 : b.contents) == null ? void 0 : M[0] : b == null ? void 0 : b.contents;
2200
- E == null || E.forEach((p, he) => {
2201
- var Oe, $e, Re, Te, We;
2202
- let pe = "";
2203
- ($e = (Oe = se.value) == null ? void 0 : Oe.split("/")) == null || $e.forEach((qe) => {
2204
- var fl, gl, Dl;
2205
- if (qe !== "") {
2206
- let Ge = (Dl = (gl = (fl = qe == null ? void 0 : qe.split(be + "updateLoading")) == null ? void 0 : fl[0]) == null ? void 0 : gl.split(be + "loading")) == null ? void 0 : Dl[0];
2207
- pe = pe === "" ? pe + Ge : pe + "/" + Ge;
2221
+ let E = S != null && S.contents.some((p) => Array.isArray(p)) ? (M = S == null ? void 0 : S.contents) == null ? void 0 : M[0] : S == null ? void 0 : S.contents;
2222
+ E == null || E.forEach((p, ge) => {
2223
+ var Ce, Le, Ge, Te, He;
2224
+ let de = "";
2225
+ (Le = (Ce = ke.value) == null ? void 0 : Ce.split("/")) == null || Le.forEach((Qe) => {
2226
+ var hl, yl, Ll;
2227
+ if (Qe !== "") {
2228
+ let Xe = (Ll = (yl = (hl = Qe == null ? void 0 : Qe.split(ve + "updateLoading")) == null ? void 0 : hl[0]) == null ? void 0 : yl.split(ve + "loading")) == null ? void 0 : Ll[0];
2229
+ de = de === "" ? de + Xe : de + "/" + Xe;
2208
2230
  }
2209
- }), pe = pe + be + (p == null ? void 0 : p.directiveLabel);
2210
- const fe = (Re = Ze.value) == null ? void 0 : Re.find((qe) => (qe == null ? void 0 : qe.prop) === (p == null ? void 0 : p.prop));
2231
+ }), de = de + ve + (p == null ? void 0 : p.directiveLabel);
2232
+ const pe = (Ge = el.value) == null ? void 0 : Ge.find((Qe) => (Qe == null ? void 0 : Qe.prop) === (p == null ? void 0 : p.prop));
2211
2233
  h.push({
2212
2234
  label: (p == null ? void 0 : p.label) ?? "",
2213
- prop: (p == null ? void 0 : p.label) === "操作" ? "operate" : (p == null ? void 0 : p.prop) ?? "a" + he,
2235
+ prop: (p == null ? void 0 : p.label) === "操作" ? "operate" : (p == null ? void 0 : p.prop) ?? "a" + ge,
2214
2236
  // width: t?.label === '操作' ? '200' : (t?.width ? parseInt(t.width) : ''),
2215
2237
  width: p != null && p.width ? parseInt(p.width) : "",
2216
2238
  fixed: (p == null ? void 0 : p.fixed) ?? void 0,
@@ -2223,7 +2245,7 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
2223
2245
  isNotDrag: (p == null ? void 0 : p.isNotDrag) ?? !1,
2224
2246
  isEditCol: (p == null ? void 0 : p.isEditCol) ?? !1,
2225
2247
  isOperate: (p == null ? void 0 : p.isOperate) ?? !1,
2226
- id: (p == null ? void 0 : p.id) ?? he,
2248
+ id: (p == null ? void 0 : p.id) ?? ge,
2227
2249
  type: (p == null ? void 0 : p.label) === "操作" ? "operate" : void 0,
2228
2250
  formType: (p == null ? void 0 : p.formType) ?? (p != null && p.groupSelect ? "Select" : ""),
2229
2251
  isTableColHidden: p == null ? void 0 : p.isTableColHidden,
@@ -2236,119 +2258,119 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
2236
2258
  groupSelect: p != null && p.groupSelect ? (Te = p == null ? void 0 : p.groupSelect) == null ? void 0 : Te.replaceAll('"', "").split(":") : [],
2237
2259
  isMainKey: p == null ? void 0 : p.isMainKey,
2238
2260
  // 同步弹窗列类型到表格列类型
2239
- columnType: (fe == null ? void 0 : fe.type) || (p == null ? void 0 : p.columnType) || "TEXTAREA",
2261
+ columnType: (pe == null ? void 0 : pe.type) || (p == null ? void 0 : p.columnType) || "TEXTAREA",
2240
2262
  directiveLabel: p == null ? void 0 : p.directiveLabel,
2241
- isExistChild: !!(p != null && p.directiveLabel && !(u != null && u[pe]) && !((We = p == null ? void 0 : p.directiveLabel) != null && We.includes("@"))),
2242
- childPath: pe,
2263
+ isExistChild: !!(p != null && p.directiveLabel && !(u != null && u[de]) && !((He = p == null ? void 0 : p.directiveLabel) != null && He.includes("@"))),
2264
+ childPath: de,
2243
2265
  allSelectionContents: (p == null ? void 0 : p.allSelectionContents) ?? [],
2244
2266
  selectFilter: p == null ? void 0 : p.selectFilter
2245
2267
  });
2246
2268
  });
2247
2269
  }
2248
- G.value = Ha(h), v.value = Ha(h), I.value = (N = G.value) == null ? void 0 : N.map((E) => E == null ? void 0 : E.label), pl.value = (r = G.value) == null ? void 0 : r.every((E) => E == null ? void 0 : E.filterable), ce.value = (S = G.value) == null ? void 0 : S.every((E) => E == null ? void 0 : E.operable), dl.value = (f = G.value) == null ? void 0 : f.every((E) => E == null ? void 0 : E.sortable);
2249
- let Y = (T = (m = Ar(G.value)) == null ? void 0 : m.filter((E) => (E == null ? void 0 : E.type) !== "operate")) == null ? void 0 : T.map((E, p) => ({
2270
+ G.value = Ya(h), Be.value = Ya(h), I.value = (N = G.value) == null ? void 0 : N.map((E) => E == null ? void 0 : E.label), gl.value = (r = G.value) == null ? void 0 : r.every((E) => E == null ? void 0 : E.filterable), te.value = (b = G.value) == null ? void 0 : b.every((E) => E == null ? void 0 : E.operable), fl.value = (f = G.value) == null ? void 0 : f.every((E) => E == null ? void 0 : E.sortable);
2271
+ let Z = (T = (m = xr(G.value)) == null ? void 0 : m.filter((E) => (E == null ? void 0 : E.type) !== "operate")) == null ? void 0 : T.map((E, p) => ({
2250
2272
  prop: (E == null ? void 0 : E.prop) ?? "a" + p,
2251
2273
  column: E.label
2252
2274
  }));
2253
- ll.value = Y;
2254
- let de = [];
2255
- kl.value === "" ? de = c == null ? void 0 : c[0] : de = (c == null ? void 0 : c.find((E) => (E == null ? void 0 : E.selectLabel) === "(" + kl.value + ")")) ?? (c == null ? void 0 : c.find((E) => !(E != null && E.selectLabel)));
2256
- let ne = Array.isArray((X = de == null ? void 0 : de.contents) == null ? void 0 : X[0]) && (($ = de == null ? void 0 : de.contents) != null && $[0].every((E) => Array.isArray(E))) ? (ae = de == null ? void 0 : de.contents) == null ? void 0 : ae[0] : de == null ? void 0 : de.contents;
2257
- D != null && D.contents && ((O = D == null ? void 0 : D.contents) == null ? void 0 : O.length) !== 0 && (ne = (U = W(ne)) == null ? void 0 : U.map((E, p) => {
2275
+ rl.value = Z;
2276
+ let ce = [];
2277
+ Al.value === "" ? ce = c == null ? void 0 : c[0] : ce = (c == null ? void 0 : c.find((E) => (E == null ? void 0 : E.selectLabel) === "(" + Al.value + ")")) ?? (c == null ? void 0 : c.find((E) => !(E != null && E.selectLabel)));
2278
+ let ae = Array.isArray((Q = ce == null ? void 0 : ce.contents) == null ? void 0 : Q[0]) && (($ = ce == null ? void 0 : ce.contents) != null && $[0].every((E) => Array.isArray(E))) ? (le = ce == null ? void 0 : ce.contents) == null ? void 0 : le[0] : ce == null ? void 0 : ce.contents;
2279
+ D != null && D.contents && ((O = D == null ? void 0 : D.contents) == null ? void 0 : O.length) !== 0 && (ae = (U = W(ae)) == null ? void 0 : U.map((E, p) => {
2258
2280
  if (!Array.isArray(E)) {
2259
- let he = {};
2260
- for (let pe in E)
2261
- pe !== "id" && pe !== "index" && (he[pe] = E[pe]);
2262
- E = Object.values(he);
2281
+ let ge = {};
2282
+ for (let de in E)
2283
+ de !== "id" && de !== "index" && (ge[de] = E[de]);
2284
+ E = Object.values(ge);
2263
2285
  }
2264
2286
  return E;
2265
2287
  }));
2266
2288
  const Ae = !!((y = G.value) != null && y.find((E) => E.prop === "index"));
2267
- ne = un(ne, D == null ? void 0 : D.contents, Ae);
2268
- const Se = [];
2269
- ne == null || ne.forEach((E, p) => {
2270
- var pe;
2271
- let he = {};
2289
+ ae = tn(ae, D == null ? void 0 : D.contents, Ae);
2290
+ const be = [];
2291
+ ae == null || ae.forEach((E, p) => {
2292
+ var de;
2293
+ let ge = {};
2272
2294
  if (Array.isArray(E)) {
2273
- let fe = [];
2274
- E == null || E.filter((Oe) => !(Oe != null && Oe.id)).forEach((Oe, $e) => {
2275
- var Re, Te, We, qe, fl, gl;
2276
- if ((Re = Y == null ? void 0 : Y[$e]) != null && Re.prop && !Array.isArray(Oe)) {
2277
- let Dl = {};
2278
- Dl[Y[$e].column] = Oe, Ue != null && Ue.value && ((Te = Ue == null ? void 0 : Ue.value) == null ? void 0 : Te.length) > 0 && ((We = Ue == null ? void 0 : Ue.value) != null && We.find((Ge) => JSON.stringify(Ge == null ? void 0 : Ge[0]) === JSON.stringify(Dl))) && (fe = (qe = Ue == null ? void 0 : Ue.value) == null ? void 0 : qe.find((Ge) => JSON.stringify(Ge == null ? void 0 : Ge[0]) === JSON.stringify(Dl))), fe && fe.length > 0 ? he[Y[$e].prop] = fe != null && fe.find((Ge) => {
2279
- var zl;
2280
- return ((zl = Object.keys(Ge)) == null ? void 0 : zl[0]) === Y[$e].column;
2281
- }) ? (fl = fe == null ? void 0 : fe.find((Ge) => {
2282
- var zl;
2283
- return ((zl = Object.keys(Ge)) == null ? void 0 : zl[0]) === Y[$e].column;
2284
- })) == null ? void 0 : fl[Y[$e].column] : Oe : he[Y[$e].prop] = Oe;
2285
- } else Array.isArray(Oe) && ((gl = Y[$e]) != null && gl.prop ? he[Y[$e].prop] = Oe : he.children = ya(Oe, Y));
2295
+ let pe = [];
2296
+ E == null || E.filter((Ce) => !(Ce != null && Ce.id)).forEach((Ce, Le) => {
2297
+ var Ge, Te, He, Qe, hl, yl;
2298
+ if ((Ge = Z == null ? void 0 : Z[Le]) != null && Ge.prop && !Array.isArray(Ce)) {
2299
+ let Ll = {};
2300
+ Ll[Z[Le].column] = Ce, Ue != null && Ue.value && ((Te = Ue == null ? void 0 : Ue.value) == null ? void 0 : Te.length) > 0 && ((He = Ue == null ? void 0 : Ue.value) != null && He.find((Xe) => JSON.stringify(Xe == null ? void 0 : Xe[0]) === JSON.stringify(Ll))) && (pe = (Qe = Ue == null ? void 0 : Ue.value) == null ? void 0 : Qe.find((Xe) => JSON.stringify(Xe == null ? void 0 : Xe[0]) === JSON.stringify(Ll))), pe && pe.length > 0 ? ge[Z[Le].prop] = pe != null && pe.find((Xe) => {
2301
+ var Wl;
2302
+ return ((Wl = Object.keys(Xe)) == null ? void 0 : Wl[0]) === Z[Le].column;
2303
+ }) ? (hl = pe == null ? void 0 : pe.find((Xe) => {
2304
+ var Wl;
2305
+ return ((Wl = Object.keys(Xe)) == null ? void 0 : Wl[0]) === Z[Le].column;
2306
+ })) == null ? void 0 : hl[Z[Le].column] : Ce : ge[Z[Le].prop] = Ce;
2307
+ } else Array.isArray(Ce) && ((yl = Z[Le]) != null && yl.prop ? ge[Z[Le].prop] = Ce : ge.children = Sa(Ce, Z));
2286
2308
  });
2287
2309
  } else
2288
- he = E;
2289
- Array.isArray(E) && E.some((fe) => fe == null ? void 0 : fe.id) ? Se.push(Object.assign(he, { id: (pe = E == null ? void 0 : E.find((fe) => fe.id)) == null ? void 0 : pe.id })) : he.id ? Se.push(he) : Se.push(Object.assign(he, { id: p.toString() }));
2290
- }), ee.value = Pa(Se, a, G.value), Hl.value = Se, (F = Hl.value) == null || F.forEach((E) => {
2310
+ ge = E;
2311
+ Array.isArray(E) && E.some((pe) => pe == null ? void 0 : pe.id) ? be.push(Object.assign(ge, { id: (de = E == null ? void 0 : E.find((pe) => pe.id)) == null ? void 0 : de.id })) : ge.id ? be.push(ge) : be.push(Object.assign(ge, { id: p.toString() }));
2312
+ }), V.value = Ma(be, a, G.value), Yl.value = be, (F = Yl.value) == null || F.forEach((E) => {
2291
2313
  var p;
2292
- (p = Ql.value) == null || p.set(E.id, E);
2314
+ (p = Zl.value) == null || p.set(E.id, E);
2293
2315
  });
2294
2316
  } else
2295
- G.value = [], Xe.value = [], ee.value = [], Hl.value = [], Ql.value = /* @__PURE__ */ new Map();
2296
- ((x = i == null ? void 0 : i.contents) == null ? void 0 : x.length) > 0 ? bl.value = i == null ? void 0 : i.contents : bl.value = [], ((A = t == null ? void 0 : t.contents) == null ? void 0 : A.length) > 0 ? (Cl.value = t == null ? void 0 : t.contents, Sl.value = t == null ? void 0 : t.contents) : (Cl.value = [], Sl.value = []), _l.value = ((z = ee == null ? void 0 : ee.value) == null ? void 0 : z.length) ?? 0, La(ee.value), Il.value = ee.value, al.value && (G.value = (J = (k = Xe.value) == null ? void 0 : k.filter((h) => (h == null ? void 0 : h.label) !== "操作")) == null ? void 0 : J.map((h) => {
2297
- var Y;
2317
+ G.value = [], Ie.value = [], V.value = [], Yl.value = [], Zl.value = /* @__PURE__ */ new Map();
2318
+ ((x = i == null ? void 0 : i.contents) == null ? void 0 : x.length) > 0 ? kl.value = i == null ? void 0 : i.contents : kl.value = [], ((A = t == null ? void 0 : t.contents) == null ? void 0 : A.length) > 0 ? (El.value = t == null ? void 0 : t.contents, Tl.value = t == null ? void 0 : t.contents) : (El.value = [], Tl.value = []), Dl.value = ((z = V == null ? void 0 : V.value) == null ? void 0 : z.length) ?? 0, Ba(V.value), la.value = V.value, ul.value && (G.value = (J = (k = Ie.value) == null ? void 0 : k.filter((h) => (h == null ? void 0 : h.label) !== "操作")) == null ? void 0 : J.map((h) => {
2319
+ var Z;
2298
2320
  return {
2299
2321
  ...h,
2300
2322
  type: "edit",
2301
- optionUrl: h != null && h.formMenuSelect && ((Y = h == null ? void 0 : h.formMenuSelect) == null ? void 0 : Y.length) > 0 ? {
2323
+ optionUrl: h != null && h.formMenuSelect && ((Z = h == null ? void 0 : h.formMenuSelect) == null ? void 0 : Z.length) > 0 ? {
2302
2324
  groupSelect: h == null ? void 0 : h.groupSelect,
2303
2325
  menuSelect: h == null ? void 0 : h.formMenuSelect,
2304
2326
  selectRelateType: "",
2305
2327
  type: h == null ? void 0 : h.formType
2306
2328
  } : null
2307
2329
  };
2308
- }), ga());
2330
+ }), va());
2309
2331
  };
2310
- He(
2311
- () => [s.itemData, kl.value, fn.value, il.value, Ue == null ? void 0 : Ue.value],
2332
+ Ye(
2333
+ () => [s.itemData, Al.value, yn.value, cl.value, Ue == null ? void 0 : Ue.value],
2312
2334
  async () => {
2313
2335
  var e, l, n, a, u, o;
2314
- if ((e = s == null ? void 0 : s.itemData) != null && e.find((i) => (i == null ? void 0 : i.key) === "columnPath") && !((l = Pl.value) != null && l.find((i) => {
2336
+ if ((e = s == null ? void 0 : s.itemData) != null && e.find((i) => (i == null ? void 0 : i.key) === "columnPath") && !((l = Ml.value) != null && l.find((i) => {
2315
2337
  var t, c;
2316
2338
  return (i == null ? void 0 : i.key) === ((c = (t = s == null ? void 0 : s.itemData) == null ? void 0 : t.find((d) => (d == null ? void 0 : d.key) === "columnPath")) == null ? void 0 : c.contents);
2317
2339
  }))) {
2318
- let i = Pl.value, t = {
2340
+ let i = Ml.value, t = {
2319
2341
  key: (a = (n = s == null ? void 0 : s.itemData) == null ? void 0 : n.find((c) => (c == null ? void 0 : c.key) === "columnPath")) == null ? void 0 : a.contents,
2320
2342
  value: (o = (u = s == null ? void 0 : s.itemData) == null ? void 0 : u.find((c) => (c == null ? void 0 : c.key) === "columnUsingPath")) == null ? void 0 : o.contents
2321
2343
  };
2322
- i != null && i.find((c) => (c == null ? void 0 : c.key) === (t == null ? void 0 : t.key)) ? i = i == null ? void 0 : i.map((c) => ((c == null ? void 0 : c.key) === (t == null ? void 0 : t.key) && (c.value = t.value), c)) : i.push(t), je.setTableViewContents(i);
2344
+ i != null && i.find((c) => (c == null ? void 0 : c.key) === (t == null ? void 0 : t.key)) ? i = i == null ? void 0 : i.map((c) => ((c == null ? void 0 : c.key) === (t == null ? void 0 : t.key) && (c.value = t.value), c)) : i.push(t), Ee.setTableViewContents(i);
2323
2345
  }
2324
- Ba(s.itemData, s.allMapContents);
2346
+ wa(s.itemData, s.allMapContents);
2325
2347
  },
2326
2348
  { deep: !0, immediate: !0 }
2327
- ), He(() => s == null ? void 0 : s.operatingForm, (e) => {
2328
- e != null && e.form && (Fl(e == null ? void 0 : e.form), el.value = e == null ? void 0 : e.dialogTitle, Zl.value = !0, sl.value = !0);
2349
+ ), Ye(() => s == null ? void 0 : s.operatingForm, (e) => {
2350
+ e != null && e.form && (Jl(e == null ? void 0 : e.form), nl.value = e == null ? void 0 : e.dialogTitle, ea.value = !0, tl.value = !0);
2329
2351
  }, { immediate: !0, deep: !0 });
2330
- const Na = () => {
2352
+ const Fa = () => {
2331
2353
  var e;
2332
- (e = xe.value) != null && e.includes("read") && (al.value = !al.value);
2333
- }, rr = () => {
2334
- ea.value = !ea.value;
2354
+ (e = _e.value) != null && e.includes("read") && (ul.value = !ul.value);
2355
+ }, or = () => {
2356
+ na.value = !na.value;
2335
2357
  };
2336
- He(() => {
2358
+ Ye(() => {
2337
2359
  var e;
2338
2360
  return (e = s == null ? void 0 : s.config) == null ? void 0 : e.viewport;
2339
2361
  }, (e) => {
2340
2362
  var l;
2341
- xe.value = e, (e == null ? void 0 : e.length) === 0 ? al.value = !1 : (e != null && e.includes("read") || (al.value = !0), e != null && e.includes("edit") || (al.value = !1)), ye.value = ((l = s == null ? void 0 : s.config) == null ? void 0 : l.showIndex) || al.value;
2342
- }, { immediate: !0 }), He(() => al.value, (e) => {
2363
+ _e.value = e, (e == null ? void 0 : e.length) === 0 ? ul.value = !1 : (e != null && e.includes("read") || (ul.value = !0), e != null && e.includes("edit") || (ul.value = !1)), he.value = ((l = s == null ? void 0 : s.config) == null ? void 0 : l.showIndex) || ul.value;
2364
+ }, { immediate: !0 }), Ye(() => ul.value, (e) => {
2343
2365
  var l;
2344
- e ? (ga("viewChange"), je.setCacheUpdatingData(null)) : (Cl.value = Sl.value, G.value = v.value, $l.value && (je.setTableLoading(s == null ? void 0 : s.index), H("change", $l.value))), ue.value = e, ye.value = e || ((l = s == null ? void 0 : s.config) == null ? void 0 : l.showIndex);
2345
- }, { immediate: !0 }), He(() => {
2366
+ e ? (va("viewChange"), Ee.setCacheUpdatingData(null)) : (El.value = Tl.value, G.value = Be.value, Nl.value && (Ee.setTableLoading(s == null ? void 0 : s.index), H("change", Nl.value))), re.value = e, he.value = e || ((l = s == null ? void 0 : s.config) == null ? void 0 : l.showIndex);
2367
+ }, { immediate: !0 }), Ye(() => {
2346
2368
  var e;
2347
- return (e = Ta.value) == null ? void 0 : e.length;
2369
+ return (e = Ua.value) == null ? void 0 : e.length;
2348
2370
  }, (e) => {
2349
- e === 0 && (te.currentPage = 1);
2350
- }), He(() => s == null ? void 0 : s.compNames, (e) => {
2351
- Le.contents = [
2371
+ e === 0 && (oe.currentPage = 1);
2372
+ }), Ye(() => s == null ? void 0 : s.compNames, (e) => {
2373
+ je.contents = [
2352
2374
  {
2353
2375
  label: "列表名",
2354
2376
  prop: "groupName",
@@ -2361,34 +2383,34 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
2361
2383
  }
2362
2384
  ];
2363
2385
  }, { immediate: !0 }), q(!1);
2364
- const ur = (e, l) => {
2386
+ const ir = (e, l) => {
2365
2387
  var n;
2366
- ga("createClick"), l === te.pageSize && (te.currentPage = Math.ceil(((n = ee.value) == null ? void 0 : n.length) / te.pageSize));
2367
- }, sr = (e, l, n) => {
2388
+ va("createClick"), l === oe.pageSize && (oe.currentPage = Math.ceil(((n = V.value) == null ? void 0 : n.length) / oe.pageSize));
2389
+ }, tr = (e, l, n) => {
2368
2390
  var a;
2369
- Ea(n, e, l), Fe.value = W(e), ul.value = e == null ? void 0 : e.id, _l.value = (a = ee.value) == null ? void 0 : a.length, el.value = typeof (e == null ? void 0 : e.id) == "string" ? "新增" : "编辑", Kl(!1);
2370
- }, Ke = (e) => {
2371
- var c, d, b, D, w, g, C, j, _, K;
2391
+ $a(n, e, l), Je.value = W(e), il.value = e == null ? void 0 : e.id, Dl.value = (a = V.value) == null ? void 0 : a.length, nl.value = typeof (e == null ? void 0 : e.id) == "string" ? "新增" : "编辑", Rl(!1);
2392
+ }, Re = (e) => {
2393
+ var c, d, S, D, w, g, C, j, _, K;
2372
2394
  const { row: l, column: n, item: a, slotData: u } = e;
2373
- let o = l != null && l[n == null ? void 0 : n.prop] || (l == null ? void 0 : l[n == null ? void 0 : n.prop]) === 0 ? ((d = (c = l == null ? void 0 : l[n == null ? void 0 : n.prop]) == null ? void 0 : c[0]) == null ? void 0 : d.contents) ?? ((l == null ? void 0 : l[n == null ? void 0 : n.prop]) === 0 ? "0" : l == null ? void 0 : l[n == null ? void 0 : n.prop]) : ((D = (b = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : b[0]) == null ? void 0 : D.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((g = (w = u == null ? void 0 : u[a == null ? void 0 : a.prop]) == null ? void 0 : w[0]) == null ? void 0 : g.contents) ?? (u == null ? void 0 : u[a == null ? void 0 : a.prop]) ?? ((_ = (j = l == null ? void 0 : l[(C = a == null ? void 0 : a.child) == null ? void 0 : C.prop]) == null ? void 0 : j[0]) == null ? void 0 : _.contents) ?? (l == null ? void 0 : l[(K = a == null ? void 0 : a.child) == null ? void 0 : K.prop]), t = Array.isArray(o) && !(o != null && o.every((M) => typeof M == "string" || typeof M == "number")) ? "查看" : o;
2395
+ let o = l != null && l[n == null ? void 0 : n.prop] || (l == null ? void 0 : l[n == null ? void 0 : n.prop]) === 0 ? ((d = (c = l == null ? void 0 : l[n == null ? void 0 : n.prop]) == null ? void 0 : c[0]) == null ? void 0 : d.contents) ?? ((l == null ? void 0 : l[n == null ? void 0 : n.prop]) === 0 ? "0" : l == null ? void 0 : l[n == null ? void 0 : n.prop]) : ((D = (S = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : S[0]) == null ? void 0 : D.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((g = (w = u == null ? void 0 : u[a == null ? void 0 : a.prop]) == null ? void 0 : w[0]) == null ? void 0 : g.contents) ?? (u == null ? void 0 : u[a == null ? void 0 : a.prop]) ?? ((_ = (j = l == null ? void 0 : l[(C = a == null ? void 0 : a.child) == null ? void 0 : C.prop]) == null ? void 0 : j[0]) == null ? void 0 : _.contents) ?? (l == null ? void 0 : l[(K = a == null ? void 0 : a.child) == null ? void 0 : K.prop]), t = Array.isArray(o) && !(o != null && o.every((M) => typeof M == "string" || typeof M == "number")) ? "查看" : o;
2374
2396
  return t = Array.isArray(t) ? t.join(",") : t, t;
2375
- }, or = (e) => {
2376
- var d, b, D, w, g, C, j, _, K, M;
2397
+ }, cr = (e) => {
2398
+ var d, S, D, w, g, C, j, _, K, M;
2377
2399
  const { row: l, column: n, item: a, slotData: u } = e;
2378
- let o = l != null && l[n == null ? void 0 : n.prop] ? ((b = (d = l == null ? void 0 : l[n == null ? void 0 : n.prop]) == null ? void 0 : d[0]) == null ? void 0 : b.contents) ?? (l == null ? void 0 : l[n == null ? void 0 : n.prop]) : ((w = (D = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : D[0]) == null ? void 0 : w.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((C = (g = u == null ? void 0 : u[a == null ? void 0 : a.prop]) == null ? void 0 : g[0]) == null ? void 0 : C.contents) ?? (u == null ? void 0 : u[a == null ? void 0 : a.prop]) ?? ((K = (_ = l == null ? void 0 : l[(j = a == null ? void 0 : a.child) == null ? void 0 : j.prop]) == null ? void 0 : _[0]) == null ? void 0 : K.contents) ?? (l == null ? void 0 : l[(M = a == null ? void 0 : a.child) == null ? void 0 : M.prop]);
2400
+ let o = l != null && l[n == null ? void 0 : n.prop] ? ((S = (d = l == null ? void 0 : l[n == null ? void 0 : n.prop]) == null ? void 0 : d[0]) == null ? void 0 : S.contents) ?? (l == null ? void 0 : l[n == null ? void 0 : n.prop]) : ((w = (D = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : D[0]) == null ? void 0 : w.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((C = (g = u == null ? void 0 : u[a == null ? void 0 : a.prop]) == null ? void 0 : g[0]) == null ? void 0 : C.contents) ?? (u == null ? void 0 : u[a == null ? void 0 : a.prop]) ?? ((K = (_ = l == null ? void 0 : l[(j = a == null ? void 0 : a.child) == null ? void 0 : j.prop]) == null ? void 0 : _[0]) == null ? void 0 : K.contents) ?? (l == null ? void 0 : l[(M = a == null ? void 0 : a.child) == null ? void 0 : M.prop]);
2379
2401
  const t = Array.isArray(o) && !(o != null && o.every((N) => typeof N == "string" || typeof N == "number")), c = Array.isArray(o) && (o == null ? void 0 : o.find((N) => N == null ? void 0 : N.url));
2380
2402
  return t && c;
2381
- }, ir = (e, l) => e.find((n) => Object.values(n).some((a) => a === l));
2382
- return He(() => tn.value, async (e) => {
2403
+ }, dr = (e, l) => e.find((n) => Object.values(n).some((a) => a === l));
2404
+ return Ye(() => pn.value, async (e) => {
2383
2405
  if (e) {
2384
- V.setContentLoading(!0), await ua();
2385
- const l = ir(ee.value, e == null ? void 0 : e.data);
2386
- if (!l) return V.setContentLoading(!1);
2387
- await Ua(e == null ? void 0 : e.data, null, l, { data: e == null ? void 0 : e.data, isMainKey: !0 }), V.setContentLoading(!1);
2406
+ Fe.setContentLoading(!0), await ia();
2407
+ const l = dr(V.value, e == null ? void 0 : e.data);
2408
+ if (!l) return Fe.setContentLoading(!1);
2409
+ await Ca(e == null ? void 0 : e.data, null, l, { data: e == null ? void 0 : e.data, isMainKey: !0 }), Fe.setContentLoading(!1);
2388
2410
  }
2389
- }, { deep: !0, immediate: !0 }), He(() => s == null ? void 0 : s.cacheNewData, (e) => {
2411
+ }, { deep: !0, immediate: !0 }), Ye(() => s == null ? void 0 : s.cacheNewData, (e) => {
2390
2412
  var l;
2391
- e && (Array.isArray(e) || (e == null ? void 0 : e.compId) === (s == null ? void 0 : s.index) && (ee.value = (l = ee.value) == null ? void 0 : l.map((n) => {
2413
+ e && (Array.isArray(e) || (e == null ? void 0 : e.compId) === (s == null ? void 0 : s.index) && (V.value = (l = V.value) == null ? void 0 : l.map((n) => {
2392
2414
  var a;
2393
2415
  return (n == null ? void 0 : n.id) === ((a = e == null ? void 0 : e.data) == null ? void 0 : a.id) ? {
2394
2416
  ...n,
@@ -2396,144 +2418,144 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
2396
2418
  } : n;
2397
2419
  })));
2398
2420
  }, { immediate: !0, deep: !0 }), (e, l) => {
2399
- var d, b, D, w;
2400
- const n = Qe("svg-icon"), a = Qe("el-popover"), u = Qe("el-switch"), o = Qe("el-checkbox"), i = Qe("el-checkbox-group"), t = Qe("el-button"), c = Qe("LookComponent");
2401
- return le(), ke("div", hu, [
2402
- ka.value ? (le(), Pe(Cr, {
2421
+ var d, S, D, w;
2422
+ const n = Ze("svg-icon"), a = Ze("el-popover"), u = Ze("el-switch"), o = Ze("el-checkbox"), i = Ze("el-checkbox-group"), t = Ze("el-button"), c = Ze("LookComponent");
2423
+ return ee(), Se("div", bu, [
2424
+ ma.value ? (ee(), $e(Er, {
2403
2425
  id: "excel-table",
2404
- pageObj: te,
2405
- showIndex: ye.value,
2426
+ pageObj: oe,
2427
+ showIndex: he.value,
2406
2428
  isTree: (d = L.compItem) == null ? void 0 : d.isTree,
2407
2429
  summaryInfo: me,
2408
2430
  columns: G.value,
2409
- defaultSort: Be,
2410
- isCardViewport: ea.value,
2431
+ defaultSort: Pe,
2432
+ isCardViewport: na.value,
2411
2433
  checkedColumns: I.value,
2412
- key: ia.value + JSON.stringify(G.value),
2413
- tableData: Ta.value,
2414
- isEditViewport: al.value,
2415
- isShowPagination: Sa.value,
2434
+ key: da.value + JSON.stringify(G.value),
2435
+ tableData: Ua.value,
2436
+ isEditViewport: ul.value,
2437
+ isShowPagination: Aa.value,
2416
2438
  isShowEdit: !1,
2417
2439
  isShowDelete: !1,
2418
- allowSelect: ue.value,
2419
- onDbClickRow: Mn,
2420
- extraButton: Cl.value,
2421
- rowButton: bl.value,
2422
- cacheExtraButtons: Sl.value,
2423
- isClearSelection: ((b = nl.value) == null ? void 0 : b.length) === 0,
2424
- onDoCurrentChange: Sn,
2425
- onDoSizeChange: kn,
2426
- onContentClick: Ua,
2427
- onRowClick: Fn,
2428
- onSelectChange: Cn,
2429
- onCellChange: sr,
2430
- onChange: Ea,
2431
- onPreview: Aa,
2432
- onSubmitEditingTable: _n,
2433
- onHandleColEditChange: Un,
2434
- onHandleColTypeChange: xn,
2435
- onClickButton: na
2436
- }, fr({
2437
- headerButton: Q((g) => {
2440
+ allowSelect: re.value,
2441
+ onDbClickRow: Kn,
2442
+ extraButton: El.value,
2443
+ rowButton: kl.value,
2444
+ cacheExtraButtons: Tl.value,
2445
+ isClearSelection: ((S = sl.value) == null ? void 0 : S.length) === 0,
2446
+ onDoCurrentChange: An,
2447
+ onDoSizeChange: mn,
2448
+ onContentClick: Ca,
2449
+ onRowClick: Jn,
2450
+ onSelectChange: En,
2451
+ onCellChange: tr,
2452
+ onChange: $a,
2453
+ onPreview: xa,
2454
+ onSubmitEditingTable: Dn,
2455
+ onHandleColEditChange: Cn,
2456
+ onHandleColTypeChange: On,
2457
+ onClickButton: sa
2458
+ }, yr({
2459
+ headerButton: X((g) => {
2438
2460
  var C, j;
2439
2461
  return [
2440
- L.showHeader ? (le(), Pe(eu, {
2462
+ L.showHeader ? (ee(), $e(nu, {
2441
2463
  key: 0,
2442
2464
  pageLayout: L.pageLayout,
2443
- lockingPage: Ie(Gl) === Ie(se),
2444
- filterValues: ma.value,
2445
- selectNums: (C = nl.value) == null ? void 0 : C.length,
2446
- dataNums: (j = ee.value) == null ? void 0 : j.length,
2465
+ lockingPage: ll(Xl) === ll(ke),
2466
+ filterValues: _a.value,
2467
+ selectNums: (C = sl.value) == null ? void 0 : C.length,
2468
+ dataNums: (j = V.value) == null ? void 0 : j.length,
2447
2469
  compName: L.compName,
2448
2470
  isDevMode: L.isDevMode,
2449
2471
  buttons: g.buttons,
2450
- onButtonClick: l[0] || (l[0] = (_) => na(_, "", {})),
2472
+ onButtonClick: l[0] || (l[0] = (_) => sa(_, "", {})),
2451
2473
  columns: G.value,
2452
- onFilter: Nn,
2453
- onGetImportData: An,
2474
+ onFilter: Fn,
2475
+ onGetImportData: xn,
2454
2476
  level: L.level
2455
- }, null, 8, ["pageLayout", "lockingPage", "filterValues", "selectNums", "dataNums", "compName", "isDevMode", "buttons", "columns", "level"])) : De("", !0)
2477
+ }, null, 8, ["pageLayout", "lockingPage", "filterValues", "selectNums", "dataNums", "compName", "isDevMode", "buttons", "columns", "level"])) : Oe("", !0)
2456
2478
  ];
2457
2479
  }),
2458
- viewport: Q(() => {
2480
+ viewport: X(() => {
2459
2481
  var g, C, j, _;
2460
2482
  return [
2461
- ((g = ee.value) == null ? void 0 : g.length) > 0 && L.allowOperate ? (le(), ke("div", bu, [
2462
- (C = xe.value) != null && C.includes("read") && ((j = xe.value) != null && j.includes("edit")) && ((_ = bl.value) != null && _.some((K) => (K == null ? void 0 : K.label) === "编辑")) && !ea.value && Ie(Gl) !== Ie(se) ? (le(), ke("span", {
2483
+ ((g = V.value) == null ? void 0 : g.length) > 0 && L.allowOperate ? (ee(), Se("div", Tu, [
2484
+ (C = _e.value) != null && C.includes("read") && ((j = _e.value) != null && j.includes("edit")) && ((_ = kl.value) != null && _.some((K) => (K == null ? void 0 : K.label) === "编辑")) && !na.value && ll(Xl) !== ll(ke) ? (ee(), Se("span", {
2463
2485
  key: 0,
2464
2486
  title: "编辑表格",
2465
- onClick: Na
2487
+ onClick: Fa
2466
2488
  }, [
2467
- oe(n, {
2489
+ ue(n, {
2468
2490
  name: "editTable",
2469
2491
  class: "view-icon"
2470
2492
  })
2471
- ])) : De("", !0),
2472
- ge("span", {
2493
+ ])) : Oe("", !0),
2494
+ fe("span", {
2473
2495
  title: "卡片视图",
2474
- onClick: rr
2496
+ onClick: or
2475
2497
  }, [
2476
- oe(n, {
2498
+ ue(n, {
2477
2499
  name: "cardViewport",
2478
2500
  class: "view-icon"
2479
2501
  })
2480
2502
  ])
2481
- ])) : De("", !0)
2503
+ ])) : Oe("", !0)
2482
2504
  ];
2483
2505
  }),
2484
- rowCreate: Q(({ row: g, index: C }) => [
2485
- ge("span", {
2506
+ rowCreate: X(({ row: g, index: C }) => [
2507
+ fe("span", {
2486
2508
  title: "新增",
2487
2509
  class: "row-create-wrap",
2488
- onClick: (j) => ur(g, C)
2510
+ onClick: (j) => ir(g, C)
2489
2511
  }, [
2490
- oe(n, {
2512
+ ue(n, {
2491
2513
  name: "rowCreate",
2492
2514
  style: { width: "10px", height: "10px" }
2493
2515
  })
2494
- ], 8, Su)
2516
+ ], 8, Au)
2495
2517
  ]),
2496
- operateCol: Q(() => [
2497
- oe(a, {
2518
+ operateCol: X(() => [
2519
+ ue(a, {
2498
2520
  title: "选择显示列信息",
2499
2521
  placement: "left-start",
2500
2522
  "popper-class": "menu-operate-popover",
2501
2523
  trigger: "hover",
2502
- onShow: Vn
2524
+ onShow: ar
2503
2525
  }, {
2504
- reference: Q(() => [
2505
- ge("span", ku, [
2506
- oe(n, {
2526
+ reference: X(() => [
2527
+ fe("span", mu, [
2528
+ ue(n, {
2507
2529
  name: "operate",
2508
2530
  style: { width: "15px", height: "15px", cursor: "pointer" }
2509
2531
  })
2510
2532
  ])
2511
2533
  ]),
2512
- default: Q(() => [
2513
- ge("div", Tu, [
2514
- l[11] || (l[11] = ge("div", { class: "group-title" }, "表格操作", -1)),
2515
- oe(u, {
2516
- "model-value": dl.value,
2534
+ default: X(() => [
2535
+ fe("div", Uu, [
2536
+ l[11] || (l[11] = fe("div", { class: "group-title" }, "表格操作", -1)),
2537
+ ue(u, {
2538
+ "model-value": fl.value,
2517
2539
  "active-text": "排序",
2518
2540
  "inactive-text": "",
2519
2541
  style: { "margin-right": "8px" },
2520
- onChange: l[2] || (l[2] = (g) => ca(g, "sortable"))
2542
+ onChange: l[2] || (l[2] = (g) => fa(g, "sortable"))
2521
2543
  }, null, 8, ["model-value"]),
2522
- oe(u, {
2523
- "model-value": pl.value,
2544
+ ue(u, {
2545
+ "model-value": gl.value,
2524
2546
  "active-text": "筛选",
2525
2547
  "inactive-text": "",
2526
2548
  style: { "margin-right": "8px" },
2527
- onChange: l[3] || (l[3] = (g) => ca(g, "filterable"))
2549
+ onChange: l[3] || (l[3] = (g) => fa(g, "filterable"))
2528
2550
  }, null, 8, ["model-value"]),
2529
- oe(u, {
2530
- "model-value": ce.value,
2551
+ ue(u, {
2552
+ "model-value": te.value,
2531
2553
  "active-text": "编辑所有表头",
2532
2554
  "inactive-text": "",
2533
- onChange: l[4] || (l[4] = (g) => ca(g, "operable"))
2555
+ onChange: l[4] || (l[4] = (g) => fa(g, "operable"))
2534
2556
  }, null, 8, ["model-value"]),
2535
- l[12] || (l[12] = ge("div", { class: "group-title" }, "表格列操作", -1)),
2536
- oe(i, {
2557
+ l[12] || (l[12] = fe("div", { class: "group-title" }, "表格列操作", -1)),
2558
+ ue(i, {
2537
2559
  modelValue: I.value,
2538
2560
  "onUpdate:modelValue": l[5] || (l[5] = (g) => I.value = g),
2539
2561
  style: { height: "100%" },
@@ -2541,49 +2563,49 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
2541
2563
  ref_key: "checkboxGroupRef",
2542
2564
  ref: P
2543
2565
  }, {
2544
- default: Q(() => [
2545
- (le(!0), ke(tl, null, cl(Ml.value, (g) => (le(), ke("div", {
2566
+ default: X(() => [
2567
+ (ee(!0), Se(dl, null, pl(Kl.value, (g) => (ee(), Se("div", {
2546
2568
  style: { display: "flex", "align-items": "center" },
2547
2569
  key: g.label
2548
2570
  }, [
2549
- oe(o, {
2571
+ ue(o, {
2550
2572
  value: g.label,
2551
2573
  style: { width: "100%", marginRight: 0 }
2552
2574
  }, {
2553
- default: Q(() => [
2554
- ge("span", {
2575
+ default: X(() => [
2576
+ fe("span", {
2555
2577
  title: g.label,
2556
2578
  style: { display: "inline-block", width: "250px", overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }
2557
- }, Ee(g.label), 9, Au)
2579
+ }, De(g.label), 9, xu)
2558
2580
  ]),
2559
2581
  _: 2
2560
2582
  }, 1032, ["value"]),
2561
- oe(a, {
2583
+ ue(a, {
2562
2584
  title: "列操作",
2563
2585
  placement: "left",
2564
2586
  teleported: !1,
2565
2587
  trigger: "hover"
2566
2588
  }, {
2567
- reference: Q(() => [
2568
- oe(n, {
2589
+ reference: X(() => [
2590
+ ue(n, {
2569
2591
  name: "colOperate",
2570
2592
  style: { width: "15px", height: "15px", cursor: "pointer", color: "grey", position: "absolute", right: "40px" }
2571
2593
  })
2572
2594
  ]),
2573
- default: Q(() => {
2595
+ default: X(() => {
2574
2596
  var C;
2575
2597
  return [
2576
- ge("div", mu, [
2577
- (le(!0), ke(tl, null, cl((C = Object.keys(g)) == null ? void 0 : C.filter((j) => {
2598
+ fe("div", _u, [
2599
+ (ee(!0), Se(dl, null, pl((C = Object.keys(g)) == null ? void 0 : C.filter((j) => {
2578
2600
  var _;
2579
- return (_ = ve.value) == null ? void 0 : _.find((K) => (K == null ? void 0 : K.value) === j);
2601
+ return (_ = ye.value) == null ? void 0 : _.find((K) => (K == null ? void 0 : K.value) === j);
2580
2602
  }), (j) => {
2581
2603
  var _, K;
2582
- return le(), ke("div", { key: j }, [
2583
- oe(u, {
2604
+ return ee(), Se("div", { key: j }, [
2605
+ ue(u, {
2584
2606
  "model-value": g == null ? void 0 : g[j],
2585
- "active-text": (K = (_ = ve.value) == null ? void 0 : _.find((M) => (M == null ? void 0 : M.value) === j)) == null ? void 0 : K.label,
2586
- onChange: (M) => Dn(M, j, g)
2607
+ "active-text": (K = (_ = ye.value) == null ? void 0 : _.find((M) => (M == null ? void 0 : M.value) === j)) == null ? void 0 : K.label,
2608
+ onChange: (M) => Ln(M, j, g)
2587
2609
  }, null, 8, ["model-value", "active-text", "onChange"])
2588
2610
  ]);
2589
2611
  }), 128))
@@ -2592,8 +2614,8 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
2592
2614
  }),
2593
2615
  _: 2
2594
2616
  }, 1024),
2595
- ge("span", Uu, [
2596
- oe(n, {
2617
+ fe("span", Cu, [
2618
+ ue(n, {
2597
2619
  name: "drag",
2598
2620
  class: "col-drag-icon",
2599
2621
  style: { width: "15px", height: "15px" }
@@ -2608,10 +2630,10 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
2608
2630
  _: 1
2609
2631
  })
2610
2632
  ]),
2611
- content: Q((g) => {
2612
- var C, j, _, K, M, N, r, S, f, m, T, X, $, ae, O, U, y, F;
2633
+ content: X((g) => {
2634
+ var C, j, _, K, M, N, r, b, f, m, T, Q, $, le, O, U, y, F;
2613
2635
  return [
2614
- or(g) ? (le(), Pe(a, {
2636
+ cr(g) ? (ee(), $e(a, {
2615
2637
  key: 0,
2616
2638
  "popper-class": "file-popover",
2617
2639
  placement: "right",
@@ -2619,68 +2641,68 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
2619
2641
  effect: "light",
2620
2642
  width: "auto"
2621
2643
  }, {
2622
- reference: Q(() => [
2623
- ge("span", xu, Ee(Ke(g)), 1)
2644
+ reference: X(() => [
2645
+ fe("span", Ou, De(Re(g)), 1)
2624
2646
  ]),
2625
- default: Q(() => {
2647
+ default: X(() => {
2626
2648
  var x, A;
2627
2649
  return [
2628
- ge("div", _u, [
2629
- (le(!0), ke(tl, null, cl((A = g == null ? void 0 : g.row) == null ? void 0 : A[(x = g == null ? void 0 : g.column) == null ? void 0 : x.prop], (z) => (le(), ke("div", Cu, [
2630
- ge("div", {
2650
+ fe("div", Du, [
2651
+ (ee(!0), Se(dl, null, pl((A = g == null ? void 0 : g.row) == null ? void 0 : A[(x = g == null ? void 0 : g.column) == null ? void 0 : x.prop], (z) => (ee(), Se("div", Eu, [
2652
+ fe("div", {
2631
2653
  class: "prop-url",
2632
- title: aa(z),
2633
- onClick: (k) => Ln(z)
2634
- }, Ee(aa(z)), 9, Ou),
2635
- ge("div", {
2654
+ title: ua(z),
2655
+ onClick: (k) => Bn(z)
2656
+ }, De(ua(z)), 9, ju),
2657
+ fe("div", {
2636
2658
  class: "prop-download",
2637
- onClick: (k) => $n(z)
2638
- }, " 下载 ", 8, Du)
2659
+ onClick: (k) => Nn(z)
2660
+ }, " 下载 ", 8, Lu)
2639
2661
  ]))), 256))
2640
2662
  ])
2641
2663
  ];
2642
2664
  }),
2643
2665
  _: 2
2644
- }, 1024)) : (le(), ke("div", {
2666
+ }, 1024)) : (ee(), Se("div", {
2645
2667
  key: 1,
2646
- style: xl({
2647
- color: !Array.isArray(Ke(g)) && ((j = (C = Ke(g)) == null ? void 0 : C.toString()) != null && j.includes(".txt") || (K = (_ = Ke(g)) == null ? void 0 : _.toString()) != null && K.includes(".cpt") || (N = (M = Ke(g)) == null ? void 0 : M.toString()) != null && N.includes(".cyd")) ? "var(--vertical-menuitem-active-bg)" : "",
2648
- textDecoration: !Array.isArray(Ke(g)) && ((S = (r = Ke(g)) == null ? void 0 : r.toString()) != null && S.includes(".txt") || (m = (f = Ke(g)) == null ? void 0 : f.toString()) != null && m.includes(".cpt") || (X = (T = Ke(g)) == null ? void 0 : T.toString()) != null && X.includes(".cyd")) ? "underline" : "",
2649
- cursor: !Array.isArray(Ke(g)) && ((ae = ($ = Ke(g)) == null ? void 0 : $.toString()) != null && ae.includes(".txt") || (U = (O = Ke(g)) == null ? void 0 : O.toString()) != null && U.includes(".cpt") || (F = (y = Ke(g)) == null ? void 0 : y.toString()) != null && F.includes(".cyd")) ? "pointer" : "",
2668
+ style: Cl({
2669
+ color: !Array.isArray(Re(g)) && ((j = (C = Re(g)) == null ? void 0 : C.toString()) != null && j.includes(".txt") || (K = (_ = Re(g)) == null ? void 0 : _.toString()) != null && K.includes(".cpt") || (N = (M = Re(g)) == null ? void 0 : M.toString()) != null && N.includes(".cyd")) ? "var(--vertical-menuitem-active-bg)" : "",
2670
+ textDecoration: !Array.isArray(Re(g)) && ((b = (r = Re(g)) == null ? void 0 : r.toString()) != null && b.includes(".txt") || (m = (f = Re(g)) == null ? void 0 : f.toString()) != null && m.includes(".cpt") || (Q = (T = Re(g)) == null ? void 0 : T.toString()) != null && Q.includes(".cyd")) ? "underline" : "",
2671
+ cursor: !Array.isArray(Re(g)) && ((le = ($ = Re(g)) == null ? void 0 : $.toString()) != null && le.includes(".txt") || (U = (O = Re(g)) == null ? void 0 : O.toString()) != null && U.includes(".cpt") || (F = (y = Re(g)) == null ? void 0 : y.toString()) != null && F.includes(".cyd")) ? "pointer" : "",
2650
2672
  marginLeft: (g == null ? void 0 : g.colIndex) === 0 ? `${((g == null ? void 0 : g.level) ?? 0) * 20}px` : 0
2651
2673
  }),
2652
- onClick: (x) => bn(Ke(g))
2653
- }, Ee(Ke(g) === 0 ? "0" : Ke(g)), 13, Eu))
2674
+ onClick: (x) => Tn(Re(g))
2675
+ }, De(Re(g) === 0 ? "0" : Re(g)), 13, $u))
2654
2676
  ];
2655
2677
  }),
2656
2678
  _: 2
2657
2679
  }, [
2658
- ((D = bl.value) == null ? void 0 : D.length) > 0 && Ie(Gl) !== Ie(se) ? {
2680
+ ((D = kl.value) == null ? void 0 : D.length) > 0 && ll(Xl) !== ll(ke) ? {
2659
2681
  name: "actions",
2660
- fn: Q(({ item: g }) => [
2661
- oe(a, {
2682
+ fn: X(({ item: g }) => [
2683
+ ue(a, {
2662
2684
  title: "",
2663
2685
  placement: "left-start",
2664
2686
  "popper-class": "menu-operate-popover"
2665
2687
  }, {
2666
- reference: Q(() => [
2667
- oe(n, {
2688
+ reference: X(() => [
2689
+ ue(n, {
2668
2690
  name: "more",
2669
2691
  style: { cursor: "pointer", width: "15px", height: "15px" }
2670
2692
  })
2671
2693
  ]),
2672
- default: Q(() => [
2673
- ge("div", yu, [
2674
- (le(!0), ke(tl, null, cl(Pn(bl.value, g), (C, j) => (le(), ke("div", {
2694
+ default: X(() => [
2695
+ fe("div", Su, [
2696
+ (ee(!0), Se(dl, null, pl(Mn(kl.value, g), (C, j) => (ee(), Se("div", {
2675
2697
  class: "menu-config-item",
2676
2698
  key: j,
2677
- onClick: (_) => na(C == null ? void 0 : C.label, g, { extra: C })
2699
+ onClick: (_) => sa(C == null ? void 0 : C.label, g, { extra: C })
2678
2700
  }, [
2679
- ge("div", {
2680
- style: xl({ color: C == null ? void 0 : C.textColor }),
2701
+ fe("div", {
2702
+ style: Cl({ color: C == null ? void 0 : C.textColor }),
2681
2703
  class: "extra-button-label"
2682
- }, Ee(C == null ? void 0 : C.label), 5)
2683
- ], 8, vu))), 128))
2704
+ }, De(C == null ? void 0 : C.label), 5)
2705
+ ], 8, ku))), 128))
2684
2706
  ])
2685
2707
  ]),
2686
2708
  _: 2
@@ -2688,100 +2710,100 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
2688
2710
  ]),
2689
2711
  key: "0"
2690
2712
  } : void 0,
2691
- ((w = ee.value) == null ? void 0 : w.length) > 0 ? {
2713
+ ((w = V.value) == null ? void 0 : w.length) > 0 ? {
2692
2714
  name: "batchButton",
2693
- fn: Q((g) => [
2694
- Ka(oe(au, {
2695
- lockingPage: Ie(Gl) === Ie(se),
2715
+ fn: X((g) => [
2716
+ Ra(ue(uu, {
2717
+ lockingPage: ll(Xl) === ll(ke),
2696
2718
  buttons: g.buttons,
2697
- selectTableItems: nl.value,
2698
- onButtonClick: l[1] || (l[1] = (C) => na(C, "", {}))
2719
+ selectTableItems: sl.value,
2720
+ onButtonClick: l[1] || (l[1] = (C) => sa(C, "", {}))
2699
2721
  }, null, 8, ["lockingPage", "buttons", "selectTableItems"]), [
2700
- [za, ue.value]
2722
+ [Wa, re.value]
2701
2723
  ]),
2702
- Ka(ge("div", null, null, 512), [
2703
- [za, !ue.value]
2724
+ Ra(fe("div", null, null, 512), [
2725
+ [Wa, !re.value]
2704
2726
  ])
2705
2727
  ]),
2706
2728
  key: "1"
2707
2729
  } : void 0
2708
- ]), 1032, ["pageObj", "showIndex", "isTree", "summaryInfo", "columns", "defaultSort", "isCardViewport", "checkedColumns", "tableData", "isEditViewport", "isShowPagination", "allowSelect", "extraButton", "rowButton", "cacheExtraButtons", "isClearSelection"])) : De("", !0),
2709
- oe(Rl, {
2710
- title: el.value,
2711
- visible: sl.value,
2712
- width: hn.value,
2713
- onBeforeDestroy: En,
2730
+ ]), 1032, ["pageObj", "showIndex", "isTree", "summaryInfo", "columns", "defaultSort", "isCardViewport", "checkedColumns", "tableData", "isEditViewport", "isShowPagination", "allowSelect", "extraButton", "rowButton", "cacheExtraButtons", "isClearSelection"])) : Oe("", !0),
2731
+ ue(Gl, {
2732
+ title: nl.value,
2733
+ visible: tl.value,
2734
+ width: bn.value,
2735
+ onBeforeDestroy: $n,
2714
2736
  style: { height: "74%" }
2715
2737
  }, {
2716
- default: Q(() => [
2717
- ge("div", ju, [
2718
- oe(Ll, {
2738
+ default: X(() => [
2739
+ fe("div", Pu, [
2740
+ ue(Bl, {
2719
2741
  rowContents: Ne.value,
2720
2742
  isEnableWrap: !1,
2721
2743
  showOperator: !1,
2722
- onChange: er,
2723
- onClickTrigger: jn,
2724
- isEdit: Xl.value,
2725
- onBlurChange: On
2744
+ onChange: nr,
2745
+ onClickTrigger: Pn,
2746
+ isEdit: Il.value,
2747
+ onBlurChange: jn
2726
2748
  }, null, 8, ["rowContents", "isEdit"])
2727
2749
  ])
2728
2750
  ]),
2729
- footer: Q(() => [
2730
- Zl.value ? (le(), ke("div", Lu, [
2731
- oe(t, {
2732
- onClick: l[6] || (l[6] = (g) => sl.value = !1),
2751
+ footer: X(() => [
2752
+ ea.value ? (ee(), Se("div", Bu, [
2753
+ ue(t, {
2754
+ onClick: l[6] || (l[6] = (g) => tl.value = !1),
2733
2755
  id: "themeBorderButton"
2734
2756
  }, {
2735
- default: Q(() => l[13] || (l[13] = [
2736
- Ye(Ee("取消"))
2757
+ default: X(() => l[13] || (l[13] = [
2758
+ Ve(De("取消"))
2737
2759
  ])),
2738
2760
  _: 1,
2739
2761
  __: [13]
2740
2762
  }),
2741
- oe(t, {
2763
+ ue(t, {
2742
2764
  class: "ok-button",
2743
- onClick: l[7] || (l[7] = (g) => Kl(!0)),
2765
+ onClick: l[7] || (l[7] = (g) => Rl(!0)),
2744
2766
  id: "themeButton"
2745
2767
  }, {
2746
- default: Q(() => l[14] || (l[14] = [
2747
- Ye(Ee("确认"))
2768
+ default: X(() => l[14] || (l[14] = [
2769
+ Ve(De("确认"))
2748
2770
  ])),
2749
2771
  _: 1,
2750
2772
  __: [14]
2751
2773
  })
2752
- ])) : De("", !0)
2774
+ ])) : Oe("", !0)
2753
2775
  ]),
2754
2776
  _: 1
2755
2777
  }, 8, ["title", "visible", "width"]),
2756
- oe(Rl, {
2757
- title: el.value,
2758
- visible: Yl.value,
2759
- width: oa.value,
2760
- onBeforeDestroy: l[9] || (l[9] = (g) => Yl.value = !1)
2778
+ ue(Gl, {
2779
+ title: nl.value,
2780
+ visible: Vl.value,
2781
+ width: ca.value,
2782
+ onBeforeDestroy: l[9] || (l[9] = (g) => Vl.value = !1)
2761
2783
  }, {
2762
- default: Q(() => [
2763
- oe(iu)
2784
+ default: X(() => [
2785
+ ue(du)
2764
2786
  ]),
2765
- footer: Q(() => [
2766
- ge("div", $u, [
2767
- oe(t, {
2768
- onClick: l[8] || (l[8] = (g) => Yl.value = !1),
2787
+ footer: X(() => [
2788
+ fe("div", Nu, [
2789
+ ue(t, {
2790
+ onClick: l[8] || (l[8] = (g) => Vl.value = !1),
2769
2791
  class: "cancel-button",
2770
2792
  id: "themeBorderButton"
2771
2793
  }, {
2772
- default: Q(() => l[15] || (l[15] = [
2773
- Ye(Ee("取消"))
2794
+ default: X(() => l[15] || (l[15] = [
2795
+ Ve(De("取消"))
2774
2796
  ])),
2775
2797
  _: 1,
2776
2798
  __: [15]
2777
2799
  }),
2778
- oe(t, {
2800
+ ue(t, {
2779
2801
  class: "ok-button",
2780
- onClick: Kn,
2802
+ onClick: Rn,
2781
2803
  id: "themeButton"
2782
2804
  }, {
2783
- default: Q(() => l[16] || (l[16] = [
2784
- Ye(Ee("确认"))
2805
+ default: X(() => l[16] || (l[16] = [
2806
+ Ve(De("确认"))
2785
2807
  ])),
2786
2808
  _: 1,
2787
2809
  __: [16]
@@ -2790,55 +2812,55 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
2790
2812
  ]),
2791
2813
  _: 1
2792
2814
  }, 8, ["title", "visible", "width"]),
2793
- Ce.value ? (le(), Pe(Or, {
2815
+ ze.value ? (ee(), $e(jr, {
2794
2816
  key: 1,
2795
- fileDataList: R.value,
2796
- onDestroy: wn
2797
- }, null, 8, ["fileDataList"])) : De("", !0),
2798
- ie.value ? (le(), Pe(Rl, {
2817
+ fileDataList: Ol.value,
2818
+ onDestroy: zn
2819
+ }, null, 8, ["fileDataList"])) : Oe("", !0),
2820
+ se.value ? (ee(), $e(Gl, {
2799
2821
  key: 2,
2800
- visible: ie.value,
2801
- onBeforeDestroy: Zn,
2822
+ visible: se.value,
2823
+ onBeforeDestroy: er,
2802
2824
  style: { height: "80vh", width: "80vw" },
2803
2825
  "body-class": "three-dialog-body",
2804
2826
  "footer-class": "three-dialog-footer"
2805
2827
  }, {
2806
- default: Q(() => [
2807
- oe(Lr, {
2808
- files: Bl.value,
2809
- threeData: we.value
2828
+ default: X(() => [
2829
+ ue(Br, {
2830
+ files: wl.value,
2831
+ threeData: Ke.value
2810
2832
  }, null, 8, ["files", "threeData"])
2811
2833
  ]),
2812
2834
  _: 1
2813
- }, 8, ["visible"])) : De("", !0),
2814
- oe(Rl, {
2835
+ }, 8, ["visible"])) : Oe("", !0),
2836
+ ue(Gl, {
2815
2837
  visible: e.componentVisible,
2816
2838
  onBeforeDestroy: l[10] || (l[10] = (g) => e.componentVisible = !1),
2817
- width: oa.value,
2839
+ width: ca.value,
2818
2840
  style: { height: "70vh" }
2819
2841
  }, {
2820
- default: Q(() => [
2821
- oe(c, { dialogItem: Al.value }, null, 8, ["dialogItem"])
2842
+ default: X(() => [
2843
+ ue(c, { dialogItem: Ul.value }, null, 8, ["dialogItem"])
2822
2844
  ]),
2823
2845
  _: 1
2824
2846
  }, 8, ["visible", "width"]),
2825
- oe(Rl, {
2826
- title: Le.title,
2827
- visible: Le.show,
2828
- width: Le.width,
2829
- onBeforeDestroy: qn
2847
+ ue(Gl, {
2848
+ title: je.title,
2849
+ visible: je.show,
2850
+ width: je.width,
2851
+ onBeforeDestroy: Qn
2830
2852
  }, {
2831
- default: Q(() => [
2832
- ge("div", Pu, [
2833
- oe(Ll, {
2834
- rowContents: Le == null ? void 0 : Le.contents,
2835
- formRules: Le == null ? void 0 : Le.formRules,
2853
+ default: X(() => [
2854
+ fe("div", Mu, [
2855
+ ue(Bl, {
2856
+ rowContents: je == null ? void 0 : je.contents,
2857
+ formRules: je == null ? void 0 : je.formRules,
2836
2858
  showOperator: !1,
2837
- buttonValue: Le.buttonValue,
2838
- isEdit: Xl.value,
2859
+ buttonValue: je.buttonValue,
2860
+ isEdit: Il.value,
2839
2861
  isStartJustify: !1,
2840
2862
  isEnableWrap: !1,
2841
- onOnButtonClick: Gn
2863
+ onOnButtonClick: Xn
2842
2864
  }, null, 8, ["rowContents", "formRules", "buttonValue", "isEdit"])
2843
2865
  ])
2844
2866
  ]),
@@ -2847,12 +2869,12 @@ const en = (L) => L.match(/\((.*)\)/)[1], ln = {
2847
2869
  ]);
2848
2870
  };
2849
2871
  }
2850
- }, Qu = /* @__PURE__ */ sa(Bu, [["__scopeId", "data-v-d26f0d12"]]);
2872
+ }, Vu = /* @__PURE__ */ ta(wu, [["__scopeId", "data-v-cd9f0981"]]);
2851
2873
  export {
2852
- gu as a,
2853
- nu as b,
2854
- en as f,
2855
- an as g,
2856
- Qu as s,
2857
- tu as u
2874
+ vu as a,
2875
+ su as b,
2876
+ nn as f,
2877
+ un as g,
2878
+ Vu as s,
2879
+ pu as u
2858
2880
  };