ss-component-new 1.3.702 → 1.3.704
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/JSEncrypt-B36c1iN5.js +1983 -0
- package/dist/MTLLoader-CkNZudBE.js +657 -0
- package/dist/URDFLoader-DIzEVzUD.js +2299 -0
- package/dist/animationData-DvL_4GZ5.js +83 -0
- package/dist/array-jbiWLnR-.js +1045 -0
- package/dist/clone-Dp_gc9ll.js +8 -0
- package/dist/config.js +1 -1
- package/dist/eleIcon-qStmsM1q.js +29 -0
- package/dist/fileUtil-UOt_otFo.js +20 -0
- package/dist/iconfont-C9LP7Z-d.js +1026 -0
- package/dist/icons/svg/functionList.svg +1 -0
- package/dist/icons/svg/method.svg +1 -0
- package/dist/index-11kpzK0A.js +209 -0
- package/dist/index-6kpIJwSG.js +98 -0
- package/dist/index-B0H3C7WG.js +103 -0
- package/dist/index-B0l2_9Pc.js +30 -0
- package/dist/index-BFnTZBOW.js +93 -0
- package/dist/index-BHtNKL1L.js +27 -0
- package/dist/index-BbyrFzEO.js +93 -0
- package/dist/index-BooO2Bml.js +78 -0
- package/dist/index-Bw3sTXPI.js +8993 -0
- package/dist/index-BzUgGzuc.js +48 -0
- package/dist/index-CGi0g-VN.js +627 -0
- package/dist/index-CSD3bL5o.js +83 -0
- package/dist/index-CV_jQDcg.js +9 -0
- package/dist/index-CWOXvFfD.js +44 -0
- package/dist/index-Ch8te5LO.js +411 -0
- package/dist/{index-BKoAuSBh.js → index-ChNfRlIP.js} +18 -223
- package/dist/index-CydXQbtX.js +622 -0
- package/dist/index-DAJxL40d.js +55 -0
- package/dist/index-DBsEVMiM.js +201 -0
- package/dist/index-DG4hoOWt.js +665 -0
- package/dist/index-DUbk5m5P.js +99 -0
- package/dist/index-Da5qIKd6.js +119 -0
- package/dist/index-Ds6m_4JJ.js +28500 -0
- package/dist/index-DupTchhl.js +1000 -0
- package/dist/index-DyCq_odP.js +331 -0
- package/dist/index-OGTnqUDW.js +20578 -0
- package/dist/index-PV2PkfRE.js +63008 -0
- package/dist/index-Ru-cNTPj.js +84 -0
- package/dist/index-SohCFB2I.js +107 -0
- package/dist/index-UB_oCdlo.js +62 -0
- package/dist/index-YcuQhWbw.js +25297 -0
- package/dist/index-YjBTGOkO.js +61 -0
- package/dist/index-d9yiC1Rr.js +572 -0
- package/dist/index-eunh_06c.js +873 -0
- package/dist/index-jbOjjV0j.js +447 -0
- package/dist/index-l3g33MKM.js +470 -0
- package/dist/index-rlStojTL.js +52 -0
- package/dist/index-uF-ibwG0.js +9 -0
- package/dist/{index-DXYV8CAc.js → index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-C2itW9KG.js} +111121 -112354
- package/dist/isString-0ZglyOfu.js +8 -0
- package/dist/localIcon-D5UoFBU5.js +76 -0
- package/dist/main-Dqoc5YbP.js +502 -0
- package/dist/menuIndex-BB0uVPRX.js +159 -0
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/request-1RPa2bBn.js +9048 -0
- package/dist/ss-component.css +8 -8
- package/dist/ss-component.js +64 -28
- package/dist/ss-component2.js +75 -15
- package/dist/ss-component3.js +1 -1
- package/dist/threeModel-BI3l0-99.js +1109 -0
- package/dist/threePreview-BkYkq6k4.js +2918 -0
- package/dist/threeSceneView-ChFhJWgw.js +1290 -0
- package/dist/threeSceneViewForCPMPIP-DE5Oil86.js +539 -0
- package/dist/threeTrackPathView-BxUqwu4s.js +620 -0
- package/dist/threeViewerHost-Dc7tuhCy.js +233 -0
- package/dist/urdfTree-VRms7Vm3.js +254 -0
- package/dist/workpieceTreePanel-Bnhv3-BB.js +559 -0
- package/package.json +7 -8
- package/public/config.js +1 -1
- package/public/icons/svg/functionList.svg +1 -0
- package/public/icons/svg/method.svg +1 -0
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-BZ6XZp4O.js +0 -182
- package/dist/index-DMqUY4yR.js +0 -27
- package/dist/index-Dad_IdSm.js +0 -213
- package/dist/index-Nxu5ivW5.js +0 -1044
- package/dist/index-T_MmKXF1.js +0 -50
- package/dist/menu-BYmz2cKN.js +0 -5229
- package/dist/platform-C9131Sg-.js +0 -11490
- /package/dist/icons/svg/{update.svg → Update.svg} +0 -0
- /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
- /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
- /package/public/icons/svg/{update.svg → Update.svg} +0 -0
- /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
- /package/public/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
package/dist/index-BZ6XZp4O.js
DELETED
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import { defineComponent as q, resolveComponent as u, createElementBlock as k, openBlock as s, Fragment as y, renderList as C, createBlock as f, createCommentVNode as z, withCtx as o, createVNode as r, createSlots as O, renderSlot as d, mergeProps as P, computed as j, ref as D, normalizeStyle as g } from "vue";
|
|
2
|
-
import { u as G, p as w, s as b, F as H } from "./menu-BYmz2cKN.js";
|
|
3
|
-
import { S as $ } from "./index-DMqUY4yR.js";
|
|
4
|
-
import "./index-DXYV8CAc.js";
|
|
5
|
-
import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const K = /* @__PURE__ */ q({
|
|
7
|
-
__name: "menuItem",
|
|
8
|
-
props: {
|
|
9
|
-
menuList: {
|
|
10
|
-
// 注意prop变量类型定义的写法:PropType
|
|
11
|
-
type: Array,
|
|
12
|
-
default: () => []
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
emits: ["clickMenu", "openMenu", "closeMenu"],
|
|
16
|
-
setup(i, { emit: x }) {
|
|
17
|
-
const p = x, m = (l) => {
|
|
18
|
-
p("clickMenu", l);
|
|
19
|
-
}, L = (l) => {
|
|
20
|
-
p("openMenu", l);
|
|
21
|
-
}, M = (l) => {
|
|
22
|
-
p("closeMenu", l);
|
|
23
|
-
};
|
|
24
|
-
return (l, S) => {
|
|
25
|
-
const c = u("MenuItem", !0), a = u("el-sub-menu"), _ = u("el-menu-item");
|
|
26
|
-
return s(!0), k(y, null, C(i.menuList, (e) => (s(), k(y, null, [
|
|
27
|
-
e.show && e.children && e.children.length > 0 ? (s(), f(a, {
|
|
28
|
-
index: e.path,
|
|
29
|
-
key: e.path
|
|
30
|
-
}, {
|
|
31
|
-
title: o(() => [
|
|
32
|
-
r($, {
|
|
33
|
-
name: e.icon ?? ((e == null ? void 0 : e.level) <= 2 ? "default" : ""),
|
|
34
|
-
class: "menu-icon"
|
|
35
|
-
}, null, 8, ["name"]),
|
|
36
|
-
d(l.$slots, "title", { menu: e })
|
|
37
|
-
]),
|
|
38
|
-
default: o(() => [
|
|
39
|
-
r(c, {
|
|
40
|
-
menuList: e.children,
|
|
41
|
-
onClickMenu: m,
|
|
42
|
-
onOpenMenu: L,
|
|
43
|
-
onCloseMenu: M
|
|
44
|
-
}, O({ _: 2 }, [
|
|
45
|
-
C(l.$slots, (I, h) => ({
|
|
46
|
-
name: h,
|
|
47
|
-
fn: o((R) => [
|
|
48
|
-
d(l.$slots, h, P({ ref_for: !0 }, R))
|
|
49
|
-
])
|
|
50
|
-
}))
|
|
51
|
-
]), 1032, ["menuList"])
|
|
52
|
-
]),
|
|
53
|
-
_: 2
|
|
54
|
-
}, 1032, ["index"])) : e.show ? (s(), f(_, {
|
|
55
|
-
index: e.path,
|
|
56
|
-
key: e.path,
|
|
57
|
-
onClick: (I) => m(e)
|
|
58
|
-
}, {
|
|
59
|
-
title: o(() => [
|
|
60
|
-
d(l.$slots, "title", { menu: e })
|
|
61
|
-
]),
|
|
62
|
-
default: o(() => [
|
|
63
|
-
r($, {
|
|
64
|
-
name: e.icon ?? ((e == null ? void 0 : e.level) <= 2 ? "default" : ""),
|
|
65
|
-
class: "menu-icon"
|
|
66
|
-
}, null, 8, ["name"])
|
|
67
|
-
]),
|
|
68
|
-
_: 2
|
|
69
|
-
}, 1032, ["index", "onClick"])) : z("", !0)
|
|
70
|
-
], 64))), 256);
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
}), N = /* @__PURE__ */ q({
|
|
74
|
-
__name: "index",
|
|
75
|
-
props: {
|
|
76
|
-
menuList: {
|
|
77
|
-
// 注意prop变量类型定义的写法:PropType
|
|
78
|
-
type: Array,
|
|
79
|
-
default: () => []
|
|
80
|
-
},
|
|
81
|
-
mode: {
|
|
82
|
-
type: String,
|
|
83
|
-
default: "vertical"
|
|
84
|
-
},
|
|
85
|
-
isCollapse: Boolean,
|
|
86
|
-
uniqueOpened: {
|
|
87
|
-
type: Boolean,
|
|
88
|
-
default: !1
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
emits: ["clickMenu", "openMenu", "closeMenu", "selectMenu"],
|
|
92
|
-
setup(i, { expose: x, emit: p }) {
|
|
93
|
-
const m = G(w), { activeMenuPath: L, activeTopMenuPath: M } = b(m), l = H(w), { routeToChildPath: S } = b(l), c = i, a = p, _ = (n) => {
|
|
94
|
-
a("clickMenu", n);
|
|
95
|
-
}, e = (n) => {
|
|
96
|
-
a("openMenu", n);
|
|
97
|
-
}, I = (n) => {
|
|
98
|
-
a("selectMenu", n);
|
|
99
|
-
}, h = (n) => {
|
|
100
|
-
a("closeMenu", n);
|
|
101
|
-
}, R = j(() => S.value ? (c == null ? void 0 : c.mode) === "vertical" ? S.value : M.value : (c == null ? void 0 : c.mode) === "vertical" ? L.value : M.value), v = D(null);
|
|
102
|
-
return x({
|
|
103
|
-
handleResize: () => {
|
|
104
|
-
var n;
|
|
105
|
-
(n = v.value) == null || n.handleResize();
|
|
106
|
-
},
|
|
107
|
-
openMenuRefByIndex: (n) => {
|
|
108
|
-
v.value && v.value.open(n);
|
|
109
|
-
}
|
|
110
|
-
}), (n, W) => {
|
|
111
|
-
const T = u("el-sub-menu"), A = u("el-menu-item"), F = u("el-menu");
|
|
112
|
-
return s(), f(F, {
|
|
113
|
-
ref_key: "menuRef",
|
|
114
|
-
ref: v,
|
|
115
|
-
class: "menu-wrap",
|
|
116
|
-
mode: i.mode,
|
|
117
|
-
"default-active": R.value,
|
|
118
|
-
"unique-opened": i.uniqueOpened,
|
|
119
|
-
"collapse-transition": !1,
|
|
120
|
-
"popper-class": "ss-menu-popper",
|
|
121
|
-
"popper-offset": 12,
|
|
122
|
-
ellipsis: !0,
|
|
123
|
-
collapse: i.isCollapse,
|
|
124
|
-
onOpen: e,
|
|
125
|
-
onClose: h,
|
|
126
|
-
onSelect: I
|
|
127
|
-
}, {
|
|
128
|
-
default: o(() => [
|
|
129
|
-
(s(!0), k(y, null, C(i.menuList, (t) => (s(), k(y, null, [
|
|
130
|
-
t.show && t.children && t.children.length > 0 ? (s(), f(T, {
|
|
131
|
-
index: t.path,
|
|
132
|
-
key: t.path,
|
|
133
|
-
style: g(t.style)
|
|
134
|
-
}, {
|
|
135
|
-
title: o(() => [
|
|
136
|
-
r($, {
|
|
137
|
-
name: t.icon ?? ((t == null ? void 0 : t.level) <= 2 ? "default" : ""),
|
|
138
|
-
class: "menu-icon"
|
|
139
|
-
}, null, 8, ["name"]),
|
|
140
|
-
d(n.$slots, "title", { menu: t }, void 0, !0)
|
|
141
|
-
]),
|
|
142
|
-
default: o(() => [
|
|
143
|
-
r(K, {
|
|
144
|
-
menuList: t.children,
|
|
145
|
-
onClickMenu: _
|
|
146
|
-
}, O({ _: 2 }, [
|
|
147
|
-
C(n.$slots, (V, B) => ({
|
|
148
|
-
name: B,
|
|
149
|
-
fn: o((E) => [
|
|
150
|
-
d(n.$slots, B, P({ ref_for: !0 }, E), void 0, !0)
|
|
151
|
-
])
|
|
152
|
-
}))
|
|
153
|
-
]), 1032, ["menuList"])
|
|
154
|
-
]),
|
|
155
|
-
_: 2
|
|
156
|
-
}, 1032, ["index", "style"])) : t.show ? (s(), f(A, {
|
|
157
|
-
index: t.path,
|
|
158
|
-
key: t.path,
|
|
159
|
-
style: g(t.style),
|
|
160
|
-
onClick: (V) => _(t)
|
|
161
|
-
}, {
|
|
162
|
-
title: o(() => [
|
|
163
|
-
d(n.$slots, "title", { menu: t }, void 0, !0)
|
|
164
|
-
]),
|
|
165
|
-
default: o(() => [
|
|
166
|
-
r($, {
|
|
167
|
-
name: t.icon ?? ((t == null ? void 0 : t.level) <= 2 ? "default" : ""),
|
|
168
|
-
class: "menu-icon"
|
|
169
|
-
}, null, 8, ["name"])
|
|
170
|
-
]),
|
|
171
|
-
_: 2
|
|
172
|
-
}, 1032, ["index", "style", "onClick"])) : z("", !0)
|
|
173
|
-
], 64))), 256))
|
|
174
|
-
]),
|
|
175
|
-
_: 3
|
|
176
|
-
}, 8, ["mode", "default-active", "unique-opened", "collapse"]);
|
|
177
|
-
};
|
|
178
|
-
}
|
|
179
|
-
}), ne = /* @__PURE__ */ J(N, [["__scopeId", "data-v-1566b485"]]);
|
|
180
|
-
export {
|
|
181
|
-
ne as default
|
|
182
|
-
};
|
package/dist/index-DMqUY4yR.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { defineComponent as r, computed as s, createElementBlock as c, openBlock as i, mergeProps as m, createElementVNode as l } from "vue";
|
|
2
|
-
import { _ as p } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
const d = ["xlink:href"], u = /* @__PURE__ */ r({
|
|
4
|
-
__name: "index",
|
|
5
|
-
props: {
|
|
6
|
-
name: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: !0
|
|
9
|
-
},
|
|
10
|
-
className: {
|
|
11
|
-
type: String,
|
|
12
|
-
default: ""
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
setup(n) {
|
|
16
|
-
const e = n, t = s(() => `#icon-${e.name}`), o = s(() => e.className ? `svg-icon ${e.className}` : "svg-icon");
|
|
17
|
-
return (a, _) => (i(), c("svg", m({
|
|
18
|
-
class: o.value,
|
|
19
|
-
"aria-hidden": "true"
|
|
20
|
-
}, a.$attrs), [
|
|
21
|
-
l("use", { "xlink:href": t.value }, null, 8, d)
|
|
22
|
-
], 16));
|
|
23
|
-
}
|
|
24
|
-
}), v = /* @__PURE__ */ p(u, [["__scopeId", "data-v-7820d83a"]]);
|
|
25
|
-
export {
|
|
26
|
-
v as S
|
|
27
|
-
};
|
package/dist/index-Dad_IdSm.js
DELETED
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
import { defineComponent as P, ref as R, computed as W, watch as m, nextTick as z, onMounted as I, onUnmounted as U, resolveComponent as N, createElementBlock as S, openBlock as g, createBlock as V } from "vue";
|
|
2
|
-
import { u as G, g as $, v as q } from "./platform-C9131Sg-.js";
|
|
3
|
-
import { p as k, s as _, u as J } from "./menu-BYmz2cKN.js";
|
|
4
|
-
import { l as Q } from "./index-T_MmKXF1.js";
|
|
5
|
-
import { useRouter as X } from "vue-router";
|
|
6
|
-
import { _ as Y } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
-
const Z = { key: 0 }, p = /* @__PURE__ */ P({
|
|
8
|
-
__name: "index",
|
|
9
|
-
props: {
|
|
10
|
-
windowConfig: {
|
|
11
|
-
type: Object,
|
|
12
|
-
default: () => {
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
systemInfo: {
|
|
16
|
-
type: Object,
|
|
17
|
-
default: () => {
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
systemKey: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: ""
|
|
23
|
-
},
|
|
24
|
-
pathContent: {
|
|
25
|
-
type: String,
|
|
26
|
-
default: ""
|
|
27
|
-
},
|
|
28
|
-
mode: {
|
|
29
|
-
type: String,
|
|
30
|
-
default: "view"
|
|
31
|
-
},
|
|
32
|
-
content: {
|
|
33
|
-
type: String,
|
|
34
|
-
default: ""
|
|
35
|
-
},
|
|
36
|
-
jsonContents: {
|
|
37
|
-
type: Array,
|
|
38
|
-
default: () => []
|
|
39
|
-
},
|
|
40
|
-
showButton: {
|
|
41
|
-
type: Boolean,
|
|
42
|
-
default: !1
|
|
43
|
-
},
|
|
44
|
-
nodeDev: {
|
|
45
|
-
type: String,
|
|
46
|
-
default: ""
|
|
47
|
-
},
|
|
48
|
-
pageKey: {
|
|
49
|
-
type: String,
|
|
50
|
-
default: ""
|
|
51
|
-
},
|
|
52
|
-
interfaceContent: {
|
|
53
|
-
type: Array,
|
|
54
|
-
default: () => []
|
|
55
|
-
},
|
|
56
|
-
loginContent: {
|
|
57
|
-
type: Object,
|
|
58
|
-
default: () => {
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
menuFiles: {
|
|
62
|
-
type: Array,
|
|
63
|
-
default: () => []
|
|
64
|
-
},
|
|
65
|
-
workspaceHistoryData: {
|
|
66
|
-
type: Array,
|
|
67
|
-
default: () => []
|
|
68
|
-
},
|
|
69
|
-
// 用于打开/拣选工作区
|
|
70
|
-
workspaceInfo: {
|
|
71
|
-
type: Object,
|
|
72
|
-
default: () => []
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
emits: [
|
|
76
|
-
"buildContent",
|
|
77
|
-
"openThreeBuild",
|
|
78
|
-
"threeData",
|
|
79
|
-
"setLoginInfo",
|
|
80
|
-
"projectLogin",
|
|
81
|
-
"updateApiUrl",
|
|
82
|
-
"clearFileContent",
|
|
83
|
-
"systemContent",
|
|
84
|
-
"getMenuPathValue",
|
|
85
|
-
"executeWorkspace",
|
|
86
|
-
"updateVersion"
|
|
87
|
-
],
|
|
88
|
-
setup(d, { emit: L }) {
|
|
89
|
-
const D = X(), u = G(k), { loginUserInfo: s } = _(u), l = J(k), C = R(!0), { activeMenuPath: h } = _(l), e = d, o = L, A = W(() => {
|
|
90
|
-
var t, n;
|
|
91
|
-
return (e == null ? void 0 : e.showButton) || ((n = (t = s.value) == null ? void 0 : t.accounttype) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
|
|
92
|
-
}), F = (t) => {
|
|
93
|
-
o("systemContent", t);
|
|
94
|
-
}, E = () => {
|
|
95
|
-
o("updateVersion");
|
|
96
|
-
}, j = () => {
|
|
97
|
-
o("clearFileContent");
|
|
98
|
-
};
|
|
99
|
-
m(
|
|
100
|
-
() => e == null ? void 0 : e.menuFiles,
|
|
101
|
-
() => {
|
|
102
|
-
var t;
|
|
103
|
-
((t = e == null ? void 0 : e.menuFiles) == null ? void 0 : t.length) > 0 && l.setLocalFiles(e == null ? void 0 : e.menuFiles);
|
|
104
|
-
},
|
|
105
|
-
{ deep: !0, immediate: !0 }
|
|
106
|
-
), m(
|
|
107
|
-
() => h.value,
|
|
108
|
-
async () => {
|
|
109
|
-
var n, i, c;
|
|
110
|
-
if (!((n = s == null ? void 0 : s.value) != null && n.plat_id)) return;
|
|
111
|
-
let t = await $({
|
|
112
|
-
platId: parseInt((i = s == null ? void 0 : s.value) == null ? void 0 : i.plat_id)
|
|
113
|
-
});
|
|
114
|
-
t = (c = t == null ? void 0 : t.data) == null ? void 0 : c.result, l.setDataFiles(t), o("getMenuPathValue", h.value);
|
|
115
|
-
},
|
|
116
|
-
{ deep: !0, immediate: !0 }
|
|
117
|
-
), m(
|
|
118
|
-
() => e == null ? void 0 : e.loginContent,
|
|
119
|
-
async () => {
|
|
120
|
-
C.value = !0;
|
|
121
|
-
let t = e == null ? void 0 : e.loginContent;
|
|
122
|
-
if (t != null && t.account && (t != null && t.password) && (await Q(t), status)) {
|
|
123
|
-
let n = await q();
|
|
124
|
-
o("systemContent", n == null ? void 0 : n.allMenuContents), D.push("/"), l.setHasClickEditComp(!1);
|
|
125
|
-
}
|
|
126
|
-
C.value = !1, await z();
|
|
127
|
-
},
|
|
128
|
-
{ deep: !0, immediate: !0 }
|
|
129
|
-
);
|
|
130
|
-
const B = (t) => {
|
|
131
|
-
o("projectLogin", t);
|
|
132
|
-
}, T = () => {
|
|
133
|
-
o("projectLogin", "");
|
|
134
|
-
};
|
|
135
|
-
m(
|
|
136
|
-
() => [e == null ? void 0 : e.systemKey, e == null ? void 0 : e.systemInfo],
|
|
137
|
-
async ([t, n]) => {
|
|
138
|
-
u.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
|
|
139
|
-
},
|
|
140
|
-
{ immediate: !0 }
|
|
141
|
-
), m(
|
|
142
|
-
() => e == null ? void 0 : e.interfaceContent,
|
|
143
|
-
() => {
|
|
144
|
-
var i, c, r, y, f;
|
|
145
|
-
if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((i = e == null ? void 0 : e.interfaceContent) == null ? void 0 : i.length) === 0)
|
|
146
|
-
return;
|
|
147
|
-
let t = (c = e == null ? void 0 : e.interfaceContent) == null ? void 0 : c.find((a) => a == null ? void 0 : a.includes("VITE_API_NEW_URL")), n = (r = e == null ? void 0 : e.interfaceContent) == null ? void 0 : r.find((a) => a == null ? void 0 : a.includes("VITE_FACE_RECOGNITION_API_URL"));
|
|
148
|
-
n = (y = n == null ? void 0 : n.split("=")) == null ? void 0 : y[1], n = n == null ? void 0 : n.trim(), t = (f = t == null ? void 0 : t.split("=")) == null ? void 0 : f[1], t = t == null ? void 0 : t.trim(), u.setExtraUrl(n ?? ""), u.setSystemUrl(t ?? "");
|
|
149
|
-
},
|
|
150
|
-
{ immediate: !0, deep: !0 }
|
|
151
|
-
), I(async () => {
|
|
152
|
-
e.systemInfo && u.setSystemInfo(e.systemInfo);
|
|
153
|
-
});
|
|
154
|
-
const x = () => {
|
|
155
|
-
o("buildContent");
|
|
156
|
-
}, K = () => {
|
|
157
|
-
o("setLoginInfo");
|
|
158
|
-
}, M = (t) => {
|
|
159
|
-
o("openThreeBuild", t);
|
|
160
|
-
}, b = (t) => {
|
|
161
|
-
o("threeData", t);
|
|
162
|
-
}, H = (t) => {
|
|
163
|
-
o("updateApiUrl", t);
|
|
164
|
-
}, O = (t) => {
|
|
165
|
-
o("executeWorkspace", t);
|
|
166
|
-
}, w = () => {
|
|
167
|
-
var f, a, v;
|
|
168
|
-
const t = e != null && e.windowConfig ? (f = e == null ? void 0 : e.windowConfig) == null ? void 0 : f.width : window.innerWidth, n = (a = e == null ? void 0 : e.windowConfig) != null && a.height ? (v = e == null ? void 0 : e.windowConfig) == null ? void 0 : v.height : window.innerHeight;
|
|
169
|
-
l.setSystemHeight(n);
|
|
170
|
-
const i = 1920, c = 16, r = t / i, y = c * r;
|
|
171
|
-
document.documentElement.style.fontSize = `${y}px`;
|
|
172
|
-
};
|
|
173
|
-
return I(() => {
|
|
174
|
-
w(), window.addEventListener("resize", w);
|
|
175
|
-
}), U(() => {
|
|
176
|
-
window.removeEventListener("resize", w);
|
|
177
|
-
}), (t, n) => {
|
|
178
|
-
const i = N("router-view");
|
|
179
|
-
return g(), S("div", null, [
|
|
180
|
-
C.value ? (g(), S("div", Z)) : (g(), V(i, {
|
|
181
|
-
key: 1,
|
|
182
|
-
mode: e == null ? void 0 : e.mode,
|
|
183
|
-
content: e == null ? void 0 : e.content,
|
|
184
|
-
jsonContents: e == null ? void 0 : e.jsonContents,
|
|
185
|
-
pathContent: e == null ? void 0 : e.pathContent,
|
|
186
|
-
showButton: A.value,
|
|
187
|
-
nodeDev: e == null ? void 0 : e.nodeDev,
|
|
188
|
-
windowConfig: d.windowConfig,
|
|
189
|
-
systemInfo: d.systemInfo,
|
|
190
|
-
"old-systemKey": d.systemKey,
|
|
191
|
-
onBuildContent: x,
|
|
192
|
-
onProjectLogin: B,
|
|
193
|
-
onClearLogin: T,
|
|
194
|
-
onUpdateApiUrl: H,
|
|
195
|
-
onOpenThreeBuild: M,
|
|
196
|
-
pageKey: d.pageKey,
|
|
197
|
-
onThreeData: b,
|
|
198
|
-
onSetLoginInfo: K,
|
|
199
|
-
loginContent: e == null ? void 0 : e.loginContent,
|
|
200
|
-
onUpdateVersion: E,
|
|
201
|
-
onClearFileContent: j,
|
|
202
|
-
onSystemContent: F,
|
|
203
|
-
onExecuteWorkspace: O,
|
|
204
|
-
workspaceHistoryData: e == null ? void 0 : e.workspaceHistoryData,
|
|
205
|
-
workspaceInfo: e == null ? void 0 : e.workspaceInfo
|
|
206
|
-
}, null, 8, ["mode", "content", "jsonContents", "pathContent", "showButton", "nodeDev", "windowConfig", "systemInfo", "old-systemKey", "pageKey", "loginContent", "workspaceHistoryData", "workspaceInfo"]))
|
|
207
|
-
]);
|
|
208
|
-
};
|
|
209
|
-
}
|
|
210
|
-
}), se = /* @__PURE__ */ Y(p, [["__scopeId", "data-v-0b0d7544"]]);
|
|
211
|
-
export {
|
|
212
|
-
se as default
|
|
213
|
-
};
|