ss-component-new 1.1.124 → 1.1.126

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 (65) hide show
  1. package/dist/{array-BxjTOqMI.js → array-B23fx-Ct.js} +507 -503
  2. package/dist/array-CvN2oHqT.cjs +7 -0
  3. package/dist/{cloneDeep-BY7jbyTA.js → cloneDeep-BTCUHYHf.js} +1 -1
  4. package/dist/{cloneDeep-TacB4EZO.cjs → cloneDeep-D_7NRubc.cjs} +1 -1
  5. package/dist/{index-xmI6kE3E.js → index-B0VDEXw_.js} +4 -4
  6. package/dist/{index-C6RYDjmq.cjs → index-Be2dzO_5.cjs} +1 -1
  7. package/dist/index-Bict7_aZ.js +642 -0
  8. package/dist/{index-g1lOxgn5.js → index-BihRBmJZ.js} +1 -1
  9. package/dist/{index-B350Jd1Q.cjs → index-C-hpRC8y.cjs} +1 -1
  10. package/dist/{index-BNWaoj6Z.js → index-C6-3sx1K.js} +12 -13
  11. package/dist/{index-C-aZvFRW.cjs → index-CAHJWxfv.cjs} +1 -1
  12. package/dist/{index-gGDczXNR.cjs → index-CBAbyoim.cjs} +1 -1
  13. package/dist/{index-CNVW_6cz.js → index-CBo5xNBU.js} +1 -1
  14. package/dist/{index-BRbFWayD.cjs → index-CKduFw7a.cjs} +1 -1
  15. package/dist/{index-DehKbitZ.cjs → index-CLSOGQqO.cjs} +1 -1
  16. package/dist/index-CS3vB9RR.js +349 -0
  17. package/dist/{index-iJAEvjVl.cjs → index-CWlfODL5.cjs} +1 -1
  18. package/dist/index-CXHejriN.cjs +1 -0
  19. package/dist/{index-B5RsyhWe.js → index-ClVQkaWP.js} +5 -5
  20. package/dist/index-CxaJLO36.cjs +1 -0
  21. package/dist/{index-JeDCqfyX.cjs → index-D-Fsudf_.cjs} +2 -2
  22. package/dist/{index-BcFYdS3F.js → index-D4c_hqBU.js} +1 -1
  23. package/dist/index-DFbbcsCm.js +332 -0
  24. package/dist/{index-H6qiNlh1.js → index-DIEeWptV.js} +1 -1
  25. package/dist/{index-ReulmnrK.js → index-DNKDucMb.js} +7 -7
  26. package/dist/{index-DJjfdv-n.js → index-DNXqpeWn.js} +5 -5
  27. package/dist/{index-DlkIx2Ch.cjs → index-DR-A1cZc.cjs} +1 -1
  28. package/dist/{index-NiXp6EjT.js → index-Dgr8UIaj.js} +1 -1
  29. package/dist/{index-DcJlzFm_.cjs → index-DmORa7Y8.cjs} +1 -1
  30. package/dist/{index-DS-uNvzB.cjs → index-DrcgQGxI.cjs} +1 -1
  31. package/dist/{index-DZ5z3tU0.cjs → index-Dz-DjlVp.cjs} +1 -1
  32. package/dist/index-E87rLYop.cjs +1 -0
  33. package/dist/{index-BKjdsboN.js → index-HG3wSE7f.js} +8 -8
  34. package/dist/{index-DlaRK5AT.cjs → index-LF00SwkH.cjs} +1 -1
  35. package/dist/{index-DwhBlmrq.js → index-SIEyZNUS.js} +6 -6
  36. package/dist/{index-BWmd705R.js → index-T0IHW1AE.js} +7 -6
  37. package/dist/{index-D01NwDB8.js → index-lVOXRKmX.js} +6 -6
  38. package/dist/{index-CxGJFuX5.cjs → index-p8kvWQcB.cjs} +1 -1
  39. package/dist/index.vue_vue_type_style_index_0_scoped_77dec451_lang-Dkmjs9OL.js +323 -0
  40. package/dist/index.vue_vue_type_style_index_0_scoped_77dec451_lang-OjfH_ai1.cjs +1 -0
  41. package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-Cik8OFj7.js → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-CfvOLf66.js} +6 -6
  42. package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-DH217tni.cjs → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-hQcO4G3D.cjs} +1 -1
  43. package/dist/{login-A-LN2ivr.js → login-CHT6C1Vj.js} +2 -2
  44. package/dist/{login-6xi181Q5.cjs → login-r5lwSdh7.cjs} +1 -1
  45. package/dist/{main-CfDsaDSE.cjs → main-BRvtxNr3.cjs} +1 -1
  46. package/dist/{main-DGayymHA.js → main-Cxk6qK49.js} +6 -6
  47. package/dist/{menu-BiId5weS.cjs → menu-BSR-Ri7w.cjs} +1 -1
  48. package/dist/{menu-Dk3VihkR.js → menu-DEXyI_6u.js} +1 -1
  49. package/dist/{modelComp-ChjHbjpK.cjs → modelComp-CvGBHmV7.cjs} +1 -1
  50. package/dist/{modelComp-BmaHE37I.js → modelComp-DHoOZEmE.js} +1 -1
  51. package/dist/ss-component.cjs +1 -1
  52. package/dist/ss-component.css +1 -1
  53. package/dist/ss-component.js +6 -6
  54. package/dist/ss-component2.cjs +1 -1
  55. package/dist/ss-component2.js +1 -1
  56. package/package.json +1 -1
  57. package/dist/array-0K26SSg4.cjs +0 -7
  58. package/dist/index-BpwVKq24.js +0 -333
  59. package/dist/index-CDx9lK-r.js +0 -327
  60. package/dist/index-DMXwpYH6.cjs +0 -1
  61. package/dist/index-DR-Tl8gC.cjs +0 -1
  62. package/dist/index-De3a9oEY.cjs +0 -1
  63. package/dist/index-q4qf3gNt.js +0 -627
  64. package/dist/index.vue_vue_type_style_index_0_scoped_77dec451_lang-D7-HhkPl.cjs +0 -1
  65. package/dist/index.vue_vue_type_style_index_0_scoped_77dec451_lang-DlcscNze.js +0 -238
@@ -1,14 +1,14 @@
1
- import { u as pl, s as il } from "./index-q4qf3gNt.js";
1
+ import { u as pl, s as il } from "./index-Bict7_aZ.js";
2
2
  import { ref as R, watch as Y, createElementBlock as Z, openBlock as M, createVNode as w, resolveComponent as Ie, createElementVNode as L, toDisplayString as W, withCtx as ne, createTextVNode as ae, Fragment as he, renderList as Ee, createBlock as De, resolveDynamicComponent as Se } from "vue";
3
- import { p as Ce } from "./index-g1lOxgn5.js";
4
- import { s as _e, f as fl, a as re, b as dl } from "./index-BWmd705R.js";
3
+ import { p as Ce } from "./index-BihRBmJZ.js";
4
+ import { s as _e, f as fl, a as re, b as dl } from "./index-T0IHW1AE.js";
5
5
  import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import { U as Ne, g as ve, a as Pe, i as Be, S as me, b as yl, c } from "./cloneDeep-BY7jbyTA.js";
6
+ import { U as Ne, g as ve, a as Pe, i as Be, S as me, b as yl, c } from "./cloneDeep-BTCUHYHf.js";
7
7
  import { _ as hl } from "./index.vue_vue_type_script_setup_true_lang-DQ2k4Z7D.js";
8
- import { M as ml, S as Fe, e as bl, i as Ue, a as je } from "./index-B5RsyhWe.js";
9
- import { s as qe, u as gl } from "./menu-Dk3VihkR.js";
10
- import "./index-BcFYdS3F.js";
11
- import { u as kl } from "./modelComp-BmaHE37I.js";
8
+ import { M as ml, S as Fe, e as gl, i as Ue, a as je } from "./index-ClVQkaWP.js";
9
+ import { s as qe, u as bl } from "./menu-DEXyI_6u.js";
10
+ import "./index-D4c_hqBU.js";
11
+ import { u as kl } from "./modelComp-DHoOZEmE.js";
12
12
  var Al = "__lodash_hash_undefined__";
13
13
  function $l(e) {
14
14
  return this.__data__.set(e, Al), this;
@@ -34,37 +34,37 @@ function Ol(e, t) {
34
34
  }
35
35
  var Tl = 1, xl = 2;
36
36
  function ze(e, t, n, l, s, a) {
37
- var u = n & Tl, h = e.length, A = t.length;
38
- if (h != A && !(u && A > h))
37
+ var u = n & Tl, h = e.length, _ = t.length;
38
+ if (h != _ && !(u && _ > h))
39
39
  return !1;
40
- var b = a.get(e), d = a.get(t);
41
- if (b && d)
42
- return b == t && d == e;
43
- var g = -1, C = !0, O = n & xl ? new de() : void 0;
40
+ var b = a.get(e), A = a.get(t);
41
+ if (b && A)
42
+ return b == t && A == e;
43
+ var g = -1, $ = !0, m = n & xl ? new de() : void 0;
44
44
  for (a.set(e, t), a.set(t, e); ++g < h; ) {
45
- var f = e[g], N = t[g];
45
+ var i = e[g], S = t[g];
46
46
  if (l)
47
- var o = u ? l(N, f, g, t, e, a) : l(f, N, g, e, t, a);
47
+ var o = u ? l(S, i, g, t, e, a) : l(i, S, g, e, t, a);
48
48
  if (o !== void 0) {
49
49
  if (o)
50
50
  continue;
51
- C = !1;
51
+ $ = !1;
52
52
  break;
53
53
  }
54
- if (O) {
54
+ if (m) {
55
55
  if (!_l(t, function(r, p) {
56
- if (!Ol(O, p) && (f === r || s(f, r, n, l, a)))
57
- return O.push(p);
56
+ if (!Ol(m, p) && (i === r || s(i, r, n, l, a)))
57
+ return m.push(p);
58
58
  })) {
59
- C = !1;
59
+ $ = !1;
60
60
  break;
61
61
  }
62
- } else if (!(f === N || s(f, N, n, l, a))) {
63
- C = !1;
62
+ } else if (!(i === S || s(i, S, n, l, a))) {
63
+ $ = !1;
64
64
  break;
65
65
  }
66
66
  }
67
- return a.delete(e), a.delete(t), C;
67
+ return a.delete(e), a.delete(t), $;
68
68
  }
69
69
  function El(e) {
70
70
  var t = -1, n = Array(e.size);
@@ -78,7 +78,7 @@ function Dl(e) {
78
78
  n[++t] = l;
79
79
  }), n;
80
80
  }
81
- var Sl = 1, Nl = 2, vl = "[object Boolean]", Pl = "[object Date]", Bl = "[object Error]", Fl = "[object Map]", Ul = "[object Number]", jl = "[object RegExp]", Jl = "[object Set]", Rl = "[object String]", Ll = "[object Symbol]", Gl = "[object ArrayBuffer]", wl = "[object DataView]", Je = Fe ? Fe.prototype : void 0, be = Je ? Je.valueOf : void 0;
81
+ var Sl = 1, Nl = 2, vl = "[object Boolean]", Pl = "[object Date]", Bl = "[object Error]", Fl = "[object Map]", Ul = "[object Number]", jl = "[object RegExp]", Jl = "[object Set]", Rl = "[object String]", Ll = "[object Symbol]", Gl = "[object ArrayBuffer]", wl = "[object DataView]", Je = Fe ? Fe.prototype : void 0, ge = Je ? Je.valueOf : void 0;
82
82
  function Ml(e, t, n, l, s, a, u) {
83
83
  switch (n) {
84
84
  case wl:
@@ -90,7 +90,7 @@ function Ml(e, t, n, l, s, a, u) {
90
90
  case vl:
91
91
  case Pl:
92
92
  case Ul:
93
- return bl(+e, +t);
93
+ return gl(+e, +t);
94
94
  case Bl:
95
95
  return e.name == t.name && e.message == t.message;
96
96
  case jl:
@@ -99,73 +99,73 @@ function Ml(e, t, n, l, s, a, u) {
99
99
  case Fl:
100
100
  var h = El;
101
101
  case Jl:
102
- var A = l & Sl;
103
- if (h || (h = Dl), e.size != t.size && !A)
102
+ var _ = l & Sl;
103
+ if (h || (h = Dl), e.size != t.size && !_)
104
104
  return !1;
105
105
  var b = u.get(e);
106
106
  if (b)
107
107
  return b == t;
108
108
  l |= Nl, u.set(e, t);
109
- var d = ze(h(e), h(t), l, s, a, u);
110
- return u.delete(e), d;
109
+ var A = ze(h(e), h(t), l, s, a, u);
110
+ return u.delete(e), A;
111
111
  case Ll:
112
- if (be)
113
- return be.call(e) == be.call(t);
112
+ if (ge)
113
+ return ge.call(e) == ge.call(t);
114
114
  }
115
115
  return !1;
116
116
  }
117
117
  var Wl = 1, Hl = Object.prototype, Zl = Hl.hasOwnProperty;
118
118
  function Il(e, t, n, l, s, a) {
119
- var u = n & Wl, h = ve(e), A = h.length, b = ve(t), d = b.length;
120
- if (A != d && !u)
119
+ var u = n & Wl, h = ve(e), _ = h.length, b = ve(t), A = b.length;
120
+ if (_ != A && !u)
121
121
  return !1;
122
- for (var g = A; g--; ) {
123
- var C = h[g];
124
- if (!(u ? C in t : Zl.call(t, C)))
122
+ for (var g = _; g--; ) {
123
+ var $ = h[g];
124
+ if (!(u ? $ in t : Zl.call(t, $)))
125
125
  return !1;
126
126
  }
127
- var O = a.get(e), f = a.get(t);
128
- if (O && f)
129
- return O == t && f == e;
130
- var N = !0;
127
+ var m = a.get(e), i = a.get(t);
128
+ if (m && i)
129
+ return m == t && i == e;
130
+ var S = !0;
131
131
  a.set(e, t), a.set(t, e);
132
- for (var o = u; ++g < A; ) {
133
- C = h[g];
134
- var r = e[C], p = t[C];
132
+ for (var o = u; ++g < _; ) {
133
+ $ = h[g];
134
+ var r = e[$], p = t[$];
135
135
  if (l)
136
- var _ = u ? l(p, r, C, t, e, a) : l(r, p, C, e, t, a);
137
- if (!(_ === void 0 ? r === p || s(r, p, n, l, a) : _)) {
138
- N = !1;
136
+ var O = u ? l(p, r, $, t, e, a) : l(r, p, $, e, t, a);
137
+ if (!(O === void 0 ? r === p || s(r, p, n, l, a) : O)) {
138
+ S = !1;
139
139
  break;
140
140
  }
141
- o || (o = C == "constructor");
141
+ o || (o = $ == "constructor");
142
142
  }
143
- if (N && !o) {
144
- var i = e.constructor, y = t.constructor;
145
- i != y && "constructor" in e && "constructor" in t && !(typeof i == "function" && i instanceof i && typeof y == "function" && y instanceof y) && (N = !1);
143
+ if (S && !o) {
144
+ var f = e.constructor, d = t.constructor;
145
+ f != d && "constructor" in e && "constructor" in t && !(typeof f == "function" && f instanceof f && typeof d == "function" && d instanceof d) && (S = !1);
146
146
  }
147
- return a.delete(e), a.delete(t), N;
147
+ return a.delete(e), a.delete(t), S;
148
148
  }
149
149
  var ql = 1, Re = "[object Arguments]", Le = "[object Array]", ce = "[object Object]", zl = Object.prototype, Ge = zl.hasOwnProperty;
150
150
  function Ql(e, t, n, l, s, a) {
151
- var u = Ue(e), h = Ue(t), A = u ? Le : Pe(e), b = h ? Le : Pe(t);
152
- A = A == Re ? ce : A, b = b == Re ? ce : b;
153
- var d = A == ce, g = b == ce, C = A == b;
154
- if (C && Be(e)) {
151
+ var u = Ue(e), h = Ue(t), _ = u ? Le : Pe(e), b = h ? Le : Pe(t);
152
+ _ = _ == Re ? ce : _, b = b == Re ? ce : b;
153
+ var A = _ == ce, g = b == ce, $ = _ == b;
154
+ if ($ && Be(e)) {
155
155
  if (!Be(t))
156
156
  return !1;
157
- u = !0, d = !1;
157
+ u = !0, A = !1;
158
158
  }
159
- if (C && !d)
160
- return a || (a = new me()), u || yl(e) ? ze(e, t, n, l, s, a) : Ml(e, t, A, n, l, s, a);
159
+ if ($ && !A)
160
+ return a || (a = new me()), u || yl(e) ? ze(e, t, n, l, s, a) : Ml(e, t, _, n, l, s, a);
161
161
  if (!(n & ql)) {
162
- var O = d && Ge.call(e, "__wrapped__"), f = g && Ge.call(t, "__wrapped__");
163
- if (O || f) {
164
- var N = O ? e.value() : e, o = f ? t.value() : t;
165
- return a || (a = new me()), s(N, o, n, l, a);
162
+ var m = A && Ge.call(e, "__wrapped__"), i = g && Ge.call(t, "__wrapped__");
163
+ if (m || i) {
164
+ var S = m ? e.value() : e, o = i ? t.value() : t;
165
+ return a || (a = new me()), s(S, o, n, l, a);
166
166
  }
167
167
  }
168
- return C ? (a || (a = new me()), Il(e, t, n, l, s, a)) : !1;
168
+ return $ ? (a || (a = new me()), Il(e, t, n, l, s, a)) : !1;
169
169
  }
170
170
  function Qe(e, t, n, l, s) {
171
171
  return e === t ? !0 : e == null || t == null || !je(e) && !je(t) ? e !== e && t !== t : Ql(e, t, n, l, Qe, s);
@@ -205,66 +205,66 @@ const ue = [
205
205
  },
206
206
  emits: ["change", "contentChange"],
207
207
  setup(e, { emit: t }) {
208
- const n = e, l = t, s = R([]), a = R(!1), u = R([]), h = pl(Ce), A = R(), b = (g) => {
209
- var o, r, p, _;
210
- const C = (r = (o = c(n.itemData)) == null ? void 0 : o.find((i) => (i == null ? void 0 : i.key) === "formContent")) == null ? void 0 : r.contents, O = c(g.content);
211
- let f = {};
212
- O && ((p = Object.values(O)) == null ? void 0 : p.length) > 0 && ((_ = Object.values(O)) == null || _.forEach((i, y) => {
213
- f[C[y].key] = i;
208
+ const n = e, l = t, s = R([]), a = R(!1), u = R([]), h = pl(Ce), _ = R(), b = (g) => {
209
+ var o, r, p, O;
210
+ const $ = (r = (o = c(n.itemData)) == null ? void 0 : o.find((f) => (f == null ? void 0 : f.key) === "formContent")) == null ? void 0 : r.contents, m = c(g.content);
211
+ let i = {};
212
+ m && ((p = Object.values(m)) == null ? void 0 : p.length) > 0 && ((O = Object.values(m)) == null || O.forEach((f, d) => {
213
+ i[$[d].key] = f;
214
214
  }));
215
- const N = {
216
- content: f,
215
+ const S = {
216
+ content: i,
217
217
  index: n == null ? void 0 : n.index,
218
218
  buttonName: g == null ? void 0 : g.buttonName
219
219
  };
220
- l("change", N);
221
- }, d = (g) => {
222
- var f, N;
220
+ l("change", S);
221
+ }, A = (g) => {
222
+ var i, S;
223
223
  if (!g) return;
224
- if (((f = Object.values(c(g))) == null ? void 0 : f.length) > 0) {
225
- const o = (N = Object.values(c(g))) == null ? void 0 : N.map((p) => p);
224
+ if (((i = Object.values(c(g))) == null ? void 0 : i.length) > 0) {
225
+ const o = (S = Object.values(c(g))) == null ? void 0 : S.map((p) => p);
226
226
  let r = "";
227
227
  o == null || o.forEach((p) => {
228
228
  p !== "" && p !== void 0 && (r = r === "" ? p : r + "/" + p);
229
229
  }), h.setSelectArray(o), h.setSelectString(r);
230
230
  }
231
- const C = c(n.itemData), O = C == null ? void 0 : C.map((o) => {
231
+ const $ = c(n.itemData), m = $ == null ? void 0 : $.map((o) => {
232
232
  var r;
233
- return (o == null ? void 0 : o.key) === "formContent" && ((r = o.contents) == null || r.map((p, _) => {
234
- var i, y, k, T, D, S, $, E, x, P, B, F, v, m, U, G, q, z, Q;
235
- return p.type = p != null && p.type ? p.type : (T = (k = (y = (i = p == null ? void 0 : p.key) == null ? void 0 : i.split("$")) == null ? void 0 : y[1]) == null ? void 0 : k.split("(")) != null && T[0] ? (D = ue == null ? void 0 : ue.find((I) => {
233
+ return (o == null ? void 0 : o.key) === "formContent" && ((r = o.contents) == null || r.map((p, O) => {
234
+ var f, d, k, T, D, N, C, E, x, P, B, F, v, y, U, G, q, z, Q;
235
+ return p.type = p != null && p.type ? p.type : (T = (k = (d = (f = p == null ? void 0 : p.key) == null ? void 0 : f.split("$")) == null ? void 0 : d[1]) == null ? void 0 : k.split("(")) != null && T[0] ? (D = ue == null ? void 0 : ue.find((I) => {
236
236
  var te, K, H, oe;
237
237
  return (I == null ? void 0 : I.key) === ((oe = (H = (K = (te = p == null ? void 0 : p.key) == null ? void 0 : te.split("$")) == null ? void 0 : K[1]) == null ? void 0 : H.split("(")) == null ? void 0 : oe[0]);
238
- })) == null ? void 0 : D.value : "Input", p.options = p != null && p.options ? p.options : ((E = ($ = (S = p == null ? void 0 : p.key) == null ? void 0 : S.split("$")) == null ? void 0 : $[1]) == null ? void 0 : E.length) > 0 ? (F = (B = fl((P = (x = p == null ? void 0 : p.key) == null ? void 0 : x.split("$")) == null ? void 0 : P[1])) == null ? void 0 : B.split(",")) == null ? void 0 : F.map((I) => ({
238
+ })) == null ? void 0 : D.value : "Input", p.options = p != null && p.options ? p.options : ((E = (C = (N = p == null ? void 0 : p.key) == null ? void 0 : N.split("$")) == null ? void 0 : C[1]) == null ? void 0 : E.length) > 0 ? (F = (B = fl((P = (x = p == null ? void 0 : p.key) == null ? void 0 : x.split("$")) == null ? void 0 : P[1])) == null ? void 0 : B.split(",")) == null ? void 0 : F.map((I) => ({
239
239
  label: I,
240
240
  value: I
241
- })) : [], (v = p == null ? void 0 : p.key) != null && v.includes("$") && (p.key = (U = (m = p == null ? void 0 : p.key) == null ? void 0 : m.split("$")) == null ? void 0 : U[0]), p.value = p != null && p.value ? p.value : Array.isArray((G = Object.values(g)) == null ? void 0 : G[_]) ? (z = (q = Object.values(g)) == null ? void 0 : q[_]) == null ? void 0 : z[0] : (Q = Object.values(g)) == null ? void 0 : Q[_], p;
241
+ })) : [], (v = p == null ? void 0 : p.key) != null && v.includes("$") && (p.key = (U = (y = p == null ? void 0 : p.key) == null ? void 0 : y.split("$")) == null ? void 0 : U[0]), p.value = p != null && p.value ? p.value : Array.isArray((G = Object.values(g)) == null ? void 0 : G[O]) ? (z = (q = Object.values(g)) == null ? void 0 : q[O]) == null ? void 0 : z[0] : (Q = Object.values(g)) == null ? void 0 : Q[O], p;
242
242
  })), o;
243
243
  });
244
244
  l("contentChange", {
245
- contents: O,
245
+ contents: m,
246
246
  index: n.index
247
247
  });
248
248
  };
249
249
  return Y(
250
250
  () => n.itemData,
251
251
  () => {
252
- var N, o, r, p, _, i, y, k, T, D;
253
- const g = (N = c(n.itemData)) == null ? void 0 : N.find((S) => (S == null ? void 0 : S.key) === "formContent"), C = (o = c(n.itemData)) == null ? void 0 : o.find((S) => (S == null ? void 0 : S.key) === "formButton"), O = (r = c(n.itemData)) == null ? void 0 : r.find((S) => (S == null ? void 0 : S.key) === "formFlex"), f = (p = c(n.itemData)) == null ? void 0 : p.find((S) => (S == null ? void 0 : S.key) === "formWrap");
254
- if ((f == null ? void 0 : f.contents) === "纵向" ? a.value = !1 : a.value = !0, A.value = typeof (O == null ? void 0 : O.contents) != "boolean" ? !(!(O != null && O.contents) === "" || ((_ = O == null ? void 0 : O.contents) == null ? void 0 : _.toUpperCase()) === "VERTICAL") : O == null ? void 0 : O.contents, ((i = g == null ? void 0 : g.contents) == null ? void 0 : i.length) > 0 && Array.isArray(g == null ? void 0 : g.contents)) {
255
- const S = [];
256
- (y = g == null ? void 0 : g.contents) == null || y.forEach((x, P) => {
257
- var B, F, v, m, U, G, q, z, Q, I;
252
+ var S, o, r, p, O, f, d, k, T, D;
253
+ const g = (S = c(n.itemData)) == null ? void 0 : S.find((N) => (N == null ? void 0 : N.key) === "formContent"), $ = (o = c(n.itemData)) == null ? void 0 : o.find((N) => (N == null ? void 0 : N.key) === "formButton"), m = (r = c(n.itemData)) == null ? void 0 : r.find((N) => (N == null ? void 0 : N.key) === "formFlex"), i = (p = c(n.itemData)) == null ? void 0 : p.find((N) => (N == null ? void 0 : N.key) === "formWrap");
254
+ if ((i == null ? void 0 : i.contents) === "纵向" ? a.value = !1 : a.value = !0, _.value = typeof (m == null ? void 0 : m.contents) != "boolean" ? !(!(m != null && m.contents) === "" || ((O = m == null ? void 0 : m.contents) == null ? void 0 : O.toUpperCase()) === "VERTICAL") : m == null ? void 0 : m.contents, ((f = g == null ? void 0 : g.contents) == null ? void 0 : f.length) > 0 && Array.isArray(g == null ? void 0 : g.contents)) {
255
+ const N = [];
256
+ (d = g == null ? void 0 : g.contents) == null || d.forEach((x, P) => {
257
+ var B, F, v, y, U, G, q, z, Q, I;
258
258
  if ((x == null ? void 0 : x.label) !== "") {
259
259
  let te = (x == null ? void 0 : x.key) ?? "", K = (x == null ? void 0 : x.type) ?? "", H = (x == null ? void 0 : x.options) ?? [];
260
- if ((B = x == null ? void 0 : x.key) != null && B.includes("$") && (te = (F = c(x == null ? void 0 : x.key).split("$")) == null ? void 0 : F[0], ((m = (v = c(x == null ? void 0 : x.key).split("$")) == null ? void 0 : v[1]) == null ? void 0 : m.length) > 0)) {
260
+ if ((B = x == null ? void 0 : x.key) != null && B.includes("$") && (te = (F = c(x == null ? void 0 : x.key).split("$")) == null ? void 0 : F[0], ((y = (v = c(x == null ? void 0 : x.key).split("$")) == null ? void 0 : v[1]) == null ? void 0 : y.length) > 0)) {
261
261
  const [oe, V] = (G = (U = c(x == null ? void 0 : x.key).split("$")) == null ? void 0 : U[1]) == null ? void 0 : G.split(/[()]/);
262
262
  K = ((q = ue.find((ee) => (ee == null ? void 0 : ee.key) === oe)) == null ? void 0 : q.value) ?? "", ((z = V == null ? void 0 : V.split(",")) == null ? void 0 : z.length) > 0 && (H = (Q = V == null ? void 0 : V.split(",")) == null ? void 0 : Q.map((ee) => ({
263
263
  label: ee,
264
264
  value: ee
265
265
  })));
266
266
  }
267
- S.push({
267
+ N.push({
268
268
  label: te ?? "",
269
269
  name: "t" + P,
270
270
  type: K === "" ? "Input" : K,
@@ -275,35 +275,35 @@ const ue = [
275
275
  });
276
276
  }
277
277
  });
278
- const $ = (k = c(S)) == null ? void 0 : k.map((x) => x.value);
278
+ const C = (k = c(N)) == null ? void 0 : k.map((x) => x.value);
279
279
  let E = "";
280
- $ == null || $.forEach((x) => {
280
+ C == null || C.forEach((x) => {
281
281
  x !== "" && x !== void 0 && (E = E === "" ? x : E + "/" + x);
282
- }), h.setSelectArray($), h.setSelectString(E), s.value = S;
282
+ }), h.setSelectArray(C), h.setSelectString(E), s.value = N;
283
283
  } else
284
284
  s.value = [];
285
- if (((T = C == null ? void 0 : C.contents) == null ? void 0 : T.length) > 0) {
286
- const S = [];
287
- (D = C == null ? void 0 : C.contents) == null || D.forEach(($, E) => {
288
- ($ == null ? void 0 : $.label) !== "" && S.push({
289
- label: ($ == null ? void 0 : $.label) ?? "",
290
- id: ($ == null ? void 0 : $.id) ?? E,
291
- type: ($ == null ? void 0 : $.type) ?? "",
292
- background: $ == null ? void 0 : $.background
285
+ if (((T = $ == null ? void 0 : $.contents) == null ? void 0 : T.length) > 0) {
286
+ const N = [];
287
+ (D = $ == null ? void 0 : $.contents) == null || D.forEach((C, E) => {
288
+ (C == null ? void 0 : C.label) !== "" && N.push({
289
+ label: (C == null ? void 0 : C.label) ?? "",
290
+ id: (C == null ? void 0 : C.id) ?? E,
291
+ type: (C == null ? void 0 : C.type) ?? "",
292
+ background: C == null ? void 0 : C.background
293
293
  });
294
- }), u.value = S;
294
+ }), u.value = N;
295
295
  } else
296
296
  u.value = [];
297
297
  },
298
298
  { deep: !0, immediate: !0 }
299
- ), (g, C) => (M(), Z("div", Yl, [
299
+ ), (g, $) => (M(), Z("div", Yl, [
300
300
  w(_e, {
301
301
  rowContents: s.value,
302
302
  buttonValue: u.value,
303
- isRowFlex: A.value,
303
+ isRowFlex: _.value,
304
304
  isEnableWrap: !1,
305
305
  onOnButtonClick: b,
306
- onChange: d,
306
+ onChange: A,
307
307
  isButtonRow: a.value
308
308
  }, null, 8, ["rowContents", "buttonValue", "isRowFlex", "isButtonRow"])
309
309
  ]));
@@ -340,7 +340,7 @@ const ue = [
340
340
  prop: "operate",
341
341
  type: "operate",
342
342
  sortable: !1
343
- }]), A = R([{
343
+ }]), _ = R([{
344
344
  label: "标签名称",
345
345
  prop: "label",
346
346
  type: "edit"
@@ -358,12 +358,12 @@ const ue = [
358
358
  prop: "operate",
359
359
  type: "operate",
360
360
  sortable: !1
361
- }]), b = R([]), d = R(0), g = R([{
361
+ }]), b = R([]), A = R(0), g = R([{
362
362
  name: "isPagination",
363
363
  label: "是否显示分页",
364
364
  type: "Switch",
365
365
  value: !0
366
- }]), C = [{
366
+ }]), $ = [{
367
367
  label: "标签名",
368
368
  prop: "label",
369
369
  type: "edit"
@@ -435,50 +435,50 @@ const ue = [
435
435
  prop: "operate",
436
436
  type: "operate",
437
437
  sortable: !1
438
- }], O = (i) => {
439
- let y = c(s.value);
440
- const k = y == null ? void 0 : y.find((T) => T.key === "page");
441
- (k == null ? void 0 : k.contents) !== void 0 ? y = y == null ? void 0 : y.map((T) => ((T == null ? void 0 : T.key) === "page" && (T.contents = i == null ? void 0 : i.isPagination), T)) : y.push({
438
+ }], m = (f) => {
439
+ let d = c(s.value);
440
+ const k = d == null ? void 0 : d.find((T) => T.key === "page");
441
+ (k == null ? void 0 : k.contents) !== void 0 ? d = d == null ? void 0 : d.map((T) => ((T == null ? void 0 : T.key) === "page" && (T.contents = f == null ? void 0 : f.isPagination), T)) : d.push({
442
442
  key: "page",
443
- contents: i == null ? void 0 : i.isPagination
444
- }), s.value = y;
443
+ contents: f == null ? void 0 : f.isPagination
444
+ }), s.value = d;
445
445
  };
446
446
  Y(
447
447
  () => n.originalItemContents,
448
448
  () => {
449
- var i, y, k, T, D, S, $, E, x, P, B, F, v;
450
- !n.originalItemContents || n.originalItemContents.length === 0 || (s.value = c(n.originalItemContents), a.value = (y = (i = s.value) == null ? void 0 : i.find((m) => (m == null ? void 0 : m.key) === "header")) == null ? void 0 : y.contents, u.value = (T = (k = s.value) == null ? void 0 : k.find((m) => (m == null ? void 0 : m.key) === "rowButton")) == null ? void 0 : T.contents, h.value = (S = (D = s.value) == null ? void 0 : D.find((m) => (m == null ? void 0 : m.key) === "extraButton")) == null ? void 0 : S.contents, g.value = (E = ($ = s.value) == null ? void 0 : $.find((m) => (m == null ? void 0 : m.key) === "page")) != null && E.contents ? [{
449
+ var f, d, k, T, D, N, C, E, x, P, B, F, v;
450
+ !n.originalItemContents || n.originalItemContents.length === 0 || (s.value = c(n.originalItemContents), a.value = (d = (f = s.value) == null ? void 0 : f.find((y) => (y == null ? void 0 : y.key) === "header")) == null ? void 0 : d.contents, u.value = (T = (k = s.value) == null ? void 0 : k.find((y) => (y == null ? void 0 : y.key) === "rowButton")) == null ? void 0 : T.contents, h.value = (N = (D = s.value) == null ? void 0 : D.find((y) => (y == null ? void 0 : y.key) === "extraButton")) == null ? void 0 : N.contents, g.value = (E = (C = s.value) == null ? void 0 : C.find((y) => (y == null ? void 0 : y.key) === "page")) != null && E.contents ? [{
451
451
  name: "isPagination",
452
452
  label: "是否显示分页",
453
453
  type: "Switch",
454
- value: (P = (x = s.value) == null ? void 0 : x.find((m) => (m == null ? void 0 : m.key) === "page")) == null ? void 0 : P.contents
454
+ value: (P = (x = s.value) == null ? void 0 : x.find((y) => (y == null ? void 0 : y.key) === "page")) == null ? void 0 : P.contents
455
455
  }] : [{
456
456
  name: "isPagination",
457
457
  label: "是否显示分页",
458
458
  type: "Switch",
459
459
  value: !0
460
- }], a.value = (B = a.value) == null ? void 0 : B.map((m, U) => m = {
461
- label: (m == null ? void 0 : m.label) ?? "",
462
- prop: (m == null ? void 0 : m.label) === "操作" ? "operate" : m == null ? void 0 : m.prop,
463
- width: m != null && m.width ? parseInt(m.width) : "",
464
- fixed: (m == null ? void 0 : m.fixed) ?? void 0,
465
- sortable: (m == null ? void 0 : m.sortable) ?? !1,
466
- align: (m == null ? void 0 : m.align) ?? "center",
467
- showOverflowTooltip: (m == null ? void 0 : m.showOverflowTooltip) ?? !0,
468
- isNotDrag: (m == null ? void 0 : m.isNotDrag) ?? !1,
469
- isEditCol: (m == null ? void 0 : m.isEditCol) ?? !1,
470
- isOperate: (m == null ? void 0 : m.isOperate) ?? !1,
471
- id: (m == null ? void 0 : m.id) ?? U
472
- }), u.value = (F = u.value) == null ? void 0 : F.map((m, U) => m = {
473
- label: (m == null ? void 0 : m.label) ?? "",
474
- type: (m == null ? void 0 : m.type) ?? "",
475
- textColor: (m == null ? void 0 : m.textColor) ?? "#000000",
476
- id: (m == null ? void 0 : m.id) ?? U
477
- }), h.value = (v = h.value) == null ? void 0 : v.map((m, U) => m = {
478
- label: (m == null ? void 0 : m.label) ?? "",
479
- type: (m == null ? void 0 : m.type) ?? "",
480
- background: (m == null ? void 0 : m.textColor) ?? "#FFFFFF",
481
- id: (m == null ? void 0 : m.id) ?? U
460
+ }], a.value = (B = a.value) == null ? void 0 : B.map((y, U) => y = {
461
+ label: (y == null ? void 0 : y.label) ?? "",
462
+ prop: (y == null ? void 0 : y.label) === "操作" ? "operate" : y == null ? void 0 : y.prop,
463
+ width: y != null && y.width ? parseInt(y.width) : "",
464
+ fixed: (y == null ? void 0 : y.fixed) ?? void 0,
465
+ sortable: (y == null ? void 0 : y.sortable) ?? !1,
466
+ align: (y == null ? void 0 : y.align) ?? "center",
467
+ showOverflowTooltip: (y == null ? void 0 : y.showOverflowTooltip) ?? !0,
468
+ isNotDrag: (y == null ? void 0 : y.isNotDrag) ?? !1,
469
+ isEditCol: (y == null ? void 0 : y.isEditCol) ?? !1,
470
+ isOperate: (y == null ? void 0 : y.isOperate) ?? !1,
471
+ id: (y == null ? void 0 : y.id) ?? U
472
+ }), u.value = (F = u.value) == null ? void 0 : F.map((y, U) => y = {
473
+ label: (y == null ? void 0 : y.label) ?? "",
474
+ type: (y == null ? void 0 : y.type) ?? "",
475
+ textColor: (y == null ? void 0 : y.textColor) ?? "#000000",
476
+ id: (y == null ? void 0 : y.id) ?? U
477
+ }), h.value = (v = h.value) == null ? void 0 : v.map((y, U) => y = {
478
+ label: (y == null ? void 0 : y.label) ?? "",
479
+ type: (y == null ? void 0 : y.type) ?? "",
480
+ background: (y == null ? void 0 : y.textColor) ?? "#FFFFFF",
481
+ id: (y == null ? void 0 : y.id) ?? U
482
482
  }));
483
483
  },
484
484
  { deep: !0, immediate: !0 }
@@ -486,22 +486,22 @@ const ue = [
486
486
  () => g.value,
487
487
  () => {
488
488
  var k;
489
- let i = c(s.value);
490
- const y = i == null ? void 0 : i.find((T) => T.key === "page");
491
- y != null && y.contents ? i = i == null ? void 0 : i.map((T) => {
489
+ let f = c(s.value);
490
+ const d = f == null ? void 0 : f.find((T) => T.key === "page");
491
+ d != null && d.contents ? f = f == null ? void 0 : f.map((T) => {
492
492
  var D;
493
493
  return (T == null ? void 0 : T.key) === "page" && (T.contents = (D = g.value) == null ? void 0 : D[0].value), T;
494
- }) : i.push({
494
+ }) : f.push({
495
495
  key: "page",
496
496
  contents: (k = g.value) == null ? void 0 : k[0].value
497
- }), s.value = i;
497
+ }), s.value = f;
498
498
  },
499
499
  { immediate: !0, deep: !0 }
500
500
  );
501
- const f = () => {
502
- const i = c(a.value);
503
- let y = c(s.value);
504
- i.push({
501
+ const i = () => {
502
+ const f = c(a.value);
503
+ let d = c(s.value);
504
+ f.push({
505
505
  label: "",
506
506
  prop: "",
507
507
  width: "",
@@ -512,83 +512,83 @@ const ue = [
512
512
  isNotDrag: !1,
513
513
  isEditCol: !1,
514
514
  isOperate: !1,
515
- id: d.value
516
- }), a.value = i, d.value++;
517
- const k = y == null ? void 0 : y.find((T) => (T == null ? void 0 : T.key) === "header");
518
- k != null && k.contents ? (k.contents = i, y = y == null ? void 0 : y.map((T) => ((T == null ? void 0 : T.key) === "header" && (T.contents = i), T))) : y.push({
515
+ id: A.value
516
+ }), a.value = f, A.value++;
517
+ const k = d == null ? void 0 : d.find((T) => (T == null ? void 0 : T.key) === "header");
518
+ k != null && k.contents ? (k.contents = f, d = d == null ? void 0 : d.map((T) => ((T == null ? void 0 : T.key) === "header" && (T.contents = f), T))) : d.push({
519
519
  key: "header",
520
- contents: i
521
- }), s.value = y;
522
- }, N = () => {
523
- const i = c(u.value);
524
- let y = c(s.value);
525
- i.push({
520
+ contents: f
521
+ }), s.value = d;
522
+ }, S = () => {
523
+ const f = c(u.value);
524
+ let d = c(s.value);
525
+ f.push({
526
526
  label: "",
527
527
  type: "",
528
528
  textColor: "#000000",
529
- id: d.value
530
- }), u.value = i, d.value++;
531
- const k = y == null ? void 0 : y.find((T) => (T == null ? void 0 : T.key) === "rowButton");
532
- k != null && k.contents ? (k.contents = i, y = y == null ? void 0 : y.map((T) => ((T == null ? void 0 : T.key) === "rowButton" && (T.contents = i), T))) : y.push({
529
+ id: A.value
530
+ }), u.value = f, A.value++;
531
+ const k = d == null ? void 0 : d.find((T) => (T == null ? void 0 : T.key) === "rowButton");
532
+ k != null && k.contents ? (k.contents = f, d = d == null ? void 0 : d.map((T) => ((T == null ? void 0 : T.key) === "rowButton" && (T.contents = f), T))) : d.push({
533
533
  key: "rowButton",
534
- contents: i
535
- }), s.value = y;
534
+ contents: f
535
+ }), s.value = d;
536
536
  }, o = () => {
537
- const i = c(b.value);
538
- let y = c(s.value);
539
- i.push({
537
+ const f = c(b.value);
538
+ let d = c(s.value);
539
+ f.push({
540
540
  label: "",
541
541
  type: "",
542
542
  background: "#FFFFFF",
543
- id: d.value
544
- }), b.value = i, d.value++;
545
- const k = y == null ? void 0 : y.find((T) => (T == null ? void 0 : T.key) === "extraButton");
546
- k != null && k.contents ? (k.contents = i, y = y == null ? void 0 : y.map((T) => ((T == null ? void 0 : T.key) === "extraButton" && (T.contents = i), T))) : y.push({
543
+ id: A.value
544
+ }), b.value = f, A.value++;
545
+ const k = d == null ? void 0 : d.find((T) => (T == null ? void 0 : T.key) === "extraButton");
546
+ k != null && k.contents ? (k.contents = f, d = d == null ? void 0 : d.map((T) => ((T == null ? void 0 : T.key) === "extraButton" && (T.contents = f), T))) : d.push({
547
547
  key: "extraButton",
548
- contents: i
549
- }), s.value = y;
550
- }, r = (i) => {
551
- const y = c(u.value);
548
+ contents: f
549
+ }), s.value = d;
550
+ }, r = (f) => {
551
+ const d = c(u.value);
552
552
  let k = c(s.value);
553
- u.value = y.filter((D) => D.id !== i.id);
553
+ u.value = d.filter((D) => D.id !== f.id);
554
554
  const T = k == null ? void 0 : k.find((D) => D.key === "rowButton");
555
- T != null && T.contents && (k = k == null ? void 0 : k.map((D) => ((D == null ? void 0 : D.key) === "rowButton" && (D.contents = y.filter((S) => S.id !== i.id)), D))), s.value = k;
556
- }, p = (i) => {
557
- const y = c(b.value);
555
+ T != null && T.contents && (k = k == null ? void 0 : k.map((D) => ((D == null ? void 0 : D.key) === "rowButton" && (D.contents = d.filter((N) => N.id !== f.id)), D))), s.value = k;
556
+ }, p = (f) => {
557
+ const d = c(b.value);
558
558
  let k = c(s.value);
559
- b.value = y.filter((D) => D.id !== i.id);
559
+ b.value = d.filter((D) => D.id !== f.id);
560
560
  const T = k == null ? void 0 : k.find((D) => D.key === "extraButton");
561
- T != null && T.contents && (k = k == null ? void 0 : k.map((D) => ((D == null ? void 0 : D.key) === "extraButton" && (D.contents = y.filter((S) => S.id !== i.id)), D))), s.value = k;
562
- }, _ = (i) => {
563
- const y = c(a.value);
561
+ T != null && T.contents && (k = k == null ? void 0 : k.map((D) => ((D == null ? void 0 : D.key) === "extraButton" && (D.contents = d.filter((N) => N.id !== f.id)), D))), s.value = k;
562
+ }, O = (f) => {
563
+ const d = c(a.value);
564
564
  let k = c(s.value);
565
- a.value = y.filter((D) => D.id !== i.id);
565
+ a.value = d.filter((D) => D.id !== f.id);
566
566
  const T = k == null ? void 0 : k.find((D) => D.key === "header");
567
- T != null && T.contents && (k = k == null ? void 0 : k.map((D) => ((D == null ? void 0 : D.key) === "header" && (D.contents = y.filter((S) => S.id !== i.id)), D))), s.value = k;
567
+ T != null && T.contents && (k = k == null ? void 0 : k.map((D) => ((D == null ? void 0 : D.key) === "header" && (D.contents = d.filter((N) => N.id !== f.id)), D))), s.value = k;
568
568
  };
569
569
  return Y(
570
570
  () => [s.value, a.value],
571
571
  () => {
572
- let i = c(s.value);
573
- const y = i == null ? void 0 : i.find((k) => (k == null ? void 0 : k.key) === "header");
574
- y != null && y.contents ? (y.contents = a.value, i = i == null ? void 0 : i.map((k) => ((k == null ? void 0 : k.key) === "header" && (k.contents = a.value), k))) : i.push({
572
+ let f = c(s.value);
573
+ const d = f == null ? void 0 : f.find((k) => (k == null ? void 0 : k.key) === "header");
574
+ d != null && d.contents ? (d.contents = a.value, f = f == null ? void 0 : f.map((k) => ((k == null ? void 0 : k.key) === "header" && (k.contents = a.value), k))) : f.push({
575
575
  key: "header",
576
576
  contents: a.value
577
- }), l("change", i);
577
+ }), l("change", f);
578
578
  },
579
579
  { deep: !0, immediate: !0 }
580
- ), (i, y) => {
580
+ ), (f, d) => {
581
581
  const k = Ie("el-button");
582
582
  return M(), Z("div", en, [
583
583
  L("div", ln, [
584
584
  L("div", nn, [
585
- y[1] || (y[1] = L("div", null, W("表头"), -1)),
585
+ d[1] || (d[1] = L("div", null, W("表头"), -1)),
586
586
  w(k, {
587
587
  class: "blue-operate-button",
588
588
  icon: "ele-Plus",
589
- onClick: f
589
+ onClick: i
590
590
  }, {
591
- default: ne(() => y[0] || (y[0] = [
591
+ default: ne(() => d[0] || (d[0] = [
592
592
  ae(W("新建"))
593
593
  ])),
594
594
  _: 1,
@@ -597,22 +597,22 @@ const ue = [
597
597
  ]),
598
598
  L("div", tn, [
599
599
  w(re, {
600
- columns: C,
600
+ columns: $,
601
601
  isShowPagination: !1,
602
602
  isShowEdit: !1,
603
603
  isMoveColumn: !1,
604
604
  tableData: a.value,
605
- onDeleteRow: _
605
+ onDeleteRow: O
606
606
  }, null, 8, ["tableData"])
607
607
  ]),
608
608
  L("div", sn, [
609
- y[3] || (y[3] = L("div", null, W("行内按钮"), -1)),
609
+ d[3] || (d[3] = L("div", null, W("行内按钮"), -1)),
610
610
  w(k, {
611
611
  class: "blue-operate-button",
612
612
  icon: "ele-Plus",
613
- onClick: N
613
+ onClick: S
614
614
  }, {
615
- default: ne(() => y[2] || (y[2] = [
615
+ default: ne(() => d[2] || (d[2] = [
616
616
  ae(W("新建"))
617
617
  ])),
618
618
  _: 1,
@@ -621,7 +621,7 @@ const ue = [
621
621
  ]),
622
622
  L("div", an, [
623
623
  w(re, {
624
- columns: A.value,
624
+ columns: _.value,
625
625
  isShowPagination: !1,
626
626
  isShowEdit: !1,
627
627
  isMoveColumn: !1,
@@ -630,13 +630,13 @@ const ue = [
630
630
  }, null, 8, ["columns", "tableData"])
631
631
  ]),
632
632
  L("div", rn, [
633
- y[5] || (y[5] = L("div", null, W("表格外部按钮"), -1)),
633
+ d[5] || (d[5] = L("div", null, W("表格外部按钮"), -1)),
634
634
  w(k, {
635
635
  class: "blue-operate-button",
636
636
  icon: "ele-Plus",
637
637
  onClick: o
638
638
  }, {
639
- default: ne(() => y[4] || (y[4] = [
639
+ default: ne(() => d[4] || (d[4] = [
640
640
  ae(W("新建"))
641
641
  ])),
642
642
  _: 1,
@@ -653,20 +653,20 @@ const ue = [
653
653
  onDeleteRow: p
654
654
  }, null, 8, ["columns", "tableData"])
655
655
  ]),
656
- y[6] || (y[6] = L("div", { class: "operate-title" }, [
656
+ d[6] || (d[6] = L("div", { class: "operate-title" }, [
657
657
  L("div", null, W("分页"))
658
658
  ], -1)),
659
659
  L("div", cn, [
660
660
  w(_e, {
661
661
  rowContents: g.value,
662
- onChange: O
662
+ onChange: m
663
663
  }, null, 8, ["rowContents"])
664
664
  ])
665
665
  ])
666
666
  ]);
667
667
  };
668
668
  }
669
- }, pn = /* @__PURE__ */ ye(un, [["__scopeId", "data-v-877911eb"]]), fn = { class: "form-operate-content" }, dn = { class: "form-operate-item" }, yn = { class: "operate-title" }, hn = { class: "operate-content" }, mn = { class: "operate-title" }, bn = { class: "operate-content" }, gn = { class: "operate-content" }, kn = {
669
+ }, pn = /* @__PURE__ */ ye(un, [["__scopeId", "data-v-877911eb"]]), fn = { class: "form-operate-content" }, dn = { class: "form-operate-item" }, yn = { class: "operate-title" }, hn = { class: "operate-content" }, mn = { class: "operate-title" }, gn = { class: "operate-content" }, bn = { class: "operate-content" }, kn = {
670
670
  __name: "operate",
671
671
  props: {
672
672
  itemContents: {
@@ -724,27 +724,27 @@ const ue = [
724
724
  prop: "operate",
725
725
  type: "operate",
726
726
  sortable: !1
727
- }]), h = R([]), A = R([]), b = R([]), d = R(0);
727
+ }]), h = R([]), _ = R([]), b = R([]), A = R(0);
728
728
  Y(
729
729
  () => n.originalItemContents,
730
730
  () => {
731
- var o, r, p, _, i, y, k, T, D, S;
732
- !n.originalItemContents || n.originalItemContents.length === 0 || (A.value = c(n.originalItemContents), b.value = (r = (o = A.value) == null ? void 0 : o.find(($) => ($ == null ? void 0 : $.key) === "formContent")) == null ? void 0 : r.contents, h.value = (_ = (p = A.value) == null ? void 0 : p.find(($) => ($ == null ? void 0 : $.key) === "formButton")) == null ? void 0 : _.contents, b.value = (i = b.value) == null ? void 0 : i.map(($, E) => $ = {
733
- label: ($ == null ? void 0 : $.label) ?? "",
734
- type: ($ == null ? void 0 : $.type) ?? "",
735
- key: ($ == null ? void 0 : $.key) ?? "",
736
- options: ($ == null ? void 0 : $.options) ?? "",
737
- id: ($ == null ? void 0 : $.id) ?? E
738
- }), h.value = (y = h.value) == null ? void 0 : y.map(($, E) => $ = {
739
- label: ($ == null ? void 0 : $.label) ?? "",
740
- type: ($ == null ? void 0 : $.type) ?? "",
741
- background: ($ == null ? void 0 : $.background) ?? "#000000",
742
- id: ($ == null ? void 0 : $.id) ?? E
743
- }), s.value = (T = (k = A.value) == null ? void 0 : k.find(($) => ($ == null ? void 0 : $.key) === "formFlex")) != null && T.contents ? [{
731
+ var o, r, p, O, f, d, k, T, D, N;
732
+ !n.originalItemContents || n.originalItemContents.length === 0 || (_.value = c(n.originalItemContents), b.value = (r = (o = _.value) == null ? void 0 : o.find((C) => (C == null ? void 0 : C.key) === "formContent")) == null ? void 0 : r.contents, h.value = (O = (p = _.value) == null ? void 0 : p.find((C) => (C == null ? void 0 : C.key) === "formButton")) == null ? void 0 : O.contents, b.value = (f = b.value) == null ? void 0 : f.map((C, E) => C = {
733
+ label: (C == null ? void 0 : C.label) ?? "",
734
+ type: (C == null ? void 0 : C.type) ?? "",
735
+ key: (C == null ? void 0 : C.key) ?? "",
736
+ options: (C == null ? void 0 : C.options) ?? "",
737
+ id: (C == null ? void 0 : C.id) ?? E
738
+ }), h.value = (d = h.value) == null ? void 0 : d.map((C, E) => C = {
739
+ label: (C == null ? void 0 : C.label) ?? "",
740
+ type: (C == null ? void 0 : C.type) ?? "",
741
+ background: (C == null ? void 0 : C.background) ?? "#000000",
742
+ id: (C == null ? void 0 : C.id) ?? E
743
+ }), s.value = (T = (k = _.value) == null ? void 0 : k.find((C) => (C == null ? void 0 : C.key) === "formFlex")) != null && T.contents ? [{
744
744
  name: "isRowFlex",
745
745
  label: "是否横向布局",
746
746
  type: "Switch",
747
- value: (S = (D = A.value) == null ? void 0 : D.find(($) => ($ == null ? void 0 : $.key) === "formFlex")) == null ? void 0 : S.contents
747
+ value: (N = (D = _.value) == null ? void 0 : D.find((C) => (C == null ? void 0 : C.key) === "formFlex")) == null ? void 0 : N.contents
748
748
  }] : [{
749
749
  name: "isRowFlex",
750
750
  label: "是否横向布局",
@@ -756,57 +756,57 @@ const ue = [
756
756
  );
757
757
  const g = () => {
758
758
  const o = c(h.value);
759
- let r = c(A.value);
759
+ let r = c(_.value);
760
760
  o.push({
761
761
  label: "",
762
762
  type: "",
763
763
  background: "#000000",
764
- id: d.value
765
- }), h.value = o, d.value++;
766
- const p = r == null ? void 0 : r.find((_) => (_ == null ? void 0 : _.key) === "formButton");
767
- p != null && p.contents ? (p.contents = o, r = r == null ? void 0 : r.map((_) => ((_ == null ? void 0 : _.key) === "formButton" && (_.contents = o), _))) : r.push({
764
+ id: A.value
765
+ }), h.value = o, A.value++;
766
+ const p = r == null ? void 0 : r.find((O) => (O == null ? void 0 : O.key) === "formButton");
767
+ p != null && p.contents ? (p.contents = o, r = r == null ? void 0 : r.map((O) => ((O == null ? void 0 : O.key) === "formButton" && (O.contents = o), O))) : r.push({
768
768
  key: "formButton",
769
769
  contents: o
770
- }), A.value = r;
771
- }, C = () => {
770
+ }), _.value = r;
771
+ }, $ = () => {
772
772
  const o = c(b.value);
773
- let r = c(A.value);
773
+ let r = c(_.value);
774
774
  o.push({
775
775
  label: "",
776
776
  type: "",
777
777
  key: "",
778
778
  options: "",
779
- id: d.value
780
- }), b.value = o, d.value++;
781
- const p = r == null ? void 0 : r.find((_) => (_ == null ? void 0 : _.key) === "formContent");
782
- p != null && p.contents ? (p.contents = o, r = r == null ? void 0 : r.map((_) => ((_ == null ? void 0 : _.key) === "formContent" && (_.contents = o), _))) : r.push({
779
+ id: A.value
780
+ }), b.value = o, A.value++;
781
+ const p = r == null ? void 0 : r.find((O) => (O == null ? void 0 : O.key) === "formContent");
782
+ p != null && p.contents ? (p.contents = o, r = r == null ? void 0 : r.map((O) => ((O == null ? void 0 : O.key) === "formContent" && (O.contents = o), O))) : r.push({
783
783
  key: "formContent",
784
784
  contents: o
785
- }), A.value = r;
786
- }, O = (o) => {
785
+ }), _.value = r;
786
+ }, m = (o) => {
787
787
  const r = c(h.value);
788
- let p = c(A.value);
789
- h.value = r.filter((i) => i.id !== o.id);
790
- const _ = p == null ? void 0 : p.find((i) => i.key === "formButton");
791
- _ != null && _.contents && (p = p == null ? void 0 : p.map((i) => ((i == null ? void 0 : i.key) === "formButton" && (i.contents = r.filter((y) => y.id !== o.id)), i))), A.value = p;
792
- }, f = (o) => {
788
+ let p = c(_.value);
789
+ h.value = r.filter((f) => f.id !== o.id);
790
+ const O = p == null ? void 0 : p.find((f) => f.key === "formButton");
791
+ O != null && O.contents && (p = p == null ? void 0 : p.map((f) => ((f == null ? void 0 : f.key) === "formButton" && (f.contents = r.filter((d) => d.id !== o.id)), f))), _.value = p;
792
+ }, i = (o) => {
793
793
  const r = c(b.value);
794
- let p = c(A.value);
795
- b.value = r.filter((i) => i.id !== o.id);
796
- const _ = p == null ? void 0 : p.find((i) => i.key === "formContent");
797
- _ != null && _.contents && (p = p == null ? void 0 : p.map((i) => ((i == null ? void 0 : i.key) === "formContent" && (i.contents = r.filter((y) => y.id !== o.id)), i))), A.value = p;
798
- }, N = (o) => {
799
- let r = c(A.value);
800
- const p = r == null ? void 0 : r.find((_) => _.key === "formFlex");
801
- (p == null ? void 0 : p.contents) !== void 0 ? r = r == null ? void 0 : r.map((_) => ((_ == null ? void 0 : _.key) === "formFlex" && (_.contents = o == null ? void 0 : o.isRowFlex), _)) : r.push({
794
+ let p = c(_.value);
795
+ b.value = r.filter((f) => f.id !== o.id);
796
+ const O = p == null ? void 0 : p.find((f) => f.key === "formContent");
797
+ O != null && O.contents && (p = p == null ? void 0 : p.map((f) => ((f == null ? void 0 : f.key) === "formContent" && (f.contents = r.filter((d) => d.id !== o.id)), f))), _.value = p;
798
+ }, S = (o) => {
799
+ let r = c(_.value);
800
+ const p = r == null ? void 0 : r.find((O) => O.key === "formFlex");
801
+ (p == null ? void 0 : p.contents) !== void 0 ? r = r == null ? void 0 : r.map((O) => ((O == null ? void 0 : O.key) === "formFlex" && (O.contents = o == null ? void 0 : o.isRowFlex), O)) : r.push({
802
802
  key: "formFlex",
803
803
  contents: o == null ? void 0 : o.isRowFlex
804
- }), A.value = r;
804
+ }), _.value = r;
805
805
  };
806
806
  return Y(
807
- () => [A.value, b.value],
807
+ () => [_.value, b.value],
808
808
  () => {
809
- let o = c(A.value);
809
+ let o = c(_.value);
810
810
  const r = o == null ? void 0 : o.find((p) => (p == null ? void 0 : p.key) === "formContent");
811
811
  r != null && r.contents ? (r.contents = b.value, o = o == null ? void 0 : o.map((p) => ((p == null ? void 0 : p.key) === "formContent" && (p.contents = b.value), p))) : o.push({
812
812
  key: "formContent",
@@ -823,7 +823,7 @@ const ue = [
823
823
  w(p, {
824
824
  class: "blue-operate-button",
825
825
  icon: "ele-Plus",
826
- onClick: C
826
+ onClick: $
827
827
  }, {
828
828
  default: ne(() => r[0] || (r[0] = [
829
829
  ae(W("新建"))
@@ -839,7 +839,7 @@ const ue = [
839
839
  isShowEdit: !1,
840
840
  isMoveColumn: !1,
841
841
  tableData: b.value,
842
- onDeleteRow: f
842
+ onDeleteRow: i
843
843
  }, null, 8, ["columns", "tableData"])
844
844
  ]),
845
845
  L("div", mn, [
@@ -856,23 +856,23 @@ const ue = [
856
856
  __: [2]
857
857
  })
858
858
  ]),
859
- L("div", bn, [
859
+ L("div", gn, [
860
860
  w(re, {
861
861
  columns: u.value,
862
862
  isShowPagination: !1,
863
863
  isShowEdit: !1,
864
864
  isMoveColumn: !1,
865
865
  tableData: h.value,
866
- onDeleteRow: O
866
+ onDeleteRow: m
867
867
  }, null, 8, ["columns", "tableData"])
868
868
  ]),
869
869
  r[4] || (r[4] = L("div", { class: "operate-title" }, [
870
870
  L("div", null, W("表单布局"))
871
871
  ], -1)),
872
- L("div", gn, [
872
+ L("div", bn, [
873
873
  w(_e, {
874
874
  rowContents: s.value,
875
- onChange: N
875
+ onChange: S
876
876
  }, null, 8, ["rowContents"])
877
877
  ])
878
878
  ])
@@ -897,61 +897,65 @@ const ue = [
897
897
  }
898
898
  }
899
899
  },
900
- setup(e) {
901
- const t = e, n = R(), l = R(), s = R(!1);
900
+ emits: ["change"],
901
+ setup(e, { emit: t }) {
902
+ const n = e, l = R(), s = R(), a = t, u = R(!1);
902
903
  Y(
903
- () => [t.itemData],
904
+ () => [n.itemData],
904
905
  () => {
905
- var b;
906
- const A = c(t.itemData);
907
- n.value = (b = c(A)) == null ? void 0 : b.map((d) => {
908
- var g;
909
- if (d.key === "extra") {
910
- let C = [];
911
- (g = d.value) == null || g.forEach((O) => {
912
- var f;
913
- C.push((f = Object.values(O)) == null ? void 0 : f[0]);
914
- }), d.value = C;
906
+ var $;
907
+ const g = c(n.itemData);
908
+ l.value = ($ = c(g)) == null ? void 0 : $.map((m) => {
909
+ var i;
910
+ if (m.key === "extra") {
911
+ let S = [];
912
+ (i = m.value) == null || i.forEach((o) => {
913
+ var r;
914
+ S.push((r = Object.values(o)) == null ? void 0 : r[0]);
915
+ }), m.value = S;
915
916
  }
916
- return d;
917
+ return m;
917
918
  });
918
919
  },
919
920
  { deep: !0, immediate: !0 }
920
921
  );
921
- const a = (A) => {
922
- var b;
923
- ((b = A == null ? void 0 : A[0]) == null ? void 0 : b.contents) === "详情" && (s.value = !0), l.value = A == null ? void 0 : A.filter((d) => (d == null ? void 0 : d.key) !== "tableContentName");
924
- }, u = () => {
925
- s.value = !1;
926
- }, h = (A) => En(A);
927
- return (A, b) => (M(), Z(he, null, [
922
+ const h = (g) => {
923
+ var $;
924
+ (($ = g == null ? void 0 : g[0]) == null ? void 0 : $.contents) === "详情" && (u.value = !0, s.value = g == null ? void 0 : g.filter((m) => (m == null ? void 0 : m.key) !== "tableContentName"));
925
+ }, _ = () => {
926
+ u.value = !1;
927
+ }, b = (g) => {
928
+ a("change", g, "methodData");
929
+ }, A = (g) => En(g);
930
+ return (g, $) => (M(), Z(he, null, [
928
931
  L("div", $n, [
929
- (M(!0), Z(he, null, Ee(n.value, (d, g) => (M(), Z("div", { key: g }, [
930
- (d == null ? void 0 : d.key) === "extra" ? (M(), Z("div", Cn)) : (M(), Z("div", _n, [
931
- (M(), De(Se(h(d.comp)), {
932
- itemData: d == null ? void 0 : d.compData,
933
- childItemData: d == null ? void 0 : d.itemChildData,
934
- key: g,
935
- index: g,
936
- onContentClick: a
932
+ (M(!0), Z(he, null, Ee(l.value, (m, i) => (M(), Z("div", { key: i }, [
933
+ (m == null ? void 0 : m.key) === "extra" ? (M(), Z("div", Cn)) : (M(), Z("div", _n, [
934
+ (M(), De(Se(A(m.comp)), {
935
+ itemData: m == null ? void 0 : m.compData,
936
+ childItemData: m == null ? void 0 : m.itemChildData,
937
+ key: i,
938
+ index: (m == null ? void 0 : m.id) ?? i,
939
+ onContentClick: h,
940
+ onChange: b
937
941
  }, null, 40, ["itemData", "childItemData", "index"]))
938
942
  ]))
939
943
  ]))), 128))
940
944
  ]),
941
945
  w(dl, {
942
- visible: s.value,
943
- onBeforeDestroy: u
946
+ visible: u.value,
947
+ onBeforeDestroy: _
944
948
  }, {
945
949
  default: ne(() => [
946
- (M(!0), Z(he, null, Ee(l.value, (d, g) => (M(), Z("div", {
947
- key: g,
950
+ (M(!0), Z(he, null, Ee(s.value, (m, i) => (M(), Z("div", {
951
+ key: i,
948
952
  class: "extra-dialog"
949
953
  }, [
950
- (M(), De(Se(h(d.comp)), {
951
- itemData: d == null ? void 0 : d.compData,
952
- childItemData: d == null ? void 0 : d.itemChildData,
953
- key: g,
954
- index: g,
954
+ (M(), De(Se(A(m.comp)), {
955
+ itemData: m == null ? void 0 : m.compData,
956
+ childItemData: m == null ? void 0 : m.itemChildData,
957
+ key: i,
958
+ index: i,
955
959
  class: "extra-component"
956
960
  }, null, 8, ["itemData", "childItemData", "index"]))
957
961
  ]))), 128))
@@ -960,7 +964,7 @@ const ue = [
960
964
  }, 8, ["visible"])
961
965
  ], 64));
962
966
  }
963
- }, Tn = /* @__PURE__ */ ye(On, [["__scopeId", "data-v-1b7961fd"]]), xt = R([
967
+ }, Tn = /* @__PURE__ */ ye(On, [["__scopeId", "data-v-655e7638"]]), xt = R([
964
968
  {
965
969
  name: "表格",
966
970
  type: "table",
@@ -1077,18 +1081,18 @@ const J = [
1077
1081
  var n;
1078
1082
  let t = [];
1079
1083
  return (n = Nn(e.slice(1, -1))) == null || n.forEach((l) => {
1080
- var a, u, h, A;
1084
+ var a, u, h, _;
1081
1085
  let s = ((u = (a = l.slice(1, -1)) == null ? void 0 : a.split(",")) == null ? void 0 : u.length) ?? 1;
1082
- (A = (h = l.slice(1, -1)) == null ? void 0 : h.split(",")) == null || A.forEach((b) => {
1083
- var O, f, N, o, r, p, _, i, y, k, T, D, S;
1084
- let d = b == null ? void 0 : b.split(":"), g = d != null && d[0] ? (d == null ? void 0 : d[1].split("$").length) - 1 === 1 ? ((O = d == null ? void 0 : d[0]) == null ? void 0 : O.replace(/^"(.*)"$/, "$1")) + ((f = d == null ? void 0 : d[1]) == null ? void 0 : f.replace(/^"(.*)"$/, "$1")) : Array.isArray((o = (N = d == null ? void 0 : d[1]) == null ? void 0 : N.replace(/^"(.*)"$/, "$1")) == null ? void 0 : o.split("(")) && ((_ = (p = (r = d == null ? void 0 : d[1]) == null ? void 0 : r.replace(/^"(.*)"$/, "$1")) == null ? void 0 : p.split("(")) == null ? void 0 : _.length) > 1 ? ((i = d == null ? void 0 : d[0]) == null ? void 0 : i.replace(/^"(.*)"$/, "$1")) + ((T = (k = (y = d == null ? void 0 : d[1]) == null ? void 0 : y.replace(/^"(.*)"$/, "$1")) == null ? void 0 : k.split("(")) == null ? void 0 : T[0]) + "()" : (D = d == null ? void 0 : d[0]) == null ? void 0 : D.replace(/^"(.*)"$/, "$1") : "", C = (d == null ? void 0 : d[1].split("$").length) - 1 === 0 ? (S = d == null ? void 0 : d[1]) == null ? void 0 : S.replace(/^"(.*)"$/, "$1") : "";
1086
+ (_ = (h = l.slice(1, -1)) == null ? void 0 : h.split(",")) == null || _.forEach((b) => {
1087
+ var m, i, S, o, r, p, O, f, d, k, T, D, N;
1088
+ let A = b == null ? void 0 : b.split(":"), g = A != null && A[0] ? (A == null ? void 0 : A[1].split("$").length) - 1 === 1 ? ((m = A == null ? void 0 : A[0]) == null ? void 0 : m.replace(/^"(.*)"$/, "$1")) + ((i = A == null ? void 0 : A[1]) == null ? void 0 : i.replace(/^"(.*)"$/, "$1")) : Array.isArray((o = (S = A == null ? void 0 : A[1]) == null ? void 0 : S.replace(/^"(.*)"$/, "$1")) == null ? void 0 : o.split("(")) && ((O = (p = (r = A == null ? void 0 : A[1]) == null ? void 0 : r.replace(/^"(.*)"$/, "$1")) == null ? void 0 : p.split("(")) == null ? void 0 : O.length) > 1 ? ((f = A == null ? void 0 : A[0]) == null ? void 0 : f.replace(/^"(.*)"$/, "$1")) + ((T = (k = (d = A == null ? void 0 : A[1]) == null ? void 0 : d.replace(/^"(.*)"$/, "$1")) == null ? void 0 : k.split("(")) == null ? void 0 : T[0]) + "()" : (D = A == null ? void 0 : A[0]) == null ? void 0 : D.replace(/^"(.*)"$/, "$1") : "", $ = (A == null ? void 0 : A[1].split("$").length) - 1 === 0 ? (N = A == null ? void 0 : A[1]) == null ? void 0 : N.replace(/^"(.*)"$/, "$1") : "";
1085
1089
  le.value++, t.push({
1086
1090
  id: le.value,
1087
1091
  key: g,
1088
- value: C,
1092
+ value: $,
1089
1093
  // 如果值为空,则key设为空字符串,否则保留原值
1090
1094
  width: s,
1091
- extraContent: d == null ? void 0 : d[1]
1095
+ extraContent: A == null ? void 0 : A[1]
1092
1096
  });
1093
1097
  });
1094
1098
  }), t;
@@ -1102,8 +1106,8 @@ const J = [
1102
1106
  const a = JSON.parse(s);
1103
1107
  let u = [];
1104
1108
  return a == null || a.forEach((h) => {
1105
- var A;
1106
- (A = Object.entries(c(h))) == null || A.forEach((b) => {
1109
+ var _;
1110
+ (_ = Object.entries(c(h))) == null || _.forEach((b) => {
1107
1111
  le.value++, u.push({
1108
1112
  id: le.value,
1109
1113
  key: (b == null ? void 0 : b[0]) ?? "",
@@ -1114,7 +1118,7 @@ const J = [
1114
1118
  });
1115
1119
  }), u;
1116
1120
  } else
1117
- return l.trim().startsWith("{{") ? vn(l.trim()) : ge(s);
1121
+ return l.trim().startsWith("{{") ? vn(l.trim()) : be(s);
1118
1122
  } else if (ie(l)) {
1119
1123
  const s = JSON.parse(l);
1120
1124
  return Object.entries(s).map(([a, u]) => (le.value++, {
@@ -1125,14 +1129,14 @@ const J = [
1125
1129
  width: 1
1126
1130
  }));
1127
1131
  } else
1128
- return ((t = ge(l)) == null ? void 0 : t.length) === 0 ? l : (n = ge(l)) == null ? void 0 : n.map((s) => ({
1132
+ return ((t = be(l)) == null ? void 0 : t.length) === 0 ? l : (n = be(l)) == null ? void 0 : n.map((s) => ({
1129
1133
  label: s.label,
1130
1134
  method: Sn(s.method)
1131
1135
  }));
1132
1136
  } catch (l) {
1133
1137
  return console.error("转换失败:", l), [];
1134
1138
  }
1135
- }, ge = (e) => {
1139
+ }, be = (e) => {
1136
1140
  e = e.trim().replace(/^\{|\}$/g, "").trim();
1137
1141
  const t = [];
1138
1142
  let n = 0;
@@ -1141,10 +1145,10 @@ const J = [
1141
1145
  if (!l) break;
1142
1146
  const s = l[1];
1143
1147
  n += l[0].length;
1144
- let a = "", u = 0, h = !1, A = "";
1148
+ let a = "", u = 0, h = !1, _ = "";
1145
1149
  for (let b = n; b < e.length; b++) {
1146
- const d = e[b];
1147
- if ((d === '"' || d === "'") && !h ? (h = !0, A = d) : d === A && h && (h = !1, A = ""), !h && ((d === "{" || d === "(" || d === "[") && u++, (d === "}" || d === ")" || d === "]") && u--, d === "," && u === 0 || b === e.length - 1)) {
1150
+ const A = e[b];
1151
+ if ((A === '"' || A === "'") && !h ? (h = !0, _ = A) : A === _ && h && (h = !1, _ = ""), !h && ((A === "{" || A === "(" || A === "[") && u++, (A === "}" || A === ")" || A === "]") && u--, A === "," && u === 0 || b === e.length - 1)) {
1148
1152
  a = e.slice(n, b + 1).trim(), n = b + 1;
1149
1153
  break;
1150
1154
  }
@@ -1192,20 +1196,20 @@ const J = [
1192
1196
  }, we = (e) => e.replace(/'/g, "").replace(/"/g, "").replace(/{|}/g, "").split(":").map((t) => t.trim()).filter((t) => t).join("/"), Jn = (e) => {
1193
1197
  var u, h;
1194
1198
  let t = [], n = [];
1195
- const l = (u = c(e)) == null ? void 0 : u.map((A) => A == null ? void 0 : A.key), s = [...new Set((h = c(l)) == null ? void 0 : h.map((A) => Un(A)))];
1196
- s == null || s.forEach((A) => {
1197
- let b = e == null ? void 0 : e.filter((C) => C.key.includes(A));
1198
- b == null || b.forEach((C) => {
1199
- C != null && C.key.includes("Menus") && (t.push({
1199
+ const l = (u = c(e)) == null ? void 0 : u.map((_) => _ == null ? void 0 : _.key), s = [...new Set((h = c(l)) == null ? void 0 : h.map((_) => Un(_)))];
1200
+ s == null || s.forEach((_) => {
1201
+ let b = e == null ? void 0 : e.filter(($) => $.key.includes(_));
1202
+ b == null || b.forEach(($) => {
1203
+ $ != null && $.key.includes("Menus") && (t.push({
1200
1204
  key: "GroupName",
1201
- value: we(C == null ? void 0 : C.value)
1202
- }), n.push(we(C == null ? void 0 : C.value)));
1205
+ value: we($ == null ? void 0 : $.value)
1206
+ }), n.push(we($ == null ? void 0 : $.value)));
1203
1207
  });
1204
- let d = e == null ? void 0 : e.filter((C) => C.key.includes(A) && !(C != null && C.key.includes("Menus")));
1205
- d = d == null ? void 0 : d.map((C) => (C.key = jn(C.key), C));
1208
+ let A = e == null ? void 0 : e.filter(($) => $.key.includes(_) && !($ != null && $.key.includes("Menus")));
1209
+ A = A == null ? void 0 : A.map(($) => ($.key = jn($.key), $));
1206
1210
  const g = {
1207
1211
  key: "GroupContents",
1208
- value: d
1212
+ value: A
1209
1213
  };
1210
1214
  t.push(g);
1211
1215
  });
@@ -1219,14 +1223,14 @@ const J = [
1219
1223
  if (Array.isArray(Object.keys(e)) && ((t = Object.keys(e)) == null ? void 0 : t.length) > 0) {
1220
1224
  let l = [];
1221
1225
  return (n = Object.entries(e)) == null || n.forEach(([s, a]) => {
1222
- var h, A;
1226
+ var h, _;
1223
1227
  let u = [];
1224
1228
  if (u.push(s), ((h = Object.keys(a)) == null ? void 0 : h.length) > 0) {
1225
1229
  let b = [];
1226
- (A = Ye(a)) == null || A.forEach((d) => {
1227
- b.push(d);
1228
- }), b == null || b.forEach((d) => {
1229
- u.push(d);
1230
+ (_ = Ye(a)) == null || _.forEach((A) => {
1231
+ b.push(A);
1232
+ }), b == null || b.forEach((A) => {
1233
+ u.push(A);
1230
1234
  });
1231
1235
  }
1232
1236
  l.push(u);
@@ -1239,8 +1243,8 @@ const J = [
1239
1243
  let u = [s];
1240
1244
  if (typeof a == "object" && a !== null) {
1241
1245
  let h = Ye(a);
1242
- h == null || h.forEach((A) => {
1243
- u.push(A);
1246
+ h == null || h.forEach((_) => {
1247
+ u.push(_);
1244
1248
  });
1245
1249
  }
1246
1250
  n.push(u);
@@ -1255,103 +1259,103 @@ const J = [
1255
1259
  });
1256
1260
  }), Rn(t, []);
1257
1261
  }, Ke = (e) => Ln(e), Et = (e) => {
1258
- var t, n, l, s, a, u, h, A;
1262
+ var t, n, l, s, a, u, h, _;
1259
1263
  try {
1260
- const b = Te((n = (t = c(e)) == null ? void 0 : t.replace("(", "(")) == null ? void 0 : n.replace(")", ")")), d = (s = (l = c(b)) == null ? void 0 : l.filter((f) => !f.includes("/*"))) == null ? void 0 : s.map((f) => Dn(f)), g = Jn(d), C = [];
1261
- if (((a = g == null ? void 0 : g.find((f) => (f == null ? void 0 : f.key) === "Menus")) == null ? void 0 : a.value.length) === 0)
1264
+ const b = Te((n = (t = c(e)) == null ? void 0 : t.replace("(", "(")) == null ? void 0 : n.replace(")", ")")), A = (s = (l = c(b)) == null ? void 0 : l.filter((i) => !i.includes("/*"))) == null ? void 0 : s.map((i) => Dn(i)), g = Jn(A), $ = [];
1265
+ if (((a = g == null ? void 0 : g.find((i) => (i == null ? void 0 : i.key) === "Menus")) == null ? void 0 : a.value.length) === 0)
1262
1266
  return !1;
1263
- (u = c(g)) == null || u.forEach((f) => {
1264
- var N, o, r, p, _;
1265
- J != null && J.find((i) => {
1266
- var y, k;
1267
- return ((y = i == null ? void 0 : i.key) == null ? void 0 : y.toUpperCase()) === ((k = f == null ? void 0 : f.key) == null ? void 0 : k.toUpperCase());
1268
- }) ? C.push({
1269
- comp: ((N = J == null ? void 0 : J.find((i) => {
1270
- var y, k;
1271
- return ((y = i == null ? void 0 : i.key) == null ? void 0 : y.toUpperCase()) === ((k = f == null ? void 0 : f.key) == null ? void 0 : k.toUpperCase());
1272
- })) == null ? void 0 : N.value) ?? "",
1273
- name: (o = f == null ? void 0 : f.value) == null ? void 0 : o.replace(/[’]|[‘]|[']/g, ""),
1267
+ (u = c(g)) == null || u.forEach((i) => {
1268
+ var S, o, r, p, O;
1269
+ J != null && J.find((f) => {
1270
+ var d, k;
1271
+ return ((d = f == null ? void 0 : f.key) == null ? void 0 : d.toUpperCase()) === ((k = i == null ? void 0 : i.key) == null ? void 0 : k.toUpperCase());
1272
+ }) ? $.push({
1273
+ comp: ((S = J == null ? void 0 : J.find((f) => {
1274
+ var d, k;
1275
+ return ((d = f == null ? void 0 : f.key) == null ? void 0 : d.toUpperCase()) === ((k = i == null ? void 0 : i.key) == null ? void 0 : k.toUpperCase());
1276
+ })) == null ? void 0 : S.value) ?? "",
1277
+ name: (o = i == null ? void 0 : i.value) == null ? void 0 : o.replace(/[’]|[‘]|[']/g, ""),
1274
1278
  compData: []
1275
- }) : j != null && j.find((i) => {
1276
- var y, k;
1277
- return ((y = i == null ? void 0 : i.key) == null ? void 0 : y.toUpperCase()) === ((k = f == null ? void 0 : f.key) == null ? void 0 : k.toUpperCase());
1278
- }) && ((C == null ? void 0 : C.length) === 0 && (r = f.key) != null && r.includes("Menus") && C.push({
1279
+ }) : j != null && j.find((f) => {
1280
+ var d, k;
1281
+ return ((d = f == null ? void 0 : f.key) == null ? void 0 : d.toUpperCase()) === ((k = i == null ? void 0 : i.key) == null ? void 0 : k.toUpperCase());
1282
+ }) && (($ == null ? void 0 : $.length) === 0 && (r = i.key) != null && r.includes("Menus") && $.push({
1279
1283
  comp: "Menu",
1280
1284
  name: "",
1281
1285
  compData: []
1282
- }), (p = C == null ? void 0 : C[(C == null ? void 0 : C.length) - 1]) != null && p.compData && C[(C == null ? void 0 : C.length) - 1].compData.push({
1283
- key: (_ = j == null ? void 0 : j.find((i) => {
1284
- var y, k;
1285
- return ((y = i == null ? void 0 : i.key) == null ? void 0 : y.toUpperCase()) === ((k = f == null ? void 0 : f.key) == null ? void 0 : k.toUpperCase());
1286
- })) == null ? void 0 : _.value,
1287
- contents: f == null ? void 0 : f.value
1286
+ }), (p = $ == null ? void 0 : $[($ == null ? void 0 : $.length) - 1]) != null && p.compData && $[($ == null ? void 0 : $.length) - 1].compData.push({
1287
+ key: (O = j == null ? void 0 : j.find((f) => {
1288
+ var d, k;
1289
+ return ((d = f == null ? void 0 : f.key) == null ? void 0 : d.toUpperCase()) === ((k = i == null ? void 0 : i.key) == null ? void 0 : k.toUpperCase());
1290
+ })) == null ? void 0 : O.value,
1291
+ contents: i == null ? void 0 : i.value
1288
1292
  }));
1289
1293
  });
1290
- let O = (h = c(C)) == null ? void 0 : h.map((f) => {
1291
- var N;
1292
- return f != null && f.compData && (f.compData = (N = f == null ? void 0 : f.compData) == null ? void 0 : N.map((o) => {
1293
- var r, p, _, i, y, k, T, D, S, $, E;
1294
+ let m = (h = c($)) == null ? void 0 : h.map((i) => {
1295
+ var S;
1296
+ return i != null && i.compData && (i.compData = (S = i == null ? void 0 : i.compData) == null ? void 0 : S.map((o) => {
1297
+ var r, p, O, f, d, k, T, D, N, C, E;
1294
1298
  if ((o == null ? void 0 : o.key) === "formFlex")
1295
1299
  o.contents = ((p = (r = o.contents) == null ? void 0 : r.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : p.toUpperCase()) !== "Vertical".toUpperCase();
1296
1300
  else if ((o == null ? void 0 : o.key) === "groupContents")
1297
- o.contents = (_ = c(o.contents)) == null ? void 0 : _.map((x) => Bn(c(x)));
1301
+ o.contents = (O = c(o.contents)) == null ? void 0 : O.map((x) => Bn(c(x)));
1298
1302
  else if (Array.isArray(o == null ? void 0 : o.contents))
1299
1303
  o.contents = Ke(o.contents);
1300
- else if (((y = (i = o == null ? void 0 : o.contents) == null ? void 0 : i.trim()) != null && y.startsWith("[") || (T = (k = o.contents) == null ? void 0 : k.trim()) != null && T.startsWith("【")) && ((S = (D = o.contents) == null ? void 0 : D.trim()) != null && S.endsWith("]") || (E = ($ = o.contents) == null ? void 0 : $.trim()) != null && E.endsWith("】")))
1304
+ else if (((d = (f = o == null ? void 0 : o.contents) == null ? void 0 : f.trim()) != null && d.startsWith("[") || (T = (k = o.contents) == null ? void 0 : k.trim()) != null && T.startsWith("【")) && ((N = (D = o.contents) == null ? void 0 : D.trim()) != null && N.endsWith("]") || (E = (C = o.contents) == null ? void 0 : C.trim()) != null && E.endsWith("】")))
1301
1305
  o.contents = Fn(c(o.contents));
1302
1306
  else {
1303
1307
  if (!o.contents) return;
1304
1308
  o.contents = Xe(c(o.contents));
1305
1309
  }
1306
1310
  return o;
1307
- })), f;
1311
+ })), i;
1308
1312
  });
1309
- return O = (A = c(O)) == null ? void 0 : A.map((f) => {
1310
- var N;
1311
- return (f == null ? void 0 : f.comp) === "Group" && (f.compData = (N = f.compData) == null ? void 0 : N.map((o) => {
1313
+ return m = (_ = c(m)) == null ? void 0 : _.map((i) => {
1314
+ var S;
1315
+ return (i == null ? void 0 : i.comp) === "Group" && (i.compData = (S = i.compData) == null ? void 0 : S.map((o) => {
1312
1316
  var p;
1313
1317
  let r = [];
1314
- return (p = o.contents) == null || p.forEach((_) => {
1315
- var i, y, k, T, D, S, $, E, x, P, B, F;
1318
+ return (p = o.contents) == null || p.forEach((O) => {
1319
+ var f, d, k, T, D, N, C, E, x, P, B, F;
1316
1320
  if (J != null && J.find((v) => {
1317
- var m, U, G;
1318
- return ((m = v == null ? void 0 : v.key) == null ? void 0 : m.toUpperCase()) === ((G = (U = Object.keys(_)) == null ? void 0 : U[0]) == null ? void 0 : G.toUpperCase());
1321
+ var y, U, G;
1322
+ return ((y = v == null ? void 0 : v.key) == null ? void 0 : y.toUpperCase()) === ((G = (U = Object.keys(O)) == null ? void 0 : U[0]) == null ? void 0 : G.toUpperCase());
1319
1323
  }))
1320
1324
  r.push({
1321
- comp: (i = J == null ? void 0 : J.find((v) => {
1322
- var m, U, G;
1323
- return ((m = v == null ? void 0 : v.key) == null ? void 0 : m.toUpperCase()) === ((G = (U = Object.keys(_)) == null ? void 0 : U[0]) == null ? void 0 : G.toUpperCase());
1324
- })) == null ? void 0 : i.value,
1325
- name: (k = (y = Object.values(_)) == null ? void 0 : y[0]) == null ? void 0 : k.replace(/[’]|[‘]|[']/g, ""),
1325
+ comp: (f = J == null ? void 0 : J.find((v) => {
1326
+ var y, U, G;
1327
+ return ((y = v == null ? void 0 : v.key) == null ? void 0 : y.toUpperCase()) === ((G = (U = Object.keys(O)) == null ? void 0 : U[0]) == null ? void 0 : G.toUpperCase());
1328
+ })) == null ? void 0 : f.value,
1329
+ name: (k = (d = Object.values(O)) == null ? void 0 : d[0]) == null ? void 0 : k.replace(/[’]|[‘]|[']/g, ""),
1326
1330
  compData: []
1327
1331
  });
1328
1332
  else if (j != null && j.find((v) => {
1329
- var m, U, G;
1330
- return ((m = v == null ? void 0 : v.key) == null ? void 0 : m.toUpperCase()) === ((G = (U = Object.keys(_)) == null ? void 0 : U[0]) == null ? void 0 : G.toUpperCase());
1333
+ var y, U, G;
1334
+ return ((y = v == null ? void 0 : v.key) == null ? void 0 : y.toUpperCase()) === ((G = (U = Object.keys(O)) == null ? void 0 : U[0]) == null ? void 0 : G.toUpperCase());
1331
1335
  })) {
1332
1336
  if ((r == null ? void 0 : r.length) === 0) return;
1333
1337
  (T = r == null ? void 0 : r[(r == null ? void 0 : r.length) - 1]) != null && T.compData && r[(r == null ? void 0 : r.length) - 1].compData.push({
1334
1338
  key: (D = j == null ? void 0 : j.find((v) => {
1335
- var m, U, G;
1336
- return ((m = v == null ? void 0 : v.key) == null ? void 0 : m.toUpperCase()) === ((G = (U = Object.keys(_)) == null ? void 0 : U[0]) == null ? void 0 : G.toUpperCase());
1339
+ var y, U, G;
1340
+ return ((y = v == null ? void 0 : v.key) == null ? void 0 : y.toUpperCase()) === ((G = (U = Object.keys(O)) == null ? void 0 : U[0]) == null ? void 0 : G.toUpperCase());
1337
1341
  })) == null ? void 0 : D.value,
1338
- contents: (S = Object.values(_)) == null ? void 0 : S[0]
1342
+ contents: (N = Object.values(O)) == null ? void 0 : N[0]
1339
1343
  });
1340
- } else if ((E = ($ = Object.keys(_)) == null ? void 0 : $[0]) != null && E.includes("$")) {
1341
- const v = (P = (x = Object.keys(c(_))) == null ? void 0 : x[0]) == null ? void 0 : P.split("$");
1344
+ } else if ((E = (C = Object.keys(O)) == null ? void 0 : C[0]) != null && E.includes("$")) {
1345
+ const v = (P = (x = Object.keys(c(O))) == null ? void 0 : x[0]) == null ? void 0 : P.split("$");
1342
1346
  r[(r == null ? void 0 : r.length) - 1].compData.push({
1343
- key: (B = j == null ? void 0 : j.find((m) => {
1347
+ key: (B = j == null ? void 0 : j.find((y) => {
1344
1348
  var U, G;
1345
- return ((U = m == null ? void 0 : m.key) == null ? void 0 : U.toUpperCase()) === ((G = v == null ? void 0 : v[0]) == null ? void 0 : G.toUpperCase());
1349
+ return ((U = y == null ? void 0 : y.key) == null ? void 0 : U.toUpperCase()) === ((G = v == null ? void 0 : v[0]) == null ? void 0 : G.toUpperCase());
1346
1350
  })) == null ? void 0 : B.value,
1347
- contents: (F = Object.values(_)) == null ? void 0 : F[0],
1351
+ contents: (F = Object.values(O)) == null ? void 0 : F[0],
1348
1352
  selectLabel: v == null ? void 0 : v[1]
1349
1353
  });
1350
1354
  }
1351
- return _;
1355
+ return O;
1352
1356
  }), o.contents = r, o;
1353
- })), f;
1354
- }), O;
1357
+ })), i;
1358
+ }), m;
1355
1359
  } catch {
1356
1360
  return !1;
1357
1361
  }
@@ -1482,8 +1486,8 @@ const J = [
1482
1486
  }), n;
1483
1487
  }), t;
1484
1488
  }, Hn = (e, t) => {
1485
- var h, A, b, d, g, C;
1486
- const n = [], l = Ve((A = (h = e == null ? void 0 : e.find((O) => O.key === "tableIndex")) == null ? void 0 : h.value) == null ? void 0 : A[0]);
1489
+ var h, _, b, A, g, $;
1490
+ const n = [], l = Ve((_ = (h = e == null ? void 0 : e.find((m) => m.key === "tableIndex")) == null ? void 0 : h.value) == null ? void 0 : _[0]);
1487
1491
  n.push({
1488
1492
  key: "tableIndexColumn",
1489
1493
  contents: t
@@ -1492,12 +1496,12 @@ const J = [
1492
1496
  contents: l
1493
1497
  });
1494
1498
  let s = [];
1495
- const a = (b = e == null ? void 0 : e.find((O) => O.key === "tableColumns")) == null ? void 0 : b.value;
1496
- a.length === 1 && !(a != null && a[0].some((O) => Array.isArray(O))) ? s = (d = a == null ? void 0 : a[0]) == null ? void 0 : d.map((O) => ({ label: O })) : s = Oe((g = e == null ? void 0 : e.find((O) => O.key === "tableColumns")) == null ? void 0 : g.value, l), n.push({
1499
+ const a = (b = e == null ? void 0 : e.find((m) => m.key === "tableColumns")) == null ? void 0 : b.value;
1500
+ a.length === 1 && !(a != null && a[0].some((m) => Array.isArray(m))) ? s = (A = a == null ? void 0 : a[0]) == null ? void 0 : A.map((m) => ({ label: m })) : s = Oe((g = e == null ? void 0 : e.find((m) => m.key === "tableColumns")) == null ? void 0 : g.value, l), n.push({
1497
1501
  key: "header",
1498
1502
  contents: s
1499
1503
  });
1500
- const u = Gn((C = e == null ? void 0 : e.find((O) => O.key === "tableContents")) == null ? void 0 : C.value, l);
1504
+ const u = Gn(($ = e == null ? void 0 : e.find((m) => m.key === "tableContents")) == null ? void 0 : $.value, l);
1501
1505
  return n.push({
1502
1506
  key: "tableContents",
1503
1507
  contents: u
@@ -1541,8 +1545,8 @@ const J = [
1541
1545
  let a = [];
1542
1546
  s.forEach((u) => {
1543
1547
  var h;
1544
- Array.isArray(u.contents) ? (h = u.contents) == null || h.forEach((A) => {
1545
- a.push(A);
1548
+ Array.isArray(u.contents) ? (h = u.contents) == null || h.forEach((_) => {
1549
+ a.push(_);
1546
1550
  }) : a.push(u.contents);
1547
1551
  }), n.push(a);
1548
1552
  }), [n];
@@ -1574,18 +1578,18 @@ const J = [
1574
1578
  }, Xn = (e) => /^[\x00-\x7F]*$/.test(e), Yn = (e) => {
1575
1579
  var s;
1576
1580
  const t = e.map((a) => {
1577
- var h, A;
1578
- let u = (A = (h = a.key.split("(")) == null ? void 0 : h[1]) == null ? void 0 : A.trim();
1581
+ var h, _;
1582
+ let u = (_ = (h = a.key.split("(")) == null ? void 0 : h[1]) == null ? void 0 : _.trim();
1579
1583
  return u.slice(0, u.length - 1);
1580
1584
  }), n = t == null ? void 0 : t.map((a) => {
1581
1585
  var h;
1582
- return (h = xe(a)) == null ? void 0 : h.map((A) => {
1586
+ return (h = xe(a)) == null ? void 0 : h.map((_) => {
1583
1587
  var b;
1584
- if (A.includes("{")) {
1585
- let d = (b = A.split(":")) == null ? void 0 : b[0];
1586
- A = d.slice(1, d.length);
1588
+ if (_.includes("{")) {
1589
+ let A = (b = _.split(":")) == null ? void 0 : b[0];
1590
+ _ = A.slice(1, A.length);
1587
1591
  }
1588
- return A;
1592
+ return _;
1589
1593
  });
1590
1594
  }).filter((a) => a.length !== 0), l = (s = n == null ? void 0 : n.filter((a) => a.length !== 0)) == null ? void 0 : s.map((a) => {
1591
1595
  let u = "";
@@ -1640,45 +1644,45 @@ const J = [
1640
1644
  l.includes("[") || n.includes("[") || l.includes("/*") || n.includes("/*") ? (n += l.trim(), c(n).split("{").length - 1 === c(n).split("}").length - 1 && c(n).split("【").length - 1 === c(n).split("】").length - 1 && c(n).split("[").length - 1 === c(n).split("]").length - 1 && c(n).split("(").length - 1 === c(n).split(")").length - 1 && c(n).split("(").length - 1 === c(n).split(")").length - 1 && c(n).split("/*").length - 1 === c(n).split("*/").length - 1 && (t.push(n.replace(/\/\*[\s\S]*?\*\//g, "")), n = "")) : t.push(l.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
1641
1645
  return t;
1642
1646
  }, nt = (e) => {
1643
- var a, u, h, A, b, d, g, C, O;
1647
+ var a, u, h, _, b, A, g, $, m;
1644
1648
  let t = [], n = [], l = e.trim(), s = [];
1645
1649
  if (l.trim().includes("输入") && l.trim().includes("输出")) {
1646
- let f = [], N = e.trim();
1647
- N = c(N).slice(1, c(N).length - 1);
1650
+ let i = [], S = e.trim();
1651
+ S = c(S).slice(1, c(S).length - 1);
1648
1652
  const o = /(\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})/g;
1649
- (d = N.match(o)) == null || d.forEach((r, p) => {
1650
- var y;
1651
- const _ = r;
1652
- let i = [];
1653
- (y = _.slice(1, _.length - 1).replace(":", "$:").split("$:")) == null || y.forEach((k) => {
1654
- var T, D, S;
1655
- if (zn.find(($) => k.includes($)))
1653
+ (A = S.match(o)) == null || A.forEach((r, p) => {
1654
+ var d;
1655
+ const O = r;
1656
+ let f = [];
1657
+ (d = O.slice(1, O.length - 1).replace(":", "$:").split("$:")) == null || d.forEach((k) => {
1658
+ var T, D, N;
1659
+ if (zn.find((C) => k.includes(C)))
1656
1660
  if (!k.includes("=="))
1657
- i.push({ key: "tableIndexColumn", contents: k.replaceAll("'", "") });
1661
+ f.push({ key: "tableIndexColumn", contents: k.replaceAll("'", "") });
1658
1662
  else {
1659
- let $ = [];
1663
+ let C = [];
1660
1664
  const E = k.replaceAll("'", "").split("==");
1661
- $.push(E == null ? void 0 : E[0]), E != null && E[1].includes("[") ? $.push(E == null ? void 0 : E[1].trim().slice(1, (E == null ? void 0 : E[1].length) - 1).split(",")) : $.push([E == null ? void 0 : E[1]]), i.push({ key: "header", contents: [(D = (T = tl([$])) == null ? void 0 : T[0]) == null ? void 0 : D[0]] });
1665
+ C.push(E == null ? void 0 : E[0]), E != null && E[1].includes("[") ? C.push(E == null ? void 0 : E[1].trim().slice(1, (E == null ? void 0 : E[1].length) - 1).split(",")) : C.push([E == null ? void 0 : E[1]]), f.push({ key: "header", contents: [(D = (T = tl([C])) == null ? void 0 : T[0]) == null ? void 0 : D[0]] });
1662
1666
  }
1663
1667
  else {
1664
- let $ = k.trim().replaceAll(",", ",").replaceAll("'", '"');
1668
+ let C = k.trim().replaceAll(",", ",").replaceAll("'", '"');
1665
1669
  if (p % 3 === 0)
1666
- $.slice(1, $.length - 1).includes("[") ? f.push({
1670
+ C.slice(1, C.length - 1).includes("[") ? i.push({
1667
1671
  key: "tableIndex",
1668
- contents: [{ label: $ }]
1669
- }) : f.push({
1672
+ contents: [{ label: C }]
1673
+ }) : i.push({
1670
1674
  key: "tableIndex",
1671
- contents: [{ label: $.slice(1, $.length - 1) }]
1675
+ contents: [{ label: C.slice(1, C.length - 1) }]
1672
1676
  });
1673
- else if (($ == null ? void 0 : $[0]) === "{") {
1677
+ else if ((C == null ? void 0 : C[0]) === "{") {
1674
1678
  let E = [];
1675
- const x = $.slice(1, $.length - 1).split(":");
1679
+ const x = C.slice(1, C.length - 1).split(":");
1676
1680
  if (x.every((P) => X(P.trim()))) {
1677
1681
  E.push({ key: "tableContentName", contents: "详情" });
1678
1682
  let P = [];
1679
1683
  x.forEach((B, F) => {
1680
1684
  if (F === 0) {
1681
- const v = JSON.parse(B).map((m) => ({ label: m }));
1685
+ const v = JSON.parse(B).map((y) => ({ label: y }));
1682
1686
  v.push({
1683
1687
  label: "操作"
1684
1688
  }), P.push({
@@ -1700,24 +1704,24 @@ const J = [
1700
1704
  comp: "Table",
1701
1705
  compData: P,
1702
1706
  name: ""
1703
- }), f.push({
1707
+ }), i.push({
1704
1708
  key: "tableContents",
1705
1709
  contents: [E]
1706
1710
  });
1707
1711
  }
1708
1712
  } else {
1709
- let E = $;
1710
- E.slice(1, E.length - 1).includes("[") || E.slice(1, E.length - 1).includes("{") ? X(Me(E.replace(/\s+/g, ""))) && ((S = JSON.parse(Me(E.replace(/\s+/g, "")))) == null || S.map((x) => {
1713
+ let E = C;
1714
+ E.slice(1, E.length - 1).includes("[") || E.slice(1, E.length - 1).includes("{") ? X(Me(E.replace(/\s+/g, ""))) && ((N = JSON.parse(Me(E.replace(/\s+/g, "")))) == null || N.map((x) => {
1711
1715
  if (Array.isArray(x == null ? void 0 : x[0])) {
1712
1716
  const P = [];
1713
1717
  P.push({ key: "tableContentName", contents: "详情" });
1714
1718
  let B = [];
1715
1719
  x.forEach((F) => {
1716
1720
  F.forEach((v) => {
1717
- var m, U;
1721
+ var y, U;
1718
1722
  Ze.value++, B.push({
1719
1723
  id: Ze.value,
1720
- key: (m = Object.keys(v)) == null ? void 0 : m[0],
1724
+ key: (y = Object.keys(v)) == null ? void 0 : y[0],
1721
1725
  value: (U = Object.values(v)) == null ? void 0 : U[0],
1722
1726
  width: F.length
1723
1727
  });
@@ -1732,25 +1736,25 @@ const J = [
1732
1736
  contents: B
1733
1737
  }],
1734
1738
  name: ""
1735
- }), f.push({
1739
+ }), i.push({
1736
1740
  key: "tableContents",
1737
1741
  contents: [P]
1738
1742
  });
1739
1743
  } else
1740
- f.push({
1744
+ i.push({
1741
1745
  key: "tableContents",
1742
1746
  contents: x == null ? void 0 : x[0]
1743
1747
  });
1744
- })) : f.push({
1748
+ })) : i.push({
1745
1749
  key: "tableContents",
1746
1750
  contents: E.trim().slice(1, E.length - 1)
1747
1751
  });
1748
1752
  }
1749
1753
  }
1750
- }), f.push(i == null ? void 0 : i[0]);
1754
+ }), i.push(f == null ? void 0 : f[0]);
1751
1755
  }), s.push({
1752
1756
  key: "tableIndex",
1753
- contents: (g = f == null ? void 0 : f.filter((r) => (r == null ? void 0 : r.key) === "tableIndex")) == null ? void 0 : g.map((r) => {
1757
+ contents: (g = i == null ? void 0 : i.filter((r) => (r == null ? void 0 : r.key) === "tableIndex")) == null ? void 0 : g.map((r) => {
1754
1758
  var p;
1755
1759
  return (p = r.contents) == null ? void 0 : p[0];
1756
1760
  })
@@ -1762,23 +1766,23 @@ const J = [
1762
1766
  contents: [{ label: "查看" }, { label: "编辑" }, { label: "删除" }]
1763
1767
  }), s.push({
1764
1768
  key: "tableIndexColumn",
1765
- contents: (O = (C = f == null ? void 0 : f.filter((r) => (r == null ? void 0 : r.key) === "tableIndexColumn")) == null ? void 0 : C[0]) == null ? void 0 : O.contents
1769
+ contents: (m = ($ = i == null ? void 0 : i.filter((r) => (r == null ? void 0 : r.key) === "tableIndexColumn")) == null ? void 0 : $[0]) == null ? void 0 : m.contents
1766
1770
  }), s.push({
1767
1771
  key: "header",
1768
- contents: He(f == null ? void 0 : f.filter((r) => (r == null ? void 0 : r.key) === "header"))
1772
+ contents: He(i == null ? void 0 : i.filter((r) => (r == null ? void 0 : r.key) === "header"))
1769
1773
  }), s.push({
1770
1774
  key: "tableContents",
1771
- contents: qn(f == null ? void 0 : f.filter((r) => (r == null ? void 0 : r.key) === "tableContents"), He(f == null ? void 0 : f.filter((r) => (r == null ? void 0 : r.key) === "header")))
1775
+ contents: qn(i == null ? void 0 : i.filter((r) => (r == null ? void 0 : r.key) === "tableContents"), He(i == null ? void 0 : i.filter((r) => (r == null ? void 0 : r.key) === "header")))
1772
1776
  });
1773
1777
  } else {
1774
- const f = (a = l.trim().split(",$")) == null ? void 0 : a[0];
1775
- f[0] === "[" ? l = f.slice(1, f.length - 1) : l.includes(",$") && (l = (u = l.trim().split(",$")) == null ? void 0 : u[0]);
1776
- let N;
1777
- l.includes("$") ? l = c(l) : N = (A = (h = c(l).split("}")) == null ? void 0 : h.filter((o) => o !== "")) == null ? void 0 : A.map((o) => {
1778
+ const i = (a = l.trim().split(",$")) == null ? void 0 : a[0];
1779
+ i[0] === "[" ? l = i.slice(1, i.length - 1) : l.includes(",$") && (l = (u = l.trim().split(",$")) == null ? void 0 : u[0]);
1780
+ let S;
1781
+ l.includes("$") ? l = c(l) : S = (_ = (h = c(l).split("}")) == null ? void 0 : h.filter((o) => o !== "")) == null ? void 0 : _.map((o) => {
1778
1782
  let r = o;
1779
1783
  return r[0] === "," ? r = r.slice(2, r.length) : r = r.slice(1, r.length), r;
1780
- }), (b = c(N)) == null || b.forEach((o) => {
1781
- var r, p, _, i, y, k, T, D, S, $;
1784
+ }), (b = c(S)) == null || b.forEach((o) => {
1785
+ var r, p, O, f, d, k, T, D, N, C;
1782
1786
  if (o.includes("==")) {
1783
1787
  const E = (T = o == null ? void 0 : o.split(":")) == null ? void 0 : T[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"'), x = (D = o == null ? void 0 : o.split(":")) == null ? void 0 : D[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"');
1784
1788
  if (X(x.trim()) ? n.push(JSON.parse(x.trim())) : n.push(JSON.parse(x.replaceAll("'", '"').trim())), E[0] !== "[") {
@@ -1787,12 +1791,12 @@ const J = [
1787
1791
  const B = c(P);
1788
1792
  B.push(["操作"]), t.push(B);
1789
1793
  } else {
1790
- const P = (S = E.slice(1, E.length - 1).replaceAll(",", ",|")) == null ? void 0 : S.split("|"), B = ($ = lt(P)) == null ? void 0 : $.map((m) => ((m == null ? void 0 : m[m.length - 1]) === "," && (m = m.slice(0, m.length - 1)), m));
1794
+ const P = (N = E.slice(1, E.length - 1).replaceAll(",", ",|")) == null ? void 0 : N.split("|"), B = (C = lt(P)) == null ? void 0 : C.map((y) => ((y == null ? void 0 : y[y.length - 1]) === "," && (y = y.slice(0, y.length - 1)), y));
1791
1795
  let F = [];
1792
- B == null || B.forEach((m) => {
1796
+ B == null || B.forEach((y) => {
1793
1797
  var G, q, z, Q;
1794
1798
  let U = [];
1795
- U.push((G = m.split("==")) == null ? void 0 : G[0].trim().replace(/^"|"$/g, "")), ((q = m.split("==")) == null ? void 0 : q[1].trim()[0]) === "[" ? U.push(JSON.parse((z = m.split("==")) == null ? void 0 : z[1].trim())) : U.push([JSON.parse((Q = m.split("==")) == null ? void 0 : Q[1].trim())]), F.push(U);
1799
+ U.push((G = y.split("==")) == null ? void 0 : G[0].trim().replace(/^"|"$/g, "")), ((q = y.split("==")) == null ? void 0 : q[1].trim()[0]) === "[" ? U.push(JSON.parse((z = y.split("==")) == null ? void 0 : z[1].trim())) : U.push([JSON.parse((Q = y.split("==")) == null ? void 0 : Q[1].trim())]), F.push(U);
1796
1800
  });
1797
1801
  const v = c(F);
1798
1802
  v.push(["操作"]), t.push(v);
@@ -1802,13 +1806,13 @@ const J = [
1802
1806
  let E = JSON.parse((p = o == null ? void 0 : o.split(":")) == null ? void 0 : p[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"'));
1803
1807
  Array.isArray(E) || (E = [E]), E.push("操作"), t.push(E);
1804
1808
  }
1805
- X((_ = o == null ? void 0 : o.split(":")) == null ? void 0 : _[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"')) ? n.push(JSON.parse((i = o == null ? void 0 : o.split(":")) == null ? void 0 : i[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"'))) : X((y = o == null ? void 0 : o.split(":")) == null ? void 0 : y[1].replace(/^"|"$/g, "'").replaceAll("'", '"').replace(/'([^']+)'/g, '"$1"')) && n.push(JSON.parse((k = o == null ? void 0 : o.split(":")) == null ? void 0 : k[1].replace(/^"|"$/g, "'").replaceAll("'", '"').replace(/'([^']+)'/g, '"$1"')));
1809
+ X((O = o == null ? void 0 : o.split(":")) == null ? void 0 : O[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"')) ? n.push(JSON.parse((f = o == null ? void 0 : o.split(":")) == null ? void 0 : f[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"'))) : X((d = o == null ? void 0 : o.split(":")) == null ? void 0 : d[1].replace(/^"|"$/g, "'").replaceAll("'", '"').replace(/'([^']+)'/g, '"$1"')) && n.push(JSON.parse((k = o == null ? void 0 : o.split(":")) == null ? void 0 : k[1].replace(/^"|"$/g, "'").replaceAll("'", '"').replace(/'([^']+)'/g, '"$1"')));
1806
1810
  }
1807
1811
  });
1808
1812
  }
1809
1813
  return [t, n, s];
1810
1814
  }, tt = (e) => {
1811
- const t = [], n = Kn(e == null ? void 0 : e.key), l = et(e == null ? void 0 : e.key), s = nt(e == null ? void 0 : e.value), a = l == null ? void 0 : l[0], u = l == null ? void 0 : l[1], h = l == null ? void 0 : l[2], A = s == null ? void 0 : s[0], b = s == null ? void 0 : s[1], d = s == null ? void 0 : s[2];
1815
+ const t = [], n = Kn(e == null ? void 0 : e.key), l = et(e == null ? void 0 : e.key), s = nt(e == null ? void 0 : e.value), a = l == null ? void 0 : l[0], u = l == null ? void 0 : l[1], h = l == null ? void 0 : l[2], _ = s == null ? void 0 : s[0], b = s == null ? void 0 : s[1], A = s == null ? void 0 : s[2];
1812
1816
  return n && t.push({
1813
1817
  key: "contentPath",
1814
1818
  value: n
@@ -1821,13 +1825,13 @@ const J = [
1821
1825
  }), (h == null ? void 0 : h.length) > 0 && t.push({
1822
1826
  key: "extra",
1823
1827
  value: h
1824
- }), (d == null ? void 0 : d.length) > 0 && t.push({
1828
+ }), (A == null ? void 0 : A.length) > 0 && t.push({
1825
1829
  comp: "Table",
1826
- compData: d,
1830
+ compData: A,
1827
1831
  name: ""
1828
- }), (A == null ? void 0 : A.length) > 0 && t.push({
1832
+ }), (_ == null ? void 0 : _.length) > 0 && t.push({
1829
1833
  key: "tableColumns",
1830
- value: A
1834
+ value: _
1831
1835
  }), (b == null ? void 0 : b.length) > 0 && t.push({
1832
1836
  key: "tableContents",
1833
1837
  value: b
@@ -1836,10 +1840,10 @@ const J = [
1836
1840
  const n = t.split("/");
1837
1841
  let l = [];
1838
1842
  return e == null || e.forEach((s) => {
1839
- var h, A, b, d, g, C, O, f, N;
1840
- const a = [], u = (A = (h = s.find((o) => o.key === "tableIndex")) == null ? void 0 : h.value) == null ? void 0 : A[0];
1843
+ var h, _, b, A, g, $, m, i, S;
1844
+ const a = [], u = (_ = (h = s.find((o) => o.key === "tableIndex")) == null ? void 0 : h.value) == null ? void 0 : _[0];
1841
1845
  if (u && !u.some((o) => Array.isArray(o))) {
1842
- const o = (d = (b = s.find((r) => r.key === "tableColumns")) == null ? void 0 : b.value) == null ? void 0 : d[0];
1846
+ const o = (A = (b = s.find((r) => r.key === "tableColumns")) == null ? void 0 : b.value) == null ? void 0 : A[0];
1843
1847
  a.push({
1844
1848
  key: "tableIndexColumn",
1845
1849
  contents: n[n.length - 1]
@@ -1860,7 +1864,7 @@ const J = [
1860
1864
  contents: Array.isArray(o) ? o == null ? void 0 : o.map((r) => ({ label: r })) : [o].map((r) => ({ label: r }))
1861
1865
  }), a.push({
1862
1866
  key: "tableContents",
1863
- contents: Array.isArray(o) ? (C = (g = s.find((r) => r.key === "tableContents")) == null ? void 0 : g.value) == null ? void 0 : C[0] : (N = (f = (O = s.find((r) => r.key === "tableContents")) == null ? void 0 : O.value) == null ? void 0 : f[0]) == null ? void 0 : N.map((r) => [r])
1867
+ contents: Array.isArray(o) ? ($ = (g = s.find((r) => r.key === "tableContents")) == null ? void 0 : g.value) == null ? void 0 : $[0] : (S = (i = (m = s.find((r) => r.key === "tableContents")) == null ? void 0 : m.value) == null ? void 0 : i[0]) == null ? void 0 : S.map((r) => [r])
1864
1868
  }), l.push({
1865
1869
  comp: "Table",
1866
1870
  name: "",
@@ -1896,7 +1900,7 @@ const J = [
1896
1900
  }).filter((a) => a !== ""), l = [...new Set(n)];
1897
1901
  return (s = l == null ? void 0 : l.filter((a) => a)) == null || s.forEach((a) => {
1898
1902
  var u;
1899
- t.push(at((u = c(e)) == null ? void 0 : u.filter((h) => h.find((A) => A.key === "contentPath" && A.value === a)), a));
1903
+ t.push(at((u = c(e)) == null ? void 0 : u.filter((h) => h.find((_) => _.key === "contentPath" && _.value === a)), a));
1900
1904
  }), t;
1901
1905
  }, ot = (e) => {
1902
1906
  let t = [];
@@ -1911,8 +1915,8 @@ const J = [
1911
1915
  const n = e.map((l) => tt(l)).filter((l) => l.length !== 0);
1912
1916
  return t = [...t, ...rt(n)], t;
1913
1917
  }, St = (e) => {
1914
- var s, a, u, h, A;
1915
- const t = (u = Te((a = (s = c(e)) == null ? void 0 : s.replace("(", "(")) == null ? void 0 : a.replace(")", ")"))) == null ? void 0 : u.filter((b) => b !== ""), n = (A = (h = c(t)) == null ? void 0 : h.filter((b) => !b.includes("/*"))) == null ? void 0 : A.map((b) => Qn(b));
1918
+ var s, a, u, h, _;
1919
+ const t = (u = Te((a = (s = c(e)) == null ? void 0 : s.replace("(", "(")) == null ? void 0 : a.replace(")", ")"))) == null ? void 0 : u.filter((b) => b !== ""), n = (_ = (h = c(t)) == null ? void 0 : h.filter((b) => !b.includes("/*"))) == null ? void 0 : _.map((b) => Qn(b));
1916
1920
  return ot(n);
1917
1921
  }, pe = R(0), Ae = R(0), ct = (e) => {
1918
1922
  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 = {};
@@ -2006,89 +2010,89 @@ const J = [
2006
2010
  }, ul = (e) => {
2007
2011
  var t, n, l, s, a, u;
2008
2012
  try {
2009
- const h = Te((n = (t = c(e)) == null ? void 0 : t.replace("(", "(")) == null ? void 0 : n.replace(")", ")")), A = (l = c(h)) == null ? void 0 : l.map((g) => {
2010
- var O, f;
2011
- let C = (f = (O = c(g)) == null ? void 0 : O.split("=")) == null ? void 0 : f[0];
2012
- return C != null && C.includes("GroupContents") ? ut(g) : ol(g);
2013
+ const h = Te((n = (t = c(e)) == null ? void 0 : t.replace("(", "(")) == null ? void 0 : n.replace(")", ")")), _ = (l = c(h)) == null ? void 0 : l.map((g) => {
2014
+ var m, i;
2015
+ let $ = (i = (m = c(g)) == null ? void 0 : m.split("=")) == null ? void 0 : i[0];
2016
+ return $ != null && $.includes("GroupContents") ? ut(g) : ol(g);
2013
2017
  }), b = [];
2014
- (s = c(A)) == null || s.forEach((g) => {
2015
- var C, O, f, N, o;
2018
+ (s = c(_)) == null || s.forEach((g) => {
2019
+ var $, m, i, S, o;
2016
2020
  J != null && J.find((r) => {
2017
- var p, _;
2018
- return ((p = r == null ? void 0 : r.key) == null ? void 0 : p.toUpperCase()) === ((_ = g == null ? void 0 : g.key) == null ? void 0 : _.toUpperCase());
2021
+ var p, O;
2022
+ return ((p = r == null ? void 0 : r.key) == null ? void 0 : p.toUpperCase()) === ((O = g == null ? void 0 : g.key) == null ? void 0 : O.toUpperCase());
2019
2023
  }) ? b.push({
2020
- comp: ((C = J == null ? void 0 : J.find((r) => {
2021
- var p, _;
2022
- return ((p = r == null ? void 0 : r.key) == null ? void 0 : p.toUpperCase()) === ((_ = g == null ? void 0 : g.key) == null ? void 0 : _.toUpperCase());
2023
- })) == null ? void 0 : C.value) ?? "",
2024
- name: (O = g == null ? void 0 : g.value) == null ? void 0 : O.replace(/[’]|[‘]|[']/g, ""),
2024
+ comp: (($ = J == null ? void 0 : J.find((r) => {
2025
+ var p, O;
2026
+ return ((p = r == null ? void 0 : r.key) == null ? void 0 : p.toUpperCase()) === ((O = g == null ? void 0 : g.key) == null ? void 0 : O.toUpperCase());
2027
+ })) == null ? void 0 : $.value) ?? "",
2028
+ name: (m = g == null ? void 0 : g.value) == null ? void 0 : m.replace(/[’]|[‘]|[']/g, ""),
2025
2029
  compData: []
2026
2030
  }) : j != null && j.find((r) => {
2027
- var p, _;
2028
- return ((p = r == null ? void 0 : r.key) == null ? void 0 : p.toUpperCase()) === ((_ = g == null ? void 0 : g.key) == null ? void 0 : _.toUpperCase());
2029
- }) && ((b == null ? void 0 : b.length) === 0 && (f = g.key) != null && f.includes("Menus") && b.push({
2031
+ var p, O;
2032
+ return ((p = r == null ? void 0 : r.key) == null ? void 0 : p.toUpperCase()) === ((O = g == null ? void 0 : g.key) == null ? void 0 : O.toUpperCase());
2033
+ }) && ((b == null ? void 0 : b.length) === 0 && (i = g.key) != null && i.includes("Menus") && b.push({
2030
2034
  comp: "Menu",
2031
2035
  name: "",
2032
2036
  compData: []
2033
- }), (N = b == null ? void 0 : b[(b == null ? void 0 : b.length) - 1]) != null && N.compData && b[(b == null ? void 0 : b.length) - 1].compData.push({
2037
+ }), (S = b == null ? void 0 : b[(b == null ? void 0 : b.length) - 1]) != null && S.compData && b[(b == null ? void 0 : b.length) - 1].compData.push({
2034
2038
  key: (o = j == null ? void 0 : j.find((r) => {
2035
- var p, _;
2036
- return ((p = r == null ? void 0 : r.key) == null ? void 0 : p.toUpperCase()) === ((_ = g == null ? void 0 : g.key) == null ? void 0 : _.toUpperCase());
2039
+ var p, O;
2040
+ return ((p = r == null ? void 0 : r.key) == null ? void 0 : p.toUpperCase()) === ((O = g == null ? void 0 : g.key) == null ? void 0 : O.toUpperCase());
2037
2041
  })) == null ? void 0 : o.value,
2038
2042
  contents: g == null ? void 0 : g.value
2039
2043
  }));
2040
2044
  }), console.log("newContents", b);
2041
- let d = (a = c(b)) == null ? void 0 : a.map((g) => {
2042
- var C;
2043
- return g != null && g.compData && (g.compData = (C = g == null ? void 0 : g.compData) == null ? void 0 : C.map((O) => {
2044
- var f, N, o, r, p, _, i, y, k, T, D;
2045
- if ((O == null ? void 0 : O.key) === "formFlex")
2046
- O.contents = ((N = (f = O.contents) == null ? void 0 : f.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : N.toUpperCase()) !== "Vertical".toUpperCase();
2047
- else if ((O == null ? void 0 : O.key) === "groupContents")
2048
- O.contents = (o = c(O.contents)) == null ? void 0 : o.map((S) => it(c(S)));
2049
- else if (((p = (r = O.contents) == null ? void 0 : r.trim()) != null && p.startsWith("[") || (i = (_ = O.contents) == null ? void 0 : _.trim()) != null && i.startsWith("【")) && ((k = (y = O.contents) == null ? void 0 : y.trim()) != null && k.endsWith("]") || (D = (T = O.contents) == null ? void 0 : T.trim()) != null && D.endsWith("】")))
2050
- O.contents = ft(c(O.contents));
2045
+ let A = (a = c(b)) == null ? void 0 : a.map((g) => {
2046
+ var $;
2047
+ return g != null && g.compData && (g.compData = ($ = g == null ? void 0 : g.compData) == null ? void 0 : $.map((m) => {
2048
+ var i, S, o, r, p, O, f, d, k, T, D;
2049
+ if ((m == null ? void 0 : m.key) === "formFlex")
2050
+ m.contents = ((S = (i = m.contents) == null ? void 0 : i.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : S.toUpperCase()) !== "Vertical".toUpperCase();
2051
+ else if ((m == null ? void 0 : m.key) === "groupContents")
2052
+ m.contents = (o = c(m.contents)) == null ? void 0 : o.map((N) => it(c(N)));
2053
+ else if (((p = (r = m.contents) == null ? void 0 : r.trim()) != null && p.startsWith("[") || (f = (O = m.contents) == null ? void 0 : O.trim()) != null && f.startsWith("【")) && ((k = (d = m.contents) == null ? void 0 : d.trim()) != null && k.endsWith("]") || (D = (T = m.contents) == null ? void 0 : T.trim()) != null && D.endsWith("】")))
2054
+ m.contents = ft(c(m.contents));
2051
2055
  else {
2052
- if (!O.contents) return;
2053
- O.contents = cl(c(O.contents));
2056
+ if (!m.contents) return;
2057
+ m.contents = cl(c(m.contents));
2054
2058
  }
2055
- return O;
2059
+ return m;
2056
2060
  })), g;
2057
2061
  });
2058
- return d = (u = c(d)) == null ? void 0 : u.map((g) => {
2059
- var C;
2060
- return (g == null ? void 0 : g.comp) === "Group" && (g.compData = (C = g.compData) == null ? void 0 : C.map((O) => {
2061
- var N;
2062
- let f = [];
2063
- return (N = O.contents) == null || N.forEach((o) => {
2064
- var r, p, _, i, y, k, T, D, S, $, E, x;
2062
+ return A = (u = c(A)) == null ? void 0 : u.map((g) => {
2063
+ var $;
2064
+ return (g == null ? void 0 : g.comp) === "Group" && (g.compData = ($ = g.compData) == null ? void 0 : $.map((m) => {
2065
+ var S;
2066
+ let i = [];
2067
+ return (S = m.contents) == null || S.forEach((o) => {
2068
+ var r, p, O, f, d, k, T, D, N, C, E, x;
2065
2069
  if (J != null && J.find((P) => {
2066
2070
  var B, F, v;
2067
2071
  return ((B = P == null ? void 0 : P.key) == null ? void 0 : B.toUpperCase()) === ((v = (F = Object.keys(o)) == null ? void 0 : F[0]) == null ? void 0 : v.toUpperCase());
2068
2072
  }))
2069
- f.push({
2073
+ i.push({
2070
2074
  comp: (r = J == null ? void 0 : J.find((P) => {
2071
2075
  var B, F, v;
2072
2076
  return ((B = P == null ? void 0 : P.key) == null ? void 0 : B.toUpperCase()) === ((v = (F = Object.keys(o)) == null ? void 0 : F[0]) == null ? void 0 : v.toUpperCase());
2073
2077
  })) == null ? void 0 : r.value,
2074
- name: (_ = (p = Object.values(o)) == null ? void 0 : p[0]) == null ? void 0 : _.replace(/[’]|[‘]|[']/g, ""),
2078
+ name: (O = (p = Object.values(o)) == null ? void 0 : p[0]) == null ? void 0 : O.replace(/[’]|[‘]|[']/g, ""),
2075
2079
  compData: []
2076
2080
  });
2077
2081
  else if (j != null && j.find((P) => {
2078
2082
  var B, F, v;
2079
2083
  return ((B = P == null ? void 0 : P.key) == null ? void 0 : B.toUpperCase()) === ((v = (F = Object.keys(o)) == null ? void 0 : F[0]) == null ? void 0 : v.toUpperCase());
2080
2084
  })) {
2081
- if ((f == null ? void 0 : f.length) === 0) return;
2082
- (i = f == null ? void 0 : f[(f == null ? void 0 : f.length) - 1]) != null && i.compData && f[(f == null ? void 0 : f.length) - 1].compData.push({
2083
- key: (y = j == null ? void 0 : j.find((P) => {
2085
+ if ((i == null ? void 0 : i.length) === 0) return;
2086
+ (f = i == null ? void 0 : i[(i == null ? void 0 : i.length) - 1]) != null && f.compData && i[(i == null ? void 0 : i.length) - 1].compData.push({
2087
+ key: (d = j == null ? void 0 : j.find((P) => {
2084
2088
  var B, F, v;
2085
2089
  return ((B = P == null ? void 0 : P.key) == null ? void 0 : B.toUpperCase()) === ((v = (F = Object.keys(o)) == null ? void 0 : F[0]) == null ? void 0 : v.toUpperCase());
2086
- })) == null ? void 0 : y.value,
2090
+ })) == null ? void 0 : d.value,
2087
2091
  contents: (k = Object.values(o)) == null ? void 0 : k[0]
2088
2092
  });
2089
2093
  } else if ((D = (T = Object.keys(o)) == null ? void 0 : T[0]) != null && D.includes("$")) {
2090
- const P = ($ = (S = Object.keys(c(o))) == null ? void 0 : S[0]) == null ? void 0 : $.split("$");
2091
- f[(f == null ? void 0 : f.length) - 1].compData.push({
2094
+ const P = (C = (N = Object.keys(c(o))) == null ? void 0 : N[0]) == null ? void 0 : C.split("$");
2095
+ i[(i == null ? void 0 : i.length) - 1].compData.push({
2092
2096
  key: (E = j == null ? void 0 : j.find((B) => {
2093
2097
  var F, v;
2094
2098
  return ((F = B == null ? void 0 : B.key) == null ? void 0 : F.toUpperCase()) === ((v = P == null ? void 0 : P[0]) == null ? void 0 : v.toUpperCase());
@@ -2098,13 +2102,13 @@ const J = [
2098
2102
  });
2099
2103
  }
2100
2104
  return o;
2101
- }), O.contents = f, O;
2105
+ }), m.contents = i, m;
2102
2106
  })), g;
2103
- }), d;
2107
+ }), A;
2104
2108
  } catch {
2105
2109
  return !1;
2106
2110
  }
2107
- }, Nt = (e) => ul(e), vt = (e) => !!ul(e), dt = kl(Ce), { itemData: Pt } = qe(dt), yt = gl(Ce), { systemKey: Bt, activeMenuPath: Ft } = qe(yt), se = R(0), Ut = (e) => e.reduce((n, l) => {
2111
+ }, Nt = (e) => ul(e), vt = (e) => !!ul(e), dt = kl(Ce), { itemData: Pt } = qe(dt), yt = bl(Ce), { systemKey: Bt, activeMenuPath: Ft } = qe(yt), se = R(0), Ut = (e) => e.reduce((n, l) => {
2108
2112
  var a, u;
2109
2113
  const s = Object.values(n);
2110
2114
  return (((a = Object.keys(n)) == null ? void 0 : a.length) === 0 || s[s.length - 1].length >= (l == null ? void 0 : l.width)) && (n[se.value] = [], se.value++), n[se.value - 1].push(l), ((u = Object.keys(n)) == null ? void 0 : u.length) === (l == null ? void 0 : l.width) && (n[se.value] = [], se.value++), n;