ss-component-new 1.1.202 → 1.1.203

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 (110) hide show
  1. package/dist/{array-9iTLyKqW.js → array-CFjAQKy7.js} +411 -408
  2. package/dist/array-D7Sl6w5S.cjs +7 -0
  3. package/dist/{cloneDeep-BpAefU3Z.js → cloneDeep-BLQghEgs.js} +29 -29
  4. package/dist/{cloneDeep-DeLNPZ1z.cjs → cloneDeep-CAdgmyte.cjs} +1 -1
  5. package/dist/{formToTable-CChcFM-W.js → formToTable--4_ply1A.js} +2 -2
  6. package/dist/formToTable-DfXTizQm.cjs +1 -0
  7. package/dist/index-70ma5PtB.js +120 -0
  8. package/dist/{index-DlZOl37e.cjs → index-8zvtyKvJ.cjs} +1 -1
  9. package/dist/index-B7KlE4Iz.cjs +6 -0
  10. package/dist/index-BE1qDBEi.cjs +1 -0
  11. package/dist/index-BE4uhsw4.js +148 -0
  12. package/dist/index-BMVKpGjH.cjs +1 -0
  13. package/dist/index-BOCRVlu3.js +140 -0
  14. package/dist/{index-ZNsQvsD_.js → index-Be5FUSN9.js} +18 -18
  15. package/dist/{index-DmMWwak4.js → index-Bh1Og1wO.js} +14 -14
  16. package/dist/index-BispWQeW.cjs +87 -0
  17. package/dist/index-BoWb2Khh.cjs +1 -0
  18. package/dist/index-BqiaKavV.cjs +1 -0
  19. package/dist/index-BtK6i9pV.js +2920 -0
  20. package/dist/{request-C4gz7McS.js → index-Bu89TD1D.js} +297 -265
  21. package/dist/index-C24hUN_f.js +180 -0
  22. package/dist/{index-CIdEK9-v.js → index-CIh-8WPZ.js} +205 -206
  23. package/dist/index-CNeO7_VE.cjs +1 -0
  24. package/dist/{index-CjjZY9qz.js → index-CVOu0TLp.js} +6 -6
  25. package/dist/{index-C8pfHj5l.js → index-CYzuIrEX.js} +1 -1
  26. package/dist/index-CZcQb49C.cjs +32 -0
  27. package/dist/index-C_4U5pAc.cjs +6 -0
  28. package/dist/{index-COMTWuI3.js → index-C_SFjPGc.js} +151 -151
  29. package/dist/index-CbQ_9CDv.cjs +1 -0
  30. package/dist/index-CdFTOAEw.js +4663 -0
  31. package/dist/index-Cdua8FdU.js +38 -0
  32. package/dist/{index-FQrVIR-1.js → index-CeJhazIQ.js} +1 -1
  33. package/dist/{index-y4woWWFQ.cjs → index-Co-2rSih.cjs} +1 -1
  34. package/dist/index-D64eMcNi.js +358 -0
  35. package/dist/index-D9RWfn8t.cjs +1 -0
  36. package/dist/index-DHO-TIRh.js +60 -0
  37. package/dist/index-DKwl8Syi.cjs +1 -0
  38. package/dist/{index-Ba__zDMu.cjs → index-DQrgyQpG.cjs} +1 -1
  39. package/dist/index-DU4fEU0q.cjs +1 -0
  40. package/dist/{index-D43h1EYw.js → index-DknHePUM.js} +236 -248
  41. package/dist/{index-A4Gyh5sH.js → index-DpVDVL0C.js} +6 -6
  42. package/dist/{index-xCiXSc9M.cjs → index-Dt6dA5b3.cjs} +169 -169
  43. package/dist/index-DwBKBHl2.cjs +1 -0
  44. package/dist/{index-BSAMd4oh.js → index-DwdOlNEH.js} +7051 -7021
  45. package/dist/index-S3sfBb6v.cjs +1 -0
  46. package/dist/index-XKs8yoYm.cjs +1 -0
  47. package/dist/index-iHgg-F_A.js +38 -0
  48. package/dist/index-tYeHnS70.cjs +6 -0
  49. package/dist/index-xjDqSCvD.cjs +1 -0
  50. package/dist/{index-Dk49iyK6.js → index-zkm3iJQ1.js} +11 -12
  51. package/dist/index.vue_vue_type_script_setup_true_lang-CsHQ7Z5q.cjs +1 -0
  52. package/dist/index.vue_vue_type_script_setup_true_lang-DP5Alumh.js +293 -0
  53. package/dist/{index.vue_vue_type_style_index_0_scoped_baf99455_lang-Cng3k7Fr.js → index.vue_vue_type_style_index_0_scoped_baf99455_lang-82FJYtra.js} +135 -134
  54. package/dist/index.vue_vue_type_style_index_0_scoped_baf99455_lang-DABNQUIV.cjs +1 -0
  55. package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-D6JwRZHf.cjs → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-6shkmv3t.cjs} +1 -1
  56. package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-CtYBwxZ5.js → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-CS0CxTyd.js} +8 -8
  57. package/dist/login-CHHhxW8B.cjs +1 -0
  58. package/dist/{login-D5t7lIjE.js → login-YVUKYLQ_.js} +6 -7
  59. package/dist/{main-CU5pA7Zd.js → main-CxKKAHce.js} +6 -6
  60. package/dist/main-Ma-ZG7Ku.cjs +1 -0
  61. package/dist/menu-CloMe28c.cjs +11 -0
  62. package/dist/{menu-BjDw_fze.js → menu-ClqeFk6S.js} +272 -281
  63. package/dist/{modelComp-CkCESUaO.js → modelComp-D8PxHDjf.js} +1 -1
  64. package/dist/{modelComp-DrEno2p9.cjs → modelComp-zpEEQ6Tj.cjs} +1 -1
  65. package/dist/ss-component.cjs +1 -1
  66. package/dist/ss-component.css +2 -2
  67. package/dist/ss-component.js +7 -7
  68. package/dist/ss-component2.cjs +1 -1
  69. package/dist/ss-component2.js +1 -1
  70. package/package.json +2 -1
  71. package/dist/array-ClMdQeYx.cjs +0 -7
  72. package/dist/crypto-BRyGpjGR.js +0 -2004
  73. package/dist/crypto-CRbcEKIz.cjs +0 -26
  74. package/dist/formToTable-BLqqpL4L.cjs +0 -1
  75. package/dist/index-3zaWs-C9.cjs +0 -1
  76. package/dist/index-6_z_TpR8.cjs +0 -74
  77. package/dist/index-BBV1mEId.js +0 -191
  78. package/dist/index-BSiZJ30i.js +0 -330
  79. package/dist/index-BglXiJwe.js +0 -68
  80. package/dist/index-BqKN_L_0.cjs +0 -1
  81. package/dist/index-Bs70suRc.cjs +0 -7
  82. package/dist/index-BvtFHn35.cjs +0 -1
  83. package/dist/index-CBkOurue.js +0 -61
  84. package/dist/index-CJ39obRd.js +0 -35
  85. package/dist/index-Cj3HM8mA.cjs +0 -1
  86. package/dist/index-Cjud2oRL.cjs +0 -1
  87. package/dist/index-D64rezhw.js +0 -150
  88. package/dist/index-DD_Gsy7A.cjs +0 -6
  89. package/dist/index-DJiVw5P1.js +0 -3291
  90. package/dist/index-DMRVk4AE.cjs +0 -1
  91. package/dist/index-DRKegsBw.cjs +0 -9
  92. package/dist/index-DdZ0naEt.cjs +0 -1
  93. package/dist/index-HGJD7g_o.js +0 -2668
  94. package/dist/index-NpT4yQh4.cjs +0 -1
  95. package/dist/index-Rx59tO17.cjs +0 -1
  96. package/dist/index-TeTSy6Hs.cjs +0 -1
  97. package/dist/index-YSqkKpWi.cjs +0 -1
  98. package/dist/index-eq_KaB32.js +0 -159
  99. package/dist/index-rns7CnXq.cjs +0 -1
  100. package/dist/index.vue_vue_type_script_setup_true_lang-B8g6RfK4.js +0 -207
  101. package/dist/index.vue_vue_type_script_setup_true_lang-z-fPHl36.cjs +0 -1
  102. package/dist/index.vue_vue_type_style_index_0_scoped_baf99455_lang-R89L6UV1.cjs +0 -1
  103. package/dist/login-jt0_zdYC.cjs +0 -1
  104. package/dist/main-nUPghNZO.cjs +0 -1
  105. package/dist/menu-BRb07J6O.cjs +0 -11
  106. package/dist/obj/model.mtl +0 -42
  107. package/dist/obj/model.obj +0 -26110
  108. package/dist/request-B1V5TBi0.cjs +0 -6
  109. package/public/obj/model.mtl +0 -42
  110. package/public/obj/model.obj +0 -26110
@@ -1,42 +1,41 @@
1
- import { g as Cl, s as Al } from "./index-CIdEK9-v.js";
2
- import { _ as $l, s as Ol } from "./index.vue_vue_type_script_setup_true_lang-B8g6RfK4.js";
3
- import { ref as L, watch as te, resolveComponent as Ve, createElementBlock as q, openBlock as Z, createElementVNode as w, createVNode as z, toDisplayString as K, withCtx as ne, createTextVNode as ce, Fragment as de, renderList as _e, createBlock as Se, resolveDynamicComponent as Pe, createCommentVNode as _l } from "vue";
4
- import { s as ue, a as el, b as vl } from "./index-DJiVw5P1.js";
1
+ import { g as Cl, s as Al } from "./index-CIh-8WPZ.js";
2
+ import { _ as $l, a as Ol, s as _l } from "./index.vue_vue_type_script_setup_true_lang-DP5Alumh.js";
3
+ import { ref as R, watch as te, resolveComponent as Ve, createElementBlock as q, openBlock as Z, createElementVNode as w, createVNode as z, toDisplayString as K, withCtx as ne, createTextVNode as ce, Fragment as de, renderList as _e, createBlock as Se, resolveDynamicComponent as Pe, createCommentVNode as vl } from "vue";
4
+ import { s as ue, a as el, b as xl } from "./index-BtK6i9pV.js";
5
5
  import { _ as ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import { U as Be, g as Ue, a as je, i as Fe, S as ke, b as xl, c as u } from "./cloneDeep-BpAefU3Z.js";
7
- import { _ as Tl } from "./index.vue_vue_type_script_setup_true_lang-DQ2k4Z7D.js";
8
- import { g as Je } from "./index-CJ39obRd.js";
9
- import { p as xe, a as El } from "./request-C4gz7McS.js";
10
- import { s as Te, u as Dl } from "./menu-BjDw_fze.js";
11
- import { u as ll } from "./modelComp-CkCESUaO.js";
12
- import { M as Nl, S as Le, e as Sl, i as Re, b as we } from "./index-COMTWuI3.js";
13
- var Pl = "__lodash_hash_undefined__";
14
- function Bl(e) {
15
- return this.__data__.set(e, Pl), this;
16
- }
6
+ import { U as Be, g as Ue, a as je, i as Fe, S as ke, b as Tl, c as u } from "./cloneDeep-BLQghEgs.js";
7
+ import { _ as El } from "./index.vue_vue_type_script_setup_true_lang-DQ2k4Z7D.js";
8
+ import { p as xe, g as Je, a as Dl } from "./index-Bu89TD1D.js";
9
+ import { s as Te, u as Nl } from "./menu-ClqeFk6S.js";
10
+ import { u as ll } from "./modelComp-D8PxHDjf.js";
11
+ import { M as Sl, S as Re, e as Pl, i as Le, b as we } from "./index-C_SFjPGc.js";
12
+ var Bl = "__lodash_hash_undefined__";
17
13
  function Ul(e) {
14
+ return this.__data__.set(e, Bl), this;
15
+ }
16
+ function jl(e) {
18
17
  return this.__data__.has(e);
19
18
  }
20
19
  function me(e) {
21
20
  var t = -1, n = e == null ? 0 : e.length;
22
- for (this.__data__ = new Nl(); ++t < n; )
21
+ for (this.__data__ = new Sl(); ++t < n; )
23
22
  this.add(e[t]);
24
23
  }
25
- me.prototype.add = me.prototype.push = Bl;
26
- me.prototype.has = Ul;
27
- function jl(e, t) {
24
+ me.prototype.add = me.prototype.push = Ul;
25
+ me.prototype.has = jl;
26
+ function Fl(e, t) {
28
27
  for (var n = -1, l = e == null ? 0 : e.length; ++n < l; )
29
28
  if (t(e[n], n, e))
30
29
  return !0;
31
30
  return !1;
32
31
  }
33
- function Fl(e, t) {
32
+ function Jl(e, t) {
34
33
  return e.has(t);
35
34
  }
36
- var Jl = 1, Ll = 2;
35
+ var Rl = 1, Ll = 2;
37
36
  function tl(e, t, n, l, a, s) {
38
- var o = n & Jl, p = e.length, i = t.length;
39
- if (p != i && !(o && i > p))
37
+ var r = n & Rl, p = e.length, i = t.length;
38
+ if (p != i && !(r && i > p))
40
39
  return !1;
41
40
  var d = s.get(e), m = s.get(t);
42
41
  if (d && m)
@@ -45,7 +44,7 @@ function tl(e, t, n, l, a, s) {
45
44
  for (s.set(e, t), s.set(t, e); ++_ < p; ) {
46
45
  var C = e[_], E = t[_];
47
46
  if (l)
48
- var h = o ? l(E, C, _, t, e, s) : l(C, E, _, e, t, s);
47
+ var h = r ? l(E, C, _, t, e, s) : l(C, E, _, e, t, s);
49
48
  if (h !== void 0) {
50
49
  if (h)
51
50
  continue;
@@ -53,8 +52,8 @@ function tl(e, t, n, l, a, s) {
53
52
  break;
54
53
  }
55
54
  if (v) {
56
- if (!jl(t, function(f, g) {
57
- if (!Fl(v, g) && (C === f || a(C, f, n, l, s)))
55
+ if (!Fl(t, function(f, g) {
56
+ if (!Jl(v, g) && (C === f || a(C, f, n, l, s)))
58
57
  return v.push(g);
59
58
  })) {
60
59
  $ = !1;
@@ -67,62 +66,62 @@ function tl(e, t, n, l, a, s) {
67
66
  }
68
67
  return s.delete(e), s.delete(t), $;
69
68
  }
70
- function Rl(e) {
69
+ function wl(e) {
71
70
  var t = -1, n = Array(e.size);
72
71
  return e.forEach(function(l, a) {
73
72
  n[++t] = [a, l];
74
73
  }), n;
75
74
  }
76
- function wl(e) {
75
+ function Gl(e) {
77
76
  var t = -1, n = Array(e.size);
78
77
  return e.forEach(function(l) {
79
78
  n[++t] = l;
80
79
  }), n;
81
80
  }
82
- var Gl = 1, Ml = 2, Il = "[object Boolean]", Hl = "[object Date]", Wl = "[object Error]", Zl = "[object Map]", Kl = "[object Number]", ql = "[object RegExp]", zl = "[object Set]", Ql = "[object String]", Xl = "[object Symbol]", Yl = "[object ArrayBuffer]", Vl = "[object DataView]", Ge = Le ? Le.prototype : void 0, Ce = Ge ? Ge.valueOf : void 0;
83
- function et(e, t, n, l, a, s, o) {
81
+ var Ml = 1, Il = 2, Hl = "[object Boolean]", Wl = "[object Date]", Zl = "[object Error]", Kl = "[object Map]", ql = "[object Number]", zl = "[object RegExp]", Ql = "[object Set]", Xl = "[object String]", Yl = "[object Symbol]", Vl = "[object ArrayBuffer]", et = "[object DataView]", Ge = Re ? Re.prototype : void 0, Ce = Ge ? Ge.valueOf : void 0;
82
+ function lt(e, t, n, l, a, s, r) {
84
83
  switch (n) {
85
- case Vl:
84
+ case et:
86
85
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
87
86
  return !1;
88
87
  e = e.buffer, t = t.buffer;
89
- case Yl:
88
+ case Vl:
90
89
  return !(e.byteLength != t.byteLength || !s(new Be(e), new Be(t)));
91
- case Il:
92
90
  case Hl:
93
- case Kl:
94
- return Sl(+e, +t);
95
91
  case Wl:
96
- return e.name == t.name && e.message == t.message;
97
92
  case ql:
98
- case Ql:
99
- return e == t + "";
93
+ return Pl(+e, +t);
100
94
  case Zl:
101
- var p = Rl;
95
+ return e.name == t.name && e.message == t.message;
102
96
  case zl:
103
- var i = l & Gl;
104
- if (p || (p = wl), e.size != t.size && !i)
97
+ case Xl:
98
+ return e == t + "";
99
+ case Kl:
100
+ var p = wl;
101
+ case Ql:
102
+ var i = l & Ml;
103
+ if (p || (p = Gl), e.size != t.size && !i)
105
104
  return !1;
106
- var d = o.get(e);
105
+ var d = r.get(e);
107
106
  if (d)
108
107
  return d == t;
109
- l |= Ml, o.set(e, t);
110
- var m = tl(p(e), p(t), l, a, s, o);
111
- return o.delete(e), m;
112
- case Xl:
108
+ l |= Il, r.set(e, t);
109
+ var m = tl(p(e), p(t), l, a, s, r);
110
+ return r.delete(e), m;
111
+ case Yl:
113
112
  if (Ce)
114
113
  return Ce.call(e) == Ce.call(t);
115
114
  }
116
115
  return !1;
117
116
  }
118
- var lt = 1, tt = Object.prototype, nt = tt.hasOwnProperty;
119
- function at(e, t, n, l, a, s) {
120
- var o = n & lt, p = Ue(e), i = p.length, d = Ue(t), m = d.length;
121
- if (i != m && !o)
117
+ var tt = 1, nt = Object.prototype, at = nt.hasOwnProperty;
118
+ function st(e, t, n, l, a, s) {
119
+ var r = n & tt, p = Ue(e), i = p.length, d = Ue(t), m = d.length;
120
+ if (i != m && !r)
122
121
  return !1;
123
122
  for (var _ = i; _--; ) {
124
123
  var $ = p[_];
125
- if (!(o ? $ in t : nt.call(t, $)))
124
+ if (!(r ? $ in t : at.call(t, $)))
126
125
  return !1;
127
126
  }
128
127
  var v = s.get(e), C = s.get(t);
@@ -130,11 +129,11 @@ function at(e, t, n, l, a, s) {
130
129
  return v == t && C == e;
131
130
  var E = !0;
132
131
  s.set(e, t), s.set(t, e);
133
- for (var h = o; ++_ < i; ) {
132
+ for (var h = r; ++_ < i; ) {
134
133
  $ = p[_];
135
134
  var f = e[$], g = t[$];
136
135
  if (l)
137
- var k = o ? l(g, f, $, t, e, s) : l(f, g, $, e, t, s);
136
+ var k = r ? l(g, f, $, t, e, s) : l(f, g, $, e, t, s);
138
137
  if (!(k === void 0 ? f === g || a(f, g, n, l, s) : k)) {
139
138
  E = !1;
140
139
  break;
@@ -142,39 +141,39 @@ function at(e, t, n, l, a, s) {
142
141
  h || (h = $ == "constructor");
143
142
  }
144
143
  if (E && !h) {
145
- var c = e.constructor, r = t.constructor;
146
- c != r && "constructor" in e && "constructor" in t && !(typeof c == "function" && c instanceof c && typeof r == "function" && r instanceof r) && (E = !1);
144
+ var c = e.constructor, o = t.constructor;
145
+ c != o && "constructor" in e && "constructor" in t && !(typeof c == "function" && c instanceof c && typeof o == "function" && o instanceof o) && (E = !1);
147
146
  }
148
147
  return s.delete(e), s.delete(t), E;
149
148
  }
150
- var st = 1, Me = "[object Arguments]", Ie = "[object Array]", pe = "[object Object]", rt = Object.prototype, He = rt.hasOwnProperty;
151
- function ot(e, t, n, l, a, s) {
152
- var o = Re(e), p = Re(t), i = o ? Ie : je(e), d = p ? Ie : je(t);
149
+ var rt = 1, Me = "[object Arguments]", Ie = "[object Array]", pe = "[object Object]", ot = Object.prototype, He = ot.hasOwnProperty;
150
+ function ct(e, t, n, l, a, s) {
151
+ var r = Le(e), p = Le(t), i = r ? Ie : je(e), d = p ? Ie : je(t);
153
152
  i = i == Me ? pe : i, d = d == Me ? pe : d;
154
153
  var m = i == pe, _ = d == pe, $ = i == d;
155
154
  if ($ && Fe(e)) {
156
155
  if (!Fe(t))
157
156
  return !1;
158
- o = !0, m = !1;
157
+ r = !0, m = !1;
159
158
  }
160
159
  if ($ && !m)
161
- return s || (s = new ke()), o || xl(e) ? tl(e, t, n, l, a, s) : et(e, t, i, n, l, a, s);
162
- if (!(n & st)) {
160
+ return s || (s = new ke()), r || Tl(e) ? tl(e, t, n, l, a, s) : lt(e, t, i, n, l, a, s);
161
+ if (!(n & rt)) {
163
162
  var v = m && He.call(e, "__wrapped__"), C = _ && He.call(t, "__wrapped__");
164
163
  if (v || C) {
165
164
  var E = v ? e.value() : e, h = C ? t.value() : t;
166
165
  return s || (s = new ke()), a(E, h, n, l, s);
167
166
  }
168
167
  }
169
- return $ ? (s || (s = new ke()), at(e, t, n, l, a, s)) : !1;
168
+ return $ ? (s || (s = new ke()), st(e, t, n, l, a, s)) : !1;
170
169
  }
171
170
  function nl(e, t, n, l, a) {
172
- return e === t ? !0 : e == null || t == null || !we(e) && !we(t) ? e !== e && t !== t : ot(e, t, n, l, nl, a);
171
+ return e === t ? !0 : e == null || t == null || !we(e) && !we(t) ? e !== e && t !== t : ct(e, t, n, l, nl, a);
173
172
  }
174
- function ct(e, t) {
173
+ function ut(e, t) {
175
174
  return nl(e, t);
176
175
  }
177
- const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item" }, it = { class: "operate-title" }, ft = { class: "operate-content" }, dt = { class: "operate-title" }, ht = { class: "operate-content" }, yt = { class: "operate-title" }, mt = { class: "operate-content" }, gt = { class: "operate-content" }, bt = {
176
+ const pt = { class: "table-operate-content" }, it = { class: "table-operate-item" }, ft = { class: "operate-title" }, dt = { class: "operate-content" }, ht = { class: "operate-title" }, yt = { class: "operate-content" }, mt = { class: "operate-title" }, gt = { class: "operate-content" }, bt = { class: "operate-content" }, kt = {
178
177
  __name: "operate",
179
178
  props: {
180
179
  itemContents: {
@@ -188,7 +187,7 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
188
187
  },
189
188
  emits: ["change"],
190
189
  setup(e, { emit: t }) {
191
- const n = e, l = t, a = L([]), s = L([]), o = L([]), p = L([{
190
+ const n = e, l = t, a = R([]), s = R([]), r = R([]), p = R([{
192
191
  label: "按钮名称",
193
192
  prop: "label",
194
193
  type: "edit"
@@ -206,7 +205,7 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
206
205
  prop: "operate",
207
206
  type: "operate",
208
207
  sortable: !1
209
- }]), i = L([{
208
+ }]), i = R([{
210
209
  label: "标签名称",
211
210
  prop: "label",
212
211
  type: "edit"
@@ -224,7 +223,7 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
224
223
  prop: "operate",
225
224
  type: "operate",
226
225
  sortable: !1
227
- }]), d = L([]), m = L(0), _ = L([{
226
+ }]), d = R([]), m = R(0), _ = R([{
228
227
  name: "isPagination",
229
228
  label: "是否显示分页",
230
229
  type: "Switch",
@@ -302,18 +301,18 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
302
301
  type: "operate",
303
302
  sortable: !1
304
303
  }], v = (c) => {
305
- let r = u(a.value);
306
- const y = r == null ? void 0 : r.find((A) => A.key === "page");
307
- (y == null ? void 0 : y.contents) !== void 0 ? r = r == null ? void 0 : r.map((A) => ((A == null ? void 0 : A.key) === "page" && (A.contents = c == null ? void 0 : c.isPagination), A)) : r.push({
304
+ let o = u(a.value);
305
+ const y = o == null ? void 0 : o.find((A) => A.key === "page");
306
+ (y == null ? void 0 : y.contents) !== void 0 ? o = o == null ? void 0 : o.map((A) => ((A == null ? void 0 : A.key) === "page" && (A.contents = c == null ? void 0 : c.isPagination), A)) : o.push({
308
307
  key: "page",
309
308
  contents: c == null ? void 0 : c.isPagination
310
- }), a.value = r;
309
+ }), a.value = o;
311
310
  };
312
311
  te(
313
312
  () => n.originalItemContents,
314
313
  () => {
315
- var c, r, y, A, O, P, x, U, G, T, S, N, D;
316
- !n.originalItemContents || n.originalItemContents.length === 0 || (a.value = u(n.originalItemContents), s.value = (r = (c = a.value) == null ? void 0 : c.find((b) => (b == null ? void 0 : b.key) === "header")) == null ? void 0 : r.contents, o.value = (A = (y = a.value) == null ? void 0 : y.find((b) => (b == null ? void 0 : b.key) === "rowButton")) == null ? void 0 : A.contents, p.value = (P = (O = a.value) == null ? void 0 : O.find((b) => (b == null ? void 0 : b.key) === "extraButton")) == null ? void 0 : P.contents, _.value = (U = (x = a.value) == null ? void 0 : x.find((b) => (b == null ? void 0 : b.key) === "page")) != null && U.contents ? [{
314
+ var c, o, y, A, O, P, x, U, G, T, S, N, D;
315
+ !n.originalItemContents || n.originalItemContents.length === 0 || (a.value = u(n.originalItemContents), s.value = (o = (c = a.value) == null ? void 0 : c.find((b) => (b == null ? void 0 : b.key) === "header")) == null ? void 0 : o.contents, r.value = (A = (y = a.value) == null ? void 0 : y.find((b) => (b == null ? void 0 : b.key) === "rowButton")) == null ? void 0 : A.contents, p.value = (P = (O = a.value) == null ? void 0 : O.find((b) => (b == null ? void 0 : b.key) === "extraButton")) == null ? void 0 : P.contents, _.value = (U = (x = a.value) == null ? void 0 : x.find((b) => (b == null ? void 0 : b.key) === "page")) != null && U.contents ? [{
317
316
  name: "isPagination",
318
317
  label: "是否显示分页",
319
318
  type: "Switch",
@@ -335,7 +334,7 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
335
334
  isEditCol: (b == null ? void 0 : b.isEditCol) ?? !1,
336
335
  isOperate: (b == null ? void 0 : b.isOperate) ?? !1,
337
336
  id: (b == null ? void 0 : b.id) ?? B
338
- }), o.value = (N = o.value) == null ? void 0 : N.map((b, B) => b = {
337
+ }), r.value = (N = r.value) == null ? void 0 : N.map((b, B) => b = {
339
338
  label: (b == null ? void 0 : b.label) ?? "",
340
339
  type: (b == null ? void 0 : b.type) ?? "",
341
340
  textColor: (b == null ? void 0 : b.textColor) ?? "#000000",
@@ -353,8 +352,8 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
353
352
  () => {
354
353
  var y;
355
354
  let c = u(a.value);
356
- const r = c == null ? void 0 : c.find((A) => A.key === "page");
357
- r != null && r.contents ? c = c == null ? void 0 : c.map((A) => {
355
+ const o = c == null ? void 0 : c.find((A) => A.key === "page");
356
+ o != null && o.contents ? c = c == null ? void 0 : c.map((A) => {
358
357
  var O;
359
358
  return (A == null ? void 0 : A.key) === "page" && (A.contents = (O = _.value) == null ? void 0 : O[0].value), A;
360
359
  }) : c.push({
@@ -366,7 +365,7 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
366
365
  );
367
366
  const C = () => {
368
367
  const c = u(s.value);
369
- let r = u(a.value);
368
+ let o = u(a.value);
370
369
  c.push({
371
370
  label: "",
372
371
  prop: "",
@@ -380,88 +379,88 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
380
379
  isOperate: !1,
381
380
  id: m.value
382
381
  }), s.value = c, m.value++;
383
- const y = r == null ? void 0 : r.find((A) => (A == null ? void 0 : A.key) === "header");
384
- y != null && y.contents ? (y.contents = c, r = r == null ? void 0 : r.map((A) => ((A == null ? void 0 : A.key) === "header" && (A.contents = c), A))) : r.push({
382
+ const y = o == null ? void 0 : o.find((A) => (A == null ? void 0 : A.key) === "header");
383
+ y != null && y.contents ? (y.contents = c, o = o == null ? void 0 : o.map((A) => ((A == null ? void 0 : A.key) === "header" && (A.contents = c), A))) : o.push({
385
384
  key: "header",
386
385
  contents: c
387
- }), a.value = r;
386
+ }), a.value = o;
388
387
  }, E = () => {
389
- const c = u(o.value);
390
- let r = u(a.value);
388
+ const c = u(r.value);
389
+ let o = u(a.value);
391
390
  c.push({
392
391
  label: "",
393
392
  type: "",
394
393
  textColor: "#000000",
395
394
  id: m.value
396
- }), o.value = c, m.value++;
397
- const y = r == null ? void 0 : r.find((A) => (A == null ? void 0 : A.key) === "rowButton");
398
- y != null && y.contents ? (y.contents = c, r = r == null ? void 0 : r.map((A) => ((A == null ? void 0 : A.key) === "rowButton" && (A.contents = c), A))) : r.push({
395
+ }), r.value = c, m.value++;
396
+ const y = o == null ? void 0 : o.find((A) => (A == null ? void 0 : A.key) === "rowButton");
397
+ y != null && y.contents ? (y.contents = c, o = o == null ? void 0 : o.map((A) => ((A == null ? void 0 : A.key) === "rowButton" && (A.contents = c), A))) : o.push({
399
398
  key: "rowButton",
400
399
  contents: c
401
- }), a.value = r;
400
+ }), a.value = o;
402
401
  }, h = () => {
403
402
  const c = u(d.value);
404
- let r = u(a.value);
403
+ let o = u(a.value);
405
404
  c.push({
406
405
  label: "",
407
406
  type: "",
408
407
  background: "#FFFFFF",
409
408
  id: m.value
410
409
  }), d.value = c, m.value++;
411
- const y = r == null ? void 0 : r.find((A) => (A == null ? void 0 : A.key) === "extraButton");
412
- y != null && y.contents ? (y.contents = c, r = r == null ? void 0 : r.map((A) => ((A == null ? void 0 : A.key) === "extraButton" && (A.contents = c), A))) : r.push({
410
+ const y = o == null ? void 0 : o.find((A) => (A == null ? void 0 : A.key) === "extraButton");
411
+ y != null && y.contents ? (y.contents = c, o = o == null ? void 0 : o.map((A) => ((A == null ? void 0 : A.key) === "extraButton" && (A.contents = c), A))) : o.push({
413
412
  key: "extraButton",
414
413
  contents: c
415
- }), a.value = r;
414
+ }), a.value = o;
416
415
  }, f = (c) => {
417
- const r = u(o.value);
416
+ const o = u(r.value);
418
417
  let y = u(a.value);
419
- o.value = r.filter((O) => O.id !== c.id);
418
+ r.value = o.filter((O) => O.id !== c.id);
420
419
  const A = y == null ? void 0 : y.find((O) => O.key === "rowButton");
421
- A != null && A.contents && (y = y == null ? void 0 : y.map((O) => ((O == null ? void 0 : O.key) === "rowButton" && (O.contents = r.filter((P) => P.id !== c.id)), O))), a.value = y;
420
+ A != null && A.contents && (y = y == null ? void 0 : y.map((O) => ((O == null ? void 0 : O.key) === "rowButton" && (O.contents = o.filter((P) => P.id !== c.id)), O))), a.value = y;
422
421
  }, g = (c) => {
423
- const r = u(d.value);
422
+ const o = u(d.value);
424
423
  let y = u(a.value);
425
- d.value = r.filter((O) => O.id !== c.id);
424
+ d.value = o.filter((O) => O.id !== c.id);
426
425
  const A = y == null ? void 0 : y.find((O) => O.key === "extraButton");
427
- A != null && A.contents && (y = y == null ? void 0 : y.map((O) => ((O == null ? void 0 : O.key) === "extraButton" && (O.contents = r.filter((P) => P.id !== c.id)), O))), a.value = y;
426
+ A != null && A.contents && (y = y == null ? void 0 : y.map((O) => ((O == null ? void 0 : O.key) === "extraButton" && (O.contents = o.filter((P) => P.id !== c.id)), O))), a.value = y;
428
427
  }, k = (c) => {
429
- const r = u(s.value);
428
+ const o = u(s.value);
430
429
  let y = u(a.value);
431
- s.value = r.filter((O) => O.id !== c.id);
430
+ s.value = o.filter((O) => O.id !== c.id);
432
431
  const A = y == null ? void 0 : y.find((O) => O.key === "header");
433
- A != null && A.contents && (y = y == null ? void 0 : y.map((O) => ((O == null ? void 0 : O.key) === "header" && (O.contents = r.filter((P) => P.id !== c.id)), O))), a.value = y;
432
+ A != null && A.contents && (y = y == null ? void 0 : y.map((O) => ((O == null ? void 0 : O.key) === "header" && (O.contents = o.filter((P) => P.id !== c.id)), O))), a.value = y;
434
433
  };
435
434
  return te(
436
435
  () => [a.value, s.value],
437
436
  () => {
438
437
  let c = u(a.value);
439
- const r = c == null ? void 0 : c.find((y) => (y == null ? void 0 : y.key) === "header");
440
- r != null && r.contents ? (r.contents = s.value, c = c == null ? void 0 : c.map((y) => ((y == null ? void 0 : y.key) === "header" && (y.contents = s.value), y))) : c.push({
438
+ const o = c == null ? void 0 : c.find((y) => (y == null ? void 0 : y.key) === "header");
439
+ o != null && o.contents ? (o.contents = s.value, c = c == null ? void 0 : c.map((y) => ((y == null ? void 0 : y.key) === "header" && (y.contents = s.value), y))) : c.push({
441
440
  key: "header",
442
441
  contents: s.value
443
442
  }), l("change", c);
444
443
  },
445
444
  { deep: !0, immediate: !0 }
446
- ), (c, r) => {
445
+ ), (c, o) => {
447
446
  const y = Ve("el-button");
448
- return Z(), q("div", ut, [
449
- w("div", pt, [
450
- w("div", it, [
451
- r[1] || (r[1] = w("div", null, K("表头"), -1)),
447
+ return Z(), q("div", pt, [
448
+ w("div", it, [
449
+ w("div", ft, [
450
+ o[1] || (o[1] = w("div", null, K("表头"), -1)),
452
451
  z(y, {
453
452
  class: "blue-operate-button",
454
453
  icon: "ele-Plus",
455
454
  onClick: C
456
455
  }, {
457
- default: ne(() => r[0] || (r[0] = [
456
+ default: ne(() => o[0] || (o[0] = [
458
457
  ce(K("新建"))
459
458
  ])),
460
459
  _: 1,
461
460
  __: [0]
462
461
  })
463
462
  ]),
464
- w("div", ft, [
463
+ w("div", dt, [
465
464
  z(ue, {
466
465
  columns: $,
467
466
  isShowPagination: !1,
@@ -471,45 +470,45 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
471
470
  onDeleteRow: k
472
471
  }, null, 8, ["tableData"])
473
472
  ]),
474
- w("div", dt, [
475
- r[3] || (r[3] = w("div", null, K("行内按钮"), -1)),
473
+ w("div", ht, [
474
+ o[3] || (o[3] = w("div", null, K("行内按钮"), -1)),
476
475
  z(y, {
477
476
  class: "blue-operate-button",
478
477
  icon: "ele-Plus",
479
478
  onClick: E
480
479
  }, {
481
- default: ne(() => r[2] || (r[2] = [
480
+ default: ne(() => o[2] || (o[2] = [
482
481
  ce(K("新建"))
483
482
  ])),
484
483
  _: 1,
485
484
  __: [2]
486
485
  })
487
486
  ]),
488
- w("div", ht, [
487
+ w("div", yt, [
489
488
  z(ue, {
490
489
  columns: i.value,
491
490
  isShowPagination: !1,
492
491
  isShowEdit: !1,
493
492
  isMoveColumn: !1,
494
- tableData: o.value,
493
+ tableData: r.value,
495
494
  onDeleteRow: f
496
495
  }, null, 8, ["columns", "tableData"])
497
496
  ]),
498
- w("div", yt, [
499
- r[5] || (r[5] = w("div", null, K("表格外部按钮"), -1)),
497
+ w("div", mt, [
498
+ o[5] || (o[5] = w("div", null, K("表格外部按钮"), -1)),
500
499
  z(y, {
501
500
  class: "blue-operate-button",
502
501
  icon: "ele-Plus",
503
502
  onClick: h
504
503
  }, {
505
- default: ne(() => r[4] || (r[4] = [
504
+ default: ne(() => o[4] || (o[4] = [
506
505
  ce(K("新建"))
507
506
  ])),
508
507
  _: 1,
509
508
  __: [4]
510
509
  })
511
510
  ]),
512
- w("div", mt, [
511
+ w("div", gt, [
513
512
  z(ue, {
514
513
  columns: p.value,
515
514
  isShowPagination: !1,
@@ -519,10 +518,10 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
519
518
  onDeleteRow: g
520
519
  }, null, 8, ["columns", "tableData"])
521
520
  ]),
522
- r[6] || (r[6] = w("div", { class: "operate-title" }, [
521
+ o[6] || (o[6] = w("div", { class: "operate-title" }, [
523
522
  w("div", null, K("分页"))
524
523
  ], -1)),
525
- w("div", gt, [
524
+ w("div", bt, [
526
525
  z(el, {
527
526
  rowContents: _.value,
528
527
  onChange: v
@@ -532,7 +531,7 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
532
531
  ]);
533
532
  };
534
533
  }
535
- }, kt = /* @__PURE__ */ ge(bt, [["__scopeId", "data-v-877911eb"]]), Ct = { class: "form-operate-content" }, At = { class: "form-operate-item" }, $t = { class: "operate-title" }, Ot = { class: "operate-content" }, _t = { class: "operate-title" }, vt = { class: "operate-content" }, xt = { class: "operate-content" }, Tt = {
534
+ }, Ct = /* @__PURE__ */ ge(kt, [["__scopeId", "data-v-877911eb"]]), At = { class: "form-operate-content" }, $t = { class: "form-operate-item" }, Ot = { class: "operate-title" }, _t = { class: "operate-content" }, vt = { class: "operate-title" }, xt = { class: "operate-content" }, Tt = { class: "operate-content" }, Et = {
536
535
  __name: "operate",
537
536
  props: {
538
537
  itemContents: {
@@ -546,12 +545,12 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
546
545
  },
547
546
  emits: ["change"],
548
547
  setup(e, { emit: t }) {
549
- const n = e, l = t, a = L([{
548
+ const n = e, l = t, a = R([{
550
549
  name: "isRowFlex",
551
550
  label: "是否横向布局",
552
551
  type: "Switch",
553
552
  value: !0
554
- }]), s = L([{
553
+ }]), s = R([{
555
554
  label: "字段名称",
556
555
  prop: "label",
557
556
  type: "edit"
@@ -572,7 +571,7 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
572
571
  prop: "operate",
573
572
  type: "operate",
574
573
  sortable: !1
575
- }]), o = L([{
574
+ }]), r = R([{
576
575
  label: "字段名称",
577
576
  prop: "label",
578
577
  type: "edit"
@@ -590,18 +589,18 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
590
589
  prop: "operate",
591
590
  type: "operate",
592
591
  sortable: !1
593
- }]), p = L([]), i = L([]), d = L([]), m = L(0);
592
+ }]), p = R([]), i = R([]), d = R([]), m = R(0);
594
593
  te(
595
594
  () => n.originalItemContents,
596
595
  () => {
597
- var h, f, g, k, c, r, y, A, O, P;
596
+ var h, f, g, k, c, o, y, A, O, P;
598
597
  !n.originalItemContents || n.originalItemContents.length === 0 || (i.value = u(n.originalItemContents), d.value = (f = (h = i.value) == null ? void 0 : h.find((x) => (x == null ? void 0 : x.key) === "formContent")) == null ? void 0 : f.contents, p.value = (k = (g = i.value) == null ? void 0 : g.find((x) => (x == null ? void 0 : x.key) === "formButton")) == null ? void 0 : k.contents, d.value = (c = d.value) == null ? void 0 : c.map((x, U) => x = {
599
598
  label: (x == null ? void 0 : x.label) ?? "",
600
599
  type: (x == null ? void 0 : x.type) ?? "",
601
600
  key: (x == null ? void 0 : x.key) ?? "",
602
601
  options: (x == null ? void 0 : x.options) ?? "",
603
602
  id: (x == null ? void 0 : x.id) ?? U
604
- }), p.value = (r = p.value) == null ? void 0 : r.map((x, U) => x = {
603
+ }), p.value = (o = p.value) == null ? void 0 : o.map((x, U) => x = {
605
604
  label: (x == null ? void 0 : x.label) ?? "",
606
605
  type: (x == null ? void 0 : x.type) ?? "",
607
606
  background: (x == null ? void 0 : x.background) ?? "#000000",
@@ -654,13 +653,13 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
654
653
  let g = u(i.value);
655
654
  p.value = f.filter((c) => c.id !== h.id);
656
655
  const k = g == null ? void 0 : g.find((c) => c.key === "formButton");
657
- k != null && k.contents && (g = g == null ? void 0 : g.map((c) => ((c == null ? void 0 : c.key) === "formButton" && (c.contents = f.filter((r) => r.id !== h.id)), c))), i.value = g;
656
+ k != null && k.contents && (g = g == null ? void 0 : g.map((c) => ((c == null ? void 0 : c.key) === "formButton" && (c.contents = f.filter((o) => o.id !== h.id)), c))), i.value = g;
658
657
  }, C = (h) => {
659
658
  const f = u(d.value);
660
659
  let g = u(i.value);
661
660
  d.value = f.filter((c) => c.id !== h.id);
662
661
  const k = g == null ? void 0 : g.find((c) => c.key === "formContent");
663
- k != null && k.contents && (g = g == null ? void 0 : g.map((c) => ((c == null ? void 0 : c.key) === "formContent" && (c.contents = f.filter((r) => r.id !== h.id)), c))), i.value = g;
662
+ k != null && k.contents && (g = g == null ? void 0 : g.map((c) => ((c == null ? void 0 : c.key) === "formContent" && (c.contents = f.filter((o) => o.id !== h.id)), c))), i.value = g;
664
663
  }, E = (h) => {
665
664
  let f = u(i.value);
666
665
  const g = f == null ? void 0 : f.find((k) => k.key === "formFlex");
@@ -682,9 +681,9 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
682
681
  { deep: !0, immediate: !0 }
683
682
  ), (h, f) => {
684
683
  const g = Ve("el-button");
685
- return Z(), q("div", Ct, [
686
- w("div", At, [
687
- w("div", $t, [
684
+ return Z(), q("div", At, [
685
+ w("div", $t, [
686
+ w("div", Ot, [
688
687
  f[1] || (f[1] = w("div", null, K("表单信息"), -1)),
689
688
  z(g, {
690
689
  class: "blue-operate-button",
@@ -698,7 +697,7 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
698
697
  __: [0]
699
698
  })
700
699
  ]),
701
- w("div", Ot, [
700
+ w("div", _t, [
702
701
  z(ue, {
703
702
  columns: s.value,
704
703
  isShowPagination: !1,
@@ -708,7 +707,7 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
708
707
  onDeleteRow: C
709
708
  }, null, 8, ["columns", "tableData"])
710
709
  ]),
711
- w("div", _t, [
710
+ w("div", vt, [
712
711
  f[3] || (f[3] = w("div", null, K("表单按钮"), -1)),
713
712
  z(g, {
714
713
  class: "blue-operate-button",
@@ -722,9 +721,9 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
722
721
  __: [2]
723
722
  })
724
723
  ]),
725
- w("div", vt, [
724
+ w("div", xt, [
726
725
  z(ue, {
727
- columns: o.value,
726
+ columns: r.value,
728
727
  isShowPagination: !1,
729
728
  isShowEdit: !1,
730
729
  isMoveColumn: !1,
@@ -735,7 +734,7 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
735
734
  f[4] || (f[4] = w("div", { class: "operate-title" }, [
736
735
  w("div", null, K("表单布局"))
737
736
  ], -1)),
738
- w("div", xt, [
737
+ w("div", Tt, [
739
738
  z(el, {
740
739
  rowContents: a.value,
741
740
  onChange: E
@@ -745,7 +744,7 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
745
744
  ]);
746
745
  };
747
746
  }
748
- }, Et = /* @__PURE__ */ ge(Tt, [["__scopeId", "data-v-a36b8468"]]), Dt = { class: "extra-content" }, Nt = { key: 0 }, St = { key: 1 }, Pt = {
747
+ }, Dt = /* @__PURE__ */ ge(Et, [["__scopeId", "data-v-a36b8468"]]), Nt = { class: "extra-content" }, St = { key: 0 }, Pt = { key: 1 }, Bt = {
749
748
  __name: "index",
750
749
  props: {
751
750
  itemData: {
@@ -765,33 +764,33 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
765
764
  },
766
765
  emits: ["change"],
767
766
  setup(e, { emit: t }) {
768
- const n = e, l = L(0), a = L(), s = L(), o = t, p = L(!1), i = L({}), d = L({}), m = L();
767
+ const n = e, l = R(0), a = R(), s = R(), r = t, p = R(!1), i = R({}), d = R({}), m = R();
769
768
  te(
770
769
  () => [n.itemData],
771
770
  () => {
772
771
  var c;
773
772
  const k = u(n.itemData);
774
- a.value = (c = u(k)) == null ? void 0 : c.map((r) => {
773
+ a.value = (c = u(k)) == null ? void 0 : c.map((o) => {
775
774
  var y;
776
- if (r.key === "extra") {
775
+ if (o.key === "extra") {
777
776
  let A = [];
778
- (y = r.value) == null || y.forEach((O) => {
777
+ (y = o.value) == null || y.forEach((O) => {
779
778
  var P;
780
779
  A.push((P = Object.values(O)) == null ? void 0 : P[0]);
781
- }), r.value = A;
780
+ }), o.value = A;
782
781
  }
783
- return r;
782
+ return o;
784
783
  });
785
784
  },
786
785
  { deep: !0, immediate: !0 }
787
786
  );
788
- const _ = (k, c, r, y) => {
787
+ const _ = (k, c, o, y) => {
789
788
  var O;
790
789
  let A = {};
791
- ((O = k == null ? void 0 : k[0]) == null ? void 0 : O.contents) === "详情" && (p.value = !0, A[c] = k, s.value = k == null ? void 0 : k.filter((P) => (P == null ? void 0 : P.key) !== "tableContentName"), i.value = A, d.value = r, m.value = y.id);
790
+ ((O = k == null ? void 0 : k[0]) == null ? void 0 : O.contents) === "详情" && (p.value = !0, A[c] = k, s.value = k == null ? void 0 : k.filter((P) => (P == null ? void 0 : P.key) !== "tableContentName"), i.value = A, d.value = o, m.value = y.id);
792
791
  }, $ = (k) => {
793
792
  var P, x, U, G;
794
- const c = (x = (P = Object.values(u(i.value))) == null ? void 0 : P[0]) == null ? void 0 : x.filter((T) => (T == null ? void 0 : T.key) === "tableContentName"), r = (G = (U = Object.values(u(i.value))) == null ? void 0 : U[0]) == null ? void 0 : G.filter((T) => (T == null ? void 0 : T.key) !== "tableContentName"), y = r == null ? void 0 : r.map((T, S) => {
793
+ const c = (x = (P = Object.values(u(i.value))) == null ? void 0 : P[0]) == null ? void 0 : x.filter((T) => (T == null ? void 0 : T.key) === "tableContentName"), o = (G = (U = Object.values(u(i.value))) == null ? void 0 : U[0]) == null ? void 0 : G.filter((T) => (T == null ? void 0 : T.key) !== "tableContentName"), y = o == null ? void 0 : o.map((T, S) => {
795
794
  var N;
796
795
  return S === k.index && (T == null ? void 0 : T.comp) === "Table" && (T.compData = (N = T.compData) == null ? void 0 : N.map((D) => {
797
796
  var b, B;
@@ -812,18 +811,18 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
812
811
  p.value = !1, i.value = {}, d.value = {}, m.value = void 0, l.value++;
813
812
  }, C = (k) => {
814
813
  var P, x, U, G;
815
- const c = (x = (P = Object.values(u(i.value))) == null ? void 0 : P[0]) == null ? void 0 : x.filter((T) => (T == null ? void 0 : T.key) === "tableContentName"), r = (G = (U = Object.values(u(i.value))) == null ? void 0 : U[0]) == null ? void 0 : G.filter((T) => (T == null ? void 0 : T.key) !== "tableContentName"), y = r == null ? void 0 : r.map((T, S) => (S === k.index && (T.compData = k.contents), T));
814
+ const c = (x = (P = Object.values(u(i.value))) == null ? void 0 : P[0]) == null ? void 0 : x.filter((T) => (T == null ? void 0 : T.key) === "tableContentName"), o = (G = (U = Object.values(u(i.value))) == null ? void 0 : U[0]) == null ? void 0 : G.filter((T) => (T == null ? void 0 : T.key) !== "tableContentName"), y = o == null ? void 0 : o.map((T, S) => (S === k.index && (T.compData = k.contents), T));
816
815
  y.unshift(c == null ? void 0 : c[0]);
817
816
  let A = u(i.value), O = {};
818
817
  for (let T in A)
819
818
  O[T] = y;
820
819
  i.value = O;
821
820
  }, E = () => {
822
- var c, r;
821
+ var c, o;
823
822
  let k = {};
824
823
  for (let y in d.value)
825
- y === ((c = Object.keys(i.value)) == null ? void 0 : c[0]) ? k[y] = (r = Object.values(i.value)) == null ? void 0 : r[0] : k[y] = d.value[y];
826
- o("change", {
824
+ y === ((c = Object.keys(i.value)) == null ? void 0 : c[0]) ? k[y] = (o = Object.values(i.value)) == null ? void 0 : o[0] : k[y] = d.value[y];
825
+ r("change", {
827
826
  buttonName: "编辑",
828
827
  index: m.value,
829
828
  singleContent: k
@@ -831,39 +830,39 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
831
830
  }, h = () => {
832
831
  p.value = !1, i.value = {}, d.value = {}, m.value = void 0;
833
832
  }, f = (k) => {
834
- o("change", k, "methodData");
835
- }, g = (k) => Gt(k);
833
+ r("change", k, "methodData");
834
+ }, g = (k) => Mt(k);
836
835
  return (k, c) => (Z(), q(de, null, [
837
- w("div", Dt, [
838
- (Z(!0), q(de, null, _e(a.value, (r, y) => (Z(), q("div", { key: l.value }, [
839
- (r == null ? void 0 : r.key) === "extra" ? (Z(), q("div", Nt)) : (Z(), q("div", St, [
840
- (Z(), Se(Pe(g(r.comp)), {
841
- itemData: r == null ? void 0 : r.compData,
842
- childItemData: r == null ? void 0 : r.itemChildData,
836
+ w("div", Nt, [
837
+ (Z(!0), q(de, null, _e(a.value, (o, y) => (Z(), q("div", { key: l.value }, [
838
+ (o == null ? void 0 : o.key) === "extra" ? (Z(), q("div", St)) : (Z(), q("div", Pt, [
839
+ (Z(), Se(Pe(g(o.comp)), {
840
+ itemData: o == null ? void 0 : o.compData,
841
+ childItemData: o == null ? void 0 : o.itemChildData,
843
842
  key: y,
844
- index: (r == null ? void 0 : r.id) ?? y,
843
+ index: (o == null ? void 0 : o.id) ?? y,
845
844
  onContentClick: _,
846
845
  onChange: f
847
846
  }, null, 40, ["itemData", "childItemData", "index"]))
848
847
  ]))
849
848
  ]))), 128))
850
849
  ]),
851
- z(vl, {
850
+ z(xl, {
852
851
  visible: p.value,
853
852
  onBeforeDestroy: h
854
853
  }, {
855
854
  default: ne(() => [
856
- (Z(!0), q(de, null, _e(s.value, (r, y) => (Z(), q("div", {
855
+ (Z(!0), q(de, null, _e(s.value, (o, y) => (Z(), q("div", {
857
856
  key: y,
858
857
  class: "extra-dialog"
859
858
  }, [
860
- (Z(), Se(Pe(g(r.comp)), {
861
- itemData: r == null ? void 0 : r.compData,
859
+ (Z(), Se(Pe(g(o.comp)), {
860
+ itemData: o == null ? void 0 : o.compData,
862
861
  onChange: $,
863
- childItemData: r == null ? void 0 : r.itemChildData,
862
+ childItemData: o == null ? void 0 : o.itemChildData,
864
863
  key: y,
865
864
  onContentChange: C,
866
- index: (r == null ? void 0 : r.id) ?? y,
865
+ index: (o == null ? void 0 : o.id) ?? y,
867
866
  class: "extra-component"
868
867
  }, null, 40, ["itemData", "childItemData", "index"]))
869
868
  ]))), 128))
@@ -884,12 +883,12 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
884
883
  }, 8, ["visible"])
885
884
  ], 64));
886
885
  }
887
- }, Bt = /* @__PURE__ */ ge(Pt, [["__scopeId", "data-v-e3e0f29d"]]), We = (e) => {
886
+ }, Ut = /* @__PURE__ */ ge(Bt, [["__scopeId", "data-v-e3e0f29d"]]), We = (e) => {
888
887
  let t = [];
889
888
  function n(a) {
890
889
  a == null || a.forEach((s) => {
891
- Array.isArray(s) || (s = [s]), s == null || s.forEach((o) => {
892
- !(o != null && o.children) || o.children.length === 0 ? t.push(o.label) : l(o.children);
890
+ Array.isArray(s) || (s = [s]), s == null || s.forEach((r) => {
891
+ !(r != null && r.children) || r.children.length === 0 ? t.push(r.label) : l(r.children);
893
892
  });
894
893
  });
895
894
  }
@@ -899,22 +898,22 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
899
898
  });
900
899
  }
901
900
  return n(e), t;
902
- }, Ut = (e, t, n) => {
901
+ }, jt = (e, t, n) => {
903
902
  var a;
904
- let l = (a = u(e)) == null ? void 0 : a.map((s) => (s = s.filter((o) => !o.id), s));
903
+ let l = (a = u(e)) == null ? void 0 : a.map((s) => (s = s.filter((r) => !r.id), s));
905
904
  return l = l == null ? void 0 : l.map((s) => {
906
- var o;
907
- return s = (o = s.map((p, i) => {
905
+ var r;
906
+ return s = (r = s.map((p, i) => {
908
907
  let d = {};
909
908
  if (n != null && n.find((m) => m === t[i]))
910
909
  return d[t[i]] = p, d;
911
- })) == null ? void 0 : o.filter((p) => p), s;
910
+ })) == null ? void 0 : r.filter((p) => p), s;
912
911
  }), l;
913
- }, jt = (e, t) => {
914
- var o, p;
915
- const n = u(e), l = (o = n == null ? void 0 : n.find((i) => (i == null ? void 0 : i.key) === "header")) == null ? void 0 : o.contents, a = (p = n == null ? void 0 : n.find((i) => (i == null ? void 0 : i.key) === "tableContents")) == null ? void 0 : p.contents;
916
- return Ut(a, We(l).slice(0, We(l).length - 1), t);
917
- }, Ft = { class: "method-content" }, Jt = ["onClick"], Lt = {
912
+ }, Ft = (e, t) => {
913
+ var r, p;
914
+ const n = u(e), l = (r = n == null ? void 0 : n.find((i) => (i == null ? void 0 : i.key) === "header")) == null ? void 0 : r.contents, a = (p = n == null ? void 0 : n.find((i) => (i == null ? void 0 : i.key) === "tableContents")) == null ? void 0 : p.contents;
915
+ return jt(a, We(l).slice(0, We(l).length - 1), t);
916
+ }, Jt = { class: "method-content" }, Rt = ["onClick"], Lt = {
918
917
  __name: "index",
919
918
  props: {
920
919
  itemData: {
@@ -933,7 +932,7 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
933
932
  }
934
933
  },
935
934
  setup(e) {
936
- const t = L([]), n = e, l = ll(xe), { itemData: a } = Te(l), s = (i, d) => {
935
+ const t = R([]), n = e, l = ll(xe), { itemData: a } = Te(l), s = (i, d) => {
937
936
  var _;
938
937
  const m = (_ = d == null ? void 0 : d[0]) == null ? void 0 : _.children;
939
938
  return i == null ? void 0 : i.map(($) => {
@@ -954,25 +953,25 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
954
953
  },
955
954
  { deep: !0 }
956
955
  );
957
- const o = async (i) => {
958
- var g, k, c, r, y, A;
956
+ const r = async (i) => {
957
+ var g, k, c, o, y, A;
959
958
  let d = {};
960
959
  if ((g = u(i.content)) == null || g.forEach((O, P) => {
961
960
  var x, U, G, T, S, N, D, b, B, j, M, W, Q, le, se, re, H;
962
961
  if ((O == null ? void 0 : O.comp) === "Table") {
963
- let X = (T = (G = (U = (x = O == null ? void 0 : O.compData) == null ? void 0 : x.find((R) => (R == null ? void 0 : R.key) === "header")) == null ? void 0 : U.contents) == null ? void 0 : G[0]) == null ? void 0 : T.some((R) => R == null ? void 0 : R.children), Y = (D = (N = (S = O == null ? void 0 : O.compData) == null ? void 0 : S.find((R) => (R == null ? void 0 : R.key) === "tableContents")) == null ? void 0 : N.contents) == null ? void 0 : D.map((R) => R.slice(1)), I = (W = (M = (j = (B = (b = O == null ? void 0 : O.compData) == null ? void 0 : b.find((R) => (R == null ? void 0 : R.key) === "header")) == null ? void 0 : B.contents) == null ? void 0 : j[0]) == null ? void 0 : M[0]) == null ? void 0 : W.label, V = (se = (le = (Q = O == null ? void 0 : O.compData) == null ? void 0 : Q.find((R) => (R == null ? void 0 : R.key) === "header")) == null ? void 0 : le.contents) == null ? void 0 : se[0];
962
+ let X = (T = (G = (U = (x = O == null ? void 0 : O.compData) == null ? void 0 : x.find((L) => (L == null ? void 0 : L.key) === "header")) == null ? void 0 : U.contents) == null ? void 0 : G[0]) == null ? void 0 : T.some((L) => L == null ? void 0 : L.children), Y = (D = (N = (S = O == null ? void 0 : O.compData) == null ? void 0 : S.find((L) => (L == null ? void 0 : L.key) === "tableContents")) == null ? void 0 : N.contents) == null ? void 0 : D.map((L) => L.slice(1)), I = (W = (M = (j = (B = (b = O == null ? void 0 : O.compData) == null ? void 0 : b.find((L) => (L == null ? void 0 : L.key) === "header")) == null ? void 0 : B.contents) == null ? void 0 : j[0]) == null ? void 0 : M[0]) == null ? void 0 : W.label, V = (se = (le = (Q = O == null ? void 0 : O.compData) == null ? void 0 : Q.find((L) => (L == null ? void 0 : L.key) === "header")) == null ? void 0 : le.contents) == null ? void 0 : se[0];
964
963
  if (X)
965
964
  d[I] = s(Y, V);
966
965
  else {
967
- const R = [];
966
+ const L = [];
968
967
  V = V.slice(1, V.length - 1), V == null || V.forEach((bl, kl) => {
969
968
  Y == null || Y.forEach((Ne) => {
970
- R.push({
969
+ L.push({
971
970
  key: bl.label + Ne[0],
972
971
  value: Ne[kl + 1]
973
972
  });
974
973
  });
975
- }), d["form" + P] = R;
974
+ }), d["form" + P] = L;
976
975
  }
977
976
  } else {
978
977
  const X = (H = (re = O.compData) == null ? void 0 : re.find((I) => (I == null ? void 0 : I.key) === "formContent")) == null ? void 0 : H.contents;
@@ -986,7 +985,7 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
986
985
  }), d.form = Y;
987
986
  }
988
987
  }), i.api) {
989
- const O = await El.post(i.api, {
988
+ const O = await Dl.post(i.api, {
990
989
  data: d,
991
990
  templateFileName: (k = i == null ? void 0 : i.extraContent) == null ? void 0 : k[0]
992
991
  }, {
@@ -998,13 +997,13 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
998
997
  });
999
998
  var m = new Blob([O.data], {
1000
999
  type: "application/octet-stream;charset=UTF-8"
1001
- }), _ = O.headers["content-disposition"], $ = new RegExp("filename=([^;]+\\.[^\\.;]+);*"), v = $.exec(_), C = ((y = (r = (c = i == null ? void 0 : i.extraContent) == null ? void 0 : c[0]) == null ? void 0 : r.split(".")) == null ? void 0 : y[0]) + "." + ((A = v[1].split(".")) == null ? void 0 : A[1]), E = document.createElement("a"), h = window.URL.createObjectURL(m), f = /^["](.*)["]$/g;
1000
+ }), _ = O.headers["content-disposition"], $ = new RegExp("filename=([^;]+\\.[^\\.;]+);*"), v = $.exec(_), C = ((y = (o = (c = i == null ? void 0 : i.extraContent) == null ? void 0 : c[0]) == null ? void 0 : o.split(".")) == null ? void 0 : y[0]) + "." + ((A = v[1].split(".")) == null ? void 0 : A[1]), E = document.createElement("a"), h = window.URL.createObjectURL(m), f = /^["](.*)["]$/g;
1002
1001
  E.style.display = "none", E.href = h, E.download = decodeURI(C.replace(f, "$1")), document.body.appendChild(E), E.click(), document.body.removeChild(E), window.URL.revokeObjectURL(h);
1003
1002
  }
1004
1003
  }, p = async (i) => {
1005
1004
  var $;
1006
1005
  const d = u(i), m = d == null ? void 0 : d.map(async (v) => {
1007
- var k, c, r, y, A, O;
1006
+ var k, c, o, y, A, O;
1008
1007
  const E = (k = (await Je({
1009
1008
  key: {
1010
1009
  systemKey: sessionStorage.getItem("systemKey"),
@@ -1018,7 +1017,7 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
1018
1017
  type: "methodData",
1019
1018
  tableId: E == null ? void 0 : E.id
1020
1019
  }
1021
- }), f = await Cl((c = v == null ? void 0 : v.value) == null ? void 0 : c[0], sessionStorage.getItem("systemKey"), ""), g = (r = h.data.result) == null ? void 0 : r[0];
1020
+ }), f = await Cl((c = v == null ? void 0 : v.value) == null ? void 0 : c[0], sessionStorage.getItem("systemKey"), ""), g = (o = h.data.result) == null ? void 0 : o[0];
1022
1021
  return {
1023
1022
  buttonName: (y = E == null ? void 0 : E.key) == null ? void 0 : y.methodKey,
1024
1023
  api: (O = (A = g == null ? void 0 : g.value) == null ? void 0 : A.tableData) == null ? void 0 : O[0],
@@ -1030,7 +1029,7 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
1030
1029
  var C;
1031
1030
  v.api === "" && ((C = v.content) == null || C.forEach((E) => {
1032
1031
  var h;
1033
- E.comp == "Table" && l.setExtraContents(jt(E.compData, (h = v.extraContent) == null ? void 0 : h[0]));
1032
+ E.comp == "Table" && l.setExtraContents(Ft(E.compData, (h = v.extraContent) == null ? void 0 : h[0]));
1034
1033
  }));
1035
1034
  });
1036
1035
  };
@@ -1040,17 +1039,17 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
1040
1039
  await p(u(n.itemData));
1041
1040
  },
1042
1041
  { immediate: !0, deep: !0 }
1043
- ), (i, d) => (Z(), q("div", Ft, [
1042
+ ), (i, d) => (Z(), q("div", Jt, [
1044
1043
  (Z(!0), q(de, null, _e(t.value, (m) => (Z(), q("div", null, [
1045
1044
  m.api !== "" ? (Z(), q("div", {
1046
1045
  key: 0,
1047
- onClick: (_) => o(m),
1046
+ onClick: (_) => r(m),
1048
1047
  class: "method-buttons"
1049
- }, K(m.buttonName), 9, Jt)) : _l("", !0)
1048
+ }, K(m.buttonName), 9, Rt)) : vl("", !0)
1050
1049
  ]))), 256))
1051
1050
  ]));
1052
1051
  }
1053
- }, Rt = /* @__PURE__ */ ge(Lt, [["__scopeId", "data-v-3daae5c9"]]), Wn = L([
1052
+ }, wt = /* @__PURE__ */ ge(Lt, [["__scopeId", "data-v-3daae5c9"]]), Wn = R([
1054
1053
  {
1055
1054
  name: "表格",
1056
1055
  type: "table",
@@ -1081,19 +1080,20 @@ const ut = { class: "table-operate-content" }, pt = { class: "table-operate-item
1081
1080
  comp: "Signature",
1082
1081
  icon: "Signature"
1083
1082
  }
1084
- ]), wt = {
1083
+ ]), Gt = {
1085
1084
  TABLE: Al,
1086
- FORM: Ol,
1087
- TABLEOPERATE: kt,
1088
- FORMOPERATE: Et,
1089
- FOLD: Tl,
1090
- CALCULATOR: Bt,
1091
- METHODBUTTON: Rt,
1092
- AVATARUPLOAD: $l
1085
+ FORM: _l,
1086
+ TABLEOPERATE: Ct,
1087
+ FORMOPERATE: Dt,
1088
+ FOLD: El,
1089
+ CALCULATOR: Ut,
1090
+ METHODBUTTON: wt,
1091
+ AVATARUPLOAD: Ol,
1092
+ SIGNATURE: $l
1093
1093
  // 添加其他组件...
1094
1094
  };
1095
- function Gt(e) {
1096
- return wt[e == null ? void 0 : e.toUpperCase()] || null;
1095
+ function Mt(e) {
1096
+ return Gt[e == null ? void 0 : e.toUpperCase()] || null;
1097
1097
  }
1098
1098
  const J = [
1099
1099
  {
@@ -1161,7 +1161,7 @@ const J = [
1161
1161
  key: "GroupContents",
1162
1162
  value: "groupContents"
1163
1163
  }
1164
- ], ae = L(0), Mt = (e) => {
1164
+ ], ae = R(0), It = (e) => {
1165
1165
  const [t, n] = e.split(/=(.+)/), l = t.replace(/['"]/g, "").trim(), a = n.replace(/^['"]|['"]$/g, "");
1166
1166
  return { key: l, value: a };
1167
1167
  }, he = (e) => {
@@ -1170,22 +1170,22 @@ const J = [
1170
1170
  } catch {
1171
1171
  return !1;
1172
1172
  }
1173
- }, It = (e) => e.includes("$") && e.trim().endsWith("(") ? e + ")" : e, Ht = (e) => {
1173
+ }, Ht = (e) => e.includes("$") && e.trim().endsWith("(") ? e + ")" : e, Wt = (e) => {
1174
1174
  let t = e;
1175
1175
  const n = [];
1176
1176
  let l = "";
1177
1177
  for (const a of t)
1178
1178
  a.includes("{") || l.includes("{") || a.includes("[") || l.includes("[") || a.includes("【") || l.includes("【") || a.includes("(") || l.includes("(") || a.includes("(") || l.includes("(") || a.includes("/*") || l.includes("/*") ? (l += a.trim(), u(l).split("{").length - 1 === u(l).split("}").length - 1 && u(l).split("【").length - 1 === u(l).split("】").length - 1 && u(l).split("[").length - 1 === u(l).split("]").length - 1 && u(l).split("(").length - 1 === u(l).split(")").length - 1 && u(l).split("(").length - 1 === u(l).split(")").length - 1 && u(l).split("/*").length - 1 === u(l).split("*/").length - 1 && (n.push(l), l = "")) : n.push(a.trim());
1179
1179
  return n == null ? void 0 : n.filter((a) => a.includes("{"));
1180
- }, Wt = (e) => {
1180
+ }, Zt = (e) => {
1181
1181
  var n;
1182
1182
  let t = [];
1183
- return (n = Ht(e.slice(1, -1))) == null || n.forEach((l) => {
1184
- var s, o, p, i;
1185
- let a = ((o = (s = l.slice(1, -1)) == null ? void 0 : s.split(",")) == null ? void 0 : o.length) ?? 1;
1183
+ return (n = Wt(e.slice(1, -1))) == null || n.forEach((l) => {
1184
+ var s, r, p, i;
1185
+ let a = ((r = (s = l.slice(1, -1)) == null ? void 0 : s.split(",")) == null ? void 0 : r.length) ?? 1;
1186
1186
  (i = (p = l.slice(1, -1)) == null ? void 0 : p.split(",")) == null || i.forEach((d) => {
1187
- var v, C, E, h, f, g, k, c, r, y, A, O, P;
1188
- let m = d == null ? void 0 : d.split(":"), _ = m != null && m[0] ? (m == null ? void 0 : m[1].split("$").length) - 1 === 1 ? ((v = m == null ? void 0 : m[0]) == null ? void 0 : v.replace(/^"(.*)"$/, "$1")) + ((C = m == null ? void 0 : m[1]) == null ? void 0 : C.replace(/^"(.*)"$/, "$1")) : Array.isArray((h = (E = m == null ? void 0 : m[1]) == null ? void 0 : E.replace(/^"(.*)"$/, "$1")) == null ? void 0 : h.split("(")) && ((k = (g = (f = m == null ? void 0 : m[1]) == null ? void 0 : f.replace(/^"(.*)"$/, "$1")) == null ? void 0 : g.split("(")) == null ? void 0 : k.length) > 1 ? ((c = m == null ? void 0 : m[0]) == null ? void 0 : c.replace(/^"(.*)"$/, "$1")) + ((A = (y = (r = m == null ? void 0 : m[1]) == null ? void 0 : r.replace(/^"(.*)"$/, "$1")) == null ? void 0 : y.split("(")) == null ? void 0 : A[0]) + "()" : (O = m == null ? void 0 : m[0]) == null ? void 0 : O.replace(/^"(.*)"$/, "$1") : "", $ = (m == null ? void 0 : m[1].split("$").length) - 1 === 0 ? (P = m == null ? void 0 : m[1]) == null ? void 0 : P.replace(/^"(.*)"$/, "$1") : "";
1187
+ var v, C, E, h, f, g, k, c, o, y, A, O, P;
1188
+ let m = d == null ? void 0 : d.split(":"), _ = m != null && m[0] ? (m == null ? void 0 : m[1].split("$").length) - 1 === 1 ? ((v = m == null ? void 0 : m[0]) == null ? void 0 : v.replace(/^"(.*)"$/, "$1")) + ((C = m == null ? void 0 : m[1]) == null ? void 0 : C.replace(/^"(.*)"$/, "$1")) : Array.isArray((h = (E = m == null ? void 0 : m[1]) == null ? void 0 : E.replace(/^"(.*)"$/, "$1")) == null ? void 0 : h.split("(")) && ((k = (g = (f = m == null ? void 0 : m[1]) == null ? void 0 : f.replace(/^"(.*)"$/, "$1")) == null ? void 0 : g.split("(")) == null ? void 0 : k.length) > 1 ? ((c = m == null ? void 0 : m[0]) == null ? void 0 : c.replace(/^"(.*)"$/, "$1")) + ((A = (y = (o = m == null ? void 0 : m[1]) == null ? void 0 : o.replace(/^"(.*)"$/, "$1")) == null ? void 0 : y.split("(")) == null ? void 0 : A[0]) + "()" : (O = m == null ? void 0 : m[0]) == null ? void 0 : O.replace(/^"(.*)"$/, "$1") : "", $ = (m == null ? void 0 : m[1].split("$").length) - 1 === 0 ? (P = m == null ? void 0 : m[1]) == null ? void 0 : P.replace(/^"(.*)"$/, "$1") : "";
1189
1189
  ae.value++, t.push({
1190
1190
  id: ae.value,
1191
1191
  key: _,
@@ -1204,11 +1204,11 @@ const J = [
1204
1204
  let a = u(l).replace(/^\{(.*)\}$/, "[$1]");
1205
1205
  if (he(a) && !a.includes("$") || (a = a.replace(/"([^"]+)"\$([\w\u4e00-\u9fa5]+\([^)]*\))/g, '"$1$$$2"')), he(a)) {
1206
1206
  const s = JSON.parse(a);
1207
- let o = [];
1207
+ let r = [];
1208
1208
  return s == null || s.forEach((p) => {
1209
1209
  var i;
1210
1210
  (i = Object.entries(u(p))) == null || i.forEach((d) => {
1211
- ae.value++, o.push({
1211
+ ae.value++, r.push({
1212
1212
  id: ae.value,
1213
1213
  key: (d == null ? void 0 : d[0]) ?? "",
1214
1214
  value: (d == null ? void 0 : d[1]) === "" ? "" : d == null ? void 0 : d[1],
@@ -1216,22 +1216,22 @@ const J = [
1216
1216
  width: Object.keys(u(p)).length
1217
1217
  });
1218
1218
  });
1219
- }), o;
1219
+ }), r;
1220
1220
  } else
1221
- return l.trim().startsWith("{{") ? Wt(l.trim()) : Ae(a);
1221
+ return l.trim().startsWith("{{") ? Zt(l.trim()) : Ae(a);
1222
1222
  } else if (he(l)) {
1223
1223
  const a = JSON.parse(l);
1224
- return Object.entries(a).map(([s, o]) => (ae.value++, {
1224
+ return Object.entries(a).map(([s, r]) => (ae.value++, {
1225
1225
  id: ae.value,
1226
1226
  key: s,
1227
- value: o === "" ? "" : o,
1227
+ value: r === "" ? "" : r,
1228
1228
  // 如果值为空,则key设为空字符串,否则保留原值
1229
1229
  width: 1
1230
1230
  }));
1231
1231
  } else
1232
1232
  return ((t = Ae(l)) == null ? void 0 : t.length) === 0 ? l : (n = Ae(l)) == null ? void 0 : n.map((a) => ({
1233
1233
  label: a.label,
1234
- method: It(a.method)
1234
+ method: Ht(a.method)
1235
1235
  }));
1236
1236
  } catch (l) {
1237
1237
  return console.error("转换失败:", l), [];
@@ -1245,10 +1245,10 @@ const J = [
1245
1245
  if (!l) break;
1246
1246
  const a = l[1];
1247
1247
  n += l[0].length;
1248
- let s = "", o = 0, p = !1, i = "";
1248
+ let s = "", r = 0, p = !1, i = "";
1249
1249
  for (let d = n; d < e.length; d++) {
1250
1250
  const m = e[d];
1251
- if ((m === '"' || m === "'") && !p ? (p = !0, i = m) : m === i && p && (p = !1, i = ""), !p && ((m === "{" || m === "(" || m === "[") && o++, (m === "}" || m === ")" || m === "]") && o--, m === "," && o === 0 || d === e.length - 1)) {
1251
+ if ((m === '"' || m === "'") && !p ? (p = !0, i = m) : m === i && p && (p = !1, i = ""), !p && ((m === "{" || m === "(" || m === "[") && r++, (m === "}" || m === ")" || m === "]") && r--, m === "," && r === 0 || d === e.length - 1)) {
1252
1252
  s = e.slice(n, d + 1).trim(), n = d + 1;
1253
1253
  break;
1254
1254
  }
@@ -1259,7 +1259,7 @@ const J = [
1259
1259
  });
1260
1260
  }
1261
1261
  return t;
1262
- }, Zt = (e, t) => {
1262
+ }, Kt = (e, t) => {
1263
1263
  try {
1264
1264
  if (J != null && J.find((n) => (n == null ? void 0 : n.key) === t))
1265
1265
  return e.replace(/['"]/g, "").trim();
@@ -1277,7 +1277,7 @@ const J = [
1277
1277
  } catch (n) {
1278
1278
  return console.error("解析失败:", n), e;
1279
1279
  }
1280
- }, Kt = (e) => ({ [e == null ? void 0 : e.key]: Zt(e == null ? void 0 : e.value, e == null ? void 0 : e.key) }), qt = (e) => {
1280
+ }, qt = (e) => ({ [e == null ? void 0 : e.key]: Kt(e == null ? void 0 : e.value, e == null ? void 0 : e.key) }), zt = (e) => {
1281
1281
  try {
1282
1282
  if (u(e).split("[").length - 1 > 1) {
1283
1283
  const t = u(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
@@ -1287,16 +1287,16 @@ const J = [
1287
1287
  } catch (t) {
1288
1288
  return console.error("解析失败:", t), e;
1289
1289
  }
1290
- }, zt = (e) => {
1290
+ }, Qt = (e) => {
1291
1291
  const t = e.match(/\(([^)]+)\)/);
1292
1292
  return t ? t[1] : "";
1293
- }, Qt = (e) => {
1293
+ }, Xt = (e) => {
1294
1294
  const t = e.match(/^([^(]+)\s*\(/);
1295
1295
  return t ? t[1].trim() : e;
1296
- }, Ze = (e) => e.replace(/'/g, "").replace(/"/g, "").replace(/{|}/g, "").split(":").map((t) => t.trim()).filter((t) => t).join("/"), Xt = (e) => {
1297
- var o, p;
1296
+ }, Ze = (e) => e.replace(/'/g, "").replace(/"/g, "").replace(/{|}/g, "").split(":").map((t) => t.trim()).filter((t) => t).join("/"), Yt = (e) => {
1297
+ var r, p;
1298
1298
  let t = [], n = [];
1299
- const l = (o = u(e)) == null ? void 0 : o.map((i) => i == null ? void 0 : i.key), a = [...new Set((p = u(l)) == null ? void 0 : p.map((i) => zt(i)))];
1299
+ const l = (r = u(e)) == null ? void 0 : r.map((i) => i == null ? void 0 : i.key), a = [...new Set((p = u(l)) == null ? void 0 : p.map((i) => Qt(i)))];
1300
1300
  a == null || a.forEach((i) => {
1301
1301
  let d = e == null ? void 0 : e.filter(($) => $.key.includes(i));
1302
1302
  d == null || d.forEach(($) => {
@@ -1306,7 +1306,7 @@ const J = [
1306
1306
  }), n.push(Ze($ == null ? void 0 : $.value)));
1307
1307
  });
1308
1308
  let m = e == null ? void 0 : e.filter(($) => $.key.includes(i) && !($ != null && $.key.includes("Menus")));
1309
- m = m == null ? void 0 : m.map(($) => ($.key = Qt($.key), $));
1309
+ m = m == null ? void 0 : m.map(($) => ($.key = Xt($.key), $));
1310
1310
  const _ = {
1311
1311
  key: "GroupContents",
1312
1312
  value: m
@@ -1324,69 +1324,69 @@ const J = [
1324
1324
  let l = [];
1325
1325
  return (n = Object.entries(e)) == null || n.forEach(([a, s]) => {
1326
1326
  var p, i;
1327
- let o = [];
1328
- if (o.push(a), ((p = Object.keys(s)) == null ? void 0 : p.length) > 0) {
1327
+ let r = [];
1328
+ if (r.push(a), ((p = Object.keys(s)) == null ? void 0 : p.length) > 0) {
1329
1329
  let d = [];
1330
1330
  (i = sl(s)) == null || i.forEach((m) => {
1331
1331
  d.push(m);
1332
1332
  }), d == null || d.forEach((m) => {
1333
- o.push(m);
1333
+ r.push(m);
1334
1334
  });
1335
1335
  }
1336
- l.push(o);
1336
+ l.push(r);
1337
1337
  }), l;
1338
1338
  }
1339
- }, Yt = (e, t) => {
1339
+ }, Vt = (e, t) => {
1340
1340
  var l;
1341
1341
  let n = t;
1342
1342
  return Array.isArray(Object.keys(e)) && ((l = Object.entries(e)) == null || l.forEach(([a, s]) => {
1343
- let o = [a];
1343
+ let r = [a];
1344
1344
  if (typeof s == "object" && s !== null) {
1345
1345
  let p = sl(s);
1346
1346
  p == null || p.forEach((i) => {
1347
- o.push(i);
1347
+ r.push(i);
1348
1348
  });
1349
1349
  }
1350
- n.push(o);
1350
+ n.push(r);
1351
1351
  })), n;
1352
- }, Vt = (e) => {
1352
+ }, en = (e) => {
1353
1353
  const t = {};
1354
1354
  return e.forEach((l) => {
1355
1355
  const a = l.split("/");
1356
1356
  let s = t;
1357
- a.forEach((o) => {
1358
- s[o] || (s[o] = {}), s = s[o];
1357
+ a.forEach((r) => {
1358
+ s[r] || (s[r] = {}), s = s[r];
1359
1359
  });
1360
- }), Yt(t, []);
1361
- }, rl = (e) => Vt(e), Zn = (e) => {
1362
- var t, n, l, a, s, o, p, i;
1360
+ }), Vt(t, []);
1361
+ }, rl = (e) => en(e), Zn = (e) => {
1362
+ var t, n, l, a, s, r, p, i;
1363
1363
  try {
1364
- const d = De((n = (t = u(e)) == null ? void 0 : t.replace("(", "(")) == null ? void 0 : n.replace(")", ")")), m = (a = (l = u(d)) == null ? void 0 : l.filter((C) => !C.includes("/*"))) == null ? void 0 : a.map((C) => Mt(C)), _ = Xt(m), $ = [];
1364
+ const d = De((n = (t = u(e)) == null ? void 0 : t.replace("(", "(")) == null ? void 0 : n.replace(")", ")")), m = (a = (l = u(d)) == null ? void 0 : l.filter((C) => !C.includes("/*"))) == null ? void 0 : a.map((C) => It(C)), _ = Yt(m), $ = [];
1365
1365
  if (((s = _ == null ? void 0 : _.find((C) => (C == null ? void 0 : C.key) === "Menus")) == null ? void 0 : s.value.length) === 0)
1366
1366
  return !1;
1367
- (o = u(_)) == null || o.forEach((C) => {
1367
+ (r = u(_)) == null || r.forEach((C) => {
1368
1368
  var E, h, f, g, k;
1369
1369
  J != null && J.find((c) => {
1370
- var r, y;
1371
- return ((r = c == null ? void 0 : c.key) == null ? void 0 : r.toUpperCase()) === ((y = C == null ? void 0 : C.key) == null ? void 0 : y.toUpperCase());
1370
+ var o, y;
1371
+ return ((o = c == null ? void 0 : c.key) == null ? void 0 : o.toUpperCase()) === ((y = C == null ? void 0 : C.key) == null ? void 0 : y.toUpperCase());
1372
1372
  }) ? $.push({
1373
1373
  comp: ((E = J == null ? void 0 : J.find((c) => {
1374
- var r, y;
1375
- return ((r = c == null ? void 0 : c.key) == null ? void 0 : r.toUpperCase()) === ((y = C == null ? void 0 : C.key) == null ? void 0 : y.toUpperCase());
1374
+ var o, y;
1375
+ return ((o = c == null ? void 0 : c.key) == null ? void 0 : o.toUpperCase()) === ((y = C == null ? void 0 : C.key) == null ? void 0 : y.toUpperCase());
1376
1376
  })) == null ? void 0 : E.value) ?? "",
1377
1377
  name: (h = C == null ? void 0 : C.value) == null ? void 0 : h.replace(/[’]|[‘]|[']/g, ""),
1378
1378
  compData: []
1379
1379
  }) : F != null && F.find((c) => {
1380
- var r, y;
1381
- return ((r = c == null ? void 0 : c.key) == null ? void 0 : r.toUpperCase()) === ((y = C == null ? void 0 : C.key) == null ? void 0 : y.toUpperCase());
1380
+ var o, y;
1381
+ return ((o = c == null ? void 0 : c.key) == null ? void 0 : o.toUpperCase()) === ((y = C == null ? void 0 : C.key) == null ? void 0 : y.toUpperCase());
1382
1382
  }) && (($ == null ? void 0 : $.length) === 0 && (f = C.key) != null && f.includes("Menus") && $.push({
1383
1383
  comp: "Menu",
1384
1384
  name: "",
1385
1385
  compData: []
1386
1386
  }), (g = $ == null ? void 0 : $[($ == null ? void 0 : $.length) - 1]) != null && g.compData && $[($ == null ? void 0 : $.length) - 1].compData.push({
1387
1387
  key: (k = F == null ? void 0 : F.find((c) => {
1388
- var r, y;
1389
- return ((r = c == null ? void 0 : c.key) == null ? void 0 : r.toUpperCase()) === ((y = C == null ? void 0 : C.key) == null ? void 0 : y.toUpperCase());
1388
+ var o, y;
1389
+ return ((o = c == null ? void 0 : c.key) == null ? void 0 : o.toUpperCase()) === ((y = C == null ? void 0 : C.key) == null ? void 0 : y.toUpperCase());
1390
1390
  })) == null ? void 0 : k.value,
1391
1391
  contents: C == null ? void 0 : C.value
1392
1392
  }));
@@ -1394,15 +1394,15 @@ const J = [
1394
1394
  let v = (p = u($)) == null ? void 0 : p.map((C) => {
1395
1395
  var E;
1396
1396
  return C != null && C.compData && (C.compData = (E = C == null ? void 0 : C.compData) == null ? void 0 : E.map((h) => {
1397
- var f, g, k, c, r, y, A, O, P, x, U;
1397
+ var f, g, k, c, o, y, A, O, P, x, U;
1398
1398
  if ((h == null ? void 0 : h.key) === "formFlex")
1399
1399
  h.contents = ((g = (f = h.contents) == null ? void 0 : f.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : g.toUpperCase()) !== "Vertical".toUpperCase();
1400
1400
  else if ((h == null ? void 0 : h.key) === "groupContents")
1401
- h.contents = (k = u(h.contents)) == null ? void 0 : k.map((G) => Kt(u(G)));
1401
+ h.contents = (k = u(h.contents)) == null ? void 0 : k.map((G) => qt(u(G)));
1402
1402
  else if (Array.isArray(h == null ? void 0 : h.contents))
1403
1403
  h.contents = rl(h.contents);
1404
- else if (((r = (c = h == null ? void 0 : h.contents) == null ? void 0 : c.trim()) != null && r.startsWith("[") || (A = (y = h.contents) == null ? void 0 : y.trim()) != null && A.startsWith("【")) && ((P = (O = h.contents) == null ? void 0 : O.trim()) != null && P.endsWith("]") || (U = (x = h.contents) == null ? void 0 : x.trim()) != null && U.endsWith("】")))
1405
- h.contents = qt(u(h.contents));
1404
+ else if (((o = (c = h == null ? void 0 : h.contents) == null ? void 0 : c.trim()) != null && o.startsWith("[") || (A = (y = h.contents) == null ? void 0 : y.trim()) != null && A.startsWith("【")) && ((P = (O = h.contents) == null ? void 0 : O.trim()) != null && P.endsWith("]") || (U = (x = h.contents) == null ? void 0 : x.trim()) != null && U.endsWith("】")))
1405
+ h.contents = zt(u(h.contents));
1406
1406
  else {
1407
1407
  if (!h.contents) return;
1408
1408
  h.contents = al(u(h.contents));
@@ -1416,7 +1416,7 @@ const J = [
1416
1416
  var g;
1417
1417
  let f = [];
1418
1418
  return (g = h.contents) == null || g.forEach((k) => {
1419
- var c, r, y, A, O, P, x, U, G, T, S, N;
1419
+ var c, o, y, A, O, P, x, U, G, T, S, N;
1420
1420
  if (J != null && J.find((D) => {
1421
1421
  var b, B, j;
1422
1422
  return ((b = D == null ? void 0 : D.key) == null ? void 0 : b.toUpperCase()) === ((j = (B = Object.keys(k)) == null ? void 0 : B[0]) == null ? void 0 : j.toUpperCase());
@@ -1426,7 +1426,7 @@ const J = [
1426
1426
  var b, B, j;
1427
1427
  return ((b = D == null ? void 0 : D.key) == null ? void 0 : b.toUpperCase()) === ((j = (B = Object.keys(k)) == null ? void 0 : B[0]) == null ? void 0 : j.toUpperCase());
1428
1428
  })) == null ? void 0 : c.value,
1429
- name: (y = (r = Object.values(k)) == null ? void 0 : r[0]) == null ? void 0 : y.replace(/[’]|[‘]|[']/g, ""),
1429
+ name: (y = (o = Object.values(k)) == null ? void 0 : o[0]) == null ? void 0 : y.replace(/[’]|[‘]|[']/g, ""),
1430
1430
  compData: []
1431
1431
  });
1432
1432
  else if (F != null && F.find((D) => {
@@ -1465,7 +1465,7 @@ const J = [
1465
1465
  } catch {
1466
1466
  return !1;
1467
1467
  }
1468
- }, Kn = (e, t) => ct(e, t), Ke = L(0), ol = (e) => {
1468
+ }, Kn = (e, t) => ut(e, t), Ke = R(0), ol = (e) => {
1469
1469
  const t = [];
1470
1470
  let n = null;
1471
1471
  for (let l = 0; l < e.length; l++) {
@@ -1489,16 +1489,16 @@ const J = [
1489
1489
  if (l >= e.length) break;
1490
1490
  const s = [...e[l]];
1491
1491
  if (n.push(s), l++, a.children && a.children.length > 0) {
1492
- const o = [];
1492
+ const r = [];
1493
1493
  ul(
1494
1494
  e.slice(l),
1495
1495
  a.children,
1496
- o
1497
- ), o.length > 0 && (s.push(o), l += cl(a.children));
1496
+ r
1497
+ ), r.length > 0 && (s.push(r), l += cl(a.children));
1498
1498
  }
1499
1499
  }
1500
1500
  return n;
1501
- }, en = (e, t) => {
1501
+ }, ln = (e, t) => {
1502
1502
  let n = [];
1503
1503
  return e == null || e.forEach((a) => {
1504
1504
  a.some((s) => Array.isArray(s)) ? n.push(...a) : n.push(a);
@@ -1523,7 +1523,7 @@ const J = [
1523
1523
  /(\[|\s|,)((?:https?|HTTPS?):\/\/[^\s,\]]+)(\]|,|$)/gi,
1524
1524
  '$1"$2"$3'
1525
1525
  ), t;
1526
- }, ln = (e) => {
1526
+ }, tn = (e) => {
1527
1527
  var n;
1528
1528
  return e.some((l) => !Array.isArray(l)) ? e : (n = u(e)) == null ? void 0 : n.map((l) => {
1529
1529
  let a = [];
@@ -1533,24 +1533,24 @@ const J = [
1533
1533
  });
1534
1534
  }, pl = (e, t, n) => {
1535
1535
  let l = e, a = n, s = t;
1536
- return s.children && (Array.isArray(a[a.length - 1]) ? a[a.length - 1].push(l[0]) : a.push(l[0]), l.shift(), s = s.children), Array.isArray(s) && s.forEach((o) => {
1537
- if (o.children) {
1538
- const p = pl(l, o, a);
1536
+ return s.children && (Array.isArray(a[a.length - 1]) ? a[a.length - 1].push(l[0]) : a.push(l[0]), l.shift(), s = s.children), Array.isArray(s) && s.forEach((r) => {
1537
+ if (r.children) {
1538
+ const p = pl(l, r, a);
1539
1539
  a = p[0], l = p[1];
1540
1540
  }
1541
1541
  }), [a, l];
1542
- }, tn = (e, t) => {
1542
+ }, nn = (e, t) => {
1543
1543
  let n = e, l = [];
1544
1544
  return t.length > 0 ? t == null || t.forEach((a) => {
1545
1545
  let s = n == null ? void 0 : n[0];
1546
1546
  n.shift();
1547
- const o = pl(u(n), a, s);
1548
- s = o[0], n = o[1], l.push(s);
1547
+ const r = pl(u(n), a, s);
1548
+ s = r[0], n = r[1], l.push(s);
1549
1549
  }) : l = n, l;
1550
1550
  }, Ee = (e, t) => {
1551
- const n = ln(u(e));
1552
- return tn(n, t);
1553
- }, nn = (e) => {
1551
+ const n = tn(u(e));
1552
+ return nn(n, t);
1553
+ }, an = (e) => {
1554
1554
  const t = [];
1555
1555
  let n = 0;
1556
1556
  const l = e.length;
@@ -1563,30 +1563,30 @@ const J = [
1563
1563
  }), n += 2) : (t.push(a), n += 1);
1564
1564
  }
1565
1565
  return t;
1566
- }, il = (e) => Ee([e], []), an = (e) => {
1566
+ }, il = (e) => Ee([e], []), sn = (e) => {
1567
1567
  const t = [];
1568
1568
  return e == null || e.forEach((n) => n == null ? void 0 : n.forEach((a) => {
1569
- var s, o;
1569
+ var s, r;
1570
1570
  Ke.value++, t.push({
1571
1571
  id: Ke.value,
1572
1572
  key: (s = Object.keys(a)) == null ? void 0 : s[0],
1573
- value: (o = Object.values(a)) == null ? void 0 : o[0],
1573
+ value: (r = Object.values(a)) == null ? void 0 : r[0],
1574
1574
  // 如果值为空,则key设为空字符串,否则保留原值
1575
1575
  width: n.length
1576
1576
  });
1577
1577
  })), t;
1578
1578
  }, ze = (e) => {
1579
- let t = nn(e);
1579
+ let t = an(e);
1580
1580
  return t = t == null ? void 0 : t.map((n) => {
1581
1581
  var l, a, s;
1582
1582
  if (n.comp === "Table")
1583
- (l = n.compData) != null && l.find((o) => (o == null ? void 0 : o.key) === "header") || (n.compData = (a = n.compData) == null ? void 0 : a.map((o) => (o.key === "tableColumns" ? o = {
1583
+ (l = n.compData) != null && l.find((r) => (r == null ? void 0 : r.key) === "header") || (n.compData = (a = n.compData) == null ? void 0 : a.map((r) => (r.key === "tableColumns" ? r = {
1584
1584
  key: "header",
1585
- contents: Ee(o.value, [])
1586
- } : o = {
1587
- key: o.key,
1588
- contents: o.value
1589
- }, o)), n.compData.push({
1585
+ contents: Ee(r.value, [])
1586
+ } : r = {
1587
+ key: r.key,
1588
+ contents: r.value
1589
+ }, r)), n.compData.push({
1590
1590
  key: "extraButton",
1591
1591
  contents: [{ label: "新增" }]
1592
1592
  }), n.compData.push({
@@ -1594,7 +1594,7 @@ const J = [
1594
1594
  contents: [{ label: "查看" }, { label: "编辑" }, { label: "删除" }]
1595
1595
  }));
1596
1596
  else if (n.key === "form") {
1597
- const o = (s = n == null ? void 0 : n.value) == null ? void 0 : s.map((p) => (Array.isArray(p) || (p = [p]), p));
1597
+ const r = (s = n == null ? void 0 : n.value) == null ? void 0 : s.map((p) => (Array.isArray(p) || (p = [p]), p));
1598
1598
  n = {
1599
1599
  comp: "Form",
1600
1600
  compData: [
@@ -1604,7 +1604,7 @@ const J = [
1604
1604
  },
1605
1605
  {
1606
1606
  key: "formContent",
1607
- contents: an(o)
1607
+ contents: sn(r)
1608
1608
  }
1609
1609
  ],
1610
1610
  name: ""
@@ -1612,7 +1612,7 @@ const J = [
1612
1612
  }
1613
1613
  return n;
1614
1614
  }), t;
1615
- }, sn = (e, t) => {
1615
+ }, rn = (e, t) => {
1616
1616
  var p, i, d, m, _, $;
1617
1617
  const n = [], l = ol((i = (p = e == null ? void 0 : e.find((v) => v.key === "tableIndex")) == null ? void 0 : p.value) == null ? void 0 : i[0]);
1618
1618
  n.push({
@@ -1628,10 +1628,10 @@ const J = [
1628
1628
  key: "header",
1629
1629
  contents: a
1630
1630
  });
1631
- const o = en(($ = e == null ? void 0 : e.find((v) => v.key === "tableContents")) == null ? void 0 : $.value, l);
1631
+ const r = ln(($ = e == null ? void 0 : e.find((v) => v.key === "tableContents")) == null ? void 0 : $.value, l);
1632
1632
  return n.push({
1633
1633
  key: "tableContents",
1634
- contents: o
1634
+ contents: r
1635
1635
  }), n.push({
1636
1636
  key: "extraButton",
1637
1637
  contents: [{ label: "新增" }]
@@ -1645,7 +1645,7 @@ const J = [
1645
1645
  }), ie = (e) => {
1646
1646
  const t = e.replace(/"([^"]+)"\s*==\s*(\[[^\]]+\])/g, '"$1",$2');
1647
1647
  return fl(t).replace(/^"(.*)"$/, "$1");
1648
- }, rn = (e) => {
1648
+ }, on = (e) => {
1649
1649
  const t = /* @__PURE__ */ new Set();
1650
1650
  return e.filter((n) => {
1651
1651
  const l = JSON.stringify(n);
@@ -1659,25 +1659,25 @@ const J = [
1659
1659
  (a = l.contents) == null || a.forEach((s) => {
1660
1660
  t.push(s);
1661
1661
  });
1662
- }), t = rn(t), t.push({
1662
+ }), t = on(t), t.push({
1663
1663
  label: "操作"
1664
1664
  }), [t];
1665
- }, on = (e, t) => e.reduce((n, l, a) => {
1665
+ }, cn = (e, t) => e.reduce((n, l, a) => {
1666
1666
  const s = Math.floor(a / t);
1667
1667
  return n[s] || (n[s] = []), n[s].push(l), n;
1668
- }, []), dl = (e) => e.reduce((t, n) => n.children && n.children.length > 0 ? t + dl(n.children) : t + 1, 0), cn = (e, t) => {
1668
+ }, []), dl = (e) => e.reduce((t, n) => n.children && n.children.length > 0 ? t + dl(n.children) : t + 1, 0), un = (e, t) => {
1669
1669
  var l;
1670
1670
  let n = [];
1671
- return (l = on(e, dl(t == null ? void 0 : t[0]) - 1)) == null || l.forEach((a) => {
1671
+ return (l = cn(e, dl(t == null ? void 0 : t[0]) - 1)) == null || l.forEach((a) => {
1672
1672
  let s = [];
1673
- a.forEach((o) => {
1673
+ a.forEach((r) => {
1674
1674
  var p;
1675
- Array.isArray(o.contents) ? (p = o.contents) == null || p.forEach((i) => {
1675
+ Array.isArray(r.contents) ? (p = r.contents) == null || p.forEach((i) => {
1676
1676
  s.push(i);
1677
- }) : s.push(o.contents);
1677
+ }) : s.push(r.contents);
1678
1678
  }), n.push(s);
1679
1679
  }), [n];
1680
- }, un = ["方法体", "输入", "输出"], Xe = L(1), De = (e) => {
1680
+ }, pn = ["方法体", "输入", "输出"], Xe = R(1), De = (e) => {
1681
1681
  let t;
1682
1682
  e.replaceAll(" ", `\r
1683
1683
  `).includes(`\r
@@ -1691,7 +1691,7 @@ const J = [
1691
1691
  for (const a of t)
1692
1692
  a.includes("{") || l.includes("{") || a.includes("[") || l.includes("[") || a.includes("【") || l.includes("【") || a.includes("(") || l.includes("(") || a.includes("(") || l.includes("(") || a.includes("/*") || l.includes("/*") ? (l += a.trim(), u(l).split("{").length - 1 === u(l).split("}").length - 1 && u(l).split("【").length - 1 === u(l).split("】").length - 1 && u(l).split("[").length - 1 === u(l).split("]").length - 1 && u(l).split("(").length - 1 === u(l).split(")").length - 1 && u(l).split("(").length - 1 === u(l).split(")").length - 1 && u(l).split("/*").length - 1 === u(l).split("*/").length - 1 && l[l.length - 1] !== "," && (n.push(l.replace(/\/\*[\s\S]*?\*\//g, "")), l = "")) : n.push(a.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
1693
1693
  return n;
1694
- }, pn = (e) => {
1694
+ }, fn = (e) => {
1695
1695
  const [t, n] = e.split(/=(.+)/), l = t.replace(/['"]/g, "").trim(), a = n.replace(/^['"]|['"]$/g, "");
1696
1696
  return { key: l, value: a };
1697
1697
  }, be = (e) => {
@@ -1702,12 +1702,12 @@ const J = [
1702
1702
  for (const a of t)
1703
1703
  a.includes("{") || l.includes("{") || a.includes("[") || l.includes("[") || a.includes("【") || l.includes("【") || a.includes("(") || l.includes("(") || a.includes("(") || l.includes("(") || a.includes("/*") || l.includes("/*") ? (l = l !== "" ? l + ":" + a.trim() : a.trim(), u(l).split("{").length - 1 === u(l).split("}").length - 1 && u(l).split("【").length - 1 === u(l).split("】").length - 1 && u(l).split("[").length - 1 === u(l).split("]").length - 1 && u(l).split("(").length - 1 === u(l).split(")").length - 1 && u(l).split("(").length - 1 === u(l).split(")").length - 1 && u(l).split("/*").length - 1 === u(l).split("*/").length - 1 && (n.push(l.replace(/\/\*[\s\S]*?\*\//g, "")), l = "")) : n.push(a.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
1704
1704
  return n;
1705
- }, fn = (e) => /^[\x00-\x7F]*$/.test(e), dn = (e) => {
1705
+ }, dn = (e) => /^[\x00-\x7F]*$/.test(e), hn = (e) => {
1706
1706
  var a;
1707
1707
  const t = e.map((s) => {
1708
1708
  var p, i;
1709
- let o = (i = (p = s.key.split("(")) == null ? void 0 : p[1]) == null ? void 0 : i.trim();
1710
- return o.slice(0, o.length - 1);
1709
+ let r = (i = (p = s.key.split("(")) == null ? void 0 : p[1]) == null ? void 0 : i.trim();
1710
+ return r.slice(0, r.length - 1);
1711
1711
  }), n = t == null ? void 0 : t.map((s) => {
1712
1712
  var p;
1713
1713
  return (p = be(s)) == null ? void 0 : p.map((i) => {
@@ -1719,23 +1719,23 @@ const J = [
1719
1719
  return i;
1720
1720
  });
1721
1721
  }).filter((s) => s.length !== 0), l = (a = n == null ? void 0 : n.filter((s) => s.length !== 0)) == null ? void 0 : a.map((s) => {
1722
- let o = "";
1722
+ let r = "";
1723
1723
  return s.forEach((p) => {
1724
- p.includes("{") || (o = o === "" ? o + u(p) : o + "/" + u(p));
1725
- }), o;
1724
+ p.includes("{") || (r = r === "" ? r + u(p) : r + "/" + u(p));
1725
+ }), r;
1726
1726
  });
1727
1727
  return rl([...new Set(l)]);
1728
1728
  }, hl = (e) => {
1729
- var n, l, a, s, o, p, i, d;
1729
+ var n, l, a, s, r, p, i, d;
1730
1730
  const t = (l = (n = e.split("(")) == null ? void 0 : n[1]) == null ? void 0 : l.trim();
1731
- return ((a = be(t.slice(0, t.length - 1))) == null ? void 0 : a.length) > 0 ? t.slice(0, t.length - 1) : (d = (i = (p = (o = (s = e.split("(")) == null ? void 0 : s[1]) == null ? void 0 : o.trim()) == null ? void 0 : p.split(")")) == null ? void 0 : i[0]) == null ? void 0 : d.trim();
1732
- }, hn = (e) => {
1731
+ return ((a = be(t.slice(0, t.length - 1))) == null ? void 0 : a.length) > 0 ? t.slice(0, t.length - 1) : (d = (i = (p = (r = (s = e.split("(")) == null ? void 0 : s[1]) == null ? void 0 : r.trim()) == null ? void 0 : p.split(")")) == null ? void 0 : i[0]) == null ? void 0 : d.trim();
1732
+ }, yn = (e) => {
1733
1733
  var a;
1734
1734
  if (!e) return;
1735
1735
  const t = hl(e), n = (a = be(t)) == null ? void 0 : a.map((s) => {
1736
- var o;
1736
+ var r;
1737
1737
  if (s.includes("{")) {
1738
- let p = (o = s.split(":")) == null ? void 0 : o[0];
1738
+ let p = (r = s.split(":")) == null ? void 0 : r[0];
1739
1739
  s = p.slice(1, p.length);
1740
1740
  }
1741
1741
  return s;
@@ -1744,7 +1744,7 @@ const J = [
1744
1744
  return n.forEach((s) => {
1745
1745
  s.includes("{") || (l = l === "" ? l + u(s) : l + "/" + u(s));
1746
1746
  }), l;
1747
- }, yn = (e) => {
1747
+ }, mn = (e) => {
1748
1748
  const t = e.match(/\[(.*)\]/s);
1749
1749
  if (t) {
1750
1750
  const n = `[${t[1]}]`;
@@ -1755,23 +1755,23 @@ const J = [
1755
1755
  console.error("解析失败:", l);
1756
1756
  }
1757
1757
  }
1758
- }, mn = (e) => {
1758
+ }, gn = (e) => {
1759
1759
  var s;
1760
1760
  if (!e) return;
1761
1761
  const t = hl(e);
1762
1762
  let n = [], l = [], a = [];
1763
- return (s = be(t)) == null || s.forEach((o) => {
1763
+ return (s = be(t)) == null || s.forEach((r) => {
1764
1764
  var p;
1765
- o.includes("[") ? n.push(yn(o)) : o.includes("{") && (fn((p = o.slice(1, o.length - 1).split(":")) == null ? void 0 : p[0]) ? a.push(JSON.parse(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3'))) : ee(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3')) || o.includes("$") || l.push(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3')));
1765
+ r.includes("[") ? n.push(mn(r)) : r.includes("{") && (dn((p = r.slice(1, r.length - 1).split(":")) == null ? void 0 : p[0]) ? a.push(JSON.parse(r.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3'))) : ee(r.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3')) ? l.push(JSON.parse(r.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3'))) : r.includes("$") || l.push(r.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3')));
1766
1766
  }), [n, l, a];
1767
- }, gn = (e) => {
1767
+ }, bn = (e) => {
1768
1768
  const t = [];
1769
1769
  let n = "";
1770
1770
  for (const l of e)
1771
1771
  l.includes("[") || n.includes("[") || l.includes("/*") || n.includes("/*") ? (n += l.trim(), u(n).split("{").length - 1 === u(n).split("}").length - 1 && u(n).split("【").length - 1 === u(n).split("】").length - 1 && u(n).split("[").length - 1 === u(n).split("]").length - 1 && u(n).split("(").length - 1 === u(n).split(")").length - 1 && u(n).split("(").length - 1 === u(n).split(")").length - 1 && u(n).split("/*").length - 1 === u(n).split("*/").length - 1 && (t.push(n.replace(/\/\*[\s\S]*?\*\//g, "")), n = "")) : t.push(l.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
1772
1772
  return t;
1773
1773
  }, Ye = (e) => {
1774
- var o, p;
1774
+ var r, p;
1775
1775
  const t = [], n = /(?:{'([^']+)'[^}]+}: {'([^']+)'[^}]+}|'([^']+)': {'([^']+)'[^}]+})/, l = e.match(n);
1776
1776
  if (l) {
1777
1777
  const i = l[1] || l[3], d = l[2] || l[4];
@@ -1781,34 +1781,34 @@ const J = [
1781
1781
  }
1782
1782
  }
1783
1783
  const a = /(https?:\/\/[^\s)]+|Http:\/\/[^\s)]+|\/[^\s)]+)/i, s = e.match(a);
1784
- return s ? t.push(s[0].replace(/\)+$/, "")) : (e == null ? void 0 : e.split(",").length) === 2 && t.push((p = (o = e == null ? void 0 : e.split(",")) == null ? void 0 : o[1]) == null ? void 0 : p.trim()), t;
1784
+ return s ? t.push(s[0].replace(/\)+$/, "")) : (e == null ? void 0 : e.split(",").length) === 2 && t.push((p = (r = e == null ? void 0 : e.split(",")) == null ? void 0 : r[1]) == null ? void 0 : p.trim()), t;
1785
1785
  }, $e = (e) => {
1786
1786
  let t = e.replace(/\[\s*,\s*,/g, '[{"": ""}, {"": ""},');
1787
- return t = t.replace(/\[\s*,/g, '[{"": ""},'), t = t.replace(/,\s*,/g, ', {"": ""},'), t = t.replace(/,\s*\]/g, ', {"": ""}]'), t = t.replace(/:(\s*)([^"{}\[\],\s]+)(\s*)([,\]}])/g, (n, l, a, s, o) => a.includes("'") ? `:${l}${a}${s}${o}` : `:${l}"${a}"${s}${o}`), t = t.replace(/:\s*([,\]}])/g, ': ""$1'), t;
1788
- }, bn = (e) => !/\[[^\]]*\{[^\]]*\]/.test(e), kn = (e) => {
1787
+ return t = t.replace(/\[\s*,/g, '[{"": ""},'), t = t.replace(/,\s*,/g, ', {"": ""},'), t = t.replace(/,\s*\]/g, ', {"": ""}]'), t = t.replace(/:(\s*)([^"{}\[\],\s]+)(\s*)([,\]}])/g, (n, l, a, s, r) => a.includes("'") ? `:${l}${a}${s}${r}` : `:${l}"${a}"${s}${r}`), t = t.replace(/:\s*([,\]}])/g, ': ""$1'), t;
1788
+ }, kn = (e) => !/\[[^\]]*\{[^\]]*\]/.test(e), Cn = (e) => {
1789
1789
  const t = u(e).match(/(\w+)\(['"]([^'"]+)['"]:\s*\{['"]([^'"]+)['"]\}\)/), n = t ? `${t[2]}/${t[3]}` : null, l = e.match(/\[\{([^}]+)\}\]/), a = l == null ? void 0 : l[1].replaceAll(":", "").replaceAll("'", '"').trim();
1790
1790
  let s = null;
1791
1791
  if (a)
1792
1792
  try {
1793
1793
  s = JSON.parse(a);
1794
- } catch (o) {
1795
- console.error("解析数组失败:", o);
1794
+ } catch (r) {
1795
+ console.error("解析数组失败:", r);
1796
1796
  }
1797
1797
  return [n, s];
1798
- }, Cn = (e) => {
1798
+ }, An = (e) => {
1799
1799
  var p, i, d, m, _, $, v, C, E, h, f;
1800
- let t = [], n = [], l = {}, a = [], s = e.trim(), o = [];
1800
+ let t = [], n = [], l = {}, a = [], s = e.trim(), r = [];
1801
1801
  if (s.trim().includes("输入") && s.trim().includes("输出")) {
1802
1802
  let g = [], k = e.trim();
1803
1803
  k = u(k).slice(1, u(k).length - 1);
1804
1804
  const c = /(\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})/g;
1805
- (C = k.match(c)) == null || C.forEach((r, y) => {
1805
+ (C = k.match(c)) == null || C.forEach((o, y) => {
1806
1806
  var P;
1807
- const A = r;
1807
+ const A = o;
1808
1808
  let O = [];
1809
1809
  (P = A.slice(1, A.length - 1).replace(":", "$:").split("$:")) == null || P.forEach((x) => {
1810
1810
  var U, G, T;
1811
- if (un.find((S) => x.includes(S)))
1811
+ if (pn.find((S) => x.includes(S)))
1812
1812
  if (!x.includes("=="))
1813
1813
  O.push({ key: "tableIndexColumn", contents: x.replaceAll("'", "") });
1814
1814
  else {
@@ -1904,27 +1904,27 @@ const J = [
1904
1904
  }
1905
1905
  }
1906
1906
  }), g.push(O == null ? void 0 : O[0]);
1907
- }), o.push({
1907
+ }), r.push({
1908
1908
  key: "tableIndex",
1909
- contents: (E = g == null ? void 0 : g.filter((r) => (r == null ? void 0 : r.key) === "tableIndex")) == null ? void 0 : E.map((r) => {
1909
+ contents: (E = g == null ? void 0 : g.filter((o) => (o == null ? void 0 : o.key) === "tableIndex")) == null ? void 0 : E.map((o) => {
1910
1910
  var y;
1911
- return (y = r.contents) == null ? void 0 : y[0];
1911
+ return (y = o.contents) == null ? void 0 : y[0];
1912
1912
  })
1913
- }), o.push({
1913
+ }), r.push({
1914
1914
  key: "extraButton",
1915
1915
  contents: [{ label: "新增" }]
1916
- }), o.push({
1916
+ }), r.push({
1917
1917
  key: "rowButton",
1918
1918
  contents: [{ label: "查看" }, { label: "编辑" }, { label: "删除" }]
1919
- }), o.push({
1919
+ }), r.push({
1920
1920
  key: "tableIndexColumn",
1921
- contents: (f = (h = g == null ? void 0 : g.filter((r) => (r == null ? void 0 : r.key) === "tableIndexColumn")) == null ? void 0 : h[0]) == null ? void 0 : f.contents
1922
- }), o.push({
1921
+ contents: (f = (h = g == null ? void 0 : g.filter((o) => (o == null ? void 0 : o.key) === "tableIndexColumn")) == null ? void 0 : h[0]) == null ? void 0 : f.contents
1922
+ }), r.push({
1923
1923
  key: "header",
1924
- contents: Qe(g == null ? void 0 : g.filter((r) => (r == null ? void 0 : r.key) === "header"))
1925
- }), o.push({
1924
+ contents: Qe(g == null ? void 0 : g.filter((o) => (o == null ? void 0 : o.key) === "header"))
1925
+ }), r.push({
1926
1926
  key: "tableContents",
1927
- contents: cn(g == null ? void 0 : g.filter((r) => (r == null ? void 0 : r.key) === "tableContents"), Qe(g == null ? void 0 : g.filter((r) => (r == null ? void 0 : r.key) === "header")))
1927
+ contents: un(g == null ? void 0 : g.filter((o) => (o == null ? void 0 : o.key) === "tableContents"), Qe(g == null ? void 0 : g.filter((o) => (o == null ? void 0 : o.key) === "header")))
1928
1928
  });
1929
1929
  } else {
1930
1930
  const g = (p = s.trim().split(",$")) == null ? void 0 : p[0];
@@ -1933,14 +1933,14 @@ const J = [
1933
1933
  if (s.includes("$")) {
1934
1934
  s = u(s), l.method = (m = (d = u(s).trim()) == null ? void 0 : d.slice(1, s.length).split("(")) == null ? void 0 : m[0];
1935
1935
  let c;
1936
- Ye(s.slice(1, s.length - 2)).length > 1 ? c = Ye(s.slice(1, s.length - 2)) : c = kn(s), l.value = c;
1936
+ Ye(s.slice(1, s.length - 2)).length > 1 ? c = Ye(s.slice(1, s.length - 2)) : c = Cn(s), l.value = c;
1937
1937
  } else
1938
- ee("[" + $e(s).replaceAll("'", '"') + "]") && !bn($e(s).replaceAll("'", '"')) ? (s = JSON.parse("[" + $e(s).replaceAll("'", '"') + "]"), a = s) : k = ($ = (_ = u(s).split("}")) == null ? void 0 : _.filter((c) => c !== "")) == null ? void 0 : $.map((c) => {
1939
- let r = c;
1940
- return r[0] === "," ? r = r.slice(2, r.length) : r = r.slice(1, r.length), r;
1938
+ ee("[" + $e(s).replaceAll("'", '"') + "]") && !kn($e(s).replaceAll("'", '"')) ? (s = JSON.parse("[" + $e(s).replaceAll("'", '"') + "]"), a = s) : k = ($ = (_ = u(s).split("}")) == null ? void 0 : _.filter((c) => c !== "")) == null ? void 0 : $.map((c) => {
1939
+ let o = c;
1940
+ return o[0] === "," ? o = o.slice(2, o.length) : o = o.slice(1, o.length), o;
1941
1941
  });
1942
1942
  (v = u(k)) == null || v.forEach((c) => {
1943
- var r, y, A, O, P, x, U, G, T, S, N, D, b, B, j;
1943
+ var o, y, A, O, P, x, U, G, T, S, N, D, b, B, j;
1944
1944
  if (c.includes("==")) {
1945
1945
  const M = (D = c == null ? void 0 : c.split(":")) == null ? void 0 : D[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"').replaceAll("'", '"'), W = (b = c == null ? void 0 : c.split(":")) == null ? void 0 : b[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"');
1946
1946
  if (ee(W.trim()) ? n.push(JSON.parse(W.trim())) : n.push(JSON.parse(W.replaceAll("'", '"').trim())), M[0] !== "[") {
@@ -1949,18 +1949,18 @@ const J = [
1949
1949
  const le = u(Q);
1950
1950
  le.push(["操作"]), t.push(le);
1951
1951
  } else {
1952
- const Q = (B = M.slice(1, M.length - 1).replaceAll(",", ",|")) == null ? void 0 : B.split("|"), le = (j = gn(Q)) == null ? void 0 : j.map((H) => ((H == null ? void 0 : H[H.length - 1]) === "," && (H = H.slice(0, H.length - 1)), H));
1952
+ const Q = (B = M.slice(1, M.length - 1).replaceAll(",", ",|")) == null ? void 0 : B.split("|"), le = (j = bn(Q)) == null ? void 0 : j.map((H) => ((H == null ? void 0 : H[H.length - 1]) === "," && (H = H.slice(0, H.length - 1)), H));
1953
1953
  let se = [];
1954
1954
  le == null || le.forEach((H) => {
1955
- var Y, I, V, R;
1955
+ var Y, I, V, L;
1956
1956
  let X = [];
1957
- X.push((Y = H.split("==")) == null ? void 0 : Y[0].trim().replace(/^"|"$/g, "")), ((I = H.split("==")) == null ? void 0 : I[1].trim()[0]) === "[" ? X.push(JSON.parse((V = H.split("==")) == null ? void 0 : V[1].trim())) : X.push([JSON.parse((R = H.split("==")) == null ? void 0 : R[1].trim())]), se.push(X);
1957
+ X.push((Y = H.split("==")) == null ? void 0 : Y[0].trim().replace(/^"|"$/g, "")), ((I = H.split("==")) == null ? void 0 : I[1].trim()[0]) === "[" ? X.push(JSON.parse((V = H.split("==")) == null ? void 0 : V[1].trim())) : X.push([JSON.parse((L = H.split("==")) == null ? void 0 : L[1].trim())]), se.push(X);
1958
1958
  });
1959
1959
  const re = u(se);
1960
1960
  re.push(["操作"]), t.push(re);
1961
1961
  }
1962
1962
  } else {
1963
- if (ee((r = c == null ? void 0 : c.split(":")) == null ? void 0 : r[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"').replaceAll("'", '"'))) {
1963
+ if (ee((o = c == null ? void 0 : c.split(":")) == null ? void 0 : o[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"').replaceAll("'", '"'))) {
1964
1964
  let M = JSON.parse((y = c == null ? void 0 : c.split(":")) == null ? void 0 : y[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"').replaceAll("'", '"'));
1965
1965
  Array.isArray(M) || (M = [M]), M.push("操作"), t.push(M);
1966
1966
  }
@@ -1968,49 +1968,52 @@ const J = [
1968
1968
  }
1969
1969
  });
1970
1970
  }
1971
- return [t, n, o, l, a];
1972
- }, An = (e) => {
1973
- const t = [], n = hn(e == null ? void 0 : e.key), l = mn(e == null ? void 0 : e.key), a = Cn(e == null ? void 0 : e.value), s = l == null ? void 0 : l[0], o = [...l == null ? void 0 : l[1], ...a == null ? void 0 : a[4]], p = l == null ? void 0 : l[2], i = a == null ? void 0 : a[0], d = a == null ? void 0 : a[1], m = a == null ? void 0 : a[2], _ = a == null ? void 0 : a[3];
1971
+ return [t, n, r, l, a];
1972
+ }, $n = (e) => {
1973
+ const t = [], n = yn(e == null ? void 0 : e.key), l = gn(e == null ? void 0 : e.key), a = An(e == null ? void 0 : e.value), s = l == null ? void 0 : l[0], r = a == null ? void 0 : a[4], p = l == null ? void 0 : l[1], i = l == null ? void 0 : l[2], d = a == null ? void 0 : a[0], m = a == null ? void 0 : a[1], _ = a == null ? void 0 : a[2], $ = a == null ? void 0 : a[3];
1974
1974
  return n && t.push({
1975
1975
  key: "contentPath",
1976
1976
  value: n
1977
1977
  }), (s == null ? void 0 : s.length) > 0 && t.push({
1978
1978
  key: "tableIndex",
1979
1979
  value: s
1980
- }), _ && t.push({
1980
+ }), $ && t.push({
1981
1981
  key: "extraButton",
1982
- value: _
1983
- }), (o == null ? void 0 : o.length) > 0 && t.push({
1982
+ value: $
1983
+ }), (r == null ? void 0 : r.length) > 0 && t.push({
1984
1984
  key: "form",
1985
- value: o
1985
+ value: r
1986
1986
  }), (p == null ? void 0 : p.length) > 0 && t.push({
1987
- key: "extra",
1987
+ key: "formTop",
1988
1988
  value: p
1989
- }), (m == null ? void 0 : m.length) > 0 && t.push({
1990
- comp: "Table",
1991
- compData: m,
1992
- name: ""
1993
1989
  }), (i == null ? void 0 : i.length) > 0 && t.push({
1994
- key: "tableColumns",
1990
+ key: "extra",
1995
1991
  value: i
1992
+ }), (_ == null ? void 0 : _.length) > 0 && t.push({
1993
+ comp: "Table",
1994
+ compData: _,
1995
+ name: ""
1996
1996
  }), (d == null ? void 0 : d.length) > 0 && t.push({
1997
- key: "tableContents",
1997
+ key: "tableColumns",
1998
1998
  value: d
1999
- }), t;
2000
- }, $n = (e, t) => {
1999
+ }), (m == null ? void 0 : m.length) > 0 && t.push({
2000
+ key: "tableContents",
2001
+ value: m
2002
+ }), console.log(232, t), t;
2003
+ }, On = (e, t) => {
2001
2004
  const n = t.split("/");
2002
2005
  let l = [];
2003
2006
  return e == null || e.forEach((a) => {
2004
2007
  var p, i, d, m, _, $, v, C, E;
2005
- const s = [], o = (i = (p = a.find((h) => h.key === "tableIndex")) == null ? void 0 : p.value) == null ? void 0 : i[0];
2006
- if (o && !o.some((h) => Array.isArray(h))) {
2008
+ const s = [], r = (i = (p = a.find((h) => h.key === "tableIndex")) == null ? void 0 : p.value) == null ? void 0 : i[0];
2009
+ if (r && !r.some((h) => Array.isArray(h))) {
2007
2010
  const h = (m = (d = a.find((f) => f.key === "tableColumns")) == null ? void 0 : d.value) == null ? void 0 : m[0];
2008
2011
  s.push({
2009
2012
  key: "tableIndexColumn",
2010
2013
  contents: n[n.length - 1]
2011
2014
  }), s.push({
2012
2015
  key: "tableIndex",
2013
- contents: o == null ? void 0 : o.map((f) => ({ label: f }))
2016
+ contents: r == null ? void 0 : r.map((f) => ({ label: f }))
2014
2017
  }), s.push({
2015
2018
  key: "extraButton",
2016
2019
  contents: [{ label: "新增" }]
@@ -2031,71 +2034,71 @@ const J = [
2031
2034
  name: "",
2032
2035
  compData: s
2033
2036
  });
2034
- } else o ? l.push({
2037
+ } else r ? l.push({
2035
2038
  comp: "Table",
2036
2039
  name: "",
2037
- compData: sn(a, n[n.length - 1])
2040
+ compData: rn(a, n[n.length - 1])
2038
2041
  }) : a.some((h) => h.key === "extra") ? l.push({
2039
2042
  comp: "calculator",
2040
2043
  name: "",
2041
2044
  compData: ze(a)
2042
2045
  }) : l.push(ze(a));
2043
2046
  }), l;
2044
- }, On = (e, t) => {
2047
+ }, _n = (e, t) => {
2045
2048
  var a, s;
2046
- const n = e.map((o) => o.filter((p) => p.key !== "contentPath"));
2049
+ const n = e.map((r) => r.filter((p) => p.key !== "contentPath"));
2047
2050
  return {
2048
2051
  comp: "Group",
2049
2052
  compData: [{
2050
- contents: $n(n, t),
2053
+ contents: On(n, t),
2051
2054
  key: "groupContents"
2052
2055
  }],
2053
- name: (s = (a = e[0]) == null ? void 0 : a.find((o) => o.key === "contentPath")) == null ? void 0 : s.value
2056
+ name: (s = (a = e[0]) == null ? void 0 : a.find((r) => r.key === "contentPath")) == null ? void 0 : s.value
2054
2057
  };
2055
- }, _n = (e) => {
2058
+ }, vn = (e) => {
2056
2059
  var a;
2057
2060
  const t = [], n = u(e).map((s) => {
2058
- var o;
2061
+ var r;
2059
2062
  if (s != null && s.find((p) => (p == null ? void 0 : p.key) === "contentPath"))
2060
- return (o = s == null ? void 0 : s.find((p) => (p == null ? void 0 : p.key) === "contentPath")) == null ? void 0 : o.value;
2063
+ return (r = s == null ? void 0 : s.find((p) => (p == null ? void 0 : p.key) === "contentPath")) == null ? void 0 : r.value;
2061
2064
  }).filter((s) => s !== ""), l = [...new Set(n)];
2062
2065
  return (a = l == null ? void 0 : l.filter((s) => s)) == null || a.forEach((s) => {
2063
- var o;
2064
- t.push(On((o = u(e)) == null ? void 0 : o.filter((p) => p.find((i) => i.key === "contentPath" && i.value === s)), s));
2066
+ var r;
2067
+ t.push(_n((r = u(e)) == null ? void 0 : r.filter((p) => p.find((i) => i.key === "contentPath" && i.value === s)), s));
2065
2068
  }), t;
2066
- }, vn = (e) => {
2069
+ }, xn = (e) => {
2067
2070
  let t = [];
2068
2071
  t.push({
2069
2072
  comp: "Menu",
2070
2073
  compData: [{
2071
- contents: dn(u(e)),
2074
+ contents: hn(u(e)),
2072
2075
  key: "menuContents"
2073
2076
  }],
2074
2077
  name: ""
2075
2078
  });
2076
- const n = e.map((l) => An(l)).filter((l) => l.length !== 0);
2077
- return t = [...t, ..._n(n)], t;
2079
+ const n = e.map((l) => $n(l)).filter((l) => l.length !== 0);
2080
+ return t = [...t, ...vn(n)], t;
2078
2081
  }, qn = (e) => {
2079
- var a, s, o, p, i;
2080
- const t = (o = De((s = (a = u(e)) == null ? void 0 : a.replace("(", "(")) == null ? void 0 : s.replace(")", ")"))) == null ? void 0 : o.filter((d) => d !== ""), n = (i = (p = u(t)) == null ? void 0 : p.filter((d) => !d.includes("/*"))) == null ? void 0 : i.map((d) => pn(d));
2081
- return vn(n);
2082
- }, fe = L(0), Oe = L(0), xn = (e) => {
2082
+ var a, s, r, p, i;
2083
+ const t = (r = De((s = (a = u(e)) == null ? void 0 : a.replace("(", "(")) == null ? void 0 : s.replace(")", ")"))) == null ? void 0 : r.filter((d) => d !== ""), n = (i = (p = u(t)) == null ? void 0 : p.filter((d) => !d.includes("/*"))) == null ? void 0 : i.map((d) => fn(d));
2084
+ return xn(n);
2085
+ }, fe = R(0), Oe = R(0), Tn = (e) => {
2083
2086
  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 = {};
2084
2087
  let a;
2085
2088
  for (; (a = n.exec(t)) !== null; ) {
2086
2089
  const s = a[1];
2087
- let o = a[2].trim();
2088
- (o.match(/\[/g) || []).length !== (o.match(/\]/g) || []).length && (o = o == null ? void 0 : o.replace(/]$/, "")), l[s] ? (l[s + Oe.value] && Oe.value++, l[s + Oe.value] = s + "=" + o) : l[s] = s + "=" + o;
2090
+ let r = a[2].trim();
2091
+ (r.match(/\[/g) || []).length !== (r.match(/\]/g) || []).length && (r = r == null ? void 0 : r.replace(/]$/, "")), l[s] ? (l[s + Oe.value] && Oe.value++, l[s + Oe.value] = s + "=" + r) : l[s] = s + "=" + r;
2089
2092
  }
2090
2093
  return l;
2091
2094
  }, yl = (e) => {
2092
2095
  const [t, n] = e.split("=").map((s) => s.trim()), l = t.replace(/['"]/g, ""), a = n.replace(/^['"]|['"]$/g, "");
2093
2096
  return { key: l, value: a };
2094
- }, Tn = (e) => {
2095
- var o;
2097
+ }, En = (e) => {
2098
+ var r;
2096
2099
  let t = [];
2097
2100
  const [n, l] = e.split(/=(.+)/), a = n.replace(/['"]/g, "").trim(), s = l.replace(/^['"]|['"]$/g, "");
2098
- return (o = Object.values(xn(s))) == null || o.forEach((p) => {
2101
+ return (r = Object.values(Tn(s))) == null || r.forEach((p) => {
2099
2102
  t.push(yl(p));
2100
2103
  }), { key: a, value: t };
2101
2104
  }, ye = (e) => {
@@ -2113,8 +2116,8 @@ const J = [
2113
2116
  const l = JSON.parse(n);
2114
2117
  let a = [];
2115
2118
  return l == null || l.forEach((s) => {
2116
- var o;
2117
- (o = Object.entries(u(s))) == null || o.forEach((p) => {
2119
+ var r;
2120
+ (r = Object.entries(u(s))) == null || r.forEach((p) => {
2118
2121
  fe.value++, a.push({
2119
2122
  id: fe.value,
2120
2123
  key: (p == null ? void 0 : p[0]) ?? "",
@@ -2140,7 +2143,7 @@ const J = [
2140
2143
  } catch (t) {
2141
2144
  return console.error("转换失败:", t), [];
2142
2145
  }
2143
- }, En = (e, t) => {
2146
+ }, Dn = (e, t) => {
2144
2147
  try {
2145
2148
  if (J != null && J.find((n) => (n == null ? void 0 : n.key) === t))
2146
2149
  return JSON.parse(e.replace(/[’]|[‘]|[']/g, '"'));
@@ -2158,7 +2161,7 @@ const J = [
2158
2161
  } catch (n) {
2159
2162
  return console.error("解析失败:", n), e;
2160
2163
  }
2161
- }, Dn = (e) => ({ [e == null ? void 0 : e.key]: En(e == null ? void 0 : e.value, e == null ? void 0 : e.key) }), Nn = (e) => {
2164
+ }, Nn = (e) => ({ [e == null ? void 0 : e.key]: Dn(e == null ? void 0 : e.value, e == null ? void 0 : e.key) }), Sn = (e) => {
2162
2165
  try {
2163
2166
  if (u(e).split("[").length - 1 > 1) {
2164
2167
  const t = u(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
@@ -2169,12 +2172,12 @@ const J = [
2169
2172
  return console.error("解析失败:", t), e;
2170
2173
  }
2171
2174
  }, gl = (e) => {
2172
- var t, n, l, a, s, o;
2175
+ var t, n, l, a, s, r;
2173
2176
  try {
2174
2177
  const p = De((n = (t = u(e)) == null ? void 0 : t.replace("(", "(")) == null ? void 0 : n.replace(")", ")")), i = (l = u(p)) == null ? void 0 : l.map((_) => {
2175
2178
  var v, C;
2176
2179
  let $ = (C = (v = u(_)) == null ? void 0 : v.split("=")) == null ? void 0 : C[0];
2177
- return $ != null && $.includes("GroupContents") ? Tn(_) : yl(_);
2180
+ return $ != null && $.includes("GroupContents") ? En(_) : yl(_);
2178
2181
  }), d = [];
2179
2182
  (a = u(i)) == null || a.forEach((_) => {
2180
2183
  var $, v, C, E, h;
@@ -2206,13 +2209,13 @@ const J = [
2206
2209
  let m = (s = u(d)) == null ? void 0 : s.map((_) => {
2207
2210
  var $;
2208
2211
  return _ != null && _.compData && (_.compData = ($ = _ == null ? void 0 : _.compData) == null ? void 0 : $.map((v) => {
2209
- var C, E, h, f, g, k, c, r, y, A, O;
2212
+ var C, E, h, f, g, k, c, o, y, A, O;
2210
2213
  if ((v == null ? void 0 : v.key) === "formFlex")
2211
2214
  v.contents = ((E = (C = v.contents) == null ? void 0 : C.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : E.toUpperCase()) !== "Vertical".toUpperCase();
2212
2215
  else if ((v == null ? void 0 : v.key) === "groupContents")
2213
- v.contents = (h = u(v.contents)) == null ? void 0 : h.map((P) => Dn(u(P)));
2214
- else if (((g = (f = v.contents) == null ? void 0 : f.trim()) != null && g.startsWith("[") || (c = (k = v.contents) == null ? void 0 : k.trim()) != null && c.startsWith("【")) && ((y = (r = v.contents) == null ? void 0 : r.trim()) != null && y.endsWith("]") || (O = (A = v.contents) == null ? void 0 : A.trim()) != null && O.endsWith("】")))
2215
- v.contents = Nn(u(v.contents));
2216
+ v.contents = (h = u(v.contents)) == null ? void 0 : h.map((P) => Nn(u(P)));
2217
+ else if (((g = (f = v.contents) == null ? void 0 : f.trim()) != null && g.startsWith("[") || (c = (k = v.contents) == null ? void 0 : k.trim()) != null && c.startsWith("【")) && ((y = (o = v.contents) == null ? void 0 : o.trim()) != null && y.endsWith("]") || (O = (A = v.contents) == null ? void 0 : A.trim()) != null && O.endsWith("】")))
2218
+ v.contents = Sn(u(v.contents));
2216
2219
  else {
2217
2220
  if (!v.contents) return;
2218
2221
  v.contents = ml(u(v.contents));
@@ -2220,13 +2223,13 @@ const J = [
2220
2223
  return v;
2221
2224
  })), _;
2222
2225
  });
2223
- return m = (o = u(m)) == null ? void 0 : o.map((_) => {
2226
+ return m = (r = u(m)) == null ? void 0 : r.map((_) => {
2224
2227
  var $;
2225
2228
  return (_ == null ? void 0 : _.comp) === "Group" && (_.compData = ($ = _.compData) == null ? void 0 : $.map((v) => {
2226
2229
  var E;
2227
2230
  let C = [];
2228
2231
  return (E = v.contents) == null || E.forEach((h) => {
2229
- var f, g, k, c, r, y, A, O, P, x, U, G;
2232
+ var f, g, k, c, o, y, A, O, P, x, U, G;
2230
2233
  if (J != null && J.find((T) => {
2231
2234
  var S, N, D;
2232
2235
  return ((S = T == null ? void 0 : T.key) == null ? void 0 : S.toUpperCase()) === ((D = (N = Object.keys(h)) == null ? void 0 : N[0]) == null ? void 0 : D.toUpperCase());
@@ -2245,10 +2248,10 @@ const J = [
2245
2248
  })) {
2246
2249
  if ((C == null ? void 0 : C.length) === 0) return;
2247
2250
  (c = C == null ? void 0 : C[(C == null ? void 0 : C.length) - 1]) != null && c.compData && C[(C == null ? void 0 : C.length) - 1].compData.push({
2248
- key: (r = F == null ? void 0 : F.find((T) => {
2251
+ key: (o = F == null ? void 0 : F.find((T) => {
2249
2252
  var S, N, D;
2250
2253
  return ((S = T == null ? void 0 : T.key) == null ? void 0 : S.toUpperCase()) === ((D = (N = Object.keys(h)) == null ? void 0 : N[0]) == null ? void 0 : D.toUpperCase());
2251
- })) == null ? void 0 : r.value,
2254
+ })) == null ? void 0 : o.value,
2252
2255
  contents: (y = Object.values(h)) == null ? void 0 : y[0]
2253
2256
  });
2254
2257
  } else if ((O = (A = Object.keys(h)) == null ? void 0 : A[0]) != null && O.includes("$")) {
@@ -2269,10 +2272,10 @@ const J = [
2269
2272
  } catch {
2270
2273
  return !1;
2271
2274
  }
2272
- }, zn = (e) => gl(e), Qn = (e) => !!gl(e), Sn = ll(xe), { itemData: Xn } = Te(Sn), Pn = Dl(xe), { systemKey: Yn, activeMenuPath: Vn } = Te(Pn), oe = L(0), ea = (e) => e.reduce((n, l) => {
2273
- var s, o;
2275
+ }, zn = (e) => gl(e), Qn = (e) => !!gl(e), Pn = ll(xe), { itemData: Xn } = Te(Pn), Bn = Nl(xe), { systemKey: Yn, activeMenuPath: Vn } = Te(Bn), oe = R(0), ea = (e) => e.reduce((n, l) => {
2276
+ var s, r;
2274
2277
  const a = Object.values(n);
2275
- return (((s = Object.keys(n)) == null ? void 0 : s.length) === 0 || a[a.length - 1].length >= (l == null ? void 0 : l.width)) && (n[oe.value] = [], oe.value++), n[oe.value - 1].push(l), ((o = Object.keys(n)) == null ? void 0 : o.length) === (l == null ? void 0 : l.width) && (n[oe.value] = [], oe.value++), n;
2278
+ return (((s = Object.keys(n)) == null ? void 0 : s.length) === 0 || a[a.length - 1].length >= (l == null ? void 0 : l.width)) && (n[oe.value] = [], oe.value++), n[oe.value - 1].push(l), ((r = Object.keys(n)) == null ? void 0 : r.length) === (l == null ? void 0 : l.width) && (n[oe.value] = [], oe.value++), n;
2276
2279
  }, {});
2277
2280
  export {
2278
2281
  ea as a,
@@ -2280,7 +2283,7 @@ export {
2280
2283
  qn as c,
2281
2284
  Kn as d,
2282
2285
  zn as e,
2283
- Gt as g,
2286
+ Mt as g,
2284
2287
  Qn as i,
2285
2288
  Wn as s
2286
2289
  };