ss-component-new 1.3.667 → 1.3.668

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 (88) hide show
  1. package/dist/JSEncrypt-B36c1iN5.js +1983 -0
  2. package/dist/MTLLoader-97ajvYTo.js +657 -0
  3. package/dist/URDFLoader-BTohsFFD.js +2299 -0
  4. package/dist/animationData-Bh1dENkM.js +83 -0
  5. package/dist/array-BeZlnHE5.js +1045 -0
  6. package/dist/clone-64Nh3RrP.js +8 -0
  7. package/dist/config.js +1 -1
  8. package/dist/eleIcon-DlIcb4df.js +29 -0
  9. package/dist/iconfont-DLildctL.js +1018 -0
  10. package/dist/icons/svg/Update.svg +1 -0
  11. package/dist/icons/svg/functionList.svg +1 -0
  12. package/dist/icons/svg/uploadCopy.svg +1 -0
  13. package/dist/index-11kpzK0A.js +209 -0
  14. package/dist/index-8ZSWGLlP.js +664 -0
  15. package/dist/index-B24zodK9.js +48 -0
  16. package/dist/index-BAILi3_p.js +627 -0
  17. package/dist/index-BEqKA-R8.js +342 -0
  18. package/dist/{index-BKK_dL6t.js → index-BHtNKL1L.js} +1 -1
  19. package/dist/index-BI0lhlHy.js +107 -0
  20. package/dist/index-BaGFPX8W.js +103 -0
  21. package/dist/index-BosPsk5k.js +83 -0
  22. package/dist/index-Byq7jT-a.js +470 -0
  23. package/dist/index-CDuL9GwS.js +8985 -0
  24. package/dist/index-CG1vGzHt.js +44 -0
  25. package/dist/index-CJySKIdc.js +61 -0
  26. package/dist/index-COgke2F-.js +119 -0
  27. package/dist/index-CRwB8jQA.js +572 -0
  28. package/dist/index-CUfQEUxH.js +873 -0
  29. package/dist/index-CV_jQDcg.js +9 -0
  30. package/dist/{index-BobGeNMx.js → index-ChNfRlIP.js} +5 -5
  31. package/dist/index-ChtDRE_0.js +62 -0
  32. package/dist/index-ClXCn3x3.js +84 -0
  33. package/dist/index-CqjkyYQM.js +55 -0
  34. package/dist/index-CzGgc0w7.js +98 -0
  35. package/dist/index-CzMViO4H.js +28484 -0
  36. package/dist/index-D9fiFfMC.js +201 -0
  37. package/dist/index-DL9OWmfj.js +93 -0
  38. package/dist/index-DNzOZL27.js +1000 -0
  39. package/dist/index-DQHZjNCb.js +24423 -0
  40. package/dist/index-DSIS-l1N.js +93 -0
  41. package/dist/index-DTudxHP8.js +11815 -0
  42. package/dist/index-DU0QRffL.js +30 -0
  43. package/dist/index-DibaunZs.js +61957 -0
  44. package/dist/index-DkXSSUDS.js +447 -0
  45. package/dist/index-DlFmNKos.js +99 -0
  46. package/dist/index-DnRdT_Vp.js +78 -0
  47. package/dist/index-SOPMlMak.js +622 -0
  48. package/dist/index-aibiYft7.js +411 -0
  49. package/dist/index-rlStojTL.js +52 -0
  50. package/dist/index-uF-ibwG0.js +9 -0
  51. package/dist/index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CdPZBari.js +137703 -0
  52. package/dist/isString-h0UV2hrP.js +8 -0
  53. package/dist/localIcon-D5UoFBU5.js +76 -0
  54. package/dist/main-C7ijH7Xb.js +502 -0
  55. package/dist/menuIndex-CycdWV7s.js +159 -0
  56. package/dist/obj/model.mtl +42 -0
  57. package/dist/obj/model.obj +26110 -0
  58. package/dist/request-DolpfyNJ.js +9047 -0
  59. package/dist/ss-component.css +8 -2
  60. package/dist/ss-component.js +64 -28
  61. package/dist/ss-component2.js +75 -15
  62. package/dist/ss-component3.js +1 -1
  63. package/dist/threeModel-BQDoEUp8.js +1108 -0
  64. package/dist/threePreview-CIDX4oie.js +2259 -0
  65. package/dist/threeSceneView-C17oeWoh.js +1290 -0
  66. package/dist/threeSceneViewForCPMPIP-C1NcTzgS.js +539 -0
  67. package/dist/threeTrackPathView-BvI1Y9Qf.js +620 -0
  68. package/dist/threeViewerHost-Cs8SXBpW.js +233 -0
  69. package/dist/urdfTree-Dkdd2JSt.js +254 -0
  70. package/dist/workpieceTreePanel-VMAn_xKW.js +559 -0
  71. package/package.json +4 -4
  72. package/public/config.js +1 -1
  73. package/public/icons/svg/Update.svg +1 -0
  74. package/public/icons/svg/functionList.svg +1 -0
  75. package/public/icons/svg/uploadCopy.svg +1 -0
  76. package/public/obj/model.mtl +42 -0
  77. package/public/obj/model.obj +26110 -0
  78. package/dist/index-CCShKHTf.js +0 -50
  79. package/dist/index-CHLS51j8.js +0 -1044
  80. package/dist/index-Ccv8qbdo.js +0 -9091
  81. package/dist/index-D2V0zCQE.js +0 -195
  82. package/dist/index-DgjdKpj-.js +0 -182
  83. package/dist/menu-B8iV5Rhf.js +0 -5215
  84. package/dist/origin-B7bb-ZcE.js +0 -11428
  85. /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  86. /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
  87. /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  88. /package/public/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
@@ -0,0 +1,9 @@
1
+ import { _ as e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
2
+ const r = {};
3
+ function c(n, t) {
4
+ return " 333 ";
5
+ }
6
+ const o = /* @__PURE__ */ e(r, [["render", c]]);
7
+ export {
8
+ o as default
9
+ };
@@ -587,10 +587,10 @@ export {
587
587
  e as a,
588
588
  u as b,
589
589
  o as c,
590
- t as d,
591
- n as e,
592
- l as f,
593
- m as g,
594
- a as h,
590
+ a as d,
591
+ t as e,
592
+ n as f,
593
+ l as g,
594
+ m as h,
595
595
  i as t
596
596
  };
@@ -0,0 +1,62 @@
1
+ import { s as h, b as l, p as w, A as F } from "./index-CDuL9GwS.js";
2
+ import { s as f } from "./request-DolpfyNJ.js";
3
+ import { watch as p } from "vue";
4
+ const P = l(w), { systemUrl: s, extraUrl: o } = h(P);
5
+ let d = s.value === "" || !s.value ? "http://222.92.178.198:63002" : s.value, m = o.value === "" || !o.value ? "http://139.196.154.85:20015" : o.value;
6
+ p(
7
+ () => s.value,
8
+ () => {
9
+ d = s.value === "" || !s.value ? "http://222.92.178.198:63002" : s.value;
10
+ },
11
+ { deep: !0, immediate: !0 }
12
+ );
13
+ p(
14
+ () => o.value,
15
+ () => {
16
+ m = o.value === "" || !o.value ? "http://139.196.154.85:20015" : o.value;
17
+ },
18
+ { deep: !0, immediate: !0 }
19
+ );
20
+ function S(a) {
21
+ return f({
22
+ url: m + "/api/face/face-verify",
23
+ method: "post",
24
+ data: a
25
+ });
26
+ }
27
+ function V(a) {
28
+ return f({
29
+ url: d + "/platform/updatedata_faceURL",
30
+ method: "post",
31
+ data: a
32
+ });
33
+ }
34
+ const b = () => {
35
+ const a = l(), { platId: v, userName: y, account: u, isSuperAdmin: g } = F(), c = async (t) => {
36
+ if (!t)
37
+ return;
38
+ const e = new FormData();
39
+ e.set("file", t);
40
+ const r = a.systemInfo.plat_id;
41
+ return e.set("systemKey", r), await S(e);
42
+ };
43
+ return { updateFacePhoto: async (t) => {
44
+ const e = a.loginUserInfo, { password: r } = e || {}, n = {
45
+ platId: v.value,
46
+ userName: y.value,
47
+ password: r,
48
+ faceURL: t
49
+ };
50
+ g.value && (n.platId = ""), await V(n);
51
+ }, initVerifySelf: async (t) => {
52
+ var i;
53
+ const e = await c(t), { account: r, password: n } = ((i = e == null ? void 0 : e.data) == null ? void 0 : i.data) || {};
54
+ if (!u)
55
+ return !1;
56
+ const I = a.loginUserInfo, { password: U } = I || {};
57
+ return r === u.value && n === U;
58
+ }, initVerify: async (t) => await c(t) };
59
+ };
60
+ export {
61
+ b as u
62
+ };
@@ -0,0 +1,84 @@
1
+ import { ref as x, onMounted as _, createElementBlock as g, openBlock as y, createVNode as C } from "vue";
2
+ import { s as b } from "./index-B24zodK9.js";
3
+ import { c as s } from "./index-CDuL9GwS.js";
4
+ import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ const A = (t, n, a) => {
6
+ var r, d, p, m;
7
+ let e = n;
8
+ e.title.text = (a == null ? void 0 : a.chartName) ?? "", e.xAxis.data = (r = s(t)) == null ? void 0 : r.map((i) => i.x), e.legend.data = (p = (d = s(t)) == null ? void 0 : d[0]) != null && p.y ? Object.keys(s(t)[0].y) : [];
9
+ let o = [];
10
+ return ((m = e.legend.data) == null ? void 0 : m.length) > 0 && s(e.legend.data).forEach((i) => {
11
+ var f;
12
+ const h = (f = s(t)) == null ? void 0 : f.map((l) => {
13
+ var u;
14
+ return (u = l == null ? void 0 : l.y) == null ? void 0 : u[i];
15
+ });
16
+ o.push({
17
+ name: i,
18
+ type: "line",
19
+ data: h
20
+ });
21
+ }), e.series = o, e;
22
+ }, c = [
23
+ {
24
+ key: "折线图",
25
+ value: {
26
+ title: {
27
+ text: "",
28
+ // 标题文本
29
+ left: "center",
30
+ // 水平居中
31
+ top: 25,
32
+ // 距离顶部距离
33
+ textStyle: {
34
+ // 文本样式
35
+ color: "#333",
36
+ fontSize: 18,
37
+ fontWeight: "bold"
38
+ }
39
+ },
40
+ tooltip: {
41
+ trigger: "axis"
42
+ },
43
+ legend: {
44
+ data: []
45
+ },
46
+ grid: {
47
+ left: "6%",
48
+ right: "4%",
49
+ bottom: "3%",
50
+ containLabel: !0
51
+ },
52
+ xAxis: {
53
+ type: "category",
54
+ axisLabel: {
55
+ interval: 0
56
+ // 强制显示所有标签
57
+ },
58
+ data: []
59
+ },
60
+ yAxis: {
61
+ type: "value"
62
+ },
63
+ series: []
64
+ }
65
+ }
66
+ ], v = { class: "eCharts" }, D = {
67
+ __name: "index",
68
+ props: {
69
+ eChartContents: Array
70
+ },
71
+ setup(t) {
72
+ const n = t, a = x({});
73
+ return _(() => {
74
+ var o;
75
+ const e = n == null ? void 0 : n.eChartContents;
76
+ a.value = A(s(e == null ? void 0 : e.compData), (o = c == null ? void 0 : c.find((r) => (r == null ? void 0 : r.key) === (e == null ? void 0 : e.name))) == null ? void 0 : o.value, e == null ? void 0 : e.extraContent);
77
+ }), (e, o) => (y(), g("div", v, [
78
+ C(b, { optionContents: a.value }, null, 8, ["optionContents"])
79
+ ]));
80
+ }
81
+ }, N = /* @__PURE__ */ k(D, [["__scopeId", "data-v-0440fac3"]]);
82
+ export {
83
+ N as default
84
+ };
@@ -0,0 +1,55 @@
1
+ import { f as P, h as C, d as L, b, p as N, s as R, i as T } from "./index-CDuL9GwS.js";
2
+ import { E as k } from "./request-DolpfyNJ.js";
3
+ const A = b(N), { isDefaultModel: D } = L(), E = async (c, a) => {
4
+ var l, n, r, i, s, d, g, p, f, _, y, h, S, w;
5
+ let e = Object.values(c), t = await P({
6
+ userName: (l = e == null ? void 0 : e[0]) == null ? void 0 : l.trim(),
7
+ password: (n = e == null ? void 0 : e[1]) == null ? void 0 : n.trim()
8
+ });
9
+ if (((r = t == null ? void 0 : t.data) == null ? void 0 : r.status) === 200 && ((s = (i = t == null ? void 0 : t.data) == null ? void 0 : i.result) == null ? void 0 : s.length) <= 0 && (t = await C({
10
+ userName: (d = e == null ? void 0 : e[0]) == null ? void 0 : d.trim(),
11
+ password: (g = e == null ? void 0 : e[1]) == null ? void 0 : g.trim(),
12
+ path: "系统管理/用户管理",
13
+ platId: a
14
+ })), ((p = t == null ? void 0 : t.data) == null ? void 0 : p.status) === 200 && ((_ = (f = t == null ? void 0 : t.data) == null ? void 0 : f.result) == null ? void 0 : _.length) > 0) {
15
+ const o = ((h = (y = t == null ? void 0 : t.data) == null ? void 0 : y.result) == null ? void 0 : h.find((M) => D(M))) || ((w = (S = t == null ? void 0 : t.data) == null ? void 0 : S.result) == null ? void 0 : w[0]);
16
+ sessionStorage.setItem("systemKey", a && a !== "" ? a : o == null ? void 0 : o.plat_id);
17
+ let m = o;
18
+ return m.plat_id = m.plat_id ?? a, A.setLoginUserInfo(m), A.setSystemKey(a && a !== "" ? a : o == null ? void 0 : o.plat_id), !0;
19
+ } else
20
+ return k.error("输入的密码错误,请重新输入"), !1;
21
+ }, K = b(N), { systemInfo: q, loginUserInfo: u } = R(K), O = async () => (sessionStorage.setItem("loginToken", "111"), !0), x = async () => (sessionStorage.setItem("magicToken", "123456"), !0), I = async (c) => {
22
+ var n, r, i;
23
+ let a = [E(c, (n = q.value) == null ? void 0 : n.plat_id), O(), x()];
24
+ const e = await Promise.all(a), t = e == null ? void 0 : e.every((s) => s);
25
+ let l = [
26
+ {
27
+ id: "1",
28
+ request_method: "Post",
29
+ request_url: "/platform/getdata",
30
+ request_param: JSON.stringify({
31
+ userName: "hjj",
32
+ password: "1"
33
+ }),
34
+ request_result: "{}",
35
+ is_delete: !1,
36
+ request_table: "admin_user",
37
+ request_type: "login"
38
+ }
39
+ ];
40
+ try {
41
+ const s = ((r = u == null ? void 0 : u.value) == null ? void 0 : r.plat_id) || ((i = q.value) == null ? void 0 : i.plat_id);
42
+ return await T({
43
+ platId: parseInt(s),
44
+ changeContents: [{
45
+ tableName: "log",
46
+ tableContents: l
47
+ }]
48
+ }), t;
49
+ } catch {
50
+ return t;
51
+ }
52
+ };
53
+ export {
54
+ I as l
55
+ };
@@ -0,0 +1,98 @@
1
+ import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
2
+ import { u as h, p as k, s as x, c as m } from "./index-CDuL9GwS.js";
3
+ import { V as M } from "./index-DibaunZs.js";
4
+ import { a as D, d as T, f as S } from "./index-CG1vGzHt.js";
5
+ import { g as w } from "./index-CJySKIdc.js";
6
+ import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
+ const N = { class: "menu-content" }, E = /* @__PURE__ */ y({
8
+ __name: "index",
9
+ setup(I) {
10
+ const p = h(k), { menus: b } = x(p), r = C([]), f = async () => {
11
+ var o, l, t, a;
12
+ const e = await w({
13
+ key: {
14
+ type: "mainEquip",
15
+ systemKey: sessionStorage.getItem("systemKey")
16
+ }
17
+ });
18
+ if (((o = e == null ? void 0 : e.data) == null ? void 0 : o.type) === "success") {
19
+ let i = (t = (l = e == null ? void 0 : e.data) == null ? void 0 : l.result) == null ? void 0 : t.map((s) => s);
20
+ return i = (a = m(i)) == null ? void 0 : a.map((s) => {
21
+ var n;
22
+ const u = Object.values((n = s == null ? void 0 : s.value) == null ? void 0 : n.tableData);
23
+ return u.unshift({
24
+ id: s == null ? void 0 : s.id
25
+ }), u;
26
+ }), i;
27
+ } else
28
+ return [];
29
+ };
30
+ _(async () => {
31
+ var t;
32
+ const e = await f(), l = [
33
+ {
34
+ key: "header",
35
+ contents: [
36
+ {
37
+ label: "主菜单名称",
38
+ formType: "Select",
39
+ options: (t = m(b.value)) == null ? void 0 : t.map((a) => ({
40
+ label: a == null ? void 0 : a.title,
41
+ value: a == null ? void 0 : a.title
42
+ })),
43
+ prop: "主菜单名称"
44
+ },
45
+ {
46
+ label: "隐藏三维显示",
47
+ formType: "Switch",
48
+ value: !1,
49
+ prop: "隐藏三维显示"
50
+ },
51
+ {
52
+ label: "操作"
53
+ }
54
+ ]
55
+ },
56
+ {
57
+ key: "extraButton",
58
+ contents: [
59
+ {
60
+ label: "新增"
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ key: "rowButton",
66
+ contents: [
67
+ {
68
+ label: "查看"
69
+ },
70
+ {
71
+ label: "编辑"
72
+ },
73
+ {
74
+ label: "删除"
75
+ }
76
+ ]
77
+ }
78
+ ];
79
+ l.push({
80
+ key: "tableContents",
81
+ contents: e
82
+ }), r.value = l;
83
+ });
84
+ const d = (e) => {
85
+ (e == null ? void 0 : e.buttonName) === "新增" ? D(e == null ? void 0 : e.singleContent) : (e == null ? void 0 : e.buttonName) === "删除" ? T(e == null ? void 0 : e.singleContent) : (e == null ? void 0 : e.buttonName) === "编辑" && S(e == null ? void 0 : e.singleContent);
86
+ };
87
+ return (e, o) => (g(), c("div", N, [
88
+ v(M, {
89
+ itemData: r.value,
90
+ class: "table-content",
91
+ onChange: d
92
+ }, null, 8, ["itemData"])
93
+ ]));
94
+ }
95
+ }), O = /* @__PURE__ */ B(E, [["__scopeId", "data-v-26f5cadc"]]);
96
+ export {
97
+ O as default
98
+ };