ss-component-new 1.3.658 → 1.3.660
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.
- package/dist/_plugin-vue_export-helper-BZ_eTSzz.js +16638 -0
- package/dist/config.js +1 -1
- package/dist/{index-ChNfRlIP.js → index-BofWylNB.js} +42 -18
- package/dist/index-C5rFKP3J.js +1042 -0
- package/dist/index-CLw1Ncst.js +181 -0
- package/dist/index-Cz0F1nRr.js +8236 -0
- package/dist/index-p2dYw5GI.js +49 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js → index.vue_vue_type_script_setup_true_lang-DRzriV-s.js} +2 -2
- package/dist/ss-component.css +2 -8
- package/dist/ss-component.js +214 -67
- package/dist/ss-component2.js +15 -75
- package/dist/ss-component3.js +785 -9
- package/package.json +4 -4
- package/public/config.js +1 -1
- package/dist/MTLLoader-DI0avKtj.js +0 -657
- package/dist/URDFLoader-PUxvYFDe.js +0 -2304
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/animationData-05aVUytq.js +0 -83
- package/dist/array-ZM04o_us.js +0 -1044
- package/dist/clone-Ddn1p6-1.js +0 -8
- package/dist/eleIcon-BWVKfp5t.js +0 -29
- package/dist/iconfont-BNdGaGPn.js +0 -1018
- package/dist/icons/svg/Update.svg +0 -1
- package/dist/icons/svg/functionList.svg +0 -1
- package/dist/icons/svg/uploadCopy.svg +0 -1
- package/dist/index-9ruiIh9Q.js +0 -30
- package/dist/index-BAenzdfB.js +0 -83
- package/dist/index-BDhIWgKn.js +0 -658
- package/dist/index-BFqUz4pN.js +0 -52
- package/dist/index-BIAWyba9.js +0 -2623
- package/dist/index-BKJ5SfU0.js +0 -98
- package/dist/index-BMr09Ruf.js +0 -107
- package/dist/index-BOGJMjxF.js +0 -117
- package/dist/index-BP1mKUQP.js +0 -627
- package/dist/index-BczRQX8N.js +0 -407
- package/dist/index-BnrvtCYj.js +0 -55
- package/dist/index-Bpr501oZ.js +0 -78
- package/dist/index-Bs7vFXNW.js +0 -93
- package/dist/index-BvbZiTVB.js +0 -342
- package/dist/index-Bvvz41NY.js +0 -44
- package/dist/index-C2YKgxwc.js +0 -61990
- package/dist/index-C9DBY1gg.js +0 -103
- package/dist/index-CFFbhR3G.js +0 -996
- package/dist/index-COr2mcbl.js +0 -48
- package/dist/index-CV_jQDcg.js +0 -9
- package/dist/index-CXe4q28L.js +0 -447
- package/dist/index-CsxH-GEh.js +0 -24847
- package/dist/index-D-5v1Jx7.js +0 -93
- package/dist/index-D4LcEpQ7.js +0 -619
- package/dist/index-DGObzWyL.js +0 -8984
- package/dist/index-DJ59jXR0.js +0 -28483
- package/dist/index-DJrzqi4-.js +0 -209
- package/dist/index-D_kI6aHR.js +0 -98
- package/dist/index-Ddhx18T9.js +0 -864
- package/dist/index-Dr9Wt5nC.js +0 -84
- package/dist/index-Dwt0Wlg_.js +0 -201
- package/dist/index-EGwObkob.js +0 -468
- package/dist/index-WPJbEuld.js +0 -62
- package/dist/index-YVR3acYT.js +0 -61
- package/dist/index-dD-mKgue.js +0 -27
- package/dist/index-lHjuVdOp.js +0 -11773
- package/dist/index-uF-ibwG0.js +0 -9
- package/dist/index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CG9X8aa2.js +0 -137728
- package/dist/isString-CoCw_sp3.js +0 -8
- package/dist/localIcon-CoJHw5ss.js +0 -76
- package/dist/main-Bs7Y7gDm.js +0 -502
- package/dist/menuIndex-Dt0NyAyE.js +0 -159
- package/dist/request-DiogHwkN.js +0 -9465
- package/dist/threeModel-C3x2TmUN.js +0 -1108
- package/dist/threePreview-BHLSA5YS.js +0 -2259
- package/dist/threeSceneView-mfAIunaw.js +0 -1289
- package/dist/threeSceneViewForCPMPIP-DrnsTNPv.js +0 -538
- package/dist/threeTrackPathView-BR8-g2Tr.js +0 -620
- package/dist/threeViewerHost-DbJCLcbz.js +0 -233
- package/dist/urdfTree-IEJgkVzs.js +0 -254
- package/dist/workpieceTreePanel-aZV2ut3W.js +0 -555
- package/public/icons/svg/Update.svg +0 -1
- package/public/icons/svg/functionList.svg +0 -1
- package/public/icons/svg/uploadCopy.svg +0 -1
- /package/dist/icons/svg/{tableClose.svg → table-close.svg} +0 -0
- /package/dist/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
- /package/public/icons/svg/{tableClose.svg → table-close.svg} +0 -0
- /package/public/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
package/dist/index-DJrzqi4-.js
DELETED
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
import { ref as L, reactive as O, watch as X, resolveComponent as Y, openBlock as s, createBlock as P, normalizeStyle as U, withCtx as S, renderSlot as B, createElementBlock as a, withModifiers as r, createCommentVNode 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] = r((l) => d(l, "top"), ["stop"]))
|
|
165
|
-
}, null, 32)) : u("", !0),
|
|
166
|
-
e.resizable ? (s(), a("div", {
|
|
167
|
-
key: 1,
|
|
168
|
-
class: "resizable-handle right",
|
|
169
|
-
onMousedown: t[1] || (t[1] = r((l) => d(l, "right"), ["stop"]))
|
|
170
|
-
}, null, 32)) : u("", !0),
|
|
171
|
-
e.resizable ? (s(), a("div", {
|
|
172
|
-
key: 2,
|
|
173
|
-
class: "resizable-handle bottom",
|
|
174
|
-
onMousedown: t[2] || (t[2] = r((l) => d(l, "bottom"), ["stop"]))
|
|
175
|
-
}, null, 32)) : u("", !0),
|
|
176
|
-
e.resizable ? (s(), a("div", {
|
|
177
|
-
key: 3,
|
|
178
|
-
class: "resizable-handle left",
|
|
179
|
-
onMousedown: t[3] || (t[3] = r((l) => d(l, "left"), ["stop"]))
|
|
180
|
-
}, null, 32)) : u("", !0),
|
|
181
|
-
e.resizable ? (s(), a("div", {
|
|
182
|
-
key: 4,
|
|
183
|
-
class: "resizable-handle top-left",
|
|
184
|
-
onMousedown: t[4] || (t[4] = r((l) => d(l, "top-left"), ["stop"]))
|
|
185
|
-
}, null, 32)) : u("", !0),
|
|
186
|
-
e.resizable ? (s(), a("div", {
|
|
187
|
-
key: 5,
|
|
188
|
-
class: "resizable-handle top-right",
|
|
189
|
-
onMousedown: t[5] || (t[5] = r((l) => d(l, "top-right"), ["stop"]))
|
|
190
|
-
}, null, 32)) : u("", !0),
|
|
191
|
-
e.resizable ? (s(), a("div", {
|
|
192
|
-
key: 6,
|
|
193
|
-
class: "resizable-handle bottom-left",
|
|
194
|
-
onMousedown: t[6] || (t[6] = r((l) => d(l, "bottom-left"), ["stop"]))
|
|
195
|
-
}, null, 32)) : u("", !0),
|
|
196
|
-
e.resizable ? (s(), a("div", {
|
|
197
|
-
key: 7,
|
|
198
|
-
class: "resizable-handle bottom-right",
|
|
199
|
-
onMousedown: t[7] || (t[7] = r((l) => d(l, "bottom-right"), ["stop"]))
|
|
200
|
-
}, null, 32)) : u("", !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
|
-
};
|
package/dist/index-D_kI6aHR.js
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { defineComponent as C, reactive as f, ref as i, onMounted as E, resolveComponent as s, openBlock as _, createElementBlock as v, createElementVNode as b, createVNode as u, withCtx as c, Fragment as w, renderList as A, createBlock as B, createTextVNode as F } from "vue";
|
|
2
|
-
import { g as I } from "./index-YVR3acYT.js";
|
|
3
|
-
import { useRouter as M } from "vue-router";
|
|
4
|
-
import { E as g } from "./request-DiogHwkN.js";
|
|
5
|
-
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const T = { class: "tenant-wrap" }, $ = { class: "tenant-content" }, q = /* @__PURE__ */ C({
|
|
7
|
-
__name: "index",
|
|
8
|
-
setup(D) {
|
|
9
|
-
const o = f({
|
|
10
|
-
tenantKey: ""
|
|
11
|
-
}), K = f({
|
|
12
|
-
tenantKey: [
|
|
13
|
-
{ required: !0, message: "请选择模型", trigger: "blur" }
|
|
14
|
-
]
|
|
15
|
-
}), m = i(null), y = i([]), k = M(), x = async () => {
|
|
16
|
-
var n, t;
|
|
17
|
-
try {
|
|
18
|
-
const l = await I({
|
|
19
|
-
key: {
|
|
20
|
-
layer: "superAdmin"
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
if (l.data.code === 200) {
|
|
24
|
-
const r = (t = (n = l == null ? void 0 : l.data) == null ? void 0 : n.result) == null ? void 0 : t.flatMap((e) => e == null ? void 0 : e.key), p = r == null ? void 0 : r.map((e) => ({
|
|
25
|
-
value: e == null ? void 0 : e.systemKey,
|
|
26
|
-
label: `【${e == null ? void 0 : e.systemKey}】` + ((e == null ? void 0 : e.name) ?? "未知")
|
|
27
|
-
}));
|
|
28
|
-
y.value = [...p].sort((e, d) => e.value.localeCompare(d.value));
|
|
29
|
-
} else
|
|
30
|
-
g.error("获取模型数据响应失败");
|
|
31
|
-
} catch {
|
|
32
|
-
g.error("获取模型数据失败");
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
E(() => {
|
|
36
|
-
x();
|
|
37
|
-
});
|
|
38
|
-
const V = (n) => {
|
|
39
|
-
n == null || n.validate((t) => {
|
|
40
|
-
t && (console.log("submitForm", o), sessionStorage.setItem("tenantKey", o == null ? void 0 : o.tenantKey), k.push("/login"));
|
|
41
|
-
});
|
|
42
|
-
};
|
|
43
|
-
return (n, t) => {
|
|
44
|
-
const l = s("el-option"), r = s("el-select"), p = s("el-form-item"), e = s("el-form"), d = s("el-button");
|
|
45
|
-
return _(), v("div", T, [
|
|
46
|
-
b("div", $, [
|
|
47
|
-
t[3] || (t[3] = b("div", { class: "tenant-title" }, "租户信息", -1)),
|
|
48
|
-
u(e, {
|
|
49
|
-
model: o,
|
|
50
|
-
rules: K,
|
|
51
|
-
ref_key: "formRef",
|
|
52
|
-
ref: m
|
|
53
|
-
}, {
|
|
54
|
-
default: c(() => [
|
|
55
|
-
u(p, {
|
|
56
|
-
label: "",
|
|
57
|
-
prop: "tenantKey"
|
|
58
|
-
}, {
|
|
59
|
-
default: c(() => [
|
|
60
|
-
u(r, {
|
|
61
|
-
modelValue: o.tenantKey,
|
|
62
|
-
"onUpdate:modelValue": t[0] || (t[0] = (a) => o.tenantKey = a),
|
|
63
|
-
placeholder: "请选择(可搜索查询)",
|
|
64
|
-
filterable: "",
|
|
65
|
-
clearable: ""
|
|
66
|
-
}, {
|
|
67
|
-
default: c(() => [
|
|
68
|
-
(_(!0), v(w, null, A(y.value, (a) => (_(), B(l, {
|
|
69
|
-
key: a.value,
|
|
70
|
-
label: a.label,
|
|
71
|
-
value: a.value
|
|
72
|
-
}, null, 8, ["label", "value"]))), 128))
|
|
73
|
-
]),
|
|
74
|
-
_: 1
|
|
75
|
-
}, 8, ["modelValue"])
|
|
76
|
-
]),
|
|
77
|
-
_: 1
|
|
78
|
-
})
|
|
79
|
-
]),
|
|
80
|
-
_: 1
|
|
81
|
-
}, 8, ["model", "rules"]),
|
|
82
|
-
u(d, {
|
|
83
|
-
type: "primary",
|
|
84
|
-
onClick: t[1] || (t[1] = (a) => V(m.value))
|
|
85
|
-
}, {
|
|
86
|
-
default: c(() => [...t[2] || (t[2] = [
|
|
87
|
-
F(" 确认 ", -1)
|
|
88
|
-
])]),
|
|
89
|
-
_: 1
|
|
90
|
-
})
|
|
91
|
-
])
|
|
92
|
-
]);
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
}), z = /* @__PURE__ */ N(q, [["__scopeId", "data-v-5d82b8dd"]]);
|
|
96
|
-
export {
|
|
97
|
-
z as default
|
|
98
|
-
};
|