ss-component-new 1.1.210 → 1.1.212

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 (109) hide show
  1. package/dist/{array-nk5VwQg0.js → array-BRZYIImK.js} +279 -274
  2. package/dist/array-Bqn1SCSM.cjs +7 -0
  3. package/dist/{cloneDeep-BBMmhdSi.js → cloneDeep-C901qDQa.js} +1 -1
  4. package/dist/{cloneDeep-CKM-tytV.cjs → cloneDeep-DcbnVAaP.cjs} +1 -1
  5. package/dist/crypto-BRyGpjGR.js +2004 -0
  6. package/dist/crypto-CRbcEKIz.cjs +26 -0
  7. package/dist/{index-Xi9Wdgdw.js → index-7Zyp4M6a.js} +23 -22
  8. package/dist/index-AsQ845GL.js +299 -0
  9. package/dist/{index-F1hnYyXv.cjs → index-BDaVA9qH.cjs} +1 -1
  10. package/dist/index-BE6vMvZD.js +31 -0
  11. package/dist/index-BGffl9eI.cjs +1 -0
  12. package/dist/index-BL1K373D.cjs +1 -0
  13. package/dist/index-BQ6v-mvs.cjs +1 -0
  14. package/dist/index-BVubrSLn.cjs +7 -0
  15. package/dist/index-BpRsSPYI.cjs +1 -0
  16. package/dist/index-BpbsMNWp.js +31 -0
  17. package/dist/{index-DMWVcjZj.js → index-BsoJBNKM.js} +231 -254
  18. package/dist/index-BuVqVupq.cjs +1 -0
  19. package/dist/{index-BXJLRQIb.js → index-C05daFHY.js} +3 -3
  20. package/dist/index-C09W2mRf.cjs +1 -0
  21. package/dist/{index-gtzHVnNO.js → index-C5v67Epq.js} +1 -1
  22. package/dist/{index-DUOxOiWJ.js → index-C7Tl1GJH.js} +10 -9
  23. package/dist/index-C8-d8k60.cjs +1 -0
  24. package/dist/index-CDFjB7iE.js +62 -0
  25. package/dist/{index-wxOSeHXU.js → index-CJDA7vS6.js} +1500 -1480
  26. package/dist/index-COtnfXZx.cjs +9 -0
  27. package/dist/index-CPhbT4s6.cjs +1 -0
  28. package/dist/{index-C1VNp7cN.cjs → index-CSBR-pb3.cjs} +1 -1
  29. package/dist/{index-DhKWFXCc.js → index-CV6OrK2O.js} +1 -1
  30. package/dist/index-CduRhuEN.cjs +1 -0
  31. package/dist/{index-T32fv4xY.cjs → index-CisjGhRb.cjs} +1 -1
  32. package/dist/{index-CwgPtl0o.cjs → index-CnHoCuQQ.cjs} +1 -1
  33. package/dist/{index-DE-SJK_a.cjs → index-CpOBGJX6.cjs} +1 -1
  34. package/dist/index-D1HkxatM.js +372 -0
  35. package/dist/{index-ClocteNe.js → index-D7bVVCgV.js} +7 -7
  36. package/dist/index-D8roaKwL.js +133 -0
  37. package/dist/{index-IK11lWlP.js → index-DK07JTRV.js} +1 -1
  38. package/dist/index-DW3U_V2t.cjs +1 -0
  39. package/dist/{index-BXYWBodT.js → index-D_0Hnjai.js} +20 -20
  40. package/dist/{index-CCktrzDY.cjs → index-DejRHgGZ.cjs} +1 -1
  41. package/dist/{index-C1XdRILw.cjs → index-DffEufb2.cjs} +1 -1
  42. package/dist/{index-BsVVRJ44.cjs → index-DpcCLb-q.cjs} +6 -6
  43. package/dist/{index-BiDtKnEb.js → index-Dyl2UrtD.js} +1 -1
  44. package/dist/index-KjaW6vpL.cjs +1 -0
  45. package/dist/{index-BUAKVbTb.js → index-Mlxmc2MU.js} +18 -18
  46. package/dist/index-QVI-cQPg.js +3496 -0
  47. package/dist/index-bGRtO-bI.js +455 -0
  48. package/dist/index-di5hrmq-.js +2654 -0
  49. package/dist/{index-B68dDhJk.js → index-e1k9nDb3.js} +1 -1
  50. package/dist/{index-C2E5EoQA.js → index-k5UzOb0_.js} +232 -245
  51. package/dist/{index-DN8qqqbZ.cjs → index-sfVRGnk0.cjs} +169 -169
  52. package/dist/index-xoY252mY.cjs +1 -0
  53. package/dist/index.vue_vue_type_script_setup_true_lang-8nLba4ej.js +182 -0
  54. package/dist/{index.vue_vue_type_script_setup_true_lang-CNLH1CiF.js → index.vue_vue_type_script_setup_true_lang-AFH8ag3n.js} +34 -33
  55. package/dist/{index.vue_vue_type_script_setup_true_lang-DX6aS_xn.cjs → index.vue_vue_type_script_setup_true_lang-BQw1Bdak.cjs} +3 -3
  56. package/dist/index.vue_vue_type_script_setup_true_lang-DgBM7IpA.cjs +1 -0
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_997b1786_lang-u799cwhY.js → index.vue_vue_type_style_index_0_scoped_997b1786_lang-Bs1ynYIf.js} +6 -6
  58. package/dist/index.vue_vue_type_style_index_0_scoped_997b1786_lang-QLxvHAzM.cjs +1 -0
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_fb273504_lang-B9VsfLBA.js → index.vue_vue_type_style_index_0_scoped_fb273504_lang-C2_DprHo.js} +13 -12
  60. package/dist/index.vue_vue_type_style_index_0_scoped_fb273504_lang-QFeGJrzA.cjs +1 -0
  61. package/dist/login-8JFXQtzc.cjs +1 -0
  62. package/dist/login-BfXKsYZJ.js +89 -0
  63. package/dist/main-C8Kn4_Hm.cjs +1 -0
  64. package/dist/{main-BHl-FQ9n.js → main-DLF2S6FA.js} +8 -7
  65. package/dist/{menu-CzCBm0tj.js → menu-CsMLAvgU.js} +1 -1
  66. package/dist/{menu-Bk68Sehy.cjs → menu-k8URwJrI.cjs} +1 -1
  67. package/dist/modelComp-CgpTaOdd.js +26 -0
  68. package/dist/modelComp-DCdeTFx_.cjs +1 -0
  69. package/dist/ss-component.cjs +1 -1
  70. package/dist/ss-component.css +2 -2
  71. package/dist/ss-component.js +7 -7
  72. package/dist/ss-component2.cjs +1 -1
  73. package/dist/ss-component2.js +1 -1
  74. package/package.json +3 -2
  75. package/dist/array-BURQk_eL.cjs +0 -7
  76. package/dist/index-AYhR_AlT.js +0 -2921
  77. package/dist/index-B2EgM_RO.cjs +0 -1
  78. package/dist/index-B3obqldU.cjs +0 -1
  79. package/dist/index-BmTdK13d.cjs +0 -1
  80. package/dist/index-BnNkBs1F.js +0 -60
  81. package/dist/index-C8amTbWE.cjs +0 -32
  82. package/dist/index-CEO0vcuz.js +0 -357
  83. package/dist/index-CnK79Acw.js +0 -38
  84. package/dist/index-CthCEMov.js +0 -4663
  85. package/dist/index-D0IP99NG.cjs +0 -1
  86. package/dist/index-DOmpBPZH.cjs +0 -1
  87. package/dist/index-Dg7RzGPc.cjs +0 -1
  88. package/dist/index-Dggw9p1o.js +0 -435
  89. package/dist/index-EaXw8YlS.cjs +0 -1
  90. package/dist/index-FE-eTNRl.cjs +0 -1
  91. package/dist/index-H9TFA0k3.js +0 -38
  92. package/dist/index-LaphiLZe.js +0 -192
  93. package/dist/index-NUwajgrh.cjs +0 -1
  94. package/dist/index-PCcoPPQx.js +0 -140
  95. package/dist/index-WW-g718c.cjs +0 -1
  96. package/dist/index-kF67a0No.cjs +0 -1
  97. package/dist/index-nosFlu5o.cjs +0 -6
  98. package/dist/index-ylpyigKq.cjs +0 -1
  99. package/dist/index.vue_vue_type_script_setup_true_lang-Dmk-QJgr.js +0 -157
  100. package/dist/index.vue_vue_type_script_setup_true_lang-rvwTDFq8.cjs +0 -1
  101. package/dist/index.vue_vue_type_style_index_0_scoped_997b1786_lang-CiqedHaV.cjs +0 -1
  102. package/dist/index.vue_vue_type_style_index_0_scoped_fb273504_lang-DsD8y1xS.cjs +0 -1
  103. package/dist/login-CIfQQlIu.js +0 -71
  104. package/dist/login-fCjzVJLr.cjs +0 -1
  105. package/dist/main-CeoacaBB.cjs +0 -1
  106. package/dist/obj/model.mtl +0 -42
  107. package/dist/obj/model.obj +0 -26110
  108. package/public/obj/model.mtl +0 -42
  109. package/public/obj/model.obj +0 -26110
@@ -1,13 +1,14 @@
1
- import { u as Tl, g as Ol, s as _l } from "./index-wxOSeHXU.js";
2
- import { ref as R, watch as te, createElementBlock as V, openBlock as z, createVNode as ee, resolveComponent as tl, createElementVNode as I, toDisplayString as Y, withCtx as re, createTextVNode as ue, Fragment as me, renderList as De, createBlock as Ue, resolveDynamicComponent as Fe, createCommentVNode as xl } from "vue";
3
- import { p as Ae, u as sl, g as Re, b as El } from "./index-DMWVcjZj.js";
4
- import { s as Ne, f as Dl, a as pe, b as vl } from "./index-AYhR_AlT.js";
1
+ import { u as Tl, g as Ol, s as _l } from "./index-CJDA7vS6.js";
2
+ import { ref as R, watch as te, createElementBlock as V, openBlock as z, createVNode as ee, resolveComponent as tl, createElementVNode as I, toDisplayString as Y, withCtx as re, createTextVNode as ue, Fragment as Ee, renderList as De, createBlock as Ue, resolveDynamicComponent as Fe, createCommentVNode as xl } from "vue";
3
+ import { p as Ce, g as Re, a as El } from "./index-BsoJBNKM.js";
4
+ import { s as Ne, f as Dl, a as pe, b as vl } from "./index-QVI-cQPg.js";
5
5
  import { _ as ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import { U as we, g as Je, a as Le, i as Ge, S as Te, b as Nl, c as i } from "./cloneDeep-BBMmhdSi.js";
6
+ import { U as we, g as Je, a as Le, i as Ge, S as $e, b as Nl, c as p } from "./cloneDeep-C901qDQa.js";
7
7
  import { _ as Sl } from "./index.vue_vue_type_script_setup_true_lang-DQ2k4Z7D.js";
8
- import { s as Se, u as Pl } from "./menu-CzCBm0tj.js";
9
- import { _ as Bl, s as jl } from "./index.vue_vue_type_script_setup_true_lang-Dmk-QJgr.js";
10
- import { M as Ul, S as Me, e as Fl, i as Ie, b as We } from "./index-ClocteNe.js";
8
+ import { s as Se, u as Pl } from "./menu-CsMLAvgU.js";
9
+ import { u as sl } from "./modelComp-CgpTaOdd.js";
10
+ import { _ as Bl, s as jl } from "./index.vue_vue_type_script_setup_true_lang-8nLba4ej.js";
11
+ import { M as Ul, S as Me, e as Fl, i as Ie, b as We } from "./index-D7bVVCgV.js";
11
12
  var Rl = "__lodash_hash_undefined__";
12
13
  function wl(e) {
13
14
  return this.__data__.set(e, Rl), this;
@@ -15,13 +16,13 @@ function wl(e) {
15
16
  function Jl(e) {
16
17
  return this.__data__.has(e);
17
18
  }
18
- function ke(e) {
19
+ function ge(e) {
19
20
  var a = -1, n = e == null ? 0 : e.length;
20
21
  for (this.__data__ = new Ul(); ++a < n; )
21
22
  this.add(e[a]);
22
23
  }
23
- ke.prototype.add = ke.prototype.push = wl;
24
- ke.prototype.has = Jl;
24
+ ge.prototype.add = ge.prototype.push = wl;
25
+ ge.prototype.has = Jl;
25
26
  function Ll(e, a) {
26
27
  for (var n = -1, l = e == null ? 0 : e.length; ++n < l; )
27
28
  if (a(e[n], n, e))
@@ -33,14 +34,14 @@ function Gl(e, a) {
33
34
  }
34
35
  var Ml = 1, Il = 2;
35
36
  function rl(e, a, n, l, t, s) {
36
- var o = n & Ml, p = e.length, d = a.length;
37
- if (p != d && !(o && d > p))
37
+ var o = n & Ml, i = e.length, d = a.length;
38
+ if (i != d && !(o && d > i))
38
39
  return !1;
39
40
  var h = s.get(e), C = s.get(a);
40
41
  if (h && C)
41
42
  return h == a && C == e;
42
- var x = -1, A = !0, _ = n & Il ? new ke() : void 0;
43
- for (s.set(e, a), s.set(a, e); ++x < p; ) {
43
+ var x = -1, A = !0, _ = n & Il ? new ge() : void 0;
44
+ for (s.set(e, a), s.set(a, e); ++x < i; ) {
44
45
  var g = e[x], v = a[x];
45
46
  if (l)
46
47
  var b = o ? l(v, g, x, a, e, s) : l(g, v, x, e, a, s);
@@ -77,7 +78,7 @@ function Hl(e) {
77
78
  n[++a] = l;
78
79
  }), n;
79
80
  }
80
- var Zl = 1, Kl = 2, ql = "[object Boolean]", zl = "[object Date]", Ql = "[object Error]", Xl = "[object Map]", Yl = "[object Number]", Vl = "[object RegExp]", en = "[object Set]", ln = "[object String]", nn = "[object Symbol]", an = "[object ArrayBuffer]", tn = "[object DataView]", He = Me ? Me.prototype : void 0, Oe = He ? He.valueOf : void 0;
81
+ var Zl = 1, Kl = 2, ql = "[object Boolean]", zl = "[object Date]", Ql = "[object Error]", Xl = "[object Map]", Yl = "[object Number]", Vl = "[object RegExp]", en = "[object Set]", ln = "[object String]", nn = "[object Symbol]", an = "[object ArrayBuffer]", tn = "[object DataView]", He = Me ? Me.prototype : void 0, Te = He ? He.valueOf : void 0;
81
82
  function sn(e, a, n, l, t, s, o) {
82
83
  switch (n) {
83
84
  case tn:
@@ -96,30 +97,30 @@ function sn(e, a, n, l, t, s, o) {
96
97
  case ln:
97
98
  return e == a + "";
98
99
  case Xl:
99
- var p = Wl;
100
+ var i = Wl;
100
101
  case en:
101
102
  var d = l & Zl;
102
- if (p || (p = Hl), e.size != a.size && !d)
103
+ if (i || (i = Hl), e.size != a.size && !d)
103
104
  return !1;
104
105
  var h = o.get(e);
105
106
  if (h)
106
107
  return h == a;
107
108
  l |= Kl, o.set(e, a);
108
- var C = rl(p(e), p(a), l, t, s, o);
109
+ var C = rl(i(e), i(a), l, t, s, o);
109
110
  return o.delete(e), C;
110
111
  case nn:
111
- if (Oe)
112
- return Oe.call(e) == Oe.call(a);
112
+ if (Te)
113
+ return Te.call(e) == Te.call(a);
113
114
  }
114
115
  return !1;
115
116
  }
116
117
  var rn = 1, on = Object.prototype, cn = on.hasOwnProperty;
117
118
  function un(e, a, n, l, t, s) {
118
- var o = n & rn, p = Je(e), d = p.length, h = Je(a), C = h.length;
119
+ var o = n & rn, i = Je(e), d = i.length, h = Je(a), C = h.length;
119
120
  if (d != C && !o)
120
121
  return !1;
121
122
  for (var x = d; x--; ) {
122
- var A = p[x];
123
+ var A = i[x];
123
124
  if (!(o ? A in a : cn.call(a, A)))
124
125
  return !1;
125
126
  }
@@ -129,7 +130,7 @@ function un(e, a, n, l, t, s) {
129
130
  var v = !0;
130
131
  s.set(e, a), s.set(a, e);
131
132
  for (var b = o; ++x < d; ) {
132
- A = p[x];
133
+ A = i[x];
133
134
  var y = e[A], f = a[A];
134
135
  if (l)
135
136
  var c = o ? l(f, y, A, a, e, s) : l(y, f, A, e, a, s);
@@ -147,7 +148,7 @@ function un(e, a, n, l, t, s) {
147
148
  }
148
149
  var pn = 1, Ze = "[object Arguments]", Ke = "[object Array]", fe = "[object Object]", fn = Object.prototype, qe = fn.hasOwnProperty;
149
150
  function dn(e, a, n, l, t, s) {
150
- var o = Ie(e), p = Ie(a), d = o ? Ke : Le(e), h = p ? Ke : Le(a);
151
+ var o = Ie(e), i = Ie(a), d = o ? Ke : Le(e), h = i ? Ke : Le(a);
151
152
  d = d == Ze ? fe : d, h = h == Ze ? fe : h;
152
153
  var C = d == fe, x = h == fe, A = d == h;
153
154
  if (A && Ge(e)) {
@@ -156,15 +157,15 @@ function dn(e, a, n, l, t, s) {
156
157
  o = !0, C = !1;
157
158
  }
158
159
  if (A && !C)
159
- return s || (s = new Te()), o || Nl(e) ? rl(e, a, n, l, t, s) : sn(e, a, d, n, l, t, s);
160
+ return s || (s = new $e()), o || Nl(e) ? rl(e, a, n, l, t, s) : sn(e, a, d, n, l, t, s);
160
161
  if (!(n & pn)) {
161
162
  var _ = C && qe.call(e, "__wrapped__"), g = x && qe.call(a, "__wrapped__");
162
163
  if (_ || g) {
163
164
  var v = _ ? e.value() : e, b = g ? a.value() : a;
164
- return s || (s = new Te()), t(v, b, n, l, s);
165
+ return s || (s = new $e()), t(v, b, n, l, s);
165
166
  }
166
167
  }
167
- return A ? (s || (s = new Te()), un(e, a, n, l, t, s)) : !1;
168
+ return A ? (s || (s = new $e()), un(e, a, n, l, t, s)) : !1;
168
169
  }
169
170
  function ol(e, a, n, l, t) {
170
171
  return e === a ? !0 : e == null || a == null || !We(e) && !We(a) ? e !== e && a !== a : dn(e, a, n, l, ol, t);
@@ -192,6 +193,7 @@ const de = [
192
193
  ], hn = { class: "form-content" }, mn = {
193
194
  __name: "index",
194
195
  props: {
196
+ formRules: Object,
195
197
  itemData: {
196
198
  type: Array,
197
199
  default: () => []
@@ -204,9 +206,9 @@ const de = [
204
206
  },
205
207
  emits: ["change", "contentChange"],
206
208
  setup(e, { emit: a }) {
207
- const n = e, l = a, t = R([]), s = R(!1), o = R([]), p = Tl(Ae), d = R(!1), h = R(), C = (A) => {
209
+ const n = e, l = a, t = R([]), s = R(!1), o = R([]), i = Tl(Ce), d = R(!1), h = R(), C = (A) => {
208
210
  var y, f, c, u;
209
- const _ = (f = (y = i(n.itemData)) == null ? void 0 : y.find((r) => (r == null ? void 0 : r.key) === "formContent")) == null ? void 0 : f.contents, g = i(A.content);
211
+ const _ = (f = (y = p(n.itemData)) == null ? void 0 : y.find((r) => (r == null ? void 0 : r.key) === "formContent")) == null ? void 0 : f.contents, g = p(A.content);
210
212
  let v = {};
211
213
  g && ((c = Object.values(g)) == null ? void 0 : c.length) > 0 && ((u = Object.values(g)) == null || u.forEach((r, m) => {
212
214
  v[_[m].key] = r;
@@ -220,14 +222,14 @@ const de = [
220
222
  }, x = (A) => {
221
223
  var v, b;
222
224
  if (!A) return;
223
- if (((v = Object.values(i(A))) == null ? void 0 : v.length) > 0) {
224
- const y = (b = Object.values(i(A))) == null ? void 0 : b.map((c) => c);
225
+ if (((v = Object.values(p(A))) == null ? void 0 : v.length) > 0) {
226
+ const y = (b = Object.values(p(A))) == null ? void 0 : b.map((c) => c);
225
227
  let f = "";
226
228
  y == null || y.forEach((c) => {
227
229
  c !== "" && c !== void 0 && (f = f === "" ? c : f + "/" + c);
228
- }), p.setSelectArray(y), p.setSelectString(f);
230
+ }), i.setSelectArray(y), i.setSelectString(f);
229
231
  }
230
- const _ = i(n.itemData), g = _ == null ? void 0 : _.map((y) => {
232
+ const _ = p(n.itemData), g = _ == null ? void 0 : _.map((y) => {
231
233
  var f;
232
234
  return (y == null ? void 0 : y.key) === "formContent" && ((f = y.contents) == null || f.map((c, u) => {
233
235
  var r, m, $, O, B, D, U, P, E, S, T, N, k, j, F, J, H, Z, Q;
@@ -249,15 +251,15 @@ const de = [
249
251
  () => n.itemData,
250
252
  () => {
251
253
  var y, f, c, u, r, m, $, O, B, D, U;
252
- const A = (y = i(n.itemData)) == null ? void 0 : y.find((P) => (P == null ? void 0 : P.key) === "formContent"), _ = (f = i(n.itemData)) == null ? void 0 : f.find((P) => (P == null ? void 0 : P.key) === "formButton"), g = (c = i(n.itemData)) == null ? void 0 : c.find((P) => (P == null ? void 0 : P.key) === "formFlex"), v = (u = i(n.itemData)) == null ? void 0 : u.find((P) => (P == null ? void 0 : P.key) === "formWrap"), b = (r = i(n.itemData)) == null ? void 0 : r.find((P) => (P == null ? void 0 : P.key) === "enableWrap");
254
+ const A = (y = p(n.itemData)) == null ? void 0 : y.find((P) => (P == null ? void 0 : P.key) === "formContent"), _ = (f = p(n.itemData)) == null ? void 0 : f.find((P) => (P == null ? void 0 : P.key) === "formButton"), g = (c = p(n.itemData)) == null ? void 0 : c.find((P) => (P == null ? void 0 : P.key) === "formFlex"), v = (u = p(n.itemData)) == null ? void 0 : u.find((P) => (P == null ? void 0 : P.key) === "formWrap"), b = (r = p(n.itemData)) == null ? void 0 : r.find((P) => (P == null ? void 0 : P.key) === "enableWrap");
253
255
  if ((v == null ? void 0 : v.contents) === "纵向" ? s.value = !1 : s.value = !0, d.value = (b == null ? void 0 : b.contents) === void 0 ? !1 : b == null ? void 0 : b.contents, h.value = typeof (g == null ? void 0 : g.contents) != "boolean" ? !(!(g != null && g.contents) === "" || ((m = g == null ? void 0 : g.contents) == null ? void 0 : m.toUpperCase()) === "VERTICAL") : g == null ? void 0 : g.contents, (($ = A == null ? void 0 : A.contents) == null ? void 0 : $.length) > 0 && Array.isArray(A == null ? void 0 : A.contents)) {
254
256
  const P = [];
255
257
  (O = A == null ? void 0 : A.contents) == null || O.forEach((T, N) => {
256
258
  var k, j, F, J, H, Z, Q, X, ne, W;
257
259
  if ((T == null ? void 0 : T.label) !== "") {
258
260
  let q = (T == null ? void 0 : T.key) ?? "", K = (T == null ? void 0 : T.type) ?? "", M = (T == null ? void 0 : T.options) ?? [];
259
- if ((k = T == null ? void 0 : T.key) != null && k.includes("$") && (q = (j = i(T == null ? void 0 : T.key).split("$")) == null ? void 0 : j[0], ((J = (F = i(T == null ? void 0 : T.key).split("$")) == null ? void 0 : F[1]) == null ? void 0 : J.length) > 0)) {
260
- const [le, w] = (Z = (H = i(T == null ? void 0 : T.key).split("$")) == null ? void 0 : H[1]) == null ? void 0 : Z.split(/[()]/);
261
+ if ((k = T == null ? void 0 : T.key) != null && k.includes("$") && (q = (j = p(T == null ? void 0 : T.key).split("$")) == null ? void 0 : j[0], ((J = (F = p(T == null ? void 0 : T.key).split("$")) == null ? void 0 : F[1]) == null ? void 0 : J.length) > 0)) {
262
+ const [le, w] = (Z = (H = p(T == null ? void 0 : T.key).split("$")) == null ? void 0 : H[1]) == null ? void 0 : Z.split(/[()]/);
261
263
  K = ((Q = de.find((se) => (se == null ? void 0 : se.key) === le)) == null ? void 0 : Q.value) ?? "", ((X = w == null ? void 0 : w.split(",")) == null ? void 0 : X.length) > 0 && (M = (ne = w == null ? void 0 : w.split(",")) == null ? void 0 : ne.map((se) => ({
262
264
  label: se,
263
265
  value: se
@@ -274,11 +276,11 @@ const de = [
274
276
  });
275
277
  }
276
278
  });
277
- const E = (B = i(P)) == null ? void 0 : B.map((T) => T.value);
279
+ const E = (B = p(P)) == null ? void 0 : B.map((T) => T.value);
278
280
  let S = "";
279
281
  E == null || E.forEach((T) => {
280
282
  T !== "" && T !== void 0 && (S = S === "" ? T : S + "/" + T);
281
- }), p.setSelectArray(E), p.setSelectString(S), t.value = P;
283
+ }), i.setSelectArray(E), i.setSelectString(S), t.value = P;
282
284
  } else
283
285
  t.value = [];
284
286
  if (((D = _ == null ? void 0 : _.contents) == null ? void 0 : D.length) > 0) {
@@ -298,16 +300,17 @@ const de = [
298
300
  ), (A, _) => (z(), V("div", hn, [
299
301
  ee(Ne, {
300
302
  rowContents: t.value,
303
+ formRules: e.formRules,
301
304
  buttonValue: o.value,
302
305
  isRowFlex: h.value,
303
- isEnableWrap: d.value,
306
+ isEnableWrap: !1,
304
307
  onOnButtonClick: C,
305
308
  onChange: x,
306
309
  isButtonRow: s.value
307
- }, null, 8, ["rowContents", "buttonValue", "isRowFlex", "isEnableWrap", "isButtonRow"])
310
+ }, null, 8, ["rowContents", "formRules", "buttonValue", "isRowFlex", "isButtonRow"])
308
311
  ]));
309
312
  }
310
- }, ze = /* @__PURE__ */ ie(mn, [["__scopeId", "data-v-8de24291"]]), bn = { class: "table-operate-content" }, gn = { class: "table-operate-item" }, kn = { class: "operate-title" }, Cn = { class: "operate-content" }, An = { class: "operate-title" }, $n = { class: "operate-content" }, Tn = { class: "operate-title" }, On = { class: "operate-content" }, _n = { class: "operate-content" }, xn = {
313
+ }, ze = /* @__PURE__ */ ie(mn, [["__scopeId", "data-v-8559076a"]]), bn = { class: "table-operate-content" }, gn = { class: "table-operate-item" }, kn = { class: "operate-title" }, Cn = { class: "operate-content" }, An = { class: "operate-title" }, $n = { class: "operate-content" }, Tn = { class: "operate-title" }, On = { class: "operate-content" }, _n = { class: "operate-content" }, xn = {
311
314
  __name: "operate",
312
315
  props: {
313
316
  itemContents: {
@@ -321,7 +324,7 @@ const de = [
321
324
  },
322
325
  emits: ["change"],
323
326
  setup(e, { emit: a }) {
324
- const n = e, l = a, t = R([]), s = R([]), o = R([]), p = R([{
327
+ const n = e, l = a, t = R([]), s = R([]), o = R([]), i = R([{
325
328
  label: "按钮名称",
326
329
  prop: "label",
327
330
  type: "edit"
@@ -435,7 +438,7 @@ const de = [
435
438
  type: "operate",
436
439
  sortable: !1
437
440
  }], _ = (u) => {
438
- let r = i(t.value);
441
+ let r = p(t.value);
439
442
  const m = r == null ? void 0 : r.find(($) => $.key === "page");
440
443
  (m == null ? void 0 : m.contents) !== void 0 ? r = r == null ? void 0 : r.map(($) => (($ == null ? void 0 : $.key) === "page" && ($.contents = u == null ? void 0 : u.isPagination), $)) : r.push({
441
444
  key: "page",
@@ -446,7 +449,7 @@ const de = [
446
449
  () => n.originalItemContents,
447
450
  () => {
448
451
  var u, r, m, $, O, B, D, U, P, E, S, T, N;
449
- !n.originalItemContents || n.originalItemContents.length === 0 || (t.value = i(n.originalItemContents), s.value = (r = (u = t.value) == null ? void 0 : u.find((k) => (k == null ? void 0 : k.key) === "header")) == null ? void 0 : r.contents, o.value = ($ = (m = t.value) == null ? void 0 : m.find((k) => (k == null ? void 0 : k.key) === "rowButton")) == null ? void 0 : $.contents, p.value = (B = (O = t.value) == null ? void 0 : O.find((k) => (k == null ? void 0 : k.key) === "extraButton")) == null ? void 0 : B.contents, x.value = (U = (D = t.value) == null ? void 0 : D.find((k) => (k == null ? void 0 : k.key) === "page")) != null && U.contents ? [{
452
+ !n.originalItemContents || n.originalItemContents.length === 0 || (t.value = p(n.originalItemContents), s.value = (r = (u = t.value) == null ? void 0 : u.find((k) => (k == null ? void 0 : k.key) === "header")) == null ? void 0 : r.contents, o.value = ($ = (m = t.value) == null ? void 0 : m.find((k) => (k == null ? void 0 : k.key) === "rowButton")) == null ? void 0 : $.contents, i.value = (B = (O = t.value) == null ? void 0 : O.find((k) => (k == null ? void 0 : k.key) === "extraButton")) == null ? void 0 : B.contents, x.value = (U = (D = t.value) == null ? void 0 : D.find((k) => (k == null ? void 0 : k.key) === "page")) != null && U.contents ? [{
450
453
  name: "isPagination",
451
454
  label: "是否显示分页",
452
455
  type: "Switch",
@@ -473,7 +476,7 @@ const de = [
473
476
  type: (k == null ? void 0 : k.type) ?? "",
474
477
  textColor: (k == null ? void 0 : k.textColor) ?? "#000000",
475
478
  id: (k == null ? void 0 : k.id) ?? j
476
- }), p.value = (N = p.value) == null ? void 0 : N.map((k, j) => k = {
479
+ }), i.value = (N = i.value) == null ? void 0 : N.map((k, j) => k = {
477
480
  label: (k == null ? void 0 : k.label) ?? "",
478
481
  type: (k == null ? void 0 : k.type) ?? "",
479
482
  background: (k == null ? void 0 : k.textColor) ?? "var(--system-bg)",
@@ -485,7 +488,7 @@ const de = [
485
488
  () => x.value,
486
489
  () => {
487
490
  var m;
488
- let u = i(t.value);
491
+ let u = p(t.value);
489
492
  const r = u == null ? void 0 : u.find(($) => $.key === "page");
490
493
  r != null && r.contents ? u = u == null ? void 0 : u.map(($) => {
491
494
  var O;
@@ -498,8 +501,8 @@ const de = [
498
501
  { immediate: !0, deep: !0 }
499
502
  );
500
503
  const g = () => {
501
- const u = i(s.value);
502
- let r = i(t.value);
504
+ const u = p(s.value);
505
+ let r = p(t.value);
503
506
  u.push({
504
507
  label: "",
505
508
  prop: "",
@@ -519,8 +522,8 @@ const de = [
519
522
  contents: u
520
523
  }), t.value = r;
521
524
  }, v = () => {
522
- const u = i(o.value);
523
- let r = i(t.value);
525
+ const u = p(o.value);
526
+ let r = p(t.value);
524
527
  u.push({
525
528
  label: "",
526
529
  type: "",
@@ -533,8 +536,8 @@ const de = [
533
536
  contents: u
534
537
  }), t.value = r;
535
538
  }, b = () => {
536
- const u = i(h.value);
537
- let r = i(t.value);
539
+ const u = p(h.value);
540
+ let r = p(t.value);
538
541
  u.push({
539
542
  label: "",
540
543
  type: "",
@@ -547,20 +550,20 @@ const de = [
547
550
  contents: u
548
551
  }), t.value = r;
549
552
  }, y = (u) => {
550
- const r = i(o.value);
551
- let m = i(t.value);
553
+ const r = p(o.value);
554
+ let m = p(t.value);
552
555
  o.value = r.filter((O) => O.id !== u.id);
553
556
  const $ = m == null ? void 0 : m.find((O) => O.key === "rowButton");
554
557
  $ != null && $.contents && (m = m == null ? void 0 : m.map((O) => ((O == null ? void 0 : O.key) === "rowButton" && (O.contents = r.filter((B) => B.id !== u.id)), O))), t.value = m;
555
558
  }, f = (u) => {
556
- const r = i(h.value);
557
- let m = i(t.value);
559
+ const r = p(h.value);
560
+ let m = p(t.value);
558
561
  h.value = r.filter((O) => O.id !== u.id);
559
562
  const $ = m == null ? void 0 : m.find((O) => O.key === "extraButton");
560
563
  $ != null && $.contents && (m = m == null ? void 0 : m.map((O) => ((O == null ? void 0 : O.key) === "extraButton" && (O.contents = r.filter((B) => B.id !== u.id)), O))), t.value = m;
561
564
  }, c = (u) => {
562
- const r = i(s.value);
563
- let m = i(t.value);
565
+ const r = p(s.value);
566
+ let m = p(t.value);
564
567
  s.value = r.filter((O) => O.id !== u.id);
565
568
  const $ = m == null ? void 0 : m.find((O) => O.key === "header");
566
569
  $ != null && $.contents && (m = m == null ? void 0 : m.map((O) => ((O == null ? void 0 : O.key) === "header" && (O.contents = r.filter((B) => B.id !== u.id)), O))), t.value = m;
@@ -568,7 +571,7 @@ const de = [
568
571
  return te(
569
572
  () => [t.value, s.value],
570
573
  () => {
571
- let u = i(t.value);
574
+ let u = p(t.value);
572
575
  const r = u == null ? void 0 : u.find((m) => (m == null ? void 0 : m.key) === "header");
573
576
  r != null && r.contents ? (r.contents = s.value, u = u == null ? void 0 : u.map((m) => ((m == null ? void 0 : m.key) === "header" && (m.contents = s.value), m))) : u.push({
574
577
  key: "header",
@@ -644,7 +647,7 @@ const de = [
644
647
  ]),
645
648
  I("div", On, [
646
649
  ee(pe, {
647
- columns: p.value,
650
+ columns: i.value,
648
651
  isShowPagination: !1,
649
652
  isShowEdit: !1,
650
653
  isMoveColumn: !1,
@@ -723,18 +726,18 @@ const de = [
723
726
  prop: "operate",
724
727
  type: "operate",
725
728
  sortable: !1
726
- }]), p = R([]), d = R([]), h = R([]), C = R(0);
729
+ }]), i = R([]), d = R([]), h = R([]), C = R(0);
727
730
  te(
728
731
  () => n.originalItemContents,
729
732
  () => {
730
733
  var b, y, f, c, u, r, m, $, O, B;
731
- !n.originalItemContents || n.originalItemContents.length === 0 || (d.value = i(n.originalItemContents), h.value = (y = (b = d.value) == null ? void 0 : b.find((D) => (D == null ? void 0 : D.key) === "formContent")) == null ? void 0 : y.contents, p.value = (c = (f = d.value) == null ? void 0 : f.find((D) => (D == null ? void 0 : D.key) === "formButton")) == null ? void 0 : c.contents, h.value = (u = h.value) == null ? void 0 : u.map((D, U) => D = {
734
+ !n.originalItemContents || n.originalItemContents.length === 0 || (d.value = p(n.originalItemContents), h.value = (y = (b = d.value) == null ? void 0 : b.find((D) => (D == null ? void 0 : D.key) === "formContent")) == null ? void 0 : y.contents, i.value = (c = (f = d.value) == null ? void 0 : f.find((D) => (D == null ? void 0 : D.key) === "formButton")) == null ? void 0 : c.contents, h.value = (u = h.value) == null ? void 0 : u.map((D, U) => D = {
732
735
  label: (D == null ? void 0 : D.label) ?? "",
733
736
  type: (D == null ? void 0 : D.type) ?? "",
734
737
  key: (D == null ? void 0 : D.key) ?? "",
735
738
  options: (D == null ? void 0 : D.options) ?? "",
736
739
  id: (D == null ? void 0 : D.id) ?? U
737
- }), p.value = (r = p.value) == null ? void 0 : r.map((D, U) => D = {
740
+ }), i.value = (r = i.value) == null ? void 0 : r.map((D, U) => D = {
738
741
  label: (D == null ? void 0 : D.label) ?? "",
739
742
  type: (D == null ? void 0 : D.type) ?? "",
740
743
  background: (D == null ? void 0 : D.background) ?? "#000000",
@@ -754,22 +757,22 @@ const de = [
754
757
  { deep: !0, immediate: !0 }
755
758
  );
756
759
  const x = () => {
757
- const b = i(p.value);
758
- let y = i(d.value);
760
+ const b = p(i.value);
761
+ let y = p(d.value);
759
762
  b.push({
760
763
  label: "",
761
764
  type: "",
762
765
  background: "#000000",
763
766
  id: C.value
764
- }), p.value = b, C.value++;
767
+ }), i.value = b, C.value++;
765
768
  const f = y == null ? void 0 : y.find((c) => (c == null ? void 0 : c.key) === "formButton");
766
769
  f != null && f.contents ? (f.contents = b, y = y == null ? void 0 : y.map((c) => ((c == null ? void 0 : c.key) === "formButton" && (c.contents = b), c))) : y.push({
767
770
  key: "formButton",
768
771
  contents: b
769
772
  }), d.value = y;
770
773
  }, A = () => {
771
- const b = i(h.value);
772
- let y = i(d.value);
774
+ const b = p(h.value);
775
+ let y = p(d.value);
773
776
  b.push({
774
777
  label: "",
775
778
  type: "",
@@ -783,19 +786,19 @@ const de = [
783
786
  contents: b
784
787
  }), d.value = y;
785
788
  }, _ = (b) => {
786
- const y = i(p.value);
787
- let f = i(d.value);
788
- p.value = y.filter((u) => u.id !== b.id);
789
+ const y = p(i.value);
790
+ let f = p(d.value);
791
+ i.value = y.filter((u) => u.id !== b.id);
789
792
  const c = f == null ? void 0 : f.find((u) => u.key === "formButton");
790
793
  c != null && c.contents && (f = f == null ? void 0 : f.map((u) => ((u == null ? void 0 : u.key) === "formButton" && (u.contents = y.filter((r) => r.id !== b.id)), u))), d.value = f;
791
794
  }, g = (b) => {
792
- const y = i(h.value);
793
- let f = i(d.value);
795
+ const y = p(h.value);
796
+ let f = p(d.value);
794
797
  h.value = y.filter((u) => u.id !== b.id);
795
798
  const c = f == null ? void 0 : f.find((u) => u.key === "formContent");
796
799
  c != null && c.contents && (f = f == null ? void 0 : f.map((u) => ((u == null ? void 0 : u.key) === "formContent" && (u.contents = y.filter((r) => r.id !== b.id)), u))), d.value = f;
797
800
  }, v = (b) => {
798
- let y = i(d.value);
801
+ let y = p(d.value);
799
802
  const f = y == null ? void 0 : y.find((c) => c.key === "formFlex");
800
803
  (f == null ? void 0 : f.contents) !== void 0 ? y = y == null ? void 0 : y.map((c) => ((c == null ? void 0 : c.key) === "formFlex" && (c.contents = b == null ? void 0 : b.isRowFlex), c)) : y.push({
801
804
  key: "formFlex",
@@ -805,7 +808,7 @@ const de = [
805
808
  return te(
806
809
  () => [d.value, h.value],
807
810
  () => {
808
- let b = i(d.value);
811
+ let b = p(d.value);
809
812
  const y = b == null ? void 0 : b.find((f) => (f == null ? void 0 : f.key) === "formContent");
810
813
  y != null && y.contents ? (y.contents = h.value, b = b == null ? void 0 : b.map((f) => ((f == null ? void 0 : f.key) === "formContent" && (f.contents = h.value), f))) : b.push({
811
814
  key: "formContent",
@@ -861,7 +864,7 @@ const de = [
861
864
  isShowPagination: !1,
862
865
  isShowEdit: !1,
863
866
  isMoveColumn: !1,
864
- tableData: p.value,
867
+ tableData: i.value,
865
868
  onDeleteRow: _
866
869
  }, null, 8, ["columns", "tableData"])
867
870
  ]),
@@ -898,13 +901,13 @@ const de = [
898
901
  },
899
902
  emits: ["change"],
900
903
  setup(e, { emit: a }) {
901
- const n = e, l = R(0), t = R(), s = R(), o = a, p = R(!1), d = R({}), h = R({}), C = R();
904
+ const n = e, l = R(0), t = R(), s = R(), o = a, i = R(!1), d = R({}), h = R({}), C = R();
902
905
  te(
903
906
  () => [n.itemData],
904
907
  () => {
905
908
  var u;
906
- const c = i(n.itemData);
907
- t.value = (u = i(c)) == null ? void 0 : u.map((r) => {
909
+ const c = p(n.itemData);
910
+ t.value = (u = p(c)) == null ? void 0 : u.map((r) => {
908
911
  var m;
909
912
  if (r.key === "extra") {
910
913
  let $ = [];
@@ -921,10 +924,10 @@ const de = [
921
924
  const x = (c, u, r, m) => {
922
925
  var O;
923
926
  let $ = {};
924
- ((O = c == null ? void 0 : c[0]) == null ? void 0 : O.contents) === "详情" && (p.value = !0, $[u] = c, s.value = c == null ? void 0 : c.filter((B) => (B == null ? void 0 : B.key) !== "tableContentName"), d.value = $, h.value = r, C.value = m.id);
927
+ ((O = c == null ? void 0 : c[0]) == null ? void 0 : O.contents) === "详情" && (i.value = !0, $[u] = c, s.value = c == null ? void 0 : c.filter((B) => (B == null ? void 0 : B.key) !== "tableContentName"), d.value = $, h.value = r, C.value = m.id);
925
928
  }, A = (c) => {
926
929
  var B, D, U, P;
927
- const u = (D = (B = Object.values(i(d.value))) == null ? void 0 : B[0]) == null ? void 0 : D.filter((E) => (E == null ? void 0 : E.key) === "tableContentName"), r = (P = (U = Object.values(i(d.value))) == null ? void 0 : U[0]) == null ? void 0 : P.filter((E) => (E == null ? void 0 : E.key) !== "tableContentName"), m = r == null ? void 0 : r.map((E, S) => {
930
+ const u = (D = (B = Object.values(p(d.value))) == null ? void 0 : B[0]) == null ? void 0 : D.filter((E) => (E == null ? void 0 : E.key) === "tableContentName"), r = (P = (U = Object.values(p(d.value))) == null ? void 0 : U[0]) == null ? void 0 : P.filter((E) => (E == null ? void 0 : E.key) !== "tableContentName"), m = r == null ? void 0 : r.map((E, S) => {
928
931
  var T;
929
932
  return S === c.index && (E == null ? void 0 : E.comp) === "Table" && (E.compData = (T = E.compData) == null ? void 0 : T.map((N) => {
930
933
  var k, j;
@@ -937,17 +940,17 @@ const de = [
937
940
  })), E;
938
941
  });
939
942
  m.unshift(u == null ? void 0 : u[0]);
940
- let $ = i(d.value), O = {};
943
+ let $ = p(d.value), O = {};
941
944
  for (let E in $)
942
945
  O[E] = m;
943
946
  d.value = O;
944
947
  }, _ = () => {
945
- p.value = !1, d.value = {}, h.value = {}, C.value = void 0, l.value++;
948
+ i.value = !1, d.value = {}, h.value = {}, C.value = void 0, l.value++;
946
949
  }, g = (c) => {
947
950
  var B, D, U, P;
948
- const u = (D = (B = Object.values(i(d.value))) == null ? void 0 : B[0]) == null ? void 0 : D.filter((E) => (E == null ? void 0 : E.key) === "tableContentName"), r = (P = (U = Object.values(i(d.value))) == null ? void 0 : U[0]) == null ? void 0 : P.filter((E) => (E == null ? void 0 : E.key) !== "tableContentName"), m = r == null ? void 0 : r.map((E, S) => (S === c.index && (E.compData = c.contents), E));
951
+ const u = (D = (B = Object.values(p(d.value))) == null ? void 0 : B[0]) == null ? void 0 : D.filter((E) => (E == null ? void 0 : E.key) === "tableContentName"), r = (P = (U = Object.values(p(d.value))) == null ? void 0 : U[0]) == null ? void 0 : P.filter((E) => (E == null ? void 0 : E.key) !== "tableContentName"), m = r == null ? void 0 : r.map((E, S) => (S === c.index && (E.compData = c.contents), E));
949
952
  m.unshift(u == null ? void 0 : u[0]);
950
- let $ = i(d.value), O = {};
953
+ let $ = p(d.value), O = {};
951
954
  for (let E in $)
952
955
  O[E] = m;
953
956
  d.value = O;
@@ -960,33 +963,31 @@ const de = [
960
963
  buttonName: "编辑",
961
964
  index: C.value,
962
965
  singleContent: c
963
- }, "methodData"), p.value = !1, d.value = {}, h.value = {}, C.value = void 0;
966
+ }, "methodData"), i.value = !1, d.value = {}, h.value = {}, C.value = void 0;
964
967
  }, b = () => {
965
- p.value = !1, d.value = {}, h.value = {}, C.value = void 0;
968
+ i.value = !1, d.value = {}, h.value = {}, C.value = void 0;
966
969
  }, y = (c) => {
967
970
  o("change", c, "methodData");
968
971
  }, f = (c) => zn(c);
969
- return (c, u) => (z(), V(me, null, [
970
- I("div", Rn, [
971
- (z(!0), V(me, null, De(t.value, (r, m) => (z(), V("div", { key: l.value }, [
972
- (r == null ? void 0 : r.key) === "extra" ? (z(), V("div", wn)) : (z(), V("div", Jn, [
973
- (z(), Ue(Fe(f(r.comp)), {
974
- itemData: r == null ? void 0 : r.compData,
975
- childItemData: r == null ? void 0 : r.itemChildData,
976
- key: m,
977
- index: (r == null ? void 0 : r.id) ?? m,
978
- onContentClick: x,
979
- onChange: y
980
- }, null, 40, ["itemData", "childItemData", "index"]))
981
- ]))
982
- ]))), 128))
983
- ]),
972
+ return (c, u) => (z(), V("div", Rn, [
973
+ (z(!0), V(Ee, null, De(t.value, (r, m) => (z(), V("div", { key: l.value }, [
974
+ (r == null ? void 0 : r.key) === "extra" ? (z(), V("div", wn)) : (z(), V("div", Jn, [
975
+ (z(), Ue(Fe(f(r.comp)), {
976
+ itemData: r == null ? void 0 : r.compData,
977
+ childItemData: r == null ? void 0 : r.itemChildData,
978
+ key: m,
979
+ index: (r == null ? void 0 : r.id) ?? m,
980
+ onContentClick: x,
981
+ onChange: y
982
+ }, null, 40, ["itemData", "childItemData", "index"]))
983
+ ]))
984
+ ]))), 128)),
984
985
  ee(vl, {
985
- visible: p.value,
986
+ visible: i.value,
986
987
  onBeforeDestroy: b
987
988
  }, {
988
989
  default: re(() => [
989
- (z(!0), V(me, null, De(s.value, (r, m) => (z(), V("div", {
990
+ (z(!0), V(Ee, null, De(s.value, (r, m) => (z(), V("div", {
990
991
  key: m,
991
992
  class: "extra-dialog"
992
993
  }, [
@@ -1015,9 +1016,9 @@ const de = [
1015
1016
  ]),
1016
1017
  _: 1
1017
1018
  }, 8, ["visible"])
1018
- ], 64));
1019
+ ]));
1019
1020
  }
1020
- }, Gn = /* @__PURE__ */ ie(Ln, [["__scopeId", "data-v-e3e0f29d"]]), Qe = (e) => {
1021
+ }, Gn = /* @__PURE__ */ ie(Ln, [["__scopeId", "data-v-b0b2f71f"]]), Qe = (e) => {
1021
1022
  let a = [];
1022
1023
  function n(t) {
1023
1024
  t == null || t.forEach((s) => {
@@ -1034,18 +1035,18 @@ const de = [
1034
1035
  return n(e), a;
1035
1036
  }, Mn = (e, a, n) => {
1036
1037
  var t;
1037
- let l = (t = i(e)) == null ? void 0 : t.map((s) => (s = s.filter((o) => !o.id), s));
1038
+ let l = (t = p(e)) == null ? void 0 : t.map((s) => (s = s.filter((o) => !(o != null && o.id)), s));
1038
1039
  return l = l == null ? void 0 : l.map((s) => {
1039
1040
  var o;
1040
- return s = (o = s.map((p, d) => {
1041
+ return s = (o = s.map((i, d) => {
1041
1042
  let h = {};
1042
1043
  if (n != null && n.find((C) => C === a[d]))
1043
- return h[a[d]] = p, h;
1044
- })) == null ? void 0 : o.filter((p) => p), s;
1044
+ return h[a[d]] = i, h;
1045
+ })) == null ? void 0 : o.filter((i) => i), s;
1045
1046
  }), l;
1046
1047
  }, In = (e, a) => {
1047
- var o, p;
1048
- const n = i(e), l = (o = n == null ? void 0 : n.find((d) => (d == null ? void 0 : d.key) === "header")) == null ? void 0 : o.contents, t = (p = n == null ? void 0 : n.find((d) => (d == null ? void 0 : d.key) === "tableContents")) == null ? void 0 : p.contents;
1048
+ var o, i;
1049
+ const n = p(e), l = (o = n == null ? void 0 : n.find((d) => (d == null ? void 0 : d.key) === "header")) == null ? void 0 : o.contents, t = (i = n == null ? void 0 : n.find((d) => (d == null ? void 0 : d.key) === "tableContents")) == null ? void 0 : i.contents;
1049
1050
  return Mn(t, Qe(l).slice(0, Qe(l).length - 1), a);
1050
1051
  }, Wn = { class: "method-content" }, Hn = ["onClick"], Zn = {
1051
1052
  __name: "index",
@@ -1066,7 +1067,7 @@ const de = [
1066
1067
  }
1067
1068
  },
1068
1069
  setup(e) {
1069
- const a = R([]), n = e, l = sl(Ae), { itemData: t } = Se(l), s = (d, h) => {
1070
+ const a = R([]), n = e, l = sl(Ce), { itemData: t } = Se(l), s = (d, h) => {
1070
1071
  var x;
1071
1072
  const C = (x = h == null ? void 0 : h[0]) == null ? void 0 : x.children;
1072
1073
  return d == null ? void 0 : d.map((A) => {
@@ -1083,14 +1084,14 @@ const de = [
1083
1084
  te(
1084
1085
  () => t.value,
1085
1086
  async () => {
1086
- await p(i(n.itemData));
1087
+ await i(p(n.itemData));
1087
1088
  },
1088
1089
  { deep: !0 }
1089
1090
  );
1090
1091
  const o = async (d) => {
1091
1092
  var f, c, u, r, m, $;
1092
1093
  let h = {};
1093
- if ((f = i(d.content)) == null || f.forEach((O, B) => {
1094
+ if ((f = p(d.content)) == null || f.forEach((O, B) => {
1094
1095
  var D, U, P, E, S, T, N, k, j, F, J, H, Z, Q, X, ne, W;
1095
1096
  if ((O == null ? void 0 : O.comp) === "Table") {
1096
1097
  let q = (E = (P = (U = (D = O == null ? void 0 : O.compData) == null ? void 0 : D.find((w) => (w == null ? void 0 : w.key) === "header")) == null ? void 0 : U.contents) == null ? void 0 : P[0]) == null ? void 0 : E.some((w) => w == null ? void 0 : w.children), K = (N = (T = (S = O == null ? void 0 : O.compData) == null ? void 0 : S.find((w) => (w == null ? void 0 : w.key) === "tableContents")) == null ? void 0 : T.contents) == null ? void 0 : N.map((w) => w.slice(1)), M = (H = (J = (F = (j = (k = O == null ? void 0 : O.compData) == null ? void 0 : k.find((w) => (w == null ? void 0 : w.key) === "header")) == null ? void 0 : j.contents) == null ? void 0 : F[0]) == null ? void 0 : J[0]) == null ? void 0 : H.label, le = (X = (Q = (Z = O == null ? void 0 : O.compData) == null ? void 0 : Z.find((w) => (w == null ? void 0 : w.key) === "header")) == null ? void 0 : Q.contents) == null ? void 0 : X[0];
@@ -1134,9 +1135,9 @@ const de = [
1134
1135
  }), x = O.headers["content-disposition"], A = new RegExp("filename=([^;]+\\.[^\\.;]+);*"), _ = A.exec(x), g = ((m = (r = (u = d == null ? void 0 : d.extraContent) == null ? void 0 : u[0]) == null ? void 0 : r.split(".")) == null ? void 0 : m[0]) + "." + (($ = _[1].split(".")) == null ? void 0 : $[1]), v = document.createElement("a"), b = window.URL.createObjectURL(C), y = /^["](.*)["]$/g;
1135
1136
  v.style.display = "none", v.href = b, v.download = decodeURI(g.replace(y, "$1")), document.body.appendChild(v), v.click(), document.body.removeChild(v), window.URL.revokeObjectURL(b);
1136
1137
  }
1137
- }, p = async (d) => {
1138
+ }, i = async (d) => {
1138
1139
  var A;
1139
- const h = i(d), C = h == null ? void 0 : h.map(async (_) => {
1140
+ const h = p(d), C = h == null ? void 0 : h.map(async (_) => {
1140
1141
  var c, u, r, m, $, O;
1141
1142
  const v = (c = (await Re({
1142
1143
  key: {
@@ -1156,7 +1157,7 @@ const de = [
1156
1157
  buttonName: (m = v == null ? void 0 : v.key) == null ? void 0 : m.methodKey,
1157
1158
  api: (O = ($ = f == null ? void 0 : f.value) == null ? void 0 : $.tableData) == null ? void 0 : O[0],
1158
1159
  content: y == null ? void 0 : y.filter((B) => B.comp !== "methodButton"),
1159
- extraContent: i(_.value).slice(1)
1160
+ extraContent: p(_.value).slice(1)
1160
1161
  };
1161
1162
  }), x = await Promise.all(C);
1162
1163
  a.value = x, (A = a.value) == null || A.forEach((_) => {
@@ -1170,11 +1171,11 @@ const de = [
1170
1171
  return te(
1171
1172
  () => n.itemData,
1172
1173
  async () => {
1173
- await p(i(n.itemData));
1174
+ await i(p(n.itemData));
1174
1175
  },
1175
1176
  { immediate: !0, deep: !0 }
1176
1177
  ), (d, h) => (z(), V("div", Wn, [
1177
- (z(!0), V(me, null, De(a.value, (C) => (z(), V("div", null, [
1178
+ (z(!0), V(Ee, null, De(a.value, (C) => (z(), V("div", null, [
1178
1179
  C.api !== "" ? (z(), V("div", {
1179
1180
  key: 0,
1180
1181
  onClick: (x) => o(C),
@@ -1183,7 +1184,7 @@ const de = [
1183
1184
  ]))), 256))
1184
1185
  ]));
1185
1186
  }
1186
- }, Kn = /* @__PURE__ */ ie(Zn, [["__scopeId", "data-v-3daae5c9"]]), Qa = R([
1187
+ }, Kn = /* @__PURE__ */ ie(Zn, [["__scopeId", "data-v-3daae5c9"]]), Xa = R([
1187
1188
  {
1188
1189
  name: "表格",
1189
1190
  type: "table",
@@ -1299,7 +1300,7 @@ const G = [
1299
1300
  ], oe = R(0), Qn = (e) => {
1300
1301
  const [a, n] = e.split(/=(.+)/), l = a.replace(/['"]/g, "").trim(), t = n.replace(/^['"]|['"]$/g, "");
1301
1302
  return { key: l, value: t };
1302
- }, be = (e) => {
1303
+ }, me = (e) => {
1303
1304
  try {
1304
1305
  return JSON.parse(e), !0;
1305
1306
  } catch {
@@ -1310,15 +1311,15 @@ const G = [
1310
1311
  const n = [];
1311
1312
  let l = "";
1312
1313
  for (const t of a)
1313
- t.includes("{") || l.includes("{") || t.includes("[") || l.includes("[") || t.includes("【") || l.includes("【") || t.includes("(") || l.includes("(") || t.includes("(") || l.includes("(") || t.includes("/*") || l.includes("/*") ? (l += t.trim(), i(l).split("{").length - 1 === i(l).split("}").length - 1 && i(l).split("【").length - 1 === i(l).split("】").length - 1 && i(l).split("[").length - 1 === i(l).split("]").length - 1 && i(l).split("(").length - 1 === i(l).split(")").length - 1 && i(l).split("(").length - 1 === i(l).split(")").length - 1 && i(l).split("/*").length - 1 === i(l).split("*/").length - 1 && (n.push(l), l = "")) : n.push(t.trim());
1314
+ t.includes("{") || l.includes("{") || t.includes("[") || l.includes("[") || t.includes("【") || l.includes("【") || t.includes("(") || l.includes("(") || t.includes("(") || l.includes("(") || t.includes("/*") || l.includes("/*") ? (l += t.trim(), p(l).split("{").length - 1 === p(l).split("}").length - 1 && p(l).split("【").length - 1 === p(l).split("】").length - 1 && p(l).split("[").length - 1 === p(l).split("]").length - 1 && p(l).split("(").length - 1 === p(l).split(")").length - 1 && p(l).split("(").length - 1 === p(l).split(")").length - 1 && p(l).split("/*").length - 1 === p(l).split("*/").length - 1 && (n.push(l), l = "")) : n.push(t.trim());
1314
1315
  return n == null ? void 0 : n.filter((t) => t.includes("{"));
1315
1316
  }, Vn = (e) => {
1316
1317
  var n;
1317
1318
  let a = [];
1318
1319
  return (n = Yn(e.slice(1, -1))) == null || n.forEach((l) => {
1319
- var s, o, p, d;
1320
+ var s, o, i, d;
1320
1321
  let t = ((o = (s = l.slice(1, -1)) == null ? void 0 : s.split(",")) == null ? void 0 : o.length) ?? 1;
1321
- (d = (p = l.slice(1, -1)) == null ? void 0 : p.split(",")) == null || d.forEach((h) => {
1322
+ (d = (i = l.slice(1, -1)) == null ? void 0 : i.split(",")) == null || d.forEach((h) => {
1322
1323
  var _, g, v, b, y, f, c, u, r, m, $, O, B;
1323
1324
  let C = h == null ? void 0 : h.split(":"), x = C != null && C[0] ? (C == null ? void 0 : C[1].split("$").length) - 1 === 1 ? ((_ = C == null ? void 0 : C[0]) == null ? void 0 : _.replace(/^"(.*)"$/, "$1")) + ((g = C == null ? void 0 : C[1]) == null ? void 0 : g.replace(/^"(.*)"$/, "$1")) : Array.isArray((b = (v = C == null ? void 0 : C[1]) == null ? void 0 : v.replace(/^"(.*)"$/, "$1")) == null ? void 0 : b.split("(")) && ((c = (f = (y = C == null ? void 0 : C[1]) == null ? void 0 : y.replace(/^"(.*)"$/, "$1")) == null ? void 0 : f.split("(")) == null ? void 0 : c.length) > 1 ? ((u = C == null ? void 0 : C[0]) == null ? void 0 : u.replace(/^"(.*)"$/, "$1")) + (($ = (m = (r = C == null ? void 0 : C[1]) == null ? void 0 : r.replace(/^"(.*)"$/, "$1")) == null ? void 0 : m.split("(")) == null ? void 0 : $[0]) + "()" : (O = C == null ? void 0 : C[0]) == null ? void 0 : O.replace(/^"(.*)"$/, "$1") : "", A = (C == null ? void 0 : C[1].split("$").length) - 1 === 0 ? (B = C == null ? void 0 : C[1]) == null ? void 0 : B.replace(/^"(.*)"$/, "$1") : "";
1324
1325
  oe.value++, a.push({
@@ -1335,26 +1336,26 @@ const G = [
1335
1336
  var a, n;
1336
1337
  try {
1337
1338
  const l = e.replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",").replace(/:/g, ":").replace(/:\s*(?=,|}|$)/g, ': ""');
1338
- if (i(l).split("{").length - 1 > 1) {
1339
- let t = i(l).replace(/^\{(.*)\}$/, "[$1]");
1340
- if (be(t) && !t.includes("$") || (t = t.replace(/"([^"]+)"\$([\w\u4e00-\u9fa5]+\([^)]*\))/g, '"$1$$$2"')), be(t)) {
1339
+ if (p(l).split("{").length - 1 > 1) {
1340
+ let t = p(l).replace(/^\{(.*)\}$/, "[$1]");
1341
+ if (me(t) && !t.includes("$") || (t = t.replace(/"([^"]+)"\$([\w\u4e00-\u9fa5]+\([^)]*\))/g, '"$1$$$2"')), me(t)) {
1341
1342
  const s = JSON.parse(t);
1342
1343
  let o = [];
1343
- return s == null || s.forEach((p) => {
1344
+ return s == null || s.forEach((i) => {
1344
1345
  var d;
1345
- (d = Object.entries(i(p))) == null || d.forEach((h) => {
1346
+ (d = Object.entries(p(i))) == null || d.forEach((h) => {
1346
1347
  oe.value++, o.push({
1347
1348
  id: oe.value,
1348
1349
  key: (h == null ? void 0 : h[0]) ?? "",
1349
1350
  value: (h == null ? void 0 : h[1]) === "" ? "" : h == null ? void 0 : h[1],
1350
1351
  // 如果值为空,则key设为空字符串,否则保留原值
1351
- width: Object.keys(i(p)).length
1352
+ width: Object.keys(p(i)).length
1352
1353
  });
1353
1354
  });
1354
1355
  }), o;
1355
1356
  } else
1356
- return l.trim().startsWith("{{") ? Vn(l.trim()) : _e(t);
1357
- } else if (be(l)) {
1357
+ return l.trim().startsWith("{{") ? Vn(l.trim()) : Oe(t);
1358
+ } else if (me(l)) {
1358
1359
  const t = JSON.parse(l);
1359
1360
  return Object.entries(t).map(([s, o]) => (oe.value++, {
1360
1361
  id: oe.value,
@@ -1364,14 +1365,14 @@ const G = [
1364
1365
  width: 1
1365
1366
  }));
1366
1367
  } else
1367
- return ((a = _e(l)) == null ? void 0 : a.length) === 0 ? l : (n = _e(l)) == null ? void 0 : n.map((t) => ({
1368
+ return ((a = Oe(l)) == null ? void 0 : a.length) === 0 ? l : (n = Oe(l)) == null ? void 0 : n.map((t) => ({
1368
1369
  label: t.label,
1369
1370
  method: Xn(t.method)
1370
1371
  }));
1371
1372
  } catch (l) {
1372
1373
  return console.error("转换失败:", l), [];
1373
1374
  }
1374
- }, _e = (e) => {
1375
+ }, Oe = (e) => {
1375
1376
  e = e.trim().replace(/^\{|\}$/g, "").trim();
1376
1377
  const a = [];
1377
1378
  let n = 0;
@@ -1380,10 +1381,10 @@ const G = [
1380
1381
  if (!l) break;
1381
1382
  const t = l[1];
1382
1383
  n += l[0].length;
1383
- let s = "", o = 0, p = !1, d = "";
1384
+ let s = "", o = 0, i = !1, d = "";
1384
1385
  for (let h = n; h < e.length; h++) {
1385
1386
  const C = e[h];
1386
- if ((C === '"' || C === "'") && !p ? (p = !0, d = C) : C === d && p && (p = !1, d = ""), !p && ((C === "{" || C === "(" || C === "[") && o++, (C === "}" || C === ")" || C === "]") && o--, C === "," && o === 0 || h === e.length - 1)) {
1387
+ if ((C === '"' || C === "'") && !i ? (i = !0, d = C) : C === d && i && (i = !1, d = ""), !i && ((C === "{" || C === "(" || C === "[") && o++, (C === "}" || C === ")" || C === "]") && o--, C === "," && o === 0 || h === e.length - 1)) {
1387
1388
  s = e.slice(n, h + 1).trim(), n = h + 1;
1388
1389
  break;
1389
1390
  }
@@ -1398,27 +1399,27 @@ const G = [
1398
1399
  try {
1399
1400
  if (G != null && G.find((n) => (n == null ? void 0 : n.key) === a))
1400
1401
  return e.replace(/['"]/g, "").trim();
1401
- if (i(e).split("[").length - 1 > 1) {
1402
- const n = i(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
1402
+ if (p(e).split("[").length - 1 > 1) {
1403
+ const n = p(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
1403
1404
  return JSON.parse(n);
1404
1405
  } else {
1405
- const n = i(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",");
1406
- if (be(n)) {
1406
+ const n = p(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",");
1407
+ if (me(n)) {
1407
1408
  const l = JSON.parse(n);
1408
1409
  return Array.isArray(l) ? l.map((t) => ({ label: t })) : l;
1409
1410
  } else
1410
- return cl(i(e));
1411
+ return cl(p(e));
1411
1412
  }
1412
1413
  } catch (n) {
1413
1414
  return console.error("解析失败:", n), e;
1414
1415
  }
1415
1416
  }, la = (e) => ({ [e == null ? void 0 : e.key]: ea(e == null ? void 0 : e.value, e == null ? void 0 : e.key) }), na = (e) => {
1416
1417
  try {
1417
- if (i(e).split("[").length - 1 > 1) {
1418
- const a = i(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
1418
+ if (p(e).split("[").length - 1 > 1) {
1419
+ const a = p(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
1419
1420
  return JSON.parse(a);
1420
1421
  } else
1421
- return JSON.parse(i(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",")).map((n) => ({ label: n }));
1422
+ return JSON.parse(p(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",")).map((n) => ({ label: n }));
1422
1423
  } catch (a) {
1423
1424
  return console.error("解析失败:", a), e;
1424
1425
  }
@@ -1429,9 +1430,9 @@ const G = [
1429
1430
  const a = e.match(/^([^(]+)\s*\(/);
1430
1431
  return a ? a[1].trim() : e;
1431
1432
  }, Xe = (e) => e.replace(/'/g, "").replace(/"/g, "").replace(/{|}/g, "").split(":").map((a) => a.trim()).filter((a) => a).join("/"), sa = (e) => {
1432
- var o, p;
1433
+ var o, i;
1433
1434
  let a = [], n = [];
1434
- const l = (o = i(e)) == null ? void 0 : o.map((d) => d == null ? void 0 : d.key), t = [...new Set((p = i(l)) == null ? void 0 : p.map((d) => aa(d)))];
1435
+ const l = (o = p(e)) == null ? void 0 : o.map((d) => d == null ? void 0 : d.key), t = [...new Set((i = p(l)) == null ? void 0 : i.map((d) => aa(d)))];
1435
1436
  t == null || t.forEach((d) => {
1436
1437
  let h = e == null ? void 0 : e.filter((A) => A.key.includes(d));
1437
1438
  h == null || h.forEach((A) => {
@@ -1458,9 +1459,9 @@ const G = [
1458
1459
  if (Array.isArray(Object.keys(e)) && ((a = Object.keys(e)) == null ? void 0 : a.length) > 0) {
1459
1460
  let l = [];
1460
1461
  return (n = Object.entries(e)) == null || n.forEach(([t, s]) => {
1461
- var p, d;
1462
+ var i, d;
1462
1463
  let o = [];
1463
- if (o.push(t), ((p = Object.keys(s)) == null ? void 0 : p.length) > 0) {
1464
+ if (o.push(t), ((i = Object.keys(s)) == null ? void 0 : i.length) > 0) {
1464
1465
  let h = [];
1465
1466
  (d = ul(s)) == null || d.forEach((C) => {
1466
1467
  h.push(C);
@@ -1477,8 +1478,8 @@ const G = [
1477
1478
  return Array.isArray(Object.keys(e)) && ((l = Object.entries(e)) == null || l.forEach(([t, s]) => {
1478
1479
  let o = [t];
1479
1480
  if (typeof s == "object" && s !== null) {
1480
- let p = ul(s);
1481
- p == null || p.forEach((d) => {
1481
+ let i = ul(s);
1482
+ i == null || i.forEach((d) => {
1482
1483
  o.push(d);
1483
1484
  });
1484
1485
  }
@@ -1493,13 +1494,13 @@ const G = [
1493
1494
  s[o] || (s[o] = {}), s = s[o];
1494
1495
  });
1495
1496
  }), ra(a, []);
1496
- }, pl = (e) => oa(e), Xa = (e) => {
1497
- var a, n, l, t, s, o, p, d;
1497
+ }, pl = (e) => oa(e), Ya = (e) => {
1498
+ var a, n, l, t, s, o, i, d;
1498
1499
  try {
1499
- const h = Be((n = (a = i(e)) == null ? void 0 : a.replace("(", "(")) == null ? void 0 : n.replace(")", ")")), C = (t = (l = i(h)) == null ? void 0 : l.filter((g) => !g.includes("/*"))) == null ? void 0 : t.map((g) => Qn(g)), x = sa(C), A = [];
1500
+ const h = Be((n = (a = p(e)) == null ? void 0 : a.replace("(", "(")) == null ? void 0 : n.replace(")", ")")), C = (t = (l = p(h)) == null ? void 0 : l.filter((g) => !g.includes("/*"))) == null ? void 0 : t.map((g) => Qn(g)), x = sa(C), A = [];
1500
1501
  if (((s = x == null ? void 0 : x.find((g) => (g == null ? void 0 : g.key) === "Menus")) == null ? void 0 : s.value.length) === 0)
1501
1502
  return !1;
1502
- (o = i(x)) == null || o.forEach((g) => {
1503
+ (o = p(x)) == null || o.forEach((g) => {
1503
1504
  var v, b, y, f, c;
1504
1505
  G != null && G.find((u) => {
1505
1506
  var r, m;
@@ -1526,26 +1527,26 @@ const G = [
1526
1527
  contents: g == null ? void 0 : g.value
1527
1528
  }));
1528
1529
  });
1529
- let _ = (p = i(A)) == null ? void 0 : p.map((g) => {
1530
+ let _ = (i = p(A)) == null ? void 0 : i.map((g) => {
1530
1531
  var v;
1531
1532
  return g != null && g.compData && (g.compData = (v = g == null ? void 0 : g.compData) == null ? void 0 : v.map((b) => {
1532
1533
  var y, f, c, u, r, m, $, O, B, D, U;
1533
1534
  if ((b == null ? void 0 : b.key) === "formFlex")
1534
1535
  b.contents = ((f = (y = b.contents) == null ? void 0 : y.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : f.toUpperCase()) !== "Vertical".toUpperCase();
1535
1536
  else if ((b == null ? void 0 : b.key) === "groupContents")
1536
- b.contents = (c = i(b.contents)) == null ? void 0 : c.map((P) => la(i(P)));
1537
+ b.contents = (c = p(b.contents)) == null ? void 0 : c.map((P) => la(p(P)));
1537
1538
  else if (Array.isArray(b == null ? void 0 : b.contents))
1538
1539
  b.contents = pl(b.contents);
1539
1540
  else if (((r = (u = b == null ? void 0 : b.contents) == null ? void 0 : u.trim()) != null && r.startsWith("[") || ($ = (m = b.contents) == null ? void 0 : m.trim()) != null && $.startsWith("【")) && ((B = (O = b.contents) == null ? void 0 : O.trim()) != null && B.endsWith("]") || (U = (D = b.contents) == null ? void 0 : D.trim()) != null && U.endsWith("】")))
1540
- b.contents = na(i(b.contents));
1541
+ b.contents = na(p(b.contents));
1541
1542
  else {
1542
1543
  if (!b.contents) return;
1543
- b.contents = cl(i(b.contents));
1544
+ b.contents = cl(p(b.contents));
1544
1545
  }
1545
1546
  return b;
1546
1547
  })), g;
1547
1548
  });
1548
- return _ = (d = i(_)) == null ? void 0 : d.map((g) => {
1549
+ return _ = (d = p(_)) == null ? void 0 : d.map((g) => {
1549
1550
  var v;
1550
1551
  return (g == null ? void 0 : g.comp) === "Group" && (g.compData = (v = g.compData) == null ? void 0 : v.map((b) => {
1551
1552
  var f;
@@ -1577,7 +1578,7 @@ const G = [
1577
1578
  contents: (B = Object.values(c)) == null ? void 0 : B[0]
1578
1579
  });
1579
1580
  } else if ((U = (D = Object.keys(c)) == null ? void 0 : D[0]) != null && U.includes("$")) {
1580
- const N = (E = (P = Object.keys(i(c))) == null ? void 0 : P[0]) == null ? void 0 : E.split("$");
1581
+ const N = (E = (P = Object.keys(p(c))) == null ? void 0 : P[0]) == null ? void 0 : E.split("$");
1581
1582
  y[(y == null ? void 0 : y.length) - 1].compData.push({
1582
1583
  key: (S = L == null ? void 0 : L.find((k) => {
1583
1584
  var j, F;
@@ -1600,7 +1601,7 @@ const G = [
1600
1601
  } catch {
1601
1602
  return !1;
1602
1603
  }
1603
- }, Ya = (e, a) => yn(e, a), Ye = R(0), il = (e) => {
1604
+ }, Va = (e, a) => yn(e, a), Ye = R(0), il = (e) => {
1604
1605
  const a = [];
1605
1606
  let n = null;
1606
1607
  for (let l = 0; l < e.length; l++) {
@@ -1660,7 +1661,7 @@ const G = [
1660
1661
  ), a;
1661
1662
  }, ua = (e) => {
1662
1663
  var n;
1663
- return e.some((l) => !Array.isArray(l)) ? e : (n = i(e)) == null ? void 0 : n.map((l) => {
1664
+ return e.some((l) => !Array.isArray(l)) ? e : (n = p(e)) == null ? void 0 : n.map((l) => {
1664
1665
  let t = [];
1665
1666
  return l.some((s) => Array.isArray(s)) ? l == null || l.forEach((s) => {
1666
1667
  Array.isArray(s) && t.push(ve(s));
@@ -1670,8 +1671,8 @@ const G = [
1670
1671
  let l = e, t = n, s = a;
1671
1672
  return s.children && (Array.isArray(t[t.length - 1]) ? t[t.length - 1].push(l[0]) : t.push(l[0]), l.shift(), s = s.children), Array.isArray(s) && s.forEach((o) => {
1672
1673
  if (o.children) {
1673
- const p = yl(l, o, t);
1674
- t = p[0], l = p[1];
1674
+ const i = yl(l, o, t);
1675
+ t = i[0], l = i[1];
1675
1676
  }
1676
1677
  }), [t, l];
1677
1678
  }, pa = (e, a) => {
@@ -1679,11 +1680,11 @@ const G = [
1679
1680
  return a.length > 0 ? a == null || a.forEach((t) => {
1680
1681
  let s = n == null ? void 0 : n[0];
1681
1682
  n.shift();
1682
- const o = yl(i(n), t, s);
1683
+ const o = yl(p(n), t, s);
1683
1684
  s = o[0], n = o[1], l.push(s);
1684
1685
  }) : l = n, l;
1685
1686
  }, Pe = (e, a) => {
1686
- const n = ua(i(e));
1687
+ const n = ua(p(e));
1687
1688
  return pa(n, a);
1688
1689
  }, ia = (e) => {
1689
1690
  const a = [];
@@ -1698,7 +1699,7 @@ const G = [
1698
1699
  }), n += 2) : (a.push(t), n += 1);
1699
1700
  }
1700
1701
  return a;
1701
- }, hl = (e) => Pe([e], []), Ce = (e) => {
1702
+ }, hl = (e) => Pe([e], []), ke = (e) => {
1702
1703
  const a = [];
1703
1704
  return e == null || e.forEach((n) => n == null ? void 0 : n.forEach((t) => {
1704
1705
  var s, o;
@@ -1715,13 +1716,13 @@ const G = [
1715
1716
  return a = a == null ? void 0 : a.map((n) => {
1716
1717
  var l, t, s, o;
1717
1718
  if (n.comp === "Table")
1718
- (l = n.compData) != null && l.find((p) => (p == null ? void 0 : p.key) === "header") || (n.compData = (t = n.compData) == null ? void 0 : t.map((p) => (p.key === "tableColumns" ? p = {
1719
+ (l = n.compData) != null && l.find((i) => (i == null ? void 0 : i.key) === "header") || (n.compData = (t = n.compData) == null ? void 0 : t.map((i) => (i.key === "tableColumns" ? i = {
1719
1720
  key: "header",
1720
- contents: Pe(p.value, [])
1721
- } : p = {
1722
- key: p.key,
1723
- contents: p.value
1724
- }, p)), n.compData.push({
1721
+ contents: Pe(i.value, [])
1722
+ } : i = {
1723
+ key: i.key,
1724
+ contents: i.value
1725
+ }, i)), n.compData.push({
1725
1726
  key: "extraButton",
1726
1727
  contents: [{ label: "新增" }]
1727
1728
  }), n.compData.push({
@@ -1729,7 +1730,7 @@ const G = [
1729
1730
  contents: [{ label: "查看" }, { label: "编辑" }, { label: "删除" }]
1730
1731
  }));
1731
1732
  else if (n.key === "form") {
1732
- const p = (s = n == null ? void 0 : n.value) == null ? void 0 : s.map((d) => (Array.isArray(d) || (d = [d]), d));
1733
+ const i = (s = n == null ? void 0 : n.value) == null ? void 0 : s.map((d) => (Array.isArray(d) || (d = [d]), d));
1733
1734
  n = {
1734
1735
  comp: "Form",
1735
1736
  compData: [
@@ -1739,13 +1740,13 @@ const G = [
1739
1740
  },
1740
1741
  {
1741
1742
  key: "formContent",
1742
- contents: Ce(p)
1743
+ contents: ke(i)
1743
1744
  }
1744
1745
  ],
1745
1746
  name: ""
1746
1747
  };
1747
1748
  } else if (n.key === "formTop") {
1748
- const p = (o = n == null ? void 0 : n.value) == null ? void 0 : o.map((d) => (Array.isArray(d) || (d = [d]), d));
1749
+ const i = (o = n == null ? void 0 : n.value) == null ? void 0 : o.map((d) => (Array.isArray(d) || (d = [d]), d));
1749
1750
  n = {
1750
1751
  comp: "FormTop",
1751
1752
  compData: [
@@ -1755,7 +1756,7 @@ const G = [
1755
1756
  },
1756
1757
  {
1757
1758
  key: "formContent",
1758
- contents: Ce(p)
1759
+ contents: ke(i)
1759
1760
  },
1760
1761
  {
1761
1762
  key: "enableWrap",
@@ -1776,8 +1777,8 @@ const G = [
1776
1777
  return n;
1777
1778
  }), a;
1778
1779
  }, fa = (e, a) => {
1779
- var p, d, h, C, x, A;
1780
- const n = [], l = il((d = (p = e == null ? void 0 : e.find((_) => _.key === "tableIndex")) == null ? void 0 : p.value) == null ? void 0 : d[0]);
1780
+ var i, d, h, C, x, A;
1781
+ const n = [], l = il((d = (i = e == null ? void 0 : e.find((_) => _.key === "tableIndex")) == null ? void 0 : i.value) == null ? void 0 : d[0]);
1781
1782
  n.push({
1782
1783
  key: "tableIndexColumn",
1783
1784
  contents: a
@@ -1817,7 +1818,7 @@ const G = [
1817
1818
  }, ll = (e) => {
1818
1819
  var n;
1819
1820
  let a = [];
1820
- return (n = i(e)) == null || n.forEach((l) => {
1821
+ return (n = p(e)) == null || n.forEach((l) => {
1821
1822
  var t;
1822
1823
  (t = l.contents) == null || t.forEach((s) => {
1823
1824
  a.push(s);
@@ -1834,8 +1835,8 @@ const G = [
1834
1835
  return (l = ya(e, bl(a == null ? void 0 : a[0]) - 1)) == null || l.forEach((t) => {
1835
1836
  let s = [];
1836
1837
  t.forEach((o) => {
1837
- var p;
1838
- Array.isArray(o.contents) ? (p = o.contents) == null || p.forEach((d) => {
1838
+ var i;
1839
+ Array.isArray(o.contents) ? (i = o.contents) == null || i.forEach((d) => {
1839
1840
  s.push(d);
1840
1841
  }) : s.push(o.contents);
1841
1842
  }), n.push(s);
@@ -1852,28 +1853,28 @@ const G = [
1852
1853
  const n = [];
1853
1854
  let l = "";
1854
1855
  for (const t of a)
1855
- t.includes("{") || l.includes("{") || t.includes("[") || l.includes("[") || t.includes("【") || l.includes("【") || t.includes("(") || l.includes("(") || t.includes("(") || l.includes("(") || t.includes("/*") || l.includes("/*") ? (l += t.trim(), i(l).split("{").length - 1 === i(l).split("}").length - 1 && i(l).split("【").length - 1 === i(l).split("】").length - 1 && i(l).split("[").length - 1 === i(l).split("]").length - 1 && i(l).split("(").length - 1 === i(l).split(")").length - 1 && i(l).split("(").length - 1 === i(l).split(")").length - 1 && i(l).split("/*").length - 1 === i(l).split("*/").length - 1 && l[l.length - 1] !== "," && (n.push(l.replace(/\/\*[\s\S]*?\*\//g, "")), l = "")) : n.push(t.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
1856
+ t.includes("{") || l.includes("{") || t.includes("[") || l.includes("[") || t.includes("【") || l.includes("【") || t.includes("(") || l.includes("(") || t.includes("(") || l.includes("(") || t.includes("/*") || l.includes("/*") ? (l += t.trim(), p(l).split("{").length - 1 === p(l).split("}").length - 1 && p(l).split("【").length - 1 === p(l).split("】").length - 1 && p(l).split("[").length - 1 === p(l).split("]").length - 1 && p(l).split("(").length - 1 === p(l).split(")").length - 1 && p(l).split("(").length - 1 === p(l).split(")").length - 1 && p(l).split("/*").length - 1 === p(l).split("*/").length - 1 && l[l.length - 1] !== "," && (n.push(l.replace(/\/\*[\s\S]*?\*\//g, "")), l = "")) : n.push(t.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
1856
1857
  return n;
1857
1858
  }, ba = (e) => {
1858
1859
  const [a, n] = e.split(/=(.+)/), l = a.replace(/['"]/g, "").trim(), t = n.replace(/^['"]|['"]$/g, "");
1859
1860
  return { key: l, value: t };
1860
- }, $e = (e) => {
1861
+ }, Ae = (e) => {
1861
1862
  let a;
1862
1863
  e.includes(":") ? a = e.split(":").filter((t) => t.trim() !== "") : a = e.split(":").filter((t) => t.trim() !== "");
1863
1864
  const n = [];
1864
1865
  let l = "";
1865
1866
  for (const t of a)
1866
- t.includes("{") || l.includes("{") || t.includes("[") || l.includes("[") || t.includes("【") || l.includes("【") || t.includes("(") || l.includes("(") || t.includes("(") || l.includes("(") || t.includes("/*") || l.includes("/*") ? (l = l !== "" ? l + ":" + t.trim() : t.trim(), i(l).split("{").length - 1 === i(l).split("}").length - 1 && i(l).split("【").length - 1 === i(l).split("】").length - 1 && i(l).split("[").length - 1 === i(l).split("]").length - 1 && i(l).split("(").length - 1 === i(l).split(")").length - 1 && i(l).split("(").length - 1 === i(l).split(")").length - 1 && i(l).split("/*").length - 1 === i(l).split("*/").length - 1 && (n.push(l.replace(/\/\*[\s\S]*?\*\//g, "")), l = "")) : n.push(t.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
1867
+ t.includes("{") || l.includes("{") || t.includes("[") || l.includes("[") || t.includes("【") || l.includes("【") || t.includes("(") || l.includes("(") || t.includes("(") || l.includes("(") || t.includes("/*") || l.includes("/*") ? (l = l !== "" ? l + ":" + t.trim() : t.trim(), p(l).split("{").length - 1 === p(l).split("}").length - 1 && p(l).split("【").length - 1 === p(l).split("】").length - 1 && p(l).split("[").length - 1 === p(l).split("]").length - 1 && p(l).split("(").length - 1 === p(l).split(")").length - 1 && p(l).split("(").length - 1 === p(l).split(")").length - 1 && p(l).split("/*").length - 1 === p(l).split("*/").length - 1 && (n.push(l.replace(/\/\*[\s\S]*?\*\//g, "")), l = "")) : n.push(t.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
1867
1868
  return n;
1868
1869
  }, ga = (e) => /^[\x00-\x7F]*$/.test(e), ka = (e) => {
1869
1870
  var t;
1870
1871
  const a = e.map((s) => {
1871
- var p, d;
1872
- let o = (d = (p = s.key.split("(")) == null ? void 0 : p[1]) == null ? void 0 : d.trim();
1872
+ var i, d;
1873
+ let o = (d = (i = s.key.split("(")) == null ? void 0 : i[1]) == null ? void 0 : d.trim();
1873
1874
  return o.slice(0, o.length - 1);
1874
1875
  }), n = a == null ? void 0 : a.map((s) => {
1875
- var p;
1876
- return (p = $e(s)) == null ? void 0 : p.map((d) => {
1876
+ var i;
1877
+ return (i = Ae(s)) == null ? void 0 : i.map((d) => {
1877
1878
  var h;
1878
1879
  if (d.includes("{")) {
1879
1880
  let C = (h = d.split(":")) == null ? void 0 : h[0];
@@ -1883,29 +1884,29 @@ const G = [
1883
1884
  });
1884
1885
  }).filter((s) => s.length !== 0), l = (t = n == null ? void 0 : n.filter((s) => s.length !== 0)) == null ? void 0 : t.map((s) => {
1885
1886
  let o = "";
1886
- return s.forEach((p) => {
1887
- p.includes("{") || (o = o === "" ? o + i(p) : o + "/" + i(p));
1887
+ return s.forEach((i) => {
1888
+ i.includes("{") || (o = o === "" ? o + p(i) : o + "/" + p(i));
1888
1889
  }), o;
1889
1890
  });
1890
1891
  return pl([...new Set(l)]);
1891
1892
  }, gl = (e) => {
1892
- var n, l, t, s, o, p, d, h;
1893
+ var n, l, t, s, o, i, d, h;
1893
1894
  const a = (l = (n = e.split("(")) == null ? void 0 : n[1]) == null ? void 0 : l.trim();
1894
- return ((t = $e(a.slice(0, a.length - 1))) == null ? void 0 : t.length) > 0 ? a.slice(0, a.length - 1) : (h = (d = (p = (o = (s = e.split("(")) == null ? void 0 : s[1]) == null ? void 0 : o.trim()) == null ? void 0 : p.split(")")) == null ? void 0 : d[0]) == null ? void 0 : h.trim();
1895
+ return ((t = Ae(a.slice(0, a.length - 1))) == null ? void 0 : t.length) > 0 ? a.slice(0, a.length - 1) : (h = (d = (i = (o = (s = e.split("(")) == null ? void 0 : s[1]) == null ? void 0 : o.trim()) == null ? void 0 : i.split(")")) == null ? void 0 : d[0]) == null ? void 0 : h.trim();
1895
1896
  }, Ca = (e) => {
1896
1897
  var t;
1897
1898
  if (!e) return;
1898
- const a = gl(e), n = (t = $e(a)) == null ? void 0 : t.map((s) => {
1899
+ const a = gl(e), n = (t = Ae(a)) == null ? void 0 : t.map((s) => {
1899
1900
  var o;
1900
1901
  if (s.includes("{")) {
1901
- let p = (o = s.split(":")) == null ? void 0 : o[0];
1902
- s = p.slice(1, p.length);
1902
+ let i = (o = s.split(":")) == null ? void 0 : o[0];
1903
+ s = i.slice(1, i.length);
1903
1904
  }
1904
1905
  return s;
1905
1906
  });
1906
1907
  let l = "";
1907
1908
  return n.forEach((s) => {
1908
- s.includes("{") || (l = l === "" ? l + i(s) : l + "/" + i(s));
1909
+ s.includes("{") || (l = l === "" ? l + p(s) : l + "/" + p(s));
1909
1910
  }), l;
1910
1911
  }, Aa = (e) => {
1911
1912
  const a = e.match(/\[(.*)\]/s);
@@ -1923,18 +1924,18 @@ const G = [
1923
1924
  if (!e) return;
1924
1925
  const a = gl(e);
1925
1926
  let n = [], l = [], t = [];
1926
- return (s = $e(a)) == null || s.forEach((o) => {
1927
- var p;
1928
- o.includes("[") ? n.push(Aa(o)) : o.includes("{") && (ga((p = o.slice(1, o.length - 1).split(":")) == null ? void 0 : p[0]) ? t.push(JSON.parse(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3'))) : ae(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3')) ? l.push(JSON.parse(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3'))) : o.includes("$") || l.push(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3')));
1927
+ return (s = Ae(a)) == null || s.forEach((o) => {
1928
+ var i;
1929
+ o.includes("[") ? n.push(Aa(o)) : o.includes("{") && (ga((i = o.slice(1, o.length - 1).split(":")) == null ? void 0 : i[0]) ? t.push(JSON.parse(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3'))) : ae(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3')) ? l.push(JSON.parse(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3'))) : o.includes("$"));
1929
1930
  }), [n, l, t];
1930
1931
  }, Ta = (e) => {
1931
1932
  const a = [];
1932
1933
  let n = "";
1933
1934
  for (const l of e)
1934
- l.includes("[") || n.includes("[") || l.includes("/*") || n.includes("/*") ? (n += l.trim(), i(n).split("{").length - 1 === i(n).split("}").length - 1 && i(n).split("【").length - 1 === i(n).split("】").length - 1 && i(n).split("[").length - 1 === i(n).split("]").length - 1 && i(n).split("(").length - 1 === i(n).split(")").length - 1 && i(n).split("(").length - 1 === i(n).split(")").length - 1 && i(n).split("/*").length - 1 === i(n).split("*/").length - 1 && (a.push(n.replace(/\/\*[\s\S]*?\*\//g, "")), n = "")) : a.push(l.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
1935
+ l.includes("[") || n.includes("[") || l.includes("/*") || n.includes("/*") ? (n += l.trim(), p(n).split("{").length - 1 === p(n).split("}").length - 1 && p(n).split("【").length - 1 === p(n).split("】").length - 1 && p(n).split("[").length - 1 === p(n).split("]").length - 1 && p(n).split("(").length - 1 === p(n).split(")").length - 1 && p(n).split("(").length - 1 === p(n).split(")").length - 1 && p(n).split("/*").length - 1 === p(n).split("*/").length - 1 && (a.push(n.replace(/\/\*[\s\S]*?\*\//g, "")), n = "")) : a.push(l.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
1935
1936
  return a;
1936
1937
  }, al = (e) => {
1937
- var o, p;
1938
+ var o, i;
1938
1939
  const a = [], n = /(?:{'([^']+)'[^}]+}: {'([^']+)'[^}]+}|'([^']+)': {'([^']+)'[^}]+})/, l = e.match(n);
1939
1940
  if (l) {
1940
1941
  const d = l[1] || l[3], h = l[2] || l[4];
@@ -1944,12 +1945,12 @@ const G = [
1944
1945
  }
1945
1946
  }
1946
1947
  const t = /(https?:\/\/[^\s)]+|Http:\/\/[^\s)]+|\/[^\s)]+)/i, s = e.match(t);
1947
- return s ? a.push(s[0].replace(/\)+$/, "")) : (e == null ? void 0 : e.split(",").length) === 2 && a.push((p = (o = e == null ? void 0 : e.split(",")) == null ? void 0 : o[1]) == null ? void 0 : p.trim()), a;
1948
- }, xe = (e) => {
1948
+ return s ? a.push(s[0].replace(/\)+$/, "")) : (e == null ? void 0 : e.split(",").length) === 2 && a.push((i = (o = e == null ? void 0 : e.split(",")) == null ? void 0 : o[1]) == null ? void 0 : i.trim()), a;
1949
+ }, _e = (e) => {
1949
1950
  let a = e.replace(/\[\s*,\s*,/g, '[{"": ""}, {"": ""},');
1950
1951
  return a = a.replace(/\[\s*,/g, '[{"": ""},'), a = a.replace(/,\s*,/g, ', {"": ""},'), a = a.replace(/,\s*\]/g, ', {"": ""}]'), a = a.replace(/:(\s*)([^"{}\[\],\s]+)(\s*)([,\]}])/g, (n, l, t, s, o) => t.includes("'") ? `:${l}${t}${s}${o}` : `:${l}"${t}"${s}${o}`), a = a.replace(/:\s*([,\]}])/g, ': ""$1'), a;
1951
1952
  }, Oa = (e) => !/\[[^\]]*\{[^\]]*\]/.test(e), _a = (e) => {
1952
- const a = i(e).match(/(\w+)\(['"]([^'"]+)['"]:\s*\{['"]([^'"]+)['"]\}\)/), n = a ? `${a[2]}/${a[3]}` : null, l = e.match(/\[\{([^}]+)\}\]/), t = l == null ? void 0 : l[1].replaceAll(":", "").replaceAll("'", '"').trim();
1953
+ const a = p(e).match(/(\w+)\(['"]([^'"]+)['"]:\s*\{['"]([^'"]+)['"]\}\)/), n = a ? `${a[2]}/${a[3]}` : null, l = e.match(/\[\{([^}]+)\}\]/), t = l == null ? void 0 : l[1].replaceAll(":", "").replaceAll("'", '"').trim();
1953
1954
  let s = null;
1954
1955
  if (t)
1955
1956
  try {
@@ -1959,11 +1960,11 @@ const G = [
1959
1960
  }
1960
1961
  return [n, s];
1961
1962
  }, xa = (e) => {
1962
- var p, d, h, C, x, A, _, g, v, b, y;
1963
+ var i, d, h, C, x, A, _, g, v, b, y;
1963
1964
  let a = [], n = [], l = {}, t = [], s = e.trim(), o = [];
1964
1965
  if (s.trim().includes("输入") && s.trim().includes("输出")) {
1965
1966
  let f = [], c = e.trim();
1966
- c = i(c).slice(1, i(c).length - 1);
1967
+ c = p(c).slice(1, p(c).length - 1);
1967
1968
  const u = /(\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})/g;
1968
1969
  (g = c.match(u)) == null || g.forEach((r, m) => {
1969
1970
  var B;
@@ -2090,26 +2091,26 @@ const G = [
2090
2091
  contents: ha(f == null ? void 0 : f.filter((r) => (r == null ? void 0 : r.key) === "tableContents"), ll(f == null ? void 0 : f.filter((r) => (r == null ? void 0 : r.key) === "header")))
2091
2092
  });
2092
2093
  } else {
2093
- const f = (p = s.trim().split(",$")) == null ? void 0 : p[0];
2094
+ const f = (i = s.trim().split(",$")) == null ? void 0 : i[0];
2094
2095
  f[0] === "[" ? s = f.slice(1, f.length - 1) : s.includes(",$") && (s = (d = s.trim().split(",$")) == null ? void 0 : d[0]);
2095
2096
  let c;
2096
2097
  if (s.includes("$")) {
2097
- s = i(s), l.method = (C = (h = i(s).trim()) == null ? void 0 : h.slice(1, s.length).split("(")) == null ? void 0 : C[0];
2098
+ s = p(s), l.method = (C = (h = p(s).trim()) == null ? void 0 : h.slice(1, s.length).split("(")) == null ? void 0 : C[0];
2098
2099
  let u;
2099
2100
  al(s.slice(1, s.length - 2)).length > 1 ? u = al(s.slice(1, s.length - 2)) : u = _a(s), l.value = u;
2100
2101
  } else
2101
- ae("[" + xe(s).replaceAll("'", '"') + "]") && !Oa(xe(s).replaceAll("'", '"')) ? (s = JSON.parse("[" + xe(s).replaceAll("'", '"') + "]"), t = s) : c = (A = (x = i(s).split("}")) == null ? void 0 : x.filter((u) => u !== "")) == null ? void 0 : A.map((u) => {
2102
+ ae("[" + _e(s).replaceAll("'", '"') + "]") && !Oa(_e(s).replaceAll("'", '"')) ? (s = JSON.parse("[" + _e(s).replaceAll("'", '"') + "]"), t = s) : c = (A = (x = p(s).split("}")) == null ? void 0 : x.filter((u) => u !== "")) == null ? void 0 : A.map((u) => {
2102
2103
  let r = u;
2103
2104
  return r[0] === "," ? r = r.slice(2, r.length) : r = r.slice(1, r.length), r;
2104
2105
  });
2105
- (_ = i(c)) == null || _.forEach((u) => {
2106
+ (_ = p(c)) == null || _.forEach((u) => {
2106
2107
  var r, m, $, O, B, D, U, P, E, S, T, N, k, j, F;
2107
2108
  if (u.includes("==")) {
2108
2109
  const J = (N = u == null ? void 0 : u.split(":")) == null ? void 0 : N[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"').replaceAll("'", '"'), H = (k = u == null ? void 0 : u.split(":")) == null ? void 0 : k[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"');
2109
2110
  if (ae(H.trim()) ? n.push(JSON.parse(H.trim())) : n.push(JSON.parse(H.replaceAll("'", '"').trim())), J[0] !== "[") {
2110
2111
  let Z = [];
2111
2112
  ae("[" + ye(J) + "]") ? Z.push(JSON.parse("[" + ye(J) + "]")) : ae("[" + ye(J).replaceAll("==", ",") + "]") && Z.push(JSON.parse("[" + ye(J).replaceAll("==", ",") + "]"));
2112
- const Q = i(Z);
2113
+ const Q = p(Z);
2113
2114
  Q.push(["操作"]), a.push(Q);
2114
2115
  } else {
2115
2116
  const Z = (j = J.slice(1, J.length - 1).replaceAll(",", ",|")) == null ? void 0 : j.split("|"), Q = (F = Ta(Z)) == null ? void 0 : F.map((W) => ((W == null ? void 0 : W[W.length - 1]) === "," && (W = W.slice(0, W.length - 1)), W));
@@ -2119,7 +2120,7 @@ const G = [
2119
2120
  let q = [];
2120
2121
  q.push((K = W.split("==")) == null ? void 0 : K[0].trim().replace(/^"|"$/g, "")), ((M = W.split("==")) == null ? void 0 : M[1].trim()[0]) === "[" ? q.push(JSON.parse((le = W.split("==")) == null ? void 0 : le[1].trim())) : q.push([JSON.parse((w = W.split("==")) == null ? void 0 : w[1].trim())]), X.push(q);
2121
2122
  });
2122
- const ne = i(X);
2123
+ const ne = p(X);
2123
2124
  ne.push(["操作"]), a.push(ne);
2124
2125
  }
2125
2126
  } else {
@@ -2133,7 +2134,7 @@ const G = [
2133
2134
  }
2134
2135
  return [a, n, o, l, t];
2135
2136
  }, Ea = (e) => {
2136
- const a = [], n = Ca(e == null ? void 0 : e.key), l = $a(e == null ? void 0 : e.key), t = xa(e == null ? void 0 : e.value), s = l == null ? void 0 : l[0], o = t == null ? void 0 : t[4], p = l == null ? void 0 : l[1], d = l == null ? void 0 : l[2], h = t == null ? void 0 : t[0], C = t == null ? void 0 : t[1], x = t == null ? void 0 : t[2], A = t == null ? void 0 : t[3];
2137
+ const a = [], n = Ca(e == null ? void 0 : e.key), l = $a(e == null ? void 0 : e.key), t = xa(e == null ? void 0 : e.value), s = l == null ? void 0 : l[0], o = t == null ? void 0 : t[4], i = l == null ? void 0 : l[1], d = l == null ? void 0 : l[2], h = t == null ? void 0 : t[0], C = t == null ? void 0 : t[1], x = t == null ? void 0 : t[2], A = t == null ? void 0 : t[3];
2137
2138
  return n && a.push({
2138
2139
  key: "contentPath",
2139
2140
  value: n
@@ -2146,9 +2147,9 @@ const G = [
2146
2147
  }), (o == null ? void 0 : o.length) > 0 && a.push({
2147
2148
  key: "form",
2148
2149
  value: o
2149
- }), (p == null ? void 0 : p.length) > 0 && a.push({
2150
+ }), (i == null ? void 0 : i.length) > 0 && a.push({
2150
2151
  key: "formTop",
2151
- value: p
2152
+ value: i
2152
2153
  }), (d == null ? void 0 : d.length) > 0 && a.push({
2153
2154
  key: "extra",
2154
2155
  value: d
@@ -2168,12 +2169,12 @@ const G = [
2168
2169
  e == null || e.forEach((t) => {
2169
2170
  Array.isArray(t) && (t == null || t.forEach((s) => {
2170
2171
  var o;
2171
- s.comp === "FormTop" && ((o = s.compData) == null || o.forEach((p) => {
2172
- (p == null ? void 0 : p.key) === "formContent" && (n = [...n, ...p.contents]);
2172
+ s.comp === "FormTop" && ((o = s.compData) == null || o.forEach((i) => {
2173
+ (i == null ? void 0 : i.key) === "formContent" && (n = [...n, ...i.contents]);
2173
2174
  }));
2174
2175
  }));
2175
2176
  });
2176
- const l = n.reduce((t, s) => t.find((p) => (p == null ? void 0 : p.key) === (s == null ? void 0 : s.key)) ? t : t.concat([s]), []);
2177
+ const l = n.reduce((t, s) => t.find((i) => (i == null ? void 0 : i.key) === (s == null ? void 0 : s.key)) ? t : t.concat([s]), []);
2177
2178
  return l.length !== 0 && a.push([{
2178
2179
  comp: "FormTop",
2179
2180
  compData: [{
@@ -2198,14 +2199,14 @@ const G = [
2198
2199
  const s = t.filter((o) => o.comp !== "FormTop");
2199
2200
  a.push(s);
2200
2201
  } else
2201
- a.push(t);
2202
+ t.comp !== "FormTop" && a.push(t);
2202
2203
  }), a;
2203
2204
  }, va = (e, a) => {
2204
2205
  const n = a.split("/");
2205
2206
  let l = [];
2206
2207
  return e == null || e.forEach((t) => {
2207
- var p, d, h, C, x, A, _, g, v, b, y;
2208
- const s = [], o = (d = (p = t.find((f) => f.key === "tableIndex")) == null ? void 0 : p.value) == null ? void 0 : d[0];
2208
+ var i, d, h, C, x, A, _, g, v, b, y;
2209
+ const s = [], o = (d = (i = t.find((f) => f.key === "tableIndex")) == null ? void 0 : i.value) == null ? void 0 : d[0];
2209
2210
  if (o && !o.some((f) => Array.isArray(f))) {
2210
2211
  const f = (C = (h = t.find((c) => c.key === "tableColumns")) == null ? void 0 : h.value) == null ? void 0 : C[0];
2211
2212
  s.push({
@@ -2242,7 +2243,7 @@ const G = [
2242
2243
  },
2243
2244
  {
2244
2245
  key: "formContent",
2245
- contents: Ce([(b = t == null ? void 0 : t.find((c) => (c == null ? void 0 : c.key) === "formTop")) == null ? void 0 : b.value])
2246
+ contents: ke([(b = t == null ? void 0 : t.find((c) => (c == null ? void 0 : c.key) === "formTop")) == null ? void 0 : b.value])
2246
2247
  },
2247
2248
  {
2248
2249
  key: "enableWrap",
@@ -2272,7 +2273,7 @@ const G = [
2272
2273
  },
2273
2274
  {
2274
2275
  key: "formContent",
2275
- contents: Ce([(y = t == null ? void 0 : t.find((f) => (f == null ? void 0 : f.key) === "formTop")) == null ? void 0 : y.value])
2276
+ contents: ke([(y = t == null ? void 0 : t.find((f) => (f == null ? void 0 : f.key) === "formTop")) == null ? void 0 : y.value])
2276
2277
  },
2277
2278
  {
2278
2279
  key: "enableWrap",
@@ -2296,7 +2297,7 @@ const G = [
2296
2297
  }), Da(l);
2297
2298
  }, Na = (e, a) => {
2298
2299
  var t, s;
2299
- const n = e.map((o) => o.filter((p) => p.key !== "contentPath"));
2300
+ const n = e.map((o) => o.filter((i) => i.key !== "contentPath"));
2300
2301
  return {
2301
2302
  comp: "Group",
2302
2303
  compData: [{
@@ -2307,38 +2308,42 @@ const G = [
2307
2308
  };
2308
2309
  }, Sa = (e) => {
2309
2310
  var t;
2310
- const a = [], n = i(e).map((s) => {
2311
+ const a = [], n = p(e).map((s) => {
2311
2312
  var o;
2312
- if (s != null && s.find((p) => (p == null ? void 0 : p.key) === "contentPath"))
2313
- return (o = s == null ? void 0 : s.find((p) => (p == null ? void 0 : p.key) === "contentPath")) == null ? void 0 : o.value;
2313
+ if (s != null && s.find((i) => (i == null ? void 0 : i.key) === "contentPath"))
2314
+ return (o = s == null ? void 0 : s.find((i) => (i == null ? void 0 : i.key) === "contentPath")) == null ? void 0 : o.value;
2314
2315
  }).filter((s) => s !== ""), l = [...new Set(n)];
2315
2316
  return (t = l == null ? void 0 : l.filter((s) => s)) == null || t.forEach((s) => {
2316
2317
  var o;
2317
- a.push(Na((o = i(e)) == null ? void 0 : o.filter((p) => p.find((d) => d.key === "contentPath" && d.value === s)), s));
2318
+ a.push(Na((o = p(e)) == null ? void 0 : o.filter((i) => i.find((d) => d.key === "contentPath" && d.value === s)), s));
2318
2319
  }), a;
2319
2320
  }, Pa = (e) => {
2320
2321
  let a = [];
2321
2322
  a.push({
2322
2323
  comp: "Menu",
2323
2324
  compData: [{
2324
- contents: ka(i(e)),
2325
+ contents: ka(p(e)),
2325
2326
  key: "menuContents"
2326
2327
  }],
2327
2328
  name: ""
2328
2329
  });
2329
2330
  const n = e.map((l) => Ea(l)).filter((l) => l.length !== 0);
2330
2331
  return a = [...a, ...Sa(n)], a;
2331
- }, Va = (e) => {
2332
- var t, s, o, p, d;
2333
- const a = (o = Be((s = (t = i(e)) == null ? void 0 : t.replace("(", "(")) == null ? void 0 : s.replace(")", ")"))) == null ? void 0 : o.filter((h) => h !== ""), n = (d = (p = i(a)) == null ? void 0 : p.filter((h) => !h.includes("/*"))) == null ? void 0 : d.map((h) => ba(h));
2334
- return Pa(n);
2335
- }, he = R(0), Ee = R(0), Ba = (e) => {
2332
+ }, et = (e) => {
2333
+ var a, n, l, t, s;
2334
+ try {
2335
+ const o = (l = Be((n = (a = p(e)) == null ? void 0 : a.replace("(", "(")) == null ? void 0 : n.replace(")", ")"))) == null ? void 0 : l.filter((h) => h !== ""), i = (s = (t = p(o)) == null ? void 0 : t.filter((h) => !h.includes("/*"))) == null ? void 0 : s.map((h) => ba(h));
2336
+ return Pa(i);
2337
+ } catch {
2338
+ return !1;
2339
+ }
2340
+ }, he = R(0), xe = R(0), Ba = (e) => {
2336
2341
  const a = e.trim().replace(/^'|'$/g, ""), n = /((?:\$?[a-zA-Z_][a-zA-Z0-9_]*\$?\([^)]*\))|[a-zA-Z_][a-zA-Z0-9_]*)\s*=\s*(.*?)(?=\s*(?:(?:\$?[a-zA-Z_][a-zA-Z0-9_]*\$?\([^)]*\))|[a-zA-Z_][a-zA-Z0-9_]*)\s*=|$)/g, l = {};
2337
2342
  let t;
2338
2343
  for (; (t = n.exec(a)) !== null; ) {
2339
2344
  const s = t[1];
2340
2345
  let o = t[2].trim();
2341
- (o.match(/\[/g) || []).length !== (o.match(/\]/g) || []).length && (o = o == null ? void 0 : o.replace(/]$/, "")), l[s] ? (l[s + Ee.value] && Ee.value++, l[s + Ee.value] = s + "=" + o) : l[s] = s + "=" + o;
2346
+ (o.match(/\[/g) || []).length !== (o.match(/\]/g) || []).length && (o = o == null ? void 0 : o.replace(/]$/, "")), l[s] ? (l[s + xe.value] && xe.value++, l[s + xe.value] = s + "=" + o) : l[s] = s + "=" + o;
2342
2347
  }
2343
2348
  return l;
2344
2349
  }, kl = (e) => {
@@ -2348,10 +2353,10 @@ const G = [
2348
2353
  var o;
2349
2354
  let a = [];
2350
2355
  const [n, l] = e.split(/=(.+)/), t = n.replace(/['"]/g, "").trim(), s = l.replace(/^['"]|['"]$/g, "");
2351
- return (o = Object.values(Ba(s))) == null || o.forEach((p) => {
2352
- a.push(kl(p));
2356
+ return (o = Object.values(Ba(s))) == null || o.forEach((i) => {
2357
+ a.push(kl(i));
2353
2358
  }), { key: t, value: a };
2354
- }, ge = (e) => {
2359
+ }, be = (e) => {
2355
2360
  try {
2356
2361
  return JSON.parse(e), !0;
2357
2362
  } catch {
@@ -2360,26 +2365,26 @@ const G = [
2360
2365
  }, Cl = (e) => {
2361
2366
  try {
2362
2367
  const a = e.replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",").replace(/:/g, ":").replace(/:\s*(?=,|}|$)/g, ': ""');
2363
- if (i(a).split("{").length - 1 > 1) {
2364
- let n = i(a).replace(/^\{(.*)\}$/, "[$1]");
2365
- if (ge(n) && !n.includes("$") || (n = n.replace(/"([^"]+)"\$([\w\u4e00-\u9fa5]+\([^)]*\))/g, '"$1$$$2"')), ge(n)) {
2368
+ if (p(a).split("{").length - 1 > 1) {
2369
+ let n = p(a).replace(/^\{(.*)\}$/, "[$1]");
2370
+ if (be(n) && !n.includes("$") || (n = n.replace(/"([^"]+)"\$([\w\u4e00-\u9fa5]+\([^)]*\))/g, '"$1$$$2"')), be(n)) {
2366
2371
  const l = JSON.parse(n);
2367
2372
  let t = [];
2368
2373
  return l == null || l.forEach((s) => {
2369
2374
  var o;
2370
- (o = Object.entries(i(s))) == null || o.forEach((p) => {
2375
+ (o = Object.entries(p(s))) == null || o.forEach((i) => {
2371
2376
  he.value++, t.push({
2372
2377
  id: he.value,
2373
- key: (p == null ? void 0 : p[0]) ?? "",
2374
- value: (p == null ? void 0 : p[1]) === "" ? "" : p == null ? void 0 : p[1],
2378
+ key: (i == null ? void 0 : i[0]) ?? "",
2379
+ value: (i == null ? void 0 : i[1]) === "" ? "" : i == null ? void 0 : i[1],
2375
2380
  // 如果值为空,则key设为空字符串,否则保留原值
2376
- width: Object.keys(i(s)).length
2381
+ width: Object.keys(p(s)).length
2377
2382
  });
2378
2383
  });
2379
2384
  }), t;
2380
2385
  } else
2381
2386
  return console.error("转换类型不正确:"), [];
2382
- } else if (ge(a)) {
2387
+ } else if (be(a)) {
2383
2388
  const n = JSON.parse(a);
2384
2389
  return Object.entries(n).map(([l, t]) => (he.value++, {
2385
2390
  id: he.value,
@@ -2397,39 +2402,39 @@ const G = [
2397
2402
  try {
2398
2403
  if (G != null && G.find((n) => (n == null ? void 0 : n.key) === a))
2399
2404
  return JSON.parse(e.replace(/[’]|[‘]|[']/g, '"'));
2400
- if (i(e).split("[").length - 1 > 1) {
2401
- const n = i(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
2405
+ if (p(e).split("[").length - 1 > 1) {
2406
+ const n = p(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
2402
2407
  return JSON.parse(n);
2403
2408
  } else {
2404
- const n = i(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",");
2405
- if (ge(n)) {
2409
+ const n = p(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",");
2410
+ if (be(n)) {
2406
2411
  const l = JSON.parse(n);
2407
2412
  return Array.isArray(l) ? l.map((t) => ({ label: t })) : l;
2408
2413
  } else
2409
- return Cl(i(e));
2414
+ return Cl(p(e));
2410
2415
  }
2411
2416
  } catch (n) {
2412
2417
  return console.error("解析失败:", n), e;
2413
2418
  }
2414
2419
  }, Fa = (e) => ({ [e == null ? void 0 : e.key]: Ua(e == null ? void 0 : e.value, e == null ? void 0 : e.key) }), Ra = (e) => {
2415
2420
  try {
2416
- if (i(e).split("[").length - 1 > 1) {
2417
- const a = i(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
2421
+ if (p(e).split("[").length - 1 > 1) {
2422
+ const a = p(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
2418
2423
  return JSON.parse(a);
2419
2424
  } else
2420
- return JSON.parse(i(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",")).map((n) => ({ label: n }));
2425
+ return JSON.parse(p(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",")).map((n) => ({ label: n }));
2421
2426
  } catch (a) {
2422
2427
  return console.error("解析失败:", a), e;
2423
2428
  }
2424
2429
  }, Al = (e) => {
2425
2430
  var a, n, l, t, s, o;
2426
2431
  try {
2427
- const p = Be((n = (a = i(e)) == null ? void 0 : a.replace("(", "(")) == null ? void 0 : n.replace(")", ")")), d = (l = i(p)) == null ? void 0 : l.map((x) => {
2432
+ const i = Be((n = (a = p(e)) == null ? void 0 : a.replace("(", "(")) == null ? void 0 : n.replace(")", ")")), d = (l = p(i)) == null ? void 0 : l.map((x) => {
2428
2433
  var _, g;
2429
- let A = (g = (_ = i(x)) == null ? void 0 : _.split("=")) == null ? void 0 : g[0];
2434
+ let A = (g = (_ = p(x)) == null ? void 0 : _.split("=")) == null ? void 0 : g[0];
2430
2435
  return A != null && A.includes("GroupContents") ? ja(x) : kl(x);
2431
2436
  }), h = [];
2432
- (t = i(d)) == null || t.forEach((x) => {
2437
+ (t = p(d)) == null || t.forEach((x) => {
2433
2438
  var A, _, g, v, b;
2434
2439
  G != null && G.find((y) => {
2435
2440
  var f, c;
@@ -2456,24 +2461,24 @@ const G = [
2456
2461
  contents: x == null ? void 0 : x.value
2457
2462
  }));
2458
2463
  }), console.log("newContents", h);
2459
- let C = (s = i(h)) == null ? void 0 : s.map((x) => {
2464
+ let C = (s = p(h)) == null ? void 0 : s.map((x) => {
2460
2465
  var A;
2461
2466
  return x != null && x.compData && (x.compData = (A = x == null ? void 0 : x.compData) == null ? void 0 : A.map((_) => {
2462
2467
  var g, v, b, y, f, c, u, r, m, $, O;
2463
2468
  if ((_ == null ? void 0 : _.key) === "formFlex")
2464
2469
  _.contents = ((v = (g = _.contents) == null ? void 0 : g.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : v.toUpperCase()) !== "Vertical".toUpperCase();
2465
2470
  else if ((_ == null ? void 0 : _.key) === "groupContents")
2466
- _.contents = (b = i(_.contents)) == null ? void 0 : b.map((B) => Fa(i(B)));
2471
+ _.contents = (b = p(_.contents)) == null ? void 0 : b.map((B) => Fa(p(B)));
2467
2472
  else if (((f = (y = _.contents) == null ? void 0 : y.trim()) != null && f.startsWith("[") || (u = (c = _.contents) == null ? void 0 : c.trim()) != null && u.startsWith("【")) && ((m = (r = _.contents) == null ? void 0 : r.trim()) != null && m.endsWith("]") || (O = ($ = _.contents) == null ? void 0 : $.trim()) != null && O.endsWith("】")))
2468
- _.contents = Ra(i(_.contents));
2473
+ _.contents = Ra(p(_.contents));
2469
2474
  else {
2470
2475
  if (!_.contents) return;
2471
- _.contents = Cl(i(_.contents));
2476
+ _.contents = Cl(p(_.contents));
2472
2477
  }
2473
2478
  return _;
2474
2479
  })), x;
2475
2480
  });
2476
- return C = (o = i(C)) == null ? void 0 : o.map((x) => {
2481
+ return C = (o = p(C)) == null ? void 0 : o.map((x) => {
2477
2482
  var A;
2478
2483
  return (x == null ? void 0 : x.comp) === "Group" && (x.compData = (A = x.compData) == null ? void 0 : A.map((_) => {
2479
2484
  var v;
@@ -2505,7 +2510,7 @@ const G = [
2505
2510
  contents: (m = Object.values(b)) == null ? void 0 : m[0]
2506
2511
  });
2507
2512
  } else if ((O = ($ = Object.keys(b)) == null ? void 0 : $[0]) != null && O.includes("$")) {
2508
- const E = (D = (B = Object.keys(i(b))) == null ? void 0 : B[0]) == null ? void 0 : D.split("$");
2513
+ const E = (D = (B = Object.keys(p(b))) == null ? void 0 : B[0]) == null ? void 0 : D.split("$");
2509
2514
  g[(g == null ? void 0 : g.length) - 1].compData.push({
2510
2515
  key: (U = L == null ? void 0 : L.find((S) => {
2511
2516
  var T, N;
@@ -2522,18 +2527,18 @@ const G = [
2522
2527
  } catch {
2523
2528
  return !1;
2524
2529
  }
2525
- }, et = (e) => Al(e), lt = (e) => !!Al(e), wa = sl(Ae), { itemData: nt } = Se(wa), Ja = Pl(Ae), { systemKey: at, activeMenuPath: tt } = Se(Ja), ce = R(0), st = (e) => e.reduce((n, l) => {
2530
+ }, lt = (e) => Al(e), nt = (e) => !!Al(e), wa = sl(Ce), { itemData: at } = Se(wa), Ja = Pl(Ce), { systemKey: tt, activeMenuPath: st } = Se(Ja), ce = R(0), rt = (e) => e.reduce((n, l) => {
2526
2531
  var s, o;
2527
2532
  const t = Object.values(n);
2528
2533
  return (((s = Object.keys(n)) == null ? void 0 : s.length) === 0 || t[t.length - 1].length >= (l == null ? void 0 : l.width)) && (n[ce.value] = [], ce.value++), n[ce.value - 1].push(l), ((o = Object.keys(n)) == null ? void 0 : o.length) === (l == null ? void 0 : l.width) && (n[ce.value] = [], ce.value++), n;
2529
2534
  }, {});
2530
2535
  export {
2531
- st as a,
2532
- Xa as b,
2533
- Va as c,
2534
- Ya as d,
2535
- et as e,
2536
+ rt as a,
2537
+ Ya as b,
2538
+ et as c,
2539
+ Va as d,
2540
+ lt as e,
2536
2541
  zn as g,
2537
- lt as i,
2538
- Qa as s
2542
+ nt as i,
2543
+ Xa as s
2539
2544
  };