ss-component-new 1.3.697 → 1.3.698

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.
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as q, resolveComponent as u, createElementBlock as k, openBlock as s, Fragment as y, renderList as C, createBlock as f, createCommentVNode as z, withCtx as o, createVNode as r, createSlots as O, renderSlot as d, mergeProps as P, computed as j, ref as D, normalizeStyle as g } from "vue";
2
- import { u as G, p as w, s as b, o as H } from "./menu-BwJj321q.js";
2
+ import { u as G, p as w, s as b, a as H } from "./menu-Blo579Ai.js";
3
3
  import { S as $ } from "./index-BKK_dL6t.js";
4
- import "./index-D7JA6c9V.js";
4
+ import "./index-Cc1nPEpp.js";
5
5
  import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const K = /* @__PURE__ */ q({
7
7
  __name: "menuItem",
@@ -1,10 +1,9 @@
1
- import { createElementBlock as D, openBlock as $, createElementVNode as l, renderSlot as R, defineComponent as W, ref as C, resolveComponent as w, createVNode as t, withCtx as o, unref as O, reactive as se, computed as G, onMounted as fe, createBlock as J, resolveDirective as Ue, createCommentVNode as oe, withDirectives as ke, normalizeClass as ne, toDisplayString as x, Transition as Ve, watch as H, Fragment as Le, createTextVNode as M, onBeforeUnmount as $e } from "vue";
2
- import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- import { p as ee, s as le, u as Ie } from "./menu-BwJj321q.js";
4
- import { u as te, c as Fe, b as qe, f as Ae, d as ie, E as re, s as ve, e as De, l as xe, p as Re, v as Ne } from "./origin-eVVoOCRz.js";
5
- import { _ as Y } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
1
+ import { createElementBlock as D, openBlock as $, createElementVNode as l, renderSlot as R, defineComponent as W, ref as C, resolveComponent as w, createVNode as t, withCtx as o, unref as O, reactive as se, computed as G, onMounted as fe, createBlock as J, resolveDirective as Ue, createCommentVNode as oe, withDirectives as ke, normalizeClass as ne, toDisplayString as x, Transition as Ve, watch as j, Fragment as Le, createTextVNode as M, onBeforeUnmount as $e } from "vue";
2
+ import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ import { p as ee, s as le, u as Ie } from "./menu-Blo579Ai.js";
4
+ import { u as te, _ as Y, e as Fe, h as qe, i as Ae, j as ie, E as re, s as ve, k as De, l as xe, p as Re, v as Ne } from "./index.vue_vue_type_script_setup_true_lang-Dj5jZLRU.js";
6
5
  import { useRouter as Se } from "vue-router";
7
- import { l as Ee } from "./index-z0_YrIG2.js";
6
+ import { l as Ee } from "./index-By70dOai.js";
8
7
  const Me = {}, Pe = { class: "left-wrap" }, Be = { class: "left-bg" };
9
8
  function Oe(f, U) {
10
9
  return $(), D("div", Pe, [
@@ -13,10 +12,10 @@ function Oe(f, U) {
13
12
  ])
14
13
  ]);
15
14
  }
16
- const He = /* @__PURE__ */ K(Me, [["render", Oe], ["__scopeId", "data-v-b3dd4a82"]]), Z = {
15
+ const je = /* @__PURE__ */ H(Me, [["render", Oe], ["__scopeId", "data-v-b3dd4a82"]]), Z = {
17
16
  ACCOUNT: "account",
18
17
  FACE: "face"
19
- }, Ke = { class: "right-wrap" }, je = { class: "tab-content" }, ze = { class: "tab-tips" }, Qe = { class: "tab-content" }, We = { class: "tab-tips" }, Xe = /* @__PURE__ */ W({
18
+ }, He = { class: "right-wrap" }, Ke = { class: "tab-content" }, ze = { class: "tab-tips" }, Qe = { class: "tab-content" }, We = { class: "tab-tips" }, Xe = /* @__PURE__ */ W({
20
19
  __name: "index",
21
20
  props: {
22
21
  tabList: {
@@ -37,7 +36,7 @@ const He = /* @__PURE__ */ K(Me, [["render", Oe], ["__scopeId", "data-v-b3dd4a82
37
36
  };
38
37
  return (_, T) => {
39
38
  const v = w("el-button"), m = w("el-tab-pane"), y = w("el-tabs");
40
- return $(), D("div", Ke, [
39
+ return $(), D("div", He, [
41
40
  t(y, {
42
41
  modelValue: g.value,
43
42
  "onUpdate:modelValue": T[0] || (T[0] = (b) => g.value = b),
@@ -52,7 +51,7 @@ const He = /* @__PURE__ */ K(Me, [["render", Oe], ["__scopeId", "data-v-b3dd4a82
52
51
  R(_.$slots, "tabLabel1", {}, void 0, !0)
53
52
  ]),
54
53
  default: o(() => [
55
- l("div", je, [
54
+ l("div", Ke, [
56
55
  R(_.$slots, "tabContent1", {}, void 0, !0)
57
56
  ]),
58
57
  l("div", {
@@ -94,7 +93,7 @@ const He = /* @__PURE__ */ K(Me, [["render", Oe], ["__scopeId", "data-v-b3dd4a82
94
93
  ]);
95
94
  };
96
95
  }
97
- }), Ge = /* @__PURE__ */ K(Xe, [["__scopeId", "data-v-57780a32"]]), Je = /^[a-z][a-z0-9+.-]*:\/\//i, ce = (f) => Je.test(f);
96
+ }), Ge = /* @__PURE__ */ H(Xe, [["__scopeId", "data-v-57780a32"]]), Je = /^[a-z][a-z0-9+.-]*:\/\//i, ce = (f) => Je.test(f);
98
97
  function Ye(f) {
99
98
  ce(f) || (f = `http://${f}`);
100
99
  try {
@@ -151,7 +150,7 @@ const Ze = () => ({ initUrlInfo: () => ({
151
150
  openDialog: i,
152
151
  handleClose: u
153
152
  }), (L, d) => {
154
- const r = w("el-input"), k = w("el-form-item"), q = w("el-col"), N = w("el-row"), j = w("el-form"), X = w("el-dialog");
153
+ const r = w("el-input"), k = w("el-form-item"), q = w("el-col"), N = w("el-row"), K = w("el-form"), X = w("el-dialog");
155
154
  return $(), J(X, {
156
155
  class: "api-form-dialog",
157
156
  modelValue: a.value,
@@ -164,7 +163,7 @@ const Ze = () => ({ initUrlInfo: () => ({
164
163
  default: o(() => [
165
164
  l("div", et, [
166
165
  l("div", tt, [
167
- t(j, {
166
+ t(K, {
168
167
  class: "api-edit-form",
169
168
  ref_key: "apiFormRef",
170
169
  ref: m,
@@ -248,7 +247,7 @@ const Ze = () => ({ initUrlInfo: () => ({
248
247
  }, 8, ["modelValue"]);
249
248
  };
250
249
  }
251
- }), lt = /* @__PURE__ */ K(st, [["__scopeId", "data-v-a0901fa1"]]), nt = { class: "dialog-header" }, it = { class: "dialog-subtitle" }, rt = {
250
+ }), lt = /* @__PURE__ */ H(st, [["__scopeId", "data-v-a0901fa1"]]), nt = { class: "dialog-header" }, it = { class: "dialog-subtitle" }, rt = {
252
251
  key: 0,
253
252
  class: "restart-panel"
254
253
  }, ct = { class: "restart-title" }, ut = { class: "restart-subtitle" }, dt = {
@@ -295,7 +294,7 @@ const Ze = () => ({ initUrlInfo: () => ({
295
294
  i.value = 1, c = setInterval(() => {
296
295
  i.value = i.value >= 3 ? 1 : i.value + 1;
297
296
  }, 500);
298
- }, j = () => {
297
+ }, K = () => {
299
298
  r();
300
299
  const h = setInterval(() => {
301
300
  n.value = Math.min(n.value + 3, 100), n.value >= 100 && (clearInterval(h), a.value = "success");
@@ -309,7 +308,7 @@ const Ze = () => ({ initUrlInfo: () => ({
309
308
  }
310
309
  try {
311
310
  const { data: s } = await ie.get(V.value + "/platform/config/db", { timeout: 3e3 });
312
- (s == null ? void 0 : s.code) === 200 && (k(), j());
311
+ (s == null ? void 0 : s.code) === 200 && (k(), K());
313
312
  } catch {
314
313
  }
315
314
  }, me);
@@ -596,7 +595,7 @@ const Ze = () => ({ initUrlInfo: () => ({
596
595
  }, 8, ["modelValue", "close-on-click-modal", "close-on-press-escape"]);
597
596
  };
598
597
  }
599
- }), bt = /* @__PURE__ */ K(_t, [["__scopeId", "data-v-36cdd580"]]), yt = { class: "account-wrap" }, ht = { class: "extra-operate" }, Ct = /* @__PURE__ */ W({
598
+ }), bt = /* @__PURE__ */ H(_t, [["__scopeId", "data-v-36cdd580"]]), yt = { class: "account-wrap" }, ht = { class: "extra-operate" }, Ct = /* @__PURE__ */ W({
600
599
  __name: "index",
601
600
  props: {
602
601
  activeTabName: {
@@ -621,7 +620,7 @@ const Ze = () => ({ initUrlInfo: () => ({
621
620
  { required: !0, message: "请输入密码", trigger: "blur" }
622
621
  ]
623
622
  }), e = C(null), _ = U;
624
- H(() => g.isClickLogin, (n) => {
623
+ j(() => g.isClickLogin, (n) => {
625
624
  var a;
626
625
  n && (g == null ? void 0 : g.activeTabName) === "account" && ((a = e.value) == null || a.validate((i) => {
627
626
  var c;
@@ -631,7 +630,7 @@ const Ze = () => ({ initUrlInfo: () => ({
631
630
  }));
632
631
  }, {
633
632
  immediate: !0
634
- }), H(() => g.activeTabName, (n) => {
633
+ }), j(() => g.activeTabName, (n) => {
635
634
  var a;
636
635
  n === "account" && ((a = e.value) == null || a.resetFields());
637
636
  });
@@ -743,16 +742,16 @@ const Ze = () => ({ initUrlInfo: () => ({
743
742
  ], 64);
744
743
  };
745
744
  }
746
- }), wt = /* @__PURE__ */ K(Ct, [["__scopeId", "data-v-7ec7eefc"]]), Tt = te(ee), { systemUrl: P, extraUrl: B } = le(Tt);
745
+ }), wt = /* @__PURE__ */ H(Ct, [["__scopeId", "data-v-7ec7eefc"]]), Tt = te(ee), { systemUrl: P, extraUrl: B } = le(Tt);
747
746
  let ge = P.value === "" || !P.value ? "http://222.92.178.198:63003" : P.value, _e = B.value === "" || !B.value ? "http://139.196.154.85:20015" : B.value;
748
- H(
747
+ j(
749
748
  () => P.value,
750
749
  () => {
751
750
  ge = P.value === "" || !P.value ? "http://222.92.178.198:63003" : P.value;
752
751
  },
753
752
  { deep: !0, immediate: !0 }
754
753
  );
755
- H(
754
+ j(
756
755
  () => B.value,
757
756
  () => {
758
757
  _e = B.value === "" || !B.value ? "http://139.196.154.85:20015" : B.value;
@@ -827,9 +826,9 @@ const Vt = () => {
827
826
  const i = _.value, c = i.getContext("2d"), u = e.value;
828
827
  i.width = 200, i.height = 200;
829
828
  const I = u.videoWidth || 640, L = u.videoHeight || 480, d = Math.min(200 / I, 200 / L), r = I * d, k = L * d, q = (200 - r) / 2, N = (200 - k) / 2;
830
- c == null || c.drawImage(u, 0, 0, I, L, q, N, r, k), i.toBlob((j) => {
831
- if (j) {
832
- const X = new File([j], "face.png", { type: "image/png" });
829
+ c == null || c.drawImage(u, 0, 0, I, L, q, N, r, k), i.toBlob((K) => {
830
+ if (K) {
831
+ const X = new File([K], "face.png", { type: "image/png" });
833
832
  m(X);
834
833
  }
835
834
  }, "image/png");
@@ -859,7 +858,7 @@ const Vt = () => {
859
858
  const a = () => {
860
859
  n(v), T = !1;
861
860
  };
862
- return H(() => g.activeTabName, (i) => {
861
+ return j(() => g.activeTabName, (i) => {
863
862
  if (i !== Z.FACE) {
864
863
  a();
865
864
  return;
@@ -894,7 +893,7 @@ const Vt = () => {
894
893
  }, null, 512)
895
894
  ]));
896
895
  }
897
- }), Ft = /* @__PURE__ */ K(It, [["__scopeId", "data-v-94ec015b"]]), qt = { class: "login-wrap" }, At = { class: "login-body" }, Dt = { class: "login-body-item left" }, xt = { class: "title" }, Rt = { class: "first-level" }, Nt = {
896
+ }), Ft = /* @__PURE__ */ H(It, [["__scopeId", "data-v-94ec015b"]]), qt = { class: "login-wrap" }, At = { class: "login-body" }, Dt = { class: "login-body-item left" }, xt = { class: "title" }, Rt = { class: "first-level" }, Nt = {
898
897
  key: 0,
899
898
  class: "logo"
900
899
  }, St = ["src"], Et = { class: "english-name" }, Mt = { class: "login-body-item right" }, Pt = /* @__PURE__ */ W({
@@ -911,7 +910,7 @@ const Vt = () => {
911
910
  });
912
911
  return URL.createObjectURL(k == null ? void 0 : k.data);
913
912
  };
914
- H(() => {
913
+ j(() => {
915
914
  var r;
916
915
  return (r = e.value) == null ? void 0 : r.logo;
917
916
  }, async (r) => {
@@ -957,7 +956,7 @@ const Vt = () => {
957
956
  m.value = !1;
958
957
  m.value = !1;
959
958
  };
960
- H(
959
+ j(
961
960
  () => g == null ? void 0 : g.loginContent,
962
961
  () => {
963
962
  let r = g == null ? void 0 : g.loginContent;
@@ -973,7 +972,7 @@ const Vt = () => {
973
972
  return (r, k) => ($(), D("div", qt, [
974
973
  l("div", At, [
975
974
  l("div", Dt, [
976
- t(He, { class: "login-left-bg" }, {
975
+ t(je, { class: "login-left-bg" }, {
977
976
  img: o(() => {
978
977
  var q, N;
979
978
  return [
@@ -1038,7 +1037,7 @@ const Vt = () => {
1038
1037
  ])
1039
1038
  ]));
1040
1039
  }
1041
- }), Wt = /* @__PURE__ */ K(Pt, [["__scopeId", "data-v-8aacc6bf"]]);
1040
+ }), Qt = /* @__PURE__ */ H(Pt, [["__scopeId", "data-v-8aacc6bf"]]);
1042
1041
  export {
1043
- Wt as default
1042
+ Qt as default
1044
1043
  };
@@ -1,6 +1,6 @@
1
- import { h as w, a as N, u as S, E as b, i as v } from "./origin-eVVoOCRz.js";
2
- import { p as h, s as A } from "./menu-BwJj321q.js";
3
- const y = S(h), { isDefaultModel: M } = N(), P = async (m, s) => {
1
+ import { m as w, b, u as S, E as N, n as v } from "./index.vue_vue_type_script_setup_true_lang-Dj5jZLRU.js";
2
+ import { p as h, s as A } from "./menu-Blo579Ai.js";
3
+ const y = S(h), { isDefaultModel: M } = b(), P = async (m, s) => {
4
4
  var u, o, r, i, a, d, g, p, f;
5
5
  let t = Object.values(m), e = await w({
6
6
  userName: (u = t == null ? void 0 : t[0]) == null ? void 0 : u.trim(),
@@ -12,7 +12,7 @@ const y = S(h), { isDefaultModel: M } = N(), P = async (m, s) => {
12
12
  let c = n;
13
13
  return c.plat_id = c.id ?? s, y.setLoginUserInfo(c), y.setSystemKey(s && s !== "" ? s : n == null ? void 0 : n.id), !0;
14
14
  } else
15
- return b.error("输入的密码错误,请重新输入"), !1;
15
+ return N.error("输入的密码错误,请重新输入"), !1;
16
16
  }, L = S(h), { systemInfo: _, loginUserInfo: l } = A(L), T = async () => (sessionStorage.setItem("loginToken", "111"), !0), j = async () => (sessionStorage.setItem("magicToken", "123456"), !0), E = async (m) => {
17
17
  var o, r, i;
18
18
  let s = [P(m, (o = _.value) == null ? void 0 : o.plat_id), T(), j()];