ss-component-new 1.3.641 → 1.3.643
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-CZqN7Zrs.js → MTLLoader-CzUQTGKY.js} +2 -2
- package/dist/{URDFLoader-5yxKptss.js → URDFLoader-Cpc_aT68.js} +584 -589
- package/dist/{animationData-_pwKquvD.js → animationData-BgDqzRLe.js} +3 -3
- package/dist/{array-CHe-DoyQ.js → array-x70XTJSv.js} +14 -13
- package/dist/{clone-BjJ_R9XN.js → clone-DqQwDoSV.js} +1 -1
- package/dist/{eleIcon-BWVKfp5t.js → eleIcon-Dtsx377t.js} +2 -2
- package/dist/{iconfont-DGtoabuW.js → iconfont-B4WPRBLy.js} +91 -91
- package/dist/{index-DJrzqi4-.js → index-11kpzK0A.js} +17 -17
- package/dist/{index-BEuZVqx1.js → index-B0w8-AEa.js} +9164 -9616
- package/dist/{index-BibSA99e.js → index-B2i-wZ7I.js} +20 -17
- package/dist/{index-BSIx33n6.js → index-B9g43cVc.js} +62 -60
- package/dist/index-BDfs7pV0.js +11397 -0
- package/dist/{index-dD-mKgue.js → index-BHtNKL1L.js} +2 -2
- package/dist/{index-Bvvz41NY.js → index-BI3gwdBk.js} +1 -1
- package/dist/{index-DwmZbmjQ.js → index-BjSS0ovo.js} +80 -74
- package/dist/{index-qv_1lhhv.js → index-BkAYMm70.js} +2 -2
- package/dist/{index-FPf0BzIG.js → index-C4OLi6tq.js} +551 -554
- package/dist/{index-CmGpt__g.js → index-CB2B4YM9.js} +3 -3
- package/dist/{index-D_kI6aHR.js → index-CDpLX430.js} +8 -7
- package/dist/{index-CmrtXrCW.js → index-CMXhAlkY.js} +8 -8
- package/dist/{index-DV-y9RNF.js → index-C_c-5ZAh.js} +61 -57
- package/dist/index-Cb5fCewf.js +572 -0
- package/dist/{index-CcdSuqPt.js → index-Cnet9-km.js} +8 -8
- package/dist/{index-BYTAx6bL.js → index-Czz3dB6u.js} +5 -5
- package/dist/{index-CUB0YIQp.js → index-D8cOzz3g.js} +5 -5
- package/dist/{index-DW6CZC2b.js → index-DGmjWChr.js} +1051 -1053
- package/dist/{index-CwKQTNJ6.js → index-DLZVUgaP.js} +2 -2
- package/dist/{index-DW2-bo7z.js → index-DNl2K8-4.js} +176 -167
- package/dist/{index-CIFdtwKG.js → index-DaOXFFsu.js} +20 -18
- package/dist/{index-CT3n6jZB.js → index-DllVa0Ze.js} +6 -6
- package/dist/{index-DlH7-Quf.js → index-DpcGBPYo.js} +3 -3
- package/dist/{index-Dae7KcRH.js → index-DzZWEErj.js} +3 -3
- package/dist/{index-C6ZyziE9.js → index-FCnO8UeA.js} +4 -4
- package/dist/{index-BcWf6LmN.js → index-IXxKIj3h.js} +4 -4
- package/dist/{index-B6zWduiC.js → index-LED1qeo2.js} +3 -3
- package/dist/{index-BwEO2Ckl.js → index-NwTP3AQl.js} +7 -7
- package/dist/{index-rVTDSJ7d.js → index-_fheIMoz.js} +22950 -23035
- package/dist/{index-CUUkM-MP.js → index-awI81WIz.js} +47 -43
- package/dist/{index-JxFaaWxD.js → index-fxJSVddL.js} +1 -1
- package/dist/{index-BFqUz4pN.js → index-rlStojTL.js} +1 -1
- package/dist/{index-YVR3acYT.js → index-tLd2cEHX.js} +1 -1
- package/dist/{index-DIimK4we.js → index-yJckrmsT.js} +4 -4
- 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/{index.vue_vue_type_style_index_0_scoped_39e1db95_lang-DdTK-nti.js → index.vue_vue_type_style_index_0_scoped_39e1db95_lang-BEPFL4uU.js} +27735 -27760
- package/dist/isString-CXX7MUiv.js +8 -0
- package/dist/{localIcon-CoJHw5ss.js → localIcon-D5UoFBU5.js} +1 -1
- package/dist/{main-B7yRqx5R.js → main-nJu2K4N-.js} +9 -9
- package/dist/{menuIndex-CY5XD7Ny.js → menuIndex-2JX7SuB8.js} +1 -1
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/{request-DiogHwkN.js → request-D-LN5bvn.js} +3075 -3494
- package/dist/ss-component.css +3 -3
- package/dist/ss-component.js +14 -14
- package/dist/ss-component2.js +13 -13
- package/dist/ss-component3.js +1 -1
- package/dist/{threeModel-D2NPH9rB.js → threeModel-BbNw-rXE.js} +174 -174
- package/dist/{threePreview-BC0mxp0t.js → threePreview-Cjupz9HK.js} +12 -12
- package/dist/{threeSceneView-CYA_dl9b.js → threeSceneView-4bCcg3w6.js} +111 -110
- package/dist/{threeSceneViewForCPMPIP-BeAfVkav.js → threeSceneViewForCPMPIP-D6nwYUWT.js} +17 -16
- package/dist/{threeTrackPathView-C8RcSYdk.js → threeTrackPathView-DuiNPnon.js} +7 -7
- package/dist/{threeViewerHost-EI6zUnYp.js → threeViewerHost-CsGXf4BF.js} +4 -4
- package/dist/{urdfTree-BGPikD3W.js → urdfTree-CymLIkE8.js} +9 -9
- package/dist/{workpieceTreePanel-DO6BojnM.js → workpieceTreePanel-DaTdJC9q.js} +60 -56
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-D23qc_Ne.js +0 -2623
- package/dist/index-DT8oA7Bc.js +0 -11550
- package/dist/isString-CoCw_sp3.js +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as c, onMounted as p, watch as u, onUnmounted as f,
|
|
2
|
-
import { a8 as _ } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-
|
|
1
|
+
import { ref as c, onMounted as p, watch as u, onUnmounted as f, createElementBlock as v, openBlock as m } from "vue";
|
|
2
|
+
import { a8 as _ } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-BEPFL4uU.js";
|
|
3
3
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const z = {
|
|
5
5
|
__name: "index",
|
|
@@ -35,7 +35,7 @@ const z = {
|
|
|
35
35
|
const a = s.value;
|
|
36
36
|
e.setOption(a), e.resize();
|
|
37
37
|
};
|
|
38
|
-
return (a, C) => (
|
|
38
|
+
return (a, C) => (m(), v("div", {
|
|
39
39
|
id: "chartModelId",
|
|
40
40
|
class: "chart-model-class",
|
|
41
41
|
ref_key: "chartModelRef",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as C, reactive as f, ref as i, onMounted as E, resolveComponent as s,
|
|
2
|
-
import { g as I } from "./index-
|
|
1
|
+
import { defineComponent as C, reactive as f, ref as i, onMounted as E, resolveComponent as s, createElementBlock as v, openBlock as _, 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-tLd2cEHX.js";
|
|
3
3
|
import { useRouter as M } from "vue-router";
|
|
4
|
-
import { E as g } from "./request-
|
|
4
|
+
import { E as g } from "./request-D-LN5bvn.js";
|
|
5
5
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const T = { class: "tenant-wrap" }, $ = { class: "tenant-content" }, q = /* @__PURE__ */ C({
|
|
7
7
|
__name: "index",
|
|
@@ -83,10 +83,11 @@ const T = { class: "tenant-wrap" }, $ = { class: "tenant-content" }, q = /* @__P
|
|
|
83
83
|
type: "primary",
|
|
84
84
|
onClick: t[1] || (t[1] = (a) => V(m.value))
|
|
85
85
|
}, {
|
|
86
|
-
default: c(() =>
|
|
87
|
-
F(" 确认 "
|
|
88
|
-
])
|
|
89
|
-
_: 1
|
|
86
|
+
default: c(() => t[2] || (t[2] = [
|
|
87
|
+
F(" 确认 ")
|
|
88
|
+
])),
|
|
89
|
+
_: 1,
|
|
90
|
+
__: [2]
|
|
90
91
|
})
|
|
91
92
|
])
|
|
92
93
|
]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T,
|
|
2
|
-
import { S as I, t as x, s as w, a as L } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-
|
|
4
|
-
import "./index-
|
|
5
|
-
import { f as E } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import { b as N, s as U } from "./index-
|
|
8
|
-
import "./request-
|
|
1
|
+
import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, createElementBlock as y, openBlock as u, createElementVNode as t, withDirectives as p, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
|
|
2
|
+
import { S as I, t as x, s as w, a as L } from "./index-Cb5fCewf.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-BEPFL4uU.js";
|
|
4
|
+
import "./index-BHtNKL1L.js";
|
|
5
|
+
import { f as E } from "./index-B0w8-AEa.js";
|
|
6
|
+
import "./index-C4OLi6tq.js";
|
|
7
|
+
import { b as N, s as U } from "./index-DGmjWChr.js";
|
|
8
|
+
import "./request-D-LN5bvn.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const z = { class: "personal-wrapper" }, F = { class: "personal-box left" }, H = { class: "base-avatar" }, K = { class: "center-avatar" }, M = { class: "base-info" }, R = { class: "base-signature" }, j = { class: "personal-box right" }, q = /* @__PURE__ */ C({
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as F, openBlock as L, createElementVNode as s, renderSlot as E, defineComponent as W, ref as _, resolveComponent as b, createVNode as t, withCtx as a, unref as P, reactive as le, computed as G, onMounted as me, createBlock as J, resolveDirective as ye, createCommentVNode as ae, withDirectives as he, normalizeClass as ie, toDisplayString as S, Transition as Ce, watch as ee, Fragment as we, createTextVNode as O, onBeforeUnmount as Te } from "vue";
|
|
2
2
|
import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { b as ne, p as Q, s as se, u as ke, a as Ue, l as Ve, e as Le, v as $e } from "./index-
|
|
4
|
-
import { _ as Y } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { c as qe, a as Ae, f as Ie, b as re, E as ce } from "./request-
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
3
|
+
import { b as ne, p as Q, s as se, u as ke, a as Ue, l as Ve, e as Le, v as $e } from "./index-DGmjWChr.js";
|
|
4
|
+
import { _ as Y } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
5
|
+
import { c as qe, a as Ae, f as Ie, b as re, E as ce } from "./request-D-LN5bvn.js";
|
|
6
|
+
import "./JSEncrypt-B36c1iN5.js";
|
|
7
|
+
import { u as De } from "./index-BkAYMm70.js";
|
|
8
|
+
import { useRouter as Fe } from "vue-router";
|
|
9
|
+
import { l as xe } from "./index-IXxKIj3h.js";
|
|
9
10
|
const Re = {}, Ne = { class: "left-wrap" }, Se = { class: "left-bg" };
|
|
10
11
|
function Ee(y, T) {
|
|
11
|
-
return L(),
|
|
12
|
+
return L(), F("div", Ne, [
|
|
12
13
|
s("div", Se, [
|
|
13
14
|
E(y.$slots, "img", {}, void 0, !0)
|
|
14
15
|
])
|
|
@@ -38,7 +39,7 @@ const Me = /* @__PURE__ */ H(Re, [["render", Ee], ["__scopeId", "data-v-9b7ee6c9
|
|
|
38
39
|
};
|
|
39
40
|
return (v, k) => {
|
|
40
41
|
const f = b("el-button"), U = b("el-tab-pane"), V = b("el-tabs");
|
|
41
|
-
return L(),
|
|
42
|
+
return L(), F("div", Be, [
|
|
42
43
|
t(V, {
|
|
43
44
|
modelValue: m.value,
|
|
44
45
|
"onUpdate:modelValue": k[0] || (k[0] = (w) => m.value = w),
|
|
@@ -152,7 +153,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
152
153
|
openDialog: n,
|
|
153
154
|
handleClose: u
|
|
154
155
|
}), (h, d) => {
|
|
155
|
-
const
|
|
156
|
+
const x = b("el-input"), R = b("el-form-item"), M = b("el-col"), c = b("el-row"), $ = b("el-form"), N = b("el-dialog");
|
|
156
157
|
return L(), J(N, {
|
|
157
158
|
class: "api-form-dialog",
|
|
158
159
|
modelValue: o.value,
|
|
@@ -161,7 +162,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
161
162
|
"destroy-on-close": "",
|
|
162
163
|
"show-close": !1
|
|
163
164
|
}, {
|
|
164
|
-
header: a(() =>
|
|
165
|
+
header: a(() => d[3] || (d[3] = [])),
|
|
165
166
|
default: a(() => [
|
|
166
167
|
s("div", Ge, [
|
|
167
168
|
s("div", Je, [
|
|
@@ -183,7 +184,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
183
184
|
"label-position": "top"
|
|
184
185
|
}, {
|
|
185
186
|
default: a(() => [
|
|
186
|
-
t(
|
|
187
|
+
t(x, {
|
|
187
188
|
modelValue: f.value.host,
|
|
188
189
|
"onUpdate:modelValue": d[0] || (d[0] = (I) => f.value.host = I),
|
|
189
190
|
"aria-label": "主机名",
|
|
@@ -203,7 +204,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
203
204
|
"label-position": "top"
|
|
204
205
|
}, {
|
|
205
206
|
default: a(() => [
|
|
206
|
-
t(
|
|
207
|
+
t(x, {
|
|
207
208
|
modelValue: f.value.port,
|
|
208
209
|
"onUpdate:modelValue": d[1] || (d[1] = (I) => f.value.port = I),
|
|
209
210
|
"aria-label": "端口",
|
|
@@ -280,10 +281,10 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
280
281
|
let r = null;
|
|
281
282
|
const u = G(() => o.value === "success" ? "重启成功!" : o.value === "timeout" ? "连接超时" : "正在应用配置并等待服务重新启动中..."), A = G(() => o.value === "success" ? "服务已恢复,配置已生效" : o.value === "timeout" ? "超过最大等待时间,请手动检查服务状态" : "请稍后" + ".".repeat(n.value));
|
|
282
283
|
let h = null, d = null;
|
|
283
|
-
const
|
|
284
|
+
const x = () => {
|
|
284
285
|
r && (clearInterval(r), r = null);
|
|
285
286
|
}, R = () => {
|
|
286
|
-
h && (clearInterval(h), h = null), d && (clearInterval(d), d = null),
|
|
287
|
+
h && (clearInterval(h), h = null), d && (clearInterval(d), d = null), x();
|
|
287
288
|
}, M = () => {
|
|
288
289
|
i.value = 0;
|
|
289
290
|
let g = 0;
|
|
@@ -297,7 +298,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
297
298
|
n.value = n.value >= 3 ? 1 : n.value + 1;
|
|
298
299
|
}, 500);
|
|
299
300
|
}, $ = () => {
|
|
300
|
-
|
|
301
|
+
x();
|
|
301
302
|
const g = setInterval(() => {
|
|
302
303
|
i.value = Math.min(i.value + 3, 100), i.value >= 100 && (clearInterval(g), o.value = "success");
|
|
303
304
|
}, 30);
|
|
@@ -337,17 +338,17 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
337
338
|
await ((g = k.value) == null ? void 0 : g.validate());
|
|
338
339
|
try {
|
|
339
340
|
V.value = !0;
|
|
340
|
-
const
|
|
341
|
-
e.databaseType === "sqlite" ?
|
|
342
|
-
} catch (
|
|
343
|
-
const B = ((K = (l =
|
|
341
|
+
const D = { databaseType: e.databaseType };
|
|
342
|
+
e.databaseType === "sqlite" ? D.sqliteDir = e.sqliteDir.trim() : (D.user = e.user.trim(), D.host = e.host.trim(), D.database = e.database.trim(), D.password = e.password, D.port = Number(e.port)), await re.post(C.value + "/platform/config/db", D), w.value = !0, o.value = "running", M(), c(), setTimeout(N, 1e3);
|
|
343
|
+
} catch (D) {
|
|
344
|
+
const B = ((K = (l = D == null ? void 0 : D.response) == null ? void 0 : l.data) == null ? void 0 : K.message) || "保存失败,请重试";
|
|
344
345
|
ce.error(B);
|
|
345
346
|
} finally {
|
|
346
347
|
V.value = !1;
|
|
347
348
|
}
|
|
348
349
|
};
|
|
349
350
|
return T({ openDialog: te, handleClose: j }), (g, l) => {
|
|
350
|
-
const K = b("el-icon"),
|
|
351
|
+
const K = b("el-icon"), D = b("el-progress"), B = b("el-input"), z = b("el-form-item"), oe = b("el-col"), de = b("el-row"), ge = b("el-form"), _e = b("el-dialog"), be = ye("loading");
|
|
351
352
|
return L(), J(_e, {
|
|
352
353
|
class: "db-config-dialog",
|
|
353
354
|
modelValue: f.value,
|
|
@@ -366,8 +367,8 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
366
367
|
])
|
|
367
368
|
]),
|
|
368
369
|
default: a(() => [
|
|
369
|
-
w.value ? (L(),
|
|
370
|
-
o.value !== "running" ? (L(),
|
|
370
|
+
w.value ? (L(), F("div", lt, [
|
|
371
|
+
o.value !== "running" ? (L(), F("div", {
|
|
371
372
|
key: 0,
|
|
372
373
|
class: ie(["restart-icon-wrap", { success: o.value === "success", error: o.value === "timeout" }])
|
|
373
374
|
}, [
|
|
@@ -391,7 +392,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
391
392
|
], 2)) : ae("", !0),
|
|
392
393
|
s("div", st, S(u.value), 1),
|
|
393
394
|
s("div", nt, S(A.value), 1),
|
|
394
|
-
t(
|
|
395
|
+
t(D, {
|
|
395
396
|
class: "restart-progress",
|
|
396
397
|
percentage: Math.round(i.value),
|
|
397
398
|
status: o.value === "success" ? "success" : o.value === "timeout" ? "exception" : "",
|
|
@@ -405,22 +406,22 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
405
406
|
modelValue: o.value === "success" ? "确定" : "关闭",
|
|
406
407
|
buttonType: o.value === "success" ? "primary" : "info"
|
|
407
408
|
}, null, 8, ["modelValue", "buttonType"])) : ae("", !0)
|
|
408
|
-
])) : he((L(),
|
|
409
|
+
])) : he((L(), F("div", it, [
|
|
409
410
|
s("div", rt, [
|
|
410
411
|
s("div", {
|
|
411
412
|
class: ie(["db-type-card", { active: e.databaseType === "sqlite" }]),
|
|
412
413
|
onClick: l[0] || (l[0] = (q) => e.databaseType = "sqlite")
|
|
413
|
-
},
|
|
414
|
+
}, l[10] || (l[10] = [
|
|
414
415
|
s("span", { class: "db-label" }, "SQLite", -1),
|
|
415
416
|
s("span", { class: "db-desc" }, "本地文件数据库", -1)
|
|
416
|
-
])
|
|
417
|
+
]), 2),
|
|
417
418
|
s("div", {
|
|
418
419
|
class: ie(["db-type-card", { active: e.databaseType === "pgsql" }]),
|
|
419
420
|
onClick: l[1] || (l[1] = (q) => e.databaseType = "pgsql")
|
|
420
|
-
},
|
|
421
|
+
}, l[11] || (l[11] = [
|
|
421
422
|
s("span", { class: "db-label" }, "PostgreSQL", -1),
|
|
422
423
|
s("span", { class: "db-desc" }, "远程关系型数据库", -1)
|
|
423
|
-
])
|
|
424
|
+
]), 2)
|
|
424
425
|
]),
|
|
425
426
|
t(ge, {
|
|
426
427
|
ref_key: "formRef",
|
|
@@ -436,7 +437,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
436
437
|
mode: "out-in"
|
|
437
438
|
}, {
|
|
438
439
|
default: a(() => [
|
|
439
|
-
e.databaseType === "sqlite" ? (L(),
|
|
440
|
+
e.databaseType === "sqlite" ? (L(), F("div", ct, [
|
|
440
441
|
t(z, {
|
|
441
442
|
label: "数据库目录",
|
|
442
443
|
prop: "sqliteDir"
|
|
@@ -460,9 +461,10 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
460
461
|
}, 8, ["modelValue"]),
|
|
461
462
|
l[12] || (l[12] = s("div", { class: "field-hint" }, "相对于后端 exe 所在目录的路径", -1))
|
|
462
463
|
]),
|
|
463
|
-
_: 1
|
|
464
|
+
_: 1,
|
|
465
|
+
__: [12]
|
|
464
466
|
})
|
|
465
|
-
])) : (L(),
|
|
467
|
+
])) : (L(), F("div", ut, [
|
|
466
468
|
t(de, { gutter: 16 }, {
|
|
467
469
|
default: a(() => [
|
|
468
470
|
t(oe, { span: 16 }, {
|
|
@@ -576,7 +578,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
576
578
|
])
|
|
577
579
|
]),
|
|
578
580
|
footer: a(() => [
|
|
579
|
-
w.value ? ae("", !0) : (L(),
|
|
581
|
+
w.value ? ae("", !0) : (L(), F("div", dt, [
|
|
580
582
|
t(Y, {
|
|
581
583
|
emptyColor: !0,
|
|
582
584
|
onClickTrigger: j,
|
|
@@ -646,7 +648,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
646
648
|
};
|
|
647
649
|
return (i, o) => {
|
|
648
650
|
const n = b("svg-icon"), r = b("el-input"), u = b("el-form-item"), A = b("el-form"), h = b("el-link");
|
|
649
|
-
return L(),
|
|
651
|
+
return L(), F(we, null, [
|
|
650
652
|
s("div", vt, [
|
|
651
653
|
t(A, {
|
|
652
654
|
model: p,
|
|
@@ -712,20 +714,22 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
712
714
|
type: "primary",
|
|
713
715
|
onClick: f
|
|
714
716
|
}, {
|
|
715
|
-
default: a(() =>
|
|
716
|
-
O("接口地址"
|
|
717
|
-
])
|
|
718
|
-
_: 1
|
|
717
|
+
default: a(() => o[2] || (o[2] = [
|
|
718
|
+
O("接口地址")
|
|
719
|
+
])),
|
|
720
|
+
_: 1,
|
|
721
|
+
__: [2]
|
|
719
722
|
}),
|
|
720
723
|
t(h, {
|
|
721
724
|
class: "db-button",
|
|
722
725
|
type: "primary",
|
|
723
726
|
onClick: w
|
|
724
727
|
}, {
|
|
725
|
-
default: a(() =>
|
|
726
|
-
O("数据库配置"
|
|
727
|
-
])
|
|
728
|
-
_: 1
|
|
728
|
+
default: a(() => o[3] || (o[3] = [
|
|
729
|
+
O("数据库配置")
|
|
730
|
+
])),
|
|
731
|
+
_: 1,
|
|
732
|
+
__: [3]
|
|
729
733
|
})
|
|
730
734
|
])
|
|
731
735
|
]),
|
|
@@ -752,7 +756,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
752
756
|
setup(y, { emit: T }) {
|
|
753
757
|
const m = y, p = T;
|
|
754
758
|
ne(Q);
|
|
755
|
-
const { initVerify: C } =
|
|
759
|
+
const { initVerify: C } = De(), e = _(null), v = _(null);
|
|
756
760
|
let k = !1, f = null;
|
|
757
761
|
const U = async (n) => {
|
|
758
762
|
if (!n)
|
|
@@ -771,8 +775,8 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
771
775
|
return;
|
|
772
776
|
const n = v.value, r = n.getContext("2d"), u = e.value;
|
|
773
777
|
n.width = 200, n.height = 200;
|
|
774
|
-
const A = u.videoWidth || 640, h = u.videoHeight || 480, d = Math.min(200 / A, 200 / h),
|
|
775
|
-
r == null || r.drawImage(u, 0, 0, A, h, M, c,
|
|
778
|
+
const A = u.videoWidth || 640, h = u.videoHeight || 480, d = Math.min(200 / A, 200 / h), x = A * d, R = h * d, M = (200 - x) / 2, c = (200 - R) / 2;
|
|
779
|
+
r == null || r.drawImage(u, 0, 0, A, h, M, c, x, R), n.toBlob(($) => {
|
|
776
780
|
if ($) {
|
|
777
781
|
const N = new File([$], "face.png", { type: "image/png" });
|
|
778
782
|
U(N);
|
|
@@ -815,7 +819,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
815
819
|
}
|
|
816
820
|
}), Te(() => {
|
|
817
821
|
o();
|
|
818
|
-
}), (n, r) => (L(),
|
|
822
|
+
}), (n, r) => (L(), F("div", yt, [
|
|
819
823
|
s("div", ht, [
|
|
820
824
|
s("video", {
|
|
821
825
|
class: "face-video",
|
|
@@ -842,7 +846,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
842
846
|
}), wt = /* @__PURE__ */ H(Ct, [["__scopeId", "data-v-b64bc91c"]]), Tt = { class: "login-wrap" }, kt = { class: "login-body" }, Ut = { class: "login-body-item left" }, Vt = { class: "title" }, Lt = { class: "first-level" }, $t = {
|
|
843
847
|
key: 0,
|
|
844
848
|
class: "logo"
|
|
845
|
-
}, qt = ["src"], At = { class: "english-name" }, It = { class: "login-body-item right" },
|
|
849
|
+
}, qt = ["src"], At = { class: "english-name" }, It = { class: "login-body-item right" }, Dt = /* @__PURE__ */ W({
|
|
846
850
|
__name: "index",
|
|
847
851
|
props: {
|
|
848
852
|
oldSystemKey: {},
|
|
@@ -850,7 +854,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
850
854
|
},
|
|
851
855
|
emits: ["change", "projectLogin", "updateApiUrl", "systemContent"],
|
|
852
856
|
setup(y, { emit: T }) {
|
|
853
|
-
const m = y, p =
|
|
857
|
+
const m = y, p = Fe(), C = T, e = ke(Q), v = Ue(Q), { refreshLogin: k } = se(v), f = ne(Q), { systemInfo: U, loginUserInfo: V } = se(f), w = async (c) => {
|
|
854
858
|
const $ = await Le({
|
|
855
859
|
url: c
|
|
856
860
|
});
|
|
@@ -888,14 +892,14 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
888
892
|
}), n = _("account"), r = _(!1), u = _(!1), A = () => {
|
|
889
893
|
r.value = !0;
|
|
890
894
|
}, h = (c, $) => {
|
|
891
|
-
r.value = !1, c &&
|
|
895
|
+
r.value = !1, c && x($);
|
|
892
896
|
}, d = async () => (sessionStorage.setItem("loginToken", "111"), !0);
|
|
893
897
|
me(async () => {
|
|
894
898
|
await d();
|
|
895
899
|
});
|
|
896
|
-
const
|
|
900
|
+
const x = async (c) => {
|
|
897
901
|
var N, I, te, X;
|
|
898
|
-
if (u.value = !0, await
|
|
902
|
+
if (u.value = !0, await xe(c)) {
|
|
899
903
|
C("projectLogin", c);
|
|
900
904
|
let j = await $e();
|
|
901
905
|
C("systemContent", j == null ? void 0 : j.allMenuContents), p.push("/"), f.setLogRecordAsync({
|
|
@@ -913,7 +917,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
913
917
|
() => m == null ? void 0 : m.loginContent,
|
|
914
918
|
() => {
|
|
915
919
|
let c = m == null ? void 0 : m.loginContent;
|
|
916
|
-
c != null && c.account && (c != null && c.password) && !k.value &&
|
|
920
|
+
c != null && c.account && (c != null && c.password) && !k.value && x(c);
|
|
917
921
|
},
|
|
918
922
|
{ deep: !0, immediate: !0 }
|
|
919
923
|
);
|
|
@@ -922,7 +926,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
922
926
|
}, M = (c) => {
|
|
923
927
|
C("updateApiUrl", c);
|
|
924
928
|
};
|
|
925
|
-
return (c, $) => (L(),
|
|
929
|
+
return (c, $) => (L(), F("div", Tt, [
|
|
926
930
|
s("div", kt, [
|
|
927
931
|
s("div", Ut, [
|
|
928
932
|
t(Me, { class: "login-left-bg" }, {
|
|
@@ -931,7 +935,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
931
935
|
return [
|
|
932
936
|
s("div", Vt, [
|
|
933
937
|
s("div", Lt, [
|
|
934
|
-
i.value ? (L(),
|
|
938
|
+
i.value ? (L(), F("div", $t, [
|
|
935
939
|
s("img", {
|
|
936
940
|
src: i.value,
|
|
937
941
|
alt: ""
|
|
@@ -975,7 +979,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
975
979
|
]),
|
|
976
980
|
tabContent2: a(() => [
|
|
977
981
|
t(wt, {
|
|
978
|
-
systemKey:
|
|
982
|
+
systemKey: c.oldSystemKey,
|
|
979
983
|
activeTabName: n.value,
|
|
980
984
|
isClickLogin: r.value,
|
|
981
985
|
onHandleLoginFormChange: h
|
|
@@ -990,7 +994,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
990
994
|
])
|
|
991
995
|
]));
|
|
992
996
|
}
|
|
993
|
-
}),
|
|
997
|
+
}), Pt = /* @__PURE__ */ H(Dt, [["__scopeId", "data-v-43bcd58d"]]);
|
|
994
998
|
export {
|
|
995
|
-
|
|
999
|
+
Pt as default
|
|
996
1000
|
};
|