ss-component-new 1.1.113 → 1.1.115

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 (53) hide show
  1. package/dist/{array-DyxKeexo.js → array-B1nKYchL.js} +269 -266
  2. package/dist/array-Bv_j-DQ6.cjs +7 -0
  3. package/dist/cloneDeep-BkHxCZQ6.cjs +1 -0
  4. package/dist/{cloneDeep-BfzU0pBe.js → cloneDeep-DDG2sYfV.js} +2 -8
  5. package/dist/{index-BTt24r3U.cjs → index-B2YxsOFS.cjs} +1 -1
  6. package/dist/{index-CVBCwf2F.cjs → index-B9CeiT-K.cjs} +1 -1
  7. package/dist/{index-COPrDtid.js → index-BDQh7_bN.js} +1 -1
  8. package/dist/index-BKH3emIo.js +400 -0
  9. package/dist/{index-CbphQpiC.cjs → index-BOMVVmWM.cjs} +1 -1
  10. package/dist/index-BZEbgud2.cjs +6 -0
  11. package/dist/index-BeUperzd.cjs +1 -0
  12. package/dist/index-BgZXex98.js +199 -0
  13. package/dist/{index-BH3F6_ql.js → index-BrXeR-w4.js} +1025 -1121
  14. package/dist/{index-DWiZqfBA.js → index-Bx4Vzo3K.js} +3 -3
  15. package/dist/{index-5dGTUAu_.cjs → index-ByH4hihL.cjs} +1 -1
  16. package/dist/{index-CyQkKXnK.js → index-C1474J4s.js} +2 -2
  17. package/dist/{index-DVEWSdUo.cjs → index-CfR4fhRH.cjs} +1 -1
  18. package/dist/index-CosMCnZD.js +456 -0
  19. package/dist/{index-CBHJLZo4.cjs → index-DGEVn6kJ.cjs} +1 -1
  20. package/dist/index-DHZKgJQ-.cjs +1 -0
  21. package/dist/{index-b_11tfuG.js → index-DbEFJXIu.js} +4 -4
  22. package/dist/{index-CdEEK8I0.js → index-DcJXJfJq.js} +68 -69
  23. package/dist/{index-B3iQoZwc.js → index-DmZPczSP.js} +3 -3
  24. package/dist/{index-QWm4yJ7u.js → index-FuXHUCO7.js} +2 -2
  25. package/dist/index-PctLLbfg.cjs +1 -0
  26. package/dist/{index-DxyREQkR.js → index-RTJn4TlV.js} +5 -5
  27. package/dist/{index-BpJeYb4X.js → index-RUWVqYLT.js} +1 -1
  28. package/dist/{index-ChXKNVG8.cjs → index-fstYT4Ji.cjs} +1 -1
  29. package/dist/{index-EQOXj03f.cjs → index-pKfoDOT3.cjs} +1 -1
  30. package/dist/{index-CqJa9o1o.cjs → index-tXx4uqsB.cjs} +1 -1
  31. package/dist/{index-B4WYIlOz.cjs → index-xFolZMqB.cjs} +1 -1
  32. package/dist/{index-DLartnmY.js → index-x_myaReY.js} +1 -1
  33. package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-CqiRIG3B.js → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-Bwb6U8rC.js} +22 -22
  34. package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-CgrtbAG0.cjs → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-CF3B2HoM.cjs} +1 -1
  35. package/dist/{main-DS-YP1Wn.cjs → main-BhZ-c5nF.cjs} +1 -1
  36. package/dist/{main-DAPxADXM.js → main-CaHX_enG.js} +4 -4
  37. package/dist/{request-BrHEv9dn.cjs → request-CNnOyEMG.cjs} +1 -1
  38. package/dist/{request-BK6KCyS9.js → request-_jH8DsLJ.js} +1 -1
  39. package/dist/ss-component.cjs +1 -1
  40. package/dist/ss-component.css +1 -1
  41. package/dist/ss-component.js +6 -6
  42. package/dist/ss-component2.cjs +1 -1
  43. package/dist/ss-component2.js +1 -1
  44. package/package.json +1 -1
  45. package/dist/array-BYRvPg11.cjs +0 -7
  46. package/dist/cloneDeep-WwDap0fL.cjs +0 -1
  47. package/dist/index-BIRKKGuW.cjs +0 -1
  48. package/dist/index-BUxzwz5l.cjs +0 -1
  49. package/dist/index-CumtOgAw.cjs +0 -7
  50. package/dist/index-DmoecEm1.js +0 -205
  51. package/dist/index-EIbm0jBZ.js +0 -2707
  52. package/dist/index-smYHb1Ta.js +0 -456
  53. package/dist/index-uMboxmjq.cjs +0 -6
@@ -1,12 +1,12 @@
1
- import { u as Ge, p as de, s as Le } from "./index-smYHb1Ta.js";
2
- import { ref as R, watch as q, createElementBlock as M, openBlock as Z, createVNode as W, resolveComponent as _e, createElementVNode as G, toDisplayString as z, withCtx as ee, createTextVNode as le, Fragment as $e, renderList as Ae, createCommentVNode as We, createBlock as ze, resolveDynamicComponent as Ze } from "vue";
3
- import { s as ye, f as Me, a as te } from "./index-B3iQoZwc.js";
1
+ import { u as Le, p as de, s as We } from "./index-CosMCnZD.js";
2
+ import { ref as R, watch as q, createElementBlock as M, openBlock as Z, createVNode as W, resolveComponent as _e, createElementVNode as G, toDisplayString as z, withCtx as ee, createTextVNode as le, Fragment as Ce, renderList as $e, createCommentVNode as ze, createBlock as Ze, resolveDynamicComponent as Me } from "vue";
3
+ import { s as ye, f as He, a as te } from "./index-DmZPczSP.js";
4
4
  import { _ as oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- import { c as r } from "./cloneDeep-BfzU0pBe.js";
6
- import { _ as He } from "./index.vue_vue_type_script_setup_true_lang-DQ2k4Z7D.js";
7
- import { s as xe, u as qe } from "./menu-BIINB-0Y.js";
8
- import "./request-BK6KCyS9.js";
9
- import { u as Qe } from "./modelComp-CHWFvhCq.js";
5
+ import { c as r } from "./cloneDeep-DDG2sYfV.js";
6
+ import { _ as qe } from "./index.vue_vue_type_script_setup_true_lang-DQ2k4Z7D.js";
7
+ import { s as xe, u as Qe } from "./menu-BIINB-0Y.js";
8
+ import "./request-_jH8DsLJ.js";
9
+ import { u as Xe } from "./modelComp-CHWFvhCq.js";
10
10
  const ne = [
11
11
  {
12
12
  key: "单选",
@@ -24,7 +24,7 @@ const ne = [
24
24
  key: "上传",
25
25
  value: "Upload"
26
26
  }
27
- ], Xe = { class: "form-content" }, Ye = {
27
+ ], Ye = { class: "form-content" }, we = {
28
28
  __name: "index",
29
29
  props: {
30
30
  itemData: {
@@ -39,11 +39,11 @@ const ne = [
39
39
  },
40
40
  emits: ["change", "contentChange"],
41
41
  setup(t, { emit: s }) {
42
- const l = t, e = s, n = R([]), a = R(!1), o = R([]), y = Ge(de), O = R(), b = (d) => {
43
- var u, c, p, g;
44
- const $ = (c = (u = r(l.itemData)) == null ? void 0 : u.find((i) => (i == null ? void 0 : i.key) === "formContent")) == null ? void 0 : c.contents, x = r(d.content);
42
+ const l = t, e = s, n = R([]), a = R(!1), o = R([]), y = Le(de), O = R(), b = (d) => {
43
+ var p, c, u, C;
44
+ const $ = (c = (p = r(l.itemData)) == null ? void 0 : p.find((i) => (i == null ? void 0 : i.key) === "formContent")) == null ? void 0 : c.contents, x = r(d.content);
45
45
  let k = {};
46
- x && ((p = Object.values(x)) == null ? void 0 : p.length) > 0 && ((g = Object.values(x)) == null || g.forEach((i, f) => {
46
+ x && ((u = Object.values(x)) == null ? void 0 : u.length) > 0 && ((C = Object.values(x)) == null || C.forEach((i, f) => {
47
47
  k[$[f].key] = i;
48
48
  }));
49
49
  const S = {
@@ -52,28 +52,28 @@ const ne = [
52
52
  buttonName: d == null ? void 0 : d.buttonName
53
53
  };
54
54
  e("change", S);
55
- }, C = (d) => {
55
+ }, g = (d) => {
56
56
  var k, S;
57
57
  if (!d) return;
58
58
  if (((k = Object.values(r(d))) == null ? void 0 : k.length) > 0) {
59
- const u = (S = Object.values(r(d))) == null ? void 0 : S.map((p) => p);
59
+ const p = (S = Object.values(r(d))) == null ? void 0 : S.map((u) => u);
60
60
  let c = "";
61
- u == null || u.forEach((p) => {
62
- p !== "" && p !== void 0 && (c = c === "" ? p : c + "/" + p);
63
- }), y.setSelectArray(u), y.setSelectString(c);
61
+ p == null || p.forEach((u) => {
62
+ u !== "" && u !== void 0 && (c = c === "" ? u : c + "/" + u);
63
+ }), y.setSelectArray(p), y.setSelectString(c);
64
64
  }
65
- const $ = r(l.itemData), x = $ == null ? void 0 : $.map((u) => {
65
+ const $ = r(l.itemData), x = $ == null ? void 0 : $.map((p) => {
66
66
  var c;
67
- return (u == null ? void 0 : u.key) === "formContent" && ((c = u.contents) == null || c.map((p, g) => {
67
+ return (p == null ? void 0 : p.key) === "formContent" && ((c = p.contents) == null || c.map((u, C) => {
68
68
  var i, f, h, A, T, D, _, j, E, F, U, v, N, m;
69
- return p.type = p != null && p.type ? p.type : (h = (f = (i = p == null ? void 0 : p.key.split("$")) == null ? void 0 : i[1]) == null ? void 0 : f.split("(")) != null && h[0] ? (A = ne == null ? void 0 : ne.find((P) => {
69
+ return u.type = u != null && u.type ? u.type : (h = (f = (i = u == null ? void 0 : u.key.split("$")) == null ? void 0 : i[1]) == null ? void 0 : f.split("(")) != null && h[0] ? (A = ne == null ? void 0 : ne.find((P) => {
70
70
  var L, K, V;
71
- return (P == null ? void 0 : P.key) === ((V = (K = (L = p == null ? void 0 : p.key.split("$")) == null ? void 0 : L[1]) == null ? void 0 : K.split("(")) == null ? void 0 : V[0]);
72
- })) == null ? void 0 : A.value : "Input", p.options = p != null && p.options ? p.options : ((D = (T = p == null ? void 0 : p.key.split("$")) == null ? void 0 : T[1]) == null ? void 0 : D.length) > 0 ? (E = (j = Me((_ = p == null ? void 0 : p.key.split("$")) == null ? void 0 : _[1])) == null ? void 0 : j.split(",")) == null ? void 0 : E.map((P) => ({
71
+ return (P == null ? void 0 : P.key) === ((V = (K = (L = u == null ? void 0 : u.key.split("$")) == null ? void 0 : L[1]) == null ? void 0 : K.split("(")) == null ? void 0 : V[0]);
72
+ })) == null ? void 0 : A.value : "Input", u.options = u != null && u.options ? u.options : ((D = (T = u == null ? void 0 : u.key.split("$")) == null ? void 0 : T[1]) == null ? void 0 : D.length) > 0 ? (E = (j = He((_ = u == null ? void 0 : u.key.split("$")) == null ? void 0 : _[1])) == null ? void 0 : j.split(",")) == null ? void 0 : E.map((P) => ({
73
73
  label: P,
74
74
  value: P
75
- })) : [], p != null && p.key.includes("$") && (p.key = (F = p == null ? void 0 : p.key.split("$")) == null ? void 0 : F[0]), p.value = p != null && p.value ? p.value : Array.isArray((U = Object.values(d)) == null ? void 0 : U[g]) ? (N = (v = Object.values(d)) == null ? void 0 : v[g]) == null ? void 0 : N[0] : (m = Object.values(d)) == null ? void 0 : m[g], p;
76
- })), u;
75
+ })) : [], u != null && u.key.includes("$") && (u.key = (F = u == null ? void 0 : u.key.split("$")) == null ? void 0 : F[0]), u.value = u != null && u.value ? u.value : Array.isArray((U = Object.values(d)) == null ? void 0 : U[C]) ? (N = (v = Object.values(d)) == null ? void 0 : v[C]) == null ? void 0 : N[0] : (m = Object.values(d)) == null ? void 0 : m[C], u;
76
+ })), p;
77
77
  });
78
78
  e("contentChange", {
79
79
  contents: x,
@@ -83,26 +83,26 @@ const ne = [
83
83
  return q(
84
84
  () => l.itemData,
85
85
  () => {
86
- var S, u, c, p, g, i, f, h, A, T;
87
- const d = (S = r(l.itemData)) == null ? void 0 : S.find((D) => (D == null ? void 0 : D.key) === "formContent"), $ = (u = r(l.itemData)) == null ? void 0 : u.find((D) => (D == null ? void 0 : D.key) === "formButton"), x = (c = r(l.itemData)) == null ? void 0 : c.find((D) => (D == null ? void 0 : D.key) === "formFlex"), k = (p = r(l.itemData)) == null ? void 0 : p.find((D) => (D == null ? void 0 : D.key) === "formWrap");
88
- if ((k == null ? void 0 : k.contents) === "纵向" ? a.value = !1 : a.value = !0, O.value = typeof (x == null ? void 0 : x.contents) != "boolean" ? !(!(x != null && x.contents) === "" || ((g = x == null ? void 0 : x.contents) == null ? void 0 : g.toUpperCase()) === "VERTICAL") : x == null ? void 0 : x.contents, ((i = d == null ? void 0 : d.contents) == null ? void 0 : i.length) > 0 && Array.isArray(d == null ? void 0 : d.contents)) {
86
+ var S, p, c, u, C, i, f, h, A, T;
87
+ const d = (S = r(l.itemData)) == null ? void 0 : S.find((D) => (D == null ? void 0 : D.key) === "formContent"), $ = (p = r(l.itemData)) == null ? void 0 : p.find((D) => (D == null ? void 0 : D.key) === "formButton"), x = (c = r(l.itemData)) == null ? void 0 : c.find((D) => (D == null ? void 0 : D.key) === "formFlex"), k = (u = r(l.itemData)) == null ? void 0 : u.find((D) => (D == null ? void 0 : D.key) === "formWrap");
88
+ if ((k == null ? void 0 : k.contents) === "纵向" ? a.value = !1 : a.value = !0, O.value = typeof (x == null ? void 0 : x.contents) != "boolean" ? !(!(x != null && x.contents) === "" || ((C = x == null ? void 0 : x.contents) == null ? void 0 : C.toUpperCase()) === "VERTICAL") : x == null ? void 0 : x.contents, ((i = d == null ? void 0 : d.contents) == null ? void 0 : i.length) > 0 && Array.isArray(d == null ? void 0 : d.contents)) {
89
89
  const D = [];
90
90
  (f = d == null ? void 0 : d.contents) == null || f.forEach((E, F) => {
91
- var U, v, N, m, P, L, K, V, ge;
91
+ var U, v, N, m, P, L, K, V, ke;
92
92
  if ((E == null ? void 0 : E.label) !== "") {
93
- let Ce = (E == null ? void 0 : E.key) ?? "", ce = (E == null ? void 0 : E.type) ?? "", H = (E == null ? void 0 : E.options) ?? [];
94
- if (E != null && E.key.includes("$") && (Ce = (U = r(E == null ? void 0 : E.key).split("$")) == null ? void 0 : U[0], ((N = (v = r(E == null ? void 0 : E.key).split("$")) == null ? void 0 : v[1]) == null ? void 0 : N.length) > 0)) {
95
- const [Re, Q] = (P = (m = r(E == null ? void 0 : E.key).split("$")) == null ? void 0 : m[1]) == null ? void 0 : P.split(/[()]/);
96
- ce = ((L = ne.find((X) => (X == null ? void 0 : X.key) === Re)) == null ? void 0 : L.value) ?? "", ((K = Q == null ? void 0 : Q.split(",")) == null ? void 0 : K.length) > 0 && (H = (V = Q == null ? void 0 : Q.split(",")) == null ? void 0 : V.map((X) => ({
93
+ let ge = (E == null ? void 0 : E.key) ?? "", ce = (E == null ? void 0 : E.type) ?? "", H = (E == null ? void 0 : E.options) ?? [];
94
+ if (E != null && E.key.includes("$") && (ge = (U = r(E == null ? void 0 : E.key).split("$")) == null ? void 0 : U[0], ((N = (v = r(E == null ? void 0 : E.key).split("$")) == null ? void 0 : v[1]) == null ? void 0 : N.length) > 0)) {
95
+ const [Ge, Q] = (P = (m = r(E == null ? void 0 : E.key).split("$")) == null ? void 0 : m[1]) == null ? void 0 : P.split(/[()]/);
96
+ ce = ((L = ne.find((X) => (X == null ? void 0 : X.key) === Ge)) == null ? void 0 : L.value) ?? "", ((K = Q == null ? void 0 : Q.split(",")) == null ? void 0 : K.length) > 0 && (H = (V = Q == null ? void 0 : Q.split(",")) == null ? void 0 : V.map((X) => ({
97
97
  label: X,
98
98
  value: X
99
99
  })));
100
100
  }
101
101
  D.push({
102
- label: Ce ?? "",
102
+ label: ge ?? "",
103
103
  name: "t" + F,
104
104
  type: ce === "" ? "Input" : ce,
105
- value: E != null && E.value ? E.value : (H == null ? void 0 : H.length) > 0 ? (ge = H == null ? void 0 : H[0]) == null ? void 0 : ge.value : (E == null ? void 0 : E.value) ?? "",
105
+ value: E != null && E.value ? E.value : (H == null ? void 0 : H.length) > 0 ? (ke = H == null ? void 0 : H[0]) == null ? void 0 : ke.value : (E == null ? void 0 : E.value) ?? "",
106
106
  id: (E == null ? void 0 : E.id) ?? F,
107
107
  contents: H ?? [],
108
108
  width: (E == null ? void 0 : E.width) ?? 1
@@ -130,19 +130,19 @@ const ne = [
130
130
  o.value = [];
131
131
  },
132
132
  { deep: !0, immediate: !0 }
133
- ), (d, $) => (Z(), M("div", Xe, [
133
+ ), (d, $) => (Z(), M("div", Ye, [
134
134
  W(ye, {
135
135
  rowContents: n.value,
136
136
  buttonValue: o.value,
137
137
  isRowFlex: O.value,
138
138
  isEnableWrap: !1,
139
139
  onOnButtonClick: b,
140
- onChange: C,
140
+ onChange: g,
141
141
  isButtonRow: a.value
142
142
  }, null, 8, ["rowContents", "buttonValue", "isRowFlex", "isButtonRow"])
143
143
  ]));
144
144
  }
145
- }, we = /* @__PURE__ */ oe(Ye, [["__scopeId", "data-v-156885e4"]]), Ke = { class: "table-operate-content" }, Ve = { class: "table-operate-item" }, Ie = { class: "operate-title" }, el = { class: "operate-content" }, ll = { class: "operate-title" }, tl = { class: "operate-content" }, nl = { class: "operate-title" }, sl = { class: "operate-content" }, al = { class: "operate-content" }, rl = {
145
+ }, Ke = /* @__PURE__ */ oe(we, [["__scopeId", "data-v-156885e4"]]), Ve = { class: "table-operate-content" }, Ie = { class: "table-operate-item" }, el = { class: "operate-title" }, ll = { class: "operate-content" }, tl = { class: "operate-title" }, nl = { class: "operate-content" }, sl = { class: "operate-title" }, al = { class: "operate-content" }, rl = { class: "operate-content" }, ol = {
146
146
  __name: "operate",
147
147
  props: {
148
148
  itemContents: {
@@ -192,7 +192,7 @@ const ne = [
192
192
  prop: "operate",
193
193
  type: "operate",
194
194
  sortable: !1
195
- }]), b = R([]), C = R(0), d = R([{
195
+ }]), b = R([]), g = R(0), d = R([{
196
196
  name: "isPagination",
197
197
  label: "是否显示分页",
198
198
  type: "Switch",
@@ -346,8 +346,8 @@ const ne = [
346
346
  isNotDrag: !1,
347
347
  isEditCol: !1,
348
348
  isOperate: !1,
349
- id: C.value
350
- }), a.value = i, C.value++;
349
+ id: g.value
350
+ }), a.value = i, g.value++;
351
351
  const h = f == null ? void 0 : f.find((A) => (A == null ? void 0 : A.key) === "header");
352
352
  h != null && h.contents ? (h.contents = i, f = f == null ? void 0 : f.map((A) => ((A == null ? void 0 : A.key) === "header" && (A.contents = i), A))) : f.push({
353
353
  key: "header",
@@ -360,22 +360,22 @@ const ne = [
360
360
  label: "",
361
361
  type: "",
362
362
  textColor: "#000000",
363
- id: C.value
364
- }), o.value = i, C.value++;
363
+ id: g.value
364
+ }), o.value = i, g.value++;
365
365
  const h = f == null ? void 0 : f.find((A) => (A == null ? void 0 : A.key) === "rowButton");
366
366
  h != null && h.contents ? (h.contents = i, f = f == null ? void 0 : f.map((A) => ((A == null ? void 0 : A.key) === "rowButton" && (A.contents = i), A))) : f.push({
367
367
  key: "rowButton",
368
368
  contents: i
369
369
  }), n.value = f;
370
- }, u = () => {
370
+ }, p = () => {
371
371
  const i = r(b.value);
372
372
  let f = r(n.value);
373
373
  i.push({
374
374
  label: "",
375
375
  type: "",
376
376
  background: "#FFFFFF",
377
- id: C.value
378
- }), b.value = i, C.value++;
377
+ id: g.value
378
+ }), b.value = i, g.value++;
379
379
  const h = f == null ? void 0 : f.find((A) => (A == null ? void 0 : A.key) === "extraButton");
380
380
  h != null && h.contents ? (h.contents = i, f = f == null ? void 0 : f.map((A) => ((A == null ? void 0 : A.key) === "extraButton" && (A.contents = i), A))) : f.push({
381
381
  key: "extraButton",
@@ -387,13 +387,13 @@ const ne = [
387
387
  o.value = f.filter((T) => T.id !== i.id);
388
388
  const A = h == null ? void 0 : h.find((T) => T.key === "rowButton");
389
389
  A != null && A.contents && (h = h == null ? void 0 : h.map((T) => ((T == null ? void 0 : T.key) === "rowButton" && (T.contents = f.filter((D) => D.id !== i.id)), T))), n.value = h;
390
- }, p = (i) => {
390
+ }, u = (i) => {
391
391
  const f = r(b.value);
392
392
  let h = r(n.value);
393
393
  b.value = f.filter((T) => T.id !== i.id);
394
394
  const A = h == null ? void 0 : h.find((T) => T.key === "extraButton");
395
395
  A != null && A.contents && (h = h == null ? void 0 : h.map((T) => ((T == null ? void 0 : T.key) === "extraButton" && (T.contents = f.filter((D) => D.id !== i.id)), T))), n.value = h;
396
- }, g = (i) => {
396
+ }, C = (i) => {
397
397
  const f = r(a.value);
398
398
  let h = r(n.value);
399
399
  a.value = f.filter((T) => T.id !== i.id);
@@ -413,9 +413,9 @@ const ne = [
413
413
  { deep: !0, immediate: !0 }
414
414
  ), (i, f) => {
415
415
  const h = _e("el-button");
416
- return Z(), M("div", Ke, [
417
- G("div", Ve, [
418
- G("div", Ie, [
416
+ return Z(), M("div", Ve, [
417
+ G("div", Ie, [
418
+ G("div", el, [
419
419
  f[1] || (f[1] = G("div", null, z("表头"), -1)),
420
420
  W(h, {
421
421
  class: "blue-operate-button",
@@ -429,17 +429,17 @@ const ne = [
429
429
  __: [0]
430
430
  })
431
431
  ]),
432
- G("div", el, [
432
+ G("div", ll, [
433
433
  W(te, {
434
434
  columns: $,
435
435
  isShowPagination: !1,
436
436
  isShowEdit: !1,
437
437
  isMoveColumn: !1,
438
438
  tableData: a.value,
439
- onDeleteRow: g
439
+ onDeleteRow: C
440
440
  }, null, 8, ["tableData"])
441
441
  ]),
442
- G("div", ll, [
442
+ G("div", tl, [
443
443
  f[3] || (f[3] = G("div", null, z("行内按钮"), -1)),
444
444
  W(h, {
445
445
  class: "blue-operate-button",
@@ -453,7 +453,7 @@ const ne = [
453
453
  __: [2]
454
454
  })
455
455
  ]),
456
- G("div", tl, [
456
+ G("div", nl, [
457
457
  W(te, {
458
458
  columns: O.value,
459
459
  isShowPagination: !1,
@@ -463,12 +463,12 @@ const ne = [
463
463
  onDeleteRow: c
464
464
  }, null, 8, ["columns", "tableData"])
465
465
  ]),
466
- G("div", nl, [
466
+ G("div", sl, [
467
467
  f[5] || (f[5] = G("div", null, z("表格外部按钮"), -1)),
468
468
  W(h, {
469
469
  class: "blue-operate-button",
470
470
  icon: "ele-Plus",
471
- onClick: u
471
+ onClick: p
472
472
  }, {
473
473
  default: ee(() => f[4] || (f[4] = [
474
474
  le(z("新建"))
@@ -477,20 +477,20 @@ const ne = [
477
477
  __: [4]
478
478
  })
479
479
  ]),
480
- G("div", sl, [
480
+ G("div", al, [
481
481
  W(te, {
482
482
  columns: y.value,
483
483
  isShowPagination: !1,
484
484
  isShowEdit: !1,
485
485
  isMoveColumn: !1,
486
486
  tableData: b.value,
487
- onDeleteRow: p
487
+ onDeleteRow: u
488
488
  }, null, 8, ["columns", "tableData"])
489
489
  ]),
490
490
  f[6] || (f[6] = G("div", { class: "operate-title" }, [
491
491
  G("div", null, z("分页"))
492
492
  ], -1)),
493
- G("div", al, [
493
+ G("div", rl, [
494
494
  W(ye, {
495
495
  rowContents: d.value,
496
496
  onChange: x
@@ -500,7 +500,7 @@ const ne = [
500
500
  ]);
501
501
  };
502
502
  }
503
- }, ol = /* @__PURE__ */ oe(rl, [["__scopeId", "data-v-877911eb"]]), cl = { class: "form-operate-content" }, pl = { class: "form-operate-item" }, ul = { class: "operate-title" }, il = { class: "operate-content" }, fl = { class: "operate-title" }, dl = { class: "operate-content" }, yl = { class: "operate-content" }, hl = {
503
+ }, cl = /* @__PURE__ */ oe(ol, [["__scopeId", "data-v-877911eb"]]), pl = { class: "form-operate-content" }, ul = { class: "form-operate-item" }, il = { class: "operate-title" }, fl = { class: "operate-content" }, dl = { class: "operate-title" }, yl = { class: "operate-content" }, hl = { class: "operate-content" }, ml = {
504
504
  __name: "operate",
505
505
  props: {
506
506
  itemContents: {
@@ -558,12 +558,12 @@ const ne = [
558
558
  prop: "operate",
559
559
  type: "operate",
560
560
  sortable: !1
561
- }]), y = R([]), O = R([]), b = R([]), C = R(0);
561
+ }]), y = R([]), O = R([]), b = R([]), g = R(0);
562
562
  q(
563
563
  () => l.originalItemContents,
564
564
  () => {
565
- var u, c, p, g, i, f, h, A, T, D;
566
- !l.originalItemContents || l.originalItemContents.length === 0 || (O.value = r(l.originalItemContents), b.value = (c = (u = O.value) == null ? void 0 : u.find((_) => (_ == null ? void 0 : _.key) === "formContent")) == null ? void 0 : c.contents, y.value = (g = (p = O.value) == null ? void 0 : p.find((_) => (_ == null ? void 0 : _.key) === "formButton")) == null ? void 0 : g.contents, b.value = (i = b.value) == null ? void 0 : i.map((_, j) => _ = {
565
+ var p, c, u, C, i, f, h, A, T, D;
566
+ !l.originalItemContents || l.originalItemContents.length === 0 || (O.value = r(l.originalItemContents), b.value = (c = (p = O.value) == null ? void 0 : p.find((_) => (_ == null ? void 0 : _.key) === "formContent")) == null ? void 0 : c.contents, y.value = (C = (u = O.value) == null ? void 0 : u.find((_) => (_ == null ? void 0 : _.key) === "formButton")) == null ? void 0 : C.contents, b.value = (i = b.value) == null ? void 0 : i.map((_, j) => _ = {
567
567
  label: (_ == null ? void 0 : _.label) ?? "",
568
568
  type: (_ == null ? void 0 : _.type) ?? "",
569
569
  key: (_ == null ? void 0 : _.key) ?? "",
@@ -589,72 +589,72 @@ const ne = [
589
589
  { deep: !0, immediate: !0 }
590
590
  );
591
591
  const d = () => {
592
- const u = r(y.value);
592
+ const p = r(y.value);
593
593
  let c = r(O.value);
594
- u.push({
594
+ p.push({
595
595
  label: "",
596
596
  type: "",
597
597
  background: "#000000",
598
- id: C.value
599
- }), y.value = u, C.value++;
600
- const p = c == null ? void 0 : c.find((g) => (g == null ? void 0 : g.key) === "formButton");
601
- p != null && p.contents ? (p.contents = u, c = c == null ? void 0 : c.map((g) => ((g == null ? void 0 : g.key) === "formButton" && (g.contents = u), g))) : c.push({
598
+ id: g.value
599
+ }), y.value = p, g.value++;
600
+ const u = c == null ? void 0 : c.find((C) => (C == null ? void 0 : C.key) === "formButton");
601
+ u != null && u.contents ? (u.contents = p, c = c == null ? void 0 : c.map((C) => ((C == null ? void 0 : C.key) === "formButton" && (C.contents = p), C))) : c.push({
602
602
  key: "formButton",
603
- contents: u
603
+ contents: p
604
604
  }), O.value = c;
605
605
  }, $ = () => {
606
- const u = r(b.value);
606
+ const p = r(b.value);
607
607
  let c = r(O.value);
608
- u.push({
608
+ p.push({
609
609
  label: "",
610
610
  type: "",
611
611
  key: "",
612
612
  options: "",
613
- id: C.value
614
- }), b.value = u, C.value++;
615
- const p = c == null ? void 0 : c.find((g) => (g == null ? void 0 : g.key) === "formContent");
616
- p != null && p.contents ? (p.contents = u, c = c == null ? void 0 : c.map((g) => ((g == null ? void 0 : g.key) === "formContent" && (g.contents = u), g))) : c.push({
613
+ id: g.value
614
+ }), b.value = p, g.value++;
615
+ const u = c == null ? void 0 : c.find((C) => (C == null ? void 0 : C.key) === "formContent");
616
+ u != null && u.contents ? (u.contents = p, c = c == null ? void 0 : c.map((C) => ((C == null ? void 0 : C.key) === "formContent" && (C.contents = p), C))) : c.push({
617
617
  key: "formContent",
618
- contents: u
618
+ contents: p
619
619
  }), O.value = c;
620
- }, x = (u) => {
620
+ }, x = (p) => {
621
621
  const c = r(y.value);
622
- let p = r(O.value);
623
- y.value = c.filter((i) => i.id !== u.id);
624
- const g = p == null ? void 0 : p.find((i) => i.key === "formButton");
625
- g != null && g.contents && (p = p == null ? void 0 : p.map((i) => ((i == null ? void 0 : i.key) === "formButton" && (i.contents = c.filter((f) => f.id !== u.id)), i))), O.value = p;
626
- }, k = (u) => {
622
+ let u = r(O.value);
623
+ y.value = c.filter((i) => i.id !== p.id);
624
+ const C = u == null ? void 0 : u.find((i) => i.key === "formButton");
625
+ C != null && C.contents && (u = u == null ? void 0 : u.map((i) => ((i == null ? void 0 : i.key) === "formButton" && (i.contents = c.filter((f) => f.id !== p.id)), i))), O.value = u;
626
+ }, k = (p) => {
627
627
  const c = r(b.value);
628
- let p = r(O.value);
629
- b.value = c.filter((i) => i.id !== u.id);
630
- const g = p == null ? void 0 : p.find((i) => i.key === "formContent");
631
- g != null && g.contents && (p = p == null ? void 0 : p.map((i) => ((i == null ? void 0 : i.key) === "formContent" && (i.contents = c.filter((f) => f.id !== u.id)), i))), O.value = p;
632
- }, S = (u) => {
628
+ let u = r(O.value);
629
+ b.value = c.filter((i) => i.id !== p.id);
630
+ const C = u == null ? void 0 : u.find((i) => i.key === "formContent");
631
+ C != null && C.contents && (u = u == null ? void 0 : u.map((i) => ((i == null ? void 0 : i.key) === "formContent" && (i.contents = c.filter((f) => f.id !== p.id)), i))), O.value = u;
632
+ }, S = (p) => {
633
633
  let c = r(O.value);
634
- const p = c == null ? void 0 : c.find((g) => g.key === "formFlex");
635
- (p == null ? void 0 : p.contents) !== void 0 ? c = c == null ? void 0 : c.map((g) => ((g == null ? void 0 : g.key) === "formFlex" && (g.contents = u == null ? void 0 : u.isRowFlex), g)) : c.push({
634
+ const u = c == null ? void 0 : c.find((C) => C.key === "formFlex");
635
+ (u == null ? void 0 : u.contents) !== void 0 ? c = c == null ? void 0 : c.map((C) => ((C == null ? void 0 : C.key) === "formFlex" && (C.contents = p == null ? void 0 : p.isRowFlex), C)) : c.push({
636
636
  key: "formFlex",
637
- contents: u == null ? void 0 : u.isRowFlex
637
+ contents: p == null ? void 0 : p.isRowFlex
638
638
  }), O.value = c;
639
639
  };
640
640
  return q(
641
641
  () => [O.value, b.value],
642
642
  () => {
643
- let u = r(O.value);
644
- const c = u == null ? void 0 : u.find((p) => (p == null ? void 0 : p.key) === "formContent");
645
- c != null && c.contents ? (c.contents = b.value, u = u == null ? void 0 : u.map((p) => ((p == null ? void 0 : p.key) === "formContent" && (p.contents = b.value), p))) : u.push({
643
+ let p = r(O.value);
644
+ const c = p == null ? void 0 : p.find((u) => (u == null ? void 0 : u.key) === "formContent");
645
+ c != null && c.contents ? (c.contents = b.value, p = p == null ? void 0 : p.map((u) => ((u == null ? void 0 : u.key) === "formContent" && (u.contents = b.value), u))) : p.push({
646
646
  key: "formContent",
647
647
  contents: b.value
648
- }), e("change", u);
648
+ }), e("change", p);
649
649
  },
650
650
  { deep: !0, immediate: !0 }
651
- ), (u, c) => {
652
- const p = _e("el-button");
653
- return Z(), M("div", cl, [
654
- G("div", pl, [
655
- G("div", ul, [
651
+ ), (p, c) => {
652
+ const u = _e("el-button");
653
+ return Z(), M("div", pl, [
654
+ G("div", ul, [
655
+ G("div", il, [
656
656
  c[1] || (c[1] = G("div", null, z("表单信息"), -1)),
657
- W(p, {
657
+ W(u, {
658
658
  class: "blue-operate-button",
659
659
  icon: "ele-Plus",
660
660
  onClick: $
@@ -666,7 +666,7 @@ const ne = [
666
666
  __: [0]
667
667
  })
668
668
  ]),
669
- G("div", il, [
669
+ G("div", fl, [
670
670
  W(te, {
671
671
  columns: a.value,
672
672
  isShowPagination: !1,
@@ -676,9 +676,9 @@ const ne = [
676
676
  onDeleteRow: k
677
677
  }, null, 8, ["columns", "tableData"])
678
678
  ]),
679
- G("div", fl, [
679
+ G("div", dl, [
680
680
  c[3] || (c[3] = G("div", null, z("表单按钮"), -1)),
681
- W(p, {
681
+ W(u, {
682
682
  class: "blue-operate-button",
683
683
  icon: "ele-Plus",
684
684
  onClick: d
@@ -690,7 +690,7 @@ const ne = [
690
690
  __: [2]
691
691
  })
692
692
  ]),
693
- G("div", dl, [
693
+ G("div", yl, [
694
694
  W(te, {
695
695
  columns: o.value,
696
696
  isShowPagination: !1,
@@ -703,7 +703,7 @@ const ne = [
703
703
  c[4] || (c[4] = G("div", { class: "operate-title" }, [
704
704
  G("div", null, z("表单布局"))
705
705
  ], -1)),
706
- G("div", yl, [
706
+ G("div", hl, [
707
707
  W(ye, {
708
708
  rowContents: n.value,
709
709
  onChange: S
@@ -713,10 +713,10 @@ const ne = [
713
713
  ]);
714
714
  };
715
715
  }
716
- }, ml = /* @__PURE__ */ oe(hl, [["__scopeId", "data-v-a36b8468"]]), bl = { class: "extra-content" }, kl = { key: 0 }, gl = {
716
+ }, bl = /* @__PURE__ */ oe(ml, [["__scopeId", "data-v-a36b8468"]]), kl = { class: "extra-content" }, gl = { key: 0 }, Cl = {
717
717
  key: 0,
718
718
  class: "extra-button-item"
719
- }, Cl = { key: 1 }, $l = {
719
+ }, $l = { key: 1 }, Al = {
720
720
  __name: "index",
721
721
  props: {
722
722
  itemData: {
@@ -746,8 +746,8 @@ const ne = [
746
746
  if (o.key === "extra") {
747
747
  let O = [];
748
748
  (y = o.value) == null || y.forEach((b) => {
749
- var C;
750
- O.push((C = Object.values(b)) == null ? void 0 : C[0]);
749
+ var g;
750
+ O.push((g = Object.values(b)) == null ? void 0 : g[0]);
751
751
  }), o.value = O;
752
752
  }
753
753
  return o;
@@ -755,18 +755,18 @@ const ne = [
755
755
  },
756
756
  { deep: !0, immediate: !0 }
757
757
  );
758
- const e = (n) => _l(n);
759
- return (n, a) => (Z(), M("div", bl, [
760
- (Z(!0), M($e, null, Ae(l.value, (o, y) => (Z(), M("div", { key: y }, [
761
- (o == null ? void 0 : o.key) === "extra" ? (Z(), M("div", kl, [
762
- (Z(!0), M($e, null, Ae(o.value, (O, b) => (Z(), M("div", {
758
+ const e = (n) => xl(n);
759
+ return (n, a) => (Z(), M("div", kl, [
760
+ (Z(!0), M(Ce, null, $e(l.value, (o, y) => (Z(), M("div", { key: y }, [
761
+ (o == null ? void 0 : o.key) === "extra" ? (Z(), M("div", gl, [
762
+ (Z(!0), M(Ce, null, $e(o.value, (O, b) => (Z(), M("div", {
763
763
  key: b,
764
764
  class: "extra-button"
765
765
  }, [
766
- O ? (Z(), M("div", gl, z(O), 1)) : We("", !0)
766
+ O ? (Z(), M("div", Cl, z(O), 1)) : ze("", !0)
767
767
  ]))), 128))
768
- ])) : (Z(), M("div", Cl, [
769
- (Z(), ze(Ze(e(o.comp)), {
768
+ ])) : (Z(), M("div", $l, [
769
+ (Z(), Ze(Me(e(o.comp)), {
770
770
  itemData: o == null ? void 0 : o.compData,
771
771
  childItemData: o == null ? void 0 : o.itemChildData,
772
772
  key: y,
@@ -776,7 +776,7 @@ const ne = [
776
776
  ]))), 128))
777
777
  ]));
778
778
  }
779
- }, Al = /* @__PURE__ */ oe($l, [["__scopeId", "data-v-9a96eb90"]]), kt = R([
779
+ }, Ol = /* @__PURE__ */ oe(Al, [["__scopeId", "data-v-9a96eb90"]]), kt = R([
780
780
  {
781
781
  name: "表格",
782
782
  type: "table",
@@ -795,17 +795,17 @@ const ne = [
795
795
  comp: "Fold",
796
796
  icon: "Fold"
797
797
  }
798
- ]), Ol = {
799
- TABLE: Le,
800
- FORM: we,
801
- TableOperate: ol,
802
- FormOperate: ml,
803
- FOLD: He,
804
- CALCULATOR: Al
798
+ ]), _l = {
799
+ TABLE: We,
800
+ FORM: Ke,
801
+ TableOperate: cl,
802
+ FormOperate: bl,
803
+ FOLD: qe,
804
+ CALCULATOR: Ol
805
805
  // 添加其他组件...
806
806
  };
807
- function _l(t) {
808
- return Ol[t == null ? void 0 : t.toUpperCase()] || null;
807
+ function xl(t) {
808
+ return _l[t == null ? void 0 : t.toUpperCase()] || null;
809
809
  }
810
810
  const J = [
811
811
  {
@@ -873,7 +873,7 @@ const J = [
873
873
  key: "GroupContents",
874
874
  value: "groupContents"
875
875
  }
876
- ], w = R(0), xl = (t) => {
876
+ ], w = R(0), Tl = (t) => {
877
877
  const [s, l] = t.split(/=(.+)/), e = s.replace(/['"]/g, "").trim(), n = l.replace(/^['"]|['"]$/g, "");
878
878
  return { key: e, value: n };
879
879
  }, ae = (t) => {
@@ -882,29 +882,29 @@ const J = [
882
882
  } catch {
883
883
  return !1;
884
884
  }
885
- }, Tl = (t) => t.includes("$") && t.trim().endsWith("(") ? t + ")" : t, El = (t) => {
885
+ }, El = (t) => t.includes("$") && t.trim().endsWith("(") ? t + ")" : t, Dl = (t) => {
886
886
  let s = t;
887
887
  const l = [];
888
888
  let e = "";
889
889
  for (const n of s)
890
890
  n.includes("{") || e.includes("{") || n.includes("[") || e.includes("[") || n.includes("【") || e.includes("【") || n.includes("(") || e.includes("(") || n.includes("(") || e.includes("(") || n.includes("/*") || e.includes("/*") ? (e += n.trim(), r(e).split("{").length - 1 === r(e).split("}").length - 1 && r(e).split("【").length - 1 === r(e).split("】").length - 1 && r(e).split("[").length - 1 === r(e).split("]").length - 1 && r(e).split("(").length - 1 === r(e).split(")").length - 1 && r(e).split("(").length - 1 === r(e).split(")").length - 1 && r(e).split("/*").length - 1 === r(e).split("*/").length - 1 && (l.push(e), e = "")) : l.push(n.trim());
891
891
  return l == null ? void 0 : l.filter((n) => n.includes("{"));
892
- }, Dl = (t) => {
892
+ }, Nl = (t) => {
893
893
  var l;
894
894
  let s = [];
895
- return (l = El(t.slice(1, -1))) == null || l.forEach((e) => {
895
+ return (l = Dl(t.slice(1, -1))) == null || l.forEach((e) => {
896
896
  var a, o, y, O;
897
897
  let n = ((o = (a = e.slice(1, -1)) == null ? void 0 : a.split(",")) == null ? void 0 : o.length) ?? 1;
898
898
  (O = (y = e.slice(1, -1)) == null ? void 0 : y.split(",")) == null || O.forEach((b) => {
899
- var x, k, S, u, c, p, g, i, f, h, A, T, D;
900
- let C = b == null ? void 0 : b.split(":"), d = C != null && C[0] ? (C == null ? void 0 : C[1].split("$").length) - 1 === 1 ? ((x = C == null ? void 0 : C[0]) == null ? void 0 : x.replace(/^"(.*)"$/, "$1")) + ((k = C == null ? void 0 : C[1]) == null ? void 0 : k.replace(/^"(.*)"$/, "$1")) : Array.isArray((u = (S = C == null ? void 0 : C[1]) == null ? void 0 : S.replace(/^"(.*)"$/, "$1")) == null ? void 0 : u.split("(")) && ((g = (p = (c = C == null ? void 0 : C[1]) == null ? void 0 : c.replace(/^"(.*)"$/, "$1")) == null ? void 0 : p.split("(")) == null ? void 0 : g.length) > 1 ? ((i = C == null ? void 0 : C[0]) == null ? void 0 : i.replace(/^"(.*)"$/, "$1")) + ((A = (h = (f = C == null ? void 0 : C[1]) == null ? void 0 : f.replace(/^"(.*)"$/, "$1")) == null ? void 0 : h.split("(")) == null ? void 0 : A[0]) + "()" : (T = C == null ? void 0 : C[0]) == null ? void 0 : T.replace(/^"(.*)"$/, "$1") : "", $ = (C == null ? void 0 : C[1].split("$").length) - 1 === 0 ? (D = C == null ? void 0 : C[1]) == null ? void 0 : D.replace(/^"(.*)"$/, "$1") : "";
899
+ var x, k, S, p, c, u, C, i, f, h, A, T, D;
900
+ let g = b == null ? void 0 : b.split(":"), d = g != null && g[0] ? (g == null ? void 0 : g[1].split("$").length) - 1 === 1 ? ((x = g == null ? void 0 : g[0]) == null ? void 0 : x.replace(/^"(.*)"$/, "$1")) + ((k = g == null ? void 0 : g[1]) == null ? void 0 : k.replace(/^"(.*)"$/, "$1")) : Array.isArray((p = (S = g == null ? void 0 : g[1]) == null ? void 0 : S.replace(/^"(.*)"$/, "$1")) == null ? void 0 : p.split("(")) && ((C = (u = (c = g == null ? void 0 : g[1]) == null ? void 0 : c.replace(/^"(.*)"$/, "$1")) == null ? void 0 : u.split("(")) == null ? void 0 : C.length) > 1 ? ((i = g == null ? void 0 : g[0]) == null ? void 0 : i.replace(/^"(.*)"$/, "$1")) + ((A = (h = (f = g == null ? void 0 : g[1]) == null ? void 0 : f.replace(/^"(.*)"$/, "$1")) == null ? void 0 : h.split("(")) == null ? void 0 : A[0]) + "()" : (T = g == null ? void 0 : g[0]) == null ? void 0 : T.replace(/^"(.*)"$/, "$1") : "", $ = (g == null ? void 0 : g[1].split("$").length) - 1 === 0 ? (D = g == null ? void 0 : g[1]) == null ? void 0 : D.replace(/^"(.*)"$/, "$1") : "";
901
901
  w.value++, s.push({
902
902
  id: w.value,
903
903
  key: d,
904
904
  value: $,
905
905
  // 如果值为空,则key设为空字符串,否则保留原值
906
906
  width: n,
907
- extraContent: C == null ? void 0 : C[1]
907
+ extraContent: g == null ? void 0 : g[1]
908
908
  });
909
909
  });
910
910
  }), s;
@@ -930,7 +930,7 @@ const J = [
930
930
  });
931
931
  }), o;
932
932
  } else
933
- return e.trim().startsWith("{{") ? Dl(e.trim()) : pe(n);
933
+ return e.trim().startsWith("{{") ? Nl(e.trim()) : pe(n);
934
934
  } else if (ae(e)) {
935
935
  const n = JSON.parse(e);
936
936
  return Object.entries(n).map(([a, o]) => (w.value++, {
@@ -943,7 +943,7 @@ const J = [
943
943
  } else
944
944
  return ((s = pe(e)) == null ? void 0 : s.length) === 0 ? e : (l = pe(e)) == null ? void 0 : l.map((n) => ({
945
945
  label: n.label,
946
- method: Tl(n.method)
946
+ method: El(n.method)
947
947
  }));
948
948
  } catch (e) {
949
949
  return console.error("转换失败:", e), [];
@@ -959,8 +959,8 @@ const J = [
959
959
  l += e[0].length;
960
960
  let a = "", o = 0, y = !1, O = "";
961
961
  for (let b = l; b < t.length; b++) {
962
- const C = t[b];
963
- if ((C === '"' || C === "'") && !y ? (y = !0, O = C) : C === O && y && (y = !1, O = ""), !y && ((C === "{" || C === "(" || C === "[") && o++, (C === "}" || C === ")" || C === "]") && o--, C === "," && o === 0 || b === t.length - 1)) {
962
+ const g = t[b];
963
+ if ((g === '"' || g === "'") && !y ? (y = !0, O = g) : g === O && y && (y = !1, O = ""), !y && ((g === "{" || g === "(" || g === "[") && o++, (g === "}" || g === ")" || g === "]") && o--, g === "," && o === 0 || b === t.length - 1)) {
964
964
  a = t.slice(l, b + 1).trim(), l = b + 1;
965
965
  break;
966
966
  }
@@ -971,7 +971,7 @@ const J = [
971
971
  });
972
972
  }
973
973
  return s;
974
- }, Nl = (t, s) => {
974
+ }, jl = (t, s) => {
975
975
  try {
976
976
  if (J != null && J.find((l) => (l == null ? void 0 : l.key) === s))
977
977
  return t.replace(/['"]/g, "").trim();
@@ -989,7 +989,7 @@ const J = [
989
989
  } catch (l) {
990
990
  return console.error("解析失败:", l), t;
991
991
  }
992
- }, jl = (t) => ({ [t == null ? void 0 : t.key]: Nl(t == null ? void 0 : t.value, t == null ? void 0 : t.key) }), Sl = (t) => {
992
+ }, Sl = (t) => ({ [t == null ? void 0 : t.key]: jl(t == null ? void 0 : t.value, t == null ? void 0 : t.key) }), Fl = (t) => {
993
993
  try {
994
994
  if (r(t).split("[").length - 1 > 1) {
995
995
  const s = r(t).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
@@ -999,29 +999,29 @@ const J = [
999
999
  } catch (s) {
1000
1000
  return console.error("解析失败:", s), t;
1001
1001
  }
1002
- }, Fl = (t) => {
1002
+ }, Ul = (t) => {
1003
1003
  const s = t.match(/\(([^)]+)\)/);
1004
1004
  return s ? s[1] : "";
1005
- }, Ul = (t) => {
1005
+ }, Pl = (t) => {
1006
1006
  const s = t.match(/^([^(]+)\s*\(/);
1007
1007
  return s ? s[1].trim() : t;
1008
- }, Oe = (t) => t.replace(/'/g, "").replace(/"/g, "").replace(/{|}/g, "").split(":").map((s) => s.trim()).filter((s) => s).join("/"), Pl = (t) => {
1008
+ }, Ae = (t) => t.replace(/'/g, "").replace(/"/g, "").replace(/{|}/g, "").split(":").map((s) => s.trim()).filter((s) => s).join("/"), Bl = (t) => {
1009
1009
  var o, y;
1010
1010
  let s = [], l = [];
1011
- const e = (o = r(t)) == null ? void 0 : o.map((O) => O == null ? void 0 : O.key), n = [...new Set((y = r(e)) == null ? void 0 : y.map((O) => Fl(O)))];
1011
+ const e = (o = r(t)) == null ? void 0 : o.map((O) => O == null ? void 0 : O.key), n = [...new Set((y = r(e)) == null ? void 0 : y.map((O) => Ul(O)))];
1012
1012
  n == null || n.forEach((O) => {
1013
1013
  let b = t == null ? void 0 : t.filter(($) => $.key.includes(O));
1014
1014
  b == null || b.forEach(($) => {
1015
1015
  $ != null && $.key.includes("Menus") && (s.push({
1016
1016
  key: "GroupName",
1017
- value: Oe($ == null ? void 0 : $.value)
1018
- }), l.push(Oe($ == null ? void 0 : $.value)));
1017
+ value: Ae($ == null ? void 0 : $.value)
1018
+ }), l.push(Ae($ == null ? void 0 : $.value)));
1019
1019
  });
1020
- let C = t == null ? void 0 : t.filter(($) => $.key.includes(O) && !($ != null && $.key.includes("Menus")));
1021
- C = C == null ? void 0 : C.map(($) => ($.key = Ul($.key), $));
1020
+ let g = t == null ? void 0 : t.filter(($) => $.key.includes(O) && !($ != null && $.key.includes("Menus")));
1021
+ g = g == null ? void 0 : g.map(($) => ($.key = Pl($.key), $));
1022
1022
  const d = {
1023
1023
  key: "GroupContents",
1024
- value: C
1024
+ value: g
1025
1025
  };
1026
1026
  s.push(d);
1027
1027
  });
@@ -1039,12 +1039,14 @@ const J = [
1039
1039
  let o = [];
1040
1040
  if (o.push(n), ((y = Object.keys(a)) == null ? void 0 : y.length) > 0) {
1041
1041
  let b = [];
1042
- b.push((O = Ee(a)) == null ? void 0 : O[0]), o.push(b == null ? void 0 : b[0]);
1042
+ (O = Ee(a)) == null || O.forEach((g) => {
1043
+ b.push(g);
1044
+ }), o.push(b == null ? void 0 : b[0]);
1043
1045
  }
1044
1046
  e.push(o);
1045
1047
  }), e;
1046
1048
  }
1047
- }, Bl = (t, s) => {
1049
+ }, Jl = (t, s) => {
1048
1050
  var e;
1049
1051
  let l = s;
1050
1052
  return Array.isArray(Object.keys(t)) && ((e = Object.entries(t)) == null || e.forEach(([n, a]) => {
@@ -1057,7 +1059,7 @@ const J = [
1057
1059
  }
1058
1060
  l.push(o);
1059
1061
  })), l;
1060
- }, Jl = (t) => {
1062
+ }, vl = (t) => {
1061
1063
  const s = {};
1062
1064
  return t.forEach((e) => {
1063
1065
  const n = e.split("/");
@@ -1065,15 +1067,15 @@ const J = [
1065
1067
  n.forEach((o) => {
1066
1068
  a[o] || (a[o] = {}), a = a[o];
1067
1069
  });
1068
- }), Bl(s, []);
1069
- }, De = (t) => Jl(t), gt = (t) => {
1070
+ }), Jl(s, []);
1071
+ }, De = (t) => vl(t), gt = (t) => {
1070
1072
  var s, l, e, n, a, o, y, O;
1071
1073
  try {
1072
- const b = me((l = (s = r(t)) == null ? void 0 : s.replace("(", "(")) == null ? void 0 : l.replace(")", ")")), C = (n = (e = r(b)) == null ? void 0 : e.filter((k) => !k.includes("/*"))) == null ? void 0 : n.map((k) => xl(k)), d = Pl(C), $ = [];
1074
+ const b = me((l = (s = r(t)) == null ? void 0 : s.replace("(", "(")) == null ? void 0 : l.replace(")", ")")), g = (n = (e = r(b)) == null ? void 0 : e.filter((k) => !k.includes("/*"))) == null ? void 0 : n.map((k) => Tl(k)), d = Bl(g), $ = [];
1073
1075
  if (((a = d == null ? void 0 : d.find((k) => (k == null ? void 0 : k.key) === "Menus")) == null ? void 0 : a.value.length) === 0)
1074
1076
  return !1;
1075
1077
  (o = r(d)) == null || o.forEach((k) => {
1076
- var S, u, c, p, g;
1078
+ var S, p, c, u, C;
1077
1079
  J != null && J.find((i) => {
1078
1080
  var f, h;
1079
1081
  return ((f = i == null ? void 0 : i.key) == null ? void 0 : f.toUpperCase()) === ((h = k == null ? void 0 : k.key) == null ? void 0 : h.toUpperCase());
@@ -1082,7 +1084,7 @@ const J = [
1082
1084
  var f, h;
1083
1085
  return ((f = i == null ? void 0 : i.key) == null ? void 0 : f.toUpperCase()) === ((h = k == null ? void 0 : k.key) == null ? void 0 : h.toUpperCase());
1084
1086
  })) == null ? void 0 : S.value) ?? "",
1085
- name: (u = k == null ? void 0 : k.value) == null ? void 0 : u.replace(/[’]|[‘]|[']/g, ""),
1087
+ name: (p = k == null ? void 0 : k.value) == null ? void 0 : p.replace(/[’]|[‘]|[']/g, ""),
1086
1088
  compData: []
1087
1089
  }) : B != null && B.find((i) => {
1088
1090
  var f, h;
@@ -1091,77 +1093,77 @@ const J = [
1091
1093
  comp: "Menu",
1092
1094
  name: "",
1093
1095
  compData: []
1094
- }), (p = $ == null ? void 0 : $[($ == null ? void 0 : $.length) - 1]) != null && p.compData && $[($ == null ? void 0 : $.length) - 1].compData.push({
1095
- key: (g = B == null ? void 0 : B.find((i) => {
1096
+ }), (u = $ == null ? void 0 : $[($ == null ? void 0 : $.length) - 1]) != null && u.compData && $[($ == null ? void 0 : $.length) - 1].compData.push({
1097
+ key: (C = B == null ? void 0 : B.find((i) => {
1096
1098
  var f, h;
1097
1099
  return ((f = i == null ? void 0 : i.key) == null ? void 0 : f.toUpperCase()) === ((h = k == null ? void 0 : k.key) == null ? void 0 : h.toUpperCase());
1098
- })) == null ? void 0 : g.value,
1100
+ })) == null ? void 0 : C.value,
1099
1101
  contents: k == null ? void 0 : k.value
1100
1102
  }));
1101
1103
  });
1102
1104
  let x = (y = r($)) == null ? void 0 : y.map((k) => {
1103
1105
  var S;
1104
- return k != null && k.compData && (k.compData = (S = k == null ? void 0 : k.compData) == null ? void 0 : S.map((u) => {
1105
- var c, p, g, i, f, h, A, T, D, _, j;
1106
- if ((u == null ? void 0 : u.key) === "formFlex")
1107
- u.contents = ((p = (c = u.contents) == null ? void 0 : c.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : p.toUpperCase()) !== "Vertical".toUpperCase();
1108
- else if ((u == null ? void 0 : u.key) === "groupContents")
1109
- u.contents = (g = r(u.contents)) == null ? void 0 : g.map((E) => jl(r(E)));
1110
- else if (Array.isArray(u == null ? void 0 : u.contents))
1111
- u.contents = De(u.contents);
1112
- else if (((f = (i = u == null ? void 0 : u.contents) == null ? void 0 : i.trim()) != null && f.startsWith("[") || (A = (h = u.contents) == null ? void 0 : h.trim()) != null && A.startsWith("【")) && ((D = (T = u.contents) == null ? void 0 : T.trim()) != null && D.endsWith("]") || (j = (_ = u.contents) == null ? void 0 : _.trim()) != null && j.endsWith("】")))
1113
- u.contents = Sl(r(u.contents));
1106
+ return k != null && k.compData && (k.compData = (S = k == null ? void 0 : k.compData) == null ? void 0 : S.map((p) => {
1107
+ var c, u, C, i, f, h, A, T, D, _, j;
1108
+ if ((p == null ? void 0 : p.key) === "formFlex")
1109
+ p.contents = ((u = (c = p.contents) == null ? void 0 : c.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : u.toUpperCase()) !== "Vertical".toUpperCase();
1110
+ else if ((p == null ? void 0 : p.key) === "groupContents")
1111
+ p.contents = (C = r(p.contents)) == null ? void 0 : C.map((E) => Sl(r(E)));
1112
+ else if (Array.isArray(p == null ? void 0 : p.contents))
1113
+ p.contents = De(p.contents);
1114
+ else if (((f = (i = p == null ? void 0 : p.contents) == null ? void 0 : i.trim()) != null && f.startsWith("[") || (A = (h = p.contents) == null ? void 0 : h.trim()) != null && A.startsWith("【")) && ((D = (T = p.contents) == null ? void 0 : T.trim()) != null && D.endsWith("]") || (j = (_ = p.contents) == null ? void 0 : _.trim()) != null && j.endsWith("】")))
1115
+ p.contents = Fl(r(p.contents));
1114
1116
  else {
1115
- if (!u.contents) return;
1116
- u.contents = Te(r(u.contents));
1117
+ if (!p.contents) return;
1118
+ p.contents = Te(r(p.contents));
1117
1119
  }
1118
- return u;
1120
+ return p;
1119
1121
  })), k;
1120
1122
  });
1121
1123
  return x = (O = r(x)) == null ? void 0 : O.map((k) => {
1122
1124
  var S;
1123
- return (k == null ? void 0 : k.comp) === "Group" && (k.compData = (S = k.compData) == null ? void 0 : S.map((u) => {
1124
- var p;
1125
+ return (k == null ? void 0 : k.comp) === "Group" && (k.compData = (S = k.compData) == null ? void 0 : S.map((p) => {
1126
+ var u;
1125
1127
  let c = [];
1126
- return (p = u.contents) == null || p.forEach((g) => {
1128
+ return (u = p.contents) == null || u.forEach((C) => {
1127
1129
  var i, f, h, A, T, D, _, j, E, F, U, v;
1128
1130
  if (J != null && J.find((N) => {
1129
1131
  var m, P, L;
1130
- return ((m = N == null ? void 0 : N.key) == null ? void 0 : m.toUpperCase()) === ((L = (P = Object.keys(g)) == null ? void 0 : P[0]) == null ? void 0 : L.toUpperCase());
1132
+ return ((m = N == null ? void 0 : N.key) == null ? void 0 : m.toUpperCase()) === ((L = (P = Object.keys(C)) == null ? void 0 : P[0]) == null ? void 0 : L.toUpperCase());
1131
1133
  }))
1132
1134
  c.push({
1133
1135
  comp: (i = J == null ? void 0 : J.find((N) => {
1134
1136
  var m, P, L;
1135
- return ((m = N == null ? void 0 : N.key) == null ? void 0 : m.toUpperCase()) === ((L = (P = Object.keys(g)) == null ? void 0 : P[0]) == null ? void 0 : L.toUpperCase());
1137
+ return ((m = N == null ? void 0 : N.key) == null ? void 0 : m.toUpperCase()) === ((L = (P = Object.keys(C)) == null ? void 0 : P[0]) == null ? void 0 : L.toUpperCase());
1136
1138
  })) == null ? void 0 : i.value,
1137
- name: (h = (f = Object.values(g)) == null ? void 0 : f[0]) == null ? void 0 : h.replace(/[’]|[‘]|[']/g, ""),
1139
+ name: (h = (f = Object.values(C)) == null ? void 0 : f[0]) == null ? void 0 : h.replace(/[’]|[‘]|[']/g, ""),
1138
1140
  compData: []
1139
1141
  });
1140
1142
  else if (B != null && B.find((N) => {
1141
1143
  var m, P, L;
1142
- return ((m = N == null ? void 0 : N.key) == null ? void 0 : m.toUpperCase()) === ((L = (P = Object.keys(g)) == null ? void 0 : P[0]) == null ? void 0 : L.toUpperCase());
1144
+ return ((m = N == null ? void 0 : N.key) == null ? void 0 : m.toUpperCase()) === ((L = (P = Object.keys(C)) == null ? void 0 : P[0]) == null ? void 0 : L.toUpperCase());
1143
1145
  })) {
1144
1146
  if ((c == null ? void 0 : c.length) === 0) return;
1145
1147
  (A = c == null ? void 0 : c[(c == null ? void 0 : c.length) - 1]) != null && A.compData && c[(c == null ? void 0 : c.length) - 1].compData.push({
1146
1148
  key: (T = B == null ? void 0 : B.find((N) => {
1147
1149
  var m, P, L;
1148
- return ((m = N == null ? void 0 : N.key) == null ? void 0 : m.toUpperCase()) === ((L = (P = Object.keys(g)) == null ? void 0 : P[0]) == null ? void 0 : L.toUpperCase());
1150
+ return ((m = N == null ? void 0 : N.key) == null ? void 0 : m.toUpperCase()) === ((L = (P = Object.keys(C)) == null ? void 0 : P[0]) == null ? void 0 : L.toUpperCase());
1149
1151
  })) == null ? void 0 : T.value,
1150
- contents: (D = Object.values(g)) == null ? void 0 : D[0]
1152
+ contents: (D = Object.values(C)) == null ? void 0 : D[0]
1151
1153
  });
1152
- } else if ((j = (_ = Object.keys(g)) == null ? void 0 : _[0]) != null && j.includes("$")) {
1153
- const N = (F = (E = Object.keys(r(g))) == null ? void 0 : E[0]) == null ? void 0 : F.split("$");
1154
+ } else if ((j = (_ = Object.keys(C)) == null ? void 0 : _[0]) != null && j.includes("$")) {
1155
+ const N = (F = (E = Object.keys(r(C))) == null ? void 0 : E[0]) == null ? void 0 : F.split("$");
1154
1156
  c[(c == null ? void 0 : c.length) - 1].compData.push({
1155
1157
  key: (U = B == null ? void 0 : B.find((m) => {
1156
1158
  var P, L;
1157
1159
  return ((P = m == null ? void 0 : m.key) == null ? void 0 : P.toUpperCase()) === ((L = N == null ? void 0 : N[0]) == null ? void 0 : L.toUpperCase());
1158
1160
  })) == null ? void 0 : U.value,
1159
- contents: (v = Object.values(g)) == null ? void 0 : v[0],
1161
+ contents: (v = Object.values(C)) == null ? void 0 : v[0],
1160
1162
  selectLabel: N == null ? void 0 : N[1]
1161
1163
  });
1162
1164
  }
1163
- return g;
1164
- }), u.contents = c, u;
1165
+ return C;
1166
+ }), p.contents = c, p;
1165
1167
  })), k;
1166
1168
  }), x;
1167
1169
  } catch {
@@ -1206,7 +1208,7 @@ const J = [
1206
1208
  }
1207
1209
  }
1208
1210
  return l;
1209
- }, vl = (t, s) => {
1211
+ }, Rl = (t, s) => {
1210
1212
  let l = [];
1211
1213
  return t == null || t.forEach((n) => {
1212
1214
  n.some((a) => Array.isArray(a)) ? l.push(...n) : l.push(n);
@@ -1222,7 +1224,7 @@ const J = [
1222
1224
  );
1223
1225
  }
1224
1226
  return s;
1225
- }, Rl = (t) => {
1227
+ }, Gl = (t) => {
1226
1228
  var l;
1227
1229
  return t.some((e) => !Array.isArray(e)) ? t : (l = r(t)) == null ? void 0 : l.map((e) => {
1228
1230
  let n = [];
@@ -1238,7 +1240,7 @@ const J = [
1238
1240
  n = y[0], e = y[1];
1239
1241
  }
1240
1242
  }), [n, e];
1241
- }, Gl = (t, s) => {
1243
+ }, Ll = (t, s) => {
1242
1244
  let l = t, e = [];
1243
1245
  return s.length > 0 ? s == null || s.forEach((n) => {
1244
1246
  let a = l == null ? void 0 : l[0];
@@ -1247,9 +1249,9 @@ const J = [
1247
1249
  a = o[0], l = o[1], e.push(a);
1248
1250
  }) : e = l, e;
1249
1251
  }, he = (t, s) => {
1250
- const l = Rl(r(t));
1251
- return Gl(l, s);
1252
- }, Ll = (t) => {
1252
+ const l = Gl(r(t));
1253
+ return Ll(l, s);
1254
+ }, Wl = (t) => {
1253
1255
  const s = [];
1254
1256
  let l = 0;
1255
1257
  const e = t.length;
@@ -1262,8 +1264,8 @@ const J = [
1262
1264
  }), l += 2) : (s.push(n), l += 1);
1263
1265
  }
1264
1266
  return s;
1265
- }, Wl = (t) => he([t], []), zl = (t) => {
1266
- let s = Ll(t);
1267
+ }, zl = (t) => he([t], []), Oe = (t) => {
1268
+ let s = Wl(t);
1267
1269
  return s = s == null ? void 0 : s.map((l) => {
1268
1270
  var e;
1269
1271
  return l.comp === "Table" ? l.compData = (e = l.compData) == null ? void 0 : e.map((n) => (n.key === "tableColumns" ? n = {
@@ -1279,7 +1281,7 @@ const J = [
1279
1281
  }), l;
1280
1282
  }), s;
1281
1283
  }, Zl = (t, s) => {
1282
- var y, O, b, C, d, $;
1284
+ var y, O, b, g, d, $;
1283
1285
  const l = [], e = Ne((O = (y = t == null ? void 0 : t.find((x) => x.key === "tableIndex")) == null ? void 0 : y.value) == null ? void 0 : O[0]);
1284
1286
  l.push({
1285
1287
  key: "tableIndexColumn",
@@ -1290,11 +1292,11 @@ const J = [
1290
1292
  });
1291
1293
  let n = [];
1292
1294
  const a = (b = t == null ? void 0 : t.find((x) => x.key === "tableColumns")) == null ? void 0 : b.value;
1293
- a.length === 1 && !(a != null && a[0].some((x) => Array.isArray(x))) ? n = (C = a == null ? void 0 : a[0]) == null ? void 0 : C.map((x) => ({ label: x })) : n = he((d = t == null ? void 0 : t.find((x) => x.key === "tableColumns")) == null ? void 0 : d.value, e), l.push({
1295
+ a.length === 1 && !(a != null && a[0].some((x) => Array.isArray(x))) ? n = (g = a == null ? void 0 : a[0]) == null ? void 0 : g.map((x) => ({ label: x })) : n = he((d = t == null ? void 0 : t.find((x) => x.key === "tableColumns")) == null ? void 0 : d.value, e), l.push({
1294
1296
  key: "header",
1295
1297
  contents: n
1296
1298
  });
1297
- const o = vl(($ = t == null ? void 0 : t.find((x) => x.key === "tableContents")) == null ? void 0 : $.value, e);
1299
+ const o = Rl(($ = t == null ? void 0 : t.find((x) => x.key === "tableContents")) == null ? void 0 : $.value, e);
1298
1300
  return l.push({
1299
1301
  key: "tableContents",
1300
1302
  contents: o
@@ -1330,7 +1332,7 @@ const J = [
1330
1332
  for (const n of s)
1331
1333
  n.includes("{") || e.includes("{") || n.includes("[") || e.includes("[") || n.includes("【") || e.includes("【") || n.includes("(") || e.includes("(") || n.includes("(") || e.includes("(") || n.includes("/*") || e.includes("/*") ? (e = e !== "" ? e + ":" + n.trim() : n.trim(), r(e).split("{").length - 1 === r(e).split("}").length - 1 && r(e).split("【").length - 1 === r(e).split("】").length - 1 && r(e).split("[").length - 1 === r(e).split("]").length - 1 && r(e).split("(").length - 1 === r(e).split(")").length - 1 && r(e).split("(").length - 1 === r(e).split(")").length - 1 && r(e).split("/*").length - 1 === r(e).split("*/").length - 1 && (l.push(e.replace(/\/\*[\s\S]*?\*\//g, "")), e = "")) : l.push(n.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
1332
1334
  return l;
1333
- }, ke = (t) => /^[\x00-\x7F]*$/.test(t), Hl = (t) => {
1335
+ }, Pe = (t) => /^[\x00-\x7F]*$/.test(t), Hl = (t) => {
1334
1336
  var n;
1335
1337
  const s = t.map((a) => {
1336
1338
  var y, O;
@@ -1341,26 +1343,26 @@ const J = [
1341
1343
  return (y = be(a)) == null ? void 0 : y.map((O) => {
1342
1344
  var b;
1343
1345
  if (O.includes("{")) {
1344
- let C = (b = O.split(":")) == null ? void 0 : b[0];
1345
- O = C.slice(1, C.length);
1346
+ let g = (b = O.split(":")) == null ? void 0 : b[0];
1347
+ O = g.slice(1, g.length);
1346
1348
  }
1347
1349
  return O;
1348
1350
  });
1349
- }), e = (n = l == null ? void 0 : l.filter((a) => a.length !== 0)) == null ? void 0 : n.map((a) => {
1351
+ }).filter((a) => a.length !== 0), e = (n = l == null ? void 0 : l.filter((a) => a.length !== 0)) == null ? void 0 : n.map((a) => {
1350
1352
  let o = "";
1351
1353
  return a.forEach((y) => {
1352
- !ke(y) && !y.includes("{") && (o = o === "" ? o + r(y) : o + "/" + r(y));
1354
+ y.includes("{") || (o = o === "" ? o + r(y) : o + "/" + r(y));
1353
1355
  }), o;
1354
1356
  });
1355
1357
  return De([...new Set(e)]);
1356
- }, Pe = (t) => {
1358
+ }, Be = (t) => {
1357
1359
  var l, e;
1358
1360
  const s = (e = (l = t.split("(")) == null ? void 0 : l[1]) == null ? void 0 : e.trim();
1359
1361
  return s.slice(0, s.length - 1);
1360
1362
  }, ql = (t) => {
1361
1363
  var n;
1362
1364
  if (!t) return;
1363
- const s = Pe(t), l = (n = be(s)) == null ? void 0 : n.map((a) => {
1365
+ const s = Be(t), l = (n = be(s)) == null ? void 0 : n.map((a) => {
1364
1366
  var o;
1365
1367
  if (a.includes("{")) {
1366
1368
  let y = (o = a.split(":")) == null ? void 0 : o[0];
@@ -1370,7 +1372,7 @@ const J = [
1370
1372
  });
1371
1373
  let e = "";
1372
1374
  return l.forEach((a) => {
1373
- ke(a) || (e = e === "" ? e + r(a) : e + "/" + r(a));
1375
+ Pe(a) || (e = e === "" ? e + r(a) : e + "/" + r(a));
1374
1376
  }), e;
1375
1377
  }, Ql = (t) => {
1376
1378
  const s = t.match(/\[(.*)\]/s);
@@ -1386,11 +1388,11 @@ const J = [
1386
1388
  }, Xl = (t) => {
1387
1389
  var a;
1388
1390
  if (!t) return;
1389
- const s = Pe(t);
1391
+ const s = Be(t);
1390
1392
  let l = [], e = [], n = [];
1391
1393
  return (a = be(s)) == null || a.forEach((o) => {
1392
1394
  var y;
1393
- o.includes("[") ? l.push(Ql(o)) : o.includes("{") && (ke((y = o.slice(1, o.length - 1).split(":")) == null ? void 0 : y[0]) ? n.push(JSON.parse(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3'))) : Y(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3')) ? e.push(JSON.parse(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3'))) : o.includes("$") || e.push(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3')));
1395
+ o.includes("[") ? l.push(Ql(o)) : o.includes("{") && (Pe((y = o.slice(1, o.length - 1).split(":")) == null ? void 0 : y[0]) ? n.push(JSON.parse(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3'))) : Y(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3')) ? e.push(JSON.parse(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3'))) : o.includes("$") || e.push(o.replace(/([{,]\s*)([^:{\[\],\s]+)(\s*:\s*)/g, '$1"$2"$3').replace(/(:\s*)([^{}\[\]",\s]+)(\s*[,}])/g, '$1"$2"$3')));
1394
1396
  }), [l, e, n];
1395
1397
  }, Yl = (t) => {
1396
1398
  const s = [];
@@ -1404,16 +1406,16 @@ const J = [
1404
1406
  if (!(e.trim().includes("输入") && e.trim().includes("输出"))) {
1405
1407
  const b = (n = e.trim().split(",$")) == null ? void 0 : n[0];
1406
1408
  b[0] === "[" ? e = b.slice(1, b.length - 1) : e.includes(",$") && (e = (a = e.trim().split(",$")) == null ? void 0 : a[0]);
1407
- let C;
1408
- e.includes("$") ? e = r(e) : C = (y = (o = r(e).split("}")) == null ? void 0 : o.filter((d) => d !== "")) == null ? void 0 : y.map((d) => {
1409
+ let g;
1410
+ e.includes("$") ? e = r(e) : g = (y = (o = r(e).split("}")) == null ? void 0 : o.filter((d) => d !== "")) == null ? void 0 : y.map((d) => {
1409
1411
  let $ = d;
1410
1412
  return $[0] === "," ? $ = $.slice(2, $.length) : $ = $.slice(1, $.length), $;
1411
- }), (O = r(C)) == null || O.forEach((d) => {
1412
- var $, x, k, S, u, c, p, g, i, f;
1413
+ }), (O = r(g)) == null || O.forEach((d) => {
1414
+ var $, x, k, S, p, c, u, C, i, f;
1413
1415
  if (!d.includes("=="))
1414
- Y(($ = d == null ? void 0 : d.split(":")) == null ? void 0 : $[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"')) && s.push(JSON.parse((x = d == null ? void 0 : d.split(":")) == null ? void 0 : x[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"'))), Y((k = d == null ? void 0 : d.split(":")) == null ? void 0 : k[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"')) ? l.push(JSON.parse((S = d == null ? void 0 : d.split(":")) == null ? void 0 : S[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"'))) : Y((u = d == null ? void 0 : d.split(":")) == null ? void 0 : u[1].replace(/^"|"$/g, "'").replaceAll("'", '"').replace(/'([^']+)'/g, '"$1"')) && l.push(JSON.parse((c = d == null ? void 0 : d.split(":")) == null ? void 0 : c[1].replace(/^"|"$/g, "'").replaceAll("'", '"').replace(/'([^']+)'/g, '"$1"')));
1416
+ Y(($ = d == null ? void 0 : d.split(":")) == null ? void 0 : $[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"')) && s.push(JSON.parse((x = d == null ? void 0 : d.split(":")) == null ? void 0 : x[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"'))), Y((k = d == null ? void 0 : d.split(":")) == null ? void 0 : k[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"')) ? l.push(JSON.parse((S = d == null ? void 0 : d.split(":")) == null ? void 0 : S[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"'))) : Y((p = d == null ? void 0 : d.split(":")) == null ? void 0 : p[1].replace(/^"|"$/g, "'").replaceAll("'", '"').replace(/'([^']+)'/g, '"$1"')) && l.push(JSON.parse((c = d == null ? void 0 : d.split(":")) == null ? void 0 : c[1].replace(/^"|"$/g, "'").replaceAll("'", '"').replace(/'([^']+)'/g, '"$1"')));
1415
1417
  else {
1416
- const h = (p = d == null ? void 0 : d.split(":")) == null ? void 0 : p[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"'), A = (g = d == null ? void 0 : d.split(":")) == null ? void 0 : g[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"');
1418
+ const h = (u = d == null ? void 0 : d.split(":")) == null ? void 0 : u[0].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"'), A = (C = d == null ? void 0 : d.split(":")) == null ? void 0 : C[1].replace(/^"|"$/g, "'").replace(/'([^']+)'/g, '"$1"');
1417
1419
  if (Y(A.trim()) ? l.push(JSON.parse(A.trim())) : l.push(JSON.parse(A.replaceAll("'", '"').trim())), h[0] !== "[") {
1418
1420
  let T = [];
1419
1421
  Y("[" + ue(h) + "]") ? T.push(JSON.parse("[" + ue(h) + "]")) : T.push("[" + ue(h) + "]"), s.push(T);
@@ -1452,27 +1454,28 @@ const J = [
1452
1454
  value: b
1453
1455
  }), s;
1454
1456
  }, Vl = (t, s) => {
1455
- const l = s.split("/"), e = [];
1457
+ const l = s.split("/");
1458
+ let e = [];
1456
1459
  return t == null || t.forEach((n) => {
1457
- var y, O, b, C, d, $, x, k, S;
1458
- const a = [], o = (O = (y = n.find((u) => u.key === "tableIndex")) == null ? void 0 : y.value) == null ? void 0 : O[0];
1459
- if (o && !o.some((u) => Array.isArray(u))) {
1460
- const u = (C = (b = n.find((c) => c.key === "tableColumns")) == null ? void 0 : b.value) == null ? void 0 : C[0];
1460
+ var y, O, b, g, d, $, x, k, S;
1461
+ const a = [], o = (O = (y = n.find((p) => p.key === "tableIndex")) == null ? void 0 : y.value) == null ? void 0 : O[0];
1462
+ if (o && !o.some((p) => Array.isArray(p))) {
1463
+ const p = (g = (b = n.find((c) => c.key === "tableColumns")) == null ? void 0 : b.value) == null ? void 0 : g[0];
1461
1464
  a.push({
1462
1465
  key: "tableIndexColumn",
1463
1466
  contents: l[l.length - 1]
1464
1467
  }), a.push({
1465
1468
  key: "tableIndex",
1466
1469
  contents: o == null ? void 0 : o.map((c) => ({ label: c }))
1467
- }), Array.isArray(u) && u.some((c) => Array.isArray(c)) ? a.push({
1470
+ }), Array.isArray(p) && p.some((c) => Array.isArray(c)) ? a.push({
1468
1471
  key: "header",
1469
- contents: Wl(u)
1472
+ contents: zl(p)
1470
1473
  }) : a.push({
1471
1474
  key: "header",
1472
- contents: Array.isArray(u) ? u == null ? void 0 : u.map((c) => ({ label: c })) : [u].map((c) => ({ label: c }))
1475
+ contents: Array.isArray(p) ? p == null ? void 0 : p.map((c) => ({ label: c })) : [p].map((c) => ({ label: c }))
1473
1476
  }), a.push({
1474
1477
  key: "tableContents",
1475
- contents: Array.isArray(u) ? ($ = (d = n.find((c) => c.key === "tableContents")) == null ? void 0 : d.value) == null ? void 0 : $[0] : (S = (k = (x = n.find((c) => c.key === "tableContents")) == null ? void 0 : x.value) == null ? void 0 : k[0]) == null ? void 0 : S.map((c) => [c])
1478
+ contents: Array.isArray(p) ? ($ = (d = n.find((c) => c.key === "tableContents")) == null ? void 0 : d.value) == null ? void 0 : $[0] : (S = (k = (x = n.find((c) => c.key === "tableContents")) == null ? void 0 : x.value) == null ? void 0 : k[0]) == null ? void 0 : S.map((c) => [c])
1476
1479
  }), e.push({
1477
1480
  comp: "Table",
1478
1481
  name: "",
@@ -1482,11 +1485,11 @@ const J = [
1482
1485
  comp: "Table",
1483
1486
  name: "",
1484
1487
  compData: Zl(n, l[l.length - 1])
1485
- }) : e.push({
1488
+ }) : n.some((p) => p.key === "extra") ? e.push({
1486
1489
  comp: "calculator",
1487
1490
  name: "",
1488
- compData: zl(n)
1489
- });
1491
+ compData: Oe(n)
1492
+ }) : e = Oe(n);
1490
1493
  }), e;
1491
1494
  }, Il = (t, s) => {
1492
1495
  var n, a;
@@ -1535,7 +1538,7 @@ const J = [
1535
1538
  (o.match(/\[/g) || []).length !== (o.match(/\]/g) || []).length && (o = o == null ? void 0 : o.replace(/]$/, "")), e[a] ? (e[a + ie.value] && ie.value++, e[a + ie.value] = a + "=" + o) : e[a] = a + "=" + o;
1536
1539
  }
1537
1540
  return e;
1538
- }, Be = (t) => {
1541
+ }, Je = (t) => {
1539
1542
  const [s, l] = t.split("=").map((a) => a.trim()), e = s.replace(/['"]/g, ""), n = l.replace(/^['"]|['"]$/g, "");
1540
1543
  return { key: e, value: n };
1541
1544
  }, nt = (t) => {
@@ -1543,7 +1546,7 @@ const J = [
1543
1546
  let s = [];
1544
1547
  const [l, e] = t.split(/=(.+)/), n = l.replace(/['"]/g, "").trim(), a = e.replace(/^['"]|['"]$/g, "");
1545
1548
  return (o = Object.values(tt(a))) == null || o.forEach((y) => {
1546
- s.push(Be(y));
1549
+ s.push(Je(y));
1547
1550
  }), { key: n, value: s };
1548
1551
  }, re = (t) => {
1549
1552
  try {
@@ -1551,7 +1554,7 @@ const J = [
1551
1554
  } catch {
1552
1555
  return !1;
1553
1556
  }
1554
- }, Je = (t) => {
1557
+ }, ve = (t) => {
1555
1558
  try {
1556
1559
  const s = t.replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",").replace(/:/g, ":").replace(/:\s*(?=,|}|$)/g, ': ""');
1557
1560
  if (r(s).split("{").length - 1 > 1) {
@@ -1600,7 +1603,7 @@ const J = [
1600
1603
  const e = JSON.parse(l);
1601
1604
  return Array.isArray(e) ? e.map((n) => ({ label: n })) : e;
1602
1605
  } else
1603
- return Je(r(t));
1606
+ return ve(r(t));
1604
1607
  }
1605
1608
  } catch (l) {
1606
1609
  return console.error("解析失败:", l), t;
@@ -1615,108 +1618,108 @@ const J = [
1615
1618
  } catch (s) {
1616
1619
  return console.error("解析失败:", s), t;
1617
1620
  }
1618
- }, ve = (t) => {
1621
+ }, Re = (t) => {
1619
1622
  var s, l, e, n, a, o;
1620
1623
  try {
1621
1624
  const y = me((l = (s = r(t)) == null ? void 0 : s.replace("(", "(")) == null ? void 0 : l.replace(")", ")")), O = (e = r(y)) == null ? void 0 : e.map((d) => {
1622
1625
  var x, k;
1623
1626
  let $ = (k = (x = r(d)) == null ? void 0 : x.split("=")) == null ? void 0 : k[0];
1624
- return $ != null && $.includes("GroupContents") ? nt(d) : Be(d);
1627
+ return $ != null && $.includes("GroupContents") ? nt(d) : Je(d);
1625
1628
  }), b = [];
1626
1629
  (n = r(O)) == null || n.forEach((d) => {
1627
- var $, x, k, S, u;
1630
+ var $, x, k, S, p;
1628
1631
  J != null && J.find((c) => {
1629
- var p, g;
1630
- return ((p = c == null ? void 0 : c.key) == null ? void 0 : p.toUpperCase()) === ((g = d == null ? void 0 : d.key) == null ? void 0 : g.toUpperCase());
1632
+ var u, C;
1633
+ return ((u = c == null ? void 0 : c.key) == null ? void 0 : u.toUpperCase()) === ((C = d == null ? void 0 : d.key) == null ? void 0 : C.toUpperCase());
1631
1634
  }) ? b.push({
1632
1635
  comp: (($ = J == null ? void 0 : J.find((c) => {
1633
- var p, g;
1634
- return ((p = c == null ? void 0 : c.key) == null ? void 0 : p.toUpperCase()) === ((g = d == null ? void 0 : d.key) == null ? void 0 : g.toUpperCase());
1636
+ var u, C;
1637
+ return ((u = c == null ? void 0 : c.key) == null ? void 0 : u.toUpperCase()) === ((C = d == null ? void 0 : d.key) == null ? void 0 : C.toUpperCase());
1635
1638
  })) == null ? void 0 : $.value) ?? "",
1636
1639
  name: (x = d == null ? void 0 : d.value) == null ? void 0 : x.replace(/[’]|[‘]|[']/g, ""),
1637
1640
  compData: []
1638
1641
  }) : B != null && B.find((c) => {
1639
- var p, g;
1640
- return ((p = c == null ? void 0 : c.key) == null ? void 0 : p.toUpperCase()) === ((g = d == null ? void 0 : d.key) == null ? void 0 : g.toUpperCase());
1642
+ var u, C;
1643
+ return ((u = c == null ? void 0 : c.key) == null ? void 0 : u.toUpperCase()) === ((C = d == null ? void 0 : d.key) == null ? void 0 : C.toUpperCase());
1641
1644
  }) && ((b == null ? void 0 : b.length) === 0 && (k = d.key) != null && k.includes("Menus") && b.push({
1642
1645
  comp: "Menu",
1643
1646
  name: "",
1644
1647
  compData: []
1645
1648
  }), (S = b == null ? void 0 : b[(b == null ? void 0 : b.length) - 1]) != null && S.compData && b[(b == null ? void 0 : b.length) - 1].compData.push({
1646
- key: (u = B == null ? void 0 : B.find((c) => {
1647
- var p, g;
1648
- return ((p = c == null ? void 0 : c.key) == null ? void 0 : p.toUpperCase()) === ((g = d == null ? void 0 : d.key) == null ? void 0 : g.toUpperCase());
1649
- })) == null ? void 0 : u.value,
1649
+ key: (p = B == null ? void 0 : B.find((c) => {
1650
+ var u, C;
1651
+ return ((u = c == null ? void 0 : c.key) == null ? void 0 : u.toUpperCase()) === ((C = d == null ? void 0 : d.key) == null ? void 0 : C.toUpperCase());
1652
+ })) == null ? void 0 : p.value,
1650
1653
  contents: d == null ? void 0 : d.value
1651
1654
  }));
1652
1655
  }), console.log("newContents", b);
1653
- let C = (a = r(b)) == null ? void 0 : a.map((d) => {
1656
+ let g = (a = r(b)) == null ? void 0 : a.map((d) => {
1654
1657
  var $;
1655
1658
  return d != null && d.compData && (d.compData = ($ = d == null ? void 0 : d.compData) == null ? void 0 : $.map((x) => {
1656
- var k, S, u, c, p, g, i, f, h, A, T;
1659
+ var k, S, p, c, u, C, i, f, h, A, T;
1657
1660
  if ((x == null ? void 0 : x.key) === "formFlex")
1658
1661
  x.contents = ((S = (k = x.contents) == null ? void 0 : k.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : S.toUpperCase()) !== "Vertical".toUpperCase();
1659
1662
  else if ((x == null ? void 0 : x.key) === "groupContents")
1660
- x.contents = (u = r(x.contents)) == null ? void 0 : u.map((D) => at(r(D)));
1661
- else if (((p = (c = x.contents) == null ? void 0 : c.trim()) != null && p.startsWith("[") || (i = (g = x.contents) == null ? void 0 : g.trim()) != null && i.startsWith("【")) && ((h = (f = x.contents) == null ? void 0 : f.trim()) != null && h.endsWith("]") || (T = (A = x.contents) == null ? void 0 : A.trim()) != null && T.endsWith("】")))
1663
+ x.contents = (p = r(x.contents)) == null ? void 0 : p.map((D) => at(r(D)));
1664
+ else if (((u = (c = x.contents) == null ? void 0 : c.trim()) != null && u.startsWith("[") || (i = (C = x.contents) == null ? void 0 : C.trim()) != null && i.startsWith("【")) && ((h = (f = x.contents) == null ? void 0 : f.trim()) != null && h.endsWith("]") || (T = (A = x.contents) == null ? void 0 : A.trim()) != null && T.endsWith("】")))
1662
1665
  x.contents = rt(r(x.contents));
1663
1666
  else {
1664
1667
  if (!x.contents) return;
1665
- x.contents = Je(r(x.contents));
1668
+ x.contents = ve(r(x.contents));
1666
1669
  }
1667
1670
  return x;
1668
1671
  })), d;
1669
1672
  });
1670
- return C = (o = r(C)) == null ? void 0 : o.map((d) => {
1673
+ return g = (o = r(g)) == null ? void 0 : o.map((d) => {
1671
1674
  var $;
1672
1675
  return (d == null ? void 0 : d.comp) === "Group" && (d.compData = ($ = d.compData) == null ? void 0 : $.map((x) => {
1673
1676
  var S;
1674
1677
  let k = [];
1675
- return (S = x.contents) == null || S.forEach((u) => {
1676
- var c, p, g, i, f, h, A, T, D, _, j, E;
1678
+ return (S = x.contents) == null || S.forEach((p) => {
1679
+ var c, u, C, i, f, h, A, T, D, _, j, E;
1677
1680
  if (J != null && J.find((F) => {
1678
1681
  var U, v, N;
1679
- return ((U = F == null ? void 0 : F.key) == null ? void 0 : U.toUpperCase()) === ((N = (v = Object.keys(u)) == null ? void 0 : v[0]) == null ? void 0 : N.toUpperCase());
1682
+ return ((U = F == null ? void 0 : F.key) == null ? void 0 : U.toUpperCase()) === ((N = (v = Object.keys(p)) == null ? void 0 : v[0]) == null ? void 0 : N.toUpperCase());
1680
1683
  }))
1681
1684
  k.push({
1682
1685
  comp: (c = J == null ? void 0 : J.find((F) => {
1683
1686
  var U, v, N;
1684
- return ((U = F == null ? void 0 : F.key) == null ? void 0 : U.toUpperCase()) === ((N = (v = Object.keys(u)) == null ? void 0 : v[0]) == null ? void 0 : N.toUpperCase());
1687
+ return ((U = F == null ? void 0 : F.key) == null ? void 0 : U.toUpperCase()) === ((N = (v = Object.keys(p)) == null ? void 0 : v[0]) == null ? void 0 : N.toUpperCase());
1685
1688
  })) == null ? void 0 : c.value,
1686
- name: (g = (p = Object.values(u)) == null ? void 0 : p[0]) == null ? void 0 : g.replace(/[’]|[‘]|[']/g, ""),
1689
+ name: (C = (u = Object.values(p)) == null ? void 0 : u[0]) == null ? void 0 : C.replace(/[’]|[‘]|[']/g, ""),
1687
1690
  compData: []
1688
1691
  });
1689
1692
  else if (B != null && B.find((F) => {
1690
1693
  var U, v, N;
1691
- return ((U = F == null ? void 0 : F.key) == null ? void 0 : U.toUpperCase()) === ((N = (v = Object.keys(u)) == null ? void 0 : v[0]) == null ? void 0 : N.toUpperCase());
1694
+ return ((U = F == null ? void 0 : F.key) == null ? void 0 : U.toUpperCase()) === ((N = (v = Object.keys(p)) == null ? void 0 : v[0]) == null ? void 0 : N.toUpperCase());
1692
1695
  })) {
1693
1696
  if ((k == null ? void 0 : k.length) === 0) return;
1694
1697
  (i = k == null ? void 0 : k[(k == null ? void 0 : k.length) - 1]) != null && i.compData && k[(k == null ? void 0 : k.length) - 1].compData.push({
1695
1698
  key: (f = B == null ? void 0 : B.find((F) => {
1696
1699
  var U, v, N;
1697
- return ((U = F == null ? void 0 : F.key) == null ? void 0 : U.toUpperCase()) === ((N = (v = Object.keys(u)) == null ? void 0 : v[0]) == null ? void 0 : N.toUpperCase());
1700
+ return ((U = F == null ? void 0 : F.key) == null ? void 0 : U.toUpperCase()) === ((N = (v = Object.keys(p)) == null ? void 0 : v[0]) == null ? void 0 : N.toUpperCase());
1698
1701
  })) == null ? void 0 : f.value,
1699
- contents: (h = Object.values(u)) == null ? void 0 : h[0]
1702
+ contents: (h = Object.values(p)) == null ? void 0 : h[0]
1700
1703
  });
1701
- } else if ((T = (A = Object.keys(u)) == null ? void 0 : A[0]) != null && T.includes("$")) {
1702
- const F = (_ = (D = Object.keys(r(u))) == null ? void 0 : D[0]) == null ? void 0 : _.split("$");
1704
+ } else if ((T = (A = Object.keys(p)) == null ? void 0 : A[0]) != null && T.includes("$")) {
1705
+ const F = (_ = (D = Object.keys(r(p))) == null ? void 0 : D[0]) == null ? void 0 : _.split("$");
1703
1706
  k[(k == null ? void 0 : k.length) - 1].compData.push({
1704
1707
  key: (j = B == null ? void 0 : B.find((U) => {
1705
1708
  var v, N;
1706
1709
  return ((v = U == null ? void 0 : U.key) == null ? void 0 : v.toUpperCase()) === ((N = F == null ? void 0 : F[0]) == null ? void 0 : N.toUpperCase());
1707
1710
  })) == null ? void 0 : j.value,
1708
- contents: (E = Object.values(u)) == null ? void 0 : E[0],
1711
+ contents: (E = Object.values(p)) == null ? void 0 : E[0],
1709
1712
  selectLabel: F == null ? void 0 : F[1]
1710
1713
  });
1711
1714
  }
1712
- return u;
1715
+ return p;
1713
1716
  }), x.contents = k, x;
1714
1717
  })), d;
1715
- }), C;
1718
+ }), g;
1716
1719
  } catch {
1717
1720
  return !1;
1718
1721
  }
1719
- }, $t = (t) => ve(t), At = (t) => !!ve(t), ot = Qe(de), { itemData: Ot } = xe(ot), ct = qe(de), { systemKey: _t, activeMenuPath: xt } = xe(ct), I = R(0), Tt = (t) => t.reduce((l, e) => {
1722
+ }, $t = (t) => Re(t), At = (t) => !!Re(t), ot = Xe(de), { itemData: Ot } = xe(ot), ct = Qe(de), { systemKey: _t, activeMenuPath: xt } = xe(ct), I = R(0), Tt = (t) => t.reduce((l, e) => {
1720
1723
  var a, o;
1721
1724
  const n = Object.values(l);
1722
1725
  return (((a = Object.keys(l)) == null ? void 0 : a.length) === 0 || n[n.length - 1].length >= (e == null ? void 0 : e.width)) && (l[I.value] = [], I.value++), l[I.value - 1].push(e), ((o = Object.keys(l)) == null ? void 0 : o.length) === (e == null ? void 0 : e.width) && (l[I.value] = [], I.value++), l;
@@ -1726,7 +1729,7 @@ export {
1726
1729
  gt as b,
1727
1730
  Ct as c,
1728
1731
  $t as e,
1729
- _l as g,
1732
+ xl as g,
1730
1733
  At as i,
1731
1734
  kt as s
1732
1735
  };