ss-component-new 1.3.716 → 1.3.718

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 (90) 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/__vite-browser-external-DYxpcVy9.js +4 -0
  5. package/dist/animationData-DvL_4GZ5.js +83 -0
  6. package/dist/array-CWqACcUR.js +1045 -0
  7. package/dist/clone-Dp_gc9ll.js +8 -0
  8. package/dist/config.js +1 -1
  9. package/dist/eleIcon-qStmsM1q.js +29 -0
  10. package/dist/fileUtil-UOt_otFo.js +20 -0
  11. package/dist/iconfont-BwY2qVoK.js +1030 -0
  12. package/dist/icons/svg/functionList.svg +1 -0
  13. package/dist/icons/svg/method.svg +1 -0
  14. package/dist/index-11kpzK0A.js +209 -0
  15. package/dist/index-B0H3C7WG.js +103 -0
  16. package/dist/index-BHtNKL1L.js +27 -0
  17. package/dist/index-BYdpVSno.js +572 -0
  18. package/dist/index-BbyrFzEO.js +93 -0
  19. package/dist/index-BooO2Bml.js +78 -0
  20. package/dist/index-Bw3sTXPI.js +8993 -0
  21. package/dist/index-BzUgGzuc.js +48 -0
  22. package/dist/index-CGi0g-VN.js +627 -0
  23. package/dist/index-CVAzpX9K.js +98 -0
  24. package/dist/index-CV_jQDcg.js +9 -0
  25. package/dist/index-CWOXvFfD.js +44 -0
  26. package/dist/index-Ch8te5LO.js +411 -0
  27. package/dist/{index-DyhB-cd1.js → index-ChNfRlIP.js} +18 -253
  28. package/dist/index-Cq1wQI_y.js +107 -0
  29. package/dist/index-CydXQbtX.js +622 -0
  30. package/dist/index-D0FZKjDs.js +25341 -0
  31. package/dist/index-DAJxL40d.js +55 -0
  32. package/dist/index-DBsEVMiM.js +201 -0
  33. package/dist/index-DG4hoOWt.js +665 -0
  34. package/dist/index-DI0jVTla.js +873 -0
  35. package/dist/index-DUbk5m5P.js +99 -0
  36. package/dist/index-Ds6m_4JJ.js +28500 -0
  37. package/dist/index-DupTchhl.js +1000 -0
  38. package/dist/index-DyCq_odP.js +331 -0
  39. package/dist/index-FJ3M8we8.js +83 -0
  40. package/dist/index-FxtrZ3Ur.js +93 -0
  41. package/dist/index-KDp0WF5x.js +20439 -0
  42. package/dist/index-Ru-cNTPj.js +84 -0
  43. package/dist/index-UB_oCdlo.js +62 -0
  44. package/dist/index-VnvWLzSa.js +119 -0
  45. package/dist/index-YjBTGOkO.js +61 -0
  46. package/dist/index-awJ3iGD-.js +30 -0
  47. package/dist/index-ebaA7pNY.js +63306 -0
  48. package/dist/index-jbOjjV0j.js +447 -0
  49. package/dist/index-ogo2gre_.js +470 -0
  50. package/dist/index-rlStojTL.js +52 -0
  51. package/dist/index-uF-ibwG0.js +9 -0
  52. package/dist/index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-C2itW9KG.js +137927 -0
  53. package/dist/isString-0ZglyOfu.js +8 -0
  54. package/dist/localIcon-D5UoFBU5.js +76 -0
  55. package/dist/main-CdZD0nqa.js +502 -0
  56. package/dist/menuIndex-BB0uVPRX.js +159 -0
  57. package/dist/pyodide-Dc1Mu-0d.js +489 -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-CWaOyliB.js +1109 -0
  64. package/dist/threePreview-DUfFZQ5q.js +3091 -0
  65. package/dist/threeSceneView-BVBz-gGI.js +1290 -0
  66. package/dist/threeSceneViewForCPMPIP-CD2jYm22.js +539 -0
  67. package/dist/threeTrackPathView-DmE9QE_0.js +620 -0
  68. package/dist/threeViewerHost--PNbDhbX.js +233 -0
  69. package/dist/urdfTree-VRms7Vm3.js +254 -0
  70. package/dist/workpieceTreePanel-DCSz_IDY.js +559 -0
  71. package/package.json +8 -10
  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/dist/index-0g0DP0Sz.js +0 -1044
  76. package/dist/index-BDCuosQJ.js +0 -50
  77. package/dist/index-BxJpjRsQ.js +0 -50711
  78. package/dist/index-C1ELjCn7.js +0 -181
  79. package/dist/index-CEUQmw5e.js +0 -58
  80. package/dist/index-CndLgFR1.js +0 -35
  81. package/dist/index-DlDwzFUG.js +0 -213
  82. package/dist/index-IoMa0kLh.js +0 -27
  83. package/dist/menu-HTA6NZEd.js +0 -5208
  84. package/dist/platform-DoyWecim.js +0 -11429
  85. /package/dist/icons/svg/{update.svg → Update.svg} +0 -0
  86. /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  87. /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
  88. /package/public/icons/svg/{update.svg → Update.svg} +0 -0
  89. /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  90. /package/public/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
@@ -1,208 +1,4 @@
1
- import { ref as I, reactive as L, watch as O, resolveComponent as X, createBlock as Y, openBlock as i, 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, R = M, x = I(!1), o = 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 T = (l) => {
81
- var n, a;
82
- const t = (a = (n = l == null ? void 0 : l.target) == null ? void 0 : n.closest) == null ? void 0 : a.call(n, ".el-dialog");
83
- return t || null;
84
- }, N = (l) => {
85
- if (!l || l === "none")
86
- return { tx: 0, ty: 0 };
87
- let t = l.match(/matrix\(([^)]+)\)/);
88
- if (t) {
89
- const n = t[1].split(",").map((a) => Number(a.trim()));
90
- return { tx: (n == null ? void 0 : n[4]) || 0, ty: (n == null ? void 0 : n[5]) || 0 };
91
- }
92
- if (t = l.match(/matrix3d\(([^)]+)\)/), t) {
93
- const n = t[1].split(",").map((a) => Number(a.trim()));
94
- return { tx: (n == null ? void 0 : n[12]) || 0, ty: (n == null ? void 0 : n[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
- }, $ = (l, t, n) => {
98
- l.style.transform = `translate(${t}px, ${n}px)`;
99
- }, m = (l, t) => {
100
- if (!e.resizable) return;
101
- const n = T(l);
102
- if (!n) return;
103
- z = n, E = !0, v = t, W = l.clientX, k = l.clientY;
104
- const a = n.getBoundingClientRect();
105
- g = a.width, h = a.height;
106
- const c = window.getComputedStyle(n), { tx: d, ty: b } = N(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, n = l.clientY - k, a = parseInt(o.minWidth || "0", 10) || 0, c = parseInt(o.minHeight || "0", 10) || 0;
111
- let d = g, b = h, C = F, w = p;
112
- if (v.includes("right") && (d = Math.max(a, g + t)), v.includes("bottom") && (b = Math.max(c, h + n)), v.includes("left")) {
113
- const f = g - t;
114
- f < a ? (d = a, C = F + (g - a)) : (d = f, C = F + t);
115
- }
116
- if (v.includes("top")) {
117
- const f = h - n;
118
- f < c ? (b = c, w = p + (h - c)) : (b = f, w = p + n);
119
- }
120
- o.width = `${d}px`, o.height = `${b}px`, $(z, C, w);
121
- }, H = () => {
122
- E = !1, v = "", z = null, document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", H);
123
- }, V = () => {
124
- R("beforeDestroy");
125
- };
126
- return O(
127
- () => e == null ? void 0 : e.visible,
128
- (l) => {
129
- x.value = l, l && (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));
130
- },
131
- { deep: !0, immediate: !0 }
132
- ), (l, t) => {
133
- const n = X("el-dialog");
134
- return i(), Y(n, {
135
- modelValue: x.value,
136
- "onUpdate:modelValue": t[8] || (t[8] = (a) => x.value = a),
137
- width: e == null ? void 0 : e.dialogWidth,
138
- "before-close": V,
139
- draggable: "",
140
- style: P(e != null && e.resizable ? o : 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 ? (i(), u("div", {
161
- key: 0,
162
- class: "resizable-handle top",
163
- onMousedown: t[0] || (t[0] = s((a) => m(a, "top"), ["stop"]))
164
- }, null, 32)) : r("", !0),
165
- e.resizable ? (i(), u("div", {
166
- key: 1,
167
- class: "resizable-handle right",
168
- onMousedown: t[1] || (t[1] = s((a) => m(a, "right"), ["stop"]))
169
- }, null, 32)) : r("", !0),
170
- e.resizable ? (i(), u("div", {
171
- key: 2,
172
- class: "resizable-handle bottom",
173
- onMousedown: t[2] || (t[2] = s((a) => m(a, "bottom"), ["stop"]))
174
- }, null, 32)) : r("", !0),
175
- e.resizable ? (i(), u("div", {
176
- key: 3,
177
- class: "resizable-handle left",
178
- onMousedown: t[3] || (t[3] = s((a) => m(a, "left"), ["stop"]))
179
- }, null, 32)) : r("", !0),
180
- e.resizable ? (i(), u("div", {
181
- key: 4,
182
- class: "resizable-handle top-left",
183
- onMousedown: t[4] || (t[4] = s((a) => m(a, "top-left"), ["stop"]))
184
- }, null, 32)) : r("", !0),
185
- e.resizable ? (i(), u("div", {
186
- key: 5,
187
- class: "resizable-handle top-right",
188
- onMousedown: t[5] || (t[5] = s((a) => m(a, "top-right"), ["stop"]))
189
- }, null, 32)) : r("", !0),
190
- e.resizable ? (i(), u("div", {
191
- key: 6,
192
- class: "resizable-handle bottom-left",
193
- onMousedown: t[6] || (t[6] = s((a) => m(a, "bottom-left"), ["stop"]))
194
- }, null, 32)) : r("", !0),
195
- e.resizable ? (i(), u("div", {
196
- key: 7,
197
- class: "resizable-handle bottom-right",
198
- onMousedown: t[7] || (t[7] = s((a) => m(a, "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
- ], ae = [
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
- ], ne = [
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
- ], oe = [
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
- ], ie = [
543
+ ], i = [
748
544
  {
749
545
  name: "--user-avatar-bg",
750
546
  value: "linear-gradient(to bottom, #96E13C,#196E05)"
@@ -786,46 +582,15 @@ const q = { class: "dialog-title" }, G = {
786
582
  name: "--ssComponent-theme-watermark",
787
583
  value: 'url("@/assets/image/watermark.png")'
788
584
  }
789
- ], me = [
790
- {
791
- name: "--ssRobot-bg",
792
- value: "#323333"
793
- },
794
- {
795
- name: "--ssRobot-highlight",
796
- value: "#bac01d"
797
- },
798
- {
799
- name: "--ssRobot-highlight-rgb",
800
- value: "186, 192, 29"
801
- },
802
- {
803
- name: "--ssRobot-scrollbar-thumb",
804
- value: "#4a4a4a"
805
- },
806
- {
807
- name: "--ssRobot-scrollbar-track",
808
- value: "#252525"
809
- },
810
- {
811
- name: "--ssRobot-scrollbar-thumb-hover",
812
- value: "#5a5a5a"
813
- },
814
- {
815
- name: "--ssRobot-btn-hover",
816
- value: "#cad633"
817
- }
818
585
  ];
819
586
  export {
820
- me as R,
821
- Z as a,
822
- le as b,
823
- oe as c,
824
- te as d,
825
- ee as e,
826
- ne as f,
827
- ae as g,
828
- _ as h,
829
- Q as s,
830
- ie 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
831
596
  };
@@ -0,0 +1,107 @@
1
+ import { ref as l, defineComponent as m, createElementBlock as f, openBlock as p, createElementVNode as e, createVNode as u, unref as t } from "vue";
2
+ import { W as C } from "./index-ebaA7pNY.js";
3
+ import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ const b = () => {
5
+ const i = l("日志管理"), o = l(), a = l([
6
+ {
7
+ key: "header",
8
+ contents: [
9
+ {
10
+ prop: "name",
11
+ align: "center",
12
+ isRun: !1,
13
+ label: "日志名称",
14
+ isRoute: !1,
15
+ isTableColHidden: !1,
16
+ isFormColHidden: !1
17
+ },
18
+ {
19
+ prop: "time",
20
+ align: "center",
21
+ isRun: !1,
22
+ label: "生成时间",
23
+ isRoute: !1,
24
+ isTableColHidden: !1,
25
+ isFormColHidden: !1
26
+ },
27
+ {
28
+ prop: "sort",
29
+ align: "operator",
30
+ isRun: !1,
31
+ label: "操作人",
32
+ isRoute: !1,
33
+ isTableColHidden: !1,
34
+ isFormColHidden: !1
35
+ },
36
+ {
37
+ prop: "remark",
38
+ align: "center",
39
+ isRun: !1,
40
+ label: "备注",
41
+ isRoute: !1,
42
+ isTableColHidden: !1,
43
+ isFormColHidden: !1
44
+ },
45
+ {
46
+ label: "操作",
47
+ isMainKey: !0
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ key: "extraButton",
53
+ contents: [
54
+ // { label: '新增' },
55
+ // { label: '删除' }
56
+ ]
57
+ },
58
+ {
59
+ key: "rowButton",
60
+ contents: [{ label: "删除" }]
61
+ },
62
+ { key: "tableFilter", contents: [] },
63
+ {
64
+ key: "tableContents",
65
+ contents: [[{ id: 764397741125751 }, "test", "test", "test", "test"]]
66
+ }
67
+ ]);
68
+ return {
69
+ compName: i,
70
+ changedRow: o,
71
+ tableInfo: a,
72
+ handleItemDataChange: (s) => {
73
+ },
74
+ clickRowButton: async (s, d) => {
75
+ }
76
+ };
77
+ }, h = { class: "log-management" }, k = { class: "body" }, R = /* @__PURE__ */ m({
78
+ __name: "index",
79
+ setup(i) {
80
+ const {
81
+ compName: o,
82
+ changedRow: a,
83
+ tableInfo: r,
84
+ handleItemDataChange: c,
85
+ clickRowButton: s
86
+ } = b();
87
+ return (d, n) => (p(), f("div", h, [
88
+ n[0] || (n[0] = e("div", { class: "header" }, null, -1)),
89
+ e("div", k, [
90
+ u(C, {
91
+ compName: t(o),
92
+ itemData: t(r),
93
+ changedContent: t(a),
94
+ onChange: t(c),
95
+ onOnButtonClick: t(s)
96
+ }, null, 8, ["compName", "itemData", "changedContent", "onChange", "onOnButtonClick"])
97
+ ]),
98
+ n[1] || (n[1] = e("div", { class: "footer" }, [
99
+ e("div", { class: "footer-left" }),
100
+ e("div", { class: "footer-right" })
101
+ ], -1))
102
+ ]));
103
+ }
104
+ }), H = /* @__PURE__ */ g(R, [["__scopeId", "data-v-5bfd5576"]]);
105
+ export {
106
+ H as default
107
+ };