@skyservice-developers/vue-dev-kit 1.1.1 → 1.1.2
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 +3 -3
- package/dist/vue3/style.css +1 -1
- package/dist/vue3/vue-dev-kit.cjs +1 -1
- package/dist/vue3/vue-dev-kit.js +246 -228
- package/package.json +1 -1
- package/src/vue2/components/DialogModal.vue +87 -55
- package/src/vue2/components/Header.vue +28 -18
- package/src/vue3/components/DialogModal.vue +117 -71
- package/src/vue3/components/DialogNext.vue +117 -72
- package/src/vue3/components/Header.vue +29 -18
- package/src/vue3/components/Modal.vue +62 -40
package/dist/vue3/vue-dev-kit.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { computed as M, openBlock as k, createElementBlock as
|
|
1
|
+
import { computed as M, openBlock as k, createElementBlock as T, createElementVNode as c, createCommentVNode as B, renderSlot as C, toDisplayString as D, useSlots as qe, ref as U, watch as ge, nextTick as $e, onMounted as re, onUnmounted as ye, createBlock as Q, Teleport as ke, createVNode as xe, Transition as Ee, withCtx as j, normalizeStyle as _e, normalizeClass as L, createTextVNode as je, resolveDynamicComponent as Qe, createSlots as Je, withModifiers as ei } from "vue";
|
|
2
2
|
const J = (n, x) => {
|
|
3
|
-
const
|
|
4
|
-
for (const [
|
|
5
|
-
|
|
6
|
-
return
|
|
7
|
-
}, ii = { class: "sky-header" }, ti = { class: "header-content" }, oi = { class: "header-top" }, ai = { class: "header-title-wrapper" }, ni = ["title"],
|
|
3
|
+
const v = n.__vccOpts || n;
|
|
4
|
+
for (const [s, E] of x)
|
|
5
|
+
v[s] = E;
|
|
6
|
+
return v;
|
|
7
|
+
}, ii = { class: "sky-header" }, ti = { class: "header-content" }, oi = { class: "header-top" }, ai = { class: "header-title-wrapper" }, ni = ["title"], li = {
|
|
8
8
|
width: "15",
|
|
9
9
|
height: "15",
|
|
10
10
|
viewBox: "0 0 451.847 451.847",
|
|
11
11
|
style: { transform: "rotate(90deg)" }
|
|
12
|
-
},
|
|
12
|
+
}, si = { class: "header-title-content" }, ri = { class: "header-title" }, di = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "header-subtitle"
|
|
15
15
|
}, ui = { class: "header-actions" }, ci = {
|
|
@@ -37,92 +37,94 @@ const J = (n, x) => {
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
setup(n) {
|
|
40
|
-
const x = n,
|
|
40
|
+
const x = n, v = M(() => {
|
|
41
41
|
try {
|
|
42
42
|
return window.self !== window.top;
|
|
43
43
|
} catch {
|
|
44
44
|
return !0;
|
|
45
45
|
}
|
|
46
|
-
}),
|
|
46
|
+
}), s = M(() => x.backEvent || x.showBackButton && v.value), E = () => {
|
|
47
47
|
x.backEvent ? x.backEvent() : window.parent.postMessage({ type: "exit" }, "*");
|
|
48
48
|
};
|
|
49
|
-
return (
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
49
|
+
return (h, S) => (k(), T("header", ii, [
|
|
50
|
+
c("div", ti, [
|
|
51
|
+
c("div", oi, [
|
|
52
|
+
c("div", ai, [
|
|
53
|
+
s.value ? (k(), T("button", {
|
|
54
54
|
key: 0,
|
|
55
55
|
class: "btn-back",
|
|
56
|
-
onClick:
|
|
56
|
+
onClick: E,
|
|
57
57
|
title: n.backButtonTitle
|
|
58
58
|
}, [
|
|
59
|
-
(k(),
|
|
60
|
-
|
|
59
|
+
(k(), T("svg", li, [...S[0] || (S[0] = [
|
|
60
|
+
c("path", {
|
|
61
61
|
fill: "currentColor",
|
|
62
62
|
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"
|
|
63
63
|
}, null, -1)
|
|
64
64
|
])]))
|
|
65
65
|
], 8, ni)) : B("", !0),
|
|
66
|
-
|
|
67
|
-
C(
|
|
68
|
-
|
|
66
|
+
c("div", si, [
|
|
67
|
+
C(h.$slots, "title", {}, () => [
|
|
68
|
+
c("h4", ri, D(n.title), 1)
|
|
69
69
|
], !0),
|
|
70
|
-
C(
|
|
71
|
-
n.subtitle ? (k(),
|
|
70
|
+
C(h.$slots, "subtitle", {}, () => [
|
|
71
|
+
n.subtitle ? (k(), T("div", di, D(n.subtitle), 1)) : B("", !0)
|
|
72
72
|
], !0)
|
|
73
73
|
])
|
|
74
74
|
]),
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
c("div", ui, [
|
|
76
|
+
S[1] || (S[1] = c("div", null, null, -1)),
|
|
77
|
+
C(h.$slots, "default", {}, void 0, !0),
|
|
78
|
+
S[2] || (S[2] = c("div", null, null, -1))
|
|
77
79
|
])
|
|
78
80
|
])
|
|
79
81
|
])
|
|
80
82
|
]));
|
|
81
83
|
}
|
|
82
|
-
}, Ii = /* @__PURE__ */ J(ci, [["__scopeId", "data-v-
|
|
84
|
+
}, Ii = /* @__PURE__ */ J(ci, [["__scopeId", "data-v-50037c91"]]);
|
|
83
85
|
var bi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
84
86
|
function wi(n) {
|
|
85
87
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
86
88
|
}
|
|
87
89
|
var he = { exports: {} };
|
|
88
90
|
(function(n, x) {
|
|
89
|
-
(function(
|
|
90
|
-
var
|
|
91
|
+
(function(v, s) {
|
|
92
|
+
var E = "1.0.41", h = "", S = "?", p = "function", y = "undefined", _ = "object", z = "string", V = "major", i = "model", a = "name", e = "type", t = "vendor", o = "version", b = "architecture", X = "console", r = "mobile", d = "tablet", O = "smarttv", A = "wearable", F = "embedded", de = 500, ee = "Amazon", q = "Apple", Se = "ASUS", Te = "BlackBerry", ie = "Browser", te = "Chrome", Ge = "Edge", oe = "Firefox", ae = "Google", Oe = "Honor", Ae = "Huawei", We = "Lenovo", ne = "LG", ue = "Microsoft", ce = "Motorola", be = "Nvidia", Be = "OnePlus", H = "Opera", we = "OPPO", G = "Samsung", Ce = "Sharp", W = "Sony", me = "Xiaomi", fe = "Zebra", Ne = "Facebook", Me = "Chromium OS", ze = "Mac OS", Ve = " Browser", Ke = function(w, m) {
|
|
91
93
|
var u = {};
|
|
92
|
-
for (var g in
|
|
93
|
-
|
|
94
|
+
for (var g in w)
|
|
95
|
+
m[g] && m[g].length % 2 === 0 ? u[g] = m[g].concat(w[g]) : u[g] = w[g];
|
|
94
96
|
return u;
|
|
95
|
-
},
|
|
96
|
-
for (var
|
|
97
|
-
|
|
98
|
-
return
|
|
99
|
-
}, Pe = function(
|
|
100
|
-
return typeof
|
|
101
|
-
}, K = function(
|
|
102
|
-
return
|
|
103
|
-
}, Ye = function(
|
|
104
|
-
return typeof
|
|
105
|
-
}, ve = function(
|
|
106
|
-
if (typeof
|
|
107
|
-
return
|
|
108
|
-
}, Y = function(
|
|
109
|
-
for (var u = 0, g, I, P,
|
|
110
|
-
var pe =
|
|
111
|
-
for (g = I = 0; g < pe.length && !
|
|
112
|
-
if (
|
|
97
|
+
}, le = function(w) {
|
|
98
|
+
for (var m = {}, u = 0; u < w.length; u++)
|
|
99
|
+
m[w[u].toUpperCase()] = w[u];
|
|
100
|
+
return m;
|
|
101
|
+
}, Pe = function(w, m) {
|
|
102
|
+
return typeof w === z ? K(m).indexOf(K(w)) !== -1 : !1;
|
|
103
|
+
}, K = function(w) {
|
|
104
|
+
return w.toLowerCase();
|
|
105
|
+
}, Ye = function(w) {
|
|
106
|
+
return typeof w === z ? w.replace(/[^\d\.]/g, h).split(".")[0] : s;
|
|
107
|
+
}, ve = function(w, m) {
|
|
108
|
+
if (typeof w === z)
|
|
109
|
+
return w = w.replace(/^\s\s*/, h), typeof m === y ? w : w.substring(0, de);
|
|
110
|
+
}, Y = function(w, m) {
|
|
111
|
+
for (var u = 0, g, I, P, f, l, R; u < m.length && !l; ) {
|
|
112
|
+
var pe = m[u], Le = m[u + 1];
|
|
113
|
+
for (g = I = 0; g < pe.length && !l && pe[g]; )
|
|
114
|
+
if (l = pe[g++].exec(w), l)
|
|
113
115
|
for (P = 0; P < Le.length; P++)
|
|
114
|
-
R =
|
|
116
|
+
R = l[++I], f = Le[P], typeof f === _ && f.length > 0 ? f.length === 2 ? typeof f[1] == p ? this[f[0]] = f[1].call(this, R) : this[f[0]] = f[1] : f.length === 3 ? typeof f[1] === p && !(f[1].exec && f[1].test) ? this[f[0]] = R ? f[1].call(this, R, f[2]) : s : this[f[0]] = R ? R.replace(f[1], f[2]) : s : f.length === 4 && (this[f[0]] = R ? f[3].call(this, R.replace(f[1], f[2])) : s) : this[f] = R || s;
|
|
115
117
|
u += 2;
|
|
116
118
|
}
|
|
117
|
-
}, Z = function(
|
|
118
|
-
for (var u in
|
|
119
|
-
if (typeof
|
|
120
|
-
for (var g = 0; g <
|
|
121
|
-
if (Pe(
|
|
122
|
-
return u ===
|
|
123
|
-
} else if (Pe(
|
|
124
|
-
return u ===
|
|
125
|
-
return
|
|
119
|
+
}, Z = function(w, m) {
|
|
120
|
+
for (var u in m)
|
|
121
|
+
if (typeof m[u] === _ && m[u].length > 0) {
|
|
122
|
+
for (var g = 0; g < m[u].length; g++)
|
|
123
|
+
if (Pe(m[u][g], w))
|
|
124
|
+
return u === S ? s : u;
|
|
125
|
+
} else if (Pe(m[u], w))
|
|
126
|
+
return u === S ? s : u;
|
|
127
|
+
return m.hasOwnProperty("*") ? m["*"] : w;
|
|
126
128
|
}, Ze = {
|
|
127
129
|
"1.0": "/8",
|
|
128
130
|
"1.2": "/1",
|
|
@@ -470,44 +472,44 @@ var he = { exports: {} };
|
|
|
470
472
|
/\b((amd|x|x86[-_]?|wow|win)64)\b/i
|
|
471
473
|
// AMD64 (x64)
|
|
472
474
|
],
|
|
473
|
-
[[
|
|
475
|
+
[[b, "amd64"]],
|
|
474
476
|
[
|
|
475
477
|
/(ia32(?=;))/i,
|
|
476
478
|
// IA32 (quicktime)
|
|
477
479
|
/\b((i[346]|x)86)(pc)?\b/i
|
|
478
480
|
// IA32 (x86)
|
|
479
481
|
],
|
|
480
|
-
[[
|
|
482
|
+
[[b, "ia32"]],
|
|
481
483
|
[
|
|
482
484
|
/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i
|
|
483
485
|
// ARM64
|
|
484
486
|
],
|
|
485
|
-
[[
|
|
487
|
+
[[b, "arm64"]],
|
|
486
488
|
[
|
|
487
489
|
/\b(arm(v[67])?ht?n?[fl]p?)\b/i
|
|
488
490
|
// ARMHF
|
|
489
491
|
],
|
|
490
|
-
[[
|
|
492
|
+
[[b, "armhf"]],
|
|
491
493
|
[
|
|
492
494
|
// PocketPC mistakenly identified as PowerPC
|
|
493
495
|
/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i
|
|
494
496
|
],
|
|
495
|
-
[[
|
|
497
|
+
[[b, "arm"]],
|
|
496
498
|
[
|
|
497
499
|
/((ppc|powerpc)(64)?)( mac|;|\))/i
|
|
498
500
|
// PowerPC
|
|
499
501
|
],
|
|
500
|
-
[[
|
|
502
|
+
[[b, /ower/, h, K]],
|
|
501
503
|
[
|
|
502
504
|
/ sun4\w[;\)]/i
|
|
503
505
|
// SPARC
|
|
504
506
|
],
|
|
505
|
-
[[
|
|
507
|
+
[[b, "sparc"]],
|
|
506
508
|
[
|
|
507
509
|
/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i
|
|
508
510
|
// IA64, 68K, ARM/64, AVR/32, IRIX/64, MIPS/64, SPARC/64, PA-RISC
|
|
509
511
|
],
|
|
510
|
-
[[
|
|
512
|
+
[[b, K]]
|
|
511
513
|
],
|
|
512
514
|
device: [
|
|
513
515
|
[
|
|
@@ -973,73 +975,73 @@ var he = { exports: {} };
|
|
|
973
975
|
/smart-tv.+(samsung)/i
|
|
974
976
|
// Samsung
|
|
975
977
|
],
|
|
976
|
-
[t, [e,
|
|
978
|
+
[t, [e, O]],
|
|
977
979
|
[
|
|
978
980
|
/hbbtv.+maple;(\d+)/i
|
|
979
981
|
],
|
|
980
|
-
[[i, /^/, "SmartTV"], [t, G], [e,
|
|
982
|
+
[[i, /^/, "SmartTV"], [t, G], [e, O]],
|
|
981
983
|
[
|
|
982
984
|
/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i
|
|
983
985
|
// LG SmartTV
|
|
984
986
|
],
|
|
985
|
-
[[t, ne], [e,
|
|
987
|
+
[[t, ne], [e, O]],
|
|
986
988
|
[
|
|
987
989
|
/(apple) ?tv/i
|
|
988
990
|
// Apple TV
|
|
989
991
|
],
|
|
990
|
-
[t, [i, q + " TV"], [e,
|
|
992
|
+
[t, [i, q + " TV"], [e, O]],
|
|
991
993
|
[
|
|
992
994
|
/crkey/i
|
|
993
995
|
// Google Chromecast
|
|
994
996
|
],
|
|
995
|
-
[[i, te + "cast"], [t, ae], [e,
|
|
997
|
+
[[i, te + "cast"], [t, ae], [e, O]],
|
|
996
998
|
[
|
|
997
999
|
/droid.+aft(\w+)( bui|\))/i
|
|
998
1000
|
// Fire TV
|
|
999
1001
|
],
|
|
1000
|
-
[i, [t, ee], [e,
|
|
1002
|
+
[i, [t, ee], [e, O]],
|
|
1001
1003
|
[
|
|
1002
1004
|
/(shield \w+ tv)/i
|
|
1003
1005
|
// Nvidia Shield TV
|
|
1004
1006
|
],
|
|
1005
|
-
[i, [t, be], [e,
|
|
1007
|
+
[i, [t, be], [e, O]],
|
|
1006
1008
|
[
|
|
1007
1009
|
/\(dtv[\);].+(aquos)/i,
|
|
1008
1010
|
/(aquos-tv[\w ]+)\)/i
|
|
1009
1011
|
// Sharp
|
|
1010
1012
|
],
|
|
1011
|
-
[i, [t, Ce], [e,
|
|
1013
|
+
[i, [t, Ce], [e, O]],
|
|
1012
1014
|
[
|
|
1013
1015
|
/(bravia[\w ]+)( bui|\))/i
|
|
1014
1016
|
// Sony
|
|
1015
1017
|
],
|
|
1016
|
-
[i, [t, W], [e,
|
|
1018
|
+
[i, [t, W], [e, O]],
|
|
1017
1019
|
[
|
|
1018
1020
|
/(mi(tv|box)-?\w+) bui/i
|
|
1019
1021
|
// Xiaomi
|
|
1020
1022
|
],
|
|
1021
|
-
[i, [t, me], [e,
|
|
1023
|
+
[i, [t, me], [e, O]],
|
|
1022
1024
|
[
|
|
1023
1025
|
/Hbbtv.*(technisat) (.*);/i
|
|
1024
1026
|
// TechniSAT
|
|
1025
1027
|
],
|
|
1026
|
-
[t, i, [e,
|
|
1028
|
+
[t, i, [e, O]],
|
|
1027
1029
|
[
|
|
1028
1030
|
/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,
|
|
1029
1031
|
// Roku
|
|
1030
1032
|
/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i
|
|
1031
1033
|
// HbbTV devices
|
|
1032
1034
|
],
|
|
1033
|
-
[[t, ve], [i, ve], [e,
|
|
1035
|
+
[[t, ve], [i, ve], [e, O]],
|
|
1034
1036
|
[
|
|
1035
1037
|
// SmartTV from Unidentified Vendors
|
|
1036
1038
|
/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i
|
|
1037
1039
|
],
|
|
1038
|
-
[i, [e,
|
|
1040
|
+
[i, [e, O]],
|
|
1039
1041
|
[
|
|
1040
1042
|
/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i
|
|
1041
1043
|
],
|
|
1042
|
-
[[e,
|
|
1044
|
+
[[e, O]],
|
|
1043
1045
|
[
|
|
1044
1046
|
///////////////////
|
|
1045
1047
|
// CONSOLES
|
|
@@ -1359,25 +1361,25 @@ var he = { exports: {} };
|
|
|
1359
1361
|
],
|
|
1360
1362
|
[a, o]
|
|
1361
1363
|
]
|
|
1362
|
-
}, N = function(
|
|
1363
|
-
if (typeof
|
|
1364
|
-
return new N(
|
|
1365
|
-
var u = typeof
|
|
1364
|
+
}, N = function(w, m) {
|
|
1365
|
+
if (typeof w === _ && (m = w, w = s), !(this instanceof N))
|
|
1366
|
+
return new N(w, m).getResult();
|
|
1367
|
+
var u = typeof v !== y && v.navigator ? v.navigator : s, g = w || (u && u.userAgent ? u.userAgent : h), I = u && u.userAgentData ? u.userAgentData : s, P = m ? Ke(Ie, m) : Ie, f = u && u.userAgent == g;
|
|
1366
1368
|
return this.getBrowser = function() {
|
|
1367
|
-
var
|
|
1368
|
-
return
|
|
1369
|
+
var l = {};
|
|
1370
|
+
return l[a] = s, l[o] = s, Y.call(l, g, P.browser), l[V] = Ye(l[o]), f && u && u.brave && typeof u.brave.isBrave == p && (l[a] = "Brave"), l;
|
|
1369
1371
|
}, this.getCPU = function() {
|
|
1370
|
-
var
|
|
1371
|
-
return
|
|
1372
|
+
var l = {};
|
|
1373
|
+
return l[b] = s, Y.call(l, g, P.cpu), l;
|
|
1372
1374
|
}, this.getDevice = function() {
|
|
1373
|
-
var
|
|
1374
|
-
return
|
|
1375
|
+
var l = {};
|
|
1376
|
+
return l[t] = s, l[i] = s, l[e] = s, Y.call(l, g, P.device), f && !l[e] && I && I.mobile && (l[e] = r), f && l[i] == "Macintosh" && u && typeof u.standalone !== y && u.maxTouchPoints && u.maxTouchPoints > 2 && (l[i] = "iPad", l[e] = d), l;
|
|
1375
1377
|
}, this.getEngine = function() {
|
|
1376
|
-
var
|
|
1377
|
-
return
|
|
1378
|
+
var l = {};
|
|
1379
|
+
return l[a] = s, l[o] = s, Y.call(l, g, P.engine), l;
|
|
1378
1380
|
}, this.getOS = function() {
|
|
1379
|
-
var
|
|
1380
|
-
return
|
|
1381
|
+
var l = {};
|
|
1382
|
+
return l[a] = s, l[o] = s, Y.call(l, g, P.os), f && !l[a] && I && I.platform && I.platform != "Unknown" && (l[a] = I.platform.replace(/chrome os/i, Me).replace(/macos/i, ze)), l;
|
|
1381
1383
|
}, this.getResult = function() {
|
|
1382
1384
|
return {
|
|
1383
1385
|
ua: this.getUA(),
|
|
@@ -1389,21 +1391,21 @@ var he = { exports: {} };
|
|
|
1389
1391
|
};
|
|
1390
1392
|
}, this.getUA = function() {
|
|
1391
1393
|
return g;
|
|
1392
|
-
}, this.setUA = function(
|
|
1393
|
-
return g = typeof
|
|
1394
|
+
}, this.setUA = function(l) {
|
|
1395
|
+
return g = typeof l === z && l.length > de ? ve(l, de) : l, this;
|
|
1394
1396
|
}, this.setUA(g), this;
|
|
1395
1397
|
};
|
|
1396
|
-
N.VERSION =
|
|
1397
|
-
var $ = typeof
|
|
1398
|
+
N.VERSION = E, N.BROWSER = le([a, o, V]), N.CPU = le([b]), N.DEVICE = le([i, t, e, X, r, O, d, A, F]), N.ENGINE = N.OS = le([a, o]), n.exports && (x = n.exports = N), x.UAParser = N;
|
|
1399
|
+
var $ = typeof v !== y && (v.jQuery || v.Zepto);
|
|
1398
1400
|
if ($ && !$.ua) {
|
|
1399
|
-
var
|
|
1400
|
-
$.ua =
|
|
1401
|
-
return
|
|
1402
|
-
}, $.ua.set = function(
|
|
1403
|
-
|
|
1404
|
-
var
|
|
1405
|
-
for (var u in
|
|
1406
|
-
$.ua[u] =
|
|
1401
|
+
var se = new N();
|
|
1402
|
+
$.ua = se.getResult(), $.ua.get = function() {
|
|
1403
|
+
return se.getUA();
|
|
1404
|
+
}, $.ua.set = function(w) {
|
|
1405
|
+
se.setUA(w);
|
|
1406
|
+
var m = se.getResult();
|
|
1407
|
+
for (var u in m)
|
|
1408
|
+
$.ua[u] = m[u];
|
|
1407
1409
|
};
|
|
1408
1410
|
}
|
|
1409
1411
|
})(typeof window == "object" ? window : bi);
|
|
@@ -1471,82 +1473,85 @@ const vi = {
|
|
|
1471
1473
|
},
|
|
1472
1474
|
emits: ["update:modelValue", "close", "save"],
|
|
1473
1475
|
setup(n, { emit: x }) {
|
|
1474
|
-
const
|
|
1476
|
+
const v = qe(), s = n, E = x, h = U(null), S = U(null), p = U(0), y = M(() => {
|
|
1475
1477
|
try {
|
|
1476
1478
|
return Fe();
|
|
1477
1479
|
} catch {
|
|
1478
1480
|
return !1;
|
|
1479
1481
|
}
|
|
1480
|
-
}),
|
|
1482
|
+
}), _ = M(() => {
|
|
1481
1483
|
try {
|
|
1482
1484
|
return He();
|
|
1483
1485
|
} catch {
|
|
1484
1486
|
return !1;
|
|
1485
1487
|
}
|
|
1486
|
-
}), z = M(() =>
|
|
1487
|
-
|
|
1488
|
+
}), z = M(() => s.hasButtons !== null ? s.hasButtons : !!v.buttons), V = () => {
|
|
1489
|
+
E("update:modelValue", !1), E("close");
|
|
1488
1490
|
}, i = (o) => {
|
|
1489
|
-
o.key === "Escape" &&
|
|
1491
|
+
o.key === "Escape" && s.closeOnEsc && s.modelValue && V(), o.key === "Enter" && s.modelValue && E("save");
|
|
1490
1492
|
}, a = (o) => {
|
|
1491
|
-
o.touches[0].clientX < 35 && (
|
|
1493
|
+
o.touches[0].clientX < 35 && (p.value = o.touches[0].clientX);
|
|
1492
1494
|
}, e = (o) => {
|
|
1493
|
-
|
|
1495
|
+
p.value > 0 && p.value < 35 && o.changedTouches[0].clientX - p.value > 50 && V(), p.value = 0;
|
|
1494
1496
|
}, t = () => {
|
|
1495
|
-
if (!(!
|
|
1497
|
+
if (!(!_.value || !h.value))
|
|
1496
1498
|
try {
|
|
1497
1499
|
if (typeof Android < "u" && Android.getDisplayCutoutTop) {
|
|
1498
1500
|
const o = Android.getDisplayCutoutTop();
|
|
1499
1501
|
if (o && window.devicePixelRatio > 1) {
|
|
1500
|
-
const
|
|
1501
|
-
|
|
1502
|
+
const b = o / window.devicePixelRatio;
|
|
1503
|
+
h.value.style.paddingTop = b + "px";
|
|
1502
1504
|
}
|
|
1503
1505
|
}
|
|
1504
1506
|
} catch {
|
|
1505
1507
|
}
|
|
1506
1508
|
};
|
|
1507
|
-
return ge(
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1509
|
+
return ge(
|
|
1510
|
+
() => s.modelValue,
|
|
1511
|
+
(o) => {
|
|
1512
|
+
o ? (document.body.style.overflow = "hidden", $e(() => {
|
|
1513
|
+
t();
|
|
1514
|
+
})) : document.body.style.overflow = "";
|
|
1515
|
+
}
|
|
1516
|
+
), re(() => {
|
|
1512
1517
|
document.addEventListener("keydown", i), window.addEventListener("resize", t);
|
|
1513
1518
|
}), ye(() => {
|
|
1514
1519
|
document.removeEventListener("keydown", i), window.removeEventListener("resize", t), document.body.style.overflow = "";
|
|
1515
|
-
}), (o,
|
|
1516
|
-
xe(
|
|
1520
|
+
}), (o, b) => (k(), Q(ke, { to: "body" }, [
|
|
1521
|
+
xe(Ee, {
|
|
1517
1522
|
name: n.enableAnimation ? "dialog-slide" : ""
|
|
1518
1523
|
}, {
|
|
1519
1524
|
default: j(() => [
|
|
1520
|
-
n.modelValue ? (k(),
|
|
1525
|
+
n.modelValue ? (k(), T("div", {
|
|
1521
1526
|
key: 0,
|
|
1522
1527
|
class: "sky-dialogbox sky-dialogbox-classic",
|
|
1523
|
-
style:
|
|
1528
|
+
style: _e([n.zIndex ? { "z-index": n.zIndex } : null])
|
|
1524
1529
|
}, [
|
|
1525
|
-
|
|
1530
|
+
c("div", {
|
|
1526
1531
|
class: L(["sky-dialog-overlay", { "sky-dialog-animate": n.enableAnimation }])
|
|
1527
1532
|
}, [
|
|
1528
|
-
|
|
1533
|
+
c("div", {
|
|
1529
1534
|
ref_key: "dialogContent",
|
|
1530
|
-
ref:
|
|
1535
|
+
ref: h,
|
|
1531
1536
|
class: "sky-dialog-content"
|
|
1532
1537
|
}, [
|
|
1533
|
-
|
|
1538
|
+
c("div", {
|
|
1534
1539
|
class: L(["sky-dialog-title", { "sky-dialog-title-with-subtitle": n.subtitle }])
|
|
1535
1540
|
}, [
|
|
1536
1541
|
je(D(n.title) + " ", 1),
|
|
1537
|
-
n.subtitle ? (k(),
|
|
1542
|
+
n.subtitle ? (k(), T("span", vi, D(n.subtitle), 1)) : B("", !0)
|
|
1538
1543
|
], 2),
|
|
1539
|
-
|
|
1544
|
+
c("button", {
|
|
1540
1545
|
class: "sky-dialog-close",
|
|
1541
1546
|
title: n.closeText,
|
|
1542
1547
|
onClick: V
|
|
1543
|
-
}, [...
|
|
1544
|
-
|
|
1548
|
+
}, [...b[0] || (b[0] = [
|
|
1549
|
+
c("svg", {
|
|
1545
1550
|
viewBox: "0 0 16 16",
|
|
1546
1551
|
width: "16",
|
|
1547
1552
|
height: "16"
|
|
1548
1553
|
}, [
|
|
1549
|
-
|
|
1554
|
+
c("line", {
|
|
1550
1555
|
x1: "1",
|
|
1551
1556
|
y1: "15",
|
|
1552
1557
|
x2: "15",
|
|
@@ -1554,7 +1559,7 @@ const vi = {
|
|
|
1554
1559
|
stroke: "currentColor",
|
|
1555
1560
|
"stroke-width": "2"
|
|
1556
1561
|
}),
|
|
1557
|
-
|
|
1562
|
+
c("line", {
|
|
1558
1563
|
x1: "1",
|
|
1559
1564
|
y1: "1",
|
|
1560
1565
|
x2: "15",
|
|
@@ -1564,22 +1569,24 @@ const vi = {
|
|
|
1564
1569
|
})
|
|
1565
1570
|
], -1)
|
|
1566
1571
|
])], 8, pi),
|
|
1567
|
-
|
|
1568
|
-
|
|
1572
|
+
b[3] || (b[3] = c("div", { class: "sky-dialog-clearfix" }, null, -1)),
|
|
1573
|
+
c("div", {
|
|
1569
1574
|
ref_key: "dialogPaper",
|
|
1570
|
-
ref:
|
|
1575
|
+
ref: S,
|
|
1571
1576
|
class: L(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !z.value }]),
|
|
1572
1577
|
onTouchstart: a,
|
|
1573
1578
|
onTouchend: e
|
|
1574
1579
|
}, [
|
|
1575
|
-
y.value ? (k(),
|
|
1580
|
+
y.value ? (k(), T("div", hi)) : B("", !0),
|
|
1576
1581
|
C(o.$slots, "default", {}, void 0, !0)
|
|
1577
1582
|
], 34),
|
|
1578
|
-
z.value ? (k(),
|
|
1583
|
+
z.value ? (k(), T("div", {
|
|
1579
1584
|
key: 0,
|
|
1580
1585
|
class: L(["sky-dialog-footer", { "sky-dialog-footer-animate": n.enableAnimation }])
|
|
1581
1586
|
}, [
|
|
1582
|
-
|
|
1587
|
+
b[1] || (b[1] = c("div", null, null, -1)),
|
|
1588
|
+
C(o.$slots, "buttons", {}, void 0, !0),
|
|
1589
|
+
b[2] || (b[2] = c("div", null, null, -1))
|
|
1583
1590
|
], 2)) : B("", !0)
|
|
1584
1591
|
], 512)
|
|
1585
1592
|
], 2)
|
|
@@ -1589,7 +1596,7 @@ const vi = {
|
|
|
1589
1596
|
}, 8, ["name"])
|
|
1590
1597
|
]));
|
|
1591
1598
|
}
|
|
1592
|
-
}, De = /* @__PURE__ */ J(gi, [["__scopeId", "data-v-
|
|
1599
|
+
}, De = /* @__PURE__ */ J(gi, [["__scopeId", "data-v-562a7c6d"]]);
|
|
1593
1600
|
const yi = ["title"], ki = {
|
|
1594
1601
|
width: "15",
|
|
1595
1602
|
height: "15",
|
|
@@ -1598,10 +1605,10 @@ const yi = ["title"], ki = {
|
|
|
1598
1605
|
}, xi = {
|
|
1599
1606
|
key: 0,
|
|
1600
1607
|
class: "sky-dialog-subtitle"
|
|
1601
|
-
},
|
|
1608
|
+
}, Ei = {
|
|
1602
1609
|
key: 0,
|
|
1603
1610
|
class: "sky-dialog-swipe-area"
|
|
1604
|
-
},
|
|
1611
|
+
}, _i = {
|
|
1605
1612
|
__name: "DialogNext",
|
|
1606
1613
|
props: {
|
|
1607
1614
|
modelValue: {
|
|
@@ -1639,99 +1646,105 @@ const yi = ["title"], ki = {
|
|
|
1639
1646
|
},
|
|
1640
1647
|
emits: ["update:modelValue", "close", "save"],
|
|
1641
1648
|
setup(n, { emit: x }) {
|
|
1642
|
-
const
|
|
1649
|
+
const v = qe(), s = n, E = x, h = U(null), S = U(null), p = U(0), y = M(() => {
|
|
1643
1650
|
try {
|
|
1644
1651
|
return Fe();
|
|
1645
1652
|
} catch {
|
|
1646
1653
|
return !1;
|
|
1647
1654
|
}
|
|
1648
|
-
}),
|
|
1655
|
+
}), _ = M(() => {
|
|
1649
1656
|
try {
|
|
1650
1657
|
return He();
|
|
1651
1658
|
} catch {
|
|
1652
1659
|
return !1;
|
|
1653
1660
|
}
|
|
1654
|
-
}), z = M(() =>
|
|
1655
|
-
|
|
1661
|
+
}), z = M(() => s.hasButtons !== null ? s.hasButtons : !!v.buttons), V = () => {
|
|
1662
|
+
E("update:modelValue", !1), E("close");
|
|
1656
1663
|
}, i = (o) => {
|
|
1657
|
-
o.key === "Escape" &&
|
|
1664
|
+
o.key === "Escape" && s.closeOnEsc && s.modelValue && V(), o.key === "Enter" && s.modelValue && E("save");
|
|
1658
1665
|
}, a = (o) => {
|
|
1659
|
-
o.touches[0].clientX < 35 && (
|
|
1666
|
+
o.touches[0].clientX < 35 && (p.value = o.touches[0].clientX);
|
|
1660
1667
|
}, e = (o) => {
|
|
1661
|
-
|
|
1668
|
+
p.value > 0 && p.value < 35 && o.changedTouches[0].clientX - p.value > 50 && V(), p.value = 0;
|
|
1662
1669
|
}, t = () => {
|
|
1663
|
-
if (!(!
|
|
1670
|
+
if (!(!_.value || !h.value))
|
|
1664
1671
|
try {
|
|
1665
1672
|
if (typeof Android < "u" && Android.getDisplayCutoutTop) {
|
|
1666
1673
|
const o = Android.getDisplayCutoutTop();
|
|
1667
1674
|
if (o && window.devicePixelRatio > 1) {
|
|
1668
|
-
const
|
|
1669
|
-
|
|
1675
|
+
const b = o / window.devicePixelRatio;
|
|
1676
|
+
h.value.style.paddingTop = b + "px";
|
|
1670
1677
|
}
|
|
1671
1678
|
}
|
|
1672
1679
|
} catch {
|
|
1673
1680
|
}
|
|
1674
1681
|
};
|
|
1675
|
-
return ge(
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1682
|
+
return ge(
|
|
1683
|
+
() => s.modelValue,
|
|
1684
|
+
(o) => {
|
|
1685
|
+
o ? (document.body.style.overflow = "hidden", $e(() => {
|
|
1686
|
+
t();
|
|
1687
|
+
})) : document.body.style.overflow = "";
|
|
1688
|
+
}
|
|
1689
|
+
), re(() => {
|
|
1680
1690
|
document.addEventListener("keydown", i), window.addEventListener("resize", t);
|
|
1681
1691
|
}), ye(() => {
|
|
1682
1692
|
document.removeEventListener("keydown", i), window.removeEventListener("resize", t), document.body.style.overflow = "";
|
|
1683
|
-
}), (o,
|
|
1684
|
-
xe(
|
|
1693
|
+
}), (o, b) => (k(), Q(ke, { to: "body" }, [
|
|
1694
|
+
xe(Ee, {
|
|
1685
1695
|
name: n.enableAnimation ? "dialog-slide" : ""
|
|
1686
1696
|
}, {
|
|
1687
1697
|
default: j(() => [
|
|
1688
|
-
n.modelValue ? (k(),
|
|
1698
|
+
n.modelValue ? (k(), T("div", {
|
|
1689
1699
|
key: 0,
|
|
1690
1700
|
class: "sky-dialogbox sky-dialogbox-next",
|
|
1691
|
-
style:
|
|
1701
|
+
style: _e([n.zIndex ? { "z-index": n.zIndex } : null])
|
|
1692
1702
|
}, [
|
|
1693
|
-
|
|
1703
|
+
c("div", {
|
|
1694
1704
|
class: L(["sky-dialog-overlay", { "sky-dialog-animate": n.enableAnimation }])
|
|
1695
1705
|
}, [
|
|
1696
|
-
|
|
1706
|
+
c("div", {
|
|
1697
1707
|
ref_key: "dialogContent",
|
|
1698
|
-
ref:
|
|
1708
|
+
ref: h,
|
|
1699
1709
|
class: "sky-dialog-content"
|
|
1700
1710
|
}, [
|
|
1701
|
-
|
|
1711
|
+
c("button", {
|
|
1702
1712
|
class: "sky-dialog-back",
|
|
1703
1713
|
title: n.closeText,
|
|
1704
1714
|
onClick: V
|
|
1705
1715
|
}, [
|
|
1706
|
-
(k(),
|
|
1707
|
-
|
|
1716
|
+
(k(), T("svg", ki, [...b[0] || (b[0] = [
|
|
1717
|
+
c("path", {
|
|
1708
1718
|
fill: "currentColor",
|
|
1709
1719
|
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"
|
|
1710
1720
|
}, null, -1)
|
|
1711
1721
|
])]))
|
|
1712
1722
|
], 8, yi),
|
|
1713
|
-
|
|
1723
|
+
c("div", {
|
|
1714
1724
|
class: L(["sky-dialog-title", { "sky-dialog-title-with-subtitle": n.subtitle }])
|
|
1715
1725
|
}, [
|
|
1716
1726
|
je(D(n.title) + " ", 1),
|
|
1717
|
-
n.subtitle ? (k(),
|
|
1727
|
+
n.subtitle ? (k(), T("span", xi, D(n.subtitle), 1)) : B("", !0)
|
|
1718
1728
|
], 2),
|
|
1719
|
-
|
|
1720
|
-
|
|
1729
|
+
b[3] || (b[3] = c("div", { class: "sky-dialog-clearfix" }, null, -1)),
|
|
1730
|
+
c("div", {
|
|
1721
1731
|
ref_key: "dialogPaper",
|
|
1722
|
-
ref:
|
|
1732
|
+
ref: S,
|
|
1723
1733
|
class: L(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !z.value }]),
|
|
1724
1734
|
onTouchstart: a,
|
|
1725
1735
|
onTouchend: e
|
|
1726
1736
|
}, [
|
|
1727
|
-
y.value ? (k(),
|
|
1737
|
+
y.value ? (k(), T("div", Ei)) : B("", !0),
|
|
1728
1738
|
C(o.$slots, "default", {}, void 0, !0)
|
|
1729
1739
|
], 34),
|
|
1730
|
-
|
|
1740
|
+
b[4] || (b[4] = c("div", null, null, -1)),
|
|
1741
|
+
z.value ? (k(), T("div", {
|
|
1731
1742
|
key: 0,
|
|
1732
1743
|
class: L(["sky-dialog-footer", { "sky-dialog-footer-animate": n.enableAnimation }])
|
|
1733
1744
|
}, [
|
|
1734
|
-
|
|
1745
|
+
b[1] || (b[1] = c("div", null, null, -1)),
|
|
1746
|
+
C(o.$slots, "buttons", {}, void 0, !0),
|
|
1747
|
+
b[2] || (b[2] = c("div", null, null, -1))
|
|
1735
1748
|
], 2)) : B("", !0)
|
|
1736
1749
|
], 512)
|
|
1737
1750
|
], 2)
|
|
@@ -1741,7 +1754,7 @@ const yi = ["title"], ki = {
|
|
|
1741
1754
|
}, 8, ["name"])
|
|
1742
1755
|
]));
|
|
1743
1756
|
}
|
|
1744
|
-
}, Ue = /* @__PURE__ */ J(
|
|
1757
|
+
}, Ue = /* @__PURE__ */ J(_i, [["__scopeId", "data-v-a87c166a"]]), Li = {
|
|
1745
1758
|
__name: "Dialog",
|
|
1746
1759
|
props: {
|
|
1747
1760
|
modelValue: {
|
|
@@ -1782,40 +1795,40 @@ const yi = ["title"], ki = {
|
|
|
1782
1795
|
},
|
|
1783
1796
|
emits: ["update:modelValue", "close", "save"],
|
|
1784
1797
|
setup(n, { emit: x }) {
|
|
1785
|
-
const
|
|
1786
|
-
get: () =>
|
|
1787
|
-
set: (
|
|
1788
|
-
}),
|
|
1798
|
+
const v = n, s = x, E = M({
|
|
1799
|
+
get: () => v.modelValue,
|
|
1800
|
+
set: (p) => s("update:modelValue", p)
|
|
1801
|
+
}), h = U(!0);
|
|
1789
1802
|
re(() => {
|
|
1790
1803
|
try {
|
|
1791
|
-
new URLSearchParams(window.location.search).get("rocketMode") === "false" ?
|
|
1804
|
+
new URLSearchParams(window.location.search).get("rocketMode") === "false" ? h.value = !1 : h.value = !0;
|
|
1792
1805
|
} catch {
|
|
1793
|
-
|
|
1806
|
+
h.value = !0;
|
|
1794
1807
|
}
|
|
1795
1808
|
});
|
|
1796
|
-
const
|
|
1797
|
-
return (
|
|
1798
|
-
modelValue:
|
|
1799
|
-
"onUpdate:modelValue": y[0] || (y[0] = (
|
|
1809
|
+
const S = M(() => v.mode === "next" ? Ue : v.mode === "classic" ? De : h.value ? Ue : De);
|
|
1810
|
+
return (p, y) => (k(), Q(Qe(S.value), {
|
|
1811
|
+
modelValue: E.value,
|
|
1812
|
+
"onUpdate:modelValue": y[0] || (y[0] = (_) => E.value = _),
|
|
1800
1813
|
title: n.title,
|
|
1801
1814
|
subtitle: n.subtitle,
|
|
1802
1815
|
"z-index": n.zIndex,
|
|
1803
1816
|
"close-text": n.closeText,
|
|
1804
1817
|
"enable-animation": n.enableAnimation,
|
|
1805
1818
|
"close-on-esc": n.closeOnEsc,
|
|
1806
|
-
"has-buttons": !!
|
|
1807
|
-
onClose: y[1] || (y[1] = (
|
|
1808
|
-
onSave: y[2] || (y[2] = (
|
|
1819
|
+
"has-buttons": !!p.$slots.buttons,
|
|
1820
|
+
onClose: y[1] || (y[1] = (_) => p.$emit("close")),
|
|
1821
|
+
onSave: y[2] || (y[2] = (_) => p.$emit("save"))
|
|
1809
1822
|
}, Je({
|
|
1810
1823
|
default: j(() => [
|
|
1811
|
-
C(
|
|
1824
|
+
C(p.$slots, "default")
|
|
1812
1825
|
]),
|
|
1813
1826
|
_: 2
|
|
1814
1827
|
}, [
|
|
1815
|
-
|
|
1828
|
+
p.$slots.buttons ? {
|
|
1816
1829
|
name: "buttons",
|
|
1817
1830
|
fn: j(() => [
|
|
1818
|
-
C(
|
|
1831
|
+
C(p.$slots, "buttons")
|
|
1819
1832
|
]),
|
|
1820
1833
|
key: "0"
|
|
1821
1834
|
} : void 0
|
|
@@ -1829,8 +1842,8 @@ const yi = ["title"], ki = {
|
|
|
1829
1842
|
}
|
|
1830
1843
|
}
|
|
1831
1844
|
};
|
|
1832
|
-
function Ti(n, x,
|
|
1833
|
-
return k(), Q(ke, { to:
|
|
1845
|
+
function Ti(n, x, v, s, E, h) {
|
|
1846
|
+
return k(), Q(ke, { to: v.to }, [
|
|
1834
1847
|
C(n.$slots, "default")
|
|
1835
1848
|
], 8, ["to"]);
|
|
1836
1849
|
}
|
|
@@ -1879,42 +1892,45 @@ const Ai = { class: "sky-modal-header" }, Bi = ["title"], Ci = { class: "sky-mod
|
|
|
1879
1892
|
},
|
|
1880
1893
|
emits: ["update:modelValue", "close"],
|
|
1881
1894
|
setup(n, { emit: x }) {
|
|
1882
|
-
const
|
|
1883
|
-
width:
|
|
1884
|
-
height:
|
|
1885
|
-
})),
|
|
1886
|
-
|
|
1887
|
-
},
|
|
1888
|
-
|
|
1889
|
-
},
|
|
1890
|
-
y.key === "Escape" &&
|
|
1895
|
+
const v = n, s = x, E = M(() => ({
|
|
1896
|
+
width: v.width,
|
|
1897
|
+
height: v.height
|
|
1898
|
+
})), h = () => {
|
|
1899
|
+
s("update:modelValue", !1), s("close");
|
|
1900
|
+
}, S = () => {
|
|
1901
|
+
v.closeOnOverlay && h();
|
|
1902
|
+
}, p = (y) => {
|
|
1903
|
+
y.key === "Escape" && v.closeOnEsc && v.modelValue && h();
|
|
1891
1904
|
};
|
|
1892
|
-
return ge(
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1905
|
+
return ge(
|
|
1906
|
+
() => v.modelValue,
|
|
1907
|
+
(y) => {
|
|
1908
|
+
y ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
|
|
1909
|
+
}
|
|
1910
|
+
), re(() => {
|
|
1911
|
+
document.addEventListener("keydown", p);
|
|
1896
1912
|
}), ye(() => {
|
|
1897
|
-
document.removeEventListener("keydown",
|
|
1898
|
-
}), (y,
|
|
1913
|
+
document.removeEventListener("keydown", p), document.body.style.overflow = "";
|
|
1914
|
+
}), (y, _) => (k(), Q(Oi, { to: "body" }, {
|
|
1899
1915
|
default: j(() => [
|
|
1900
|
-
xe(
|
|
1916
|
+
xe(Ee, { name: "modal-fade" }, {
|
|
1901
1917
|
default: j(() => [
|
|
1902
|
-
n.modelValue ? (k(),
|
|
1918
|
+
n.modelValue ? (k(), T("div", {
|
|
1903
1919
|
key: 0,
|
|
1904
1920
|
class: "sky-modal-overlay",
|
|
1905
|
-
onClick: ei(
|
|
1921
|
+
onClick: ei(S, ["self"])
|
|
1906
1922
|
}, [
|
|
1907
|
-
|
|
1923
|
+
c("div", {
|
|
1908
1924
|
class: "sky-modal",
|
|
1909
|
-
style:
|
|
1925
|
+
style: _e(E.value)
|
|
1910
1926
|
}, [
|
|
1911
|
-
|
|
1912
|
-
|
|
1927
|
+
c("div", Ai, [
|
|
1928
|
+
c("button", {
|
|
1913
1929
|
class: "sky-modal-back",
|
|
1914
|
-
onClick:
|
|
1930
|
+
onClick: h,
|
|
1915
1931
|
title: n.closeTitle
|
|
1916
|
-
}, [...
|
|
1917
|
-
|
|
1932
|
+
}, [..._[0] || (_[0] = [
|
|
1933
|
+
c("svg", {
|
|
1918
1934
|
width: "15",
|
|
1919
1935
|
height: "15",
|
|
1920
1936
|
viewBox: "0 0 24 24",
|
|
@@ -1922,23 +1938,25 @@ const Ai = { class: "sky-modal-header" }, Bi = ["title"], Ci = { class: "sky-mod
|
|
|
1922
1938
|
stroke: "currentColor",
|
|
1923
1939
|
"stroke-width": "2"
|
|
1924
1940
|
}, [
|
|
1925
|
-
|
|
1941
|
+
c("path", {
|
|
1926
1942
|
d: "M19 12H5M12 19l-7-7 7-7",
|
|
1927
1943
|
"stroke-linecap": "round",
|
|
1928
1944
|
"stroke-linejoin": "round"
|
|
1929
1945
|
})
|
|
1930
1946
|
], -1)
|
|
1931
1947
|
])], 8, Bi),
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
n.subtitle ? (k(),
|
|
1948
|
+
c("div", Ci, [
|
|
1949
|
+
c("h4", Ni, D(n.title), 1),
|
|
1950
|
+
n.subtitle ? (k(), T("div", Mi, D(n.subtitle), 1)) : B("", !0)
|
|
1935
1951
|
])
|
|
1936
1952
|
]),
|
|
1937
|
-
|
|
1953
|
+
c("div", zi, [
|
|
1938
1954
|
C(y.$slots, "default", {}, void 0, !0)
|
|
1939
1955
|
]),
|
|
1940
|
-
y.$slots.footer ? (k(),
|
|
1941
|
-
|
|
1956
|
+
y.$slots.footer ? (k(), T("div", Vi, [
|
|
1957
|
+
_[1] || (_[1] = c("div", null, null, -1)),
|
|
1958
|
+
C(y.$slots, "footer", {}, void 0, !0),
|
|
1959
|
+
_[2] || (_[2] = c("div", null, null, -1))
|
|
1942
1960
|
])) : B("", !0)
|
|
1943
1961
|
], 4)
|
|
1944
1962
|
])) : B("", !0)
|
|
@@ -1949,7 +1967,7 @@ const Ai = { class: "sky-modal-header" }, Bi = ["title"], Ci = { class: "sky-mod
|
|
|
1949
1967
|
_: 3
|
|
1950
1968
|
}));
|
|
1951
1969
|
}
|
|
1952
|
-
}, Di = /* @__PURE__ */ J(Pi, [["__scopeId", "data-v-
|
|
1970
|
+
}, Di = /* @__PURE__ */ J(Pi, [["__scopeId", "data-v-b1c4bef4"]]);
|
|
1953
1971
|
export {
|
|
1954
1972
|
Oi as BaseTeleport,
|
|
1955
1973
|
Li as Dialog,
|