ss-component-new 1.3.736 → 1.3.738
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/JSEncrypt-B36c1iN5.js +1983 -0
- package/dist/MTLLoader-BVktbBYH.js +657 -0
- package/dist/URDFLoader-DOfmRu4N.js +2299 -0
- package/dist/__vite-browser-external-DYxpcVy9.js +4 -0
- package/dist/animationData-DFwWrgvB.js +83 -0
- package/dist/array-BblFKp6J.js +1045 -0
- package/dist/clone-B58hfp9X.js +8 -0
- package/dist/config.js +1 -1
- package/dist/eleIcon-qStmsM1q.js +29 -0
- package/dist/fileUtil-UOt_otFo.js +20 -0
- package/dist/iconfont-kC8HZ4Ly.js +1030 -0
- package/dist/icons/svg/functionList.svg +1 -0
- package/dist/icons/svg/method.svg +1 -0
- package/dist/index-11kpzK0A.js +209 -0
- package/dist/index-5E79iwO0.js +83 -0
- package/dist/index-B1p0mv2e.js +201 -0
- package/dist/index-B4TcjId0.js +331 -0
- package/dist/index-B5ngelGR.js +20578 -0
- package/dist/index-BHtNKL1L.js +27 -0
- package/dist/index-BiiVP9UY.js +447 -0
- package/dist/index-BzB2Vn8c.js +93 -0
- package/dist/index-C-eAXBcR.js +78 -0
- package/dist/index-C5USB9qE.js +48 -0
- package/dist/index-C84z9NFx.js +30 -0
- package/dist/index-CDE3W8eV.js +103 -0
- package/dist/index-CK4tG84e.js +572 -0
- package/dist/index-CLm6QFZK.js +627 -0
- package/dist/index-CToBJlDQ.js +28500 -0
- package/dist/index-CV_jQDcg.js +9 -0
- package/dist/index-CWOXvFfD.js +44 -0
- package/dist/index-CXQiVSNJ.js +622 -0
- package/dist/{index-DyhB-cd1.js → index-ChNfRlIP.js} +18 -253
- package/dist/index-Cryd-gMS.js +62 -0
- package/dist/index-Cy0pOs1M.js +411 -0
- package/dist/index-DJJYgWGf.js +93 -0
- package/dist/index-DQsXaCwv.js +25341 -0
- package/dist/index-DUbk5m5P.js +99 -0
- package/dist/index-Dep-Vngh.js +1000 -0
- package/dist/index-Dgtvod-r.js +84 -0
- package/dist/index-Di9zYrW0.js +665 -0
- package/dist/index-DrKojU3W.js +470 -0
- package/dist/index-Q06_a3No.js +873 -0
- package/dist/index-XnbtYIMr.js +58 -0
- package/dist/index-YjBTGOkO.js +61 -0
- package/dist/index-fQsebbH3.js +107 -0
- package/dist/index-nOF50-Li.js +98 -0
- package/dist/index-rlStojTL.js +52 -0
- package/dist/index-uF-ibwG0.js +9 -0
- package/dist/index-wkaC1Dyn.js +119 -0
- package/dist/index-yOnrK71-.js +8994 -0
- package/dist/index-yRb0l-bC.js +63306 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-lORgn-P0.js +137927 -0
- package/dist/isString-0ZglyOfu.js +8 -0
- package/dist/localIcon-D5UoFBU5.js +76 -0
- package/dist/main-BeZonpqe.js +502 -0
- package/dist/menuIndex-Cv7pne94.js +159 -0
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/pyodide-Dc1Mu-0d.js +489 -0
- package/dist/request-1RPa2bBn.js +9048 -0
- package/dist/ss-component.css +8 -2
- package/dist/ss-component.js +64 -28
- package/dist/ss-component2.js +75 -15
- package/dist/ss-component3.js +1 -1
- package/dist/threeModel-BFDsEVGl.js +1109 -0
- package/dist/threePreview-CgmqKkIH.js +3091 -0
- package/dist/threeSceneView-BEZwdi1j.js +1290 -0
- package/dist/threeSceneViewForCPMPIP-CusZYRCU.js +539 -0
- package/dist/threeTrackPathView-CbhiJklA.js +620 -0
- package/dist/threeViewerHost-d0umFxXA.js +233 -0
- package/dist/urdfTree-Bko5D1KR.js +254 -0
- package/dist/workpieceTreePanel-DTgX-q2q.js +559 -0
- package/package.json +8 -11
- package/public/config.js +1 -1
- package/public/icons/svg/functionList.svg +1 -0
- package/public/icons/svg/method.svg +1 -0
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-8KTFGqOM.js +0 -25
- package/dist/index-A8OE-eSF.js +0 -29
- package/dist/index-B2xkIV6C.js +0 -25
- package/dist/index-B3v82KuY.js +0 -1044
- package/dist/index-BeE5LpiD.js +0 -50679
- package/dist/index-C0HH0uAE.js +0 -188
- package/dist/index-C0U2Epeo.js +0 -25
- package/dist/index-C8GSZPvd.js +0 -4
- package/dist/index-CA0CoKiz.js +0 -25
- package/dist/index-CHjBtkir.js +0 -4
- package/dist/index-CJP9hdx4.js +0 -53
- package/dist/index-COeMUCuq.js +0 -213
- package/dist/index-COxVr3MC.js +0 -4
- package/dist/index-CXoQiaXz.js +0 -27
- package/dist/index-CdanNGTM.js +0 -4
- package/dist/index-CfwzR4gE.js +0 -469
- package/dist/index-CoEteqj_.js +0 -4
- package/dist/index-Cqt27z96.js +0 -23
- package/dist/index-Cqyl2URI.js +0 -32
- package/dist/index-CuIbbhNo.js +0 -25
- package/dist/index-D1WMhpsE.js +0 -26
- package/dist/index-D3G5ymZc.js +0 -4
- package/dist/index-D5oMkTBW.js +0 -35
- package/dist/index-D7CiXPV2.js +0 -634
- package/dist/index-DGogREB4.js +0 -26
- package/dist/index-DRqX_bCT.js +0 -4
- package/dist/index-DbUt70zC.js +0 -50
- package/dist/index-DnLZtsZU.js +0 -4
- package/dist/index-IoMa0kLh.js +0 -27
- package/dist/index-JkTP1vyC.js +0 -4
- package/dist/index-LuY_QZlf.js +0 -181
- package/dist/index-boICNvPL.js +0 -4
- package/dist/index-uriwf_fo.js +0 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-B-JCE78v.js +0 -21
- package/dist/index.vue_vue_type_script_setup_true_lang-BSZB17y-.js +0 -42
- package/dist/index.vue_vue_type_script_setup_true_lang-Brir5Bym.js +0 -41
- package/dist/index.vue_vue_type_script_setup_true_lang-BrnE_n0l.js +0 -25
- package/dist/index.vue_vue_type_script_setup_true_lang-C7BgxSz4.js +0 -28
- package/dist/index.vue_vue_type_script_setup_true_lang-CARZt7yC.js +0 -25
- package/dist/index.vue_vue_type_script_setup_true_lang-CVALRKBG.js +0 -48
- package/dist/index.vue_vue_type_script_setup_true_lang-CsThRoDZ.js +0 -28
- package/dist/index.vue_vue_type_script_setup_true_lang-CuwhbWHH.js +0 -39
- package/dist/index.vue_vue_type_script_setup_true_lang-DAb-qhJ1.js +0 -40
- package/dist/index.vue_vue_type_script_setup_true_lang-DimtrEJj.js +0 -26
- package/dist/menu-ClNHLze7.js +0 -5208
- package/dist/platform-CPTootse.js +0 -11429
- /package/dist/icons/svg/{update.svg → Update.svg} +0 -0
- /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
- /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
- /package/public/icons/svg/{update.svg → Update.svg} +0 -0
- /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
- /package/public/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
|
@@ -1,208 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
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,62 @@
|
|
|
1
|
+
import { s as h, b as l, p as w, B as F } from "./index-yOnrK71-.js";
|
|
2
|
+
import { s as f } from "./request-1RPa2bBn.js";
|
|
3
|
+
import { watch as p } from "vue";
|
|
4
|
+
const P = l(w), { systemUrl: s, extraUrl: o } = h(P);
|
|
5
|
+
let d = s.value === "" || !s.value ? "http://222.92.178.198:63002" : s.value, m = o.value === "" || !o.value ? "http://139.196.154.85:20015" : o.value;
|
|
6
|
+
p(
|
|
7
|
+
() => s.value,
|
|
8
|
+
() => {
|
|
9
|
+
d = s.value === "" || !s.value ? "http://222.92.178.198:63002" : s.value;
|
|
10
|
+
},
|
|
11
|
+
{ deep: !0, immediate: !0 }
|
|
12
|
+
);
|
|
13
|
+
p(
|
|
14
|
+
() => o.value,
|
|
15
|
+
() => {
|
|
16
|
+
m = o.value === "" || !o.value ? "http://139.196.154.85:20015" : o.value;
|
|
17
|
+
},
|
|
18
|
+
{ deep: !0, immediate: !0 }
|
|
19
|
+
);
|
|
20
|
+
function S(a) {
|
|
21
|
+
return f({
|
|
22
|
+
url: m + "/api/face/face-verify",
|
|
23
|
+
method: "post",
|
|
24
|
+
data: a
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
function V(a) {
|
|
28
|
+
return f({
|
|
29
|
+
url: d + "/platform/updatedata_faceURL",
|
|
30
|
+
method: "post",
|
|
31
|
+
data: a
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
const b = () => {
|
|
35
|
+
const a = l(), { platId: v, userName: y, account: u, isSuperAdmin: g } = F(), c = async (t) => {
|
|
36
|
+
if (!t)
|
|
37
|
+
return;
|
|
38
|
+
const e = new FormData();
|
|
39
|
+
e.set("file", t);
|
|
40
|
+
const r = a.systemInfo.plat_id;
|
|
41
|
+
return e.set("systemKey", r), await S(e);
|
|
42
|
+
};
|
|
43
|
+
return { updateFacePhoto: async (t) => {
|
|
44
|
+
const e = a.loginUserInfo, { password: r } = e || {}, n = {
|
|
45
|
+
platId: v.value,
|
|
46
|
+
userName: y.value,
|
|
47
|
+
password: r,
|
|
48
|
+
faceURL: t
|
|
49
|
+
};
|
|
50
|
+
g.value && (n.platId = ""), await V(n);
|
|
51
|
+
}, initVerifySelf: async (t) => {
|
|
52
|
+
var i;
|
|
53
|
+
const e = await c(t), { account: r, password: n } = ((i = e == null ? void 0 : e.data) == null ? void 0 : i.data) || {};
|
|
54
|
+
if (!u)
|
|
55
|
+
return !1;
|
|
56
|
+
const I = a.loginUserInfo, { password: U } = I || {};
|
|
57
|
+
return r === u.value && n === U;
|
|
58
|
+
}, initVerify: async (t) => await c(t) };
|
|
59
|
+
};
|
|
60
|
+
export {
|
|
61
|
+
b as u
|
|
62
|
+
};
|