@10yun/open-sdk 0.3.97 → 0.3.98

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,4 +1,4 @@
1
- import { _ as ee, S as te, H as ie, u as oe, a as se, b as ne, c as re } from "./index-eCmAf5ru.js";
1
+ import { _ as ee, S as te, H as ie, u as oe, a as se, b as ne, c as re } from "./index-CYNRKRHo.js";
2
2
  import "pinia";
3
3
  import { resolveComponent as R, createElementBlock as I, openBlock as E, createCommentVNode as B, createBlock as G, createElementVNode as f, toDisplayString as b, createVNode as A, withCtx as N, createTextVNode as U, withKeys as ae } from "vue";
4
4
  function le(n) {
@@ -7,11 +7,11 @@ function le(n) {
7
7
  var Q = { exports: {} }, he = Q.exports, X;
8
8
  function ce() {
9
9
  return X || (X = 1, function(n, a) {
10
- var m;
11
- (function(p, h) {
10
+ var v;
11
+ (function(_, h) {
12
12
  n.exports = h();
13
13
  })(he, function() {
14
- function p(e) {
14
+ function _(e) {
15
15
  this.mode = d.MODE_8BIT_BYTE, this.data = e, this.parsedData = [];
16
16
  for (var t = 0, i = this.data.length; t < i; t++) {
17
17
  var o = [], s = this.data.charCodeAt(t);
@@ -19,7 +19,7 @@ function ce() {
19
19
  }
20
20
  this.parsedData = Array.prototype.concat.apply([], this.parsedData), this.parsedData.length != this.data.length && (this.parsedData.unshift(191), this.parsedData.unshift(187), this.parsedData.unshift(239));
21
21
  }
22
- p.prototype = {
22
+ _.prototype = {
23
23
  getLength: function(e) {
24
24
  return this.parsedData.length;
25
25
  },
@@ -33,7 +33,7 @@ function ce() {
33
33
  }
34
34
  h.prototype = {
35
35
  addData: function(e) {
36
- var t = new p(e);
36
+ var t = new _(e);
37
37
  this.dataList.push(t), this.dataCache = null;
38
38
  },
39
39
  isDark: function(e, t) {
@@ -65,7 +65,7 @@ function ce() {
65
65
  getBestMaskPattern: function() {
66
66
  for (var e = 0, t = 0, i = 0; i < 8; i++) {
67
67
  this.makeImpl(!0, i);
68
- var o = v.getLostPoint(this);
68
+ var o = m.getLostPoint(this);
69
69
  (i == 0 || e > o) && (e = o, t = i);
70
70
  }
71
71
  return t;
@@ -75,8 +75,8 @@ function ce() {
75
75
  this.make();
76
76
  for (var l = 0; l < this.modules.length; l++)
77
77
  for (var c = l * s, r = 0; r < this.modules[l].length; r++) {
78
- var u = r * s, _ = this.modules[l][r];
79
- _ && (o.beginFill(0, 100), o.moveTo(u, c), o.lineTo(u + s, c), o.lineTo(u + s, c + s), o.lineTo(u, c + s), o.endFill());
78
+ var u = r * s, p = this.modules[l][r];
79
+ p && (o.beginFill(0, 100), o.moveTo(u, c), o.lineTo(u + s, c), o.lineTo(u + s, c + s), o.lineTo(u, c + s), o.endFill());
80
80
  }
81
81
  return o;
82
82
  },
@@ -87,7 +87,7 @@ function ce() {
87
87
  this.modules[6][t] == null && (this.modules[6][t] = t % 2 == 0);
88
88
  },
89
89
  setupPositionAdjustPattern: function() {
90
- for (var e = v.getPatternPosition(this.typeNumber), t = 0; t < e.length; t++)
90
+ for (var e = m.getPatternPosition(this.typeNumber), t = 0; t < e.length; t++)
91
91
  for (var i = 0; i < e.length; i++) {
92
92
  var o = e[t], s = e[i];
93
93
  if (this.modules[o][s] == null)
@@ -97,7 +97,7 @@ function ce() {
97
97
  }
98
98
  },
99
99
  setupTypeNumber: function(e) {
100
- for (var t = v.getBCHTypeNumber(this.typeNumber), i = 0; i < 18; i++) {
100
+ for (var t = m.getBCHTypeNumber(this.typeNumber), i = 0; i < 18; i++) {
101
101
  var o = !e && (t >> i & 1) == 1;
102
102
  this.modules[Math.floor(i / 3)][i % 3 + this.moduleCount - 8 - 3] = o;
103
103
  }
@@ -107,7 +107,7 @@ function ce() {
107
107
  }
108
108
  },
109
109
  setupTypeInfo: function(e, t) {
110
- for (var i = this.errorCorrectLevel << 3 | t, o = v.getBCHTypeInfo(i), s = 0; s < 15; s++) {
110
+ for (var i = this.errorCorrectLevel << 3 | t, o = m.getBCHTypeInfo(i), s = 0; s < 15; s++) {
111
111
  var l = !e && (o >> s & 1) == 1;
112
112
  s < 6 ? this.modules[s][8] = l : s < 8 ? this.modules[s + 1][8] = l : this.modules[this.moduleCount - 15 + s][8] = l;
113
113
  }
@@ -124,8 +124,8 @@ function ce() {
124
124
  if (this.modules[o][c - r] == null) {
125
125
  var u = !1;
126
126
  l < e.length && (u = (e[l] >>> s & 1) == 1);
127
- var _ = v.getMask(t, o, c - r);
128
- _ && (u = !u), this.modules[o][c - r] = u, s--, s == -1 && (l++, s = 7);
127
+ var p = m.getMask(t, o, c - r);
128
+ p && (u = !u), this.modules[o][c - r] = u, s--, s == -1 && (l++, s = 7);
129
129
  }
130
130
  if (o += i, o < 0 || this.moduleCount <= o) {
131
131
  o -= i, i = -i;
@@ -136,7 +136,7 @@ function ce() {
136
136
  }, h.PAD0 = 236, h.PAD1 = 17, h.createData = function(e, t, i) {
137
137
  for (var o = k.getRSBlocks(e, t), s = new w(), l = 0; l < i.length; l++) {
138
138
  var c = i[l];
139
- s.put(c.mode, 4), s.put(c.getLength(), v.getLengthInBits(c.mode, e)), c.write(s);
139
+ s.put(c.mode, 4), s.put(c.getLength(), m.getLengthInBits(c.mode, e)), c.write(s);
140
140
  }
141
141
  for (var r = 0, l = 0; l < o.length; l++)
142
142
  r += o[l].dataCount;
@@ -149,13 +149,13 @@ function ce() {
149
149
  return h.createBytes(s, o);
150
150
  }, h.createBytes = function(e, t) {
151
151
  for (var i = 0, o = 0, s = 0, l = new Array(t.length), c = new Array(t.length), r = 0; r < t.length; r++) {
152
- var u = t[r].dataCount, _ = t[r].totalCount - u;
153
- o = Math.max(o, u), s = Math.max(s, _), l[r] = new Array(u);
152
+ var u = t[r].dataCount, p = t[r].totalCount - u;
153
+ o = Math.max(o, u), s = Math.max(s, p), l[r] = new Array(u);
154
154
  for (var g = 0; g < l[r].length; g++)
155
155
  l[r][g] = 255 & e.buffer[g + i];
156
156
  i += u;
157
- var y = v.getErrorCorrectPolynomial(_), S = new O(l[r], y.getLength() - 1), M = S.mod(y);
158
- c[r] = new Array(y.getLength() - 1);
157
+ var T = m.getErrorCorrectPolynomial(p), S = new O(l[r], T.getLength() - 1), M = S.mod(T);
158
+ c[r] = new Array(T.getLength() - 1);
159
159
  for (var g = 0; g < c[r].length; g++) {
160
160
  var D = g + M.getLength() - c[r].length;
161
161
  c[r][g] = D >= 0 ? M.get(D) : 0;
@@ -171,7 +171,7 @@ function ce() {
171
171
  g < c[r].length && (H[F++] = c[r][g]);
172
172
  return H;
173
173
  };
174
- for (var d = { MODE_NUMBER: 1, MODE_ALPHA_NUM: 2, MODE_8BIT_BYTE: 4, MODE_KANJI: 8 }, T = { L: 1, M: 0, Q: 3, H: 2 }, P = {
174
+ for (var d = { MODE_NUMBER: 1, MODE_ALPHA_NUM: 2, MODE_8BIT_BYTE: 4, MODE_KANJI: 8 }, y = { L: 1, M: 0, Q: 3, H: 2 }, P = {
175
175
  PATTERN000: 0,
176
176
  PATTERN001: 1,
177
177
  PATTERN010: 2,
@@ -180,7 +180,7 @@ function ce() {
180
180
  PATTERN101: 5,
181
181
  PATTERN110: 6,
182
182
  PATTERN111: 7
183
- }, v = {
183
+ }, m = {
184
184
  PATTERN_POSITION_TABLE: [
185
185
  [],
186
186
  [6, 18],
@@ -227,13 +227,13 @@ function ce() {
227
227
  G18: 7973,
228
228
  G15_MASK: 21522,
229
229
  getBCHTypeInfo: function(e) {
230
- for (var t = e << 10; v.getBCHDigit(t) - v.getBCHDigit(v.G15) >= 0; )
231
- t ^= v.G15 << v.getBCHDigit(t) - v.getBCHDigit(v.G15);
232
- return (e << 10 | t) ^ v.G15_MASK;
230
+ for (var t = e << 10; m.getBCHDigit(t) - m.getBCHDigit(m.G15) >= 0; )
231
+ t ^= m.G15 << m.getBCHDigit(t) - m.getBCHDigit(m.G15);
232
+ return (e << 10 | t) ^ m.G15_MASK;
233
233
  },
234
234
  getBCHTypeNumber: function(e) {
235
- for (var t = e << 12; v.getBCHDigit(t) - v.getBCHDigit(v.G18) >= 0; )
236
- t ^= v.G18 << v.getBCHDigit(t) - v.getBCHDigit(v.G18);
235
+ for (var t = e << 12; m.getBCHDigit(t) - m.getBCHDigit(m.G18) >= 0; )
236
+ t ^= m.G18 << m.getBCHDigit(t) - m.getBCHDigit(m.G18);
237
237
  return e << 12 | t;
238
238
  },
239
239
  getBCHDigit: function(e) {
@@ -242,7 +242,7 @@ function ce() {
242
242
  return t;
243
243
  },
244
244
  getPatternPosition: function(e) {
245
- return v.PATTERN_POSITION_TABLE[e - 1];
245
+ return m.PATTERN_POSITION_TABLE[e - 1];
246
246
  },
247
247
  getMask: function(e, t, i) {
248
248
  switch (e) {
@@ -325,8 +325,8 @@ function ce() {
325
325
  }
326
326
  for (var o = 0; o < t - 1; o++)
327
327
  for (var s = 0; s < t - 1; s++) {
328
- var _ = 0;
329
- e.isDark(o, s) && _++, e.isDark(o + 1, s) && _++, e.isDark(o, s + 1) && _++, e.isDark(o + 1, s + 1) && _++, (_ == 0 || _ == 4) && (i += 3);
328
+ var p = 0;
329
+ e.isDark(o, s) && p++, e.isDark(o + 1, s) && p++, e.isDark(o, s + 1) && p++, e.isDark(o + 1, s + 1) && p++, (p == 0 || p == 4) && (i += 3);
330
330
  }
331
331
  for (var o = 0; o < t; o++)
332
332
  for (var s = 0; s < t - 6; s++)
@@ -337,8 +337,8 @@ function ce() {
337
337
  for (var g = 0, s = 0; s < t; s++)
338
338
  for (var o = 0; o < t; o++)
339
339
  e.isDark(o, s) && g++;
340
- var y = Math.abs(100 * g / t / t - 50) / 5;
341
- return i += y * 10, i;
340
+ var T = Math.abs(100 * g / t / t - 50) / 5;
341
+ return i += T * 10, i;
342
342
  }
343
343
  }, C = {
344
344
  glog: function(e) {
@@ -562,18 +562,18 @@ function ce() {
562
562
  if (i == null)
563
563
  throw new Error("bad rs block @ typeNumber:" + e + "/errorCorrectLevel:" + t);
564
564
  for (var o = i.length / 3, s = [], l = 0; l < o; l++)
565
- for (var c = i[l * 3 + 0], r = i[l * 3 + 1], u = i[l * 3 + 2], _ = 0; _ < c; _++)
565
+ for (var c = i[l * 3 + 0], r = i[l * 3 + 1], u = i[l * 3 + 2], p = 0; p < c; p++)
566
566
  s.push(new k(r, u));
567
567
  return s;
568
568
  }, k.getRsBlockTable = function(e, t) {
569
569
  switch (t) {
570
- case T.L:
570
+ case y.L:
571
571
  return k.RS_BLOCK_TABLE[(e - 1) * 4 + 0];
572
- case T.M:
572
+ case y.M:
573
573
  return k.RS_BLOCK_TABLE[(e - 1) * 4 + 1];
574
- case T.Q:
574
+ case y.Q:
575
575
  return k.RS_BLOCK_TABLE[(e - 1) * 4 + 2];
576
- case T.H:
576
+ case y.H:
577
577
  return k.RS_BLOCK_TABLE[(e - 1) * 4 + 3];
578
578
  default:
579
579
  return;
@@ -660,9 +660,9 @@ function ce() {
660
660
  return e.prototype.draw = function(t) {
661
661
  var i = this._htOption, o = this._el, s = t.getModuleCount();
662
662
  Math.floor(i.width / s), Math.floor(i.height / s), this.clear();
663
- function l(g, y) {
663
+ function l(g, T) {
664
664
  var S = document.createElementNS("http://www.w3.org/2000/svg", g);
665
- for (var M in y) y.hasOwnProperty(M) && S.setAttribute(M, y[M]);
665
+ for (var M in T) T.hasOwnProperty(M) && S.setAttribute(M, T[M]);
666
666
  return S;
667
667
  }
668
668
  var c = l("svg", {
@@ -675,8 +675,8 @@ function ce() {
675
675
  for (var r = 0; r < s; r++)
676
676
  for (var u = 0; u < s; u++)
677
677
  if (t.isDark(r, u)) {
678
- var _ = l("use", { x: String(u), y: String(r) });
679
- _.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#template"), c.appendChild(_);
678
+ var p = l("use", { x: String(u), y: String(r) });
679
+ p.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#template"), c.appendChild(p);
680
680
  }
681
681
  }, e.prototype.clear = function() {
682
682
  for (; this._el.hasChildNodes(); ) this._el.removeChild(this._el.lastChild);
@@ -687,7 +687,7 @@ function ce() {
687
687
  }
688
688
  if (this && this._android && this._android <= 2.1) {
689
689
  var t = 1 / window.devicePixelRatio, i = CanvasRenderingContext2D.prototype.drawImage;
690
- CanvasRenderingContext2D.prototype.drawImage = function(l, c, r, u, _, g, y, S, M) {
690
+ CanvasRenderingContext2D.prototype.drawImage = function(l, c, r, u, p, g, T, S, M) {
691
691
  if ("nodeName" in l && /img/i.test(l.nodeName))
692
692
  for (var D = arguments.length - 1; D >= 1; D--)
693
693
  arguments[D] = arguments[D] * t;
@@ -698,12 +698,12 @@ function ce() {
698
698
  function o(l, c) {
699
699
  var r = this;
700
700
  if (r._fFail = c, r._fSuccess = l, r._bSupportDataURI === null) {
701
- var u = document.createElement("img"), _ = function() {
701
+ var u = document.createElement("img"), p = function() {
702
702
  r._bSupportDataURI = !1, r._fFail && r._fFail.call(r);
703
703
  }, g = function() {
704
704
  r._bSupportDataURI = !0, r._fSuccess && r._fSuccess.call(r);
705
705
  };
706
- u.onabort = _, u.onerror = _, u.onload = g, u.src = "data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==";
706
+ u.onabort = p, u.onerror = p, u.onload = g, u.src = "data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==";
707
707
  return;
708
708
  } else r._bSupportDataURI === !0 && r._fSuccess ? r._fSuccess.call(r) : r._bSupportDataURI === !1 && r._fFail && r._fFail.call(r);
709
709
  }
@@ -711,12 +711,12 @@ function ce() {
711
711
  this._bIsPainted = !1, this._android = $(), this._htOption = c, this._elCanvas = document.createElement("canvas"), this._elCanvas.width = c.width, this._elCanvas.height = c.height, l.appendChild(this._elCanvas), this._el = l, this._oContext = this._elCanvas.getContext("2d"), this._bIsPainted = !1, this._elImage = document.createElement("img"), this._elImage.alt = "Scan me!", this._elImage.style.display = "none", this._el.appendChild(this._elImage), this._bSupportDataURI = null;
712
712
  };
713
713
  return s.prototype.draw = function(l) {
714
- var c = this._elImage, r = this._oContext, u = this._htOption, _ = l.getModuleCount(), g = u.width / _, y = u.height / _, S = Math.round(g), M = Math.round(y);
714
+ var c = this._elImage, r = this._oContext, u = this._htOption, p = l.getModuleCount(), g = u.width / p, T = u.height / p, S = Math.round(g), M = Math.round(T);
715
715
  c.style.display = "none", this.clear();
716
- for (var D = 0; D < _; D++)
717
- for (var x = 0; x < _; x++) {
718
- var H = l.isDark(D, x), F = x * g, q = D * y;
719
- r.strokeStyle = H ? u.colorDark : u.colorLight, r.lineWidth = 1, r.fillStyle = H ? u.colorDark : u.colorLight, r.fillRect(F, q, g, y), r.strokeRect(Math.floor(F) + 0.5, Math.floor(q) + 0.5, S, M), r.strokeRect(Math.ceil(F) - 0.5, Math.ceil(q) - 0.5, S, M);
716
+ for (var D = 0; D < p; D++)
717
+ for (var x = 0; x < p; x++) {
718
+ var H = l.isDark(D, x), F = x * g, q = D * T;
719
+ r.strokeStyle = H ? u.colorDark : u.colorLight, r.lineWidth = 1, r.fillStyle = H ? u.colorDark : u.colorLight, r.fillRect(F, q, g, T), r.strokeRect(Math.floor(F) + 0.5, Math.floor(q) + 0.5, S, M), r.strokeRect(Math.ceil(F) - 0.5, Math.ceil(q) - 0.5, S, M);
720
720
  }
721
721
  this._bIsPainted = !0;
722
722
  }, s.prototype.makeImage = function() {
@@ -735,15 +735,15 @@ function ce() {
735
735
  return e.prototype.draw = function(t) {
736
736
  for (var i = this._htOption, o = this._el, s = t.getModuleCount(), l = Math.floor(i.width / s), c = Math.floor(i.height / s), r = ['<table style="border:0;border-collapse:collapse;">'], u = 0; u < s; u++) {
737
737
  r.push("<tr>");
738
- for (var _ = 0; _ < s; _++)
738
+ for (var p = 0; p < s; p++)
739
739
  r.push(
740
- '<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:' + l + "px;height:" + c + "px;background-color:" + (t.isDark(u, _) ? i.colorDark : i.colorLight) + ';"></td>'
740
+ '<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:' + l + "px;height:" + c + "px;background-color:" + (t.isDark(u, p) ? i.colorDark : i.colorLight) + ';"></td>'
741
741
  );
742
742
  r.push("</tr>");
743
743
  }
744
744
  r.push("</table>"), o.innerHTML = r.join("");
745
- var g = o.childNodes[0], y = (i.width - g.offsetWidth) / 2, S = (i.height - g.offsetHeight) / 2;
746
- y > 0 && S > 0 && (g.style.margin = S + "px " + y + "px");
745
+ var g = o.childNodes[0], T = (i.width - g.offsetWidth) / 2, S = (i.height - g.offsetHeight) / 2;
746
+ T > 0 && S > 0 && (g.style.margin = S + "px " + T + "px");
747
747
  }, e.prototype.clear = function() {
748
748
  this._el.innerHTML = "";
749
749
  }, e;
@@ -752,16 +752,16 @@ function ce() {
752
752
  for (var i = 1, o = Z(e), s = 0, l = V.length; s <= l; s++) {
753
753
  var c = 0;
754
754
  switch (t) {
755
- case T.L:
755
+ case y.L:
756
756
  c = V[s][0];
757
757
  break;
758
- case T.M:
758
+ case y.M:
759
759
  c = V[s][1];
760
760
  break;
761
- case T.Q:
761
+ case y.Q:
762
762
  c = V[s][2];
763
763
  break;
764
- case T.H:
764
+ case y.H:
765
765
  c = V[s][3];
766
766
  break;
767
767
  }
@@ -777,27 +777,27 @@ function ce() {
777
777
  var t = encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g, "a");
778
778
  return t.length + (t.length != e ? 3 : 0);
779
779
  }
780
- return m = function(e, t) {
780
+ return v = function(e, t) {
781
781
  if (this._htOption = {
782
782
  width: 256,
783
783
  height: 256,
784
784
  typeNumber: 4,
785
785
  colorDark: "#000000",
786
786
  colorLight: "#ffffff",
787
- correctLevel: T.H
787
+ correctLevel: y.H
788
788
  }, typeof t == "string" && (t = {
789
789
  text: t
790
790
  }), t)
791
791
  for (var i in t)
792
792
  this._htOption[i] = t[i];
793
793
  typeof e == "string" && (e = document.getElementById(e)), this._htOption.useSVG && (J = K), this._android = $(), this._el = e, this._oQRCode = null, this._oDrawing = new J(this._el, this._htOption), this._htOption.text && this.makeCode(this._htOption.text);
794
- }, m.prototype.makeCode = function(e) {
794
+ }, v.prototype.makeCode = function(e) {
795
795
  this._oQRCode = new h(j(e, this._htOption.correctLevel), this._htOption.correctLevel), this._oQRCode.addData(e), this._oQRCode.make(), this._el.title = e, this._oDrawing.draw(this._oQRCode), this.makeImage();
796
- }, m.prototype.makeImage = function() {
796
+ }, v.prototype.makeImage = function() {
797
797
  typeof this._oDrawing.makeImage == "function" && (!this._android || this._android >= 3) && this._oDrawing.makeImage();
798
- }, m.prototype.clear = function() {
798
+ }, v.prototype.clear = function() {
799
799
  this._oDrawing.clear();
800
- }, m.CorrectLevel = T, m;
800
+ }, v.CorrectLevel = y, v;
801
801
  });
802
802
  }(Q)), Q.exports;
803
803
  }
@@ -859,8 +859,8 @@ const z = /* @__PURE__ */ le(ue), de = {
859
859
  account_mobile(n) {
860
860
  this.$nextTick(() => {
861
861
  let a = this.$refs.account_mobile.$el.querySelector("input");
862
- const p = getComputedStyle(a).background.match(/rgb\((\d+,\s*\d+,\s*\d+)\)/);
863
- p && p[0] === "rgb(232, 240, 254)" && this.onBlur();
862
+ const _ = getComputedStyle(a).background.match(/rgb\((\d+,\s*\d+,\s*\d+)\)/);
863
+ _ && _[0] === "rgb(232, 240, 254)" && this.onBlur();
864
864
  });
865
865
  },
866
866
  loginMode(n) {
@@ -868,17 +868,17 @@ const z = /* @__PURE__ */ le(ue), de = {
868
868
  }
869
869
  },
870
870
  computed: {
871
- openProductPrivacyUrl() {
871
+ openCasePrivacyUrl() {
872
872
  var n;
873
- return ((n = this.openProductInfo) == null ? void 0 : n.privacy_url) || "";
873
+ return ((n = this.openCaseInfo) == null ? void 0 : n.privacy_url) || "";
874
874
  },
875
875
  loginLastLogo() {
876
- return this.openProductInfo.platinfo_log || "/logo-nobg.png";
876
+ return this.openCaseInfo.platinfo_log || "/logo-nobg.png";
877
877
  },
878
- loginSystemTitle() {
879
- var p, h;
880
- let n = (p = this.openProductInfo) == null ? void 0 : p.system_type;
881
- return ((h = this.openProductInfo) == null ? void 0 : h.info_title) || n;
878
+ loginLastTitle() {
879
+ var _, h;
880
+ let n = (_ = this.openProductInfo) == null ? void 0 : _.info_title, a = (h = this.openCaseInfo) == null ? void 0 : h.system_type;
881
+ return n || a;
882
882
  },
883
883
  currentLanguage() {
884
884
  return this.languageList[this.languageName] || "Language";
@@ -907,7 +907,7 @@ const z = /* @__PURE__ */ le(ue), de = {
907
907
  this.$message.warning("请联系管理员!");
908
908
  },
909
909
  chackServerUrl(n) {
910
- return new Promise((a, m) => {
910
+ return new Promise((a, v) => {
911
911
  a();
912
912
  });
913
913
  },
@@ -981,21 +981,21 @@ const z = /* @__PURE__ */ le(ue), de = {
981
981
  this.account_mobile = n.account_mobile_show, this.account_business_id = n.business_id, n.acc_role_type == "sy-org-admin" ? this.passportHandle2(null, "OrgAdminPwdLogin") : n.acc_role_type == "sy-org-staff" && this.passportHandle2(null, "OrgStaffPwdLogin");
982
982
  },
983
983
  passportHandle2(n, a) {
984
- let m = this.$message({
984
+ let v = this.$message({
985
985
  iconClass: "ElIconLoading",
986
986
  message: "正在登录...",
987
987
  duration: 0
988
988
  });
989
989
  this.loadOngoing = !0, localStorage.setItem("cacheLoginMobile", this.account_mobile);
990
990
  try {
991
- let p = {};
992
- this.loginMode == "access" ? (p = {
991
+ let _ = {};
992
+ this.loginMode == "access" ? (_ = {
993
993
  account_mobile: this.account_mobile,
994
994
  business_id: this.account_business_id,
995
995
  account_password: this.account_password,
996
996
  captcha_code: this.captcha_code,
997
997
  captcha_key: this.codeKey
998
- }, (a == "OrgAdminPwdLogin" || a == "OrgStaffPwdLogin") && (p.temp_token = this.chainTempToken)) : this.loginMode == "reg" && (p = {
998
+ }, (a == "OrgAdminPwdLogin" || a == "OrgStaffPwdLogin") && (_.temp_token = this.chainTempToken)) : this.loginMode == "reg" && (_ = {
999
999
  account_mobile: this.account_mobile,
1000
1000
  business_id: this.account_business_id,
1001
1001
  account_password: this.account_password,
@@ -1006,14 +1006,14 @@ const z = /* @__PURE__ */ le(ue), de = {
1006
1006
  timeout: 1e4
1007
1007
  }).flagPost("BASE_PASSPORT_PASSPORT", {
1008
1008
  handleType: a,
1009
- ...p
1009
+ ..._
1010
1010
  }).then((h) => {
1011
- m.close(), this.loadOngoing = !1, h.status == 200 ? this.adminLoginSucc(h) : h.status == 403 ? (this.$message.error("验证码有误!"), this.refreshCode(), this.codeNeed = !0) : (this.$message.error(h.msg), this.refreshCode());
1011
+ v.close(), this.loadOngoing = !1, h.status == 200 ? this.adminLoginSucc(h) : h.status == 403 ? (this.$message.error("验证码有误!"), this.refreshCode(), this.codeNeed = !0) : (this.$message.error(h.msg), this.refreshCode());
1012
1012
  }).catch((h) => {
1013
- this.loadOngoing = !1, this.chainShowFlag = !1, m.close(), this.refreshCode(), this.codeNeed = !0;
1013
+ this.loadOngoing = !1, this.chainShowFlag = !1, v.close(), this.refreshCode(), this.codeNeed = !0;
1014
1014
  });
1015
1015
  } catch {
1016
- this.$message.error("登录异常"), m.close(), this.loadOngoing = !1, this.refreshCode();
1016
+ this.$message.error("登录异常"), v.close(), this.loadOngoing = !1, this.refreshCode();
1017
1017
  }
1018
1018
  },
1019
1019
  async adminLoginSucc(n) {
@@ -1021,8 +1021,8 @@ const z = /* @__PURE__ */ le(ue), de = {
1021
1021
  if (a.result_type == "chain")
1022
1022
  this.chainAccountList = a.result_data || [], this.chainShowFlag = !0, this.chainTempToken = a.result_token || "";
1023
1023
  else {
1024
- const m = a.result_data || {};
1025
- await ne().SA_ACCOUNT_SIGNIN(m), this.codeNeed = !1, this.$message({
1024
+ const v = a.result_data || {};
1025
+ await ne().SA_ACCOUNT_SIGNIN(v), this.codeNeed = !1, this.$message({
1026
1026
  type: "success",
1027
1027
  message: "登录成功...",
1028
1028
  duration: 800,
@@ -1060,8 +1060,8 @@ const z = /* @__PURE__ */ le(ue), de = {
1060
1060
  }).then((n) => {
1061
1061
  var a;
1062
1062
  n.status == 200 ? (this.scanCreate((a = n == null ? void 0 : n.data) == null ? void 0 : a.checkLogin), this.qrcodeTimer = window.setInterval(() => {
1063
- var m;
1064
- this.scanCheckFunc((m = n == null ? void 0 : n.data) == null ? void 0 : m.scanCode);
1063
+ var v;
1064
+ this.scanCheckFunc((v = n == null ? void 0 : n.data) == null ? void 0 : v.scanCode);
1065
1065
  }, 3e3)) : result.status == 404;
1066
1066
  }).catch((n) => {
1067
1067
  }).finally((n) => {
@@ -1077,10 +1077,10 @@ const z = /* @__PURE__ */ le(ue), de = {
1077
1077
  fun: "scanCheck",
1078
1078
  scanCode: n || ""
1079
1079
  }).then((a) => {
1080
- var p, h;
1080
+ var _, h;
1081
1081
  if (a.status == 200) {
1082
- var m = a.msg && ((p = a == null ? void 0 : a.data) == null ? void 0 : p.scanCVal) || "";
1083
- m != "" && (clearInterval(this.qrcodeTimer), this.scanLoginFunc(n, (h = a == null ? void 0 : a.data) == null ? void 0 : h.scanCVal));
1082
+ var v = a.msg && ((_ = a == null ? void 0 : a.data) == null ? void 0 : _.scanCVal) || "";
1083
+ v != "" && (clearInterval(this.qrcodeTimer), this.scanLoginFunc(n, (h = a == null ? void 0 : a.data) == null ? void 0 : h.scanCVal));
1084
1084
  } else a.status == 405 && (clearInterval(this.qrcodeTimer), this.qrcodeExpiredShow = !0);
1085
1085
  }).catch(() => {
1086
1086
  });
@@ -1095,17 +1095,17 @@ const z = /* @__PURE__ */ le(ue), de = {
1095
1095
  fun: "scanLogin",
1096
1096
  scanCode: n,
1097
1097
  scanCVal: a
1098
- }).then((m) => {
1099
- if (m.status == 200) {
1100
- let p = this.$message({
1098
+ }).then((v) => {
1099
+ if (v.status == 200) {
1100
+ let _ = this.$message({
1101
1101
  iconClass: "ElIconLoading",
1102
1102
  message: "正在安全登录中,请稍后...",
1103
1103
  duration: 0
1104
1104
  });
1105
1105
  setTimeout(() => {
1106
- p.close(), this.$message({
1107
- message: m.msg,
1108
- type: m.status == 200 ? "success" : "error"
1106
+ _.close(), this.$message({
1107
+ message: v.msg,
1108
+ type: v.status == 200 ? "success" : "error"
1109
1109
  });
1110
1110
  }, 2e3);
1111
1111
  }
@@ -1116,7 +1116,7 @@ const z = /* @__PURE__ */ le(ue), de = {
1116
1116
  this.loginJump = !0;
1117
1117
  let n = cvUtils.urlQueryToObj(this.$route.query);
1118
1118
  const a = decodeURIComponent(n.from || "");
1119
- a ? gbIdbObj.idbSetItem("clearCache", "login").then((m) => {
1119
+ a ? gbIdbObj.idbSetItem("clearCache", "login").then((v) => {
1120
1120
  window.location.replace(a);
1121
1121
  }) : this.$router.push({ path: "/" });
1122
1122
  },
@@ -1129,21 +1129,21 @@ const z = /* @__PURE__ */ le(ue), de = {
1129
1129
  inputServerUrl() {
1130
1130
  },
1131
1131
  inputServerChack(n) {
1132
- return new Promise((a, m) => {
1133
- let p = n;
1134
- /\/api\/$/.test(p) || (p = p + (cvUtils.strRightExists(p, "/") ? "api/" : "/api/")), /^https*:\/\//i.test(p) || (p = `https://${p}`), ie.setOptions({
1132
+ return new Promise((a, v) => {
1133
+ let _ = n;
1134
+ /\/api\/$/.test(_) || (_ = _ + (cvUtils.strRightExists(_, "/") ? "api/" : "/api/")), /^https*:\/\//i.test(_) || (_ = `https://${_}`), ie.setOptions({
1135
1135
  checkNetwork: !1
1136
1136
  }).flagGet("SYS_SETT_ALL", {}).then(async ({ data: h }) => {
1137
- typeof h.server_version > "u" && typeof h.all_group_mute > "u" ? m(`服务器(${cvUtils.urlGetDomain(n)})版本过低`) : (p != this.cacheServerUrl && (await gbIdbObj.idbSetItem("cacheServerUrl", p), window.location.reload()), a());
1137
+ typeof h.server_version > "u" && typeof h.all_group_mute > "u" ? v(`服务器(${cvUtils.urlGetDomain(n)})版本过低`) : (_ != this.cacheServerUrl && (await gbIdbObj.idbSetItem("cacheServerUrl", _), window.location.reload()), a());
1138
1138
  }).catch(({ ret: h, msg: d }) => {
1139
1139
  if (h === -1001) {
1140
1140
  if (!/^https*:\/\//i.test(n)) {
1141
- this.inputServerChack(`http://${n}`).then(a).catch(m);
1141
+ this.inputServerChack(`http://${n}`).then(a).catch(v);
1142
1142
  return;
1143
1143
  }
1144
1144
  d = "服务器地址无效";
1145
1145
  }
1146
- m(d);
1146
+ v(d);
1147
1147
  });
1148
1148
  });
1149
1149
  }
@@ -1151,13 +1151,13 @@ const z = /* @__PURE__ */ le(ue), de = {
1151
1151
  }, ge = { class: "cloud-login-wrap" }, fe = {
1152
1152
  key: 0,
1153
1153
  class: "cloud-login-main"
1154
- }, _e = { class: "cloud-login-logo no-dark-content can-click" }, pe = ["src"], me = {
1154
+ }, pe = { class: "cloud-login-logo no-dark-content can-click" }, _e = ["src"], ve = {
1155
1155
  key: 0,
1156
1156
  class: "cloud-login-box"
1157
- }, ve = { class: "login-title" }, we = { class: "login-subtitle" }, Ce = { class: "cloud-login-mode-access" }, Le = { class: "login-switch" }, be = {
1157
+ }, me = { class: "login-title" }, we = { class: "login-subtitle" }, Ce = { class: "cloud-login-mode-access" }, Le = { class: "login-switch" }, be = {
1158
1158
  key: 1,
1159
1159
  class: "cloud-login-box"
1160
- }, ye = { class: "login-mode-switch" }, Te = { class: "login-mode-switch-box" }, Ee = { class: "login-title" }, Ae = { class: "login-subtitle" }, ke = { class: "cloud-login-mode-access" }, Se = {
1160
+ }, Te = { class: "login-mode-switch" }, ye = { class: "login-mode-switch-box" }, Ee = { class: "login-title" }, Ae = { class: "login-subtitle" }, ke = { class: "cloud-login-mode-access" }, Se = {
1161
1161
  key: 0,
1162
1162
  class: "code-load"
1163
1163
  }, De = {
@@ -1179,22 +1179,22 @@ const z = /* @__PURE__ */ le(ue), de = {
1179
1179
  key: 3,
1180
1180
  class: "cloud-login-box"
1181
1181
  }, qe = { class: "login-title" }, Ge = { class: "login-subtitle" }, $e = { class: "cloud-login-mode-access" }, Ke = { class: "page-login-oauth" };
1182
- function Je(n, a, m, p, h, d) {
1183
- const T = R("el-input"), P = R("el-button"), v = R("cv-icons"), C = R("el-tooltip"), L = R("ElIconLoading"), O = R("el-checkbox"), k = R("SwitchBusiness");
1182
+ function Je(n, a, v, _, h, d) {
1183
+ const y = R("el-input"), P = R("el-button"), m = R("cv-icons"), C = R("el-tooltip"), L = R("ElIconLoading"), O = R("el-checkbox"), k = R("SwitchBusiness");
1184
1184
  return E(), I("div", ge, [
1185
1185
  h.chainShowFlag ? B("", !0) : (E(), I("div", fe, [
1186
- f("div", _e, [
1186
+ f("div", pe, [
1187
1187
  f("img", {
1188
1188
  src: d.loginLastLogo,
1189
1189
  alt: ""
1190
- }, null, 8, pe)
1190
+ }, null, 8, _e)
1191
1191
  ]),
1192
- h.loginMode == "reg" ? (E(), I("div", me, [
1193
- f("div", ve, b(d.loginSystemTitle), 1),
1192
+ h.loginMode == "reg" ? (E(), I("div", ve, [
1193
+ f("div", me, b(d.loginLastTitle), 1),
1194
1194
  f("div", we, b(n.$t("输入您的信息以创建帐户。")), 1),
1195
1195
  f("div", Ce, [
1196
1196
  f("form", null, [
1197
- A(T, {
1197
+ A(y, {
1198
1198
  modelValue: h.account_password2,
1199
1199
  "onUpdate:modelValue": a[0] || (a[0] = (w) => h.account_password2 = w),
1200
1200
  ref: "account_password2",
@@ -1204,7 +1204,7 @@ function Je(n, a, m, p, h, d) {
1204
1204
  size: "large",
1205
1205
  clearable: ""
1206
1206
  }, null, 8, ["modelValue", "placeholder"]),
1207
- h.regInviteNeed ? (E(), G(T, {
1207
+ h.regInviteNeed ? (E(), G(y, {
1208
1208
  key: 0,
1209
1209
  modelValue: h.reg_invite,
1210
1210
  "onUpdate:modelValue": a[1] || (a[1] = (w) => h.reg_invite = w),
@@ -1237,8 +1237,8 @@ function Je(n, a, m, p, h, d) {
1237
1237
  ])
1238
1238
  ])) : B("", !0),
1239
1239
  h.loginMode == "access" ? (E(), I("div", be, [
1240
- f("div", ye, [
1241
- f("div", Te, [
1240
+ f("div", Te, [
1241
+ f("div", ye, [
1242
1242
  A(C, {
1243
1243
  content: "扫码登录",
1244
1244
  placement: "left"
@@ -1248,7 +1248,7 @@ function Je(n, a, m, p, h, d) {
1248
1248
  class: "login-mode-switch-icon",
1249
1249
  onClick: a[3] || (a[3] = (w) => d.switchLoginMode("qrcode"))
1250
1250
  }, [
1251
- A(v, {
1251
+ A(m, {
1252
1252
  type: "cvSvgBaseQrcode",
1253
1253
  size: "45"
1254
1254
  })
@@ -1258,11 +1258,11 @@ function Je(n, a, m, p, h, d) {
1258
1258
  })
1259
1259
  ])
1260
1260
  ]),
1261
- f("div", Ee, b(d.loginSystemTitle), 1),
1261
+ f("div", Ee, b(d.loginLastTitle), 1),
1262
1262
  f("div", Ae, b(n.$t("输入您的凭证以访问您的帐户。")), 1),
1263
1263
  f("div", ke, [
1264
1264
  f("form", null, [
1265
- A(T, {
1265
+ A(y, {
1266
1266
  modelValue: h.account_mobile,
1267
1267
  "onUpdate:modelValue": a[4] || (a[4] = (w) => h.account_mobile = w),
1268
1268
  ref: "account_mobile",
@@ -1274,7 +1274,7 @@ function Je(n, a, m, p, h, d) {
1274
1274
  onBlur: d.onBlur,
1275
1275
  clearable: ""
1276
1276
  }, null, 8, ["modelValue", "placeholder", "onBlur"]),
1277
- A(T, {
1277
+ A(y, {
1278
1278
  modelValue: h.account_password,
1279
1279
  "onUpdate:modelValue": a[5] || (a[5] = (w) => h.account_password = w),
1280
1280
  ref: "account_password",
@@ -1285,7 +1285,7 @@ function Je(n, a, m, p, h, d) {
1285
1285
  clearable: "",
1286
1286
  onKeydown: ae(d.accessLoginFunc, ["enter"])
1287
1287
  }, null, 8, ["modelValue", "placeholder", "onKeydown"]),
1288
- h.codeNeed ? (E(), G(T, {
1288
+ h.codeNeed ? (E(), G(y, {
1289
1289
  key: 0,
1290
1290
  modelValue: h.captcha_code,
1291
1291
  "onUpdate:modelValue": a[7] || (a[7] = (w) => h.captcha_code = w),
@@ -1297,7 +1297,7 @@ function Je(n, a, m, p, h, d) {
1297
1297
  clearable: ""
1298
1298
  }, {
1299
1299
  prefix: N(() => [
1300
- A(v, { type: "cvSvgCircleCheck" })
1300
+ A(m, { type: "cvSvgCircleCheck" })
1301
1301
  ]),
1302
1302
  append: N(() => [
1303
1303
  f("div", {
@@ -1338,7 +1338,7 @@ function Je(n, a, m, p, h, d) {
1338
1338
  default: N(() => [
1339
1339
  a[16] || (a[16] = U(" 同意 ")),
1340
1340
  f("a", {
1341
- href: d.openProductPrivacyUrl,
1341
+ href: d.openCasePrivacyUrl,
1342
1342
  target: "_blank"
1343
1343
  }, "《隐私条款》", 8, Me)
1344
1344
  ]),
@@ -1378,7 +1378,7 @@ function Je(n, a, m, p, h, d) {
1378
1378
  class: "login-mode-switch-icon",
1379
1379
  onClick: a[12] || (a[12] = (w) => d.switchLoginMode("access"))
1380
1380
  }, [
1381
- A(v, {
1381
+ A(m, {
1382
1382
  type: "cvSvgBasePc",
1383
1383
  size: "45"
1384
1384
  })
@@ -1390,12 +1390,12 @@ function Je(n, a, m, p, h, d) {
1390
1390
  ]),
1391
1391
  f("div", Ve, b(n.$t("扫码登录")), 1),
1392
1392
  f("div", He, [
1393
- A(v, {
1393
+ A(m, {
1394
1394
  type: "cvSvgActionScan",
1395
1395
  size: "20",
1396
1396
  style: { "margin-right": "10px" }
1397
1397
  }),
1398
- U(" " + b(n.$t(`请使用【${d.loginSystemTitle}】移动端扫描二维码`)), 1)
1398
+ U(" " + b(n.$t(`请使用【${d.loginLastTitle}】移动端扫描二维码`)), 1)
1399
1399
  ]),
1400
1400
  f("div", {
1401
1401
  class: "login-qrcode",
@@ -1405,7 +1405,7 @@ function Je(n, a, m, p, h, d) {
1405
1405
  ])
1406
1406
  ])) : B("", !0),
1407
1407
  h.loginMode == "oauth2" ? (E(), I("div", Qe, [
1408
- f("div", qe, b(d.loginSystemTitle), 1),
1408
+ f("div", qe, b(d.loginLastTitle), 1),
1409
1409
  f("div", Ge, b(n.$t("输入您的信息以创建帐户。")), 1),
1410
1410
  f("div", $e, [
1411
1411
  f("div", Ke, [