ss-component-new 1.3.705 → 1.3.706

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 (85) 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/animationData-DvL_4GZ5.js +83 -0
  5. package/dist/array-BMCHedyE.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-BwY2qVoK.js +1030 -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-B0H3C7WG.js +103 -0
  15. package/dist/index-B2vjWoEB.js +572 -0
  16. package/dist/index-BHtNKL1L.js +27 -0
  17. package/dist/index-BTOqgc1s.js +873 -0
  18. package/dist/index-BbyrFzEO.js +93 -0
  19. package/dist/index-BiD2svYY.js +30 -0
  20. package/dist/index-BiMfzzPV.js +98 -0
  21. package/dist/index-BooO2Bml.js +78 -0
  22. package/dist/index-Bw3sTXPI.js +8993 -0
  23. package/dist/index-BzUgGzuc.js +48 -0
  24. package/dist/index-C1pYY5Kg.js +470 -0
  25. package/dist/index-CCOqF2de.js +63158 -0
  26. package/dist/index-CGi0g-VN.js +627 -0
  27. package/dist/index-CV_jQDcg.js +9 -0
  28. package/dist/index-CWOXvFfD.js +44 -0
  29. package/dist/index-Ch8te5LO.js +411 -0
  30. package/dist/{index-BKoAuSBh.js → index-ChNfRlIP.js} +18 -223
  31. package/dist/index-CtE-JbIk.js +119 -0
  32. package/dist/index-Cwd12dIT.js +25317 -0
  33. package/dist/index-CydXQbtX.js +622 -0
  34. package/dist/index-DAJxL40d.js +55 -0
  35. package/dist/index-DBsEVMiM.js +201 -0
  36. package/dist/index-DCK25QtA.js +20578 -0
  37. package/dist/index-DG4hoOWt.js +665 -0
  38. package/dist/index-DOpUAJtb.js +107 -0
  39. package/dist/index-DUbk5m5P.js +99 -0
  40. package/dist/index-DYhamWY7.js +93 -0
  41. package/dist/index-Ds6m_4JJ.js +28500 -0
  42. package/dist/index-DupTchhl.js +1000 -0
  43. package/dist/index-DyCq_odP.js +331 -0
  44. package/dist/index-GM47WPnp.js +83 -0
  45. package/dist/index-Ru-cNTPj.js +84 -0
  46. package/dist/index-UB_oCdlo.js +62 -0
  47. package/dist/index-YjBTGOkO.js +61 -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-CPex-4gb.js → index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-C2itW9KG.js} +111538 -112656
  52. package/dist/isString-0ZglyOfu.js +8 -0
  53. package/dist/localIcon-D5UoFBU5.js +76 -0
  54. package/dist/main-BfygOrTN.js +502 -0
  55. package/dist/menuIndex-BB0uVPRX.js +159 -0
  56. package/dist/request-1RPa2bBn.js +9048 -0
  57. package/dist/ss-component.css +8 -8
  58. package/dist/ss-component.js +64 -28
  59. package/dist/ss-component2.js +75 -15
  60. package/dist/ss-component3.js +1 -1
  61. package/dist/threeModel-CoJT33S1.js +1109 -0
  62. package/dist/threePreview-DUfFZQ5q.js +3091 -0
  63. package/dist/threeSceneView-B5sojPk9.js +1290 -0
  64. package/dist/threeSceneViewForCPMPIP-Bgi4Klfy.js +539 -0
  65. package/dist/threeTrackPathView-DmE9QE_0.js +620 -0
  66. package/dist/threeViewerHost--r-yJNpU.js +233 -0
  67. package/dist/urdfTree-VRms7Vm3.js +254 -0
  68. package/dist/workpieceTreePanel-DCSz_IDY.js +559 -0
  69. package/package.json +7 -10
  70. package/public/config.js +1 -1
  71. package/public/icons/svg/functionList.svg +1 -0
  72. package/public/icons/svg/method.svg +1 -0
  73. package/dist/index-BCCtMBNM.js +0 -181
  74. package/dist/index-CUXLS1Ir.js +0 -50
  75. package/dist/index-CZYbAE5l.js +0 -1044
  76. package/dist/index-Ca2Zj4Is.js +0 -213
  77. package/dist/index-IoMa0kLh.js +0 -27
  78. package/dist/menu-BYmz2cKN.js +0 -5229
  79. package/dist/platform-C0GP6Nyp.js +0 -11490
  80. /package/dist/icons/svg/{update.svg → Update.svg} +0 -0
  81. /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  82. /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
  83. /package/public/icons/svg/{update.svg → Update.svg} +0 -0
  84. /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  85. /package/public/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
@@ -1,181 +0,0 @@
1
- import { defineComponent as q, resolveComponent as u, createElementBlock as k, openBlock as s, Fragment as y, renderList as C, createBlock as f, createCommentVNode as z, withCtx as o, createVNode as r, createSlots as O, renderSlot as d, mergeProps as P, computed as j, ref as D, normalizeStyle as g } from "vue";
2
- import { u as G, p as w, s as b, F as H } from "./menu-BYmz2cKN.js";
3
- import { S as $ } from "./index-CPex-4gb.js";
4
- import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- const K = /* @__PURE__ */ q({
6
- __name: "menuItem",
7
- props: {
8
- menuList: {
9
- // 注意prop变量类型定义的写法:PropType
10
- type: Array,
11
- default: () => []
12
- }
13
- },
14
- emits: ["clickMenu", "openMenu", "closeMenu"],
15
- setup(i, { emit: x }) {
16
- const p = x, m = (l) => {
17
- p("clickMenu", l);
18
- }, L = (l) => {
19
- p("openMenu", l);
20
- }, M = (l) => {
21
- p("closeMenu", l);
22
- };
23
- return (l, S) => {
24
- const c = u("MenuItem", !0), a = u("el-sub-menu"), _ = u("el-menu-item");
25
- return s(!0), k(y, null, C(i.menuList, (e) => (s(), k(y, null, [
26
- e.show && e.children && e.children.length > 0 ? (s(), f(a, {
27
- index: e.path,
28
- key: e.path
29
- }, {
30
- title: o(() => [
31
- r($, {
32
- name: e.icon ?? ((e == null ? void 0 : e.level) <= 2 ? "default" : ""),
33
- class: "menu-icon"
34
- }, null, 8, ["name"]),
35
- d(l.$slots, "title", { menu: e })
36
- ]),
37
- default: o(() => [
38
- r(c, {
39
- menuList: e.children,
40
- onClickMenu: m,
41
- onOpenMenu: L,
42
- onCloseMenu: M
43
- }, O({ _: 2 }, [
44
- C(l.$slots, (I, h) => ({
45
- name: h,
46
- fn: o((R) => [
47
- d(l.$slots, h, P({ ref_for: !0 }, R))
48
- ])
49
- }))
50
- ]), 1032, ["menuList"])
51
- ]),
52
- _: 2
53
- }, 1032, ["index"])) : e.show ? (s(), f(_, {
54
- index: e.path,
55
- key: e.path,
56
- onClick: (I) => m(e)
57
- }, {
58
- title: o(() => [
59
- d(l.$slots, "title", { menu: e })
60
- ]),
61
- default: o(() => [
62
- r($, {
63
- name: e.icon ?? ((e == null ? void 0 : e.level) <= 2 ? "default" : ""),
64
- class: "menu-icon"
65
- }, null, 8, ["name"])
66
- ]),
67
- _: 2
68
- }, 1032, ["index", "onClick"])) : z("", !0)
69
- ], 64))), 256);
70
- };
71
- }
72
- }), N = /* @__PURE__ */ q({
73
- __name: "index",
74
- props: {
75
- menuList: {
76
- // 注意prop变量类型定义的写法:PropType
77
- type: Array,
78
- default: () => []
79
- },
80
- mode: {
81
- type: String,
82
- default: "vertical"
83
- },
84
- isCollapse: Boolean,
85
- uniqueOpened: {
86
- type: Boolean,
87
- default: !1
88
- }
89
- },
90
- emits: ["clickMenu", "openMenu", "closeMenu", "selectMenu"],
91
- setup(i, { expose: x, emit: p }) {
92
- const m = G(w), { activeMenuPath: L, activeTopMenuPath: M } = b(m), l = H(w), { routeToChildPath: S } = b(l), c = i, a = p, _ = (n) => {
93
- a("clickMenu", n);
94
- }, e = (n) => {
95
- a("openMenu", n);
96
- }, I = (n) => {
97
- a("selectMenu", n);
98
- }, h = (n) => {
99
- a("closeMenu", n);
100
- }, R = j(() => S.value ? (c == null ? void 0 : c.mode) === "vertical" ? S.value : M.value : (c == null ? void 0 : c.mode) === "vertical" ? L.value : M.value), v = D(null);
101
- return x({
102
- handleResize: () => {
103
- var n;
104
- (n = v.value) == null || n.handleResize();
105
- },
106
- openMenuRefByIndex: (n) => {
107
- v.value && v.value.open(n);
108
- }
109
- }), (n, W) => {
110
- const T = u("el-sub-menu"), A = u("el-menu-item"), F = u("el-menu");
111
- return s(), f(F, {
112
- ref_key: "menuRef",
113
- ref: v,
114
- class: "menu-wrap",
115
- mode: i.mode,
116
- "default-active": R.value,
117
- "unique-opened": i.uniqueOpened,
118
- "collapse-transition": !1,
119
- "popper-class": "ss-menu-popper",
120
- "popper-offset": 12,
121
- ellipsis: !0,
122
- collapse: i.isCollapse,
123
- onOpen: e,
124
- onClose: h,
125
- onSelect: I
126
- }, {
127
- default: o(() => [
128
- (s(!0), k(y, null, C(i.menuList, (t) => (s(), k(y, null, [
129
- t.show && t.children && t.children.length > 0 ? (s(), f(T, {
130
- index: t.path,
131
- key: t.path,
132
- style: g(t.style)
133
- }, {
134
- title: o(() => [
135
- r($, {
136
- name: t.icon ?? ((t == null ? void 0 : t.level) <= 2 ? "default" : ""),
137
- class: "menu-icon"
138
- }, null, 8, ["name"]),
139
- d(n.$slots, "title", { menu: t }, void 0, !0)
140
- ]),
141
- default: o(() => [
142
- r(K, {
143
- menuList: t.children,
144
- onClickMenu: _
145
- }, O({ _: 2 }, [
146
- C(n.$slots, (V, B) => ({
147
- name: B,
148
- fn: o((E) => [
149
- d(n.$slots, B, P({ ref_for: !0 }, E), void 0, !0)
150
- ])
151
- }))
152
- ]), 1032, ["menuList"])
153
- ]),
154
- _: 2
155
- }, 1032, ["index", "style"])) : t.show ? (s(), f(A, {
156
- index: t.path,
157
- key: t.path,
158
- style: g(t.style),
159
- onClick: (V) => _(t)
160
- }, {
161
- title: o(() => [
162
- d(n.$slots, "title", { menu: t }, void 0, !0)
163
- ]),
164
- default: o(() => [
165
- r($, {
166
- name: t.icon ?? ((t == null ? void 0 : t.level) <= 2 ? "default" : ""),
167
- class: "menu-icon"
168
- }, null, 8, ["name"])
169
- ]),
170
- _: 2
171
- }, 1032, ["index", "style", "onClick"])) : z("", !0)
172
- ], 64))), 256))
173
- ]),
174
- _: 3
175
- }, 8, ["mode", "default-active", "unique-opened", "collapse"]);
176
- };
177
- }
178
- }), te = /* @__PURE__ */ J(N, [["__scopeId", "data-v-1566b485"]]);
179
- export {
180
- te as default
181
- };
@@ -1,50 +0,0 @@
1
- import { e as w, h as N, u as S, E as b, i as v } from "./platform-C0GP6Nyp.js";
2
- import { p as h, s as A } from "./menu-BYmz2cKN.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
- };