@10yun/open-sdk 0.3.102 → 0.3.104
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/{404-CFoEcHUj.cjs → 404-DkD2PYoN.cjs} +1 -1
- package/dist/{404-BQxGIlBK.js → 404-W2ex1LOt.js} +1 -1
- package/dist/{alone_run-B4bN0u0d.js → alone_run-BFVXgGM5.js} +1 -1
- package/dist/{alone_run-BafnY9Vd.cjs → alone_run-D78y7cu-.cjs} +1 -1
- package/dist/index-BTlaxxYf.cjs +25 -0
- package/dist/{index-2TtE1ani.js → index-s9I8lS_0.js} +7417 -7354
- package/dist/{login-CqOphaH-.js → login-Ck4AmN-v.js} +289 -300
- package/dist/login-DA6hnNpj.cjs +1 -0
- package/dist/{none-MWhFNsHM.cjs → none-BkMDXJgr.cjs} +1 -1
- package/dist/{none-BiPWdYyC.js → none-C0SUxMqb.js} +1 -1
- package/dist/open-sdk.cjs.js +1 -1
- package/dist/open-sdk.es.js +1 -1
- package/package.json +3 -3
- package/uncompiled/index.js +5 -1
- package/dist/index-Bd95Z9XS.cjs +0 -25
- package/dist/login-Dr4aVE1c.cjs +0 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { _ as
|
|
1
|
+
import { _ as te, S as ie, H as se, a as X, u as oe, b as ne, c as re, d as ae } from "./index-s9I8lS_0.js";
|
|
2
2
|
import "pinia";
|
|
3
|
-
import { resolveComponent as U, createElementBlock as
|
|
4
|
-
function
|
|
3
|
+
import { resolveComponent as U, createElementBlock as P, openBlock as b, createCommentVNode as B, createBlock as G, createElementVNode as f, toDisplayString as T, createVNode as E, withCtx as N, createTextVNode as R, withKeys as le } from "vue";
|
|
4
|
+
function he(n) {
|
|
5
5
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
6
6
|
}
|
|
7
|
-
var Q = { exports: {} },
|
|
8
|
-
function
|
|
9
|
-
return
|
|
10
|
-
var
|
|
11
|
-
(function(
|
|
12
|
-
n.exports =
|
|
13
|
-
})(
|
|
14
|
-
function
|
|
15
|
-
this.mode =
|
|
7
|
+
var Q = { exports: {} }, ce = Q.exports, z;
|
|
8
|
+
function ue() {
|
|
9
|
+
return z || (z = 1, function(n, a) {
|
|
10
|
+
var _;
|
|
11
|
+
(function(m, c) {
|
|
12
|
+
n.exports = c();
|
|
13
|
+
})(ce, function() {
|
|
14
|
+
function m(e) {
|
|
15
|
+
this.mode = g.MODE_8BIT_BYTE, this.data = e, this.parsedData = [];
|
|
16
16
|
for (var t = 0, i = this.data.length; t < i; t++) {
|
|
17
17
|
var s = [], o = this.data.charCodeAt(t);
|
|
18
18
|
o > 65536 ? (s[0] = 240 | (o & 1835008) >>> 18, s[1] = 128 | (o & 258048) >>> 12, s[2] = 128 | (o & 4032) >>> 6, s[3] = 128 | o & 63) : o > 2048 ? (s[0] = 224 | (o & 61440) >>> 12, s[1] = 128 | (o & 4032) >>> 6, s[2] = 128 | o & 63) : o > 128 ? (s[0] = 192 | (o & 1984) >>> 6, s[1] = 128 | o & 63) : s[0] = o, this.parsedData.push(s);
|
|
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
|
-
|
|
22
|
+
m.prototype = {
|
|
23
23
|
getLength: function(e) {
|
|
24
24
|
return this.parsedData.length;
|
|
25
25
|
},
|
|
@@ -28,12 +28,12 @@ function ce() {
|
|
|
28
28
|
e.put(this.parsedData[t], 8);
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
|
-
function
|
|
31
|
+
function c(e, t) {
|
|
32
32
|
this.typeNumber = e, this.errorCorrectLevel = t, this.modules = null, this.moduleCount = 0, this.dataCache = null, this.dataList = [];
|
|
33
33
|
}
|
|
34
|
-
|
|
34
|
+
c.prototype = {
|
|
35
35
|
addData: function(e) {
|
|
36
|
-
var t = new
|
|
36
|
+
var t = new m(e);
|
|
37
37
|
this.dataList.push(t), this.dataCache = null;
|
|
38
38
|
},
|
|
39
39
|
isDark: function(e, t) {
|
|
@@ -54,7 +54,7 @@ function ce() {
|
|
|
54
54
|
for (var s = 0; s < this.moduleCount; s++)
|
|
55
55
|
this.modules[i][s] = null;
|
|
56
56
|
}
|
|
57
|
-
this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(e, t), this.typeNumber >= 7 && this.setupTypeNumber(e), this.dataCache == null && (this.dataCache =
|
|
57
|
+
this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(e, t), this.typeNumber >= 7 && this.setupTypeNumber(e), this.dataCache == null && (this.dataCache = c.createData(this.typeNumber, this.errorCorrectLevel, this.dataList)), this.mapData(this.dataCache, t);
|
|
58
58
|
},
|
|
59
59
|
setupPositionProbePattern: function(e, t) {
|
|
60
60
|
for (var i = -1; i <= 7; i++)
|
|
@@ -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 s =
|
|
68
|
+
var s = w.getLostPoint(this);
|
|
69
69
|
(i == 0 || e > s) && (e = s, t = i);
|
|
70
70
|
}
|
|
71
71
|
return t;
|
|
@@ -74,9 +74,9 @@ function ce() {
|
|
|
74
74
|
var s = e.createEmptyMovieClip(t, i), o = 1;
|
|
75
75
|
this.make();
|
|
76
76
|
for (var l = 0; l < this.modules.length; l++)
|
|
77
|
-
for (var
|
|
77
|
+
for (var h = l * o, r = 0; r < this.modules[l].length; r++) {
|
|
78
78
|
var u = r * o, p = this.modules[l][r];
|
|
79
|
-
p && (s.beginFill(0, 100), s.moveTo(u,
|
|
79
|
+
p && (s.beginFill(0, 100), s.moveTo(u, h), s.lineTo(u + o, h), s.lineTo(u + o, h + o), s.lineTo(u, h + o), s.endFill());
|
|
80
80
|
}
|
|
81
81
|
return s;
|
|
82
82
|
},
|
|
@@ -87,17 +87,17 @@ 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 =
|
|
90
|
+
for (var e = w.getPatternPosition(this.typeNumber), t = 0; t < e.length; t++)
|
|
91
91
|
for (var i = 0; i < e.length; i++) {
|
|
92
92
|
var s = e[t], o = e[i];
|
|
93
93
|
if (this.modules[s][o] == null)
|
|
94
94
|
for (var l = -2; l <= 2; l++)
|
|
95
|
-
for (var
|
|
96
|
-
l == -2 || l == 2 ||
|
|
95
|
+
for (var h = -2; h <= 2; h++)
|
|
96
|
+
l == -2 || l == 2 || h == -2 || h == 2 || l == 0 && h == 0 ? this.modules[s + l][o + h] = !0 : this.modules[s + l][o + h] = !1;
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
setupTypeNumber: function(e) {
|
|
100
|
-
for (var t =
|
|
100
|
+
for (var t = w.getBCHTypeNumber(this.typeNumber), i = 0; i < 18; i++) {
|
|
101
101
|
var s = !e && (t >> i & 1) == 1;
|
|
102
102
|
this.modules[Math.floor(i / 3)][i % 3 + this.moduleCount - 8 - 3] = s;
|
|
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, s =
|
|
110
|
+
for (var i = this.errorCorrectLevel << 3 | t, s = w.getBCHTypeInfo(i), o = 0; o < 15; o++) {
|
|
111
111
|
var l = !e && (s >> o & 1) == 1;
|
|
112
112
|
o < 6 ? this.modules[o][8] = l : o < 8 ? this.modules[o + 1][8] = l : this.modules[this.moduleCount - 15 + o][8] = l;
|
|
113
113
|
}
|
|
@@ -118,14 +118,14 @@ function ce() {
|
|
|
118
118
|
this.modules[this.moduleCount - 8][8] = !e;
|
|
119
119
|
},
|
|
120
120
|
mapData: function(e, t) {
|
|
121
|
-
for (var i = -1, s = this.moduleCount - 1, o = 7, l = 0,
|
|
122
|
-
for (
|
|
121
|
+
for (var i = -1, s = this.moduleCount - 1, o = 7, l = 0, h = this.moduleCount - 1; h > 0; h -= 2)
|
|
122
|
+
for (h == 6 && h--; ; ) {
|
|
123
123
|
for (var r = 0; r < 2; r++)
|
|
124
|
-
if (this.modules[s][
|
|
124
|
+
if (this.modules[s][h - r] == null) {
|
|
125
125
|
var u = !1;
|
|
126
126
|
l < e.length && (u = (e[l] >>> o & 1) == 1);
|
|
127
|
-
var p =
|
|
128
|
-
p && (u = !u), this.modules[s][
|
|
127
|
+
var p = w.getMask(t, s, h - r);
|
|
128
|
+
p && (u = !u), this.modules[s][h - r] = u, o--, o == -1 && (l++, o = 7);
|
|
129
129
|
}
|
|
130
130
|
if (s += i, s < 0 || this.moduleCount <= s) {
|
|
131
131
|
s -= i, i = -i;
|
|
@@ -133,10 +133,10 @@ function ce() {
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
},
|
|
137
|
-
for (var s =
|
|
138
|
-
var
|
|
139
|
-
o.put(
|
|
136
|
+
}, c.PAD0 = 236, c.PAD1 = 17, c.createData = function(e, t, i) {
|
|
137
|
+
for (var s = y.getRSBlocks(e, t), o = new v(), l = 0; l < i.length; l++) {
|
|
138
|
+
var h = i[l];
|
|
139
|
+
o.put(h.mode, 4), o.put(h.getLength(), w.getLengthInBits(h.mode, e)), h.write(o);
|
|
140
140
|
}
|
|
141
141
|
for (var r = 0, l = 0; l < s.length; l++)
|
|
142
142
|
r += s[l].dataCount;
|
|
@@ -144,34 +144,34 @@ function ce() {
|
|
|
144
144
|
throw new Error("code length overflow. (" + o.getLengthInBits() + ">" + r * 8 + ")");
|
|
145
145
|
for (o.getLengthInBits() + 4 <= r * 8 && o.put(0, 4); o.getLengthInBits() % 8 != 0; )
|
|
146
146
|
o.putBit(!1);
|
|
147
|
-
for (; !(o.getLengthInBits() >= r * 8 || (o.put(
|
|
148
|
-
o.put(
|
|
149
|
-
return
|
|
150
|
-
},
|
|
151
|
-
for (var i = 0, s = 0, o = 0, l = new Array(t.length),
|
|
147
|
+
for (; !(o.getLengthInBits() >= r * 8 || (o.put(c.PAD0, 8), o.getLengthInBits() >= r * 8)); )
|
|
148
|
+
o.put(c.PAD1, 8);
|
|
149
|
+
return c.createBytes(o, s);
|
|
150
|
+
}, c.createBytes = function(e, t) {
|
|
151
|
+
for (var i = 0, s = 0, o = 0, l = new Array(t.length), h = new Array(t.length), r = 0; r < t.length; r++) {
|
|
152
152
|
var u = t[r].dataCount, p = t[r].totalCount - u;
|
|
153
153
|
s = Math.max(s, u), o = Math.max(o, p), l[r] = new Array(u);
|
|
154
|
-
for (var
|
|
155
|
-
l[r][
|
|
154
|
+
for (var d = 0; d < l[r].length; d++)
|
|
155
|
+
l[r][d] = 255 & e.buffer[d + i];
|
|
156
156
|
i += u;
|
|
157
|
-
var
|
|
158
|
-
|
|
159
|
-
for (var
|
|
160
|
-
var D =
|
|
161
|
-
|
|
157
|
+
var S = w.getErrorCorrectPolynomial(p), k = new O(l[r], S.getLength() - 1), M = k.mod(S);
|
|
158
|
+
h[r] = new Array(S.getLength() - 1);
|
|
159
|
+
for (var d = 0; d < h[r].length; d++) {
|
|
160
|
+
var D = d + M.getLength() - h[r].length;
|
|
161
|
+
h[r][d] = D >= 0 ? M.get(D) : 0;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
for (var x = 0,
|
|
165
|
-
x += t[
|
|
166
|
-
for (var H = new Array(x), F = 0,
|
|
164
|
+
for (var x = 0, d = 0; d < t.length; d++)
|
|
165
|
+
x += t[d].totalCount;
|
|
166
|
+
for (var H = new Array(x), F = 0, d = 0; d < s; d++)
|
|
167
167
|
for (var r = 0; r < t.length; r++)
|
|
168
|
-
|
|
169
|
-
for (var
|
|
168
|
+
d < l[r].length && (H[F++] = l[r][d]);
|
|
169
|
+
for (var d = 0; d < o; d++)
|
|
170
170
|
for (var r = 0; r < t.length; r++)
|
|
171
|
-
|
|
171
|
+
d < h[r].length && (H[F++] = h[r][d]);
|
|
172
172
|
return H;
|
|
173
173
|
};
|
|
174
|
-
for (var
|
|
174
|
+
for (var g = { MODE_NUMBER: 1, MODE_ALPHA_NUM: 2, MODE_8BIT_BYTE: 4, MODE_KANJI: 8 }, A = { L: 1, M: 0, Q: 3, H: 2 }, I = {
|
|
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
|
-
},
|
|
183
|
+
}, w = {
|
|
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;
|
|
231
|
-
t ^=
|
|
232
|
-
return (e << 10 | t) ^
|
|
230
|
+
for (var t = e << 10; w.getBCHDigit(t) - w.getBCHDigit(w.G15) >= 0; )
|
|
231
|
+
t ^= w.G15 << w.getBCHDigit(t) - w.getBCHDigit(w.G15);
|
|
232
|
+
return (e << 10 | t) ^ w.G15_MASK;
|
|
233
233
|
},
|
|
234
234
|
getBCHTypeNumber: function(e) {
|
|
235
|
-
for (var t = e << 12;
|
|
236
|
-
t ^=
|
|
235
|
+
for (var t = e << 12; w.getBCHDigit(t) - w.getBCHDigit(w.G18) >= 0; )
|
|
236
|
+
t ^= w.G18 << w.getBCHDigit(t) - w.getBCHDigit(w.G18);
|
|
237
237
|
return e << 12 | t;
|
|
238
238
|
},
|
|
239
239
|
getBCHDigit: function(e) {
|
|
@@ -242,25 +242,25 @@ function ce() {
|
|
|
242
242
|
return t;
|
|
243
243
|
},
|
|
244
244
|
getPatternPosition: function(e) {
|
|
245
|
-
return
|
|
245
|
+
return w.PATTERN_POSITION_TABLE[e - 1];
|
|
246
246
|
},
|
|
247
247
|
getMask: function(e, t, i) {
|
|
248
248
|
switch (e) {
|
|
249
|
-
case
|
|
249
|
+
case I.PATTERN000:
|
|
250
250
|
return (t + i) % 2 == 0;
|
|
251
|
-
case
|
|
251
|
+
case I.PATTERN001:
|
|
252
252
|
return t % 2 == 0;
|
|
253
|
-
case
|
|
253
|
+
case I.PATTERN010:
|
|
254
254
|
return i % 3 == 0;
|
|
255
|
-
case
|
|
255
|
+
case I.PATTERN011:
|
|
256
256
|
return (t + i) % 3 == 0;
|
|
257
|
-
case
|
|
257
|
+
case I.PATTERN100:
|
|
258
258
|
return (Math.floor(t / 2) + Math.floor(i / 3)) % 2 == 0;
|
|
259
|
-
case
|
|
259
|
+
case I.PATTERN101:
|
|
260
260
|
return t * i % 2 + t * i % 3 == 0;
|
|
261
|
-
case
|
|
261
|
+
case I.PATTERN110:
|
|
262
262
|
return (t * i % 2 + t * i % 3) % 2 == 0;
|
|
263
|
-
case
|
|
263
|
+
case I.PATTERN111:
|
|
264
264
|
return (t * i % 3 + (t + i) % 2) % 2 == 0;
|
|
265
265
|
default:
|
|
266
266
|
throw new Error("bad maskPattern:" + e);
|
|
@@ -274,39 +274,39 @@ function ce() {
|
|
|
274
274
|
getLengthInBits: function(e, t) {
|
|
275
275
|
if (1 <= t && t < 10)
|
|
276
276
|
switch (e) {
|
|
277
|
-
case
|
|
277
|
+
case g.MODE_NUMBER:
|
|
278
278
|
return 10;
|
|
279
|
-
case
|
|
279
|
+
case g.MODE_ALPHA_NUM:
|
|
280
280
|
return 9;
|
|
281
|
-
case
|
|
281
|
+
case g.MODE_8BIT_BYTE:
|
|
282
282
|
return 8;
|
|
283
|
-
case
|
|
283
|
+
case g.MODE_KANJI:
|
|
284
284
|
return 8;
|
|
285
285
|
default:
|
|
286
286
|
throw new Error("mode:" + e);
|
|
287
287
|
}
|
|
288
288
|
else if (t < 27)
|
|
289
289
|
switch (e) {
|
|
290
|
-
case
|
|
290
|
+
case g.MODE_NUMBER:
|
|
291
291
|
return 12;
|
|
292
|
-
case
|
|
292
|
+
case g.MODE_ALPHA_NUM:
|
|
293
293
|
return 11;
|
|
294
|
-
case
|
|
294
|
+
case g.MODE_8BIT_BYTE:
|
|
295
295
|
return 16;
|
|
296
|
-
case
|
|
296
|
+
case g.MODE_KANJI:
|
|
297
297
|
return 10;
|
|
298
298
|
default:
|
|
299
299
|
throw new Error("mode:" + e);
|
|
300
300
|
}
|
|
301
301
|
else if (t < 41)
|
|
302
302
|
switch (e) {
|
|
303
|
-
case
|
|
303
|
+
case g.MODE_NUMBER:
|
|
304
304
|
return 14;
|
|
305
|
-
case
|
|
305
|
+
case g.MODE_ALPHA_NUM:
|
|
306
306
|
return 13;
|
|
307
|
-
case
|
|
307
|
+
case g.MODE_8BIT_BYTE:
|
|
308
308
|
return 16;
|
|
309
|
-
case
|
|
309
|
+
case g.MODE_KANJI:
|
|
310
310
|
return 12;
|
|
311
311
|
default:
|
|
312
312
|
throw new Error("mode:" + e);
|
|
@@ -317,10 +317,10 @@ function ce() {
|
|
|
317
317
|
getLostPoint: function(e) {
|
|
318
318
|
for (var t = e.getModuleCount(), i = 0, s = 0; s < t; s++)
|
|
319
319
|
for (var o = 0; o < t; o++) {
|
|
320
|
-
for (var l = 0,
|
|
320
|
+
for (var l = 0, h = e.isDark(s, o), r = -1; r <= 1; r++)
|
|
321
321
|
if (!(s + r < 0 || t <= s + r))
|
|
322
322
|
for (var u = -1; u <= 1; u++)
|
|
323
|
-
o + u < 0 || t <= o + u || r == 0 && u == 0 ||
|
|
323
|
+
o + u < 0 || t <= o + u || r == 0 && u == 0 || h == e.isDark(s + r, o + u) && l++;
|
|
324
324
|
l > 5 && (i += 3 + l - 5);
|
|
325
325
|
}
|
|
326
326
|
for (var s = 0; s < t - 1; s++)
|
|
@@ -334,11 +334,11 @@ function ce() {
|
|
|
334
334
|
for (var o = 0; o < t; o++)
|
|
335
335
|
for (var s = 0; s < t - 6; s++)
|
|
336
336
|
e.isDark(s, o) && !e.isDark(s + 1, o) && e.isDark(s + 2, o) && e.isDark(s + 3, o) && e.isDark(s + 4, o) && !e.isDark(s + 5, o) && e.isDark(s + 6, o) && (i += 40);
|
|
337
|
-
for (var
|
|
337
|
+
for (var d = 0, o = 0; o < t; o++)
|
|
338
338
|
for (var s = 0; s < t; s++)
|
|
339
|
-
e.isDark(s, o) &&
|
|
340
|
-
var
|
|
341
|
-
return i +=
|
|
339
|
+
e.isDark(s, o) && d++;
|
|
340
|
+
var S = Math.abs(100 * d / t / t - 50) / 5;
|
|
341
|
+
return i += S * 10, i;
|
|
342
342
|
}
|
|
343
343
|
}, C = {
|
|
344
344
|
glog: function(e) {
|
|
@@ -393,10 +393,10 @@ function ce() {
|
|
|
393
393
|
return new O(i, 0).mod(e);
|
|
394
394
|
}
|
|
395
395
|
};
|
|
396
|
-
function
|
|
396
|
+
function y(e, t) {
|
|
397
397
|
this.totalCount = e, this.dataCount = t;
|
|
398
398
|
}
|
|
399
|
-
|
|
399
|
+
y.RS_BLOCK_TABLE = [
|
|
400
400
|
[1, 26, 19],
|
|
401
401
|
[1, 26, 16],
|
|
402
402
|
[1, 26, 13],
|
|
@@ -557,32 +557,32 @@ function ce() {
|
|
|
557
557
|
[18, 75, 47, 31, 76, 48],
|
|
558
558
|
[34, 54, 24, 34, 55, 25],
|
|
559
559
|
[20, 45, 15, 61, 46, 16]
|
|
560
|
-
],
|
|
561
|
-
var i =
|
|
560
|
+
], y.getRSBlocks = function(e, t) {
|
|
561
|
+
var i = y.getRsBlockTable(e, t);
|
|
562
562
|
if (i == null)
|
|
563
563
|
throw new Error("bad rs block @ typeNumber:" + e + "/errorCorrectLevel:" + t);
|
|
564
564
|
for (var s = i.length / 3, o = [], l = 0; l < s; l++)
|
|
565
|
-
for (var
|
|
566
|
-
o.push(new
|
|
565
|
+
for (var h = i[l * 3 + 0], r = i[l * 3 + 1], u = i[l * 3 + 2], p = 0; p < h; p++)
|
|
566
|
+
o.push(new y(r, u));
|
|
567
567
|
return o;
|
|
568
|
-
},
|
|
568
|
+
}, y.getRsBlockTable = function(e, t) {
|
|
569
569
|
switch (t) {
|
|
570
|
-
case
|
|
571
|
-
return
|
|
572
|
-
case
|
|
573
|
-
return
|
|
574
|
-
case
|
|
575
|
-
return
|
|
576
|
-
case
|
|
577
|
-
return
|
|
570
|
+
case A.L:
|
|
571
|
+
return y.RS_BLOCK_TABLE[(e - 1) * 4 + 0];
|
|
572
|
+
case A.M:
|
|
573
|
+
return y.RS_BLOCK_TABLE[(e - 1) * 4 + 1];
|
|
574
|
+
case A.Q:
|
|
575
|
+
return y.RS_BLOCK_TABLE[(e - 1) * 4 + 2];
|
|
576
|
+
case A.H:
|
|
577
|
+
return y.RS_BLOCK_TABLE[(e - 1) * 4 + 3];
|
|
578
578
|
default:
|
|
579
579
|
return;
|
|
580
580
|
}
|
|
581
581
|
};
|
|
582
|
-
function
|
|
582
|
+
function v() {
|
|
583
583
|
this.buffer = [], this.length = 0;
|
|
584
584
|
}
|
|
585
|
-
|
|
585
|
+
v.prototype = {
|
|
586
586
|
get: function(e) {
|
|
587
587
|
var t = Math.floor(e / 8);
|
|
588
588
|
return (this.buffer[t] >>> 7 - e % 8 & 1) == 1;
|
|
@@ -641,10 +641,10 @@ function ce() {
|
|
|
641
641
|
[2809, 2213, 1579, 1219],
|
|
642
642
|
[2953, 2331, 1663, 1273]
|
|
643
643
|
];
|
|
644
|
-
function
|
|
644
|
+
function W() {
|
|
645
645
|
return typeof CanvasRenderingContext2D < "u";
|
|
646
646
|
}
|
|
647
|
-
function
|
|
647
|
+
function q() {
|
|
648
648
|
var e = !1, t = navigator.userAgent;
|
|
649
649
|
if (/android/i.test(t)) {
|
|
650
650
|
e = !0;
|
|
@@ -660,34 +660,34 @@ function ce() {
|
|
|
660
660
|
return e.prototype.draw = function(t) {
|
|
661
661
|
var i = this._htOption, s = this._el, o = t.getModuleCount();
|
|
662
662
|
Math.floor(i.width / o), Math.floor(i.height / o), this.clear();
|
|
663
|
-
function l(
|
|
664
|
-
var k = document.createElementNS("http://www.w3.org/2000/svg",
|
|
665
|
-
for (var M in
|
|
663
|
+
function l(d, S) {
|
|
664
|
+
var k = document.createElementNS("http://www.w3.org/2000/svg", d);
|
|
665
|
+
for (var M in S) S.hasOwnProperty(M) && k.setAttribute(M, S[M]);
|
|
666
666
|
return k;
|
|
667
667
|
}
|
|
668
|
-
var
|
|
668
|
+
var h = l("svg", {
|
|
669
669
|
viewBox: "0 0 " + String(o) + " " + String(o),
|
|
670
670
|
width: "100%",
|
|
671
671
|
height: "100%",
|
|
672
672
|
fill: i.colorLight
|
|
673
673
|
});
|
|
674
|
-
|
|
674
|
+
h.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:xlink", "http://www.w3.org/1999/xlink"), s.appendChild(h), h.appendChild(l("rect", { fill: i.colorLight, width: "100%", height: "100%" })), h.appendChild(l("rect", { fill: i.colorDark, width: "1", height: "1", id: "template" }));
|
|
675
675
|
for (var r = 0; r < o; r++)
|
|
676
676
|
for (var u = 0; u < o; u++)
|
|
677
677
|
if (t.isDark(r, u)) {
|
|
678
678
|
var p = l("use", { x: String(u), y: String(r) });
|
|
679
|
-
p.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#template"),
|
|
679
|
+
p.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#template"), h.appendChild(p);
|
|
680
680
|
}
|
|
681
681
|
}, e.prototype.clear = function() {
|
|
682
682
|
for (; this._el.hasChildNodes(); ) this._el.removeChild(this._el.lastChild);
|
|
683
683
|
}, e;
|
|
684
|
-
}(),
|
|
684
|
+
}(), j = document.documentElement.tagName.toLowerCase() === "svg", J = j ? K : W() ? function() {
|
|
685
685
|
function e() {
|
|
686
686
|
this._elImage.src = this._elCanvas.toDataURL("image/png"), this._elImage.style.display = "block", this._elCanvas.style.display = "none";
|
|
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,
|
|
690
|
+
CanvasRenderingContext2D.prototype.drawImage = function(l, h, r, u, p, d, S, k, 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;
|
|
@@ -695,28 +695,28 @@ function ce() {
|
|
|
695
695
|
i.apply(this, arguments);
|
|
696
696
|
};
|
|
697
697
|
}
|
|
698
|
-
function s(l,
|
|
698
|
+
function s(l, h) {
|
|
699
699
|
var r = this;
|
|
700
|
-
if (r._fFail =
|
|
700
|
+
if (r._fFail = h, r._fSuccess = l, r._bSupportDataURI === null) {
|
|
701
701
|
var u = document.createElement("img"), p = function() {
|
|
702
702
|
r._bSupportDataURI = !1, r._fFail && r._fFail.call(r);
|
|
703
|
-
},
|
|
703
|
+
}, d = function() {
|
|
704
704
|
r._bSupportDataURI = !0, r._fSuccess && r._fSuccess.call(r);
|
|
705
705
|
};
|
|
706
|
-
u.onabort = p, u.onerror = p, u.onload =
|
|
706
|
+
u.onabort = p, u.onerror = p, u.onload = d, 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
|
}
|
|
710
|
-
var o = function(l,
|
|
711
|
-
this._bIsPainted = !1, this._android =
|
|
710
|
+
var o = function(l, h) {
|
|
711
|
+
this._bIsPainted = !1, this._android = q(), this._htOption = h, this._elCanvas = document.createElement("canvas"), this._elCanvas.width = h.width, this._elCanvas.height = h.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 o.prototype.draw = function(l) {
|
|
714
|
-
var
|
|
715
|
-
|
|
714
|
+
var h = this._elImage, r = this._oContext, u = this._htOption, p = l.getModuleCount(), d = u.width / p, S = u.height / p, k = Math.round(d), M = Math.round(S);
|
|
715
|
+
h.style.display = "none", this.clear();
|
|
716
716
|
for (var D = 0; D < p; D++)
|
|
717
717
|
for (var x = 0; x < p; x++) {
|
|
718
|
-
var H = l.isDark(D, x), F = x *
|
|
719
|
-
r.strokeStyle = H ? u.colorDark : u.colorLight, r.lineWidth = 1, r.fillStyle = H ? u.colorDark : u.colorLight, r.fillRect(F,
|
|
718
|
+
var H = l.isDark(D, x), F = x * d, $ = D * S;
|
|
719
|
+
r.strokeStyle = H ? u.colorDark : u.colorLight, r.lineWidth = 1, r.fillStyle = H ? u.colorDark : u.colorLight, r.fillRect(F, $, d, S), r.strokeRect(Math.floor(F) + 0.5, Math.floor($) + 0.5, k, M), r.strokeRect(Math.ceil(F) - 0.5, Math.ceil($) - 0.5, k, M);
|
|
720
720
|
}
|
|
721
721
|
this._bIsPainted = !0;
|
|
722
722
|
}, o.prototype.makeImage = function() {
|
|
@@ -733,39 +733,39 @@ function ce() {
|
|
|
733
733
|
this._el = t, this._htOption = i;
|
|
734
734
|
};
|
|
735
735
|
return e.prototype.draw = function(t) {
|
|
736
|
-
for (var i = this._htOption, s = this._el, o = t.getModuleCount(), l = Math.floor(i.width / o),
|
|
736
|
+
for (var i = this._htOption, s = this._el, o = t.getModuleCount(), l = Math.floor(i.width / o), h = Math.floor(i.height / o), r = ['<table style="border:0;border-collapse:collapse;">'], u = 0; u < o; u++) {
|
|
737
737
|
r.push("<tr>");
|
|
738
738
|
for (var p = 0; p < o; p++)
|
|
739
739
|
r.push(
|
|
740
|
-
'<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:' + l + "px;height:" +
|
|
740
|
+
'<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:' + l + "px;height:" + h + "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>"), s.innerHTML = r.join("");
|
|
745
|
-
var
|
|
746
|
-
|
|
745
|
+
var d = s.childNodes[0], S = (i.width - d.offsetWidth) / 2, k = (i.height - d.offsetHeight) / 2;
|
|
746
|
+
S > 0 && k > 0 && (d.style.margin = k + "px " + S + "px");
|
|
747
747
|
}, e.prototype.clear = function() {
|
|
748
748
|
this._el.innerHTML = "";
|
|
749
749
|
}, e;
|
|
750
750
|
}();
|
|
751
|
-
function
|
|
752
|
-
for (var i = 1, s =
|
|
753
|
-
var
|
|
751
|
+
function Z(e, t) {
|
|
752
|
+
for (var i = 1, s = ee(e), o = 0, l = V.length; o <= l; o++) {
|
|
753
|
+
var h = 0;
|
|
754
754
|
switch (t) {
|
|
755
|
-
case
|
|
756
|
-
|
|
755
|
+
case A.L:
|
|
756
|
+
h = V[o][0];
|
|
757
757
|
break;
|
|
758
|
-
case
|
|
759
|
-
|
|
758
|
+
case A.M:
|
|
759
|
+
h = V[o][1];
|
|
760
760
|
break;
|
|
761
|
-
case
|
|
762
|
-
|
|
761
|
+
case A.Q:
|
|
762
|
+
h = V[o][2];
|
|
763
763
|
break;
|
|
764
|
-
case
|
|
765
|
-
|
|
764
|
+
case A.H:
|
|
765
|
+
h = V[o][3];
|
|
766
766
|
break;
|
|
767
767
|
}
|
|
768
|
-
if (s <=
|
|
768
|
+
if (s <= h)
|
|
769
769
|
break;
|
|
770
770
|
i++;
|
|
771
771
|
}
|
|
@@ -773,37 +773,37 @@ function ce() {
|
|
|
773
773
|
throw new Error("Too long data");
|
|
774
774
|
return i;
|
|
775
775
|
}
|
|
776
|
-
function
|
|
776
|
+
function ee(e) {
|
|
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
|
|
780
|
+
return _ = 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:
|
|
787
|
+
correctLevel: A.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
|
-
typeof e == "string" && (e = document.getElementById(e)), this._htOption.useSVG && (J = K), this._android =
|
|
794
|
-
},
|
|
795
|
-
this._oQRCode = new
|
|
796
|
-
},
|
|
793
|
+
typeof e == "string" && (e = document.getElementById(e)), this._htOption.useSVG && (J = K), this._android = q(), this._el = e, this._oQRCode = null, this._oDrawing = new J(this._el, this._htOption), this._htOption.text && this.makeCode(this._htOption.text);
|
|
794
|
+
}, _.prototype.makeCode = function(e) {
|
|
795
|
+
this._oQRCode = new c(Z(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
|
+
}, _.prototype.makeImage = function() {
|
|
797
797
|
typeof this._oDrawing.makeImage == "function" && (!this._android || this._android >= 3) && this._oDrawing.makeImage();
|
|
798
|
-
},
|
|
798
|
+
}, _.prototype.clear = function() {
|
|
799
799
|
this._oDrawing.clear();
|
|
800
|
-
},
|
|
800
|
+
}, _.CorrectLevel = A, _;
|
|
801
801
|
});
|
|
802
802
|
}(Q)), Q.exports;
|
|
803
803
|
}
|
|
804
|
-
var
|
|
805
|
-
const
|
|
806
|
-
components: { SwitchBusiness:
|
|
804
|
+
var de = ue();
|
|
805
|
+
const Y = /* @__PURE__ */ he(de), ge = {
|
|
806
|
+
components: { SwitchBusiness: ie },
|
|
807
807
|
data() {
|
|
808
808
|
return {
|
|
809
809
|
loadOngoing: !1,
|
|
@@ -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
|
|
863
|
-
|
|
862
|
+
const m = getComputedStyle(a).background.match(/rgb\((\d+,\s*\d+,\s*\d+)\)/);
|
|
863
|
+
m && m[0] === "rgb(232, 240, 254)" && this.onBlur();
|
|
864
864
|
});
|
|
865
865
|
},
|
|
866
866
|
loginMode(n) {
|
|
@@ -868,18 +868,6 @@ const z = /* @__PURE__ */ le(ue), de = {
|
|
|
868
868
|
}
|
|
869
869
|
},
|
|
870
870
|
computed: {
|
|
871
|
-
openCasePrivacyUrl() {
|
|
872
|
-
var n;
|
|
873
|
-
return ((n = this.openCaseInfo) == null ? void 0 : n.privacy_url) || "";
|
|
874
|
-
},
|
|
875
|
-
loginLastLogo() {
|
|
876
|
-
return this.openCaseInfo.platinfo_log || "/logo-nobg.png";
|
|
877
|
-
},
|
|
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
|
-
},
|
|
883
871
|
currentLanguage() {
|
|
884
872
|
return this.languageList[this.languageName] || "Language";
|
|
885
873
|
}
|
|
@@ -888,7 +876,7 @@ const z = /* @__PURE__ */ le(ue), de = {
|
|
|
888
876
|
this.cache_remember = localStorage.getItem("cacheLoginRemember") || "off", this.cache_privacy = localStorage.getItem("cacheLoginPrivacy") || "off", this.account_mobile = localStorage.getItem("cacheLoginMobile") || "";
|
|
889
877
|
},
|
|
890
878
|
async mounted() {
|
|
891
|
-
this.loginMode = this.$route.query.type === "reg" ? "reg" : "access", this.$Electron && (this.$Electron.sendMessage("webTabDestroyAll"), this.$Electron.sendMessage("childWindowDestroyAll")),
|
|
879
|
+
this.loginMode = this.$route.query.type === "reg" ? "reg" : "access", this.$Electron && (this.$Electron.sendMessage("webTabDestroyAll"), this.$Electron.sendMessage("childWindowDestroyAll")), ae().$subscribe((n, a) => {
|
|
892
880
|
n.events.key == "useSSOLogin" && a.useSSOLogin == !0 && this.inputServerUrl();
|
|
893
881
|
});
|
|
894
882
|
},
|
|
@@ -907,7 +895,7 @@ const z = /* @__PURE__ */ le(ue), de = {
|
|
|
907
895
|
this.$message.warning("请联系管理员!");
|
|
908
896
|
},
|
|
909
897
|
chackServerUrl(n) {
|
|
910
|
-
return new Promise((a,
|
|
898
|
+
return new Promise((a, _) => {
|
|
911
899
|
a();
|
|
912
900
|
});
|
|
913
901
|
},
|
|
@@ -981,21 +969,21 @@ const z = /* @__PURE__ */ le(ue), de = {
|
|
|
981
969
|
this.account_mobile = n.account_mobile_show, this.account_business_id = n.business_id, n.acc_rules_type == "sy-org-admin" ? this.passportHandle2(null, "OrgAdminPwdLogin") : n.acc_rules_type == "sy-org-staff" && this.passportHandle2(null, "OrgStaffPwdLogin");
|
|
982
970
|
},
|
|
983
971
|
passportHandle2(n, a) {
|
|
984
|
-
let
|
|
972
|
+
let _ = this.$message({
|
|
985
973
|
iconClass: "ElIconLoading",
|
|
986
974
|
message: "正在登录...",
|
|
987
975
|
duration: 0
|
|
988
976
|
});
|
|
989
977
|
this.loadOngoing = !0, localStorage.setItem("cacheLoginMobile", this.account_mobile);
|
|
990
978
|
try {
|
|
991
|
-
let
|
|
992
|
-
this.loginMode == "access" ? (
|
|
979
|
+
let m = {};
|
|
980
|
+
this.loginMode == "access" ? (m = {
|
|
993
981
|
account_mobile: this.account_mobile,
|
|
994
982
|
business_id: this.account_business_id,
|
|
995
983
|
account_password: this.account_password,
|
|
996
984
|
captcha_code: this.captcha_code,
|
|
997
985
|
captcha_key: this.codeKey
|
|
998
|
-
}, (a == "OrgAdminPwdLogin" || a == "OrgStaffPwdLogin") && (
|
|
986
|
+
}, (a == "OrgAdminPwdLogin" || a == "OrgStaffPwdLogin") && (m.temp_token = this.chainTempToken)) : this.loginMode == "reg" && (m = {
|
|
999
987
|
account_mobile: this.account_mobile,
|
|
1000
988
|
business_id: this.account_business_id,
|
|
1001
989
|
account_password: this.account_password,
|
|
@@ -1006,14 +994,14 @@ const z = /* @__PURE__ */ le(ue), de = {
|
|
|
1006
994
|
timeout: 1e4
|
|
1007
995
|
}).flagPost("BASE_PASSPORT_PASSPORT", {
|
|
1008
996
|
handleType: a,
|
|
1009
|
-
...
|
|
1010
|
-
}).then((
|
|
1011
|
-
|
|
1012
|
-
}).catch((
|
|
1013
|
-
this.loadOngoing = !1, this.chainShowFlag = !1,
|
|
997
|
+
...m
|
|
998
|
+
}).then((c) => {
|
|
999
|
+
_.close(), this.loadOngoing = !1, c.status == 200 ? this.adminLoginSucc(c) : c.status == 403 ? (this.$message.error("验证码有误!"), this.refreshCode(), this.codeNeed = !0) : (this.$message.error(c.msg), this.refreshCode());
|
|
1000
|
+
}).catch((c) => {
|
|
1001
|
+
this.loadOngoing = !1, this.chainShowFlag = !1, _.close(), this.refreshCode(), this.codeNeed = !0;
|
|
1014
1002
|
});
|
|
1015
1003
|
} catch {
|
|
1016
|
-
this.$message.error("登录异常"),
|
|
1004
|
+
this.$message.error("登录异常"), _.close(), this.loadOngoing = !1, this.refreshCode();
|
|
1017
1005
|
}
|
|
1018
1006
|
},
|
|
1019
1007
|
async adminLoginSucc(n) {
|
|
@@ -1021,8 +1009,8 @@ const z = /* @__PURE__ */ le(ue), de = {
|
|
|
1021
1009
|
if (a.result_type == "chain")
|
|
1022
1010
|
this.chainAccountList = a.result_data || [], this.chainShowFlag = !0, this.chainTempToken = a.result_token || "";
|
|
1023
1011
|
else {
|
|
1024
|
-
const
|
|
1025
|
-
await
|
|
1012
|
+
const _ = a.result_data || {};
|
|
1013
|
+
await re().SA_ACCOUNT_SIGNIN(_), this.codeNeed = !1, this.$message({
|
|
1026
1014
|
type: "success",
|
|
1027
1015
|
message: "登录成功...",
|
|
1028
1016
|
duration: 800,
|
|
@@ -1036,7 +1024,7 @@ const z = /* @__PURE__ */ le(ue), de = {
|
|
|
1036
1024
|
this.refreshCode(), this.chainShowFlag = !1;
|
|
1037
1025
|
},
|
|
1038
1026
|
scanCreate(n) {
|
|
1039
|
-
new
|
|
1027
|
+
new Y(this.$refs.qrCodeUrl, {
|
|
1040
1028
|
text: n,
|
|
1041
1029
|
width: 180,
|
|
1042
1030
|
height: 180,
|
|
@@ -1045,7 +1033,7 @@ const z = /* @__PURE__ */ le(ue), de = {
|
|
|
1045
1033
|
//前景色
|
|
1046
1034
|
colorLight: "#ffffff",
|
|
1047
1035
|
//背景色
|
|
1048
|
-
correctLevel:
|
|
1036
|
+
correctLevel: Y.CorrectLevel.L
|
|
1049
1037
|
//容错等级
|
|
1050
1038
|
// correctLevel: QRCode.CorrectLevel.H //容错等级
|
|
1051
1039
|
});
|
|
@@ -1060,8 +1048,8 @@ const z = /* @__PURE__ */ le(ue), de = {
|
|
|
1060
1048
|
}).then((n) => {
|
|
1061
1049
|
var a;
|
|
1062
1050
|
n.status == 200 ? (this.scanCreate((a = n == null ? void 0 : n.data) == null ? void 0 : a.checkLogin), this.qrcodeTimer = window.setInterval(() => {
|
|
1063
|
-
var
|
|
1064
|
-
this.scanCheckFunc((
|
|
1051
|
+
var _;
|
|
1052
|
+
this.scanCheckFunc((_ = n == null ? void 0 : n.data) == null ? void 0 : _.scanCode);
|
|
1065
1053
|
}, 3e3)) : result.status == 404;
|
|
1066
1054
|
}).catch((n) => {
|
|
1067
1055
|
}).finally((n) => {
|
|
@@ -1077,10 +1065,10 @@ const z = /* @__PURE__ */ le(ue), de = {
|
|
|
1077
1065
|
fun: "scanCheck",
|
|
1078
1066
|
scanCode: n || ""
|
|
1079
1067
|
}).then((a) => {
|
|
1080
|
-
var
|
|
1068
|
+
var m, c;
|
|
1081
1069
|
if (a.status == 200) {
|
|
1082
|
-
var
|
|
1083
|
-
|
|
1070
|
+
var _ = a.msg && ((m = a == null ? void 0 : a.data) == null ? void 0 : m.scanCVal) || "";
|
|
1071
|
+
_ != "" && (clearInterval(this.qrcodeTimer), this.scanLoginFunc(n, (c = a == null ? void 0 : a.data) == null ? void 0 : c.scanCVal));
|
|
1084
1072
|
} else a.status == 405 && (clearInterval(this.qrcodeTimer), this.qrcodeExpiredShow = !0);
|
|
1085
1073
|
}).catch(() => {
|
|
1086
1074
|
});
|
|
@@ -1095,17 +1083,17 @@ const z = /* @__PURE__ */ le(ue), de = {
|
|
|
1095
1083
|
fun: "scanLogin",
|
|
1096
1084
|
scanCode: n,
|
|
1097
1085
|
scanCVal: a
|
|
1098
|
-
}).then((
|
|
1099
|
-
if (
|
|
1100
|
-
let
|
|
1086
|
+
}).then((_) => {
|
|
1087
|
+
if (_.status == 200) {
|
|
1088
|
+
let m = this.$message({
|
|
1101
1089
|
iconClass: "ElIconLoading",
|
|
1102
1090
|
message: "正在安全登录中,请稍后...",
|
|
1103
1091
|
duration: 0
|
|
1104
1092
|
});
|
|
1105
1093
|
setTimeout(() => {
|
|
1106
|
-
|
|
1107
|
-
message:
|
|
1108
|
-
type:
|
|
1094
|
+
m.close(), this.$message({
|
|
1095
|
+
message: _.msg,
|
|
1096
|
+
type: _.status == 200 ? "success" : "error"
|
|
1109
1097
|
});
|
|
1110
1098
|
}, 2e3);
|
|
1111
1099
|
}
|
|
@@ -1116,54 +1104,54 @@ const z = /* @__PURE__ */ le(ue), de = {
|
|
|
1116
1104
|
this.loginJump = !0;
|
|
1117
1105
|
let n = cvUtils.urlQueryToObj(this.$route.query);
|
|
1118
1106
|
const a = decodeURIComponent(n.from || "");
|
|
1119
|
-
a ?
|
|
1107
|
+
a ? X.idbSetItem("clearCache", "login").then((_) => {
|
|
1120
1108
|
window.location.replace(a);
|
|
1121
1109
|
}) : this.$router.push({ path: "/" });
|
|
1122
1110
|
},
|
|
1123
1111
|
setTheme(n) {
|
|
1124
|
-
|
|
1112
|
+
ne().SA_THEMES_SET(n);
|
|
1125
1113
|
},
|
|
1126
1114
|
setLanguage(n) {
|
|
1127
|
-
|
|
1115
|
+
oe().SA_LANGUAGE_SET(n);
|
|
1128
1116
|
},
|
|
1129
1117
|
inputServerUrl() {
|
|
1130
1118
|
},
|
|
1131
1119
|
inputServerChack(n) {
|
|
1132
|
-
return new Promise((a,
|
|
1133
|
-
let
|
|
1134
|
-
/\/api\/$/.test(
|
|
1120
|
+
return new Promise((a, _) => {
|
|
1121
|
+
let m = n;
|
|
1122
|
+
/\/api\/$/.test(m) || (m = m + (cvUtils.strRightExists(m, "/") ? "api/" : "/api/")), /^https*:\/\//i.test(m) || (m = `https://${m}`), se.setOptions({
|
|
1135
1123
|
checkNetwork: !1
|
|
1136
|
-
}).flagGet("SYS_SETT_ALL", {}).then(async ({ data:
|
|
1137
|
-
typeof
|
|
1138
|
-
}).catch(({ ret:
|
|
1139
|
-
if (
|
|
1124
|
+
}).flagGet("SYS_SETT_ALL", {}).then(async ({ data: c }) => {
|
|
1125
|
+
typeof c.server_version > "u" && typeof c.all_group_mute > "u" ? _(`服务器(${cvUtils.urlGetDomain(n)})版本过低`) : (m != this.cacheServerUrl && (await X.idbSetItem("cacheServerUrl", m), window.location.reload()), a());
|
|
1126
|
+
}).catch(({ ret: c, msg: g }) => {
|
|
1127
|
+
if (c === -1001) {
|
|
1140
1128
|
if (!/^https*:\/\//i.test(n)) {
|
|
1141
|
-
this.inputServerChack(`http://${n}`).then(a).catch(
|
|
1129
|
+
this.inputServerChack(`http://${n}`).then(a).catch(_);
|
|
1142
1130
|
return;
|
|
1143
1131
|
}
|
|
1144
|
-
|
|
1132
|
+
g = "服务器地址无效";
|
|
1145
1133
|
}
|
|
1146
|
-
|
|
1134
|
+
_(g);
|
|
1147
1135
|
});
|
|
1148
1136
|
});
|
|
1149
1137
|
}
|
|
1150
1138
|
}
|
|
1151
|
-
},
|
|
1139
|
+
}, fe = { class: "cloud-login-wrap" }, pe = {
|
|
1152
1140
|
key: 0,
|
|
1153
1141
|
class: "cloud-login-main"
|
|
1154
|
-
},
|
|
1142
|
+
}, _e = { class: "cloud-login-logo no-dark-content can-click" }, ve = ["src"], me = {
|
|
1155
1143
|
key: 0,
|
|
1156
1144
|
class: "cloud-login-box"
|
|
1157
|
-
},
|
|
1145
|
+
}, we = { class: "login-title" }, Ce = { class: "login-subtitle" }, Le = { class: "cloud-login-mode-access" }, Te = { class: "login-switch" }, Se = {
|
|
1158
1146
|
key: 1,
|
|
1159
1147
|
class: "cloud-login-box"
|
|
1160
|
-
},
|
|
1148
|
+
}, Ae = { class: "login-mode-switch" }, be = { class: "login-mode-switch-box" }, Ee = { class: "login-title" }, ye = { class: "login-subtitle" }, ke = { class: "cloud-login-mode-access" }, De = {
|
|
1161
1149
|
key: 0,
|
|
1162
1150
|
class: "code-load"
|
|
1163
|
-
},
|
|
1151
|
+
}, Ie = {
|
|
1164
1152
|
key: 1,
|
|
1165
1153
|
class: "code-error"
|
|
1166
|
-
}, Pe = ["src"],
|
|
1154
|
+
}, Pe = ["src"], Me = { class: "cloud-login-other" }, Be = { class: "cloud-login-other" }, Oe = {
|
|
1167
1155
|
key: 0,
|
|
1168
1156
|
class: "login-switch"
|
|
1169
1157
|
}, Ne = {
|
|
@@ -1178,25 +1166,25 @@ const z = /* @__PURE__ */ le(ue), de = {
|
|
|
1178
1166
|
}, Qe = {
|
|
1179
1167
|
key: 3,
|
|
1180
1168
|
class: "cloud-login-box"
|
|
1181
|
-
},
|
|
1182
|
-
function Je(n, a,
|
|
1183
|
-
const
|
|
1184
|
-
return
|
|
1185
|
-
|
|
1186
|
-
f("div",
|
|
1169
|
+
}, $e = { class: "login-title" }, Ge = { class: "login-subtitle" }, qe = { class: "cloud-login-mode-access" }, Ke = { class: "page-login-oauth" };
|
|
1170
|
+
function Je(n, a, _, m, c, g) {
|
|
1171
|
+
const A = U("el-input"), I = U("el-button"), w = U("cv-icons"), C = U("el-tooltip"), L = U("ElIconLoading"), O = U("el-checkbox"), y = U("SwitchBusiness");
|
|
1172
|
+
return b(), P("div", fe, [
|
|
1173
|
+
c.chainShowFlag ? B("", !0) : (b(), P("div", pe, [
|
|
1174
|
+
f("div", _e, [
|
|
1187
1175
|
f("img", {
|
|
1188
|
-
src:
|
|
1176
|
+
src: n.openCaseInfo.LAST_IP_LOGO,
|
|
1189
1177
|
alt: ""
|
|
1190
|
-
}, null, 8,
|
|
1178
|
+
}, null, 8, ve)
|
|
1191
1179
|
]),
|
|
1192
|
-
|
|
1193
|
-
f("div",
|
|
1194
|
-
f("div",
|
|
1195
|
-
f("div",
|
|
1180
|
+
c.loginMode == "reg" ? (b(), P("div", me, [
|
|
1181
|
+
f("div", we, T(n.openCaseInfo.LAST_IP_TITLE), 1),
|
|
1182
|
+
f("div", Ce, T(n.$t("输入您的信息以创建帐户。")), 1),
|
|
1183
|
+
f("div", Le, [
|
|
1196
1184
|
f("form", null, [
|
|
1197
|
-
E(
|
|
1198
|
-
modelValue:
|
|
1199
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
1185
|
+
E(A, {
|
|
1186
|
+
modelValue: c.account_password2,
|
|
1187
|
+
"onUpdate:modelValue": a[0] || (a[0] = (v) => c.account_password2 = v),
|
|
1200
1188
|
ref: "account_password2",
|
|
1201
1189
|
"prefix-icon": "ElIconLock",
|
|
1202
1190
|
placeholder: n.$t("输入确认密码"),
|
|
@@ -1204,10 +1192,10 @@ function Je(n, a, v, _, h, d) {
|
|
|
1204
1192
|
size: "large",
|
|
1205
1193
|
clearable: ""
|
|
1206
1194
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
1207
|
-
|
|
1195
|
+
c.regInviteNeed ? (b(), G(A, {
|
|
1208
1196
|
key: 0,
|
|
1209
|
-
modelValue:
|
|
1210
|
-
"onUpdate:modelValue": a[1] || (a[1] = (
|
|
1197
|
+
modelValue: c.reg_invite,
|
|
1198
|
+
"onUpdate:modelValue": a[1] || (a[1] = (v) => c.reg_invite = v),
|
|
1211
1199
|
ref: "reg_invite",
|
|
1212
1200
|
class: "login-code",
|
|
1213
1201
|
placeholder: n.$t("请输入注册邀请码"),
|
|
@@ -1216,29 +1204,29 @@ function Je(n, a, v, _, h, d) {
|
|
|
1216
1204
|
clearable: ""
|
|
1217
1205
|
}, {
|
|
1218
1206
|
prepend: N(() => [
|
|
1219
|
-
R(" " +
|
|
1207
|
+
R(" " + T(n.$t("邀请码")) + " ", 1)
|
|
1220
1208
|
]),
|
|
1221
1209
|
_: 1
|
|
1222
1210
|
}, 8, ["modelValue", "placeholder"])) : B("", !0)
|
|
1223
1211
|
]),
|
|
1224
|
-
E(
|
|
1212
|
+
E(I, null, {
|
|
1225
1213
|
default: N(() => [
|
|
1226
|
-
R(
|
|
1214
|
+
R(T(c.loginJump ? "注册成功" : "注册"), 1)
|
|
1227
1215
|
]),
|
|
1228
1216
|
_: 1
|
|
1229
1217
|
}),
|
|
1230
|
-
f("div",
|
|
1231
|
-
R(
|
|
1218
|
+
f("div", Te, [
|
|
1219
|
+
R(T(n.$t("已经有帐号?")) + " ", 1),
|
|
1232
1220
|
f("a", {
|
|
1233
1221
|
href: "javascript:void(0)",
|
|
1234
|
-
onClick: a[2] || (a[2] = (
|
|
1235
|
-
},
|
|
1222
|
+
onClick: a[2] || (a[2] = (v) => g.switchLoginMode("access"))
|
|
1223
|
+
}, T(n.$t("登录帐号")), 1)
|
|
1236
1224
|
])
|
|
1237
1225
|
])
|
|
1238
1226
|
])) : B("", !0),
|
|
1239
|
-
|
|
1240
|
-
f("div",
|
|
1241
|
-
f("div",
|
|
1227
|
+
c.loginMode == "access" ? (b(), P("div", Se, [
|
|
1228
|
+
f("div", Ae, [
|
|
1229
|
+
f("div", be, [
|
|
1242
1230
|
E(C, {
|
|
1243
1231
|
content: "扫码登录",
|
|
1244
1232
|
placement: "left"
|
|
@@ -1246,9 +1234,9 @@ function Je(n, a, v, _, h, d) {
|
|
|
1246
1234
|
default: N(() => [
|
|
1247
1235
|
f("span", {
|
|
1248
1236
|
class: "login-mode-switch-icon",
|
|
1249
|
-
onClick: a[3] || (a[3] = (
|
|
1237
|
+
onClick: a[3] || (a[3] = (v) => g.switchLoginMode("qrcode"))
|
|
1250
1238
|
}, [
|
|
1251
|
-
E(
|
|
1239
|
+
E(w, {
|
|
1252
1240
|
type: "cvSvgBaseQrcode",
|
|
1253
1241
|
size: "45"
|
|
1254
1242
|
})
|
|
@@ -1258,37 +1246,37 @@ function Je(n, a, v, _, h, d) {
|
|
|
1258
1246
|
})
|
|
1259
1247
|
])
|
|
1260
1248
|
]),
|
|
1261
|
-
f("div",
|
|
1262
|
-
f("div",
|
|
1263
|
-
f("div",
|
|
1249
|
+
f("div", Ee, T(n.openCaseInfo.LAST_IP_TITLE), 1),
|
|
1250
|
+
f("div", ye, T(n.$t("输入您的凭证以访问您的帐户。")), 1),
|
|
1251
|
+
f("div", ke, [
|
|
1264
1252
|
f("form", null, [
|
|
1265
|
-
E(
|
|
1266
|
-
modelValue:
|
|
1267
|
-
"onUpdate:modelValue": a[4] || (a[4] = (
|
|
1253
|
+
E(A, {
|
|
1254
|
+
modelValue: c.account_mobile,
|
|
1255
|
+
"onUpdate:modelValue": a[4] || (a[4] = (v) => c.account_mobile = v),
|
|
1268
1256
|
ref: "account_mobile",
|
|
1269
1257
|
"prefix-icon": "ElIconUser",
|
|
1270
1258
|
placeholder: n.$t("输入您的手机账号"),
|
|
1271
1259
|
type: "text",
|
|
1272
1260
|
size: "large",
|
|
1273
1261
|
maxlength: "11",
|
|
1274
|
-
onBlur:
|
|
1262
|
+
onBlur: g.onBlur,
|
|
1275
1263
|
clearable: ""
|
|
1276
1264
|
}, null, 8, ["modelValue", "placeholder", "onBlur"]),
|
|
1277
|
-
E(
|
|
1278
|
-
modelValue:
|
|
1279
|
-
"onUpdate:modelValue": a[5] || (a[5] = (
|
|
1265
|
+
E(A, {
|
|
1266
|
+
modelValue: c.account_password,
|
|
1267
|
+
"onUpdate:modelValue": a[5] || (a[5] = (v) => c.account_password = v),
|
|
1280
1268
|
ref: "account_password",
|
|
1281
1269
|
"prefix-icon": "ElIconLock",
|
|
1282
1270
|
placeholder: n.$t("输入您的密码"),
|
|
1283
1271
|
type: "password",
|
|
1284
1272
|
size: "large",
|
|
1285
1273
|
clearable: "",
|
|
1286
|
-
onKeydown:
|
|
1274
|
+
onKeydown: le(g.accessLoginFunc, ["enter"])
|
|
1287
1275
|
}, null, 8, ["modelValue", "placeholder", "onKeydown"]),
|
|
1288
|
-
|
|
1276
|
+
c.codeNeed ? (b(), G(A, {
|
|
1289
1277
|
key: 0,
|
|
1290
|
-
modelValue:
|
|
1291
|
-
"onUpdate:modelValue": a[7] || (a[7] = (
|
|
1278
|
+
modelValue: c.captcha_code,
|
|
1279
|
+
"onUpdate:modelValue": a[7] || (a[7] = (v) => c.captcha_code = v),
|
|
1292
1280
|
ref: "captcha_code",
|
|
1293
1281
|
class: "login-code",
|
|
1294
1282
|
placeholder: n.$t("输入图形验证码"),
|
|
@@ -1297,76 +1285,77 @@ function Je(n, a, v, _, h, d) {
|
|
|
1297
1285
|
clearable: ""
|
|
1298
1286
|
}, {
|
|
1299
1287
|
prefix: N(() => [
|
|
1300
|
-
E(
|
|
1288
|
+
E(w, { type: "cvSvgCircleCheck" })
|
|
1301
1289
|
]),
|
|
1302
1290
|
append: N(() => [
|
|
1303
1291
|
f("div", {
|
|
1304
1292
|
class: "login-code-end",
|
|
1305
|
-
onClick: a[6] || (a[6] = (...
|
|
1293
|
+
onClick: a[6] || (a[6] = (...v) => g.refreshCode && g.refreshCode(...v))
|
|
1306
1294
|
}, [
|
|
1307
|
-
|
|
1295
|
+
c.codeLoad > 0 ? (b(), P("div", De, [
|
|
1308
1296
|
E(L)
|
|
1309
|
-
])) :
|
|
1297
|
+
])) : c.codeUrl === "error" ? (b(), P("span", Ie, T(n.$t("加载失败")), 1)) : (b(), P("img", {
|
|
1310
1298
|
key: 2,
|
|
1311
|
-
src:
|
|
1299
|
+
src: c.codeUrl
|
|
1312
1300
|
}, null, 8, Pe))
|
|
1313
1301
|
])
|
|
1314
1302
|
]),
|
|
1315
1303
|
_: 1
|
|
1316
1304
|
}, 8, ["modelValue", "placeholder"])) : B("", !0)
|
|
1317
1305
|
]),
|
|
1318
|
-
E(
|
|
1306
|
+
E(I, {
|
|
1319
1307
|
type: "primary",
|
|
1320
|
-
loading:
|
|
1308
|
+
loading: c.loadOngoing || c.loginJump,
|
|
1321
1309
|
size: "large",
|
|
1322
1310
|
style: { width: "100%", "margin-bottom": "15px" },
|
|
1323
|
-
onClick:
|
|
1311
|
+
onClick: g.accessLoginFunc
|
|
1324
1312
|
}, {
|
|
1325
1313
|
default: N(() => [
|
|
1326
|
-
R(
|
|
1314
|
+
R(T(c.loginJump ? "登录成功" : "登录"), 1)
|
|
1327
1315
|
]),
|
|
1328
1316
|
_: 1
|
|
1329
1317
|
}, 8, ["loading", "onClick"]),
|
|
1330
|
-
f("div",
|
|
1318
|
+
f("div", Me, [
|
|
1331
1319
|
E(O, {
|
|
1332
|
-
modelValue:
|
|
1333
|
-
"onUpdate:modelValue": a[
|
|
1320
|
+
modelValue: c.cache_privacy,
|
|
1321
|
+
"onUpdate:modelValue": a[9] || (a[9] = (v) => c.cache_privacy = v),
|
|
1334
1322
|
"true-value": "on",
|
|
1335
1323
|
"false-value": "off",
|
|
1336
|
-
onChange:
|
|
1324
|
+
onChange: g.handleRrivacy
|
|
1337
1325
|
}, {
|
|
1338
1326
|
default: N(() => [
|
|
1339
|
-
a[
|
|
1327
|
+
a[17] || (a[17] = R(" 同意 ")),
|
|
1340
1328
|
f("a", {
|
|
1341
|
-
|
|
1329
|
+
onClick: a[8] || (a[8] = (v) => n.jumpsXieyi("privacy")),
|
|
1342
1330
|
target: "_blank"
|
|
1343
|
-
}, "《隐私条款》"
|
|
1331
|
+
}, "《隐私条款》")
|
|
1344
1332
|
]),
|
|
1345
|
-
_: 1
|
|
1333
|
+
_: 1,
|
|
1334
|
+
__: [17]
|
|
1346
1335
|
}, 8, ["modelValue", "onChange"]),
|
|
1347
1336
|
f("a", {
|
|
1348
1337
|
href: "javascript:void(0)",
|
|
1349
|
-
onClick: a[
|
|
1350
|
-
},
|
|
1338
|
+
onClick: a[10] || (a[10] = (...v) => g.handleForgot && g.handleForgot(...v))
|
|
1339
|
+
}, T(n.$t("忘记密码了?")), 1)
|
|
1351
1340
|
]),
|
|
1352
1341
|
f("div", Be, [
|
|
1353
|
-
n.systemConfig.open_business_reg == "on" ? (
|
|
1354
|
-
R(
|
|
1342
|
+
n.systemConfig.open_business_reg == "on" ? (b(), P("div", Oe, [
|
|
1343
|
+
R(T(n.$t("还没有帐号?")) + " ", 1),
|
|
1355
1344
|
f("a", {
|
|
1356
1345
|
href: "javascript:void(0)",
|
|
1357
|
-
onClick: a[
|
|
1358
|
-
},
|
|
1346
|
+
onClick: a[11] || (a[11] = (v) => g.switchLoginMode("reg"))
|
|
1347
|
+
}, T(n.$t("注册帐号")), 1)
|
|
1359
1348
|
])) : B("", !0),
|
|
1360
|
-
n.systemConfig.open_business_oauth2 == "on" ? (
|
|
1349
|
+
n.systemConfig.open_business_oauth2 == "on" ? (b(), P("div", Ne, [
|
|
1361
1350
|
f("a", {
|
|
1362
1351
|
href: "javascript:void(0)",
|
|
1363
|
-
onClick: a[
|
|
1364
|
-
},
|
|
1352
|
+
onClick: a[12] || (a[12] = (v) => g.switchLoginMode("oauth2"))
|
|
1353
|
+
}, T(n.$t("OAuth2授权登陆")), 1)
|
|
1365
1354
|
])) : B("", !0)
|
|
1366
1355
|
])
|
|
1367
1356
|
])
|
|
1368
1357
|
])) : B("", !0),
|
|
1369
|
-
|
|
1358
|
+
c.loginMode == "qrcode" ? (b(), P("div", xe, [
|
|
1370
1359
|
f("div", Ue, [
|
|
1371
1360
|
f("div", Re, [
|
|
1372
1361
|
E(C, {
|
|
@@ -1376,9 +1365,9 @@ function Je(n, a, v, _, h, d) {
|
|
|
1376
1365
|
default: N(() => [
|
|
1377
1366
|
f("span", {
|
|
1378
1367
|
class: "login-mode-switch-icon",
|
|
1379
|
-
onClick: a[
|
|
1368
|
+
onClick: a[13] || (a[13] = (v) => g.switchLoginMode("access"))
|
|
1380
1369
|
}, [
|
|
1381
|
-
E(
|
|
1370
|
+
E(w, {
|
|
1382
1371
|
type: "cvSvgBasePc",
|
|
1383
1372
|
size: "45"
|
|
1384
1373
|
})
|
|
@@ -1388,46 +1377,46 @@ function Je(n, a, v, _, h, d) {
|
|
|
1388
1377
|
})
|
|
1389
1378
|
])
|
|
1390
1379
|
]),
|
|
1391
|
-
f("div", Ve,
|
|
1380
|
+
f("div", Ve, T(n.$t("扫码登录")), 1),
|
|
1392
1381
|
f("div", He, [
|
|
1393
|
-
E(
|
|
1382
|
+
E(w, {
|
|
1394
1383
|
type: "cvSvgActionScan",
|
|
1395
1384
|
size: "20",
|
|
1396
1385
|
style: { "margin-right": "10px" }
|
|
1397
1386
|
}),
|
|
1398
|
-
R(" " +
|
|
1387
|
+
R(" " + T(n.$t(`请使用【${n.openCaseInfo.LAST_IP_BRAND}】移动端扫描二维码`)), 1)
|
|
1399
1388
|
]),
|
|
1400
1389
|
f("div", {
|
|
1401
1390
|
class: "login-qrcode",
|
|
1402
|
-
onClick: a[
|
|
1391
|
+
onClick: a[14] || (a[14] = (...v) => g.scanQrcodeRefresh && g.scanQrcodeRefresh(...v))
|
|
1403
1392
|
}, [
|
|
1404
1393
|
f("div", Fe, null, 512)
|
|
1405
1394
|
])
|
|
1406
1395
|
])) : B("", !0),
|
|
1407
|
-
|
|
1408
|
-
f("div",
|
|
1409
|
-
f("div", Ge,
|
|
1410
|
-
f("div",
|
|
1396
|
+
c.loginMode == "oauth2" ? (b(), P("div", Qe, [
|
|
1397
|
+
f("div", $e, T(n.openCaseInfo.LAST_IP_TITLE), 1),
|
|
1398
|
+
f("div", Ge, T(n.$t("输入您的信息以创建帐户。")), 1),
|
|
1399
|
+
f("div", qe, [
|
|
1411
1400
|
f("div", Ke, [
|
|
1412
1401
|
f("a", {
|
|
1413
1402
|
href: "javascript:void(0)",
|
|
1414
|
-
onClick: a[
|
|
1415
|
-
},
|
|
1403
|
+
onClick: a[15] || (a[15] = (v) => g.switchLoginMode("access"))
|
|
1404
|
+
}, T(n.$t("帐号登录")), 1)
|
|
1416
1405
|
])
|
|
1417
1406
|
])
|
|
1418
1407
|
])) : B("", !0)
|
|
1419
1408
|
])),
|
|
1420
|
-
|
|
1409
|
+
c.chainShowFlag ? (b(), G(y, {
|
|
1421
1410
|
key: 1,
|
|
1422
|
-
modelValue:
|
|
1423
|
-
"onUpdate:modelValue": a[
|
|
1411
|
+
modelValue: c.chainAccountList,
|
|
1412
|
+
"onUpdate:modelValue": a[16] || (a[16] = (v) => c.chainAccountList = v),
|
|
1424
1413
|
reselectTitle: "重新登录",
|
|
1425
|
-
onReselectFunc:
|
|
1426
|
-
onSelectFunc:
|
|
1414
|
+
onReselectFunc: g.chainReselection,
|
|
1415
|
+
onSelectFunc: g.loginBusinessCheck
|
|
1427
1416
|
}, null, 8, ["modelValue", "onReselectFunc", "onSelectFunc"])) : B("", !0)
|
|
1428
1417
|
]);
|
|
1429
1418
|
}
|
|
1430
|
-
const We = /* @__PURE__ */
|
|
1419
|
+
const We = /* @__PURE__ */ te(ge, [["render", Je]]);
|
|
1431
1420
|
export {
|
|
1432
1421
|
We as default
|
|
1433
1422
|
};
|