ss-component-new 1.1.539 → 1.1.540

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
- import { resolveComponent as B, createBlock as $, openBlock as u, withCtx as l, createVNode as t, createElementVNode as y, toDisplayString as le, ref as c, onMounted as wt, watch as K, createElementBlock as P, Fragment as Fe, renderList as je, createCommentVNode as L, normalizeStyle as kt, defineComponent as Ye, computed as Te, resolveDirective as Ze, withDirectives as Se, unref as n, createTextVNode as q, renderSlot as ve, vShow as Ae, resolveDynamicComponent as et } from "vue";
1
+ import { resolveComponent as B, createBlock as D, openBlock as u, withCtx as l, createVNode as a, createElementVNode as y, toDisplayString as ne, ref as c, onMounted as wt, watch as E, createElementBlock as $, Fragment as Be, renderList as je, createCommentVNode as U, normalizeStyle as kt, defineComponent as Ye, computed as Te, resolveDirective as Ze, withDirectives as Se, unref as n, createTextVNode as X, renderSlot as ye, vShow as Ae, resolveDynamicComponent as et } from "vue";
2
2
  import { m as Ne, a as Ie, b as Ue } from "./index-xdstWmmZ.js";
3
3
  import tt from "./index-6c_x2IDg.js";
4
- import { _ as Bt, o as at, c as ot, a as nt, b as lt, d as it, s as ne, g as st, e as rt, f as ut, h as ct, i as Ft, j as bt } from "./index.vue_vue_type_style_index_0_scoped_b9caa997_lang-BPX2BQrS.js";
5
- import { _ as Ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import { p as W, s as J, u as De, e as dt, c as Me, g as Ve, f as mt, d as ke } from "./menu-DV47UKJo.js";
4
+ import { _ as Bt, o as at, c as ot, a as nt, b as lt, d as it, s as oe, g as st, e as rt, f as ut, h as ct, i as Ft, j as bt } from "./index.vue_vue_type_style_index_0_scoped_82f8c0ec_lang-BPX2BQrS.js";
5
+ import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ import { p as J, s as H, u as De, e as dt, c as Me, g as Ve, f as mt, d as we } from "./menu-DV47UKJo.js";
7
7
  import { u as pt } from "./crypto-8Ga3ud_Q.js";
8
- import { S as ye } from "./index-BHtNKL1L.js";
8
+ import { S as _e } from "./index-BHtNKL1L.js";
9
9
  import { u as $e } from "./modelComp-B4I2gbtf.js";
10
- import { _ as ht, a as Be, s as Rt } from "./index-CA3Cjtjp.js";
10
+ import { _ as ht, a as ke, s as Rt } from "./index-CA3Cjtjp.js";
11
11
  import { u as Le, a as Tt, l as ft, g as St, b as At } from "./index-B09eH1Mw.js";
12
12
  import { _ as gt } from "./index.vue_vue_type_script_setup_true_lang-lD5FjnBK.js";
13
- import We from "./threeModel-aG5qpZ_h.js";
13
+ import We from "./threeModel-JXol4tZC.js";
14
14
  import { u as Mt } from "./index-CkcltdIx.js";
15
15
  import { d as Qe } from "./index-nuI9V5ye.js";
16
16
  import "vue-router";
17
17
  import { a as Dt } from "./array-CLz11m07.js";
18
18
  import { c as $t, b as Pt } from "./index.vue_vue_type_style_index_0_scoped_d888ede3_lang-DtFsZ9uu.js";
19
- function xt(F, te, e, w, A, O) {
20
- const s = B("svg-icon"), z = B("ssMenu");
21
- return u(), $(z, {
19
+ function xt(F, ee, t, w, S, K) {
20
+ const s = B("svg-icon"), O = B("ssMenu");
21
+ return u(), D(O, {
22
22
  mode: F.mode,
23
23
  menuList: F.renderMenuList,
24
24
  onClickMenu: F.clickMenu,
@@ -26,16 +26,16 @@ function xt(F, te, e, w, A, O) {
26
26
  onCloseMenu: F.closeMenu
27
27
  }, {
28
28
  title: l(({ menu: T }) => [
29
- t(s, {
29
+ a(s, {
30
30
  name: T.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
- y("span", null, le(T.title ?? ""), 1)
33
+ y("span", null, ne(T.title ?? ""), 1)
34
34
  ]),
35
35
  _: 1
36
36
  }, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
37
37
  }
38
- const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed2"]]), Vt = { class: "bread-content" }, jt = ["onClick"], Nt = {
38
+ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed2"]]), Vt = { class: "bread-content" }, jt = ["onClick"], Nt = {
39
39
  key: 0,
40
40
  class: "split-title"
41
41
  }, It = {
@@ -47,38 +47,38 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
47
47
  }
48
48
  },
49
49
  emits: ["click"],
50
- setup(F, { emit: te }) {
51
- const e = F, w = c([]), A = te;
50
+ setup(F, { emit: ee }) {
51
+ const t = F, w = c([]), S = ee;
52
52
  wt(() => {
53
- w.value = e == null ? void 0 : e.breadArray;
54
- }), K(
55
- () => e == null ? void 0 : e.breadArray,
53
+ w.value = t == null ? void 0 : t.breadArray;
54
+ }), E(
55
+ () => t == null ? void 0 : t.breadArray,
56
56
  () => {
57
- w.value = e == null ? void 0 : e.breadArray;
57
+ w.value = t == null ? void 0 : t.breadArray;
58
58
  },
59
59
  { deep: !0, immediate: !0 }
60
60
  );
61
- const O = (s) => {
62
- A("click", s);
61
+ const K = (s) => {
62
+ S("click", s);
63
63
  };
64
- return (s, z) => (u(), P("div", Vt, [
65
- (u(!0), P(Fe, null, je(w.value, (T, M) => {
66
- var ie;
67
- return u(), P("div", {
68
- key: M,
64
+ return (s, O) => (u(), $("div", Vt, [
65
+ (u(!0), $(Be, null, je(w.value, (T, A) => {
66
+ var le;
67
+ return u(), $("div", {
68
+ key: A,
69
69
  class: "bread-item"
70
70
  }, [
71
71
  y("div", {
72
72
  class: "bread-title",
73
- onClick: (ae) => O(T),
74
- style: kt({ opacity: ((ie = w.value) == null ? void 0 : ie.length) - 1 === M ? "0.7" : "1" })
75
- }, le(T.value), 13, jt),
76
- M !== w.value.length - 1 && Array.isArray(w.value) ? (u(), P("div", Nt, le("/"))) : L("", !0)
73
+ onClick: (te) => K(T),
74
+ style: kt({ opacity: ((le = w.value) == null ? void 0 : le.length) - 1 === A ? "0.7" : "1" })
75
+ }, ne(T.value), 13, jt),
76
+ A !== w.value.length - 1 && Array.isArray(w.value) ? (u(), $("div", Nt, ne("/"))) : U("", !0)
77
77
  ]);
78
78
  }), 128))
79
79
  ]));
80
80
  }
81
- }, yt = /* @__PURE__ */ Ce(It, [["__scopeId", "data-v-ded7e2bd"]]), Ut = { class: "structure-buttons" }, Lt = { class: "structure-paths" }, Et = { class: "client-header-user" }, Kt = { class: "model-select" }, Ot = { class: "model-show" }, zt = { class: "model-fill" }, Gt = { class: "client-header-menu" }, Xt = { class: "client-header-user" }, qt = { class: "drop-menu" }, Ht = { class: "client-main-operate" }, Jt = {
81
+ }, yt = /* @__PURE__ */ ve(It, [["__scopeId", "data-v-ded7e2bd"]]), Ut = { class: "structure-buttons" }, Lt = { class: "structure-paths" }, Et = { class: "client-header-user" }, Kt = { class: "model-select" }, Ot = { class: "model-show" }, zt = { class: "model-fill" }, Gt = { class: "client-header-menu" }, Xt = { class: "client-header-user" }, qt = { class: "drop-menu" }, Ht = { class: "client-main-operate" }, Jt = {
82
82
  key: 0,
83
83
  class: "item-view-group"
84
84
  }, Wt = /* @__PURE__ */ Ye({
@@ -95,10 +95,10 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
95
95
  }
96
96
  },
97
97
  setup(F) {
98
- const te = Le(W), { selectTitle: e } = J(te), w = pt(), { loginUserInfo: A } = J(w), O = $e(W), { isEdit: s, routeToChildPath: z } = J(O), T = De(W), { importLoading: M, activeTopMenuPath: ie, activeAsideMenu: ae } = J(T), b = c(""), x = Te(() => ae.value.isRouter), E = () => {
98
+ const ee = Le(J), { selectTitle: t } = H(ee), w = pt(), { loginUserInfo: S } = H(w), K = $e(J), { isEdit: s, routeToChildPath: O } = H(K), T = De(J), { importLoading: A, activeTopMenuPath: le, activeAsideMenu: te } = H(T), b = c(""), P = Te(() => te.value.isRouter), L = () => {
99
99
  sessionStorage.clear(), window.location.reload();
100
- }, Q = async () => {
101
- var d, Z, ue, G;
100
+ }, W = async () => {
101
+ var d, Y, re, z;
102
102
  T.setImportLoading(!0);
103
103
  const h = await Ve({
104
104
  key: {
@@ -106,72 +106,72 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
106
106
  }
107
107
  });
108
108
  if (((d = h == null ? void 0 : h.data) == null ? void 0 : d.code) === 200) {
109
- let se = (G = (ue = (Z = h == null ? void 0 : h.data) == null ? void 0 : Z.result) == null ? void 0 : ue.map((U) => {
110
- var ce;
111
- if (((ce = U == null ? void 0 : U.key) == null ? void 0 : ce.layer) !== "superAdmin")
112
- return U == null ? void 0 : U.id;
113
- })) == null ? void 0 : G.filter((U) => U);
109
+ let ie = (z = (re = (Y = h == null ? void 0 : h.data) == null ? void 0 : Y.result) == null ? void 0 : re.map((I) => {
110
+ var ue;
111
+ if (((ue = I == null ? void 0 : I.key) == null ? void 0 : ue.layer) !== "superAdmin")
112
+ return I == null ? void 0 : I.id;
113
+ })) == null ? void 0 : z.filter((I) => I);
114
114
  await mt({
115
- ids: se
115
+ ids: ie
116
116
  }), T.setRawMenus([]);
117
117
  }
118
118
  T.setImportLoading(!1);
119
- }, Y = () => {
120
- T.setActiveMenuPath(z.value), O.setRouteToChildPath("");
119
+ }, Q = () => {
120
+ T.setActiveMenuPath(O.value), K.setRouteToChildPath("");
121
121
  };
122
122
  return (h, d) => {
123
- const Z = B("el-button"), ue = B("el-avatar"), G = B("el-header"), se = B("el-container"), U = B("el-icon"), ce = B("el-input"), f = B("el-aside"), V = B("router-view"), S = B("el-main"), D = Ze("loading");
124
- return u(), P(Fe, null, [
125
- Se(t(se, { class: "client-container" }, {
123
+ const Y = B("el-button"), re = B("el-avatar"), z = B("el-header"), ie = B("el-container"), I = B("el-icon"), ue = B("el-input"), f = B("el-aside"), x = B("router-view"), R = B("el-main"), M = Ze("loading");
124
+ return u(), $(Be, null, [
125
+ Se(a(ie, { class: "client-container" }, {
126
126
  default: l(() => [
127
- t(G, { class: "client-structure-header" }, {
127
+ a(z, { class: "client-structure-header" }, {
128
128
  default: l(() => {
129
129
  var k;
130
130
  return [
131
131
  y("div", Ut, [
132
- t(Z, {
132
+ a(Y, {
133
133
  id: "transparentBgButton",
134
134
  onClick: n(at)
135
135
  }, {
136
136
  default: l(() => d[2] || (d[2] = [
137
- q(" 返回页面 ")
137
+ X(" 返回页面 ")
138
138
  ])),
139
139
  _: 1,
140
140
  __: [2]
141
141
  }, 8, ["onClick"]),
142
- t(Z, {
142
+ a(Y, {
143
143
  id: "transparentBgButton",
144
144
  onClick: d[0] || (d[0] = (i) => {
145
- var X, H;
146
- return n(ot)((H = (X = n(e)) == null ? void 0 : X.map((he) => he.value)) == null ? void 0 : H.join("/"));
145
+ var G, q;
146
+ return n(ot)((q = (G = n(t)) == null ? void 0 : G.map((pe) => pe.value)) == null ? void 0 : q.join("/"));
147
147
  })
148
148
  }, {
149
149
  icon: l(() => [
150
- t(ye, { name: "Store" })
150
+ a(_e, { name: "Store" })
151
151
  ]),
152
152
  default: l(() => [
153
- d[3] || (d[3] = q(" 保存页面 "))
153
+ d[3] || (d[3] = X(" 保存页面 "))
154
154
  ]),
155
155
  _: 1,
156
156
  __: [3]
157
157
  })
158
158
  ]),
159
159
  y("div", Lt, [
160
- t(yt, {
161
- breadArray: n(e),
160
+ a(yt, {
161
+ breadArray: n(t),
162
162
  onClick: n(nt)
163
163
  }, null, 8, ["breadArray", "onClick"])
164
164
  ]),
165
165
  y("div", Et, [
166
- ve(h.$slots, "default", {}, void 0, !0),
167
- t(ue, {
166
+ ye(h.$slots, "default", {}, void 0, !0),
167
+ a(re, {
168
168
  size: 35,
169
- src: (k = n(A)) == null ? void 0 : k.avatarUrl
169
+ src: (k = n(S)) == null ? void 0 : k.avatarUrl
170
170
  }, {
171
171
  default: l(() => {
172
172
  var i;
173
173
  return [
174
- q(le(((i = n(A)) == null ? void 0 : i.account) ?? "未知"), 1)
174
+ X(ne(((i = n(S)) == null ? void 0 : i.account) ?? "未知"), 1)
175
175
  ];
176
176
  }),
177
177
  _: 1
@@ -181,42 +181,42 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
181
181
  }),
182
182
  _: 3
183
183
  }),
184
- n(s) === "edit" ? (u(), $(se, {
184
+ n(s) === "edit" ? (u(), D(ie, {
185
185
  key: 0,
186
186
  class: "model-operate",
187
187
  style: { "margin-top": "10px", height: "0px" }
188
188
  }, {
189
189
  default: l(() => [
190
190
  y("div", Kt, [
191
- t(Ne)
191
+ a(Ne)
192
192
  ]),
193
193
  y("div", Ot, [
194
- t(Ie)
194
+ a(Ie)
195
195
  ]),
196
196
  y("div", zt, [
197
- t(Ue)
197
+ a(Ue)
198
198
  ])
199
199
  ]),
200
200
  _: 1
201
- })) : L("", !0)
201
+ })) : U("", !0)
202
202
  ]),
203
203
  _: 3
204
204
  }, 512), [
205
205
  [Ae, n(s) === "edit"]
206
206
  ]),
207
- Se((u(), $(se, {
207
+ Se((u(), D(ie, {
208
208
  class: "client-container",
209
209
  "element-loading-text": "正在加载页面数据..."
210
210
  }, {
211
211
  default: l(() => [
212
- t(G, { class: "client-header" }, {
212
+ a(z, { class: "client-header" }, {
213
213
  default: l(() => [
214
214
  d[6] || (d[6] = y("div", { class: "client-header-logo" }, " ISIP ", -1)),
215
215
  y("div", Gt, [
216
- t(_t, { mode: "horizontal" })
216
+ a(_t, { mode: "horizontal" })
217
217
  ]),
218
218
  y("div", Xt, [
219
- t(ce, {
219
+ a(ue, {
220
220
  modelValue: b.value,
221
221
  "onUpdate:modelValue": d[1] || (d[1] = (k) => b.value = k),
222
222
  clearable: "",
@@ -224,58 +224,58 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
224
224
  style: { width: "130px" }
225
225
  }, {
226
226
  prefix: l(() => [
227
- t(U, { class: "el-input__icon" }, {
227
+ a(I, { class: "el-input__icon" }, {
228
228
  default: l(() => [
229
- t(n(dt))
229
+ a(n(dt))
230
230
  ]),
231
231
  _: 1
232
232
  })
233
233
  ]),
234
234
  _: 1
235
235
  }, 8, ["modelValue"]),
236
- F.showButton ? (u(), $(Z, {
236
+ F.showButton ? (u(), D(Y, {
237
237
  key: 0,
238
238
  id: "transparentBgButton",
239
239
  onClick: n(lt)
240
240
  }, {
241
241
  icon: l(() => [
242
- t(ye, { name: "App" })
242
+ a(_e, { name: "App" })
243
243
  ]),
244
244
  default: l(() => [
245
- d[4] || (d[4] = q(" 生成APP "))
245
+ d[4] || (d[4] = X(" 生成APP "))
246
246
  ]),
247
247
  _: 1,
248
248
  __: [4]
249
- }, 8, ["onClick"])) : L("", !0),
250
- F.showButton && n(s) === "view" ? (u(), $(Z, {
249
+ }, 8, ["onClick"])) : U("", !0),
250
+ F.showButton && n(s) === "view" ? (u(), D(Y, {
251
251
  key: 1,
252
252
  id: "transparentBgButton",
253
253
  onClick: n(it)
254
254
  }, {
255
255
  icon: l(() => [
256
- t(ye, { name: "write" })
256
+ a(_e, { name: "write" })
257
257
  ]),
258
258
  default: l(() => [
259
- d[5] || (d[5] = q(" 修改布局 "))
259
+ d[5] || (d[5] = X(" 修改布局 "))
260
260
  ]),
261
261
  _: 1,
262
262
  __: [5]
263
- }, 8, ["onClick"])) : L("", !0),
264
- ve(h.$slots, "default", {}, void 0, !0),
265
- t(ht, null, {
263
+ }, 8, ["onClick"])) : U("", !0),
264
+ ye(h.$slots, "default", {}, void 0, !0),
265
+ a(ht, null, {
266
266
  dropTitle: l(() => {
267
267
  var k;
268
268
  return [
269
- t(gt, {
269
+ a(gt, {
270
270
  size: "35",
271
- avatarUrl: (k = n(A)) == null ? void 0 : k.avatarUrl,
271
+ avatarUrl: (k = n(S)) == null ? void 0 : k.avatarUrl,
272
272
  showCropper: !1,
273
273
  banClick: !0
274
274
  }, {
275
275
  avatarDefault: l(() => {
276
276
  var i;
277
277
  return [
278
- q(le(((i = n(A)) == null ? void 0 : i.account) ?? "未知"), 1)
278
+ X(ne(((i = n(S)) == null ? void 0 : i.account) ?? "未知"), 1)
279
279
  ];
280
280
  }),
281
281
  _: 1
@@ -284,17 +284,17 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
284
284
  }),
285
285
  dropMenu: l(() => [
286
286
  y("div", qt, [
287
- t(Be, {
287
+ a(ke, {
288
288
  emptyColor: !0,
289
289
  class: "menu-button",
290
- onClickTrigger: Q,
290
+ onClickTrigger: W,
291
291
  modelValue: "清空数据",
292
292
  buttonType: ""
293
293
  }),
294
- t(Be, {
294
+ a(ke, {
295
295
  emptyColor: !0,
296
296
  class: "menu-button",
297
- onClickTrigger: E,
297
+ onClickTrigger: L,
298
298
  modelValue: "退出登录",
299
299
  buttonType: ""
300
300
  })
@@ -307,40 +307,40 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
307
307
  _: 3,
308
308
  __: [6]
309
309
  }),
310
- t(se, { class: "client-body" }, {
310
+ a(ie, { class: "client-body" }, {
311
311
  default: l(() => [
312
- t(S, { class: "client-main" }, {
312
+ a(R, { class: "client-main" }, {
313
313
  default: l(() => {
314
314
  var k;
315
315
  return [
316
- t(f, { class: "client-aside" }, {
316
+ a(f, { class: "client-aside" }, {
317
317
  default: l(() => [
318
- t(tt, { mode: "vertical" })
318
+ a(tt, { mode: "vertical" })
319
319
  ]),
320
320
  _: 1
321
321
  }),
322
322
  y("div", Ht, [
323
- x.value ? (u(), $(V, { key: 0 })) : L("", !0),
324
- n(z) !== "" ? (u(), $(Be, {
323
+ P.value ? (u(), D(x, { key: 0 })) : U("", !0),
324
+ n(O) !== "" ? (u(), D(ke, {
325
325
  key: 1,
326
326
  class: "calculator-content back-content",
327
- onClickTrigger: Y,
327
+ onClickTrigger: Q,
328
328
  modelValue: "返回"
329
- })) : L("", !0),
330
- x.value ? L("", !0) : (u(!0), P(Fe, { key: 2 }, je((k = n(Me)(n(ne))) == null ? void 0 : k.filter((i) => i.comp !== "FormTop"), (i, X) => {
331
- var H;
332
- return u(), P("div", {
329
+ })) : U("", !0),
330
+ P.value ? U("", !0) : (u(!0), $(Be, { key: 2 }, je((k = n(Me)(n(oe))) == null ? void 0 : k.filter((i) => i.comp !== "FormTop"), (i, G) => {
331
+ var q;
332
+ return u(), $("div", {
333
333
  class: "item-view-content",
334
- key: X
334
+ key: G
335
335
  }, [
336
- ((H = i == null ? void 0 : i.comp) == null ? void 0 : H.toUpperCase()) !== "TABLE" && i.name ? (u(), P("div", Jt, le(i.name), 1)) : L("", !0),
337
- (u(), $(et(n(st)(i.comp)), {
336
+ ((q = i == null ? void 0 : i.comp) == null ? void 0 : q.toUpperCase()) !== "TABLE" && i.name ? (u(), $("div", Jt, ne(i.name), 1)) : U("", !0),
337
+ (u(), D(et(n(st)(i.comp)), {
338
338
  compName: i.name,
339
339
  itemData: i == null ? void 0 : i.compData,
340
340
  childItemData: i == null ? void 0 : i.itemChildData,
341
- key: (i == null ? void 0 : i.id) ?? X,
341
+ key: (i == null ? void 0 : i.id) ?? G,
342
342
  onChange: n(ct),
343
- index: (i == null ? void 0 : i.id) ?? X,
343
+ index: (i == null ? void 0 : i.id) ?? G,
344
344
  onContentChange: n(ut),
345
345
  onPageChange: n(rt)
346
346
  }, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
@@ -358,12 +358,12 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
358
358
  _: 3
359
359
  })), [
360
360
  [Ae, n(s) === "view"],
361
- [D, n(M)]
361
+ [M, n(A)]
362
362
  ])
363
363
  ], 64);
364
364
  };
365
365
  }
366
- }), Qt = /* @__PURE__ */ Ce(Wt, [["__scopeId", "data-v-e8b11b5f"]]), Pe = [
366
+ }), Qt = /* @__PURE__ */ ve(Wt, [["__scopeId", "data-v-e8b11b5f"]]), Pe = [
367
367
  {
368
368
  key: "FitCurve_Eleven",
369
369
  value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35326658522693",
@@ -461,198 +461,198 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
461
461
  }
462
462
  },
463
463
  emits: ["showChild", "buildContent"],
464
- setup(F, { emit: te }) {
465
- const e = Le(W), w = c(!1);
464
+ setup(F, { emit: ee }) {
465
+ const t = Le(J), w = c(!1);
466
466
  c(0), c(!1);
467
- const { selectTitle: A } = J(e), O = c(!1), s = c(!1);
467
+ const { selectTitle: S } = H(t), K = c(!1), s = c(!1);
468
468
  c(!1);
469
- const z = Tt(W), T = c(!1), { tableShowThree: M } = J(z), ie = pt(), { loginUserInfo: ae } = J(ie);
469
+ const O = Tt(J), T = c(!1), { tableShowThree: A } = H(O), le = pt(), { loginUserInfo: te } = H(le);
470
470
  c(null);
471
- const b = $e(W), { isEdit: x } = J(b), E = De(W), Q = Mt(W), { objUrl: Y, blobUrls: h } = J(Q), d = c(null);
471
+ const b = $e(J), { isEdit: P } = H(b), L = De(J), W = Mt(J), { objUrl: Q, blobUrls: h } = H(W), d = c(null);
472
472
  c(!1);
473
- const Z = c(!0);
473
+ const Y = c(!0);
474
474
  c(!1);
475
- const { importLoading: ue, activeMenuPath: G, activeTopMenuPath: se, platName: U, activeAsideMenu: ce } = J(E), f = c(!1), V = c(!1), S = c(!1), D = te;
476
- K(() => G.value, async (a) => {
477
- a && (S.value = !0), a === "弯管仿真加工管理/仿真动画生成" ? f.value = !0 : f.value = !1, a === "弯管仿真加工管理/程序输出" ? V.value = !0 : V.value = !1, xe != null && xe.find((r) => {
475
+ const { importLoading: re, activeMenuPath: z, activeTopMenuPath: ie, platName: I, activeAsideMenu: ue } = H(L), f = c(!1), x = c(!1), R = c(!1), M = ee;
476
+ E(() => z.value, async (e) => {
477
+ e && (R.value = !0), e === "弯管仿真加工管理/仿真动画生成" ? f.value = !0 : f.value = !1, e === "弯管仿真加工管理/程序输出" ? x.value = !0 : x.value = !1, xe != null && xe.find((r) => {
478
478
  var v;
479
- return (r == null ? void 0 : r.key) === ((v = a == null ? void 0 : a.split("/")) == null ? void 0 : v[(a == null ? void 0 : a.split("/").length) - 1]);
479
+ return (r == null ? void 0 : r.key) === ((v = e == null ? void 0 : e.split("/")) == null ? void 0 : v[(e == null ? void 0 : e.split("/").length) - 1]);
480
480
  }) ? T.value = !0 : T.value = !1;
481
481
  }, { immediate: !0 });
482
- const k = (a) => {
483
- if ((a == null ? void 0 : a.type) === "table") {
484
- let r = Object.values(a == null ? void 0 : a.row), v = r == null ? void 0 : r.find((_) => typeof _ == "string" && ((_ == null ? void 0 : _.includes(".urdf")) || (_ == null ? void 0 : _.includes(".obj"))));
485
- v && D("showChild", {
482
+ const k = (e) => {
483
+ if ((e == null ? void 0 : e.type) === "table") {
484
+ let r = Object.values(e == null ? void 0 : e.row), v = r == null ? void 0 : r.find((_) => typeof _ == "string" && ((_ == null ? void 0 : _.includes(".urdf")) || (_ == null ? void 0 : _.includes(".obj"))));
485
+ v && M("showChild", {
486
486
  url: v,
487
- row: a == null ? void 0 : a.row
487
+ row: e == null ? void 0 : e.row
488
488
  });
489
489
  }
490
490
  }, i = () => {
491
491
  sessionStorage.clear(), window.location.reload();
492
- }, X = async () => {
492
+ }, G = async () => {
493
493
  var r, v, _, g;
494
- E.setImportLoading(!0);
495
- const a = await Ve({
494
+ L.setImportLoading(!0);
495
+ const e = await Ve({
496
496
  key: {
497
497
  systemKey: sessionStorage.getItem("systemKey")
498
498
  }
499
499
  });
500
- if (((r = a == null ? void 0 : a.data) == null ? void 0 : r.code) === 200) {
501
- let C = (g = (_ = (v = a == null ? void 0 : a.data) == null ? void 0 : v.result) == null ? void 0 : _.map((o) => {
502
- var N;
503
- if (((N = o == null ? void 0 : o.key) == null ? void 0 : N.layer) !== "superAdmin")
500
+ if (((r = e == null ? void 0 : e.data) == null ? void 0 : r.code) === 200) {
501
+ let C = (g = (_ = (v = e == null ? void 0 : e.data) == null ? void 0 : v.result) == null ? void 0 : _.map((o) => {
502
+ var j;
503
+ if (((j = o == null ? void 0 : o.key) == null ? void 0 : j.layer) !== "superAdmin")
504
504
  return o == null ? void 0 : o.id;
505
505
  })) == null ? void 0 : g.filter((o) => o);
506
506
  await mt({
507
507
  ids: C
508
- }), E.setRawMenus([]);
508
+ }), L.setRawMenus([]);
509
509
  }
510
- E.setImportLoading(!1);
511
- }, H = async (a) => {
512
- var _, g, C, o, N, ee, m;
513
- const r = (_ = a == null ? void 0 : a.split("/")) == null ? void 0 : _[0], v = await Ve({
510
+ L.setImportLoading(!1);
511
+ }, q = async (e) => {
512
+ var _, g, C, o, j, Z, m;
513
+ const r = (_ = e == null ? void 0 : e.split("/")) == null ? void 0 : _[0], v = await Ve({
514
514
  key: {
515
515
  type: "mainEquip",
516
516
  systemKey: sessionStorage.getItem("systemKey"),
517
517
  pageKey: r
518
518
  }
519
519
  });
520
- return ((g = v == null ? void 0 : v.data) == null ? void 0 : g.type) === "success" ? ((m = (ee = (N = (o = (C = v == null ? void 0 : v.data) == null ? void 0 : C.result) == null ? void 0 : o[0]) == null ? void 0 : N.value) == null ? void 0 : ee.tableData) == null ? void 0 : m.隐藏三维显示) !== !0 : !0;
520
+ return ((g = v == null ? void 0 : v.data) == null ? void 0 : g.type) === "success" ? ((m = (Z = (j = (o = (C = v == null ? void 0 : v.data) == null ? void 0 : C.result) == null ? void 0 : o[0]) == null ? void 0 : j.value) == null ? void 0 : Z.tableData) == null ? void 0 : m.隐藏三维显示) !== !0 : !0;
521
521
  };
522
- K(
523
- () => ne.value,
522
+ E(
523
+ () => oe.value,
524
524
  () => {
525
- var a, r, v, _, g;
526
- if (((a = ne.value) == null ? void 0 : a.length) === 2 && ((r = ne.value) != null && r.find((C) => (C == null ? void 0 : C.name) === "输入")) && ((v = ne.value) != null && v.find((C) => (C == null ? void 0 : C.name) === "输出"))) {
527
- const C = (_ = ne.value) == null ? void 0 : _.find((o) => (o == null ? void 0 : o.name) === "输出");
528
- s.value = ((g = C == null ? void 0 : C.comp) == null ? void 0 : g.toUpperCase()) === "FORM", O.value = !0;
525
+ var e, r, v, _, g;
526
+ if (((e = oe.value) == null ? void 0 : e.length) === 2 && ((r = oe.value) != null && r.find((C) => (C == null ? void 0 : C.name) === "输入")) && ((v = oe.value) != null && v.find((C) => (C == null ? void 0 : C.name) === "输出"))) {
527
+ const C = (_ = oe.value) == null ? void 0 : _.find((o) => (o == null ? void 0 : o.name) === "输出");
528
+ s.value = ((g = C == null ? void 0 : C.comp) == null ? void 0 : g.toUpperCase()) === "FORM", K.value = !0;
529
529
  } else
530
- O.value = !1, s.value = !1;
530
+ K.value = !1, s.value = !1;
531
531
  },
532
532
  { deep: !0, immediate: !0 }
533
- ), K(
534
- () => G.value,
533
+ ), E(
534
+ () => z.value,
535
535
  async () => {
536
- G.value && (Z.value = await H(G.value));
536
+ z.value && (Y.value = await q(z.value));
537
537
  },
538
538
  { deep: !0, immediate: !0 }
539
- ), K(
540
- () => [Y.value, d.value],
539
+ ), E(
540
+ () => [Q.value, d.value],
541
541
  () => {
542
- var a;
543
- ((a = Y.value) == null ? void 0 : a.length) > 0 && d.value && d.value.addModelsFromUrls(Y.value);
542
+ var e;
543
+ ((e = Q.value) == null ? void 0 : e.length) > 0 && d.value && d.value.addModelsFromUrls(Q.value);
544
544
  },
545
545
  { immediate: !0, deep: !0 }
546
- ), K(
546
+ ), E(
547
547
  () => h == null ? void 0 : h.value,
548
548
  async () => {
549
- var a, r, v, _;
550
- if (h != null && h.value && ((a = h == null ? void 0 : h.value) == null ? void 0 : a.length) > 0 && !T.value && !((r = ne.value) != null && r.find((g) => (g == null ? void 0 : g.name) === "输入") && ((v = ne.value) != null && v.find((g) => (g == null ? void 0 : g.name) === "输出")))) {
549
+ var e, r, v, _;
550
+ if (h != null && h.value && ((e = h == null ? void 0 : h.value) == null ? void 0 : e.length) > 0 && !T.value && !((r = oe.value) != null && r.find((g) => (g == null ? void 0 : g.name) === "输入") && ((v = oe.value) != null && v.find((g) => (g == null ? void 0 : g.name) === "输出")))) {
551
551
  let g = [];
552
552
  const C = await ((_ = Me(h == null ? void 0 : h.value)) == null ? void 0 : _.map(async (o) => {
553
- var de, be, I, p, re, me, Re, Ee, Ke, Oe;
554
- let N, ee, m;
555
- o != null && o.blob.includes("undefined") ? m = (be = (de = o == null ? void 0 : o.blob) == null ? void 0 : de.split("undefined,")) == null ? void 0 : be[1] : m = o == null ? void 0 : o.blob;
556
- let oe = m == null ? void 0 : m.split(",");
557
- if ((oe == null ? void 0 : oe.length) > 1) {
558
- let ge = await (oe == null ? void 0 : oe.map(async (j) => {
559
- var pe, ze, Ge, Xe, qe, He;
560
- N = await ke.get(j, {
553
+ var ce, be, N, p, se, de, Re, Ee, Ke, Oe;
554
+ let j, Z, m;
555
+ o != null && o.blob.includes("undefined") ? m = (be = (ce = o == null ? void 0 : o.blob) == null ? void 0 : ce.split("undefined,")) == null ? void 0 : be[1] : m = o == null ? void 0 : o.blob;
556
+ let ae = m == null ? void 0 : m.split(",");
557
+ if ((ae == null ? void 0 : ae.length) > 1) {
558
+ let fe = await (ae == null ? void 0 : ae.map(async (V) => {
559
+ var me, ze, Ge, Xe, qe, He;
560
+ j = await we.get(V, {
561
561
  responseType: "blob",
562
562
  headers: {
563
563
  "Content-Type": "application/json"
564
564
  }
565
565
  });
566
- let _e = [];
567
- if (((pe = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : pe.length) > 0) {
566
+ let ge = [];
567
+ if (((me = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : me.length) > 0) {
568
568
  let vt = await ((ze = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : ze.map(async (Ct) => {
569
- let Je = await ke.get(Ct, {
569
+ let Je = await we.get(Ct, {
570
570
  responseType: "blob",
571
571
  headers: {
572
572
  "Content-Type": "application/json"
573
573
  }
574
574
  });
575
- return _e.push(new Blob([Je.data], {
575
+ return ge.push(new Blob([Je.data], {
576
576
  type: "application/octet-stream;charset=UTF-8"
577
577
  })), Je;
578
578
  }));
579
579
  await Promise.all(vt);
580
580
  }
581
- return ((Xe = j == null ? void 0 : j.split(".")) == null ? void 0 : Xe[((Ge = j == null ? void 0 : j.split(".")) == null ? void 0 : Ge.length) - 1]) !== "undefined" && g.push({
582
- suffix: "." + ((He = j == null ? void 0 : j.split(".")) == null ? void 0 : He[((qe = j == null ? void 0 : j.split(".")) == null ? void 0 : qe.length) - 1]),
583
- blob: new Blob([N.data], {
581
+ return ((Xe = V == null ? void 0 : V.split(".")) == null ? void 0 : Xe[((Ge = V == null ? void 0 : V.split(".")) == null ? void 0 : Ge.length) - 1]) !== "undefined" && g.push({
582
+ suffix: "." + ((He = V == null ? void 0 : V.split(".")) == null ? void 0 : He[((qe = V == null ? void 0 : V.split(".")) == null ? void 0 : qe.length) - 1]),
583
+ blob: new Blob([j.data], {
584
584
  type: "application/octet-stream;charset=UTF-8"
585
585
  }),
586
- mtlBlobs: _e
587
- }), N;
586
+ mtlBlobs: ge
587
+ }), j;
588
588
  }));
589
- await Promise.all(ge);
589
+ await Promise.all(fe);
590
590
  } else if (!(m != null && m.includes("https://")) && !(m != null && m.includes("http://"))) {
591
- N = await Qe({
591
+ j = await Qe({
592
592
  url: m
593
593
  });
594
- let ge = [];
595
- if (((I = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : I.length) > 0) {
596
- let j = await ((p = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : p.map(async (_e) => {
597
- let pe = await Qe({
598
- url: _e
594
+ let fe = [];
595
+ if (((N = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : N.length) > 0) {
596
+ let V = await ((p = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : p.map(async (ge) => {
597
+ let me = await Qe({
598
+ url: ge
599
599
  });
600
- return ge.push(new Blob([pe.data], {
600
+ return fe.push(new Blob([me.data], {
601
601
  type: "application/octet-stream;charset=UTF-8"
602
- })), pe;
602
+ })), me;
603
603
  }));
604
- await Promise.all(j);
604
+ await Promise.all(V);
605
605
  }
606
- ee = {
607
- suffix: "." + ((me = m == null ? void 0 : m.split(".")) == null ? void 0 : me[((re = m == null ? void 0 : m.split(".")) == null ? void 0 : re.length) - 1]),
608
- blob: new Blob([N.data], {
606
+ Z = {
607
+ suffix: "." + ((de = m == null ? void 0 : m.split(".")) == null ? void 0 : de[((se = m == null ? void 0 : m.split(".")) == null ? void 0 : se.length) - 1]),
608
+ blob: new Blob([j.data], {
609
609
  type: "application/octet-stream;charset=UTF-8"
610
610
  }),
611
- mtlBlobs: ge
611
+ mtlBlobs: fe
612
612
  };
613
613
  } else {
614
- N = await ke.get(m, {
614
+ j = await we.get(m, {
615
615
  responseType: "blob",
616
616
  headers: {
617
617
  "Content-Type": "application/json"
618
618
  }
619
619
  });
620
- let ge = [];
620
+ let fe = [];
621
621
  if (((Re = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : Re.length) > 0) {
622
- let j = await ((Ee = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : Ee.map(async (_e) => {
623
- let pe = await ke.get(_e, {
622
+ let V = await ((Ee = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : Ee.map(async (ge) => {
623
+ let me = await we.get(ge, {
624
624
  responseType: "blob",
625
625
  headers: {
626
626
  "Content-Type": "application/json"
627
627
  }
628
628
  });
629
- return ge.push(new Blob([pe.data], {
629
+ return fe.push(new Blob([me.data], {
630
630
  type: "application/octet-stream;charset=UTF-8"
631
- })), pe;
631
+ })), me;
632
632
  }));
633
- await Promise.all(j);
633
+ await Promise.all(V);
634
634
  }
635
- ee = {
635
+ Z = {
636
636
  suffix: "." + ((Oe = m == null ? void 0 : m.split(".")) == null ? void 0 : Oe[((Ke = m == null ? void 0 : m.split(".")) == null ? void 0 : Ke.length) - 1]),
637
- blob: new Blob([N.data], {
637
+ blob: new Blob([j.data], {
638
638
  type: "application/octet-stream;charset=UTF-8"
639
639
  }),
640
- mtlBlobs: ge
640
+ mtlBlobs: fe
641
641
  };
642
642
  }
643
- ee && g.push(ee);
643
+ Z && g.push(Z);
644
644
  }));
645
645
  await Promise.all(C), (g == null ? void 0 : g.length) !== 0 && (w.value = !0, d.value.loadModelByDefaultPath(g));
646
646
  }
647
647
  },
648
648
  { immediate: !0, deep: !0 }
649
- ), K(
650
- () => M.value,
649
+ ), E(
650
+ () => A.value,
651
651
  async () => {
652
652
  var r, v, _, g;
653
- if (M.value !== "" && M.value) {
654
- let C = (r = G.value) == null ? void 0 : r.split("/"), o = C[(C == null ? void 0 : C.length) - 2];
655
- const ee = (((v = Pe == null ? void 0 : Pe.find((de) => (de == null ? void 0 : de.key) === o)) == null ? void 0 : v.download) ?? "") + "/" + M.value, m = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), oe = await ke.post(ee, null, {
653
+ if (A.value !== "" && A.value) {
654
+ let C = (r = z.value) == null ? void 0 : r.split("/"), o = C[(C == null ? void 0 : C.length) - 2];
655
+ const Z = (((v = Pe == null ? void 0 : Pe.find((ce) => (ce == null ? void 0 : ce.key) === o)) == null ? void 0 : v.download) ?? "") + "/" + A.value, m = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), ae = await we.post(Z, null, {
656
656
  responseType: "blob",
657
657
  // 必须设置
658
658
  headers: {
@@ -661,87 +661,87 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
661
661
  "Content-Type": "application/json"
662
662
  }
663
663
  });
664
- var a = new Blob([oe.data], {
664
+ var e = new Blob([ae.data], {
665
665
  type: "application/octet-stream;charset=UTF-8"
666
666
  });
667
- "" + ((g = (_ = M.value) == null ? void 0 : _.split(".")) == null ? void 0 : g[1]);
667
+ "" + ((g = (_ = A.value) == null ? void 0 : _.split(".")) == null ? void 0 : g[1]);
668
668
  }
669
669
  },
670
670
  { deep: !0, immediate: !0 }
671
671
  );
672
- const he = c("");
673
- c("open"), c("open"), c(!1), Te(() => ne.value);
674
- const we = Te(() => ce.value.isRouter), fe = c(!1), R = () => {
675
- fe.value = !0, setTimeout(() => {
672
+ const pe = c("");
673
+ c("open"), c("open"), c(!1), Te(() => oe.value);
674
+ const Fe = Te(() => ue.value.isRouter), he = c(!1), Ce = () => {
675
+ he.value = !0, setTimeout(() => {
676
676
  d.value.loadModelByDefaultPath([{ suffix: ".urdf" }]);
677
677
  }, 1e3);
678
678
  };
679
- return (a, r) => {
680
- const v = B("el-dialog"), _ = B("el-button"), g = B("el-avatar"), C = B("el-header"), o = B("el-container"), N = B("el-icon"), ee = B("el-input"), m = B("el-aside"), oe = B("router-view"), de = B("el-main"), be = Ze("loading");
681
- return u(), P(Fe, null, [
682
- t(v, {
683
- modelValue: fe.value,
684
- "onUpdate:modelValue": r[0] || (r[0] = (I) => fe.value = I),
679
+ return (e, r) => {
680
+ const v = B("el-dialog"), _ = B("el-button"), g = B("el-avatar"), C = B("el-header"), o = B("el-container"), j = B("el-icon"), Z = B("el-input"), m = B("el-aside"), ae = B("router-view"), ce = B("el-main"), be = Ze("loading");
681
+ return u(), $(Be, null, [
682
+ a(v, {
683
+ modelValue: he.value,
684
+ "onUpdate:modelValue": r[0] || (r[0] = (N) => he.value = N),
685
685
  style: { height: "700px", width: "1800px" }
686
686
  }, {
687
687
  default: l(() => [
688
- t(We, {
688
+ a(We, {
689
689
  ref_key: "threeModelRef",
690
690
  ref: d
691
691
  }, null, 512)
692
692
  ]),
693
693
  _: 1
694
694
  }, 8, ["modelValue"]),
695
- Se(t(o, { class: "client-container" }, {
695
+ Se(a(o, { class: "client-container" }, {
696
696
  default: l(() => [
697
- t(C, { class: "client-structure-header" }, {
697
+ a(C, { class: "client-structure-header" }, {
698
698
  default: l(() => {
699
- var I;
699
+ var N;
700
700
  return [
701
701
  y("div", Yt, [
702
- t(_, {
702
+ a(_, {
703
703
  id: "transparentBgButton",
704
704
  onClick: n(at)
705
705
  }, {
706
706
  default: l(() => r[4] || (r[4] = [
707
- q(" 返回页面 ")
707
+ X(" 返回页面 ")
708
708
  ])),
709
709
  _: 1,
710
710
  __: [4]
711
711
  }, 8, ["onClick"]),
712
- t(_, {
712
+ a(_, {
713
713
  id: "transparentBgButton",
714
714
  onClick: r[1] || (r[1] = (p) => {
715
- var re, me;
716
- return n(ot)((me = (re = n(A)) == null ? void 0 : re.map((Re) => Re.value)) == null ? void 0 : me.join("/"));
715
+ var se, de;
716
+ return n(ot)((de = (se = n(S)) == null ? void 0 : se.map((Re) => Re.value)) == null ? void 0 : de.join("/"));
717
717
  })
718
718
  }, {
719
719
  icon: l(() => [
720
- t(ye, { name: "Store" })
720
+ a(_e, { name: "Store" })
721
721
  ]),
722
722
  default: l(() => [
723
- r[5] || (r[5] = q(" 保存页面 "))
723
+ r[5] || (r[5] = X(" 保存页面 "))
724
724
  ]),
725
725
  _: 1,
726
726
  __: [5]
727
727
  })
728
728
  ]),
729
729
  y("div", Zt, [
730
- t(yt, {
731
- breadArray: n(A),
730
+ a(yt, {
731
+ breadArray: n(S),
732
732
  onClick: n(nt)
733
733
  }, null, 8, ["breadArray", "onClick"])
734
734
  ]),
735
735
  y("div", ea, [
736
- ve(a.$slots, "default", {}, void 0, !0),
737
- t(g, {
736
+ ye(e.$slots, "default", {}, void 0, !0),
737
+ a(g, {
738
738
  size: 35,
739
- src: (I = n(ae)) == null ? void 0 : I.avatarUrl
739
+ src: (N = n(te)) == null ? void 0 : N.avatarUrl
740
740
  }, {
741
741
  default: l(() => {
742
742
  var p;
743
743
  return [
744
- q(le(((p = n(ae)) == null ? void 0 : p.account) ?? "未知"), 1)
744
+ X(ne(((p = n(te)) == null ? void 0 : p.account) ?? "未知"), 1)
745
745
  ];
746
746
  }),
747
747
  _: 1
@@ -751,104 +751,104 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
751
751
  }),
752
752
  _: 3
753
753
  }),
754
- n(x) === "edit" ? (u(), $(o, {
754
+ n(P) === "edit" ? (u(), D(o, {
755
755
  key: 0,
756
756
  class: "model-operate",
757
757
  style: { "margin-top": "10px", height: "0px" }
758
758
  }, {
759
759
  default: l(() => [
760
760
  y("div", ta, [
761
- t(Ne)
761
+ a(Ne)
762
762
  ]),
763
763
  y("div", aa, [
764
- t(Ie)
764
+ a(Ie)
765
765
  ]),
766
766
  y("div", oa, [
767
- t(Ue)
767
+ a(Ue)
768
768
  ])
769
769
  ]),
770
770
  _: 1
771
- })) : L("", !0)
771
+ })) : U("", !0)
772
772
  ]),
773
773
  _: 3
774
774
  }, 512), [
775
- [Ae, n(x) === "edit"]
775
+ [Ae, n(P) === "edit"]
776
776
  ]),
777
- Se((u(), $(o, {
777
+ Se((u(), D(o, {
778
778
  class: "client-container",
779
779
  "element-loading-text": "正在加载页面数据..."
780
780
  }, {
781
781
  default: l(() => [
782
- t(C, { class: "client-header" }, {
782
+ a(C, { class: "client-header" }, {
783
783
  default: l(() => [
784
784
  y("div", {
785
785
  class: "client-header-logo",
786
- onClick: R
787
- }, le(n(U) === "" ? "CPMPIP" : n(U)), 1),
786
+ onClick: Ce
787
+ }, ne(n(I) === "" ? "CPMPIP" : n(I)), 1),
788
788
  y("div", na, [
789
- t(_t, { mode: "horizontal" })
789
+ a(_t, { mode: "horizontal" })
790
790
  ]),
791
791
  y("div", la, [
792
- t(ee, {
793
- modelValue: he.value,
794
- "onUpdate:modelValue": r[2] || (r[2] = (I) => he.value = I),
792
+ a(Z, {
793
+ modelValue: pe.value,
794
+ "onUpdate:modelValue": r[2] || (r[2] = (N) => pe.value = N),
795
795
  clearable: "",
796
796
  placeholder: "搜索",
797
797
  style: { width: "130px" }
798
798
  }, {
799
799
  prefix: l(() => [
800
- t(N, { class: "el-input__icon" }, {
800
+ a(j, { class: "el-input__icon" }, {
801
801
  default: l(() => [
802
- t(n(dt))
802
+ a(n(dt))
803
803
  ]),
804
804
  _: 1
805
805
  })
806
806
  ]),
807
807
  _: 1
808
808
  }, 8, ["modelValue"]),
809
- F.showButton ? (u(), $(_, {
809
+ F.showButton ? (u(), D(_, {
810
810
  key: 0,
811
811
  id: "transparentBgButton",
812
812
  onClick: n(lt)
813
813
  }, {
814
814
  icon: l(() => [
815
- t(ye, { name: "App" })
815
+ a(_e, { name: "App" })
816
816
  ]),
817
817
  default: l(() => [
818
- r[6] || (r[6] = q(" 生成APP "))
818
+ r[6] || (r[6] = X(" 生成APP "))
819
819
  ]),
820
820
  _: 1,
821
821
  __: [6]
822
- }, 8, ["onClick"])) : L("", !0),
823
- F.showButton && n(x) === "view" ? (u(), $(_, {
822
+ }, 8, ["onClick"])) : U("", !0),
823
+ F.showButton && n(P) === "view" ? (u(), D(_, {
824
824
  key: 1,
825
825
  id: "transparentBgButton",
826
826
  onClick: n(it)
827
827
  }, {
828
828
  icon: l(() => [
829
- t(ye, { name: "write" })
829
+ a(_e, { name: "write" })
830
830
  ]),
831
831
  default: l(() => [
832
- r[7] || (r[7] = q(" 修改布局 "))
832
+ r[7] || (r[7] = X(" 修改布局 "))
833
833
  ]),
834
834
  _: 1,
835
835
  __: [7]
836
- }, 8, ["onClick"])) : L("", !0),
837
- ve(a.$slots, "default", {}, void 0, !0),
838
- t(ht, null, {
836
+ }, 8, ["onClick"])) : U("", !0),
837
+ ye(e.$slots, "default", {}, void 0, !0),
838
+ a(ht, null, {
839
839
  dropTitle: l(() => {
840
- var I;
840
+ var N;
841
841
  return [
842
- t(gt, {
842
+ a(gt, {
843
843
  size: "35",
844
- avatarUrl: (I = n(ae)) == null ? void 0 : I.avatarUrl,
844
+ avatarUrl: (N = n(te)) == null ? void 0 : N.avatarUrl,
845
845
  showCropper: !1,
846
846
  banClick: !0
847
847
  }, {
848
848
  avatarDefault: l(() => {
849
849
  var p;
850
850
  return [
851
- q(le(((p = n(ae)) == null ? void 0 : p.account) ?? "未知"), 1)
851
+ X(ne(((p = n(te)) == null ? void 0 : p.account) ?? "未知"), 1)
852
852
  ];
853
853
  }),
854
854
  _: 1
@@ -857,14 +857,14 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
857
857
  }),
858
858
  dropMenu: l(() => [
859
859
  y("div", ia, [
860
- t(Be, {
860
+ a(ke, {
861
861
  emptyColor: !0,
862
862
  class: "menu-button",
863
- onClickTrigger: X,
863
+ onClickTrigger: G,
864
864
  modelValue: "清空数据",
865
865
  buttonType: ""
866
866
  }),
867
- t(Be, {
867
+ a(ke, {
868
868
  emptyColor: !0,
869
869
  class: "menu-button",
870
870
  onClickTrigger: i,
@@ -879,33 +879,33 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
879
879
  ]),
880
880
  _: 3
881
881
  }),
882
- t(o, { class: "client-body" }, {
882
+ a(o, { class: "client-body" }, {
883
883
  default: l(() => [
884
- t(de, { class: "client-main" }, {
884
+ a(ce, { class: "client-main" }, {
885
885
  default: l(() => {
886
- var I;
886
+ var N;
887
887
  return [
888
- t(m, { class: "client-aside" }, {
888
+ a(m, { class: "client-aside" }, {
889
889
  default: l(() => [
890
- t(tt, { mode: "vertical" })
890
+ a(tt, { mode: "vertical" })
891
891
  ]),
892
892
  _: 1
893
893
  }),
894
894
  y("div", sa, [
895
- we.value ? (u(), $(oe, { key: 0 })) : (u(!0), P(Fe, { key: 1 }, je((I = n(Me)(n(ne))) == null ? void 0 : I.filter((p) => p.comp !== "FormTop"), (p, re) => {
896
- var me;
897
- return u(), P("div", {
895
+ Fe.value ? (u(), D(ae, { key: 0 })) : (u(!0), $(Be, { key: 1 }, je((N = n(Me)(n(oe))) == null ? void 0 : N.filter((p) => p.comp !== "FormTop"), (p, se) => {
896
+ var de;
897
+ return u(), $("div", {
898
898
  class: "item-view-content",
899
- key: re
899
+ key: se
900
900
  }, [
901
- ((me = p == null ? void 0 : p.comp) == null ? void 0 : me.toUpperCase()) !== "TABLE" && p.name ? (u(), P("div", ra, le(p.name), 1)) : L("", !0),
902
- (u(), $(et(n(st)(p.comp)), {
901
+ ((de = p == null ? void 0 : p.comp) == null ? void 0 : de.toUpperCase()) !== "TABLE" && p.name ? (u(), $("div", ra, ne(p.name), 1)) : U("", !0),
902
+ (u(), D(et(n(st)(p.comp)), {
903
903
  compName: p.name,
904
904
  itemData: p == null ? void 0 : p.compData,
905
905
  childItemData: p == null ? void 0 : p.itemChildData,
906
- key: (p == null ? void 0 : p.id) ?? re,
906
+ key: (p == null ? void 0 : p.id) ?? se,
907
907
  onChange: n(ct),
908
- index: (p == null ? void 0 : p.id) ?? re,
908
+ index: (p == null ? void 0 : p.id) ?? se,
909
909
  onContentChange: n(ut),
910
910
  onPageChange: n(rt),
911
911
  onRowClick: k
@@ -923,17 +923,17 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
923
923
  ]),
924
924
  _: 3
925
925
  })), [
926
- [Ae, n(x) === "view"],
927
- [be, n(ue)]
926
+ [Ae, n(P) === "view"],
927
+ [be, n(re)]
928
928
  ]),
929
929
  y("div", null, [
930
- t(Rt, {
930
+ a(Rt, {
931
931
  visible: w.value,
932
- onBeforeDestroy: r[3] || (r[3] = (I) => w.value = !1),
932
+ onBeforeDestroy: r[3] || (r[3] = (N) => w.value = !1),
933
933
  style: { height: "700px", width: "1000px" }
934
934
  }, {
935
935
  default: l(() => [
936
- t(We, {
936
+ a(We, {
937
937
  ref_key: "threeModelRef",
938
938
  ref: d
939
939
  }, null, 512)
@@ -944,7 +944,7 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
944
944
  ], 64);
945
945
  };
946
946
  }
947
- }), ca = /* @__PURE__ */ Ce(ua, [["__scopeId", "data-v-e0878328"]]), da = { class: "system-wrap" }, ma = {
947
+ }), ca = /* @__PURE__ */ ve(ua, [["__scopeId", "data-v-e0878328"]]), da = { class: "system-wrap" }, ma = {
948
948
  __name: "index",
949
949
  props: {
950
950
  windowConfig: {
@@ -964,70 +964,70 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
964
964
  jsonContents: Array
965
965
  },
966
966
  emits: ["buildContent", "showChild"],
967
- setup(F, { emit: te }) {
968
- const e = $e(W), w = Le(W), A = De();
967
+ setup(F, { emit: ee }) {
968
+ const t = $e(J), w = Le(J), S = De();
969
969
  c(!1);
970
- const O = c(!0), s = F, z = te, T = (b) => {
971
- z("showChild", b);
972
- }, M = Te(() => {
970
+ const K = c(!0), s = F, O = ee, T = (b) => {
971
+ O("showChild", b);
972
+ }, A = Te(() => {
973
973
  switch (s == null ? void 0 : s.platform) {
974
974
  case "browser":
975
975
  return Pt;
976
976
  case "client":
977
977
  return $t;
978
978
  }
979
- }), ie = (b) => {
980
- const x = document.documentElement;
981
- b == null || b.forEach((E) => {
982
- x.style.setProperty(E.name, E.value);
979
+ }), le = (b) => {
980
+ const P = document.documentElement;
981
+ b == null || b.forEach((L) => {
982
+ P.style.setProperty(L.name, L.value);
983
983
  });
984
984
  };
985
- K(() => s.platform, (b, x) => {
986
- b && ie(M.value);
985
+ E(() => s.platform, (b, P) => {
986
+ b && le(A.value);
987
987
  }, { immediate: !0 });
988
- const ae = () => {
989
- z("buildContent");
988
+ const te = () => {
989
+ O("buildContent");
990
990
  };
991
- return K(
991
+ return E(
992
992
  () => [s == null ? void 0 : s.content, s == null ? void 0 : s.jsonContents],
993
993
  async () => {
994
- var E, Q, Y, h;
995
- if (((E = s == null ? void 0 : s.jsonContents) == null ? void 0 : E.length) > 0) {
996
- e.setOriginalData(s == null ? void 0 : s.jsonContents);
994
+ var L, W, Q, h;
995
+ if (((L = s == null ? void 0 : s.jsonContents) == null ? void 0 : L.length) > 0) {
996
+ t.setOriginalData(s == null ? void 0 : s.jsonContents);
997
997
  return;
998
998
  }
999
- if (!(s != null && s.content) || ((Q = s == null ? void 0 : s.content) == null ? void 0 : Q.length) === 0) return;
1000
- O.value = !0, A.setImportLoading(!0);
1001
- let b = [], x = [];
1002
- w.setSelectTitle([]), w.setSelectIndex(""), w.setSelectMenu(""), (h = (Y = s == null ? void 0 : s.content) == null ? void 0 : Y.filter((d) => d !== "")) == null || h.forEach((d) => {
1003
- x.push(Ft(d));
1004
- }), b = x == null ? void 0 : x[0], await bt(b), await ft(), e.setOriginalData(b), A.setImportLoading(!1);
999
+ if (!(s != null && s.content) || ((W = s == null ? void 0 : s.content) == null ? void 0 : W.length) === 0) return;
1000
+ K.value = !0, S.setImportLoading(!0);
1001
+ let b = [], P = [];
1002
+ w.setSelectTitle([]), w.setSelectIndex(""), w.setSelectMenu(""), (h = (Q = s == null ? void 0 : s.content) == null ? void 0 : Q.filter((d) => d !== "")) == null || h.forEach((d) => {
1003
+ P.push(Ft(d));
1004
+ }), b = P == null ? void 0 : P[0], await bt(b), await ft(), t.setOriginalData(b), S.setImportLoading(!1);
1005
1005
  },
1006
1006
  { deep: !0, immediate: !0 }
1007
- ), (b, x) => (u(), P("div", da, [
1008
- F.platform === "browser" ? (u(), $(Qt, {
1007
+ ), (b, P) => (u(), $("div", da, [
1008
+ F.platform === "browser" ? (u(), D(Qt, {
1009
1009
  key: 0,
1010
1010
  showButton: F.showButton
1011
1011
  }, {
1012
1012
  default: l(() => [
1013
- ve(b.$slots, "default", {}, void 0, !0)
1013
+ ye(b.$slots, "default", {}, void 0, !0)
1014
1014
  ]),
1015
1015
  _: 3
1016
- }, 8, ["showButton"])) : (u(), $(ca, {
1016
+ }, 8, ["showButton"])) : (u(), D(ca, {
1017
1017
  key: 1,
1018
1018
  windowConfig: F.windowConfig,
1019
1019
  showButton: F.showButton,
1020
- onBuildContent: ae,
1020
+ onBuildContent: te,
1021
1021
  onShowChild: T
1022
1022
  }, {
1023
1023
  default: l(() => [
1024
- ve(b.$slots, "default", {}, void 0, !0)
1024
+ ye(b.$slots, "default", {}, void 0, !0)
1025
1025
  ]),
1026
1026
  _: 3
1027
1027
  }, 8, ["windowConfig", "showButton"]))
1028
1028
  ]));
1029
1029
  }
1030
- }, pa = /* @__PURE__ */ Ce(ma, [["__scopeId", "data-v-5e89b0de"]]), ha = { class: "add-model-content" }, fa = {
1030
+ }, pa = /* @__PURE__ */ ve(ma, [["__scopeId", "data-v-5e89b0de"]]), ha = { class: "add-model-content" }, fa = {
1031
1031
  key: 0,
1032
1032
  class: "model-operate"
1033
1033
  }, ga = { class: "model-select" }, _a = { class: "model-fill" }, ya = {
@@ -1062,163 +1062,163 @@ const _t = /* @__PURE__ */ Ce(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
1062
1062
  }
1063
1063
  },
1064
1064
  emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData"],
1065
- setup(F, { emit: te }) {
1066
- const e = F, w = te, A = c([]), O = c(0), s = c([]), z = c([]), T = c(0), M = $e(W), ie = De(W), { itemData: ae, originalData: b } = J(M), { activeMenuPath: x, platform: E } = J(ie), Q = c(null), Y = c(0), h = c([]);
1065
+ setup(F, { emit: ee }) {
1066
+ const t = F, w = ee, S = c([]), K = c(0), s = c([]), O = c([]), T = c(0), A = $e(J), le = De(J), { itemData: te, originalData: b } = H(A), { activeMenuPath: P, platform: L } = H(le), W = c(null), Q = c(0), h = c([]);
1067
1067
  c("");
1068
- const d = c(0), Z = () => {
1068
+ const d = c(0), Y = () => {
1069
1069
  w("buildContent");
1070
1070
  };
1071
- K(
1072
- () => e == null ? void 0 : e.pageKey,
1071
+ E(
1072
+ () => t == null ? void 0 : t.pageKey,
1073
1073
  async () => {
1074
- if ((e == null ? void 0 : e.pageKey) !== "") {
1075
- let f = [];
1076
- const V = await St(e == null ? void 0 : e.pageKey, sessionStorage.getItem("systemKey"), "", e == null ? void 0 : e.pageKey);
1077
- V == null || V.forEach((S) => {
1078
- var D, k, i, X, H, he;
1079
- if ((S == null ? void 0 : S.comp) === "Table") {
1080
- let we = (i = (k = (D = S == null ? void 0 : S.compData) == null ? void 0 : D.find((R) => (R == null ? void 0 : R.key) === "header")) == null ? void 0 : k.contents) == null ? void 0 : i.map((R) => R == null ? void 0 : R.label), fe = (he = (H = (X = S == null ? void 0 : S.compData) == null ? void 0 : X.find((R) => (R == null ? void 0 : R.key) === "tableContents")) == null ? void 0 : H.contents) == null ? void 0 : he.map((R) => (R = R == null ? void 0 : R.filter((a) => !(a != null && a.id)), R));
1081
- fe == null || fe.forEach((R) => {
1082
- f.push(At(R, we == null ? void 0 : we.filter((a) => a !== "操作")));
1083
- });
1074
+ let f = {};
1075
+ if ((t == null ? void 0 : t.pageKey) !== "") {
1076
+ const x = await St(t == null ? void 0 : t.pageKey, sessionStorage.getItem("systemKey"), "", t == null ? void 0 : t.pageKey);
1077
+ x == null || x.forEach((R) => {
1078
+ var M, k, i, G, q, pe;
1079
+ if ((R == null ? void 0 : R.comp) === "Table") {
1080
+ let Fe = [], he = (i = (k = (M = R == null ? void 0 : R.compData) == null ? void 0 : M.find((e) => (e == null ? void 0 : e.key) === "header")) == null ? void 0 : k.contents) == null ? void 0 : i.map((e) => e == null ? void 0 : e.label), Ce = (pe = (q = (G = R == null ? void 0 : R.compData) == null ? void 0 : G.find((e) => (e == null ? void 0 : e.key) === "tableContents")) == null ? void 0 : q.contents) == null ? void 0 : pe.map((e) => (e = e == null ? void 0 : e.filter((r) => !(r != null && r.id)), e));
1081
+ Ce == null || Ce.forEach((e) => {
1082
+ Fe.push(At(e, he == null ? void 0 : he.filter((r) => r !== "操作")));
1083
+ }), f[R.name] = Fe;
1084
1084
  }
1085
1085
  }), w("threeData", f);
1086
1086
  }
1087
1087
  },
1088
1088
  { deep: !0, immediate: !0 }
1089
1089
  );
1090
- const ue = (f) => {
1090
+ const re = (f) => {
1091
1091
  w("openThreeBuild", f);
1092
1092
  };
1093
- K(
1094
- () => e == null ? void 0 : e.pathContent,
1093
+ E(
1094
+ () => t == null ? void 0 : t.pathContent,
1095
1095
  () => {
1096
- (e == null ? void 0 : e.pathContent) !== "" && M.setSystemPath(e == null ? void 0 : e.pathContent);
1096
+ (t == null ? void 0 : t.pathContent) !== "" && A.setSystemPath(t == null ? void 0 : t.pathContent);
1097
1097
  },
1098
1098
  {
1099
1099
  deep: !0,
1100
1100
  immediate: !0
1101
1101
  }
1102
1102
  );
1103
- const G = (f) => {
1103
+ const z = (f) => {
1104
1104
  w("contentChange", f);
1105
- }, se = (f) => {
1106
- var S;
1107
- const V = (S = Me(f == null ? void 0 : f.wholeValue)) == null ? void 0 : S.map((D) => {
1105
+ }, ie = (f) => {
1106
+ var R;
1107
+ const x = (R = Me(f == null ? void 0 : f.wholeValue)) == null ? void 0 : R.map((M) => {
1108
1108
  var k;
1109
- return (D == null ? void 0 : D.comp) === "Form" && (D.compData = (k = D.compData) == null ? void 0 : k.map((i) => ((i == null ? void 0 : i.key) === "formContent" && (i.contents = Dt(i == null ? void 0 : i.contents)), i))), D;
1109
+ return (M == null ? void 0 : M.comp) === "Form" && (M.compData = (k = M.compData) == null ? void 0 : k.map((i) => ((i == null ? void 0 : i.key) === "formContent" && (i.contents = Dt(i == null ? void 0 : i.contents)), i))), M;
1110
1110
  });
1111
1111
  w("change", {
1112
1112
  originalContents: b.value,
1113
1113
  currentContents: f == null ? void 0 : f.wholeValue,
1114
1114
  editContent: f == null ? void 0 : f.editValue,
1115
- arrayToContents: V
1115
+ arrayToContents: x
1116
1116
  });
1117
1117
  };
1118
- K(
1118
+ E(
1119
1119
  () => s.value,
1120
1120
  () => {
1121
- d.value === s.value.length && s.value.length !== 0 && (A.value = s.value);
1121
+ d.value === s.value.length && s.value.length !== 0 && (S.value = s.value);
1122
1122
  },
1123
1123
  { deep: !0, immediate: !0 }
1124
1124
  );
1125
- const U = () => {
1126
- Q.value !== null && Q.value.click();
1127
- }, ce = async (f) => {
1128
- const V = f.target.files;
1129
- if (!V) return;
1130
- new FileReader(), A.value = [], s.value = [], d.value = V.length;
1131
- const S = Array.from(V).map(async (D) => await new Promise((k) => {
1125
+ const I = () => {
1126
+ W.value !== null && W.value.click();
1127
+ }, ue = async (f) => {
1128
+ const x = f.target.files;
1129
+ if (!x) return;
1130
+ new FileReader(), S.value = [], s.value = [], d.value = x.length;
1131
+ const R = Array.from(x).map(async (M) => await new Promise((k) => {
1132
1132
  const i = new FileReader();
1133
- i.onload = (X) => {
1133
+ i.onload = (G) => {
1134
1134
  try {
1135
- s.value.push(X.target.result), Y.value++;
1136
- } catch (H) {
1137
- console.error("解析失败:", H);
1135
+ s.value.push(G.target.result), Q.value++;
1136
+ } catch (q) {
1137
+ console.error("解析失败:", q);
1138
1138
  return;
1139
1139
  }
1140
- }, i.onerror = () => k(`读取 ${D.name} 失败`), i.readAsText(D), f.target.value = "", Q.value = null, O.value++;
1140
+ }, i.onerror = () => k(`读取 ${M.name} 失败`), i.readAsText(M), f.target.value = "", W.value = null, K.value++;
1141
1141
  }));
1142
- await Promise.all(S);
1142
+ await Promise.all(R);
1143
1143
  };
1144
- return K(
1145
- () => [e == null ? void 0 : e.content, e == null ? void 0 : e.jsonContents],
1144
+ return E(
1145
+ () => [t == null ? void 0 : t.content, t == null ? void 0 : t.jsonContents],
1146
1146
  async () => {
1147
- await ft(), A.value = e.content, z.value = e == null ? void 0 : e.jsonContents;
1147
+ await ft(), S.value = t.content, O.value = t == null ? void 0 : t.jsonContents;
1148
1148
  },
1149
1149
  { deep: !0, immediate: !0 }
1150
- ), K(
1151
- () => Y.value,
1150
+ ), E(
1151
+ () => Q.value,
1152
1152
  () => {
1153
1153
  var f;
1154
- ((f = h.value) == null ? void 0 : f.length) !== 0 && (M.setOriginalData(h.value), M.setItemData(h.value));
1154
+ ((f = h.value) == null ? void 0 : f.length) !== 0 && (A.setOriginalData(h.value), A.setItemData(h.value));
1155
1155
  },
1156
1156
  { deep: !0, immediate: !0 }
1157
- ), (f, V) => {
1158
- const S = B("svg-icon"), D = B("el-button");
1159
- return u(), P("div", ha, [
1160
- (e == null ? void 0 : e.mode) === "edit" ? (u(), P("div", fa, [
1157
+ ), (f, x) => {
1158
+ const R = B("svg-icon"), M = B("el-button");
1159
+ return u(), $("div", ha, [
1160
+ (t == null ? void 0 : t.mode) === "edit" ? (u(), $("div", fa, [
1161
1161
  y("div", ga, [
1162
- t(Ne)
1162
+ a(Ne)
1163
1163
  ]),
1164
- (u(), P("div", {
1164
+ (u(), $("div", {
1165
1165
  class: "model-show",
1166
1166
  key: T.value
1167
1167
  }, [
1168
- t(Ie)
1168
+ a(Ie)
1169
1169
  ])),
1170
1170
  y("div", _a, [
1171
- t(Ue)
1171
+ a(Ue)
1172
1172
  ])
1173
- ])) : L("", !0),
1174
- (e == null ? void 0 : e.mode) === "view" ? (u(), P("div", ya, [
1175
- (u(), $(pa, {
1173
+ ])) : U("", !0),
1174
+ (t == null ? void 0 : t.mode) === "view" ? (u(), $("div", ya, [
1175
+ (u(), D(pa, {
1176
1176
  showButton: F.showButton,
1177
- platform: n(E),
1178
- content: A.value,
1179
- onChange: se,
1180
- jsonContents: z.value,
1181
- onContentChange: G,
1182
- onBuildContent: Z,
1177
+ platform: n(L),
1178
+ content: S.value,
1179
+ onChange: ie,
1180
+ jsonContents: O.value,
1181
+ onContentChange: z,
1182
+ onBuildContent: Y,
1183
1183
  key: T.value,
1184
- onShowChild: ue
1184
+ onShowChild: re
1185
1185
  }, {
1186
1186
  default: l(() => {
1187
1187
  var k;
1188
1188
  return [
1189
- ((k = e == null ? void 0 : e.jsonContents) == null ? void 0 : k.length) === 0 && (e != null && e.showButton) ? (u(), $(D, {
1189
+ ((k = t == null ? void 0 : t.jsonContents) == null ? void 0 : k.length) === 0 && (t != null && t.showButton) ? (u(), D(M, {
1190
1190
  key: 0,
1191
1191
  id: "transparentBgButton",
1192
- onClick: U
1192
+ onClick: I
1193
1193
  }, {
1194
1194
  icon: l(() => [
1195
- t(S, { name: "import" })
1195
+ a(R, { name: "import" })
1196
1196
  ]),
1197
1197
  default: l(() => [
1198
- (u(), P("input", {
1198
+ (u(), $("input", {
1199
1199
  type: "file",
1200
- key: O.value,
1200
+ key: K.value,
1201
1201
  ref_key: "fileInput",
1202
- ref: Q,
1202
+ ref: W,
1203
1203
  accept: ".txt, .inm, .iml, .imd",
1204
- onChange: ce,
1204
+ onChange: ue,
1205
1205
  style: { display: "none" },
1206
1206
  multiple: ""
1207
1207
  }, null, 32)),
1208
- V[0] || (V[0] = q(" 导入模型 "))
1208
+ x[0] || (x[0] = X(" 导入模型 "))
1209
1209
  ]),
1210
1210
  _: 1,
1211
1211
  __: [0]
1212
- })) : L("", !0)
1212
+ })) : U("", !0)
1213
1213
  ];
1214
1214
  }),
1215
1215
  _: 1
1216
1216
  }, 8, ["showButton", "platform", "content", "jsonContents"]))
1217
- ])) : L("", !0)
1217
+ ])) : U("", !0)
1218
1218
  ]);
1219
1219
  };
1220
1220
  }
1221
- }, Ia = /* @__PURE__ */ Ce(va, [["__scopeId", "data-v-b9caa997"]]);
1221
+ }, Ia = /* @__PURE__ */ ve(va, [["__scopeId", "data-v-82f8c0ec"]]);
1222
1222
  export {
1223
1223
  Ia as default
1224
1224
  };