ss-component-new 1.3.714 → 1.3.716

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/config.js +1 -1
  2. package/dist/index-0g0DP0Sz.js +1044 -0
  3. package/dist/index-BDCuosQJ.js +50 -0
  4. package/dist/index-BxJpjRsQ.js +50711 -0
  5. package/dist/index-C1ELjCn7.js +181 -0
  6. package/dist/index-CEUQmw5e.js +58 -0
  7. package/dist/index-CndLgFR1.js +35 -0
  8. package/dist/index-DlDwzFUG.js +213 -0
  9. package/dist/{index-ChNfRlIP.js → index-DyhB-cd1.js} +253 -18
  10. package/dist/index-IoMa0kLh.js +27 -0
  11. package/dist/menu-HTA6NZEd.js +5208 -0
  12. package/dist/platform-DoyWecim.js +11429 -0
  13. package/dist/ss-component.css +2 -8
  14. package/dist/ss-component.js +28 -64
  15. package/dist/ss-component2.js +15 -75
  16. package/dist/ss-component3.js +1 -1
  17. package/package.json +10 -8
  18. package/public/config.js +1 -1
  19. package/dist/JSEncrypt-B36c1iN5.js +0 -1983
  20. package/dist/MTLLoader-CkNZudBE.js +0 -657
  21. package/dist/URDFLoader-DIzEVzUD.js +0 -2299
  22. package/dist/__vite-browser-external-DYxpcVy9.js +0 -4
  23. package/dist/animationData-DvL_4GZ5.js +0 -83
  24. package/dist/array-BN2tTnqd.js +0 -1045
  25. package/dist/clone-Dp_gc9ll.js +0 -8
  26. package/dist/eleIcon-qStmsM1q.js +0 -29
  27. package/dist/fileUtil-UOt_otFo.js +0 -20
  28. package/dist/iconfont-BwY2qVoK.js +0 -1030
  29. package/dist/icons/svg/functionList.svg +0 -1
  30. package/dist/icons/svg/method.svg +0 -1
  31. package/dist/index-11kpzK0A.js +0 -209
  32. package/dist/index-5S_ATziA.js +0 -25341
  33. package/dist/index-B0H3C7WG.js +0 -103
  34. package/dist/index-B6ePvQgB.js +0 -83
  35. package/dist/index-BHtNKL1L.js +0 -27
  36. package/dist/index-BbyrFzEO.js +0 -93
  37. package/dist/index-Bej2dPck.js +0 -873
  38. package/dist/index-BooO2Bml.js +0 -78
  39. package/dist/index-BqZj6gM7.js +0 -470
  40. package/dist/index-Bw3sTXPI.js +0 -8993
  41. package/dist/index-BzUgGzuc.js +0 -48
  42. package/dist/index-C9nks7xM.js +0 -30
  43. package/dist/index-CGi0g-VN.js +0 -627
  44. package/dist/index-CV_jQDcg.js +0 -9
  45. package/dist/index-CWOXvFfD.js +0 -44
  46. package/dist/index-CYwlat81.js +0 -20578
  47. package/dist/index-Cflxz2Xv.js +0 -572
  48. package/dist/index-Ch8te5LO.js +0 -411
  49. package/dist/index-Ckqlxqaw.js +0 -119
  50. package/dist/index-CpGn7sfE.js +0 -93
  51. package/dist/index-CydXQbtX.js +0 -622
  52. package/dist/index-DAJxL40d.js +0 -55
  53. package/dist/index-DBsEVMiM.js +0 -201
  54. package/dist/index-DG4hoOWt.js +0 -665
  55. package/dist/index-DUbk5m5P.js +0 -99
  56. package/dist/index-DbHIH067.js +0 -107
  57. package/dist/index-Dhjj5seQ.js +0 -98
  58. package/dist/index-Ds6m_4JJ.js +0 -28500
  59. package/dist/index-DupTchhl.js +0 -1000
  60. package/dist/index-DyCq_odP.js +0 -331
  61. package/dist/index-Ru-cNTPj.js +0 -84
  62. package/dist/index-UB_oCdlo.js +0 -62
  63. package/dist/index-XcH1poa0.js +0 -63306
  64. package/dist/index-YjBTGOkO.js +0 -61
  65. package/dist/index-jbOjjV0j.js +0 -447
  66. package/dist/index-rlStojTL.js +0 -52
  67. package/dist/index-uF-ibwG0.js +0 -9
  68. package/dist/index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-C2itW9KG.js +0 -137927
  69. package/dist/isString-0ZglyOfu.js +0 -8
  70. package/dist/localIcon-D5UoFBU5.js +0 -76
  71. package/dist/main-BCc8TzAj.js +0 -502
  72. package/dist/menuIndex-BB0uVPRX.js +0 -159
  73. package/dist/obj/model.mtl +0 -42
  74. package/dist/obj/model.obj +0 -26110
  75. package/dist/pyodide-Dc1Mu-0d.js +0 -489
  76. package/dist/request-1RPa2bBn.js +0 -9048
  77. package/dist/threeModel-BXXLFYOy.js +0 -1109
  78. package/dist/threePreview-DUfFZQ5q.js +0 -3091
  79. package/dist/threeSceneView-Dez2tha0.js +0 -1290
  80. package/dist/threeSceneViewForCPMPIP-DDk128w_.js +0 -539
  81. package/dist/threeTrackPathView-DmE9QE_0.js +0 -620
  82. package/dist/threeViewerHost-7g8xu3oh.js +0 -233
  83. package/dist/urdfTree-VRms7Vm3.js +0 -254
  84. package/dist/workpieceTreePanel-DCSz_IDY.js +0 -559
  85. package/public/icons/svg/functionList.svg +0 -1
  86. package/public/icons/svg/method.svg +0 -1
  87. package/public/obj/model.mtl +0 -42
  88. package/public/obj/model.obj +0 -26110
  89. /package/dist/icons/svg/{tableClose.svg → table-close.svg} +0 -0
  90. /package/dist/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
  91. /package/dist/icons/svg/{Update.svg → update.svg} +0 -0
  92. /package/public/icons/svg/{tableClose.svg → table-close.svg} +0 -0
  93. /package/public/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
  94. /package/public/icons/svg/{Update.svg → update.svg} +0 -0
@@ -0,0 +1,181 @@
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, a as H } from "./menu-HTA6NZEd.js";
3
+ import { S as $ } from "./index-BxJpjRsQ.js";
4
+ import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ const K = /* @__PURE__ */ q({
6
+ __name: "menuItem",
7
+ props: {
8
+ menuList: {
9
+ // 注意prop变量类型定义的写法:PropType
10
+ type: Array,
11
+ default: () => []
12
+ }
13
+ },
14
+ emits: ["clickMenu", "openMenu", "closeMenu"],
15
+ setup(i, { emit: x }) {
16
+ const p = x, m = (l) => {
17
+ p("clickMenu", l);
18
+ }, L = (l) => {
19
+ p("openMenu", l);
20
+ }, M = (l) => {
21
+ p("closeMenu", l);
22
+ };
23
+ return (l, S) => {
24
+ const c = u("MenuItem", !0), a = u("el-sub-menu"), _ = u("el-menu-item");
25
+ return s(!0), k(y, null, C(i.menuList, (e) => (s(), k(y, null, [
26
+ e.show && e.children && e.children.length > 0 ? (s(), f(a, {
27
+ index: e.path,
28
+ key: e.path
29
+ }, {
30
+ title: o(() => [
31
+ r($, {
32
+ name: e.icon ?? ((e == null ? void 0 : e.level) <= 2 ? "default" : ""),
33
+ class: "menu-icon"
34
+ }, null, 8, ["name"]),
35
+ d(l.$slots, "title", { menu: e })
36
+ ]),
37
+ default: o(() => [
38
+ r(c, {
39
+ menuList: e.children,
40
+ onClickMenu: m,
41
+ onOpenMenu: L,
42
+ onCloseMenu: M
43
+ }, O({ _: 2 }, [
44
+ C(l.$slots, (I, h) => ({
45
+ name: h,
46
+ fn: o((R) => [
47
+ d(l.$slots, h, P({ ref_for: !0 }, R))
48
+ ])
49
+ }))
50
+ ]), 1032, ["menuList"])
51
+ ]),
52
+ _: 2
53
+ }, 1032, ["index"])) : e.show ? (s(), f(_, {
54
+ index: e.path,
55
+ key: e.path,
56
+ onClick: (I) => m(e)
57
+ }, {
58
+ title: o(() => [
59
+ d(l.$slots, "title", { menu: e })
60
+ ]),
61
+ default: o(() => [
62
+ r($, {
63
+ name: e.icon ?? ((e == null ? void 0 : e.level) <= 2 ? "default" : ""),
64
+ class: "menu-icon"
65
+ }, null, 8, ["name"])
66
+ ]),
67
+ _: 2
68
+ }, 1032, ["index", "onClick"])) : z("", !0)
69
+ ], 64))), 256);
70
+ };
71
+ }
72
+ }), N = /* @__PURE__ */ q({
73
+ __name: "index",
74
+ props: {
75
+ menuList: {
76
+ // 注意prop变量类型定义的写法:PropType
77
+ type: Array,
78
+ default: () => []
79
+ },
80
+ mode: {
81
+ type: String,
82
+ default: "vertical"
83
+ },
84
+ isCollapse: Boolean,
85
+ uniqueOpened: {
86
+ type: Boolean,
87
+ default: !1
88
+ }
89
+ },
90
+ emits: ["clickMenu", "openMenu", "closeMenu", "selectMenu"],
91
+ setup(i, { expose: x, emit: p }) {
92
+ const m = G(w), { activeMenuPath: L, activeTopMenuPath: M } = b(m), l = H(w), { routeToChildPath: S } = b(l), c = i, a = p, _ = (n) => {
93
+ a("clickMenu", n);
94
+ }, e = (n) => {
95
+ a("openMenu", n);
96
+ }, I = (n) => {
97
+ a("selectMenu", n);
98
+ }, h = (n) => {
99
+ a("closeMenu", n);
100
+ }, 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);
101
+ return x({
102
+ handleResize: () => {
103
+ var n;
104
+ (n = v.value) == null || n.handleResize();
105
+ },
106
+ openMenuRefByIndex: (n) => {
107
+ v.value && v.value.open(n);
108
+ }
109
+ }), (n, W) => {
110
+ const T = u("el-sub-menu"), A = u("el-menu-item"), V = u("el-menu");
111
+ return s(), f(V, {
112
+ ref_key: "menuRef",
113
+ ref: v,
114
+ class: "menu-wrap",
115
+ mode: i.mode,
116
+ "default-active": R.value,
117
+ "unique-opened": i.uniqueOpened,
118
+ "collapse-transition": !1,
119
+ "popper-class": "ss-menu-popper",
120
+ "popper-offset": 12,
121
+ ellipsis: !0,
122
+ collapse: i.isCollapse,
123
+ onOpen: e,
124
+ onClose: h,
125
+ onSelect: I
126
+ }, {
127
+ default: o(() => [
128
+ (s(!0), k(y, null, C(i.menuList, (t) => (s(), k(y, null, [
129
+ t.show && t.children && t.children.length > 0 ? (s(), f(T, {
130
+ index: t.path,
131
+ key: t.path,
132
+ style: g(t.style)
133
+ }, {
134
+ title: o(() => [
135
+ r($, {
136
+ name: t.icon ?? ((t == null ? void 0 : t.level) <= 2 ? "default" : ""),
137
+ class: "menu-icon"
138
+ }, null, 8, ["name"]),
139
+ d(n.$slots, "title", { menu: t }, void 0, !0)
140
+ ]),
141
+ default: o(() => [
142
+ r(K, {
143
+ menuList: t.children,
144
+ onClickMenu: _
145
+ }, O({ _: 2 }, [
146
+ C(n.$slots, (E, B) => ({
147
+ name: B,
148
+ fn: o((F) => [
149
+ d(n.$slots, B, P({ ref_for: !0 }, F), void 0, !0)
150
+ ])
151
+ }))
152
+ ]), 1032, ["menuList"])
153
+ ]),
154
+ _: 2
155
+ }, 1032, ["index", "style"])) : t.show ? (s(), f(A, {
156
+ index: t.path,
157
+ key: t.path,
158
+ style: g(t.style),
159
+ onClick: (E) => _(t)
160
+ }, {
161
+ title: o(() => [
162
+ d(n.$slots, "title", { menu: t }, void 0, !0)
163
+ ]),
164
+ default: o(() => [
165
+ r($, {
166
+ name: t.icon ?? ((t == null ? void 0 : t.level) <= 2 ? "default" : ""),
167
+ class: "menu-icon"
168
+ }, null, 8, ["name"])
169
+ ]),
170
+ _: 2
171
+ }, 1032, ["index", "style", "onClick"])) : z("", !0)
172
+ ], 64))), 256))
173
+ ]),
174
+ _: 3
175
+ }, 8, ["mode", "default-active", "unique-opened", "collapse"]);
176
+ };
177
+ }
178
+ }), te = /* @__PURE__ */ J(N, [["__scopeId", "data-v-1566b485"]]);
179
+ export {
180
+ te as default
181
+ };
@@ -0,0 +1,58 @@
1
+ import { defineAsyncComponent as _, defineComponent as u, onMounted as b, resolveComponent as n, createBlock as C, openBlock as y, withCtx as l, createVNode as e, unref as h } from "vue";
2
+ import { R as x } from "./index-DyhB-cd1.js";
3
+ import { _ as v } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ const s = _(
5
+ () => import("./index-CndLgFR1.js")
6
+ );
7
+ s.install = (t) => {
8
+ t.component("insofworksssRobotHeader", s);
9
+ };
10
+ const w = /* @__PURE__ */ u({
11
+ __name: "index",
12
+ props: {
13
+ topLeftComponent: { default: null }
14
+ },
15
+ emits: ["clearModel"],
16
+ setup(t, { emit: p }) {
17
+ const m = t, i = p, d = () => {
18
+ const r = document.documentElement;
19
+ x.forEach((o) => {
20
+ r.style.setProperty(o.name, o.value);
21
+ });
22
+ };
23
+ return b(() => {
24
+ d();
25
+ }), (r, o) => {
26
+ const a = n("el-aside"), f = n("el-main"), c = n("el-container");
27
+ return y(), C(c, {
28
+ class: "robot-container",
29
+ direction: "vertical"
30
+ }, {
31
+ default: l(() => [
32
+ e(h(s), {
33
+ topLeftComponent: m.topLeftComponent,
34
+ onClearModel: o[0] || (o[0] = (R) => i("clearModel"))
35
+ }, null, 8, ["topLeftComponent"]),
36
+ e(c, { class: "robot-body" }, {
37
+ default: l(() => [
38
+ e(a, {
39
+ class: "robot-body-left",
40
+ width: "auto"
41
+ }),
42
+ e(f, { class: "robot-body-center" }),
43
+ e(a, {
44
+ class: "robot-body-right",
45
+ width: "auto"
46
+ })
47
+ ]),
48
+ _: 1
49
+ })
50
+ ]),
51
+ _: 1
52
+ });
53
+ };
54
+ }
55
+ }), g = /* @__PURE__ */ v(w, [["__scopeId", "data-v-528559a5"]]);
56
+ export {
57
+ g as default
58
+ };
@@ -0,0 +1,35 @@
1
+ import { defineComponent as p, resolveComponent as i, createBlock as n, openBlock as r, withCtx as m, createElementVNode as o, createCommentVNode as c, resolveDynamicComponent as _ } from "vue";
2
+ import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const u = { class: "robot-header-section robot-header-left" }, h = /* @__PURE__ */ p({
4
+ __name: "index",
5
+ props: {
6
+ topLeftComponent: { default: null }
7
+ },
8
+ emits: ["clearModel"],
9
+ setup(l, { emit: s }) {
10
+ const t = l, d = s;
11
+ return (C, e) => {
12
+ const a = i("el-header");
13
+ return r(), n(a, {
14
+ class: "robot-header",
15
+ height: "80px"
16
+ }, {
17
+ default: m(() => [
18
+ o("div", u, [
19
+ t.topLeftComponent ? (r(), n(_(t.topLeftComponent), {
20
+ key: 0,
21
+ onClearModel: e[0] || (e[0] = (b) => d("clearModel"))
22
+ }, null, 32)) : c("", !0)
23
+ ]),
24
+ e[1] || (e[1] = o("div", { class: "robot-header-section robot-header-center" }, null, -1)),
25
+ e[2] || (e[2] = o("div", { class: "robot-header-section robot-header-right" }, null, -1))
26
+ ]),
27
+ _: 1,
28
+ __: [1, 2]
29
+ });
30
+ };
31
+ }
32
+ }), k = /* @__PURE__ */ f(h, [["__scopeId", "data-v-4a5b971e"]]);
33
+ export {
34
+ k as default
35
+ };
@@ -0,0 +1,213 @@
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-DoyWecim.js";
3
+ import { p as k, s as _, u as J } from "./menu-HTA6NZEd.js";
4
+ import { l as Q } from "./index-BDCuosQJ.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
+ };