ss-component-new 1.3.736 → 1.3.738

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 (130) hide show
  1. package/dist/JSEncrypt-B36c1iN5.js +1983 -0
  2. package/dist/MTLLoader-BVktbBYH.js +657 -0
  3. package/dist/URDFLoader-DOfmRu4N.js +2299 -0
  4. package/dist/__vite-browser-external-DYxpcVy9.js +4 -0
  5. package/dist/animationData-DFwWrgvB.js +83 -0
  6. package/dist/array-BblFKp6J.js +1045 -0
  7. package/dist/clone-B58hfp9X.js +8 -0
  8. package/dist/config.js +1 -1
  9. package/dist/eleIcon-qStmsM1q.js +29 -0
  10. package/dist/fileUtil-UOt_otFo.js +20 -0
  11. package/dist/iconfont-kC8HZ4Ly.js +1030 -0
  12. package/dist/icons/svg/functionList.svg +1 -0
  13. package/dist/icons/svg/method.svg +1 -0
  14. package/dist/index-11kpzK0A.js +209 -0
  15. package/dist/index-5E79iwO0.js +83 -0
  16. package/dist/index-B1p0mv2e.js +201 -0
  17. package/dist/index-B4TcjId0.js +331 -0
  18. package/dist/index-B5ngelGR.js +20578 -0
  19. package/dist/index-BHtNKL1L.js +27 -0
  20. package/dist/index-BiiVP9UY.js +447 -0
  21. package/dist/index-BzB2Vn8c.js +93 -0
  22. package/dist/index-C-eAXBcR.js +78 -0
  23. package/dist/index-C5USB9qE.js +48 -0
  24. package/dist/index-C84z9NFx.js +30 -0
  25. package/dist/index-CDE3W8eV.js +103 -0
  26. package/dist/index-CK4tG84e.js +572 -0
  27. package/dist/index-CLm6QFZK.js +627 -0
  28. package/dist/index-CToBJlDQ.js +28500 -0
  29. package/dist/index-CV_jQDcg.js +9 -0
  30. package/dist/index-CWOXvFfD.js +44 -0
  31. package/dist/index-CXQiVSNJ.js +622 -0
  32. package/dist/{index-DyhB-cd1.js → index-ChNfRlIP.js} +18 -253
  33. package/dist/index-Cryd-gMS.js +62 -0
  34. package/dist/index-Cy0pOs1M.js +411 -0
  35. package/dist/index-DJJYgWGf.js +93 -0
  36. package/dist/index-DQsXaCwv.js +25341 -0
  37. package/dist/index-DUbk5m5P.js +99 -0
  38. package/dist/index-Dep-Vngh.js +1000 -0
  39. package/dist/index-Dgtvod-r.js +84 -0
  40. package/dist/index-Di9zYrW0.js +665 -0
  41. package/dist/index-DrKojU3W.js +470 -0
  42. package/dist/index-Q06_a3No.js +873 -0
  43. package/dist/index-XnbtYIMr.js +58 -0
  44. package/dist/index-YjBTGOkO.js +61 -0
  45. package/dist/index-fQsebbH3.js +107 -0
  46. package/dist/index-nOF50-Li.js +98 -0
  47. package/dist/index-rlStojTL.js +52 -0
  48. package/dist/index-uF-ibwG0.js +9 -0
  49. package/dist/index-wkaC1Dyn.js +119 -0
  50. package/dist/index-yOnrK71-.js +8994 -0
  51. package/dist/index-yRb0l-bC.js +63306 -0
  52. package/dist/index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-lORgn-P0.js +137927 -0
  53. package/dist/isString-0ZglyOfu.js +8 -0
  54. package/dist/localIcon-D5UoFBU5.js +76 -0
  55. package/dist/main-BeZonpqe.js +502 -0
  56. package/dist/menuIndex-Cv7pne94.js +159 -0
  57. package/dist/obj/model.mtl +42 -0
  58. package/dist/obj/model.obj +26110 -0
  59. package/dist/pyodide-Dc1Mu-0d.js +489 -0
  60. package/dist/request-1RPa2bBn.js +9048 -0
  61. package/dist/ss-component.css +8 -2
  62. package/dist/ss-component.js +64 -28
  63. package/dist/ss-component2.js +75 -15
  64. package/dist/ss-component3.js +1 -1
  65. package/dist/threeModel-BFDsEVGl.js +1109 -0
  66. package/dist/threePreview-CgmqKkIH.js +3091 -0
  67. package/dist/threeSceneView-BEZwdi1j.js +1290 -0
  68. package/dist/threeSceneViewForCPMPIP-CusZYRCU.js +539 -0
  69. package/dist/threeTrackPathView-CbhiJklA.js +620 -0
  70. package/dist/threeViewerHost-d0umFxXA.js +233 -0
  71. package/dist/urdfTree-Bko5D1KR.js +254 -0
  72. package/dist/workpieceTreePanel-DTgX-q2q.js +559 -0
  73. package/package.json +8 -11
  74. package/public/config.js +1 -1
  75. package/public/icons/svg/functionList.svg +1 -0
  76. package/public/icons/svg/method.svg +1 -0
  77. package/public/obj/model.mtl +42 -0
  78. package/public/obj/model.obj +26110 -0
  79. package/dist/index-8KTFGqOM.js +0 -25
  80. package/dist/index-A8OE-eSF.js +0 -29
  81. package/dist/index-B2xkIV6C.js +0 -25
  82. package/dist/index-B3v82KuY.js +0 -1044
  83. package/dist/index-BeE5LpiD.js +0 -50679
  84. package/dist/index-C0HH0uAE.js +0 -188
  85. package/dist/index-C0U2Epeo.js +0 -25
  86. package/dist/index-C8GSZPvd.js +0 -4
  87. package/dist/index-CA0CoKiz.js +0 -25
  88. package/dist/index-CHjBtkir.js +0 -4
  89. package/dist/index-CJP9hdx4.js +0 -53
  90. package/dist/index-COeMUCuq.js +0 -213
  91. package/dist/index-COxVr3MC.js +0 -4
  92. package/dist/index-CXoQiaXz.js +0 -27
  93. package/dist/index-CdanNGTM.js +0 -4
  94. package/dist/index-CfwzR4gE.js +0 -469
  95. package/dist/index-CoEteqj_.js +0 -4
  96. package/dist/index-Cqt27z96.js +0 -23
  97. package/dist/index-Cqyl2URI.js +0 -32
  98. package/dist/index-CuIbbhNo.js +0 -25
  99. package/dist/index-D1WMhpsE.js +0 -26
  100. package/dist/index-D3G5ymZc.js +0 -4
  101. package/dist/index-D5oMkTBW.js +0 -35
  102. package/dist/index-D7CiXPV2.js +0 -634
  103. package/dist/index-DGogREB4.js +0 -26
  104. package/dist/index-DRqX_bCT.js +0 -4
  105. package/dist/index-DbUt70zC.js +0 -50
  106. package/dist/index-DnLZtsZU.js +0 -4
  107. package/dist/index-IoMa0kLh.js +0 -27
  108. package/dist/index-JkTP1vyC.js +0 -4
  109. package/dist/index-LuY_QZlf.js +0 -181
  110. package/dist/index-boICNvPL.js +0 -4
  111. package/dist/index-uriwf_fo.js +0 -4
  112. package/dist/index.vue_vue_type_script_setup_true_lang-B-JCE78v.js +0 -21
  113. package/dist/index.vue_vue_type_script_setup_true_lang-BSZB17y-.js +0 -42
  114. package/dist/index.vue_vue_type_script_setup_true_lang-Brir5Bym.js +0 -41
  115. package/dist/index.vue_vue_type_script_setup_true_lang-BrnE_n0l.js +0 -25
  116. package/dist/index.vue_vue_type_script_setup_true_lang-C7BgxSz4.js +0 -28
  117. package/dist/index.vue_vue_type_script_setup_true_lang-CARZt7yC.js +0 -25
  118. package/dist/index.vue_vue_type_script_setup_true_lang-CVALRKBG.js +0 -48
  119. package/dist/index.vue_vue_type_script_setup_true_lang-CsThRoDZ.js +0 -28
  120. package/dist/index.vue_vue_type_script_setup_true_lang-CuwhbWHH.js +0 -39
  121. package/dist/index.vue_vue_type_script_setup_true_lang-DAb-qhJ1.js +0 -40
  122. package/dist/index.vue_vue_type_script_setup_true_lang-DimtrEJj.js +0 -26
  123. package/dist/menu-ClNHLze7.js +0 -5208
  124. package/dist/platform-CPTootse.js +0 -11429
  125. /package/dist/icons/svg/{update.svg → Update.svg} +0 -0
  126. /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  127. /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
  128. /package/public/icons/svg/{update.svg → Update.svg} +0 -0
  129. /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  130. /package/public/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
@@ -1,188 +0,0 @@
1
- import { defineComponent as g, resolveComponent as d, createElementBlock as p, openBlock as u, Fragment as h, renderList as O, createBlock as s, withCtx as c, createVNode as _, mergeProps as y, ref as v, watch as $, nextTick as H, createElementVNode as k, renderSlot as b, createSlots as R, normalizeStyle as E } from "vue";
2
- const j = /* @__PURE__ */ g({
3
- __name: "vxeTableChildHeader",
4
- props: {
5
- columns: {
6
- type: Array,
7
- default: () => []
8
- }
9
- },
10
- setup(m) {
11
- return (t, i) => {
12
- const o = d("vxe-colgroup"), a = d("vxe-column");
13
- return u(!0), p(h, null, O(m.columns, (n, e) => {
14
- var l;
15
- return u(), p(h, { key: e }, [
16
- ((l = n.children) == null ? void 0 : l.length) > 0 ? (u(), s(o, {
17
- key: 0,
18
- title: n.title
19
- }, {
20
- default: c(() => [
21
- _(C, {
22
- columns: n.children
23
- }, null, 8, ["columns"])
24
- ]),
25
- _: 2
26
- }, 1032, ["title"])) : (u(), s(a, y({
27
- key: 1,
28
- ref_for: !0
29
- }, n), null, 16))
30
- ], 64);
31
- }), 128);
32
- };
33
- }
34
- }), w = /* @__PURE__ */ g({
35
- __name: "index",
36
- props: {
37
- extra: {
38
- type: Object,
39
- default: () => {
40
- }
41
- },
42
- modelValue: {
43
- type: String,
44
- default: ""
45
- }
46
- },
47
- setup(m) {
48
- const t = m, i = v(null), o = v(!1), a = v(null);
49
- return $(
50
- () => a.value,
51
- () => {
52
- H(() => {
53
- var n, e;
54
- (e = (n = i.value) == null ? void 0 : n.updatePopper) == null || e.call(n);
55
- });
56
- },
57
- { deep: !0, immediate: !0 }
58
- ), (n, e) => {
59
- var r, f;
60
- const l = d("el-popover");
61
- return u(), s(l, {
62
- visible: o.value,
63
- "onUpdate:visible": e[0] || (e[0] = (x) => o.value = x),
64
- ref_key: "popOverRef",
65
- ref: i,
66
- trigger: ((r = t == null ? void 0 : t.extra) == null ? void 0 : r.trigger) ?? "hover",
67
- placement: ((f = t == null ? void 0 : t.extra) == null ? void 0 : f.placement) ?? "bottom",
68
- "trigger-keys": []
69
- }, {
70
- reference: c(() => [
71
- k("div", null, [
72
- b(n.$slots, "reference", {
73
- ref_key: "referenceRef",
74
- ref: a
75
- })
76
- ])
77
- ]),
78
- default: c(() => [
79
- k("div", null, [
80
- b(n.$slots, "content")
81
- ])
82
- ]),
83
- _: 3
84
- }, 8, ["visible", "trigger", "placement"]);
85
- };
86
- }
87
- }), C = /* @__PURE__ */ g({
88
- __name: "vxeTableHeader",
89
- props: {
90
- columns: {
91
- type: Array,
92
- default: () => []
93
- }
94
- },
95
- setup(m) {
96
- return (t, i) => {
97
- const o = d("vxe-colgroup"), a = d("svg-icon"), n = d("vxe-column");
98
- return u(!0), p(h, null, O(m.columns, (e, l) => {
99
- var r;
100
- return u(), p(h, { key: l }, [
101
- ((r = e.children) == null ? void 0 : r.length) > 0 ? (u(), s(o, {
102
- key: 0,
103
- title: e.title
104
- }, {
105
- default: c(() => [
106
- _(j, {
107
- columns: e.children
108
- }, null, 8, ["columns"])
109
- ]),
110
- _: 2
111
- }, 1032, ["title"])) : (u(), s(n, y({
112
- key: 1,
113
- ref_for: !0
114
- }, e), R({ _: 2 }, [
115
- e.field === "operate" ? {
116
- name: "default",
117
- fn: c(() => [
118
- _(w, { extra: { trigger: "hover", placement: "left-start" } }, {
119
- reference: c(() => [
120
- _(a, {
121
- name: "more",
122
- style: E({ width: e == null ? void 0 : e.iconWidth, height: e == null ? void 0 : e.iconHeight })
123
- }, null, 8, ["style"])
124
- ]),
125
- _: 2
126
- }, 1024)
127
- ]),
128
- key: "0"
129
- } : void 0,
130
- e.field === "operate" ? {
131
- name: "header",
132
- fn: c(() => [
133
- _(a, {
134
- name: e == null ? void 0 : e.icon,
135
- style: E({ width: e == null ? void 0 : e.iconWidth, height: e == null ? void 0 : e.iconHeight })
136
- }, null, 8, ["name", "style"])
137
- ]),
138
- key: "1"
139
- } : void 0
140
- ]), 1040))
141
- ], 64);
142
- }), 128);
143
- };
144
- }
145
- }), S = /* @__PURE__ */ g({
146
- __name: "index",
147
- props: {
148
- itemElement: {
149
- type: Object,
150
- default: () => {
151
- }
152
- },
153
- extra: {
154
- type: Object,
155
- default: () => ({})
156
- }
157
- },
158
- setup(m) {
159
- const t = m, i = v([]), o = v([]), a = (n, e) => {
160
- let l = n;
161
- return l = l == null ? void 0 : l.map((r) => {
162
- var f;
163
- return e == null || e.forEach((x) => {
164
- r[x] = r == null ? void 0 : r.prop;
165
- }), r.children && ((f = r.children) == null ? void 0 : f.length) > 0 && (r.children = a(r.children, e)), r;
166
- }), l;
167
- };
168
- return $(
169
- () => t == null ? void 0 : t.itemElement,
170
- () => {
171
- var n, e;
172
- i.value = (n = t == null ? void 0 : t.itemElement) == null ? void 0 : n.columns, o.value = (e = t == null ? void 0 : t.itemElement) == null ? void 0 : e.tableData, i.value = a(i.value, ["field", "title"]);
173
- },
174
- { deep: !0, immediate: !0 }
175
- ), (n, e) => {
176
- const l = d("vxe-table");
177
- return u(), s(l, y({ data: o.value }, t == null ? void 0 : t.extra), {
178
- default: c(() => [
179
- _(C, { columns: i.value }, null, 8, ["columns"])
180
- ]),
181
- _: 1
182
- }, 16, ["data"]);
183
- };
184
- }
185
- });
186
- export {
187
- S as default
188
- };
@@ -1,25 +0,0 @@
1
- import { defineComponent as n, resolveComponent as a, createBlock as c, openBlock as s, normalizeProps as d, guardReactiveProps as l, withCtx as p, renderSlot as _ } from "vue";
2
- const f = /* @__PURE__ */ n({
3
- __name: "index",
4
- props: {
5
- extra: {
6
- type: Object,
7
- default: () => ({})
8
- }
9
- },
10
- setup(t) {
11
- const e = t;
12
- return (o, m) => {
13
- const r = a("vxe-card");
14
- return s(), c(r, d(l(e == null ? void 0 : e.extra)), {
15
- default: p(() => [
16
- _(o.$slots, "default")
17
- ]),
18
- _: 3
19
- }, 16);
20
- };
21
- }
22
- });
23
- export {
24
- f as default
25
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-CARZt7yC.js";
2
- export {
3
- f as default
4
- };
@@ -1,25 +0,0 @@
1
- import { defineComponent as r, resolveComponent as a, createBlock as p, openBlock as s, normalizeProps as c, guardReactiveProps as l, withCtx as i, renderSlot as _ } from "vue";
2
- const u = /* @__PURE__ */ r({
3
- __name: "index",
4
- props: {
5
- extra: {
6
- type: Object,
7
- default: () => ({})
8
- }
9
- },
10
- setup(e) {
11
- const t = e;
12
- return (o, d) => {
13
- const n = a("vxe-link");
14
- return s(), p(n, c(l(t.extra)), {
15
- default: i(() => [
16
- _(o.$slots, "default")
17
- ]),
18
- _: 3
19
- }, 16);
20
- };
21
- }
22
- });
23
- export {
24
- u as default
25
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-CsThRoDZ.js";
2
- export {
3
- f as default
4
- };
@@ -1,53 +0,0 @@
1
- import { defineComponent as x, ref as b, watch as v, resolveComponent as g, createBlock as p, openBlock as l, mergeProps as w, withCtx as C, createElementVNode as i, createElementBlock as a, Fragment as s, renderList as f, toDisplayString as y } from "vue";
2
- const B = /* @__PURE__ */ x({
3
- __name: "index",
4
- props: {
5
- itemElement: {
6
- type: Object,
7
- default: () => {
8
- }
9
- },
10
- extra: {
11
- type: Object,
12
- default: () => ({})
13
- }
14
- },
15
- setup(k) {
16
- const e = k, h = b([]), _ = b([]);
17
- return v(
18
- () => e == null ? void 0 : e.itemElement,
19
- () => {
20
- var m, u, t;
21
- let o = [];
22
- h.value = (m = e == null ? void 0 : e.itemElement) == null ? void 0 : m.columns, (t = (u = e == null ? void 0 : e.itemElement) == null ? void 0 : u.tableData) == null || t.forEach((n) => {
23
- var c, E;
24
- let r = [];
25
- (E = (c = e == null ? void 0 : e.itemElement) == null ? void 0 : c.columns) == null || E.forEach((d) => {
26
- r.push(n == null ? void 0 : n[d == null ? void 0 : d.prop]);
27
- }), o.push(r);
28
- }), _.value = o;
29
- },
30
- { deep: !0, immediate: !0 }
31
- ), (o, m) => {
32
- const u = g("n-table");
33
- return l(), p(u, w(e.extra, { "single-column": "" }), {
34
- default: C(() => [
35
- i("thead", null, [
36
- i("tr", null, [
37
- (l(!0), a(s, null, f(h.value, (t, n) => (l(), a("th", { key: n }, y(t == null ? void 0 : t.label), 1))), 128))
38
- ])
39
- ]),
40
- i("tbody", null, [
41
- (l(!0), a(s, null, f(_.value, (t, n) => (l(), a("tr", { key: n }, [
42
- (l(!0), a(s, null, f(t, (r, c) => (l(), a("td", { key: c }, y(r), 1))), 128))
43
- ]))), 128))
44
- ])
45
- ]),
46
- _: 1
47
- }, 16);
48
- };
49
- }
50
- });
51
- export {
52
- B as default
53
- };
@@ -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-CPTootse.js";
3
- import { p as k, s as _, u as J } from "./menu-ClNHLze7.js";
4
- import { l as Q } from "./index-DbUt70zC.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
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-C7BgxSz4.js";
2
- export {
3
- f as default
4
- };
@@ -1,27 +0,0 @@
1
- import { defineComponent as r, ref as u, resolveComponent as d, createBlock as m, openBlock as p, mergeProps as c } from "vue";
2
- const f = /* @__PURE__ */ r({
3
- __name: "index",
4
- props: {
5
- extra: {
6
- type: Object,
7
- default: () => ({})
8
- },
9
- modelValue: {
10
- type: String,
11
- default: ""
12
- }
13
- },
14
- setup(l) {
15
- const e = l, t = u(e == null ? void 0 : e.modelValue);
16
- return (s, o) => {
17
- const a = d("vxe-date-picker");
18
- return p(), m(a, c(e.extra, {
19
- modelValue: t.value,
20
- "onUpdate:modelValue": o[0] || (o[0] = (n) => t.value = n)
21
- }), null, 16, ["modelValue"]);
22
- };
23
- }
24
- });
25
- export {
26
- f as default
27
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-DimtrEJj.js";
2
- export {
3
- f as default
4
- };