ss-component-new 1.1.401 → 1.1.402

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 (80) hide show
  1. package/dist/{array-nI11tFY7.js → array-8lXzP3Oa.js} +2 -2
  2. package/dist/{array-CvNDVSIm.cjs → array-BDS3aai0.cjs} +1 -1
  3. package/dist/{index-kLM5_jna.cjs → index--ph08_ZR.cjs} +1 -1
  4. package/dist/{index-C0LsYfTZ.cjs → index-B-WoFTYh.cjs} +2 -2
  5. package/dist/{index-BtaACMRi.cjs → index-B-k-BnbC.cjs} +1 -1
  6. package/dist/index-B1GoYVQa.cjs +1 -0
  7. package/dist/{index-B13skoRw.js → index-B8GIT0hN.js} +5 -5
  8. package/dist/{index-Ctb2Pr3Q.js → index-BOvltwWF.js} +1 -1
  9. package/dist/{index-Die-NYPf.js → index-BUKnaSEP.js} +5 -5
  10. package/dist/{index-BjZi18LH.js → index-BagZzu6p.js} +9 -9
  11. package/dist/{index-C_rYrkFD.js → index-BePsuMkH.js} +7 -7
  12. package/dist/{index-Ct_VHOpm.js → index-Bn95cqrG.js} +3 -3
  13. package/dist/{index-BRwzrdFG.js → index-BochF1HQ.js} +461 -458
  14. package/dist/{index-CulQGzM7.cjs → index-Brwyptk1.cjs} +1 -1
  15. package/dist/{index-BRqE3XtR.js → index-BtIcDHbX.js} +3 -3
  16. package/dist/{index-DEEAXYfE.js → index-Btp0-NR_.js} +7 -7
  17. package/dist/{index-BcIotcWy.cjs → index-BuGupwSd.cjs} +1 -1
  18. package/dist/{index-D942HlwZ.js → index-BuJwn_Lt.js} +4 -4
  19. package/dist/{index-A9HYvWOL.cjs → index-Bvys-LNm.cjs} +1 -1
  20. package/dist/{index-DjD22yFw.cjs → index-Bx_WaJCq.cjs} +1 -1
  21. package/dist/{index-PCuz0w8K.js → index-ByZ4KsR3.js} +6 -6
  22. package/dist/{index-7h3Q0Iph.js → index-CH2kImo6.js} +359 -359
  23. package/dist/{index-Bn0sCJKU.cjs → index-CLex_4Jb.cjs} +1 -1
  24. package/dist/{index-BtI00kgS.cjs → index-CNgUzVdJ.cjs} +1 -1
  25. package/dist/{index-BvJD2kXW.cjs → index-CjNY8OSy.cjs} +1 -1
  26. package/dist/{index-DES6dF8u.cjs → index-CmOyXNOv.cjs} +1 -1
  27. package/dist/{index-9HIjEgTo.cjs → index-CxjbXK-o.cjs} +1 -1
  28. package/dist/{index-Db974IG7.js → index-CzfpInCW.js} +6 -6
  29. package/dist/{index-UzzovgPA.js → index-D0u9YecS.js} +1 -1
  30. package/dist/{index-FreET2e1.cjs → index-DDLQ2cxG.cjs} +1 -1
  31. package/dist/{index-BN1ZV90r.js → index-DIynIRv_.js} +4 -4
  32. package/dist/{index-BiE5zcdU.js → index-DO_FH8U9.js} +9 -9
  33. package/dist/{index-CB3_I7ax.cjs → index-DRQaPnRz.cjs} +1 -1
  34. package/dist/{index-BbEeBRH5.js → index-DV1_dtPV.js} +1 -1
  35. package/dist/{index-DMQNRzXe.cjs → index-DWudNkib.cjs} +1 -1
  36. package/dist/{index-Dpg3KCrH.cjs → index-DgWGY6rU.cjs} +1 -1
  37. package/dist/{index-OFfExdPS.js → index-DhlsCYbc.js} +4 -4
  38. package/dist/{index-CdcxRThd.js → index-DuHEQx8F.js} +3 -3
  39. package/dist/{index-DkDn29YT.cjs → index-DyHbztYM.cjs} +1 -1
  40. package/dist/{index-DUIV0rNI.cjs → index-IHBVKKqf.cjs} +1 -1
  41. package/dist/index-JYy9zyCo.cjs +1 -0
  42. package/dist/{index-CV7z3l0T.js → index-Kky6qk6y.js} +5 -5
  43. package/dist/{index-CaCGgNnG.cjs → index-N3l4V2Ph.cjs} +1 -1
  44. package/dist/{index-C4Hqa4iF.js → index-NfgOX2R7.js} +7 -7
  45. package/dist/{index-bidaodRn.js → index-QXZaIo5S.js} +2 -2
  46. package/dist/{index-B2gn47wn.cjs → index-XhgdCXZS.cjs} +1 -1
  47. package/dist/{index-BMHKKqv-.js → index-bVkzb9Sy.js} +4 -4
  48. package/dist/{index-CRsZDMht.js → index-bnboWxey.js} +1 -1
  49. package/dist/{index-ByJ4Gxvi.cjs → index-hnO_NhVa.cjs} +1 -1
  50. package/dist/{index-CysPc-nO.js → index-piJWl5b2.js} +1006 -1000
  51. package/dist/{index-Cyil9HSX.cjs → index-raQwXjkL.cjs} +1 -1
  52. package/dist/{index-C7GPcgvX.cjs → index-wBJhPYQH.cjs} +1 -1
  53. package/dist/{index-DWgyxQXK.cjs → index-wCvQNdnW.cjs} +1 -1
  54. package/dist/{index-g89B5xUY.js → index-xOU_6Fdn.js} +4 -4
  55. package/dist/{index.vue_vue_type_script_setup_true_lang-B_LsK5-Z.js → index.vue_vue_type_script_setup_true_lang-Dooh20EH.js} +3 -3
  56. package/dist/{index.vue_vue_type_script_setup_true_lang-DLoA9BaR.cjs → index.vue_vue_type_script_setup_true_lang-DwbA-ZQu.cjs} +1 -1
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C2bA8Lj7.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DHybSdlr.cjs} +1 -1
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CU--1Zy_.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-GgChFXxK.js} +2 -2
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_306ecd73_lang-B_YphPLK.cjs → index.vue_vue_type_style_index_0_scoped_306ecd73_lang-D8TOi-wA.cjs} +1 -1
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_306ecd73_lang-DCkMNfb1.js → index.vue_vue_type_style_index_0_scoped_306ecd73_lang-cVwA5q5z.js} +8 -8
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-DXPtzj1x.js → index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-2Nz71ikS.js} +15 -15
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-CvOwIvQH.cjs → index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-C-d8XN4F.cjs} +1 -1
  63. package/dist/{login-BYQKfCsc.js → login-Bux_-K9J.js} +1 -1
  64. package/dist/{login-FuzdrCnH.cjs → login-zaDK0VdZ.cjs} +1 -1
  65. package/dist/{main-BHXbnK9h.js → main-28_1zDTX.js} +6 -6
  66. package/dist/{main-BRbQMWjD.cjs → main-BB-BJ6EV.cjs} +1 -1
  67. package/dist/{menu-juPfCOW7.js → menu-CMFwisaq.js} +1 -1
  68. package/dist/{menu-D0Sw7vWo.cjs → menu-q5xpYrZn.cjs} +1 -1
  69. package/dist/ss-component.cjs +1 -1
  70. package/dist/ss-component.css +2 -2
  71. package/dist/ss-component.js +10 -10
  72. package/dist/ss-component3.cjs +1 -1
  73. package/dist/ss-component3.js +1 -1
  74. package/dist/{threeModel-BCvGxOp-.js → threeModel-BxzKdpuZ.js} +2 -2
  75. package/dist/{threeModel-CfLGJ91B.cjs → threeModel-Cwb5sw9P.cjs} +1 -1
  76. package/dist/{threeModel.vue_vue_type_style_index_0_scoped_73f3f775_lang-BOYNQRCf.cjs → threeModel.vue_vue_type_style_index_0_scoped_28fc9fe5_lang-BYm11dA-.cjs} +1 -1
  77. package/dist/{threeModel.vue_vue_type_style_index_0_scoped_73f3f775_lang-JyGsx0e4.js → threeModel.vue_vue_type_style_index_0_scoped_28fc9fe5_lang-Crq9Zc_8.js} +2 -2
  78. package/package.json +1 -1
  79. package/dist/index-CnqZ6E1r.cjs +0 -1
  80. package/dist/index-mmWNpPx0.cjs +0 -1
@@ -1,44 +1,44 @@
1
- import { resolveComponent as b, createBlock as L, openBlock as c, withCtx as a, createVNode as t, createElementVNode as C, toDisplayString as Pe, ref as w, onMounted as eo, watch as we, createElementBlock as N, Fragment as at, renderList as ht, createCommentVNode as Q, normalizeStyle as to, defineComponent as Rt, computed as nt, resolveDirective as Ft, withDirectives as ot, unref as i, createTextVNode as fe, renderSlot as We, resolveDynamicComponent as St, vShow as Ct } from "vue";
2
- import { m as ft, a as gt, b as yt } from "./index-C4Hqa4iF.js";
3
- import lt from "./index-UzzovgPA.js";
4
- import { _ as oo, o as xt, c as At, a as Ut, b as Pt, d as Dt, s as le, g as jt, e as $t, f as Mt, h as Lt, i as ao, j as no } from "./index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-DXPtzj1x.js";
1
+ import { resolveComponent as b, createBlock as L, openBlock as c, withCtx as n, createVNode as t, createElementVNode as C, toDisplayString as je, ref as w, onMounted as ea, watch as we, createElementBlock as N, Fragment as ot, renderList as ht, createCommentVNode as Q, normalizeStyle as ta, defineComponent as Rt, computed as nt, resolveDirective as Ft, withDirectives as at, unref as s, createTextVNode as fe, renderSlot as We, resolveDynamicComponent as St, vShow as Ct } from "vue";
2
+ import { m as ft, a as gt, b as yt } from "./index-NfgOX2R7.js";
3
+ import lt from "./index-D0u9YecS.js";
4
+ import { _ as aa, o as xt, c as At, a as Ut, b as jt, d as Dt, s as le, g as Pt, e as $t, f as Mt, h as Lt, i as oa, j as na } from "./index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-2Nz71ikS.js";
5
5
  import { _ as qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import { p as Be, s as ke, u as st, b as K, g as lo, E as mt } from "./menu-juPfCOW7.js";
7
- import { u as Et } from "./login-BYQKfCsc.js";
6
+ import { p as Be, s as ke, u as st, b as K, g as la, E as mt } from "./menu-CMFwisaq.js";
7
+ import { u as Et } from "./login-Bux_-K9J.js";
8
8
  import { S as Ue } from "./index-BHtNKL1L.js";
9
- import { u as it } from "./threeModel.vue_vue_type_style_index_0_scoped_73f3f775_lang-JyGsx0e4.js";
10
- import { u as _t, a as so, I as bt, l as Vt } from "./index-BRwzrdFG.js";
11
- import { s as Nt } from "./index-BjZi18LH.js";
12
- import { c as et } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CU--1Zy_.js";
13
- import io from "./threeModel-BCvGxOp-.js";
14
- import { s as ro, _ as Oe } from "./index-CysPc-nO.js";
15
- import { u as co } from "./index-DEEAXYfE.js";
16
- import { d as kt } from "./index-Ctb2Pr3Q.js";
17
- import { i as uo, e as po, b as Bt, c as Tt, a as mo } from "./array-nI11tFY7.js";
18
- import { c as ho, b as fo } from "./index.vue_vue_type_style_index_0_scoped_306ecd73_lang-DCkMNfb1.js";
19
- function go(j, Re, l, z, G, ce) {
9
+ import { u as it } from "./threeModel.vue_vue_type_style_index_0_scoped_28fc9fe5_lang-Crq9Zc_8.js";
10
+ import { u as _t, a as sa, I as bt, l as Vt } from "./index-BochF1HQ.js";
11
+ import { s as Nt } from "./index-BagZzu6p.js";
12
+ import { c as et } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-GgChFXxK.js";
13
+ import ia from "./threeModel-BxzKdpuZ.js";
14
+ import { s as ra, _ as Oe } from "./index-piJWl5b2.js";
15
+ import { u as ca } from "./index-Btp0-NR_.js";
16
+ import { d as kt } from "./index-BOvltwWF.js";
17
+ import { i as ua, e as da, b as Bt, c as Tt, a as pa } from "./array-8lXzP3Oa.js";
18
+ import { c as ma, b as ha } from "./index.vue_vue_type_style_index_0_scoped_306ecd73_lang-cVwA5q5z.js";
19
+ function fa(P, Re, l, z, G, ce) {
20
20
  const r = b("svg-icon"), se = b("ssMenu");
21
21
  return c(), L(se, {
22
- mode: j.mode,
23
- menuList: j.renderMenuList,
24
- onClickMenu: j.clickMenu,
25
- onOpenMenu: j.openMenu,
26
- onCloseMenu: j.closeMenu
22
+ mode: P.mode,
23
+ menuList: P.renderMenuList,
24
+ onClickMenu: P.clickMenu,
25
+ onOpenMenu: P.openMenu,
26
+ onCloseMenu: P.closeMenu
27
27
  }, {
28
- title: a(({ menu: X }) => [
28
+ title: n(({ menu: X }) => [
29
29
  t(r, {
30
30
  name: X.icon ?? "Fold",
31
31
  style: { width: "clamp(16px, 1.25rem, 20px)", height: "clamp(16px, 1.25rem, 20px)", "margin-right": "8px" }
32
32
  }, null, 8, ["name"]),
33
- C("span", null, Pe(X.title ?? ""), 1)
33
+ C("span", null, je(X.title ?? ""), 1)
34
34
  ]),
35
35
  _: 1
36
36
  }, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
37
37
  }
38
- const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed2"]]), yo = { class: "bread-content" }, _o = ["onClick"], wo = {
38
+ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed2"]]), ga = { class: "bread-content" }, ya = ["onClick"], _a = {
39
39
  key: 0,
40
40
  class: "split-title"
41
- }, vo = {
41
+ }, wa = {
42
42
  __name: "index",
43
43
  props: {
44
44
  breadArray: {
@@ -47,9 +47,9 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
47
47
  }
48
48
  },
49
49
  emits: ["click"],
50
- setup(j, { emit: Re }) {
51
- const l = j, z = w([]), G = Re;
52
- eo(() => {
50
+ setup(P, { emit: Re }) {
51
+ const l = P, z = w([]), G = Re;
52
+ ea(() => {
53
53
  z.value = l == null ? void 0 : l.breadArray;
54
54
  }), we(
55
55
  () => l == null ? void 0 : l.breadArray,
@@ -61,8 +61,8 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
61
61
  const ce = (r) => {
62
62
  G("click", r);
63
63
  };
64
- return (r, se) => (c(), N("div", yo, [
65
- (c(!0), N(at, null, ht(z.value, (X, ue) => {
64
+ return (r, se) => (c(), N("div", ga, [
65
+ (c(!0), N(ot, null, ht(z.value, (X, ue) => {
66
66
  var de;
67
67
  return c(), N("div", {
68
68
  key: ue,
@@ -71,17 +71,17 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
71
71
  C("div", {
72
72
  class: "bread-title",
73
73
  onClick: (ve) => ce(X),
74
- style: to({ opacity: ((de = z.value) == null ? void 0 : de.length) - 1 === ue ? "0.7" : "1" })
75
- }, Pe(X.value), 13, _o),
76
- ue !== z.value.length - 1 && Array.isArray(z.value) ? (c(), N("div", wo, Pe("/"))) : Q("", !0)
74
+ style: ta({ opacity: ((de = z.value) == null ? void 0 : de.length) - 1 === ue ? "0.7" : "1" })
75
+ }, je(X.value), 13, ya),
76
+ ue !== z.value.length - 1 && Array.isArray(z.value) ? (c(), N("div", _a, je("/"))) : Q("", !0)
77
77
  ]);
78
78
  }), 128))
79
79
  ]));
80
80
  }
81
- }, zt = /* @__PURE__ */ qe(vo, [["__scopeId", "data-v-ded7e2bd"]]), Co = { class: "structure-buttons" }, bo = { class: "structure-paths" }, ko = { class: "client-header-user" }, Bo = { class: "model-select" }, To = { class: "model-show" }, Ro = { class: "model-fill" }, Fo = { class: "client-header-menu" }, So = { class: "client-header-user" }, xo = { class: "drop-menu" }, Ao = { class: "client-main-operate" }, Uo = {
81
+ }, zt = /* @__PURE__ */ qe(wa, [["__scopeId", "data-v-ded7e2bd"]]), va = { class: "structure-buttons" }, Ca = { class: "structure-paths" }, ba = { class: "client-header-user" }, ka = { class: "model-select" }, Ba = { class: "model-show" }, Ta = { class: "model-fill" }, Ra = { class: "client-header-menu" }, Fa = { class: "client-header-user" }, Sa = { class: "drop-menu" }, xa = { class: "client-main-operate" }, Aa = {
82
82
  key: 0,
83
83
  class: "item-view-group"
84
- }, Po = { class: "client-main-operate" }, Do = /* @__PURE__ */ Rt({
84
+ }, Ua = { class: "client-main-operate" }, ja = /* @__PURE__ */ Rt({
85
85
  __name: "index2",
86
86
  props: {
87
87
  windowConfig: {
@@ -94,29 +94,29 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
94
94
  default: !0
95
95
  }
96
96
  },
97
- setup(j) {
97
+ setup(P) {
98
98
  const Re = _t(Be), { selectTitle: l } = ke(Re), z = Et(), { loginUserInfo: G } = ke(z), ce = it(Be), { isEdit: r, routeToChildPath: se } = ke(ce), X = st(Be), { importLoading: ue, activeTopMenuPath: de } = ke(X), ve = w(""), J = nt(() => de.value === "系统管理" || de.value === "平台管理"), W = () => {
99
99
  sessionStorage.clear(), window.location.reload();
100
100
  }, ie = () => {
101
101
  X.setActiveMenuPath(se.value), ce.setRouteToChildPath("");
102
102
  };
103
103
  return (Ce, A) => {
104
- const ge = b("el-button"), oe = b("el-avatar"), je = b("el-header"), q = b("el-container"), pe = b("el-icon"), Le = b("el-input"), He = b("ss-avatar"), $e = b("ss-button"), U = b("ss-drop"), O = b("el-aside"), be = b("el-main"), ae = b("router-view"), ye = Ft("loading");
105
- return i(r) === "edit" ? (c(), L(q, {
104
+ const ge = b("el-button"), ae = b("el-avatar"), Pe = b("el-header"), q = b("el-container"), pe = b("el-icon"), Le = b("el-input"), He = b("ss-avatar"), $e = b("ss-button"), U = b("ss-drop"), O = b("el-aside"), be = b("el-main"), oe = b("router-view"), ye = Ft("loading");
105
+ return s(r) === "edit" ? (c(), L(q, {
106
106
  key: 0,
107
107
  class: "client-container"
108
108
  }, {
109
- default: a(() => [
110
- t(je, { class: "client-structure-header" }, {
111
- default: a(() => {
109
+ default: n(() => [
110
+ t(Pe, { class: "client-structure-header" }, {
111
+ default: n(() => {
112
112
  var B;
113
113
  return [
114
- C("div", Co, [
114
+ C("div", va, [
115
115
  t(ge, {
116
116
  id: "transparentBgButton",
117
- onClick: i(xt)
117
+ onClick: s(xt)
118
118
  }, {
119
- default: a(() => A[2] || (A[2] = [
119
+ default: n(() => A[2] || (A[2] = [
120
120
  fe(" 返回页面 ")
121
121
  ])),
122
122
  _: 1,
@@ -126,36 +126,36 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
126
126
  id: "transparentBgButton",
127
127
  onClick: A[0] || (A[0] = (g) => {
128
128
  var Fe, Ee;
129
- return i(At)((Ee = (Fe = i(l)) == null ? void 0 : Fe.map((rt) => rt.value)) == null ? void 0 : Ee.join("/"));
129
+ return s(At)((Ee = (Fe = s(l)) == null ? void 0 : Fe.map((rt) => rt.value)) == null ? void 0 : Ee.join("/"));
130
130
  })
131
131
  }, {
132
- icon: a(() => [
132
+ icon: n(() => [
133
133
  t(Ue, { name: "Store" })
134
134
  ]),
135
- default: a(() => [
135
+ default: n(() => [
136
136
  A[3] || (A[3] = fe(" 保存页面 "))
137
137
  ]),
138
138
  _: 1,
139
139
  __: [3]
140
140
  })
141
141
  ]),
142
- C("div", bo, [
142
+ C("div", Ca, [
143
143
  (c(), L(zt, {
144
- key: i(l),
145
- breadArray: i(l),
146
- onClick: i(Ut)
144
+ key: s(l),
145
+ breadArray: s(l),
146
+ onClick: s(Ut)
147
147
  }, null, 8, ["breadArray", "onClick"]))
148
148
  ]),
149
- C("div", ko, [
149
+ C("div", ba, [
150
150
  We(Ce.$slots, "default", {}, void 0, !0),
151
- t(oe, {
151
+ t(ae, {
152
152
  size: 35,
153
- src: (B = i(G)) == null ? void 0 : B.avatarUrl
153
+ src: (B = s(G)) == null ? void 0 : B.avatarUrl
154
154
  }, {
155
- default: a(() => {
155
+ default: n(() => {
156
156
  var g;
157
157
  return [
158
- fe(Pe(((g = i(G)) == null ? void 0 : g.account) ?? "未知"), 1)
158
+ fe(je(((g = s(G)) == null ? void 0 : g.account) ?? "未知"), 1)
159
159
  ];
160
160
  }),
161
161
  _: 1
@@ -165,19 +165,19 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
165
165
  }),
166
166
  _: 3
167
167
  }),
168
- i(r) === "edit" ? (c(), L(q, {
168
+ s(r) === "edit" ? (c(), L(q, {
169
169
  key: 0,
170
170
  class: "model-operate",
171
171
  style: { "margin-top": "10px", height: "0px" }
172
172
  }, {
173
- default: a(() => [
174
- C("div", Bo, [
173
+ default: n(() => [
174
+ C("div", ka, [
175
175
  t(ft)
176
176
  ]),
177
- C("div", To, [
177
+ C("div", Ba, [
178
178
  t(gt)
179
179
  ]),
180
- C("div", Ro, [
180
+ C("div", Ta, [
181
181
  t(yt)
182
182
  ])
183
183
  ]),
@@ -185,19 +185,19 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
185
185
  })) : Q("", !0)
186
186
  ]),
187
187
  _: 3
188
- })) : ot((c(), L(q, {
188
+ })) : at((c(), L(q, {
189
189
  key: 1,
190
190
  class: "client-container",
191
191
  "element-loading-text": "正在加载页面数据..."
192
192
  }, {
193
- default: a(() => [
194
- t(je, { class: "client-header" }, {
195
- default: a(() => [
193
+ default: n(() => [
194
+ t(Pe, { class: "client-header" }, {
195
+ default: n(() => [
196
196
  A[6] || (A[6] = C("div", { class: "client-header-logo" }, " ISIP ", -1)),
197
- C("div", Fo, [
197
+ C("div", Ra, [
198
198
  t(Ot, { mode: "horizontal" })
199
199
  ]),
200
- C("div", So, [
200
+ C("div", Fa, [
201
201
  t(Le, {
202
202
  modelValue: ve.value,
203
203
  "onUpdate:modelValue": A[1] || (A[1] = (B) => ve.value = B),
@@ -205,39 +205,39 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
205
205
  placeholder: "搜索",
206
206
  style: { width: "130px" }
207
207
  }, {
208
- prefix: a(() => [
208
+ prefix: n(() => [
209
209
  t(pe, { class: "el-input__icon" }, {
210
- default: a(() => [
211
- t(i(Nt))
210
+ default: n(() => [
211
+ t(s(Nt))
212
212
  ]),
213
213
  _: 1
214
214
  })
215
215
  ]),
216
216
  _: 1
217
217
  }, 8, ["modelValue"]),
218
- j.showButton ? (c(), L(ge, {
218
+ P.showButton ? (c(), L(ge, {
219
219
  key: 0,
220
220
  id: "transparentBgButton",
221
- onClick: i(Pt)
221
+ onClick: s(jt)
222
222
  }, {
223
- icon: a(() => [
223
+ icon: n(() => [
224
224
  t(Ue, { name: "App" })
225
225
  ]),
226
- default: a(() => [
226
+ default: n(() => [
227
227
  A[4] || (A[4] = fe(" 生成APP "))
228
228
  ]),
229
229
  _: 1,
230
230
  __: [4]
231
231
  }, 8, ["onClick"])) : Q("", !0),
232
- j.showButton && i(r) === "view" ? (c(), L(ge, {
232
+ P.showButton && s(r) === "view" ? (c(), L(ge, {
233
233
  key: 1,
234
234
  id: "transparentBgButton",
235
- onClick: i(Dt)
235
+ onClick: s(Dt)
236
236
  }, {
237
- icon: a(() => [
237
+ icon: n(() => [
238
238
  t(Ue, { name: "write" })
239
239
  ]),
240
- default: a(() => [
240
+ default: n(() => [
241
241
  A[5] || (A[5] = fe(" 修改布局 "))
242
242
  ]),
243
243
  _: 1,
@@ -245,27 +245,27 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
245
245
  }, 8, ["onClick"])) : Q("", !0),
246
246
  We(Ce.$slots, "default", {}, void 0, !0),
247
247
  t(U, null, {
248
- dropTitle: a(() => {
248
+ dropTitle: n(() => {
249
249
  var B;
250
250
  return [
251
251
  t(He, {
252
252
  size: "35",
253
- avatarUrl: (B = i(G)) == null ? void 0 : B.avatarUrl,
253
+ avatarUrl: (B = s(G)) == null ? void 0 : B.avatarUrl,
254
254
  showCropper: !1,
255
255
  banClick: !0
256
256
  }, {
257
- avatarDefault: a(() => {
257
+ avatarDefault: n(() => {
258
258
  var g;
259
259
  return [
260
- fe(Pe(((g = i(G)) == null ? void 0 : g.account) ?? "未知"), 1)
260
+ fe(je(((g = s(G)) == null ? void 0 : g.account) ?? "未知"), 1)
261
261
  ];
262
262
  }),
263
263
  _: 1
264
264
  }, 8, ["avatarUrl"])
265
265
  ];
266
266
  }),
267
- dropMenu: a(() => [
268
- C("div", xo, [
267
+ dropMenu: n(() => [
268
+ C("div", Sa, [
269
269
  t($e, {
270
270
  emptyColor: !0,
271
271
  class: "menu-button",
@@ -283,20 +283,20 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
283
283
  __: [6]
284
284
  }),
285
285
  t(q, { class: "client-body" }, {
286
- default: a(() => [
286
+ default: n(() => [
287
287
  J.value ? (c(), L(be, {
288
288
  key: 1,
289
289
  class: "client-main"
290
290
  }, {
291
- default: a(() => [
291
+ default: n(() => [
292
292
  t(O, { class: "client-aside" }, {
293
- default: a(() => [
293
+ default: n(() => [
294
294
  t(lt, { mode: "vertical" })
295
295
  ]),
296
296
  _: 1
297
297
  }),
298
- C("div", Po, [
299
- t(ae)
298
+ C("div", Ua, [
299
+ t(oe)
300
300
  ])
301
301
  ]),
302
302
  _: 1
@@ -304,38 +304,38 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
304
304
  key: 0,
305
305
  class: "client-main"
306
306
  }, {
307
- default: a(() => {
307
+ default: n(() => {
308
308
  var B;
309
309
  return [
310
310
  t(O, { class: "client-aside" }, {
311
- default: a(() => [
311
+ default: n(() => [
312
312
  t(lt, { mode: "vertical" })
313
313
  ]),
314
314
  _: 1
315
315
  }),
316
- C("div", Ao, [
317
- i(se) !== "" ? (c(), L($e, {
316
+ C("div", xa, [
317
+ s(se) !== "" ? (c(), L($e, {
318
318
  key: 0,
319
319
  class: "calculator-content back-content",
320
320
  onClickTrigger: ie,
321
321
  modelValue: "返回"
322
322
  })) : Q("", !0),
323
- (c(!0), N(at, null, ht((B = i(et)(i(le))) == null ? void 0 : B.filter((g) => g.comp !== "FormTop"), (g, Fe) => {
323
+ (c(!0), N(ot, null, ht((B = s(et)(s(le))) == null ? void 0 : B.filter((g) => g.comp !== "FormTop"), (g, Fe) => {
324
324
  var Ee;
325
325
  return c(), N("div", {
326
326
  class: "item-view-content",
327
327
  key: Fe
328
328
  }, [
329
- ((Ee = g == null ? void 0 : g.comp) == null ? void 0 : Ee.toUpperCase()) !== "TABLE" && g.name ? (c(), N("div", Uo, Pe(g.name), 1)) : Q("", !0),
330
- (c(), L(St(i(jt)(g.comp)), {
329
+ ((Ee = g == null ? void 0 : g.comp) == null ? void 0 : Ee.toUpperCase()) !== "TABLE" && g.name ? (c(), N("div", Aa, je(g.name), 1)) : Q("", !0),
330
+ (c(), L(St(s(Pt)(g.comp)), {
331
331
  compName: g.name,
332
332
  itemData: g == null ? void 0 : g.compData,
333
333
  childItemData: g == null ? void 0 : g.itemChildData,
334
334
  key: (g == null ? void 0 : g.id) ?? Fe,
335
- onChange: i(Lt),
335
+ onChange: s(Lt),
336
336
  index: (g == null ? void 0 : g.id) ?? Fe,
337
- onContentChange: i(Mt),
338
- onPageChange: i($t)
337
+ onContentChange: s(Mt),
338
+ onPageChange: s($t)
339
339
  }, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
340
340
  ]);
341
341
  }), 128))
@@ -350,11 +350,11 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
350
350
  ]),
351
351
  _: 3
352
352
  })), [
353
- [ye, i(ue)]
353
+ [ye, s(ue)]
354
354
  ]);
355
355
  };
356
356
  }
357
- }), jo = /* @__PURE__ */ qe(Do, [["__scopeId", "data-v-96b95789"]]), y = [
357
+ }), Da = /* @__PURE__ */ qe(ja, [["__scopeId", "data-v-96b95789"]]), y = [
358
358
  {
359
359
  key: "FitCurve_Eleven",
360
360
  value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35326658522693",
@@ -435,22 +435,22 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
435
435
  // key: "参数筛选推理",
436
436
  // value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35277984187973/outputResources/fitness_iteration.png"
437
437
  // }
438
- ], $o = ["src"], Mo = { class: "structure-buttons" }, Lo = { class: "structure-paths" }, Eo = { class: "client-header-user" }, Vo = { class: "model-select" }, No = { class: "model-show" }, Oo = { class: "model-fill" }, zo = { class: "client-header-logo" }, Jo = { class: "client-header-menu" }, Io = { class: "client-header-user" }, Ko = { class: "drop-menu" }, Go = { class: "client-main-content" }, Wo = {
438
+ ], Pa = ["src"], $a = { class: "structure-buttons" }, Ma = { class: "structure-paths" }, La = { class: "client-header-user" }, Ea = { class: "model-select" }, Va = { class: "model-show" }, Na = { class: "model-fill" }, Oa = { class: "client-header-logo" }, za = { class: "client-header-menu" }, Ja = { class: "client-header-user" }, Ia = { class: "drop-menu" }, Ka = { class: "client-main-content" }, Ga = {
439
439
  key: 0,
440
440
  class: "item-view-group"
441
- }, qo = {
441
+ }, Wa = {
442
442
  key: 0,
443
443
  class: "calculator"
444
- }, Ho = {
444
+ }, qa = {
445
445
  key: 1,
446
446
  class: "calculator"
447
- }, Qo = {
447
+ }, Ha = {
448
448
  key: 2,
449
449
  class: "calculator"
450
- }, Xo = {
450
+ }, Qa = {
451
451
  key: 3,
452
452
  class: "calculator"
453
- }, Yo = { class: "router-aside" }, Zo = { class: "router-main" }, ea = /* @__PURE__ */ Rt({
453
+ }, Xa = { class: "router-aside" }, Ya = { class: "router-main" }, Za = /* @__PURE__ */ Rt({
454
454
  __name: "index",
455
455
  props: {
456
456
  windowConfig: {
@@ -464,106 +464,106 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
464
464
  }
465
465
  },
466
466
  emits: ["showChild", "buildContent"],
467
- setup(j, { emit: Re }) {
468
- const l = _t(Be), z = w(0), G = w(!1), { selectTitle: ce } = ke(l), r = w(!1), se = w(!1), X = w(!1), ue = so(Be), de = w(!1), { tableShowThree: ve } = ke(ue), J = Et(), { loginUserInfo: W } = ke(J), ie = w(null), Ce = it(Be), { isEdit: A } = ke(Ce), ge = st(Be), oe = co(Be), { objUrl: je, blobUrls: q } = ke(oe), pe = w(null), Le = w(!1), He = w(!0), $e = w(!1), { importLoading: U, activeMenuPath: O, activeTopMenuPath: be, platName: ae } = ke(ge), ye = w(!1), B = w(!1), g = w(!1), Fe = Re;
469
- we(() => O.value, async (n) => {
470
- n && (g.value = !0), n === "弯管仿真加工管理/仿真动画生成" ? ye.value = !0 : ye.value = !1, n === "弯管仿真加工管理/程序输出" ? B.value = !0 : B.value = !1, Ge != null && Ge.find((e) => {
471
- var p;
472
- return (e == null ? void 0 : e.key) === ((p = n == null ? void 0 : n.split("/")) == null ? void 0 : p[(n == null ? void 0 : n.split("/").length) - 1]);
467
+ setup(P, { emit: Re }) {
468
+ const l = _t(Be), z = w(0), G = w(!1), { selectTitle: ce } = ke(l), r = w(!1), se = w(!1), X = w(!1), ue = sa(Be), de = w(!1), { tableShowThree: ve } = ke(ue), J = Et(), { loginUserInfo: W } = ke(J), ie = w(null), Ce = it(Be), { isEdit: A } = ke(Ce), ge = st(Be), ae = ca(Be), { objUrl: Pe, blobUrls: q } = ke(ae), pe = w(null), Le = w(!1), He = w(!0), $e = w(!1), { importLoading: U, activeMenuPath: O, activeTopMenuPath: be, platName: oe } = ke(ge), ye = w(!1), B = w(!1), g = w(!1), Fe = Re;
469
+ we(() => O.value, async (a) => {
470
+ a && (g.value = !0), a === "弯管仿真加工管理/仿真动画生成" ? ye.value = !0 : ye.value = !1, a === "弯管仿真加工管理/程序输出" ? B.value = !0 : B.value = !1, Ge != null && Ge.find((e) => {
471
+ var d;
472
+ return (e == null ? void 0 : e.key) === ((d = a == null ? void 0 : a.split("/")) == null ? void 0 : d[(a == null ? void 0 : a.split("/").length) - 1]);
473
473
  }) ? de.value = !0 : de.value = !1;
474
474
  }, { immediate: !0 });
475
475
  const Ee = () => {
476
476
  pe.value.startRunningAnimation();
477
- }, rt = (n, e, p, h) => {
478
- if ((h == null ? void 0 : h.type) === "table") {
479
- let s = Object.values(p), u = s == null ? void 0 : s.find((o) => (o == null ? void 0 : o.includes(".urdf")) || (o == null ? void 0 : o.includes(".mtl")));
480
- u && Fe("showChild", {
481
- url: u,
482
- row: p
477
+ }, rt = (a) => {
478
+ if ((a == null ? void 0 : a.type) === "table") {
479
+ let e = Object.values(a == null ? void 0 : a.row), d = e == null ? void 0 : e.find((h) => (h == null ? void 0 : h.includes(".urdf")) || (h == null ? void 0 : h.includes(".obj")));
480
+ d && Fe("showChild", {
481
+ url: d,
482
+ row: a == null ? void 0 : a.row
483
483
  });
484
484
  }
485
485
  }, Jt = () => {
486
486
  sessionStorage.clear(), window.location.reload();
487
487
  }, It = async () => {
488
488
  var o, k, R;
489
- let n = "";
490
- (o = le.value) == null || o.forEach((d, x) => {
491
- var E, P, Y;
492
- x === le.value.length - 1 && (n = (Y = (P = (E = d.compData) == null ? void 0 : E[0]) == null ? void 0 : P.contents) == null ? void 0 : Y[0].value);
489
+ let a = "";
490
+ (o = le.value) == null || o.forEach((u, x) => {
491
+ var E, j, Y;
492
+ x === le.value.length - 1 && (a = (Y = (j = (E = u.compData) == null ? void 0 : E[0]) == null ? void 0 : j.contents) == null ? void 0 : Y[0].value);
493
493
  });
494
- const e = await K.get(n, {
494
+ const e = await K.get(a, {
495
495
  responseType: "blob",
496
496
  headers: {
497
497
  "Content-Type": "application/json"
498
498
  }
499
- }), p = new Blob([e.data], {
499
+ }), d = new Blob([e.data], {
500
500
  type: "application/octet-stream;charset=UTF-8"
501
501
  });
502
502
  let h = "";
503
- (R = (k = e.config.url) == null ? void 0 : k.split("/")) == null || R.forEach((d, x) => {
504
- var E, P;
505
- ((P = (E = e.config.url) == null ? void 0 : E.split("/")) == null ? void 0 : P.length) - 1 === x && (h = d);
503
+ (R = (k = e.config.url) == null ? void 0 : k.split("/")) == null || R.forEach((u, x) => {
504
+ var E, j;
505
+ ((j = (E = e.config.url) == null ? void 0 : E.split("/")) == null ? void 0 : j.length) - 1 === x && (h = u);
506
506
  });
507
- var s = document.createElement("a"), u = window.URL.createObjectURL(p);
508
- s.style.display = "none", s.href = u, s.download = decodeURI(h), document.body.appendChild(s), s.click(), document.body.removeChild(s), window.URL.revokeObjectURL(u);
507
+ var i = document.createElement("a"), m = window.URL.createObjectURL(d);
508
+ i.style.display = "none", i.href = m, i.download = decodeURI(h), document.body.appendChild(i), i.click(), document.body.removeChild(i), window.URL.revokeObjectURL(m);
509
509
  }, Kt = async () => {
510
510
  var h;
511
- let n = "";
512
- (h = le.value) == null || h.forEach((s, u) => {
511
+ let a = "";
512
+ (h = le.value) == null || h.forEach((i, m) => {
513
513
  var o, k, R;
514
- u === le.value.length - 1 && (n = (R = (k = (o = s.compData) == null ? void 0 : o[0]) == null ? void 0 : k.contents) == null ? void 0 : R[0].value);
514
+ m === le.value.length - 1 && (a = (R = (k = (o = i.compData) == null ? void 0 : o[0]) == null ? void 0 : k.contents) == null ? void 0 : R[0].value);
515
515
  });
516
- const e = await K.get(n, {
516
+ const e = await K.get(a, {
517
517
  responseType: "blob",
518
518
  headers: {
519
519
  "Content-Type": "application/json"
520
520
  }
521
- }), p = new Blob([e.data], {
521
+ }), d = new Blob([e.data], {
522
522
  type: "text/plain"
523
523
  });
524
- ie.value && URL.revokeObjectURL(ie.value), ie.value = URL.createObjectURL(p), Le.value = !0;
524
+ ie.value && URL.revokeObjectURL(ie.value), ie.value = URL.createObjectURL(d), Le.value = !0;
525
525
  }, Gt = async () => {
526
- var u, o, k, R, d;
526
+ var m, o, k, R, u;
527
527
  $e.value = !0;
528
- const n = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken");
529
- let e = ((k = (o = (u = Ge == null ? void 0 : Ge.find((x) => {
530
- var E, P, Y;
531
- return (x == null ? void 0 : x.key) === ((Y = (E = O.value) == null ? void 0 : E.split("/")) == null ? void 0 : Y[((P = O.value) == null ? void 0 : P.split("/").length) - 1]);
532
- })) == null ? void 0 : u.value) == null ? void 0 : o.split(",")) == null ? void 0 : k[0]) ?? "";
533
- const p = await K.post(e, null, {
528
+ const a = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken");
529
+ let e = ((k = (o = (m = Ge == null ? void 0 : Ge.find((x) => {
530
+ var E, j, Y;
531
+ return (x == null ? void 0 : x.key) === ((Y = (E = O.value) == null ? void 0 : E.split("/")) == null ? void 0 : Y[((j = O.value) == null ? void 0 : j.split("/").length) - 1]);
532
+ })) == null ? void 0 : m.value) == null ? void 0 : o.split(",")) == null ? void 0 : k[0]) ?? "";
533
+ const d = await K.post(e, null, {
534
534
  responseType: "blob",
535
535
  // 必须设置
536
536
  headers: {
537
- Authorization: n,
537
+ Authorization: a,
538
538
  "Content-Type": "application/json"
539
539
  }
540
- }), h = new Blob([p.data], {
540
+ }), h = new Blob([d.data], {
541
541
  type: "application/octet-stream;charset=UTF-8"
542
542
  });
543
- let s = {
544
- suffix: "." + ((d = e == null ? void 0 : e.split(".")) == null ? void 0 : d[((R = e == null ? void 0 : e.split(".")) == null ? void 0 : R.length) - 1]),
543
+ let i = {
544
+ suffix: "." + ((u = e == null ? void 0 : e.split(".")) == null ? void 0 : u[((R = e == null ? void 0 : e.split(".")) == null ? void 0 : R.length) - 1]),
545
545
  blob: h,
546
546
  mtlBlobs: []
547
547
  };
548
- $e.value = !1, pe.value.loadModelByDefaultPath([s]);
549
- }, Wt = async (n) => {
550
- var h, s, u, o, k, R, d;
551
- const e = (h = n == null ? void 0 : n.split("/")) == null ? void 0 : h[0], p = await lo({
548
+ $e.value = !1, pe.value.loadModelByDefaultPath([i]);
549
+ }, Wt = async (a) => {
550
+ var h, i, m, o, k, R, u;
551
+ const e = (h = a == null ? void 0 : a.split("/")) == null ? void 0 : h[0], d = await la({
552
552
  key: {
553
553
  type: "mainEquip",
554
554
  systemKey: sessionStorage.getItem("systemKey"),
555
555
  pageKey: e
556
556
  }
557
557
  });
558
- return ((s = p == null ? void 0 : p.data) == null ? void 0 : s.type) === "success" ? ((d = (R = (k = (o = (u = p == null ? void 0 : p.data) == null ? void 0 : u.result) == null ? void 0 : o[0]) == null ? void 0 : k.value) == null ? void 0 : R.tableData) == null ? void 0 : d.隐藏三维显示) !== !0 : !0;
558
+ return ((i = d == null ? void 0 : d.data) == null ? void 0 : i.type) === "success" ? ((u = (R = (k = (o = (m = d == null ? void 0 : d.data) == null ? void 0 : m.result) == null ? void 0 : o[0]) == null ? void 0 : k.value) == null ? void 0 : R.tableData) == null ? void 0 : u.隐藏三维显示) !== !0 : !0;
559
559
  };
560
560
  we(
561
561
  () => le.value,
562
562
  () => {
563
- var n, e, p, h, s;
564
- if (((n = le.value) == null ? void 0 : n.length) === 2 && ((e = le.value) != null && e.find((u) => (u == null ? void 0 : u.name) === "输入")) && ((p = le.value) != null && p.find((u) => (u == null ? void 0 : u.name) === "输出"))) {
565
- const u = (h = le.value) == null ? void 0 : h.find((o) => (o == null ? void 0 : o.name) === "输出");
566
- se.value = ((s = u == null ? void 0 : u.comp) == null ? void 0 : s.toUpperCase()) === "FORM", r.value = !0;
563
+ var a, e, d, h, i;
564
+ if (((a = le.value) == null ? void 0 : a.length) === 2 && ((e = le.value) != null && e.find((m) => (m == null ? void 0 : m.name) === "输入")) && ((d = le.value) != null && d.find((m) => (m == null ? void 0 : m.name) === "输出"))) {
565
+ const m = (h = le.value) == null ? void 0 : h.find((o) => (o == null ? void 0 : o.name) === "输出");
566
+ se.value = ((i = m == null ? void 0 : m.comp) == null ? void 0 : i.toUpperCase()) === "FORM", r.value = !0;
567
567
  } else
568
568
  r.value = !1, se.value = !1;
569
569
  },
@@ -575,23 +575,23 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
575
575
  },
576
576
  { deep: !0, immediate: !0 }
577
577
  ), we(
578
- () => [je.value, pe.value],
578
+ () => [Pe.value, pe.value],
579
579
  () => {
580
- var n;
581
- ((n = je.value) == null ? void 0 : n.length) > 0 && pe.value && pe.value.addModelsFromUrls(je.value);
580
+ var a;
581
+ ((a = Pe.value) == null ? void 0 : a.length) > 0 && pe.value && pe.value.addModelsFromUrls(Pe.value);
582
582
  },
583
583
  { immediate: !0, deep: !0 }
584
584
  ), we(
585
585
  () => q == null ? void 0 : q.value,
586
586
  async () => {
587
- var n, e, p, h;
588
- if (q != null && q.value && ((n = q == null ? void 0 : q.value) == null ? void 0 : n.length) > 0 && !de.value && !((e = le.value) != null && e.find((s) => (s == null ? void 0 : s.name) === "输入") && ((p = le.value) != null && p.find((s) => (s == null ? void 0 : s.name) === "输出")))) {
589
- let s = [];
590
- const u = await ((h = et(q == null ? void 0 : q.value)) == null ? void 0 : h.map(async (o) => {
591
- var E, P, Y, Se, xe, D, m, me, he, Ae;
587
+ var a, e, d, h;
588
+ if (q != null && q.value && ((a = q == null ? void 0 : q.value) == null ? void 0 : a.length) > 0 && !de.value && !((e = le.value) != null && e.find((i) => (i == null ? void 0 : i.name) === "输入") && ((d = le.value) != null && d.find((i) => (i == null ? void 0 : i.name) === "输出")))) {
589
+ let i = [];
590
+ const m = await ((h = et(q == null ? void 0 : q.value)) == null ? void 0 : h.map(async (o) => {
591
+ var E, j, Y, Se, xe, D, p, me, he, Ae;
592
592
  let k, R;
593
- const d = (P = (E = o == null ? void 0 : o.blob) == null ? void 0 : E.split("undefined,")) == null ? void 0 : P[1];
594
- let x = d == null ? void 0 : d.split(",");
593
+ const u = (j = (E = o == null ? void 0 : o.blob) == null ? void 0 : E.split("undefined,")) == null ? void 0 : j[1];
594
+ let x = u == null ? void 0 : u.split(",");
595
595
  if ((x == null ? void 0 : x.length) > 1) {
596
596
  let _e = await (x == null ? void 0 : x.map(async ($) => {
597
597
  var F, Qe, Te, Z, _, re;
@@ -616,7 +616,7 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
616
616
  }));
617
617
  await Promise.all(ze);
618
618
  }
619
- return ((Z = $ == null ? void 0 : $.split(".")) == null ? void 0 : Z[((Te = $ == null ? void 0 : $.split(".")) == null ? void 0 : Te.length) - 1]) !== "undefined" && s.push({
619
+ return ((Z = $ == null ? void 0 : $.split(".")) == null ? void 0 : Z[((Te = $ == null ? void 0 : $.split(".")) == null ? void 0 : Te.length) - 1]) !== "undefined" && i.push({
620
620
  suffix: "." + ((re = $ == null ? void 0 : $.split(".")) == null ? void 0 : re[((_ = $ == null ? void 0 : $.split(".")) == null ? void 0 : _.length) - 1]),
621
621
  blob: new Blob([k.data], {
622
622
  type: "application/octet-stream;charset=UTF-8"
@@ -625,9 +625,9 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
625
625
  }), k;
626
626
  }));
627
627
  await Promise.all(_e);
628
- } else if (!(d != null && d.includes("https://")) && !(d != null && d.includes("http://"))) {
628
+ } else if (!(u != null && u.includes("https://")) && !(u != null && u.includes("http://"))) {
629
629
  k = await kt({
630
- url: d
630
+ url: u
631
631
  });
632
632
  let _e = [];
633
633
  if (((Y = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : Y.length) > 0) {
@@ -642,21 +642,21 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
642
642
  await Promise.all($);
643
643
  }
644
644
  R = {
645
- suffix: "." + ((D = d == null ? void 0 : d.split(".")) == null ? void 0 : D[((xe = d == null ? void 0 : d.split(".")) == null ? void 0 : xe.length) - 1]),
645
+ suffix: "." + ((D = u == null ? void 0 : u.split(".")) == null ? void 0 : D[((xe = u == null ? void 0 : u.split(".")) == null ? void 0 : xe.length) - 1]),
646
646
  blob: new Blob([k.data], {
647
647
  type: "application/octet-stream;charset=UTF-8"
648
648
  }),
649
649
  mtlBlobs: _e
650
650
  };
651
651
  } else {
652
- k = await K.get(d, {
652
+ k = await K.get(u, {
653
653
  responseType: "blob",
654
654
  headers: {
655
655
  "Content-Type": "application/json"
656
656
  }
657
657
  });
658
658
  let _e = [];
659
- if (((m = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : m.length) > 0) {
659
+ if (((p = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : p.length) > 0) {
660
660
  let $ = await ((me = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : me.map(async (I) => {
661
661
  let F = await K.get(I, {
662
662
  responseType: "blob",
@@ -671,41 +671,41 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
671
671
  await Promise.all($);
672
672
  }
673
673
  R = {
674
- suffix: "." + ((Ae = d == null ? void 0 : d.split(".")) == null ? void 0 : Ae[((he = d == null ? void 0 : d.split(".")) == null ? void 0 : he.length) - 1]),
674
+ suffix: "." + ((Ae = u == null ? void 0 : u.split(".")) == null ? void 0 : Ae[((he = u == null ? void 0 : u.split(".")) == null ? void 0 : he.length) - 1]),
675
675
  blob: new Blob([k.data], {
676
676
  type: "application/octet-stream;charset=UTF-8"
677
677
  }),
678
678
  mtlBlobs: _e
679
679
  };
680
680
  }
681
- R && s.push(R);
681
+ R && i.push(R);
682
682
  }));
683
- await Promise.all(u), (s == null ? void 0 : s.length) !== 0 && pe.value.loadModelByDefaultPath(s);
683
+ await Promise.all(m), (i == null ? void 0 : i.length) !== 0 && pe.value.loadModelByDefaultPath(i);
684
684
  }
685
685
  },
686
686
  { immediate: !0, deep: !0 }
687
687
  ), we(
688
688
  () => ve.value,
689
689
  async () => {
690
- var e, p, h, s;
690
+ var e, d, h, i;
691
691
  if (ve.value !== "" && ve.value) {
692
- let u = (e = O.value) == null ? void 0 : e.split("/"), o = u[(u == null ? void 0 : u.length) - 2];
693
- const R = (((p = y == null ? void 0 : y.find((P) => (P == null ? void 0 : P.key) === o)) == null ? void 0 : p.download) ?? "") + "/" + ve.value, d = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), x = await K.post(R, null, {
692
+ let m = (e = O.value) == null ? void 0 : e.split("/"), o = m[(m == null ? void 0 : m.length) - 2];
693
+ const R = (((d = y == null ? void 0 : y.find((j) => (j == null ? void 0 : j.key) === o)) == null ? void 0 : d.download) ?? "") + "/" + ve.value, u = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), x = await K.post(R, null, {
694
694
  responseType: "blob",
695
695
  // 必须设置
696
696
  headers: {
697
- Authorization: d,
697
+ Authorization: u,
698
698
  baseURL: "http://139.196.154.85:20025",
699
699
  "Content-Type": "application/json"
700
700
  }
701
701
  });
702
- var n = new Blob([x.data], {
702
+ var a = new Blob([x.data], {
703
703
  type: "application/octet-stream;charset=UTF-8"
704
704
  });
705
705
  const E = [
706
706
  {
707
- suffix: "." + ((s = (h = ve.value) == null ? void 0 : h.split(".")) == null ? void 0 : s[1]),
708
- blob: n,
707
+ suffix: "." + ((i = (h = ve.value) == null ? void 0 : h.split(".")) == null ? void 0 : i[1]),
708
+ blob: a,
709
709
  mtlBlobs: []
710
710
  }
711
711
  ];
@@ -715,29 +715,29 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
715
715
  { deep: !0, immediate: !0 }
716
716
  );
717
717
  const qt = async () => {
718
- var k, R, d, x, E, P, Y, Se, xe, D, m, me, he, Ae, _e, $, I;
718
+ var k, R, u, x, E, j, Y, Se, xe, D, p, me, he, Ae, _e, $, I;
719
719
  G.value = !0;
720
- let n = (k = O.value) == null ? void 0 : k.split("/"), e = n[(n == null ? void 0 : n.length) - 2];
721
- const p = ((R = y == null ? void 0 : y.find((F) => (F == null ? void 0 : F.key) === e)) == null ? void 0 : R.value) ?? "";
720
+ let a = (k = O.value) == null ? void 0 : k.split("/"), e = a[(a == null ? void 0 : a.length) - 2];
721
+ const d = ((R = y == null ? void 0 : y.find((F) => (F == null ? void 0 : F.key) === e)) == null ? void 0 : R.value) ?? "";
722
722
  let h = "";
723
- const s = await K.post("http://139.196.154.85:20024/api/sysAuth/login", {
723
+ const i = await K.post("http://139.196.154.85:20024/api/sysAuth/login", {
724
724
  account: "superadmin",
725
725
  password: "9bf00809059adc7f57bd290bf73ddf4d16f4c83b5937e2d68144ab0bd60d045d22d70afeed8f2fa071cda536e1fac0daf12b8e63dd870c3ca8b308f23be6e693bb32ebd3d013116dc8338d6854b1332701a522a7c43706a6db4162fbe991c8c08aa842fbbc34",
726
726
  codeId: 0,
727
727
  code: ""
728
728
  });
729
- ((d = s == null ? void 0 : s.data) == null ? void 0 : d.code) === 200 && (h = `Bearer ${(E = (x = s.data) == null ? void 0 : x.result) == null ? void 0 : E.accessToken}`, sessionStorage.setItem("magicToken", h));
730
- const u = h === "" ? "123456" : h, o = await K.post(p, null, {
729
+ ((u = i == null ? void 0 : i.data) == null ? void 0 : u.code) === 200 && (h = `Bearer ${(E = (x = i.data) == null ? void 0 : x.result) == null ? void 0 : E.accessToken}`, sessionStorage.setItem("magicToken", h));
730
+ const m = h === "" ? "123456" : h, o = await K.post(d, null, {
731
731
  headers: {
732
- Authorization: u,
732
+ Authorization: m,
733
733
  baseURL: "http://139.196.154.85:20025",
734
734
  "Content-Type": "multipart/form-data"
735
735
  }
736
736
  });
737
- if (((P = o == null ? void 0 : o.data) == null ? void 0 : P.type) === "success" && bt((Se = (Y = o == null ? void 0 : o.data) == null ? void 0 : Y.result) == null ? void 0 : Se.result)) {
738
- const F = (he = (me = (m = JSON.parse((D = (xe = o == null ? void 0 : o.data) == null ? void 0 : xe.result) == null ? void 0 : D.result)) == null ? void 0 : m.lines_file_paths) == null ? void 0 : me[0]) == null ? void 0 : he.split("\\"), Te = (((Ae = y == null ? void 0 : y.find((_) => (_ == null ? void 0 : _.key) === e)) == null ? void 0 : Ae.resources) ?? "") + "/" + (((F == null ? void 0 : F[(F == null ? void 0 : F.length) - 2]) === "inputResources" ? "outputResources" : F == null ? void 0 : F[(F == null ? void 0 : F.length) - 2]) ?? "outputResources"), Z = await K.post(Te, null, {
737
+ if (((j = o == null ? void 0 : o.data) == null ? void 0 : j.type) === "success" && bt((Se = (Y = o == null ? void 0 : o.data) == null ? void 0 : Y.result) == null ? void 0 : Se.result)) {
738
+ const F = (he = (me = (p = JSON.parse((D = (xe = o == null ? void 0 : o.data) == null ? void 0 : xe.result) == null ? void 0 : D.result)) == null ? void 0 : p.lines_file_paths) == null ? void 0 : me[0]) == null ? void 0 : he.split("\\"), Te = (((Ae = y == null ? void 0 : y.find((_) => (_ == null ? void 0 : _.key) === e)) == null ? void 0 : Ae.resources) ?? "") + "/" + (((F == null ? void 0 : F[(F == null ? void 0 : F.length) - 2]) === "inputResources" ? "outputResources" : F == null ? void 0 : F[(F == null ? void 0 : F.length) - 2]) ?? "outputResources"), Z = await K.post(Te, null, {
739
739
  headers: {
740
- Authorization: u,
740
+ Authorization: m,
741
741
  baseURL: "http://139.196.154.85:20025",
742
742
  "Content-Type": "multipart/form-data"
743
743
  }
@@ -828,47 +828,47 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
828
828
  }
829
829
  }
830
830
  z.value++, G.value = !1;
831
- }, wt = w(""), ct = w("open"), ut = w("open"), tt = w(!1), Ht = (n) => {
831
+ }, wt = w(""), ct = w("open"), ut = w("open"), tt = w(!1), Ht = (a) => {
832
832
  const e = document.getElementById("menuCollapse");
833
- n === "open" ? (e.style.width = "13rem", e.style.height = "96%", e.style.overflow = "auto") : (e.style.width = "50px", e.style.minWidth = "50px", e.style.height = "50px", e.style.overflow = "hidden");
834
- }, Qt = (n) => {
833
+ a === "open" ? (e.style.width = "13rem", e.style.height = "96%", e.style.overflow = "auto") : (e.style.width = "50px", e.style.minWidth = "50px", e.style.height = "50px", e.style.overflow = "hidden");
834
+ }, Qt = (a) => {
835
835
  const e = document.getElementById("operateCollapse");
836
- n === "open" ? (e.style.width = "25rem", e.style.height = "96%", e.style.overflow = "auto") : (e.style.width = "50px", e.style.height = "50px", e.style.overflow = "hidden");
836
+ a === "open" ? (e.style.width = "25rem", e.style.height = "96%", e.style.overflow = "auto") : (e.style.width = "50px", e.style.height = "50px", e.style.overflow = "hidden");
837
837
  }, Xt = () => {
838
838
  tt.value = !tt.value;
839
- const n = document.getElementById("operateCollapse"), e = document.getElementById("menuCollapse");
840
- tt.value ? (e.style.width = "13rem", n.style.width = "calc(100% - 18rem)") : n.style.width = "400px";
841
- }, dt = (n) => {
842
- const e = URL.createObjectURL(n), p = document.createElement("a");
843
- p.href = e, p.download = "file.txt", document.body.appendChild(p), p.click(), document.body.removeChild(p), URL.revokeObjectURL(e), X.value = !1;
839
+ const a = document.getElementById("operateCollapse"), e = document.getElementById("menuCollapse");
840
+ tt.value ? (e.style.width = "13rem", a.style.width = "calc(100% - 18rem)") : a.style.width = "400px";
841
+ }, dt = (a) => {
842
+ const e = URL.createObjectURL(a), d = document.createElement("a");
843
+ d.href = e, d.download = "file.txt", document.body.appendChild(d), d.click(), document.body.removeChild(d), URL.revokeObjectURL(e), X.value = !1;
844
844
  }, Yt = async () => {
845
- var k, R, d, x, E, P, Y, Se, xe, D, m, me, he, Ae, _e, $;
845
+ var k, R, u, x, E, j, Y, Se, xe, D, p, me, he, Ae, _e, $;
846
846
  X.value = !0;
847
- let n = (k = O.value) == null ? void 0 : k.split("/"), e = n[(n == null ? void 0 : n.length) - 2];
848
- const p = ((R = y == null ? void 0 : y.find((I) => (I == null ? void 0 : I.key) === e)) == null ? void 0 : R.value) ?? "";
847
+ let a = (k = O.value) == null ? void 0 : k.split("/"), e = a[(a == null ? void 0 : a.length) - 2];
848
+ const d = ((R = y == null ? void 0 : y.find((I) => (I == null ? void 0 : I.key) === e)) == null ? void 0 : R.value) ?? "";
849
849
  let h = "";
850
- const s = await K.post("http://139.196.154.85:20024/api/sysAuth/login", {
850
+ const i = await K.post("http://139.196.154.85:20024/api/sysAuth/login", {
851
851
  account: "superadmin",
852
852
  password: "9bf00809059adc7f57bd290bf73ddf4d16f4c83b5937e2d68144ab0bd60d045d22d70afeed8f2fa071cda536e1fac0daf12b8e63dd870c3ca8b308f23be6e693bb32ebd3d013116dc8338d6854b1332701a522a7c43706a6db4162fbe991c8c08aa842fbbc34",
853
853
  codeId: 0,
854
854
  code: ""
855
855
  });
856
- if (((d = s == null ? void 0 : s.data) == null ? void 0 : d.code) === 200)
857
- h = `Bearer ${(E = (x = s.data) == null ? void 0 : x.result) == null ? void 0 : E.accessToken}`, sessionStorage.setItem("magicToken", h);
856
+ if (((u = i == null ? void 0 : i.data) == null ? void 0 : u.code) === 200)
857
+ h = `Bearer ${(E = (x = i.data) == null ? void 0 : x.result) == null ? void 0 : E.accessToken}`, sessionStorage.setItem("magicToken", h);
858
858
  else
859
859
  throw mt.error("响应出错了"), new Error("响应出错了");
860
- const u = h === "" ? "123456" : h, o = await K.post(p, null, {
860
+ const m = h === "" ? "123456" : h, o = await K.post(d, null, {
861
861
  headers: {
862
- Authorization: u,
862
+ Authorization: m,
863
863
  baseURL: "http://139.196.154.85:20025",
864
864
  "Content-Type": "multipart/form-data"
865
865
  }
866
866
  });
867
- if (((P = o == null ? void 0 : o.data) == null ? void 0 : P.code) === 200) {
867
+ if (((j = o == null ? void 0 : o.data) == null ? void 0 : j.code) === 200) {
868
868
  if (bt((Se = (Y = o == null ? void 0 : o.data) == null ? void 0 : Y.result) == null ? void 0 : Se.result)) {
869
- const I = (he = (me = (m = JSON.parse((D = (xe = o == null ? void 0 : o.data) == null ? void 0 : xe.result) == null ? void 0 : D.result)) == null ? void 0 : m.lines_file_paths) == null ? void 0 : me[0]) == null ? void 0 : he.split("\\"), Qe = (((Ae = y == null ? void 0 : y.find((Z) => (Z == null ? void 0 : Z.key) === e)) == null ? void 0 : Ae.resources) ?? "") + "/" + ((I == null ? void 0 : I[(I == null ? void 0 : I.length) - 2]) ?? "outputResources"), Te = await K.post(Qe, null, {
869
+ const I = (he = (me = (p = JSON.parse((D = (xe = o == null ? void 0 : o.data) == null ? void 0 : xe.result) == null ? void 0 : D.result)) == null ? void 0 : p.lines_file_paths) == null ? void 0 : me[0]) == null ? void 0 : he.split("\\"), Qe = (((Ae = y == null ? void 0 : y.find((Z) => (Z == null ? void 0 : Z.key) === e)) == null ? void 0 : Ae.resources) ?? "") + "/" + ((I == null ? void 0 : I[(I == null ? void 0 : I.length) - 2]) ?? "outputResources"), Te = await K.post(Qe, null, {
870
870
  headers: {
871
- Authorization: u,
871
+ Authorization: m,
872
872
  baseURL: "http://139.196.154.85:20025",
873
873
  "Content-Type": "multipart/form-data"
874
874
  }
@@ -940,76 +940,76 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
940
940
  } else
941
941
  throw mt.error("响应出错了"), new Error("响应出错了");
942
942
  }, Zt = nt(() => le.value), vt = nt(() => be.value === "系统管理" || be.value === "平台管理");
943
- return (n, e) => {
944
- const p = b("el-button"), h = b("el-avatar"), s = b("el-header"), u = b("el-container"), o = b("el-icon"), k = b("el-input"), R = b("ss-avatar"), d = b("ss-drop"), x = b("el-aside"), E = b("el-collapse-item"), P = b("el-collapse"), Y = b("el-main"), Se = b("router-view"), xe = Ft("loading");
945
- return c(), N(at, null, [
946
- t(ro, {
943
+ return (a, e) => {
944
+ const d = b("el-button"), h = b("el-avatar"), i = b("el-header"), m = b("el-container"), o = b("el-icon"), k = b("el-input"), R = b("ss-avatar"), u = b("ss-drop"), x = b("el-aside"), E = b("el-collapse-item"), j = b("el-collapse"), Y = b("el-main"), Se = b("router-view"), xe = Ft("loading");
945
+ return c(), N(ot, null, [
946
+ t(ra, {
947
947
  visible: Le.value,
948
948
  onBeforeDestroy: e[0] || (e[0] = (D) => Le.value = !1)
949
949
  }, {
950
- default: a(() => [
950
+ default: n(() => [
951
951
  ie.value ? (c(), N("iframe", {
952
952
  key: 0,
953
953
  src: ie.value,
954
954
  style: { width: "100%", height: "500px", border: "1px solid #ccc" }
955
- }, null, 8, $o)) : Q("", !0)
955
+ }, null, 8, Pa)) : Q("", !0)
956
956
  ]),
957
957
  _: 1
958
958
  }, 8, ["visible"]),
959
- i(A) === "edit" ? (c(), L(u, {
959
+ s(A) === "edit" ? (c(), L(m, {
960
960
  key: 0,
961
961
  class: "client-container"
962
962
  }, {
963
- default: a(() => [
964
- t(s, { class: "client-structure-header" }, {
965
- default: a(() => {
963
+ default: n(() => [
964
+ t(i, { class: "client-structure-header" }, {
965
+ default: n(() => {
966
966
  var D;
967
967
  return [
968
- C("div", Mo, [
969
- t(p, {
968
+ C("div", $a, [
969
+ t(d, {
970
970
  id: "transparentBgButton",
971
- onClick: i(xt)
971
+ onClick: s(xt)
972
972
  }, {
973
- default: a(() => e[6] || (e[6] = [
973
+ default: n(() => e[6] || (e[6] = [
974
974
  fe(" 返回页面 ")
975
975
  ])),
976
976
  _: 1,
977
977
  __: [6]
978
978
  }, 8, ["onClick"]),
979
- t(p, {
979
+ t(d, {
980
980
  id: "transparentBgButton",
981
- onClick: e[1] || (e[1] = (m) => {
981
+ onClick: e[1] || (e[1] = (p) => {
982
982
  var me, he;
983
- return i(At)((he = (me = i(ce)) == null ? void 0 : me.map((Ae) => Ae.value)) == null ? void 0 : he.join("/"));
983
+ return s(At)((he = (me = s(ce)) == null ? void 0 : me.map((Ae) => Ae.value)) == null ? void 0 : he.join("/"));
984
984
  })
985
985
  }, {
986
- icon: a(() => [
986
+ icon: n(() => [
987
987
  t(Ue, { name: "Store" })
988
988
  ]),
989
- default: a(() => [
989
+ default: n(() => [
990
990
  e[7] || (e[7] = fe(" 保存页面 "))
991
991
  ]),
992
992
  _: 1,
993
993
  __: [7]
994
994
  })
995
995
  ]),
996
- C("div", Lo, [
996
+ C("div", Ma, [
997
997
  (c(), L(zt, {
998
- key: i(ce),
999
- breadArray: i(ce),
1000
- onClick: i(Ut)
998
+ key: s(ce),
999
+ breadArray: s(ce),
1000
+ onClick: s(Ut)
1001
1001
  }, null, 8, ["breadArray", "onClick"]))
1002
1002
  ]),
1003
- C("div", Eo, [
1004
- We(n.$slots, "default", {}, void 0, !0),
1003
+ C("div", La, [
1004
+ We(a.$slots, "default", {}, void 0, !0),
1005
1005
  t(h, {
1006
1006
  size: 35,
1007
- src: (D = i(W)) == null ? void 0 : D.avatarUrl
1007
+ src: (D = s(W)) == null ? void 0 : D.avatarUrl
1008
1008
  }, {
1009
- default: a(() => {
1010
- var m;
1009
+ default: n(() => {
1010
+ var p;
1011
1011
  return [
1012
- fe(Pe(((m = i(W)) == null ? void 0 : m.account) ?? "未知"), 1)
1012
+ fe(je(((p = s(W)) == null ? void 0 : p.account) ?? "未知"), 1)
1013
1013
  ];
1014
1014
  }),
1015
1015
  _: 1
@@ -1019,19 +1019,19 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1019
1019
  }),
1020
1020
  _: 3
1021
1021
  }),
1022
- i(A) === "edit" ? (c(), L(u, {
1022
+ s(A) === "edit" ? (c(), L(m, {
1023
1023
  key: 0,
1024
1024
  class: "model-operate",
1025
1025
  style: { "margin-top": "10px", height: "0px" }
1026
1026
  }, {
1027
- default: a(() => [
1028
- C("div", Vo, [
1027
+ default: n(() => [
1028
+ C("div", Ea, [
1029
1029
  t(ft)
1030
1030
  ]),
1031
- C("div", No, [
1031
+ C("div", Va, [
1032
1032
  t(gt)
1033
1033
  ]),
1034
- C("div", Oo, [
1034
+ C("div", Na, [
1035
1035
  t(yt)
1036
1036
  ])
1037
1037
  ]),
@@ -1039,25 +1039,25 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1039
1039
  })) : Q("", !0)
1040
1040
  ]),
1041
1041
  _: 3
1042
- })) : ot((c(), L(u, {
1042
+ })) : at((c(), L(m, {
1043
1043
  key: 1,
1044
1044
  class: "client-container",
1045
1045
  "element-loading-text": "正在加载页面数据..."
1046
1046
  }, {
1047
- default: a(() => [
1048
- t(s, { class: "client-header" }, {
1049
- default: a(() => [
1050
- C("div", zo, [
1047
+ default: n(() => [
1048
+ t(i, { class: "client-header" }, {
1049
+ default: n(() => [
1050
+ C("div", Oa, [
1051
1051
  t(Ue, {
1052
1052
  name: "logo",
1053
1053
  style: { width: "clamp(18px, 1.5rem, 24px)", height: "clamp(18px, 1.5rem, 24px)", "margin-right": "8px" }
1054
1054
  }),
1055
- fe(" " + Pe(i(ae) === "" ? "CPMPIP" : i(ae)), 1)
1055
+ fe(" " + je(s(oe) === "" ? "CPMPIP" : s(oe)), 1)
1056
1056
  ]),
1057
- C("div", Jo, [
1057
+ C("div", za, [
1058
1058
  t(Ot, { mode: "horizontal" })
1059
1059
  ]),
1060
- C("div", Io, [
1060
+ C("div", Ja, [
1061
1061
  t(k, {
1062
1062
  modelValue: wt.value,
1063
1063
  "onUpdate:modelValue": e[2] || (e[2] = (D) => wt.value = D),
@@ -1065,67 +1065,67 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1065
1065
  placeholder: "搜索",
1066
1066
  style: { width: "130px" }
1067
1067
  }, {
1068
- prefix: a(() => [
1068
+ prefix: n(() => [
1069
1069
  t(o, { class: "el-input__icon" }, {
1070
- default: a(() => [
1071
- t(i(Nt))
1070
+ default: n(() => [
1071
+ t(s(Nt))
1072
1072
  ]),
1073
1073
  _: 1
1074
1074
  })
1075
1075
  ]),
1076
1076
  _: 1
1077
1077
  }, 8, ["modelValue"]),
1078
- j.showButton ? (c(), L(p, {
1078
+ P.showButton ? (c(), L(d, {
1079
1079
  key: 0,
1080
1080
  id: "transparentBgButton",
1081
- onClick: i(Pt)
1081
+ onClick: s(jt)
1082
1082
  }, {
1083
- icon: a(() => [
1083
+ icon: n(() => [
1084
1084
  t(Ue, { name: "App" })
1085
1085
  ]),
1086
- default: a(() => [
1086
+ default: n(() => [
1087
1087
  e[8] || (e[8] = fe(" 生成APP "))
1088
1088
  ]),
1089
1089
  _: 1,
1090
1090
  __: [8]
1091
1091
  }, 8, ["onClick"])) : Q("", !0),
1092
- j.showButton && i(A) === "view" ? (c(), L(p, {
1092
+ P.showButton && s(A) === "view" ? (c(), L(d, {
1093
1093
  key: 1,
1094
1094
  id: "transparentBgButton",
1095
- onClick: i(Dt)
1095
+ onClick: s(Dt)
1096
1096
  }, {
1097
- icon: a(() => [
1097
+ icon: n(() => [
1098
1098
  t(Ue, { name: "write" })
1099
1099
  ]),
1100
- default: a(() => [
1100
+ default: n(() => [
1101
1101
  e[9] || (e[9] = fe(" 修改布局 "))
1102
1102
  ]),
1103
1103
  _: 1,
1104
1104
  __: [9]
1105
1105
  }, 8, ["onClick"])) : Q("", !0),
1106
- We(n.$slots, "default", {}, void 0, !0),
1107
- t(d, null, {
1108
- dropTitle: a(() => {
1106
+ We(a.$slots, "default", {}, void 0, !0),
1107
+ t(u, null, {
1108
+ dropTitle: n(() => {
1109
1109
  var D;
1110
1110
  return [
1111
1111
  t(R, {
1112
1112
  size: "35",
1113
- avatarUrl: (D = i(W)) == null ? void 0 : D.avatarUrl,
1113
+ avatarUrl: (D = s(W)) == null ? void 0 : D.avatarUrl,
1114
1114
  showCropper: !1,
1115
1115
  banClick: !0
1116
1116
  }, {
1117
- avatarDefault: a(() => {
1118
- var m;
1117
+ avatarDefault: n(() => {
1118
+ var p;
1119
1119
  return [
1120
- fe(Pe(((m = i(W)) == null ? void 0 : m.account) ?? "未知"), 1)
1120
+ fe(je(((p = s(W)) == null ? void 0 : p.account) ?? "未知"), 1)
1121
1121
  ];
1122
1122
  }),
1123
1123
  _: 1
1124
1124
  }, 8, ["avatarUrl"])
1125
1125
  ];
1126
1126
  }),
1127
- dropMenu: a(() => [
1128
- C("div", Ko, [
1127
+ dropMenu: n(() => [
1128
+ C("div", Ia, [
1129
1129
  t(Oe, {
1130
1130
  emptyColor: !0,
1131
1131
  class: "menu-button",
@@ -1141,11 +1141,11 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1141
1141
  ]),
1142
1142
  _: 3
1143
1143
  }),
1144
- t(u, { class: "client-body" }, {
1145
- default: a(() => [
1146
- ot(t(Y, { class: "client-main" }, {
1147
- default: a(() => [
1148
- t(P, {
1144
+ t(m, { class: "client-body" }, {
1145
+ default: n(() => [
1146
+ at(t(Y, { class: "client-main" }, {
1147
+ default: n(() => [
1148
+ t(j, {
1149
1149
  modelValue: ct.value,
1150
1150
  "onUpdate:modelValue": e[3] || (e[3] = (D) => ct.value = D),
1151
1151
  accordion: "",
@@ -1153,17 +1153,17 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1153
1153
  id: "menuCollapse",
1154
1154
  onChange: Ht
1155
1155
  }, {
1156
- default: a(() => [
1156
+ default: n(() => [
1157
1157
  t(E, { name: "open" }, {
1158
- icon: a(() => [
1158
+ icon: n(() => [
1159
1159
  t(Ue, {
1160
1160
  name: ct.value === "" ? "Right" : "Left",
1161
1161
  style: { width: "20px", height: "20px" }
1162
1162
  }, null, 8, ["name"])
1163
1163
  ]),
1164
- default: a(() => [
1164
+ default: n(() => [
1165
1165
  t(x, { style: { width: "100%" } }, {
1166
- default: a(() => [
1166
+ default: n(() => [
1167
1167
  t(lt, { mode: "vertical" })
1168
1168
  ]),
1169
1169
  _: 1
@@ -1174,15 +1174,15 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1174
1174
  ]),
1175
1175
  _: 1
1176
1176
  }, 8, ["modelValue"]),
1177
- C("div", Go, [
1178
- t(io, {
1177
+ C("div", Ka, [
1178
+ t(ia, {
1179
1179
  isShow: g.value,
1180
- windowConfig: j.windowConfig,
1180
+ windowConfig: P.windowConfig,
1181
1181
  ref_key: "threeModelRef",
1182
1182
  ref: pe
1183
1183
  }, null, 8, ["isShow", "windowConfig"])
1184
1184
  ]),
1185
- t(P, {
1185
+ t(j, {
1186
1186
  modelValue: ut.value,
1187
1187
  "onUpdate:modelValue": e[5] || (e[5] = (D) => ut.value = D),
1188
1188
  accordion: "",
@@ -1190,15 +1190,15 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1190
1190
  id: "operateCollapse",
1191
1191
  onChange: Qt
1192
1192
  }, {
1193
- default: a(() => [
1193
+ default: n(() => [
1194
1194
  t(E, { name: "open" }, {
1195
- icon: a(() => [
1195
+ icon: n(() => [
1196
1196
  t(Ue, {
1197
1197
  name: ut.value === "open" ? "Right" : "Left",
1198
1198
  style: { width: "20px", height: "20px" }
1199
1199
  }, null, 8, ["name"])
1200
1200
  ]),
1201
- default: a(() => {
1201
+ default: n(() => {
1202
1202
  var D;
1203
1203
  return [
1204
1204
  C("div", null, [
@@ -1207,27 +1207,27 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1207
1207
  name: tt.value ? "Right" : "Left",
1208
1208
  onClick: Xt
1209
1209
  }, null, 8, ["name"]),
1210
- (c(!0), N(at, null, ht((D = Zt.value) == null ? void 0 : D.filter((m) => m.comp !== "FormTop"), (m, me) => {
1210
+ (c(!0), N(ot, null, ht((D = Zt.value) == null ? void 0 : D.filter((p) => p.comp !== "FormTop"), (p, me) => {
1211
1211
  var he;
1212
1212
  return c(), N("div", {
1213
1213
  class: "item-view-content",
1214
- key: m == null ? void 0 : m.id
1214
+ key: p == null ? void 0 : p.id
1215
1215
  }, [
1216
- ((he = m == null ? void 0 : m.comp) == null ? void 0 : he.toUpperCase()) !== "TABLE" && m.name ? (c(), N("div", Wo, Pe(m.name), 1)) : Q("", !0),
1217
- (c(), L(St(i(jt)(m.comp)), {
1218
- compName: m.name,
1219
- itemData: m == null ? void 0 : m.compData,
1220
- childItemData: m == null ? void 0 : m.itemChildData,
1221
- key: (m == null ? void 0 : m.id) ?? me,
1222
- onChange: i(Lt),
1223
- index: (m == null ? void 0 : m.id) ?? me,
1224
- onContentChange: i(Mt),
1225
- onPageChange: i($t),
1226
- onContentClick: rt
1216
+ ((he = p == null ? void 0 : p.comp) == null ? void 0 : he.toUpperCase()) !== "TABLE" && p.name ? (c(), N("div", Ga, je(p.name), 1)) : Q("", !0),
1217
+ (c(), L(St(s(Pt)(p.comp)), {
1218
+ compName: p.name,
1219
+ itemData: p == null ? void 0 : p.compData,
1220
+ childItemData: p == null ? void 0 : p.itemChildData,
1221
+ key: (p == null ? void 0 : p.id) ?? me,
1222
+ onChange: s(Lt),
1223
+ index: (p == null ? void 0 : p.id) ?? me,
1224
+ onContentChange: s(Mt),
1225
+ onPageChange: s($t),
1226
+ onRowClick: rt
1227
1227
  }, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
1228
1228
  ]);
1229
1229
  }), 128)),
1230
- r.value ? (c(), N("div", qo, [
1230
+ r.value ? (c(), N("div", Wa, [
1231
1231
  se.value ? (c(), L(Oe, {
1232
1232
  key: 0,
1233
1233
  class: "calculator-content",
@@ -1237,12 +1237,12 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1237
1237
  }, null, 8, ["loading"])) : Q("", !0),
1238
1238
  t(Oe, {
1239
1239
  class: "calculator-content",
1240
- onClickTrigger: e[4] || (e[4] = (m) => qt()),
1240
+ onClickTrigger: e[4] || (e[4] = (p) => qt()),
1241
1241
  loading: G.value,
1242
1242
  modelValue: "调用方法"
1243
1243
  }, null, 8, ["loading"])
1244
1244
  ])) : Q("", !0),
1245
- de.value ? (c(), N("div", Ho, [
1245
+ de.value ? (c(), N("div", qa, [
1246
1246
  t(Oe, {
1247
1247
  class: "calculator-content",
1248
1248
  modelValue: "执行方法",
@@ -1250,14 +1250,14 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1250
1250
  loading: $e.value
1251
1251
  }, null, 8, ["loading"])
1252
1252
  ])) : Q("", !0),
1253
- ye.value ? (c(), N("div", Qo, [
1253
+ ye.value ? (c(), N("div", Ha, [
1254
1254
  t(Oe, {
1255
1255
  class: "calculator-content",
1256
1256
  modelValue: "播放动画",
1257
1257
  onClickTrigger: Ee
1258
1258
  })
1259
1259
  ])) : Q("", !0),
1260
- B.value ? (c(), N("div", Xo, [
1260
+ B.value ? (c(), N("div", Qa, [
1261
1261
  t(Oe, {
1262
1262
  class: "calculator-content",
1263
1263
  onClickTrigger: Kt,
@@ -1282,17 +1282,17 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1282
1282
  }, 512), [
1283
1283
  [Ct, !vt.value]
1284
1284
  ]),
1285
- ot(t(Y, { class: "client-router" }, {
1286
- default: a(() => [
1287
- C("div", Yo, [
1285
+ at(t(Y, { class: "client-router" }, {
1286
+ default: n(() => [
1287
+ C("div", Xa, [
1288
1288
  t(x, { width: "300px" }, {
1289
- default: a(() => [
1289
+ default: n(() => [
1290
1290
  t(lt, { mode: "vertical" })
1291
1291
  ]),
1292
1292
  _: 1
1293
1293
  })
1294
1294
  ]),
1295
- C("div", Zo, [
1295
+ C("div", Ya, [
1296
1296
  t(Se)
1297
1297
  ])
1298
1298
  ]),
@@ -1306,12 +1306,12 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1306
1306
  ]),
1307
1307
  _: 3
1308
1308
  })), [
1309
- [xe, i(U)]
1309
+ [xe, s(U)]
1310
1310
  ])
1311
1311
  ], 64);
1312
1312
  };
1313
1313
  }
1314
- }), ta = /* @__PURE__ */ qe(ea, [["__scopeId", "data-v-2fb8494b"]]), oa = { class: "system-wrap" }, aa = {
1314
+ }), eo = /* @__PURE__ */ qe(Za, [["__scopeId", "data-v-09646213"]]), to = { class: "system-wrap" }, ao = {
1315
1315
  __name: "index",
1316
1316
  props: {
1317
1317
  windowConfig: {
@@ -1331,17 +1331,17 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1331
1331
  jsonContents: Array
1332
1332
  },
1333
1333
  emits: ["buildContent", "showChild"],
1334
- setup(j, { emit: Re }) {
1334
+ setup(P, { emit: Re }) {
1335
1335
  const l = it(Be), z = _t(Be), G = st();
1336
1336
  w(!1);
1337
- const ce = w(!0), r = j, se = Re, X = (J) => {
1337
+ const ce = w(!0), r = P, se = Re, X = (J) => {
1338
1338
  se("showChild", J);
1339
1339
  }, ue = nt(() => {
1340
1340
  switch (r == null ? void 0 : r.platform) {
1341
1341
  case "browser":
1342
- return fo;
1342
+ return ha;
1343
1343
  case "client":
1344
- return ho;
1344
+ return ma;
1345
1345
  }
1346
1346
  }), de = (J) => {
1347
1347
  const W = document.documentElement;
@@ -1366,41 +1366,41 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1366
1366
  if (!(r != null && r.content) || ((Ce = r == null ? void 0 : r.content) == null ? void 0 : Ce.length) === 0) return;
1367
1367
  ce.value = !0, G.setImportLoading(!0);
1368
1368
  let J = [], W = [];
1369
- z.setSelectTitle([]), z.setSelectIndex(""), z.setSelectMenu(""), (ge = (A = r == null ? void 0 : r.content) == null ? void 0 : A.filter((oe) => oe !== "")) == null || ge.forEach((oe) => {
1370
- uo(oe) ? W.push(po(oe)) : Bt(oe) ? W.push(Bt(oe)) : Tt(oe) ? W.push(Tt(oe)) : W.push(ao(oe));
1371
- }), J = W == null ? void 0 : W[0], await no(J), await Vt(), l.setOriginalData(J), G.setImportLoading(!1);
1369
+ z.setSelectTitle([]), z.setSelectIndex(""), z.setSelectMenu(""), (ge = (A = r == null ? void 0 : r.content) == null ? void 0 : A.filter((ae) => ae !== "")) == null || ge.forEach((ae) => {
1370
+ ua(ae) ? W.push(da(ae)) : Bt(ae) ? W.push(Bt(ae)) : Tt(ae) ? W.push(Tt(ae)) : W.push(oa(ae));
1371
+ }), J = W == null ? void 0 : W[0], await na(J), await Vt(), l.setOriginalData(J), G.setImportLoading(!1);
1372
1372
  },
1373
1373
  { deep: !0, immediate: !0 }
1374
- ), (J, W) => (c(), N("div", oa, [
1375
- j.platform === "browser" ? (c(), L(jo, {
1374
+ ), (J, W) => (c(), N("div", to, [
1375
+ P.platform === "browser" ? (c(), L(Da, {
1376
1376
  key: 0,
1377
- showButton: j.showButton
1377
+ showButton: P.showButton
1378
1378
  }, {
1379
- default: a(() => [
1379
+ default: n(() => [
1380
1380
  We(J.$slots, "default", {}, void 0, !0)
1381
1381
  ]),
1382
1382
  _: 3
1383
- }, 8, ["showButton"])) : (c(), L(ta, {
1383
+ }, 8, ["showButton"])) : (c(), L(eo, {
1384
1384
  key: 1,
1385
- windowConfig: j.windowConfig,
1386
- showButton: j.showButton,
1385
+ windowConfig: P.windowConfig,
1386
+ showButton: P.showButton,
1387
1387
  onBuildContent: ve,
1388
1388
  onShowChild: X
1389
1389
  }, {
1390
- default: a(() => [
1390
+ default: n(() => [
1391
1391
  We(J.$slots, "default", {}, void 0, !0)
1392
1392
  ]),
1393
1393
  _: 3
1394
1394
  }, 8, ["windowConfig", "showButton"]))
1395
1395
  ]));
1396
1396
  }
1397
- }, na = /* @__PURE__ */ qe(aa, [["__scopeId", "data-v-5f2a4306"]]), la = { class: "add-model-content" }, sa = {
1397
+ }, oo = /* @__PURE__ */ qe(ao, [["__scopeId", "data-v-5f2a4306"]]), no = { class: "add-model-content" }, lo = {
1398
1398
  key: 0,
1399
1399
  class: "model-operate"
1400
- }, ia = { class: "model-select" }, ra = { class: "model-fill" }, ca = {
1400
+ }, so = { class: "model-select" }, io = { class: "model-fill" }, ro = {
1401
1401
  key: 1,
1402
1402
  class: "model-view"
1403
- }, ua = {
1403
+ }, co = {
1404
1404
  __name: "index",
1405
1405
  props: {
1406
1406
  mode: {
@@ -1425,10 +1425,10 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1425
1425
  }
1426
1426
  },
1427
1427
  emits: ["change", "contentChange", "buildContent", "openThreeBuild"],
1428
- setup(j, { emit: Re }) {
1429
- const l = j, z = Re, G = w([]), ce = w(0), r = w([]), se = w([]), X = w(0), ue = it(Be), de = st(Be), { itemData: ve, originalData: J } = ke(ue), { activeMenuPath: W, platform: ie } = ke(de), Ce = w(null), A = w(0), ge = w([]);
1428
+ setup(P, { emit: Re }) {
1429
+ const l = P, z = Re, G = w([]), ce = w(0), r = w([]), se = w([]), X = w(0), ue = it(Be), de = st(Be), { itemData: ve, originalData: J } = ke(ue), { activeMenuPath: W, platform: ie } = ke(de), Ce = w(null), A = w(0), ge = w([]);
1430
1430
  w("");
1431
- const oe = w(0), je = () => {
1431
+ const ae = w(0), Pe = () => {
1432
1432
  z("buildContent");
1433
1433
  }, q = (U) => {
1434
1434
  z("openThreeBuild", U);
@@ -1447,9 +1447,9 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1447
1447
  z("contentChange", U);
1448
1448
  }, Le = (U) => {
1449
1449
  var be;
1450
- const O = (be = et(U == null ? void 0 : U.wholeValue)) == null ? void 0 : be.map((ae) => {
1450
+ const O = (be = et(U == null ? void 0 : U.wholeValue)) == null ? void 0 : be.map((oe) => {
1451
1451
  var ye;
1452
- return (ae == null ? void 0 : ae.comp) === "Form" && (ae.compData = (ye = ae.compData) == null ? void 0 : ye.map((B) => ((B == null ? void 0 : B.key) === "formContent" && (B.contents = mo(B == null ? void 0 : B.contents)), B))), ae;
1452
+ return (oe == null ? void 0 : oe.comp) === "Form" && (oe.compData = (ye = oe.compData) == null ? void 0 : ye.map((B) => ((B == null ? void 0 : B.key) === "formContent" && (B.contents = pa(B == null ? void 0 : B.contents)), B))), oe;
1453
1453
  });
1454
1454
  z("change", {
1455
1455
  originalContents: J.value,
@@ -1461,7 +1461,7 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1461
1461
  we(
1462
1462
  () => r.value,
1463
1463
  () => {
1464
- oe.value === r.value.length && r.value.length !== 0 && (G.value = r.value);
1464
+ ae.value === r.value.length && r.value.length !== 0 && (G.value = r.value);
1465
1465
  },
1466
1466
  { deep: !0, immediate: !0 }
1467
1467
  );
@@ -1470,8 +1470,8 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1470
1470
  }, $e = async (U) => {
1471
1471
  const O = U.target.files;
1472
1472
  if (!O) return;
1473
- new FileReader(), G.value = [], r.value = [], oe.value = O.length;
1474
- const be = Array.from(O).map(async (ae) => await new Promise((ye) => {
1473
+ new FileReader(), G.value = [], r.value = [], ae.value = O.length;
1474
+ const be = Array.from(O).map(async (oe) => await new Promise((ye) => {
1475
1475
  const B = new FileReader();
1476
1476
  B.onload = (g) => {
1477
1477
  try {
@@ -1480,7 +1480,7 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1480
1480
  console.error("解析失败:", Fe);
1481
1481
  return;
1482
1482
  }
1483
- }, B.onerror = () => ye(`读取 ${ae.name} 失败`), B.readAsText(ae), U.target.value = "", Ce.value = null, ce.value++;
1483
+ }, B.onerror = () => ye(`读取 ${oe.name} 失败`), B.readAsText(oe), U.target.value = "", Ce.value = null, ce.value++;
1484
1484
  }));
1485
1485
  await Promise.all(be);
1486
1486
  };
@@ -1498,10 +1498,10 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1498
1498
  },
1499
1499
  { deep: !0, immediate: !0 }
1500
1500
  ), (U, O) => {
1501
- const be = b("svg-icon"), ae = b("el-button");
1502
- return c(), N("div", la, [
1503
- (l == null ? void 0 : l.mode) === "edit" ? (c(), N("div", sa, [
1504
- C("div", ia, [
1501
+ const be = b("svg-icon"), oe = b("el-button");
1502
+ return c(), N("div", no, [
1503
+ (l == null ? void 0 : l.mode) === "edit" ? (c(), N("div", lo, [
1504
+ C("div", so, [
1505
1505
  t(ft)
1506
1506
  ]),
1507
1507
  (c(), N("div", {
@@ -1510,34 +1510,34 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1510
1510
  }, [
1511
1511
  t(gt)
1512
1512
  ])),
1513
- C("div", ra, [
1513
+ C("div", io, [
1514
1514
  t(yt)
1515
1515
  ])
1516
1516
  ])) : Q("", !0),
1517
- (l == null ? void 0 : l.mode) === "view" ? (c(), N("div", ca, [
1518
- (c(), L(na, {
1519
- showButton: j.showButton,
1520
- platform: i(ie),
1517
+ (l == null ? void 0 : l.mode) === "view" ? (c(), N("div", ro, [
1518
+ (c(), L(oo, {
1519
+ showButton: P.showButton,
1520
+ platform: s(ie),
1521
1521
  content: G.value,
1522
1522
  onChange: Le,
1523
1523
  jsonContents: se.value,
1524
1524
  onContentChange: pe,
1525
- onBuildContent: je,
1525
+ onBuildContent: Pe,
1526
1526
  key: X.value,
1527
1527
  onShowChild: q
1528
1528
  }, {
1529
- default: a(() => {
1529
+ default: n(() => {
1530
1530
  var ye;
1531
1531
  return [
1532
- ((ye = l == null ? void 0 : l.jsonContents) == null ? void 0 : ye.length) === 0 && (l != null && l.showButton) ? (c(), L(ae, {
1532
+ ((ye = l == null ? void 0 : l.jsonContents) == null ? void 0 : ye.length) === 0 && (l != null && l.showButton) ? (c(), L(oe, {
1533
1533
  key: 0,
1534
1534
  id: "transparentBgButton",
1535
1535
  onClick: He
1536
1536
  }, {
1537
- icon: a(() => [
1537
+ icon: n(() => [
1538
1538
  t(be, { name: "import" })
1539
1539
  ]),
1540
- default: a(() => [
1540
+ default: n(() => [
1541
1541
  (c(), N("input", {
1542
1542
  type: "file",
1543
1543
  key: ce.value,
@@ -1561,7 +1561,7 @@ const Ot = /* @__PURE__ */ qe(oo, [["render", go], ["__scopeId", "data-v-5c2d7ed
1561
1561
  ]);
1562
1562
  };
1563
1563
  }
1564
- }, xa = /* @__PURE__ */ qe(ua, [["__scopeId", "data-v-7ee96c6e"]]);
1564
+ }, xo = /* @__PURE__ */ qe(co, [["__scopeId", "data-v-7ee96c6e"]]);
1565
1565
  export {
1566
- xa as default
1566
+ xo as default
1567
1567
  };