ss-component-new 1.3.698 → 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 (91) 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.vue_vue_type_script_setup_true_lang-DRzriV-s.js +55 -0
  52. package/dist/index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-Mr9QL-WU.js +137877 -0
  53. package/dist/isString-0ZglyOfu.js +8 -0
  54. package/dist/localIcon-D5UoFBU5.js +76 -0
  55. package/dist/main-Cepry4zn.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/request-1RPa2bBn.js +9048 -0
  60. package/dist/ss-component.css +8 -2
  61. package/dist/ss-component.js +64 -28
  62. package/dist/ss-component2.js +75 -15
  63. package/dist/ss-component3.js +1 -1
  64. package/dist/threeModel-DcUyC6Vh.js +1109 -0
  65. package/dist/threePreview-CbGqCMch.js +2810 -0
  66. package/dist/threeSceneView-BDyFpkq-.js +1290 -0
  67. package/dist/threeSceneViewForCPMPIP-DUSufDRq.js +539 -0
  68. package/dist/threeTrackPathView-yLEUuGXc.js +620 -0
  69. package/dist/threeViewerHost-BXdZ6Wgi.js +233 -0
  70. package/dist/urdfTree-C6mx4T9t.js +254 -0
  71. package/dist/workpieceTreePanel-DjR9f2D1.js +559 -0
  72. package/package.json +6 -8
  73. package/public/config.js +1 -1
  74. package/public/icons/svg/functionList.svg +1 -0
  75. package/public/icons/svg/method.svg +1 -0
  76. package/public/obj/model.mtl +42 -0
  77. package/public/obj/model.obj +26110 -0
  78. package/dist/header-R5IfoKTX.js +0 -4029
  79. package/dist/index-B9isvN1d.js +0 -182
  80. package/dist/index-BKKAvqK3.js +0 -1043
  81. package/dist/index-By70dOai.js +0 -50
  82. package/dist/index-Cc1nPEpp.js +0 -49044
  83. package/dist/index-RUwH0Fls.js +0 -365
  84. package/dist/index.vue_vue_type_script_setup_true_lang-Dj5jZLRU.js +0 -11484
  85. package/dist/menu-Blo579Ai.js +0 -5217
  86. /package/dist/icons/svg/{update.svg → Update.svg} +0 -0
  87. /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  88. /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
  89. /package/public/icons/svg/{update.svg → Update.svg} +0 -0
  90. /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  91. /package/public/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
@@ -0,0 +1 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1780642425297" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2833" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M384 806.4l275.2-275.2-57.6-57.6-19.2 19.2c-12.8 12.8-38.4 12.8-51.2 0-12.8-12.8-12.8-38.4 0-51.2l19.2-19.2c25.6-25.6 64-25.6 89.6 0l64 70.4c25.6 25.6 25.6 64 0 89.6l-275.2 275.2c6.4 12.8 12.8 32 12.8 44.8 0 51.2-44.8 96-96 96S256 947.2 256 896s44.8-96 96-96c12.8 0 25.6 0 32 6.4z m275.2-563.2L384 518.4l57.6 57.6 19.2-19.2c12.8-12.8 38.4-12.8 51.2 0 12.8 12.8 12.8 38.4 0 51.2l-25.6 25.6c-25.6 25.6-64 25.6-89.6 0l-64-70.4c-25.6-25.6-25.6-64 0-89.6L614.4 192c-6.4-12.8-6.4-19.2-6.4-32 0-51.2 44.8-96 96-96s96 44.8 96 96S755.2 256 704 256c-19.2 0-32-6.4-44.8-12.8z m198.4 275.2l-128-128c-12.8-12.8-12.8-38.4 0-51.2 12.8-12.8 38.4-12.8 51.2 0l128 128c12.8 12.8 19.2 32 19.2 51.2 0 19.2-6.4 38.4-19.2 51.2l-128 128c-12.8 12.8-38.4 12.8-51.2 0-12.8-12.8-12.8-38.4 0-51.2l128-128z m-691.2 0l128 128c12.8 12.8 12.8 38.4 0 51.2-12.8 12.8-38.4 12.8-51.2 0l-128-128c-12.8-12.8-19.2-32-19.2-51.2 0-19.2 6.4-38.4 19.2-51.2l128-128c12.8-12.8 38.4-12.8 51.2 0 12.8 12.8 12.8 38.4 0 51.2l-128 128z" p-id="2834"></path></svg>
@@ -0,0 +1 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1782276995812" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4176" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M469.745309 0a469.745309 469.745309 0 1 0 0 939.490619A469.745309 469.745309 0 0 0 469.809272 0z m0 81.872821a387.872488 387.872488 0 1 1 0 775.744977 387.872488 387.872488 0 0 1 0-775.744977z" fill="#444444" p-id="4177"></path><path d="M753.485804 753.485804a40.93641 40.93641 0 0 1 55.264154-2.4306l2.558525 2.4306 200.204633 200.076706a40.93641 40.93641 0 0 1-55.328118 60.317242l-2.622488-2.4306-200.140669-200.076705a40.93641 40.93641 0 0 1 0-57.886643z" fill="#444444" p-id="4178"></path><path d="M266.086668 552.64154c15.351154 0 29.423045 8.571061 36.45899 22.19521l-1.982857-2.878341c45.733646 70.487382 115.005728 111.295866 198.477627 113.598539l7.419724 0.063963V767.557695c-112.575129 0-208.327951-53.217334-270.308235-144.556699l-4.28553-6.396314 0.191889-0.127927a40.93641 40.93641 0 0 1 34.028392-63.771252z" p-id="4179"></path></svg>
@@ -0,0 +1,209 @@
1
+ import { ref as L, reactive as O, watch as X, resolveComponent as Y, createBlock as P, openBlock as s, normalizeStyle as U, withCtx as S, renderSlot as B, createElementBlock as a, createCommentVNode as r, withModifiers as u, createElementVNode as j, toDisplayString as q } from "vue";
2
+ /* empty css */
3
+ import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ const F = { class: "dialog-title" }, G = {
5
+ __name: "index",
6
+ props: {
7
+ title: {
8
+ type: String,
9
+ default: ""
10
+ },
11
+ dialogWidth: {
12
+ type: [Number, String],
13
+ default: 600
14
+ },
15
+ visible: {
16
+ type: Boolean,
17
+ default: !1
18
+ },
19
+ fullScreen: {
20
+ type: Boolean,
21
+ default: !1
22
+ },
23
+ // 仅在 resizable=true 时生效
24
+ dialogHeight: {
25
+ type: [Number, String],
26
+ default: 600
27
+ },
28
+ // 仅在 resizable=true 时生效
29
+ minWidth: {
30
+ type: [Number, String],
31
+ default: 400
32
+ },
33
+ // 仅在 resizable=true 时生效
34
+ minHeight: {
35
+ type: [Number, String],
36
+ default: 300
37
+ },
38
+ showClose: {
39
+ type: Boolean,
40
+ default: !0
41
+ },
42
+ closeOnClickModal: {
43
+ type: Boolean,
44
+ default: !0
45
+ },
46
+ closeOnPressEscape: {
47
+ type: Boolean,
48
+ default: !0
49
+ },
50
+ modalClass: {
51
+ type: String,
52
+ default: ""
53
+ },
54
+ alignCenter: {
55
+ type: Boolean,
56
+ default: !1
57
+ },
58
+ appendToBody: {
59
+ type: Boolean,
60
+ default: !0
61
+ },
62
+ zIndex: {
63
+ type: Number,
64
+ default: void 0
65
+ },
66
+ // 是否允许四边拖拽改变弹窗大小
67
+ resizable: {
68
+ type: Boolean,
69
+ default: !1
70
+ }
71
+ },
72
+ emits: ["beforeDestroy"],
73
+ setup(w, { emit: $ }) {
74
+ const e = w, T = $, v = L(!1), o = O({
75
+ width: void 0,
76
+ height: void 0,
77
+ minWidth: void 0,
78
+ minHeight: void 0
79
+ });
80
+ let W = !1, m = "", C = 0, E = 0, h = 0, y = 0, p = 0, z = 0, x = null;
81
+ const D = (i) => {
82
+ var n, l;
83
+ const t = (l = (n = i == null ? void 0 : i.target) == null ? void 0 : n.closest) == null ? void 0 : l.call(n, ".el-dialog");
84
+ return t || null;
85
+ }, I = (i) => {
86
+ if (!i || i === "none")
87
+ return { tx: 0, ty: 0 };
88
+ let t = i.match(/matrix\(([^)]+)\)/);
89
+ if (t) {
90
+ const n = t[1].split(",").map((l) => Number(l.trim()));
91
+ return { tx: (n == null ? void 0 : n[4]) || 0, ty: (n == null ? void 0 : n[5]) || 0 };
92
+ }
93
+ if (t = i.match(/matrix3d\(([^)]+)\)/), t) {
94
+ const n = t[1].split(",").map((l) => Number(l.trim()));
95
+ return { tx: (n == null ? void 0 : n[12]) || 0, ty: (n == null ? void 0 : n[13]) || 0 };
96
+ }
97
+ return t = i.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 };
98
+ }, R = (i, t, n) => {
99
+ i.style.transform = `translate(${t}px, ${n}px)`;
100
+ }, d = (i, t) => {
101
+ if (!e.resizable) return;
102
+ const n = D(i);
103
+ if (!n) return;
104
+ x = n, W = !0, m = t, C = i.clientX, E = i.clientY;
105
+ const l = n.getBoundingClientRect();
106
+ h = l.width, y = l.height;
107
+ const f = window.getComputedStyle(n), { tx: g, ty: c } = I(f.transform);
108
+ p = g, z = c, document.addEventListener("mousemove", M), document.addEventListener("mouseup", N);
109
+ }, M = (i) => {
110
+ if (!W || !x) return;
111
+ const t = i.clientX - C, n = i.clientY - E, l = parseInt(o.minWidth || "0", 10) || 0, f = parseInt(o.minHeight || "0", 10) || 0;
112
+ let g = h, c = y, H = p, k = z;
113
+ if (m.includes("right") && (g = Math.max(l, h + t)), m.includes("bottom") && (c = Math.max(f, y + n)), m.includes("left")) {
114
+ const b = h - t;
115
+ b < l ? (g = l, H = p + (h - l)) : (g = b, H = p + t);
116
+ }
117
+ if (m.includes("top")) {
118
+ const b = y - n;
119
+ b < f ? (c = f, k = z + (y - f)) : (c = b, k = z + n);
120
+ }
121
+ o.width = `${g}px`, o.height = `${c}px`, R(x, H, k);
122
+ }, N = () => {
123
+ W = !1, m = "", x = null, document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", N);
124
+ }, V = () => {
125
+ T("beforeDestroy");
126
+ };
127
+ return X(
128
+ () => e == null ? void 0 : e.visible,
129
+ (i) => {
130
+ v.value = i, i && (e.resizable ? (o.width = typeof e.dialogWidth == "number" ? `${e.dialogWidth}px` : e.dialogWidth, o.height = typeof e.dialogHeight == "number" ? `${e.dialogHeight}px` : e.dialogHeight, o.minWidth = typeof e.minWidth == "number" ? `${e.minWidth}px` : e.minWidth, o.minHeight = typeof e.minHeight == "number" ? `${e.minHeight}px` : e.minHeight) : (o.width = void 0, o.height = void 0, o.minWidth = void 0, o.minHeight = void 0));
131
+ },
132
+ { deep: !0, immediate: !0 }
133
+ ), (i, t) => {
134
+ const n = Y("el-dialog");
135
+ return s(), P(n, {
136
+ modelValue: v.value,
137
+ "onUpdate:modelValue": t[8] || (t[8] = (l) => v.value = l),
138
+ width: e == null ? void 0 : e.dialogWidth,
139
+ "before-close": V,
140
+ draggable: "",
141
+ style: U(e != null && e.resizable ? o : void 0),
142
+ fullscreen: e == null ? void 0 : e.fullScreen,
143
+ "destroy-on-close": !0,
144
+ "show-close": e == null ? void 0 : e.showClose,
145
+ "close-on-click-modal": e == null ? void 0 : e.closeOnClickModal,
146
+ "modal-class": w.modalClass,
147
+ "close-on-press-escape": e == null ? void 0 : e.closeOnPressEscape,
148
+ "align-center": e == null ? void 0 : e.alignCenter,
149
+ "append-to-body": w.appendToBody,
150
+ "z-index": e == null ? void 0 : e.zIndex
151
+ }, {
152
+ header: S(() => [
153
+ j("div", F, q(e == null ? void 0 : e.title), 1),
154
+ B(i.$slots, "header", {}, void 0, !0)
155
+ ]),
156
+ footer: S(() => [
157
+ B(i.$slots, "footer", {}, void 0, !0)
158
+ ]),
159
+ default: S(() => [
160
+ B(i.$slots, "default", {}, void 0, !0),
161
+ e.resizable ? (s(), a("div", {
162
+ key: 0,
163
+ class: "resizable-handle top",
164
+ onMousedown: t[0] || (t[0] = u((l) => d(l, "top"), ["stop"]))
165
+ }, null, 32)) : r("", !0),
166
+ e.resizable ? (s(), a("div", {
167
+ key: 1,
168
+ class: "resizable-handle right",
169
+ onMousedown: t[1] || (t[1] = u((l) => d(l, "right"), ["stop"]))
170
+ }, null, 32)) : r("", !0),
171
+ e.resizable ? (s(), a("div", {
172
+ key: 2,
173
+ class: "resizable-handle bottom",
174
+ onMousedown: t[2] || (t[2] = u((l) => d(l, "bottom"), ["stop"]))
175
+ }, null, 32)) : r("", !0),
176
+ e.resizable ? (s(), a("div", {
177
+ key: 3,
178
+ class: "resizable-handle left",
179
+ onMousedown: t[3] || (t[3] = u((l) => d(l, "left"), ["stop"]))
180
+ }, null, 32)) : r("", !0),
181
+ e.resizable ? (s(), a("div", {
182
+ key: 4,
183
+ class: "resizable-handle top-left",
184
+ onMousedown: t[4] || (t[4] = u((l) => d(l, "top-left"), ["stop"]))
185
+ }, null, 32)) : r("", !0),
186
+ e.resizable ? (s(), a("div", {
187
+ key: 5,
188
+ class: "resizable-handle top-right",
189
+ onMousedown: t[5] || (t[5] = u((l) => d(l, "top-right"), ["stop"]))
190
+ }, null, 32)) : r("", !0),
191
+ e.resizable ? (s(), a("div", {
192
+ key: 6,
193
+ class: "resizable-handle bottom-left",
194
+ onMousedown: t[6] || (t[6] = u((l) => d(l, "bottom-left"), ["stop"]))
195
+ }, null, 32)) : r("", !0),
196
+ e.resizable ? (s(), a("div", {
197
+ key: 7,
198
+ class: "resizable-handle bottom-right",
199
+ onMousedown: t[7] || (t[7] = u((l) => d(l, "bottom-right"), ["stop"]))
200
+ }, null, 32)) : r("", !0)
201
+ ]),
202
+ _: 3
203
+ }, 8, ["modelValue", "width", "style", "fullscreen", "show-close", "close-on-click-modal", "modal-class", "close-on-press-escape", "align-center", "append-to-body", "z-index"]);
204
+ };
205
+ }
206
+ }, Z = /* @__PURE__ */ A(G, [["__scopeId", "data-v-16b3a6b2"]]);
207
+ export {
208
+ Z as s
209
+ };