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
@@ -1,208 +1,4 @@
1
- import { ref as R, reactive as L, watch as O, resolveComponent as X, createBlock as Y, openBlock as o, normalizeStyle as P, withCtx as B, renderSlot as D, createElementBlock as u, createCommentVNode as r, withModifiers as s, createElementVNode as A, toDisplayString as U } from "vue";
2
- import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- const q = { class: "dialog-title" }, G = {
4
- __name: "index",
5
- props: {
6
- title: {
7
- type: String,
8
- default: ""
9
- },
10
- dialogWidth: {
11
- type: [Number, String],
12
- default: 600
13
- },
14
- visible: {
15
- type: Boolean,
16
- default: !1
17
- },
18
- fullScreen: {
19
- type: Boolean,
20
- default: !1
21
- },
22
- // 仅在 resizable=true 时生效
23
- dialogHeight: {
24
- type: [Number, String],
25
- default: 600
26
- },
27
- // 仅在 resizable=true 时生效
28
- minWidth: {
29
- type: [Number, String],
30
- default: 400
31
- },
32
- // 仅在 resizable=true 时生效
33
- minHeight: {
34
- type: [Number, String],
35
- default: 300
36
- },
37
- showClose: {
38
- type: Boolean,
39
- default: !0
40
- },
41
- closeOnClickModal: {
42
- type: Boolean,
43
- default: !0
44
- },
45
- closeOnPressEscape: {
46
- type: Boolean,
47
- default: !0
48
- },
49
- modalClass: {
50
- type: String,
51
- default: ""
52
- },
53
- alignCenter: {
54
- type: Boolean,
55
- default: !1
56
- },
57
- appendToBody: {
58
- type: Boolean,
59
- default: !0
60
- },
61
- zIndex: {
62
- type: Number,
63
- default: void 0
64
- },
65
- // 是否允许四边拖拽改变弹窗大小
66
- resizable: {
67
- type: Boolean,
68
- default: !1
69
- }
70
- },
71
- emits: ["beforeDestroy"],
72
- setup(y, { emit: M }) {
73
- const e = y, T = M, x = R(!1), i = L({
74
- width: void 0,
75
- height: void 0,
76
- minWidth: void 0,
77
- minHeight: void 0
78
- });
79
- let E = !1, v = "", W = 0, k = 0, g = 0, h = 0, F = 0, p = 0, z = null;
80
- const N = (l) => {
81
- var a, n;
82
- const t = (n = (a = l == null ? void 0 : l.target) == null ? void 0 : a.closest) == null ? void 0 : n.call(a, ".el-dialog");
83
- return t || null;
84
- }, $ = (l) => {
85
- if (!l || l === "none")
86
- return { tx: 0, ty: 0 };
87
- let t = l.match(/matrix\(([^)]+)\)/);
88
- if (t) {
89
- const a = t[1].split(",").map((n) => Number(n.trim()));
90
- return { tx: (a == null ? void 0 : a[4]) || 0, ty: (a == null ? void 0 : a[5]) || 0 };
91
- }
92
- if (t = l.match(/matrix3d\(([^)]+)\)/), t) {
93
- const a = t[1].split(",").map((n) => Number(n.trim()));
94
- return { tx: (a == null ? void 0 : a[12]) || 0, ty: (a == null ? void 0 : a[13]) || 0 };
95
- }
96
- return t = l.match(/translate\(\s*([-\d.]+)px\s*,\s*([-\d.]+)px\s*\)/), t ? { tx: Number(t[1]) || 0, ty: Number(t[2]) || 0 } : { tx: 0, ty: 0 };
97
- }, V = (l, t, a) => {
98
- l.style.transform = `translate(${t}px, ${a}px)`;
99
- }, m = (l, t) => {
100
- if (!e.resizable) return;
101
- const a = N(l);
102
- if (!a) return;
103
- z = a, E = !0, v = t, W = l.clientX, k = l.clientY;
104
- const n = a.getBoundingClientRect();
105
- g = n.width, h = n.height;
106
- const c = window.getComputedStyle(a), { tx: d, ty: b } = $(c.transform);
107
- F = d, p = b, document.addEventListener("mousemove", S), document.addEventListener("mouseup", H);
108
- }, S = (l) => {
109
- if (!E || !z) return;
110
- const t = l.clientX - W, a = l.clientY - k, n = parseInt(i.minWidth || "0", 10) || 0, c = parseInt(i.minHeight || "0", 10) || 0;
111
- let d = g, b = h, C = F, w = p;
112
- if (v.includes("right") && (d = Math.max(n, g + t)), v.includes("bottom") && (b = Math.max(c, h + a)), v.includes("left")) {
113
- const f = g - t;
114
- f < n ? (d = n, C = F + (g - n)) : (d = f, C = F + t);
115
- }
116
- if (v.includes("top")) {
117
- const f = h - a;
118
- f < c ? (b = c, w = p + (h - c)) : (b = f, w = p + a);
119
- }
120
- i.width = `${d}px`, i.height = `${b}px`, V(z, C, w);
121
- }, H = () => {
122
- E = !1, v = "", z = null, document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", H);
123
- }, I = () => {
124
- T("beforeDestroy");
125
- };
126
- return O(
127
- () => e == null ? void 0 : e.visible,
128
- (l) => {
129
- x.value = l, l && (e.resizable ? (i.width = typeof e.dialogWidth == "number" ? `${e.dialogWidth}px` : e.dialogWidth, i.height = typeof e.dialogHeight == "number" ? `${e.dialogHeight}px` : e.dialogHeight, i.minWidth = typeof e.minWidth == "number" ? `${e.minWidth}px` : e.minWidth, i.minHeight = typeof e.minHeight == "number" ? `${e.minHeight}px` : e.minHeight) : (i.width = void 0, i.height = void 0, i.minWidth = void 0, i.minHeight = void 0));
130
- },
131
- { deep: !0, immediate: !0 }
132
- ), (l, t) => {
133
- const a = X("el-dialog");
134
- return o(), Y(a, {
135
- modelValue: x.value,
136
- "onUpdate:modelValue": t[8] || (t[8] = (n) => x.value = n),
137
- width: e == null ? void 0 : e.dialogWidth,
138
- "before-close": I,
139
- draggable: "",
140
- style: P(e != null && e.resizable ? i : void 0),
141
- fullscreen: e == null ? void 0 : e.fullScreen,
142
- "destroy-on-close": !0,
143
- "show-close": e == null ? void 0 : e.showClose,
144
- "close-on-click-modal": e == null ? void 0 : e.closeOnClickModal,
145
- "modal-class": y.modalClass,
146
- "close-on-press-escape": e == null ? void 0 : e.closeOnPressEscape,
147
- "align-center": e == null ? void 0 : e.alignCenter,
148
- "append-to-body": y.appendToBody,
149
- "z-index": e == null ? void 0 : e.zIndex
150
- }, {
151
- header: B(() => [
152
- A("div", q, U(e == null ? void 0 : e.title), 1),
153
- D(l.$slots, "header", {}, void 0, !0)
154
- ]),
155
- footer: B(() => [
156
- D(l.$slots, "footer", {}, void 0, !0)
157
- ]),
158
- default: B(() => [
159
- D(l.$slots, "default", {}, void 0, !0),
160
- e.resizable ? (o(), u("div", {
161
- key: 0,
162
- class: "resizable-handle top",
163
- onMousedown: t[0] || (t[0] = s((n) => m(n, "top"), ["stop"]))
164
- }, null, 32)) : r("", !0),
165
- e.resizable ? (o(), u("div", {
166
- key: 1,
167
- class: "resizable-handle right",
168
- onMousedown: t[1] || (t[1] = s((n) => m(n, "right"), ["stop"]))
169
- }, null, 32)) : r("", !0),
170
- e.resizable ? (o(), u("div", {
171
- key: 2,
172
- class: "resizable-handle bottom",
173
- onMousedown: t[2] || (t[2] = s((n) => m(n, "bottom"), ["stop"]))
174
- }, null, 32)) : r("", !0),
175
- e.resizable ? (o(), u("div", {
176
- key: 3,
177
- class: "resizable-handle left",
178
- onMousedown: t[3] || (t[3] = s((n) => m(n, "left"), ["stop"]))
179
- }, null, 32)) : r("", !0),
180
- e.resizable ? (o(), u("div", {
181
- key: 4,
182
- class: "resizable-handle top-left",
183
- onMousedown: t[4] || (t[4] = s((n) => m(n, "top-left"), ["stop"]))
184
- }, null, 32)) : r("", !0),
185
- e.resizable ? (o(), u("div", {
186
- key: 5,
187
- class: "resizable-handle top-right",
188
- onMousedown: t[5] || (t[5] = s((n) => m(n, "top-right"), ["stop"]))
189
- }, null, 32)) : r("", !0),
190
- e.resizable ? (o(), u("div", {
191
- key: 6,
192
- class: "resizable-handle bottom-left",
193
- onMousedown: t[6] || (t[6] = s((n) => m(n, "bottom-left"), ["stop"]))
194
- }, null, 32)) : r("", !0),
195
- e.resizable ? (o(), u("div", {
196
- key: 7,
197
- class: "resizable-handle bottom-right",
198
- onMousedown: t[7] || (t[7] = s((n) => m(n, "bottom-right"), ["stop"]))
199
- }, null, 32)) : r("", !0)
200
- ]),
201
- _: 3
202
- }, 8, ["modelValue", "width", "style", "fullscreen", "show-close", "close-on-click-modal", "modal-class", "close-on-press-escape", "align-center", "append-to-body", "z-index"]);
203
- };
204
- }
205
- }, Q = /* @__PURE__ */ j(G, [["__scopeId", "data-v-7917fe7b"]]), Z = [
1
+ const e = [
206
2
  {
207
3
  name: "--vertical-menu-bg",
208
4
  value: "transparent"
@@ -299,7 +95,7 @@ const q = { class: "dialog-title" }, G = {
299
95
  name: "--vertical-menu-padding",
300
96
  value: "0.5rem"
301
97
  }
302
- ], _ = [
98
+ ], a = [
303
99
  {
304
100
  name: "--horizontal-menu-bg",
305
101
  value: "#333333"
@@ -355,7 +151,7 @@ const q = { class: "dialog-title" }, G = {
355
151
  name: "--horizontal-menuitem-font",
356
152
  value: "var(--ssComponent-font-family)"
357
153
  }
358
- ], ee = [
154
+ ], n = [
359
155
  {
360
156
  name: "--vertical-menu-bg",
361
157
  value: "transparent"
@@ -452,7 +248,7 @@ const q = { class: "dialog-title" }, G = {
452
248
  name: "--vertical-menu-padding",
453
249
  value: "0.5rem"
454
250
  }
455
- ], te = [
251
+ ], t = [
456
252
  {
457
253
  name: "--horizontal-menu-bg",
458
254
  value: "#333333"
@@ -508,7 +304,7 @@ const q = { class: "dialog-title" }, G = {
508
304
  name: "--horizontal-menuitem-font",
509
305
  value: "var(--ssComponent-font-family)"
510
306
  }
511
- ], ne = [
307
+ ], m = [
512
308
  {
513
309
  name: "--vertical-menu-bg",
514
310
  value: "transparent"
@@ -605,7 +401,7 @@ const q = { class: "dialog-title" }, G = {
605
401
  name: "--vertical-menu-padding",
606
402
  value: "0.5rem"
607
403
  }
608
- ], ae = [
404
+ ], l = [
609
405
  {
610
406
  name: "--horizontal-menu-bg",
611
407
  value: "#333333"
@@ -661,7 +457,7 @@ const q = { class: "dialog-title" }, G = {
661
457
  name: "--horizontal-menuitem-font",
662
458
  value: "var(--ssComponent-font-family)"
663
459
  }
664
- ], le = [
460
+ ], u = [
665
461
  {
666
462
  name: "--user-avatar-bg",
667
463
  value: "linear-gradient(to bottom, #73D2FF,#235096)"
@@ -702,7 +498,7 @@ const q = { class: "dialog-title" }, G = {
702
498
  name: "--ssComponent-theme-watermark",
703
499
  value: 'url("@/assets/image/watermark-blue.png")'
704
500
  }
705
- ], ie = [
501
+ ], o = [
706
502
  {
707
503
  name: "--user-avatar-bg",
708
504
  value: "linear-gradient(to bottom, #96E13C,#196E05)"
@@ -744,7 +540,7 @@ const q = { class: "dialog-title" }, G = {
744
540
  name: "--ssComponent-theme-watermark",
745
541
  value: 'url("@/assets/image/watermark.png")'
746
542
  }
747
- ], oe = [
543
+ ], i = [
748
544
  {
749
545
  name: "--user-avatar-bg",
750
546
  value: "linear-gradient(to bottom, #96E13C,#196E05)"
@@ -788,14 +584,13 @@ const q = { class: "dialog-title" }, G = {
788
584
  }
789
585
  ];
790
586
  export {
791
- Z as a,
792
- le as b,
793
- ie as c,
794
- te as d,
795
- ee as e,
796
- ae as f,
797
- ne as g,
798
- _ as h,
799
- Q as s,
800
- oe as t
587
+ e as a,
588
+ u as b,
589
+ o as c,
590
+ a as d,
591
+ t as e,
592
+ n as f,
593
+ l as g,
594
+ m as h,
595
+ i as t
801
596
  };