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.
- package/dist/config.js +1 -1
- package/dist/index-0g0DP0Sz.js +1044 -0
- package/dist/index-BDCuosQJ.js +50 -0
- package/dist/index-BxJpjRsQ.js +50711 -0
- package/dist/index-C1ELjCn7.js +181 -0
- package/dist/index-CEUQmw5e.js +58 -0
- package/dist/index-CndLgFR1.js +35 -0
- package/dist/index-DlDwzFUG.js +213 -0
- package/dist/{index-ChNfRlIP.js → index-DyhB-cd1.js} +253 -18
- package/dist/index-IoMa0kLh.js +27 -0
- package/dist/menu-HTA6NZEd.js +5208 -0
- package/dist/platform-DoyWecim.js +11429 -0
- package/dist/ss-component.css +2 -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 +10 -8
- package/public/config.js +1 -1
- package/dist/JSEncrypt-B36c1iN5.js +0 -1983
- package/dist/MTLLoader-CkNZudBE.js +0 -657
- package/dist/URDFLoader-DIzEVzUD.js +0 -2299
- package/dist/__vite-browser-external-DYxpcVy9.js +0 -4
- package/dist/animationData-DvL_4GZ5.js +0 -83
- package/dist/array-BN2tTnqd.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-BwY2qVoK.js +0 -1030
- 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-5S_ATziA.js +0 -25341
- package/dist/index-B0H3C7WG.js +0 -103
- package/dist/index-B6ePvQgB.js +0 -83
- package/dist/index-BHtNKL1L.js +0 -27
- package/dist/index-BbyrFzEO.js +0 -93
- package/dist/index-Bej2dPck.js +0 -873
- package/dist/index-BooO2Bml.js +0 -78
- package/dist/index-BqZj6gM7.js +0 -470
- package/dist/index-Bw3sTXPI.js +0 -8993
- package/dist/index-BzUgGzuc.js +0 -48
- package/dist/index-C9nks7xM.js +0 -30
- package/dist/index-CGi0g-VN.js +0 -627
- package/dist/index-CV_jQDcg.js +0 -9
- package/dist/index-CWOXvFfD.js +0 -44
- package/dist/index-CYwlat81.js +0 -20578
- package/dist/index-Cflxz2Xv.js +0 -572
- package/dist/index-Ch8te5LO.js +0 -411
- package/dist/index-Ckqlxqaw.js +0 -119
- package/dist/index-CpGn7sfE.js +0 -93
- 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-DbHIH067.js +0 -107
- package/dist/index-Dhjj5seQ.js +0 -98
- 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-Ru-cNTPj.js +0 -84
- package/dist/index-UB_oCdlo.js +0 -62
- package/dist/index-XcH1poa0.js +0 -63306
- package/dist/index-YjBTGOkO.js +0 -61
- package/dist/index-jbOjjV0j.js +0 -447
- package/dist/index-rlStojTL.js +0 -52
- package/dist/index-uF-ibwG0.js +0 -9
- package/dist/index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-C2itW9KG.js +0 -137927
- package/dist/isString-0ZglyOfu.js +0 -8
- package/dist/localIcon-D5UoFBU5.js +0 -76
- package/dist/main-BCc8TzAj.js +0 -502
- package/dist/menuIndex-BB0uVPRX.js +0 -159
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/dist/pyodide-Dc1Mu-0d.js +0 -489
- package/dist/request-1RPa2bBn.js +0 -9048
- package/dist/threeModel-BXXLFYOy.js +0 -1109
- package/dist/threePreview-DUfFZQ5q.js +0 -3091
- package/dist/threeSceneView-Dez2tha0.js +0 -1290
- package/dist/threeSceneViewForCPMPIP-DDk128w_.js +0 -539
- package/dist/threeTrackPathView-DmE9QE_0.js +0 -620
- package/dist/threeViewerHost-7g8xu3oh.js +0 -233
- package/dist/urdfTree-VRms7Vm3.js +0 -254
- package/dist/workpieceTreePanel-DCSz_IDY.js +0 -559
- package/public/icons/svg/functionList.svg +0 -1
- package/public/icons/svg/method.svg +0 -1
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
- /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
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { e as w, h as N, u as S, E as b, i as v } from "./platform-DoyWecim.js";
|
|
2
|
+
import { p as h, s as A } from "./menu-HTA6NZEd.js";
|
|
3
|
+
const y = S(h), { isDefaultModel: M } = N(), P = async (m, s) => {
|
|
4
|
+
var u, o, r, i, a, d, g, p, f;
|
|
5
|
+
let t = Object.values(m), e = await w({
|
|
6
|
+
userName: (u = t == null ? void 0 : t[0]) == null ? void 0 : u.trim(),
|
|
7
|
+
password: (o = t == null ? void 0 : t[1]) == null ? void 0 : o.trim()
|
|
8
|
+
});
|
|
9
|
+
if (((r = e == null ? void 0 : e.data) == null ? void 0 : r.status) === 200 && ((a = (i = e == null ? void 0 : e.data) == null ? void 0 : i.result) == null ? void 0 : a.length) > 0) {
|
|
10
|
+
const n = ((g = (d = e == null ? void 0 : e.data) == null ? void 0 : d.result) == null ? void 0 : g.find((q) => M(q))) || ((f = (p = e == null ? void 0 : e.data) == null ? void 0 : p.result) == null ? void 0 : f[0]);
|
|
11
|
+
sessionStorage.setItem("systemKey", s && s !== "" ? s : n == null ? void 0 : n.id);
|
|
12
|
+
let c = n;
|
|
13
|
+
return c.plat_id = c.id ?? s, y.setLoginUserInfo(c), y.setSystemKey(s && s !== "" ? s : n == null ? void 0 : n.id), !0;
|
|
14
|
+
} else
|
|
15
|
+
return b.error("输入的密码错误,请重新输入"), !1;
|
|
16
|
+
}, L = S(h), { systemInfo: _, loginUserInfo: l } = A(L), T = async () => (sessionStorage.setItem("loginToken", "111"), !0), j = async () => (sessionStorage.setItem("magicToken", "123456"), !0), E = async (m) => {
|
|
17
|
+
var o, r, i;
|
|
18
|
+
let s = [P(m, (o = _.value) == null ? void 0 : o.plat_id), T(), j()];
|
|
19
|
+
const t = await Promise.all(s), e = t == null ? void 0 : t.every((a) => a);
|
|
20
|
+
let u = [
|
|
21
|
+
{
|
|
22
|
+
id: "1",
|
|
23
|
+
request_method: "Post",
|
|
24
|
+
request_url: "/platform/getdata",
|
|
25
|
+
request_param: JSON.stringify({
|
|
26
|
+
userName: l.value.userName,
|
|
27
|
+
password: l.value.password
|
|
28
|
+
}),
|
|
29
|
+
request_result: "{}",
|
|
30
|
+
is_delete: !1,
|
|
31
|
+
request_table: "admin_user",
|
|
32
|
+
request_type: "login"
|
|
33
|
+
}
|
|
34
|
+
];
|
|
35
|
+
try {
|
|
36
|
+
const a = ((r = l == null ? void 0 : l.value) == null ? void 0 : r.plat_id) || ((i = _.value) == null ? void 0 : i.plat_id);
|
|
37
|
+
return await v({
|
|
38
|
+
platId: parseInt(a),
|
|
39
|
+
changeContents: [{
|
|
40
|
+
tableName: "log",
|
|
41
|
+
tableContents: u
|
|
42
|
+
}]
|
|
43
|
+
}), e;
|
|
44
|
+
} catch {
|
|
45
|
+
return e;
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
E as l
|
|
50
|
+
};
|