ss-component-new 1.3.699 → 1.3.700

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-DzQM5Czw.js +657 -0
  3. package/dist/URDFLoader-CPXooEPU.js +2299 -0
  4. package/dist/animationData-DOIhMG9C.js +83 -0
  5. package/dist/array-lig-X3M9.js +1045 -0
  6. package/dist/clone-Dp_gc9ll.js +8 -0
  7. package/dist/config.js +1 -1
  8. package/dist/eleIcon-qStmsM1q.js +29 -0
  9. package/dist/fileUtil-UOt_otFo.js +20 -0
  10. package/dist/iconfont-DwCBmDct.js +1026 -0
  11. package/dist/icons/svg/functionList.svg +1 -0
  12. package/dist/icons/svg/method.svg +1 -0
  13. package/dist/index-11kpzK0A.js +209 -0
  14. package/dist/index-B-AFi1eL.js +873 -0
  15. package/dist/index-B0H3C7WG.js +103 -0
  16. package/dist/index-BDRDpsgF.js +25297 -0
  17. package/dist/{index-BKK_dL6t.js → index-BHtNKL1L.js} +1 -1
  18. package/dist/index-BJ3RS3n_.js +63004 -0
  19. package/dist/index-BJLCuYEK.js +84 -0
  20. package/dist/index-BbyrFzEO.js +93 -0
  21. package/dist/index-Bn1_Pbpm.js +98 -0
  22. package/dist/index-BniHrGik.js +107 -0
  23. package/dist/index-BooO2Bml.js +78 -0
  24. package/dist/index-Bw3sTXPI.js +8993 -0
  25. package/dist/index-C7sOKXGv.js +48 -0
  26. package/dist/index-CGUz8yrZ.js +20503 -0
  27. package/dist/index-CGi0g-VN.js +627 -0
  28. package/dist/index-CV_jQDcg.js +9 -0
  29. package/dist/index-CWOXvFfD.js +44 -0
  30. package/dist/{index-BKoAuSBh.js → index-ChNfRlIP.js} +18 -223
  31. package/dist/index-CjlKFGAF.js +470 -0
  32. package/dist/index-CydXQbtX.js +622 -0
  33. package/dist/index-D9XVxZlg.js +411 -0
  34. package/dist/index-DAJxL40d.js +55 -0
  35. package/dist/index-DBsEVMiM.js +201 -0
  36. package/dist/index-DG4hoOWt.js +665 -0
  37. package/dist/index-DUbk5m5P.js +99 -0
  38. package/dist/index-Ds6m_4JJ.js +28500 -0
  39. package/dist/index-DupTchhl.js +1000 -0
  40. package/dist/index-DxduRnLV.js +93 -0
  41. package/dist/index-DyCq_odP.js +331 -0
  42. package/dist/index-TDMzk3L7.js +83 -0
  43. package/dist/index-UB_oCdlo.js +62 -0
  44. package/dist/index-VV2Ao7jZ.js +119 -0
  45. package/dist/index-YjBTGOkO.js +61 -0
  46. package/dist/index-erE4kNF5.js +30 -0
  47. package/dist/index-iY5h1bpA.js +572 -0
  48. package/dist/index-jbOjjV0j.js +447 -0
  49. package/dist/index-rlStojTL.js +52 -0
  50. package/dist/index-uF-ibwG0.js +9 -0
  51. package/dist/{index-DzkvwqGK.js → index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-Mr9QL-WU.js} +113317 -105434
  52. package/dist/isString-0ZglyOfu.js +8 -0
  53. package/dist/localIcon-D5UoFBU5.js +76 -0
  54. package/dist/main-Cepry4zn.js +502 -0
  55. package/dist/menuIndex-BB0uVPRX.js +159 -0
  56. package/dist/obj/model.mtl +42 -0
  57. package/dist/obj/model.obj +26110 -0
  58. package/dist/request-1RPa2bBn.js +9048 -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-DcUyC6Vh.js +1109 -0
  64. package/dist/threePreview-CbGqCMch.js +2810 -0
  65. package/dist/threeSceneView-BDyFpkq-.js +1290 -0
  66. package/dist/threeSceneViewForCPMPIP-DUSufDRq.js +539 -0
  67. package/dist/threeTrackPathView-yLEUuGXc.js +620 -0
  68. package/dist/threeViewerHost-BXdZ6Wgi.js +233 -0
  69. package/dist/urdfTree-C6mx4T9t.js +254 -0
  70. package/dist/workpieceTreePanel-DjR9f2D1.js +559 -0
  71. package/package.json +6 -8
  72. package/public/config.js +1 -1
  73. package/public/icons/svg/functionList.svg +1 -0
  74. package/public/icons/svg/method.svg +1 -0
  75. package/public/obj/model.mtl +42 -0
  76. package/public/obj/model.obj +26110 -0
  77. package/dist/index-BqyJXXmI.js +0 -213
  78. package/dist/index-CTEz1Xq6.js +0 -182
  79. package/dist/index-CrIVk8ml.js +0 -1044
  80. package/dist/index-D1ebCzlM.js +0 -50
  81. package/dist/menu-ZnhLgjWw.js +0 -5218
  82. package/dist/origin-Bs605dr-.js +0 -11468
  83. /package/dist/icons/svg/{update.svg → Update.svg} +0 -0
  84. /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  85. /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
  86. /package/public/icons/svg/{update.svg → Update.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,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-C7sOKXGv.js";
3
+ import { c as s } from "./index-Bw3sTXPI.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,93 @@
1
+ import { ref as A, computed as c, onMounted as _ } from "vue";
2
+ import { useRouter as C } from "vue-router";
3
+ import { u as g, p as h, B as R, c as b, r as S, x as E } from "./index-Bw3sTXPI.js";
4
+ const l = {
5
+ ALLOW: {
6
+ value: "允许"
7
+ },
8
+ DENY: {
9
+ value: "不允许"
10
+ }
11
+ }, M = "系统管理/用户管理", N = "用户列表", D = {
12
+ title: "个人中心",
13
+ path: "/个人中心",
14
+ level: 1,
15
+ show: !0,
16
+ icon: "个人中心",
17
+ carryData: !0,
18
+ isPenultimate: !0,
19
+ isRouter: !0,
20
+ children: [],
21
+ childMenus: []
22
+ }, K = {
23
+ BASE: {
24
+ label: "基础信息",
25
+ value: "base"
26
+ },
27
+ RESET_PASSWORD_BY_FACE_RECOGNITION: {
28
+ label: "修改密码",
29
+ value: "reset-password-by-face-recognition"
30
+ }
31
+ }, T = () => {
32
+ const u = C(), s = g(h), { platId: o, isSuperAdmin: i } = R(), p = (e) => {
33
+ const { id: t } = e;
34
+ return {
35
+ id: t,
36
+ password: "",
37
+ allow_reset_password: l.DENY.value
38
+ };
39
+ }, r = A([]), d = c(() => {
40
+ var t, a;
41
+ const e = (a = (t = r.value) == null ? void 0 : t.find) == null ? void 0 : a.call(t, (n) => n.property_name === N);
42
+ return e == null ? void 0 : e.object_id;
43
+ }), w = async () => {
44
+ var a;
45
+ const e = {
46
+ pageName: M,
47
+ platId: o.value
48
+ }, t = await S(e);
49
+ return ((a = t == null ? void 0 : t.data) == null ? void 0 : a.result) || [];
50
+ }, f = async () => {
51
+ const e = await w();
52
+ r.value = e || [];
53
+ };
54
+ _(async () => {
55
+ await f();
56
+ });
57
+ const y = c(() => `content_${d.value}`), m = async (e) => ({
58
+ platId: o.value,
59
+ changeContents: [
60
+ {
61
+ tableContents: [e],
62
+ tableName: y.value
63
+ }
64
+ ]
65
+ }), I = (e) => {
66
+ const { allow_reset_password: t } = e;
67
+ return t === l.ALLOW.value;
68
+ }, v = async (e) => {
69
+ const { id: t, password: a, allow_reset_password: n } = e;
70
+ return m({
71
+ id: t,
72
+ password: a,
73
+ allow_reset_password: n
74
+ });
75
+ }, P = async (e) => {
76
+ const t = await v(e);
77
+ return await E(t);
78
+ };
79
+ return {
80
+ isSuperAdmin: i,
81
+ toPersonalCenter: () => {
82
+ const e = b(D);
83
+ s.setAsideMenus([e]), s.setActiveMenuPath(e == null ? void 0 : e.path), s.setActiveAsideMenu(e), u.push(e.path);
84
+ },
85
+ isAllowReplacePassword: I,
86
+ initReplacePassword: async (e) => await P(e),
87
+ initEditForm: p
88
+ };
89
+ };
90
+ export {
91
+ K as t,
92
+ T as u
93
+ };
@@ -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-Bw3sTXPI.js";
3
+ import { W as M } from "./index-BJ3RS3n_.js";
4
+ import { a as D, d as T, f as S } from "./index-CWOXvFfD.js";
5
+ import { g as w } from "./index-YjBTGOkO.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
+ }), R = /* @__PURE__ */ B(E, [["__scopeId", "data-v-26f5cadc"]]);
96
+ export {
97
+ R as default
98
+ };
@@ -0,0 +1,107 @@
1
+ import { ref as l, defineComponent as m, createElementBlock as f, openBlock as p, createElementVNode as e, createVNode as u, unref as t } from "vue";
2
+ import { W as C } from "./index-BJ3RS3n_.js";
3
+ import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ const b = () => {
5
+ const i = l("日志管理"), o = l(), a = l([
6
+ {
7
+ key: "header",
8
+ contents: [
9
+ {
10
+ prop: "name",
11
+ align: "center",
12
+ isRun: !1,
13
+ label: "日志名称",
14
+ isRoute: !1,
15
+ isTableColHidden: !1,
16
+ isFormColHidden: !1
17
+ },
18
+ {
19
+ prop: "time",
20
+ align: "center",
21
+ isRun: !1,
22
+ label: "生成时间",
23
+ isRoute: !1,
24
+ isTableColHidden: !1,
25
+ isFormColHidden: !1
26
+ },
27
+ {
28
+ prop: "sort",
29
+ align: "operator",
30
+ isRun: !1,
31
+ label: "操作人",
32
+ isRoute: !1,
33
+ isTableColHidden: !1,
34
+ isFormColHidden: !1
35
+ },
36
+ {
37
+ prop: "remark",
38
+ align: "center",
39
+ isRun: !1,
40
+ label: "备注",
41
+ isRoute: !1,
42
+ isTableColHidden: !1,
43
+ isFormColHidden: !1
44
+ },
45
+ {
46
+ label: "操作",
47
+ isMainKey: !0
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ key: "extraButton",
53
+ contents: [
54
+ // { label: '新增' },
55
+ // { label: '删除' }
56
+ ]
57
+ },
58
+ {
59
+ key: "rowButton",
60
+ contents: [{ label: "删除" }]
61
+ },
62
+ { key: "tableFilter", contents: [] },
63
+ {
64
+ key: "tableContents",
65
+ contents: [[{ id: 764397741125751 }, "test", "test", "test", "test"]]
66
+ }
67
+ ]);
68
+ return {
69
+ compName: i,
70
+ changedRow: o,
71
+ tableInfo: a,
72
+ handleItemDataChange: (s) => {
73
+ },
74
+ clickRowButton: async (s, d) => {
75
+ }
76
+ };
77
+ }, h = { class: "log-management" }, k = { class: "body" }, R = /* @__PURE__ */ m({
78
+ __name: "index",
79
+ setup(i) {
80
+ const {
81
+ compName: o,
82
+ changedRow: a,
83
+ tableInfo: r,
84
+ handleItemDataChange: c,
85
+ clickRowButton: s
86
+ } = b();
87
+ return (d, n) => (p(), f("div", h, [
88
+ n[0] || (n[0] = e("div", { class: "header" }, null, -1)),
89
+ e("div", k, [
90
+ u(C, {
91
+ compName: t(o),
92
+ itemData: t(r),
93
+ changedContent: t(a),
94
+ onChange: t(c),
95
+ onOnButtonClick: t(s)
96
+ }, null, 8, ["compName", "itemData", "changedContent", "onChange", "onOnButtonClick"])
97
+ ]),
98
+ n[1] || (n[1] = e("div", { class: "footer" }, [
99
+ e("div", { class: "footer-left" }),
100
+ e("div", { class: "footer-right" })
101
+ ], -1))
102
+ ]));
103
+ }
104
+ }), H = /* @__PURE__ */ g(R, [["__scopeId", "data-v-5bfd5576"]]);
105
+ export {
106
+ H as default
107
+ };
@@ -0,0 +1,78 @@
1
+ import { watch as n } from "vue";
2
+ import { s as o, b as p, p as u } from "./index-Bw3sTXPI.js";
3
+ import { s as r } from "./request-1RPa2bBn.js";
4
+ const m = p(u), { systemUrl: a } = o(m);
5
+ let e = a.value === "" || !a.value ? "http://222.92.178.198:63002" : a.value;
6
+ n(
7
+ () => a.value,
8
+ () => {
9
+ e = a.value === "" || !a.value ? "http://222.92.178.198:63002" : a.value;
10
+ },
11
+ { deep: !0, immediate: !0 }
12
+ );
13
+ function c(t) {
14
+ return r({
15
+ url: `${e}/platform/getdata_department_tree`,
16
+ method: "post",
17
+ data: t
18
+ });
19
+ }
20
+ function g(t) {
21
+ return r({
22
+ url: `${e}/platform/getdata_department`,
23
+ method: "post",
24
+ data: t
25
+ });
26
+ }
27
+ function h(t) {
28
+ return r({
29
+ url: `${e}/platform/createdata_department`,
30
+ method: "post",
31
+ data: t
32
+ });
33
+ }
34
+ function y(t) {
35
+ return r({
36
+ url: `${e}/platform/updatedata_department`,
37
+ method: "post",
38
+ data: t
39
+ });
40
+ }
41
+ function _(t) {
42
+ return r({
43
+ url: `${e}/platform/deletedata_department`,
44
+ method: "post",
45
+ data: t
46
+ });
47
+ }
48
+ function v(t) {
49
+ return r({
50
+ url: `${e}/platform/getdata_department`,
51
+ method: "post",
52
+ data: t
53
+ });
54
+ }
55
+ function s(t) {
56
+ return r({
57
+ url: `${e}/platform/getdata_department_type`,
58
+ method: "post",
59
+ data: t
60
+ });
61
+ }
62
+ async function l(t) {
63
+ return await s({
64
+ platId: t
65
+ });
66
+ }
67
+ async function $(t) {
68
+ return await l(t);
69
+ }
70
+ export {
71
+ c as a,
72
+ g as b,
73
+ h as c,
74
+ _ as d,
75
+ $ as e,
76
+ v as g,
77
+ y as u
78
+ };