ss-component-new 1.3.735 → 1.3.737

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-CkNZudBE.js +657 -0
  3. package/dist/URDFLoader-DIzEVzUD.js +2299 -0
  4. package/dist/__vite-browser-external-DYxpcVy9.js +4 -0
  5. package/dist/animationData-DvL_4GZ5.js +83 -0
  6. package/dist/array-BN2tTnqd.js +1045 -0
  7. package/dist/clone-Dp_gc9ll.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-BwY2qVoK.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-5S_ATziA.js +25341 -0
  16. package/dist/index-B0H3C7WG.js +103 -0
  17. package/dist/index-B6ePvQgB.js +83 -0
  18. package/dist/index-BHtNKL1L.js +27 -0
  19. package/dist/index-BQrVYtnl.js +201 -0
  20. package/dist/index-BbyrFzEO.js +93 -0
  21. package/dist/index-Bej2dPck.js +873 -0
  22. package/dist/index-BooO2Bml.js +78 -0
  23. package/dist/index-BqZj6gM7.js +470 -0
  24. package/dist/index-Bw3sTXPI.js +8993 -0
  25. package/dist/index-BzUgGzuc.js +48 -0
  26. package/dist/index-C9nks7xM.js +30 -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-CWpFqtvA.js +1000 -0
  31. package/dist/index-CYwlat81.js +20578 -0
  32. package/dist/index-Cflxz2Xv.js +572 -0
  33. package/dist/index-Ch8te5LO.js +411 -0
  34. package/dist/{index-DyhB-cd1.js → index-ChNfRlIP.js} +18 -253
  35. package/dist/index-Ckqlxqaw.js +119 -0
  36. package/dist/index-CpGn7sfE.js +93 -0
  37. package/dist/index-CydXQbtX.js +622 -0
  38. package/dist/index-DG4hoOWt.js +665 -0
  39. package/dist/index-DUbk5m5P.js +99 -0
  40. package/dist/index-DbHIH067.js +107 -0
  41. package/dist/index-DhUE8pTF.js +61 -0
  42. package/dist/index-Dhjj5seQ.js +98 -0
  43. package/dist/index-Ds6m_4JJ.js +28500 -0
  44. package/dist/index-DyCq_odP.js +331 -0
  45. package/dist/index-Ru-cNTPj.js +84 -0
  46. package/dist/index-UB_oCdlo.js +62 -0
  47. package/dist/index-XcH1poa0.js +63306 -0
  48. package/dist/index-YjBTGOkO.js +61 -0
  49. package/dist/index-jbOjjV0j.js +447 -0
  50. package/dist/index-rlStojTL.js +52 -0
  51. package/dist/index-uF-ibwG0.js +9 -0
  52. package/dist/index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-C2itW9KG.js +137927 -0
  53. package/dist/isString-0ZglyOfu.js +8 -0
  54. package/dist/localIcon-D5UoFBU5.js +76 -0
  55. package/dist/main-BCc8TzAj.js +502 -0
  56. package/dist/menuIndex-BB0uVPRX.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-BXXLFYOy.js +1109 -0
  66. package/dist/threePreview-DUfFZQ5q.js +3091 -0
  67. package/dist/threeSceneView-Dez2tha0.js +1290 -0
  68. package/dist/threeSceneViewForCPMPIP-DDk128w_.js +539 -0
  69. package/dist/threeTrackPathView-DmE9QE_0.js +620 -0
  70. package/dist/threeViewerHost-7g8xu3oh.js +233 -0
  71. package/dist/urdfTree-VRms7Vm3.js +254 -0
  72. package/dist/workpieceTreePanel-DCSz_IDY.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-BggN-zvK.js +0 -634
  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-CsdL6xGl.js +0 -181
  99. package/dist/index-CuIbbhNo.js +0 -25
  100. package/dist/index-D1WMhpsE.js +0 -26
  101. package/dist/index-D3G5ymZc.js +0 -4
  102. package/dist/index-D5oMkTBW.js +0 -35
  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-boICNvPL.js +0 -4
  110. package/dist/index-qO33lx52.js +0 -50664
  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
@@ -0,0 +1,99 @@
1
+ import { defineComponent as C, reactive as f, ref as i, onMounted as E, resolveComponent as s, createElementBlock as v, openBlock as _, createElementVNode as b, createVNode as u, withCtx as c, Fragment as w, renderList as A, createBlock as B, createTextVNode as F } from "vue";
2
+ import { g as I } from "./index-YjBTGOkO.js";
3
+ import { useRouter as M } from "vue-router";
4
+ import { E as g } from "./request-1RPa2bBn.js";
5
+ import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const T = { class: "tenant-wrap" }, $ = { class: "tenant-content" }, q = /* @__PURE__ */ C({
7
+ __name: "index",
8
+ setup(D) {
9
+ const o = f({
10
+ tenantKey: ""
11
+ }), K = f({
12
+ tenantKey: [
13
+ { required: !0, message: "请选择模型", trigger: "blur" }
14
+ ]
15
+ }), m = i(null), y = i([]), k = M(), x = async () => {
16
+ var n, t;
17
+ try {
18
+ const l = await I({
19
+ key: {
20
+ layer: "superAdmin"
21
+ }
22
+ });
23
+ if (l.data.code === 200) {
24
+ const r = (t = (n = l == null ? void 0 : l.data) == null ? void 0 : n.result) == null ? void 0 : t.flatMap((e) => e == null ? void 0 : e.key), p = r == null ? void 0 : r.map((e) => ({
25
+ value: e == null ? void 0 : e.systemKey,
26
+ label: `【${e == null ? void 0 : e.systemKey}】` + ((e == null ? void 0 : e.name) ?? "未知")
27
+ }));
28
+ y.value = [...p].sort((e, d) => e.value.localeCompare(d.value));
29
+ } else
30
+ g.error("获取模型数据响应失败");
31
+ } catch {
32
+ g.error("获取模型数据失败");
33
+ }
34
+ };
35
+ E(() => {
36
+ x();
37
+ });
38
+ const V = (n) => {
39
+ n == null || n.validate((t) => {
40
+ t && (console.log("submitForm", o), sessionStorage.setItem("tenantKey", o == null ? void 0 : o.tenantKey), k.push("/login"));
41
+ });
42
+ };
43
+ return (n, t) => {
44
+ const l = s("el-option"), r = s("el-select"), p = s("el-form-item"), e = s("el-form"), d = s("el-button");
45
+ return _(), v("div", T, [
46
+ b("div", $, [
47
+ t[3] || (t[3] = b("div", { class: "tenant-title" }, "租户信息", -1)),
48
+ u(e, {
49
+ model: o,
50
+ rules: K,
51
+ ref_key: "formRef",
52
+ ref: m
53
+ }, {
54
+ default: c(() => [
55
+ u(p, {
56
+ label: "",
57
+ prop: "tenantKey"
58
+ }, {
59
+ default: c(() => [
60
+ u(r, {
61
+ modelValue: o.tenantKey,
62
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => o.tenantKey = a),
63
+ placeholder: "请选择(可搜索查询)",
64
+ filterable: "",
65
+ clearable: ""
66
+ }, {
67
+ default: c(() => [
68
+ (_(!0), v(w, null, A(y.value, (a) => (_(), B(l, {
69
+ key: a.value,
70
+ label: a.label,
71
+ value: a.value
72
+ }, null, 8, ["label", "value"]))), 128))
73
+ ]),
74
+ _: 1
75
+ }, 8, ["modelValue"])
76
+ ]),
77
+ _: 1
78
+ })
79
+ ]),
80
+ _: 1
81
+ }, 8, ["model", "rules"]),
82
+ u(d, {
83
+ type: "primary",
84
+ onClick: t[1] || (t[1] = (a) => V(m.value))
85
+ }, {
86
+ default: c(() => t[2] || (t[2] = [
87
+ F(" 确认 ")
88
+ ])),
89
+ _: 1,
90
+ __: [2]
91
+ })
92
+ ])
93
+ ]);
94
+ };
95
+ }
96
+ }), z = /* @__PURE__ */ N(q, [["__scopeId", "data-v-5d82b8dd"]]);
97
+ export {
98
+ z as default
99
+ };
@@ -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-XcH1poa0.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,61 @@
1
+ import { f as P, h as C, d as M, b, p as L, s as R, i as T } from "./index-Bw3sTXPI.js";
2
+ import { E as k } from "./request-1RPa2bBn.js";
3
+ const q = b(L), { isDefaultModel: D } = M(), E = async (m, a) => {
4
+ var c, n, i, r, l, s, g, f, _, y, h, w, S, A;
5
+ let e = Object.values(m), t = await P({
6
+ userName: (c = e == null ? void 0 : e[0]) == null ? void 0 : c.trim(),
7
+ password: (n = e == null ? void 0 : e[1]) == null ? void 0 : n.trim()
8
+ });
9
+ if (((i = t == null ? void 0 : t.data) == null ? void 0 : i.status) === 200 && ((l = (r = t == null ? void 0 : t.data) == null ? void 0 : r.result) == null ? void 0 : l.length) <= 0 && (t = await C({
10
+ userName: (s = e == null ? void 0 : e[0]) == null ? void 0 : s.trim(),
11
+ password: (g = e == null ? void 0 : e[1]) == null ? void 0 : g.trim(),
12
+ path: "系统管理/用户管理",
13
+ platId: a
14
+ })), ((f = t == null ? void 0 : t.data) == null ? void 0 : f.status) === 200 && ((y = (_ = t == null ? void 0 : t.data) == null ? void 0 : _.result) == null ? void 0 : y.length) > 0) {
15
+ const o = ((w = (h = t == null ? void 0 : t.data) == null ? void 0 : h.result) == null ? void 0 : w.find((j) => D(j))) || ((A = (S = t == null ? void 0 : t.data) == null ? void 0 : S.result) == null ? void 0 : A[0]);
16
+ sessionStorage.setItem("systemKey", a && a !== "" ? a : o == null ? void 0 : o.plat_id);
17
+ let u = o;
18
+ return u.plat_id = u.plat_id ?? a, q.setLoginUserInfo(u), q.setSystemKey(a && a !== "" ? a : o == null ? void 0 : o.plat_id), !0;
19
+ } else
20
+ return k.error("输入的密码错误,请重新输入"), !1;
21
+ }, I = b(L), { systemInfo: d, loginUserInfo: p } = R(I), { initModelList: K, initModelInfo: O } = M(), x = async () => (sessionStorage.setItem("loginToken", "111"), !0), B = async () => (sessionStorage.setItem("magicToken", "123456"), !0), U = async (m) => {
22
+ var n, i, r, l;
23
+ if (!((n = d.value) != null && n.plat_id)) {
24
+ const s = await K();
25
+ O(s);
26
+ }
27
+ let a = [E(m, (i = d.value) == null ? void 0 : i.plat_id), x(), B()];
28
+ const e = await Promise.all(a), t = e == null ? void 0 : e.every((s) => s);
29
+ let c = [
30
+ {
31
+ id: "1",
32
+ request_method: "Post",
33
+ request_url: "/platform/getdata",
34
+ request_param: JSON.stringify({
35
+ userName: "hjj",
36
+ password: "1"
37
+ }),
38
+ request_result: "{}",
39
+ is_delete: !1,
40
+ request_table: "admin_user",
41
+ request_type: "login"
42
+ }
43
+ ];
44
+ try {
45
+ const s = ((r = p == null ? void 0 : p.value) == null ? void 0 : r.plat_id) || ((l = d.value) == null ? void 0 : l.plat_id);
46
+ return await T({
47
+ platId: parseInt(s),
48
+ changeContents: [
49
+ {
50
+ tableName: "log",
51
+ tableContents: c
52
+ }
53
+ ]
54
+ }), t;
55
+ } catch {
56
+ return t;
57
+ }
58
+ };
59
+ export {
60
+ U as l
61
+ };
@@ -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-XcH1poa0.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
+ };