@skyservice-developers/vue-dev-kit 1.5.6 → 1.5.7
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/vue2/style.css +1 -1
- package/dist/vue2/vue-dev-kit.cjs +1 -1
- package/dist/vue2/vue-dev-kit.js +367 -311
- package/dist/vue3/style.css +1 -1
- package/dist/vue3/vue-dev-kit.cjs +1 -1
- package/dist/vue3/vue-dev-kit.js +353 -318
- package/package.json +1 -1
- package/src/shared/types/index.d.ts +14 -0
- package/src/vue2/components/Button.vue +128 -0
- package/src/vue2/components/index.js +2 -2
- package/src/vue3/components/Button.vue +124 -0
- package/src/vue3/components/index.js +2 -3
package/dist/vue3/vue-dev-kit.js
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
var
|
|
3
|
-
function
|
|
1
|
+
import { ref as z, onUnmounted as oe, computed as V, onMounted as ne, openBlock as k, createElementBlock as E, createElementVNode as f, createCommentVNode as B, normalizeClass as W, renderSlot as M, toDisplayString as I, Fragment as it, renderList as ot, useSlots as Fe, watch as Ee, nextTick as Xe, createBlock as ae, Teleport as Te, normalizeStyle as Oe, createTextVNode as He, resolveDynamicComponent as nt, createSlots as at, withCtx as _e, withModifiers as st, mergeProps as lt } from "vue";
|
|
2
|
+
var rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
3
|
+
function dt(a) {
|
|
4
4
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
5
5
|
}
|
|
6
6
|
var Se = { exports: {} };
|
|
7
|
-
(function(a,
|
|
7
|
+
(function(a, T) {
|
|
8
8
|
(function(c, l) {
|
|
9
|
-
var S = "1.0.41", v = "",
|
|
10
|
-
var
|
|
11
|
-
for (var
|
|
12
|
-
g[
|
|
13
|
-
return
|
|
9
|
+
var S = "1.0.41", v = "", P = "?", w = "function", y = "undefined", O = "object", A = "string", N = "major", t = "model", n = "name", e = "type", i = "vendor", o = "version", x = "architecture", q = "console", r = "mobile", u = "tablet", s = "smarttv", m = "wearable", C = "embedded", X = 500, U = "Amazon", L = "Apple", Y = "ASUS", Be = "BlackBerry", se = "Browser", le = "Chrome", Ze = "Edge", re = "Firefox", de = "Google", Pe = "Honor", Ce = "Huawei", Je = "Lenovo", ue = "LG", fe = "Microsoft", me = "Motorola", pe = "Nvidia", Me = "OnePlus", Z = "Opera", ve = "OPPO", J = "Samsung", Ne = "Sharp", Q = "Sony", ge = "Xiaomi", he = "Zebra", Ie = "Facebook", ze = "Chromium OS", Re = "Mac OS", Ve = " Browser", Qe = function(p, g) {
|
|
10
|
+
var b = {};
|
|
11
|
+
for (var _ in p)
|
|
12
|
+
g[_] && g[_].length % 2 === 0 ? b[_] = g[_].concat(p[_]) : b[_] = p[_];
|
|
13
|
+
return b;
|
|
14
14
|
}, ce = function(p) {
|
|
15
|
-
for (var g = {},
|
|
16
|
-
g[p[
|
|
15
|
+
for (var g = {}, b = 0; b < p.length; b++)
|
|
16
|
+
g[p[b].toUpperCase()] = p[b];
|
|
17
17
|
return g;
|
|
18
18
|
}, Le = function(p, g) {
|
|
19
|
-
return typeof p === A ?
|
|
20
|
-
},
|
|
19
|
+
return typeof p === A ? ee(g).indexOf(ee(p)) !== -1 : !1;
|
|
20
|
+
}, ee = function(p) {
|
|
21
21
|
return p.toLowerCase();
|
|
22
22
|
}, et = function(p) {
|
|
23
23
|
return typeof p === A ? p.replace(/[^\d\.]/g, v).split(".")[0] : l;
|
|
24
24
|
}, ye = function(p, g) {
|
|
25
25
|
if (typeof p === A)
|
|
26
26
|
return p = p.replace(/^\s\s*/, v), typeof g === y ? p : p.substring(0, X);
|
|
27
|
-
}, ee = function(p, g) {
|
|
28
|
-
for (var w = 0, x, j, D, h, d, $; w < g.length && !d; ) {
|
|
29
|
-
var ke = g[w], qe = g[w + 1];
|
|
30
|
-
for (x = j = 0; x < ke.length && !d && ke[x]; )
|
|
31
|
-
if (d = ke[x++].exec(p), d)
|
|
32
|
-
for (D = 0; D < qe.length; D++)
|
|
33
|
-
$ = d[++j], h = qe[D], typeof h === E && h.length > 0 ? h.length === 2 ? typeof h[1] == b ? this[h[0]] = h[1].call(this, $) : this[h[0]] = h[1] : h.length === 3 ? typeof h[1] === b && !(h[1].exec && h[1].test) ? this[h[0]] = $ ? h[1].call(this, $, h[2]) : l : this[h[0]] = $ ? $.replace(h[1], h[2]) : l : h.length === 4 && (this[h[0]] = $ ? h[3].call(this, $.replace(h[1], h[2])) : l) : this[h] = $ || l;
|
|
34
|
-
w += 2;
|
|
35
|
-
}
|
|
36
27
|
}, te = function(p, g) {
|
|
37
|
-
for (var
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
28
|
+
for (var b = 0, _, j, $, h, d, D; b < g.length && !d; ) {
|
|
29
|
+
var ke = g[b], qe = g[b + 1];
|
|
30
|
+
for (_ = j = 0; _ < ke.length && !d && ke[_]; )
|
|
31
|
+
if (d = ke[_++].exec(p), d)
|
|
32
|
+
for ($ = 0; $ < qe.length; $++)
|
|
33
|
+
D = d[++j], h = qe[$], typeof h === O && h.length > 0 ? h.length === 2 ? typeof h[1] == w ? this[h[0]] = h[1].call(this, D) : this[h[0]] = h[1] : h.length === 3 ? typeof h[1] === w && !(h[1].exec && h[1].test) ? this[h[0]] = D ? h[1].call(this, D, h[2]) : l : this[h[0]] = D ? D.replace(h[1], h[2]) : l : h.length === 4 && (this[h[0]] = D ? h[3].call(this, D.replace(h[1], h[2])) : l) : this[h] = D || l;
|
|
34
|
+
b += 2;
|
|
35
|
+
}
|
|
36
|
+
}, ie = function(p, g) {
|
|
37
|
+
for (var b in g)
|
|
38
|
+
if (typeof g[b] === O && g[b].length > 0) {
|
|
39
|
+
for (var _ = 0; _ < g[b].length; _++)
|
|
40
|
+
if (Le(g[b][_], p))
|
|
41
|
+
return b === P ? l : b;
|
|
42
|
+
} else if (Le(g[b], p))
|
|
43
|
+
return b === P ? l : b;
|
|
44
44
|
return g.hasOwnProperty("*") ? g["*"] : p;
|
|
45
45
|
}, tt = {
|
|
46
46
|
"1.0": "/8",
|
|
@@ -51,7 +51,7 @@ var Se = { exports: {} };
|
|
|
51
51
|
"2.0.3": "/417",
|
|
52
52
|
"2.0.4": "/419",
|
|
53
53
|
"?": "/"
|
|
54
|
-
},
|
|
54
|
+
}, $e = {
|
|
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
|
+
}, De = {
|
|
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
|
-
[o, [n,
|
|
92
|
+
[o, [n, Z + " Mini"]],
|
|
93
93
|
[
|
|
94
94
|
/\bop(?:rg)?x\/([\w\.]+)/i
|
|
95
95
|
// Opera GX
|
|
96
96
|
],
|
|
97
|
-
[o, [n,
|
|
97
|
+
[o, [n, Z + " GX"]],
|
|
98
98
|
[
|
|
99
99
|
/\bopr\/([\w\.]+)/i
|
|
100
100
|
// Opera Webkit
|
|
101
101
|
],
|
|
102
|
-
[o, [n,
|
|
102
|
+
[o, [n, Z]],
|
|
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
|
-
[o, [n,
|
|
190
|
+
[o, [n, Z + " Touch"]],
|
|
191
191
|
[
|
|
192
192
|
/coc_coc\w+\/([\w\.]+)/i
|
|
193
193
|
// Coc Coc Browser
|
|
@@ -202,7 +202,7 @@ var Se = { exports: {} };
|
|
|
202
202
|
/coast\/([\w\.]+)/i
|
|
203
203
|
// Opera Coast
|
|
204
204
|
],
|
|
205
|
-
[o, [n,
|
|
205
|
+
[o, [n, Z + " Coast"]],
|
|
206
206
|
[
|
|
207
207
|
/miuibrowser\/([\w\.]+)/i
|
|
208
208
|
// MIUI Browser
|
|
@@ -232,7 +232,7 @@ var Se = { exports: {} };
|
|
|
232
232
|
/samsungbrowser\/([\w\.]+)/i
|
|
233
233
|
// Samsung Internet
|
|
234
234
|
],
|
|
235
|
-
[o, [n,
|
|
235
|
+
[o, [n, J + " 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, [o,
|
|
340
|
+
[n, [o, ie, tt]],
|
|
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
|
+
[[x, "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
|
+
[[x, "ia32"]],
|
|
400
400
|
[
|
|
401
401
|
/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i
|
|
402
402
|
// ARM64
|
|
403
403
|
],
|
|
404
|
-
[[
|
|
404
|
+
[[x, "arm64"]],
|
|
405
405
|
[
|
|
406
406
|
/\b(arm(v[67])?ht?n?[fl]p?)\b/i
|
|
407
407
|
// ARMHF
|
|
408
408
|
],
|
|
409
|
-
[[
|
|
409
|
+
[[x, "armhf"]],
|
|
410
410
|
[
|
|
411
411
|
// PocketPC mistakenly identified as PowerPC
|
|
412
412
|
/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i
|
|
413
413
|
],
|
|
414
|
-
[[
|
|
414
|
+
[[x, "arm"]],
|
|
415
415
|
[
|
|
416
416
|
/((ppc|powerpc)(64)?)( mac|;|\))/i
|
|
417
417
|
// PowerPC
|
|
418
418
|
],
|
|
419
|
-
[[
|
|
419
|
+
[[x, /ower/, v, ee]],
|
|
420
420
|
[
|
|
421
421
|
/ sun4\w[;\)]/i
|
|
422
422
|
// SPARC
|
|
423
423
|
],
|
|
424
|
-
[[
|
|
424
|
+
[[x, "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
|
+
[[x, ee]]
|
|
430
430
|
],
|
|
431
431
|
device: [
|
|
432
432
|
[
|
|
@@ -436,13 +436,13 @@ 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
|
-
[t, [i,
|
|
439
|
+
[t, [i, J], [e, u]],
|
|
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
|
-
[t, [i,
|
|
445
|
+
[t, [i, J], [e, r]],
|
|
446
446
|
[
|
|
447
447
|
// Apple
|
|
448
448
|
/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i
|
|
@@ -478,12 +478,12 @@ var Se = { exports: {} };
|
|
|
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
|
-
[t, [i,
|
|
481
|
+
[t, [i, Ce], [e, u]],
|
|
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
|
-
[t, [i,
|
|
486
|
+
[t, [i, Ce], [e, r]],
|
|
487
487
|
[
|
|
488
488
|
// Xiaomi
|
|
489
489
|
/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,
|
|
@@ -516,7 +516,7 @@ var Se = { exports: {} };
|
|
|
516
516
|
[
|
|
517
517
|
/\b(opd2(\d{3}a?))(?: bui|\))/i
|
|
518
518
|
],
|
|
519
|
-
[t, [i,
|
|
519
|
+
[t, [i, ie, { OnePlus: ["304", "403", "203"], "*": ve }], [e, u]],
|
|
520
520
|
[
|
|
521
521
|
// Vivo
|
|
522
522
|
/vivo (\w+)(?: bui|\))/i,
|
|
@@ -534,11 +534,11 @@ var Se = { exports: {} };
|
|
|
534
534
|
/\bmot(?:orola)?[- ](\w*)/i,
|
|
535
535
|
/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i
|
|
536
536
|
],
|
|
537
|
-
[t, [i,
|
|
537
|
+
[t, [i, me], [e, r]],
|
|
538
538
|
[
|
|
539
539
|
/\b(mz60\d|xoom[2 ]{0,2}) build\//i
|
|
540
540
|
],
|
|
541
|
-
[t, [i,
|
|
541
|
+
[t, [i, me], [e, u]],
|
|
542
542
|
[
|
|
543
543
|
// LG
|
|
544
544
|
/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i
|
|
@@ -581,12 +581,12 @@ var Se = { exports: {} };
|
|
|
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
|
-
[t, [i,
|
|
584
|
+
[t, [i, Q], [e, r]],
|
|
585
585
|
[
|
|
586
586
|
/sony tablet [ps]/i,
|
|
587
587
|
/\b(?:sony)?sgp\w+(?: bui|\))/i
|
|
588
588
|
],
|
|
589
|
-
[[t, "Xperia Tablet"], [i,
|
|
589
|
+
[[t, "Xperia Tablet"], [i, Q], [e, u]],
|
|
590
590
|
[
|
|
591
591
|
// OnePlus
|
|
592
592
|
/ (kb2005|in20[12]5|be20[12][59])\b/i,
|
|
@@ -618,16 +618,16 @@ var Se = { exports: {} };
|
|
|
618
618
|
/\(bb10; (\w+)/i
|
|
619
619
|
// BlackBerry 10
|
|
620
620
|
],
|
|
621
|
-
[t, [i,
|
|
621
|
+
[t, [i, Be], [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
|
-
[t, [i,
|
|
626
|
+
[t, [i, Y], [e, u]],
|
|
627
627
|
[
|
|
628
628
|
/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i
|
|
629
629
|
],
|
|
630
|
-
[t, [i,
|
|
630
|
+
[t, [i, Y], [e, r]],
|
|
631
631
|
[
|
|
632
632
|
// HTC
|
|
633
633
|
/(nexus 9)/i
|
|
@@ -652,7 +652,7 @@ var Se = { exports: {} };
|
|
|
652
652
|
// itel
|
|
653
653
|
/(itel) ((\w+))/i
|
|
654
654
|
],
|
|
655
|
-
[[i,
|
|
655
|
+
[[i, ee], t, [e, ie, { tablet: ["p10001l", "w7001"], "*": "mobile" }]],
|
|
656
656
|
[
|
|
657
657
|
// Acer
|
|
658
658
|
/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i
|
|
@@ -750,7 +750,7 @@ var Se = { exports: {} };
|
|
|
750
750
|
/(surface duo)/i
|
|
751
751
|
// Surface Duo
|
|
752
752
|
],
|
|
753
|
-
[t, [i,
|
|
753
|
+
[t, [i, fe], [e, u]],
|
|
754
754
|
[
|
|
755
755
|
/droid [\d\.]+; (fp\du?)(?: b|\))/i
|
|
756
756
|
// Fairphone
|
|
@@ -875,7 +875,7 @@ var Se = { exports: {} };
|
|
|
875
875
|
/(kin\.[onetw]{3})/i
|
|
876
876
|
// Microsoft Kin
|
|
877
877
|
],
|
|
878
|
-
[[t, /\./g, " "], [i,
|
|
878
|
+
[[t, /\./g, " "], [i, fe], [e, r]],
|
|
879
879
|
[
|
|
880
880
|
/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i
|
|
881
881
|
// Zebra
|
|
@@ -896,7 +896,7 @@ var Se = { exports: {} };
|
|
|
896
896
|
[
|
|
897
897
|
/hbbtv.+maple;(\d+)/i
|
|
898
898
|
],
|
|
899
|
-
[[t, /^/, "SmartTV"], [i,
|
|
899
|
+
[[t, /^/, "SmartTV"], [i, J], [e, s]],
|
|
900
900
|
[
|
|
901
901
|
/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i
|
|
902
902
|
// LG SmartTV
|
|
@@ -932,7 +932,7 @@ var Se = { exports: {} };
|
|
|
932
932
|
/(bravia[\w ]+)( bui|\))/i
|
|
933
933
|
// Sony
|
|
934
934
|
],
|
|
935
|
-
[t, [i,
|
|
935
|
+
[t, [i, Q], [e, s]],
|
|
936
936
|
[
|
|
937
937
|
/(mi(tv|box)-?\w+) bui/i
|
|
938
938
|
// Xiaomi
|
|
@@ -978,12 +978,12 @@ var Se = { exports: {} };
|
|
|
978
978
|
/(playstation \w+)/i
|
|
979
979
|
// Playstation
|
|
980
980
|
],
|
|
981
|
-
[t, [i,
|
|
981
|
+
[t, [i, Q], [e, q]],
|
|
982
982
|
[
|
|
983
983
|
/\b(xbox(?: one)?(?!; xbox))[\); ]/i
|
|
984
984
|
// Microsoft Xbox
|
|
985
985
|
],
|
|
986
|
-
[t, [i,
|
|
986
|
+
[t, [i, fe], [e, q]],
|
|
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
|
-
[t, [i,
|
|
994
|
+
[t, [i, J], [e, m]],
|
|
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
|
-
[i, t, [e,
|
|
1001
|
+
[i, t, [e, m]],
|
|
1002
1002
|
[
|
|
1003
1003
|
/(ow(?:19|20)?we?[1-3]{1,3})/i
|
|
1004
1004
|
// Oppo Watch
|
|
1005
1005
|
],
|
|
1006
|
-
[t, [i, ve], [e,
|
|
1006
|
+
[t, [i, ve], [e, m]],
|
|
1007
1007
|
[
|
|
1008
1008
|
/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i
|
|
1009
1009
|
// Apple Watch
|
|
1010
1010
|
],
|
|
1011
|
-
[t, [i, L], [e,
|
|
1011
|
+
[t, [i, L], [e, m]],
|
|
1012
1012
|
[
|
|
1013
1013
|
/(opwwe\d{3})/i
|
|
1014
1014
|
// OnePlus Watch
|
|
1015
1015
|
],
|
|
1016
|
-
[t, [i, Me], [e,
|
|
1016
|
+
[t, [i, Me], [e, m]],
|
|
1017
1017
|
[
|
|
1018
1018
|
/(moto 360)/i
|
|
1019
1019
|
// Motorola 360
|
|
1020
1020
|
],
|
|
1021
|
-
[t, [i,
|
|
1021
|
+
[t, [i, me], [e, m]],
|
|
1022
1022
|
[
|
|
1023
1023
|
/(smartwatch 3)/i
|
|
1024
1024
|
// Sony SmartWatch
|
|
1025
1025
|
],
|
|
1026
|
-
[t, [i,
|
|
1026
|
+
[t, [i, Q], [e, m]],
|
|
1027
1027
|
[
|
|
1028
1028
|
/(g watch r)/i
|
|
1029
1029
|
// LG G Watch R
|
|
1030
1030
|
],
|
|
1031
|
-
[t, [i, ue], [e,
|
|
1031
|
+
[t, [i, ue], [e, m]],
|
|
1032
1032
|
[
|
|
1033
1033
|
/droid.+; (wt63?0{2,3})\)/i
|
|
1034
1034
|
],
|
|
1035
|
-
[t, [i, he], [e,
|
|
1035
|
+
[t, [i, he], [e, m]],
|
|
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
|
-
[t, [i, de], [e,
|
|
1043
|
+
[t, [i, de], [e, m]],
|
|
1044
1044
|
[
|
|
1045
1045
|
/(pico) (4|neo3(?: link|pro)?)/i
|
|
1046
1046
|
// Pico
|
|
1047
1047
|
],
|
|
1048
|
-
[i, t, [e,
|
|
1048
|
+
[i, t, [e, m]],
|
|
1049
1049
|
[
|
|
1050
1050
|
/; (quest( \d| pro)?)/i
|
|
1051
1051
|
// Oculus Quest
|
|
1052
1052
|
],
|
|
1053
|
-
[t, [i, Ie], [e,
|
|
1053
|
+
[t, [i, Ie], [e, m]],
|
|
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
|
-
[i, [e,
|
|
1061
|
+
[i, [e, C]],
|
|
1062
1062
|
[
|
|
1063
1063
|
/(aeobc)\b/i
|
|
1064
1064
|
// Echo Dot
|
|
1065
1065
|
],
|
|
1066
|
-
[t, [i, U], [e,
|
|
1066
|
+
[t, [i, U], [e, C]],
|
|
1067
1067
|
[
|
|
1068
1068
|
/(homepod).+mac os/i
|
|
1069
1069
|
// Apple HomePod
|
|
1070
1070
|
],
|
|
1071
|
-
[t, [i, L], [e,
|
|
1071
|
+
[t, [i, L], [e, C]],
|
|
1072
1072
|
[
|
|
1073
1073
|
/windows iot/i
|
|
1074
1074
|
],
|
|
1075
|
-
[[e,
|
|
1075
|
+
[[e, C]],
|
|
1076
1076
|
[
|
|
1077
1077
|
////////////////////
|
|
1078
1078
|
// MIXED (GENERIC)
|
|
@@ -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, [o,
|
|
1157
|
+
[n, [o, ie, $e]],
|
|
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
|
-
[[o,
|
|
1164
|
+
[[o, ie, $e], [n, "Windows"]],
|
|
1165
1165
|
[
|
|
1166
1166
|
// iOS/macOS
|
|
1167
1167
|
/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,
|
|
@@ -1196,7 +1196,7 @@ var Se = { exports: {} };
|
|
|
1196
1196
|
/\(bb(10);/i
|
|
1197
1197
|
// BlackBerry 10
|
|
1198
1198
|
],
|
|
1199
|
-
[o, [n,
|
|
1199
|
+
[o, [n, Be]],
|
|
1200
1200
|
[
|
|
1201
1201
|
/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i
|
|
1202
1202
|
// Symbian
|
|
@@ -1279,24 +1279,24 @@ var Se = { exports: {} };
|
|
|
1279
1279
|
[n, o]
|
|
1280
1280
|
]
|
|
1281
1281
|
}, R = function(p, g) {
|
|
1282
|
-
if (typeof p ===
|
|
1282
|
+
if (typeof p === O && (g = p, p = l), !(this instanceof R))
|
|
1283
1283
|
return new R(p, g).getResult();
|
|
1284
|
-
var
|
|
1284
|
+
var b = typeof c !== y && c.navigator ? c.navigator : l, _ = p || (b && b.userAgent ? b.userAgent : v), j = b && b.userAgentData ? b.userAgentData : l, $ = g ? Qe(De, g) : De, h = b && b.userAgent == _;
|
|
1285
1285
|
return this.getBrowser = function() {
|
|
1286
1286
|
var d = {};
|
|
1287
|
-
return d[n] = l, d[o] = l,
|
|
1287
|
+
return d[n] = l, d[o] = l, te.call(d, _, $.browser), d[N] = et(d[o]), h && b && b.brave && typeof b.brave.isBrave == w && (d[n] = "Brave"), d;
|
|
1288
1288
|
}, this.getCPU = function() {
|
|
1289
1289
|
var d = {};
|
|
1290
|
-
return d[
|
|
1290
|
+
return d[x] = l, te.call(d, _, $.cpu), d;
|
|
1291
1291
|
}, this.getDevice = function() {
|
|
1292
1292
|
var d = {};
|
|
1293
|
-
return d[i] = l, d[t] = l, d[e] = l,
|
|
1293
|
+
return d[i] = l, d[t] = l, d[e] = l, te.call(d, _, $.device), h && !d[e] && j && j.mobile && (d[e] = r), h && d[t] == "Macintosh" && b && typeof b.standalone !== y && b.maxTouchPoints && b.maxTouchPoints > 2 && (d[t] = "iPad", d[e] = u), d;
|
|
1294
1294
|
}, this.getEngine = function() {
|
|
1295
1295
|
var d = {};
|
|
1296
|
-
return d[n] = l, d[o] = l,
|
|
1296
|
+
return d[n] = l, d[o] = l, te.call(d, _, $.engine), d;
|
|
1297
1297
|
}, this.getOS = function() {
|
|
1298
1298
|
var d = {};
|
|
1299
|
-
return d[n] = l, d[o] = l,
|
|
1299
|
+
return d[n] = l, d[o] = l, te.call(d, _, $.os), h && !d[n] && j && j.platform && j.platform != "Unknown" && (d[n] = j.platform.replace(/chrome os/i, ze).replace(/macos/i, Re)), d;
|
|
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
|
|
1310
|
+
return _;
|
|
1311
1311
|
}, this.setUA = function(d) {
|
|
1312
|
-
return
|
|
1313
|
-
}, this.setUA(
|
|
1312
|
+
return _ = typeof d === A && d.length > X ? ye(d, X) : d, this;
|
|
1313
|
+
}, this.setUA(_), this;
|
|
1314
1314
|
};
|
|
1315
|
-
R.VERSION = S, R.BROWSER = ce([n, o,
|
|
1315
|
+
R.VERSION = S, R.BROWSER = ce([n, o, N]), R.CPU = ce([x]), R.DEVICE = ce([t, i, e, q, r, s, u, m, C]), R.ENGINE = R.OS = ce([n, o]), a.exports && (T = a.exports = R), T.UAParser = R;
|
|
1316
1316
|
var G = typeof c !== y && (c.jQuery || c.Zepto);
|
|
1317
1317
|
if (G && !G.ua) {
|
|
1318
|
-
var
|
|
1319
|
-
G.ua =
|
|
1320
|
-
return
|
|
1318
|
+
var be = new R();
|
|
1319
|
+
G.ua = be.getResult(), G.ua.get = function() {
|
|
1320
|
+
return be.getUA();
|
|
1321
1321
|
}, G.ua.set = function(p) {
|
|
1322
|
-
|
|
1323
|
-
var g =
|
|
1324
|
-
for (var
|
|
1325
|
-
G.ua[
|
|
1322
|
+
be.setUA(p);
|
|
1323
|
+
var g = be.getResult();
|
|
1324
|
+
for (var b in g)
|
|
1325
|
+
G.ua[b] = g[b];
|
|
1326
1326
|
};
|
|
1327
1327
|
}
|
|
1328
|
-
})(typeof window == "object" ? window :
|
|
1328
|
+
})(typeof window == "object" ? window : rt);
|
|
1329
1329
|
})(Se, Se.exports);
|
|
1330
|
-
var
|
|
1331
|
-
const
|
|
1330
|
+
var ut = Se.exports;
|
|
1331
|
+
const ct = /* @__PURE__ */ dt(ut);
|
|
1332
1332
|
function Ge() {
|
|
1333
1333
|
if (window.webkit != null && window.webkit.messageHandlers !== "undefined")
|
|
1334
1334
|
try {
|
|
1335
|
-
var a =
|
|
1335
|
+
var a = ct(navigator.userAgent);
|
|
1336
1336
|
if (a.browser.name === "WebKit")
|
|
1337
1337
|
return "ios_webview";
|
|
1338
|
-
} catch (
|
|
1339
|
-
console.error(
|
|
1338
|
+
} catch (T) {
|
|
1339
|
+
console.error(T);
|
|
1340
1340
|
}
|
|
1341
1341
|
return typeof Android < "u" ? "android_webview" : typeof window.cefQuery < "u" ? "cef_webview" : "browser";
|
|
1342
1342
|
}
|
|
@@ -1353,19 +1353,19 @@ function F() {
|
|
|
1353
1353
|
return !0;
|
|
1354
1354
|
}
|
|
1355
1355
|
}
|
|
1356
|
-
const
|
|
1357
|
-
let wt = 0,
|
|
1358
|
-
function
|
|
1356
|
+
const bt = 3e3;
|
|
1357
|
+
let wt = 0, we = null;
|
|
1358
|
+
function ft() {
|
|
1359
1359
|
return `req_${++wt}_${Date.now()}`;
|
|
1360
1360
|
}
|
|
1361
1361
|
function mt() {
|
|
1362
1362
|
return "APP_" + Math.random().toString(36).slice(2, 10);
|
|
1363
1363
|
}
|
|
1364
|
-
function
|
|
1365
|
-
|
|
1364
|
+
function pt(a) {
|
|
1365
|
+
we = a;
|
|
1366
1366
|
}
|
|
1367
1367
|
function Ae() {
|
|
1368
|
-
return
|
|
1368
|
+
return we || (we = mt()), we;
|
|
1369
1369
|
}
|
|
1370
1370
|
function H(a) {
|
|
1371
1371
|
F() && window.parent.postMessage({
|
|
@@ -1374,46 +1374,46 @@ function H(a) {
|
|
|
1374
1374
|
target: a.target || "DASHBOARD"
|
|
1375
1375
|
}, "*");
|
|
1376
1376
|
}
|
|
1377
|
-
function Ye(a,
|
|
1377
|
+
function Ye(a, T) {
|
|
1378
1378
|
return F() ? new Promise((c) => {
|
|
1379
|
-
const l =
|
|
1379
|
+
const l = ft(), S = setTimeout(() => {
|
|
1380
1380
|
window.removeEventListener("message", v), c(null);
|
|
1381
|
-
},
|
|
1382
|
-
function v(
|
|
1383
|
-
const
|
|
1384
|
-
(
|
|
1381
|
+
}, bt);
|
|
1382
|
+
function v(P) {
|
|
1383
|
+
const w = P.data;
|
|
1384
|
+
(w == null ? void 0 : w.type) === "DATA_RESPONSE" && (w == null ? void 0 : w.requestId) === l && (!w.target || w.target === Ae()) && (clearTimeout(S), window.removeEventListener("message", v), c(w.data ?? null));
|
|
1385
1385
|
}
|
|
1386
1386
|
window.addEventListener("message", v), H({
|
|
1387
1387
|
type: "DATA_REQUEST",
|
|
1388
1388
|
requestId: l,
|
|
1389
1389
|
source: a,
|
|
1390
|
-
key:
|
|
1390
|
+
key: T
|
|
1391
1391
|
});
|
|
1392
1392
|
}) : Promise.resolve(null);
|
|
1393
1393
|
}
|
|
1394
1394
|
function xe(a) {
|
|
1395
1395
|
return Ye("localStorage", a);
|
|
1396
1396
|
}
|
|
1397
|
-
function
|
|
1397
|
+
function vt(a) {
|
|
1398
1398
|
return Ye("window", a);
|
|
1399
1399
|
}
|
|
1400
|
-
const
|
|
1400
|
+
const K = (a, T) => {
|
|
1401
1401
|
const c = a.__vccOpts || a;
|
|
1402
|
-
for (const [l, S] of
|
|
1402
|
+
for (const [l, S] of T)
|
|
1403
1403
|
c[l] = S;
|
|
1404
1404
|
return c;
|
|
1405
|
-
},
|
|
1405
|
+
}, gt = { class: "sky-header-container" }, ht = { class: "topmenubox" }, yt = { class: "header-left" }, kt = ["title"], xt = {
|
|
1406
1406
|
width: "15",
|
|
1407
1407
|
height: "15",
|
|
1408
1408
|
viewBox: "0 0 451.847 451.847",
|
|
1409
1409
|
style: { transform: "rotate(90deg)" }
|
|
1410
|
-
},
|
|
1410
|
+
}, _t = { class: "notPadding" }, St = { class: "topmenu-title" }, Et = {
|
|
1411
1411
|
key: 0,
|
|
1412
1412
|
class: "title-dropdown"
|
|
1413
|
-
},
|
|
1413
|
+
}, Tt = { class: "title-dropdown-header" }, Ot = ["onClick"], At = { class: "pageName" }, Bt = { class: "pageVisit" }, Pt = {
|
|
1414
1414
|
key: 0,
|
|
1415
1415
|
class: "topmenu-description"
|
|
1416
|
-
},
|
|
1416
|
+
}, Ct = { class: "topmenubox-button" }, Mt = {
|
|
1417
1417
|
__name: "Header",
|
|
1418
1418
|
props: {
|
|
1419
1419
|
title: {
|
|
@@ -1462,36 +1462,36 @@ const ae = (a, O) => {
|
|
|
1462
1462
|
}
|
|
1463
1463
|
},
|
|
1464
1464
|
emits: ["back", "navigate"],
|
|
1465
|
-
setup(a, { emit:
|
|
1465
|
+
setup(a, { emit: T }) {
|
|
1466
1466
|
const c = a;
|
|
1467
|
-
|
|
1468
|
-
const l =
|
|
1467
|
+
pt(c.appId || Ae());
|
|
1468
|
+
const l = T, S = z(null), v = z(!1), P = z([]), w = z({});
|
|
1469
1469
|
F() && c.trackPageName && H({
|
|
1470
1470
|
type: "trackVisit",
|
|
1471
1471
|
name: c.trackPageName,
|
|
1472
1472
|
path: c.trackPagePath || `/${c.trackPageName}`
|
|
1473
1473
|
});
|
|
1474
|
-
const y =
|
|
1474
|
+
const y = z(null);
|
|
1475
1475
|
F() && xe("rocketMode").then((s) => {
|
|
1476
1476
|
y.value = s, H({ type: "setRocketMode", value: !0 });
|
|
1477
|
-
}),
|
|
1477
|
+
}), oe(() => {
|
|
1478
1478
|
q();
|
|
1479
|
-
}), F() &&
|
|
1480
|
-
s != null && (
|
|
1479
|
+
}), F() && vt("lang").then((s) => {
|
|
1480
|
+
s != null && (w.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 m = typeof s == "string" ? JSON.parse(s) : s;
|
|
1487
|
+
m != null && m.pages && (P.value = Object.values(m.pages));
|
|
1488
1488
|
} catch {
|
|
1489
1489
|
}
|
|
1490
1490
|
}
|
|
1491
|
-
|
|
1492
|
-
s != null && (localStorage.setItem("componentStats", JSON.stringify(s)),
|
|
1491
|
+
O(localStorage.componentStats), F() && xe("componentStats").then((s) => {
|
|
1492
|
+
s != null && (localStorage.setItem("componentStats", JSON.stringify(s)), O(s));
|
|
1493
1493
|
});
|
|
1494
|
-
const A = V(() => [...c.dropdownItems.length ? c.dropdownItems :
|
|
1494
|
+
const A = V(() => [...c.dropdownItems.length ? c.dropdownItems : P.value].sort((m, C) => C.lastVisit - m.lastVisit)), N = () => {
|
|
1495
1495
|
A.value.length && (v.value = !v.value);
|
|
1496
1496
|
}, t = () => {
|
|
1497
1497
|
v.value = !1;
|
|
@@ -1500,20 +1500,20 @@ const ae = (a, O) => {
|
|
|
1500
1500
|
}, e = (s) => {
|
|
1501
1501
|
if (!s)
|
|
1502
1502
|
return "";
|
|
1503
|
-
const
|
|
1504
|
-
return
|
|
1503
|
+
const m = w.value[s] || s;
|
|
1504
|
+
return m.charAt(0).toUpperCase() + m.slice(1);
|
|
1505
1505
|
}, i = (s) => {
|
|
1506
|
-
const
|
|
1507
|
-
return
|
|
1506
|
+
const C = Date.now() - s, X = Math.floor(C / 1e3), U = Math.floor(X / 60), L = Math.floor(U / 60), Y = Math.floor(L / 24);
|
|
1507
|
+
return Y > 0 ? `${Y}д тому` : L > 0 ? `${L}год тому` : U > 0 ? `${U}хв тому` : `${X}с тому`;
|
|
1508
1508
|
}, o = (s) => {
|
|
1509
1509
|
S.value && !S.value.contains(s.target) && t();
|
|
1510
1510
|
};
|
|
1511
|
-
|
|
1511
|
+
ne(() => {
|
|
1512
1512
|
document.addEventListener("click", o, !0);
|
|
1513
|
-
}),
|
|
1513
|
+
}), oe(() => {
|
|
1514
1514
|
document.removeEventListener("click", o, !0);
|
|
1515
1515
|
});
|
|
1516
|
-
const
|
|
1516
|
+
const x = V(() => c.backEvent || c.showBackButton && F()), q = () => {
|
|
1517
1517
|
if (y.value !== null) {
|
|
1518
1518
|
const s = y.value === !0 || y.value === "true";
|
|
1519
1519
|
H({ type: "setRocketMode", value: s });
|
|
@@ -1523,91 +1523,91 @@ const ae = (a, O) => {
|
|
|
1523
1523
|
return q(), c.backEvent();
|
|
1524
1524
|
let s = r();
|
|
1525
1525
|
if (!s && F()) {
|
|
1526
|
-
const
|
|
1527
|
-
|
|
1526
|
+
const m = await xe("componentStats");
|
|
1527
|
+
m && (O(m), s = r());
|
|
1528
1528
|
}
|
|
1529
1529
|
q(), H(s ? { type: "navigate", path: s.path } : { type: "exit" });
|
|
1530
1530
|
};
|
|
1531
|
-
return (s,
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1531
|
+
return (s, m) => (k(), E("header", gt, [
|
|
1532
|
+
f("div", ht, [
|
|
1533
|
+
f("div", yt, [
|
|
1534
|
+
x.value ? (k(), E("button", {
|
|
1535
1535
|
key: 0,
|
|
1536
1536
|
class: "btn-back",
|
|
1537
1537
|
onClick: u,
|
|
1538
1538
|
title: a.backButtonTitle
|
|
1539
1539
|
}, [
|
|
1540
|
-
(
|
|
1541
|
-
|
|
1540
|
+
(k(), E("svg", xt, [...m[0] || (m[0] = [
|
|
1541
|
+
f("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,
|
|
1547
|
-
|
|
1546
|
+
], 8, kt)) : B("", !0),
|
|
1547
|
+
f("div", {
|
|
1548
1548
|
ref_key: "dropdownRef",
|
|
1549
1549
|
ref: S,
|
|
1550
1550
|
class: "titleAndDesc"
|
|
1551
1551
|
}, [
|
|
1552
|
-
|
|
1552
|
+
f("button", {
|
|
1553
1553
|
class: W(["title-dropdown-toggle", { "title-dropdown-toggle-active": A.value.length }]),
|
|
1554
|
-
onClick:
|
|
1554
|
+
onClick: N
|
|
1555
1555
|
}, [
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
A.value.length ? (
|
|
1556
|
+
M(s.$slots, "title", {}, () => [
|
|
1557
|
+
f("h4", _t, [
|
|
1558
|
+
f("span", St, I(a.title), 1),
|
|
1559
|
+
A.value.length ? (k(), E("svg", {
|
|
1560
1560
|
key: 0,
|
|
1561
1561
|
class: W(["arrow", { open: v.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
|
-
}, [...
|
|
1567
|
-
|
|
1566
|
+
}, [...m[1] || (m[1] = [
|
|
1567
|
+
f("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)) : B("", !0)
|
|
1572
1572
|
])
|
|
1573
1573
|
], !0)
|
|
1574
1574
|
], 2),
|
|
1575
|
-
v.value && A.value.length ? (
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
(
|
|
1575
|
+
v.value && A.value.length ? (k(), E("div", Et, [
|
|
1576
|
+
f("div", Tt, I(a.dropdownTitle), 1),
|
|
1577
|
+
m[2] || (m[2] = f("div", { class: "title-dropdown-divider" }, null, -1)),
|
|
1578
|
+
(k(!0), E(it, null, ot(A.value, (C, X) => (k(), E("div", {
|
|
1579
1579
|
key: X,
|
|
1580
1580
|
class: "title-dropdown-item",
|
|
1581
|
-
onClick: (U) => n(
|
|
1581
|
+
onClick: (U) => n(C)
|
|
1582
1582
|
}, [
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
], 8,
|
|
1586
|
-
])) :
|
|
1587
|
-
|
|
1588
|
-
a.subtitle ? (
|
|
1583
|
+
f("p", At, I(e(C.name)), 1),
|
|
1584
|
+
f("small", Bt, " (" + I(a.visitLabel) + " " + I(i(C.lastVisit)) + ") ", 1)
|
|
1585
|
+
], 8, Ot))), 128))
|
|
1586
|
+
])) : B("", !0),
|
|
1587
|
+
M(s.$slots, "subtitle", {}, () => [
|
|
1588
|
+
a.subtitle ? (k(), E("p", Pt, I(a.subtitle), 1)) : B("", !0)
|
|
1589
1589
|
], !0)
|
|
1590
1590
|
], 512)
|
|
1591
1591
|
]),
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1592
|
+
f("div", Ct, [
|
|
1593
|
+
m[3] || (m[3] = f("div", null, null, -1)),
|
|
1594
|
+
M(s.$slots, "default", {}, void 0, !0),
|
|
1595
|
+
m[4] || (m[4] = f("div", null, null, -1))
|
|
1596
1596
|
])
|
|
1597
1597
|
])
|
|
1598
1598
|
]));
|
|
1599
1599
|
}
|
|
1600
|
-
},
|
|
1601
|
-
const
|
|
1600
|
+
}, di = /* @__PURE__ */ K(Mt, [["__scopeId", "data-v-73761f6b"]]);
|
|
1601
|
+
const Nt = { class: "sky-dialog-overlay" }, It = {
|
|
1602
1602
|
key: 0,
|
|
1603
1603
|
class: "sky-dialog-subtitle"
|
|
1604
|
-
},
|
|
1604
|
+
}, zt = ["title"], Rt = {
|
|
1605
1605
|
key: 0,
|
|
1606
1606
|
class: "sky-dialog-swipe-area"
|
|
1607
|
-
},
|
|
1607
|
+
}, Vt = {
|
|
1608
1608
|
key: 0,
|
|
1609
1609
|
class: "sky-dialog-footer"
|
|
1610
|
-
},
|
|
1610
|
+
}, Lt = {
|
|
1611
1611
|
__name: "DialogModal",
|
|
1612
1612
|
props: {
|
|
1613
1613
|
modelValue: {
|
|
@@ -1640,35 +1640,35 @@ const Mt = { class: "sky-dialog-overlay" }, Nt = {
|
|
|
1640
1640
|
}
|
|
1641
1641
|
},
|
|
1642
1642
|
emits: ["update:modelValue", "close", "save"],
|
|
1643
|
-
setup(a, { emit:
|
|
1644
|
-
const c = Fe(), l = a, S =
|
|
1643
|
+
setup(a, { emit: T }) {
|
|
1644
|
+
const c = Fe(), l = a, S = T, v = z(null), P = z(null), w = z(0), y = V(() => {
|
|
1645
1645
|
try {
|
|
1646
1646
|
return We();
|
|
1647
1647
|
} catch {
|
|
1648
1648
|
return !1;
|
|
1649
1649
|
}
|
|
1650
|
-
}),
|
|
1650
|
+
}), O = V(() => {
|
|
1651
1651
|
try {
|
|
1652
1652
|
return Ke();
|
|
1653
1653
|
} catch {
|
|
1654
1654
|
return !1;
|
|
1655
1655
|
}
|
|
1656
|
-
}), A = V(() => l.hasButtons !== null ? l.hasButtons : !!c.buttons),
|
|
1656
|
+
}), A = V(() => l.hasButtons !== null ? l.hasButtons : !!c.buttons), N = () => {
|
|
1657
1657
|
S("update:modelValue", !1), S("close");
|
|
1658
1658
|
}, t = (o) => {
|
|
1659
|
-
o.key === "Escape" && l.closeOnEsc && l.modelValue &&
|
|
1659
|
+
o.key === "Escape" && l.closeOnEsc && l.modelValue && N(), o.key === "Enter" && l.modelValue && S("save");
|
|
1660
1660
|
}, n = (o) => {
|
|
1661
|
-
o.touches[0].clientX < 35 && (
|
|
1661
|
+
o.touches[0].clientX < 35 && (w.value = o.touches[0].clientX);
|
|
1662
1662
|
}, e = (o) => {
|
|
1663
|
-
|
|
1663
|
+
w.value > 0 && w.value < 35 && o.changedTouches[0].clientX - w.value > 50 && N(), w.value = 0;
|
|
1664
1664
|
}, i = () => {
|
|
1665
|
-
if (!(!
|
|
1665
|
+
if (!(!O.value || !v.value))
|
|
1666
1666
|
try {
|
|
1667
1667
|
if (typeof Android < "u" && Android.getDisplayCutoutTop) {
|
|
1668
1668
|
const o = Android.getDisplayCutoutTop();
|
|
1669
1669
|
if (o && window.devicePixelRatio > 1) {
|
|
1670
|
-
const
|
|
1671
|
-
v.value.style.paddingTop =
|
|
1670
|
+
const x = o / window.devicePixelRatio;
|
|
1671
|
+
v.value.style.paddingTop = x + "px";
|
|
1672
1672
|
}
|
|
1673
1673
|
}
|
|
1674
1674
|
} catch {
|
|
@@ -1681,39 +1681,39 @@ const Mt = { class: "sky-dialog-overlay" }, Nt = {
|
|
|
1681
1681
|
i();
|
|
1682
1682
|
})) : document.body.style.overflow = "";
|
|
1683
1683
|
}
|
|
1684
|
-
),
|
|
1684
|
+
), ne(() => {
|
|
1685
1685
|
document.addEventListener("keydown", t), window.addEventListener("resize", i);
|
|
1686
|
-
}),
|
|
1686
|
+
}), oe(() => {
|
|
1687
1687
|
document.removeEventListener("keydown", t), window.removeEventListener("resize", i), document.body.style.overflow = "";
|
|
1688
|
-
}), (o,
|
|
1689
|
-
a.modelValue ? (
|
|
1688
|
+
}), (o, x) => (k(), ae(Te, { to: "body" }, [
|
|
1689
|
+
a.modelValue ? (k(), E("div", {
|
|
1690
1690
|
key: 0,
|
|
1691
1691
|
class: "sky-dialogbox sky-dialogbox-classic",
|
|
1692
1692
|
style: Oe([a.zIndex ? { "z-index": a.zIndex } : null])
|
|
1693
1693
|
}, [
|
|
1694
|
-
|
|
1695
|
-
|
|
1694
|
+
f("div", Nt, [
|
|
1695
|
+
f("div", {
|
|
1696
1696
|
ref_key: "dialogContent",
|
|
1697
1697
|
ref: v,
|
|
1698
1698
|
class: "sky-dialog-content"
|
|
1699
1699
|
}, [
|
|
1700
|
-
|
|
1700
|
+
f("div", {
|
|
1701
1701
|
class: W(["sky-dialog-title", { "sky-dialog-title-with-subtitle": a.subtitle }])
|
|
1702
1702
|
}, [
|
|
1703
|
-
He(
|
|
1704
|
-
a.subtitle ? (
|
|
1703
|
+
He(I(a.title) + " ", 1),
|
|
1704
|
+
a.subtitle ? (k(), E("span", It, I(a.subtitle), 1)) : B("", !0)
|
|
1705
1705
|
], 2),
|
|
1706
|
-
|
|
1706
|
+
f("button", {
|
|
1707
1707
|
class: "sky-dialog-close",
|
|
1708
1708
|
title: a.closeText,
|
|
1709
|
-
onClick:
|
|
1710
|
-
}, [...
|
|
1711
|
-
|
|
1709
|
+
onClick: N
|
|
1710
|
+
}, [...x[0] || (x[0] = [
|
|
1711
|
+
f("svg", {
|
|
1712
1712
|
viewBox: "0 0 16 16",
|
|
1713
1713
|
width: "16",
|
|
1714
1714
|
height: "16"
|
|
1715
1715
|
}, [
|
|
1716
|
-
|
|
1716
|
+
f("line", {
|
|
1717
1717
|
x1: "1",
|
|
1718
1718
|
y1: "15",
|
|
1719
1719
|
x2: "15",
|
|
@@ -1721,7 +1721,7 @@ const Mt = { class: "sky-dialog-overlay" }, Nt = {
|
|
|
1721
1721
|
stroke: "currentColor",
|
|
1722
1722
|
"stroke-width": "2"
|
|
1723
1723
|
}),
|
|
1724
|
-
|
|
1724
|
+
f("line", {
|
|
1725
1725
|
x1: "1",
|
|
1726
1726
|
y1: "1",
|
|
1727
1727
|
x2: "15",
|
|
@@ -1730,42 +1730,42 @@ const Mt = { class: "sky-dialog-overlay" }, Nt = {
|
|
|
1730
1730
|
"stroke-width": "2"
|
|
1731
1731
|
})
|
|
1732
1732
|
], -1)
|
|
1733
|
-
])], 8,
|
|
1734
|
-
|
|
1735
|
-
|
|
1733
|
+
])], 8, zt),
|
|
1734
|
+
x[1] || (x[1] = f("div", { class: "sky-dialog-clearfix" }, null, -1)),
|
|
1735
|
+
f("div", {
|
|
1736
1736
|
ref_key: "dialogPaper",
|
|
1737
|
-
ref:
|
|
1737
|
+
ref: P,
|
|
1738
1738
|
class: W(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !A.value }]),
|
|
1739
1739
|
onTouchstart: n,
|
|
1740
1740
|
onTouchend: e
|
|
1741
1741
|
}, [
|
|
1742
|
-
y.value ? (
|
|
1743
|
-
|
|
1742
|
+
y.value ? (k(), E("div", Rt)) : B("", !0),
|
|
1743
|
+
M(o.$slots, "default", {}, void 0, !0)
|
|
1744
1744
|
], 34),
|
|
1745
|
-
A.value ? (
|
|
1746
|
-
|
|
1747
|
-
])) :
|
|
1745
|
+
A.value ? (k(), E("div", Vt, [
|
|
1746
|
+
M(o.$slots, "buttons", {}, void 0, !0)
|
|
1747
|
+
])) : B("", !0)
|
|
1748
1748
|
], 512)
|
|
1749
1749
|
])
|
|
1750
|
-
], 4)) :
|
|
1750
|
+
], 4)) : B("", !0)
|
|
1751
1751
|
]));
|
|
1752
1752
|
}
|
|
1753
|
-
}, Ue = /* @__PURE__ */
|
|
1754
|
-
const
|
|
1753
|
+
}, Ue = /* @__PURE__ */ K(Lt, [["__scopeId", "data-v-d76f070e"]]);
|
|
1754
|
+
const $t = { class: "sky-dialog-overlay" }, Dt = { class: "sky-dialog-header" }, qt = ["title"], Ut = {
|
|
1755
1755
|
width: "15",
|
|
1756
1756
|
height: "15",
|
|
1757
1757
|
viewBox: "0 0 451.847 451.847",
|
|
1758
1758
|
style: { transform: "rotate(90deg)" }
|
|
1759
|
-
},
|
|
1759
|
+
}, jt = {
|
|
1760
1760
|
key: 0,
|
|
1761
1761
|
class: "sky-dialog-subtitle"
|
|
1762
|
-
},
|
|
1762
|
+
}, Ft = {
|
|
1763
1763
|
key: 0,
|
|
1764
1764
|
class: "sky-dialog-swipe-area"
|
|
1765
|
-
},
|
|
1765
|
+
}, Xt = {
|
|
1766
1766
|
key: 0,
|
|
1767
1767
|
class: "sky-dialog-footer"
|
|
1768
|
-
},
|
|
1768
|
+
}, Ht = {
|
|
1769
1769
|
__name: "DialogNext",
|
|
1770
1770
|
props: {
|
|
1771
1771
|
modelValue: {
|
|
@@ -1798,35 +1798,35 @@ const Lt = { class: "sky-dialog-overlay" }, Dt = { class: "sky-dialog-header" },
|
|
|
1798
1798
|
}
|
|
1799
1799
|
},
|
|
1800
1800
|
emits: ["update:modelValue", "close", "save"],
|
|
1801
|
-
setup(a, { emit:
|
|
1802
|
-
const c = Fe(), l = a, S =
|
|
1801
|
+
setup(a, { emit: T }) {
|
|
1802
|
+
const c = Fe(), l = a, S = T, v = z(null), P = z(null), w = z(0), y = V(() => {
|
|
1803
1803
|
try {
|
|
1804
1804
|
return We();
|
|
1805
1805
|
} catch {
|
|
1806
1806
|
return !1;
|
|
1807
1807
|
}
|
|
1808
|
-
}),
|
|
1808
|
+
}), O = V(() => {
|
|
1809
1809
|
try {
|
|
1810
1810
|
return Ke();
|
|
1811
1811
|
} catch {
|
|
1812
1812
|
return !1;
|
|
1813
1813
|
}
|
|
1814
|
-
}), A = V(() => l.hasButtons !== null ? l.hasButtons : !!c.buttons),
|
|
1814
|
+
}), A = V(() => l.hasButtons !== null ? l.hasButtons : !!c.buttons), N = () => {
|
|
1815
1815
|
S("update:modelValue", !1), S("close");
|
|
1816
1816
|
}, t = (o) => {
|
|
1817
|
-
o.key === "Escape" && l.closeOnEsc && l.modelValue &&
|
|
1817
|
+
o.key === "Escape" && l.closeOnEsc && l.modelValue && N(), o.key === "Enter" && l.modelValue && S("save");
|
|
1818
1818
|
}, n = (o) => {
|
|
1819
|
-
o.touches[0].clientX < 35 && (
|
|
1819
|
+
o.touches[0].clientX < 35 && (w.value = o.touches[0].clientX);
|
|
1820
1820
|
}, e = (o) => {
|
|
1821
|
-
|
|
1821
|
+
w.value > 0 && w.value < 35 && o.changedTouches[0].clientX - w.value > 50 && N(), w.value = 0;
|
|
1822
1822
|
}, i = () => {
|
|
1823
|
-
if (!(!
|
|
1823
|
+
if (!(!O.value || !v.value))
|
|
1824
1824
|
try {
|
|
1825
1825
|
if (typeof Android < "u" && Android.getDisplayCutoutTop) {
|
|
1826
1826
|
const o = Android.getDisplayCutoutTop();
|
|
1827
1827
|
if (o && window.devicePixelRatio > 1) {
|
|
1828
|
-
const
|
|
1829
|
-
v.value.style.paddingTop =
|
|
1828
|
+
const x = o / window.devicePixelRatio;
|
|
1829
|
+
v.value.style.paddingTop = x + "px";
|
|
1830
1830
|
}
|
|
1831
1831
|
}
|
|
1832
1832
|
} catch {
|
|
@@ -1839,61 +1839,61 @@ const Lt = { class: "sky-dialog-overlay" }, Dt = { class: "sky-dialog-header" },
|
|
|
1839
1839
|
i();
|
|
1840
1840
|
})) : document.body.style.overflow = "";
|
|
1841
1841
|
}
|
|
1842
|
-
),
|
|
1842
|
+
), ne(() => {
|
|
1843
1843
|
document.addEventListener("keydown", t), window.addEventListener("resize", i);
|
|
1844
|
-
}),
|
|
1844
|
+
}), oe(() => {
|
|
1845
1845
|
document.removeEventListener("keydown", t), window.removeEventListener("resize", i), document.body.style.overflow = "";
|
|
1846
|
-
}), (o,
|
|
1847
|
-
a.modelValue ? (
|
|
1846
|
+
}), (o, x) => (k(), ae(Te, { to: "body" }, [
|
|
1847
|
+
a.modelValue ? (k(), E("div", {
|
|
1848
1848
|
key: 0,
|
|
1849
1849
|
class: "sky-dialogbox sky-dialogbox-next",
|
|
1850
1850
|
style: Oe([a.zIndex ? { "z-index": a.zIndex } : null])
|
|
1851
1851
|
}, [
|
|
1852
|
-
|
|
1853
|
-
|
|
1852
|
+
f("div", $t, [
|
|
1853
|
+
f("div", {
|
|
1854
1854
|
ref_key: "dialogContent",
|
|
1855
1855
|
ref: v,
|
|
1856
1856
|
class: "sky-dialog-content"
|
|
1857
1857
|
}, [
|
|
1858
|
-
|
|
1859
|
-
|
|
1858
|
+
f("div", Dt, [
|
|
1859
|
+
f("button", {
|
|
1860
1860
|
class: "sky-dialog-back",
|
|
1861
1861
|
title: a.closeText,
|
|
1862
|
-
onClick:
|
|
1862
|
+
onClick: N
|
|
1863
1863
|
}, [
|
|
1864
|
-
(
|
|
1865
|
-
|
|
1864
|
+
(k(), E("svg", Ut, [...x[0] || (x[0] = [
|
|
1865
|
+
f("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"
|
|
1868
1868
|
}, null, -1)
|
|
1869
1869
|
])]))
|
|
1870
|
-
], 8,
|
|
1871
|
-
|
|
1870
|
+
], 8, qt),
|
|
1871
|
+
f("div", {
|
|
1872
1872
|
class: W(["sky-dialog-title", { "sky-dialog-title-with-subtitle": a.subtitle }])
|
|
1873
1873
|
}, [
|
|
1874
|
-
He(
|
|
1875
|
-
a.subtitle ? (
|
|
1874
|
+
He(I(a.title) + " ", 1),
|
|
1875
|
+
a.subtitle ? (k(), E("span", jt, I(a.subtitle), 1)) : B("", !0)
|
|
1876
1876
|
], 2)
|
|
1877
1877
|
]),
|
|
1878
|
-
|
|
1878
|
+
f("div", {
|
|
1879
1879
|
ref_key: "dialogPaper",
|
|
1880
|
-
ref:
|
|
1880
|
+
ref: P,
|
|
1881
1881
|
class: W(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !A.value }]),
|
|
1882
1882
|
onTouchstart: n,
|
|
1883
1883
|
onTouchend: e
|
|
1884
1884
|
}, [
|
|
1885
|
-
y.value ? (
|
|
1886
|
-
|
|
1885
|
+
y.value ? (k(), E("div", Ft)) : B("", !0),
|
|
1886
|
+
M(o.$slots, "default", {}, void 0, !0)
|
|
1887
1887
|
], 34),
|
|
1888
|
-
A.value ? (
|
|
1889
|
-
|
|
1890
|
-
])) :
|
|
1888
|
+
A.value ? (k(), E("div", Xt, [
|
|
1889
|
+
M(o.$slots, "buttons", {}, void 0, !0)
|
|
1890
|
+
])) : B("", !0)
|
|
1891
1891
|
], 512)
|
|
1892
1892
|
])
|
|
1893
|
-
], 4)) :
|
|
1893
|
+
], 4)) : B("", !0)
|
|
1894
1894
|
]));
|
|
1895
1895
|
}
|
|
1896
|
-
}, je = /* @__PURE__ */
|
|
1896
|
+
}, je = /* @__PURE__ */ K(Ht, [["__scopeId", "data-v-8e144f41"]]), ui = {
|
|
1897
1897
|
__name: "Dialog",
|
|
1898
1898
|
props: {
|
|
1899
1899
|
modelValue: {
|
|
@@ -1929,46 +1929,46 @@ const Lt = { class: "sky-dialog-overlay" }, Dt = { class: "sky-dialog-header" },
|
|
|
1929
1929
|
}
|
|
1930
1930
|
},
|
|
1931
1931
|
emits: ["update:modelValue", "close", "save"],
|
|
1932
|
-
setup(a, { emit:
|
|
1933
|
-
const c = a, l =
|
|
1932
|
+
setup(a, { emit: T }) {
|
|
1933
|
+
const c = a, l = T, S = V({
|
|
1934
1934
|
get: () => c.modelValue,
|
|
1935
|
-
set: (
|
|
1936
|
-
}), v =
|
|
1937
|
-
|
|
1935
|
+
set: (w) => l("update:modelValue", w)
|
|
1936
|
+
}), v = z(!0);
|
|
1937
|
+
ne(() => {
|
|
1938
1938
|
try {
|
|
1939
1939
|
new URLSearchParams(window.location.search).get("rocketMode") === "false" ? v.value = !1 : v.value = !0;
|
|
1940
1940
|
} catch {
|
|
1941
1941
|
v.value = !0;
|
|
1942
1942
|
}
|
|
1943
1943
|
});
|
|
1944
|
-
const
|
|
1945
|
-
return (
|
|
1944
|
+
const P = V(() => c.mode === "next" ? je : c.mode === "classic" ? Ue : v.value ? je : Ue);
|
|
1945
|
+
return (w, y) => (k(), ae(nt(P.value), {
|
|
1946
1946
|
modelValue: S.value,
|
|
1947
|
-
"onUpdate:modelValue": y[0] || (y[0] = (
|
|
1947
|
+
"onUpdate:modelValue": y[0] || (y[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: y[1] || (y[1] = (
|
|
1955
|
-
onSave: y[2] || (y[2] = (
|
|
1953
|
+
"has-buttons": !!w.$slots.buttons,
|
|
1954
|
+
onClose: y[1] || (y[1] = (O) => w.$emit("close")),
|
|
1955
|
+
onSave: y[2] || (y[2] = (O) => w.$emit("save"))
|
|
1956
1956
|
}, at({
|
|
1957
1957
|
default: _e(() => [
|
|
1958
|
-
|
|
1958
|
+
M(w.$slots, "default")
|
|
1959
1959
|
]),
|
|
1960
1960
|
_: 2
|
|
1961
1961
|
}, [
|
|
1962
|
-
|
|
1962
|
+
w.$slots.buttons ? {
|
|
1963
1963
|
name: "buttons",
|
|
1964
1964
|
fn: _e(() => [
|
|
1965
|
-
|
|
1965
|
+
M(w.$slots, "buttons")
|
|
1966
1966
|
]),
|
|
1967
1967
|
key: "0"
|
|
1968
1968
|
} : void 0
|
|
1969
1969
|
]), 1064, ["modelValue", "title", "subtitle", "z-index", "close-text", "close-on-esc", "has-buttons"]));
|
|
1970
1970
|
}
|
|
1971
|
-
},
|
|
1971
|
+
}, Gt = {
|
|
1972
1972
|
props: {
|
|
1973
1973
|
to: {
|
|
1974
1974
|
type: String,
|
|
@@ -1976,24 +1976,24 @@ const Lt = { class: "sky-dialog-overlay" }, Dt = { class: "sky-dialog-header" },
|
|
|
1976
1976
|
}
|
|
1977
1977
|
}
|
|
1978
1978
|
};
|
|
1979
|
-
function
|
|
1980
|
-
return
|
|
1981
|
-
|
|
1979
|
+
function Wt(a, T, c, l, S, v) {
|
|
1980
|
+
return k(), ae(Te, { to: c.to }, [
|
|
1981
|
+
M(a.$slots, "default")
|
|
1982
1982
|
], 8, ["to"]);
|
|
1983
1983
|
}
|
|
1984
|
-
const
|
|
1985
|
-
const
|
|
1984
|
+
const Kt = /* @__PURE__ */ K(Gt, [["render", Wt]]);
|
|
1985
|
+
const Yt = { class: "sky-modal-header" }, Zt = ["title"], Jt = {
|
|
1986
1986
|
width: "15",
|
|
1987
1987
|
height: "15",
|
|
1988
1988
|
viewBox: "0 0 451.847 451.847",
|
|
1989
1989
|
style: { transform: "rotate(90deg)" }
|
|
1990
|
-
},
|
|
1990
|
+
}, Qt = { class: "sky-modal-title-wrapper" }, ei = { class: "sky-modal-title" }, ti = {
|
|
1991
1991
|
key: 0,
|
|
1992
1992
|
class: "sky-modal-subtitle"
|
|
1993
|
-
},
|
|
1993
|
+
}, ii = { class: "sky-modal-body" }, oi = {
|
|
1994
1994
|
key: 0,
|
|
1995
1995
|
class: "sky-modal-footer"
|
|
1996
|
-
},
|
|
1996
|
+
}, ni = {
|
|
1997
1997
|
__name: "Modal",
|
|
1998
1998
|
props: {
|
|
1999
1999
|
modelValue: {
|
|
@@ -2030,15 +2030,15 @@ const Kt = { class: "sky-modal-header" }, Yt = ["title"], Zt = {
|
|
|
2030
2030
|
}
|
|
2031
2031
|
},
|
|
2032
2032
|
emits: ["update:modelValue", "close"],
|
|
2033
|
-
setup(a, { emit:
|
|
2034
|
-
const c = a, l =
|
|
2033
|
+
setup(a, { emit: T }) {
|
|
2034
|
+
const c = a, l = T, S = V(() => ({
|
|
2035
2035
|
width: c.width,
|
|
2036
2036
|
height: c.height
|
|
2037
2037
|
})), v = () => {
|
|
2038
2038
|
l("update:modelValue", !1), l("close");
|
|
2039
|
-
},
|
|
2039
|
+
}, P = () => {
|
|
2040
2040
|
c.closeOnOverlay && v();
|
|
2041
|
-
},
|
|
2041
|
+
}, w = (y) => {
|
|
2042
2042
|
y.key === "Escape" && c.closeOnEsc && c.modelValue && v();
|
|
2043
2043
|
};
|
|
2044
2044
|
return Ee(
|
|
@@ -2046,57 +2046,92 @@ const Kt = { class: "sky-modal-header" }, Yt = ["title"], Zt = {
|
|
|
2046
2046
|
(y) => {
|
|
2047
2047
|
y ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
|
|
2048
2048
|
}
|
|
2049
|
-
),
|
|
2050
|
-
document.addEventListener("keydown",
|
|
2051
|
-
}),
|
|
2052
|
-
document.removeEventListener("keydown",
|
|
2053
|
-
}), (y,
|
|
2049
|
+
), ne(() => {
|
|
2050
|
+
document.addEventListener("keydown", w);
|
|
2051
|
+
}), oe(() => {
|
|
2052
|
+
document.removeEventListener("keydown", w), document.body.style.overflow = "";
|
|
2053
|
+
}), (y, O) => (k(), ae(Kt, { to: "body" }, {
|
|
2054
2054
|
default: _e(() => [
|
|
2055
|
-
a.modelValue ? (
|
|
2055
|
+
a.modelValue ? (k(), E("div", {
|
|
2056
2056
|
key: 0,
|
|
2057
2057
|
class: "sky-modal-overlay",
|
|
2058
|
-
onClick: st(
|
|
2058
|
+
onClick: st(P, ["self"])
|
|
2059
2059
|
}, [
|
|
2060
|
-
|
|
2060
|
+
f("div", {
|
|
2061
2061
|
class: "sky-modal",
|
|
2062
2062
|
style: Oe(S.value)
|
|
2063
2063
|
}, [
|
|
2064
|
-
|
|
2065
|
-
|
|
2064
|
+
f("div", Yt, [
|
|
2065
|
+
f("button", {
|
|
2066
2066
|
class: "sky-modal-back",
|
|
2067
2067
|
onClick: v,
|
|
2068
2068
|
title: a.closeTitle
|
|
2069
2069
|
}, [
|
|
2070
|
-
(
|
|
2071
|
-
|
|
2070
|
+
(k(), E("svg", Jt, [...O[0] || (O[0] = [
|
|
2071
|
+
f("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"
|
|
2074
2074
|
}, null, -1)
|
|
2075
2075
|
])]))
|
|
2076
|
-
], 8,
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
a.subtitle ? (
|
|
2076
|
+
], 8, Zt),
|
|
2077
|
+
f("div", Qt, [
|
|
2078
|
+
f("h4", ei, I(a.title), 1),
|
|
2079
|
+
a.subtitle ? (k(), E("div", ti, I(a.subtitle), 1)) : B("", !0)
|
|
2080
2080
|
])
|
|
2081
2081
|
]),
|
|
2082
|
-
|
|
2083
|
-
|
|
2082
|
+
f("div", ii, [
|
|
2083
|
+
M(y.$slots, "default", {}, void 0, !0)
|
|
2084
2084
|
]),
|
|
2085
|
-
y.$slots.footer ? (
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
])) :
|
|
2085
|
+
y.$slots.footer ? (k(), E("div", oi, [
|
|
2086
|
+
O[1] || (O[1] = f("div", null, null, -1)),
|
|
2087
|
+
M(y.$slots, "footer", {}, void 0, !0),
|
|
2088
|
+
O[2] || (O[2] = f("div", null, null, -1))
|
|
2089
|
+
])) : B("", !0)
|
|
2090
2090
|
], 4)
|
|
2091
|
-
])) :
|
|
2091
|
+
])) : B("", !0)
|
|
2092
2092
|
]),
|
|
2093
2093
|
_: 3
|
|
2094
2094
|
}));
|
|
2095
2095
|
}
|
|
2096
|
-
},
|
|
2096
|
+
}, ci = /* @__PURE__ */ K(ni, [["__scopeId", "data-v-f18e26e2"]]);
|
|
2097
|
+
const ai = ["disabled"], si = {
|
|
2098
|
+
key: 0,
|
|
2099
|
+
class: "sky-btn-spinner"
|
|
2100
|
+
}, li = {
|
|
2101
|
+
__name: "Button",
|
|
2102
|
+
props: {
|
|
2103
|
+
variant: {
|
|
2104
|
+
type: String,
|
|
2105
|
+
default: "primary",
|
|
2106
|
+
validator: (a) => ["primary", "danger", "secondary", "outline"].includes(a)
|
|
2107
|
+
},
|
|
2108
|
+
loading: {
|
|
2109
|
+
type: Boolean,
|
|
2110
|
+
default: !1
|
|
2111
|
+
},
|
|
2112
|
+
disabled: {
|
|
2113
|
+
type: Boolean,
|
|
2114
|
+
default: !1
|
|
2115
|
+
},
|
|
2116
|
+
block: {
|
|
2117
|
+
type: Boolean,
|
|
2118
|
+
default: !1
|
|
2119
|
+
}
|
|
2120
|
+
},
|
|
2121
|
+
setup(a) {
|
|
2122
|
+
return (T, c) => (k(), E("button", lt({
|
|
2123
|
+
class: ["sky-btn", [`sky-btn-${a.variant}`, { "sky-btn-block": a.block, "sky-btn-loading": a.loading }]],
|
|
2124
|
+
disabled: a.disabled || a.loading
|
|
2125
|
+
}, T.$attrs), [
|
|
2126
|
+
a.loading ? (k(), E("span", si)) : B("", !0),
|
|
2127
|
+
M(T.$slots, "default", {}, void 0, !0)
|
|
2128
|
+
], 16, ai));
|
|
2129
|
+
}
|
|
2130
|
+
}, bi = /* @__PURE__ */ K(li, [["__scopeId", "data-v-22a7c5b3"]]);
|
|
2097
2131
|
export {
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2132
|
+
Kt as BaseTeleport,
|
|
2133
|
+
bi as Button,
|
|
2134
|
+
ui as Dialog,
|
|
2135
|
+
di as Header,
|
|
2136
|
+
ci as Modal
|
|
2102
2137
|
};
|