ss-component-new 1.3.701 → 1.3.702
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/config.js +1 -1
- package/dist/{index-ChNfRlIP.js → index-BKoAuSBh.js} +223 -18
- package/dist/index-BZ6XZp4O.js +182 -0
- package/dist/index-DMqUY4yR.js +27 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-D9DRZPyb.js → index-DXYV8CAc.js} +112065 -110832
- package/dist/index-Dad_IdSm.js +213 -0
- package/dist/index-Nxu5ivW5.js +1044 -0
- package/dist/index-T_MmKXF1.js +50 -0
- package/dist/menu-BYmz2cKN.js +5229 -0
- package/dist/platform-C9131Sg-.js +11490 -0
- package/dist/ss-component.css +8 -8
- package/dist/ss-component.js +28 -64
- package/dist/ss-component2.js +15 -75
- package/dist/ss-component3.js +1 -1
- package/package.json +8 -6
- package/public/config.js +1 -1
- package/dist/JSEncrypt-B36c1iN5.js +0 -1983
- package/dist/MTLLoader-DC5Di-ql.js +0 -657
- package/dist/URDFLoader-BqfNCQLH.js +0 -2299
- package/dist/animationData-BNQm3jIu.js +0 -83
- package/dist/array-BXz16Xf3.js +0 -1045
- package/dist/clone-Dp_gc9ll.js +0 -8
- package/dist/eleIcon-qStmsM1q.js +0 -29
- package/dist/fileUtil-UOt_otFo.js +0 -20
- package/dist/iconfont-B2Moc_Mi.js +0 -1026
- package/dist/icons/svg/functionList.svg +0 -1
- package/dist/icons/svg/method.svg +0 -1
- package/dist/index-11kpzK0A.js +0 -209
- package/dist/index-B0H3C7WG.js +0 -103
- package/dist/index-B3OyTnhN.js +0 -119
- package/dist/index-BHtNKL1L.js +0 -27
- package/dist/index-Bbwy0rRx.js +0 -411
- package/dist/index-BbyrFzEO.js +0 -93
- package/dist/index-Bk_HGMFV.js +0 -20578
- package/dist/index-BooO2Bml.js +0 -78
- package/dist/index-BpgixwCC.js +0 -83
- package/dist/index-Bw3sTXPI.js +0 -8993
- package/dist/index-Bz8vSCfN.js +0 -84
- package/dist/index-CAm10a_p.js +0 -107
- package/dist/index-CGVmScXF.js +0 -470
- package/dist/index-CGi0g-VN.js +0 -627
- package/dist/index-CTD1ZbEQ.js +0 -873
- package/dist/index-CV_jQDcg.js +0 -9
- package/dist/index-CWOXvFfD.js +0 -44
- package/dist/index-Ch_Lf81f.js +0 -63004
- package/dist/index-CjsQSzV6.js +0 -572
- package/dist/index-Ck_oTi7E.js +0 -25297
- package/dist/index-CydXQbtX.js +0 -622
- package/dist/index-DAJxL40d.js +0 -55
- package/dist/index-DBsEVMiM.js +0 -201
- package/dist/index-DG4hoOWt.js +0 -665
- package/dist/index-DUbk5m5P.js +0 -99
- package/dist/index-Ds6m_4JJ.js +0 -28500
- package/dist/index-DupTchhl.js +0 -1000
- package/dist/index-DyCq_odP.js +0 -331
- package/dist/index-DynGQqC3.js +0 -93
- package/dist/index-UB_oCdlo.js +0 -62
- package/dist/index-YjBTGOkO.js +0 -61
- package/dist/index-ib1DMe8v.js +0 -98
- package/dist/index-jbOjjV0j.js +0 -447
- package/dist/index-ke-XsSa7.js +0 -30
- package/dist/index-lPVVum78.js +0 -48
- package/dist/index-rlStojTL.js +0 -52
- package/dist/index-uF-ibwG0.js +0 -9
- package/dist/isString-0ZglyOfu.js +0 -8
- package/dist/localIcon-D5UoFBU5.js +0 -76
- package/dist/main-1uytY6Nj.js +0 -502
- package/dist/menuIndex-BB0uVPRX.js +0 -159
- package/dist/request-1RPa2bBn.js +0 -9048
- package/dist/threeModel-BEmaHjYZ.js +0 -1109
- package/dist/threePreview-D7ncVQLV.js +0 -2810
- package/dist/threeSceneView-ClvW-1FZ.js +0 -1290
- package/dist/threeSceneViewForCPMPIP-D7zwZFBW.js +0 -539
- package/dist/threeTrackPathView-VySiazeH.js +0 -620
- package/dist/threeViewerHost-sD-GHVTI.js +0 -233
- package/dist/urdfTree-B-7DfE39.js +0 -254
- package/dist/workpieceTreePanel-DB06G34P.js +0 -559
- package/public/icons/svg/functionList.svg +0 -1
- package/public/icons/svg/method.svg +0 -1
- /package/dist/icons/svg/{tableClose.svg → table-close.svg} +0 -0
- /package/dist/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
- /package/dist/icons/svg/{Update.svg → update.svg} +0 -0
- /package/public/icons/svg/{tableClose.svg → table-close.svg} +0 -0
- /package/public/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
- /package/public/icons/svg/{Update.svg → update.svg} +0 -0
package/dist/index-DBsEVMiM.js
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
import { defineComponent as W, ref as z, computed as N, watch as y, nextTick as V, onMounted as k, onUnmounted as G, resolveComponent as $, createElementBlock as L, openBlock as w, createBlock as q } from "vue";
|
|
2
|
-
import { b as J, p as h, s as v, d as Q, a as X, u as Y, g as Z, v as p } from "./index-Bw3sTXPI.js";
|
|
3
|
-
import { l as ee } from "./index-DAJxL40d.js";
|
|
4
|
-
import { useRouter as te } from "vue-router";
|
|
5
|
-
import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
7
|
-
__name: "index",
|
|
8
|
-
props: {
|
|
9
|
-
windowConfig: {
|
|
10
|
-
type: Object,
|
|
11
|
-
default: () => {
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
systemInfo: {
|
|
15
|
-
type: Object,
|
|
16
|
-
default: () => {
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
systemKey: {
|
|
20
|
-
type: String,
|
|
21
|
-
default: ""
|
|
22
|
-
},
|
|
23
|
-
pathContent: {
|
|
24
|
-
type: String,
|
|
25
|
-
default: ""
|
|
26
|
-
},
|
|
27
|
-
mode: {
|
|
28
|
-
type: String,
|
|
29
|
-
default: "view"
|
|
30
|
-
},
|
|
31
|
-
content: {
|
|
32
|
-
type: String,
|
|
33
|
-
default: ""
|
|
34
|
-
},
|
|
35
|
-
jsonContents: {
|
|
36
|
-
type: Array,
|
|
37
|
-
default: () => []
|
|
38
|
-
},
|
|
39
|
-
showButton: {
|
|
40
|
-
type: Boolean,
|
|
41
|
-
default: !1
|
|
42
|
-
},
|
|
43
|
-
nodeDev: {
|
|
44
|
-
type: String,
|
|
45
|
-
default: ""
|
|
46
|
-
},
|
|
47
|
-
pageKey: {
|
|
48
|
-
type: String,
|
|
49
|
-
default: ""
|
|
50
|
-
},
|
|
51
|
-
interfaceContent: {
|
|
52
|
-
type: Array,
|
|
53
|
-
default: () => []
|
|
54
|
-
},
|
|
55
|
-
loginContent: {
|
|
56
|
-
type: Object,
|
|
57
|
-
default: () => {
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
menuFiles: {
|
|
61
|
-
type: Array,
|
|
62
|
-
default: () => []
|
|
63
|
-
},
|
|
64
|
-
workspaceHistoryData: {
|
|
65
|
-
type: Array,
|
|
66
|
-
default: () => []
|
|
67
|
-
},
|
|
68
|
-
// 用于打开/拣选工作区
|
|
69
|
-
workspaceInfo: {
|
|
70
|
-
type: Object,
|
|
71
|
-
default: () => []
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
emits: ["buildContent", "openThreeBuild", "threeData", "setLoginInfo", "projectLogin", "updateApiUrl", "clearFileContent", "systemContent", "getMenuPathValue", "executeWorkspace", "updateVersion"],
|
|
75
|
-
setup(m, { emit: _ }) {
|
|
76
|
-
const A = te(), d = J(h), { loginUserInfo: s } = v(d), { initSystemInfo: D } = Q(), F = X(h), { refreshLogin: E } = v(F), f = Y(h), g = z(!0), { activeMenuPath: I } = v(f), e = m, o = _, j = N(() => {
|
|
77
|
-
var t, n;
|
|
78
|
-
return (e == null ? void 0 : e.showButton) || ((n = (t = s.value) == null ? void 0 : t.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
|
|
79
|
-
}), B = (t) => {
|
|
80
|
-
o("systemContent", t);
|
|
81
|
-
}, M = () => {
|
|
82
|
-
o("updateVersion");
|
|
83
|
-
}, T = () => {
|
|
84
|
-
o("clearFileContent");
|
|
85
|
-
};
|
|
86
|
-
y(
|
|
87
|
-
() => e == null ? void 0 : e.menuFiles,
|
|
88
|
-
() => {
|
|
89
|
-
var t;
|
|
90
|
-
((t = e == null ? void 0 : e.menuFiles) == null ? void 0 : t.length) > 0 && f.setLocalFiles(e == null ? void 0 : e.menuFiles);
|
|
91
|
-
},
|
|
92
|
-
{ deep: !0, immediate: !0 }
|
|
93
|
-
), y(
|
|
94
|
-
() => I.value,
|
|
95
|
-
async () => {
|
|
96
|
-
var n, a;
|
|
97
|
-
let t = await Z({
|
|
98
|
-
platId: parseInt((n = s == null ? void 0 : s.value) == null ? void 0 : n.plat_id)
|
|
99
|
-
});
|
|
100
|
-
t = (a = t == null ? void 0 : t.data) == null ? void 0 : a.result, f.setDataFiles(t), o("getMenuPathValue", I.value);
|
|
101
|
-
},
|
|
102
|
-
{ deep: !0, immediate: !0 }
|
|
103
|
-
), y(
|
|
104
|
-
() => e == null ? void 0 : e.loginContent,
|
|
105
|
-
async () => {
|
|
106
|
-
var n, a, u, l;
|
|
107
|
-
g.value = !0;
|
|
108
|
-
let t = e == null ? void 0 : e.loginContent;
|
|
109
|
-
if (t != null && t.account && (t != null && t.password) && !E.value && (await ee(t), status)) {
|
|
110
|
-
let c = await p();
|
|
111
|
-
o("systemContent", c == null ? void 0 : c.allMenuContents), A.push("/"), d.setLogRecordAsync({
|
|
112
|
-
type: "登录",
|
|
113
|
-
data: {
|
|
114
|
-
account: ((n = s.value) == null ? void 0 : n.account) ?? ((a = s.value) == null ? void 0 : a.账号),
|
|
115
|
-
userName: ((u = s.value) == null ? void 0 : u.姓名) || ((l = s.value) == null ? void 0 : l.userName) || "未知"
|
|
116
|
-
}
|
|
117
|
-
}, "/login", "login"), f.setHasClickEditComp(!1);
|
|
118
|
-
}
|
|
119
|
-
g.value = !1, await V();
|
|
120
|
-
},
|
|
121
|
-
{ deep: !0, immediate: !0 }
|
|
122
|
-
);
|
|
123
|
-
const b = (t) => {
|
|
124
|
-
o("projectLogin", t);
|
|
125
|
-
}, x = () => {
|
|
126
|
-
o("projectLogin", "");
|
|
127
|
-
};
|
|
128
|
-
y(() => [e == null ? void 0 : e.systemKey, e == null ? void 0 : e.systemInfo], async ([t, n]) => {
|
|
129
|
-
d.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
|
|
130
|
-
}, { immediate: !0 }), y(
|
|
131
|
-
() => e == null ? void 0 : e.interfaceContent,
|
|
132
|
-
() => {
|
|
133
|
-
var a, u, l, c, r;
|
|
134
|
-
if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((a = e == null ? void 0 : e.interfaceContent) == null ? void 0 : a.length) === 0) return;
|
|
135
|
-
let t = (u = e == null ? void 0 : e.interfaceContent) == null ? void 0 : u.find((i) => i == null ? void 0 : i.includes("VITE_API_NEW_URL")), n = (l = e == null ? void 0 : e.interfaceContent) == null ? void 0 : l.find((i) => i == null ? void 0 : i.includes("VITE_FACE_RECOGNITION_API_URL"));
|
|
136
|
-
n = (c = n == null ? void 0 : n.split("=")) == null ? void 0 : c[1], n = n == null ? void 0 : n.trim(), t = (r = t == null ? void 0 : t.split("=")) == null ? void 0 : r[1], t = t == null ? void 0 : t.trim(), d.setExtraUrl(n ?? ""), d.setSystemUrl(t ?? "");
|
|
137
|
-
},
|
|
138
|
-
{ immediate: !0, deep: !0 }
|
|
139
|
-
), k(async () => {
|
|
140
|
-
e.systemInfo ? d.setSystemInfo(e.systemInfo) : await D();
|
|
141
|
-
});
|
|
142
|
-
const K = () => {
|
|
143
|
-
o("buildContent");
|
|
144
|
-
}, R = () => {
|
|
145
|
-
o("setLoginInfo");
|
|
146
|
-
}, U = (t) => {
|
|
147
|
-
o("openThreeBuild", t);
|
|
148
|
-
}, H = (t) => {
|
|
149
|
-
o("threeData", t);
|
|
150
|
-
}, O = (t) => {
|
|
151
|
-
o("updateApiUrl", t);
|
|
152
|
-
}, P = (t) => {
|
|
153
|
-
o("executeWorkspace", t);
|
|
154
|
-
}, C = () => {
|
|
155
|
-
var r, i, S;
|
|
156
|
-
const t = e != null && e.windowConfig ? (r = e == null ? void 0 : e.windowConfig) == null ? void 0 : r.width : window.innerWidth, n = (i = e == null ? void 0 : e.windowConfig) != null && i.height ? (S = e == null ? void 0 : e.windowConfig) == null ? void 0 : S.height : window.innerHeight;
|
|
157
|
-
f.setSystemHeight(n);
|
|
158
|
-
const a = 1920, u = 16, l = t / a, c = u * l;
|
|
159
|
-
document.documentElement.style.fontSize = `${c}px`;
|
|
160
|
-
};
|
|
161
|
-
return k(() => {
|
|
162
|
-
C(), window.addEventListener("resize", C);
|
|
163
|
-
}), G(() => {
|
|
164
|
-
window.removeEventListener("resize", C);
|
|
165
|
-
}), (t, n) => {
|
|
166
|
-
const a = $("router-view");
|
|
167
|
-
return w(), L("div", null, [
|
|
168
|
-
g.value ? (w(), L("div", oe)) : (w(), q(a, {
|
|
169
|
-
key: 1,
|
|
170
|
-
mode: e == null ? void 0 : e.mode,
|
|
171
|
-
content: e == null ? void 0 : e.content,
|
|
172
|
-
jsonContents: e == null ? void 0 : e.jsonContents,
|
|
173
|
-
pathContent: e == null ? void 0 : e.pathContent,
|
|
174
|
-
showButton: j.value,
|
|
175
|
-
nodeDev: e == null ? void 0 : e.nodeDev,
|
|
176
|
-
windowConfig: m.windowConfig,
|
|
177
|
-
systemInfo: m.systemInfo,
|
|
178
|
-
"old-systemKey": m.systemKey,
|
|
179
|
-
onBuildContent: K,
|
|
180
|
-
onProjectLogin: b,
|
|
181
|
-
onClearLogin: x,
|
|
182
|
-
onUpdateApiUrl: O,
|
|
183
|
-
onOpenThreeBuild: U,
|
|
184
|
-
pageKey: m.pageKey,
|
|
185
|
-
onThreeData: H,
|
|
186
|
-
onSetLoginInfo: R,
|
|
187
|
-
loginContent: e == null ? void 0 : e.loginContent,
|
|
188
|
-
onUpdateVersion: M,
|
|
189
|
-
onClearFileContent: T,
|
|
190
|
-
onSystemContent: B,
|
|
191
|
-
onExecuteWorkspace: P,
|
|
192
|
-
workspaceHistoryData: e == null ? void 0 : e.workspaceHistoryData,
|
|
193
|
-
workspaceInfo: e == null ? void 0 : e.workspaceInfo
|
|
194
|
-
}, null, 8, ["mode", "content", "jsonContents", "pathContent", "showButton", "nodeDev", "windowConfig", "systemInfo", "old-systemKey", "pageKey", "loginContent", "workspaceHistoryData", "workspaceInfo"]))
|
|
195
|
-
]);
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
}), de = /* @__PURE__ */ ne(ae, [["__scopeId", "data-v-201a6b2b"]]);
|
|
199
|
-
export {
|
|
200
|
-
de as default
|
|
201
|
-
};
|