@skyservice-developers/vue-dev-kit 1.5.9 → 1.5.10
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/README.md +202 -217
- package/dist/vue2/style.css +1 -1
- package/dist/vue2/vue-dev-kit.cjs +1 -1
- package/dist/vue2/vue-dev-kit.js +256 -197
- package/dist/vue3/style.css +1 -1
- package/dist/vue3/vue-dev-kit.cjs +1 -1
- package/dist/vue3/vue-dev-kit.js +570 -509
- package/package.json +1 -1
- package/src/vue2/components/SkySelect.vue +81 -17
- package/src/vue3/components/SkySelect.vue +146 -38
package/dist/vue3/vue-dev-kit.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { ref as P, onUnmounted as
|
|
1
|
+
import { ref as P, onUnmounted as ne, computed as I, onMounted as ae, openBlock as y, createElementBlock as k, createElementVNode as c, createCommentVNode as M, normalizeClass as q, renderSlot as z, toDisplayString as $, Fragment as be, renderList as Te, useSlots as He, watch as Ce, nextTick as Ge, createBlock as Y, Teleport as ve, normalizeStyle as me, createTextVNode as We, resolveDynamicComponent as nt, createSlots as at, withCtx as Oe, withModifiers as st, mergeProps as lt, onBeforeUnmount as rt } from "vue";
|
|
2
2
|
var dt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
3
3
|
function ut(a) {
|
|
4
4
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
5
5
|
}
|
|
6
|
-
var
|
|
7
|
-
(function(a,
|
|
8
|
-
(function(
|
|
9
|
-
var S = "1.0.41",
|
|
10
|
-
var
|
|
11
|
-
for (var
|
|
12
|
-
|
|
13
|
-
return
|
|
14
|
-
}, ce = function(
|
|
15
|
-
for (var
|
|
16
|
-
|
|
17
|
-
return
|
|
18
|
-
},
|
|
19
|
-
return typeof
|
|
20
|
-
},
|
|
21
|
-
return
|
|
22
|
-
}, ot = function(
|
|
23
|
-
return typeof
|
|
24
|
-
},
|
|
25
|
-
if (typeof
|
|
26
|
-
return
|
|
27
|
-
},
|
|
28
|
-
for (var
|
|
29
|
-
var
|
|
30
|
-
for (
|
|
31
|
-
if (
|
|
32
|
-
for (D = 0; D <
|
|
33
|
-
U =
|
|
34
|
-
|
|
6
|
+
var Be = { exports: {} };
|
|
7
|
+
(function(a, C) {
|
|
8
|
+
(function(d, u) {
|
|
9
|
+
var S = "1.0.41", m = "", T = "?", b = "function", g = "undefined", O = "object", A = "string", N = "major", t = "model", n = "name", e = "type", o = "vendor", i = "version", E = "architecture", p = "console", r = "mobile", l = "tablet", s = "smarttv", f = "wearable", V = "embedded", H = 500, j = "Amazon", R = "Apple", Z = "ASUS", Me = "BlackBerry", se = "Browser", le = "Chrome", Qe = "Edge", re = "Firefox", de = "Google", Pe = "Honor", $e = "Huawei", et = "Lenovo", ue = "LG", pe = "Microsoft", ye = "Motorola", ge = "Nvidia", Ne = "OnePlus", J = "Opera", he = "OPPO", Q = "Samsung", Ve = "Sharp", ee = "Sony", ke = "Xiaomi", xe = "Zebra", Ie = "Facebook", ze = "Chromium OS", Le = "Mac OS", Re = " Browser", tt = function(h, x) {
|
|
10
|
+
var v = {};
|
|
11
|
+
for (var B in h)
|
|
12
|
+
x[B] && x[B].length % 2 === 0 ? v[B] = x[B].concat(h[B]) : v[B] = h[B];
|
|
13
|
+
return v;
|
|
14
|
+
}, ce = function(h) {
|
|
15
|
+
for (var x = {}, v = 0; v < h.length; v++)
|
|
16
|
+
x[h[v].toUpperCase()] = h[v];
|
|
17
|
+
return x;
|
|
18
|
+
}, De = function(h, x) {
|
|
19
|
+
return typeof h === A ? te(x).indexOf(te(h)) !== -1 : !1;
|
|
20
|
+
}, te = function(h) {
|
|
21
|
+
return h.toLowerCase();
|
|
22
|
+
}, ot = function(h) {
|
|
23
|
+
return typeof h === A ? h.replace(/[^\d\.]/g, m).split(".")[0] : u;
|
|
24
|
+
}, _e = function(h, x) {
|
|
25
|
+
if (typeof h === A)
|
|
26
|
+
return h = h.replace(/^\s\s*/, m), typeof x === g ? h : h.substring(0, H);
|
|
27
|
+
}, oe = function(h, x) {
|
|
28
|
+
for (var v = 0, B, F, D, _, w, U; v < x.length && !w; ) {
|
|
29
|
+
var Se = x[v], je = x[v + 1];
|
|
30
|
+
for (B = F = 0; B < Se.length && !w && Se[B]; )
|
|
31
|
+
if (w = Se[B++].exec(h), w)
|
|
32
|
+
for (D = 0; D < je.length; D++)
|
|
33
|
+
U = w[++F], _ = je[D], typeof _ === O && _.length > 0 ? _.length === 2 ? typeof _[1] == b ? this[_[0]] = _[1].call(this, U) : this[_[0]] = _[1] : _.length === 3 ? typeof _[1] === b && !(_[1].exec && _[1].test) ? this[_[0]] = U ? _[1].call(this, U, _[2]) : u : this[_[0]] = U ? U.replace(_[1], _[2]) : u : _.length === 4 && (this[_[0]] = U ? _[3].call(this, U.replace(_[1], _[2])) : u) : this[_] = U || u;
|
|
34
|
+
v += 2;
|
|
35
35
|
}
|
|
36
|
-
},
|
|
37
|
-
for (var
|
|
38
|
-
if (typeof
|
|
39
|
-
for (var
|
|
40
|
-
if (
|
|
41
|
-
return
|
|
42
|
-
} else if (
|
|
43
|
-
return
|
|
44
|
-
return
|
|
36
|
+
}, ie = function(h, x) {
|
|
37
|
+
for (var v in x)
|
|
38
|
+
if (typeof x[v] === O && x[v].length > 0) {
|
|
39
|
+
for (var B = 0; B < x[v].length; B++)
|
|
40
|
+
if (De(x[v][B], h))
|
|
41
|
+
return v === T ? u : v;
|
|
42
|
+
} else if (De(x[v], h))
|
|
43
|
+
return v === T ? u : v;
|
|
44
|
+
return x.hasOwnProperty("*") ? x["*"] : h;
|
|
45
45
|
}, it = {
|
|
46
46
|
"1.0": "/8",
|
|
47
47
|
"1.2": "/1",
|
|
@@ -51,7 +51,7 @@ var Se = { exports: {} };
|
|
|
51
51
|
"2.0.3": "/417",
|
|
52
52
|
"2.0.4": "/419",
|
|
53
53
|
"?": "/"
|
|
54
|
-
},
|
|
54
|
+
}, Ue = {
|
|
55
55
|
ME: "4.90",
|
|
56
56
|
"NT 3.11": "NT3.51",
|
|
57
57
|
"NT 4.0": "NT4.0",
|
|
@@ -63,7 +63,7 @@ var Se = { exports: {} };
|
|
|
63
63
|
"8.1": "NT 6.3",
|
|
64
64
|
10: ["NT 6.4", "NT 10.0"],
|
|
65
65
|
RT: "ARM"
|
|
66
|
-
},
|
|
66
|
+
}, qe = {
|
|
67
67
|
browser: [
|
|
68
68
|
[
|
|
69
69
|
/\b(?:crmo|crios)\/([\w\.]+)/i
|
|
@@ -89,17 +89,17 @@ var Se = { exports: {} };
|
|
|
89
89
|
/opios[\/ ]+([\w\.]+)/i
|
|
90
90
|
// Opera mini on iphone >= 8.0
|
|
91
91
|
],
|
|
92
|
-
[i, [n,
|
|
92
|
+
[i, [n, J + " Mini"]],
|
|
93
93
|
[
|
|
94
94
|
/\bop(?:rg)?x\/([\w\.]+)/i
|
|
95
95
|
// Opera GX
|
|
96
96
|
],
|
|
97
|
-
[i, [n,
|
|
97
|
+
[i, [n, J + " GX"]],
|
|
98
98
|
[
|
|
99
99
|
/\bopr\/([\w\.]+)/i
|
|
100
100
|
// Opera Webkit
|
|
101
101
|
],
|
|
102
|
-
[i, [n,
|
|
102
|
+
[i, [n, J]],
|
|
103
103
|
[
|
|
104
104
|
// Mixed
|
|
105
105
|
/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i
|
|
@@ -187,7 +187,7 @@ var Se = { exports: {} };
|
|
|
187
187
|
/\bopt\/([\w\.]+)/i
|
|
188
188
|
// Opera Touch
|
|
189
189
|
],
|
|
190
|
-
[i, [n,
|
|
190
|
+
[i, [n, J + " Touch"]],
|
|
191
191
|
[
|
|
192
192
|
/coc_coc\w+\/([\w\.]+)/i
|
|
193
193
|
// Coc Coc Browser
|
|
@@ -202,12 +202,12 @@ var Se = { exports: {} };
|
|
|
202
202
|
/coast\/([\w\.]+)/i
|
|
203
203
|
// Opera Coast
|
|
204
204
|
],
|
|
205
|
-
[i, [n,
|
|
205
|
+
[i, [n, J + " Coast"]],
|
|
206
206
|
[
|
|
207
207
|
/miuibrowser\/([\w\.]+)/i
|
|
208
208
|
// MIUI Browser
|
|
209
209
|
],
|
|
210
|
-
[i, [n, "MIUI" +
|
|
210
|
+
[i, [n, "MIUI" + Re]],
|
|
211
211
|
[
|
|
212
212
|
/fxios\/([\w\.-]+)/i
|
|
213
213
|
// Firefox for iOS
|
|
@@ -226,13 +226,13 @@ var Se = { exports: {} };
|
|
|
226
226
|
[
|
|
227
227
|
/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i
|
|
228
228
|
],
|
|
229
|
-
[[n, /(.+)/, "$1" +
|
|
229
|
+
[[n, /(.+)/, "$1" + Re], i],
|
|
230
230
|
[
|
|
231
231
|
// Oculus/Sailfish/HuaweiBrowser/VivoBrowser/PicoBrowser
|
|
232
232
|
/samsungbrowser\/([\w\.]+)/i
|
|
233
233
|
// Samsung Internet
|
|
234
234
|
],
|
|
235
|
-
[i, [n,
|
|
235
|
+
[i, [n, Q + " Internet"]],
|
|
236
236
|
[
|
|
237
237
|
/metasr[\/ ]?([\d\.]+)/i
|
|
238
238
|
// Sogou Explorer
|
|
@@ -337,7 +337,7 @@ var Se = { exports: {} };
|
|
|
337
337
|
/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i
|
|
338
338
|
// Safari < 3.0
|
|
339
339
|
],
|
|
340
|
-
[n, [i,
|
|
340
|
+
[n, [i, ie, it]],
|
|
341
341
|
[
|
|
342
342
|
/(webkit|khtml)\/([\w\.]+)/i
|
|
343
343
|
],
|
|
@@ -389,44 +389,44 @@ var Se = { exports: {} };
|
|
|
389
389
|
/\b((amd|x|x86[-_]?|wow|win)64)\b/i
|
|
390
390
|
// AMD64 (x64)
|
|
391
391
|
],
|
|
392
|
-
[[
|
|
392
|
+
[[E, "amd64"]],
|
|
393
393
|
[
|
|
394
394
|
/(ia32(?=;))/i,
|
|
395
395
|
// IA32 (quicktime)
|
|
396
396
|
/\b((i[346]|x)86)(pc)?\b/i
|
|
397
397
|
// IA32 (x86)
|
|
398
398
|
],
|
|
399
|
-
[[
|
|
399
|
+
[[E, "ia32"]],
|
|
400
400
|
[
|
|
401
401
|
/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i
|
|
402
402
|
// ARM64
|
|
403
403
|
],
|
|
404
|
-
[[
|
|
404
|
+
[[E, "arm64"]],
|
|
405
405
|
[
|
|
406
406
|
/\b(arm(v[67])?ht?n?[fl]p?)\b/i
|
|
407
407
|
// ARMHF
|
|
408
408
|
],
|
|
409
|
-
[[
|
|
409
|
+
[[E, "armhf"]],
|
|
410
410
|
[
|
|
411
411
|
// PocketPC mistakenly identified as PowerPC
|
|
412
412
|
/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i
|
|
413
413
|
],
|
|
414
|
-
[[
|
|
414
|
+
[[E, "arm"]],
|
|
415
415
|
[
|
|
416
416
|
/((ppc|powerpc)(64)?)( mac|;|\))/i
|
|
417
417
|
// PowerPC
|
|
418
418
|
],
|
|
419
|
-
[[
|
|
419
|
+
[[E, /ower/, m, te]],
|
|
420
420
|
[
|
|
421
421
|
/ sun4\w[;\)]/i
|
|
422
422
|
// SPARC
|
|
423
423
|
],
|
|
424
|
-
[[
|
|
424
|
+
[[E, "sparc"]],
|
|
425
425
|
[
|
|
426
426
|
/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i
|
|
427
427
|
// IA64, 68K, ARM/64, AVR/32, IRIX/64, MIPS/64, SPARC/64, PA-RISC
|
|
428
428
|
],
|
|
429
|
-
[[
|
|
429
|
+
[[E, te]]
|
|
430
430
|
],
|
|
431
431
|
device: [
|
|
432
432
|
[
|
|
@@ -436,61 +436,61 @@ var Se = { exports: {} };
|
|
|
436
436
|
// Samsung
|
|
437
437
|
/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i
|
|
438
438
|
],
|
|
439
|
-
[
|
|
439
|
+
[t, [o, Q], [e, l]],
|
|
440
440
|
[
|
|
441
441
|
/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,
|
|
442
442
|
/samsung[- ]((?!sm-[lr])[-\w]+)/i,
|
|
443
443
|
/sec-(sgh\w+)/i
|
|
444
444
|
],
|
|
445
|
-
[
|
|
445
|
+
[t, [o, Q], [e, r]],
|
|
446
446
|
[
|
|
447
447
|
// Apple
|
|
448
448
|
/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i
|
|
449
449
|
// iPod/iPhone
|
|
450
450
|
],
|
|
451
|
-
[
|
|
451
|
+
[t, [o, R], [e, r]],
|
|
452
452
|
[
|
|
453
453
|
/\((ipad);[-\w\),; ]+apple/i,
|
|
454
454
|
// iPad
|
|
455
455
|
/applecoremedia\/[\w\.]+ \((ipad)/i,
|
|
456
456
|
/\b(ipad)\d\d?,\d\d?[;\]].+ios/i
|
|
457
457
|
],
|
|
458
|
-
[
|
|
458
|
+
[t, [o, R], [e, l]],
|
|
459
459
|
[
|
|
460
460
|
/(macintosh);/i
|
|
461
461
|
],
|
|
462
|
-
[
|
|
462
|
+
[t, [o, R]],
|
|
463
463
|
[
|
|
464
464
|
// Sharp
|
|
465
465
|
/\b(sh-?[altvz]?\d\d[a-ekm]?)/i
|
|
466
466
|
],
|
|
467
|
-
[
|
|
467
|
+
[t, [o, Ve], [e, r]],
|
|
468
468
|
[
|
|
469
469
|
// Honor
|
|
470
470
|
/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i
|
|
471
471
|
],
|
|
472
|
-
[
|
|
472
|
+
[t, [o, Pe], [e, l]],
|
|
473
473
|
[
|
|
474
474
|
/honor([-\w ]+)[;\)]/i
|
|
475
475
|
],
|
|
476
|
-
[
|
|
476
|
+
[t, [o, Pe], [e, r]],
|
|
477
477
|
[
|
|
478
478
|
// Huawei
|
|
479
479
|
/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i
|
|
480
480
|
],
|
|
481
|
-
[
|
|
481
|
+
[t, [o, $e], [e, l]],
|
|
482
482
|
[
|
|
483
483
|
/(?:huawei)([-\w ]+)[;\)]/i,
|
|
484
484
|
/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i
|
|
485
485
|
],
|
|
486
|
-
[
|
|
486
|
+
[t, [o, $e], [e, r]],
|
|
487
487
|
[
|
|
488
488
|
// Xiaomi
|
|
489
489
|
/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,
|
|
490
490
|
/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i
|
|
491
491
|
// Mi Pad tablets
|
|
492
492
|
],
|
|
493
|
-
[[
|
|
493
|
+
[[t, /_/g, " "], [o, ke], [e, l]],
|
|
494
494
|
[
|
|
495
495
|
/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,
|
|
496
496
|
// Xiaomi POCO
|
|
@@ -506,93 +506,93 @@ var Se = { exports: {} };
|
|
|
506
506
|
// Xiaomi Mi
|
|
507
507
|
/ ([\w ]+) miui\/v?\d/i
|
|
508
508
|
],
|
|
509
|
-
[[
|
|
509
|
+
[[t, /_/g, " "], [o, ke], [e, r]],
|
|
510
510
|
[
|
|
511
511
|
// OPPO
|
|
512
512
|
/; (\w+) bui.+ oppo/i,
|
|
513
513
|
/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i
|
|
514
514
|
],
|
|
515
|
-
[
|
|
515
|
+
[t, [o, he], [e, r]],
|
|
516
516
|
[
|
|
517
517
|
/\b(opd2(\d{3}a?))(?: bui|\))/i
|
|
518
518
|
],
|
|
519
|
-
[
|
|
519
|
+
[t, [o, ie, { OnePlus: ["304", "403", "203"], "*": he }], [e, l]],
|
|
520
520
|
[
|
|
521
521
|
// Vivo
|
|
522
522
|
/vivo (\w+)(?: bui|\))/i,
|
|
523
523
|
/\b(v[12]\d{3}\w?[at])(?: bui|;)/i
|
|
524
524
|
],
|
|
525
|
-
[
|
|
525
|
+
[t, [o, "Vivo"], [e, r]],
|
|
526
526
|
[
|
|
527
527
|
// Realme
|
|
528
528
|
/\b(rmx[1-3]\d{3})(?: bui|;|\))/i
|
|
529
529
|
],
|
|
530
|
-
[
|
|
530
|
+
[t, [o, "Realme"], [e, r]],
|
|
531
531
|
[
|
|
532
532
|
// Motorola
|
|
533
533
|
/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,
|
|
534
534
|
/\bmot(?:orola)?[- ](\w*)/i,
|
|
535
535
|
/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i
|
|
536
536
|
],
|
|
537
|
-
[
|
|
537
|
+
[t, [o, ye], [e, r]],
|
|
538
538
|
[
|
|
539
539
|
/\b(mz60\d|xoom[2 ]{0,2}) build\//i
|
|
540
540
|
],
|
|
541
|
-
[
|
|
541
|
+
[t, [o, ye], [e, l]],
|
|
542
542
|
[
|
|
543
543
|
// LG
|
|
544
544
|
/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i
|
|
545
545
|
],
|
|
546
|
-
[
|
|
546
|
+
[t, [o, ue], [e, l]],
|
|
547
547
|
[
|
|
548
548
|
/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,
|
|
549
549
|
/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,
|
|
550
550
|
/\blg-?([\d\w]+) bui/i
|
|
551
551
|
],
|
|
552
|
-
[
|
|
552
|
+
[t, [o, ue], [e, r]],
|
|
553
553
|
[
|
|
554
554
|
// Lenovo
|
|
555
555
|
/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,
|
|
556
556
|
/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i
|
|
557
557
|
],
|
|
558
|
-
[
|
|
558
|
+
[t, [o, et], [e, l]],
|
|
559
559
|
[
|
|
560
560
|
// Nokia
|
|
561
561
|
/(nokia) (t[12][01])/i
|
|
562
562
|
],
|
|
563
|
-
[
|
|
563
|
+
[o, t, [e, l]],
|
|
564
564
|
[
|
|
565
565
|
/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,
|
|
566
566
|
/nokia[-_ ]?(([-\w\. ]*))/i
|
|
567
567
|
],
|
|
568
|
-
[[
|
|
568
|
+
[[t, /_/g, " "], [e, r], [o, "Nokia"]],
|
|
569
569
|
[
|
|
570
570
|
// Google
|
|
571
571
|
/(pixel (c|tablet))\b/i
|
|
572
572
|
// Google Pixel C/Tablet
|
|
573
573
|
],
|
|
574
|
-
[
|
|
574
|
+
[t, [o, de], [e, l]],
|
|
575
575
|
[
|
|
576
576
|
/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i
|
|
577
577
|
// Google Pixel
|
|
578
578
|
],
|
|
579
|
-
[
|
|
579
|
+
[t, [o, de], [e, r]],
|
|
580
580
|
[
|
|
581
581
|
// Sony
|
|
582
582
|
/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i
|
|
583
583
|
],
|
|
584
|
-
[
|
|
584
|
+
[t, [o, ee], [e, r]],
|
|
585
585
|
[
|
|
586
586
|
/sony tablet [ps]/i,
|
|
587
587
|
/\b(?:sony)?sgp\w+(?: bui|\))/i
|
|
588
588
|
],
|
|
589
|
-
[[
|
|
589
|
+
[[t, "Xperia Tablet"], [o, ee], [e, l]],
|
|
590
590
|
[
|
|
591
591
|
// OnePlus
|
|
592
592
|
/ (kb2005|in20[12]5|be20[12][59])\b/i,
|
|
593
593
|
/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i
|
|
594
594
|
],
|
|
595
|
-
[
|
|
595
|
+
[t, [o, Ne], [e, r]],
|
|
596
596
|
[
|
|
597
597
|
// Amazon
|
|
598
598
|
/(alexa)webm/i,
|
|
@@ -601,39 +601,39 @@ var Se = { exports: {} };
|
|
|
601
601
|
/(kf[a-z]+)( bui|\)).+silk\//i
|
|
602
602
|
// Kindle Fire HD
|
|
603
603
|
],
|
|
604
|
-
[
|
|
604
|
+
[t, [o, j], [e, l]],
|
|
605
605
|
[
|
|
606
606
|
/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i
|
|
607
607
|
// Fire Phone
|
|
608
608
|
],
|
|
609
|
-
[[
|
|
609
|
+
[[t, /(.+)/g, "Fire Phone $1"], [o, j], [e, r]],
|
|
610
610
|
[
|
|
611
611
|
// BlackBerry
|
|
612
612
|
/(playbook);[-\w\),; ]+(rim)/i
|
|
613
613
|
// BlackBerry PlayBook
|
|
614
614
|
],
|
|
615
|
-
[
|
|
615
|
+
[t, o, [e, l]],
|
|
616
616
|
[
|
|
617
617
|
/\b((?:bb[a-f]|st[hv])100-\d)/i,
|
|
618
618
|
/\(bb10; (\w+)/i
|
|
619
619
|
// BlackBerry 10
|
|
620
620
|
],
|
|
621
|
-
[
|
|
621
|
+
[t, [o, Me], [e, r]],
|
|
622
622
|
[
|
|
623
623
|
// Asus
|
|
624
624
|
/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i
|
|
625
625
|
],
|
|
626
|
-
[
|
|
626
|
+
[t, [o, Z], [e, l]],
|
|
627
627
|
[
|
|
628
628
|
/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i
|
|
629
629
|
],
|
|
630
|
-
[
|
|
630
|
+
[t, [o, Z], [e, r]],
|
|
631
631
|
[
|
|
632
632
|
// HTC
|
|
633
633
|
/(nexus 9)/i
|
|
634
634
|
// HTC Nexus 9
|
|
635
635
|
],
|
|
636
|
-
[
|
|
636
|
+
[t, [o, "HTC"], [e, l]],
|
|
637
637
|
[
|
|
638
638
|
/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,
|
|
639
639
|
// HTC
|
|
@@ -642,66 +642,66 @@ var Se = { exports: {} };
|
|
|
642
642
|
/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
|
|
643
643
|
// Alcatel/GeeksPhone/Nexian/Panasonic/Sony
|
|
644
644
|
],
|
|
645
|
-
[
|
|
645
|
+
[o, [t, /_/g, " "], [e, r]],
|
|
646
646
|
[
|
|
647
647
|
// TCL
|
|
648
648
|
/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i
|
|
649
649
|
],
|
|
650
|
-
[
|
|
650
|
+
[t, [o, "TCL"], [e, l]],
|
|
651
651
|
[
|
|
652
652
|
// itel
|
|
653
653
|
/(itel) ((\w+))/i
|
|
654
654
|
],
|
|
655
|
-
[[
|
|
655
|
+
[[o, te], t, [e, ie, { tablet: ["p10001l", "w7001"], "*": "mobile" }]],
|
|
656
656
|
[
|
|
657
657
|
// Acer
|
|
658
658
|
/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i
|
|
659
659
|
],
|
|
660
|
-
[
|
|
660
|
+
[t, [o, "Acer"], [e, l]],
|
|
661
661
|
[
|
|
662
662
|
// Meizu
|
|
663
663
|
/droid.+; (m[1-5] note) bui/i,
|
|
664
664
|
/\bmz-([-\w]{2,})/i
|
|
665
665
|
],
|
|
666
|
-
[
|
|
666
|
+
[t, [o, "Meizu"], [e, r]],
|
|
667
667
|
[
|
|
668
668
|
// Ulefone
|
|
669
669
|
/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i
|
|
670
670
|
],
|
|
671
|
-
[
|
|
671
|
+
[t, [o, "Ulefone"], [e, r]],
|
|
672
672
|
[
|
|
673
673
|
// Energizer
|
|
674
674
|
/; (energy ?\w+)(?: bui|\))/i,
|
|
675
675
|
/; energizer ([\w ]+)(?: bui|\))/i
|
|
676
676
|
],
|
|
677
|
-
[
|
|
677
|
+
[t, [o, "Energizer"], [e, r]],
|
|
678
678
|
[
|
|
679
679
|
// Cat
|
|
680
680
|
/; cat (b35);/i,
|
|
681
681
|
/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i
|
|
682
682
|
],
|
|
683
|
-
[
|
|
683
|
+
[t, [o, "Cat"], [e, r]],
|
|
684
684
|
[
|
|
685
685
|
// Smartfren
|
|
686
686
|
/((?:new )?andromax[\w- ]+)(?: bui|\))/i
|
|
687
687
|
],
|
|
688
|
-
[
|
|
688
|
+
[t, [o, "Smartfren"], [e, r]],
|
|
689
689
|
[
|
|
690
690
|
// Nothing
|
|
691
691
|
/droid.+; (a(?:015|06[35]|142p?))/i
|
|
692
692
|
],
|
|
693
|
-
[
|
|
693
|
+
[t, [o, "Nothing"], [e, r]],
|
|
694
694
|
[
|
|
695
695
|
// Archos
|
|
696
696
|
/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,
|
|
697
697
|
/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i
|
|
698
698
|
],
|
|
699
|
-
[
|
|
699
|
+
[t, [o, "Archos"], [e, l]],
|
|
700
700
|
[
|
|
701
701
|
/archos ([\w ]+)( b|\))/i,
|
|
702
702
|
/; (ac[3-6]\d\w{2,8})( b|\))/i
|
|
703
703
|
],
|
|
704
|
-
[
|
|
704
|
+
[t, [o, "Archos"], [e, r]],
|
|
705
705
|
[
|
|
706
706
|
// MIXED
|
|
707
707
|
/(imo) (tab \w+)/i,
|
|
@@ -709,7 +709,7 @@ var Se = { exports: {} };
|
|
|
709
709
|
/(infinix) (x1101b?)/i
|
|
710
710
|
// Infinix XPad
|
|
711
711
|
],
|
|
712
|
-
[
|
|
712
|
+
[o, t, [e, l]],
|
|
713
713
|
[
|
|
714
714
|
/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,
|
|
715
715
|
// BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron/Infinix/Tecno/Micromax/Advan
|
|
@@ -724,7 +724,7 @@ var Se = { exports: {} };
|
|
|
724
724
|
/(oppo) ?([\w ]+) bui/i
|
|
725
725
|
// OPPO
|
|
726
726
|
],
|
|
727
|
-
[
|
|
727
|
+
[o, t, [e, r]],
|
|
728
728
|
[
|
|
729
729
|
/(kobo)\s(ereader|touch)/i,
|
|
730
730
|
// Kobo
|
|
@@ -745,146 +745,146 @@ var Se = { exports: {} };
|
|
|
745
745
|
/(vodafone) ([\w ]+)(?:\)| bui)/i
|
|
746
746
|
// Vodafone
|
|
747
747
|
],
|
|
748
|
-
[
|
|
748
|
+
[o, t, [e, l]],
|
|
749
749
|
[
|
|
750
750
|
/(surface duo)/i
|
|
751
751
|
// Surface Duo
|
|
752
752
|
],
|
|
753
|
-
[
|
|
753
|
+
[t, [o, pe], [e, l]],
|
|
754
754
|
[
|
|
755
755
|
/droid [\d\.]+; (fp\du?)(?: b|\))/i
|
|
756
756
|
// Fairphone
|
|
757
757
|
],
|
|
758
|
-
[
|
|
758
|
+
[t, [o, "Fairphone"], [e, r]],
|
|
759
759
|
[
|
|
760
760
|
/(u304aa)/i
|
|
761
761
|
// AT&T
|
|
762
762
|
],
|
|
763
|
-
[
|
|
763
|
+
[t, [o, "AT&T"], [e, r]],
|
|
764
764
|
[
|
|
765
765
|
/\bsie-(\w*)/i
|
|
766
766
|
// Siemens
|
|
767
767
|
],
|
|
768
|
-
[
|
|
768
|
+
[t, [o, "Siemens"], [e, r]],
|
|
769
769
|
[
|
|
770
770
|
/\b(rct\w+) b/i
|
|
771
771
|
// RCA Tablets
|
|
772
772
|
],
|
|
773
|
-
[
|
|
773
|
+
[t, [o, "RCA"], [e, l]],
|
|
774
774
|
[
|
|
775
775
|
/\b(venue[\d ]{2,7}) b/i
|
|
776
776
|
// Dell Venue Tablets
|
|
777
777
|
],
|
|
778
|
-
[
|
|
778
|
+
[t, [o, "Dell"], [e, l]],
|
|
779
779
|
[
|
|
780
780
|
/\b(q(?:mv|ta)\w+) b/i
|
|
781
781
|
// Verizon Tablet
|
|
782
782
|
],
|
|
783
|
-
[
|
|
783
|
+
[t, [o, "Verizon"], [e, l]],
|
|
784
784
|
[
|
|
785
785
|
/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i
|
|
786
786
|
// Barnes & Noble Tablet
|
|
787
787
|
],
|
|
788
|
-
[
|
|
788
|
+
[t, [o, "Barnes & Noble"], [e, l]],
|
|
789
789
|
[
|
|
790
790
|
/\b(tm\d{3}\w+) b/i
|
|
791
791
|
],
|
|
792
|
-
[
|
|
792
|
+
[t, [o, "NuVision"], [e, l]],
|
|
793
793
|
[
|
|
794
794
|
/\b(k88) b/i
|
|
795
795
|
// ZTE K Series Tablet
|
|
796
796
|
],
|
|
797
|
-
[
|
|
797
|
+
[t, [o, "ZTE"], [e, l]],
|
|
798
798
|
[
|
|
799
799
|
/\b(nx\d{3}j) b/i
|
|
800
800
|
// ZTE Nubia
|
|
801
801
|
],
|
|
802
|
-
[
|
|
802
|
+
[t, [o, "ZTE"], [e, r]],
|
|
803
803
|
[
|
|
804
804
|
/\b(gen\d{3}) b.+49h/i
|
|
805
805
|
// Swiss GEN Mobile
|
|
806
806
|
],
|
|
807
|
-
[
|
|
807
|
+
[t, [o, "Swiss"], [e, r]],
|
|
808
808
|
[
|
|
809
809
|
/\b(zur\d{3}) b/i
|
|
810
810
|
// Swiss ZUR Tablet
|
|
811
811
|
],
|
|
812
|
-
[
|
|
812
|
+
[t, [o, "Swiss"], [e, l]],
|
|
813
813
|
[
|
|
814
814
|
/\b((zeki)?tb.*\b) b/i
|
|
815
815
|
// Zeki Tablets
|
|
816
816
|
],
|
|
817
|
-
[
|
|
817
|
+
[t, [o, "Zeki"], [e, l]],
|
|
818
818
|
[
|
|
819
819
|
/\b([yr]\d{2}) b/i,
|
|
820
820
|
/\b(dragon[- ]+touch |dt)(\w{5}) b/i
|
|
821
821
|
// Dragon Touch Tablet
|
|
822
822
|
],
|
|
823
|
-
[[
|
|
823
|
+
[[o, "Dragon Touch"], t, [e, l]],
|
|
824
824
|
[
|
|
825
825
|
/\b(ns-?\w{0,9}) b/i
|
|
826
826
|
// Insignia Tablets
|
|
827
827
|
],
|
|
828
|
-
[
|
|
828
|
+
[t, [o, "Insignia"], [e, l]],
|
|
829
829
|
[
|
|
830
830
|
/\b((nxa|next)-?\w{0,9}) b/i
|
|
831
831
|
// NextBook Tablets
|
|
832
832
|
],
|
|
833
|
-
[
|
|
833
|
+
[t, [o, "NextBook"], [e, l]],
|
|
834
834
|
[
|
|
835
835
|
/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i
|
|
836
836
|
// Voice Xtreme Phones
|
|
837
837
|
],
|
|
838
|
-
[[
|
|
838
|
+
[[o, "Voice"], t, [e, r]],
|
|
839
839
|
[
|
|
840
840
|
/\b(lvtel\-)?(v1[12]) b/i
|
|
841
841
|
// LvTel Phones
|
|
842
842
|
],
|
|
843
|
-
[[
|
|
843
|
+
[[o, "LvTel"], t, [e, r]],
|
|
844
844
|
[
|
|
845
845
|
/\b(ph-1) /i
|
|
846
846
|
// Essential PH-1
|
|
847
847
|
],
|
|
848
|
-
[
|
|
848
|
+
[t, [o, "Essential"], [e, r]],
|
|
849
849
|
[
|
|
850
850
|
/\b(v(100md|700na|7011|917g).*\b) b/i
|
|
851
851
|
// Envizen Tablets
|
|
852
852
|
],
|
|
853
|
-
[
|
|
853
|
+
[t, [o, "Envizen"], [e, l]],
|
|
854
854
|
[
|
|
855
855
|
/\b(trio[-\w\. ]+) b/i
|
|
856
856
|
// MachSpeed Tablets
|
|
857
857
|
],
|
|
858
|
-
[
|
|
858
|
+
[t, [o, "MachSpeed"], [e, l]],
|
|
859
859
|
[
|
|
860
860
|
/\btu_(1491) b/i
|
|
861
861
|
// Rotor Tablets
|
|
862
862
|
],
|
|
863
|
-
[
|
|
863
|
+
[t, [o, "Rotor"], [e, l]],
|
|
864
864
|
[
|
|
865
865
|
/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i
|
|
866
866
|
// Nvidia Tablets
|
|
867
867
|
],
|
|
868
|
-
[
|
|
868
|
+
[t, [o, ge], [e, l]],
|
|
869
869
|
[
|
|
870
870
|
/(sprint) (\w+)/i
|
|
871
871
|
// Sprint Phones
|
|
872
872
|
],
|
|
873
|
-
[
|
|
873
|
+
[o, t, [e, r]],
|
|
874
874
|
[
|
|
875
875
|
/(kin\.[onetw]{3})/i
|
|
876
876
|
// Microsoft Kin
|
|
877
877
|
],
|
|
878
|
-
[[
|
|
878
|
+
[[t, /\./g, " "], [o, pe], [e, r]],
|
|
879
879
|
[
|
|
880
880
|
/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i
|
|
881
881
|
// Zebra
|
|
882
882
|
],
|
|
883
|
-
[
|
|
883
|
+
[t, [o, xe], [e, l]],
|
|
884
884
|
[
|
|
885
885
|
/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i
|
|
886
886
|
],
|
|
887
|
-
[
|
|
887
|
+
[t, [o, xe], [e, r]],
|
|
888
888
|
[
|
|
889
889
|
///////////////////
|
|
890
890
|
// SMARTTVS
|
|
@@ -892,73 +892,73 @@ var Se = { exports: {} };
|
|
|
892
892
|
/smart-tv.+(samsung)/i
|
|
893
893
|
// Samsung
|
|
894
894
|
],
|
|
895
|
-
[
|
|
895
|
+
[o, [e, s]],
|
|
896
896
|
[
|
|
897
897
|
/hbbtv.+maple;(\d+)/i
|
|
898
898
|
],
|
|
899
|
-
[[
|
|
899
|
+
[[t, /^/, "SmartTV"], [o, Q], [e, s]],
|
|
900
900
|
[
|
|
901
901
|
/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i
|
|
902
902
|
// LG SmartTV
|
|
903
903
|
],
|
|
904
|
-
[[
|
|
904
|
+
[[o, ue], [e, s]],
|
|
905
905
|
[
|
|
906
906
|
/(apple) ?tv/i
|
|
907
907
|
// Apple TV
|
|
908
908
|
],
|
|
909
|
-
[
|
|
909
|
+
[o, [t, R + " TV"], [e, s]],
|
|
910
910
|
[
|
|
911
911
|
/crkey/i
|
|
912
912
|
// Google Chromecast
|
|
913
913
|
],
|
|
914
|
-
[[
|
|
914
|
+
[[t, le + "cast"], [o, de], [e, s]],
|
|
915
915
|
[
|
|
916
916
|
/droid.+aft(\w+)( bui|\))/i
|
|
917
917
|
// Fire TV
|
|
918
918
|
],
|
|
919
|
-
[
|
|
919
|
+
[t, [o, j], [e, s]],
|
|
920
920
|
[
|
|
921
921
|
/(shield \w+ tv)/i
|
|
922
922
|
// Nvidia Shield TV
|
|
923
923
|
],
|
|
924
|
-
[
|
|
924
|
+
[t, [o, ge], [e, s]],
|
|
925
925
|
[
|
|
926
926
|
/\(dtv[\);].+(aquos)/i,
|
|
927
927
|
/(aquos-tv[\w ]+)\)/i
|
|
928
928
|
// Sharp
|
|
929
929
|
],
|
|
930
|
-
[
|
|
930
|
+
[t, [o, Ve], [e, s]],
|
|
931
931
|
[
|
|
932
932
|
/(bravia[\w ]+)( bui|\))/i
|
|
933
933
|
// Sony
|
|
934
934
|
],
|
|
935
|
-
[
|
|
935
|
+
[t, [o, ee], [e, s]],
|
|
936
936
|
[
|
|
937
937
|
/(mi(tv|box)-?\w+) bui/i
|
|
938
938
|
// Xiaomi
|
|
939
939
|
],
|
|
940
|
-
[
|
|
940
|
+
[t, [o, ke], [e, s]],
|
|
941
941
|
[
|
|
942
942
|
/Hbbtv.*(technisat) (.*);/i
|
|
943
943
|
// TechniSAT
|
|
944
944
|
],
|
|
945
|
-
[
|
|
945
|
+
[o, t, [e, s]],
|
|
946
946
|
[
|
|
947
947
|
/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,
|
|
948
948
|
// Roku
|
|
949
949
|
/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i
|
|
950
950
|
// HbbTV devices
|
|
951
951
|
],
|
|
952
|
-
[[
|
|
952
|
+
[[o, _e], [t, _e], [e, s]],
|
|
953
953
|
[
|
|
954
954
|
// SmartTV from Unidentified Vendors
|
|
955
955
|
/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i
|
|
956
956
|
],
|
|
957
|
-
[
|
|
957
|
+
[t, [e, s]],
|
|
958
958
|
[
|
|
959
959
|
/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i
|
|
960
960
|
],
|
|
961
|
-
[[
|
|
961
|
+
[[e, s]],
|
|
962
962
|
[
|
|
963
963
|
///////////////////
|
|
964
964
|
// CONSOLES
|
|
@@ -968,22 +968,22 @@ var Se = { exports: {} };
|
|
|
968
968
|
/(nintendo) ([wids3utch]+)/i
|
|
969
969
|
// Nintendo
|
|
970
970
|
],
|
|
971
|
-
[
|
|
971
|
+
[o, t, [e, p]],
|
|
972
972
|
[
|
|
973
973
|
/droid.+; (shield)( bui|\))/i
|
|
974
974
|
// Nvidia Portable
|
|
975
975
|
],
|
|
976
|
-
[
|
|
976
|
+
[t, [o, ge], [e, p]],
|
|
977
977
|
[
|
|
978
978
|
/(playstation \w+)/i
|
|
979
979
|
// Playstation
|
|
980
980
|
],
|
|
981
|
-
[
|
|
981
|
+
[t, [o, ee], [e, p]],
|
|
982
982
|
[
|
|
983
983
|
/\b(xbox(?: one)?(?!; xbox))[\); ]/i
|
|
984
984
|
// Microsoft Xbox
|
|
985
985
|
],
|
|
986
|
-
[
|
|
986
|
+
[t, [o, pe], [e, p]],
|
|
987
987
|
[
|
|
988
988
|
///////////////////
|
|
989
989
|
// WEARABLES
|
|
@@ -991,48 +991,48 @@ var Se = { exports: {} };
|
|
|
991
991
|
/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i
|
|
992
992
|
// Samsung Galaxy Watch
|
|
993
993
|
],
|
|
994
|
-
[
|
|
994
|
+
[t, [o, Q], [e, f]],
|
|
995
995
|
[
|
|
996
996
|
/((pebble))app/i,
|
|
997
997
|
// Pebble
|
|
998
998
|
/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i
|
|
999
999
|
// Asus ZenWatch / LG Watch / Pixel Watch
|
|
1000
1000
|
],
|
|
1001
|
-
[
|
|
1001
|
+
[o, t, [e, f]],
|
|
1002
1002
|
[
|
|
1003
1003
|
/(ow(?:19|20)?we?[1-3]{1,3})/i
|
|
1004
1004
|
// Oppo Watch
|
|
1005
1005
|
],
|
|
1006
|
-
[
|
|
1006
|
+
[t, [o, he], [e, f]],
|
|
1007
1007
|
[
|
|
1008
1008
|
/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i
|
|
1009
1009
|
// Apple Watch
|
|
1010
1010
|
],
|
|
1011
|
-
[
|
|
1011
|
+
[t, [o, R], [e, f]],
|
|
1012
1012
|
[
|
|
1013
1013
|
/(opwwe\d{3})/i
|
|
1014
1014
|
// OnePlus Watch
|
|
1015
1015
|
],
|
|
1016
|
-
[
|
|
1016
|
+
[t, [o, Ne], [e, f]],
|
|
1017
1017
|
[
|
|
1018
1018
|
/(moto 360)/i
|
|
1019
1019
|
// Motorola 360
|
|
1020
1020
|
],
|
|
1021
|
-
[
|
|
1021
|
+
[t, [o, ye], [e, f]],
|
|
1022
1022
|
[
|
|
1023
1023
|
/(smartwatch 3)/i
|
|
1024
1024
|
// Sony SmartWatch
|
|
1025
1025
|
],
|
|
1026
|
-
[
|
|
1026
|
+
[t, [o, ee], [e, f]],
|
|
1027
1027
|
[
|
|
1028
1028
|
/(g watch r)/i
|
|
1029
1029
|
// LG G Watch R
|
|
1030
1030
|
],
|
|
1031
|
-
[
|
|
1031
|
+
[t, [o, ue], [e, f]],
|
|
1032
1032
|
[
|
|
1033
1033
|
/droid.+; (wt63?0{2,3})\)/i
|
|
1034
1034
|
],
|
|
1035
|
-
[
|
|
1035
|
+
[t, [o, xe], [e, f]],
|
|
1036
1036
|
[
|
|
1037
1037
|
///////////////////
|
|
1038
1038
|
// XR
|
|
@@ -1040,17 +1040,17 @@ var Se = { exports: {} };
|
|
|
1040
1040
|
/droid.+; (glass) \d/i
|
|
1041
1041
|
// Google Glass
|
|
1042
1042
|
],
|
|
1043
|
-
[
|
|
1043
|
+
[t, [o, de], [e, f]],
|
|
1044
1044
|
[
|
|
1045
1045
|
/(pico) (4|neo3(?: link|pro)?)/i
|
|
1046
1046
|
// Pico
|
|
1047
1047
|
],
|
|
1048
|
-
[
|
|
1048
|
+
[o, t, [e, f]],
|
|
1049
1049
|
[
|
|
1050
1050
|
/; (quest( \d| pro)?)/i
|
|
1051
1051
|
// Oculus Quest
|
|
1052
1052
|
],
|
|
1053
|
-
[
|
|
1053
|
+
[t, [o, Ie], [e, f]],
|
|
1054
1054
|
[
|
|
1055
1055
|
///////////////////
|
|
1056
1056
|
// EMBEDDED
|
|
@@ -1058,21 +1058,21 @@ var Se = { exports: {} };
|
|
|
1058
1058
|
/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
|
|
1059
1059
|
// Tesla
|
|
1060
1060
|
],
|
|
1061
|
-
[
|
|
1061
|
+
[o, [e, V]],
|
|
1062
1062
|
[
|
|
1063
1063
|
/(aeobc)\b/i
|
|
1064
1064
|
// Echo Dot
|
|
1065
1065
|
],
|
|
1066
|
-
[
|
|
1066
|
+
[t, [o, j], [e, V]],
|
|
1067
1067
|
[
|
|
1068
1068
|
/(homepod).+mac os/i
|
|
1069
1069
|
// Apple HomePod
|
|
1070
1070
|
],
|
|
1071
|
-
[
|
|
1071
|
+
[t, [o, R], [e, V]],
|
|
1072
1072
|
[
|
|
1073
1073
|
/windows iot/i
|
|
1074
1074
|
],
|
|
1075
|
-
[[
|
|
1075
|
+
[[e, V]],
|
|
1076
1076
|
[
|
|
1077
1077
|
////////////////////
|
|
1078
1078
|
// MIXED (GENERIC)
|
|
@@ -1080,27 +1080,27 @@ var Se = { exports: {} };
|
|
|
1080
1080
|
/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i
|
|
1081
1081
|
// Android Phones from Unidentified Vendors
|
|
1082
1082
|
],
|
|
1083
|
-
[
|
|
1083
|
+
[t, [e, r]],
|
|
1084
1084
|
[
|
|
1085
1085
|
/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i
|
|
1086
1086
|
// Android Tablets from Unidentified Vendors
|
|
1087
1087
|
],
|
|
1088
|
-
[
|
|
1088
|
+
[t, [e, l]],
|
|
1089
1089
|
[
|
|
1090
1090
|
/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i
|
|
1091
1091
|
// Unidentifiable Tablet
|
|
1092
1092
|
],
|
|
1093
|
-
[[
|
|
1093
|
+
[[e, l]],
|
|
1094
1094
|
[
|
|
1095
1095
|
/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i
|
|
1096
1096
|
// Unidentifiable Mobile
|
|
1097
1097
|
],
|
|
1098
|
-
[[
|
|
1098
|
+
[[e, r]],
|
|
1099
1099
|
[
|
|
1100
1100
|
/droid .+?; ([\w\. -]+)( bui|\))/i
|
|
1101
1101
|
// Generic Android Device
|
|
1102
1102
|
],
|
|
1103
|
-
[
|
|
1103
|
+
[t, [o, "Generic"]]
|
|
1104
1104
|
],
|
|
1105
1105
|
engine: [
|
|
1106
1106
|
[
|
|
@@ -1154,14 +1154,14 @@ var Se = { exports: {} };
|
|
|
1154
1154
|
/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i
|
|
1155
1155
|
// Windows Phone
|
|
1156
1156
|
],
|
|
1157
|
-
[n, [i,
|
|
1157
|
+
[n, [i, ie, Ue]],
|
|
1158
1158
|
[
|
|
1159
1159
|
/windows nt 6\.2; (arm)/i,
|
|
1160
1160
|
// Windows RT
|
|
1161
1161
|
/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,
|
|
1162
1162
|
/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i
|
|
1163
1163
|
],
|
|
1164
|
-
[[i,
|
|
1164
|
+
[[i, ie, Ue], [n, "Windows"]],
|
|
1165
1165
|
[
|
|
1166
1166
|
// iOS/macOS
|
|
1167
1167
|
/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,
|
|
@@ -1175,7 +1175,7 @@ var Se = { exports: {} };
|
|
|
1175
1175
|
/(macintosh|mac_powerpc\b)(?!.+haiku)/i
|
|
1176
1176
|
// Mac OS
|
|
1177
1177
|
],
|
|
1178
|
-
[[n,
|
|
1178
|
+
[[n, Le], [i, /_/g, "."]],
|
|
1179
1179
|
[
|
|
1180
1180
|
// Mobile OSes
|
|
1181
1181
|
/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i
|
|
@@ -1196,7 +1196,7 @@ var Se = { exports: {} };
|
|
|
1196
1196
|
/\(bb(10);/i
|
|
1197
1197
|
// BlackBerry 10
|
|
1198
1198
|
],
|
|
1199
|
-
[i, [n,
|
|
1199
|
+
[i, [n, Me]],
|
|
1200
1200
|
[
|
|
1201
1201
|
/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i
|
|
1202
1202
|
// Symbian
|
|
@@ -1228,7 +1228,7 @@ var Se = { exports: {} };
|
|
|
1228
1228
|
/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i
|
|
1229
1229
|
// Chromium OS
|
|
1230
1230
|
],
|
|
1231
|
-
[[n,
|
|
1231
|
+
[[n, ze], i],
|
|
1232
1232
|
[
|
|
1233
1233
|
// Smart TVs
|
|
1234
1234
|
/panasonic;(viera)/i,
|
|
@@ -1278,25 +1278,25 @@ var Se = { exports: {} };
|
|
|
1278
1278
|
],
|
|
1279
1279
|
[n, i]
|
|
1280
1280
|
]
|
|
1281
|
-
}, L = function(
|
|
1282
|
-
if (typeof
|
|
1283
|
-
return new L(
|
|
1284
|
-
var
|
|
1281
|
+
}, L = function(h, x) {
|
|
1282
|
+
if (typeof h === O && (x = h, h = u), !(this instanceof L))
|
|
1283
|
+
return new L(h, x).getResult();
|
|
1284
|
+
var v = typeof d !== g && d.navigator ? d.navigator : u, B = h || (v && v.userAgent ? v.userAgent : m), F = v && v.userAgentData ? v.userAgentData : u, D = x ? tt(qe, x) : qe, _ = v && v.userAgent == B;
|
|
1285
1285
|
return this.getBrowser = function() {
|
|
1286
|
-
var
|
|
1287
|
-
return
|
|
1286
|
+
var w = {};
|
|
1287
|
+
return w[n] = u, w[i] = u, oe.call(w, B, D.browser), w[N] = ot(w[i]), _ && v && v.brave && typeof v.brave.isBrave == b && (w[n] = "Brave"), w;
|
|
1288
1288
|
}, this.getCPU = function() {
|
|
1289
|
-
var
|
|
1290
|
-
return
|
|
1289
|
+
var w = {};
|
|
1290
|
+
return w[E] = u, oe.call(w, B, D.cpu), w;
|
|
1291
1291
|
}, this.getDevice = function() {
|
|
1292
|
-
var
|
|
1293
|
-
return
|
|
1292
|
+
var w = {};
|
|
1293
|
+
return w[o] = u, w[t] = u, w[e] = u, oe.call(w, B, D.device), _ && !w[e] && F && F.mobile && (w[e] = r), _ && w[t] == "Macintosh" && v && typeof v.standalone !== g && v.maxTouchPoints && v.maxTouchPoints > 2 && (w[t] = "iPad", w[e] = l), w;
|
|
1294
1294
|
}, this.getEngine = function() {
|
|
1295
|
-
var
|
|
1296
|
-
return
|
|
1295
|
+
var w = {};
|
|
1296
|
+
return w[n] = u, w[i] = u, oe.call(w, B, D.engine), w;
|
|
1297
1297
|
}, this.getOS = function() {
|
|
1298
|
-
var
|
|
1299
|
-
return
|
|
1298
|
+
var w = {};
|
|
1299
|
+
return w[n] = u, w[i] = u, oe.call(w, B, D.os), _ && !w[n] && F && F.platform && F.platform != "Unknown" && (w[n] = F.platform.replace(/chrome os/i, ze).replace(/macos/i, Le)), w;
|
|
1300
1300
|
}, this.getResult = function() {
|
|
1301
1301
|
return {
|
|
1302
1302
|
ua: this.getUA(),
|
|
@@ -1307,36 +1307,36 @@ var Se = { exports: {} };
|
|
|
1307
1307
|
cpu: this.getCPU()
|
|
1308
1308
|
};
|
|
1309
1309
|
}, this.getUA = function() {
|
|
1310
|
-
return
|
|
1311
|
-
}, this.setUA = function(
|
|
1312
|
-
return
|
|
1313
|
-
}, this.setUA(
|
|
1310
|
+
return B;
|
|
1311
|
+
}, this.setUA = function(w) {
|
|
1312
|
+
return B = typeof w === A && w.length > H ? _e(w, H) : w, this;
|
|
1313
|
+
}, this.setUA(B), this;
|
|
1314
1314
|
};
|
|
1315
|
-
L.VERSION = S, L.BROWSER = ce([n, i,
|
|
1316
|
-
var K = typeof
|
|
1315
|
+
L.VERSION = S, L.BROWSER = ce([n, i, N]), L.CPU = ce([E]), L.DEVICE = ce([t, o, e, p, r, s, l, f, V]), L.ENGINE = L.OS = ce([n, i]), a.exports && (C = a.exports = L), C.UAParser = L;
|
|
1316
|
+
var K = typeof d !== g && (d.jQuery || d.Zepto);
|
|
1317
1317
|
if (K && !K.ua) {
|
|
1318
|
-
var
|
|
1319
|
-
K.ua =
|
|
1320
|
-
return
|
|
1321
|
-
}, K.ua.set = function(
|
|
1322
|
-
|
|
1323
|
-
var
|
|
1324
|
-
for (var
|
|
1325
|
-
K.ua[
|
|
1318
|
+
var we = new L();
|
|
1319
|
+
K.ua = we.getResult(), K.ua.get = function() {
|
|
1320
|
+
return we.getUA();
|
|
1321
|
+
}, K.ua.set = function(h) {
|
|
1322
|
+
we.setUA(h);
|
|
1323
|
+
var x = we.getResult();
|
|
1324
|
+
for (var v in x)
|
|
1325
|
+
K.ua[v] = x[v];
|
|
1326
1326
|
};
|
|
1327
1327
|
}
|
|
1328
1328
|
})(typeof window == "object" ? window : dt);
|
|
1329
|
-
})(
|
|
1330
|
-
var ct =
|
|
1331
|
-
const
|
|
1329
|
+
})(Be, Be.exports);
|
|
1330
|
+
var ct = Be.exports;
|
|
1331
|
+
const wt = /* @__PURE__ */ ut(ct);
|
|
1332
1332
|
function Ke() {
|
|
1333
1333
|
if (window.webkit != null && window.webkit.messageHandlers !== "undefined")
|
|
1334
1334
|
try {
|
|
1335
|
-
var a =
|
|
1335
|
+
var a = wt(navigator.userAgent);
|
|
1336
1336
|
if (a.browser.name === "WebKit")
|
|
1337
1337
|
return "ios_webview";
|
|
1338
|
-
} catch (
|
|
1339
|
-
console.error(
|
|
1338
|
+
} catch (C) {
|
|
1339
|
+
console.error(C);
|
|
1340
1340
|
}
|
|
1341
1341
|
return typeof Android < "u" ? "android_webview" : typeof window.cefQuery < "u" ? "cef_webview" : "browser";
|
|
1342
1342
|
}
|
|
@@ -1346,15 +1346,15 @@ function Ye() {
|
|
|
1346
1346
|
function Ze() {
|
|
1347
1347
|
return Ke() === "android_webview";
|
|
1348
1348
|
}
|
|
1349
|
-
function
|
|
1349
|
+
function X() {
|
|
1350
1350
|
try {
|
|
1351
1351
|
return window.self !== window.top;
|
|
1352
1352
|
} catch {
|
|
1353
1353
|
return !0;
|
|
1354
1354
|
}
|
|
1355
1355
|
}
|
|
1356
|
-
const
|
|
1357
|
-
let ft = 0,
|
|
1356
|
+
const bt = 3e3;
|
|
1357
|
+
let ft = 0, fe = null;
|
|
1358
1358
|
function vt() {
|
|
1359
1359
|
return `req_${++ft}_${Date.now()}`;
|
|
1360
1360
|
}
|
|
@@ -1362,47 +1362,47 @@ function mt() {
|
|
|
1362
1362
|
return "APP_" + Math.random().toString(36).slice(2, 10);
|
|
1363
1363
|
}
|
|
1364
1364
|
function pt(a) {
|
|
1365
|
-
|
|
1365
|
+
fe = a;
|
|
1366
1366
|
}
|
|
1367
|
-
function
|
|
1368
|
-
return
|
|
1367
|
+
function Ae() {
|
|
1368
|
+
return fe || (fe = mt()), fe;
|
|
1369
1369
|
}
|
|
1370
1370
|
function G(a) {
|
|
1371
|
-
|
|
1371
|
+
X() && window.parent.postMessage({
|
|
1372
1372
|
...a,
|
|
1373
|
-
sender:
|
|
1373
|
+
sender: Ae(),
|
|
1374
1374
|
target: a.target || "DASHBOARD"
|
|
1375
1375
|
}, "*");
|
|
1376
1376
|
}
|
|
1377
|
-
function Je(a,
|
|
1378
|
-
return
|
|
1379
|
-
const
|
|
1380
|
-
window.removeEventListener("message",
|
|
1381
|
-
},
|
|
1382
|
-
function
|
|
1383
|
-
const
|
|
1384
|
-
(
|
|
1377
|
+
function Je(a, C) {
|
|
1378
|
+
return X() ? new Promise((d) => {
|
|
1379
|
+
const u = vt(), S = setTimeout(() => {
|
|
1380
|
+
window.removeEventListener("message", m), d(null);
|
|
1381
|
+
}, bt);
|
|
1382
|
+
function m(T) {
|
|
1383
|
+
const b = T.data;
|
|
1384
|
+
(b == null ? void 0 : b.type) === "DATA_RESPONSE" && (b == null ? void 0 : b.requestId) === u && (!b.target || b.target === Ae()) && (clearTimeout(S), window.removeEventListener("message", m), d(b.data ?? null));
|
|
1385
1385
|
}
|
|
1386
|
-
window.addEventListener("message",
|
|
1386
|
+
window.addEventListener("message", m), G({
|
|
1387
1387
|
type: "DATA_REQUEST",
|
|
1388
|
-
requestId:
|
|
1388
|
+
requestId: u,
|
|
1389
1389
|
source: a,
|
|
1390
|
-
key:
|
|
1390
|
+
key: C
|
|
1391
1391
|
});
|
|
1392
1392
|
}) : Promise.resolve(null);
|
|
1393
1393
|
}
|
|
1394
|
-
function
|
|
1394
|
+
function Ee(a) {
|
|
1395
1395
|
return Je("localStorage", a);
|
|
1396
1396
|
}
|
|
1397
|
-
function
|
|
1397
|
+
function yt(a) {
|
|
1398
1398
|
return Je("window", a);
|
|
1399
1399
|
}
|
|
1400
|
-
const W = (a,
|
|
1401
|
-
const
|
|
1402
|
-
for (const [
|
|
1403
|
-
|
|
1404
|
-
return
|
|
1405
|
-
},
|
|
1400
|
+
const W = (a, C) => {
|
|
1401
|
+
const d = a.__vccOpts || a;
|
|
1402
|
+
for (const [u, S] of C)
|
|
1403
|
+
d[u] = S;
|
|
1404
|
+
return d;
|
|
1405
|
+
}, gt = { class: "sky-header-container" }, ht = { class: "topmenubox" }, kt = { class: "header-left" }, xt = ["title"], _t = {
|
|
1406
1406
|
width: "15",
|
|
1407
1407
|
height: "15",
|
|
1408
1408
|
viewBox: "0 0 451.847 451.847",
|
|
@@ -1410,10 +1410,10 @@ const W = (a, O) => {
|
|
|
1410
1410
|
}, St = { class: "notPadding" }, Et = { class: "topmenu-title" }, Tt = {
|
|
1411
1411
|
key: 0,
|
|
1412
1412
|
class: "title-dropdown"
|
|
1413
|
-
}, Ot = { class: "title-dropdown-header" }, Bt = ["onClick"],
|
|
1413
|
+
}, Ot = { class: "title-dropdown-header" }, Bt = ["onClick"], Ct = { class: "pageName" }, At = { class: "pageVisit" }, Mt = {
|
|
1414
1414
|
key: 0,
|
|
1415
1415
|
class: "topmenu-description"
|
|
1416
|
-
}, Pt = { class: "topmenubox-button" },
|
|
1416
|
+
}, Pt = { class: "topmenubox-button" }, $t = {
|
|
1417
1417
|
__name: "Header",
|
|
1418
1418
|
props: {
|
|
1419
1419
|
title: {
|
|
@@ -1462,146 +1462,146 @@ const W = (a, O) => {
|
|
|
1462
1462
|
}
|
|
1463
1463
|
},
|
|
1464
1464
|
emits: ["back", "navigate"],
|
|
1465
|
-
setup(a, { emit:
|
|
1466
|
-
const
|
|
1467
|
-
pt(
|
|
1468
|
-
const
|
|
1469
|
-
|
|
1465
|
+
setup(a, { emit: C }) {
|
|
1466
|
+
const d = a;
|
|
1467
|
+
pt(d.appId || Ae());
|
|
1468
|
+
const u = C, S = P(null), m = P(!1), T = P([]), b = P({});
|
|
1469
|
+
X() && d.trackPageName && G({
|
|
1470
1470
|
type: "trackVisit",
|
|
1471
|
-
name:
|
|
1472
|
-
path:
|
|
1471
|
+
name: d.trackPageName,
|
|
1472
|
+
path: d.trackPagePath || `/${d.trackPageName}`
|
|
1473
1473
|
});
|
|
1474
1474
|
const g = P(null);
|
|
1475
|
-
|
|
1475
|
+
X() && Ee("rocketMode").then((s) => {
|
|
1476
1476
|
g.value = s, G({ type: "setRocketMode", value: !0 });
|
|
1477
|
-
}),
|
|
1478
|
-
|
|
1479
|
-
}),
|
|
1480
|
-
s != null && (
|
|
1477
|
+
}), ne(() => {
|
|
1478
|
+
p();
|
|
1479
|
+
}), X() && yt("lang").then((s) => {
|
|
1480
|
+
s != null && (b.value = s);
|
|
1481
1481
|
});
|
|
1482
|
-
function
|
|
1482
|
+
function O(s) {
|
|
1483
1483
|
try {
|
|
1484
1484
|
if (!s)
|
|
1485
1485
|
return;
|
|
1486
|
-
const
|
|
1487
|
-
|
|
1486
|
+
const f = typeof s == "string" ? JSON.parse(s) : s;
|
|
1487
|
+
f != null && f.pages && (T.value = Object.values(f.pages));
|
|
1488
1488
|
} catch {
|
|
1489
1489
|
}
|
|
1490
1490
|
}
|
|
1491
|
-
|
|
1492
|
-
s != null && (localStorage.setItem("componentStats", JSON.stringify(s)),
|
|
1491
|
+
O(localStorage.componentStats), X() && Ee("componentStats").then((s) => {
|
|
1492
|
+
s != null && (localStorage.setItem("componentStats", JSON.stringify(s)), O(s));
|
|
1493
1493
|
});
|
|
1494
|
-
const A =
|
|
1495
|
-
A.value.length && (
|
|
1496
|
-
},
|
|
1497
|
-
|
|
1494
|
+
const A = I(() => [...d.dropdownItems.length ? d.dropdownItems : T.value].sort((f, V) => V.lastVisit - f.lastVisit)), N = () => {
|
|
1495
|
+
A.value.length && (m.value = !m.value);
|
|
1496
|
+
}, t = () => {
|
|
1497
|
+
m.value = !1;
|
|
1498
1498
|
}, n = (s) => {
|
|
1499
|
-
|
|
1500
|
-
},
|
|
1499
|
+
u("navigate", s.path), X() && G({ type: "navigate", path: s.path }), t();
|
|
1500
|
+
}, e = (s) => {
|
|
1501
1501
|
if (!s)
|
|
1502
1502
|
return "";
|
|
1503
|
-
const
|
|
1504
|
-
return
|
|
1505
|
-
},
|
|
1506
|
-
const
|
|
1507
|
-
return
|
|
1503
|
+
const f = b.value[s] || s;
|
|
1504
|
+
return f.charAt(0).toUpperCase() + f.slice(1);
|
|
1505
|
+
}, o = (s) => {
|
|
1506
|
+
const V = Date.now() - s, H = Math.floor(V / 1e3), j = Math.floor(H / 60), R = Math.floor(j / 60), Z = Math.floor(R / 24);
|
|
1507
|
+
return Z > 0 ? `${Z}д тому` : R > 0 ? `${R}год тому` : j > 0 ? `${j}хв тому` : `${H}с тому`;
|
|
1508
1508
|
}, i = (s) => {
|
|
1509
|
-
S.value && !S.value.contains(s.target) &&
|
|
1509
|
+
S.value && !S.value.contains(s.target) && t();
|
|
1510
1510
|
};
|
|
1511
|
-
|
|
1511
|
+
ae(() => {
|
|
1512
1512
|
document.addEventListener("click", i, !0);
|
|
1513
|
-
}),
|
|
1513
|
+
}), ne(() => {
|
|
1514
1514
|
document.removeEventListener("click", i, !0);
|
|
1515
1515
|
});
|
|
1516
|
-
const
|
|
1516
|
+
const E = I(() => d.backEvent || d.showBackButton && X()), p = () => {
|
|
1517
1517
|
if (g.value !== null) {
|
|
1518
1518
|
const s = g.value === !0 || g.value === "true";
|
|
1519
1519
|
G({ type: "setRocketMode", value: s });
|
|
1520
1520
|
}
|
|
1521
|
-
},
|
|
1522
|
-
if (
|
|
1523
|
-
return
|
|
1524
|
-
let s =
|
|
1525
|
-
if (!s &&
|
|
1526
|
-
const
|
|
1527
|
-
|
|
1521
|
+
}, r = () => A.value.find((s) => s.name !== d.trackPageName && s.path), l = async () => {
|
|
1522
|
+
if (d.backEvent)
|
|
1523
|
+
return p(), d.backEvent();
|
|
1524
|
+
let s = r();
|
|
1525
|
+
if (!s && X()) {
|
|
1526
|
+
const f = await Ee("componentStats");
|
|
1527
|
+
f && (O(f), s = r());
|
|
1528
1528
|
}
|
|
1529
|
-
|
|
1529
|
+
p(), G(s ? { type: "navigate", path: s.path } : { type: "exit" });
|
|
1530
1530
|
};
|
|
1531
|
-
return (s,
|
|
1531
|
+
return (s, f) => (y(), k("header", gt, [
|
|
1532
1532
|
c("div", ht, [
|
|
1533
1533
|
c("div", kt, [
|
|
1534
|
-
|
|
1534
|
+
E.value ? (y(), k("button", {
|
|
1535
1535
|
key: 0,
|
|
1536
1536
|
class: "btn-back",
|
|
1537
|
-
onClick:
|
|
1537
|
+
onClick: l,
|
|
1538
1538
|
title: a.backButtonTitle
|
|
1539
1539
|
}, [
|
|
1540
|
-
(y(),
|
|
1540
|
+
(y(), k("svg", _t, [...f[0] || (f[0] = [
|
|
1541
1541
|
c("path", {
|
|
1542
1542
|
fill: "currentColor",
|
|
1543
1543
|
d: "M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"
|
|
1544
1544
|
}, null, -1)
|
|
1545
1545
|
])]))
|
|
1546
|
-
], 8, xt)) :
|
|
1546
|
+
], 8, xt)) : M("", !0),
|
|
1547
1547
|
c("div", {
|
|
1548
1548
|
ref_key: "dropdownRef",
|
|
1549
1549
|
ref: S,
|
|
1550
1550
|
class: "titleAndDesc"
|
|
1551
1551
|
}, [
|
|
1552
1552
|
c("button", {
|
|
1553
|
-
class:
|
|
1554
|
-
onClick:
|
|
1553
|
+
class: q(["title-dropdown-toggle", { "title-dropdown-toggle-active": A.value.length }]),
|
|
1554
|
+
onClick: N
|
|
1555
1555
|
}, [
|
|
1556
|
-
|
|
1556
|
+
z(s.$slots, "title", {}, () => [
|
|
1557
1557
|
c("h4", St, [
|
|
1558
|
-
c("span", Et,
|
|
1559
|
-
A.value.length ? (y(),
|
|
1558
|
+
c("span", Et, $(a.title), 1),
|
|
1559
|
+
A.value.length ? (y(), k("svg", {
|
|
1560
1560
|
key: 0,
|
|
1561
|
-
class:
|
|
1561
|
+
class: q(["arrow", { open: m.value }]),
|
|
1562
1562
|
width: "12",
|
|
1563
1563
|
height: "12",
|
|
1564
1564
|
viewBox: "0 0 451.847 451.847",
|
|
1565
1565
|
style: { "flex-shrink": "0" }
|
|
1566
|
-
}, [...
|
|
1566
|
+
}, [...f[1] || (f[1] = [
|
|
1567
1567
|
c("path", {
|
|
1568
1568
|
fill: "currentColor",
|
|
1569
1569
|
d: "M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"
|
|
1570
1570
|
}, null, -1)
|
|
1571
|
-
])], 2)) :
|
|
1571
|
+
])], 2)) : M("", !0)
|
|
1572
1572
|
])
|
|
1573
1573
|
], !0)
|
|
1574
1574
|
], 2),
|
|
1575
|
-
|
|
1576
|
-
c("div", Ot,
|
|
1577
|
-
|
|
1578
|
-
(y(!0),
|
|
1575
|
+
m.value && A.value.length ? (y(), k("div", Tt, [
|
|
1576
|
+
c("div", Ot, $(a.dropdownTitle), 1),
|
|
1577
|
+
f[2] || (f[2] = c("div", { class: "title-dropdown-divider" }, null, -1)),
|
|
1578
|
+
(y(!0), k(be, null, Te(A.value, (V, H) => (y(), k("div", {
|
|
1579
1579
|
key: H,
|
|
1580
1580
|
class: "title-dropdown-item",
|
|
1581
|
-
onClick: (
|
|
1581
|
+
onClick: (j) => n(V)
|
|
1582
1582
|
}, [
|
|
1583
|
-
c("p",
|
|
1584
|
-
c("small",
|
|
1583
|
+
c("p", Ct, $(e(V.name)), 1),
|
|
1584
|
+
c("small", At, " (" + $(a.visitLabel) + " " + $(o(V.lastVisit)) + ") ", 1)
|
|
1585
1585
|
], 8, Bt))), 128))
|
|
1586
|
-
])) :
|
|
1587
|
-
|
|
1588
|
-
a.subtitle ? (y(),
|
|
1586
|
+
])) : M("", !0),
|
|
1587
|
+
z(s.$slots, "subtitle", {}, () => [
|
|
1588
|
+
a.subtitle ? (y(), k("p", Mt, $(a.subtitle), 1)) : M("", !0)
|
|
1589
1589
|
], !0)
|
|
1590
1590
|
], 512)
|
|
1591
1591
|
]),
|
|
1592
1592
|
c("div", Pt, [
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1593
|
+
f[3] || (f[3] = c("div", null, null, -1)),
|
|
1594
|
+
z(s.$slots, "default", {}, void 0, !0),
|
|
1595
|
+
f[4] || (f[4] = c("div", null, null, -1))
|
|
1596
1596
|
])
|
|
1597
1597
|
])
|
|
1598
1598
|
]));
|
|
1599
1599
|
}
|
|
1600
|
-
},
|
|
1601
|
-
const
|
|
1600
|
+
}, yo = /* @__PURE__ */ W($t, [["__scopeId", "data-v-73761f6b"]]);
|
|
1601
|
+
const Nt = { class: "sky-dialog-overlay" }, Vt = {
|
|
1602
1602
|
key: 0,
|
|
1603
1603
|
class: "sky-dialog-subtitle"
|
|
1604
|
-
},
|
|
1604
|
+
}, It = ["title"], zt = {
|
|
1605
1605
|
key: 0,
|
|
1606
1606
|
class: "sky-dialog-swipe-area"
|
|
1607
1607
|
}, Lt = {
|
|
@@ -1640,74 +1640,74 @@ const It = { class: "sky-dialog-overlay" }, Vt = {
|
|
|
1640
1640
|
}
|
|
1641
1641
|
},
|
|
1642
1642
|
emits: ["update:modelValue", "close", "save"],
|
|
1643
|
-
setup(a, { emit:
|
|
1644
|
-
const
|
|
1643
|
+
setup(a, { emit: C }) {
|
|
1644
|
+
const d = He(), u = a, S = C, m = P(null), T = P(null), b = P(0), g = I(() => {
|
|
1645
1645
|
try {
|
|
1646
1646
|
return Ye();
|
|
1647
1647
|
} catch {
|
|
1648
1648
|
return !1;
|
|
1649
1649
|
}
|
|
1650
|
-
}),
|
|
1650
|
+
}), O = I(() => {
|
|
1651
1651
|
try {
|
|
1652
1652
|
return Ze();
|
|
1653
1653
|
} catch {
|
|
1654
1654
|
return !1;
|
|
1655
1655
|
}
|
|
1656
|
-
}), A =
|
|
1656
|
+
}), A = I(() => u.hasButtons !== null ? u.hasButtons : !!d.buttons), N = () => {
|
|
1657
1657
|
S("update:modelValue", !1), S("close");
|
|
1658
|
-
}, o = (i) => {
|
|
1659
|
-
i.key === "Escape" && l.closeOnEsc && l.modelValue && M(), i.key === "Enter" && l.modelValue && S("save");
|
|
1660
|
-
}, n = (i) => {
|
|
1661
|
-
i.touches[0].clientX < 35 && (d.value = i.touches[0].clientX);
|
|
1662
1658
|
}, t = (i) => {
|
|
1663
|
-
|
|
1664
|
-
},
|
|
1665
|
-
|
|
1659
|
+
i.key === "Escape" && u.closeOnEsc && u.modelValue && N(), i.key === "Enter" && u.modelValue && S("save");
|
|
1660
|
+
}, n = (i) => {
|
|
1661
|
+
i.touches[0].clientX < 35 && (b.value = i.touches[0].clientX);
|
|
1662
|
+
}, e = (i) => {
|
|
1663
|
+
b.value > 0 && b.value < 35 && i.changedTouches[0].clientX - b.value > 50 && N(), b.value = 0;
|
|
1664
|
+
}, o = () => {
|
|
1665
|
+
if (!(!O.value || !m.value))
|
|
1666
1666
|
try {
|
|
1667
1667
|
if (typeof Android < "u" && Android.getDisplayCutoutTop) {
|
|
1668
1668
|
const i = Android.getDisplayCutoutTop();
|
|
1669
1669
|
if (i && window.devicePixelRatio > 1) {
|
|
1670
|
-
const
|
|
1671
|
-
|
|
1670
|
+
const E = i / window.devicePixelRatio;
|
|
1671
|
+
m.value.style.paddingTop = E + "px";
|
|
1672
1672
|
}
|
|
1673
1673
|
}
|
|
1674
1674
|
} catch {
|
|
1675
1675
|
}
|
|
1676
1676
|
};
|
|
1677
|
-
return
|
|
1678
|
-
() =>
|
|
1677
|
+
return Ce(
|
|
1678
|
+
() => u.modelValue,
|
|
1679
1679
|
(i) => {
|
|
1680
1680
|
i ? (document.body.style.overflow = "hidden", Ge(() => {
|
|
1681
|
-
|
|
1681
|
+
o();
|
|
1682
1682
|
})) : document.body.style.overflow = "";
|
|
1683
1683
|
}
|
|
1684
|
-
),
|
|
1685
|
-
document.addEventListener("keydown",
|
|
1686
|
-
}),
|
|
1687
|
-
document.removeEventListener("keydown",
|
|
1688
|
-
}), (i,
|
|
1689
|
-
a.modelValue ? (y(),
|
|
1684
|
+
), ae(() => {
|
|
1685
|
+
document.addEventListener("keydown", t), window.addEventListener("resize", o);
|
|
1686
|
+
}), ne(() => {
|
|
1687
|
+
document.removeEventListener("keydown", t), window.removeEventListener("resize", o), document.body.style.overflow = "";
|
|
1688
|
+
}), (i, E) => (y(), Y(ve, { to: "body" }, [
|
|
1689
|
+
a.modelValue ? (y(), k("div", {
|
|
1690
1690
|
key: 0,
|
|
1691
1691
|
class: "sky-dialogbox sky-dialogbox-classic",
|
|
1692
|
-
style:
|
|
1692
|
+
style: me([a.zIndex ? { "z-index": a.zIndex } : null])
|
|
1693
1693
|
}, [
|
|
1694
|
-
c("div",
|
|
1694
|
+
c("div", Nt, [
|
|
1695
1695
|
c("div", {
|
|
1696
1696
|
ref_key: "dialogContent",
|
|
1697
|
-
ref:
|
|
1697
|
+
ref: m,
|
|
1698
1698
|
class: "sky-dialog-content"
|
|
1699
1699
|
}, [
|
|
1700
1700
|
c("div", {
|
|
1701
|
-
class:
|
|
1701
|
+
class: q(["sky-dialog-title", { "sky-dialog-title-with-subtitle": a.subtitle }])
|
|
1702
1702
|
}, [
|
|
1703
|
-
We(
|
|
1704
|
-
a.subtitle ? (y(),
|
|
1703
|
+
We($(a.title) + " ", 1),
|
|
1704
|
+
a.subtitle ? (y(), k("span", Vt, $(a.subtitle), 1)) : M("", !0)
|
|
1705
1705
|
], 2),
|
|
1706
1706
|
c("button", {
|
|
1707
1707
|
class: "sky-dialog-close",
|
|
1708
1708
|
title: a.closeText,
|
|
1709
|
-
onClick:
|
|
1710
|
-
}, [...
|
|
1709
|
+
onClick: N
|
|
1710
|
+
}, [...E[0] || (E[0] = [
|
|
1711
1711
|
c("svg", {
|
|
1712
1712
|
viewBox: "0 0 16 16",
|
|
1713
1713
|
width: "16",
|
|
@@ -1730,27 +1730,27 @@ const It = { class: "sky-dialog-overlay" }, Vt = {
|
|
|
1730
1730
|
"stroke-width": "2"
|
|
1731
1731
|
})
|
|
1732
1732
|
], -1)
|
|
1733
|
-
])], 8,
|
|
1734
|
-
|
|
1733
|
+
])], 8, It),
|
|
1734
|
+
E[1] || (E[1] = c("div", { class: "sky-dialog-clearfix" }, null, -1)),
|
|
1735
1735
|
c("div", {
|
|
1736
1736
|
ref_key: "dialogPaper",
|
|
1737
1737
|
ref: T,
|
|
1738
|
-
class:
|
|
1738
|
+
class: q(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !A.value }]),
|
|
1739
1739
|
onTouchstart: n,
|
|
1740
|
-
onTouchend:
|
|
1740
|
+
onTouchend: e
|
|
1741
1741
|
}, [
|
|
1742
|
-
g.value ? (y(),
|
|
1743
|
-
|
|
1742
|
+
g.value ? (y(), k("div", zt)) : M("", !0),
|
|
1743
|
+
z(i.$slots, "default", {}, void 0, !0)
|
|
1744
1744
|
], 34),
|
|
1745
|
-
A.value ? (y(),
|
|
1746
|
-
|
|
1747
|
-
])) :
|
|
1745
|
+
A.value ? (y(), k("div", Lt, [
|
|
1746
|
+
z(i.$slots, "buttons", {}, void 0, !0)
|
|
1747
|
+
])) : M("", !0)
|
|
1748
1748
|
], 512)
|
|
1749
1749
|
])
|
|
1750
|
-
], 4)) :
|
|
1750
|
+
], 4)) : M("", !0)
|
|
1751
1751
|
]));
|
|
1752
1752
|
}
|
|
1753
|
-
},
|
|
1753
|
+
}, Fe = /* @__PURE__ */ W(Rt, [["__scopeId", "data-v-d76f070e"]]);
|
|
1754
1754
|
const Dt = { class: "sky-dialog-overlay" }, Ut = { class: "sky-dialog-header" }, qt = ["title"], jt = {
|
|
1755
1755
|
width: "15",
|
|
1756
1756
|
height: "15",
|
|
@@ -1798,70 +1798,70 @@ const Dt = { class: "sky-dialog-overlay" }, Ut = { class: "sky-dialog-header" },
|
|
|
1798
1798
|
}
|
|
1799
1799
|
},
|
|
1800
1800
|
emits: ["update:modelValue", "close", "save"],
|
|
1801
|
-
setup(a, { emit:
|
|
1802
|
-
const
|
|
1801
|
+
setup(a, { emit: C }) {
|
|
1802
|
+
const d = He(), u = a, S = C, m = P(null), T = P(null), b = P(0), g = I(() => {
|
|
1803
1803
|
try {
|
|
1804
1804
|
return Ye();
|
|
1805
1805
|
} catch {
|
|
1806
1806
|
return !1;
|
|
1807
1807
|
}
|
|
1808
|
-
}),
|
|
1808
|
+
}), O = I(() => {
|
|
1809
1809
|
try {
|
|
1810
1810
|
return Ze();
|
|
1811
1811
|
} catch {
|
|
1812
1812
|
return !1;
|
|
1813
1813
|
}
|
|
1814
|
-
}), A =
|
|
1814
|
+
}), A = I(() => u.hasButtons !== null ? u.hasButtons : !!d.buttons), N = () => {
|
|
1815
1815
|
S("update:modelValue", !1), S("close");
|
|
1816
|
-
}, o = (i) => {
|
|
1817
|
-
i.key === "Escape" && l.closeOnEsc && l.modelValue && M(), i.key === "Enter" && l.modelValue && S("save");
|
|
1818
|
-
}, n = (i) => {
|
|
1819
|
-
i.touches[0].clientX < 35 && (d.value = i.touches[0].clientX);
|
|
1820
1816
|
}, t = (i) => {
|
|
1821
|
-
|
|
1822
|
-
},
|
|
1823
|
-
|
|
1817
|
+
i.key === "Escape" && u.closeOnEsc && u.modelValue && N(), i.key === "Enter" && u.modelValue && S("save");
|
|
1818
|
+
}, n = (i) => {
|
|
1819
|
+
i.touches[0].clientX < 35 && (b.value = i.touches[0].clientX);
|
|
1820
|
+
}, e = (i) => {
|
|
1821
|
+
b.value > 0 && b.value < 35 && i.changedTouches[0].clientX - b.value > 50 && N(), b.value = 0;
|
|
1822
|
+
}, o = () => {
|
|
1823
|
+
if (!(!O.value || !m.value))
|
|
1824
1824
|
try {
|
|
1825
1825
|
if (typeof Android < "u" && Android.getDisplayCutoutTop) {
|
|
1826
1826
|
const i = Android.getDisplayCutoutTop();
|
|
1827
1827
|
if (i && window.devicePixelRatio > 1) {
|
|
1828
|
-
const
|
|
1829
|
-
|
|
1828
|
+
const E = i / window.devicePixelRatio;
|
|
1829
|
+
m.value.style.paddingTop = E + "px";
|
|
1830
1830
|
}
|
|
1831
1831
|
}
|
|
1832
1832
|
} catch {
|
|
1833
1833
|
}
|
|
1834
1834
|
};
|
|
1835
|
-
return
|
|
1836
|
-
() =>
|
|
1835
|
+
return Ce(
|
|
1836
|
+
() => u.modelValue,
|
|
1837
1837
|
(i) => {
|
|
1838
1838
|
i ? (document.body.style.overflow = "hidden", Ge(() => {
|
|
1839
|
-
|
|
1839
|
+
o();
|
|
1840
1840
|
})) : document.body.style.overflow = "";
|
|
1841
1841
|
}
|
|
1842
|
-
),
|
|
1843
|
-
document.addEventListener("keydown",
|
|
1844
|
-
}),
|
|
1845
|
-
document.removeEventListener("keydown",
|
|
1846
|
-
}), (i,
|
|
1847
|
-
a.modelValue ? (y(),
|
|
1842
|
+
), ae(() => {
|
|
1843
|
+
document.addEventListener("keydown", t), window.addEventListener("resize", o);
|
|
1844
|
+
}), ne(() => {
|
|
1845
|
+
document.removeEventListener("keydown", t), window.removeEventListener("resize", o), document.body.style.overflow = "";
|
|
1846
|
+
}), (i, E) => (y(), Y(ve, { to: "body" }, [
|
|
1847
|
+
a.modelValue ? (y(), k("div", {
|
|
1848
1848
|
key: 0,
|
|
1849
1849
|
class: "sky-dialogbox sky-dialogbox-next",
|
|
1850
|
-
style:
|
|
1850
|
+
style: me([a.zIndex ? { "z-index": a.zIndex } : null])
|
|
1851
1851
|
}, [
|
|
1852
1852
|
c("div", Dt, [
|
|
1853
1853
|
c("div", {
|
|
1854
1854
|
ref_key: "dialogContent",
|
|
1855
|
-
ref:
|
|
1855
|
+
ref: m,
|
|
1856
1856
|
class: "sky-dialog-content"
|
|
1857
1857
|
}, [
|
|
1858
1858
|
c("div", Ut, [
|
|
1859
1859
|
c("button", {
|
|
1860
1860
|
class: "sky-dialog-back",
|
|
1861
1861
|
title: a.closeText,
|
|
1862
|
-
onClick:
|
|
1862
|
+
onClick: N
|
|
1863
1863
|
}, [
|
|
1864
|
-
(y(),
|
|
1864
|
+
(y(), k("svg", jt, [...E[0] || (E[0] = [
|
|
1865
1865
|
c("path", {
|
|
1866
1866
|
fill: "currentColor",
|
|
1867
1867
|
d: "M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"
|
|
@@ -1869,31 +1869,31 @@ const Dt = { class: "sky-dialog-overlay" }, Ut = { class: "sky-dialog-header" },
|
|
|
1869
1869
|
])]))
|
|
1870
1870
|
], 8, qt),
|
|
1871
1871
|
c("div", {
|
|
1872
|
-
class:
|
|
1872
|
+
class: q(["sky-dialog-title", { "sky-dialog-title-with-subtitle": a.subtitle }])
|
|
1873
1873
|
}, [
|
|
1874
|
-
We(
|
|
1875
|
-
a.subtitle ? (y(),
|
|
1874
|
+
We($(a.title) + " ", 1),
|
|
1875
|
+
a.subtitle ? (y(), k("span", Ft, $(a.subtitle), 1)) : M("", !0)
|
|
1876
1876
|
], 2)
|
|
1877
1877
|
]),
|
|
1878
1878
|
c("div", {
|
|
1879
1879
|
ref_key: "dialogPaper",
|
|
1880
1880
|
ref: T,
|
|
1881
|
-
class:
|
|
1881
|
+
class: q(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !A.value }]),
|
|
1882
1882
|
onTouchstart: n,
|
|
1883
|
-
onTouchend:
|
|
1883
|
+
onTouchend: e
|
|
1884
1884
|
}, [
|
|
1885
|
-
g.value ? (y(),
|
|
1886
|
-
|
|
1885
|
+
g.value ? (y(), k("div", Xt)) : M("", !0),
|
|
1886
|
+
z(i.$slots, "default", {}, void 0, !0)
|
|
1887
1887
|
], 34),
|
|
1888
|
-
A.value ? (y(),
|
|
1889
|
-
|
|
1890
|
-
])) :
|
|
1888
|
+
A.value ? (y(), k("div", Ht, [
|
|
1889
|
+
z(i.$slots, "buttons", {}, void 0, !0)
|
|
1890
|
+
])) : M("", !0)
|
|
1891
1891
|
], 512)
|
|
1892
1892
|
])
|
|
1893
|
-
], 4)) :
|
|
1893
|
+
], 4)) : M("", !0)
|
|
1894
1894
|
]));
|
|
1895
1895
|
}
|
|
1896
|
-
},
|
|
1896
|
+
}, Xe = /* @__PURE__ */ W(Gt, [["__scopeId", "data-v-8e144f41"]]), go = {
|
|
1897
1897
|
__name: "Dialog",
|
|
1898
1898
|
props: {
|
|
1899
1899
|
modelValue: {
|
|
@@ -1929,40 +1929,40 @@ const Dt = { class: "sky-dialog-overlay" }, Ut = { class: "sky-dialog-header" },
|
|
|
1929
1929
|
}
|
|
1930
1930
|
},
|
|
1931
1931
|
emits: ["update:modelValue", "close", "save"],
|
|
1932
|
-
setup(a, { emit:
|
|
1933
|
-
const
|
|
1934
|
-
get: () =>
|
|
1935
|
-
set: (
|
|
1936
|
-
}),
|
|
1937
|
-
|
|
1932
|
+
setup(a, { emit: C }) {
|
|
1933
|
+
const d = a, u = C, S = I({
|
|
1934
|
+
get: () => d.modelValue,
|
|
1935
|
+
set: (b) => u("update:modelValue", b)
|
|
1936
|
+
}), m = P(!0);
|
|
1937
|
+
ae(() => {
|
|
1938
1938
|
try {
|
|
1939
|
-
new URLSearchParams(window.location.search).get("rocketMode") === "false" ?
|
|
1939
|
+
new URLSearchParams(window.location.search).get("rocketMode") === "false" ? m.value = !1 : m.value = !0;
|
|
1940
1940
|
} catch {
|
|
1941
|
-
|
|
1941
|
+
m.value = !0;
|
|
1942
1942
|
}
|
|
1943
1943
|
});
|
|
1944
|
-
const T =
|
|
1945
|
-
return (
|
|
1944
|
+
const T = I(() => d.mode === "next" ? Xe : d.mode === "classic" ? Fe : m.value ? Xe : Fe);
|
|
1945
|
+
return (b, g) => (y(), Y(nt(T.value), {
|
|
1946
1946
|
modelValue: S.value,
|
|
1947
|
-
"onUpdate:modelValue": g[0] || (g[0] = (
|
|
1947
|
+
"onUpdate:modelValue": g[0] || (g[0] = (O) => S.value = O),
|
|
1948
1948
|
title: a.title,
|
|
1949
1949
|
subtitle: a.subtitle,
|
|
1950
1950
|
"z-index": a.zIndex,
|
|
1951
1951
|
"close-text": a.closeText,
|
|
1952
1952
|
"close-on-esc": a.closeOnEsc,
|
|
1953
|
-
"has-buttons": !!
|
|
1954
|
-
onClose: g[1] || (g[1] = (
|
|
1955
|
-
onSave: g[2] || (g[2] = (
|
|
1953
|
+
"has-buttons": !!b.$slots.buttons,
|
|
1954
|
+
onClose: g[1] || (g[1] = (O) => b.$emit("close")),
|
|
1955
|
+
onSave: g[2] || (g[2] = (O) => b.$emit("save"))
|
|
1956
1956
|
}, at({
|
|
1957
|
-
default:
|
|
1958
|
-
|
|
1957
|
+
default: Oe(() => [
|
|
1958
|
+
z(b.$slots, "default")
|
|
1959
1959
|
]),
|
|
1960
1960
|
_: 2
|
|
1961
1961
|
}, [
|
|
1962
|
-
|
|
1962
|
+
b.$slots.buttons ? {
|
|
1963
1963
|
name: "buttons",
|
|
1964
|
-
fn:
|
|
1965
|
-
|
|
1964
|
+
fn: Oe(() => [
|
|
1965
|
+
z(b.$slots, "buttons")
|
|
1966
1966
|
]),
|
|
1967
1967
|
key: "0"
|
|
1968
1968
|
} : void 0
|
|
@@ -1976,9 +1976,9 @@ const Dt = { class: "sky-dialog-overlay" }, Ut = { class: "sky-dialog-header" },
|
|
|
1976
1976
|
}
|
|
1977
1977
|
}
|
|
1978
1978
|
};
|
|
1979
|
-
function Kt(a,
|
|
1980
|
-
return y(),
|
|
1981
|
-
|
|
1979
|
+
function Kt(a, C, d, u, S, m) {
|
|
1980
|
+
return y(), Y(ve, { to: d.to }, [
|
|
1981
|
+
z(a.$slots, "default")
|
|
1982
1982
|
], 8, ["to"]);
|
|
1983
1983
|
}
|
|
1984
1984
|
const Yt = /* @__PURE__ */ W(Wt, [["render", Kt]]);
|
|
@@ -2030,44 +2030,44 @@ const Zt = { class: "sky-modal-header" }, Jt = ["title"], Qt = {
|
|
|
2030
2030
|
}
|
|
2031
2031
|
},
|
|
2032
2032
|
emits: ["update:modelValue", "close"],
|
|
2033
|
-
setup(a, { emit:
|
|
2034
|
-
const
|
|
2035
|
-
width:
|
|
2036
|
-
height:
|
|
2037
|
-
})),
|
|
2038
|
-
|
|
2033
|
+
setup(a, { emit: C }) {
|
|
2034
|
+
const d = a, u = C, S = I(() => ({
|
|
2035
|
+
width: d.width,
|
|
2036
|
+
height: d.height
|
|
2037
|
+
})), m = () => {
|
|
2038
|
+
u("update:modelValue", !1), u("close");
|
|
2039
2039
|
}, T = () => {
|
|
2040
|
-
|
|
2041
|
-
},
|
|
2042
|
-
g.key === "Escape" &&
|
|
2040
|
+
d.closeOnOverlay && m();
|
|
2041
|
+
}, b = (g) => {
|
|
2042
|
+
g.key === "Escape" && d.closeOnEsc && d.modelValue && m();
|
|
2043
2043
|
};
|
|
2044
|
-
return
|
|
2045
|
-
() =>
|
|
2044
|
+
return Ce(
|
|
2045
|
+
() => d.modelValue,
|
|
2046
2046
|
(g) => {
|
|
2047
2047
|
g ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
|
|
2048
2048
|
}
|
|
2049
|
-
),
|
|
2050
|
-
document.addEventListener("keydown",
|
|
2051
|
-
}),
|
|
2052
|
-
document.removeEventListener("keydown",
|
|
2053
|
-
}), (g,
|
|
2054
|
-
default:
|
|
2055
|
-
a.modelValue ? (y(),
|
|
2049
|
+
), ae(() => {
|
|
2050
|
+
document.addEventListener("keydown", b);
|
|
2051
|
+
}), ne(() => {
|
|
2052
|
+
document.removeEventListener("keydown", b), document.body.style.overflow = "";
|
|
2053
|
+
}), (g, O) => (y(), Y(Yt, { to: "body" }, {
|
|
2054
|
+
default: Oe(() => [
|
|
2055
|
+
a.modelValue ? (y(), k("div", {
|
|
2056
2056
|
key: 0,
|
|
2057
2057
|
class: "sky-modal-overlay",
|
|
2058
2058
|
onClick: st(T, ["self"])
|
|
2059
2059
|
}, [
|
|
2060
2060
|
c("div", {
|
|
2061
2061
|
class: "sky-modal",
|
|
2062
|
-
style:
|
|
2062
|
+
style: me(S.value)
|
|
2063
2063
|
}, [
|
|
2064
2064
|
c("div", Zt, [
|
|
2065
2065
|
c("button", {
|
|
2066
2066
|
class: "sky-modal-back",
|
|
2067
|
-
onClick:
|
|
2067
|
+
onClick: m,
|
|
2068
2068
|
title: a.closeTitle
|
|
2069
2069
|
}, [
|
|
2070
|
-
(y(),
|
|
2070
|
+
(y(), k("svg", Qt, [...O[0] || (O[0] = [
|
|
2071
2071
|
c("path", {
|
|
2072
2072
|
fill: "currentColor",
|
|
2073
2073
|
d: "M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"
|
|
@@ -2075,25 +2075,25 @@ const Zt = { class: "sky-modal-header" }, Jt = ["title"], Qt = {
|
|
|
2075
2075
|
])]))
|
|
2076
2076
|
], 8, Jt),
|
|
2077
2077
|
c("div", eo, [
|
|
2078
|
-
c("h4", to,
|
|
2079
|
-
a.subtitle ? (y(),
|
|
2078
|
+
c("h4", to, $(a.title), 1),
|
|
2079
|
+
a.subtitle ? (y(), k("div", oo, $(a.subtitle), 1)) : M("", !0)
|
|
2080
2080
|
])
|
|
2081
2081
|
]),
|
|
2082
2082
|
c("div", io, [
|
|
2083
|
-
|
|
2083
|
+
z(g.$slots, "default", {}, void 0, !0)
|
|
2084
2084
|
]),
|
|
2085
|
-
g.$slots.footer ? (y(),
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
])) :
|
|
2085
|
+
g.$slots.footer ? (y(), k("div", no, [
|
|
2086
|
+
O[1] || (O[1] = c("div", null, null, -1)),
|
|
2087
|
+
z(g.$slots, "footer", {}, void 0, !0),
|
|
2088
|
+
O[2] || (O[2] = c("div", null, null, -1))
|
|
2089
|
+
])) : M("", !0)
|
|
2090
2090
|
], 4)
|
|
2091
|
-
])) :
|
|
2091
|
+
])) : M("", !0)
|
|
2092
2092
|
]),
|
|
2093
2093
|
_: 3
|
|
2094
2094
|
}));
|
|
2095
2095
|
}
|
|
2096
|
-
},
|
|
2096
|
+
}, ho = /* @__PURE__ */ W(ao, [["__scopeId", "data-v-f18e26e2"]]);
|
|
2097
2097
|
const so = ["disabled"], lo = {
|
|
2098
2098
|
key: 0,
|
|
2099
2099
|
class: "sky-btn-spinner"
|
|
@@ -2123,7 +2123,7 @@ const so = ["disabled"], lo = {
|
|
|
2123
2123
|
}
|
|
2124
2124
|
},
|
|
2125
2125
|
setup(a) {
|
|
2126
|
-
return (
|
|
2126
|
+
return (C, d) => (y(), k("button", lt({
|
|
2127
2127
|
class: ["sky-btn", [
|
|
2128
2128
|
`sky-btn-${a.variant}`,
|
|
2129
2129
|
{
|
|
@@ -2133,22 +2133,28 @@ const so = ["disabled"], lo = {
|
|
|
2133
2133
|
}
|
|
2134
2134
|
]],
|
|
2135
2135
|
disabled: a.disabled || a.loading
|
|
2136
|
-
},
|
|
2137
|
-
a.loading ? (y(),
|
|
2138
|
-
|
|
2136
|
+
}, C.$attrs), [
|
|
2137
|
+
a.loading ? (y(), k("span", lo)) : M("", !0),
|
|
2138
|
+
z(C.$slots, "default", {}, void 0, !0)
|
|
2139
2139
|
], 16, so));
|
|
2140
2140
|
}
|
|
2141
|
-
},
|
|
2142
|
-
const uo = ["disabled"], co = {
|
|
2141
|
+
}, ko = /* @__PURE__ */ W(ro, [["__scopeId", "data-v-80ecfdac"]]);
|
|
2142
|
+
const uo = ["disabled"], co = ["onClick", "onMouseenter"], wo = {
|
|
2143
2143
|
key: 0,
|
|
2144
|
+
class: "sky-select-check",
|
|
2145
|
+
viewBox: "0 0 16 16",
|
|
2146
|
+
fill: "none",
|
|
2147
|
+
"aria-hidden": "true"
|
|
2148
|
+
}, bo = {
|
|
2149
|
+
key: 1,
|
|
2144
2150
|
class: "sky-select-dropdown"
|
|
2145
|
-
},
|
|
2151
|
+
}, fo = ["onClick", "onMouseenter"], vo = {
|
|
2146
2152
|
key: 0,
|
|
2147
2153
|
class: "sky-select-check",
|
|
2148
2154
|
viewBox: "0 0 16 16",
|
|
2149
2155
|
fill: "none",
|
|
2150
2156
|
"aria-hidden": "true"
|
|
2151
|
-
},
|
|
2157
|
+
}, mo = {
|
|
2152
2158
|
__name: "SkySelect",
|
|
2153
2159
|
props: {
|
|
2154
2160
|
modelValue: {
|
|
@@ -2169,48 +2175,72 @@ const uo = ["disabled"], co = {
|
|
|
2169
2175
|
block: {
|
|
2170
2176
|
type: Boolean,
|
|
2171
2177
|
default: !1
|
|
2178
|
+
},
|
|
2179
|
+
teleport: {
|
|
2180
|
+
type: Boolean,
|
|
2181
|
+
default: !1
|
|
2172
2182
|
}
|
|
2173
2183
|
},
|
|
2174
2184
|
emits: ["update:modelValue"],
|
|
2175
|
-
setup(a, { emit:
|
|
2176
|
-
const
|
|
2177
|
-
() =>
|
|
2178
|
-
(
|
|
2185
|
+
setup(a, { emit: C }) {
|
|
2186
|
+
const d = a, u = C, S = P(null), m = P(!1), T = P(-1), b = P({}), g = I(
|
|
2187
|
+
() => d.options.map(
|
|
2188
|
+
(p) => typeof p == "string" ? { label: p, value: p } : p
|
|
2179
2189
|
)
|
|
2180
|
-
),
|
|
2181
|
-
() =>
|
|
2190
|
+
), O = I(
|
|
2191
|
+
() => g.value.find((p) => p.value === d.modelValue) ?? null
|
|
2182
2192
|
);
|
|
2183
|
-
function B() {
|
|
2184
|
-
r.disabled || (v.value ? M() : A());
|
|
2185
|
-
}
|
|
2186
2193
|
function A() {
|
|
2187
|
-
|
|
2194
|
+
if (!d.teleport || !S.value)
|
|
2195
|
+
return;
|
|
2196
|
+
const p = S.value.getBoundingClientRect();
|
|
2197
|
+
b.value = {
|
|
2198
|
+
position: "fixed",
|
|
2199
|
+
top: `${p.bottom + 4}px`,
|
|
2200
|
+
left: `${p.left}px`,
|
|
2201
|
+
width: `${p.width}px`,
|
|
2202
|
+
zIndex: "var(--sky-select-dropdown-z-index, 9999)"
|
|
2203
|
+
};
|
|
2204
|
+
}
|
|
2205
|
+
function N() {
|
|
2206
|
+
d.disabled || (m.value ? n() : t());
|
|
2188
2207
|
}
|
|
2189
|
-
function
|
|
2190
|
-
|
|
2208
|
+
function t() {
|
|
2209
|
+
m.value = !0, T.value = g.value.findIndex(
|
|
2210
|
+
(p) => p.value === d.modelValue
|
|
2211
|
+
), A(), document.addEventListener("mousedown", o), d.teleport && (window.addEventListener("scroll", i, !0), window.addEventListener("resize", i));
|
|
2191
2212
|
}
|
|
2192
|
-
function
|
|
2193
|
-
|
|
2213
|
+
function n() {
|
|
2214
|
+
m.value = !1, document.removeEventListener("mousedown", o), window.removeEventListener("scroll", i, !0), window.removeEventListener("resize", i);
|
|
2194
2215
|
}
|
|
2195
|
-
function
|
|
2196
|
-
|
|
2197
|
-
(i = S.value) != null && i.contains(e.target) || M();
|
|
2216
|
+
function e(p) {
|
|
2217
|
+
u("update:modelValue", p.value), n();
|
|
2198
2218
|
}
|
|
2199
|
-
function
|
|
2200
|
-
|
|
2201
|
-
|
|
2219
|
+
function o(p) {
|
|
2220
|
+
var r;
|
|
2221
|
+
(r = S.value) != null && r.contains(p.target) || n();
|
|
2222
|
+
}
|
|
2223
|
+
function i() {
|
|
2224
|
+
A();
|
|
2225
|
+
}
|
|
2226
|
+
function E(p) {
|
|
2227
|
+
if (!m.value) {
|
|
2228
|
+
(p.key === "Enter" || p.key === " ") && (p.preventDefault(), t());
|
|
2202
2229
|
return;
|
|
2203
2230
|
}
|
|
2204
|
-
|
|
2231
|
+
p.key === "Escape" ? n() : p.key === "ArrowDown" ? (p.preventDefault(), T.value = Math.min(
|
|
2232
|
+
T.value + 1,
|
|
2233
|
+
g.value.length - 1
|
|
2234
|
+
)) : p.key === "ArrowUp" ? (p.preventDefault(), T.value = Math.max(T.value - 1, 0)) : p.key === "Enter" && (p.preventDefault(), T.value >= 0 && e(g.value[T.value]));
|
|
2205
2235
|
}
|
|
2206
2236
|
return rt(() => {
|
|
2207
|
-
document.removeEventListener("mousedown",
|
|
2208
|
-
}), (
|
|
2237
|
+
document.removeEventListener("mousedown", o), window.removeEventListener("scroll", i, !0), window.removeEventListener("resize", i);
|
|
2238
|
+
}), (p, r) => (y(), k("div", {
|
|
2209
2239
|
ref_key: "root",
|
|
2210
2240
|
ref: S,
|
|
2211
|
-
class:
|
|
2241
|
+
class: q(["sky-select", {
|
|
2212
2242
|
"sky-select-block": a.block,
|
|
2213
|
-
"sky-select-open":
|
|
2243
|
+
"sky-select-open": m.value,
|
|
2214
2244
|
"sky-select-disabled": a.disabled
|
|
2215
2245
|
}])
|
|
2216
2246
|
}, [
|
|
@@ -2218,13 +2248,13 @@ const uo = ["disabled"], co = {
|
|
|
2218
2248
|
type: "button",
|
|
2219
2249
|
class: "sky-select-trigger",
|
|
2220
2250
|
disabled: a.disabled,
|
|
2221
|
-
onClick:
|
|
2222
|
-
onKeydown:
|
|
2251
|
+
onClick: N,
|
|
2252
|
+
onKeydown: E
|
|
2223
2253
|
}, [
|
|
2224
2254
|
c("span", {
|
|
2225
|
-
class:
|
|
2226
|
-
},
|
|
2227
|
-
|
|
2255
|
+
class: q(["sky-select-value", { "sky-select-placeholder": O.value === null }])
|
|
2256
|
+
}, $(O.value ? O.value.label : a.placeholder), 3),
|
|
2257
|
+
r[0] || (r[0] = c("svg", {
|
|
2228
2258
|
class: "sky-select-chevron",
|
|
2229
2259
|
viewBox: "0 0 16 16",
|
|
2230
2260
|
fill: "none",
|
|
@@ -2239,36 +2269,67 @@ const uo = ["disabled"], co = {
|
|
|
2239
2269
|
})
|
|
2240
2270
|
], -1))
|
|
2241
2271
|
], 40, uo),
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
key:
|
|
2245
|
-
|
|
2246
|
-
"sky-select-option-selected": h.value === a.modelValue,
|
|
2247
|
-
"sky-select-option-focused": z === T.value
|
|
2248
|
-
}]),
|
|
2249
|
-
onClick: (u) => o(h),
|
|
2250
|
-
onMouseenter: (u) => T.value = z
|
|
2272
|
+
m.value ? (y(), k(be, { key: 0 }, [
|
|
2273
|
+
a.teleport ? (y(), Y(ve, {
|
|
2274
|
+
key: 0,
|
|
2275
|
+
to: "body"
|
|
2251
2276
|
}, [
|
|
2252
|
-
c("
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2277
|
+
c("div", {
|
|
2278
|
+
class: "sky-select-dropdown sky-select-dropdown-teleported",
|
|
2279
|
+
style: me(b.value)
|
|
2280
|
+
}, [
|
|
2281
|
+
(y(!0), k(be, null, Te(g.value, (l, s) => (y(), k("div", {
|
|
2282
|
+
key: l.value,
|
|
2283
|
+
class: q(["sky-select-option", {
|
|
2284
|
+
"sky-select-option-selected": l.value === a.modelValue,
|
|
2285
|
+
"sky-select-option-focused": s === T.value
|
|
2286
|
+
}]),
|
|
2287
|
+
onClick: (f) => e(l),
|
|
2288
|
+
onMouseenter: (f) => T.value = s
|
|
2289
|
+
}, [
|
|
2290
|
+
c("span", null, $(l.label), 1),
|
|
2291
|
+
l.value === a.modelValue ? (y(), k("svg", wo, [...r[1] || (r[1] = [
|
|
2292
|
+
c("path", {
|
|
2293
|
+
d: "M3 8l4 4 6-6",
|
|
2294
|
+
stroke: "currentColor",
|
|
2295
|
+
"stroke-width": "1.5",
|
|
2296
|
+
"stroke-linecap": "round",
|
|
2297
|
+
"stroke-linejoin": "round"
|
|
2298
|
+
}, null, -1)
|
|
2299
|
+
])])) : M("", !0)
|
|
2300
|
+
], 42, co))), 128))
|
|
2301
|
+
], 4)
|
|
2302
|
+
])) : (y(), k("div", bo, [
|
|
2303
|
+
(y(!0), k(be, null, Te(g.value, (l, s) => (y(), k("div", {
|
|
2304
|
+
key: l.value,
|
|
2305
|
+
class: q(["sky-select-option", {
|
|
2306
|
+
"sky-select-option-selected": l.value === a.modelValue,
|
|
2307
|
+
"sky-select-option-focused": s === T.value
|
|
2308
|
+
}]),
|
|
2309
|
+
onClick: (f) => e(l),
|
|
2310
|
+
onMouseenter: (f) => T.value = s
|
|
2311
|
+
}, [
|
|
2312
|
+
c("span", null, $(l.label), 1),
|
|
2313
|
+
l.value === a.modelValue ? (y(), k("svg", vo, [...r[2] || (r[2] = [
|
|
2314
|
+
c("path", {
|
|
2315
|
+
d: "M3 8l4 4 6-6",
|
|
2316
|
+
stroke: "currentColor",
|
|
2317
|
+
"stroke-width": "1.5",
|
|
2318
|
+
"stroke-linecap": "round",
|
|
2319
|
+
"stroke-linejoin": "round"
|
|
2320
|
+
}, null, -1)
|
|
2321
|
+
])])) : M("", !0)
|
|
2322
|
+
], 42, fo))), 128))
|
|
2323
|
+
]))
|
|
2324
|
+
], 64)) : M("", !0)
|
|
2264
2325
|
], 2));
|
|
2265
2326
|
}
|
|
2266
|
-
},
|
|
2327
|
+
}, xo = /* @__PURE__ */ W(mo, [["__scopeId", "data-v-20c84925"]]);
|
|
2267
2328
|
export {
|
|
2268
2329
|
Yt as BaseTeleport,
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2330
|
+
go as Dialog,
|
|
2331
|
+
yo as Header,
|
|
2332
|
+
ho as Modal,
|
|
2333
|
+
ko as SkyButton,
|
|
2334
|
+
xo as SkySelect
|
|
2274
2335
|
};
|