ss-component-new 1.1.97 → 1.1.98

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.
@@ -1,10 +1,10 @@
1
1
  import { ref as U, onMounted as ye, createElementBlock as v, openBlock as N, Fragment as ue, renderList as pe, createElementVNode as K, createCommentVNode as R, toDisplayString as te, watch as q, createVNode as V, unref as H, createBlock as se, resolveDynamicComponent as ge } from "vue";
2
- import { v as Q, d as z, p as X, u as Ce, f as ke, i as be, e as Ae, g as $e, m as _e, a as De, b as Te, c as je } from "./array-D_h0zy8t.js";
2
+ import { v as Q, d as z, p as X, u as Ce, f as ke, i as Ae, e as be, g as $e, m as _e, a as De, b as Te, c as je } from "./array-DfyERYP4.js";
3
3
  import { u as me } from "./modelComp-B3sxj_Kp.js";
4
4
  import { u as he, s as Z } from "./menu-BIINB-0Y.js";
5
- import xe from "./index-ZB1vhOqY.js";
5
+ import xe from "./index-BJ6C3-Vk.js";
6
6
  import { _ as re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
- import { c as r } from "./cloneDeep-Dy0swtEJ.js";
7
+ import { c as r } from "./cloneDeep-Cn5A5EfA.js";
8
8
  const Oe = { class: "bread-content" }, we = ["onClick"], Me = { key: 0 }, Ee = {
9
9
  __name: "index",
10
10
  props: {
@@ -75,12 +75,12 @@ const Y = U(0), Ne = (l) => {
75
75
  var c, u, f, h;
76
76
  let n = ((u = (c = e.slice(1, -1)) == null ? void 0 : c.split(",")) == null ? void 0 : u.length) ?? 1;
77
77
  (h = (f = e.slice(1, -1)) == null ? void 0 : f.split(",")) == null || h.forEach((o) => {
78
- var E, y, T, C, A, w, x, I, S, i, g, m, d;
79
- let a = o == null ? void 0 : o.split(":"), j = a != null && a[0] ? (a == null ? void 0 : a[1].split("$").length) - 1 === 1 ? ((E = a == null ? void 0 : a[0]) == null ? void 0 : E.replace(/^"(.*)"$/, "$1")) + ((y = a == null ? void 0 : a[1]) == null ? void 0 : y.replace(/^"(.*)"$/, "$1")) : Array.isArray((C = (T = a == null ? void 0 : a[1]) == null ? void 0 : T.replace(/^"(.*)"$/, "$1")) == null ? void 0 : C.split("(")) && ((x = (w = (A = a == null ? void 0 : a[1]) == null ? void 0 : A.replace(/^"(.*)"$/, "$1")) == null ? void 0 : w.split("(")) == null ? void 0 : x.length) > 1 ? ((I = a == null ? void 0 : a[0]) == null ? void 0 : I.replace(/^"(.*)"$/, "$1")) + ((g = (i = (S = a == null ? void 0 : a[1]) == null ? void 0 : S.replace(/^"(.*)"$/, "$1")) == null ? void 0 : i.split("(")) == null ? void 0 : g[0]) + "()" : (m = a == null ? void 0 : a[0]) == null ? void 0 : m.replace(/^"(.*)"$/, "$1") : "", b = (a == null ? void 0 : a[1].split("$").length) - 1 === 0 ? (d = a == null ? void 0 : a[1]) == null ? void 0 : d.replace(/^"(.*)"$/, "$1") : "";
78
+ var E, y, T, C, b, w, x, I, S, i, g, m, d;
79
+ let a = o == null ? void 0 : o.split(":"), j = a != null && a[0] ? (a == null ? void 0 : a[1].split("$").length) - 1 === 1 ? ((E = a == null ? void 0 : a[0]) == null ? void 0 : E.replace(/^"(.*)"$/, "$1")) + ((y = a == null ? void 0 : a[1]) == null ? void 0 : y.replace(/^"(.*)"$/, "$1")) : Array.isArray((C = (T = a == null ? void 0 : a[1]) == null ? void 0 : T.replace(/^"(.*)"$/, "$1")) == null ? void 0 : C.split("(")) && ((x = (w = (b = a == null ? void 0 : a[1]) == null ? void 0 : b.replace(/^"(.*)"$/, "$1")) == null ? void 0 : w.split("(")) == null ? void 0 : x.length) > 1 ? ((I = a == null ? void 0 : a[0]) == null ? void 0 : I.replace(/^"(.*)"$/, "$1")) + ((g = (i = (S = a == null ? void 0 : a[1]) == null ? void 0 : S.replace(/^"(.*)"$/, "$1")) == null ? void 0 : i.split("(")) == null ? void 0 : g[0]) + "()" : (m = a == null ? void 0 : a[0]) == null ? void 0 : m.replace(/^"(.*)"$/, "$1") : "", A = (a == null ? void 0 : a[1].split("$").length) - 1 === 0 ? (d = a == null ? void 0 : a[1]) == null ? void 0 : d.replace(/^"(.*)"$/, "$1") : "";
80
80
  Y.value++, s.push({
81
81
  id: Y.value,
82
82
  key: j,
83
- value: b,
83
+ value: A,
84
84
  // 如果值为空,则key设为空字符串,否则保留原值
85
85
  width: n,
86
86
  extraContent: a == null ? void 0 : a[1]
@@ -190,15 +190,15 @@ const Y = U(0), Ne = (l) => {
190
190
  let s = [], t = [];
191
191
  const e = (u = r(l)) == null ? void 0 : u.map((h) => h == null ? void 0 : h.key), n = [...new Set((f = r(e)) == null ? void 0 : f.map((h) => Ge(h)))];
192
192
  n == null || n.forEach((h) => {
193
- let o = l == null ? void 0 : l.filter((b) => b.key.includes(h));
194
- o == null || o.forEach((b) => {
195
- b != null && b.key.includes("Menus") && (s.push({
193
+ let o = l == null ? void 0 : l.filter((A) => A.key.includes(h));
194
+ o == null || o.forEach((A) => {
195
+ A != null && A.key.includes("Menus") && (s.push({
196
196
  key: "GroupName",
197
- value: oe(b == null ? void 0 : b.value)
198
- }), t.push(oe(b == null ? void 0 : b.value)));
197
+ value: oe(A == null ? void 0 : A.value)
198
+ }), t.push(oe(A == null ? void 0 : A.value)));
199
199
  });
200
- let a = l == null ? void 0 : l.filter((b) => b.key.includes(h) && !(b != null && b.key.includes("Menus")));
201
- a = a == null ? void 0 : a.map((b) => (b.key = We(b.key), b));
200
+ let a = l == null ? void 0 : l.filter((A) => A.key.includes(h) && !(A != null && A.key.includes("Menus")));
201
+ a = a == null ? void 0 : a.map((A) => (A.key = We(A.key), A));
202
202
  const j = {
203
203
  key: "GroupContents",
204
204
  value: a
@@ -249,29 +249,29 @@ const Y = U(0), Ne = (l) => {
249
249
  }, Ye = (l) => Ke(l), ie = (l) => {
250
250
  var s, t, e, n, c, u, f, h;
251
251
  try {
252
- const o = Ne((t = (s = r(l)) == null ? void 0 : s.replace("(", "(")) == null ? void 0 : t.replace(")", ")")), a = (n = (e = r(o)) == null ? void 0 : e.filter((y) => !y.includes("/*"))) == null ? void 0 : n.map((y) => Ue(y)), j = Re(a), b = [];
252
+ const o = Ne((t = (s = r(l)) == null ? void 0 : s.replace("(", "(")) == null ? void 0 : t.replace(")", ")")), a = (n = (e = r(o)) == null ? void 0 : e.filter((y) => !y.includes("/*"))) == null ? void 0 : n.map((y) => Ue(y)), j = Re(a), A = [];
253
253
  if (((c = j == null ? void 0 : j.find((y) => (y == null ? void 0 : y.key) === "Menus")) == null ? void 0 : c.value.length) === 0)
254
254
  return !1;
255
255
  (u = r(j)) == null || u.forEach((y) => {
256
- var T, C, A, w, x, I, S, i, g;
256
+ var T, C, b, w, x, I, S, i, g;
257
257
  (T = Q) != null && T.find((m) => {
258
258
  var d, p;
259
259
  return ((d = m == null ? void 0 : m.key) == null ? void 0 : d.toUpperCase()) === ((p = y == null ? void 0 : y.key) == null ? void 0 : p.toUpperCase());
260
- }) ? b.push({
261
- comp: ((A = (C = Q) == null ? void 0 : C.find((m) => {
260
+ }) ? A.push({
261
+ comp: ((b = (C = Q) == null ? void 0 : C.find((m) => {
262
262
  var d, p;
263
263
  return ((d = m == null ? void 0 : m.key) == null ? void 0 : d.toUpperCase()) === ((p = y == null ? void 0 : y.key) == null ? void 0 : p.toUpperCase());
264
- })) == null ? void 0 : A.value) ?? "",
264
+ })) == null ? void 0 : b.value) ?? "",
265
265
  name: (w = y == null ? void 0 : y.value) == null ? void 0 : w.replace(/[’]|[‘]|[']/g, ""),
266
266
  compData: []
267
267
  }) : (x = z) != null && x.find((m) => {
268
268
  var d, p;
269
269
  return ((d = m == null ? void 0 : m.key) == null ? void 0 : d.toUpperCase()) === ((p = y == null ? void 0 : y.key) == null ? void 0 : p.toUpperCase());
270
- }) && ((b == null ? void 0 : b.length) === 0 && (I = y.key) != null && I.includes("Menus") && b.push({
270
+ }) && ((A == null ? void 0 : A.length) === 0 && (I = y.key) != null && I.includes("Menus") && A.push({
271
271
  comp: "Menu",
272
272
  name: "",
273
273
  compData: []
274
- }), (S = b == null ? void 0 : b[(b == null ? void 0 : b.length) - 1]) != null && S.compData && b[(b == null ? void 0 : b.length) - 1].compData.push({
274
+ }), (S = A == null ? void 0 : A[(A == null ? void 0 : A.length) - 1]) != null && S.compData && A[(A == null ? void 0 : A.length) - 1].compData.push({
275
275
  key: (g = (i = z) == null ? void 0 : i.find((m) => {
276
276
  var d, p;
277
277
  return ((d = m == null ? void 0 : m.key) == null ? void 0 : d.toUpperCase()) === ((p = y == null ? void 0 : y.key) == null ? void 0 : p.toUpperCase());
@@ -279,12 +279,12 @@ const Y = U(0), Ne = (l) => {
279
279
  contents: y == null ? void 0 : y.value
280
280
  }));
281
281
  });
282
- let E = (f = r(b)) == null ? void 0 : f.map((y) => {
282
+ let E = (f = r(A)) == null ? void 0 : f.map((y) => {
283
283
  var T;
284
284
  return y != null && y.compData && (y.compData = (T = y == null ? void 0 : y.compData) == null ? void 0 : T.map((C) => {
285
- var A, w, x, I, S, i, g, m, d, p, k;
285
+ var b, w, x, I, S, i, g, m, d, p, k;
286
286
  if ((C == null ? void 0 : C.key) === "formFlex")
287
- C.contents = ((w = (A = C.contents) == null ? void 0 : A.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : w.toUpperCase()) !== "Vertical".toUpperCase();
287
+ C.contents = ((w = (b = C.contents) == null ? void 0 : b.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : w.toUpperCase()) !== "Vertical".toUpperCase();
288
288
  else if ((C == null ? void 0 : C.key) === "groupContents")
289
289
  C.contents = (x = r(C.contents)) == null ? void 0 : x.map(($) => Le(r($)));
290
290
  else if (Array.isArray(C == null ? void 0 : C.contents))
@@ -302,14 +302,14 @@ const Y = U(0), Ne = (l) => {
302
302
  var T;
303
303
  return (y == null ? void 0 : y.comp) === "Group" && (y.compData = (T = y.compData) == null ? void 0 : T.map((C) => {
304
304
  var w;
305
- let A = [];
305
+ let b = [];
306
306
  return (w = C.contents) == null || w.forEach((x) => {
307
307
  var I, S, i, g, m, d, p, k, $, D, O, _, J, B, G, W, ce;
308
308
  if ((I = Q) != null && I.find((M) => {
309
309
  var P, F, L;
310
310
  return ((P = M == null ? void 0 : M.key) == null ? void 0 : P.toUpperCase()) === ((L = (F = Object.keys(x)) == null ? void 0 : F[0]) == null ? void 0 : L.toUpperCase());
311
311
  }))
312
- A.push({
312
+ b.push({
313
313
  comp: (i = (S = Q) == null ? void 0 : S.find((M) => {
314
314
  var P, F, L;
315
315
  return ((P = M == null ? void 0 : M.key) == null ? void 0 : P.toUpperCase()) === ((L = (F = Object.keys(x)) == null ? void 0 : F[0]) == null ? void 0 : L.toUpperCase());
@@ -321,8 +321,8 @@ const Y = U(0), Ne = (l) => {
321
321
  var P, F, L;
322
322
  return ((P = M == null ? void 0 : M.key) == null ? void 0 : P.toUpperCase()) === ((L = (F = Object.keys(x)) == null ? void 0 : F[0]) == null ? void 0 : L.toUpperCase());
323
323
  })) {
324
- if ((A == null ? void 0 : A.length) === 0) return;
325
- (p = A == null ? void 0 : A[(A == null ? void 0 : A.length) - 1]) != null && p.compData && A[(A == null ? void 0 : A.length) - 1].compData.push({
324
+ if ((b == null ? void 0 : b.length) === 0) return;
325
+ (p = b == null ? void 0 : b[(b == null ? void 0 : b.length) - 1]) != null && p.compData && b[(b == null ? void 0 : b.length) - 1].compData.push({
326
326
  key: ($ = (k = z) == null ? void 0 : k.find((M) => {
327
327
  var P, F, L;
328
328
  return ((P = M == null ? void 0 : M.key) == null ? void 0 : P.toUpperCase()) === ((L = (F = Object.keys(x)) == null ? void 0 : F[0]) == null ? void 0 : L.toUpperCase());
@@ -331,7 +331,7 @@ const Y = U(0), Ne = (l) => {
331
331
  });
332
332
  } else if ((_ = (O = Object.keys(x)) == null ? void 0 : O[0]) != null && _.includes("$")) {
333
333
  const M = (B = (J = Object.keys(r(x))) == null ? void 0 : J[0]) == null ? void 0 : B.split("$");
334
- A[(A == null ? void 0 : A.length) - 1].compData.push({
334
+ b[(b == null ? void 0 : b.length) - 1].compData.push({
335
335
  key: (W = (G = z) == null ? void 0 : G.find((P) => {
336
336
  var F, L;
337
337
  return ((F = P == null ? void 0 : P.key) == null ? void 0 : F.toUpperCase()) === ((L = M == null ? void 0 : M[0]) == null ? void 0 : L.toUpperCase());
@@ -341,7 +341,7 @@ const Y = U(0), Ne = (l) => {
341
341
  });
342
342
  }
343
343
  return x;
344
- }), C.contents = A, C;
344
+ }), C.contents = b, C;
345
345
  })), y;
346
346
  }), E;
347
347
  } catch {
@@ -392,13 +392,13 @@ const Y = U(0), Ne = (l) => {
392
392
  });
393
393
  }), t;
394
394
  }, Ve = (l) => {
395
- var u, f, h, o, a, j, b, E, y, T, C, A, w, x, I, S, i, g, m, d, p;
395
+ var u, f, h, o, a, j, A, E, y, T, C, b, w, x, I, S, i, g, m, d, p;
396
396
  const s = (o = (h = (f = (u = r(l)) == null ? void 0 : u[0]) == null ? void 0 : f.key.split("(")) == null ? void 0 : h[0]) == null ? void 0 : o.trim();
397
397
  let t = "", e = "";
398
- if (!((b = (j = (a = r(l)) == null ? void 0 : a[0]) == null ? void 0 : j.key) != null && b.includes("{")))
398
+ if (!((A = (j = (a = r(l)) == null ? void 0 : a[0]) == null ? void 0 : j.key) != null && A.includes("{")))
399
399
  t = ((T = (y = (E = r(l)) == null ? void 0 : E[0]) == null ? void 0 : y.key.match(/\(([^)]+)\)/)) == null ? void 0 : T[1]) ?? "", e = "";
400
400
  else {
401
- const k = ((w = (A = (C = r(l)) == null ? void 0 : C[0]) == null ? void 0 : A.key.match(/\{([^{}]*)\}/)) == null ? void 0 : w[1]) ?? "", $ = Qe((I = (x = r(l)) == null ? void 0 : x[0]) == null ? void 0 : I.key);
401
+ const k = ((w = (b = (C = r(l)) == null ? void 0 : C[0]) == null ? void 0 : b.key.match(/\{([^{}]*)\}/)) == null ? void 0 : w[1]) ?? "", $ = Qe((I = (x = r(l)) == null ? void 0 : x[0]) == null ? void 0 : I.key);
402
402
  t = (((S = k.match(/\(([^)]+)\)/)) == null ? void 0 : S[1]) ?? "").trim() + "(" + ((i = k.split(":")) == null ? void 0 : i[1].trim()) + ")", e = $.replace(k, "").replace(/^(\{\}|\[.*?\]):\s*/, "").replace(/(:\s*|>\s*)/g, "/");
403
403
  }
404
404
  const n = Xe((d = (m = (g = r(l)) == null ? void 0 : g.filter((k) => !k.key.includes("["))) == null ? void 0 : m[0]) == null ? void 0 : d.value), c = Ze((p = r(l)) == null ? void 0 : p.filter((k) => k.key.includes("[")).map((k) => k.value));
@@ -452,12 +452,12 @@ const Y = U(0), Ne = (l) => {
452
452
  var n, c, u, f, h;
453
453
  if ((e == null ? void 0 : e.key) === "tableContents")
454
454
  if (e.contents.includes("$")) {
455
- const o = (n = r(e.contents).trim().replaceAll("$", "").split("(")) == null ? void 0 : n[0], a = (u = (c = r(e.contents).trim().replaceAll("$", "").split("(")) == null ? void 0 : c[1].split(")")) == null ? void 0 : u[0].replace(/^"|"$/g, ""), j = (f = ae.value) == null ? void 0 : f.find((E) => E.type === o && E.systemName === a), b = (h = j.tableColumn) == null ? void 0 : h.map((E) => ({
455
+ const o = (n = r(e.contents).trim().replaceAll("$", "").split("(")) == null ? void 0 : n[0], a = (u = (c = r(e.contents).trim().replaceAll("$", "").split("(")) == null ? void 0 : c[1].split(")")) == null ? void 0 : u[0].replace(/^"|"$/g, ""), j = (f = ae.value) == null ? void 0 : f.find((E) => E.type === o && E.systemName === a), A = (h = j.tableColumn) == null ? void 0 : h.map((E) => ({
456
456
  label: E
457
457
  }));
458
458
  s.push({
459
459
  key: "header",
460
- contents: b
460
+ contents: A
461
461
  }), s.push({
462
462
  key: "tableContents",
463
463
  contents: j.tableContents
@@ -472,16 +472,16 @@ const Y = U(0), Ne = (l) => {
472
472
  return (t = r(l)) == null ? void 0 : t.map((e) => {
473
473
  var n;
474
474
  return e.key === "formContent" && (e.contents = (n = e.contents) == null ? void 0 : n.map((c) => {
475
- var u, f, h, o, a, j, b, E, y, T, C, A;
475
+ var u, f, h, o, a, j, A, E, y, T, C, b;
476
476
  if (c.extraContent.includes("($")) {
477
- const w = (f = (u = c.extraContent) == null ? void 0 : u.split("($")) == null ? void 0 : f[1], x = (h = w.split("(")) == null ? void 0 : h[0], I = (j = (a = (o = w.split("(")) == null ? void 0 : o[1]) == null ? void 0 : a.split(")")) == null ? void 0 : j[0].replace(/^"|"$/g, ""), S = (b = w.match(/\["([^"]+)"\]/)) == null ? void 0 : b[1], i = (E = ae.value) == null ? void 0 : E.find((D) => D.type === x && D.systemName === I), g = (y = i.tableColumn) == null ? void 0 : y.findIndex((D) => D === S), m = (T = i.tableContents) == null ? void 0 : T.map((D) => D[g]);
477
+ const w = (f = (u = c.extraContent) == null ? void 0 : u.split("($")) == null ? void 0 : f[1], x = (h = w.split("(")) == null ? void 0 : h[0], I = (j = (a = (o = w.split("(")) == null ? void 0 : o[1]) == null ? void 0 : a.split(")")) == null ? void 0 : j[0].replace(/^"|"$/g, ""), S = (A = w.match(/\["([^"]+)"\]/)) == null ? void 0 : A[1], i = (E = ae.value) == null ? void 0 : E.find((D) => D.type === x && D.systemName === I), g = (y = i.tableColumn) == null ? void 0 : y.findIndex((D) => D === S), m = (T = i.tableContents) == null ? void 0 : T.map((D) => D[g]);
478
478
  let d = "";
479
479
  const p = [...new Set(m)];
480
480
  (C = r(p)) == null || C.forEach((D) => {
481
481
  d = d === "" ? d + D : d + "," + D;
482
482
  });
483
483
  let k = r(c.key);
484
- c.key = ((A = k == null ? void 0 : k.split("(")) == null ? void 0 : A[0]) + "(" + d + ")";
484
+ c.key = ((b = k == null ? void 0 : k.split("(")) == null ? void 0 : b[0]) + "(" + d + ")";
485
485
  let $ = p[0];
486
486
  c.value = $;
487
487
  }
@@ -507,10 +507,10 @@ const Y = U(0), Ne = (l) => {
507
507
  setup(l, { emit: s }) {
508
508
  const t = l, e = s, n = me(X);
509
509
  Ce(X);
510
- const c = U(!0), u = he(), f = U(!0), { itemData: h } = Z(n), o = ke(X), { activeMenuPath: a, activeMenuOpenPaths: j, menuTriggerType: b, menus: E } = Z(u), { selectIndex: y, selectTitle: T } = Z(o), C = U([]), A = U([]), w = (i) => {
510
+ const c = U(!0), u = he(), f = U(!0), { itemData: h } = Z(n), o = ke(X), { activeMenuPath: a, activeMenuOpenPaths: j, menuTriggerType: A, menus: E } = Z(u), { selectIndex: y, selectTitle: T } = Z(o), C = U([]), b = U([]), w = (i) => {
511
511
  var m, d, p;
512
512
  const g = (m = h.value) == null ? void 0 : m.find((k) => k.name === a.value);
513
- A.value = (p = (d = g == null ? void 0 : g.compData) == null ? void 0 : d[0]) == null ? void 0 : p.contents, f.value = !0, f.value && (f.value = !1), e("change", {
513
+ b.value = (p = (d = g == null ? void 0 : g.compData) == null ? void 0 : d[0]) == null ? void 0 : p.contents, f.value = !0, f.value && (f.value = !1), e("change", {
514
514
  wholeValue: C.value,
515
515
  editValue: i
516
516
  });
@@ -560,7 +560,7 @@ const Y = U(0), Ne = (l) => {
560
560
  const _ = (p = r(h.value)) == null ? void 0 : p.filter((J) => (J == null ? void 0 : J.comp) === "Group");
561
561
  i = _ == null ? void 0 : _.find((J) => J.name === a.value);
562
562
  }
563
- A.value = ($ = (k = i == null ? void 0 : i.compData) == null ? void 0 : k[0]) == null ? void 0 : $.contents, C.value = (O = (D = i == null ? void 0 : i.compData) == null ? void 0 : D[0]) == null ? void 0 : O.contents, console.log("itemData监听", i, a.value, h.value);
563
+ b.value = ($ = (k = i == null ? void 0 : i.compData) == null ? void 0 : k[0]) == null ? void 0 : $.contents, C.value = (O = (D = i == null ? void 0 : i.compData) == null ? void 0 : D[0]) == null ? void 0 : O.contents, console.log("itemData监听", i, a.value, h.value);
564
564
  },
565
565
  { deep: !0, immediate: !0 }
566
566
  ), q(() => a.value, (i) => {
@@ -568,11 +568,11 @@ const Y = U(0), Ne = (l) => {
568
568
  if (i) {
569
569
  const D = (g = r(h.value)) == null ? void 0 : g.find((O) => O.name === i);
570
570
  if (i && D) {
571
- A.value = (d = (m = D == null ? void 0 : D.compData) == null ? void 0 : m[0]) == null ? void 0 : d.contents, C.value = (k = (p = D == null ? void 0 : D.compData) == null ? void 0 : p[0]) == null ? void 0 : k.contents, console.log("点击-新-data:", i, A.value);
572
- const O = ($ = A.value) == null ? void 0 : $.filter((_) => _.comp === "Form");
571
+ b.value = (d = (m = D == null ? void 0 : D.compData) == null ? void 0 : m[0]) == null ? void 0 : d.contents, C.value = (k = (p = D == null ? void 0 : D.compData) == null ? void 0 : p[0]) == null ? void 0 : k.contents, console.log("点击-新-data:", i, b.value);
572
+ const O = ($ = b.value) == null ? void 0 : $.filter((_) => _.comp === "Form");
573
573
  Se(O);
574
574
  } else
575
- A.value = [], C.value = [];
575
+ b.value = [], C.value = [];
576
576
  o.setSelectTitle([]), o.setSelectIndex(""), o.setSelectMenu("");
577
577
  }
578
578
  }, {
@@ -589,7 +589,7 @@ const Y = U(0), Ne = (l) => {
589
589
  c.value = !0;
590
590
  let i, g = [];
591
591
  (D = ($ = t == null ? void 0 : t.content) == null ? void 0 : $.filter((O) => O !== "")) == null || D.forEach((O) => {
592
- be(O) ? g.push(Ae(O)) : ie(O) ? g.push(ie(O)) : g.push(tt(O));
592
+ Ae(O) ? g.push(be(O)) : ie(O) ? g.push(ie(O)) : g.push(tt(O));
593
593
  }), i = nt(g);
594
594
  const m = Array.isArray(i) && (i == null ? void 0 : i.find((O) => {
595
595
  var _;
@@ -609,7 +609,7 @@ const Y = U(0), Ne = (l) => {
609
609
  var m, d;
610
610
  return N(), v("div", at, [
611
611
  V(xe, { class: "sys-aside" }),
612
- ((m = A.value) == null ? void 0 : m.length) > 0 ? (N(), v("div", ct, [
612
+ ((m = b.value) == null ? void 0 : m.length) > 0 ? (N(), v("div", ct, [
613
613
  ((d = H(T)) == null ? void 0 : d.length) > 1 ? (N(), v("div", ot, [
614
614
  (N(), se(Ie, {
615
615
  key: H(T),
@@ -617,7 +617,7 @@ const Y = U(0), Ne = (l) => {
617
617
  onClick: I
618
618
  }, null, 8, ["breadArray"]))
619
619
  ])) : R("", !0),
620
- (N(!0), v(ue, null, pe(A.value, (p, k) => (N(), v("div", {
620
+ (N(!0), v(ue, null, pe(b.value, (p, k) => (N(), v("div", {
621
621
  class: "item-content",
622
622
  key: k
623
623
  }, [
@@ -644,7 +644,7 @@ const Y = U(0), Ne = (l) => {
644
644
  }, gt = { class: "model-select" }, Ct = { class: "model-fill" }, kt = {
645
645
  key: 2,
646
646
  class: "model-view"
647
- }, bt = {
647
+ }, At = {
648
648
  __name: "index",
649
649
  props: {
650
650
  mode: {
@@ -666,7 +666,7 @@ const Y = U(0), Ne = (l) => {
666
666
  },
667
667
  emits: ["change", "contentChange"],
668
668
  setup(l, { emit: s }) {
669
- const t = l, e = s, n = U([]), c = U([]), u = U([]), f = U(0), h = me(X), o = he(X), { itemData: a, originalData: j } = Z(h), { activeMenuPath: b } = Z(o), E = U(null), y = U(0), T = U([]), C = U(""), A = U(0), w = (g) => {
669
+ const t = l, e = s, n = U([]), c = U([]), u = U([]), f = U(0), h = me(X), o = he(X), { itemData: a, originalData: j } = Z(h), { activeMenuPath: A } = Z(o), E = U(null), y = U(0), T = U([]), C = U(""), b = U(0), w = (g) => {
670
670
  e("contentChange", g);
671
671
  }, x = (g) => {
672
672
  var d;
@@ -684,7 +684,7 @@ const Y = U(0), Ne = (l) => {
684
684
  q(
685
685
  () => c.value,
686
686
  () => {
687
- A.value === c.value.length && c.value.length !== 0 && (n.value = c.value);
687
+ b.value === c.value.length && c.value.length !== 0 && (n.value = c.value);
688
688
  },
689
689
  { deep: !0, immediate: !0 }
690
690
  );
@@ -693,7 +693,7 @@ const Y = U(0), Ne = (l) => {
693
693
  }, S = async (g) => {
694
694
  const m = g.target.files;
695
695
  if (!m) return;
696
- new FileReader(), n.value = [], c.value = [], A.value = m.length;
696
+ new FileReader(), n.value = [], c.value = [], b.value = m.length;
697
697
  const d = Array.from(m).map(async (p) => await new Promise((k) => {
698
698
  const $ = new FileReader();
699
699
  $.onload = (D) => {
@@ -710,7 +710,7 @@ const Y = U(0), Ne = (l) => {
710
710
  q(
711
711
  () => [t == null ? void 0 : t.content, t == null ? void 0 : t.jsonContents],
712
712
  () => {
713
- n.value = t.content, u.value = t == null ? void 0 : t.jsonContents;
713
+ console.log(232, t.content), n.value = t.content, u.value = t == null ? void 0 : t.jsonContents;
714
714
  },
715
715
  { deep: !0, immediate: !0 }
716
716
  ), q(
@@ -784,7 +784,7 @@ const Y = U(0), Ne = (l) => {
784
784
  ]);
785
785
  };
786
786
  }
787
- }, Ot = /* @__PURE__ */ re(bt, [["__scopeId", "data-v-00748fcb"]]);
787
+ }, Ot = /* @__PURE__ */ re(At, [["__scopeId", "data-v-ea2c329a"]]);
788
788
  export {
789
789
  Ot as default
790
790
  };