ss-component-new 1.1.63 → 1.1.64

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