ss-component-new 1.1.239 → 1.1.252

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist/array-BhjrAPhE.js +4734 -0
  2. package/dist/array-DsZXIcD2.cjs +7 -0
  3. package/dist/{cloneDeep-kbsGGN_Q.cjs → cloneDeep-B135w891.cjs} +1 -1
  4. package/dist/{cloneDeep-BcK4cO7a.js → cloneDeep-BllTpMX-.js} +1 -1
  5. package/dist/icons/img/insofworkslogo.ico +0 -0
  6. package/dist/{index-NdocPiqA.js → index-13kbVn0I.js} +9 -9
  7. package/dist/{index-FX9zIOBz.cjs → index-B3IqlUYG.cjs} +1 -1
  8. package/dist/{index-DRcuI2gm.js → index-B56weiCa.js} +4 -4
  9. package/dist/{index-Be4n2ecn.js → index-B5d1OhV0.js} +185 -186
  10. package/dist/index-B7kLv-oH.js +3757 -0
  11. package/dist/{index-BUga6nNK.cjs → index-B8vD15H0.cjs} +1 -1
  12. package/dist/{index-FaQ9vBep.js → index-B9rOZR1k.js} +4 -4
  13. package/dist/index-BK5w6uMd.js +461 -0
  14. package/dist/{index-C7Y_BQCw.js → index-BM97Nh7v.js} +102 -97
  15. package/dist/{index-BoA0FuEi.js → index-BOXue8CC.js} +7 -7
  16. package/dist/index-BV-R8PQn.cjs +1 -0
  17. package/dist/index-BWTusWqR.js +224 -0
  18. package/dist/index-BYqzfeul.cjs +1 -0
  19. package/dist/{index-CQ0bJWFx.cjs → index-Bg0BoMyK.cjs} +1 -1
  20. package/dist/{index-V9D4K_Sf.cjs → index-Bhbral-D.cjs} +1 -1
  21. package/dist/{index-BOzSvFJA.cjs → index-BlWV5dab.cjs} +1 -1
  22. package/dist/index-BsUoHS_0.cjs +9 -0
  23. package/dist/{index-D0FNjq6G.cjs → index-Bsm0oDd2.cjs} +1 -1
  24. package/dist/{index-CWsALJ8f.cjs → index-BtHcbXIL.cjs} +1 -1
  25. package/dist/{index-3g7rW5vQ.js → index-BubJ_6uh.js} +1 -1
  26. package/dist/{index-CgxSbKBz.js → index-C6QcbKBS.js} +4 -4
  27. package/dist/{index-B66Qf5rw.js → index-CCTPQ2Og.js} +6 -6
  28. package/dist/{index-Du-s_IGe.js → index-CKdmCGWv.js} +1 -1
  29. package/dist/{index-DX3jtjLG.js → index-CM3SjbuE.js} +3 -3
  30. package/dist/{index-CrSVdnus.cjs → index-COjok9zl.cjs} +1 -1
  31. package/dist/{index-CiTgFX9o.js → index-CSuijRgr.js} +80 -80
  32. package/dist/{index-Cbj_oJPC.cjs → index-CXQfynOD.cjs} +1 -1
  33. package/dist/{index-GlyYi8eO.cjs → index-CgKEpk2a.cjs} +1 -1
  34. package/dist/{index-CrdlZPHq.js → index-CgZhftQO.js} +4 -4
  35. package/dist/{index-CG01yKU1.js → index-Cm5IxLo3.js} +2893 -2892
  36. package/dist/{index-Gc1epwAE.cjs → index-CmW94cTp.cjs} +1 -1
  37. package/dist/{index-C3UTqVyv.cjs → index-D-SMmlK-.cjs} +33 -33
  38. package/dist/{index-BMrHnCTf.js → index-D1-U0vrH.js} +75 -66
  39. package/dist/{index-CoH0G-uS.cjs → index-D6VayVA6.cjs} +1 -1
  40. package/dist/{index-BAWROpdj.js → index-DMLGnO0b.js} +1 -1
  41. package/dist/{index-DcymGmWj.js → index-DRxZt4Wv.js} +1 -1
  42. package/dist/{index-8hwiS85r.js → index-DVjTXK6S.js} +5 -5
  43. package/dist/index-D_29gkCH.cjs +1 -0
  44. package/dist/{index-B_VMMfxb.js → index-DowLTE1s.js} +1 -1
  45. package/dist/{index-DreX5xyP.js → index-LgF7m5cd.js} +5 -5
  46. package/dist/{index-BdiQsOpb.cjs → index-MCv8h_HT.cjs} +1 -1
  47. package/dist/{index-DqLOgQsT.cjs → index-PKHQ7Nyl.cjs} +1 -1
  48. package/dist/{index-DxzvUr7M.cjs → index-RVlvIJC4.cjs} +1 -1
  49. package/dist/{index-BhOckTgC.cjs → index-RusK-dxZ.cjs} +1 -1
  50. package/dist/{index-5JXCiHw3.cjs → index-Ub-DS2ga.cjs} +1 -1
  51. package/dist/{index-C8nLtJQB.js → index-VN54J5oj.js} +6 -6
  52. package/dist/{index-D-auhS5f.js → index-X7YNR_bm.js} +3 -3
  53. package/dist/{index-B2KK3HzA.cjs → index-_vDsdUJi.cjs} +1 -1
  54. package/dist/{index-CK7nt4bL.cjs → index-g5lygwSm.cjs} +1 -1
  55. package/dist/{index-P_6AmAJ6.js → index-nNNsd9if.js} +1 -1
  56. package/dist/index-vFYm7SIH.cjs +1 -0
  57. package/dist/index-xOEFDxna.cjs +1 -0
  58. package/dist/{index.vue_vue_type_script_setup_true_lang-DVmAEsPP.js → index.vue_vue_type_script_setup_true_lang-T9gGbni6.js} +1 -1
  59. package/dist/{index.vue_vue_type_script_setup_true_lang-7hOFb1P0.cjs → index.vue_vue_type_script_setup_true_lang-TGwej3z-.cjs} +1 -1
  60. package/dist/index.vue_vue_type_style_index_0_scoped_0cbc0899_lang-BrZ1zhys.js +612 -0
  61. package/dist/index.vue_vue_type_style_index_0_scoped_0cbc0899_lang-CREMevxh.cjs +1 -0
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_11a5120d_lang-Rrc8X2Wa.js → index.vue_vue_type_style_index_0_scoped_11a5120d_lang-Bz3v6Nn0.js} +6 -6
  63. package/dist/{index.vue_vue_type_style_index_0_scoped_11a5120d_lang-DI887Xui.cjs → index.vue_vue_type_style_index_0_scoped_11a5120d_lang-DHAxO4Cg.cjs} +1 -1
  64. package/dist/{login-CbLjVnvi.js → login-BSiDyISU.js} +2 -2
  65. package/dist/{login-C0pHH-1V.cjs → login-DSB9dWl3.cjs} +1 -1
  66. package/dist/{main-wtI2yJ--.cjs → main-B6B8EHeL.cjs} +1 -1
  67. package/dist/{main-DLdZKJUK.js → main-CNLqlWam.js} +6 -6
  68. package/dist/{menu-CAlO6ojx.js → menu-BsDSnWTk.js} +97 -78
  69. package/dist/{menu-LlBjM6b8.cjs → menu-CVJXAhG-.cjs} +4 -4
  70. package/dist/{modelComp-Af3CYJjb.cjs → modelComp-BE3B5jke.cjs} +1 -1
  71. package/dist/{modelComp-D9gZ6ZkE.js → modelComp-O0eO-YTR.js} +1 -1
  72. package/dist/ss-component.cjs +1 -1
  73. package/dist/ss-component.css +2 -2
  74. package/dist/ss-component.js +7 -7
  75. package/dist/ss-component3.cjs +1 -1
  76. package/dist/ss-component3.js +1 -1
  77. package/package.json +1 -1
  78. package/public/icons/img/insofworkslogo.ico +0 -0
  79. package/dist/array-D-J_e91G.cjs +0 -7
  80. package/dist/array-DAwa7XAV.js +0 -4476
  81. package/dist/index-B9K0EIpS.js +0 -461
  82. package/dist/index-BFPZALXc.cjs +0 -1
  83. package/dist/index-BZHxtM--.cjs +0 -1
  84. package/dist/index-Bkc0R0j5.js +0 -3551
  85. package/dist/index-D0hUHQHn.cjs +0 -1
  86. package/dist/index-VVRul53o.cjs +0 -1
  87. package/dist/index-bC_377mt.cjs +0 -9
  88. package/dist/index.vue_vue_type_style_index_0_scoped_aefda2d8_lang-CMvvh_Fa.js +0 -612
  89. package/dist/index.vue_vue_type_style_index_0_scoped_aefda2d8_lang-Df3FKHF1.cjs +0 -1
@@ -1,20 +1,20 @@
1
- import { ref as E, onMounted as ge, watch as H, createElementBlock as b, openBlock as h, Fragment as Z, renderList as I, createElementVNode as g, createCommentVNode as O, normalizeStyle as ye, toDisplayString as B, resolveComponent as T, resolveDirective as ve, withDirectives as ke, createBlock as x, withCtx as w, createVNode as m, unref as r, createTextVNode as G, renderSlot as X, resolveDynamicComponent as oe, defineComponent as Ee, nextTick as Te } from "vue";
2
- import { m as ie, a as de, b as pe } from "./index-CiTgFX9o.js";
3
- import we from "./index-B_VMMfxb.js";
4
- import { p as z } from "./index-Du-s_IGe.js";
5
- import { u as ne } from "./modelComp-D9gZ6ZkE.js";
6
- import { s as L, u as te } from "./menu-CAlO6ojx.js";
7
- import { c as xe, p as Pe, m as Ne, b as Ve, i as Fe, e as je, d as Ce, f as me, a as Be } from "./array-DAwa7XAV.js";
8
- import { I as se, u as Je, a as _e, t as Oe, l as be } from "./index-CG01yKU1.js";
9
- import { o as Ae, c as Se, a as De, b as K, s as Q, g as le, d as re, e as ce, f as ue, _ as Le, h as Ue } from "./index.vue_vue_type_style_index_0_scoped_aefda2d8_lang-CMvvh_Fa.js";
1
+ import { ref as E, onMounted as me, watch as H, createElementBlock as b, openBlock as f, Fragment as Z, renderList as I, createElementVNode as m, createCommentVNode as O, normalizeStyle as Me, toDisplayString as B, resolveComponent as x, resolveDirective as ye, withDirectives as ve, createBlock as T, withCtx as w, createVNode as g, unref as r, createTextVNode as G, renderSlot as X, resolveDynamicComponent as oe, defineComponent as Ee, nextTick as xe } from "vue";
2
+ import { m as ie, a as de, b as pe } from "./index-CSuijRgr.js";
3
+ import ke from "./index-DowLTE1s.js";
4
+ import { p as z } from "./index-CKdmCGWv.js";
5
+ import { u as ne } from "./modelComp-O0eO-YTR.js";
6
+ import { s as L, u as te } from "./menu-BsDSnWTk.js";
7
+ import { c as Te, p as Pe, m as Ne, b as Ve, i as Fe, e as je, d as Ce, f as ge, a as Be } from "./array-BhjrAPhE.js";
8
+ import { I as se, u as Je, a as _e, t as Oe, l as we } from "./index-Cm5IxLo3.js";
9
+ import { o as be, c as Ae, a as Se, b as K, s as Q, g as le, d as re, e as ce, f as ue, _ as Le, h as Ue } from "./index.vue_vue_type_style_index_0_scoped_0cbc0899_lang-BrZ1zhys.js";
10
10
  import { _ as q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- import "./index-DX3jtjLG.js";
12
- import { u as $e } from "./login-CbLjVnvi.js";
13
- import "./index-BoA0FuEi.js";
11
+ import "./index-CM3SjbuE.js";
12
+ import { u as De } from "./login-BSiDyISU.js";
13
+ import "./index-BOXue8CC.js";
14
14
  import "./crypto-BRyGpjGR.js";
15
15
  import { S as ee } from "./index-BHtNKL1L.js";
16
- import { E as ze } from "./index-C7Y_BQCw.js";
17
- import { c as A } from "./cloneDeep-BcK4cO7a.js";
16
+ import { E as ze } from "./index-BM97Nh7v.js";
17
+ import { c as A } from "./cloneDeep-BllTpMX-.js";
18
18
  const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
19
19
  key: 0,
20
20
  class: "split-title"
@@ -29,7 +29,7 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
29
29
  emits: ["click"],
30
30
  setup(a, { emit: u }) {
31
31
  const e = a, s = E([]), p = u;
32
- ge(() => {
32
+ me(() => {
33
33
  s.value = e == null ? void 0 : e.breadArray;
34
34
  }), H(
35
35
  () => e == null ? void 0 : e.breadArray,
@@ -41,24 +41,24 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
41
41
  const n = (o) => {
42
42
  p("click", o);
43
43
  };
44
- return (o, l) => (h(), b("div", Re, [
45
- (h(!0), b(Z, null, I(s.value, (t, d) => {
44
+ return (o, l) => (f(), b("div", Re, [
45
+ (f(!0), b(Z, null, I(s.value, (t, d) => {
46
46
  var _;
47
- return h(), b("div", {
47
+ return f(), b("div", {
48
48
  key: d,
49
49
  class: "bread-item"
50
50
  }, [
51
- g("div", {
51
+ m("div", {
52
52
  class: "bread-title",
53
53
  onClick: (y) => n(t),
54
- style: ye({ opacity: ((_ = s.value) == null ? void 0 : _.length) - 1 === d ? "0.7" : "1" })
54
+ style: Me({ opacity: ((_ = s.value) == null ? void 0 : _.length) - 1 === d ? "0.7" : "1" })
55
55
  }, B(t.value), 13, Ge),
56
- d !== s.value.length - 1 && Array.isArray(s.value) ? (h(), b("div", We, B("/"))) : O("", !0)
56
+ d !== s.value.length - 1 && Array.isArray(s.value) ? (f(), b("div", We, B("/"))) : O("", !0)
57
57
  ]);
58
58
  }), 128))
59
59
  ]));
60
60
  }
61
- }, Me = /* @__PURE__ */ q(He, [["__scopeId", "data-v-ded7e2bd"]]), ae = (a) => {
61
+ }, $e = /* @__PURE__ */ q(He, [["__scopeId", "data-v-ded7e2bd"]]), ae = (a) => {
62
62
  const u = [];
63
63
  let e = 0, s = "";
64
64
  for (; e < a.length; ) {
@@ -77,7 +77,7 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
77
77
  return (p = A(u)) == null || p.forEach((n, o) => {
78
78
  let l = [];
79
79
  n == null || n.forEach((t) => {
80
- var d, _, y, k, J, F;
80
+ var d, _, y, k, J, N;
81
81
  if (se(a.replaceAll("'", '"')))
82
82
  (d = JSON.parse(a.replaceAll("'", '"'))) == null || d.forEach((v) => {
83
83
  e.push([{
@@ -88,15 +88,15 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
88
88
  else {
89
89
  l.push(t);
90
90
  let v;
91
- A(ae(a)).length === 1 ? v = A(ae(a)) : v = (_ = A(ae(a))) == null ? void 0 : _.map((f) => f.slice(1, f.length)), v = v == null ? void 0 : v.map((f) => {
91
+ A(ae(a)).length === 1 ? v = A(ae(a)) : v = (_ = A(ae(a))) == null ? void 0 : _.map((h) => h.slice(1, h.length)), v = v == null ? void 0 : v.map((h) => {
92
92
  var c, D, j;
93
- const S = f.slice(1, f.length - 1), i = (c = A(S).split(":")) == null ? void 0 : c[0];
94
- let N = "{" + ((D = S.split("{")) == null ? void 0 : D[1]);
95
- N = A(N).slice(1, N.length - 1);
96
- let V = qe(N.split(":")), M = se(V.replaceAll("'", '"')) ? JSON.parse(V.replaceAll("'", '"')) : JSON.parse(V.slice(0, V.length - 1).replaceAll("'", '"'));
93
+ const S = h.slice(1, h.length - 1), i = (c = A(S).split(":")) == null ? void 0 : c[0];
94
+ let V = "{" + ((D = S.split("{")) == null ? void 0 : D[1]);
95
+ V = A(V).slice(1, V.length - 1);
96
+ let F = qe(V.split(":")), M = se(F.replaceAll("'", '"')) ? JSON.parse(F.replaceAll("'", '"')) : JSON.parse(F.slice(0, F.length - 1).replaceAll("'", '"'));
97
97
  return {
98
98
  groupName: i.slice(1, i.length - 1).includes("[") ? "" : i.slice(1, i.length - 1),
99
- tableColumn: JSON.parse(((j = N.split(":")) == null ? void 0 : j[0]).replaceAll("'", '"')),
99
+ tableColumn: JSON.parse(((j = V.split(":")) == null ? void 0 : j[0]).replaceAll("'", '"')),
100
100
  tableContents: M
101
101
  };
102
102
  }), s > 1 && v.length === 1 ? (l.push({
@@ -107,16 +107,16 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
107
107
  value: (k = v == null ? void 0 : v[0]) == null ? void 0 : k.tableColumn
108
108
  }), l.push({
109
109
  key: "tableContents",
110
- value: [(F = (J = v == null ? void 0 : v[0]) == null ? void 0 : J.tableContents) == null ? void 0 : F[o]]
111
- })) : v == null || v.forEach((f) => {
112
- var i, N, V, M, c, D;
110
+ value: [(N = (J = v == null ? void 0 : v[0]) == null ? void 0 : J.tableContents) == null ? void 0 : N[o]]
111
+ })) : v == null || v.forEach((h) => {
112
+ var i, V, F, M, c, D;
113
113
  let S;
114
- Array.isArray((i = f == null ? void 0 : f.tableContents) == null ? void 0 : i[o]) ? S = (V = (N = f == null ? void 0 : f.tableContents) == null ? void 0 : N[o]) != null && V.every((j) => Array.isArray(j)) ? (M = f == null ? void 0 : f.tableContents) == null ? void 0 : M[o] : [(c = f == null ? void 0 : f.tableContents) == null ? void 0 : c[o]] : S = [[(D = f == null ? void 0 : f.tableContents) == null ? void 0 : D[o]]], l.push({
114
+ Array.isArray((i = h == null ? void 0 : h.tableContents) == null ? void 0 : i[o]) ? S = (F = (V = h == null ? void 0 : h.tableContents) == null ? void 0 : V[o]) != null && F.every((j) => Array.isArray(j)) ? (M = h == null ? void 0 : h.tableContents) == null ? void 0 : M[o] : [(c = h == null ? void 0 : h.tableContents) == null ? void 0 : c[o]] : S = [[(D = h == null ? void 0 : h.tableContents) == null ? void 0 : D[o]]], l.push({
115
115
  key: "groupName",
116
- value: f == null ? void 0 : f.groupName
116
+ value: h == null ? void 0 : h.groupName
117
117
  }), l.push({
118
118
  key: "tableColumn",
119
- value: f == null ? void 0 : f.tableColumn
119
+ value: h == null ? void 0 : h.tableColumn
120
120
  }), l.push({
121
121
  key: "tableContents",
122
122
  value: S
@@ -125,13 +125,13 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
125
125
  }
126
126
  });
127
127
  }), e;
128
- }, fe = (a) => {
128
+ }, he = (a) => {
129
129
  const u = [];
130
130
  let e = !1;
131
131
  return a.forEach((s) => {
132
132
  Array.isArray(s) && (e = !0, s.forEach((p) => {
133
133
  const n = a.map((o) => o === s ? p : o);
134
- u.push(...fe(n));
134
+ u.push(...he(n));
135
135
  }));
136
136
  }), e ? u : [a];
137
137
  }, Xe = (a) => {
@@ -152,7 +152,7 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
152
152
  t.push(k);
153
153
  } else
154
154
  t.push(_);
155
- }), (d = fe(t)) == null || d.forEach((_) => {
155
+ }), (d = he(t)) == null || d.forEach((_) => {
156
156
  e.push(_);
157
157
  });
158
158
  });
@@ -176,7 +176,7 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
176
176
  p.push(_);
177
177
  } else
178
178
  p.push(t);
179
- }), (o = fe(p)) == null || o.forEach((t) => {
179
+ }), (o = he(p)) == null || o.forEach((t) => {
180
180
  u.push(t);
181
181
  }), (l = u == null ? void 0 : u.filter((t) => t.length !== 0)) == null ? void 0 : l.map((t) => {
182
182
  let d = "";
@@ -214,11 +214,11 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
214
214
  var o, l;
215
215
  let p = [];
216
216
  return (o = Ke(s == null ? void 0 : s.filter((t) => (t == null ? void 0 : t.key) !== "contentPath"))) == null || o.forEach((t) => {
217
- var y, k, J, F, v, f, S;
217
+ var y, k, J, N, v, h, S;
218
218
  let d = [];
219
219
  if (!((y = t.find((i) => (i == null ? void 0 : i.key) === "tableColumn")) != null && y.value))
220
220
  return;
221
- const _ = Array.isArray((k = t.find((i) => (i == null ? void 0 : i.key) === "tableColumn")) == null ? void 0 : k.value) ? (F = (J = t.find((i) => (i == null ? void 0 : i.key) === "tableColumn")) == null ? void 0 : J.value) == null ? void 0 : F.map((i) => ({
221
+ const _ = Array.isArray((k = t.find((i) => (i == null ? void 0 : i.key) === "tableColumn")) == null ? void 0 : k.value) ? (N = (J = t.find((i) => (i == null ? void 0 : i.key) === "tableColumn")) == null ? void 0 : J.value) == null ? void 0 : N.map((i) => ({
222
222
  label: i
223
223
  })) : [(v = t.find((i) => (i == null ? void 0 : i.key) === "tableColumn")) == null ? void 0 : v.value].map((i) => ({
224
224
  label: i
@@ -230,7 +230,7 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
230
230
  contents: _
231
231
  }), d.push({
232
232
  key: "tableContents",
233
- contents: (f = t.find((i) => (i == null ? void 0 : i.key) === "tableContents")) == null ? void 0 : f.value
233
+ contents: (h = t.find((i) => (i == null ? void 0 : i.key) === "tableContents")) == null ? void 0 : h.value
234
234
  }), d.push({
235
235
  key: "extraButton",
236
236
  contents: [{ label: "新增" }]
@@ -296,18 +296,19 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
296
296
  }), u = [...u, ...en(s)], u;
297
297
  }, tn = (a) => {
298
298
  var p, n, o, l, t;
299
- const u = (o = xe((n = (p = A(a)) == null ? void 0 : p.replace("(", "(")) == null ? void 0 : n.replace(")", ")"))) == null ? void 0 : o.filter((d) => d !== ""), e = (t = (l = A(u)) == null ? void 0 : l.filter((d) => !d.includes("/*"))) == null ? void 0 : t.map((d) => Pe(d));
299
+ const u = (o = Te((n = (p = A(a)) == null ? void 0 : p.replace("(", "(")) == null ? void 0 : n.replace(")", ")"))) == null ? void 0 : o.filter((d) => d !== ""), e = (t = (l = A(u)) == null ? void 0 : l.filter((d) => !d.includes("/*"))) == null ? void 0 : t.map((d) => Pe(d));
300
300
  return nn(e);
301
301
  }, an = { class: "item-menu-content" }, on = { class: "item-left-content" }, sn = {
302
302
  key: 0,
303
303
  class: "page-icon"
304
304
  }, ln = { class: "avatar" }, rn = { style: { display: "flex" } }, cn = { class: "select-icon" }, un = {
305
305
  key: 0,
306
- class: "model-operate"
306
+ class: "model-operate",
307
+ style: { width: "0px" }
307
308
  }, dn = { class: "model-select" }, pn = { class: "model-fill" }, _n = {
308
309
  key: 1,
309
310
  class: "show-main-content"
310
- }, fn = { class: "show-content" }, hn = { class: "item-view-group" }, Cn = { class: "show-item-content" }, mn = { class: "item-view-group" }, gn = {
311
+ }, hn = { class: "show-content" }, fn = { class: "item-view-group" }, Cn = { class: "show-item-content" }, gn = { class: "item-view-group" }, mn = {
311
312
  key: 2,
312
313
  class: "show-main-content"
313
314
  }, yn = {
@@ -318,8 +319,8 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
318
319
  },
319
320
  emits: ["change", "contentChange"],
320
321
  setup(a, { emit: u }) {
321
- const e = $e(), { loginUserInfo: s, cryptoInfo: p } = L(e);
322
- ge(() => {
322
+ const e = De(), { loginUserInfo: s, cryptoInfo: p } = L(e);
323
+ me(() => {
323
324
  ze({
324
325
  title: "温馨提示:",
325
326
  type: "success",
@@ -331,32 +332,32 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
331
332
  Je(z), E(!0);
332
333
  const o = te();
333
334
  E(!0);
334
- const { itemData: l, isEdit: t, isRefreshCurStructure: d, curStructureCompIds: _ } = L(n), y = _e(z), { activeMenuPath: k, menus: J, importLoading: F } = L(o), { selectIndex: v, selectTitle: f } = L(y);
335
+ const { itemData: l, isEdit: t, isRefreshCurStructure: d, curStructureCompIds: _ } = L(n), y = _e(z), { activeMenuPath: k, menus: J, importLoading: N } = L(o), { selectIndex: v, selectTitle: h } = L(y);
335
336
  return E([]), E(!1), (S, i) => {
336
- const N = T("el-aside"), V = T("el-button"), M = T("el-avatar"), c = T("el-header"), D = T("router-view"), j = T("el-main"), P = T("el-container"), W = ve("loading");
337
- return ke((h(), x(P, { "element-loading-text": "正在加载页面数据..." }, {
337
+ const V = x("el-aside"), F = x("el-button"), M = x("el-avatar"), c = x("el-header"), D = x("router-view"), j = x("el-main"), P = x("el-container"), W = ye("loading");
338
+ return ve((f(), T(P, { "element-loading-text": "正在加载页面数据..." }, {
338
339
  default: w(() => [
339
- r(t) === "view" ? (h(), x(N, {
340
+ r(t) === "view" ? (f(), T(V, {
340
341
  key: 0,
341
342
  width: "250px"
342
343
  }, {
343
344
  default: w(() => [
344
- m(we, { mode: "vertical" })
345
+ g(ke, { mode: "vertical" })
345
346
  ]),
346
347
  _: 1
347
348
  })) : O("", !0),
348
- m(P, null, {
349
+ g(P, null, {
349
350
  default: w(() => [
350
- m(c, null, {
351
+ g(c, null, {
351
352
  default: w(() => {
352
353
  var $;
353
354
  return [
354
- g("div", an, [
355
- g("div", on, [
356
- r(t) === "edit" ? (h(), b("div", sn, [
357
- m(V, {
355
+ m("div", an, [
356
+ m("div", on, [
357
+ r(t) === "edit" ? (f(), b("div", sn, [
358
+ g(F, {
358
359
  text: "",
359
- onClick: r(Ae)
360
+ onClick: r(be)
360
361
  }, {
361
362
  default: w(() => i[1] || (i[1] = [
362
363
  G(" 返回页面 ")
@@ -364,12 +365,12 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
364
365
  _: 1,
365
366
  __: [1]
366
367
  }, 8, ["onClick"]),
367
- m(V, {
368
+ g(F, {
368
369
  text: "",
369
- onClick: r(Se)
370
+ onClick: r(Ae)
370
371
  }, {
371
372
  icon: w(() => [
372
- m(ee, { name: "Store" })
373
+ g(ee, { name: "Store" })
373
374
  ]),
374
375
  default: w(() => [
375
376
  i[2] || (i[2] = G(" 保存页面 "))
@@ -378,30 +379,30 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
378
379
  __: [2]
379
380
  }, 8, ["onClick"])
380
381
  ])) : O("", !0),
381
- (h(), x(Me, {
382
- key: r(f),
383
- breadArray: r(f),
384
- onClick: r(De)
382
+ (f(), T($e, {
383
+ key: r(h),
384
+ breadArray: r(h),
385
+ onClick: r(Se)
385
386
  }, null, 8, ["breadArray", "onClick"]))
386
387
  ]),
387
- g("div", ln, [
388
- r(t) === "view" ? (h(), b("div", {
388
+ m("div", ln, [
389
+ r(t) === "view" ? (f(), b("div", {
389
390
  key: 0,
390
391
  class: "select-icon",
391
392
  onClick: i[0] || (i[0] = (...U) => r(K) && r(K)(...U))
392
393
  }, [
393
- g("div", rn, [
394
- m(ee, {
394
+ m("div", rn, [
395
+ g(ee, {
395
396
  name: "write",
396
397
  style: { width: "16px", height: "16px" }
397
398
  })
398
399
  ]),
399
- i[3] || (i[3] = g("div", null, B("修改布局"), -1))
400
+ i[3] || (i[3] = m("div", null, B("修改布局"), -1))
400
401
  ])) : O("", !0),
401
- g("div", cn, [
402
+ m("div", cn, [
402
403
  X(S.$slots, "default", {}, void 0, !0)
403
404
  ]),
404
- m(M, {
405
+ g(M, {
405
406
  size: 35,
406
407
  src: ($ = r(s)) == null ? void 0 : $.avatarUrl
407
408
  }, {
@@ -419,37 +420,35 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
419
420
  }),
420
421
  _: 3
421
422
  }),
422
- m(j, {
423
- style: ye({ display: r(t) === "edit" ? "block" : "flex" })
424
- }, {
423
+ g(j, null, {
425
424
  default: w(() => {
426
- var $, U, Y, he;
425
+ var $, U, Y, fe;
427
426
  return [
428
- r(t) === "edit" ? (h(), b("div", un, [
429
- g("div", dn, [
430
- m(ie)
427
+ r(t) === "edit" ? (f(), b("div", un, [
428
+ m("div", dn, [
429
+ g(ie)
431
430
  ]),
432
- (h(), b("div", {
431
+ (f(), b("div", {
433
432
  class: "model-show",
434
433
  key: S.innerWidth
435
434
  }, [
436
- m(de)
435
+ g(de)
437
436
  ])),
438
- g("div", pn, [
439
- m(pe)
437
+ m("div", pn, [
438
+ g(pe)
440
439
  ])
441
- ])) : S.$route.path === "/" && (($ = r(Q)) == null ? void 0 : $.length) > 0 && r(t) === "view" ? (h(), b("div", _n, [
442
- g("div", fn, [
443
- (U = r(A)(r(Q))) != null && U.find((C) => C.comp === "FormTop") ? (h(), b("div", {
440
+ ])) : S.$route.path === "/" && (($ = r(Q)) == null ? void 0 : $.length) > 0 && r(t) === "view" ? (f(), b("div", _n, [
441
+ m("div", hn, [
442
+ (U = r(A)(r(Q))) != null && U.find((C) => C.comp === "FormTop") ? (f(), b("div", {
444
443
  class: "show-header",
445
444
  key: S.index
446
445
  }, [
447
- (h(!0), b(Z, null, I((Y = r(A)(r(Q))) == null ? void 0 : Y.filter((C) => C.comp === "FormTop"), (C, R) => (h(), b("div", {
446
+ (f(!0), b(Z, null, I((Y = r(A)(r(Q))) == null ? void 0 : Y.filter((C) => C.comp === "FormTop"), (C, R) => (f(), b("div", {
448
447
  class: "item-content",
449
448
  key: R
450
449
  }, [
451
- g("div", hn, B(C.name), 1),
452
- (h(), x(oe(r(le)(C.comp)), {
450
+ m("div", fn, B(C.name), 1),
451
+ (f(), T(oe(r(le)(C.comp)), {
453
452
  itemData: C == null ? void 0 : C.compData,
454
453
  childItemData: C == null ? void 0 : C.itemChildData,
455
454
  key: (C == null ? void 0 : C.id) ?? R,
@@ -460,13 +459,13 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
460
459
  }, null, 40, ["itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
461
460
  ]))), 128))
462
461
  ])) : O("", !0),
463
- g("div", Cn, [
464
- (h(!0), b(Z, null, I((he = r(A)(r(Q))) == null ? void 0 : he.filter((C) => C.comp !== "FormTop"), (C, R) => (h(), b("div", {
462
+ m("div", Cn, [
463
+ (f(!0), b(Z, null, I((fe = r(A)(r(Q))) == null ? void 0 : fe.filter((C) => C.comp !== "FormTop"), (C, R) => (f(), b("div", {
465
464
  class: "item-content",
466
465
  key: R
467
466
  }, [
468
- g("div", mn, B(C.name), 1),
469
- (h(), x(oe(r(le)(C.comp)), {
467
+ m("div", gn, B(C.name), 1),
468
+ (f(), T(oe(r(le)(C.comp)), {
470
469
  itemData: C == null ? void 0 : C.compData,
471
470
  childItemData: C == null ? void 0 : C.itemChildData,
472
471
  key: (C == null ? void 0 : C.id) ?? R,
@@ -478,27 +477,27 @@ const Re = { class: "bread-content" }, Ge = ["onClick"], We = {
478
477
  ]))), 128))
479
478
  ])
480
479
  ])
481
- ])) : r(t) === "view" ? (h(), b("div", gn, [
482
- m(D)
480
+ ])) : r(t) === "view" ? (f(), b("div", mn, [
481
+ g(D)
483
482
  ])) : O("", !0)
484
483
  ];
485
484
  }),
486
485
  _: 1
487
- }, 8, ["style"])
486
+ })
488
487
  ]),
489
488
  _: 3
490
489
  })
491
490
  ]),
492
491
  _: 3
493
492
  })), [
494
- [W, r(F)]
493
+ [W, r(N)]
495
494
  ]);
496
495
  };
497
496
  }
498
- }, vn = /* @__PURE__ */ q(yn, [["__scopeId", "data-v-120b8260"]]);
497
+ }, vn = /* @__PURE__ */ q(yn, [["__scopeId", "data-v-b1d95ec4"]]);
499
498
  function kn(a, u, e, s, p, n) {
500
- const o = T("DynamicIcon"), l = T("ssMenu");
501
- return h(), x(l, {
499
+ const o = x("DynamicIcon"), l = x("ssMenu");
500
+ return f(), T(l, {
502
501
  mode: a.mode,
503
502
  menuList: a.renderMenuList,
504
503
  onClickMenu: a.clickMenu,
@@ -506,35 +505,35 @@ function kn(a, u, e, s, p, n) {
506
505
  onCloseMenu: a.closeMenu
507
506
  }, {
508
507
  title: w(({ menu: t }) => [
509
- m(o, {
508
+ g(o, {
510
509
  name: t.icon ?? ""
511
510
  }, null, 8, ["name"]),
512
- g("span", null, B(t.title ?? ""), 1)
511
+ m("span", null, B(t.title ?? ""), 1)
513
512
  ]),
514
513
  _: 1
515
514
  }, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
516
515
  }
517
- const wn = /* @__PURE__ */ q(Le, [["render", kn], ["__scopeId", "data-v-93a3198a"]]), bn = { class: "structure-buttons" }, An = { class: "structure-paths" }, Sn = { class: "client-header-user" }, Dn = { class: "select-icon" }, $n = { class: "model-select" }, Mn = { class: "model-show" }, En = { class: "model-fill" }, Tn = { class: "client-header-menu" }, xn = { class: "client-header-user" }, Pn = { style: { display: "flex" } }, Nn = { class: "select-icon" }, Vn = { class: "client-main-content" }, Fn = { class: "client-main-operate" }, jn = { class: "item-view-group" }, Bn = /* @__PURE__ */ Ee({
516
+ const wn = /* @__PURE__ */ q(Le, [["render", kn], ["__scopeId", "data-v-93a3198a"]]), bn = { class: "structure-buttons" }, An = { class: "structure-paths" }, Sn = { class: "client-header-user" }, Dn = { class: "select-icon" }, $n = { class: "model-select" }, Mn = { class: "model-show" }, En = { class: "model-fill" }, xn = { class: "client-header-menu" }, Tn = { class: "client-header-user" }, Pn = { style: { display: "flex" } }, Nn = { class: "select-icon" }, Vn = { class: "client-main-content" }, Fn = { class: "client-main-operate" }, jn = { class: "item-view-group" }, Bn = /* @__PURE__ */ Ee({
518
517
  __name: "client",
519
518
  setup(a) {
520
- const u = _e(z), { selectTitle: e } = L(u), s = $e(), { loginUserInfo: p } = L(s), n = ne(z), { isEdit: o } = L(n), l = te(), { importLoading: t, activeMenuPath: d } = L(l), _ = E(!1);
519
+ const u = _e(z), { selectTitle: e } = L(u), s = De(), { loginUserInfo: p } = L(s), n = ne(z), { isEdit: o } = L(n), l = te(), { importLoading: t, activeMenuPath: d } = L(l), _ = E(!1);
521
520
  return H(() => d.value, async (y) => {
522
- y && (await Te(), _.value = !_.value);
521
+ y && (await xe(), _.value = !_.value);
523
522
  }, { immediate: !0 }), (y, k) => {
524
- const J = T("el-button"), F = T("el-avatar"), v = T("el-header"), f = T("el-container"), S = T("el-aside"), i = T("el-main"), N = T("router-view"), V = ve("loading");
525
- return r(o) === "edit" ? (h(), x(f, {
523
+ const J = x("el-button"), N = x("el-avatar"), v = x("el-header"), h = x("el-container"), S = x("el-aside"), i = x("el-main"), V = x("router-view"), F = ye("loading");
524
+ return r(o) === "edit" ? (f(), T(h, {
526
525
  key: 0,
527
526
  class: "client-container"
528
527
  }, {
529
528
  default: w(() => [
530
- m(v, { class: "client-structure-header" }, {
529
+ g(v, { class: "client-structure-header" }, {
531
530
  default: w(() => {
532
531
  var M;
533
532
  return [
534
- g("div", bn, [
535
- m(J, {
533
+ m("div", bn, [
534
+ g(J, {
536
535
  class: "select-icon",
537
- onClick: r(Ae)
536
+ onClick: r(be)
538
537
  }, {
539
538
  default: w(() => k[1] || (k[1] = [
540
539
  G(" 返回页面 ")
@@ -542,12 +541,12 @@ const wn = /* @__PURE__ */ q(Le, [["render", kn], ["__scopeId", "data-v-93a3198a
542
541
  _: 1,
543
542
  __: [1]
544
543
  }, 8, ["onClick"]),
545
- m(J, {
544
+ g(J, {
546
545
  class: "select-icon",
547
- onClick: r(Se)
546
+ onClick: r(Ae)
548
547
  }, {
549
548
  icon: w(() => [
550
- m(ee, { name: "Store" })
549
+ g(ee, { name: "Store" })
551
550
  ]),
552
551
  default: w(() => [
553
552
  k[2] || (k[2] = G(" 保存页面 "))
@@ -556,18 +555,18 @@ const wn = /* @__PURE__ */ q(Le, [["render", kn], ["__scopeId", "data-v-93a3198a
556
555
  __: [2]
557
556
  }, 8, ["onClick"])
558
557
  ]),
559
- g("div", An, [
560
- (h(), x(Me, {
558
+ m("div", An, [
559
+ (f(), T($e, {
561
560
  key: r(e),
562
561
  breadArray: r(e),
563
- onClick: r(De)
562
+ onClick: r(Se)
564
563
  }, null, 8, ["breadArray", "onClick"]))
565
564
  ]),
566
- g("div", Sn, [
567
- g("div", Dn, [
565
+ m("div", Sn, [
566
+ m("div", Dn, [
568
567
  X(y.$slots, "default", {}, void 0, !0)
569
568
  ]),
570
- m(F, {
569
+ g(N, {
571
570
  size: 35,
572
571
  src: (M = r(p)) == null ? void 0 : M.avatarUrl
573
572
  }, {
@@ -584,59 +583,59 @@ const wn = /* @__PURE__ */ q(Le, [["render", kn], ["__scopeId", "data-v-93a3198a
584
583
  }),
585
584
  _: 3
586
585
  }),
587
- r(o) === "edit" ? (h(), x(f, {
586
+ r(o) === "edit" ? (f(), T(h, {
588
587
  key: 0,
589
588
  class: "model-operate",
590
- style: { "margin-top": "10px" }
589
+ style: { "margin-top": "10px", height: "0px" }
591
590
  }, {
592
591
  default: w(() => [
593
- g("div", $n, [
594
- m(ie)
592
+ m("div", $n, [
593
+ g(ie)
595
594
  ]),
596
- g("div", Mn, [
597
- m(de)
595
+ m("div", Mn, [
596
+ g(de)
598
597
  ]),
599
- g("div", En, [
600
- m(pe)
598
+ m("div", En, [
599
+ g(pe)
601
600
  ])
602
601
  ]),
603
602
  _: 1
604
603
  })) : O("", !0)
605
604
  ]),
606
605
  _: 3
607
- })) : ke((h(), x(f, {
606
+ })) : ve((f(), T(h, {
608
607
  key: 1,
609
608
  class: "client-container",
610
609
  "element-loading-text": "正在加载页面数据..."
611
610
  }, {
612
611
  default: w(() => [
613
- m(v, { class: "client-header" }, {
612
+ g(v, { class: "client-header" }, {
614
613
  default: w(() => {
615
614
  var M;
616
615
  return [
617
- k[4] || (k[4] = g("div", { class: "client-header-logo" }, " 复杂型面一体化软硬件平台 ", -1)),
618
- g("div", Tn, [
619
- m(wn, { mode: "horizontal" })
616
+ k[4] || (k[4] = m("div", { class: "client-header-logo" }, " 复杂型面一体化软硬件平台 ", -1)),
617
+ m("div", xn, [
618
+ g(wn, { mode: "horizontal" })
620
619
  ]),
621
- g("div", xn, [
622
- r(o) === "view" ? (h(), b("div", {
620
+ m("div", Tn, [
621
+ r(o) === "view" ? (f(), b("div", {
623
622
  key: 0,
624
623
  class: "select-icon",
625
624
  onClick: k[0] || (k[0] = //@ts-ignore
626
625
  (...c) => r(K) && r(K)(...c))
627
626
  }, [
628
- g("div", Pn, [
629
- m(ee, {
627
+ m("div", Pn, [
628
+ g(ee, {
630
629
  name: "write",
631
630
  style: { width: "16px", height: "16px" }
632
631
  })
633
632
  ]),
634
- k[3] || (k[3] = g("div", null, B("修改布局"), -1))
633
+ k[3] || (k[3] = m("div", null, B("修改布局"), -1))
635
634
  ])) : O("", !0),
636
- g("div", Nn, [
635
+ m("div", Nn, [
637
636
  X(y.$slots, "default", {}, void 0, !0)
638
637
  ]),
639
- m(F, {
638
+ g(N, {
640
639
  size: 35,
641
640
  src: (M = r(p)) == null ? void 0 : M.avatarUrl
642
641
  }, {
@@ -654,34 +653,34 @@ const wn = /* @__PURE__ */ q(Le, [["render", kn], ["__scopeId", "data-v-93a3198a
654
653
  _: 3,
655
654
  __: [4]
656
655
  }),
657
- m(f, { class: "client-body" }, {
656
+ g(h, { class: "client-body" }, {
658
657
  default: w(() => [
659
- m(S, {
658
+ g(S, {
660
659
  class: "client-aside",
661
660
  width: "250px"
662
661
  }, {
663
662
  default: w(() => [
664
- m(we, { mode: "vertical" })
663
+ g(ke, { mode: "vertical" })
665
664
  ]),
666
665
  _: 1
667
666
  }),
668
- y.$route.path === "/" ? (h(), x(i, {
667
+ y.$route.path === "/" ? (f(), T(i, {
669
668
  key: 0,
670
669
  class: "client-main"
671
670
  }, {
672
671
  default: w(() => {
673
672
  var M;
674
673
  return [
675
- g("div", Vn, [
676
- m(Oe, { isShow: _.value }, null, 8, ["isShow"])
674
+ m("div", Vn, [
675
+ g(Oe, { isShow: _.value }, null, 8, ["isShow"])
677
676
  ]),
678
- g("div", Fn, [
679
- (h(!0), b(Z, null, I((M = r(A)(r(Q))) == null ? void 0 : M.filter((c) => c.comp !== "FormTop"), (c, D) => (h(), b("div", {
677
+ m("div", Fn, [
678
+ (f(!0), b(Z, null, I((M = r(A)(r(Q))) == null ? void 0 : M.filter((c) => c.comp !== "FormTop"), (c, D) => (f(), b("div", {
680
679
  class: "item-view-content",
681
680
  key: D
682
681
  }, [
683
- g("div", jn, B(c.name), 1),
684
- (h(), x(oe(r(le)(c.comp)), {
682
+ m("div", jn, B(c.name), 1),
683
+ (f(), T(oe(r(le)(c.comp)), {
685
684
  itemData: c == null ? void 0 : c.compData,
686
685
  childItemData: c == null ? void 0 : c.itemChildData,
687
686
  key: (c == null ? void 0 : c.id) ?? D,
@@ -695,12 +694,12 @@ const wn = /* @__PURE__ */ q(Le, [["render", kn], ["__scopeId", "data-v-93a3198a
695
694
  ];
696
695
  }),
697
696
  _: 1
698
- })) : (h(), x(i, {
697
+ })) : (f(), T(i, {
699
698
  key: 1,
700
699
  class: "client-router"
701
700
  }, {
702
701
  default: w(() => [
703
- m(N)
702
+ g(V)
704
703
  ]),
705
704
  _: 1
706
705
  }))
@@ -710,11 +709,11 @@ const wn = /* @__PURE__ */ q(Le, [["render", kn], ["__scopeId", "data-v-93a3198a
710
709
  ]),
711
710
  _: 3
712
711
  })), [
713
- [V, r(t)]
712
+ [F, r(t)]
714
713
  ]);
715
714
  };
716
715
  }
717
- }), Jn = /* @__PURE__ */ q(Bn, [["__scopeId", "data-v-0bc7ac2c"]]), On = { class: "system-wrap" }, Ln = {
716
+ }), Jn = /* @__PURE__ */ q(Bn, [["__scopeId", "data-v-280e5078"]]), On = { class: "system-wrap" }, Ln = {
718
717
  __name: "index",
719
718
  props: {
720
719
  platform: {
@@ -740,17 +739,17 @@ const wn = /* @__PURE__ */ q(Le, [["render", kn], ["__scopeId", "data-v-93a3198a
740
739
  p.value = !0, s.setImportLoading(!0);
741
740
  let o = [], l = [];
742
741
  e.setSelectTitle([]), e.setSelectIndex(""), e.setSelectMenu(""), (y = (_ = n == null ? void 0 : n.content) == null ? void 0 : _.filter((k) => k !== "")) == null || y.forEach((k) => {
743
- Fe(k) ? l.push(je(k)) : Ce(k) ? l.push(Ce(k)) : me(k) ? l.push(me(k)) : l.push(tn(k));
744
- }), o = l == null ? void 0 : l[0], await Ue(o), await be(), u.setOriginalData(o), s.setImportLoading(!1);
742
+ Fe(k) ? l.push(je(k)) : Ce(k) ? l.push(Ce(k)) : ge(k) ? l.push(ge(k)) : l.push(tn(k));
743
+ }), o = l == null ? void 0 : l[0], await Ue(o), await we(), u.setOriginalData(o), s.setImportLoading(!1);
745
744
  },
746
745
  { deep: !0, immediate: !0 }
747
- ), (o, l) => (h(), b("div", On, [
748
- a.platform === "browser" ? (h(), x(vn, { key: 0 }, {
746
+ ), (o, l) => (f(), b("div", On, [
747
+ a.platform === "browser" ? (f(), T(vn, { key: 0 }, {
749
748
  default: w(() => [
750
749
  X(o.$slots, "default", {}, void 0, !0)
751
750
  ]),
752
751
  _: 3
753
- })) : (h(), x(Jn, { key: 1 }, {
752
+ })) : (f(), T(Jn, { key: 1 }, {
754
753
  default: w(() => [
755
754
  X(o.$slots, "default", {}, void 0, !0)
756
755
  ]),
@@ -789,11 +788,11 @@ const wn = /* @__PURE__ */ q(Le, [["render", kn], ["__scopeId", "data-v-93a3198a
789
788
  },
790
789
  emits: ["change", "contentChange"],
791
790
  setup(a, { emit: u }) {
792
- const e = a, s = u, p = E([]), n = E([]), o = E([]), l = E(0), t = ne(z), d = te(z), { itemData: _, originalData: y } = L(t), { activeMenuPath: k, platform: J } = L(d), F = E(null), v = E(0), f = E([]);
791
+ const e = a, s = u, p = E([]), n = E([]), o = E([]), l = E(0), t = ne(z), d = te(z), { itemData: _, originalData: y } = L(t), { activeMenuPath: k, platform: J } = L(d), N = E(null), v = E(0), h = E([]);
793
792
  E("");
794
793
  const S = E(0), i = (c) => {
795
794
  s("contentChange", c);
796
- }, N = (c) => {
795
+ }, V = (c) => {
797
796
  var j;
798
797
  const D = (j = A(c == null ? void 0 : c.wholeValue)) == null ? void 0 : j.map((P) => {
799
798
  var W;
@@ -813,8 +812,8 @@ const wn = /* @__PURE__ */ q(Le, [["render", kn], ["__scopeId", "data-v-93a3198a
813
812
  },
814
813
  { deep: !0, immediate: !0 }
815
814
  );
816
- const V = () => {
817
- F.value.click();
815
+ const F = () => {
816
+ N.value.click();
818
817
  }, M = async (c) => {
819
818
  const D = c.target.files;
820
819
  if (!D) return;
@@ -828,45 +827,45 @@ const wn = /* @__PURE__ */ q(Le, [["render", kn], ["__scopeId", "data-v-93a3198a
828
827
  console.error("解析失败:", Y);
829
828
  return;
830
829
  }
831
- }, $.onerror = () => W(`读取 ${P.name} 失败`), $.readAsText(P);
830
+ }, $.onerror = () => W(`读取 ${P.name} 失败`), $.readAsText(P), c.target.value = "", N.value = null;
832
831
  }));
833
832
  await Promise.all(j);
834
833
  };
835
834
  return H(
836
835
  () => [e == null ? void 0 : e.content, e == null ? void 0 : e.jsonContents],
837
836
  async () => {
838
- await be(), p.value = e.content, o.value = e == null ? void 0 : e.jsonContents;
837
+ await we(), p.value = e.content, o.value = e == null ? void 0 : e.jsonContents;
839
838
  },
840
839
  { deep: !0, immediate: !0 }
841
840
  ), H(
842
841
  () => v.value,
843
842
  () => {
844
843
  var c;
845
- ((c = f.value) == null ? void 0 : c.length) !== 0 && (t.setOriginalData(f.value), t.setItemData(f.value));
844
+ ((c = h.value) == null ? void 0 : c.length) !== 0 && (t.setOriginalData(h.value), t.setItemData(h.value));
846
845
  },
847
846
  { deep: !0, immediate: !0 }
848
847
  ), (c, D) => {
849
- const j = T("svg-icon");
850
- return h(), b("div", zn, [
851
- (e == null ? void 0 : e.mode) === "edit" ? (h(), b("div", Rn, [
852
- g("div", Gn, [
853
- m(ie)
848
+ const j = x("svg-icon");
849
+ return f(), b("div", zn, [
850
+ (e == null ? void 0 : e.mode) === "edit" ? (f(), b("div", Rn, [
851
+ m("div", Gn, [
852
+ g(ie)
854
853
  ]),
855
- (h(), b("div", {
854
+ (f(), b("div", {
856
855
  class: "model-show",
857
856
  key: l.value
858
857
  }, [
859
- m(de)
858
+ g(de)
860
859
  ])),
861
- g("div", Wn, [
862
- m(pe)
860
+ m("div", Wn, [
861
+ g(pe)
863
862
  ])
864
863
  ])) : O("", !0),
865
- (e == null ? void 0 : e.mode) === "view" ? (h(), b("div", Hn, [
866
- (h(), x(Un, {
864
+ (e == null ? void 0 : e.mode) === "view" ? (f(), b("div", Hn, [
865
+ (f(), T(Un, {
867
866
  platform: r(J),
868
867
  content: p.value,
869
- onChange: N,
868
+ onChange: V,
870
869
  jsonContents: o.value,
871
870
  onContentChange: i,
872
871
  key: l.value
@@ -874,22 +873,22 @@ const wn = /* @__PURE__ */ q(Le, [["render", kn], ["__scopeId", "data-v-93a3198a
874
873
  default: w(() => {
875
874
  var P;
876
875
  return [
877
- ((P = e == null ? void 0 : e.jsonContents) == null ? void 0 : P.length) === 0 && (e != null && e.showButton) ? (h(), b("div", qn, [
878
- g("div", Qn, [
879
- g("input", {
876
+ ((P = e == null ? void 0 : e.jsonContents) == null ? void 0 : P.length) === 0 && (e != null && e.showButton) ? (f(), b("div", qn, [
877
+ m("div", Qn, [
878
+ m("input", {
880
879
  type: "file",
881
880
  ref_key: "fileInput",
882
- ref: F,
881
+ ref: N,
883
882
  accept: ".txt, .inm",
884
883
  onChange: M,
885
884
  style: { display: "none" },
886
885
  multiple: ""
887
886
  }, null, 544),
888
- m(j, {
887
+ g(j, {
889
888
  name: "import",
890
889
  style: { width: "16px", height: "16px" }
891
890
  }),
892
- g("div", { onClick: V }, B("导入模型"))
891
+ m("div", { onClick: F }, B("导入模型"))
893
892
  ])
894
893
  ])) : O("", !0)
895
894
  ];
@@ -900,7 +899,7 @@ const wn = /* @__PURE__ */ q(Le, [["render", kn], ["__scopeId", "data-v-93a3198a
900
899
  ]);
901
900
  };
902
901
  }
903
- }, _t = /* @__PURE__ */ q(Xn, [["__scopeId", "data-v-aefda2d8"]]);
902
+ }, _t = /* @__PURE__ */ q(Xn, [["__scopeId", "data-v-0cbc0899"]]);
904
903
  export {
905
904
  _t as default
906
905
  };