ss-component-new 1.3.536 → 1.3.537

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 (55) hide show
  1. package/dist/App-Bs9l6gBz.js +207 -0
  2. package/dist/{MTLLoader-C39kpgdW.js → MTLLoader-CJpSdxp4.js} +1 -1
  3. package/dist/{OrbitControls-gxPdDfJE.js → OrbitControls-Dn5RI8yb.js} +1 -1
  4. package/dist/{URDFLoader-_Fx0i2TU.js → URDFLoader-CBCUFT9t.js} +2 -2
  5. package/dist/{animationData-CluZJZuh.js → animationData-CePYKY0n.js} +3 -3
  6. package/dist/{array-DARt-gVo.js → array-De_ksRNY.js} +3 -3
  7. package/dist/clone-CXsLtSvf.js +8 -0
  8. package/dist/header-B1G-mIVr.js +651 -0
  9. package/dist/{iconfont-SlSF8dh4.js → iconfont-CZ40-aPC.js} +2 -2
  10. package/dist/{index-BRKwy6o2.js → index-B-C5TdFW.js} +16 -16
  11. package/dist/{index-Ds-fktuI.js → index-BZECuG4k.js} +1 -1
  12. package/dist/{index-Bvi1OCN_.js → index-BZjBZlTS.js} +2 -2
  13. package/dist/{index-f21uPKZB.js → index-BnWsptYg.js} +17 -17
  14. package/dist/{index-C9mSwlYV.js → index-BrqL9KU9.js} +2 -2
  15. package/dist/{index-DG1Hjdk1.js → index-C0zUtuoD.js} +26 -25
  16. package/dist/{index-DmaDbz-y.js → index-C2FVe2U6.js} +26 -26
  17. package/dist/{index-B8muY-6u.js → index-CGWCPa7J.js} +8 -8
  18. package/dist/{index-CqUR7JfB.js → index-CH17Cg3K.js} +13 -13
  19. package/dist/{index-B3osj0rP.js → index-CHI_k9PI.js} +1 -1
  20. package/dist/{index-Bz95RBov.js → index-CTtYLr1S.js} +20045 -20685
  21. package/dist/{index-DkZ4ok8-.js → index-CisHksIK.js} +4 -4
  22. package/dist/{index-BLlYLkpo.js → index-CkW_ja7U.js} +2 -2
  23. package/dist/{index-DB1HWx1W.js → index-Cn16Hic7.js} +1 -1
  24. package/dist/{index-BnROjScB.js → index-CzLHT5lM.js} +32 -32
  25. package/dist/{index-KxgyPOIl.js → index-D94Xd2N1.js} +3 -3
  26. package/dist/{index-CVIPXYtg.js → index-DEI7Vflb.js} +1 -1
  27. package/dist/index-DISV4b3h.js +1048 -0
  28. package/dist/{index-DsF_t_aA.js → index-DQ3EYkwb.js} +2 -2
  29. package/dist/{index-DcNXwXrV.js → index-DdlbvI4c.js} +14 -14
  30. package/dist/{index-CThJS2hV.js → index-Ddn47YOo.js} +1 -1
  31. package/dist/{index-DqXvOyIs.js → index-DeGxq_J_.js} +197 -192
  32. package/dist/{index-B-SRrjLA.js → index-DfKuu864.js} +4 -4
  33. package/dist/{index-CocPelja.js → index-DwJLblIq.js} +4 -4
  34. package/dist/{index-D22V7PRs.js → index-DxOcC8k8.js} +1 -1
  35. package/dist/{index-CgxkYjtB.js → index-EP4_0PDS.js} +8 -8
  36. package/dist/{index-Fy4MrrOF.js → index-eNJ1M05y.js} +25 -25
  37. package/dist/{index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-nutx4ggn.js} +3 -3
  38. package/dist/{main-COK-Dgax.js → main---mNjhuu.js} +4 -4
  39. package/dist/{menuIndex-VozC7XXB.js → menuIndex-CUwbp3jl.js} +1 -1
  40. package/dist/ss-component.css +1 -1
  41. package/dist/ss-component.js +11 -11
  42. package/dist/ss-component2.js +12 -12
  43. package/dist/{threeModel-CLD0WbH4.js → threeModel-om3lolpg.js} +4 -4
  44. package/dist/{threePreview-DPTGt5fZ.js → threePreview-BKq8-BNs.js} +4 -4
  45. package/dist/{threeSceneView-D9Wvyxa8.js → threeSceneView-B9HE-6FF.js} +14 -13
  46. package/dist/{threeSceneViewForCPMPIP-DgDWnH17.js → threeSceneViewForCPMPIP-B3iqjUVV.js} +8 -8
  47. package/dist/{threeTrackPathView-CHwHb3Z5.js → threeTrackPathView-Cua5p2_z.js} +4 -4
  48. package/dist/{threeViewerHost-Blk3sWCI.js → threeViewerHost-BgkLy3Px.js} +12 -12
  49. package/dist/{urdfTree-_2vCDAO7.js → urdfTree-CEVNcjbP.js} +1 -1
  50. package/dist/{workpieceTreePanel-BaMbkaOM.js → workpieceTreePanel-5Z2rOZ9E.js} +4 -4
  51. package/package.json +1 -1
  52. package/dist/clone-ez7vwxnP.js +0 -8
  53. package/dist/index-BscI3lbU.js +0 -55
  54. package/dist/index-CQD9tf3F.js +0 -197
  55. package/dist/index-RLUSh93k.js +0 -1000
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as m, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as _ } from "vue";
2
- import { S as x } from "./index-KxgyPOIl.js";
3
- import { W as B } from "./index-Bz95RBov.js";
2
+ import { S as x } from "./index-D94Xd2N1.js";
3
+ import { W as B } from "./index-CTtYLr1S.js";
4
4
  import { s as F } from "./index-11kpzK0A.js";
5
- import { b as y } from "./index-BRKwy6o2.js";
6
- import { u as S, p as I, s as N } from "./index-DqXvOyIs.js";
5
+ import { a as y } from "./index-B-C5TdFW.js";
6
+ import { u as S, p as I, s as N } from "./index-DeGxq_J_.js";
7
7
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const E = { class: "menu-module" }, M = {
9
9
  class: "table-wrap",
@@ -1,6 +1,6 @@
1
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-CThJS2hV.js";
3
- import { c as s } from "./index-DqXvOyIs.js";
2
+ import { s as b } from "./index-Ddn47YOo.js";
3
+ import { c as s } from "./index-DeGxq_J_.js";
4
4
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const A = (t, n, a) => {
6
6
  var r, d, p, m;
@@ -1,5 +1,5 @@
1
1
  import { g as pt, b as Rc, e as ti, a as Nh } from "./index-YvUJL9Us.js";
2
- import { s as Lr, c as ae, b as o0, p as Cr, W as Bf, u as D0, i as Uf, a as fi } from "./index-DqXvOyIs.js";
2
+ import { s as Lr, c as ae, e as o0, p as Cr, Y as Bf, u as D0, n as Uf, a as fi } from "./index-DeGxq_J_.js";
3
3
  import { E as Y0 } from "./request-B1c8BUkR.js";
4
4
  import { ref as Oa, reactive as io, computed as is, watch as so } from "vue";
5
5
  import "./JSEncrypt-B36c1iN5.js";
@@ -1,11 +1,11 @@
1
1
  import { ref as h, computed as E, reactive as j, defineComponent as q, watch as H, createElementBlock as N, openBlock as k, createVNode as A, createCommentVNode as ue, withCtx as _, createTextVNode as x, toDisplayString as F, resolveComponent as D, createBlock as R, Fragment as ie, renderList as ce, createElementVNode as de, normalizeStyle as pe } from "vue";
2
2
  import { c7 as fe, c8 as ve, c9 as ge, E as T } from "./request-B1c8BUkR.js";
3
- import { s as J, b as ye, u as be, p as G, c as me, e as he } from "./index-DqXvOyIs.js";
3
+ import { s as J, e as ye, u as me, p as G, c as be, m as he } from "./index-DeGxq_J_.js";
4
4
  import { g as Q, u as we } from "./index-YvUJL9Us.js";
5
5
  import { J as X } from "./JSEncrypt-B36c1iN5.js";
6
- import { a5 as Se } from "./index-DB1HWx1W.js";
7
- import { A as _e } from "./index-CVIPXYtg.js";
8
- import { u as Y, l as Ce } from "./index-BRKwy6o2.js";
6
+ import { a5 as Se } from "./index-Cn16Hic7.js";
7
+ import { A as _e } from "./index-DEI7Vflb.js";
8
+ import { u as Y, l as Ce } from "./index-B-C5TdFW.js";
9
9
  import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  import { S as V } from "./index-BHtNKL1L.js";
11
11
  function Ae(t, s) {
@@ -16,8 +16,8 @@ function ke(t, s) {
16
16
  const e = new X();
17
17
  return e.setPrivateKey(s), e.decrypt(t) || "";
18
18
  }
19
- const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activeMenuPath: I } = J(Ie), Ue = h(0), ee = E(() => {
20
- var t, s, e, n, l, o, a, p, y, b, g;
19
+ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = me(G), { activeMenuPath: I } = J(Ie), Ue = h(0), ee = E(() => {
20
+ var t, s, e, n, l, o, a, p, y, m, g;
21
21
  return [
22
22
  {
23
23
  label: "",
@@ -58,7 +58,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
58
58
  label: "",
59
59
  prop: "签名",
60
60
  isFormColHidden: !0,
61
- value: ((b = d.value) == null ? void 0 : b.layer) === "superAdmin" ? "启用" : ((g = d.value) == null ? void 0 : g.状态) ?? "未知"
61
+ value: ((m = d.value) == null ? void 0 : m.layer) === "superAdmin" ? "启用" : ((g = d.value) == null ? void 0 : g.状态) ?? "未知"
62
62
  }
63
63
  ];
64
64
  }), Be = () => {
@@ -107,7 +107,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
107
107
  }, se = () => {
108
108
  L.dialogShow = !1;
109
109
  }, re = async (t) => {
110
- var e, n, l, o, a, p, y, b, g;
110
+ var e, n, l, o, a, p, y, m, g;
111
111
  const s = await Q({
112
112
  id: t
113
113
  // key: {
@@ -121,13 +121,13 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
121
121
  const c = {
122
122
  ...(o = (l = (n = s.data.result) == null ? void 0 : n[0]) == null ? void 0 : l.value) == null ? void 0 : o.tableData,
123
123
  id: (p = (a = s.data.result) == null ? void 0 : a[0]) == null ? void 0 : p.id,
124
- layer: (g = (b = (y = s.data.result) == null ? void 0 : y[0]) == null ? void 0 : b.key) == null ? void 0 : g.layer
124
+ layer: (g = (m = (y = s.data.result) == null ? void 0 : y[0]) == null ? void 0 : m.key) == null ? void 0 : g.layer
125
125
  };
126
126
  M.setLoginUserInfo(c);
127
127
  }
128
128
  }, ne = async (t, s) => {
129
129
  var n, l, o;
130
- const e = me(t);
130
+ const e = be(t);
131
131
  e == null || delete e.id;
132
132
  try {
133
133
  const a = await we({
@@ -159,17 +159,17 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
159
159
  baseCols: [],
160
160
  otherCols: []
161
161
  }), le = h([]), oe = h(), Pe = (t, s, e) => {
162
- var o, a, p, y, b, g;
162
+ var o, a, p, y, m, g;
163
163
  let n;
164
164
  const l = s;
165
- ((a = (o = d.value) == null ? void 0 : o.layer) == null ? void 0 : a.toUpperCase()) !== "SUPERADMIN" ? n = (p = d.value) != null && p.password ? ke((y = d.value) == null ? void 0 : y.password, (b = P == null ? void 0 : P.value) == null ? void 0 : b.privateKey) : Se : n = (g = d.value) == null ? void 0 : g.password, n === l ? e() : e(new Error("输入的密码与原密码不匹配,请重新输入"));
165
+ ((a = (o = d.value) == null ? void 0 : o.layer) == null ? void 0 : a.toUpperCase()) !== "SUPERADMIN" ? n = (p = d.value) != null && p.password ? ke((y = d.value) == null ? void 0 : y.password, (m = P == null ? void 0 : P.value) == null ? void 0 : m.privateKey) : Se : n = (g = d.value) == null ? void 0 : g.password, n === l ? e() : e(new Error("输入的密码与原密码不匹配,请重新输入"));
166
166
  }, Ne = (t, s, e) => {
167
167
  s ? e() : e(new Error("请输入密码"));
168
168
  }, Fe = (t, s, e) => {
169
169
  var n;
170
170
  s !== ((n = oe.value) == null ? void 0 : n.newtPass) ? e(new Error("两次输入的密码不一致")) : e();
171
171
  }, Le = async () => {
172
- var s, e, n, l, o, a, p, y, b, g;
172
+ var s, e, n, l, o, a, p, y, m, g;
173
173
  const t = await Q({
174
174
  key: {
175
175
  systemKey: sessionStorage.getItem("systemKey"),
@@ -180,7 +180,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
180
180
  });
181
181
  if (((s = t == null ? void 0 : t.data) == null ? void 0 : s.code) === 200 && t.data.result && ((e = t.data.result) == null ? void 0 : e.length) > 0) {
182
182
  const c = (p = (a = (o = (l = (n = t.data.result) == null ? void 0 : n[0]) == null ? void 0 : l.value) == null ? void 0 : o.pageData) == null ? void 0 : a.compData) == null ? void 0 : p.find((r) => (r == null ? void 0 : r.key) === "header"), w = (y = ee.value) == null ? void 0 : y.map((r) => r == null ? void 0 : r.prop);
183
- B.baseCols = c && ((b = c.contents) == null ? void 0 : b.map((r) => ({
183
+ B.baseCols = c && ((m = c.contents) == null ? void 0 : m.map((r) => ({
184
184
  ...r,
185
185
  isFormColHidden: (w == null ? void 0 : w.includes(r == null ? void 0 : r.prop)) || (r == null ? void 0 : r.label) === "操作"
186
186
  })));
@@ -301,7 +301,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
301
301
  formRules: (l = B.otherCols) == null ? void 0 : l.reduce((a, p) => (a[p.prop] = [
302
302
  { required: !0, message: "输入有误", trigger: "change" },
303
303
  {
304
- validator: (y, b, g) => p.validator(y, b, g),
304
+ validator: (y, m, g) => p.validator(y, m, g),
305
305
  trigger: "blur"
306
306
  }
307
307
  ], a), {}),
@@ -381,11 +381,11 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
381
381
  } catch (c) {
382
382
  throw new Error(c);
383
383
  }
384
- }, b = async (c) => {
385
- var w, S, u, r, m;
384
+ }, m = async (c) => {
385
+ var w, S, u, r, b;
386
386
  try {
387
387
  const f = await Y(c);
388
- ((w = f == null ? void 0 : f.data) == null ? void 0 : w.code) === 200 && (a.value = l.value + "/" + ((u = (S = f.data) == null ? void 0 : S.result) == null ? void 0 : u.url), o.value = (m = (r = f.data) == null ? void 0 : r.result) == null ? void 0 : m.url, n("submitImage", o.value));
388
+ ((w = f == null ? void 0 : f.data) == null ? void 0 : w.code) === 200 && (a.value = l.value + "/" + ((u = (S = f.data) == null ? void 0 : S.result) == null ? void 0 : u.url), o.value = (b = (r = f.data) == null ? void 0 : r.result) == null ? void 0 : b.url, n("submitImage", o.value));
389
389
  } catch (f) {
390
390
  T.error(f);
391
391
  }
@@ -404,14 +404,14 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
404
404
  avatarBlob: p.value,
405
405
  size: t.size,
406
406
  onClickAvatar: y,
407
- onSubmitImage: b,
407
+ onSubmitImage: m,
408
408
  onDeleteImage: g,
409
409
  clickStop: e == null ? void 0 : e.clickStop
410
410
  }, {
411
411
  avatarDefault: _(() => {
412
- var r, m, f, v;
412
+ var r, b, f, v;
413
413
  return [
414
- x(F(((m = (r = t.userInfo) == null ? void 0 : r.account) == null ? void 0 : m.charAt(0)) || ((v = (f = t.userInfo) == null ? void 0 : f.姓名) == null ? void 0 : v.charAt(0)) || ""), 1)
414
+ x(F(((b = (r = t.userInfo) == null ? void 0 : r.account) == null ? void 0 : b.charAt(0)) || ((v = (f = t.userInfo) == null ? void 0 : f.姓名) == null ? void 0 : v.charAt(0)) || ""), 1)
415
415
  ];
416
416
  }),
417
417
  _: 1
@@ -442,33 +442,33 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
442
442
  n.value.dialogShow = (u == null ? void 0 : u.label) === "电子签名", o("clickSignButton", u);
443
443
  }, p = () => {
444
444
  n.value.dialogShow = !1, o("beforeDestroy");
445
- }, y = E(() => "http://222.92.178.198:62001"), b = (u) => {
445
+ }, y = E(() => "http://222.92.178.198:62001"), m = (u) => {
446
446
  var i;
447
- const r = u.split(","), m = (i = r == null ? void 0 : r[0]) == null ? void 0 : i.match(/:(.*?);/)[1], f = atob(r[1]);
447
+ const r = u.split(","), b = (i = r == null ? void 0 : r[0]) == null ? void 0 : i.match(/:(.*?);/)[1], f = atob(r[1]);
448
448
  let v = f.length;
449
449
  const C = new Uint8Array(v);
450
450
  for (; v--; )
451
451
  C[v] = f.charCodeAt(v);
452
- return new Blob([C], { type: m });
452
+ return new Blob([C], { type: b });
453
453
  }, g = async (u) => {
454
- var r, m, f;
454
+ var r, b, f;
455
455
  try {
456
456
  const v = await Y(u);
457
- ((r = v == null ? void 0 : v.data) == null ? void 0 : r.code) === 200 && o("clickSubmitSign", (f = (m = v.data) == null ? void 0 : m.result) == null ? void 0 : f.url);
457
+ ((r = v == null ? void 0 : v.data) == null ? void 0 : r.code) === 200 && o("clickSubmitSign", (f = (b = v.data) == null ? void 0 : b.result) == null ? void 0 : f.url);
458
458
  } catch (v) {
459
459
  T.error(v);
460
460
  }
461
461
  }, c = h(""), w = (u) => {
462
462
  c.value = u, n.value.dialogShow = !1;
463
- const r = new FormData(), m = b(u);
464
- r.append("file", m, "image.png"), g(r);
463
+ const r = new FormData(), b = m(u);
464
+ r.append("file", b, "image.png"), g(r);
465
465
  }, S = (u) => {
466
466
  const r = new FormData();
467
467
  r.append("file", u == null ? void 0 : u.file), g(r);
468
468
  };
469
469
  return H(() => e == null ? void 0 : e.itemData, (u) => {
470
- var m, f, v, C;
471
- c.value = "", (m = n.value) != null && m.dialogShow && (n.value.dialogShow = !1);
470
+ var b, f, v, C;
471
+ c.value = "", (b = n.value) != null && b.dialogShow && (n.value.dialogShow = !1);
472
472
  const r = (f = u == null ? void 0 : u.find((i) => (i == null ? void 0 : i.key) === "signConfig")) == null ? void 0 : f.contents;
473
473
  r && Object.keys(r).forEach((i) => {
474
474
  (r[i] === void 0 || r[i] === null || r[i] === "") && delete r[i];
@@ -476,7 +476,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
476
476
  }, {
477
477
  immediate: !0
478
478
  }), (u, r) => {
479
- const m = D("el-empty"), f = D("el-image"), v = D("el-button"), C = D("el-upload");
479
+ const b = D("el-empty"), f = D("el-image"), v = D("el-button"), C = D("el-upload");
480
480
  return k(), R(Ce, {
481
481
  signPadInfo: n.value,
482
482
  onBeforeDestroy: p,
@@ -494,7 +494,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
494
494
  fit: "contain"
495
495
  }, {
496
496
  error: _(() => [
497
- A(m, {
497
+ A(b, {
498
498
  "image-size": 60,
499
499
  description: " "
500
500
  }, {
@@ -1,8 +1,8 @@
1
1
  import { ref as i, computed as _, reactive as ie, nextTick as B, watch as ye } from "vue";
2
- import { c as J, s as be, u as he, a as Ce, i as Ie, p as U } from "./index-DqXvOyIs.js";
3
- import { j as ke } from "./index-DB1HWx1W.js";
2
+ import { c as J, s as be, u as he, a as Ce, n as Ie, p as U } from "./index-DeGxq_J_.js";
3
+ import { j as ke } from "./index-Cn16Hic7.js";
4
4
  import { g as $, c as ae, u as oe, d as Te, a as Me } from "./index-YvUJL9Us.js";
5
- import { e as Se } from "./menuIndex-VozC7XXB.js";
5
+ import { e as Se } from "./menuIndex-CUwbp3jl.js";
6
6
  import { E as S } from "./request-B1c8BUkR.js";
7
7
  const F = Ce(U), ne = Ie(U), C = he(U), { menus: ue, configMenu: R, activeMenuPath: q, cacheStructures: K } = be(C), z = i(!1), se = _(() => {
8
8
  var e, t;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as x, ref as I, reactive as T, resolveComponent as v, createElementBlock as E, openBlock as U, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as h, toDisplayString as N, nextTick as q, Fragment as z, withDirectives as H, renderSlot as $, vShow as M } from "vue";
2
- import { aj as V } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js";
2
+ import { aj as V } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-nutx4ggn.js";
3
3
  import { aB as X, ax as J, am as G, a5 as D, a7 as c, a8 as B, ap as g } from "./request-B1c8BUkR.js";
4
4
  import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const K = "ElUpload";