ss-component-new 1.1.61 → 1.1.63

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.
@@ -2,7 +2,7 @@ import { ref as U, onMounted as Ln, watch as de, createElementBlock as re, openB
2
2
  import { g as Mn, c as zn, d as tn, s as Ee, E as Hn, u as In } from "./menu-D6yKPqgS.js";
3
3
  import { u as Ye } from "./modelComp-Cr1QF6ip.js";
4
4
  import { c as v, _ as Re } from "./_plugin-vue_export-helper-B7R8Jogt.js";
5
- import { s as Oe, a as Vn, b as et, f as Wn, E as Fe } from "./index-zogzyMot.js";
5
+ import { s as Te, a as Vn, b as et, f as Wn, E as Fe } from "./index-BtYQ1bjb.js";
6
6
  import { _ as Kn } from "./index.vue_vue_type_script_setup_true_lang-DQ2k4Z7D.js";
7
7
  const Lt = (e, t) => {
8
8
  const n = e.storage || sessionStorage, r = e.key || t.$id;
@@ -126,43 +126,43 @@ const nn = tn("formToTableComp", {
126
126
  },
127
127
  emits: ["change", "contentChange"],
128
128
  setup(e, { emit: t }) {
129
- const n = e, r = t, o = U([]), s = U([]), a = U(""), l = U(), d = U(!0), i = U(0), y = U(!1), c = U(""), O = U(!1), _ = U([]), g = U(!1), A = U([]), p = U([]), h = U(), u = U(), R = nn(he), b = U(), m = Xn(he), { selectIndex: E, selectMenu: S, selectTitle: D } = Ee(m), { selectString: N } = Ee(R), w = U(720), K = () => {
130
- O.value = !1;
131
- }, F = (T) => {
129
+ const n = e, r = t, o = U([]), s = U([]), a = U(""), l = U(), d = U(!0), i = U(0), y = U(!1), c = U(""), T = U(!1), w = U([]), g = U(!1), C = U([]), p = U([]), h = U(), u = U(), R = nn(he), b = U(), m = Xn(he), { selectIndex: E, selectMenu: S, selectTitle: D } = Ee(m), { selectString: N } = Ee(R), O = U(720), K = () => {
130
+ T.value = !1;
131
+ }, F = (A) => {
132
132
  var j, $, x, L, W;
133
- if (J(T), T != null && T.children && Array.isArray(T == null ? void 0 : T.children)) {
133
+ if (J(A), A != null && A.children && Array.isArray(A == null ? void 0 : A.children)) {
134
134
  const q = D.value;
135
- q.push({ key: S.value === "" ? (j = T == null ? void 0 : T.id) == null ? void 0 : j.toString() : S.value + "-" + (($ = T == null ? void 0 : T.id) == null ? void 0 : $.toString()), value: T[(x = Object.keys(T)) == null ? void 0 : x.filter((V) => V !== "index" && V !== "id")[0]] }), m.setSelectMenu(S.value === "" ? (L = T == null ? void 0 : T.id) == null ? void 0 : L.toString() : S.value + "-" + ((W = T == null ? void 0 : T.id) == null ? void 0 : W.toString())), m.setSelectTitle(q), m.setSelectIndex(n != null && n.index ? n == null ? void 0 : n.index.toString() : "");
135
+ q.push({ key: S.value === "" ? (j = A == null ? void 0 : A.id) == null ? void 0 : j.toString() : S.value + "-" + (($ = A == null ? void 0 : A.id) == null ? void 0 : $.toString()), value: A[(x = Object.keys(A)) == null ? void 0 : x.filter((V) => V !== "index" && V !== "id")[0]] }), m.setSelectMenu(S.value === "" ? (L = A == null ? void 0 : A.id) == null ? void 0 : L.toString() : S.value + "-" + ((W = A == null ? void 0 : A.id) == null ? void 0 : W.toString())), m.setSelectTitle(q), m.setSelectIndex(n != null && n.index ? n == null ? void 0 : n.index.toString() : "");
136
136
  }
137
- }, J = (T) => {
137
+ }, J = (A) => {
138
138
  var j, $, x;
139
- if (T != null && T.children && Array.isArray(T == null ? void 0 : T.children)) {
139
+ if (A != null && A.children && Array.isArray(A == null ? void 0 : A.children)) {
140
140
  let L = [];
141
141
  const W = (j = v(h.value)) == null ? void 0 : j.filter((q) => (q == null ? void 0 : q.prop) !== "index");
142
- ($ = T == null ? void 0 : T.children) == null || $.forEach((q, V) => {
142
+ ($ = A == null ? void 0 : A.children) == null || $.forEach((q, V) => {
143
143
  if (!Array.isArray(q))
144
144
  L.push(q);
145
145
  else {
146
146
  let ae = {};
147
- q == null || q.forEach((le, Ce) => {
147
+ q == null || q.forEach((le, _e) => {
148
148
  var xe;
149
- (xe = W == null ? void 0 : W[Ce]) != null && xe.prop ? ae[W[Ce].prop] = le : Array.isArray(le) && (ae.children = le);
149
+ (xe = W == null ? void 0 : W[_e]) != null && xe.prop ? ae[W[_e].prop] = le : Array.isArray(le) && (ae.children = le);
150
150
  }), L.push(Object.assign(ae, { id: V }));
151
151
  }
152
152
  }), o.value = (x = v(o.value)) == null ? void 0 : x.filter((q) => (q == null ? void 0 : q.prop) !== "index"), s.value = L;
153
153
  }
154
- }, z = (T, j) => {
154
+ }, z = (A, j) => {
155
155
  var $;
156
- if (a.value = "", g.value = !0, d.value = !0, T === "删除") {
156
+ if (a.value = "", g.value = !0, d.value = !0, A === "删除") {
157
157
  s.value = ($ = v(s.value)) == null ? void 0 : $.filter((L) => (L == null ? void 0 : L.id) !== (j == null ? void 0 : j.id));
158
158
  const x = Qn(b.value, S.value, j == null ? void 0 : j.id);
159
159
  k(x), r("change", {
160
160
  content: x,
161
161
  index: n == null ? void 0 : n.index,
162
- buttonName: T
162
+ buttonName: A
163
163
  });
164
- } else T === "新增" ? (c.value = "新增", H(""), O.value = !0) : T === "编辑" ? (c.value = "编辑", H(j), O.value = !0) : T === "详情" && (c.value = "详情", H(j), g.value = !1, d.value = !1, O.value = !0);
165
- }, H = (T) => {
164
+ } else A === "新增" ? (c.value = "新增", H(""), T.value = !0) : A === "编辑" ? (c.value = "编辑", H(j), T.value = !0) : A === "详情" && (c.value = "详情", H(j), g.value = !1, d.value = !1, T.value = !0);
165
+ }, H = (A) => {
166
166
  var $;
167
167
  const j = [];
168
168
  ($ = v(o.value)) == null || $.forEach((x, L) => {
@@ -170,106 +170,106 @@ const nn = tn("formToTableComp", {
170
170
  label: (x == null ? void 0 : x.label) ?? "",
171
171
  name: (x == null ? void 0 : x.prop) ?? "t" + L,
172
172
  type: !(x != null && x.type) || (x == null ? void 0 : x.type) === "" ? "Input" : x == null ? void 0 : x.type,
173
- value: (T == null ? void 0 : T[x == null ? void 0 : x.prop]) ?? "",
173
+ value: (A == null ? void 0 : A[x == null ? void 0 : x.prop]) ?? "",
174
174
  id: (x == null ? void 0 : x.id) ?? L,
175
175
  contents: (x == null ? void 0 : x.options) ?? [],
176
176
  width: 1
177
177
  });
178
- }), T === "" || !T || (a.value = T == null ? void 0 : T.id), p.value = j;
178
+ }), A === "" || !A || (a.value = A == null ? void 0 : A.id), p.value = j;
179
179
  };
180
180
  Ln(() => {
181
181
  });
182
182
  const I = () => {
183
- let T = v(s.value);
184
- a.value === "" ? (i.value++, T.push(Object.assign(u.value, { id: i.value }))) : T = T == null ? void 0 : T.map(($) => (($ == null ? void 0 : $.id) === a.value && ($ = Object.assign($, u.value)), $)), s.value = T;
185
- const j = er(b.value, S.value, T);
186
- k(j), O.value = !1, r("change", {
183
+ let A = v(s.value);
184
+ a.value === "" ? (i.value++, A.push(Object.assign(u.value, { id: i.value }))) : A = A == null ? void 0 : A.map(($) => (($ == null ? void 0 : $.id) === a.value && ($ = Object.assign($, u.value)), $)), s.value = A;
185
+ const j = er(b.value, S.value, A);
186
+ k(j), T.value = !1, r("change", {
187
187
  content: j,
188
188
  index: n == null ? void 0 : n.index,
189
189
  buttonName: c.value
190
190
  });
191
- }, k = (T) => {
191
+ }, k = (A) => {
192
192
  var $;
193
- const j = ($ = v(n.itemData)) == null ? void 0 : $.map((x) => ((x == null ? void 0 : x.key) === "tableContents" && (x.contents = T), x));
193
+ const j = ($ = v(n.itemData)) == null ? void 0 : $.map((x) => ((x == null ? void 0 : x.key) === "tableContents" && (x.contents = A), x));
194
194
  r("contentChange", {
195
195
  contents: j,
196
196
  index: n.index
197
197
  });
198
- }, Q = (T) => {
199
- u.value = T;
198
+ }, Q = (A) => {
199
+ u.value = A;
200
200
  };
201
201
  return de(
202
202
  () => [n.itemData, N.value, E.value, S.value],
203
203
  () => {
204
- var ae, le, Ce, xe, wt, Ot, Tt, At, Ct, xt, Dt, Ft, Nt, Pt, Ut, Bt, jt, $t;
205
- const T = (ae = v(n.itemData)) == null ? void 0 : ae.filter((P) => (P == null ? void 0 : P.key) === "header"), j = (le = v(n.itemData)) == null ? void 0 : le.find((P) => (P == null ? void 0 : P.key) === "page"), $ = (Ce = v(n.itemData)) == null ? void 0 : Ce.find((P) => (P == null ? void 0 : P.key) === "rowButton"), x = (xe = v(n.itemData)) == null ? void 0 : xe.find((P) => (P == null ? void 0 : P.key) === "extraButton"), L = (wt = v(n.itemData)) == null ? void 0 : wt.filter((P) => (P == null ? void 0 : P.key) === "tableContents"), W = (Ot = v(n.itemData)) == null ? void 0 : Ot.filter((P) => (P == null ? void 0 : P.key) === "tableIndex");
204
+ var ae, le, _e, xe, Ot, Tt, At, Ct, _t, xt, Dt, Ft, Nt, Pt, Ut, Bt, jt, $t;
205
+ const A = (ae = v(n.itemData)) == null ? void 0 : ae.filter((P) => (P == null ? void 0 : P.key) === "header"), j = (le = v(n.itemData)) == null ? void 0 : le.find((P) => (P == null ? void 0 : P.key) === "page"), $ = (_e = v(n.itemData)) == null ? void 0 : _e.find((P) => (P == null ? void 0 : P.key) === "rowButton"), x = (xe = v(n.itemData)) == null ? void 0 : xe.find((P) => (P == null ? void 0 : P.key) === "extraButton"), L = (Ot = v(n.itemData)) == null ? void 0 : Ot.filter((P) => (P == null ? void 0 : P.key) === "tableContents"), W = (Tt = v(n.itemData)) == null ? void 0 : Tt.filter((P) => (P == null ? void 0 : P.key) === "tableIndex");
206
206
  y.value = (j == null ? void 0 : j.contents) ?? !0;
207
207
  let q = [];
208
- N.value === "" ? q = T == null ? void 0 : T[0] : q = (T == null ? void 0 : T.find((P) => (P == null ? void 0 : P.selectLabel) === "(" + N.value + ")")) ?? (T == null ? void 0 : T.find((P) => !(P != null && P.selectLabel)));
208
+ N.value === "" ? q = A == null ? void 0 : A[0] : q = (A == null ? void 0 : A.find((P) => (P == null ? void 0 : P.selectLabel) === "(" + N.value + ")")) ?? (A == null ? void 0 : A.find((P) => !(P != null && P.selectLabel)));
209
209
  let V = [];
210
- if (N.value === "" ? V = W == null ? void 0 : W[0] : V = (W == null ? void 0 : W.find((P) => (P == null ? void 0 : P.selectLabel) === "(" + N.value + ")")) ?? (W == null ? void 0 : W.find((P) => !(P != null && P.selectLabel))), ((Tt = q == null ? void 0 : q.contents) == null ? void 0 : Tt.length) > 0) {
210
+ if (N.value === "" ? V = W == null ? void 0 : W[0] : V = (W == null ? void 0 : W.find((P) => (P == null ? void 0 : P.selectLabel) === "(" + N.value + ")")) ?? (W == null ? void 0 : W.find((P) => !(P != null && P.selectLabel))), ((At = q == null ? void 0 : q.contents) == null ? void 0 : At.length) > 0) {
211
211
  const P = [];
212
- V != null && V.contents && ((At = V == null ? void 0 : V.contents) == null ? void 0 : At.length) !== 0 && P.push({
212
+ V != null && V.contents && ((Ct = V == null ? void 0 : V.contents) == null ? void 0 : Ct.length) !== 0 && P.push({
213
213
  label: "",
214
214
  prop: "index",
215
215
  sortable: !1
216
- }), (Ct = q == null ? void 0 : q.contents) == null || Ct.forEach((C, fe) => {
217
- (C == null ? void 0 : C.label) !== "" && P.push({
218
- label: (C == null ? void 0 : C.label) ?? "",
219
- prop: (C == null ? void 0 : C.label) === "操作" ? "operate" : (C == null ? void 0 : C.prop) ?? "a" + fe,
220
- width: C != null && C.width ? parseInt(C.width) : "",
221
- fixed: (C == null ? void 0 : C.fixed) ?? void 0,
222
- sortable: (C == null ? void 0 : C.sortable) ?? !1,
223
- align: (C == null ? void 0 : C.align) ?? "center",
224
- showOverflowTooltip: (C == null ? void 0 : C.showOverflowTooltip) ?? !0,
225
- isNotDrag: (C == null ? void 0 : C.isNotDrag) ?? !1,
226
- isEditCol: (C == null ? void 0 : C.isEditCol) ?? !1,
227
- isOperate: (C == null ? void 0 : C.isOperate) ?? !1,
228
- id: (C == null ? void 0 : C.id) ?? fe,
229
- type: (C == null ? void 0 : C.label) === "操作" ? "operate" : void 0
216
+ }), (_t = q == null ? void 0 : q.contents) == null || _t.forEach((_, fe) => {
217
+ (_ == null ? void 0 : _.label) !== "" && P.push({
218
+ label: (_ == null ? void 0 : _.label) ?? "",
219
+ prop: (_ == null ? void 0 : _.label) === "操作" ? "operate" : (_ == null ? void 0 : _.prop) ?? "a" + fe,
220
+ width: _ != null && _.width ? parseInt(_.width) : "",
221
+ fixed: (_ == null ? void 0 : _.fixed) ?? void 0,
222
+ sortable: (_ == null ? void 0 : _.sortable) ?? !1,
223
+ align: (_ == null ? void 0 : _.align) ?? "center",
224
+ showOverflowTooltip: (_ == null ? void 0 : _.showOverflowTooltip) ?? !0,
225
+ isNotDrag: (_ == null ? void 0 : _.isNotDrag) ?? !1,
226
+ isEditCol: (_ == null ? void 0 : _.isEditCol) ?? !1,
227
+ isOperate: (_ == null ? void 0 : _.isOperate) ?? !1,
228
+ id: (_ == null ? void 0 : _.id) ?? fe,
229
+ type: (_ == null ? void 0 : _.label) === "操作" ? "operate" : void 0
230
230
  });
231
231
  }), o.value = P;
232
- let ye = (Dt = (xt = v(o.value)) == null ? void 0 : xt.filter((C) => (C == null ? void 0 : C.type) !== "operate")) == null ? void 0 : Dt.map((C, fe) => ({
233
- prop: (C == null ? void 0 : C.prop) ?? "a" + fe
232
+ let ye = (Dt = (xt = v(o.value)) == null ? void 0 : xt.filter((_) => (_ == null ? void 0 : _.type) !== "operate")) == null ? void 0 : Dt.map((_, fe) => ({
233
+ prop: (_ == null ? void 0 : _.prop) ?? "a" + fe
234
234
  }));
235
235
  h.value = ye;
236
236
  let me = [];
237
- if (N.value === "" ? me = L == null ? void 0 : L[0] : me = (L == null ? void 0 : L.find((C) => (C == null ? void 0 : C.selectLabel) === "(" + N.value + ")")) ?? (L == null ? void 0 : L.find((C) => !(C != null && C.selectLabel))), ((Ft = me == null ? void 0 : me.contents) == null ? void 0 : Ft.length) !== 0) {
238
- let C = v(me == null ? void 0 : me.contents);
239
- V != null && V.contents && ((Nt = V == null ? void 0 : V.contents) == null ? void 0 : Nt.length) !== 0 && (C = (Pt = v(C)) == null ? void 0 : Pt.map((ie, it) => {
240
- var _e, we;
237
+ if (N.value === "" ? me = L == null ? void 0 : L[0] : me = (L == null ? void 0 : L.find((_) => (_ == null ? void 0 : _.selectLabel) === "(" + N.value + ")")) ?? (L == null ? void 0 : L.find((_) => !(_ != null && _.selectLabel))), ((Ft = me == null ? void 0 : me.contents) == null ? void 0 : Ft.length) !== 0) {
238
+ let _ = v(me == null ? void 0 : me.contents);
239
+ V != null && V.contents && ((Nt = V == null ? void 0 : V.contents) == null ? void 0 : Nt.length) !== 0 && (_ = (Pt = v(_)) == null ? void 0 : Pt.map((ie, it) => {
240
+ var we, Oe;
241
241
  if (!Array.isArray(ie)) {
242
242
  let De = {};
243
243
  for (let be in ie)
244
244
  be !== "id" && be !== "index" && (De[be] = ie[be]);
245
245
  ie = Object.values(De);
246
246
  }
247
- return ie.unshift(((we = (_e = V == null ? void 0 : V.contents) == null ? void 0 : _e[it]) == null ? void 0 : we.label) ?? ""), ie;
247
+ return ie.unshift(((Oe = (we = V == null ? void 0 : V.contents) == null ? void 0 : we[it]) == null ? void 0 : Oe.label) ?? ""), ie;
248
248
  }));
249
249
  const fe = [];
250
- C == null || C.forEach((ie, it) => {
251
- let _e = {};
252
- ie == null || ie.forEach((we, De) => {
250
+ _ == null || _.forEach((ie, it) => {
251
+ let we = {};
252
+ ie == null || ie.forEach((Oe, De) => {
253
253
  var be;
254
- (be = ye == null ? void 0 : ye[De]) != null && be.prop ? _e[ye[De].prop] = we : Array.isArray(we) && (_e.children = on(we, ye));
255
- }), fe.push(Object.assign(_e, { id: it }));
254
+ (be = ye == null ? void 0 : ye[De]) != null && be.prop ? we[ye[De].prop] = Oe : Array.isArray(Oe) && (we.children = on(Oe, ye));
255
+ }), fe.push(Object.assign(we, { id: it }));
256
256
  }), s.value = fe;
257
257
  } else {
258
- let C = (Ut = v(ye)) == null ? void 0 : Ut.reduce((fe, ie) => (fe[ie.prop] = "测试数据", fe), {});
259
- l.value = C, s.value = [Object.assign({}, l.value, { id: i.value })];
258
+ let _ = (Ut = v(ye)) == null ? void 0 : Ut.reduce((fe, ie) => (fe[ie.prop] = "测试数据", fe), {});
259
+ l.value = _, s.value = [Object.assign({}, l.value, { id: i.value })];
260
260
  }
261
261
  } else
262
262
  o.value = [], s.value = [];
263
- if (((Bt = $ == null ? void 0 : $.contents) == null ? void 0 : Bt.length) > 0 ? _.value = $ == null ? void 0 : $.contents : _.value = [], ((jt = x == null ? void 0 : x.contents) == null ? void 0 : jt.length) > 0 ? A.value = x == null ? void 0 : x.contents : A.value = [], i.value = (($t = s == null ? void 0 : s.value) == null ? void 0 : $t.length) ?? 0, E.value !== "") {
263
+ if (((Bt = $ == null ? void 0 : $.contents) == null ? void 0 : Bt.length) > 0 ? w.value = $ == null ? void 0 : $.contents : w.value = [], ((jt = x == null ? void 0 : x.contents) == null ? void 0 : jt.length) > 0 ? C.value = x == null ? void 0 : x.contents : C.value = [], i.value = (($t = s == null ? void 0 : s.value) == null ? void 0 : $t.length) ?? 0, E.value !== "") {
264
264
  const P = Zn(v(s.value), S.value);
265
265
  b.value = s.value, J(P);
266
266
  }
267
267
  },
268
268
  { deep: !0, immediate: !0 }
269
- ), (T, j) => {
269
+ ), (A, j) => {
270
270
  var $;
271
271
  return X(), re("div", nr, [
272
- (X(), Be(Oe, {
272
+ (X(), Be(Te, {
273
273
  columns: o.value,
274
274
  key: o.value,
275
275
  tableData: s.value,
@@ -277,13 +277,13 @@ const nn = tn("formToTableComp", {
277
277
  isShowEdit: !1,
278
278
  isShowDelete: !1,
279
279
  onDbClickRow: F,
280
- extraButton: A.value,
280
+ extraButton: C.value,
281
281
  onButtonClick: j[0] || (j[0] = (x) => z(x, ""))
282
282
  }, qn({ _: 2 }, [
283
- (($ = _.value) == null ? void 0 : $.length) > 0 ? {
283
+ (($ = w.value) == null ? void 0 : $.length) > 0 ? {
284
284
  name: "actions",
285
285
  fn: ce(({ item: x }) => [
286
- (X(!0), re(Ze, null, Qe(_.value, (L, W) => (X(), re("div", { key: W }, [
286
+ (X(!0), re(Ze, null, Qe(w.value, (L, W) => (X(), re("div", { key: W }, [
287
287
  M("div", {
288
288
  style: Jn({ color: L == null ? void 0 : L.textColor }),
289
289
  class: "extra-button-label",
@@ -296,8 +296,8 @@ const nn = tn("formToTableComp", {
296
296
  ]), 1032, ["columns", "tableData", "isShowPagination", "extraButton"])),
297
297
  Y(Vn, {
298
298
  title: c.value,
299
- visible: O.value,
300
- width: w.value,
299
+ visible: T.value,
300
+ width: O.value,
301
301
  onBeforeDestroy: K
302
302
  }, {
303
303
  default: ce(() => [
@@ -311,7 +311,7 @@ const nn = tn("formToTableComp", {
311
311
  footer: ce(() => [
312
312
  g.value ? (X(), re("div", or, [
313
313
  M("div", {
314
- onClick: j[1] || (j[1] = (x) => O.value = !1),
314
+ onClick: j[1] || (j[1] = (x) => T.value = !1),
315
315
  class: "cancel-button"
316
316
  }, Z("取消")),
317
317
  M("div", {
@@ -359,59 +359,59 @@ const nn = tn("formToTableComp", {
359
359
  setup(e, { emit: t }) {
360
360
  const n = e, r = t, o = U([]), s = U(!1), a = U([]), l = nn(he), d = U(), i = (c) => {
361
361
  var p, h, u, R;
362
- const O = (h = (p = v(n.itemData)) == null ? void 0 : p.find((b) => (b == null ? void 0 : b.key) === "formContent")) == null ? void 0 : h.contents, _ = v(c.content);
362
+ const T = (h = (p = v(n.itemData)) == null ? void 0 : p.find((b) => (b == null ? void 0 : b.key) === "formContent")) == null ? void 0 : h.contents, w = v(c.content);
363
363
  let g = {};
364
- _ && ((u = Object.values(_)) == null ? void 0 : u.length) > 0 && ((R = Object.values(_)) == null || R.forEach((b, m) => {
365
- g[O[m].key] = b;
364
+ w && ((u = Object.values(w)) == null ? void 0 : u.length) > 0 && ((R = Object.values(w)) == null || R.forEach((b, m) => {
365
+ g[T[m].key] = b;
366
366
  }));
367
- const A = {
367
+ const C = {
368
368
  content: g,
369
369
  index: n == null ? void 0 : n.index,
370
370
  buttonName: c == null ? void 0 : c.buttonName
371
371
  };
372
- r("change", A);
372
+ r("change", C);
373
373
  }, y = (c) => {
374
- var g, A;
374
+ var g, C;
375
375
  if (!c) return;
376
376
  if (((g = Object.values(v(c))) == null ? void 0 : g.length) > 0) {
377
- const p = (A = Object.values(v(c))) == null ? void 0 : A.map((u) => u);
377
+ const p = (C = Object.values(v(c))) == null ? void 0 : C.map((u) => u);
378
378
  let h = "";
379
379
  p == null || p.forEach((u) => {
380
380
  u !== "" && u !== void 0 && (h = h === "" ? u : h + "/" + u);
381
381
  }), l.setSelectArray(p), l.setSelectString(h);
382
382
  }
383
- const O = v(n.itemData), _ = O == null ? void 0 : O.map((p) => {
383
+ const T = v(n.itemData), w = T == null ? void 0 : T.map((p) => {
384
384
  var h;
385
385
  return (p == null ? void 0 : p.key) === "formContent" && ((h = p.contents) == null || h.map((u, R) => {
386
- var b, m, E, S, D, N, w, K, F, J, z, H, I, k;
386
+ var b, m, E, S, D, N, O, K, F, J, z, H, I, k;
387
387
  return u.type = u != null && u.type ? u.type : (E = (m = (b = u == null ? void 0 : u.key.split("$")) == null ? void 0 : b[1]) == null ? void 0 : m.split("(")) != null && E[0] ? (S = qe == null ? void 0 : qe.find((Q) => {
388
- var T, j, $;
389
- return (Q == null ? void 0 : Q.key) === (($ = (j = (T = u == null ? void 0 : u.key.split("$")) == null ? void 0 : T[1]) == null ? void 0 : j.split("(")) == null ? void 0 : $[0]);
390
- })) == null ? void 0 : S.value : "Input", u.options = u != null && u.options ? u.options : ((N = (D = u == null ? void 0 : u.key.split("$")) == null ? void 0 : D[1]) == null ? void 0 : N.length) > 0 ? (F = (K = Wn((w = u == null ? void 0 : u.key.split("$")) == null ? void 0 : w[1])) == null ? void 0 : K.split(",")) == null ? void 0 : F.map((Q) => ({
388
+ var A, j, $;
389
+ return (Q == null ? void 0 : Q.key) === (($ = (j = (A = u == null ? void 0 : u.key.split("$")) == null ? void 0 : A[1]) == null ? void 0 : j.split("(")) == null ? void 0 : $[0]);
390
+ })) == null ? void 0 : S.value : "Input", u.options = u != null && u.options ? u.options : ((N = (D = u == null ? void 0 : u.key.split("$")) == null ? void 0 : D[1]) == null ? void 0 : N.length) > 0 ? (F = (K = Wn((O = u == null ? void 0 : u.key.split("$")) == null ? void 0 : O[1])) == null ? void 0 : K.split(",")) == null ? void 0 : F.map((Q) => ({
391
391
  label: Q,
392
392
  value: Q
393
393
  })) : [], u != null && u.key.includes("$") && (u.key = (J = u == null ? void 0 : u.key.split("$")) == null ? void 0 : J[0]), u.value = u != null && u.value ? u.value : Array.isArray((z = Object.values(c)) == null ? void 0 : z[R]) ? (I = (H = Object.values(c)) == null ? void 0 : H[R]) == null ? void 0 : I[0] : (k = Object.values(c)) == null ? void 0 : k[R], u;
394
394
  })), p;
395
395
  });
396
396
  r("contentChange", {
397
- contents: _,
397
+ contents: w,
398
398
  index: n.index
399
399
  });
400
400
  };
401
401
  return de(
402
402
  () => n.itemData,
403
403
  () => {
404
- var A, p, h, u, R, b, m, E, S, D;
405
- const c = (A = v(n.itemData)) == null ? void 0 : A.find((N) => (N == null ? void 0 : N.key) === "formContent"), O = (p = v(n.itemData)) == null ? void 0 : p.find((N) => (N == null ? void 0 : N.key) === "formButton"), _ = (h = v(n.itemData)) == null ? void 0 : h.find((N) => (N == null ? void 0 : N.key) === "formFlex"), g = (u = v(n.itemData)) == null ? void 0 : u.find((N) => (N == null ? void 0 : N.key) === "formWrap");
406
- if ((g == null ? void 0 : g.contents) === "纵向" ? s.value = !1 : s.value = !0, d.value = typeof (_ == null ? void 0 : _.contents) != "boolean" ? !(!(_ != null && _.contents) === "" || ((R = _ == null ? void 0 : _.contents) == null ? void 0 : R.toUpperCase()) === "VERTICAL") : _ == null ? void 0 : _.contents, ((b = c == null ? void 0 : c.contents) == null ? void 0 : b.length) > 0 && Array.isArray(c == null ? void 0 : c.contents)) {
404
+ var C, p, h, u, R, b, m, E, S, D;
405
+ const c = (C = v(n.itemData)) == null ? void 0 : C.find((N) => (N == null ? void 0 : N.key) === "formContent"), T = (p = v(n.itemData)) == null ? void 0 : p.find((N) => (N == null ? void 0 : N.key) === "formButton"), w = (h = v(n.itemData)) == null ? void 0 : h.find((N) => (N == null ? void 0 : N.key) === "formFlex"), g = (u = v(n.itemData)) == null ? void 0 : u.find((N) => (N == null ? void 0 : N.key) === "formWrap");
406
+ if ((g == null ? void 0 : g.contents) === "纵向" ? s.value = !1 : s.value = !0, d.value = typeof (w == null ? void 0 : w.contents) != "boolean" ? !(!(w != null && w.contents) === "" || ((R = w == null ? void 0 : w.contents) == null ? void 0 : R.toUpperCase()) === "VERTICAL") : w == null ? void 0 : w.contents, ((b = c == null ? void 0 : c.contents) == null ? void 0 : b.length) > 0 && Array.isArray(c == null ? void 0 : c.contents)) {
407
407
  const N = [];
408
408
  (m = c == null ? void 0 : c.contents) == null || m.forEach((F, J) => {
409
- var z, H, I, k, Q, T, j, $, x;
409
+ var z, H, I, k, Q, A, j, $, x;
410
410
  if ((F == null ? void 0 : F.label) !== "") {
411
411
  let L = (F == null ? void 0 : F.key) ?? "", W = (F == null ? void 0 : F.type) ?? "", q = (F == null ? void 0 : F.options) ?? [];
412
412
  if (F != null && F.key.includes("$") && (L = (z = v(F == null ? void 0 : F.key).split("$")) == null ? void 0 : z[0], ((I = (H = v(F == null ? void 0 : F.key).split("$")) == null ? void 0 : H[1]) == null ? void 0 : I.length) > 0)) {
413
413
  const [V, ae] = (Q = (k = v(F == null ? void 0 : F.key).split("$")) == null ? void 0 : k[1]) == null ? void 0 : Q.split(/[()]/);
414
- W = ((T = qe.find((le) => (le == null ? void 0 : le.key) === V)) == null ? void 0 : T.value) ?? "", ((j = ae == null ? void 0 : ae.split(",")) == null ? void 0 : j.length) > 0 && (q = ($ = ae == null ? void 0 : ae.split(",")) == null ? void 0 : $.map((le) => ({
414
+ W = ((A = qe.find((le) => (le == null ? void 0 : le.key) === V)) == null ? void 0 : A.value) ?? "", ((j = ae == null ? void 0 : ae.split(",")) == null ? void 0 : j.length) > 0 && (q = ($ = ae == null ? void 0 : ae.split(",")) == null ? void 0 : $.map((le) => ({
415
415
  label: le,
416
416
  value: le
417
417
  })));
@@ -427,28 +427,28 @@ const nn = tn("formToTableComp", {
427
427
  });
428
428
  }
429
429
  });
430
- const w = (E = v(N)) == null ? void 0 : E.map((F) => F.value);
430
+ const O = (E = v(N)) == null ? void 0 : E.map((F) => F.value);
431
431
  let K = "";
432
- w == null || w.forEach((F) => {
432
+ O == null || O.forEach((F) => {
433
433
  F !== "" && F !== void 0 && (K = K === "" ? F : K + "/" + F);
434
- }), l.setSelectArray(w), l.setSelectString(K), o.value = N;
434
+ }), l.setSelectArray(O), l.setSelectString(K), o.value = N;
435
435
  } else
436
436
  o.value = [];
437
- if (((S = O == null ? void 0 : O.contents) == null ? void 0 : S.length) > 0) {
437
+ if (((S = T == null ? void 0 : T.contents) == null ? void 0 : S.length) > 0) {
438
438
  const N = [];
439
- (D = O == null ? void 0 : O.contents) == null || D.forEach((w, K) => {
440
- (w == null ? void 0 : w.label) !== "" && N.push({
441
- label: (w == null ? void 0 : w.label) ?? "",
442
- id: (w == null ? void 0 : w.id) ?? K,
443
- type: (w == null ? void 0 : w.type) ?? "",
444
- background: w == null ? void 0 : w.background
439
+ (D = T == null ? void 0 : T.contents) == null || D.forEach((O, K) => {
440
+ (O == null ? void 0 : O.label) !== "" && N.push({
441
+ label: (O == null ? void 0 : O.label) ?? "",
442
+ id: (O == null ? void 0 : O.id) ?? K,
443
+ type: (O == null ? void 0 : O.type) ?? "",
444
+ background: O == null ? void 0 : O.background
445
445
  });
446
446
  }), a.value = N;
447
447
  } else
448
448
  a.value = [];
449
449
  },
450
450
  { deep: !0, immediate: !0 }
451
- ), (c, O) => (X(), re("div", lr, [
451
+ ), (c, T) => (X(), re("div", lr, [
452
452
  Y(et, {
453
453
  rowContents: o.value,
454
454
  buttonValue: a.value,
@@ -515,7 +515,7 @@ const nn = tn("formToTableComp", {
515
515
  label: "是否显示分页",
516
516
  type: "Switch",
517
517
  value: !0
518
- }]), O = [{
518
+ }]), T = [{
519
519
  label: "标签名",
520
520
  prop: "label",
521
521
  type: "edit"
@@ -587,7 +587,7 @@ const nn = tn("formToTableComp", {
587
587
  prop: "operate",
588
588
  type: "operate",
589
589
  sortable: !1
590
- }], _ = (b) => {
590
+ }], w = (b) => {
591
591
  let m = v(o.value);
592
592
  const E = m == null ? void 0 : m.find((S) => S.key === "page");
593
593
  (E == null ? void 0 : E.contents) !== void 0 ? m = m == null ? void 0 : m.map((S) => ((S == null ? void 0 : S.key) === "page" && (S.contents = b == null ? void 0 : b.isPagination), S)) : m.push({
@@ -598,8 +598,8 @@ const nn = tn("formToTableComp", {
598
598
  de(
599
599
  () => n.originalItemContents,
600
600
  () => {
601
- var b, m, E, S, D, N, w, K, F, J, z, H, I;
602
- !n.originalItemContents || n.originalItemContents.length === 0 || (o.value = v(n.originalItemContents), s.value = (m = (b = o.value) == null ? void 0 : b.find((k) => (k == null ? void 0 : k.key) === "header")) == null ? void 0 : m.contents, a.value = (S = (E = o.value) == null ? void 0 : E.find((k) => (k == null ? void 0 : k.key) === "rowButton")) == null ? void 0 : S.contents, l.value = (N = (D = o.value) == null ? void 0 : D.find((k) => (k == null ? void 0 : k.key) === "extraButton")) == null ? void 0 : N.contents, c.value = (K = (w = o.value) == null ? void 0 : w.find((k) => (k == null ? void 0 : k.key) === "page")) != null && K.contents ? [{
601
+ var b, m, E, S, D, N, O, K, F, J, z, H, I;
602
+ !n.originalItemContents || n.originalItemContents.length === 0 || (o.value = v(n.originalItemContents), s.value = (m = (b = o.value) == null ? void 0 : b.find((k) => (k == null ? void 0 : k.key) === "header")) == null ? void 0 : m.contents, a.value = (S = (E = o.value) == null ? void 0 : E.find((k) => (k == null ? void 0 : k.key) === "rowButton")) == null ? void 0 : S.contents, l.value = (N = (D = o.value) == null ? void 0 : D.find((k) => (k == null ? void 0 : k.key) === "extraButton")) == null ? void 0 : N.contents, c.value = (K = (O = o.value) == null ? void 0 : O.find((k) => (k == null ? void 0 : k.key) === "page")) != null && K.contents ? [{
603
603
  name: "isPagination",
604
604
  label: "是否显示分页",
605
605
  type: "Switch",
@@ -671,7 +671,7 @@ const nn = tn("formToTableComp", {
671
671
  key: "header",
672
672
  contents: b
673
673
  }), o.value = m;
674
- }, A = () => {
674
+ }, C = () => {
675
675
  const b = v(a.value);
676
676
  let m = v(o.value);
677
677
  b.push({
@@ -743,13 +743,12 @@ const nn = tn("formToTableComp", {
743
743
  default: ce(() => m[0] || (m[0] = [
744
744
  Ue(Z("新建"))
745
745
  ])),
746
- _: 1,
747
- __: [0]
746
+ _: 1
748
747
  })
749
748
  ]),
750
749
  M("div", dr, [
751
- Y(Oe, {
752
- columns: O,
750
+ Y(Te, {
751
+ columns: T,
753
752
  isShowPagination: !1,
754
753
  isShowEdit: !1,
755
754
  isMoveColumn: !1,
@@ -762,17 +761,16 @@ const nn = tn("formToTableComp", {
762
761
  Y(E, {
763
762
  class: "blue-operate-button",
764
763
  icon: "ele-Plus",
765
- onClick: A
764
+ onClick: C
766
765
  }, {
767
766
  default: ce(() => m[2] || (m[2] = [
768
767
  Ue(Z("新建"))
769
768
  ])),
770
- _: 1,
771
- __: [2]
769
+ _: 1
772
770
  })
773
771
  ]),
774
772
  M("div", mr, [
775
- Y(Oe, {
773
+ Y(Te, {
776
774
  columns: d.value,
777
775
  isShowPagination: !1,
778
776
  isShowEdit: !1,
@@ -791,12 +789,11 @@ const nn = tn("formToTableComp", {
791
789
  default: ce(() => m[4] || (m[4] = [
792
790
  Ue(Z("新建"))
793
791
  ])),
794
- _: 1,
795
- __: [4]
792
+ _: 1
796
793
  })
797
794
  ]),
798
795
  M("div", br, [
799
- Y(Oe, {
796
+ Y(Te, {
800
797
  columns: l.value,
801
798
  isShowPagination: !1,
802
799
  isShowEdit: !1,
@@ -811,14 +808,14 @@ const nn = tn("formToTableComp", {
811
808
  M("div", gr, [
812
809
  Y(et, {
813
810
  rowContents: c.value,
814
- onChange: _
811
+ onChange: w
815
812
  }, null, 8, ["rowContents"])
816
813
  ])
817
814
  ])
818
815
  ]);
819
816
  };
820
817
  }
821
- }, kr = /* @__PURE__ */ Re(vr, [["__scopeId", "data-v-877911eb"]]), Er = { class: "form-operate-content" }, Sr = { class: "form-operate-item" }, Rr = { class: "operate-title" }, _r = { class: "operate-content" }, wr = { class: "operate-title" }, Or = { class: "operate-content" }, Tr = { class: "operate-content" }, Ar = {
818
+ }, kr = /* @__PURE__ */ Re(vr, [["__scopeId", "data-v-877911eb"]]), Er = { class: "form-operate-content" }, Sr = { class: "form-operate-item" }, Rr = { class: "operate-title" }, wr = { class: "operate-content" }, Or = { class: "operate-title" }, Tr = { class: "operate-content" }, Ar = { class: "operate-content" }, Cr = {
822
819
  __name: "operate",
823
820
  props: {
824
821
  itemContents: {
@@ -881,22 +878,22 @@ const nn = tn("formToTableComp", {
881
878
  () => n.originalItemContents,
882
879
  () => {
883
880
  var p, h, u, R, b, m, E, S, D, N;
884
- !n.originalItemContents || n.originalItemContents.length === 0 || (d.value = v(n.originalItemContents), i.value = (h = (p = d.value) == null ? void 0 : p.find((w) => (w == null ? void 0 : w.key) === "formContent")) == null ? void 0 : h.contents, l.value = (R = (u = d.value) == null ? void 0 : u.find((w) => (w == null ? void 0 : w.key) === "formButton")) == null ? void 0 : R.contents, i.value = (b = i.value) == null ? void 0 : b.map((w, K) => w = {
885
- label: (w == null ? void 0 : w.label) ?? "",
886
- type: (w == null ? void 0 : w.type) ?? "",
887
- key: (w == null ? void 0 : w.key) ?? "",
888
- options: (w == null ? void 0 : w.options) ?? "",
889
- id: (w == null ? void 0 : w.id) ?? K
890
- }), l.value = (m = l.value) == null ? void 0 : m.map((w, K) => w = {
891
- label: (w == null ? void 0 : w.label) ?? "",
892
- type: (w == null ? void 0 : w.type) ?? "",
893
- background: (w == null ? void 0 : w.background) ?? "#000000",
894
- id: (w == null ? void 0 : w.id) ?? K
895
- }), o.value = (S = (E = d.value) == null ? void 0 : E.find((w) => (w == null ? void 0 : w.key) === "formFlex")) != null && S.contents ? [{
881
+ !n.originalItemContents || n.originalItemContents.length === 0 || (d.value = v(n.originalItemContents), i.value = (h = (p = d.value) == null ? void 0 : p.find((O) => (O == null ? void 0 : O.key) === "formContent")) == null ? void 0 : h.contents, l.value = (R = (u = d.value) == null ? void 0 : u.find((O) => (O == null ? void 0 : O.key) === "formButton")) == null ? void 0 : R.contents, i.value = (b = i.value) == null ? void 0 : b.map((O, K) => O = {
882
+ label: (O == null ? void 0 : O.label) ?? "",
883
+ type: (O == null ? void 0 : O.type) ?? "",
884
+ key: (O == null ? void 0 : O.key) ?? "",
885
+ options: (O == null ? void 0 : O.options) ?? "",
886
+ id: (O == null ? void 0 : O.id) ?? K
887
+ }), l.value = (m = l.value) == null ? void 0 : m.map((O, K) => O = {
888
+ label: (O == null ? void 0 : O.label) ?? "",
889
+ type: (O == null ? void 0 : O.type) ?? "",
890
+ background: (O == null ? void 0 : O.background) ?? "#000000",
891
+ id: (O == null ? void 0 : O.id) ?? K
892
+ }), o.value = (S = (E = d.value) == null ? void 0 : E.find((O) => (O == null ? void 0 : O.key) === "formFlex")) != null && S.contents ? [{
896
893
  name: "isRowFlex",
897
894
  label: "是否横向布局",
898
895
  type: "Switch",
899
- value: (N = (D = d.value) == null ? void 0 : D.find((w) => (w == null ? void 0 : w.key) === "formFlex")) == null ? void 0 : N.contents
896
+ value: (N = (D = d.value) == null ? void 0 : D.find((O) => (O == null ? void 0 : O.key) === "formFlex")) == null ? void 0 : N.contents
900
897
  }] : [{
901
898
  name: "isRowFlex",
902
899
  label: "是否横向布局",
@@ -920,7 +917,7 @@ const nn = tn("formToTableComp", {
920
917
  key: "formButton",
921
918
  contents: p
922
919
  }), d.value = h;
923
- }, O = () => {
920
+ }, T = () => {
924
921
  const p = v(i.value);
925
922
  let h = v(d.value);
926
923
  p.push({
@@ -935,7 +932,7 @@ const nn = tn("formToTableComp", {
935
932
  key: "formContent",
936
933
  contents: p
937
934
  }), d.value = h;
938
- }, _ = (p) => {
935
+ }, w = (p) => {
939
936
  const h = v(l.value);
940
937
  let u = v(d.value);
941
938
  l.value = h.filter((b) => b.id !== p.id);
@@ -947,7 +944,7 @@ const nn = tn("formToTableComp", {
947
944
  i.value = h.filter((b) => b.id !== p.id);
948
945
  const R = u == null ? void 0 : u.find((b) => b.key === "formContent");
949
946
  R != null && R.contents && (u = u == null ? void 0 : u.map((b) => ((b == null ? void 0 : b.key) === "formContent" && (b.contents = h.filter((m) => m.id !== p.id)), b))), d.value = u;
950
- }, A = (p) => {
947
+ }, C = (p) => {
951
948
  let h = v(d.value);
952
949
  const u = h == null ? void 0 : h.find((R) => R.key === "formFlex");
953
950
  (u == null ? void 0 : u.contents) !== void 0 ? h = h == null ? void 0 : h.map((R) => ((R == null ? void 0 : R.key) === "formFlex" && (R.contents = p == null ? void 0 : p.isRowFlex), R)) : h.push({
@@ -975,17 +972,16 @@ const nn = tn("formToTableComp", {
975
972
  Y(u, {
976
973
  class: "blue-operate-button",
977
974
  icon: "ele-Plus",
978
- onClick: O
975
+ onClick: T
979
976
  }, {
980
977
  default: ce(() => h[0] || (h[0] = [
981
978
  Ue(Z("新建"))
982
979
  ])),
983
- _: 1,
984
- __: [0]
980
+ _: 1
985
981
  })
986
982
  ]),
987
- M("div", _r, [
988
- Y(Oe, {
983
+ M("div", wr, [
984
+ Y(Te, {
989
985
  columns: s.value,
990
986
  isShowPagination: !1,
991
987
  isShowEdit: !1,
@@ -994,7 +990,7 @@ const nn = tn("formToTableComp", {
994
990
  onDeleteRow: g
995
991
  }, null, 8, ["columns", "tableData"])
996
992
  ]),
997
- M("div", wr, [
993
+ M("div", Or, [
998
994
  h[3] || (h[3] = M("div", null, Z("表单按钮"), -1)),
999
995
  Y(u, {
1000
996
  class: "blue-operate-button",
@@ -1004,34 +1000,33 @@ const nn = tn("formToTableComp", {
1004
1000
  default: ce(() => h[2] || (h[2] = [
1005
1001
  Ue(Z("新建"))
1006
1002
  ])),
1007
- _: 1,
1008
- __: [2]
1003
+ _: 1
1009
1004
  })
1010
1005
  ]),
1011
- M("div", Or, [
1012
- Y(Oe, {
1006
+ M("div", Tr, [
1007
+ Y(Te, {
1013
1008
  columns: a.value,
1014
1009
  isShowPagination: !1,
1015
1010
  isShowEdit: !1,
1016
1011
  isMoveColumn: !1,
1017
1012
  tableData: l.value,
1018
- onDeleteRow: _
1013
+ onDeleteRow: w
1019
1014
  }, null, 8, ["columns", "tableData"])
1020
1015
  ]),
1021
1016
  h[4] || (h[4] = M("div", { class: "operate-title" }, [
1022
1017
  M("div", null, Z("表单布局"))
1023
1018
  ], -1)),
1024
- M("div", Tr, [
1019
+ M("div", Ar, [
1025
1020
  Y(et, {
1026
1021
  rowContents: o.value,
1027
- onChange: A
1022
+ onChange: C
1028
1023
  }, null, 8, ["rowContents"])
1029
1024
  ])
1030
1025
  ])
1031
1026
  ]);
1032
1027
  };
1033
1028
  }
1034
- }, Cr = /* @__PURE__ */ Re(Ar, [["__scopeId", "data-v-a36b8468"]]), xr = U([
1029
+ }, _r = /* @__PURE__ */ Re(Cr, [["__scopeId", "data-v-a36b8468"]]), xr = U([
1035
1030
  {
1036
1031
  name: "表格",
1037
1032
  type: "table",
@@ -1054,7 +1049,7 @@ const nn = tn("formToTableComp", {
1054
1049
  Table: ar,
1055
1050
  Form: cr,
1056
1051
  TableOperate: kr,
1057
- FormOperate: Cr,
1052
+ FormOperate: _r,
1058
1053
  Fold: Kn
1059
1054
  // 添加其他组件...
1060
1055
  };
@@ -1104,8 +1099,8 @@ const Fr = { class: "type-select" }, Nr = ["onClick"], Pr = { class: "list-icon"
1104
1099
  const a = (d) => ln(d), l = (d, i, y) => {
1105
1100
  if (!d || d.length === 0) return;
1106
1101
  let c = v(n.value);
1107
- const O = v(i);
1108
- O.compData = d, c = c == null ? void 0 : c.map((_, g) => (g === y && (_ = O), _)), t.setItemData(c);
1102
+ const T = v(i);
1103
+ T.compData = d, c = c == null ? void 0 : c.map((w, g) => (g === y && (w = T), w)), t.setItemData(c);
1109
1104
  };
1110
1105
  return (d, i) => {
1111
1106
  const y = We("el-collapse-item"), c = We("el-collapse");
@@ -1114,25 +1109,25 @@ const Fr = { class: "type-select" }, Nr = ["onClick"], Pr = { class: "list-icon"
1114
1109
  M("div", jr, [
1115
1110
  Y(c, {
1116
1111
  modelValue: s.value,
1117
- "onUpdate:modelValue": i[0] || (i[0] = (O) => s.value = O),
1112
+ "onUpdate:modelValue": i[0] || (i[0] = (T) => s.value = T),
1118
1113
  class: "collapse-content"
1119
1114
  }, {
1120
1115
  default: ce(() => [
1121
- (X(!0), re(Ze, null, Qe(o.value, (O, _) => (X(), Be(y, {
1122
- key: _,
1123
- name: _
1116
+ (X(!0), re(Ze, null, Qe(o.value, (T, w) => (X(), Be(y, {
1117
+ key: w,
1118
+ name: w
1124
1119
  }, {
1125
1120
  title: ce(() => [
1126
- M("div", $r, Z(O.name), 1)
1121
+ M("div", $r, Z(T.name), 1)
1127
1122
  ]),
1128
1123
  default: ce(() => {
1129
- var g, A;
1124
+ var g, C;
1130
1125
  return [
1131
1126
  M("div", Lr, [
1132
- (X(), Be(Et(a(O.comp + "Operate")), {
1133
- itemContents: O == null ? void 0 : O.compData,
1134
- originalItemContents: (A = (g = en(r)) == null ? void 0 : g.find((p, h) => h === _)) == null ? void 0 : A.compData,
1135
- onChange: (p) => l(p, O, _)
1127
+ (X(), Be(Et(a(T.comp + "Operate")), {
1128
+ itemContents: T == null ? void 0 : T.compData,
1129
+ originalItemContents: (C = (g = en(r)) == null ? void 0 : g.find((p, h) => h === w)) == null ? void 0 : C.compData,
1130
+ onChange: (p) => l(p, T, w)
1136
1131
  }, null, 40, ["itemContents", "originalItemContents", "onChange"]))
1137
1132
  ])
1138
1133
  ];
@@ -1349,21 +1344,21 @@ const Fr = { class: "type-select" }, Nr = ["onClick"], Pr = { class: "list-icon"
1349
1344
  var t, n, r, o, s, a;
1350
1345
  try {
1351
1346
  const l = zr((n = (t = v(e)) == null ? void 0 : t.replace("(", "(")) == null ? void 0 : n.replace(")", ")")), d = (r = v(l)) == null ? void 0 : r.map((c) => {
1352
- var _, g;
1353
- let O = (g = (_ = v(c)) == null ? void 0 : _.split("=")) == null ? void 0 : g[0];
1354
- return O != null && O.includes("GroupContents") ? Ir(c) : cn(c);
1347
+ var w, g;
1348
+ let T = (g = (w = v(c)) == null ? void 0 : w.split("=")) == null ? void 0 : g[0];
1349
+ return T != null && T.includes("GroupContents") ? Ir(c) : cn(c);
1355
1350
  }), i = [];
1356
1351
  (o = v(d)) == null || o.forEach((c) => {
1357
- var O, _, g, A, p;
1352
+ var T, w, g, C, p;
1358
1353
  ne != null && ne.find((h) => {
1359
1354
  var u, R;
1360
1355
  return ((u = h == null ? void 0 : h.key) == null ? void 0 : u.toUpperCase()) === ((R = c == null ? void 0 : c.key) == null ? void 0 : R.toUpperCase());
1361
1356
  }) ? i.push({
1362
- comp: ((O = ne == null ? void 0 : ne.find((h) => {
1357
+ comp: ((T = ne == null ? void 0 : ne.find((h) => {
1363
1358
  var u, R;
1364
1359
  return ((u = h == null ? void 0 : h.key) == null ? void 0 : u.toUpperCase()) === ((R = c == null ? void 0 : c.key) == null ? void 0 : R.toUpperCase());
1365
- })) == null ? void 0 : O.value) ?? "",
1366
- name: (_ = c == null ? void 0 : c.value) == null ? void 0 : _.replace(/[’]|[‘]|[']/g, ""),
1360
+ })) == null ? void 0 : T.value) ?? "",
1361
+ name: (w = c == null ? void 0 : c.value) == null ? void 0 : w.replace(/[’]|[‘]|[']/g, ""),
1367
1362
  compData: []
1368
1363
  }) : te != null && te.find((h) => {
1369
1364
  var u, R;
@@ -1372,7 +1367,7 @@ const Fr = { class: "type-select" }, Nr = ["onClick"], Pr = { class: "list-icon"
1372
1367
  comp: "Menu",
1373
1368
  name: "",
1374
1369
  compData: []
1375
- }), (A = i == null ? void 0 : i[(i == null ? void 0 : i.length) - 1]) != null && A.compData && i[(i == null ? void 0 : i.length) - 1].compData.push({
1370
+ }), (C = i == null ? void 0 : i[(i == null ? void 0 : i.length) - 1]) != null && C.compData && i[(i == null ? void 0 : i.length) - 1].compData.push({
1376
1371
  key: (p = te == null ? void 0 : te.find((h) => {
1377
1372
  var u, R;
1378
1373
  return ((u = h == null ? void 0 : h.key) == null ? void 0 : u.toUpperCase()) === ((R = c == null ? void 0 : c.key) == null ? void 0 : R.toUpperCase());
@@ -1381,29 +1376,29 @@ const Fr = { class: "type-select" }, Nr = ["onClick"], Pr = { class: "list-icon"
1381
1376
  }));
1382
1377
  }), console.log("newContents", i);
1383
1378
  let y = (s = v(i)) == null ? void 0 : s.map((c) => {
1384
- var O;
1385
- return c != null && c.compData && (c.compData = (O = c == null ? void 0 : c.compData) == null ? void 0 : O.map((_) => {
1386
- var g, A, p, h, u, R, b, m, E, S, D;
1387
- if ((_ == null ? void 0 : _.key) === "formFlex")
1388
- _.contents = ((A = (g = _.contents) == null ? void 0 : g.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : A.toUpperCase()) !== "Vertical".toUpperCase();
1389
- else if ((_ == null ? void 0 : _.key) === "groupContents")
1390
- _.contents = (p = v(_.contents)) == null ? void 0 : p.map((N) => Wr(v(N)));
1391
- else if (((u = (h = _.contents) == null ? void 0 : h.trim()) != null && u.startsWith("[") || (b = (R = _.contents) == null ? void 0 : R.trim()) != null && b.startsWith("【")) && ((E = (m = _.contents) == null ? void 0 : m.trim()) != null && E.endsWith("]") || (D = (S = _.contents) == null ? void 0 : S.trim()) != null && D.endsWith("】")))
1392
- _.contents = Kr(v(_.contents));
1379
+ var T;
1380
+ return c != null && c.compData && (c.compData = (T = c == null ? void 0 : c.compData) == null ? void 0 : T.map((w) => {
1381
+ var g, C, p, h, u, R, b, m, E, S, D;
1382
+ if ((w == null ? void 0 : w.key) === "formFlex")
1383
+ w.contents = ((C = (g = w.contents) == null ? void 0 : g.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : C.toUpperCase()) !== "Vertical".toUpperCase();
1384
+ else if ((w == null ? void 0 : w.key) === "groupContents")
1385
+ w.contents = (p = v(w.contents)) == null ? void 0 : p.map((N) => Wr(v(N)));
1386
+ else if (((u = (h = w.contents) == null ? void 0 : h.trim()) != null && u.startsWith("[") || (b = (R = w.contents) == null ? void 0 : R.trim()) != null && b.startsWith("【")) && ((E = (m = w.contents) == null ? void 0 : m.trim()) != null && E.endsWith("]") || (D = (S = w.contents) == null ? void 0 : S.trim()) != null && D.endsWith("】")))
1387
+ w.contents = Kr(v(w.contents));
1393
1388
  else {
1394
- if (!_.contents) return;
1395
- _.contents = un(v(_.contents));
1389
+ if (!w.contents) return;
1390
+ w.contents = un(v(w.contents));
1396
1391
  }
1397
- return _;
1392
+ return w;
1398
1393
  })), c;
1399
1394
  });
1400
1395
  return y = (a = v(y)) == null ? void 0 : a.map((c) => {
1401
- var O;
1402
- return (c == null ? void 0 : c.comp) === "Group" && (c.compData = (O = c.compData) == null ? void 0 : O.map((_) => {
1403
- var A;
1396
+ var T;
1397
+ return (c == null ? void 0 : c.comp) === "Group" && (c.compData = (T = c.compData) == null ? void 0 : T.map((w) => {
1398
+ var C;
1404
1399
  let g = [];
1405
- return (A = _.contents) == null || A.forEach((p) => {
1406
- var h, u, R, b, m, E, S, D, N, w, K, F;
1400
+ return (C = w.contents) == null || C.forEach((p) => {
1401
+ var h, u, R, b, m, E, S, D, N, O, K, F;
1407
1402
  if (ne != null && ne.find((J) => {
1408
1403
  var z, H, I;
1409
1404
  return ((z = J == null ? void 0 : J.key) == null ? void 0 : z.toUpperCase()) === ((I = (H = Object.keys(p)) == null ? void 0 : H[0]) == null ? void 0 : I.toUpperCase());
@@ -1429,7 +1424,7 @@ const Fr = { class: "type-select" }, Nr = ["onClick"], Pr = { class: "list-icon"
1429
1424
  contents: (E = Object.values(p)) == null ? void 0 : E[0]
1430
1425
  });
1431
1426
  } else if ((D = (S = Object.keys(p)) == null ? void 0 : S[0]) != null && D.includes("$")) {
1432
- const J = (w = (N = Object.keys(v(p))) == null ? void 0 : N[0]) == null ? void 0 : w.split("$");
1427
+ const J = (O = (N = Object.keys(v(p))) == null ? void 0 : N[0]) == null ? void 0 : O.split("$");
1433
1428
  g[(g == null ? void 0 : g.length) - 1].compData.push({
1434
1429
  key: (K = te == null ? void 0 : te.find((z) => {
1435
1430
  var H, I;
@@ -1440,7 +1435,7 @@ const Fr = { class: "type-select" }, Nr = ["onClick"], Pr = { class: "list-icon"
1440
1435
  });
1441
1436
  }
1442
1437
  return p;
1443
- }), _.contents = g, _;
1438
+ }), w.contents = g, w;
1444
1439
  })), c;
1445
1440
  }), y;
1446
1441
  } catch {
@@ -1455,7 +1450,7 @@ function pn(e, t) {
1455
1450
  const { toString: Gr } = Object.prototype, { getPrototypeOf: St } = Object, { iterator: tt, toStringTag: dn } = Symbol, nt = /* @__PURE__ */ ((e) => (t) => {
1456
1451
  const n = Gr.call(t);
1457
1452
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
1458
- })(/* @__PURE__ */ Object.create(null)), ue = (e) => (e = e.toLowerCase(), (t) => nt(t) === e), rt = (e) => (t) => typeof t === e, { isArray: Te } = Array, je = rt("undefined");
1453
+ })(/* @__PURE__ */ Object.create(null)), ue = (e) => (e = e.toLowerCase(), (t) => nt(t) === e), rt = (e) => (t) => typeof t === e, { isArray: Ae } = Array, je = rt("undefined");
1459
1454
  function Xr(e) {
1460
1455
  return e !== null && !je(e) && e.constructor !== null && !je(e.constructor) && oe(e.constructor.isBuffer) && e.constructor.isBuffer(e);
1461
1456
  }
@@ -1478,7 +1473,7 @@ function $e(e, t, { allOwnKeys: n = !1 } = {}) {
1478
1473
  if (e === null || typeof e > "u")
1479
1474
  return;
1480
1475
  let r, o;
1481
- if (typeof e != "object" && (e = [e]), Te(e))
1476
+ if (typeof e != "object" && (e = [e]), Ae(e))
1482
1477
  for (r = 0, o = e.length; r < o; r++)
1483
1478
  t.call(null, e[r], r, e);
1484
1479
  else {
@@ -1501,7 +1496,7 @@ const ge = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typ
1501
1496
  function dt() {
1502
1497
  const { caseless: e } = bn(this) && this || {}, t = {}, n = (r, o) => {
1503
1498
  const s = e && yn(t, o) || o;
1504
- He(t[s]) && He(r) ? t[s] = dt(t[s], r) : He(r) ? t[s] = dt({}, r) : Te(r) ? t[s] = r.slice() : t[s] = r;
1499
+ He(t[s]) && He(r) ? t[s] = dt(t[s], r) : He(r) ? t[s] = dt({}, r) : Ae(r) ? t[s] = r.slice() : t[s] = r;
1505
1500
  };
1506
1501
  for (let r = 0, o = arguments.length; r < o; r++)
1507
1502
  arguments[r] && $e(arguments[r], n);
@@ -1529,7 +1524,7 @@ const po = (e, t, n, { allOwnKeys: r } = {}) => ($e(t, (o, s) => {
1529
1524
  return r !== -1 && r === n;
1530
1525
  }, go = (e) => {
1531
1526
  if (!e) return null;
1532
- if (Te(e)) return e;
1527
+ if (Ae(e)) return e;
1533
1528
  let t = e.length;
1534
1529
  if (!mn(t)) return null;
1535
1530
  const n = new Array(t);
@@ -1554,13 +1549,13 @@ const po = (e, t, n, { allOwnKeys: r } = {}) => ($e(t, (o, s) => {
1554
1549
  function(n, r, o) {
1555
1550
  return r.toUpperCase() + o;
1556
1551
  }
1557
- ), qt = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), _o = ue("RegExp"), gn = (e, t) => {
1552
+ ), qt = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), wo = ue("RegExp"), gn = (e, t) => {
1558
1553
  const n = Object.getOwnPropertyDescriptors(e), r = {};
1559
1554
  $e(n, (o, s) => {
1560
1555
  let a;
1561
1556
  (a = t(o, s, e)) !== !1 && (r[s] = a || o);
1562
1557
  }), Object.defineProperties(e, r);
1563
- }, wo = (e) => {
1558
+ }, Oo = (e) => {
1564
1559
  gn(e, (t, n) => {
1565
1560
  if (oe(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
1566
1561
  return !1;
@@ -1575,16 +1570,16 @@ const po = (e, t, n, { allOwnKeys: r } = {}) => ($e(t, (o, s) => {
1575
1570
  });
1576
1571
  }
1577
1572
  });
1578
- }, Oo = (e, t) => {
1573
+ }, To = (e, t) => {
1579
1574
  const n = {}, r = (o) => {
1580
1575
  o.forEach((s) => {
1581
1576
  n[s] = !0;
1582
1577
  });
1583
1578
  };
1584
- return Te(e) ? r(e) : r(String(e).split(t)), n;
1585
- }, To = () => {
1586
- }, Ao = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
1587
- function Co(e) {
1579
+ return Ae(e) ? r(e) : r(String(e).split(t)), n;
1580
+ }, Ao = () => {
1581
+ }, Co = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
1582
+ function _o(e) {
1588
1583
  return !!(e && oe(e.append) && e[dn] === "FormData" && e[tt]);
1589
1584
  }
1590
1585
  const xo = (e) => {
@@ -1594,7 +1589,7 @@ const xo = (e) => {
1594
1589
  return;
1595
1590
  if (!("toJSON" in r)) {
1596
1591
  t[o] = r;
1597
- const s = Te(r) ? [] : {};
1592
+ const s = Ae(r) ? [] : {};
1598
1593
  return $e(r, (a, l) => {
1599
1594
  const d = n(a, o + 1);
1600
1595
  !je(d) && (s[l] = d);
@@ -1612,7 +1607,7 @@ const xo = (e) => {
1612
1607
  typeof setImmediate == "function",
1613
1608
  oe(ge.postMessage)
1614
1609
  ), No = typeof queueMicrotask < "u" ? queueMicrotask.bind(ge) : typeof process < "u" && process.nextTick || vn, Po = (e) => e != null && oe(e[tt]), f = {
1615
- isArray: Te,
1610
+ isArray: Ae,
1616
1611
  isArrayBuffer: hn,
1617
1612
  isBuffer: Xr,
1618
1613
  isFormData: so,
@@ -1630,7 +1625,7 @@ const xo = (e) => {
1630
1625
  isDate: eo,
1631
1626
  isFile: to,
1632
1627
  isBlob: no,
1633
- isRegExp: _o,
1628
+ isRegExp: wo,
1634
1629
  isFunction: oe,
1635
1630
  isStream: oo,
1636
1631
  isURLSearchParams: ao,
@@ -1654,15 +1649,15 @@ const xo = (e) => {
1654
1649
  hasOwnProp: qt,
1655
1650
  // an alias to avoid ESLint no-prototype-builtins detection
1656
1651
  reduceDescriptors: gn,
1657
- freezeMethods: wo,
1658
- toObjectSet: Oo,
1652
+ freezeMethods: Oo,
1653
+ toObjectSet: To,
1659
1654
  toCamelCase: Ro,
1660
- noop: To,
1661
- toFiniteNumber: Ao,
1655
+ noop: Ao,
1656
+ toFiniteNumber: Co,
1662
1657
  findKey: yn,
1663
1658
  global: ge,
1664
1659
  isContextDefined: bn,
1665
- isSpecCompliantForm: Co,
1660
+ isSpecCompliantForm: _o,
1666
1661
  toJSONObject: xo,
1667
1662
  isAsyncFn: Do,
1668
1663
  isThenable: Fo,
@@ -1745,8 +1740,8 @@ function st(e, t, n) {
1745
1740
  metaTokens: !0,
1746
1741
  dots: !1,
1747
1742
  indexes: !1
1748
- }, !1, function(A, p) {
1749
- return !f.isUndefined(p[A]);
1743
+ }, !1, function(C, p) {
1744
+ return !f.isUndefined(p[C]);
1750
1745
  });
1751
1746
  const r = n.metaTokens, o = n.visitor || y, s = n.dots, a = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && f.isSpecCompliantForm(t);
1752
1747
  if (!f.isFunction(o))
@@ -1759,45 +1754,45 @@ function st(e, t, n) {
1759
1754
  throw new B("Blob is not supported. Use a Buffer instead.");
1760
1755
  return f.isArrayBuffer(g) || f.isTypedArray(g) ? d && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
1761
1756
  }
1762
- function y(g, A, p) {
1757
+ function y(g, C, p) {
1763
1758
  let h = g;
1764
1759
  if (g && !p && typeof g == "object") {
1765
- if (f.endsWith(A, "{}"))
1766
- A = r ? A : A.slice(0, -2), g = JSON.stringify(g);
1767
- else if (f.isArray(g) && Bo(g) || (f.isFileList(g) || f.endsWith(A, "[]")) && (h = f.toArray(g)))
1768
- return A = Sn(A), h.forEach(function(R, b) {
1760
+ if (f.endsWith(C, "{}"))
1761
+ C = r ? C : C.slice(0, -2), g = JSON.stringify(g);
1762
+ else if (f.isArray(g) && Bo(g) || (f.isFileList(g) || f.endsWith(C, "[]")) && (h = f.toArray(g)))
1763
+ return C = Sn(C), h.forEach(function(R, b) {
1769
1764
  !(f.isUndefined(R) || R === null) && t.append(
1770
1765
  // eslint-disable-next-line no-nested-ternary
1771
- a === !0 ? Jt([A], b, s) : a === null ? A : A + "[]",
1766
+ a === !0 ? Jt([C], b, s) : a === null ? C : C + "[]",
1772
1767
  i(R)
1773
1768
  );
1774
1769
  }), !1;
1775
1770
  }
1776
- return ht(g) ? !0 : (t.append(Jt(p, A, s), i(g)), !1);
1771
+ return ht(g) ? !0 : (t.append(Jt(p, C, s), i(g)), !1);
1777
1772
  }
1778
- const c = [], O = Object.assign(jo, {
1773
+ const c = [], T = Object.assign(jo, {
1779
1774
  defaultVisitor: y,
1780
1775
  convertValue: i,
1781
1776
  isVisitable: ht
1782
1777
  });
1783
- function _(g, A) {
1778
+ function w(g, C) {
1784
1779
  if (!f.isUndefined(g)) {
1785
1780
  if (c.indexOf(g) !== -1)
1786
- throw Error("Circular reference detected in " + A.join("."));
1781
+ throw Error("Circular reference detected in " + C.join("."));
1787
1782
  c.push(g), f.forEach(g, function(h, u) {
1788
1783
  (!(f.isUndefined(h) || h === null) && o.call(
1789
1784
  t,
1790
1785
  h,
1791
1786
  f.isString(u) ? u.trim() : u,
1792
- A,
1793
- O
1794
- )) === !0 && _(h, A ? A.concat(u) : [u]);
1787
+ C,
1788
+ T
1789
+ )) === !0 && w(h, C ? C.concat(u) : [u]);
1795
1790
  }), c.pop();
1796
1791
  }
1797
1792
  }
1798
1793
  if (!f.isObject(e))
1799
1794
  throw new TypeError("data must be an object");
1800
- return _(e), t;
1795
+ return w(e), t;
1801
1796
  }
1802
1797
  function Mt(e) {
1803
1798
  const t = {
@@ -1831,7 +1826,7 @@ Rn.toString = function(t) {
1831
1826
  function $o(e) {
1832
1827
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
1833
1828
  }
1834
- function _n(e, t, n) {
1829
+ function wn(e, t, n) {
1835
1830
  if (!t)
1836
1831
  return e;
1837
1832
  const r = n && n.encode || $o;
@@ -1900,7 +1895,7 @@ class zt {
1900
1895
  });
1901
1896
  }
1902
1897
  }
1903
- const wn = {
1898
+ const On = {
1904
1899
  silentJSONParsing: !0,
1905
1900
  forcedJSONParsing: !0,
1906
1901
  clarifyTimeoutError: !1
@@ -1912,10 +1907,10 @@ const wn = {
1912
1907
  Blob: Jo
1913
1908
  },
1914
1909
  protocols: ["http", "https", "file", "blob", "url", "data"]
1915
- }, _t = typeof window < "u" && typeof document < "u", mt = typeof navigator == "object" && navigator || void 0, zo = _t && (!mt || ["ReactNative", "NativeScript", "NS"].indexOf(mt.product) < 0), Ho = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
1916
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Io = _t && window.location.href || "http://localhost", Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1910
+ }, wt = typeof window < "u" && typeof document < "u", mt = typeof navigator == "object" && navigator || void 0, zo = wt && (!mt || ["ReactNative", "NativeScript", "NS"].indexOf(mt.product) < 0), Ho = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
1911
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Io = wt && window.location.href || "http://localhost", Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1917
1912
  __proto__: null,
1918
- hasBrowserEnv: _t,
1913
+ hasBrowserEnv: wt,
1919
1914
  hasStandardBrowserEnv: zo,
1920
1915
  hasStandardBrowserWebWorkerEnv: Ho,
1921
1916
  navigator: mt,
@@ -1943,7 +1938,7 @@ function Go(e) {
1943
1938
  s = n[r], t[s] = e[s];
1944
1939
  return t;
1945
1940
  }
1946
- function On(e) {
1941
+ function Tn(e) {
1947
1942
  function t(n, r, o, s) {
1948
1943
  let a = n[s++];
1949
1944
  if (a === "__proto__") return !0;
@@ -1969,12 +1964,12 @@ function Xo(e, t, n) {
1969
1964
  return (n || JSON.stringify)(e);
1970
1965
  }
1971
1966
  const Le = {
1972
- transitional: wn,
1967
+ transitional: On,
1973
1968
  adapter: ["xhr", "http", "fetch"],
1974
1969
  transformRequest: [function(t, n) {
1975
1970
  const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, s = f.isObject(t);
1976
1971
  if (s && f.isHTMLForm(t) && (t = new FormData(t)), f.isFormData(t))
1977
- return o ? JSON.stringify(On(t)) : t;
1972
+ return o ? JSON.stringify(Tn(t)) : t;
1978
1973
  if (f.isArrayBuffer(t) || f.isBuffer(t) || f.isStream(t) || f.isFile(t) || f.isBlob(t) || f.isReadableStream(t))
1979
1974
  return t;
1980
1975
  if (f.isArrayBufferView(t))
@@ -2245,16 +2240,16 @@ function ft(e, t) {
2245
2240
  s = l.call(n, s, o.normalize(), t ? t.status : void 0);
2246
2241
  }), o.normalize(), s;
2247
2242
  }
2248
- function Tn(e) {
2243
+ function An(e) {
2249
2244
  return !!(e && e.__CANCEL__);
2250
2245
  }
2251
- function Ae(e, t, n) {
2246
+ function Ce(e, t, n) {
2252
2247
  B.call(this, e ?? "canceled", B.ERR_CANCELED, t, n), this.name = "CanceledError";
2253
2248
  }
2254
- f.inherits(Ae, B, {
2249
+ f.inherits(Ce, B, {
2255
2250
  __CANCEL__: !0
2256
2251
  });
2257
- function An(e, t, n) {
2252
+ function Cn(e, t, n) {
2258
2253
  const r = n.config.validateStatus;
2259
2254
  !n.status || !r || r(n.status) ? e(n) : t(new B(
2260
2255
  "Request failed with status code " + n.status,
@@ -2275,13 +2270,13 @@ function os(e, t) {
2275
2270
  return t = t !== void 0 ? t : 1e3, function(d) {
2276
2271
  const i = Date.now(), y = r[s];
2277
2272
  a || (a = i), n[o] = d, r[o] = i;
2278
- let c = s, O = 0;
2273
+ let c = s, T = 0;
2279
2274
  for (; c !== o; )
2280
- O += n[c++], c = c % e;
2275
+ T += n[c++], c = c % e;
2281
2276
  if (o = (o + 1) % e, o === s && (s = (s + 1) % e), i - a < t)
2282
2277
  return;
2283
- const _ = y && i - y;
2284
- return _ ? Math.round(O * 1e3 / _) : void 0;
2278
+ const w = y && i - y;
2279
+ return w ? Math.round(T * 1e3 / w) : void 0;
2285
2280
  };
2286
2281
  }
2287
2282
  function ss(e, t) {
@@ -2358,7 +2353,7 @@ function is(e) {
2358
2353
  function cs(e, t) {
2359
2354
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
2360
2355
  }
2361
- function Cn(e, t, n) {
2356
+ function _n(e, t, n) {
2362
2357
  let r = !is(t);
2363
2358
  return e && (r || n == !1) ? cs(e, t) : t;
2364
2359
  }
@@ -2366,14 +2361,14 @@ const Wt = (e) => e instanceof se ? { ...e } : e;
2366
2361
  function Se(e, t) {
2367
2362
  t = t || {};
2368
2363
  const n = {};
2369
- function r(i, y, c, O) {
2370
- return f.isPlainObject(i) && f.isPlainObject(y) ? f.merge.call({ caseless: O }, i, y) : f.isPlainObject(y) ? f.merge({}, y) : f.isArray(y) ? y.slice() : y;
2364
+ function r(i, y, c, T) {
2365
+ return f.isPlainObject(i) && f.isPlainObject(y) ? f.merge.call({ caseless: T }, i, y) : f.isPlainObject(y) ? f.merge({}, y) : f.isArray(y) ? y.slice() : y;
2371
2366
  }
2372
- function o(i, y, c, O) {
2367
+ function o(i, y, c, T) {
2373
2368
  if (f.isUndefined(y)) {
2374
2369
  if (!f.isUndefined(i))
2375
- return r(void 0, i, c, O);
2376
- } else return r(i, y, c, O);
2370
+ return r(void 0, i, c, T);
2371
+ } else return r(i, y, c, T);
2377
2372
  }
2378
2373
  function s(i, y) {
2379
2374
  if (!f.isUndefined(y))
@@ -2423,14 +2418,14 @@ function Se(e, t) {
2423
2418
  headers: (i, y, c) => o(Wt(i), Wt(y), c, !0)
2424
2419
  };
2425
2420
  return f.forEach(Object.keys(Object.assign({}, e, t)), function(y) {
2426
- const c = d[y] || o, O = c(e[y], t[y], y);
2427
- f.isUndefined(O) && c !== l || (n[y] = O);
2421
+ const c = d[y] || o, T = c(e[y], t[y], y);
2422
+ f.isUndefined(T) && c !== l || (n[y] = T);
2428
2423
  }), n;
2429
2424
  }
2430
2425
  const xn = (e) => {
2431
2426
  const t = Se({}, e);
2432
2427
  let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: s, headers: a, auth: l } = t;
2433
- t.headers = a = se.from(a), t.url = _n(Cn(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), l && a.set(
2428
+ t.headers = a = se.from(a), t.url = wn(_n(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), l && a.set(
2434
2429
  "Authorization",
2435
2430
  "Basic " + btoa((l.username || "") + ":" + (l.password ? unescape(encodeURIComponent(l.password)) : ""))
2436
2431
  );
@@ -2453,9 +2448,9 @@ const xn = (e) => {
2453
2448
  const o = xn(e);
2454
2449
  let s = o.data;
2455
2450
  const a = se.from(o.headers).normalize();
2456
- let { responseType: l, onUploadProgress: d, onDownloadProgress: i } = o, y, c, O, _, g;
2457
- function A() {
2458
- _ && _(), g && g(), o.cancelToken && o.cancelToken.unsubscribe(y), o.signal && o.signal.removeEventListener("abort", y);
2451
+ let { responseType: l, onUploadProgress: d, onDownloadProgress: i } = o, y, c, T, w, g;
2452
+ function C() {
2453
+ w && w(), g && g(), o.cancelToken && o.cancelToken.unsubscribe(y), o.signal && o.signal.removeEventListener("abort", y);
2459
2454
  }
2460
2455
  let p = new XMLHttpRequest();
2461
2456
  p.open(o.method.toUpperCase(), o.url, !0), p.timeout = o.timeout;
@@ -2472,10 +2467,10 @@ const xn = (e) => {
2472
2467
  config: e,
2473
2468
  request: p
2474
2469
  };
2475
- An(function(S) {
2476
- n(S), A();
2470
+ Cn(function(S) {
2471
+ n(S), C();
2477
2472
  }, function(S) {
2478
- r(S), A();
2473
+ r(S), C();
2479
2474
  }, m), p = null;
2480
2475
  }
2481
2476
  "onloadend" in p ? p.onloadend = h : p.onreadystatechange = function() {
@@ -2486,7 +2481,7 @@ const xn = (e) => {
2486
2481
  r(new B("Network Error", B.ERR_NETWORK, e, p)), p = null;
2487
2482
  }, p.ontimeout = function() {
2488
2483
  let b = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
2489
- const m = o.transitional || wn;
2484
+ const m = o.transitional || On;
2490
2485
  o.timeoutErrorMessage && (b = o.timeoutErrorMessage), r(new B(
2491
2486
  b,
2492
2487
  m.clarifyTimeoutError ? B.ETIMEDOUT : B.ECONNABORTED,
@@ -2495,8 +2490,8 @@ const xn = (e) => {
2495
2490
  )), p = null;
2496
2491
  }, s === void 0 && a.setContentType(null), "setRequestHeader" in p && f.forEach(a.toJSON(), function(b, m) {
2497
2492
  p.setRequestHeader(m, b);
2498
- }), f.isUndefined(o.withCredentials) || (p.withCredentials = !!o.withCredentials), l && l !== "json" && (p.responseType = o.responseType), i && ([O, g] = Ke(i, !0), p.addEventListener("progress", O)), d && p.upload && ([c, _] = Ke(d), p.upload.addEventListener("progress", c), p.upload.addEventListener("loadend", _)), (o.cancelToken || o.signal) && (y = (R) => {
2499
- p && (r(!R || R.type ? new Ae(null, e, p) : R), p.abort(), p = null);
2493
+ }), f.isUndefined(o.withCredentials) || (p.withCredentials = !!o.withCredentials), l && l !== "json" && (p.responseType = o.responseType), i && ([T, g] = Ke(i, !0), p.addEventListener("progress", T)), d && p.upload && ([c, w] = Ke(d), p.upload.addEventListener("progress", c), p.upload.addEventListener("loadend", w)), (o.cancelToken || o.signal) && (y = (R) => {
2494
+ p && (r(!R || R.type ? new Ce(null, e, p) : R), p.abort(), p = null);
2500
2495
  }, o.cancelToken && o.cancelToken.subscribe(y), o.signal && (o.signal.aborted ? y() : o.signal.addEventListener("abort", y)));
2501
2496
  const u = rs(o.url);
2502
2497
  if (u && ee.protocols.indexOf(u) === -1) {
@@ -2513,7 +2508,7 @@ const xn = (e) => {
2513
2508
  if (!o) {
2514
2509
  o = !0, l();
2515
2510
  const y = i instanceof Error ? i : this.reason;
2516
- r.abort(y instanceof B ? y : new Ae(y instanceof Error ? y.message : y));
2511
+ r.abort(y instanceof B ? y : new Ce(y instanceof Error ? y.message : y));
2517
2512
  }
2518
2513
  };
2519
2514
  let a = t && setTimeout(() => {
@@ -2571,8 +2566,8 @@ const xn = (e) => {
2571
2566
  }
2572
2567
  let c = y.byteLength;
2573
2568
  if (n) {
2574
- let O = s += c;
2575
- n(O);
2569
+ let T = s += c;
2570
+ n(T);
2576
2571
  }
2577
2572
  d.enqueue(new Uint8Array(y));
2578
2573
  } catch (i) {
@@ -2641,12 +2636,12 @@ const gs = async (e) => {
2641
2636
  responseType: i,
2642
2637
  headers: y,
2643
2638
  withCredentials: c = "same-origin",
2644
- fetchOptions: O
2639
+ fetchOptions: T
2645
2640
  } = xn(e);
2646
2641
  i = i ? (i + "").toLowerCase() : "text";
2647
- let _ = ps([o, s && s.toAbortSignal()], a), g;
2648
- const A = _ && _.unsubscribe && (() => {
2649
- _.unsubscribe();
2642
+ let w = ps([o, s && s.toAbortSignal()], a), g;
2643
+ const C = w && w.unsubscribe && (() => {
2644
+ w.unsubscribe();
2650
2645
  });
2651
2646
  let p;
2652
2647
  try {
@@ -2667,8 +2662,8 @@ const gs = async (e) => {
2667
2662
  f.isString(c) || (c = c ? "include" : "omit");
2668
2663
  const h = "credentials" in Request.prototype;
2669
2664
  g = new Request(t, {
2670
- ...O,
2671
- signal: _,
2665
+ ...T,
2666
+ signal: w,
2672
2667
  method: n.toUpperCase(),
2673
2668
  headers: y.normalize().toJSON(),
2674
2669
  body: r,
@@ -2677,7 +2672,7 @@ const gs = async (e) => {
2677
2672
  });
2678
2673
  let u = await fetch(g);
2679
2674
  const R = yt && (i === "stream" || i === "response");
2680
- if (yt && (l || R && A)) {
2675
+ if (yt && (l || R && C)) {
2681
2676
  const m = {};
2682
2677
  ["status", "statusText", "headers"].forEach((N) => {
2683
2678
  m[N] = u[N];
@@ -2688,15 +2683,15 @@ const gs = async (e) => {
2688
2683
  ) || [];
2689
2684
  u = new Response(
2690
2685
  Kt(u.body, Gt, S, () => {
2691
- D && D(), A && A();
2686
+ D && D(), C && C();
2692
2687
  }),
2693
2688
  m
2694
2689
  );
2695
2690
  }
2696
2691
  i = i || "text";
2697
2692
  let b = await Ge[f.findKey(Ge, i) || "text"](u, e);
2698
- return !R && A && A(), await new Promise((m, E) => {
2699
- An(m, E, {
2693
+ return !R && C && C(), await new Promise((m, E) => {
2694
+ Cn(m, E, {
2700
2695
  data: b,
2701
2696
  headers: se.from(u.headers),
2702
2697
  status: u.status,
@@ -2706,7 +2701,7 @@ const gs = async (e) => {
2706
2701
  });
2707
2702
  });
2708
2703
  } catch (h) {
2709
- throw A && A(), h && h.name === "TypeError" && /Load failed|fetch/i.test(h.message) ? Object.assign(
2704
+ throw C && C(), h && h.name === "TypeError" && /Load failed|fetch/i.test(h.message) ? Object.assign(
2710
2705
  new B("Network Error", B.ERR_NETWORK, e, g),
2711
2706
  {
2712
2707
  cause: h.cause || h
@@ -2760,7 +2755,7 @@ const Xt = (e) => `- ${e}`, Es = (e) => f.isFunction(e) || e === null || e === !
2760
2755
  };
2761
2756
  function pt(e) {
2762
2757
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
2763
- throw new Ae(null, e);
2758
+ throw new Ce(null, e);
2764
2759
  }
2765
2760
  function Zt(e) {
2766
2761
  return pt(e), e.headers = se.from(e.headers), e.data = ft.call(
@@ -2773,7 +2768,7 @@ function Zt(e) {
2773
2768
  r
2774
2769
  ), r.headers = se.from(r.headers), r;
2775
2770
  }, function(r) {
2776
- return Tn(r) || (pt(e), r && r.response && (r.response.data = ft.call(
2771
+ return An(r) || (pt(e), r && r.response && (r.response.data = ft.call(
2777
2772
  e,
2778
2773
  e.transformResponse,
2779
2774
  r.response
@@ -2889,44 +2884,44 @@ let ve = class {
2889
2884
  ), n.headers = se.concat(a, s);
2890
2885
  const l = [];
2891
2886
  let d = !0;
2892
- this.interceptors.request.forEach(function(A) {
2893
- typeof A.runWhen == "function" && A.runWhen(n) === !1 || (d = d && A.synchronous, l.unshift(A.fulfilled, A.rejected));
2887
+ this.interceptors.request.forEach(function(C) {
2888
+ typeof C.runWhen == "function" && C.runWhen(n) === !1 || (d = d && C.synchronous, l.unshift(C.fulfilled, C.rejected));
2894
2889
  });
2895
2890
  const i = [];
2896
- this.interceptors.response.forEach(function(A) {
2897
- i.push(A.fulfilled, A.rejected);
2891
+ this.interceptors.response.forEach(function(C) {
2892
+ i.push(C.fulfilled, C.rejected);
2898
2893
  });
2899
- let y, c = 0, O;
2894
+ let y, c = 0, T;
2900
2895
  if (!d) {
2901
2896
  const g = [Zt.bind(this), void 0];
2902
- for (g.unshift.apply(g, l), g.push.apply(g, i), O = g.length, y = Promise.resolve(n); c < O; )
2897
+ for (g.unshift.apply(g, l), g.push.apply(g, i), T = g.length, y = Promise.resolve(n); c < T; )
2903
2898
  y = y.then(g[c++], g[c++]);
2904
2899
  return y;
2905
2900
  }
2906
- O = l.length;
2907
- let _ = n;
2908
- for (c = 0; c < O; ) {
2909
- const g = l[c++], A = l[c++];
2901
+ T = l.length;
2902
+ let w = n;
2903
+ for (c = 0; c < T; ) {
2904
+ const g = l[c++], C = l[c++];
2910
2905
  try {
2911
- _ = g(_);
2906
+ w = g(w);
2912
2907
  } catch (p) {
2913
- A.call(this, p);
2908
+ C.call(this, p);
2914
2909
  break;
2915
2910
  }
2916
2911
  }
2917
2912
  try {
2918
- y = Zt.call(this, _);
2913
+ y = Zt.call(this, w);
2919
2914
  } catch (g) {
2920
2915
  return Promise.reject(g);
2921
2916
  }
2922
- for (c = 0, O = i.length; c < O; )
2917
+ for (c = 0, T = i.length; c < T; )
2923
2918
  y = y.then(i[c++], i[c++]);
2924
2919
  return y;
2925
2920
  }
2926
2921
  getUri(t) {
2927
2922
  t = Se(this.defaults, t);
2928
- const n = Cn(t.baseURL, t.url, t.allowAbsoluteUrls);
2929
- return _n(n, t.params, t.paramsSerializer);
2923
+ const n = _n(t.baseURL, t.url, t.allowAbsoluteUrls);
2924
+ return wn(n, t.params, t.paramsSerializer);
2930
2925
  }
2931
2926
  };
2932
2927
  f.forEach(["delete", "get", "head", "options"], function(t) {
@@ -2977,7 +2972,7 @@ let Rs = class Un {
2977
2972
  r.unsubscribe(s);
2978
2973
  }, a;
2979
2974
  }, t(function(s, a, l) {
2980
- r.reason || (r.reason = new Ae(s, a, l), n(r.reason));
2975
+ r.reason || (r.reason = new Ce(s, a, l), n(r.reason));
2981
2976
  });
2982
2977
  }
2983
2978
  /**
@@ -3026,12 +3021,12 @@ let Rs = class Un {
3026
3021
  };
3027
3022
  }
3028
3023
  };
3029
- function _s(e) {
3024
+ function ws(e) {
3030
3025
  return function(n) {
3031
3026
  return e.apply(null, n);
3032
3027
  };
3033
3028
  }
3034
- function ws(e) {
3029
+ function Os(e) {
3035
3030
  return f.isObject(e) && e.isAxiosError === !0;
3036
3031
  }
3037
3032
  const gt = {
@@ -3110,9 +3105,9 @@ function Bn(e) {
3110
3105
  }
3111
3106
  const G = Bn(Le);
3112
3107
  G.Axios = ve;
3113
- G.CanceledError = Ae;
3108
+ G.CanceledError = Ce;
3114
3109
  G.CancelToken = Rs;
3115
- G.isCancel = Tn;
3110
+ G.isCancel = An;
3116
3111
  G.VERSION = Pn;
3117
3112
  G.toFormData = st;
3118
3113
  G.AxiosError = B;
@@ -3120,11 +3115,11 @@ G.Cancel = G.CanceledError;
3120
3115
  G.all = function(t) {
3121
3116
  return Promise.all(t);
3122
3117
  };
3123
- G.spread = _s;
3124
- G.isAxiosError = ws;
3118
+ G.spread = ws;
3119
+ G.isAxiosError = Os;
3125
3120
  G.mergeConfig = Se;
3126
3121
  G.AxiosHeaders = se;
3127
- G.formToJSON = (e) => On(f.isHTMLForm(e) ? new FormData(e) : e);
3122
+ G.formToJSON = (e) => Tn(f.isHTMLForm(e) ? new FormData(e) : e);
3128
3123
  G.getAdapter = Nn.getAdapter;
3129
3124
  G.HttpStatusCode = gt;
3130
3125
  G.default = G;
@@ -3155,7 +3150,7 @@ function Me(e) {
3155
3150
  }
3156
3151
  return e;
3157
3152
  }
3158
- var Os = {
3153
+ var Ts = {
3159
3154
  read: function(e) {
3160
3155
  return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
3161
3156
  },
@@ -3216,7 +3211,7 @@ function vt(e, t) {
3216
3211
  }
3217
3212
  );
3218
3213
  }
3219
- vt(Os, { path: "/" });
3214
+ vt(Ts, { path: "/" });
3220
3215
  const ke = {
3221
3216
  // 查看 v2.4.3版本更新日志
3222
3217
  setKey(e) {
@@ -3256,13 +3251,13 @@ $n.interceptors.request.use(
3256
3251
  const r = ke.get(Xe);
3257
3252
  if (r) {
3258
3253
  e.headers.Authorization = `Bearer ${r}`;
3259
- const s = As(r), a = Cs(s.exp);
3254
+ const s = Cs(r), a = _s(s.exp);
3260
3255
  if (/* @__PURE__ */ new Date() >= a) {
3261
3256
  const l = ke.get(kt);
3262
3257
  l && (e.headers["X-Authorization"] = `Bearer ${l}`);
3263
3258
  }
3264
3259
  if (((o = e.method) == null ? void 0 : o.toLowerCase()) === "get" && e.data) {
3265
- let l = e.url + "?" + Ts(e.data);
3260
+ let l = e.url + "?" + As(e.data);
3266
3261
  l = l.slice(0, -1), e.data = {}, e.url = l;
3267
3262
  }
3268
3263
  }
@@ -3305,7 +3300,7 @@ $n.interceptors.response.use(
3305
3300
  return e.message.indexOf("timeout") != -1 ? Fe.error("网络超时") : e.message == "Network Error" ? Fe.error("网络连接错误") : (t = e.response) != null && t.data ? Fe.error((n = e.response) == null ? void 0 : n.statusText) : Fe.error("接口路径找不到"), Promise.reject(e);
3306
3301
  }
3307
3302
  );
3308
- function Ts(e) {
3303
+ function As(e) {
3309
3304
  let t = "";
3310
3305
  for (const o of Object.keys(e)) {
3311
3306
  const s = e[o];
@@ -3323,12 +3318,12 @@ function Ts(e) {
3323
3318
  }
3324
3319
  return t;
3325
3320
  }
3326
- function As(e) {
3321
+ function Cs(e) {
3327
3322
  e = e.replace(/_/g, "/").replace(/-/g, "+");
3328
3323
  var t = decodeURIComponent(escape(window.atob(e.split(".")[1])));
3329
3324
  return JSON.parse(t);
3330
3325
  }
3331
- function Cs(e) {
3326
+ function _s(e) {
3332
3327
  return new Date(e * 1e3);
3333
3328
  }
3334
3329
  const xs = Ye(he), { itemData: la } = Ee(xs), Ds = In(he), { systemKey: ia, activeMenuPath: ca } = Ee(Ds), Pe = U(0), ua = (e) => e.reduce((n, r) => {