ss-component-new 1.1.554 → 1.1.556
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.
- package/dist/{index-DnU4tt9j.js → index-A9vxRWRJ.js} +1 -1
- package/dist/{index-BIqrhoc3.js → index-B0KEc4se.js} +3 -3
- package/dist/{index-BXuzdNd8.js → index-B0zewoKU.js} +1 -1
- package/dist/{index-DGtegmw2.cjs → index-B4sdpTyS.cjs} +1 -1
- package/dist/{index-DGA3OWJM.js → index-B8H4YhbP.js} +5 -6
- package/dist/{index-BG1OEOyl.js → index-BBU7IP4E.js} +1 -1
- package/dist/{index-D6aOs9h0.cjs → index-BGxaEDzd.cjs} +1 -1
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_14112288_lang-BV7oq1Z4.js → index-BRSajVMs.js} +10989 -9490
- package/dist/{index-CTL7xS-L.js → index-BbArPHI_.js} +3 -3
- package/dist/{index-B5DP9GHv.js → index-BjpzOnQV.js} +77 -78
- package/dist/{index-j0138X4A.js → index-C0fQaxj0.js} +10 -11
- package/dist/index-CQ4Fra8B.cjs +1 -0
- package/dist/{index-CYj1gF5q.cjs → index-CQUG7LOj.cjs} +1 -1
- package/dist/{index-CUmF1cOi.cjs → index-Cc936HCy.cjs} +1 -1
- package/dist/{index-BT2f4FLq.js → index-CrHUNEBr.js} +2 -2
- package/dist/index-CxnxDX6H.cjs +15 -0
- package/dist/index-DGYkSeKR.cjs +1 -0
- package/dist/{index-gBugMNnB.js → index-DKfJ4aOY.js} +1 -1
- package/dist/{index-CsCuCAbN.js → index-DN3mTV37.js} +1 -1
- package/dist/{index-BWR-wioX.js → index-DOcT5e2z.js} +1 -1
- package/dist/{index-D6OLOdzT.cjs → index-DdBP0Wqm.cjs} +1 -1
- package/dist/{index-B3OgUMxZ.cjs → index-DdvfxWm4.cjs} +1 -1
- package/dist/{index-Ca4GQBZm.cjs → index-DgovG-d1.cjs} +1 -1
- package/dist/{index-BvsQ93Dk.cjs → index-Dh1bXLMt.cjs} +1 -1
- package/dist/{index-BxnDBGDC.cjs → index-Dh_dKOHK.cjs} +1 -1
- package/dist/{index-w-MJfuW8.cjs → index-DiVZz6Oe.cjs} +1 -1
- package/dist/index-DsIoySp6.cjs +1 -0
- package/dist/index-DtFsiCW3.cjs +4207 -0
- package/dist/{index-DNmz0vZR.js → index-F0D-IvSv.js} +2 -2
- package/dist/{index-BsItO9KY.cjs → index-PZTeRkmZ.cjs} +1 -1
- package/dist/{index-CpsSJGyI.js → index-VTSBaqt5.js} +1 -1
- package/dist/{index-CcbZfGsJ.js → index-ffDSB4Kw.js} +1239 -1212
- package/dist/{index.vue_vue_type_style_index_0_scoped_d65464db_lang-CfknFSZO.js → index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-BMrXZat4.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_0_scoped_d65464db_lang-CMsstxHC.cjs → index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-CyuSo2v_.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_d888ede3_lang-bRTgUmAd.js → index.vue_vue_type_style_index_0_scoped_d888ede3_lang-Bst45l6S.js} +13 -13
- package/dist/{index.vue_vue_type_style_index_0_scoped_d888ede3_lang-BlwV7pHr.cjs → index.vue_vue_type_style_index_0_scoped_d888ede3_lang-SrVKwnka.cjs} +1 -1
- package/dist/{main-BwaV15pa.js → main-DqytzL3P.js} +2 -2
- package/dist/{main-BKy8Vv3Z.cjs → main-v-FR4zPs.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +8 -8
- package/dist/threeModel-CmuTBluh.cjs +1 -0
- package/dist/{threeModel-BJjMjU46.js → threeModel-WrnyyU3X.js} +299 -288
- package/package.json +1 -1
- package/dist/index-C2UyEyuW.cjs +0 -1
- package/dist/index-C8DwyrtS.cjs +0 -1
- package/dist/index-CFs5XhDB.cjs +0 -15
- package/dist/index-CZ6afBwK.cjs +0 -1
- package/dist/index-CiZ2YAhq.js +0 -1506
- package/dist/index-Csb_gyiA.cjs +0 -1
- package/dist/index-NzNwF1Bc.cjs +0 -1
- package/dist/index-nuI9V5ye.js +0 -31
- package/dist/threeModel-CMXrjPQi.cjs +0 -1
- package/dist/threeModel.vue_vue_type_style_index_0_scoped_14112288_lang-DCn4bomb.cjs +0 -4207
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { p as oa, a as Gl, I as al, g as gl, q as ua, r as ra, v as ca, w as ta, x as zl, y as da, z as pa, A as fa, B as va } from "./index-
|
|
1
|
+
import { p as oa, a as Gl, I as al, g as gl, q as ua, r as ra, v as ca, w as ta, x as zl, y as da, z as pa, A as fa, B as va } from "./index-BRSajVMs.js";
|
|
2
2
|
import { ref as W, watch as Ne, createElementBlock as ue, openBlock as M, createVNode as U, resolveComponent as Ee, Fragment as Be, renderList as Fe, createElementVNode as x, createCommentVNode as Je, toDisplayString as me, withCtx as ee, createBlock as Le, createTextVNode as xe, defineComponent as il, reactive as El, resolveDynamicComponent as ml, unref as ql, computed as Bl, renderSlot as kl, createSlots as ha, mergeProps as ma, normalizeStyle as ya, withModifiers as hl } from "vue";
|
|
3
3
|
import { bR as Hl, p as qe, c as i, s as ll, E as Ge, u as ba, g as wl, d as Dl, bO as ga } from "./menu-DV47UKJo.js";
|
|
4
|
-
import {
|
|
4
|
+
import { e as We, s as ze, f as Ql, a as ka, h as _a, i as Ca, b as wa } from "./index-ffDSB4Kw.js";
|
|
5
5
|
import { F as Ml, a as Da, b as Pe, m as ol, s as He, f as sl, e as xl } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BPJ7Cu30.js";
|
|
6
6
|
import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
import { E as el } from "./index-8i6baSTn.js";
|
|
8
8
|
import { u as Xl } from "./modelComp-B4I2gbtf.js";
|
|
9
|
-
import { s as xa, a as Ia } from "./index-
|
|
9
|
+
import { s as xa, a as Ia } from "./index-B8H4YhbP.js";
|
|
10
10
|
import Aa from "./index-CZtXRS3l.js";
|
|
11
11
|
const $a = (p) => p.match(/\((.*)\)/)[1], Ea = Hl("formComp", {
|
|
12
12
|
state: () => ({
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import { resolveComponent as F, createBlock as
|
|
2
|
-
import { m as Ne, a as Ie, b as Ue } from "./index-
|
|
3
|
-
import tt from "./index-
|
|
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.
|
|
1
|
+
import { resolveComponent as F, 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
|
+
import { m as Ne, a as Ie, b as Ue } from "./index-F0D-IvSv.js";
|
|
3
|
+
import tt from "./index-B0zewoKU.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_c4f9c92c_lang-BMrXZat4.js";
|
|
5
5
|
import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { p as J, s as H, u as
|
|
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
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 ke, s as Rt } from "./index-
|
|
11
|
-
import { u as Le, a as Tt, l as ft, g as St, b as At } from "./index-
|
|
10
|
+
import { _ as ht, a as ke, d as We, s as Rt } from "./index-ffDSB4Kw.js";
|
|
11
|
+
import { u as Le, a as Tt, l as ft, g as St, b as At } from "./index-BRSajVMs.js";
|
|
12
12
|
import { _ as gt } from "./index.vue_vue_type_script_setup_true_lang-lD5FjnBK.js";
|
|
13
|
-
import
|
|
14
|
-
import { u as
|
|
15
|
-
import { d as Qe } from "./index-nuI9V5ye.js";
|
|
13
|
+
import Qe from "./threeModel-WrnyyU3X.js";
|
|
14
|
+
import { u as Mt } from "./index-BbArPHI_.js";
|
|
16
15
|
import "vue-router";
|
|
17
|
-
import { a as
|
|
18
|
-
import { c as $t, b as Pt } from "./index.vue_vue_type_style_index_0_scoped_d888ede3_lang-
|
|
19
|
-
function xt(b, ee, t,
|
|
16
|
+
import { a as Dt } from "./array-CLz11m07.js";
|
|
17
|
+
import { c as $t, b as Pt } from "./index.vue_vue_type_style_index_0_scoped_d888ede3_lang-Bst45l6S.js";
|
|
18
|
+
function xt(b, ee, t, w, S, K) {
|
|
20
19
|
const s = F("svg-icon"), O = F("ssMenu");
|
|
21
|
-
return u(),
|
|
20
|
+
return u(), D(O, {
|
|
22
21
|
mode: b.mode,
|
|
23
22
|
menuList: b.renderMenuList,
|
|
24
23
|
onClickMenu: b.clickMenu,
|
|
@@ -48,13 +47,13 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
48
47
|
},
|
|
49
48
|
emits: ["click"],
|
|
50
49
|
setup(b, { emit: ee }) {
|
|
51
|
-
const t = b,
|
|
50
|
+
const t = b, w = c([]), S = ee;
|
|
52
51
|
wt(() => {
|
|
53
|
-
|
|
52
|
+
w.value = t == null ? void 0 : t.breadArray;
|
|
54
53
|
}), E(
|
|
55
54
|
() => t == null ? void 0 : t.breadArray,
|
|
56
55
|
() => {
|
|
57
|
-
|
|
56
|
+
w.value = t == null ? void 0 : t.breadArray;
|
|
58
57
|
},
|
|
59
58
|
{ deep: !0, immediate: !0 }
|
|
60
59
|
);
|
|
@@ -62,7 +61,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
62
61
|
S("click", s);
|
|
63
62
|
};
|
|
64
63
|
return (s, O) => (u(), $("div", Vt, [
|
|
65
|
-
(u(!0), $(Be, null, je(
|
|
64
|
+
(u(!0), $(Be, null, je(w.value, (T, A) => {
|
|
66
65
|
var le;
|
|
67
66
|
return u(), $("div", {
|
|
68
67
|
key: A,
|
|
@@ -71,9 +70,9 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
71
70
|
y("div", {
|
|
72
71
|
class: "bread-title",
|
|
73
72
|
onClick: (te) => K(T),
|
|
74
|
-
style: kt({ opacity: ((le =
|
|
73
|
+
style: kt({ opacity: ((le = w.value) == null ? void 0 : le.length) - 1 === A ? "0.7" : "1" })
|
|
75
74
|
}, ne(T.value), 13, jt),
|
|
76
|
-
A !==
|
|
75
|
+
A !== w.value.length - 1 && Array.isArray(w.value) ? (u(), $("div", Nt, ne("/"))) : U("", !0)
|
|
77
76
|
]);
|
|
78
77
|
}), 128))
|
|
79
78
|
]));
|
|
@@ -95,7 +94,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
95
94
|
}
|
|
96
95
|
},
|
|
97
96
|
setup(b) {
|
|
98
|
-
const ee = Le(J), { selectTitle: t } = H(ee),
|
|
97
|
+
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), R = c(""), P = Te(() => te.value.isRouter), L = () => {
|
|
99
98
|
sessionStorage.clear(), window.location.reload();
|
|
100
99
|
}, W = async () => {
|
|
101
100
|
var d, Y, re, z;
|
|
@@ -120,7 +119,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
120
119
|
T.setActiveMenuPath(O.value), K.setRouteToChildPath("");
|
|
121
120
|
};
|
|
122
121
|
return (h, d) => {
|
|
123
|
-
const Y = F("el-button"), re = F("el-avatar"), z = F("el-header"), ie = F("el-container"), I = F("el-icon"), ue = F("el-input"), f = F("el-aside"), x = F("router-view"),
|
|
122
|
+
const Y = F("el-button"), re = F("el-avatar"), z = F("el-header"), ie = F("el-container"), I = F("el-icon"), ue = F("el-input"), f = F("el-aside"), x = F("router-view"), k = F("el-main"), M = Ze("loading");
|
|
124
123
|
return u(), $(Be, null, [
|
|
125
124
|
Se(a(ie, { class: "client-container" }, {
|
|
126
125
|
default: l(() => [
|
|
@@ -181,7 +180,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
181
180
|
}),
|
|
182
181
|
_: 3
|
|
183
182
|
}),
|
|
184
|
-
n(s) === "edit" ? (u(),
|
|
183
|
+
n(s) === "edit" ? (u(), D(ie, {
|
|
185
184
|
key: 0,
|
|
186
185
|
class: "model-operate",
|
|
187
186
|
style: { "margin-top": "10px", height: "0px" }
|
|
@@ -204,7 +203,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
204
203
|
}, 512), [
|
|
205
204
|
[Ae, n(s) === "edit"]
|
|
206
205
|
]),
|
|
207
|
-
Se((u(),
|
|
206
|
+
Se((u(), D(ie, {
|
|
208
207
|
class: "client-container",
|
|
209
208
|
"element-loading-text": "正在加载页面数据..."
|
|
210
209
|
}, {
|
|
@@ -233,7 +232,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
233
232
|
]),
|
|
234
233
|
_: 1
|
|
235
234
|
}, 8, ["modelValue"]),
|
|
236
|
-
b.showButton ? (u(),
|
|
235
|
+
b.showButton ? (u(), D(Y, {
|
|
237
236
|
key: 0,
|
|
238
237
|
id: "transparentBgButton",
|
|
239
238
|
onClick: n(lt)
|
|
@@ -247,7 +246,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
247
246
|
_: 1,
|
|
248
247
|
__: [4]
|
|
249
248
|
}, 8, ["onClick"])) : U("", !0),
|
|
250
|
-
b.showButton && n(s) === "view" ? (u(),
|
|
249
|
+
b.showButton && n(s) === "view" ? (u(), D(Y, {
|
|
251
250
|
key: 1,
|
|
252
251
|
id: "transparentBgButton",
|
|
253
252
|
onClick: n(it)
|
|
@@ -309,7 +308,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
309
308
|
}),
|
|
310
309
|
a(ie, { class: "client-body" }, {
|
|
311
310
|
default: l(() => [
|
|
312
|
-
a(
|
|
311
|
+
a(k, { class: "client-main" }, {
|
|
313
312
|
default: l(() => {
|
|
314
313
|
var B;
|
|
315
314
|
return [
|
|
@@ -320,21 +319,21 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
320
319
|
_: 1
|
|
321
320
|
}),
|
|
322
321
|
y("div", Ht, [
|
|
323
|
-
P.value ? (u(),
|
|
324
|
-
n(O) !== "" ? (u(),
|
|
322
|
+
P.value ? (u(), D(x, { key: 0 })) : U("", !0),
|
|
323
|
+
n(O) !== "" ? (u(), D(ke, {
|
|
325
324
|
key: 1,
|
|
326
325
|
class: "calculator-content back-content",
|
|
327
326
|
onClickTrigger: Q,
|
|
328
327
|
modelValue: "返回"
|
|
329
328
|
})) : U("", !0),
|
|
330
|
-
P.value ? U("", !0) : (u(!0), $(Be, { key: 2 }, je((B = n(
|
|
329
|
+
P.value ? U("", !0) : (u(!0), $(Be, { key: 2 }, je((B = n(Me)(n(oe))) == null ? void 0 : B.filter((i) => i.comp !== "FormTop"), (i, G) => {
|
|
331
330
|
var q;
|
|
332
331
|
return u(), $("div", {
|
|
333
332
|
class: "item-view-content",
|
|
334
333
|
key: G
|
|
335
334
|
}, [
|
|
336
335
|
((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(),
|
|
336
|
+
(u(), D(et(n(st)(i.comp)), {
|
|
338
337
|
compName: i.name,
|
|
339
338
|
itemData: i == null ? void 0 : i.compData,
|
|
340
339
|
childItemData: i == null ? void 0 : i.itemChildData,
|
|
@@ -358,7 +357,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
358
357
|
_: 3
|
|
359
358
|
})), [
|
|
360
359
|
[Ae, n(s) === "view"],
|
|
361
|
-
[
|
|
360
|
+
[M, n(A)]
|
|
362
361
|
])
|
|
363
362
|
], 64);
|
|
364
363
|
};
|
|
@@ -462,19 +461,19 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
462
461
|
},
|
|
463
462
|
emits: ["showChild", "buildContent"],
|
|
464
463
|
setup(b, { emit: ee }) {
|
|
465
|
-
const t = Le(J),
|
|
464
|
+
const t = Le(J), w = c(!1);
|
|
466
465
|
c(0), c(!1);
|
|
467
466
|
const { selectTitle: S } = H(t), K = c(!1), s = c(!1);
|
|
468
467
|
c(!1);
|
|
469
468
|
const O = Tt(J), T = c(!1), { tableShowThree: A } = H(O), le = pt(), { loginUserInfo: te } = H(le);
|
|
470
469
|
c(null);
|
|
471
|
-
const R = $e(J), { isEdit: P } = H(R), L =
|
|
470
|
+
const R = $e(J), { isEdit: P } = H(R), L = De(J), W = Mt(J), { objUrl: Q, blobUrls: h } = H(W), d = c(null);
|
|
472
471
|
c(!1);
|
|
473
472
|
const Y = c(!0);
|
|
474
473
|
c(!1);
|
|
475
|
-
const { importLoading: re, activeMenuPath: z, activeTopMenuPath: ie, platName: I, activeAsideMenu: ue } = H(L), f = c(!1), x = c(!1),
|
|
474
|
+
const { importLoading: re, activeMenuPath: z, activeTopMenuPath: ie, platName: I, activeAsideMenu: ue } = H(L), f = c(!1), x = c(!1), k = c(!1), M = ee;
|
|
476
475
|
E(() => z.value, async (e) => {
|
|
477
|
-
e && (
|
|
476
|
+
e && (k.value = !0), e === "弯管仿真加工管理/仿真动画生成" ? f.value = !0 : f.value = !1, e === "弯管仿真加工管理/程序输出" ? x.value = !0 : x.value = !1, xe != null && xe.find((r) => {
|
|
478
477
|
var v;
|
|
479
478
|
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
479
|
}) ? T.value = !0 : T.value = !1;
|
|
@@ -482,7 +481,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
482
481
|
const B = (e) => {
|
|
483
482
|
if ((e == null ? void 0 : e.type) === "table") {
|
|
484
483
|
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 &&
|
|
484
|
+
v && M("showChild", {
|
|
486
485
|
url: v,
|
|
487
486
|
row: e == null ? void 0 : e.row
|
|
488
487
|
});
|
|
@@ -549,7 +548,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
549
548
|
var e, r, v, _;
|
|
550
549
|
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
550
|
let g = [];
|
|
552
|
-
const C = await ((_ =
|
|
551
|
+
const C = await ((_ = Me(h == null ? void 0 : h.value)) == null ? void 0 : _.map(async (o) => {
|
|
553
552
|
var ce, be, N, p, se, de, Re, Ee, Ke, Oe;
|
|
554
553
|
let j, Z, m;
|
|
555
554
|
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;
|
|
@@ -588,13 +587,13 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
588
587
|
}));
|
|
589
588
|
await Promise.all(fe);
|
|
590
589
|
} else if (!(m != null && m.includes("https://")) && !(m != null && m.includes("http://"))) {
|
|
591
|
-
j = await
|
|
590
|
+
j = await We({
|
|
592
591
|
url: m
|
|
593
592
|
});
|
|
594
593
|
let fe = [];
|
|
595
594
|
if (((N = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : N.length) > 0) {
|
|
596
595
|
let V = await ((p = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : p.map(async (ge) => {
|
|
597
|
-
let me = await
|
|
596
|
+
let me = await We({
|
|
598
597
|
url: ge
|
|
599
598
|
});
|
|
600
599
|
return fe.push(new Blob([me.data], {
|
|
@@ -642,7 +641,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
642
641
|
}
|
|
643
642
|
Z && g.push(Z);
|
|
644
643
|
}));
|
|
645
|
-
await Promise.all(C), (g == null ? void 0 : g.length) !== 0 && (
|
|
644
|
+
await Promise.all(C), (g == null ? void 0 : g.length) !== 0 && (w.value = !0, d.value.loadModelByDefaultPath(g));
|
|
646
645
|
}
|
|
647
646
|
},
|
|
648
647
|
{ immediate: !0, deep: !0 }
|
|
@@ -685,7 +684,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
685
684
|
style: { height: "700px", width: "1800px" }
|
|
686
685
|
}, {
|
|
687
686
|
default: l(() => [
|
|
688
|
-
a(
|
|
687
|
+
a(Qe, {
|
|
689
688
|
ref_key: "threeModelRef",
|
|
690
689
|
ref: d
|
|
691
690
|
}, null, 512)
|
|
@@ -751,7 +750,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
751
750
|
}),
|
|
752
751
|
_: 3
|
|
753
752
|
}),
|
|
754
|
-
n(P) === "edit" ? (u(),
|
|
753
|
+
n(P) === "edit" ? (u(), D(o, {
|
|
755
754
|
key: 0,
|
|
756
755
|
class: "model-operate",
|
|
757
756
|
style: { "margin-top": "10px", height: "0px" }
|
|
@@ -774,7 +773,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
774
773
|
}, 512), [
|
|
775
774
|
[Ae, n(P) === "edit"]
|
|
776
775
|
]),
|
|
777
|
-
Se((u(),
|
|
776
|
+
Se((u(), D(o, {
|
|
778
777
|
class: "client-container",
|
|
779
778
|
"element-loading-text": "正在加载页面数据..."
|
|
780
779
|
}, {
|
|
@@ -806,7 +805,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
806
805
|
]),
|
|
807
806
|
_: 1
|
|
808
807
|
}, 8, ["modelValue"]),
|
|
809
|
-
b.showButton ? (u(),
|
|
808
|
+
b.showButton ? (u(), D(_, {
|
|
810
809
|
key: 0,
|
|
811
810
|
id: "transparentBgButton",
|
|
812
811
|
onClick: n(lt)
|
|
@@ -820,7 +819,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
820
819
|
_: 1,
|
|
821
820
|
__: [6]
|
|
822
821
|
}, 8, ["onClick"])) : U("", !0),
|
|
823
|
-
b.showButton && n(P) === "view" ? (u(),
|
|
822
|
+
b.showButton && n(P) === "view" ? (u(), D(_, {
|
|
824
823
|
key: 1,
|
|
825
824
|
id: "transparentBgButton",
|
|
826
825
|
onClick: n(it)
|
|
@@ -892,14 +891,14 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
892
891
|
_: 1
|
|
893
892
|
}),
|
|
894
893
|
y("div", sa, [
|
|
895
|
-
Fe.value ? (u(),
|
|
894
|
+
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
895
|
var de;
|
|
897
896
|
return u(), $("div", {
|
|
898
897
|
class: "item-view-content",
|
|
899
898
|
key: se
|
|
900
899
|
}, [
|
|
901
900
|
((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(),
|
|
901
|
+
(u(), D(et(n(st)(p.comp)), {
|
|
903
902
|
compName: p.name,
|
|
904
903
|
itemData: p == null ? void 0 : p.compData,
|
|
905
904
|
childItemData: p == null ? void 0 : p.itemChildData,
|
|
@@ -928,12 +927,12 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
928
927
|
]),
|
|
929
928
|
y("div", null, [
|
|
930
929
|
a(Rt, {
|
|
931
|
-
visible:
|
|
932
|
-
onBeforeDestroy: r[3] || (r[3] = (N) =>
|
|
930
|
+
visible: w.value,
|
|
931
|
+
onBeforeDestroy: r[3] || (r[3] = (N) => w.value = !1),
|
|
933
932
|
style: { height: "700px", width: "1000px" }
|
|
934
933
|
}, {
|
|
935
934
|
default: l(() => [
|
|
936
|
-
a(
|
|
935
|
+
a(Qe, {
|
|
937
936
|
ref_key: "threeModelRef",
|
|
938
937
|
ref: d
|
|
939
938
|
}, null, 512)
|
|
@@ -965,7 +964,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
965
964
|
},
|
|
966
965
|
emits: ["buildContent", "showChild"],
|
|
967
966
|
setup(b, { emit: ee }) {
|
|
968
|
-
const t = $e(J),
|
|
967
|
+
const t = $e(J), w = Le(J), S = De();
|
|
969
968
|
c(!1);
|
|
970
969
|
const K = c(!0), s = b, O = ee, T = (R) => {
|
|
971
970
|
O("showChild", R);
|
|
@@ -999,13 +998,13 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
999
998
|
if (!(s != null && s.content) || ((W = s == null ? void 0 : s.content) == null ? void 0 : W.length) === 0) return;
|
|
1000
999
|
K.value = !0, S.setImportLoading(!0);
|
|
1001
1000
|
let R = [], P = [];
|
|
1002
|
-
|
|
1001
|
+
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
1002
|
P.push(Ft(d));
|
|
1004
1003
|
}), R = P == null ? void 0 : P[0], await bt(R), await ft(), t.setOriginalData(R), S.setImportLoading(!1);
|
|
1005
1004
|
},
|
|
1006
1005
|
{ deep: !0, immediate: !0 }
|
|
1007
1006
|
), (R, P) => (u(), $("div", da, [
|
|
1008
|
-
b.platform === "browser" ? (u(),
|
|
1007
|
+
b.platform === "browser" ? (u(), D(Qt, {
|
|
1009
1008
|
key: 0,
|
|
1010
1009
|
showButton: b.showButton
|
|
1011
1010
|
}, {
|
|
@@ -1013,7 +1012,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1013
1012
|
ye(R.$slots, "default", {}, void 0, !0)
|
|
1014
1013
|
]),
|
|
1015
1014
|
_: 3
|
|
1016
|
-
}, 8, ["showButton"])) : (u(),
|
|
1015
|
+
}, 8, ["showButton"])) : (u(), D(ca, {
|
|
1017
1016
|
key: 1,
|
|
1018
1017
|
windowConfig: b.windowConfig,
|
|
1019
1018
|
showButton: b.showButton,
|
|
@@ -1063,10 +1062,10 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1063
1062
|
},
|
|
1064
1063
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData"],
|
|
1065
1064
|
setup(b, { emit: ee }) {
|
|
1066
|
-
const t = b,
|
|
1065
|
+
const t = b, w = ee, S = c([]), K = c(0), s = c([]), O = c([]), T = c(0), A = $e(J), le = De(J), { itemData: te, originalData: R } = H(A), { activeMenuPath: P, platform: L } = H(le), W = c(null), Q = c(0), h = c([]);
|
|
1067
1066
|
c("");
|
|
1068
1067
|
const d = c(0), Y = () => {
|
|
1069
|
-
|
|
1068
|
+
w("buildContent");
|
|
1070
1069
|
};
|
|
1071
1070
|
E(
|
|
1072
1071
|
() => t == null ? void 0 : t.pageKey,
|
|
@@ -1074,21 +1073,21 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1074
1073
|
let f = {};
|
|
1075
1074
|
if ((t == null ? void 0 : t.pageKey) !== "") {
|
|
1076
1075
|
const x = await St(t == null ? void 0 : t.pageKey, sessionStorage.getItem("systemKey"), "", t == null ? void 0 : t.pageKey);
|
|
1077
|
-
x == null || x.forEach((
|
|
1078
|
-
var
|
|
1079
|
-
if ((
|
|
1080
|
-
let Fe = [], he = (i = (B = (
|
|
1076
|
+
x == null || x.forEach((k) => {
|
|
1077
|
+
var M, B, i, G, q, pe;
|
|
1078
|
+
if ((k == null ? void 0 : k.comp) === "Table") {
|
|
1079
|
+
let Fe = [], he = (i = (B = (M = k == null ? void 0 : k.compData) == null ? void 0 : M.find((e) => (e == null ? void 0 : e.key) === "header")) == null ? void 0 : B.contents) == null ? void 0 : i.map((e) => e == null ? void 0 : e.label), Ce = (pe = (q = (G = k == null ? void 0 : k.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
1080
|
Ce == null || Ce.forEach((e) => {
|
|
1082
1081
|
Fe.push(At(e, he == null ? void 0 : he.filter((r) => r !== "操作")));
|
|
1083
|
-
}), f[
|
|
1082
|
+
}), f[k.name] = Fe, f[k.name + "Content"] = k;
|
|
1084
1083
|
}
|
|
1085
|
-
}),
|
|
1084
|
+
}), w("threeData", f);
|
|
1086
1085
|
}
|
|
1087
1086
|
},
|
|
1088
1087
|
{ deep: !0, immediate: !0 }
|
|
1089
1088
|
);
|
|
1090
1089
|
const re = (f) => {
|
|
1091
|
-
|
|
1090
|
+
w("openThreeBuild", f);
|
|
1092
1091
|
};
|
|
1093
1092
|
E(
|
|
1094
1093
|
() => t == null ? void 0 : t.pathContent,
|
|
@@ -1101,14 +1100,14 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1101
1100
|
}
|
|
1102
1101
|
);
|
|
1103
1102
|
const z = (f) => {
|
|
1104
|
-
|
|
1103
|
+
w("contentChange", f);
|
|
1105
1104
|
}, ie = (f) => {
|
|
1106
|
-
var
|
|
1107
|
-
const x = (
|
|
1105
|
+
var k;
|
|
1106
|
+
const x = (k = Me(f == null ? void 0 : f.wholeValue)) == null ? void 0 : k.map((M) => {
|
|
1108
1107
|
var B;
|
|
1109
|
-
return (
|
|
1108
|
+
return (M == null ? void 0 : M.comp) === "Form" && (M.compData = (B = M.compData) == null ? void 0 : B.map((i) => ((i == null ? void 0 : i.key) === "formContent" && (i.contents = Dt(i == null ? void 0 : i.contents)), i))), M;
|
|
1110
1109
|
});
|
|
1111
|
-
|
|
1110
|
+
w("change", {
|
|
1112
1111
|
originalContents: R.value,
|
|
1113
1112
|
currentContents: f == null ? void 0 : f.wholeValue,
|
|
1114
1113
|
editContent: f == null ? void 0 : f.editValue,
|
|
@@ -1128,7 +1127,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1128
1127
|
const x = f.target.files;
|
|
1129
1128
|
if (!x) return;
|
|
1130
1129
|
new FileReader(), S.value = [], s.value = [], d.value = x.length;
|
|
1131
|
-
const
|
|
1130
|
+
const k = Array.from(x).map(async (M) => await new Promise((B) => {
|
|
1132
1131
|
const i = new FileReader();
|
|
1133
1132
|
i.onload = (G) => {
|
|
1134
1133
|
try {
|
|
@@ -1137,9 +1136,9 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1137
1136
|
console.error("解析失败:", q);
|
|
1138
1137
|
return;
|
|
1139
1138
|
}
|
|
1140
|
-
}, i.onerror = () => B(`读取 ${
|
|
1139
|
+
}, i.onerror = () => B(`读取 ${M.name} 失败`), i.readAsText(M), f.target.value = "", W.value = null, K.value++;
|
|
1141
1140
|
}));
|
|
1142
|
-
await Promise.all(
|
|
1141
|
+
await Promise.all(k);
|
|
1143
1142
|
};
|
|
1144
1143
|
return E(
|
|
1145
1144
|
() => [t == null ? void 0 : t.content, t == null ? void 0 : t.jsonContents],
|
|
@@ -1155,7 +1154,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1155
1154
|
},
|
|
1156
1155
|
{ deep: !0, immediate: !0 }
|
|
1157
1156
|
), (f, x) => {
|
|
1158
|
-
const
|
|
1157
|
+
const k = F("svg-icon"), M = F("el-button");
|
|
1159
1158
|
return u(), $("div", ha, [
|
|
1160
1159
|
(t == null ? void 0 : t.mode) === "edit" ? (u(), $("div", fa, [
|
|
1161
1160
|
y("div", ga, [
|
|
@@ -1172,7 +1171,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1172
1171
|
])
|
|
1173
1172
|
])) : U("", !0),
|
|
1174
1173
|
(t == null ? void 0 : t.mode) === "view" ? (u(), $("div", ya, [
|
|
1175
|
-
(u(),
|
|
1174
|
+
(u(), D(pa, {
|
|
1176
1175
|
showButton: b.showButton,
|
|
1177
1176
|
platform: n(L),
|
|
1178
1177
|
content: S.value,
|
|
@@ -1186,13 +1185,13 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1186
1185
|
default: l(() => {
|
|
1187
1186
|
var B;
|
|
1188
1187
|
return [
|
|
1189
|
-
((B = t == null ? void 0 : t.jsonContents) == null ? void 0 : B.length) === 0 && (t != null && t.showButton) ? (u(), M
|
|
1188
|
+
((B = t == null ? void 0 : t.jsonContents) == null ? void 0 : B.length) === 0 && (t != null && t.showButton) ? (u(), D(M, {
|
|
1190
1189
|
key: 0,
|
|
1191
1190
|
id: "transparentBgButton",
|
|
1192
1191
|
onClick: I
|
|
1193
1192
|
}, {
|
|
1194
1193
|
icon: l(() => [
|
|
1195
|
-
a(
|
|
1194
|
+
a(k, { name: "import" })
|
|
1196
1195
|
]),
|
|
1197
1196
|
default: l(() => [
|
|
1198
1197
|
(u(), $("input", {
|
|
@@ -1218,7 +1217,7 @@ const _t = /* @__PURE__ */ ve(Bt, [["render", xt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1218
1217
|
]);
|
|
1219
1218
|
};
|
|
1220
1219
|
}
|
|
1221
|
-
},
|
|
1220
|
+
}, Na = /* @__PURE__ */ ve(va, [["__scopeId", "data-v-c4f9c92c"]]);
|
|
1222
1221
|
export {
|
|
1223
|
-
|
|
1222
|
+
Na as default
|
|
1224
1223
|
};
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { onMounted as f, resolveComponent as h, createElementBlock as C, openBlock as g, createVNode as y } from "vue";
|
|
2
|
-
import "./index-
|
|
2
|
+
import "./index-BbArPHI_.js";
|
|
3
3
|
import "./menu-DV47UKJo.js";
|
|
4
4
|
import "./array-CLz11m07.js";
|
|
5
5
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import "./index.vue_vue_type_style_index_0_scoped_d888ede3_lang-
|
|
7
|
-
import "./index.
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_d888ede3_lang-Bst45l6S.js";
|
|
7
|
+
import "./index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-BMrXZat4.js";
|
|
8
8
|
import "./crypto-8Ga3ud_Q.js";
|
|
9
9
|
import "./index-BHtNKL1L.js";
|
|
10
10
|
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BPJ7Cu30.js";
|
|
11
|
-
import "./
|
|
11
|
+
import "./index-BRSajVMs.js";
|
|
12
12
|
import "vue-router";
|
|
13
|
-
import "./index-CiZ2YAhq.js";
|
|
14
13
|
const v = {
|
|
15
14
|
__name: "index",
|
|
16
15
|
props: {
|
|
@@ -50,9 +49,9 @@ const v = {
|
|
|
50
49
|
},
|
|
51
50
|
emits: ["buildContent", "openThreeBuild", "threeData"],
|
|
52
51
|
setup(n, { emit: c }) {
|
|
53
|
-
const t = n, o = c,
|
|
52
|
+
const t = n, o = c, l = () => {
|
|
54
53
|
o("buildContent");
|
|
55
|
-
},
|
|
54
|
+
}, r = (e) => {
|
|
56
55
|
o("openThreeBuild", e);
|
|
57
56
|
}, m = (e) => {
|
|
58
57
|
o("threeData", e);
|
|
@@ -74,15 +73,15 @@ const v = {
|
|
|
74
73
|
showButton: t == null ? void 0 : t.showButton,
|
|
75
74
|
nodeDev: t == null ? void 0 : t.nodeDev,
|
|
76
75
|
windowConfig: n.windowConfig,
|
|
77
|
-
onBuildContent:
|
|
78
|
-
onOpenThreeBuild:
|
|
76
|
+
onBuildContent: l,
|
|
77
|
+
onOpenThreeBuild: r,
|
|
79
78
|
pageKey: n.pageKey,
|
|
80
79
|
onThreeData: m
|
|
81
80
|
}, null, 8, ["mode", "content", "jsonContents", "pathContent", "showButton", "nodeDev", "windowConfig", "pageKey"])
|
|
82
81
|
]);
|
|
83
82
|
};
|
|
84
83
|
}
|
|
85
|
-
},
|
|
84
|
+
}, O = /* @__PURE__ */ B(v, [["__scopeId", "data-v-907901e0"]]);
|
|
86
85
|
export {
|
|
87
|
-
|
|
86
|
+
O as default
|
|
88
87
|
};
|