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.
Files changed (94) hide show
  1. package/dist/config.js +1 -1
  2. package/dist/index-0g0DP0Sz.js +1044 -0
  3. package/dist/index-BDCuosQJ.js +50 -0
  4. package/dist/index-BxJpjRsQ.js +50711 -0
  5. package/dist/index-C1ELjCn7.js +181 -0
  6. package/dist/index-CEUQmw5e.js +58 -0
  7. package/dist/index-CndLgFR1.js +35 -0
  8. package/dist/index-DlDwzFUG.js +213 -0
  9. package/dist/{index-ChNfRlIP.js → index-DyhB-cd1.js} +253 -18
  10. package/dist/index-IoMa0kLh.js +27 -0
  11. package/dist/menu-HTA6NZEd.js +5208 -0
  12. package/dist/platform-DoyWecim.js +11429 -0
  13. package/dist/ss-component.css +2 -8
  14. package/dist/ss-component.js +28 -64
  15. package/dist/ss-component2.js +15 -75
  16. package/dist/ss-component3.js +1 -1
  17. package/package.json +10 -8
  18. package/public/config.js +1 -1
  19. package/dist/JSEncrypt-B36c1iN5.js +0 -1983
  20. package/dist/MTLLoader-CkNZudBE.js +0 -657
  21. package/dist/URDFLoader-DIzEVzUD.js +0 -2299
  22. package/dist/__vite-browser-external-DYxpcVy9.js +0 -4
  23. package/dist/animationData-DvL_4GZ5.js +0 -83
  24. package/dist/array-BN2tTnqd.js +0 -1045
  25. package/dist/clone-Dp_gc9ll.js +0 -8
  26. package/dist/eleIcon-qStmsM1q.js +0 -29
  27. package/dist/fileUtil-UOt_otFo.js +0 -20
  28. package/dist/iconfont-BwY2qVoK.js +0 -1030
  29. package/dist/icons/svg/functionList.svg +0 -1
  30. package/dist/icons/svg/method.svg +0 -1
  31. package/dist/index-11kpzK0A.js +0 -209
  32. package/dist/index-5S_ATziA.js +0 -25341
  33. package/dist/index-B0H3C7WG.js +0 -103
  34. package/dist/index-B6ePvQgB.js +0 -83
  35. package/dist/index-BHtNKL1L.js +0 -27
  36. package/dist/index-BbyrFzEO.js +0 -93
  37. package/dist/index-Bej2dPck.js +0 -873
  38. package/dist/index-BooO2Bml.js +0 -78
  39. package/dist/index-BqZj6gM7.js +0 -470
  40. package/dist/index-Bw3sTXPI.js +0 -8993
  41. package/dist/index-BzUgGzuc.js +0 -48
  42. package/dist/index-C9nks7xM.js +0 -30
  43. package/dist/index-CGi0g-VN.js +0 -627
  44. package/dist/index-CV_jQDcg.js +0 -9
  45. package/dist/index-CWOXvFfD.js +0 -44
  46. package/dist/index-CYwlat81.js +0 -20578
  47. package/dist/index-Cflxz2Xv.js +0 -572
  48. package/dist/index-Ch8te5LO.js +0 -411
  49. package/dist/index-Ckqlxqaw.js +0 -119
  50. package/dist/index-CpGn7sfE.js +0 -93
  51. package/dist/index-CydXQbtX.js +0 -622
  52. package/dist/index-DAJxL40d.js +0 -55
  53. package/dist/index-DBsEVMiM.js +0 -201
  54. package/dist/index-DG4hoOWt.js +0 -665
  55. package/dist/index-DUbk5m5P.js +0 -99
  56. package/dist/index-DbHIH067.js +0 -107
  57. package/dist/index-Dhjj5seQ.js +0 -98
  58. package/dist/index-Ds6m_4JJ.js +0 -28500
  59. package/dist/index-DupTchhl.js +0 -1000
  60. package/dist/index-DyCq_odP.js +0 -331
  61. package/dist/index-Ru-cNTPj.js +0 -84
  62. package/dist/index-UB_oCdlo.js +0 -62
  63. package/dist/index-XcH1poa0.js +0 -63306
  64. package/dist/index-YjBTGOkO.js +0 -61
  65. package/dist/index-jbOjjV0j.js +0 -447
  66. package/dist/index-rlStojTL.js +0 -52
  67. package/dist/index-uF-ibwG0.js +0 -9
  68. package/dist/index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-C2itW9KG.js +0 -137927
  69. package/dist/isString-0ZglyOfu.js +0 -8
  70. package/dist/localIcon-D5UoFBU5.js +0 -76
  71. package/dist/main-BCc8TzAj.js +0 -502
  72. package/dist/menuIndex-BB0uVPRX.js +0 -159
  73. package/dist/obj/model.mtl +0 -42
  74. package/dist/obj/model.obj +0 -26110
  75. package/dist/pyodide-Dc1Mu-0d.js +0 -489
  76. package/dist/request-1RPa2bBn.js +0 -9048
  77. package/dist/threeModel-BXXLFYOy.js +0 -1109
  78. package/dist/threePreview-DUfFZQ5q.js +0 -3091
  79. package/dist/threeSceneView-Dez2tha0.js +0 -1290
  80. package/dist/threeSceneViewForCPMPIP-DDk128w_.js +0 -539
  81. package/dist/threeTrackPathView-DmE9QE_0.js +0 -620
  82. package/dist/threeViewerHost-7g8xu3oh.js +0 -233
  83. package/dist/urdfTree-VRms7Vm3.js +0 -254
  84. package/dist/workpieceTreePanel-DCSz_IDY.js +0 -559
  85. package/public/icons/svg/functionList.svg +0 -1
  86. package/public/icons/svg/method.svg +0 -1
  87. package/public/obj/model.mtl +0 -42
  88. package/public/obj/model.obj +0 -26110
  89. /package/dist/icons/svg/{tableClose.svg → table-close.svg} +0 -0
  90. /package/dist/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
  91. /package/dist/icons/svg/{Update.svg → update.svg} +0 -0
  92. /package/public/icons/svg/{tableClose.svg → table-close.svg} +0 -0
  93. /package/public/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
  94. /package/public/icons/svg/{Update.svg → update.svg} +0 -0
@@ -1,103 +0,0 @@
1
- import { ref as _, computed as A } from "vue";
2
- import { a as I, g as M } from "./index-YjBTGOkO.js";
3
- import { E as N } from "./index-Bw3sTXPI.js";
4
- import { E as s } from "./request-1RPa2bBn.js";
5
- const K = _([]), T = A(() => [
6
- {
7
- key: "extraButton",
8
- contents: [
9
- {
10
- label: "清空",
11
- background: "#f56c6c",
12
- color: "#ffffff"
13
- }
14
- ]
15
- },
16
- {
17
- key: "rowButton",
18
- contents: []
19
- },
20
- {
21
- key: "header",
22
- contents: [
23
- {
24
- label: "账号",
25
- prop: "account",
26
- filterable: !0
27
- },
28
- {
29
- label: "姓名",
30
- prop: "userName",
31
- filterable: !0
32
- },
33
- {
34
- label: "时间",
35
- prop: "timeStamp",
36
- sortable: !0
37
- }
38
- ]
39
- },
40
- {
41
- key: "tableContents",
42
- contents: K.value
43
- }
44
- ]), j = (l, n, r) => {
45
- l === "清空" && N.confirm("是否确认清空所有日志", "", {
46
- confirmButtonText: "确认",
47
- cancelButtonText: "取消",
48
- type: "warning"
49
- }).then(async () => {
50
- var e, o;
51
- try {
52
- const a = await I({ ids: n });
53
- ((e = a == null ? void 0 : a.data) == null ? void 0 : e.code) === 200 ? (s.success("清空日志成功"), r(!0)) : (s.error(((o = a == null ? void 0 : a.data) == null ? void 0 : o.message) ?? "清空请求响应失败"), r(!1));
54
- } catch {
55
- s.error("清空操作处理失败"), r(!1);
56
- }
57
- }).catch(() => {
58
- r(!1);
59
- });
60
- }, O = async (l = "login") => {
61
- var n, r, e;
62
- try {
63
- const o = await M({
64
- key: {
65
- systemKey: sessionStorage.getItem("systemKey"),
66
- pageKey: "/log",
67
- type: "system",
68
- logType: l
69
- }
70
- });
71
- if (((n = o == null ? void 0 : o.data) == null ? void 0 : n.code) === 200)
72
- return (e = (r = o == null ? void 0 : o.data) == null ? void 0 : r.result) == null ? void 0 : e.map((a) => {
73
- var t, u, c, p, f, d, y, g, v, b, S, h, w, B, D, x, E, k;
74
- return l === "login" ? {
75
- ...(u = (t = a == null ? void 0 : a.value) == null ? void 0 : t.detail) == null ? void 0 : u.data,
76
- timeStamp: (c = a == null ? void 0 : a.value) == null ? void 0 : c.timeStamp,
77
- id: a == null ? void 0 : a.id,
78
- type: (f = (p = a == null ? void 0 : a.value) == null ? void 0 : p.detail) == null ? void 0 : f.type
79
- } : {
80
- timeStamp: (d = a == null ? void 0 : a.value) == null ? void 0 : d.timeStamp,
81
- account: (y = a == null ? void 0 : a.value) == null ? void 0 : y.account,
82
- userName: (g = a == null ? void 0 : a.value) == null ? void 0 : g.userName,
83
- module: typeof ((v = a == null ? void 0 : a.value) == null ? void 0 : v.module) == "string" ? (S = (b = a == null ? void 0 : a.value) == null ? void 0 : b.module) != null && S.startsWith("/") ? (w = (h = a == null ? void 0 : a.value) == null ? void 0 : h.module) == null ? void 0 : w.substring(1) : (B = a == null ? void 0 : a.value) == null ? void 0 : B.module : (x = (D = a == null ? void 0 : a.value) == null ? void 0 : D.module) == null ? void 0 : x.pageKey,
84
- id: a == null ? void 0 : a.id,
85
- type: (k = (E = a == null ? void 0 : a.value) == null ? void 0 : E.detail) == null ? void 0 : k.type
86
- };
87
- });
88
- s.error("获取数据响应失败");
89
- } catch (o) {
90
- throw new Error("获取数据失败" + o);
91
- }
92
- }, W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
93
- __proto__: null,
94
- clickButton: j,
95
- getLogTableDataAsync: O,
96
- pageData: T,
97
- tableData: K
98
- }, Symbol.toStringTag, { value: "Module" }));
99
- export {
100
- W as S,
101
- j as c,
102
- O as g
103
- };
@@ -1,83 +0,0 @@
1
- import { ref as n, computed as c, defineComponent as s, reactive as p, onMounted as i, createElementBlock as u, openBlock as f, createVNode as b } from "vue";
2
- import { W as m } from "./index-XcH1poa0.js";
3
- import { g as d, c as _ } from "./index-B0H3C7WG.js";
4
- import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- const l = n([]), g = c(() => [
6
- {
7
- key: "extraButton",
8
- contents: [
9
- {
10
- label: "清空",
11
- background: "#f56c6c",
12
- color: "#ffffff"
13
- }
14
- ]
15
- },
16
- {
17
- key: "rowButton",
18
- contents: []
19
- },
20
- {
21
- key: "header",
22
- contents: [
23
- {
24
- label: "模块名称",
25
- prop: "module",
26
- filterable: !0
27
- },
28
- {
29
- label: "操作类型",
30
- prop: "type",
31
- filterable: !0
32
- },
33
- {
34
- label: "账号",
35
- prop: "account",
36
- filterable: !0
37
- },
38
- {
39
- label: "姓名",
40
- prop: "userName",
41
- filterable: !0
42
- },
43
- {
44
- label: "时间",
45
- prop: "timeStamp",
46
- sortable: !0
47
- }
48
- ]
49
- },
50
- {
51
- key: "tableContents",
52
- contents: l.value
53
- }
54
- ]), y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
55
- __proto__: null,
56
- pageData: g,
57
- tableData: l
58
- }, Symbol.toStringTag, { value: "Module" })), D = { class: "log-wrap" }, B = /* @__PURE__ */ s({
59
- __name: "index",
60
- setup(x) {
61
- const e = p({ ...y });
62
- i(async () => {
63
- e.tableData = await d("operate");
64
- });
65
- const r = (o) => {
66
- var t;
67
- _(o, (t = e.tableData) == null ? void 0 : t.map((a) => a.id), (a) => {
68
- a && (e.tableData = []);
69
- });
70
- };
71
- return (o, t) => (f(), u("div", D, [
72
- b(m, {
73
- itemData: e.pageData,
74
- allowOperate: !1,
75
- allowSelect: !1,
76
- onOnButtonClick: r
77
- }, null, 8, ["itemData"])
78
- ]));
79
- }
80
- }), O = /* @__PURE__ */ k(B, [["__scopeId", "data-v-3d3b471d"]]);
81
- export {
82
- O as default
83
- };
@@ -1,27 +0,0 @@
1
- import { computed as s, createElementBlock as a, openBlock as c, mergeProps as l, toHandlers as i, createElementVNode as m } from "vue";
2
- import { _ as p } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- const u = ["xlink:href"], _ = {
4
- __name: "index",
5
- props: {
6
- name: {
7
- type: String,
8
- required: !0
9
- },
10
- className: {
11
- type: String,
12
- default: ""
13
- }
14
- },
15
- setup(t) {
16
- const e = t, n = s(() => `#icon-${e.name}`), o = s(() => e.className ? `svg-icon ${e.className}` : "svg-icon");
17
- return (r, d) => (c(), a("svg", l({
18
- class: o.value,
19
- "aria-hidden": "true"
20
- }, i(r.$attrs, !0)), [
21
- m("use", { "xlink:href": n.value }, null, 8, u)
22
- ], 16));
23
- }
24
- }, f = /* @__PURE__ */ p(_, [["__scopeId", "data-v-b0571675"]]);
25
- export {
26
- f as S
27
- };
@@ -1,93 +0,0 @@
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
- };