ss-component-new 1.1.204 → 1.1.205

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 (75) hide show
  1. package/dist/{array-BFhKYj7r.js → array-559oEJXO.js} +773 -800
  2. package/dist/{array-bExKAUYR.cjs → array-JF6CCAiw.cjs} +2 -2
  3. package/dist/{cloneDeep-BCr0AurG.cjs → cloneDeep-DgLlm_Jw.cjs} +1 -1
  4. package/dist/{cloneDeep-Dq88RgWY.js → cloneDeep-kffz0j_1.js} +1 -1
  5. package/dist/{index-DT5En52_.cjs → index-1-nR6fwq.cjs} +1 -1
  6. package/dist/{index-r3Nx3snx.cjs → index-38ObDEJY.cjs} +1 -1
  7. package/dist/{index-CVzNs53h.js → index-BBpo28RV.js} +5 -5
  8. package/dist/{index-DOEcQixr.js → index-BHZ8bNd2.js} +3 -3
  9. package/dist/{index-nc4_Bpdv.cjs → index-BTM77A0p.cjs} +1 -1
  10. package/dist/{index-lfgJD0L5.js → index-BWI4uVaO.js} +7 -7
  11. package/dist/{index-0eAIyYff.cjs → index-BWnExbkP.cjs} +1 -1
  12. package/dist/{index-CphtNZ9f.js → index-BbCBJn_d.js} +5 -5
  13. package/dist/{index-DelI4OVL.js → index-BbYQJXfY.js} +7 -7
  14. package/dist/{index-dr1odtaY.cjs → index-Bjnr25kk.cjs} +2 -2
  15. package/dist/{index-DQj83_aM.js → index-Br8oy8H7.js} +3 -3
  16. package/dist/{index-CAGxWFn3.cjs → index-Bvyk67qH.cjs} +1 -1
  17. package/dist/{index-BJuKaxGz.js → index-ByzV6Koo.js} +5 -5
  18. package/dist/{index--Xb7ij8h.cjs → index-BzA74Y1p.cjs} +1 -1
  19. package/dist/{index-gJZhOiq9.js → index-C2PxHmUq.js} +8 -8
  20. package/dist/{index-DAbdQlPV.js → index-CI8WhwPR.js} +1 -1
  21. package/dist/{index-snM5YAh4.cjs → index-CL9GlVkc.cjs} +1 -1
  22. package/dist/{index-JFe7di24.js → index-Cku8YAjO.js} +3 -3
  23. package/dist/{index-bPZ2MclO.js → index-CmAGO9_x.js} +4 -4
  24. package/dist/{index-m4bWHH6F.cjs → index-CohpVqQ6.cjs} +1 -1
  25. package/dist/{index-D73Q_nmy.cjs → index-CpuZnsAt.cjs} +1 -1
  26. package/dist/{index-DFQ7hQT3.js → index-Ctav4Baa.js} +1 -1
  27. package/dist/{index-DmVGnOrm.js → index-D25GS4Fu.js} +1 -1
  28. package/dist/{index-CWrT1c43.cjs → index-D4FO3D_8.cjs} +1 -1
  29. package/dist/{index-BI8Ay1S1.js → index-D7EBAesk.js} +67 -65
  30. package/dist/{index-BTmQwpJo.cjs → index-D7wUxg_x.cjs} +1 -1
  31. package/dist/{index-CSs-MY84.cjs → index-D8Lvkefh.cjs} +1 -1
  32. package/dist/{index-B8Miz_Cq.cjs → index-DBaP5Lzq.cjs} +1 -1
  33. package/dist/{index-Bd5QGxn7.cjs → index-DCGTTpF2.cjs} +1 -1
  34. package/dist/{index-CNviXSeZ.js → index-DI1EtlEj.js} +12 -12
  35. package/dist/{index-CC4cb6ld.js → index-DIororWD.js} +1 -1
  36. package/dist/{index-DxIdjoxy.js → index-Da2go7Uv.js} +6 -6
  37. package/dist/{index-CrDB6nwv.cjs → index-Da_uUHWz.cjs} +1 -1
  38. package/dist/{index-DogEyKcQ.js → index-DdcX3YIo.js} +1 -1
  39. package/dist/{index-kMOvkC5Z.cjs → index-Di-GQc7_.cjs} +1 -1
  40. package/dist/{index-B7u8L5ZJ.cjs → index-DjnHoGb3.cjs} +1 -1
  41. package/dist/index-Dq97ANpj.cjs +1 -0
  42. package/dist/{index-DJ9JnJgt.js → index-DxiqylE3.js} +1 -1
  43. package/dist/{index-BTe5xHk0.js → index-Sz6D3nDL.js} +6 -6
  44. package/dist/{index-B_ldqUKR.js → index-Uy4ZULgP.js} +6 -6
  45. package/dist/{index-YDZx5P00.cjs → index-d9UDAExx.cjs} +1 -1
  46. package/dist/{index-BDiB9HCu.js → index-mNyTYmUr.js} +21 -21
  47. package/dist/{index-BYTj8UHM.cjs → index-mnZaFu-c.cjs} +1 -1
  48. package/dist/{index-Ci--zW_l.cjs → index-q5Gg854X.cjs} +1 -1
  49. package/dist/{index-B-TxGWuh.cjs → index-rEsquz6p.cjs} +1 -1
  50. package/dist/{index-DVw7tf49.js → index-rMiaCknf.js} +6 -6
  51. package/dist/{index.vue_vue_type_script_setup_true_lang-9MyavSYE.js → index.vue_vue_type_script_setup_true_lang-CUKF21sz.js} +4 -4
  52. package/dist/{index.vue_vue_type_script_setup_true_lang-CPm96puV.cjs → index.vue_vue_type_script_setup_true_lang-Dtsi4tHS.cjs} +1 -1
  53. package/dist/{index.vue_vue_type_script_setup_true_lang-BjyJ6UQq.js → index.vue_vue_type_script_setup_true_lang-DvtsjpQB.js} +1 -1
  54. package/dist/{index.vue_vue_type_script_setup_true_lang-1n66gqmK.cjs → index.vue_vue_type_script_setup_true_lang-jGbdA3_K.cjs} +1 -1
  55. package/dist/{index.vue_vue_type_style_index_0_scoped_997b1786_lang-CtfzWM73.js → index.vue_vue_type_style_index_0_scoped_997b1786_lang-2WQdUmow.js} +6 -6
  56. package/dist/{index.vue_vue_type_style_index_0_scoped_997b1786_lang-Bz7R4y-8.cjs → index.vue_vue_type_style_index_0_scoped_997b1786_lang-5kUSujk8.cjs} +1 -1
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_fb273504_lang-CqrG0OgP.cjs → index.vue_vue_type_style_index_0_scoped_fb273504_lang-BLwmOIyf.cjs} +1 -1
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_fb273504_lang-MwT97C_Q.js → index.vue_vue_type_style_index_0_scoped_fb273504_lang-CnYwrRxC.js} +8 -8
  59. package/dist/{login-MlPjBP9y.js → login-BqSU9LPd.js} +2 -2
  60. package/dist/{login-RagDvJln.cjs → login-CG_skqJM.cjs} +1 -1
  61. package/dist/{main-D3QI9caW.js → main-BoJ9T3Yc.js} +5 -5
  62. package/dist/{main-Df6GUSmS.cjs → main-CJUqYuHI.cjs} +1 -1
  63. package/dist/{menu-CK3bK1Rk.cjs → menu-C29TTYR-.cjs} +1 -1
  64. package/dist/{menu-CgUytgzT.js → menu-CCoQanzl.js} +1 -1
  65. package/dist/ss-component.cjs +1 -1
  66. package/dist/ss-component.css +1 -1
  67. package/dist/ss-component.js +7 -7
  68. package/dist/ss-component2.cjs +1 -1
  69. package/dist/ss-component2.js +1 -1
  70. package/package.json +1 -1
  71. package/dist/index-BF7CacOf.cjs +0 -1
  72. package/dist/obj/model.mtl +0 -42
  73. package/dist/obj/model.obj +0 -26110
  74. package/public/obj/model.mtl +0 -42
  75. package/public/obj/model.obj +0 -26110
@@ -1,49 +1,49 @@
1
- import { u as $l, g as _l, s as Ol } from "./index-BTe5xHk0.js";
2
- import { ref as R, watch as te, createElementBlock as Y, openBlock as z, createVNode as V, resolveComponent as nl, createElementVNode as I, toDisplayString as X, withCtx as se, createTextVNode as ce, Fragment as he, renderList as xe, createBlock as Be, resolveDynamicComponent as Fe, createCommentVNode as Tl } from "vue";
3
- import { p as ke, u as al, g as je, b as xl } from "./index-DFQ7hQT3.js";
4
- import { s as Ee, f as vl, a as ue, b as El } from "./index-BI8Ay1S1.js";
1
+ import { u as $l, g as _l, s as Ol } from "./index-Sz6D3nDL.js";
2
+ import { ref as R, watch as ae, createElementBlock as Y, openBlock as z, createVNode as V, resolveComponent as nl, createElementVNode as I, toDisplayString as X, withCtx as se, createTextVNode as ce, Fragment as he, renderList as xe, createBlock as Be, resolveDynamicComponent as je, createCommentVNode as Tl } from "vue";
3
+ import { p as ke, u as tl, g as Ue, b as xl } from "./index-Ctav4Baa.js";
4
+ import { s as Ee, f as vl, a as ue, b as El } from "./index-D7EBAesk.js";
5
5
  import { _ as pe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import { U as Ue, g as Re, a as we, i as Je, S as Ae, b as Dl, c as p } from "./cloneDeep-Dq88RgWY.js";
6
+ import { U as Fe, g as Re, a as we, i as Je, S as Ae, b as Dl, c as u } from "./cloneDeep-kffz0j_1.js";
7
7
  import { _ as Nl } from "./index.vue_vue_type_script_setup_true_lang-DQ2k4Z7D.js";
8
- import { s as De, u as Sl } from "./menu-CgUytgzT.js";
9
- import { _ as Pl, s as Bl } from "./index.vue_vue_type_script_setup_true_lang-9MyavSYE.js";
10
- import { M as Fl, S as Le, e as jl, i as Ge, b as Me } from "./index-DelI4OVL.js";
11
- var Ul = "__lodash_hash_undefined__";
8
+ import { s as De, u as Sl } from "./menu-CCoQanzl.js";
9
+ import { _ as Pl, s as Bl } from "./index.vue_vue_type_script_setup_true_lang-CUKF21sz.js";
10
+ import { M as jl, S as Le, e as Ul, i as Ge, b as Me } from "./index-BbYQJXfY.js";
11
+ var Fl = "__lodash_hash_undefined__";
12
12
  function Rl(e) {
13
- return this.__data__.set(e, Ul), this;
13
+ return this.__data__.set(e, Fl), this;
14
14
  }
15
15
  function wl(e) {
16
16
  return this.__data__.has(e);
17
17
  }
18
- function be(e) {
19
- var a = -1, n = e == null ? 0 : e.length;
20
- for (this.__data__ = new Fl(); ++a < n; )
21
- this.add(e[a]);
18
+ function ge(e) {
19
+ var t = -1, n = e == null ? 0 : e.length;
20
+ for (this.__data__ = new jl(); ++t < n; )
21
+ this.add(e[t]);
22
22
  }
23
- be.prototype.add = be.prototype.push = Rl;
24
- be.prototype.has = wl;
25
- function Jl(e, a) {
23
+ ge.prototype.add = ge.prototype.push = Rl;
24
+ ge.prototype.has = wl;
25
+ function Jl(e, t) {
26
26
  for (var n = -1, l = e == null ? 0 : e.length; ++n < l; )
27
- if (a(e[n], n, e))
27
+ if (t(e[n], n, e))
28
28
  return !0;
29
29
  return !1;
30
30
  }
31
- function Ll(e, a) {
32
- return e.has(a);
31
+ function Ll(e, t) {
32
+ return e.has(t);
33
33
  }
34
34
  var Gl = 1, Ml = 2;
35
- function tl(e, a, n, l, t, s) {
36
- var o = n & Gl, u = e.length, f = a.length;
37
- if (u != f && !(o && f > u))
35
+ function al(e, t, n, l, a, s) {
36
+ var o = n & Gl, i = e.length, f = t.length;
37
+ if (i != f && !(o && f > i))
38
38
  return !1;
39
- var h = s.get(e), k = s.get(a);
39
+ var h = s.get(e), k = s.get(t);
40
40
  if (h && k)
41
- return h == a && k == e;
42
- var A = -1, $ = !0, O = n & Ml ? new be() : void 0;
43
- for (s.set(e, a), s.set(a, e); ++A < u; ) {
44
- var C = e[A], N = a[A];
41
+ return h == t && k == e;
42
+ var A = -1, $ = !0, O = n & Ml ? new ge() : void 0;
43
+ for (s.set(e, t), s.set(t, e); ++A < i; ) {
44
+ var C = e[A], N = t[A];
45
45
  if (l)
46
- var y = o ? l(N, C, A, a, e, s) : l(C, N, A, e, a, s);
46
+ var y = o ? l(N, C, A, t, e, s) : l(C, N, A, e, t, s);
47
47
  if (y !== void 0) {
48
48
  if (y)
49
49
  continue;
@@ -51,126 +51,126 @@ function tl(e, a, n, l, t, s) {
51
51
  break;
52
52
  }
53
53
  if (O) {
54
- if (!Jl(a, function(d, i) {
55
- if (!Ll(O, i) && (C === d || t(C, d, n, l, s)))
56
- return O.push(i);
54
+ if (!Jl(t, function(d, p) {
55
+ if (!Ll(O, p) && (C === d || a(C, d, n, l, s)))
56
+ return O.push(p);
57
57
  })) {
58
58
  $ = !1;
59
59
  break;
60
60
  }
61
- } else if (!(C === N || t(C, N, n, l, s))) {
61
+ } else if (!(C === N || a(C, N, n, l, s))) {
62
62
  $ = !1;
63
63
  break;
64
64
  }
65
65
  }
66
- return s.delete(e), s.delete(a), $;
66
+ return s.delete(e), s.delete(t), $;
67
67
  }
68
68
  function Il(e) {
69
- var a = -1, n = Array(e.size);
70
- return e.forEach(function(l, t) {
71
- n[++a] = [t, l];
69
+ var t = -1, n = Array(e.size);
70
+ return e.forEach(function(l, a) {
71
+ n[++t] = [a, l];
72
72
  }), n;
73
73
  }
74
74
  function Hl(e) {
75
- var a = -1, n = Array(e.size);
75
+ var t = -1, n = Array(e.size);
76
76
  return e.forEach(function(l) {
77
- n[++a] = l;
77
+ n[++t] = l;
78
78
  }), n;
79
79
  }
80
- var Wl = 1, Zl = 2, Kl = "[object Boolean]", ql = "[object Date]", zl = "[object Error]", Ql = "[object Map]", Xl = "[object Number]", Yl = "[object RegExp]", Vl = "[object Set]", en = "[object String]", ln = "[object Symbol]", nn = "[object ArrayBuffer]", an = "[object DataView]", Ie = Le ? Le.prototype : void 0, $e = Ie ? Ie.valueOf : void 0;
81
- function tn(e, a, n, l, t, s, o) {
80
+ var Wl = 1, Zl = 2, Kl = "[object Boolean]", ql = "[object Date]", zl = "[object Error]", Ql = "[object Map]", Xl = "[object Number]", Yl = "[object RegExp]", Vl = "[object Set]", en = "[object String]", ln = "[object Symbol]", nn = "[object ArrayBuffer]", tn = "[object DataView]", Ie = Le ? Le.prototype : void 0, $e = Ie ? Ie.valueOf : void 0;
81
+ function an(e, t, n, l, a, s, o) {
82
82
  switch (n) {
83
- case an:
84
- if (e.byteLength != a.byteLength || e.byteOffset != a.byteOffset)
83
+ case tn:
84
+ if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
85
85
  return !1;
86
- e = e.buffer, a = a.buffer;
86
+ e = e.buffer, t = t.buffer;
87
87
  case nn:
88
- return !(e.byteLength != a.byteLength || !s(new Ue(e), new Ue(a)));
88
+ return !(e.byteLength != t.byteLength || !s(new Fe(e), new Fe(t)));
89
89
  case Kl:
90
90
  case ql:
91
91
  case Xl:
92
- return jl(+e, +a);
92
+ return Ul(+e, +t);
93
93
  case zl:
94
- return e.name == a.name && e.message == a.message;
94
+ return e.name == t.name && e.message == t.message;
95
95
  case Yl:
96
96
  case en:
97
- return e == a + "";
97
+ return e == t + "";
98
98
  case Ql:
99
- var u = Il;
99
+ var i = Il;
100
100
  case Vl:
101
101
  var f = l & Wl;
102
- if (u || (u = Hl), e.size != a.size && !f)
102
+ if (i || (i = Hl), e.size != t.size && !f)
103
103
  return !1;
104
104
  var h = o.get(e);
105
105
  if (h)
106
- return h == a;
107
- l |= Zl, o.set(e, a);
108
- var k = tl(u(e), u(a), l, t, s, o);
106
+ return h == t;
107
+ l |= Zl, o.set(e, t);
108
+ var k = al(i(e), i(t), l, a, s, o);
109
109
  return o.delete(e), k;
110
110
  case ln:
111
111
  if ($e)
112
- return $e.call(e) == $e.call(a);
112
+ return $e.call(e) == $e.call(t);
113
113
  }
114
114
  return !1;
115
115
  }
116
116
  var sn = 1, rn = Object.prototype, on = rn.hasOwnProperty;
117
- function cn(e, a, n, l, t, s) {
118
- var o = n & sn, u = Re(e), f = u.length, h = Re(a), k = h.length;
117
+ function cn(e, t, n, l, a, s) {
118
+ var o = n & sn, i = Re(e), f = i.length, h = Re(t), k = h.length;
119
119
  if (f != k && !o)
120
120
  return !1;
121
121
  for (var A = f; A--; ) {
122
- var $ = u[A];
123
- if (!(o ? $ in a : on.call(a, $)))
122
+ var $ = i[A];
123
+ if (!(o ? $ in t : on.call(t, $)))
124
124
  return !1;
125
125
  }
126
- var O = s.get(e), C = s.get(a);
126
+ var O = s.get(e), C = s.get(t);
127
127
  if (O && C)
128
- return O == a && C == e;
128
+ return O == t && C == e;
129
129
  var N = !0;
130
- s.set(e, a), s.set(a, e);
130
+ s.set(e, t), s.set(t, e);
131
131
  for (var y = o; ++A < f; ) {
132
- $ = u[A];
133
- var d = e[$], i = a[$];
132
+ $ = i[A];
133
+ var d = e[$], p = t[$];
134
134
  if (l)
135
- var g = o ? l(i, d, $, a, e, s) : l(d, i, $, e, a, s);
136
- if (!(g === void 0 ? d === i || t(d, i, n, l, s) : g)) {
135
+ var b = o ? l(p, d, $, t, e, s) : l(d, p, $, e, t, s);
136
+ if (!(b === void 0 ? d === p || a(d, p, n, l, s) : b)) {
137
137
  N = !1;
138
138
  break;
139
139
  }
140
140
  y || (y = $ == "constructor");
141
141
  }
142
142
  if (N && !y) {
143
- var c = e.constructor, r = a.constructor;
144
- c != r && "constructor" in e && "constructor" in a && !(typeof c == "function" && c instanceof c && typeof r == "function" && r instanceof r) && (N = !1);
143
+ var c = e.constructor, r = t.constructor;
144
+ c != r && "constructor" in e && "constructor" in t && !(typeof c == "function" && c instanceof c && typeof r == "function" && r instanceof r) && (N = !1);
145
145
  }
146
- return s.delete(e), s.delete(a), N;
146
+ return s.delete(e), s.delete(t), N;
147
147
  }
148
148
  var un = 1, He = "[object Arguments]", We = "[object Array]", ie = "[object Object]", pn = Object.prototype, Ze = pn.hasOwnProperty;
149
- function fn(e, a, n, l, t, s) {
150
- var o = Ge(e), u = Ge(a), f = o ? We : we(e), h = u ? We : we(a);
149
+ function fn(e, t, n, l, a, s) {
150
+ var o = Ge(e), i = Ge(t), f = o ? We : we(e), h = i ? We : we(t);
151
151
  f = f == He ? ie : f, h = h == He ? ie : h;
152
152
  var k = f == ie, A = h == ie, $ = f == h;
153
153
  if ($ && Je(e)) {
154
- if (!Je(a))
154
+ if (!Je(t))
155
155
  return !1;
156
156
  o = !0, k = !1;
157
157
  }
158
158
  if ($ && !k)
159
- return s || (s = new Ae()), o || Dl(e) ? tl(e, a, n, l, t, s) : tn(e, a, f, n, l, t, s);
159
+ return s || (s = new Ae()), o || Dl(e) ? al(e, t, n, l, a, s) : an(e, t, f, n, l, a, s);
160
160
  if (!(n & un)) {
161
- var O = k && Ze.call(e, "__wrapped__"), C = A && Ze.call(a, "__wrapped__");
161
+ var O = k && Ze.call(e, "__wrapped__"), C = A && Ze.call(t, "__wrapped__");
162
162
  if (O || C) {
163
- var N = O ? e.value() : e, y = C ? a.value() : a;
164
- return s || (s = new Ae()), t(N, y, n, l, s);
163
+ var N = O ? e.value() : e, y = C ? t.value() : t;
164
+ return s || (s = new Ae()), a(N, y, n, l, s);
165
165
  }
166
166
  }
167
- return $ ? (s || (s = new Ae()), cn(e, a, n, l, t, s)) : !1;
167
+ return $ ? (s || (s = new Ae()), cn(e, t, n, l, a, s)) : !1;
168
168
  }
169
- function sl(e, a, n, l, t) {
170
- return e === a ? !0 : e == null || a == null || !Me(e) && !Me(a) ? e !== e && a !== a : fn(e, a, n, l, sl, t);
169
+ function sl(e, t, n, l, a) {
170
+ return e === t ? !0 : e == null || t == null || !Me(e) && !Me(t) ? e !== e && t !== t : fn(e, t, n, l, sl, a);
171
171
  }
172
- function dn(e, a) {
173
- return sl(e, a);
172
+ function dn(e, t) {
173
+ return sl(e, t);
174
174
  }
175
175
  const fe = [
176
176
  {
@@ -203,12 +203,12 @@ const fe = [
203
203
  index: Number
204
204
  },
205
205
  emits: ["change", "contentChange"],
206
- setup(e, { emit: a }) {
207
- const n = e, l = a, t = R([]), s = R(!1), o = R([]), u = $l(ke), f = R(), h = (A) => {
208
- var y, d, i, g;
209
- const $ = (d = (y = p(n.itemData)) == null ? void 0 : y.find((c) => (c == null ? void 0 : c.key) === "formContent")) == null ? void 0 : d.contents, O = p(A.content);
206
+ setup(e, { emit: t }) {
207
+ const n = e, l = t, a = R([]), s = R(!1), o = R([]), i = $l(ke), f = R(), h = (A) => {
208
+ var y, d, p, b;
209
+ const $ = (d = (y = u(n.itemData)) == null ? void 0 : y.find((c) => (c == null ? void 0 : c.key) === "formContent")) == null ? void 0 : d.contents, O = u(A.content);
210
210
  let C = {};
211
- O && ((i = Object.values(O)) == null ? void 0 : i.length) > 0 && ((g = Object.values(O)) == null || g.forEach((c, r) => {
211
+ O && ((p = Object.values(O)) == null ? void 0 : p.length) > 0 && ((b = Object.values(O)) == null || b.forEach((c, r) => {
212
212
  C[$[r].key] = c;
213
213
  }));
214
214
  const N = {
@@ -220,24 +220,24 @@ const fe = [
220
220
  }, k = (A) => {
221
221
  var C, N;
222
222
  if (!A) return;
223
- if (((C = Object.values(p(A))) == null ? void 0 : C.length) > 0) {
224
- const y = (N = Object.values(p(A))) == null ? void 0 : N.map((i) => i);
223
+ if (((C = Object.values(u(A))) == null ? void 0 : C.length) > 0) {
224
+ const y = (N = Object.values(u(A))) == null ? void 0 : N.map((p) => p);
225
225
  let d = "";
226
- y == null || y.forEach((i) => {
227
- i !== "" && i !== void 0 && (d = d === "" ? i : d + "/" + i);
228
- }), u.setSelectArray(y), u.setSelectString(d);
226
+ y == null || y.forEach((p) => {
227
+ p !== "" && p !== void 0 && (d = d === "" ? p : d + "/" + p);
228
+ }), i.setSelectArray(y), i.setSelectString(d);
229
229
  }
230
- const $ = p(n.itemData), O = $ == null ? void 0 : $.map((y) => {
230
+ const $ = u(n.itemData), O = $ == null ? void 0 : $.map((y) => {
231
231
  var d;
232
- return (y == null ? void 0 : y.key) === "formContent" && ((d = y.contents) == null || d.map((i, g) => {
233
- var c, r, m, _, T, v, x, j, E, D, B, P, S, b, F, U, w, W, K;
234
- return i.type = i != null && i.type ? i.type : (_ = (m = (r = (c = i == null ? void 0 : i.key) == null ? void 0 : c.split("$")) == null ? void 0 : r[1]) == null ? void 0 : m.split("(")) != null && _[0] ? (T = fe == null ? void 0 : fe.find((Z) => {
232
+ return (y == null ? void 0 : y.key) === "formContent" && ((d = y.contents) == null || d.map((p, b) => {
233
+ var c, r, m, _, T, v, x, U, E, D, B, P, S, g, j, F, w, W, K;
234
+ return p.type = p != null && p.type ? p.type : (_ = (m = (r = (c = p == null ? void 0 : p.key) == null ? void 0 : c.split("$")) == null ? void 0 : r[1]) == null ? void 0 : m.split("(")) != null && _[0] ? (T = fe == null ? void 0 : fe.find((Z) => {
235
235
  var le, ee, G, Q;
236
- return (Z == null ? void 0 : Z.key) === ((Q = (G = (ee = (le = i == null ? void 0 : i.key) == null ? void 0 : le.split("$")) == null ? void 0 : ee[1]) == null ? void 0 : G.split("(")) == null ? void 0 : Q[0]);
237
- })) == null ? void 0 : T.value : "Input", i.options = i != null && i.options ? i.options : ((j = (x = (v = i == null ? void 0 : i.key) == null ? void 0 : v.split("$")) == null ? void 0 : x[1]) == null ? void 0 : j.length) > 0 ? (P = (B = vl((D = (E = i == null ? void 0 : i.key) == null ? void 0 : E.split("$")) == null ? void 0 : D[1])) == null ? void 0 : B.split(",")) == null ? void 0 : P.map((Z) => ({
236
+ return (Z == null ? void 0 : Z.key) === ((Q = (G = (ee = (le = p == null ? void 0 : p.key) == null ? void 0 : le.split("$")) == null ? void 0 : ee[1]) == null ? void 0 : G.split("(")) == null ? void 0 : Q[0]);
237
+ })) == null ? void 0 : T.value : "Input", p.options = p != null && p.options ? p.options : ((U = (x = (v = p == null ? void 0 : p.key) == null ? void 0 : v.split("$")) == null ? void 0 : x[1]) == null ? void 0 : U.length) > 0 ? (P = (B = vl((D = (E = p == null ? void 0 : p.key) == null ? void 0 : E.split("$")) == null ? void 0 : D[1])) == null ? void 0 : B.split(",")) == null ? void 0 : P.map((Z) => ({
238
238
  label: Z,
239
239
  value: Z
240
- })) : [], (S = i == null ? void 0 : i.key) != null && S.includes("$") && (i.key = (F = (b = i == null ? void 0 : i.key) == null ? void 0 : b.split("$")) == null ? void 0 : F[0]), i.value = Array.isArray((U = Object.values(A)) == null ? void 0 : U[g]) ? (W = (w = Object.values(A)) == null ? void 0 : w[g]) == null ? void 0 : W[0] : (K = Object.values(A)) == null ? void 0 : K[g], i;
240
+ })) : [], (S = p == null ? void 0 : p.key) != null && S.includes("$") && (p.key = (j = (g = p == null ? void 0 : p.key) == null ? void 0 : g.split("$")) == null ? void 0 : j[0]), p.value = Array.isArray((F = Object.values(A)) == null ? void 0 : F[b]) ? (W = (w = Object.values(A)) == null ? void 0 : w[b]) == null ? void 0 : W[0] : (K = Object.values(A)) == null ? void 0 : K[b], p;
241
241
  })), y;
242
242
  });
243
243
  l("contentChange", {
@@ -245,19 +245,19 @@ const fe = [
245
245
  index: n.index
246
246
  });
247
247
  };
248
- return te(
248
+ return ae(
249
249
  () => n.itemData,
250
250
  () => {
251
- var N, y, d, i, g, c, r, m, _, T;
252
- const A = (N = p(n.itemData)) == null ? void 0 : N.find((v) => (v == null ? void 0 : v.key) === "formContent"), $ = (y = p(n.itemData)) == null ? void 0 : y.find((v) => (v == null ? void 0 : v.key) === "formButton"), O = (d = p(n.itemData)) == null ? void 0 : d.find((v) => (v == null ? void 0 : v.key) === "formFlex"), C = (i = p(n.itemData)) == null ? void 0 : i.find((v) => (v == null ? void 0 : v.key) === "formWrap");
253
- if ((C == null ? void 0 : C.contents) === "纵向" ? s.value = !1 : s.value = !0, f.value = typeof (O == null ? void 0 : O.contents) != "boolean" ? !(!(O != null && O.contents) === "" || ((g = O == null ? void 0 : O.contents) == null ? void 0 : g.toUpperCase()) === "VERTICAL") : O == null ? void 0 : O.contents, ((c = A == null ? void 0 : A.contents) == null ? void 0 : c.length) > 0 && Array.isArray(A == null ? void 0 : A.contents)) {
251
+ var N, y, d, p, b, c, r, m, _, T;
252
+ const A = (N = u(n.itemData)) == null ? void 0 : N.find((v) => (v == null ? void 0 : v.key) === "formContent"), $ = (y = u(n.itemData)) == null ? void 0 : y.find((v) => (v == null ? void 0 : v.key) === "formButton"), O = (d = u(n.itemData)) == null ? void 0 : d.find((v) => (v == null ? void 0 : v.key) === "formFlex"), C = (p = u(n.itemData)) == null ? void 0 : p.find((v) => (v == null ? void 0 : v.key) === "formWrap");
253
+ if ((C == null ? void 0 : C.contents) === "纵向" ? s.value = !1 : s.value = !0, f.value = typeof (O == null ? void 0 : O.contents) != "boolean" ? !(!(O != null && O.contents) === "" || ((b = O == null ? void 0 : O.contents) == null ? void 0 : b.toUpperCase()) === "VERTICAL") : O == null ? void 0 : O.contents, ((c = A == null ? void 0 : A.contents) == null ? void 0 : c.length) > 0 && Array.isArray(A == null ? void 0 : A.contents)) {
254
254
  const v = [];
255
255
  (r = A == null ? void 0 : A.contents) == null || r.forEach((E, D) => {
256
- var B, P, S, b, F, U, w, W, K, Z;
256
+ var B, P, S, g, j, F, w, W, K, Z;
257
257
  if ((E == null ? void 0 : E.label) !== "") {
258
258
  let le = (E == null ? void 0 : E.key) ?? "", ee = (E == null ? void 0 : E.type) ?? "", G = (E == null ? void 0 : E.options) ?? [];
259
- if ((B = E == null ? void 0 : E.key) != null && B.includes("$") && (le = (P = p(E == null ? void 0 : E.key).split("$")) == null ? void 0 : P[0], ((b = (S = p(E == null ? void 0 : E.key).split("$")) == null ? void 0 : S[1]) == null ? void 0 : b.length) > 0)) {
260
- const [Q, q] = (U = (F = p(E == null ? void 0 : E.key).split("$")) == null ? void 0 : F[1]) == null ? void 0 : U.split(/[()]/);
259
+ if ((B = E == null ? void 0 : E.key) != null && B.includes("$") && (le = (P = u(E == null ? void 0 : E.key).split("$")) == null ? void 0 : P[0], ((g = (S = u(E == null ? void 0 : E.key).split("$")) == null ? void 0 : S[1]) == null ? void 0 : g.length) > 0)) {
260
+ const [Q, q] = (F = (j = u(E == null ? void 0 : E.key).split("$")) == null ? void 0 : j[1]) == null ? void 0 : F.split(/[()]/);
261
261
  ee = ((w = fe.find((H) => (H == null ? void 0 : H.key) === Q)) == null ? void 0 : w.value) ?? "", ((W = q == null ? void 0 : q.split(",")) == null ? void 0 : W.length) > 0 && (G = (K = q == null ? void 0 : q.split(",")) == null ? void 0 : K.map((H) => ({
262
262
  label: H,
263
263
  value: H
@@ -274,19 +274,19 @@ const fe = [
274
274
  });
275
275
  }
276
276
  });
277
- const x = (m = p(v)) == null ? void 0 : m.map((E) => E.value);
278
- let j = "";
277
+ const x = (m = u(v)) == null ? void 0 : m.map((E) => E.value);
278
+ let U = "";
279
279
  x == null || x.forEach((E) => {
280
- E !== "" && E !== void 0 && (j = j === "" ? E : j + "/" + E);
281
- }), u.setSelectArray(x), u.setSelectString(j), t.value = v;
280
+ E !== "" && E !== void 0 && (U = U === "" ? E : U + "/" + E);
281
+ }), i.setSelectArray(x), i.setSelectString(U), a.value = v;
282
282
  } else
283
- t.value = [];
283
+ a.value = [];
284
284
  if (((_ = $ == null ? void 0 : $.contents) == null ? void 0 : _.length) > 0) {
285
285
  const v = [];
286
- (T = $ == null ? void 0 : $.contents) == null || T.forEach((x, j) => {
286
+ (T = $ == null ? void 0 : $.contents) == null || T.forEach((x, U) => {
287
287
  (x == null ? void 0 : x.label) !== "" && v.push({
288
288
  label: (x == null ? void 0 : x.label) ?? "",
289
- id: (x == null ? void 0 : x.id) ?? j,
289
+ id: (x == null ? void 0 : x.id) ?? U,
290
290
  type: (x == null ? void 0 : x.type) ?? "",
291
291
  background: x == null ? void 0 : x.background
292
292
  });
@@ -297,7 +297,7 @@ const fe = [
297
297
  { deep: !0, immediate: !0 }
298
298
  ), (A, $) => (z(), Y("div", yn, [
299
299
  V(Ee, {
300
- rowContents: t.value,
300
+ rowContents: a.value,
301
301
  buttonValue: o.value,
302
302
  isRowFlex: f.value,
303
303
  isEnableWrap: !1,
@@ -307,7 +307,7 @@ const fe = [
307
307
  }, null, 8, ["rowContents", "buttonValue", "isRowFlex", "isButtonRow"])
308
308
  ]));
309
309
  }
310
- }, mn = /* @__PURE__ */ pe(hn, [["__scopeId", "data-v-3775f389"]]), gn = { class: "table-operate-content" }, bn = { class: "table-operate-item" }, kn = { class: "operate-title" }, Cn = { class: "operate-content" }, An = { class: "operate-title" }, $n = { class: "operate-content" }, _n = { class: "operate-title" }, On = { class: "operate-content" }, Tn = { class: "operate-content" }, xn = {
310
+ }, mn = /* @__PURE__ */ pe(hn, [["__scopeId", "data-v-3775f389"]]), 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" }, _n = { class: "operate-title" }, On = { class: "operate-content" }, Tn = { class: "operate-content" }, xn = {
311
311
  __name: "operate",
312
312
  props: {
313
313
  itemContents: {
@@ -320,8 +320,8 @@ const fe = [
320
320
  }
321
321
  },
322
322
  emits: ["change"],
323
- setup(e, { emit: a }) {
324
- const n = e, l = a, t = R([]), s = R([]), o = R([]), u = R([{
323
+ setup(e, { emit: t }) {
324
+ const n = e, l = t, a = R([]), s = R([]), o = R([]), i = R([{
325
325
  label: "按钮名称",
326
326
  prop: "label",
327
327
  type: "edit"
@@ -435,57 +435,57 @@ const fe = [
435
435
  type: "operate",
436
436
  sortable: !1
437
437
  }], O = (c) => {
438
- let r = p(t.value);
438
+ let r = u(a.value);
439
439
  const m = r == null ? void 0 : r.find((_) => _.key === "page");
440
440
  (m == null ? void 0 : m.contents) !== void 0 ? r = r == null ? void 0 : r.map((_) => ((_ == null ? void 0 : _.key) === "page" && (_.contents = c == null ? void 0 : c.isPagination), _)) : r.push({
441
441
  key: "page",
442
442
  contents: c == null ? void 0 : c.isPagination
443
- }), t.value = r;
443
+ }), a.value = r;
444
444
  };
445
- te(
445
+ ae(
446
446
  () => n.originalItemContents,
447
447
  () => {
448
- var c, r, m, _, T, v, x, j, E, D, B, P, S;
449
- !n.originalItemContents || n.originalItemContents.length === 0 || (t.value = p(n.originalItemContents), s.value = (r = (c = t.value) == null ? void 0 : c.find((b) => (b == null ? void 0 : b.key) === "header")) == null ? void 0 : r.contents, o.value = (_ = (m = t.value) == null ? void 0 : m.find((b) => (b == null ? void 0 : b.key) === "rowButton")) == null ? void 0 : _.contents, u.value = (v = (T = t.value) == null ? void 0 : T.find((b) => (b == null ? void 0 : b.key) === "extraButton")) == null ? void 0 : v.contents, A.value = (j = (x = t.value) == null ? void 0 : x.find((b) => (b == null ? void 0 : b.key) === "page")) != null && j.contents ? [{
448
+ var c, r, m, _, T, v, x, U, E, D, B, P, S;
449
+ !n.originalItemContents || n.originalItemContents.length === 0 || (a.value = u(n.originalItemContents), s.value = (r = (c = a.value) == null ? void 0 : c.find((g) => (g == null ? void 0 : g.key) === "header")) == null ? void 0 : r.contents, o.value = (_ = (m = a.value) == null ? void 0 : m.find((g) => (g == null ? void 0 : g.key) === "rowButton")) == null ? void 0 : _.contents, i.value = (v = (T = a.value) == null ? void 0 : T.find((g) => (g == null ? void 0 : g.key) === "extraButton")) == null ? void 0 : v.contents, A.value = (U = (x = a.value) == null ? void 0 : x.find((g) => (g == null ? void 0 : g.key) === "page")) != null && U.contents ? [{
450
450
  name: "isPagination",
451
451
  label: "是否显示分页",
452
452
  type: "Switch",
453
- value: (D = (E = t.value) == null ? void 0 : E.find((b) => (b == null ? void 0 : b.key) === "page")) == null ? void 0 : D.contents
453
+ value: (D = (E = a.value) == null ? void 0 : E.find((g) => (g == null ? void 0 : g.key) === "page")) == null ? void 0 : D.contents
454
454
  }] : [{
455
455
  name: "isPagination",
456
456
  label: "是否显示分页",
457
457
  type: "Switch",
458
458
  value: !0
459
- }], s.value = (B = s.value) == null ? void 0 : B.map((b, F) => b = {
460
- label: (b == null ? void 0 : b.label) ?? "",
461
- prop: (b == null ? void 0 : b.label) === "操作" ? "operate" : b == null ? void 0 : b.prop,
462
- width: b != null && b.width ? parseInt(b.width) : "",
463
- fixed: (b == null ? void 0 : b.fixed) ?? void 0,
464
- sortable: (b == null ? void 0 : b.sortable) ?? !1,
465
- align: (b == null ? void 0 : b.align) ?? "center",
466
- showOverflowTooltip: (b == null ? void 0 : b.showOverflowTooltip) ?? !0,
467
- isNotDrag: (b == null ? void 0 : b.isNotDrag) ?? !1,
468
- isEditCol: (b == null ? void 0 : b.isEditCol) ?? !1,
469
- isOperate: (b == null ? void 0 : b.isOperate) ?? !1,
470
- id: (b == null ? void 0 : b.id) ?? F
471
- }), o.value = (P = o.value) == null ? void 0 : P.map((b, F) => b = {
472
- label: (b == null ? void 0 : b.label) ?? "",
473
- type: (b == null ? void 0 : b.type) ?? "",
474
- textColor: (b == null ? void 0 : b.textColor) ?? "#000000",
475
- id: (b == null ? void 0 : b.id) ?? F
476
- }), u.value = (S = u.value) == null ? void 0 : S.map((b, F) => b = {
477
- label: (b == null ? void 0 : b.label) ?? "",
478
- type: (b == null ? void 0 : b.type) ?? "",
479
- background: (b == null ? void 0 : b.textColor) ?? "#FFFFFF",
480
- id: (b == null ? void 0 : b.id) ?? F
459
+ }], s.value = (B = s.value) == null ? void 0 : B.map((g, j) => g = {
460
+ label: (g == null ? void 0 : g.label) ?? "",
461
+ prop: (g == null ? void 0 : g.label) === "操作" ? "operate" : g == null ? void 0 : g.prop,
462
+ width: g != null && g.width ? parseInt(g.width) : "",
463
+ fixed: (g == null ? void 0 : g.fixed) ?? void 0,
464
+ sortable: (g == null ? void 0 : g.sortable) ?? !1,
465
+ align: (g == null ? void 0 : g.align) ?? "center",
466
+ showOverflowTooltip: (g == null ? void 0 : g.showOverflowTooltip) ?? !0,
467
+ isNotDrag: (g == null ? void 0 : g.isNotDrag) ?? !1,
468
+ isEditCol: (g == null ? void 0 : g.isEditCol) ?? !1,
469
+ isOperate: (g == null ? void 0 : g.isOperate) ?? !1,
470
+ id: (g == null ? void 0 : g.id) ?? j
471
+ }), o.value = (P = o.value) == null ? void 0 : P.map((g, j) => g = {
472
+ label: (g == null ? void 0 : g.label) ?? "",
473
+ type: (g == null ? void 0 : g.type) ?? "",
474
+ textColor: (g == null ? void 0 : g.textColor) ?? "#000000",
475
+ id: (g == null ? void 0 : g.id) ?? j
476
+ }), i.value = (S = i.value) == null ? void 0 : S.map((g, j) => g = {
477
+ label: (g == null ? void 0 : g.label) ?? "",
478
+ type: (g == null ? void 0 : g.type) ?? "",
479
+ background: (g == null ? void 0 : g.textColor) ?? "#FFFFFF",
480
+ id: (g == null ? void 0 : g.id) ?? j
481
481
  }));
482
482
  },
483
483
  { deep: !0, immediate: !0 }
484
- ), te(
484
+ ), ae(
485
485
  () => A.value,
486
486
  () => {
487
487
  var m;
488
- let c = p(t.value);
488
+ let c = u(a.value);
489
489
  const r = c == null ? void 0 : c.find((_) => _.key === "page");
490
490
  r != null && r.contents ? c = c == null ? void 0 : c.map((_) => {
491
491
  var T;
@@ -493,13 +493,13 @@ const fe = [
493
493
  }) : c.push({
494
494
  key: "page",
495
495
  contents: (m = A.value) == null ? void 0 : m[0].value
496
- }), t.value = c;
496
+ }), a.value = c;
497
497
  },
498
498
  { immediate: !0, deep: !0 }
499
499
  );
500
500
  const C = () => {
501
- const c = p(s.value);
502
- let r = p(t.value);
501
+ const c = u(s.value);
502
+ let r = u(a.value);
503
503
  c.push({
504
504
  label: "",
505
505
  prop: "",
@@ -517,10 +517,10 @@ const fe = [
517
517
  m != null && m.contents ? (m.contents = c, r = r == null ? void 0 : r.map((_) => ((_ == null ? void 0 : _.key) === "header" && (_.contents = c), _))) : r.push({
518
518
  key: "header",
519
519
  contents: c
520
- }), t.value = r;
520
+ }), a.value = r;
521
521
  }, N = () => {
522
- const c = p(o.value);
523
- let r = p(t.value);
522
+ const c = u(o.value);
523
+ let r = u(a.value);
524
524
  c.push({
525
525
  label: "",
526
526
  type: "",
@@ -531,10 +531,10 @@ const fe = [
531
531
  m != null && m.contents ? (m.contents = c, r = r == null ? void 0 : r.map((_) => ((_ == null ? void 0 : _.key) === "rowButton" && (_.contents = c), _))) : r.push({
532
532
  key: "rowButton",
533
533
  contents: c
534
- }), t.value = r;
534
+ }), a.value = r;
535
535
  }, y = () => {
536
- const c = p(h.value);
537
- let r = p(t.value);
536
+ const c = u(h.value);
537
+ let r = u(a.value);
538
538
  c.push({
539
539
  label: "",
540
540
  type: "",
@@ -545,30 +545,30 @@ const fe = [
545
545
  m != null && m.contents ? (m.contents = c, r = r == null ? void 0 : r.map((_) => ((_ == null ? void 0 : _.key) === "extraButton" && (_.contents = c), _))) : r.push({
546
546
  key: "extraButton",
547
547
  contents: c
548
- }), t.value = r;
548
+ }), a.value = r;
549
549
  }, d = (c) => {
550
- const r = p(o.value);
551
- let m = p(t.value);
550
+ const r = u(o.value);
551
+ let m = u(a.value);
552
552
  o.value = r.filter((T) => T.id !== c.id);
553
553
  const _ = m == null ? void 0 : m.find((T) => T.key === "rowButton");
554
- _ != null && _.contents && (m = m == null ? void 0 : m.map((T) => ((T == null ? void 0 : T.key) === "rowButton" && (T.contents = r.filter((v) => v.id !== c.id)), T))), t.value = m;
555
- }, i = (c) => {
556
- const r = p(h.value);
557
- let m = p(t.value);
554
+ _ != null && _.contents && (m = m == null ? void 0 : m.map((T) => ((T == null ? void 0 : T.key) === "rowButton" && (T.contents = r.filter((v) => v.id !== c.id)), T))), a.value = m;
555
+ }, p = (c) => {
556
+ const r = u(h.value);
557
+ let m = u(a.value);
558
558
  h.value = r.filter((T) => T.id !== c.id);
559
559
  const _ = m == null ? void 0 : m.find((T) => T.key === "extraButton");
560
- _ != null && _.contents && (m = m == null ? void 0 : m.map((T) => ((T == null ? void 0 : T.key) === "extraButton" && (T.contents = r.filter((v) => v.id !== c.id)), T))), t.value = m;
561
- }, g = (c) => {
562
- const r = p(s.value);
563
- let m = p(t.value);
560
+ _ != null && _.contents && (m = m == null ? void 0 : m.map((T) => ((T == null ? void 0 : T.key) === "extraButton" && (T.contents = r.filter((v) => v.id !== c.id)), T))), a.value = m;
561
+ }, b = (c) => {
562
+ const r = u(s.value);
563
+ let m = u(a.value);
564
564
  s.value = r.filter((T) => T.id !== c.id);
565
565
  const _ = m == null ? void 0 : m.find((T) => T.key === "header");
566
- _ != null && _.contents && (m = m == null ? void 0 : m.map((T) => ((T == null ? void 0 : T.key) === "header" && (T.contents = r.filter((v) => v.id !== c.id)), T))), t.value = m;
566
+ _ != null && _.contents && (m = m == null ? void 0 : m.map((T) => ((T == null ? void 0 : T.key) === "header" && (T.contents = r.filter((v) => v.id !== c.id)), T))), a.value = m;
567
567
  };
568
- return te(
569
- () => [t.value, s.value],
568
+ return ae(
569
+ () => [a.value, s.value],
570
570
  () => {
571
- let c = p(t.value);
571
+ let c = u(a.value);
572
572
  const r = c == null ? void 0 : c.find((m) => (m == null ? void 0 : m.key) === "header");
573
573
  r != null && r.contents ? (r.contents = s.value, c = c == null ? void 0 : c.map((m) => ((m == null ? void 0 : m.key) === "header" && (m.contents = s.value), m))) : c.push({
574
574
  key: "header",
@@ -578,8 +578,8 @@ const fe = [
578
578
  { deep: !0, immediate: !0 }
579
579
  ), (c, r) => {
580
580
  const m = nl("el-button");
581
- return z(), Y("div", gn, [
582
- I("div", bn, [
581
+ return z(), Y("div", bn, [
582
+ I("div", gn, [
583
583
  I("div", kn, [
584
584
  r[1] || (r[1] = I("div", null, X("表头"), -1)),
585
585
  V(m, {
@@ -601,7 +601,7 @@ const fe = [
601
601
  isShowEdit: !1,
602
602
  isMoveColumn: !1,
603
603
  tableData: s.value,
604
- onDeleteRow: g
604
+ onDeleteRow: b
605
605
  }, null, 8, ["tableData"])
606
606
  ]),
607
607
  I("div", An, [
@@ -644,12 +644,12 @@ const fe = [
644
644
  ]),
645
645
  I("div", On, [
646
646
  V(ue, {
647
- columns: u.value,
647
+ columns: i.value,
648
648
  isShowPagination: !1,
649
649
  isShowEdit: !1,
650
650
  isMoveColumn: !1,
651
651
  tableData: h.value,
652
- onDeleteRow: i
652
+ onDeleteRow: p
653
653
  }, null, 8, ["columns", "tableData"])
654
654
  ]),
655
655
  r[6] || (r[6] = I("div", { class: "operate-title" }, [
@@ -665,7 +665,7 @@ const fe = [
665
665
  ]);
666
666
  };
667
667
  }
668
- }, vn = /* @__PURE__ */ pe(xn, [["__scopeId", "data-v-877911eb"]]), En = { class: "form-operate-content" }, Dn = { class: "form-operate-item" }, Nn = { class: "operate-title" }, Sn = { class: "operate-content" }, Pn = { class: "operate-title" }, Bn = { class: "operate-content" }, Fn = { class: "operate-content" }, jn = {
668
+ }, vn = /* @__PURE__ */ pe(xn, [["__scopeId", "data-v-877911eb"]]), En = { class: "form-operate-content" }, Dn = { class: "form-operate-item" }, Nn = { class: "operate-title" }, Sn = { class: "operate-content" }, Pn = { class: "operate-title" }, Bn = { class: "operate-content" }, jn = { class: "operate-content" }, Un = {
669
669
  __name: "operate",
670
670
  props: {
671
671
  itemContents: {
@@ -678,8 +678,8 @@ const fe = [
678
678
  }
679
679
  },
680
680
  emits: ["change"],
681
- setup(e, { emit: a }) {
682
- const n = e, l = a, t = R([{
681
+ setup(e, { emit: t }) {
682
+ const n = e, l = t, a = R([{
683
683
  name: "isRowFlex",
684
684
  label: "是否横向布局",
685
685
  type: "Switch",
@@ -723,23 +723,23 @@ const fe = [
723
723
  prop: "operate",
724
724
  type: "operate",
725
725
  sortable: !1
726
- }]), u = R([]), f = R([]), h = R([]), k = R(0);
727
- te(
726
+ }]), i = R([]), f = R([]), h = R([]), k = R(0);
727
+ ae(
728
728
  () => n.originalItemContents,
729
729
  () => {
730
- var y, d, i, g, c, r, m, _, T, v;
731
- !n.originalItemContents || n.originalItemContents.length === 0 || (f.value = p(n.originalItemContents), h.value = (d = (y = f.value) == null ? void 0 : y.find((x) => (x == null ? void 0 : x.key) === "formContent")) == null ? void 0 : d.contents, u.value = (g = (i = f.value) == null ? void 0 : i.find((x) => (x == null ? void 0 : x.key) === "formButton")) == null ? void 0 : g.contents, h.value = (c = h.value) == null ? void 0 : c.map((x, j) => x = {
730
+ var y, d, p, b, c, r, m, _, T, v;
731
+ !n.originalItemContents || n.originalItemContents.length === 0 || (f.value = u(n.originalItemContents), h.value = (d = (y = f.value) == null ? void 0 : y.find((x) => (x == null ? void 0 : x.key) === "formContent")) == null ? void 0 : d.contents, i.value = (b = (p = f.value) == null ? void 0 : p.find((x) => (x == null ? void 0 : x.key) === "formButton")) == null ? void 0 : b.contents, h.value = (c = h.value) == null ? void 0 : c.map((x, U) => x = {
732
732
  label: (x == null ? void 0 : x.label) ?? "",
733
733
  type: (x == null ? void 0 : x.type) ?? "",
734
734
  key: (x == null ? void 0 : x.key) ?? "",
735
735
  options: (x == null ? void 0 : x.options) ?? "",
736
- id: (x == null ? void 0 : x.id) ?? j
737
- }), u.value = (r = u.value) == null ? void 0 : r.map((x, j) => x = {
736
+ id: (x == null ? void 0 : x.id) ?? U
737
+ }), i.value = (r = i.value) == null ? void 0 : r.map((x, U) => x = {
738
738
  label: (x == null ? void 0 : x.label) ?? "",
739
739
  type: (x == null ? void 0 : x.type) ?? "",
740
740
  background: (x == null ? void 0 : x.background) ?? "#000000",
741
- id: (x == null ? void 0 : x.id) ?? j
742
- }), t.value = (_ = (m = f.value) == null ? void 0 : m.find((x) => (x == null ? void 0 : x.key) === "formFlex")) != null && _.contents ? [{
741
+ id: (x == null ? void 0 : x.id) ?? U
742
+ }), a.value = (_ = (m = f.value) == null ? void 0 : m.find((x) => (x == null ? void 0 : x.key) === "formFlex")) != null && _.contents ? [{
743
743
  name: "isRowFlex",
744
744
  label: "是否横向布局",
745
745
  type: "Switch",
@@ -754,22 +754,22 @@ const fe = [
754
754
  { deep: !0, immediate: !0 }
755
755
  );
756
756
  const A = () => {
757
- const y = p(u.value);
758
- let d = p(f.value);
757
+ const y = u(i.value);
758
+ let d = u(f.value);
759
759
  y.push({
760
760
  label: "",
761
761
  type: "",
762
762
  background: "#000000",
763
763
  id: k.value
764
- }), u.value = y, k.value++;
765
- const i = d == null ? void 0 : d.find((g) => (g == null ? void 0 : g.key) === "formButton");
766
- i != null && i.contents ? (i.contents = y, d = d == null ? void 0 : d.map((g) => ((g == null ? void 0 : g.key) === "formButton" && (g.contents = y), g))) : d.push({
764
+ }), i.value = y, k.value++;
765
+ const p = d == null ? void 0 : d.find((b) => (b == null ? void 0 : b.key) === "formButton");
766
+ p != null && p.contents ? (p.contents = y, d = d == null ? void 0 : d.map((b) => ((b == null ? void 0 : b.key) === "formButton" && (b.contents = y), b))) : d.push({
767
767
  key: "formButton",
768
768
  contents: y
769
769
  }), f.value = d;
770
770
  }, $ = () => {
771
- const y = p(h.value);
772
- let d = p(f.value);
771
+ const y = u(h.value);
772
+ let d = u(f.value);
773
773
  y.push({
774
774
  label: "",
775
775
  type: "",
@@ -777,49 +777,49 @@ const fe = [
777
777
  options: "",
778
778
  id: k.value
779
779
  }), h.value = y, k.value++;
780
- const i = d == null ? void 0 : d.find((g) => (g == null ? void 0 : g.key) === "formContent");
781
- i != null && i.contents ? (i.contents = y, d = d == null ? void 0 : d.map((g) => ((g == null ? void 0 : g.key) === "formContent" && (g.contents = y), g))) : d.push({
780
+ const p = d == null ? void 0 : d.find((b) => (b == null ? void 0 : b.key) === "formContent");
781
+ p != null && p.contents ? (p.contents = y, d = d == null ? void 0 : d.map((b) => ((b == null ? void 0 : b.key) === "formContent" && (b.contents = y), b))) : d.push({
782
782
  key: "formContent",
783
783
  contents: y
784
784
  }), f.value = d;
785
785
  }, O = (y) => {
786
- const d = p(u.value);
787
- let i = p(f.value);
788
- u.value = d.filter((c) => c.id !== y.id);
789
- const g = i == null ? void 0 : i.find((c) => c.key === "formButton");
790
- g != null && g.contents && (i = i == null ? void 0 : i.map((c) => ((c == null ? void 0 : c.key) === "formButton" && (c.contents = d.filter((r) => r.id !== y.id)), c))), f.value = i;
786
+ const d = u(i.value);
787
+ let p = u(f.value);
788
+ i.value = d.filter((c) => c.id !== y.id);
789
+ const b = p == null ? void 0 : p.find((c) => c.key === "formButton");
790
+ b != null && b.contents && (p = p == null ? void 0 : p.map((c) => ((c == null ? void 0 : c.key) === "formButton" && (c.contents = d.filter((r) => r.id !== y.id)), c))), f.value = p;
791
791
  }, C = (y) => {
792
- const d = p(h.value);
793
- let i = p(f.value);
792
+ const d = u(h.value);
793
+ let p = u(f.value);
794
794
  h.value = d.filter((c) => c.id !== y.id);
795
- const g = i == null ? void 0 : i.find((c) => c.key === "formContent");
796
- g != null && g.contents && (i = i == null ? void 0 : i.map((c) => ((c == null ? void 0 : c.key) === "formContent" && (c.contents = d.filter((r) => r.id !== y.id)), c))), f.value = i;
795
+ const b = p == null ? void 0 : p.find((c) => c.key === "formContent");
796
+ b != null && b.contents && (p = p == null ? void 0 : p.map((c) => ((c == null ? void 0 : c.key) === "formContent" && (c.contents = d.filter((r) => r.id !== y.id)), c))), f.value = p;
797
797
  }, N = (y) => {
798
- let d = p(f.value);
799
- const i = d == null ? void 0 : d.find((g) => g.key === "formFlex");
800
- (i == null ? void 0 : i.contents) !== void 0 ? d = d == null ? void 0 : d.map((g) => ((g == null ? void 0 : g.key) === "formFlex" && (g.contents = y == null ? void 0 : y.isRowFlex), g)) : d.push({
798
+ let d = u(f.value);
799
+ const p = d == null ? void 0 : d.find((b) => b.key === "formFlex");
800
+ (p == null ? void 0 : p.contents) !== void 0 ? d = d == null ? void 0 : d.map((b) => ((b == null ? void 0 : b.key) === "formFlex" && (b.contents = y == null ? void 0 : y.isRowFlex), b)) : d.push({
801
801
  key: "formFlex",
802
802
  contents: y == null ? void 0 : y.isRowFlex
803
803
  }), f.value = d;
804
804
  };
805
- return te(
805
+ return ae(
806
806
  () => [f.value, h.value],
807
807
  () => {
808
- let y = p(f.value);
809
- const d = y == null ? void 0 : y.find((i) => (i == null ? void 0 : i.key) === "formContent");
810
- d != null && d.contents ? (d.contents = h.value, y = y == null ? void 0 : y.map((i) => ((i == null ? void 0 : i.key) === "formContent" && (i.contents = h.value), i))) : y.push({
808
+ let y = u(f.value);
809
+ const d = y == null ? void 0 : y.find((p) => (p == null ? void 0 : p.key) === "formContent");
810
+ d != null && d.contents ? (d.contents = h.value, y = y == null ? void 0 : y.map((p) => ((p == null ? void 0 : p.key) === "formContent" && (p.contents = h.value), p))) : y.push({
811
811
  key: "formContent",
812
812
  contents: h.value
813
813
  }), l("change", y);
814
814
  },
815
815
  { deep: !0, immediate: !0 }
816
816
  ), (y, d) => {
817
- const i = nl("el-button");
817
+ const p = nl("el-button");
818
818
  return z(), Y("div", En, [
819
819
  I("div", Dn, [
820
820
  I("div", Nn, [
821
821
  d[1] || (d[1] = I("div", null, X("表单信息"), -1)),
822
- V(i, {
822
+ V(p, {
823
823
  class: "blue-operate-button",
824
824
  icon: "ele-Plus",
825
825
  onClick: $
@@ -843,7 +843,7 @@ const fe = [
843
843
  ]),
844
844
  I("div", Pn, [
845
845
  d[3] || (d[3] = I("div", null, X("表单按钮"), -1)),
846
- V(i, {
846
+ V(p, {
847
847
  class: "blue-operate-button",
848
848
  icon: "ele-Plus",
849
849
  onClick: A
@@ -861,16 +861,16 @@ const fe = [
861
861
  isShowPagination: !1,
862
862
  isShowEdit: !1,
863
863
  isMoveColumn: !1,
864
- tableData: u.value,
864
+ tableData: i.value,
865
865
  onDeleteRow: O
866
866
  }, null, 8, ["columns", "tableData"])
867
867
  ]),
868
868
  d[4] || (d[4] = I("div", { class: "operate-title" }, [
869
869
  I("div", null, X("表单布局"))
870
870
  ], -1)),
871
- I("div", Fn, [
871
+ I("div", jn, [
872
872
  V(Ee, {
873
- rowContents: t.value,
873
+ rowContents: a.value,
874
874
  onChange: N
875
875
  }, null, 8, ["rowContents"])
876
876
  ])
@@ -878,7 +878,7 @@ const fe = [
878
878
  ]);
879
879
  };
880
880
  }
881
- }, Un = /* @__PURE__ */ pe(jn, [["__scopeId", "data-v-a36b8468"]]), Rn = { class: "extra-content" }, wn = { key: 0 }, Jn = { key: 1 }, Ln = {
881
+ }, Fn = /* @__PURE__ */ pe(Un, [["__scopeId", "data-v-a36b8468"]]), Rn = { class: "extra-content" }, wn = { key: 0 }, Jn = { key: 1 }, Ln = {
882
882
  __name: "index",
883
883
  props: {
884
884
  itemData: {
@@ -897,14 +897,14 @@ const fe = [
897
897
  }
898
898
  },
899
899
  emits: ["change"],
900
- setup(e, { emit: a }) {
901
- const n = e, l = R(0), t = R(), s = R(), o = a, u = R(!1), f = R({}), h = R({}), k = R();
902
- te(
900
+ setup(e, { emit: t }) {
901
+ const n = e, l = R(0), a = R(), s = R(), o = t, i = R(!1), f = R({}), h = R({}), k = R();
902
+ ae(
903
903
  () => [n.itemData],
904
904
  () => {
905
905
  var c;
906
- const g = p(n.itemData);
907
- t.value = (c = p(g)) == null ? void 0 : c.map((r) => {
906
+ const b = u(n.itemData);
907
+ a.value = (c = u(b)) == null ? void 0 : c.map((r) => {
908
908
  var m;
909
909
  if (r.key === "extra") {
910
910
  let _ = [];
@@ -918,59 +918,59 @@ const fe = [
918
918
  },
919
919
  { deep: !0, immediate: !0 }
920
920
  );
921
- const A = (g, c, r, m) => {
921
+ const A = (b, c, r, m) => {
922
922
  var T;
923
923
  let _ = {};
924
- ((T = g == null ? void 0 : g[0]) == null ? void 0 : T.contents) === "详情" && (u.value = !0, _[c] = g, s.value = g == null ? void 0 : g.filter((v) => (v == null ? void 0 : v.key) !== "tableContentName"), f.value = _, h.value = r, k.value = m.id);
925
- }, $ = (g) => {
926
- var v, x, j, E;
927
- const c = (x = (v = Object.values(p(f.value))) == null ? void 0 : v[0]) == null ? void 0 : x.filter((D) => (D == null ? void 0 : D.key) === "tableContentName"), r = (E = (j = Object.values(p(f.value))) == null ? void 0 : j[0]) == null ? void 0 : E.filter((D) => (D == null ? void 0 : D.key) !== "tableContentName"), m = r == null ? void 0 : r.map((D, B) => {
924
+ ((T = b == null ? void 0 : b[0]) == null ? void 0 : T.contents) === "详情" && (i.value = !0, _[c] = b, s.value = b == null ? void 0 : b.filter((v) => (v == null ? void 0 : v.key) !== "tableContentName"), f.value = _, h.value = r, k.value = m.id);
925
+ }, $ = (b) => {
926
+ var v, x, U, E;
927
+ const c = (x = (v = Object.values(u(f.value))) == null ? void 0 : v[0]) == null ? void 0 : x.filter((D) => (D == null ? void 0 : D.key) === "tableContentName"), r = (E = (U = Object.values(u(f.value))) == null ? void 0 : U[0]) == null ? void 0 : E.filter((D) => (D == null ? void 0 : D.key) !== "tableContentName"), m = r == null ? void 0 : r.map((D, B) => {
928
928
  var P;
929
- return B === g.index && (D == null ? void 0 : D.comp) === "Table" && (D.compData = (P = D.compData) == null ? void 0 : P.map((S) => {
930
- var b, F;
931
- return (S == null ? void 0 : S.key) === "tableContents" && (S.contents = (F = (b = g.content) == null ? void 0 : b.map((U) => {
929
+ return B === b.index && (D == null ? void 0 : D.comp) === "Table" && (D.compData = (P = D.compData) == null ? void 0 : P.map((S) => {
930
+ var g, j;
931
+ return (S == null ? void 0 : S.key) === "tableContents" && (S.contents = (j = (g = b.content) == null ? void 0 : g.map((F) => {
932
932
  let w = {};
933
- for (let W in U)
934
- W !== "id" && (w[W] = U[W]);
933
+ for (let W in F)
934
+ W !== "id" && (w[W] = F[W]);
935
935
  return w;
936
- })) == null ? void 0 : F.map((U) => Object.values(U))), S;
936
+ })) == null ? void 0 : j.map((F) => Object.values(F))), S;
937
937
  })), D;
938
938
  });
939
939
  m.unshift(c == null ? void 0 : c[0]);
940
- let _ = p(f.value), T = {};
940
+ let _ = u(f.value), T = {};
941
941
  for (let D in _)
942
942
  T[D] = m;
943
943
  f.value = T;
944
944
  }, O = () => {
945
- u.value = !1, f.value = {}, h.value = {}, k.value = void 0, l.value++;
946
- }, C = (g) => {
947
- var v, x, j, E;
948
- const c = (x = (v = Object.values(p(f.value))) == null ? void 0 : v[0]) == null ? void 0 : x.filter((D) => (D == null ? void 0 : D.key) === "tableContentName"), r = (E = (j = Object.values(p(f.value))) == null ? void 0 : j[0]) == null ? void 0 : E.filter((D) => (D == null ? void 0 : D.key) !== "tableContentName"), m = r == null ? void 0 : r.map((D, B) => (B === g.index && (D.compData = g.contents), D));
945
+ i.value = !1, f.value = {}, h.value = {}, k.value = void 0, l.value++;
946
+ }, C = (b) => {
947
+ var v, x, U, E;
948
+ const c = (x = (v = Object.values(u(f.value))) == null ? void 0 : v[0]) == null ? void 0 : x.filter((D) => (D == null ? void 0 : D.key) === "tableContentName"), r = (E = (U = Object.values(u(f.value))) == null ? void 0 : U[0]) == null ? void 0 : E.filter((D) => (D == null ? void 0 : D.key) !== "tableContentName"), m = r == null ? void 0 : r.map((D, B) => (B === b.index && (D.compData = b.contents), D));
949
949
  m.unshift(c == null ? void 0 : c[0]);
950
- let _ = p(f.value), T = {};
950
+ let _ = u(f.value), T = {};
951
951
  for (let D in _)
952
952
  T[D] = m;
953
953
  f.value = T;
954
954
  }, N = () => {
955
955
  var c, r;
956
- let g = {};
956
+ let b = {};
957
957
  for (let m in h.value)
958
- m === ((c = Object.keys(f.value)) == null ? void 0 : c[0]) ? g[m] = (r = Object.values(f.value)) == null ? void 0 : r[0] : g[m] = h.value[m];
958
+ m === ((c = Object.keys(f.value)) == null ? void 0 : c[0]) ? b[m] = (r = Object.values(f.value)) == null ? void 0 : r[0] : b[m] = h.value[m];
959
959
  o("change", {
960
960
  buttonName: "编辑",
961
961
  index: k.value,
962
- singleContent: g
963
- }, "methodData"), u.value = !1, f.value = {}, h.value = {}, k.value = void 0;
962
+ singleContent: b
963
+ }, "methodData"), i.value = !1, f.value = {}, h.value = {}, k.value = void 0;
964
964
  }, y = () => {
965
- u.value = !1, f.value = {}, h.value = {}, k.value = void 0;
966
- }, d = (g) => {
967
- o("change", g, "methodData");
968
- }, i = (g) => zn(g);
969
- return (g, c) => (z(), Y(he, null, [
965
+ i.value = !1, f.value = {}, h.value = {}, k.value = void 0;
966
+ }, d = (b) => {
967
+ o("change", b, "methodData");
968
+ }, p = (b) => zn(b);
969
+ return (b, c) => (z(), Y(he, null, [
970
970
  I("div", Rn, [
971
- (z(!0), Y(he, null, xe(t.value, (r, m) => (z(), Y("div", { key: l.value }, [
971
+ (z(!0), Y(he, null, xe(a.value, (r, m) => (z(), Y("div", { key: l.value }, [
972
972
  (r == null ? void 0 : r.key) === "extra" ? (z(), Y("div", wn)) : (z(), Y("div", Jn, [
973
- (z(), Be(Fe(i(r.comp)), {
973
+ (z(), Be(je(p(r.comp)), {
974
974
  itemData: r == null ? void 0 : r.compData,
975
975
  childItemData: r == null ? void 0 : r.itemChildData,
976
976
  key: m,
@@ -982,7 +982,7 @@ const fe = [
982
982
  ]))), 128))
983
983
  ]),
984
984
  V(El, {
985
- visible: u.value,
985
+ visible: i.value,
986
986
  onBeforeDestroy: y
987
987
  }, {
988
988
  default: se(() => [
@@ -990,7 +990,7 @@ const fe = [
990
990
  key: m,
991
991
  class: "extra-dialog"
992
992
  }, [
993
- (z(), Be(Fe(i(r.comp)), {
993
+ (z(), Be(je(p(r.comp)), {
994
994
  itemData: r == null ? void 0 : r.compData,
995
995
  onChange: $,
996
996
  childItemData: r == null ? void 0 : r.itemChildData,
@@ -1018,35 +1018,35 @@ const fe = [
1018
1018
  ], 64));
1019
1019
  }
1020
1020
  }, Gn = /* @__PURE__ */ pe(Ln, [["__scopeId", "data-v-e3e0f29d"]]), Ke = (e) => {
1021
- let a = [];
1022
- function n(t) {
1023
- t == null || t.forEach((s) => {
1021
+ let t = [];
1022
+ function n(a) {
1023
+ a == null || a.forEach((s) => {
1024
1024
  Array.isArray(s) || (s = [s]), s == null || s.forEach((o) => {
1025
- !(o != null && o.children) || o.children.length === 0 ? a.push(o.label) : l(o.children);
1025
+ !(o != null && o.children) || o.children.length === 0 ? t.push(o.label) : l(o.children);
1026
1026
  });
1027
1027
  });
1028
1028
  }
1029
- function l(t) {
1030
- t == null || t.forEach((s) => {
1031
- !(s != null && s.children) || s.children.length === 0 ? a.push(s.label) : l(s.children);
1029
+ function l(a) {
1030
+ a == null || a.forEach((s) => {
1031
+ !(s != null && s.children) || s.children.length === 0 ? t.push(s.label) : l(s.children);
1032
1032
  });
1033
1033
  }
1034
- return n(e), a;
1035
- }, Mn = (e, a, n) => {
1036
- var t;
1037
- let l = (t = p(e)) == null ? void 0 : t.map((s) => (s = s.filter((o) => !o.id), s));
1034
+ return n(e), t;
1035
+ }, Mn = (e, t, n) => {
1036
+ var a;
1037
+ let l = (a = u(e)) == null ? void 0 : a.map((s) => (s = s.filter((o) => !o.id), s));
1038
1038
  return l = l == null ? void 0 : l.map((s) => {
1039
1039
  var o;
1040
- return s = (o = s.map((u, f) => {
1040
+ return s = (o = s.map((i, f) => {
1041
1041
  let h = {};
1042
- if (n != null && n.find((k) => k === a[f]))
1043
- return h[a[f]] = u, h;
1044
- })) == null ? void 0 : o.filter((u) => u), s;
1042
+ if (n != null && n.find((k) => k === t[f]))
1043
+ return h[t[f]] = i, h;
1044
+ })) == null ? void 0 : o.filter((i) => i), s;
1045
1045
  }), l;
1046
- }, In = (e, a) => {
1047
- var o, u;
1048
- const n = p(e), l = (o = n == null ? void 0 : n.find((f) => (f == null ? void 0 : f.key) === "header")) == null ? void 0 : o.contents, t = (u = n == null ? void 0 : n.find((f) => (f == null ? void 0 : f.key) === "tableContents")) == null ? void 0 : u.contents;
1049
- return Mn(t, Ke(l).slice(0, Ke(l).length - 1), a);
1046
+ }, In = (e, t) => {
1047
+ var o, i;
1048
+ const n = u(e), l = (o = n == null ? void 0 : n.find((f) => (f == null ? void 0 : f.key) === "header")) == null ? void 0 : o.contents, a = (i = n == null ? void 0 : n.find((f) => (f == null ? void 0 : f.key) === "tableContents")) == null ? void 0 : i.contents;
1049
+ return Mn(a, Ke(l).slice(0, Ke(l).length - 1), t);
1050
1050
  }, Hn = { class: "method-content" }, Wn = ["onClick"], Zn = {
1051
1051
  __name: "index",
1052
1052
  props: {
@@ -1066,7 +1066,7 @@ const fe = [
1066
1066
  }
1067
1067
  },
1068
1068
  setup(e) {
1069
- const a = R([]), n = e, l = al(ke), { itemData: t } = De(l), s = (f, h) => {
1069
+ const t = R([]), n = e, l = tl(ke), { itemData: a } = De(l), s = (f, h) => {
1070
1070
  var A;
1071
1071
  const k = (A = h == null ? void 0 : h[0]) == null ? void 0 : A.children;
1072
1072
  return f == null ? void 0 : f.map(($) => {
@@ -1080,20 +1080,20 @@ const fe = [
1080
1080
  })) == null ? void 0 : O.filter((C) => C.key), $;
1081
1081
  });
1082
1082
  };
1083
- te(
1084
- () => t.value,
1083
+ ae(
1084
+ () => a.value,
1085
1085
  async () => {
1086
- await u(p(n.itemData));
1086
+ await i(u(n.itemData));
1087
1087
  },
1088
1088
  { deep: !0 }
1089
1089
  );
1090
1090
  const o = async (f) => {
1091
- var i, g, c, r, m, _;
1091
+ var p, b, c, r, m, _;
1092
1092
  let h = {};
1093
- if ((i = p(f.content)) == null || i.forEach((T, v) => {
1094
- var x, j, E, D, B, P, S, b, F, U, w, W, K, Z, le, ee, G;
1093
+ if ((p = u(f.content)) == null || p.forEach((T, v) => {
1094
+ var x, U, E, D, B, P, S, g, j, F, w, W, K, Z, le, ee, G;
1095
1095
  if ((T == null ? void 0 : T.comp) === "Table") {
1096
- let Q = (D = (E = (j = (x = T == null ? void 0 : T.compData) == null ? void 0 : x.find((M) => (M == null ? void 0 : M.key) === "header")) == null ? void 0 : j.contents) == null ? void 0 : E[0]) == null ? void 0 : D.some((M) => M == null ? void 0 : M.children), q = (S = (P = (B = T == null ? void 0 : T.compData) == null ? void 0 : B.find((M) => (M == null ? void 0 : M.key) === "tableContents")) == null ? void 0 : P.contents) == null ? void 0 : S.map((M) => M.slice(1)), H = (W = (w = (U = (F = (b = T == null ? void 0 : T.compData) == null ? void 0 : b.find((M) => (M == null ? void 0 : M.key) === "header")) == null ? void 0 : F.contents) == null ? void 0 : U[0]) == null ? void 0 : w[0]) == null ? void 0 : W.label, ne = (le = (Z = (K = T == null ? void 0 : T.compData) == null ? void 0 : K.find((M) => (M == null ? void 0 : M.key) === "header")) == null ? void 0 : Z.contents) == null ? void 0 : le[0];
1096
+ let Q = (D = (E = (U = (x = T == null ? void 0 : T.compData) == null ? void 0 : x.find((M) => (M == null ? void 0 : M.key) === "header")) == null ? void 0 : U.contents) == null ? void 0 : E[0]) == null ? void 0 : D.some((M) => M == null ? void 0 : M.children), q = (S = (P = (B = T == null ? void 0 : T.compData) == null ? void 0 : B.find((M) => (M == null ? void 0 : M.key) === "tableContents")) == null ? void 0 : P.contents) == null ? void 0 : S.map((M) => M.slice(1)), H = (W = (w = (F = (j = (g = T == null ? void 0 : T.compData) == null ? void 0 : g.find((M) => (M == null ? void 0 : M.key) === "header")) == null ? void 0 : j.contents) == null ? void 0 : F[0]) == null ? void 0 : w[0]) == null ? void 0 : W.label, ne = (le = (Z = (K = T == null ? void 0 : T.compData) == null ? void 0 : K.find((M) => (M == null ? void 0 : M.key) === "header")) == null ? void 0 : Z.contents) == null ? void 0 : le[0];
1097
1097
  if (Q)
1098
1098
  h[H] = s(q, ne);
1099
1099
  else {
@@ -1121,7 +1121,7 @@ const fe = [
1121
1121
  }), f.api) {
1122
1122
  const T = await xl.post(f.api, {
1123
1123
  data: h,
1124
- templateFileName: (g = f == null ? void 0 : f.extraContent) == null ? void 0 : g[0]
1124
+ templateFileName: (b = f == null ? void 0 : f.extraContent) == null ? void 0 : b[0]
1125
1125
  }, {
1126
1126
  responseType: "blob",
1127
1127
  // 必须设置
@@ -1134,32 +1134,32 @@ const fe = [
1134
1134
  }), A = T.headers["content-disposition"], $ = new RegExp("filename=([^;]+\\.[^\\.;]+);*"), O = $.exec(A), C = ((m = (r = (c = f == null ? void 0 : f.extraContent) == null ? void 0 : c[0]) == null ? void 0 : r.split(".")) == null ? void 0 : m[0]) + "." + ((_ = O[1].split(".")) == null ? void 0 : _[1]), N = document.createElement("a"), y = window.URL.createObjectURL(k), d = /^["](.*)["]$/g;
1135
1135
  N.style.display = "none", N.href = y, N.download = decodeURI(C.replace(d, "$1")), document.body.appendChild(N), N.click(), document.body.removeChild(N), window.URL.revokeObjectURL(y);
1136
1136
  }
1137
- }, u = async (f) => {
1137
+ }, i = async (f) => {
1138
1138
  var $;
1139
- const h = p(f), k = h == null ? void 0 : h.map(async (O) => {
1140
- var g, c, r, m, _, T;
1141
- const N = (g = (await je({
1139
+ const h = u(f), k = h == null ? void 0 : h.map(async (O) => {
1140
+ var b, c, r, m, _, T;
1141
+ const N = (b = (await Ue({
1142
1142
  key: {
1143
1143
  systemKey: sessionStorage.getItem("systemKey"),
1144
1144
  parentTable: "",
1145
1145
  type: "method",
1146
1146
  methodName: O.method
1147
1147
  }
1148
- })).data.result) == null ? void 0 : g[0], y = await je({
1148
+ })).data.result) == null ? void 0 : b[0], y = await Ue({
1149
1149
  key: {
1150
1150
  systemKey: sessionStorage.getItem("systemKey"),
1151
1151
  type: "methodData",
1152
1152
  tableId: N == null ? void 0 : N.id
1153
1153
  }
1154
- }), d = await _l((c = O == null ? void 0 : O.value) == null ? void 0 : c[0], sessionStorage.getItem("systemKey"), ""), i = (r = y.data.result) == null ? void 0 : r[0];
1154
+ }), d = await _l((c = O == null ? void 0 : O.value) == null ? void 0 : c[0], sessionStorage.getItem("systemKey"), ""), p = (r = y.data.result) == null ? void 0 : r[0];
1155
1155
  return {
1156
1156
  buttonName: (m = N == null ? void 0 : N.key) == null ? void 0 : m.methodKey,
1157
- api: (T = (_ = i == null ? void 0 : i.value) == null ? void 0 : _.tableData) == null ? void 0 : T[0],
1157
+ api: (T = (_ = p == null ? void 0 : p.value) == null ? void 0 : _.tableData) == null ? void 0 : T[0],
1158
1158
  content: d == null ? void 0 : d.filter((v) => v.comp !== "methodButton"),
1159
- extraContent: p(O.value).slice(1)
1159
+ extraContent: u(O.value).slice(1)
1160
1160
  };
1161
1161
  }), A = await Promise.all(k);
1162
- a.value = A, ($ = a.value) == null || $.forEach((O) => {
1162
+ t.value = A, ($ = t.value) == null || $.forEach((O) => {
1163
1163
  var C;
1164
1164
  O.api === "" && ((C = O.content) == null || C.forEach((N) => {
1165
1165
  var y;
@@ -1167,14 +1167,14 @@ const fe = [
1167
1167
  }));
1168
1168
  });
1169
1169
  };
1170
- return te(
1170
+ return ae(
1171
1171
  () => n.itemData,
1172
1172
  async () => {
1173
- await u(p(n.itemData));
1173
+ await i(u(n.itemData));
1174
1174
  },
1175
1175
  { immediate: !0, deep: !0 }
1176
1176
  ), (f, h) => (z(), Y("div", Hn, [
1177
- (z(!0), Y(he, null, xe(a.value, (k) => (z(), Y("div", null, [
1177
+ (z(!0), Y(he, null, xe(t.value, (k) => (z(), Y("div", null, [
1178
1178
  k.api !== "" ? (z(), Y("div", {
1179
1179
  key: 0,
1180
1180
  onClick: (A) => o(k),
@@ -1183,7 +1183,7 @@ const fe = [
1183
1183
  ]))), 256))
1184
1184
  ]));
1185
1185
  }
1186
- }, Kn = /* @__PURE__ */ pe(Zn, [["__scopeId", "data-v-3daae5c9"]]), Qa = R([
1186
+ }, Kn = /* @__PURE__ */ pe(Zn, [["__scopeId", "data-v-3daae5c9"]]), zt = R([
1187
1187
  {
1188
1188
  name: "表格",
1189
1189
  type: "table",
@@ -1218,7 +1218,7 @@ const fe = [
1218
1218
  TABLE: Ol,
1219
1219
  FORM: mn,
1220
1220
  TABLEOPERATE: vn,
1221
- FORMOPERATE: Un,
1221
+ FORMOPERATE: Fn,
1222
1222
  FOLD: Nl,
1223
1223
  CALCULATOR: Gn,
1224
1224
  METHODBUTTON: Kn,
@@ -1296,8 +1296,8 @@ const L = [
1296
1296
  value: "groupContents"
1297
1297
  }
1298
1298
  ], re = R(0), Qn = (e) => {
1299
- const [a, n] = e.split(/=(.+)/), l = a.replace(/['"]/g, "").trim(), t = n.replace(/^['"]|['"]$/g, "");
1300
- return { key: l, value: t };
1299
+ const [t, n] = e.split(/=(.+)/), l = t.replace(/['"]/g, "").trim(), a = n.replace(/^['"]|['"]$/g, "");
1300
+ return { key: l, value: a };
1301
1301
  }, me = (e) => {
1302
1302
  try {
1303
1303
  return JSON.parse(e), !0;
@@ -1305,57 +1305,57 @@ const L = [
1305
1305
  return !1;
1306
1306
  }
1307
1307
  }, Xn = (e) => e.includes("$") && e.trim().endsWith("(") ? e + ")" : e, Yn = (e) => {
1308
- let a = e;
1308
+ let t = e;
1309
1309
  const n = [];
1310
1310
  let l = "";
1311
- for (const t of a)
1312
- 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());
1313
- return n == null ? void 0 : n.filter((t) => t.includes("{"));
1311
+ for (const a of t)
1312
+ a.includes("{") || l.includes("{") || a.includes("[") || l.includes("[") || a.includes("【") || l.includes("【") || a.includes("(") || l.includes("(") || a.includes("(") || l.includes("(") || a.includes("/*") || l.includes("/*") ? (l += a.trim(), u(l).split("{").length - 1 === u(l).split("}").length - 1 && u(l).split("【").length - 1 === u(l).split("】").length - 1 && u(l).split("[").length - 1 === u(l).split("]").length - 1 && u(l).split("(").length - 1 === u(l).split(")").length - 1 && u(l).split("(").length - 1 === u(l).split(")").length - 1 && u(l).split("/*").length - 1 === u(l).split("*/").length - 1 && (n.push(l), l = "")) : n.push(a.trim());
1313
+ return n == null ? void 0 : n.filter((a) => a.includes("{"));
1314
1314
  }, Vn = (e) => {
1315
1315
  var n;
1316
- let a = [];
1316
+ let t = [];
1317
1317
  return (n = Yn(e.slice(1, -1))) == null || n.forEach((l) => {
1318
- var s, o, u, f;
1319
- let t = ((o = (s = l.slice(1, -1)) == null ? void 0 : s.split(",")) == null ? void 0 : o.length) ?? 1;
1320
- (f = (u = l.slice(1, -1)) == null ? void 0 : u.split(",")) == null || f.forEach((h) => {
1321
- var O, C, N, y, d, i, g, c, r, m, _, T, v;
1322
- let k = h == null ? void 0 : h.split(":"), A = k != null && k[0] ? (k == null ? void 0 : k[1].split("$").length) - 1 === 1 ? ((O = k == null ? void 0 : k[0]) == null ? void 0 : O.replace(/^"(.*)"$/, "$1")) + ((C = k == null ? void 0 : k[1]) == null ? void 0 : C.replace(/^"(.*)"$/, "$1")) : Array.isArray((y = (N = k == null ? void 0 : k[1]) == null ? void 0 : N.replace(/^"(.*)"$/, "$1")) == null ? void 0 : y.split("(")) && ((g = (i = (d = k == null ? void 0 : k[1]) == null ? void 0 : d.replace(/^"(.*)"$/, "$1")) == null ? void 0 : i.split("(")) == null ? void 0 : g.length) > 1 ? ((c = k == null ? void 0 : k[0]) == null ? void 0 : c.replace(/^"(.*)"$/, "$1")) + ((_ = (m = (r = k == null ? void 0 : k[1]) == null ? void 0 : r.replace(/^"(.*)"$/, "$1")) == null ? void 0 : m.split("(")) == null ? void 0 : _[0]) + "()" : (T = k == null ? void 0 : k[0]) == null ? void 0 : T.replace(/^"(.*)"$/, "$1") : "", $ = (k == null ? void 0 : k[1].split("$").length) - 1 === 0 ? (v = k == null ? void 0 : k[1]) == null ? void 0 : v.replace(/^"(.*)"$/, "$1") : "";
1323
- re.value++, a.push({
1318
+ var s, o, i, f;
1319
+ let a = ((o = (s = l.slice(1, -1)) == null ? void 0 : s.split(",")) == null ? void 0 : o.length) ?? 1;
1320
+ (f = (i = l.slice(1, -1)) == null ? void 0 : i.split(",")) == null || f.forEach((h) => {
1321
+ var O, C, N, y, d, p, b, c, r, m, _, T, v;
1322
+ let k = h == null ? void 0 : h.split(":"), A = k != null && k[0] ? (k == null ? void 0 : k[1].split("$").length) - 1 === 1 ? ((O = k == null ? void 0 : k[0]) == null ? void 0 : O.replace(/^"(.*)"$/, "$1")) + ((C = k == null ? void 0 : k[1]) == null ? void 0 : C.replace(/^"(.*)"$/, "$1")) : Array.isArray((y = (N = k == null ? void 0 : k[1]) == null ? void 0 : N.replace(/^"(.*)"$/, "$1")) == null ? void 0 : y.split("(")) && ((b = (p = (d = k == null ? void 0 : k[1]) == null ? void 0 : d.replace(/^"(.*)"$/, "$1")) == null ? void 0 : p.split("(")) == null ? void 0 : b.length) > 1 ? ((c = k == null ? void 0 : k[0]) == null ? void 0 : c.replace(/^"(.*)"$/, "$1")) + ((_ = (m = (r = k == null ? void 0 : k[1]) == null ? void 0 : r.replace(/^"(.*)"$/, "$1")) == null ? void 0 : m.split("(")) == null ? void 0 : _[0]) + "()" : (T = k == null ? void 0 : k[0]) == null ? void 0 : T.replace(/^"(.*)"$/, "$1") : "", $ = (k == null ? void 0 : k[1].split("$").length) - 1 === 0 ? (v = k == null ? void 0 : k[1]) == null ? void 0 : v.replace(/^"(.*)"$/, "$1") : "";
1323
+ re.value++, t.push({
1324
1324
  id: re.value,
1325
1325
  key: A,
1326
1326
  value: $,
1327
1327
  // 如果值为空,则key设为空字符串,否则保留原值
1328
- width: t,
1328
+ width: a,
1329
1329
  extraContent: k == null ? void 0 : k[1]
1330
1330
  });
1331
1331
  });
1332
- }), a;
1332
+ }), t;
1333
1333
  }, rl = (e) => {
1334
- var a, n;
1334
+ var t, n;
1335
1335
  try {
1336
1336
  const l = e.replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",").replace(/:/g, ":").replace(/:\s*(?=,|}|$)/g, ': ""');
1337
- if (p(l).split("{").length - 1 > 1) {
1338
- let t = p(l).replace(/^\{(.*)\}$/, "[$1]");
1339
- if (me(t) && !t.includes("$") || (t = t.replace(/"([^"]+)"\$([\w\u4e00-\u9fa5]+\([^)]*\))/g, '"$1$$$2"')), me(t)) {
1340
- const s = JSON.parse(t);
1337
+ if (u(l).split("{").length - 1 > 1) {
1338
+ let a = u(l).replace(/^\{(.*)\}$/, "[$1]");
1339
+ if (me(a) && !a.includes("$") || (a = a.replace(/"([^"]+)"\$([\w\u4e00-\u9fa5]+\([^)]*\))/g, '"$1$$$2"')), me(a)) {
1340
+ const s = JSON.parse(a);
1341
1341
  let o = [];
1342
- return s == null || s.forEach((u) => {
1342
+ return s == null || s.forEach((i) => {
1343
1343
  var f;
1344
- (f = Object.entries(p(u))) == null || f.forEach((h) => {
1344
+ (f = Object.entries(u(i))) == null || f.forEach((h) => {
1345
1345
  re.value++, o.push({
1346
1346
  id: re.value,
1347
1347
  key: (h == null ? void 0 : h[0]) ?? "",
1348
1348
  value: (h == null ? void 0 : h[1]) === "" ? "" : h == null ? void 0 : h[1],
1349
1349
  // 如果值为空,则key设为空字符串,否则保留原值
1350
- width: Object.keys(p(u)).length
1350
+ width: Object.keys(u(i)).length
1351
1351
  });
1352
1352
  });
1353
1353
  }), o;
1354
1354
  } else
1355
- return l.trim().startsWith("{{") ? Vn(l.trim()) : _e(t);
1355
+ return l.trim().startsWith("{{") ? Vn(l.trim()) : _e(a);
1356
1356
  } else if (me(l)) {
1357
- const t = JSON.parse(l);
1358
- return Object.entries(t).map(([s, o]) => (re.value++, {
1357
+ const a = JSON.parse(l);
1358
+ return Object.entries(a).map(([s, o]) => (re.value++, {
1359
1359
  id: re.value,
1360
1360
  key: s,
1361
1361
  value: o === "" ? "" : o,
@@ -1363,103 +1363,103 @@ const L = [
1363
1363
  width: 1
1364
1364
  }));
1365
1365
  } else
1366
- return ((a = _e(l)) == null ? void 0 : a.length) === 0 ? l : (n = _e(l)) == null ? void 0 : n.map((t) => ({
1367
- label: t.label,
1368
- method: Xn(t.method)
1366
+ return ((t = _e(l)) == null ? void 0 : t.length) === 0 ? l : (n = _e(l)) == null ? void 0 : n.map((a) => ({
1367
+ label: a.label,
1368
+ method: Xn(a.method)
1369
1369
  }));
1370
1370
  } catch (l) {
1371
1371
  return console.error("转换失败:", l), [];
1372
1372
  }
1373
1373
  }, _e = (e) => {
1374
1374
  e = e.trim().replace(/^\{|\}$/g, "").trim();
1375
- const a = [];
1375
+ const t = [];
1376
1376
  let n = 0;
1377
1377
  for (; n < e.length; ) {
1378
1378
  const l = e.slice(n).match(/^\s*"([^"]+)"\s*:\s*/);
1379
1379
  if (!l) break;
1380
- const t = l[1];
1380
+ const a = l[1];
1381
1381
  n += l[0].length;
1382
- let s = "", o = 0, u = !1, f = "";
1382
+ let s = "", o = 0, i = !1, f = "";
1383
1383
  for (let h = n; h < e.length; h++) {
1384
1384
  const k = e[h];
1385
- if ((k === '"' || k === "'") && !u ? (u = !0, f = k) : k === f && u && (u = !1, f = ""), !u && ((k === "{" || k === "(" || k === "[") && o++, (k === "}" || k === ")" || k === "]") && o--, k === "," && o === 0 || h === e.length - 1)) {
1385
+ if ((k === '"' || k === "'") && !i ? (i = !0, f = k) : k === f && i && (i = !1, f = ""), !i && ((k === "{" || k === "(" || k === "[") && o++, (k === "}" || k === ")" || k === "]") && o--, k === "," && o === 0 || h === e.length - 1)) {
1386
1386
  s = e.slice(n, h + 1).trim(), n = h + 1;
1387
1387
  break;
1388
1388
  }
1389
1389
  }
1390
- a.push({
1391
- label: t,
1390
+ t.push({
1391
+ label: a,
1392
1392
  method: s
1393
1393
  });
1394
1394
  }
1395
- return a;
1396
- }, ea = (e, a) => {
1395
+ return t;
1396
+ }, et = (e, t) => {
1397
1397
  try {
1398
- if (L != null && L.find((n) => (n == null ? void 0 : n.key) === a))
1398
+ if (L != null && L.find((n) => (n == null ? void 0 : n.key) === t))
1399
1399
  return e.replace(/['"]/g, "").trim();
1400
- if (p(e).split("[").length - 1 > 1) {
1401
- const n = p(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
1400
+ if (u(e).split("[").length - 1 > 1) {
1401
+ const n = u(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
1402
1402
  return JSON.parse(n);
1403
1403
  } else {
1404
- const n = p(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",");
1404
+ const n = u(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",");
1405
1405
  if (me(n)) {
1406
1406
  const l = JSON.parse(n);
1407
- return Array.isArray(l) ? l.map((t) => ({ label: t })) : l;
1407
+ return Array.isArray(l) ? l.map((a) => ({ label: a })) : l;
1408
1408
  } else
1409
- return rl(p(e));
1409
+ return rl(u(e));
1410
1410
  }
1411
1411
  } catch (n) {
1412
1412
  return console.error("解析失败:", n), e;
1413
1413
  }
1414
- }, la = (e) => ({ [e == null ? void 0 : e.key]: ea(e == null ? void 0 : e.value, e == null ? void 0 : e.key) }), na = (e) => {
1414
+ }, lt = (e) => ({ [e == null ? void 0 : e.key]: et(e == null ? void 0 : e.value, e == null ? void 0 : e.key) }), nt = (e) => {
1415
1415
  try {
1416
- if (p(e).split("[").length - 1 > 1) {
1417
- const a = p(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
1418
- return JSON.parse(a);
1416
+ if (u(e).split("[").length - 1 > 1) {
1417
+ const t = u(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
1418
+ return JSON.parse(t);
1419
1419
  } else
1420
- return JSON.parse(p(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",")).map((n) => ({ label: n }));
1421
- } catch (a) {
1422
- return console.error("解析失败:", a), e;
1420
+ return JSON.parse(u(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",")).map((n) => ({ label: n }));
1421
+ } catch (t) {
1422
+ return console.error("解析失败:", t), e;
1423
1423
  }
1424
- }, aa = (e) => {
1425
- const a = e.match(/\(([^)]+)\)/);
1426
- return a ? a[1] : "";
1427
- }, ta = (e) => {
1428
- const a = e.match(/^([^(]+)\s*\(/);
1429
- return a ? a[1].trim() : e;
1430
- }, qe = (e) => e.replace(/'/g, "").replace(/"/g, "").replace(/{|}/g, "").split(":").map((a) => a.trim()).filter((a) => a).join("/"), sa = (e) => {
1431
- var o, u;
1432
- let a = [], n = [];
1433
- const l = (o = p(e)) == null ? void 0 : o.map((f) => f == null ? void 0 : f.key), t = [...new Set((u = p(l)) == null ? void 0 : u.map((f) => aa(f)))];
1434
- t == null || t.forEach((f) => {
1424
+ }, tt = (e) => {
1425
+ const t = e.match(/\(([^)]+)\)/);
1426
+ return t ? t[1] : "";
1427
+ }, at = (e) => {
1428
+ const t = e.match(/^([^(]+)\s*\(/);
1429
+ return t ? t[1].trim() : e;
1430
+ }, qe = (e) => e.replace(/'/g, "").replace(/"/g, "").replace(/{|}/g, "").split(":").map((t) => t.trim()).filter((t) => t).join("/"), st = (e) => {
1431
+ var o, i;
1432
+ let t = [], n = [];
1433
+ const l = (o = u(e)) == null ? void 0 : o.map((f) => f == null ? void 0 : f.key), a = [...new Set((i = u(l)) == null ? void 0 : i.map((f) => tt(f)))];
1434
+ a == null || a.forEach((f) => {
1435
1435
  let h = e == null ? void 0 : e.filter(($) => $.key.includes(f));
1436
1436
  h == null || h.forEach(($) => {
1437
- $ != null && $.key.includes("Menus") && (a.push({
1437
+ $ != null && $.key.includes("Menus") && (t.push({
1438
1438
  key: "GroupName",
1439
1439
  value: qe($ == null ? void 0 : $.value)
1440
1440
  }), n.push(qe($ == null ? void 0 : $.value)));
1441
1441
  });
1442
1442
  let k = e == null ? void 0 : e.filter(($) => $.key.includes(f) && !($ != null && $.key.includes("Menus")));
1443
- k = k == null ? void 0 : k.map(($) => ($.key = ta($.key), $));
1443
+ k = k == null ? void 0 : k.map(($) => ($.key = at($.key), $));
1444
1444
  const A = {
1445
1445
  key: "GroupContents",
1446
1446
  value: k
1447
1447
  };
1448
- a.push(A);
1448
+ t.push(A);
1449
1449
  });
1450
1450
  const s = {
1451
1451
  key: "Menus",
1452
1452
  value: n
1453
1453
  };
1454
- return a.unshift(s), a;
1454
+ return t.unshift(s), t;
1455
1455
  }, ol = (e) => {
1456
- var a, n;
1457
- if (Array.isArray(Object.keys(e)) && ((a = Object.keys(e)) == null ? void 0 : a.length) > 0) {
1456
+ var t, n;
1457
+ if (Array.isArray(Object.keys(e)) && ((t = Object.keys(e)) == null ? void 0 : t.length) > 0) {
1458
1458
  let l = [];
1459
- return (n = Object.entries(e)) == null || n.forEach(([t, s]) => {
1460
- var u, f;
1459
+ return (n = Object.entries(e)) == null || n.forEach(([a, s]) => {
1460
+ var i, f;
1461
1461
  let o = [];
1462
- if (o.push(t), ((u = Object.keys(s)) == null ? void 0 : u.length) > 0) {
1462
+ if (o.push(a), ((i = Object.keys(s)) == null ? void 0 : i.length) > 0) {
1463
1463
  let h = [];
1464
1464
  (f = ol(s)) == null || f.forEach((k) => {
1465
1465
  h.push(k);
@@ -1470,36 +1470,36 @@ const L = [
1470
1470
  l.push(o);
1471
1471
  }), l;
1472
1472
  }
1473
- }, ra = (e, a) => {
1473
+ }, rt = (e, t) => {
1474
1474
  var l;
1475
- let n = a;
1476
- return Array.isArray(Object.keys(e)) && ((l = Object.entries(e)) == null || l.forEach(([t, s]) => {
1477
- let o = [t];
1475
+ let n = t;
1476
+ return Array.isArray(Object.keys(e)) && ((l = Object.entries(e)) == null || l.forEach(([a, s]) => {
1477
+ let o = [a];
1478
1478
  if (typeof s == "object" && s !== null) {
1479
- let u = ol(s);
1480
- u == null || u.forEach((f) => {
1479
+ let i = ol(s);
1480
+ i == null || i.forEach((f) => {
1481
1481
  o.push(f);
1482
1482
  });
1483
1483
  }
1484
1484
  n.push(o);
1485
1485
  })), n;
1486
- }, oa = (e) => {
1487
- const a = {};
1486
+ }, ot = (e) => {
1487
+ const t = {};
1488
1488
  return e.forEach((l) => {
1489
- const t = l.split("/");
1490
- let s = a;
1491
- t.forEach((o) => {
1489
+ const a = l.split("/");
1490
+ let s = t;
1491
+ a.forEach((o) => {
1492
1492
  s[o] || (s[o] = {}), s = s[o];
1493
1493
  });
1494
- }), ra(a, []);
1495
- }, cl = (e) => oa(e), Xa = (e) => {
1496
- var a, n, l, t, s, o, u, f;
1494
+ }), rt(t, []);
1495
+ }, cl = (e) => ot(e), Qt = (e) => {
1496
+ var t, n, l, a, s, o, i, f;
1497
1497
  try {
1498
- const h = Se((n = (a = p(e)) == null ? void 0 : a.replace("(", "(")) == null ? void 0 : n.replace(")", ")")), k = (t = (l = p(h)) == null ? void 0 : l.filter((C) => !C.includes("/*"))) == null ? void 0 : t.map((C) => Qn(C)), A = sa(k), $ = [];
1498
+ const h = Se((n = (t = u(e)) == null ? void 0 : t.replace("(", "(")) == null ? void 0 : n.replace(")", ")")), k = (a = (l = u(h)) == null ? void 0 : l.filter((C) => !C.includes("/*"))) == null ? void 0 : a.map((C) => Qn(C)), A = st(k), $ = [];
1499
1499
  if (((s = A == null ? void 0 : A.find((C) => (C == null ? void 0 : C.key) === "Menus")) == null ? void 0 : s.value.length) === 0)
1500
1500
  return !1;
1501
- (o = p(A)) == null || o.forEach((C) => {
1502
- var N, y, d, i, g;
1501
+ (o = u(A)) == null || o.forEach((C) => {
1502
+ var N, y, d, p, b;
1503
1503
  L != null && L.find((c) => {
1504
1504
  var r, m;
1505
1505
  return ((r = c == null ? void 0 : c.key) == null ? void 0 : r.toUpperCase()) === ((m = C == null ? void 0 : C.key) == null ? void 0 : m.toUpperCase());
@@ -1517,210 +1517,210 @@ const L = [
1517
1517
  comp: "Menu",
1518
1518
  name: "",
1519
1519
  compData: []
1520
- }), (i = $ == null ? void 0 : $[($ == null ? void 0 : $.length) - 1]) != null && i.compData && $[($ == null ? void 0 : $.length) - 1].compData.push({
1521
- key: (g = J == null ? void 0 : J.find((c) => {
1520
+ }), (p = $ == null ? void 0 : $[($ == null ? void 0 : $.length) - 1]) != null && p.compData && $[($ == null ? void 0 : $.length) - 1].compData.push({
1521
+ key: (b = J == null ? void 0 : J.find((c) => {
1522
1522
  var r, m;
1523
1523
  return ((r = c == null ? void 0 : c.key) == null ? void 0 : r.toUpperCase()) === ((m = C == null ? void 0 : C.key) == null ? void 0 : m.toUpperCase());
1524
- })) == null ? void 0 : g.value,
1524
+ })) == null ? void 0 : b.value,
1525
1525
  contents: C == null ? void 0 : C.value
1526
1526
  }));
1527
1527
  });
1528
- let O = (u = p($)) == null ? void 0 : u.map((C) => {
1528
+ let O = (i = u($)) == null ? void 0 : i.map((C) => {
1529
1529
  var N;
1530
1530
  return C != null && C.compData && (C.compData = (N = C == null ? void 0 : C.compData) == null ? void 0 : N.map((y) => {
1531
- var d, i, g, c, r, m, _, T, v, x, j;
1531
+ var d, p, b, c, r, m, _, T, v, x, U;
1532
1532
  if ((y == null ? void 0 : y.key) === "formFlex")
1533
- y.contents = ((i = (d = y.contents) == null ? void 0 : d.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : i.toUpperCase()) !== "Vertical".toUpperCase();
1533
+ y.contents = ((p = (d = y.contents) == null ? void 0 : d.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : p.toUpperCase()) !== "Vertical".toUpperCase();
1534
1534
  else if ((y == null ? void 0 : y.key) === "groupContents")
1535
- y.contents = (g = p(y.contents)) == null ? void 0 : g.map((E) => la(p(E)));
1535
+ y.contents = (b = u(y.contents)) == null ? void 0 : b.map((E) => lt(u(E)));
1536
1536
  else if (Array.isArray(y == null ? void 0 : y.contents))
1537
1537
  y.contents = cl(y.contents);
1538
- else if (((r = (c = y == null ? void 0 : y.contents) == null ? void 0 : c.trim()) != null && r.startsWith("[") || (_ = (m = y.contents) == null ? void 0 : m.trim()) != null && _.startsWith("【")) && ((v = (T = y.contents) == null ? void 0 : T.trim()) != null && v.endsWith("]") || (j = (x = y.contents) == null ? void 0 : x.trim()) != null && j.endsWith("】")))
1539
- y.contents = na(p(y.contents));
1538
+ else if (((r = (c = y == null ? void 0 : y.contents) == null ? void 0 : c.trim()) != null && r.startsWith("[") || (_ = (m = y.contents) == null ? void 0 : m.trim()) != null && _.startsWith("【")) && ((v = (T = y.contents) == null ? void 0 : T.trim()) != null && v.endsWith("]") || (U = (x = y.contents) == null ? void 0 : x.trim()) != null && U.endsWith("】")))
1539
+ y.contents = nt(u(y.contents));
1540
1540
  else {
1541
1541
  if (!y.contents) return;
1542
- y.contents = rl(p(y.contents));
1542
+ y.contents = rl(u(y.contents));
1543
1543
  }
1544
1544
  return y;
1545
1545
  })), C;
1546
1546
  });
1547
- return O = (f = p(O)) == null ? void 0 : f.map((C) => {
1547
+ return O = (f = u(O)) == null ? void 0 : f.map((C) => {
1548
1548
  var N;
1549
1549
  return (C == null ? void 0 : C.comp) === "Group" && (C.compData = (N = C.compData) == null ? void 0 : N.map((y) => {
1550
- var i;
1550
+ var p;
1551
1551
  let d = [];
1552
- return (i = y.contents) == null || i.forEach((g) => {
1553
- var c, r, m, _, T, v, x, j, E, D, B, P;
1552
+ return (p = y.contents) == null || p.forEach((b) => {
1553
+ var c, r, m, _, T, v, x, U, E, D, B, P;
1554
1554
  if (L != null && L.find((S) => {
1555
- var b, F, U;
1556
- return ((b = S == null ? void 0 : S.key) == null ? void 0 : b.toUpperCase()) === ((U = (F = Object.keys(g)) == null ? void 0 : F[0]) == null ? void 0 : U.toUpperCase());
1555
+ var g, j, F;
1556
+ return ((g = S == null ? void 0 : S.key) == null ? void 0 : g.toUpperCase()) === ((F = (j = Object.keys(b)) == null ? void 0 : j[0]) == null ? void 0 : F.toUpperCase());
1557
1557
  }))
1558
1558
  d.push({
1559
1559
  comp: (c = L == null ? void 0 : L.find((S) => {
1560
- var b, F, U;
1561
- return ((b = S == null ? void 0 : S.key) == null ? void 0 : b.toUpperCase()) === ((U = (F = Object.keys(g)) == null ? void 0 : F[0]) == null ? void 0 : U.toUpperCase());
1560
+ var g, j, F;
1561
+ return ((g = S == null ? void 0 : S.key) == null ? void 0 : g.toUpperCase()) === ((F = (j = Object.keys(b)) == null ? void 0 : j[0]) == null ? void 0 : F.toUpperCase());
1562
1562
  })) == null ? void 0 : c.value,
1563
- name: (m = (r = Object.values(g)) == null ? void 0 : r[0]) == null ? void 0 : m.replace(/[’]|[‘]|[']/g, ""),
1563
+ name: (m = (r = Object.values(b)) == null ? void 0 : r[0]) == null ? void 0 : m.replace(/[’]|[‘]|[']/g, ""),
1564
1564
  compData: []
1565
1565
  });
1566
1566
  else if (J != null && J.find((S) => {
1567
- var b, F, U;
1568
- return ((b = S == null ? void 0 : S.key) == null ? void 0 : b.toUpperCase()) === ((U = (F = Object.keys(g)) == null ? void 0 : F[0]) == null ? void 0 : U.toUpperCase());
1567
+ var g, j, F;
1568
+ return ((g = S == null ? void 0 : S.key) == null ? void 0 : g.toUpperCase()) === ((F = (j = Object.keys(b)) == null ? void 0 : j[0]) == null ? void 0 : F.toUpperCase());
1569
1569
  })) {
1570
1570
  if ((d == null ? void 0 : d.length) === 0) return;
1571
1571
  (_ = d == null ? void 0 : d[(d == null ? void 0 : d.length) - 1]) != null && _.compData && d[(d == null ? void 0 : d.length) - 1].compData.push({
1572
1572
  key: (T = J == null ? void 0 : J.find((S) => {
1573
- var b, F, U;
1574
- return ((b = S == null ? void 0 : S.key) == null ? void 0 : b.toUpperCase()) === ((U = (F = Object.keys(g)) == null ? void 0 : F[0]) == null ? void 0 : U.toUpperCase());
1573
+ var g, j, F;
1574
+ return ((g = S == null ? void 0 : S.key) == null ? void 0 : g.toUpperCase()) === ((F = (j = Object.keys(b)) == null ? void 0 : j[0]) == null ? void 0 : F.toUpperCase());
1575
1575
  })) == null ? void 0 : T.value,
1576
- contents: (v = Object.values(g)) == null ? void 0 : v[0]
1576
+ contents: (v = Object.values(b)) == null ? void 0 : v[0]
1577
1577
  });
1578
- } else if ((j = (x = Object.keys(g)) == null ? void 0 : x[0]) != null && j.includes("$")) {
1579
- const S = (D = (E = Object.keys(p(g))) == null ? void 0 : E[0]) == null ? void 0 : D.split("$");
1578
+ } else if ((U = (x = Object.keys(b)) == null ? void 0 : x[0]) != null && U.includes("$")) {
1579
+ const S = (D = (E = Object.keys(u(b))) == null ? void 0 : E[0]) == null ? void 0 : D.split("$");
1580
1580
  d[(d == null ? void 0 : d.length) - 1].compData.push({
1581
- key: (B = J == null ? void 0 : J.find((b) => {
1582
- var F, U;
1583
- return ((F = b == null ? void 0 : b.key) == null ? void 0 : F.toUpperCase()) === ((U = S == null ? void 0 : S[0]) == null ? void 0 : U.toUpperCase());
1581
+ key: (B = J == null ? void 0 : J.find((g) => {
1582
+ var j, F;
1583
+ return ((j = g == null ? void 0 : g.key) == null ? void 0 : j.toUpperCase()) === ((F = S == null ? void 0 : S[0]) == null ? void 0 : F.toUpperCase());
1584
1584
  })) == null ? void 0 : B.value,
1585
- contents: (P = Object.values(g)) == null ? void 0 : P[0],
1585
+ contents: (P = Object.values(b)) == null ? void 0 : P[0],
1586
1586
  selectLabel: S == null ? void 0 : S[1]
1587
1587
  });
1588
1588
  }
1589
- return g;
1589
+ return b;
1590
1590
  }), y.contents = d, y;
1591
1591
  })), C;
1592
1592
  }), O;
1593
1593
  } catch {
1594
1594
  return !1;
1595
1595
  }
1596
- }, ae = (e) => {
1596
+ }, te = (e) => {
1597
1597
  try {
1598
1598
  return JSON.parse(e), !0;
1599
1599
  } catch {
1600
1600
  return !1;
1601
1601
  }
1602
- }, Ya = (e, a) => dn(e, a), ze = R(0), ul = (e) => {
1603
- const a = [];
1602
+ }, Xt = (e, t) => dn(e, t), ze = R(0), ul = (e) => {
1603
+ const t = [];
1604
1604
  let n = null;
1605
1605
  for (let l = 0; l < e.length; l++) {
1606
- const t = e[l];
1607
- if (Array.isArray(t))
1608
- n && (n.children = ul(t));
1606
+ const a = e[l];
1607
+ if (Array.isArray(a))
1608
+ n && (n.children = ul(a));
1609
1609
  else {
1610
- const s = { label: t };
1611
- a.push(s), n = s;
1610
+ const s = { label: a };
1611
+ t.push(s), n = s;
1612
1612
  }
1613
1613
  }
1614
- return a;
1614
+ return t;
1615
1615
  }, pl = (e) => {
1616
- let a = 0;
1616
+ let t = 0;
1617
1617
  for (const n of e)
1618
- a++, n.children && (a += pl(n.children));
1619
- return a;
1620
- }, il = (e, a, n = []) => {
1618
+ t++, n.children && (t += pl(n.children));
1619
+ return t;
1620
+ }, il = (e, t, n = []) => {
1621
1621
  let l = 0;
1622
- for (const t of a) {
1622
+ for (const a of t) {
1623
1623
  if (l >= e.length) break;
1624
1624
  const s = [...e[l]];
1625
- if (n.push(s), l++, t.children && t.children.length > 0) {
1625
+ if (n.push(s), l++, a.children && a.children.length > 0) {
1626
1626
  const o = [];
1627
1627
  il(
1628
1628
  e.slice(l),
1629
- t.children,
1629
+ a.children,
1630
1630
  o
1631
- ), o.length > 0 && (s.push(o), l += pl(t.children));
1631
+ ), o.length > 0 && (s.push(o), l += pl(a.children));
1632
1632
  }
1633
1633
  }
1634
1634
  return n;
1635
- }, ca = (e, a) => {
1635
+ }, ct = (e, t) => {
1636
1636
  let n = [];
1637
- return e == null || e.forEach((t) => {
1638
- t.some((s) => Array.isArray(s)) ? n.push(...t) : n.push(t);
1639
- }), il(n, a);
1637
+ return e == null || e.forEach((a) => {
1638
+ a.some((s) => Array.isArray(s)) ? n.push(...a) : n.push(a);
1639
+ }), il(n, t);
1640
1640
  }, ve = (e) => {
1641
- const a = { label: e[0].trim() };
1641
+ const t = { label: e[0].trim() };
1642
1642
  if (e.length > 1) {
1643
1643
  const n = e.slice(1);
1644
- n.length === 1 && Array.isArray(n[0]) ? a.children = n[0].map(
1644
+ n.length === 1 && Array.isArray(n[0]) ? t.children = n[0].map(
1645
1645
  (l) => Array.isArray(l) ? ve(l) : { label: l.trim() }
1646
- ) : a.children = n.map(
1646
+ ) : t.children = n.map(
1647
1647
  (l) => Array.isArray(l) ? ve(l) : { label: l.trim() }
1648
1648
  );
1649
1649
  }
1650
- return a;
1650
+ return t;
1651
1651
  }, Qe = (e) => {
1652
- let a = e.replace(/:([^{}\[\],\s]+)([,\]}])/g, ':"$1"$2');
1653
- return a = a.replace(/:}(?=,|]|}|$)/g, ':""}'), a = a.replace(/:,(?=\s*")/g, ':"",'), a = a.replace(
1652
+ let t = e.replace(/:([^{}\[\],\s]+)([,\]}])/g, ':"$1"$2');
1653
+ return t = t.replace(/:}(?=,|]|}|$)/g, ':""}'), t = t.replace(/:,(?=\s*")/g, ':"",'), t = t.replace(
1654
1654
  /(https?|HTTPS?):"\/\/([^"]+)"/gi,
1655
- (n, l, t) => `"${l}://${t}"`
1656
- ), a = a.replace(
1655
+ (n, l, a) => `"${l}://${a}"`
1656
+ ), t = t.replace(
1657
1657
  /(\[|\s|,)((?:https?|HTTPS?):\/\/[^\s,\]]+)(\]|,|$)/gi,
1658
1658
  '$1"$2"$3'
1659
- ), a;
1660
- }, ua = (e) => {
1659
+ ), t;
1660
+ }, ut = (e) => {
1661
1661
  var n;
1662
- return e.some((l) => !Array.isArray(l)) ? e : (n = p(e)) == null ? void 0 : n.map((l) => {
1663
- let t = [];
1662
+ return e.some((l) => !Array.isArray(l)) ? e : (n = u(e)) == null ? void 0 : n.map((l) => {
1663
+ let a = [];
1664
1664
  return l.some((s) => Array.isArray(s)) ? l == null || l.forEach((s) => {
1665
- Array.isArray(s) && t.push(ve(s));
1666
- }) : l.some((s) => s.includes("[")) ? t.push(l) : t = l.map((s) => ({ label: s.trim() })), t;
1665
+ Array.isArray(s) && a.push(ve(s));
1666
+ }) : l.some((s) => s.includes("[")) ? a.push(l) : a = l.map((s) => ({ label: s.trim() })), a;
1667
1667
  });
1668
- }, fl = (e, a, n) => {
1669
- let l = e, t = n, s = a;
1670
- 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) => {
1668
+ }, fl = (e, t, n) => {
1669
+ let l = e, a = n, s = t;
1670
+ return s.children && (Array.isArray(a[a.length - 1]) ? a[a.length - 1].push(l[0]) : a.push(l[0]), l.shift(), s = s.children), Array.isArray(s) && s.forEach((o) => {
1671
1671
  if (o.children) {
1672
- const u = fl(l, o, t);
1673
- t = u[0], l = u[1];
1672
+ const i = fl(l, o, a);
1673
+ a = i[0], l = i[1];
1674
1674
  }
1675
- }), [t, l];
1676
- }, pa = (e, a) => {
1675
+ }), [a, l];
1676
+ }, pt = (e, t) => {
1677
1677
  let n = e, l = [];
1678
- return a.length > 0 ? a == null || a.forEach((t) => {
1678
+ return t.length > 0 ? t == null || t.forEach((a) => {
1679
1679
  let s = n == null ? void 0 : n[0];
1680
1680
  n.shift();
1681
- const o = fl(p(n), t, s);
1681
+ const o = fl(u(n), a, s);
1682
1682
  s = o[0], n = o[1], l.push(s);
1683
1683
  }) : l = n, l;
1684
- }, Ne = (e, a) => {
1685
- const n = ua(p(e));
1686
- return pa(n, a);
1687
- }, ia = (e) => {
1688
- const a = [];
1684
+ }, Ne = (e, t) => {
1685
+ const n = ut(u(e));
1686
+ return pt(n, t);
1687
+ }, it = (e) => {
1688
+ const t = [];
1689
1689
  let n = 0;
1690
1690
  const l = e.length;
1691
1691
  for (; n < l; ) {
1692
- const t = e[n];
1693
- t.key === "tableColumns" && n + 1 < l && e[n + 1].key === "tableContents" ? (a.push({
1692
+ const a = e[n];
1693
+ a.key === "tableColumns" && n + 1 < l && e[n + 1].key === "tableContents" ? (t.push({
1694
1694
  comp: "Table",
1695
- compData: [t, e[n + 1]],
1695
+ compData: [a, e[n + 1]],
1696
1696
  name: ""
1697
- }), n += 2) : (a.push(t), n += 1);
1697
+ }), n += 2) : (t.push(a), n += 1);
1698
1698
  }
1699
- return a;
1699
+ return t;
1700
1700
  }, dl = (e) => Ne([e], []), Xe = (e) => {
1701
- const a = [];
1702
- return e == null || e.forEach((n) => n == null ? void 0 : n.forEach((t) => {
1701
+ const t = [];
1702
+ return e == null || e.forEach((n) => n == null ? void 0 : n.forEach((a) => {
1703
1703
  var s, o;
1704
- ze.value++, a.push({
1704
+ ze.value++, t.push({
1705
1705
  id: ze.value,
1706
- key: (s = Object.keys(t)) == null ? void 0 : s[0],
1707
- value: (o = Object.values(t)) == null ? void 0 : o[0],
1706
+ key: (s = Object.keys(a)) == null ? void 0 : s[0],
1707
+ value: (o = Object.values(a)) == null ? void 0 : o[0],
1708
1708
  // 如果值为空,则key设为空字符串,否则保留原值
1709
1709
  width: n.length
1710
1710
  });
1711
- })), a;
1711
+ })), t;
1712
1712
  }, Ye = (e) => {
1713
- let a = ia(e);
1714
- return a = a == null ? void 0 : a.map((n) => {
1715
- var l, t, s, o;
1713
+ let t = it(e);
1714
+ return t = t == null ? void 0 : t.map((n) => {
1715
+ var l, a, s, o;
1716
1716
  if (n.comp === "Table")
1717
- (l = n.compData) != null && l.find((u) => (u == null ? void 0 : u.key) === "header") || (n.compData = (t = n.compData) == null ? void 0 : t.map((u) => (u.key === "tableColumns" ? u = {
1717
+ (l = n.compData) != null && l.find((i) => (i == null ? void 0 : i.key) === "header") || (n.compData = (a = n.compData) == null ? void 0 : a.map((i) => (i.key === "tableColumns" ? i = {
1718
1718
  key: "header",
1719
- contents: Ne(u.value, [])
1720
- } : u = {
1721
- key: u.key,
1722
- contents: u.value
1723
- }, u)), n.compData.push({
1719
+ contents: Ne(i.value, [])
1720
+ } : i = {
1721
+ key: i.key,
1722
+ contents: i.value
1723
+ }, i)), n.compData.push({
1724
1724
  key: "extraButton",
1725
1725
  contents: [{ label: "新增" }]
1726
1726
  }), n.compData.push({
@@ -1728,7 +1728,7 @@ const L = [
1728
1728
  contents: [{ label: "查看" }, { label: "编辑" }, { label: "删除" }]
1729
1729
  }));
1730
1730
  else if (n.key === "form") {
1731
- const u = (s = n == null ? void 0 : n.value) == null ? void 0 : s.map((f) => (Array.isArray(f) || (f = [f]), f));
1731
+ const i = (s = n == null ? void 0 : n.value) == null ? void 0 : s.map((f) => (Array.isArray(f) || (f = [f]), f));
1732
1732
  n = {
1733
1733
  comp: "Form",
1734
1734
  compData: [
@@ -1738,13 +1738,13 @@ const L = [
1738
1738
  },
1739
1739
  {
1740
1740
  key: "formContent",
1741
- contents: Xe(u)
1741
+ contents: Xe(i)
1742
1742
  }
1743
1743
  ],
1744
1744
  name: ""
1745
1745
  };
1746
1746
  } else if (n.key === "formTop") {
1747
- const u = (o = n == null ? void 0 : n.value) == null ? void 0 : o.map((f) => (Array.isArray(f) || (f = [f]), f));
1747
+ const i = (o = n == null ? void 0 : n.value) == null ? void 0 : o.map((f) => (Array.isArray(f) || (f = [f]), f));
1748
1748
  n = {
1749
1749
  comp: "FormTop",
1750
1750
  compData: [
@@ -1754,31 +1754,31 @@ const L = [
1754
1754
  },
1755
1755
  {
1756
1756
  key: "formContent",
1757
- contents: Xe(u)
1757
+ contents: Xe(i)
1758
1758
  }
1759
1759
  ],
1760
1760
  name: ""
1761
1761
  };
1762
1762
  }
1763
1763
  return n;
1764
- }), a;
1765
- }, fa = (e, a) => {
1766
- var u, f, h, k, A, $;
1767
- const n = [], l = ul((f = (u = e == null ? void 0 : e.find((O) => O.key === "tableIndex")) == null ? void 0 : u.value) == null ? void 0 : f[0]);
1764
+ }), t;
1765
+ }, ft = (e, t) => {
1766
+ var i, f, h, k, A, $;
1767
+ const n = [], l = ul((f = (i = e == null ? void 0 : e.find((O) => O.key === "tableIndex")) == null ? void 0 : i.value) == null ? void 0 : f[0]);
1768
1768
  n.push({
1769
1769
  key: "tableIndexColumn",
1770
- contents: a
1770
+ contents: t
1771
1771
  }), n.push({
1772
1772
  key: "tableIndex",
1773
1773
  contents: l
1774
1774
  });
1775
- let t = [];
1775
+ let a = [];
1776
1776
  const s = (h = e == null ? void 0 : e.find((O) => O.key === "tableColumns")) == null ? void 0 : h.value;
1777
- s.length === 1 && !(s != null && s[0].some((O) => Array.isArray(O))) ? t = (k = s == null ? void 0 : s[0]) == null ? void 0 : k.map((O) => ({ label: O })) : t = Ne((A = e == null ? void 0 : e.find((O) => O.key === "tableColumns")) == null ? void 0 : A.value, l), n.push({
1777
+ s.length === 1 && !(s != null && s[0].some((O) => Array.isArray(O))) ? a = (k = s == null ? void 0 : s[0]) == null ? void 0 : k.map((O) => ({ label: O })) : a = Ne((A = e == null ? void 0 : e.find((O) => O.key === "tableColumns")) == null ? void 0 : A.value, l), n.push({
1778
1778
  key: "header",
1779
- contents: t
1779
+ contents: a
1780
1780
  });
1781
- const o = ca(($ = e == null ? void 0 : e.find((O) => O.key === "tableContents")) == null ? void 0 : $.value, l);
1781
+ const o = ct(($ = e == null ? void 0 : e.find((O) => O.key === "tableContents")) == null ? void 0 : $.value, l);
1782
1782
  return n.push({
1783
1783
  key: "tableContents",
1784
1784
  contents: o
@@ -1789,78 +1789,78 @@ const L = [
1789
1789
  key: "rowButton",
1790
1790
  contents: [{ label: "查看" }, { label: "编辑" }, { label: "删除" }]
1791
1791
  }), n;
1792
- }, yl = (e) => e.replace(/"([^"]+)"\s*==\s*(\[[^\]]+\])/g, (a, n, l) => {
1793
- const t = yl(l);
1794
- return `"${n}",${t}`;
1792
+ }, yl = (e) => e.replace(/"([^"]+)"\s*==\s*(\[[^\]]+\])/g, (t, n, l) => {
1793
+ const a = yl(l);
1794
+ return `"${n}",${a}`;
1795
1795
  }), de = (e) => {
1796
- const a = e.replace(/"([^"]+)"\s*==\s*(\[[^\]]+\])/g, '"$1",$2');
1797
- return yl(a).replace(/^"(.*)"$/, "$1");
1798
- }, da = (e) => {
1799
- const a = /* @__PURE__ */ new Set();
1796
+ const t = e.replace(/"([^"]+)"\s*==\s*(\[[^\]]+\])/g, '"$1",$2');
1797
+ return yl(t).replace(/^"(.*)"$/, "$1");
1798
+ }, dt = (e) => {
1799
+ const t = /* @__PURE__ */ new Set();
1800
1800
  return e.filter((n) => {
1801
1801
  const l = JSON.stringify(n);
1802
- return a.has(l) ? !1 : a.add(l);
1802
+ return t.has(l) ? !1 : t.add(l);
1803
1803
  });
1804
1804
  }, Ve = (e) => {
1805
1805
  var n;
1806
- let a = [];
1807
- return (n = p(e)) == null || n.forEach((l) => {
1808
- var t;
1809
- (t = l.contents) == null || t.forEach((s) => {
1810
- a.push(s);
1806
+ let t = [];
1807
+ return (n = u(e)) == null || n.forEach((l) => {
1808
+ var a;
1809
+ (a = l.contents) == null || a.forEach((s) => {
1810
+ t.push(s);
1811
1811
  });
1812
- }), a = da(a), a.push({
1812
+ }), t = dt(t), t.push({
1813
1813
  label: "操作"
1814
- }), [a];
1815
- }, ya = (e, a) => e.reduce((n, l, t) => {
1816
- const s = Math.floor(t / a);
1814
+ }), [t];
1815
+ }, yt = (e, t) => e.reduce((n, l, a) => {
1816
+ const s = Math.floor(a / t);
1817
1817
  return n[s] || (n[s] = []), n[s].push(l), n;
1818
- }, []), hl = (e) => e.reduce((a, n) => n.children && n.children.length > 0 ? a + hl(n.children) : a + 1, 0), ha = (e, a) => {
1818
+ }, []), hl = (e) => e.reduce((t, n) => n.children && n.children.length > 0 ? t + hl(n.children) : t + 1, 0), ht = (e, t) => {
1819
1819
  var l;
1820
1820
  let n = [];
1821
- return (l = ya(e, hl(a == null ? void 0 : a[0]) - 1)) == null || l.forEach((t) => {
1821
+ return (l = yt(e, hl(t == null ? void 0 : t[0]) - 1)) == null || l.forEach((a) => {
1822
1822
  let s = [];
1823
- t.forEach((o) => {
1824
- var u;
1825
- Array.isArray(o.contents) ? (u = o.contents) == null || u.forEach((f) => {
1823
+ a.forEach((o) => {
1824
+ var i;
1825
+ Array.isArray(o.contents) ? (i = o.contents) == null || i.forEach((f) => {
1826
1826
  s.push(f);
1827
1827
  }) : s.push(o.contents);
1828
1828
  }), n.push(s);
1829
1829
  }), [n];
1830
- }, ma = ["方法体", "输入", "输出"], el = R(1), Se = (e) => {
1831
- let a;
1830
+ }, mt = ["方法体", "输入", "输出"], el = R(1), Se = (e) => {
1831
+ let t;
1832
1832
  e.replaceAll(" ", `\r
1833
1833
  `).includes(`\r
1834
- `) ? a = e.replaceAll(" ", `\r
1834
+ `) ? t = e.replaceAll(" ", `\r
1835
1835
  `).split(`\r
1836
- `).filter((t) => t.trim() !== "") : a = e.replaceAll(" ", `\r
1836
+ `).filter((a) => a.trim() !== "") : t = e.replaceAll(" ", `\r
1837
1837
  `).split(`
1838
- `).filter((t) => t.trim() !== "");
1838
+ `).filter((a) => a.trim() !== "");
1839
1839
  const n = [];
1840
1840
  let l = "";
1841
- for (const t of a)
1842
- 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, ""));
1841
+ for (const a of t)
1842
+ a.includes("{") || l.includes("{") || a.includes("[") || l.includes("[") || a.includes("【") || l.includes("【") || a.includes("(") || l.includes("(") || a.includes("(") || l.includes("(") || a.includes("/*") || l.includes("/*") ? (l += a.trim(), u(l).split("{").length - 1 === u(l).split("}").length - 1 && u(l).split("【").length - 1 === u(l).split("】").length - 1 && u(l).split("[").length - 1 === u(l).split("]").length - 1 && u(l).split("(").length - 1 === u(l).split(")").length - 1 && u(l).split("(").length - 1 === u(l).split(")").length - 1 && u(l).split("/*").length - 1 === u(l).split("*/").length - 1 && l[l.length - 1] !== "," && (n.push(l.replace(/\/\*[\s\S]*?\*\//g, "")), l = "")) : n.push(a.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
1843
1843
  return n;
1844
- }, ga = (e) => {
1845
- const [a, n] = e.split(/=(.+)/), l = a.replace(/['"]/g, "").trim(), t = n.replace(/^['"]|['"]$/g, "");
1846
- return { key: l, value: t };
1844
+ }, bt = (e) => {
1845
+ const [t, n] = e.split(/=(.+)/), l = t.replace(/['"]/g, "").trim(), a = n.replace(/^['"]|['"]$/g, "");
1846
+ return { key: l, value: a };
1847
1847
  }, Ce = (e) => {
1848
- let a;
1849
- e.includes(":") ? a = e.split(":").filter((t) => t.trim() !== "") : a = e.split(":").filter((t) => t.trim() !== "");
1848
+ let t;
1849
+ e.includes(":") ? t = e.split(":").filter((a) => a.trim() !== "") : t = e.split(":").filter((a) => a.trim() !== "");
1850
1850
  const n = [];
1851
1851
  let l = "";
1852
- for (const t of a)
1853
- 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, ""));
1852
+ for (const a of t)
1853
+ a.includes("{") || l.includes("{") || a.includes("[") || l.includes("[") || a.includes("【") || l.includes("【") || a.includes("(") || l.includes("(") || a.includes("(") || l.includes("(") || a.includes("/*") || l.includes("/*") ? (l = l !== "" ? l + ":" + a.trim() : a.trim(), u(l).split("{").length - 1 === u(l).split("}").length - 1 && u(l).split("【").length - 1 === u(l).split("】").length - 1 && u(l).split("[").length - 1 === u(l).split("]").length - 1 && u(l).split("(").length - 1 === u(l).split(")").length - 1 && u(l).split("(").length - 1 === u(l).split(")").length - 1 && u(l).split("/*").length - 1 === u(l).split("*/").length - 1 && (n.push(l.replace(/\/\*[\s\S]*?\*\//g, "")), l = "")) : n.push(a.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
1854
1854
  return n;
1855
- }, ba = (e) => /^[\x00-\x7F]*$/.test(e), ka = (e) => {
1856
- var t;
1857
- const a = e.map((s) => {
1858
- var u, f;
1859
- let o = (f = (u = s.key.split("(")) == null ? void 0 : u[1]) == null ? void 0 : f.trim();
1855
+ }, gt = (e) => /^[\x00-\x7F]*$/.test(e), kt = (e) => {
1856
+ var a;
1857
+ const t = e.map((s) => {
1858
+ var i, f;
1859
+ let o = (f = (i = s.key.split("(")) == null ? void 0 : i[1]) == null ? void 0 : f.trim();
1860
1860
  return o.slice(0, o.length - 1);
1861
- }), n = a == null ? void 0 : a.map((s) => {
1862
- var u;
1863
- return (u = Ce(s)) == null ? void 0 : u.map((f) => {
1861
+ }), n = t == null ? void 0 : t.map((s) => {
1862
+ var i;
1863
+ return (i = Ce(s)) == null ? void 0 : i.map((f) => {
1864
1864
  var h;
1865
1865
  if (f.includes("{")) {
1866
1866
  let k = (h = f.split(":")) == null ? void 0 : h[0];
@@ -1868,195 +1868,195 @@ const L = [
1868
1868
  }
1869
1869
  return f;
1870
1870
  });
1871
- }).filter((s) => s.length !== 0), l = (t = n == null ? void 0 : n.filter((s) => s.length !== 0)) == null ? void 0 : t.map((s) => {
1871
+ }).filter((s) => s.length !== 0), l = (a = n == null ? void 0 : n.filter((s) => s.length !== 0)) == null ? void 0 : a.map((s) => {
1872
1872
  let o = "";
1873
- return s.forEach((u) => {
1874
- u.includes("{") || (o = o === "" ? o + p(u) : o + "/" + p(u));
1873
+ return s.forEach((i) => {
1874
+ i.includes("{") || (o = o === "" ? o + u(i) : o + "/" + u(i));
1875
1875
  }), o;
1876
1876
  });
1877
1877
  return cl([...new Set(l)]);
1878
1878
  }, ml = (e) => {
1879
- var n, l, t, s, o, u, f, h;
1880
- const a = (l = (n = e.split("(")) == null ? void 0 : n[1]) == null ? void 0 : l.trim();
1881
- return ((t = Ce(a.slice(0, a.length - 1))) == null ? void 0 : t.length) > 0 ? a.slice(0, a.length - 1) : (h = (f = (u = (o = (s = e.split("(")) == null ? void 0 : s[1]) == null ? void 0 : o.trim()) == null ? void 0 : u.split(")")) == null ? void 0 : f[0]) == null ? void 0 : h.trim();
1882
- }, Ca = (e) => {
1883
- var t;
1879
+ var n, l, a, s, o, i, f, h;
1880
+ const t = (l = (n = e.split("(")) == null ? void 0 : n[1]) == null ? void 0 : l.trim();
1881
+ return ((a = Ce(t.slice(0, t.length - 1))) == null ? void 0 : a.length) > 0 ? t.slice(0, t.length - 1) : (h = (f = (i = (o = (s = e.split("(")) == null ? void 0 : s[1]) == null ? void 0 : o.trim()) == null ? void 0 : i.split(")")) == null ? void 0 : f[0]) == null ? void 0 : h.trim();
1882
+ }, Ct = (e) => {
1883
+ var a;
1884
1884
  if (!e) return;
1885
- const a = ml(e), n = (t = Ce(a)) == null ? void 0 : t.map((s) => {
1885
+ const t = ml(e), n = (a = Ce(t)) == null ? void 0 : a.map((s) => {
1886
1886
  var o;
1887
1887
  if (s.includes("{")) {
1888
- let u = (o = s.split(":")) == null ? void 0 : o[0];
1889
- s = u.slice(1, u.length);
1888
+ let i = (o = s.split(":")) == null ? void 0 : o[0];
1889
+ s = i.slice(1, i.length);
1890
1890
  }
1891
1891
  return s;
1892
1892
  });
1893
1893
  let l = "";
1894
1894
  return n.forEach((s) => {
1895
- s.includes("{") || (l = l === "" ? l + p(s) : l + "/" + p(s));
1895
+ s.includes("{") || (l = l === "" ? l + u(s) : l + "/" + u(s));
1896
1896
  }), l;
1897
- }, Aa = (e) => {
1898
- const a = e.match(/\[(.*)\]/s);
1899
- if (a) {
1900
- const n = `[${a[1]}]`;
1897
+ }, At = (e) => {
1898
+ const t = e.match(/\[(.*)\]/s);
1899
+ if (t) {
1900
+ const n = `[${t[1]}]`;
1901
1901
  try {
1902
1902
  const l = n.replace(/([^\[\],\s]+)/g, '"$1"');
1903
1903
  return JSON.parse(l);
1904
- } catch {
1905
- return JSON.parse(n.replace(/\[(\s*)(,|])/g, '[""$2').replace(/([^\[\],\s]+)/g, '"$1"').replace(/""/g, '"'));
1904
+ } catch (l) {
1905
+ console.error("解析失败:", l);
1906
1906
  }
1907
1907
  }
1908
- }, $a = (e) => {
1908
+ }, $t = (e) => {
1909
1909
  var s;
1910
1910
  if (!e) return;
1911
- const a = ml(e);
1912
- let n = [], l = [], t = [];
1913
- return (s = Ce(a)) == null || s.forEach((o) => {
1914
- var u;
1915
- o.includes("[") ? n.push(Aa(o)) : o.includes("{") && (ba((u = o.slice(1, o.length - 1).split(":")) == null ? void 0 : u[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')));
1916
- }), [n, l, t];
1917
- }, _a = (e) => {
1918
- const a = [];
1911
+ const t = ml(e);
1912
+ let n = [], l = [], a = [];
1913
+ return (s = Ce(t)) == null || s.forEach((o) => {
1914
+ var i;
1915
+ o.includes("[") ? n.push(At(o)) : o.includes("{") && (gt((i = o.slice(1, o.length - 1).split(":")) == null ? void 0 : i[0]) ? a.push(JSON.parse(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3'))) : te(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')));
1916
+ }), [n, l, a];
1917
+ }, _t = (e) => {
1918
+ const t = [];
1919
1919
  let n = "";
1920
1920
  for (const l of e)
1921
- 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, ""));
1922
- return a;
1921
+ l.includes("[") || n.includes("[") || l.includes("/*") || n.includes("/*") ? (n += l.trim(), u(n).split("{").length - 1 === u(n).split("}").length - 1 && u(n).split("【").length - 1 === u(n).split("】").length - 1 && u(n).split("[").length - 1 === u(n).split("]").length - 1 && u(n).split("(").length - 1 === u(n).split(")").length - 1 && u(n).split("(").length - 1 === u(n).split(")").length - 1 && u(n).split("/*").length - 1 === u(n).split("*/").length - 1 && (t.push(n.replace(/\/\*[\s\S]*?\*\//g, "")), n = "")) : t.push(l.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
1922
+ return t;
1923
1923
  }, ll = (e) => {
1924
- var o, u;
1925
- const a = [], n = /(?:{'([^']+)'[^}]+}: {'([^']+)'[^}]+}|'([^']+)': {'([^']+)'[^}]+})/, l = e.match(n);
1924
+ var o, i;
1925
+ const t = [], n = /(?:{'([^']+)'[^}]+}: {'([^']+)'[^}]+}|'([^']+)': {'([^']+)'[^}]+})/, l = e.match(n);
1926
1926
  if (l) {
1927
1927
  const f = l[1] || l[3], h = l[2] || l[4];
1928
1928
  if (f && h) {
1929
1929
  const k = `${f}/${h}`;
1930
- a.push(k);
1930
+ t.push(k);
1931
1931
  }
1932
1932
  }
1933
- const t = /(https?:\/\/[^\s)]+|Http:\/\/[^\s)]+|\/[^\s)]+)/i, s = e.match(t);
1934
- return s ? a.push(s[0].replace(/\)+$/, "")) : (e == null ? void 0 : e.split(",").length) === 2 && a.push((u = (o = e == null ? void 0 : e.split(",")) == null ? void 0 : o[1]) == null ? void 0 : u.trim()), a;
1933
+ const a = /(https?:\/\/[^\s)]+|Http:\/\/[^\s)]+|\/[^\s)]+)/i, s = e.match(a);
1934
+ return s ? t.push(s[0].replace(/\)+$/, "")) : (e == null ? void 0 : e.split(",").length) === 2 && t.push((i = (o = e == null ? void 0 : e.split(",")) == null ? void 0 : o[1]) == null ? void 0 : i.trim()), t;
1935
1935
  }, Oe = (e) => {
1936
- let a = e.replace(/\[\s*,\s*,/g, '[{"": ""}, {"": ""},');
1937
- 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;
1938
- }, Oa = (e) => !/\[[^\]]*\{[^\]]*\]/.test(e), Ta = (e) => {
1939
- 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();
1936
+ let t = e.replace(/\[\s*,\s*,/g, '[{"": ""}, {"": ""},');
1937
+ return t = t.replace(/\[\s*,/g, '[{"": ""},'), t = t.replace(/,\s*,/g, ', {"": ""},'), t = t.replace(/,\s*\]/g, ', {"": ""}]'), t = t.replace(/:(\s*)([^"{}\[\],\s]+)(\s*)([,\]}])/g, (n, l, a, s, o) => a.includes("'") ? `:${l}${a}${s}${o}` : `:${l}"${a}"${s}${o}`), t = t.replace(/:\s*([,\]}])/g, ': ""$1'), t;
1938
+ }, Ot = (e) => !/\[[^\]]*\{[^\]]*\]/.test(e), Tt = (e) => {
1939
+ const t = u(e).match(/(\w+)\(['"]([^'"]+)['"]:\s*\{['"]([^'"]+)['"]\}\)/), n = t ? `${t[2]}/${t[3]}` : null, l = e.match(/\[\{([^}]+)\}\]/), a = l == null ? void 0 : l[1].replaceAll(":", "").replaceAll("'", '"').trim();
1940
1940
  let s = null;
1941
- if (t)
1941
+ if (a)
1942
1942
  try {
1943
- s = JSON.parse(t);
1943
+ s = JSON.parse(a);
1944
1944
  } catch (o) {
1945
1945
  console.error("解析数组失败:", o);
1946
1946
  }
1947
1947
  return [n, s];
1948
- }, xa = (e) => {
1949
- var u, f, h, k, A, $, O, C, N, y, d;
1950
- let a = [], n = [], l = {}, t = [], s = e.trim(), o = [];
1948
+ }, xt = (e) => {
1949
+ var i, f, h, k, A, $, O, C, N, y, d;
1950
+ let t = [], n = [], l = {}, a = [], s = e.trim(), o = [];
1951
1951
  if (s.trim().includes("输入") && s.trim().includes("输出")) {
1952
- let i = [], g = e.trim();
1953
- g = p(g).slice(1, p(g).length - 1);
1952
+ let p = [], b = e.trim();
1953
+ b = u(b).slice(1, u(b).length - 1);
1954
1954
  const c = /(\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})/g;
1955
- (C = g.match(c)) == null || C.forEach((r, m) => {
1955
+ (C = b.match(c)) == null || C.forEach((r, m) => {
1956
1956
  var v;
1957
1957
  const _ = r;
1958
1958
  let T = [];
1959
1959
  (v = _.slice(1, _.length - 1).replace(":", "$:").split("$:")) == null || v.forEach((x) => {
1960
- var j, E, D;
1961
- if (ma.find((B) => x.includes(B)))
1960
+ var U, E, D;
1961
+ if (mt.find((B) => x.includes(B)))
1962
1962
  if (!x.includes("=="))
1963
1963
  T.push({ key: "tableIndexColumn", contents: x.replaceAll("'", "") });
1964
1964
  else {
1965
1965
  let B = [];
1966
1966
  const P = x.replaceAll("'", "").split("==");
1967
- B.push(P == null ? void 0 : P[0]), P != null && P[1].includes("[") ? B.push(P == null ? void 0 : P[1].trim().slice(1, (P == null ? void 0 : P[1].length) - 1).split(",")) : B.push([P == null ? void 0 : P[1]]), T.push({ key: "header", contents: [(E = (j = dl([B])) == null ? void 0 : j[0]) == null ? void 0 : E[0]] });
1967
+ B.push(P == null ? void 0 : P[0]), P != null && P[1].includes("[") ? B.push(P == null ? void 0 : P[1].trim().slice(1, (P == null ? void 0 : P[1].length) - 1).split(",")) : B.push([P == null ? void 0 : P[1]]), T.push({ key: "header", contents: [(E = (U = dl([B])) == null ? void 0 : U[0]) == null ? void 0 : E[0]] });
1968
1968
  }
1969
1969
  else {
1970
1970
  let B = x.trim().replaceAll(",", ",").replaceAll("'", '"');
1971
1971
  if (m % 3 === 0)
1972
- B.slice(1, B.length - 1).includes("[") ? i.push({
1972
+ B.slice(1, B.length - 1).includes("[") ? p.push({
1973
1973
  key: "tableIndex",
1974
1974
  contents: [{ label: B }]
1975
- }) : i.push({
1975
+ }) : p.push({
1976
1976
  key: "tableIndex",
1977
1977
  contents: [{ label: B.slice(1, B.length - 1) }]
1978
1978
  });
1979
1979
  else if ((B == null ? void 0 : B[0]) === "{") {
1980
1980
  let P = [];
1981
1981
  const S = B.slice(1, B.length - 1).split(":");
1982
- if (S.every((b) => ae(b.trim()))) {
1982
+ if (S.every((g) => te(g.trim()))) {
1983
1983
  P.push({ key: "tableContentName", contents: "详情" });
1984
- let b = [];
1985
- S.forEach((F, U) => {
1986
- if (U === 0) {
1987
- const w = JSON.parse(F).map((W) => ({ label: W }));
1984
+ let g = [];
1985
+ S.forEach((j, F) => {
1986
+ if (F === 0) {
1987
+ const w = JSON.parse(j).map((W) => ({ label: W }));
1988
1988
  w.push({
1989
1989
  label: "操作"
1990
- }), b.push({
1990
+ }), g.push({
1991
1991
  key: "header",
1992
1992
  contents: w
1993
1993
  });
1994
1994
  } else
1995
- b.push({
1995
+ g.push({
1996
1996
  key: "tableContents",
1997
- contents: JSON.parse(F)
1997
+ contents: JSON.parse(j)
1998
1998
  });
1999
- }), b.push({
1999
+ }), g.push({
2000
2000
  key: "extraButton",
2001
2001
  contents: [{ label: "新增" }]
2002
- }), b.push({
2002
+ }), g.push({
2003
2003
  key: "rowButton",
2004
2004
  contents: [{ label: "查看" }, { label: "编辑" }, { label: "删除" }]
2005
2005
  }), P.push({
2006
2006
  comp: "Table",
2007
- compData: b,
2007
+ compData: g,
2008
2008
  name: ""
2009
- }), i.push({
2009
+ }), p.push({
2010
2010
  key: "tableContents",
2011
2011
  contents: [P]
2012
2012
  });
2013
2013
  }
2014
2014
  } else {
2015
2015
  let P = B;
2016
- P.slice(1, P.length - 1).includes("[") || P.slice(1, P.length - 1).includes("{") ? ae(Qe(P.replace(/\s+/g, ""))) && ((D = JSON.parse(Qe(P.replace(/\s+/g, "")))) == null || D.map((S) => {
2016
+ P.slice(1, P.length - 1).includes("[") || P.slice(1, P.length - 1).includes("{") ? te(Qe(P.replace(/\s+/g, ""))) && ((D = JSON.parse(Qe(P.replace(/\s+/g, "")))) == null || D.map((S) => {
2017
2017
  if (Array.isArray(S == null ? void 0 : S[0])) {
2018
- const b = [];
2019
- b.push({ key: "tableContentName", contents: "详情" });
2020
- let F = [];
2021
- S.forEach((U) => {
2022
- U.forEach((w) => {
2018
+ const g = [];
2019
+ g.push({ key: "tableContentName", contents: "详情" });
2020
+ let j = [];
2021
+ S.forEach((F) => {
2022
+ F.forEach((w) => {
2023
2023
  var W, K;
2024
- el.value++, F.push({
2024
+ el.value++, j.push({
2025
2025
  id: el.value,
2026
2026
  key: (W = Object.keys(w)) == null ? void 0 : W[0],
2027
2027
  value: (K = Object.values(w)) == null ? void 0 : K[0],
2028
- width: U.length
2028
+ width: F.length
2029
2029
  });
2030
2030
  });
2031
- }), b.push({
2031
+ }), g.push({
2032
2032
  comp: "Form",
2033
2033
  compData: [{
2034
2034
  key: "formFlex",
2035
2035
  contents: ""
2036
2036
  }, {
2037
2037
  key: "formContent",
2038
- contents: F
2038
+ contents: j
2039
2039
  }],
2040
2040
  name: ""
2041
- }), i.push({
2041
+ }), p.push({
2042
2042
  key: "tableContents",
2043
- contents: [b]
2043
+ contents: [g]
2044
2044
  });
2045
2045
  } else
2046
- i.push({
2046
+ p.push({
2047
2047
  key: "tableContents",
2048
2048
  contents: S == null ? void 0 : S[0]
2049
2049
  });
2050
- })) : i.push({
2050
+ })) : p.push({
2051
2051
  key: "tableContents",
2052
2052
  contents: P.trim().slice(1, P.length - 1)
2053
2053
  });
2054
2054
  }
2055
2055
  }
2056
- }), i.push(T == null ? void 0 : T[0]);
2056
+ }), p.push(T == null ? void 0 : T[0]);
2057
2057
  }), o.push({
2058
2058
  key: "tableIndex",
2059
- contents: (N = i == null ? void 0 : i.filter((r) => (r == null ? void 0 : r.key) === "tableIndex")) == null ? void 0 : N.map((r) => {
2059
+ contents: (N = p == null ? void 0 : p.filter((r) => (r == null ? void 0 : r.key) === "tableIndex")) == null ? void 0 : N.map((r) => {
2060
2060
  var m;
2061
2061
  return (m = r.contents) == null ? void 0 : m[0];
2062
2062
  })
@@ -2068,123 +2068,96 @@ const L = [
2068
2068
  contents: [{ label: "查看" }, { label: "编辑" }, { label: "删除" }]
2069
2069
  }), o.push({
2070
2070
  key: "tableIndexColumn",
2071
- contents: (d = (y = i == null ? void 0 : i.filter((r) => (r == null ? void 0 : r.key) === "tableIndexColumn")) == null ? void 0 : y[0]) == null ? void 0 : d.contents
2071
+ contents: (d = (y = p == null ? void 0 : p.filter((r) => (r == null ? void 0 : r.key) === "tableIndexColumn")) == null ? void 0 : y[0]) == null ? void 0 : d.contents
2072
2072
  }), o.push({
2073
2073
  key: "header",
2074
- contents: Ve(i == null ? void 0 : i.filter((r) => (r == null ? void 0 : r.key) === "header"))
2074
+ contents: Ve(p == null ? void 0 : p.filter((r) => (r == null ? void 0 : r.key) === "header"))
2075
2075
  }), o.push({
2076
2076
  key: "tableContents",
2077
- contents: ha(i == null ? void 0 : i.filter((r) => (r == null ? void 0 : r.key) === "tableContents"), Ve(i == null ? void 0 : i.filter((r) => (r == null ? void 0 : r.key) === "header")))
2077
+ contents: ht(p == null ? void 0 : p.filter((r) => (r == null ? void 0 : r.key) === "tableContents"), Ve(p == null ? void 0 : p.filter((r) => (r == null ? void 0 : r.key) === "header")))
2078
2078
  });
2079
2079
  } else {
2080
- const i = (u = s.trim().split(",$")) == null ? void 0 : u[0];
2081
- i[0] === "[" ? s = i.slice(1, i.length - 1) : s.includes(",$") && (s = (f = s.trim().split(",$")) == null ? void 0 : f[0]);
2082
- let g;
2080
+ const p = (i = s.trim().split(",$")) == null ? void 0 : i[0];
2081
+ p[0] === "[" ? s = p.slice(1, p.length - 1) : s.includes(",$") && (s = (f = s.trim().split(",$")) == null ? void 0 : f[0]);
2082
+ let b;
2083
2083
  if (s.includes("$")) {
2084
- s = p(s), l.method = (k = (h = p(s).trim()) == null ? void 0 : h.slice(1, s.length).split("(")) == null ? void 0 : k[0];
2084
+ s = u(s), l.method = (k = (h = u(s).trim()) == null ? void 0 : h.slice(1, s.length).split("(")) == null ? void 0 : k[0];
2085
2085
  let c;
2086
- ll(s.slice(1, s.length - 2)).length > 1 ? c = ll(s.slice(1, s.length - 2)) : c = Ta(s), l.value = c;
2086
+ ll(s.slice(1, s.length - 2)).length > 1 ? c = ll(s.slice(1, s.length - 2)) : c = Tt(s), l.value = c;
2087
2087
  } else
2088
- ae("[" + Oe(s).replaceAll("'", '"') + "]") && !Oa(Oe(s).replaceAll("'", '"')) ? (s = JSON.parse("[" + Oe(s).replaceAll("'", '"') + "]"), t = s) : g = ($ = (A = p(s).split("}")) == null ? void 0 : A.filter((c) => c !== "")) == null ? void 0 : $.map((c) => {
2088
+ te("[" + Oe(s).replaceAll("'", '"') + "]") && !Ot(Oe(s).replaceAll("'", '"')) ? (s = JSON.parse("[" + Oe(s).replaceAll("'", '"') + "]"), a = s) : b = ($ = (A = u(s).split("}")) == null ? void 0 : A.filter((c) => c !== "")) == null ? void 0 : $.map((c) => {
2089
2089
  let r = c;
2090
2090
  return r[0] === "," ? r = r.slice(2, r.length) : r = r.slice(1, r.length), r;
2091
2091
  });
2092
- (O = p(g)) == null || O.forEach((c) => {
2093
- var r, m, _, T, v, x, j, E, D, B, P, S, b, F, U;
2092
+ (O = u(b)) == null || O.forEach((c) => {
2093
+ var r, m, _, T, v, x, U, E, D, B, P, S, g, j, F;
2094
2094
  if (c.includes("==")) {
2095
- const w = (S = c == null ? void 0 : c.split(":")) == null ? void 0 : S[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"').replaceAll("'", '"'), W = (b = c == null ? void 0 : c.split(":")) == null ? void 0 : b[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"');
2096
- if (ae(W.trim()) ? n.push(JSON.parse(W.trim())) : n.push(JSON.parse(W.replaceAll("'", '"').trim())), w[0] !== "[") {
2095
+ const w = (S = c == null ? void 0 : c.split(":")) == null ? void 0 : S[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"').replaceAll("'", '"'), W = (g = c == null ? void 0 : c.split(":")) == null ? void 0 : g[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"');
2096
+ if (te(W.trim()) ? n.push(JSON.parse(W.trim())) : n.push(JSON.parse(W.replaceAll("'", '"').trim())), w[0] !== "[") {
2097
2097
  let K = [];
2098
- ae("[" + de(w) + "]") ? K.push(JSON.parse("[" + de(w) + "]")) : ae("[" + de(w).replaceAll("==", ",") + "]") && K.push(JSON.parse("[" + de(w).replaceAll("==", ",") + "]"));
2099
- const Z = p(K);
2100
- Z.push(["操作"]), a.push(Z);
2098
+ te("[" + de(w) + "]") ? K.push(JSON.parse("[" + de(w) + "]")) : te("[" + de(w).replaceAll("==", ",") + "]") && K.push(JSON.parse("[" + de(w).replaceAll("==", ",") + "]"));
2099
+ const Z = u(K);
2100
+ Z.push(["操作"]), t.push(Z);
2101
2101
  } else {
2102
- const K = (F = w.slice(1, w.length - 1).replaceAll(",", ",|")) == null ? void 0 : F.split("|"), Z = (U = _a(K)) == null ? void 0 : U.map((G) => ((G == null ? void 0 : G[G.length - 1]) === "," && (G = G.slice(0, G.length - 1)), G));
2102
+ const K = (j = w.slice(1, w.length - 1).replaceAll(",", ",|")) == null ? void 0 : j.split("|"), Z = (F = _t(K)) == null ? void 0 : F.map((G) => ((G == null ? void 0 : G[G.length - 1]) === "," && (G = G.slice(0, G.length - 1)), G));
2103
2103
  let le = [];
2104
2104
  Z == null || Z.forEach((G) => {
2105
2105
  var q, H, ne, M;
2106
2106
  let Q = [];
2107
2107
  Q.push((q = G.split("==")) == null ? void 0 : q[0].trim().replace(/^"|"$/g, "")), ((H = G.split("==")) == null ? void 0 : H[1].trim()[0]) === "[" ? Q.push(JSON.parse((ne = G.split("==")) == null ? void 0 : ne[1].trim())) : Q.push([JSON.parse((M = G.split("==")) == null ? void 0 : M[1].trim())]), le.push(Q);
2108
2108
  });
2109
- const ee = p(le);
2110
- ee.push(["操作"]), a.push(ee);
2109
+ const ee = u(le);
2110
+ ee.push(["操作"]), t.push(ee);
2111
2111
  }
2112
2112
  } else {
2113
- if (ae((r = c == null ? void 0 : c.split(":")) == null ? void 0 : r[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"').replaceAll("'", '"'))) {
2113
+ if (te((r = c == null ? void 0 : c.split(":")) == null ? void 0 : r[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"').replaceAll("'", '"'))) {
2114
2114
  let w = JSON.parse((m = c == null ? void 0 : c.split(":")) == null ? void 0 : m[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"').replaceAll("'", '"'));
2115
- Array.isArray(w) || (w = [w]), w.push("操作"), a.push(w);
2115
+ Array.isArray(w) || (w = [w]), w.push("操作"), t.push(w);
2116
2116
  }
2117
- ae((v = (T = (_ = c == null ? void 0 : c.split(":")) == null ? void 0 : _[1]) == null ? void 0 : T.replace(/^"|"$/g, "'")) == null ? void 0 : v.replace(/'([^']+)'/g, '"$1"')) ? n.push(JSON.parse((x = c == null ? void 0 : c.split(":")) == null ? void 0 : x[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"'))) : ae((B = (D = (E = (j = c == null ? void 0 : c.split(":")) == null ? void 0 : j[1]) == null ? void 0 : E.replace(/^"|"$/g, "'")) == null ? void 0 : D.replaceAll("'", '"')) == null ? void 0 : B.replace(/'([^']+)'/g, '"$1"')) && n.push(JSON.parse((P = c == null ? void 0 : c.split(":")) == null ? void 0 : P[1].replace(/^"|"$/g, "'").replaceAll("'", '"').replace(/'([^']+)'/g, '"$1"')));
2117
+ te((v = (T = (_ = c == null ? void 0 : c.split(":")) == null ? void 0 : _[1]) == null ? void 0 : T.replace(/^"|"$/g, "'")) == null ? void 0 : v.replace(/'([^']+)'/g, '"$1"')) ? n.push(JSON.parse((x = c == null ? void 0 : c.split(":")) == null ? void 0 : x[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"'))) : te((B = (D = (E = (U = c == null ? void 0 : c.split(":")) == null ? void 0 : U[1]) == null ? void 0 : E.replace(/^"|"$/g, "'")) == null ? void 0 : D.replaceAll("'", '"')) == null ? void 0 : B.replace(/'([^']+)'/g, '"$1"')) && n.push(JSON.parse((P = c == null ? void 0 : c.split(":")) == null ? void 0 : P[1].replace(/^"|"$/g, "'").replaceAll("'", '"').replace(/'([^']+)'/g, '"$1"')));
2118
2118
  }
2119
2119
  });
2120
2120
  }
2121
- return [a, n, o, l, t];
2122
- }, va = (e) => {
2123
- 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], u = l == null ? void 0 : l[1], f = l == null ? void 0 : l[2], h = t == null ? void 0 : t[0], k = t == null ? void 0 : t[1], A = t == null ? void 0 : t[2], $ = t == null ? void 0 : t[3];
2124
- return n && a.push({
2121
+ return [t, n, o, l, a];
2122
+ }, vt = (e) => {
2123
+ const t = [], n = Ct(e == null ? void 0 : e.key), l = $t(e == null ? void 0 : e.key), a = xt(e == null ? void 0 : e.value), s = l == null ? void 0 : l[0], o = a == null ? void 0 : a[4], i = l == null ? void 0 : l[1], f = l == null ? void 0 : l[2], h = a == null ? void 0 : a[0], k = a == null ? void 0 : a[1], A = a == null ? void 0 : a[2], $ = a == null ? void 0 : a[3];
2124
+ return n && t.push({
2125
2125
  key: "contentPath",
2126
2126
  value: n
2127
- }), (s == null ? void 0 : s.length) > 0 && a.push({
2127
+ }), (s == null ? void 0 : s.length) > 0 && t.push({
2128
2128
  key: "tableIndex",
2129
2129
  value: s
2130
- }), $ && a.push({
2130
+ }), $ && t.push({
2131
2131
  key: "extraButton",
2132
2132
  value: $
2133
- }), (o == null ? void 0 : o.length) > 0 && a.push({
2133
+ }), (o == null ? void 0 : o.length) > 0 && t.push({
2134
2134
  key: "form",
2135
2135
  value: o
2136
- }), (u == null ? void 0 : u.length) > 0 && a.push({
2136
+ }), (i == null ? void 0 : i.length) > 0 && t.push({
2137
2137
  key: "formTop",
2138
- value: u
2139
- }), (f == null ? void 0 : f.length) > 0 && a.push({
2138
+ value: i
2139
+ }), (f == null ? void 0 : f.length) > 0 && t.push({
2140
2140
  key: "extra",
2141
2141
  value: f
2142
- }), (A == null ? void 0 : A.length) > 0 && a.push({
2142
+ }), (A == null ? void 0 : A.length) > 0 && t.push({
2143
2143
  comp: "Table",
2144
2144
  compData: A,
2145
2145
  name: ""
2146
- }), (h == null ? void 0 : h.length) > 0 && a.push({
2146
+ }), (h == null ? void 0 : h.length) > 0 && t.push({
2147
2147
  key: "tableColumns",
2148
2148
  value: h
2149
- }), (k == null ? void 0 : k.length) > 0 && a.push({
2149
+ }), (k == null ? void 0 : k.length) > 0 && t.push({
2150
2150
  key: "tableContents",
2151
2151
  value: k
2152
- }), a;
2153
- }, Ea = (e) => {
2154
- let a = [], n = [];
2155
- e == null || e.forEach((t) => {
2156
- Array.isArray(t) && (t == null || t.forEach((s) => {
2157
- var o;
2158
- s.comp === "FormTop" && ((o = s.compData) == null || o.forEach((u) => {
2159
- (u == null ? void 0 : u.key) === "formContent" && (n = [...n, ...u.contents]);
2160
- }));
2161
- }));
2162
- });
2163
- const l = n.reduce((t, s) => t.find((u) => (u == null ? void 0 : u.key) === (s == null ? void 0 : s.key)) ? t : t.concat([s]), []);
2164
- return l.length !== 0 && a.push([{
2165
- comp: "FormTop",
2166
- compData: [{
2167
- key: "formFlex",
2168
- contents: ""
2169
- }, {
2170
- key: "formContent",
2171
- contents: l
2172
- }]
2173
- }]), e == null || e.forEach((t) => {
2174
- if (Array.isArray(t)) {
2175
- const s = t.filter((o) => o.comp !== "FormTop");
2176
- a.push(s);
2177
- } else
2178
- a.push(t);
2179
- }), a;
2180
- }, Da = (e, a) => {
2181
- const n = a.split("/");
2152
+ }), t;
2153
+ }, Et = (e, t) => {
2154
+ const n = t.split("/");
2182
2155
  let l = [];
2183
- return e == null || e.forEach((t) => {
2184
- var u, f, h, k, A, $, O, C, N;
2185
- const s = [], o = (f = (u = t.find((y) => y.key === "tableIndex")) == null ? void 0 : u.value) == null ? void 0 : f[0];
2156
+ return e == null || e.forEach((a) => {
2157
+ var i, f, h, k, A, $, O, C, N;
2158
+ const s = [], o = (f = (i = a.find((y) => y.key === "tableIndex")) == null ? void 0 : i.value) == null ? void 0 : f[0];
2186
2159
  if (o && !o.some((y) => Array.isArray(y))) {
2187
- const y = (k = (h = t.find((d) => d.key === "tableColumns")) == null ? void 0 : h.value) == null ? void 0 : k[0];
2160
+ const y = (k = (h = a.find((d) => d.key === "tableColumns")) == null ? void 0 : h.value) == null ? void 0 : k[0];
2188
2161
  s.push({
2189
2162
  key: "tableIndexColumn",
2190
2163
  contents: n[n.length - 1]
@@ -2205,7 +2178,7 @@ const L = [
2205
2178
  contents: Array.isArray(y) ? y == null ? void 0 : y.map((d) => ({ label: d })) : [y].map((d) => ({ label: d }))
2206
2179
  }), s.push({
2207
2180
  key: "tableContents",
2208
- contents: Array.isArray(y) ? ($ = (A = t.find((d) => d.key === "tableContents")) == null ? void 0 : A.value) == null ? void 0 : $[0] : (N = (C = (O = t.find((d) => d.key === "tableContents")) == null ? void 0 : O.value) == null ? void 0 : C[0]) == null ? void 0 : N.map((d) => [d])
2181
+ contents: Array.isArray(y) ? ($ = (A = a.find((d) => d.key === "tableContents")) == null ? void 0 : A.value) == null ? void 0 : $[0] : (N = (C = (O = a.find((d) => d.key === "tableContents")) == null ? void 0 : O.value) == null ? void 0 : C[0]) == null ? void 0 : N.map((d) => [d])
2209
2182
  }), l.push({
2210
2183
  comp: "Table",
2211
2184
  name: "",
@@ -2214,199 +2187,199 @@ const L = [
2214
2187
  } else o ? l.push({
2215
2188
  comp: "Table",
2216
2189
  name: "",
2217
- compData: fa(t, n[n.length - 1])
2218
- }) : t.some((y) => y.key === "extra") ? l.push({
2190
+ compData: ft(a, n[n.length - 1])
2191
+ }) : a.some((y) => y.key === "extra") ? l.push({
2219
2192
  comp: "calculator",
2220
2193
  name: "",
2221
- compData: Ye(t)
2222
- }) : l.push(Ye(t));
2223
- }), Ea(l);
2224
- }, Na = (e, a) => {
2225
- var t, s;
2226
- const n = e.map((o) => o.filter((u) => u.key !== "contentPath"));
2194
+ compData: Ye(a)
2195
+ }) : l.push(Ye(a));
2196
+ }), l;
2197
+ }, Dt = (e, t) => {
2198
+ var a, s;
2199
+ const n = e.map((o) => o.filter((i) => i.key !== "contentPath"));
2227
2200
  return {
2228
2201
  comp: "Group",
2229
2202
  compData: [{
2230
- contents: Da(n, a),
2203
+ contents: Et(n, t),
2231
2204
  key: "groupContents"
2232
2205
  }],
2233
- name: (s = (t = e[0]) == null ? void 0 : t.find((o) => o.key === "contentPath")) == null ? void 0 : s.value
2206
+ name: (s = (a = e[0]) == null ? void 0 : a.find((o) => o.key === "contentPath")) == null ? void 0 : s.value
2234
2207
  };
2235
- }, Sa = (e) => {
2236
- var t;
2237
- const a = [], n = p(e).map((s) => {
2208
+ }, Nt = (e) => {
2209
+ var a;
2210
+ const t = [], n = u(e).map((s) => {
2238
2211
  var o;
2239
- if (s != null && s.find((u) => (u == null ? void 0 : u.key) === "contentPath"))
2240
- return (o = s == null ? void 0 : s.find((u) => (u == null ? void 0 : u.key) === "contentPath")) == null ? void 0 : o.value;
2212
+ if (s != null && s.find((i) => (i == null ? void 0 : i.key) === "contentPath"))
2213
+ return (o = s == null ? void 0 : s.find((i) => (i == null ? void 0 : i.key) === "contentPath")) == null ? void 0 : o.value;
2241
2214
  }).filter((s) => s !== ""), l = [...new Set(n)];
2242
- return (t = l == null ? void 0 : l.filter((s) => s)) == null || t.forEach((s) => {
2215
+ return (a = l == null ? void 0 : l.filter((s) => s)) == null || a.forEach((s) => {
2243
2216
  var o;
2244
- a.push(Na((o = p(e)) == null ? void 0 : o.filter((u) => u.find((f) => f.key === "contentPath" && f.value === s)), s));
2245
- }), a;
2246
- }, Pa = (e) => {
2247
- let a = [];
2248
- a.push({
2217
+ t.push(Dt((o = u(e)) == null ? void 0 : o.filter((i) => i.find((f) => f.key === "contentPath" && f.value === s)), s));
2218
+ }), t;
2219
+ }, St = (e) => {
2220
+ let t = [];
2221
+ t.push({
2249
2222
  comp: "Menu",
2250
2223
  compData: [{
2251
- contents: ka(p(e)),
2224
+ contents: kt(u(e)),
2252
2225
  key: "menuContents"
2253
2226
  }],
2254
2227
  name: ""
2255
2228
  });
2256
- const n = e.map((l) => va(l)).filter((l) => l.length !== 0);
2257
- return a = [...a, ...Sa(n)], a;
2258
- }, Va = (e) => {
2259
- var t, s, o, u, f;
2260
- const a = (o = Se((s = (t = p(e)) == null ? void 0 : t.replace("(", "(")) == null ? void 0 : s.replace(")", ")"))) == null ? void 0 : o.filter((h) => h !== ""), n = (f = (u = p(a)) == null ? void 0 : u.filter((h) => !h.includes("/*"))) == null ? void 0 : f.map((h) => ga(h));
2261
- return Pa(n);
2262
- }, ye = R(0), Te = R(0), Ba = (e) => {
2263
- 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 = {};
2264
- let t;
2265
- for (; (t = n.exec(a)) !== null; ) {
2266
- const s = t[1];
2267
- let o = t[2].trim();
2229
+ const n = e.map((l) => vt(l)).filter((l) => l.length !== 0);
2230
+ return t = [...t, ...Nt(n)], t;
2231
+ }, Yt = (e) => {
2232
+ var a, s, o, i, f;
2233
+ const t = (o = Se((s = (a = u(e)) == null ? void 0 : a.replace("(", "(")) == null ? void 0 : s.replace(")", ")"))) == null ? void 0 : o.filter((h) => h !== ""), n = (f = (i = u(t)) == null ? void 0 : i.filter((h) => !h.includes("/*"))) == null ? void 0 : f.map((h) => bt(h));
2234
+ return St(n);
2235
+ }, ye = R(0), Te = R(0), Pt = (e) => {
2236
+ const t = 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 = {};
2237
+ let a;
2238
+ for (; (a = n.exec(t)) !== null; ) {
2239
+ const s = a[1];
2240
+ let o = a[2].trim();
2268
2241
  (o.match(/\[/g) || []).length !== (o.match(/\]/g) || []).length && (o = o == null ? void 0 : o.replace(/]$/, "")), l[s] ? (l[s + Te.value] && Te.value++, l[s + Te.value] = s + "=" + o) : l[s] = s + "=" + o;
2269
2242
  }
2270
2243
  return l;
2271
- }, gl = (e) => {
2272
- const [a, n] = e.split("=").map((s) => s.trim()), l = a.replace(/['"]/g, ""), t = n.replace(/^['"]|['"]$/g, "");
2273
- return { key: l, value: t };
2274
- }, Fa = (e) => {
2244
+ }, bl = (e) => {
2245
+ const [t, n] = e.split("=").map((s) => s.trim()), l = t.replace(/['"]/g, ""), a = n.replace(/^['"]|['"]$/g, "");
2246
+ return { key: l, value: a };
2247
+ }, Bt = (e) => {
2275
2248
  var o;
2276
- let a = [];
2277
- const [n, l] = e.split(/=(.+)/), t = n.replace(/['"]/g, "").trim(), s = l.replace(/^['"]|['"]$/g, "");
2278
- return (o = Object.values(Ba(s))) == null || o.forEach((u) => {
2279
- a.push(gl(u));
2280
- }), { key: t, value: a };
2281
- }, ge = (e) => {
2249
+ let t = [];
2250
+ const [n, l] = e.split(/=(.+)/), a = n.replace(/['"]/g, "").trim(), s = l.replace(/^['"]|['"]$/g, "");
2251
+ return (o = Object.values(Pt(s))) == null || o.forEach((i) => {
2252
+ t.push(bl(i));
2253
+ }), { key: a, value: t };
2254
+ }, be = (e) => {
2282
2255
  try {
2283
2256
  return JSON.parse(e), !0;
2284
2257
  } catch {
2285
2258
  return !1;
2286
2259
  }
2287
- }, bl = (e) => {
2260
+ }, gl = (e) => {
2288
2261
  try {
2289
- const a = e.replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",").replace(/:/g, ":").replace(/:\s*(?=,|}|$)/g, ': ""');
2290
- if (p(a).split("{").length - 1 > 1) {
2291
- let n = p(a).replace(/^\{(.*)\}$/, "[$1]");
2292
- if (ge(n) && !n.includes("$") || (n = n.replace(/"([^"]+)"\$([\w\u4e00-\u9fa5]+\([^)]*\))/g, '"$1$$$2"')), ge(n)) {
2262
+ const t = e.replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",").replace(/:/g, ":").replace(/:\s*(?=,|}|$)/g, ': ""');
2263
+ if (u(t).split("{").length - 1 > 1) {
2264
+ let n = u(t).replace(/^\{(.*)\}$/, "[$1]");
2265
+ if (be(n) && !n.includes("$") || (n = n.replace(/"([^"]+)"\$([\w\u4e00-\u9fa5]+\([^)]*\))/g, '"$1$$$2"')), be(n)) {
2293
2266
  const l = JSON.parse(n);
2294
- let t = [];
2267
+ let a = [];
2295
2268
  return l == null || l.forEach((s) => {
2296
2269
  var o;
2297
- (o = Object.entries(p(s))) == null || o.forEach((u) => {
2298
- ye.value++, t.push({
2270
+ (o = Object.entries(u(s))) == null || o.forEach((i) => {
2271
+ ye.value++, a.push({
2299
2272
  id: ye.value,
2300
- key: (u == null ? void 0 : u[0]) ?? "",
2301
- value: (u == null ? void 0 : u[1]) === "" ? "" : u == null ? void 0 : u[1],
2273
+ key: (i == null ? void 0 : i[0]) ?? "",
2274
+ value: (i == null ? void 0 : i[1]) === "" ? "" : i == null ? void 0 : i[1],
2302
2275
  // 如果值为空,则key设为空字符串,否则保留原值
2303
- width: Object.keys(p(s)).length
2276
+ width: Object.keys(u(s)).length
2304
2277
  });
2305
2278
  });
2306
- }), t;
2279
+ }), a;
2307
2280
  } else
2308
2281
  return console.error("转换类型不正确:"), [];
2309
- } else if (ge(a)) {
2310
- const n = JSON.parse(a);
2311
- return Object.entries(n).map(([l, t]) => (ye.value++, {
2282
+ } else if (be(t)) {
2283
+ const n = JSON.parse(t);
2284
+ return Object.entries(n).map(([l, a]) => (ye.value++, {
2312
2285
  id: ye.value,
2313
2286
  key: l,
2314
- value: t === "" ? "" : t,
2287
+ value: a === "" ? "" : a,
2315
2288
  // 如果值为空,则key设为空字符串,否则保留原值
2316
2289
  width: 1
2317
2290
  }));
2318
2291
  } else
2319
- return a;
2320
- } catch (a) {
2321
- return console.error("转换失败:", a), [];
2292
+ return t;
2293
+ } catch (t) {
2294
+ return console.error("转换失败:", t), [];
2322
2295
  }
2323
- }, ja = (e, a) => {
2296
+ }, jt = (e, t) => {
2324
2297
  try {
2325
- if (L != null && L.find((n) => (n == null ? void 0 : n.key) === a))
2298
+ if (L != null && L.find((n) => (n == null ? void 0 : n.key) === t))
2326
2299
  return JSON.parse(e.replace(/[’]|[‘]|[']/g, '"'));
2327
- if (p(e).split("[").length - 1 > 1) {
2328
- const n = p(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
2300
+ if (u(e).split("[").length - 1 > 1) {
2301
+ const n = u(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
2329
2302
  return JSON.parse(n);
2330
2303
  } else {
2331
- const n = p(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",");
2332
- if (ge(n)) {
2304
+ const n = u(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",");
2305
+ if (be(n)) {
2333
2306
  const l = JSON.parse(n);
2334
- return Array.isArray(l) ? l.map((t) => ({ label: t })) : l;
2307
+ return Array.isArray(l) ? l.map((a) => ({ label: a })) : l;
2335
2308
  } else
2336
- return bl(p(e));
2309
+ return gl(u(e));
2337
2310
  }
2338
2311
  } catch (n) {
2339
2312
  return console.error("解析失败:", n), e;
2340
2313
  }
2341
- }, Ua = (e) => ({ [e == null ? void 0 : e.key]: ja(e == null ? void 0 : e.value, e == null ? void 0 : e.key) }), Ra = (e) => {
2314
+ }, Ut = (e) => ({ [e == null ? void 0 : e.key]: jt(e == null ? void 0 : e.value, e == null ? void 0 : e.key) }), Ft = (e) => {
2342
2315
  try {
2343
- if (p(e).split("[").length - 1 > 1) {
2344
- const a = p(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
2345
- return JSON.parse(a);
2316
+ if (u(e).split("[").length - 1 > 1) {
2317
+ const t = u(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
2318
+ return JSON.parse(t);
2346
2319
  } else
2347
- return JSON.parse(p(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",")).map((n) => ({ label: n }));
2348
- } catch (a) {
2349
- return console.error("解析失败:", a), e;
2320
+ return JSON.parse(u(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",")).map((n) => ({ label: n }));
2321
+ } catch (t) {
2322
+ return console.error("解析失败:", t), e;
2350
2323
  }
2351
2324
  }, kl = (e) => {
2352
- var a, n, l, t, s, o;
2325
+ var t, n, l, a, s, o;
2353
2326
  try {
2354
- const u = Se((n = (a = p(e)) == null ? void 0 : a.replace("(", "(")) == null ? void 0 : n.replace(")", ")")), f = (l = p(u)) == null ? void 0 : l.map((A) => {
2327
+ const i = Se((n = (t = u(e)) == null ? void 0 : t.replace("(", "(")) == null ? void 0 : n.replace(")", ")")), f = (l = u(i)) == null ? void 0 : l.map((A) => {
2355
2328
  var O, C;
2356
- let $ = (C = (O = p(A)) == null ? void 0 : O.split("=")) == null ? void 0 : C[0];
2357
- return $ != null && $.includes("GroupContents") ? Fa(A) : gl(A);
2329
+ let $ = (C = (O = u(A)) == null ? void 0 : O.split("=")) == null ? void 0 : C[0];
2330
+ return $ != null && $.includes("GroupContents") ? Bt(A) : bl(A);
2358
2331
  }), h = [];
2359
- (t = p(f)) == null || t.forEach((A) => {
2332
+ (a = u(f)) == null || a.forEach((A) => {
2360
2333
  var $, O, C, N, y;
2361
2334
  L != null && L.find((d) => {
2362
- var i, g;
2363
- return ((i = d == null ? void 0 : d.key) == null ? void 0 : i.toUpperCase()) === ((g = A == null ? void 0 : A.key) == null ? void 0 : g.toUpperCase());
2335
+ var p, b;
2336
+ return ((p = d == null ? void 0 : d.key) == null ? void 0 : p.toUpperCase()) === ((b = A == null ? void 0 : A.key) == null ? void 0 : b.toUpperCase());
2364
2337
  }) ? h.push({
2365
2338
  comp: (($ = L == null ? void 0 : L.find((d) => {
2366
- var i, g;
2367
- return ((i = d == null ? void 0 : d.key) == null ? void 0 : i.toUpperCase()) === ((g = A == null ? void 0 : A.key) == null ? void 0 : g.toUpperCase());
2339
+ var p, b;
2340
+ return ((p = d == null ? void 0 : d.key) == null ? void 0 : p.toUpperCase()) === ((b = A == null ? void 0 : A.key) == null ? void 0 : b.toUpperCase());
2368
2341
  })) == null ? void 0 : $.value) ?? "",
2369
2342
  name: (O = A == null ? void 0 : A.value) == null ? void 0 : O.replace(/[’]|[‘]|[']/g, ""),
2370
2343
  compData: []
2371
2344
  }) : J != null && J.find((d) => {
2372
- var i, g;
2373
- return ((i = d == null ? void 0 : d.key) == null ? void 0 : i.toUpperCase()) === ((g = A == null ? void 0 : A.key) == null ? void 0 : g.toUpperCase());
2345
+ var p, b;
2346
+ return ((p = d == null ? void 0 : d.key) == null ? void 0 : p.toUpperCase()) === ((b = A == null ? void 0 : A.key) == null ? void 0 : b.toUpperCase());
2374
2347
  }) && ((h == null ? void 0 : h.length) === 0 && (C = A.key) != null && C.includes("Menus") && h.push({
2375
2348
  comp: "Menu",
2376
2349
  name: "",
2377
2350
  compData: []
2378
2351
  }), (N = h == null ? void 0 : h[(h == null ? void 0 : h.length) - 1]) != null && N.compData && h[(h == null ? void 0 : h.length) - 1].compData.push({
2379
2352
  key: (y = J == null ? void 0 : J.find((d) => {
2380
- var i, g;
2381
- return ((i = d == null ? void 0 : d.key) == null ? void 0 : i.toUpperCase()) === ((g = A == null ? void 0 : A.key) == null ? void 0 : g.toUpperCase());
2353
+ var p, b;
2354
+ return ((p = d == null ? void 0 : d.key) == null ? void 0 : p.toUpperCase()) === ((b = A == null ? void 0 : A.key) == null ? void 0 : b.toUpperCase());
2382
2355
  })) == null ? void 0 : y.value,
2383
2356
  contents: A == null ? void 0 : A.value
2384
2357
  }));
2385
2358
  }), console.log("newContents", h);
2386
- let k = (s = p(h)) == null ? void 0 : s.map((A) => {
2359
+ let k = (s = u(h)) == null ? void 0 : s.map((A) => {
2387
2360
  var $;
2388
2361
  return A != null && A.compData && (A.compData = ($ = A == null ? void 0 : A.compData) == null ? void 0 : $.map((O) => {
2389
- var C, N, y, d, i, g, c, r, m, _, T;
2362
+ var C, N, y, d, p, b, c, r, m, _, T;
2390
2363
  if ((O == null ? void 0 : O.key) === "formFlex")
2391
2364
  O.contents = ((N = (C = O.contents) == null ? void 0 : C.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : N.toUpperCase()) !== "Vertical".toUpperCase();
2392
2365
  else if ((O == null ? void 0 : O.key) === "groupContents")
2393
- O.contents = (y = p(O.contents)) == null ? void 0 : y.map((v) => Ua(p(v)));
2394
- else if (((i = (d = O.contents) == null ? void 0 : d.trim()) != null && i.startsWith("[") || (c = (g = O.contents) == null ? void 0 : g.trim()) != null && c.startsWith("【")) && ((m = (r = O.contents) == null ? void 0 : r.trim()) != null && m.endsWith("]") || (T = (_ = O.contents) == null ? void 0 : _.trim()) != null && T.endsWith("】")))
2395
- O.contents = Ra(p(O.contents));
2366
+ O.contents = (y = u(O.contents)) == null ? void 0 : y.map((v) => Ut(u(v)));
2367
+ else if (((p = (d = O.contents) == null ? void 0 : d.trim()) != null && p.startsWith("[") || (c = (b = O.contents) == null ? void 0 : b.trim()) != null && c.startsWith("【")) && ((m = (r = O.contents) == null ? void 0 : r.trim()) != null && m.endsWith("]") || (T = (_ = O.contents) == null ? void 0 : _.trim()) != null && T.endsWith("】")))
2368
+ O.contents = Ft(u(O.contents));
2396
2369
  else {
2397
2370
  if (!O.contents) return;
2398
- O.contents = bl(p(O.contents));
2371
+ O.contents = gl(u(O.contents));
2399
2372
  }
2400
2373
  return O;
2401
2374
  })), A;
2402
2375
  });
2403
- return k = (o = p(k)) == null ? void 0 : o.map((A) => {
2376
+ return k = (o = u(k)) == null ? void 0 : o.map((A) => {
2404
2377
  var $;
2405
2378
  return (A == null ? void 0 : A.comp) === "Group" && (A.compData = ($ = A.compData) == null ? void 0 : $.map((O) => {
2406
2379
  var N;
2407
2380
  let C = [];
2408
2381
  return (N = O.contents) == null || N.forEach((y) => {
2409
- var d, i, g, c, r, m, _, T, v, x, j, E;
2382
+ var d, p, b, c, r, m, _, T, v, x, U, E;
2410
2383
  if (L != null && L.find((D) => {
2411
2384
  var B, P, S;
2412
2385
  return ((B = D == null ? void 0 : D.key) == null ? void 0 : B.toUpperCase()) === ((S = (P = Object.keys(y)) == null ? void 0 : P[0]) == null ? void 0 : S.toUpperCase());
@@ -2416,7 +2389,7 @@ const L = [
2416
2389
  var B, P, S;
2417
2390
  return ((B = D == null ? void 0 : D.key) == null ? void 0 : B.toUpperCase()) === ((S = (P = Object.keys(y)) == null ? void 0 : P[0]) == null ? void 0 : S.toUpperCase());
2418
2391
  })) == null ? void 0 : d.value,
2419
- name: (g = (i = Object.values(y)) == null ? void 0 : i[0]) == null ? void 0 : g.replace(/[’]|[‘]|[']/g, ""),
2392
+ name: (b = (p = Object.values(y)) == null ? void 0 : p[0]) == null ? void 0 : b.replace(/[’]|[‘]|[']/g, ""),
2420
2393
  compData: []
2421
2394
  });
2422
2395
  else if (J != null && J.find((D) => {
@@ -2432,12 +2405,12 @@ const L = [
2432
2405
  contents: (m = Object.values(y)) == null ? void 0 : m[0]
2433
2406
  });
2434
2407
  } else if ((T = (_ = Object.keys(y)) == null ? void 0 : _[0]) != null && T.includes("$")) {
2435
- const D = (x = (v = Object.keys(p(y))) == null ? void 0 : v[0]) == null ? void 0 : x.split("$");
2408
+ const D = (x = (v = Object.keys(u(y))) == null ? void 0 : v[0]) == null ? void 0 : x.split("$");
2436
2409
  C[(C == null ? void 0 : C.length) - 1].compData.push({
2437
- key: (j = J == null ? void 0 : J.find((B) => {
2410
+ key: (U = J == null ? void 0 : J.find((B) => {
2438
2411
  var P, S;
2439
2412
  return ((P = B == null ? void 0 : B.key) == null ? void 0 : P.toUpperCase()) === ((S = D == null ? void 0 : D[0]) == null ? void 0 : S.toUpperCase());
2440
- })) == null ? void 0 : j.value,
2413
+ })) == null ? void 0 : U.value,
2441
2414
  contents: (E = Object.values(y)) == null ? void 0 : E[0],
2442
2415
  selectLabel: D == null ? void 0 : D[1]
2443
2416
  });
@@ -2449,18 +2422,18 @@ const L = [
2449
2422
  } catch {
2450
2423
  return !1;
2451
2424
  }
2452
- }, et = (e) => kl(e), lt = (e) => !!kl(e), wa = al(ke), { itemData: nt } = De(wa), Ja = Sl(ke), { systemKey: at, activeMenuPath: tt } = De(Ja), oe = R(0), st = (e) => e.reduce((n, l) => {
2425
+ }, Vt = (e) => kl(e), ea = (e) => !!kl(e), Rt = tl(ke), { itemData: la } = De(Rt), wt = Sl(ke), { systemKey: na, activeMenuPath: ta } = De(wt), oe = R(0), aa = (e) => e.reduce((n, l) => {
2453
2426
  var s, o;
2454
- const t = Object.values(n);
2455
- return (((s = Object.keys(n)) == null ? void 0 : s.length) === 0 || t[t.length - 1].length >= (l == null ? void 0 : l.width)) && (n[oe.value] = [], oe.value++), n[oe.value - 1].push(l), ((o = Object.keys(n)) == null ? void 0 : o.length) === (l == null ? void 0 : l.width) && (n[oe.value] = [], oe.value++), n;
2427
+ const a = Object.values(n);
2428
+ return (((s = Object.keys(n)) == null ? void 0 : s.length) === 0 || a[a.length - 1].length >= (l == null ? void 0 : l.width)) && (n[oe.value] = [], oe.value++), n[oe.value - 1].push(l), ((o = Object.keys(n)) == null ? void 0 : o.length) === (l == null ? void 0 : l.width) && (n[oe.value] = [], oe.value++), n;
2456
2429
  }, {});
2457
2430
  export {
2458
- st as a,
2459
- Xa as b,
2460
- Va as c,
2461
- Ya as d,
2462
- et as e,
2431
+ aa as a,
2432
+ Qt as b,
2433
+ Yt as c,
2434
+ Xt as d,
2435
+ Vt as e,
2463
2436
  zn as g,
2464
- lt as i,
2465
- Qa as s
2437
+ ea as i,
2438
+ zt as s
2466
2439
  };