@skyservice-developers/vue-dev-kit 2.2.1 → 2.3.1
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 +259 -5
- package/dist/index.d.ts +2 -1
- package/dist/shared/ui/BaseTeleport/index.d.ts +1 -0
- package/dist/shared/ui/Dialog/index.d.ts +1 -0
- package/dist/shared/ui/DialogModal/index.d.ts +1 -0
- package/dist/shared/ui/DialogNext/index.d.ts +1 -0
- package/dist/shared/ui/Header/index.d.ts +1 -0
- package/dist/shared/ui/Modal/index.d.ts +1 -0
- package/dist/shared/ui/SkyAlert/SkyAlert.vue.d.ts +16 -0
- package/dist/shared/ui/SkyAlert/index.d.ts +1 -0
- package/dist/shared/ui/SkyBadge/SkyBadge.vue.d.ts +18 -0
- package/dist/shared/ui/SkyBadge/index.d.ts +1 -0
- package/dist/shared/ui/SkyButton/index.d.ts +1 -0
- package/dist/shared/ui/SkyCard/SkyCard.vue.d.ts +12 -0
- package/dist/shared/ui/SkyCard/index.d.ts +1 -0
- package/dist/shared/ui/SkyCardHeader/SkyCardHeader.vue.d.ts +18 -0
- package/dist/shared/ui/SkyCardHeader/index.d.ts +1 -0
- package/dist/shared/ui/SkyCardRow/SkyCardRow.vue.d.ts +16 -0
- package/dist/shared/ui/SkyCardRow/index.d.ts +1 -0
- package/dist/shared/ui/SkySelect/index.d.ts +1 -0
- package/dist/shared/ui/index.d.ts +13 -0
- package/dist/style.css +1 -1
- package/dist/vue-dev-kit.cjs +1 -1
- package/dist/vue-dev-kit.js +626 -450
- package/dist/widgets/SkyTileCard/SkyTileCard.vue.d.ts +19 -0
- package/dist/widgets/SkyTileCard/index.d.ts +1 -0
- package/dist/widgets/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/components/index.d.ts +0 -8
- /package/dist/{components → shared/ui/BaseTeleport}/BaseTeleport.vue.d.ts +0 -0
- /package/dist/{components → shared/ui/Dialog}/Dialog.vue.d.ts +0 -0
- /package/dist/{components → shared/ui/DialogModal}/DialogModal.vue.d.ts +0 -0
- /package/dist/{components → shared/ui/DialogNext}/DialogNext.vue.d.ts +0 -0
- /package/dist/{components → shared/ui/Header}/Header.vue.d.ts +0 -0
- /package/dist/{components → shared/ui/Modal}/Modal.vue.d.ts +0 -0
- /package/dist/{components → shared/ui/SkyButton}/SkyButton.vue.d.ts +0 -0
- /package/dist/{components → shared/ui/SkySelect}/SkySelect.vue.d.ts +0 -0
package/dist/vue-dev-kit.js
CHANGED
|
@@ -1,214 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as
|
|
3
|
-
import { S as
|
|
1
|
+
import { openBlock as s, createBlock as P, Teleport as U, renderSlot as k, useSlots as Q, ref as $, computed as _, watch as F, nextTick as Y, onMounted as z, onUnmounted as M, createElementBlock as o, normalizeStyle as H, createElementVNode as t, normalizeClass as E, createTextVNode as W, toDisplayString as m, createCommentVNode as u, resolveDynamicComponent as le, createSlots as ne, withCtx as X, Fragment as Z, renderList as ee, withModifiers as ae, mergeProps as de, onBeforeUnmount as ie } from "vue";
|
|
2
|
+
import { p as te, l as se, A as re, f as ue, o as T, B as ce, c as N, y as ye, z as j, k as fe, r as q, e as ve } from "./api-AhLH5w3p.js";
|
|
3
|
+
import { S as os, g as ls, a as ns, b as as, d as ds, h as is, i as rs, j as us, m as cs, n as ys, q as fs, s as vs, t as ks, u as hs, v as gs, w as ms, x as ps, C as bs } from "./api-AhLH5w3p.js";
|
|
4
4
|
import "ua-parser-js";
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
for (const [
|
|
8
|
-
|
|
9
|
-
return
|
|
10
|
-
}, ke = {
|
|
11
|
-
width: "15",
|
|
12
|
-
height: "15",
|
|
13
|
-
viewBox: "0 0 451.847 451.847",
|
|
14
|
-
style: { transform: "rotate(90deg)" }
|
|
15
|
-
}, be = { class: "notPadding" }, we = { class: "topmenu-title" }, $e = {
|
|
16
|
-
key: 0,
|
|
17
|
-
class: "title-dropdown"
|
|
18
|
-
}, Se = { class: "title-dropdown-header" }, xe = ["onClick"], Be = { class: "pageName" }, Ce = { class: "pageVisit" }, Ee = {
|
|
19
|
-
key: 0,
|
|
20
|
-
class: "topmenu-description"
|
|
21
|
-
}, Ve = { class: "topmenubox-button" }, Te = {
|
|
22
|
-
__name: "Header",
|
|
5
|
+
const C = (e, d) => {
|
|
6
|
+
const l = e.__vccOpts || e;
|
|
7
|
+
for (const [f, h] of d)
|
|
8
|
+
l[f] = h;
|
|
9
|
+
return l;
|
|
10
|
+
}, ke = {
|
|
23
11
|
props: {
|
|
24
|
-
|
|
25
|
-
type: String,
|
|
26
|
-
default: ""
|
|
27
|
-
},
|
|
28
|
-
subtitle: {
|
|
29
|
-
type: String,
|
|
30
|
-
default: ""
|
|
31
|
-
},
|
|
32
|
-
showBackButton: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
default: !0
|
|
35
|
-
},
|
|
36
|
-
backButtonTitle: {
|
|
37
|
-
type: String,
|
|
38
|
-
default: "Назад"
|
|
39
|
-
},
|
|
40
|
-
backEvent: {
|
|
41
|
-
type: Function,
|
|
42
|
-
default: null
|
|
43
|
-
},
|
|
44
|
-
dropdownItems: {
|
|
45
|
-
type: Array,
|
|
46
|
-
default: () => []
|
|
47
|
-
},
|
|
48
|
-
dropdownTitle: {
|
|
49
|
-
type: String,
|
|
50
|
-
default: "Останні відвідані розділи"
|
|
51
|
-
},
|
|
52
|
-
visitLabel: {
|
|
53
|
-
type: String,
|
|
54
|
-
default: "Останнє відвідування"
|
|
55
|
-
},
|
|
56
|
-
trackPageName: {
|
|
57
|
-
type: String,
|
|
58
|
-
default: ""
|
|
59
|
-
},
|
|
60
|
-
trackPagePath: {
|
|
61
|
-
type: String,
|
|
62
|
-
default: ""
|
|
63
|
-
},
|
|
64
|
-
appId: {
|
|
12
|
+
to: {
|
|
65
13
|
type: String,
|
|
66
|
-
default: ""
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
emits: ["back", "navigate"],
|
|
70
|
-
setup(e, { emit: p }) {
|
|
71
|
-
const s = e;
|
|
72
|
-
ue(s.appId || re());
|
|
73
|
-
const c = p, y = b(null), d = b(!1), k = b([]), a = b({});
|
|
74
|
-
I() && s.trackPageName && ce(
|
|
75
|
-
s.trackPageName,
|
|
76
|
-
s.trackPagePath || `/${s.trackPageName}`
|
|
77
|
-
);
|
|
78
|
-
const u = b(null);
|
|
79
|
-
I() && _("rocketMode").then(async (l) => {
|
|
80
|
-
u.value = l, await _("fallbackRocketMode") === null && fe("fallbackRocketMode", l === !0 || l === "true" ? "true" : "false"), j(!0);
|
|
81
|
-
}), P(() => {
|
|
82
|
-
M();
|
|
83
|
-
}), I() && ye("lang").then((l) => {
|
|
84
|
-
l != null && (a.value = l);
|
|
85
|
-
});
|
|
86
|
-
function m(l) {
|
|
87
|
-
try {
|
|
88
|
-
if (!l) return;
|
|
89
|
-
const f = typeof l == "string" ? JSON.parse(l) : l;
|
|
90
|
-
f != null && f.pages && (k.value = Object.values(f.pages));
|
|
91
|
-
} catch {
|
|
92
|
-
}
|
|
14
|
+
default: "body"
|
|
93
15
|
}
|
|
94
|
-
m(localStorage.componentStats), I() && _("componentStats").then((l) => {
|
|
95
|
-
l != null && (localStorage.setItem("componentStats", JSON.stringify(l)), m(l));
|
|
96
|
-
});
|
|
97
|
-
const h = S(() => [...s.dropdownItems.length ? s.dropdownItems : k.value].sort((f, T) => T.lastVisit - f.lastVisit)), w = () => {
|
|
98
|
-
h.value.length && (d.value = !d.value);
|
|
99
|
-
}, B = () => {
|
|
100
|
-
d.value = !1;
|
|
101
|
-
}, C = (l) => {
|
|
102
|
-
c("navigate", l.path), I() && H(l.path), B();
|
|
103
|
-
}, V = (l) => {
|
|
104
|
-
if (!l) return "";
|
|
105
|
-
const f = a.value[l] || l;
|
|
106
|
-
return f.charAt(0).toUpperCase() + f.slice(1);
|
|
107
|
-
}, n = (l) => {
|
|
108
|
-
const T = Date.now() - l, A = Math.floor(T / 1e3), N = Math.floor(A / 60), R = Math.floor(N / 60), K = Math.floor(R / 24);
|
|
109
|
-
return K > 0 ? `${K}д тому` : R > 0 ? `${R}год тому` : N > 0 ? `${N}хв тому` : `${A}с тому`;
|
|
110
|
-
}, o = (l) => {
|
|
111
|
-
y.value && !y.value.contains(l.target) && B();
|
|
112
|
-
};
|
|
113
|
-
D(() => {
|
|
114
|
-
document.addEventListener("click", o, !0);
|
|
115
|
-
}), P(() => {
|
|
116
|
-
document.removeEventListener("click", o, !0);
|
|
117
|
-
});
|
|
118
|
-
const v = S(() => s.backEvent || s.showBackButton && I()), M = () => {
|
|
119
|
-
if (u.value !== null) {
|
|
120
|
-
const l = u.value === !0 || u.value === "true";
|
|
121
|
-
j(l);
|
|
122
|
-
}
|
|
123
|
-
}, O = () => h.value.find((l) => l.name !== s.trackPageName && l.path), le = async () => {
|
|
124
|
-
if (s.backEvent)
|
|
125
|
-
return M(), s.backEvent();
|
|
126
|
-
let l = O();
|
|
127
|
-
if (!l && I()) {
|
|
128
|
-
const f = await _("componentStats");
|
|
129
|
-
f && (m(f), l = O());
|
|
130
|
-
}
|
|
131
|
-
M(), l ? H(l.path) : ve();
|
|
132
|
-
};
|
|
133
|
-
return (l, f) => (i(), r("header", ke, [
|
|
134
|
-
t("div", me, [
|
|
135
|
-
t("div", ge, [
|
|
136
|
-
v.value ? (i(), r("button", {
|
|
137
|
-
key: 0,
|
|
138
|
-
class: "btn-back",
|
|
139
|
-
onClick: le,
|
|
140
|
-
title: e.backButtonTitle
|
|
141
|
-
}, [
|
|
142
|
-
(i(), r("svg", he, [...f[0] || (f[0] = [
|
|
143
|
-
t("path", {
|
|
144
|
-
fill: "currentColor",
|
|
145
|
-
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"
|
|
146
|
-
}, null, -1)
|
|
147
|
-
])]))
|
|
148
|
-
], 8, pe)) : g("", !0),
|
|
149
|
-
t("div", {
|
|
150
|
-
ref_key: "dropdownRef",
|
|
151
|
-
ref: y,
|
|
152
|
-
class: "titleAndDesc"
|
|
153
|
-
}, [
|
|
154
|
-
t("button", {
|
|
155
|
-
class: E(["title-dropdown-toggle", { "title-dropdown-toggle-active": h.value.length }]),
|
|
156
|
-
onClick: w
|
|
157
|
-
}, [
|
|
158
|
-
x(l.$slots, "title", {}, () => [
|
|
159
|
-
t("h4", be, [
|
|
160
|
-
t("span", we, $(e.title), 1),
|
|
161
|
-
h.value.length ? (i(), r("svg", {
|
|
162
|
-
key: 0,
|
|
163
|
-
class: E(["arrow", { open: d.value }]),
|
|
164
|
-
width: "12",
|
|
165
|
-
height: "12",
|
|
166
|
-
viewBox: "0 0 451.847 451.847",
|
|
167
|
-
style: { "flex-shrink": "0" }
|
|
168
|
-
}, [...f[1] || (f[1] = [
|
|
169
|
-
t("path", {
|
|
170
|
-
fill: "currentColor",
|
|
171
|
-
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"
|
|
172
|
-
}, null, -1)
|
|
173
|
-
])], 2)) : g("", !0)
|
|
174
|
-
])
|
|
175
|
-
], !0)
|
|
176
|
-
], 2),
|
|
177
|
-
d.value && h.value.length ? (i(), r("div", $e, [
|
|
178
|
-
t("div", Se, $(e.dropdownTitle), 1),
|
|
179
|
-
f[2] || (f[2] = t("div", { class: "title-dropdown-divider" }, null, -1)),
|
|
180
|
-
(i(!0), r(G, null, Q(h.value, (T, A) => (i(), r("div", {
|
|
181
|
-
key: A,
|
|
182
|
-
class: "title-dropdown-item",
|
|
183
|
-
onClick: (N) => C(T)
|
|
184
|
-
}, [
|
|
185
|
-
t("p", Be, $(V(T.name)), 1),
|
|
186
|
-
t("small", Ce, " (" + $(e.visitLabel) + " " + $(n(T.lastVisit)) + ") ", 1)
|
|
187
|
-
], 8, xe))), 128))
|
|
188
|
-
])) : g("", !0),
|
|
189
|
-
x(l.$slots, "subtitle", {}, () => [
|
|
190
|
-
e.subtitle ? (i(), r("p", Ee, $(e.subtitle), 1)) : g("", !0)
|
|
191
|
-
], !0)
|
|
192
|
-
], 512)
|
|
193
|
-
]),
|
|
194
|
-
t("div", Ve, [
|
|
195
|
-
f[3] || (f[3] = t("div", null, null, -1)),
|
|
196
|
-
x(l.$slots, "default", {}, void 0, !0),
|
|
197
|
-
f[4] || (f[4] = t("div", null, null, -1))
|
|
198
|
-
])
|
|
199
|
-
])
|
|
200
|
-
]));
|
|
201
16
|
}
|
|
202
|
-
}
|
|
17
|
+
};
|
|
18
|
+
function he(e, d, l, f, h, c) {
|
|
19
|
+
return s(), P(U, { to: l.to }, [
|
|
20
|
+
k(e.$slots, "default")
|
|
21
|
+
], 8, ["to"]);
|
|
22
|
+
}
|
|
23
|
+
const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-overlay" }, pe = {
|
|
203
24
|
key: 0,
|
|
204
25
|
class: "sky-dialog-subtitle"
|
|
205
|
-
},
|
|
26
|
+
}, be = ["title"], we = {
|
|
206
27
|
key: 0,
|
|
207
28
|
class: "sky-dialog-swipe-area"
|
|
208
|
-
},
|
|
29
|
+
}, $e = {
|
|
209
30
|
key: 0,
|
|
210
31
|
class: "sky-dialog-footer"
|
|
211
|
-
},
|
|
32
|
+
}, Se = {
|
|
212
33
|
__name: "DialogModal",
|
|
213
34
|
props: {
|
|
214
35
|
modelValue: {
|
|
@@ -241,74 +62,74 @@ const L = (e, p) => {
|
|
|
241
62
|
}
|
|
242
63
|
},
|
|
243
64
|
emits: ["update:modelValue", "close", "save"],
|
|
244
|
-
setup(e, { emit:
|
|
245
|
-
const
|
|
65
|
+
setup(e, { emit: d }) {
|
|
66
|
+
const l = Q(), f = e, h = d, c = $(null), p = $(null), r = $(0), y = _(() => {
|
|
246
67
|
try {
|
|
247
68
|
return te();
|
|
248
69
|
} catch {
|
|
249
70
|
return !1;
|
|
250
71
|
}
|
|
251
|
-
}),
|
|
72
|
+
}), b = _(() => {
|
|
252
73
|
try {
|
|
253
|
-
return
|
|
74
|
+
return se();
|
|
254
75
|
} catch {
|
|
255
76
|
return !1;
|
|
256
77
|
}
|
|
257
|
-
}),
|
|
258
|
-
|
|
259
|
-
}, B = (
|
|
260
|
-
|
|
261
|
-
},
|
|
262
|
-
|
|
263
|
-
},
|
|
264
|
-
|
|
265
|
-
},
|
|
266
|
-
if (!(!
|
|
78
|
+
}), w = _(() => f.hasButtons !== null ? f.hasButtons : !!l.buttons), S = () => {
|
|
79
|
+
h("update:modelValue", !1), h("close");
|
|
80
|
+
}, B = (n) => {
|
|
81
|
+
n.key === "Escape" && f.closeOnEsc && f.modelValue && S(), n.key === "Enter" && f.modelValue && h("save");
|
|
82
|
+
}, x = (n) => {
|
|
83
|
+
n.touches[0].clientX < 35 && (r.value = n.touches[0].clientX);
|
|
84
|
+
}, I = (n) => {
|
|
85
|
+
r.value > 0 && r.value < 35 && n.changedTouches[0].clientX - r.value > 50 && S(), r.value = 0;
|
|
86
|
+
}, i = () => {
|
|
87
|
+
if (!(!b.value || !c.value))
|
|
267
88
|
try {
|
|
268
89
|
if (typeof Android < "u" && Android.getDisplayCutoutTop) {
|
|
269
|
-
const
|
|
270
|
-
if (
|
|
271
|
-
const
|
|
272
|
-
|
|
90
|
+
const n = Android.getDisplayCutoutTop();
|
|
91
|
+
if (n && window.devicePixelRatio > 1) {
|
|
92
|
+
const g = n / window.devicePixelRatio;
|
|
93
|
+
c.value.style.paddingTop = g + "px";
|
|
273
94
|
}
|
|
274
95
|
}
|
|
275
96
|
} catch {
|
|
276
97
|
}
|
|
277
98
|
};
|
|
278
99
|
return F(
|
|
279
|
-
() =>
|
|
280
|
-
(
|
|
281
|
-
|
|
282
|
-
|
|
100
|
+
() => f.modelValue,
|
|
101
|
+
(n) => {
|
|
102
|
+
n ? (document.body.style.overflow = "hidden", Y(() => {
|
|
103
|
+
i();
|
|
283
104
|
})) : document.body.style.overflow = "";
|
|
284
105
|
}
|
|
285
|
-
),
|
|
286
|
-
document.addEventListener("keydown", B), window.addEventListener("resize",
|
|
287
|
-
}),
|
|
288
|
-
document.removeEventListener("keydown", B), window.removeEventListener("resize",
|
|
289
|
-
}), (
|
|
290
|
-
e.modelValue ? (
|
|
106
|
+
), z(() => {
|
|
107
|
+
document.addEventListener("keydown", B), window.addEventListener("resize", i);
|
|
108
|
+
}), M(() => {
|
|
109
|
+
document.removeEventListener("keydown", B), window.removeEventListener("resize", i), document.body.style.overflow = "";
|
|
110
|
+
}), (n, g) => (s(), P(U, { to: "body" }, [
|
|
111
|
+
e.modelValue ? (s(), o("div", {
|
|
291
112
|
key: 0,
|
|
292
113
|
class: "sky-dialogbox sky-dialogbox-classic",
|
|
293
|
-
style:
|
|
114
|
+
style: H([e.zIndex ? { "z-index": e.zIndex } : null])
|
|
294
115
|
}, [
|
|
295
|
-
t("div",
|
|
116
|
+
t("div", me, [
|
|
296
117
|
t("div", {
|
|
297
118
|
ref_key: "dialogContent",
|
|
298
|
-
ref:
|
|
119
|
+
ref: c,
|
|
299
120
|
class: "sky-dialog-content"
|
|
300
121
|
}, [
|
|
301
122
|
t("div", {
|
|
302
123
|
class: E(["sky-dialog-title", { "sky-dialog-title-with-subtitle": e.subtitle }])
|
|
303
124
|
}, [
|
|
304
|
-
|
|
305
|
-
e.subtitle ? (
|
|
125
|
+
W(m(e.title) + " ", 1),
|
|
126
|
+
e.subtitle ? (s(), o("span", pe, m(e.subtitle), 1)) : u("", !0)
|
|
306
127
|
], 2),
|
|
307
128
|
t("button", {
|
|
308
129
|
class: "sky-dialog-close",
|
|
309
130
|
title: e.closeText,
|
|
310
|
-
onClick:
|
|
311
|
-
}, [...
|
|
131
|
+
onClick: S
|
|
132
|
+
}, [...g[0] || (g[0] = [
|
|
312
133
|
t("svg", {
|
|
313
134
|
viewBox: "0 0 16 16",
|
|
314
135
|
width: "16",
|
|
@@ -331,41 +152,41 @@ const L = (e, p) => {
|
|
|
331
152
|
"stroke-width": "2"
|
|
332
153
|
})
|
|
333
154
|
], -1)
|
|
334
|
-
])], 8,
|
|
335
|
-
|
|
155
|
+
])], 8, be),
|
|
156
|
+
g[1] || (g[1] = t("div", { class: "sky-dialog-clearfix" }, null, -1)),
|
|
336
157
|
t("div", {
|
|
337
158
|
ref_key: "dialogPaper",
|
|
338
|
-
ref:
|
|
339
|
-
class: E(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !
|
|
340
|
-
onTouchstart:
|
|
341
|
-
onTouchend:
|
|
159
|
+
ref: p,
|
|
160
|
+
class: E(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !w.value }]),
|
|
161
|
+
onTouchstart: x,
|
|
162
|
+
onTouchend: I
|
|
342
163
|
}, [
|
|
343
|
-
|
|
344
|
-
|
|
164
|
+
y.value ? (s(), o("div", we)) : u("", !0),
|
|
165
|
+
k(n.$slots, "default", {}, void 0, !0)
|
|
345
166
|
], 34),
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
])) :
|
|
167
|
+
w.value ? (s(), o("div", $e, [
|
|
168
|
+
k(n.$slots, "buttons", {}, void 0, !0)
|
|
169
|
+
])) : u("", !0)
|
|
349
170
|
], 512)
|
|
350
171
|
])
|
|
351
|
-
], 4)) :
|
|
172
|
+
], 4)) : u("", !0)
|
|
352
173
|
]));
|
|
353
174
|
}
|
|
354
|
-
}, J = /* @__PURE__ */
|
|
175
|
+
}, J = /* @__PURE__ */ C(Se, [["__scopeId", "data-v-62f59776"]]), _e = { class: "sky-dialog-overlay" }, Ce = { class: "sky-dialog-header" }, Be = ["title"], Ee = {
|
|
355
176
|
width: "15",
|
|
356
177
|
height: "15",
|
|
357
178
|
viewBox: "0 0 451.847 451.847",
|
|
358
179
|
style: { transform: "rotate(90deg)" }
|
|
359
|
-
},
|
|
180
|
+
}, xe = {
|
|
360
181
|
key: 0,
|
|
361
182
|
class: "sky-dialog-subtitle"
|
|
362
|
-
},
|
|
183
|
+
}, Ie = {
|
|
363
184
|
key: 0,
|
|
364
185
|
class: "sky-dialog-swipe-area"
|
|
365
|
-
},
|
|
186
|
+
}, Ve = {
|
|
366
187
|
key: 0,
|
|
367
188
|
class: "sky-dialog-footer"
|
|
368
|
-
},
|
|
189
|
+
}, Te = {
|
|
369
190
|
__name: "DialogNext",
|
|
370
191
|
props: {
|
|
371
192
|
modelValue: {
|
|
@@ -398,102 +219,102 @@ const L = (e, p) => {
|
|
|
398
219
|
}
|
|
399
220
|
},
|
|
400
221
|
emits: ["update:modelValue", "close", "save"],
|
|
401
|
-
setup(e, { emit:
|
|
402
|
-
const
|
|
222
|
+
setup(e, { emit: d }) {
|
|
223
|
+
const l = Q(), f = e, h = d, c = $(null), p = $(null), r = $(0), y = _(() => {
|
|
403
224
|
try {
|
|
404
225
|
return te();
|
|
405
226
|
} catch {
|
|
406
227
|
return !1;
|
|
407
228
|
}
|
|
408
|
-
}),
|
|
229
|
+
}), b = _(() => {
|
|
409
230
|
try {
|
|
410
|
-
return
|
|
231
|
+
return se();
|
|
411
232
|
} catch {
|
|
412
233
|
return !1;
|
|
413
234
|
}
|
|
414
|
-
}),
|
|
415
|
-
|
|
416
|
-
}, B = (
|
|
417
|
-
|
|
418
|
-
},
|
|
419
|
-
|
|
420
|
-
},
|
|
421
|
-
|
|
422
|
-
},
|
|
423
|
-
if (!(!
|
|
235
|
+
}), w = _(() => f.hasButtons !== null ? f.hasButtons : !!l.buttons), S = () => {
|
|
236
|
+
h("update:modelValue", !1), h("close");
|
|
237
|
+
}, B = (n) => {
|
|
238
|
+
n.key === "Escape" && f.closeOnEsc && f.modelValue && S(), n.key === "Enter" && f.modelValue && h("save");
|
|
239
|
+
}, x = (n) => {
|
|
240
|
+
n.touches[0].clientX < 35 && (r.value = n.touches[0].clientX);
|
|
241
|
+
}, I = (n) => {
|
|
242
|
+
r.value > 0 && r.value < 35 && n.changedTouches[0].clientX - r.value > 50 && S(), r.value = 0;
|
|
243
|
+
}, i = () => {
|
|
244
|
+
if (!(!b.value || !c.value))
|
|
424
245
|
try {
|
|
425
246
|
if (typeof Android < "u" && Android.getDisplayCutoutTop) {
|
|
426
|
-
const
|
|
427
|
-
if (
|
|
428
|
-
const
|
|
429
|
-
|
|
247
|
+
const n = Android.getDisplayCutoutTop();
|
|
248
|
+
if (n && window.devicePixelRatio > 1) {
|
|
249
|
+
const g = n / window.devicePixelRatio;
|
|
250
|
+
c.value.style.paddingTop = g + "px";
|
|
430
251
|
}
|
|
431
252
|
}
|
|
432
253
|
} catch {
|
|
433
254
|
}
|
|
434
255
|
};
|
|
435
256
|
return F(
|
|
436
|
-
() =>
|
|
437
|
-
(
|
|
438
|
-
|
|
439
|
-
|
|
257
|
+
() => f.modelValue,
|
|
258
|
+
(n) => {
|
|
259
|
+
n ? (document.body.style.overflow = "hidden", Y(() => {
|
|
260
|
+
i();
|
|
440
261
|
})) : document.body.style.overflow = "";
|
|
441
262
|
}
|
|
442
|
-
),
|
|
443
|
-
document.addEventListener("keydown", B), window.addEventListener("resize",
|
|
444
|
-
}),
|
|
445
|
-
document.removeEventListener("keydown", B), window.removeEventListener("resize",
|
|
446
|
-
}), (
|
|
447
|
-
e.modelValue ? (
|
|
263
|
+
), z(() => {
|
|
264
|
+
document.addEventListener("keydown", B), window.addEventListener("resize", i);
|
|
265
|
+
}), M(() => {
|
|
266
|
+
document.removeEventListener("keydown", B), window.removeEventListener("resize", i), document.body.style.overflow = "";
|
|
267
|
+
}), (n, g) => (s(), P(U, { to: "body" }, [
|
|
268
|
+
e.modelValue ? (s(), o("div", {
|
|
448
269
|
key: 0,
|
|
449
270
|
class: "sky-dialogbox sky-dialogbox-next",
|
|
450
|
-
style:
|
|
271
|
+
style: H([e.zIndex ? { "z-index": e.zIndex } : null])
|
|
451
272
|
}, [
|
|
452
|
-
t("div",
|
|
273
|
+
t("div", _e, [
|
|
453
274
|
t("div", {
|
|
454
275
|
ref_key: "dialogContent",
|
|
455
|
-
ref:
|
|
276
|
+
ref: c,
|
|
456
277
|
class: "sky-dialog-content"
|
|
457
278
|
}, [
|
|
458
|
-
t("div",
|
|
279
|
+
t("div", Ce, [
|
|
459
280
|
t("button", {
|
|
460
281
|
class: "sky-dialog-back",
|
|
461
282
|
title: e.closeText,
|
|
462
|
-
onClick:
|
|
283
|
+
onClick: S
|
|
463
284
|
}, [
|
|
464
|
-
(
|
|
285
|
+
(s(), o("svg", Ee, [...g[0] || (g[0] = [
|
|
465
286
|
t("path", {
|
|
466
287
|
fill: "currentColor",
|
|
467
288
|
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"
|
|
468
289
|
}, null, -1)
|
|
469
290
|
])]))
|
|
470
|
-
], 8,
|
|
291
|
+
], 8, Be),
|
|
471
292
|
t("div", {
|
|
472
293
|
class: E(["sky-dialog-title", { "sky-dialog-title-with-subtitle": e.subtitle }])
|
|
473
294
|
}, [
|
|
474
|
-
|
|
475
|
-
e.subtitle ? (
|
|
295
|
+
W(m(e.title) + " ", 1),
|
|
296
|
+
e.subtitle ? (s(), o("span", xe, m(e.subtitle), 1)) : u("", !0)
|
|
476
297
|
], 2)
|
|
477
298
|
]),
|
|
478
299
|
t("div", {
|
|
479
300
|
ref_key: "dialogPaper",
|
|
480
|
-
ref:
|
|
481
|
-
class: E(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !
|
|
482
|
-
onTouchstart:
|
|
483
|
-
onTouchend:
|
|
301
|
+
ref: p,
|
|
302
|
+
class: E(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !w.value }]),
|
|
303
|
+
onTouchstart: x,
|
|
304
|
+
onTouchend: I
|
|
484
305
|
}, [
|
|
485
|
-
|
|
486
|
-
|
|
306
|
+
y.value ? (s(), o("div", Ie)) : u("", !0),
|
|
307
|
+
k(n.$slots, "default", {}, void 0, !0)
|
|
487
308
|
], 34),
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
])) :
|
|
309
|
+
w.value ? (s(), o("div", Ve, [
|
|
310
|
+
k(n.$slots, "buttons", {}, void 0, !0)
|
|
311
|
+
])) : u("", !0)
|
|
491
312
|
], 512)
|
|
492
313
|
])
|
|
493
|
-
], 4)) :
|
|
314
|
+
], 4)) : u("", !0)
|
|
494
315
|
]));
|
|
495
316
|
}
|
|
496
|
-
},
|
|
317
|
+
}, G = /* @__PURE__ */ C(Te, [["__scopeId", "data-v-857b5f70"]]), Ht = {
|
|
497
318
|
__name: "Dialog",
|
|
498
319
|
props: {
|
|
499
320
|
modelValue: {
|
|
@@ -529,59 +350,238 @@ const L = (e, p) => {
|
|
|
529
350
|
}
|
|
530
351
|
},
|
|
531
352
|
emits: ["update:modelValue", "close", "save"],
|
|
532
|
-
setup(e, { emit:
|
|
533
|
-
const
|
|
534
|
-
get: () =>
|
|
535
|
-
set: (
|
|
536
|
-
}),
|
|
537
|
-
|
|
353
|
+
setup(e, { emit: d }) {
|
|
354
|
+
const l = e, f = d, h = _({
|
|
355
|
+
get: () => l.modelValue,
|
|
356
|
+
set: (r) => f("update:modelValue", r)
|
|
357
|
+
}), c = $(!0);
|
|
358
|
+
z(() => {
|
|
538
359
|
try {
|
|
539
|
-
new URLSearchParams(window.location.search).get("rocketMode") === "false" ?
|
|
360
|
+
new URLSearchParams(window.location.search).get("rocketMode") === "false" ? c.value = !1 : c.value = !0;
|
|
540
361
|
} catch {
|
|
541
|
-
|
|
362
|
+
c.value = !0;
|
|
542
363
|
}
|
|
543
364
|
});
|
|
544
|
-
const
|
|
545
|
-
return (
|
|
546
|
-
modelValue:
|
|
547
|
-
"onUpdate:modelValue":
|
|
365
|
+
const p = _(() => l.mode === "next" ? G : l.mode === "classic" ? J : c.value ? G : J);
|
|
366
|
+
return (r, y) => (s(), P(le(p.value), {
|
|
367
|
+
modelValue: h.value,
|
|
368
|
+
"onUpdate:modelValue": y[0] || (y[0] = (b) => h.value = b),
|
|
548
369
|
title: e.title,
|
|
549
370
|
subtitle: e.subtitle,
|
|
550
371
|
"z-index": e.zIndex,
|
|
551
372
|
"close-text": e.closeText,
|
|
552
373
|
"close-on-esc": e.closeOnEsc,
|
|
553
|
-
"has-buttons": !!
|
|
554
|
-
onClose:
|
|
555
|
-
onSave:
|
|
374
|
+
"has-buttons": !!r.$slots.buttons,
|
|
375
|
+
onClose: y[1] || (y[1] = (b) => r.$emit("close")),
|
|
376
|
+
onSave: y[2] || (y[2] = (b) => r.$emit("save"))
|
|
556
377
|
}, ne({
|
|
557
378
|
default: X(() => [
|
|
558
|
-
|
|
379
|
+
k(r.$slots, "default")
|
|
559
380
|
]),
|
|
560
381
|
_: 2
|
|
561
382
|
}, [
|
|
562
|
-
|
|
383
|
+
r.$slots.buttons ? {
|
|
563
384
|
name: "buttons",
|
|
564
385
|
fn: X(() => [
|
|
565
|
-
|
|
386
|
+
k(r.$slots, "buttons")
|
|
566
387
|
]),
|
|
567
388
|
key: "0"
|
|
568
389
|
} : void 0
|
|
569
390
|
]), 1064, ["modelValue", "title", "subtitle", "z-index", "close-text", "close-on-esc", "has-buttons"]));
|
|
570
391
|
}
|
|
571
|
-
},
|
|
392
|
+
}, Le = { class: "sky-header-container" }, Me = { class: "topmenubox" }, Pe = { class: "header-left" }, ze = ["title"], De = {
|
|
393
|
+
width: "15",
|
|
394
|
+
height: "15",
|
|
395
|
+
viewBox: "0 0 451.847 451.847",
|
|
396
|
+
style: { transform: "rotate(90deg)" }
|
|
397
|
+
}, Oe = { class: "notPadding" }, Ae = { class: "topmenu-title" }, Ne = {
|
|
398
|
+
key: 0,
|
|
399
|
+
class: "title-dropdown"
|
|
400
|
+
}, Re = { class: "title-dropdown-header" }, Xe = ["onClick"], Ue = { class: "pageName" }, Fe = { class: "pageVisit" }, He = {
|
|
401
|
+
key: 0,
|
|
402
|
+
class: "topmenu-description"
|
|
403
|
+
}, We = { class: "topmenubox-button" }, Ke = {
|
|
404
|
+
__name: "Header",
|
|
572
405
|
props: {
|
|
573
|
-
|
|
406
|
+
title: {
|
|
574
407
|
type: String,
|
|
575
|
-
default: "
|
|
408
|
+
default: ""
|
|
409
|
+
},
|
|
410
|
+
subtitle: {
|
|
411
|
+
type: String,
|
|
412
|
+
default: ""
|
|
413
|
+
},
|
|
414
|
+
showBackButton: {
|
|
415
|
+
type: Boolean,
|
|
416
|
+
default: !0
|
|
417
|
+
},
|
|
418
|
+
backButtonTitle: {
|
|
419
|
+
type: String,
|
|
420
|
+
default: "Назад"
|
|
421
|
+
},
|
|
422
|
+
backEvent: {
|
|
423
|
+
type: Function,
|
|
424
|
+
default: null
|
|
425
|
+
},
|
|
426
|
+
dropdownItems: {
|
|
427
|
+
type: Array,
|
|
428
|
+
default: () => []
|
|
429
|
+
},
|
|
430
|
+
dropdownTitle: {
|
|
431
|
+
type: String,
|
|
432
|
+
default: "Останні відвідані розділи"
|
|
433
|
+
},
|
|
434
|
+
visitLabel: {
|
|
435
|
+
type: String,
|
|
436
|
+
default: "Останнє відвідування"
|
|
437
|
+
},
|
|
438
|
+
trackPageName: {
|
|
439
|
+
type: String,
|
|
440
|
+
default: ""
|
|
441
|
+
},
|
|
442
|
+
trackPagePath: {
|
|
443
|
+
type: String,
|
|
444
|
+
default: ""
|
|
445
|
+
},
|
|
446
|
+
appId: {
|
|
447
|
+
type: String,
|
|
448
|
+
default: ""
|
|
576
449
|
}
|
|
450
|
+
},
|
|
451
|
+
emits: ["back", "navigate"],
|
|
452
|
+
setup(e, { emit: d }) {
|
|
453
|
+
const l = e;
|
|
454
|
+
re(l.appId || ue());
|
|
455
|
+
const f = d, h = $(null), c = $(!1), p = $([]), r = $({});
|
|
456
|
+
T() && l.trackPageName && ce(
|
|
457
|
+
l.trackPageName,
|
|
458
|
+
l.trackPagePath || `/${l.trackPageName}`
|
|
459
|
+
);
|
|
460
|
+
const y = $(null);
|
|
461
|
+
T() && N("rocketMode").then(async (a) => {
|
|
462
|
+
y.value = a, await N("fallbackRocketMode") === null && ye("fallbackRocketMode", a === !0 || a === "true" ? "true" : "false"), j(!0);
|
|
463
|
+
}), M(() => {
|
|
464
|
+
L();
|
|
465
|
+
}), T() && fe("lang").then((a) => {
|
|
466
|
+
a != null && (r.value = a);
|
|
467
|
+
});
|
|
468
|
+
function b(a) {
|
|
469
|
+
try {
|
|
470
|
+
if (!a) return;
|
|
471
|
+
const v = typeof a == "string" ? JSON.parse(a) : a;
|
|
472
|
+
v != null && v.pages && (p.value = Object.values(v.pages));
|
|
473
|
+
} catch {
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
b(localStorage.componentStats), T() && N("componentStats").then((a) => {
|
|
477
|
+
a != null && (localStorage.setItem("componentStats", JSON.stringify(a)), b(a));
|
|
478
|
+
});
|
|
479
|
+
const w = _(() => [...l.dropdownItems.length ? l.dropdownItems : p.value].sort((v, V) => V.lastVisit - v.lastVisit)), S = () => {
|
|
480
|
+
w.value.length && (c.value = !c.value);
|
|
481
|
+
}, B = () => {
|
|
482
|
+
c.value = !1;
|
|
483
|
+
}, x = (a) => {
|
|
484
|
+
f("navigate", a.path), T() && q(a.path), B();
|
|
485
|
+
}, I = (a) => {
|
|
486
|
+
if (!a) return "";
|
|
487
|
+
const v = r.value[a] || a;
|
|
488
|
+
return v.charAt(0).toUpperCase() + v.slice(1);
|
|
489
|
+
}, i = (a) => {
|
|
490
|
+
const V = Date.now() - a, O = Math.floor(V / 1e3), A = Math.floor(O / 60), R = Math.floor(A / 60), K = Math.floor(R / 24);
|
|
491
|
+
return K > 0 ? `${K}д тому` : R > 0 ? `${R}год тому` : A > 0 ? `${A}хв тому` : `${O}с тому`;
|
|
492
|
+
}, n = (a) => {
|
|
493
|
+
h.value && !h.value.contains(a.target) && B();
|
|
494
|
+
};
|
|
495
|
+
z(() => {
|
|
496
|
+
document.addEventListener("click", n, !0);
|
|
497
|
+
}), M(() => {
|
|
498
|
+
document.removeEventListener("click", n, !0);
|
|
499
|
+
});
|
|
500
|
+
const g = _(() => l.backEvent || l.showBackButton && T()), L = () => {
|
|
501
|
+
if (y.value !== null) {
|
|
502
|
+
const a = y.value === !0 || y.value === "true";
|
|
503
|
+
j(a);
|
|
504
|
+
}
|
|
505
|
+
}, D = () => w.value.find((a) => a.name !== l.trackPageName && a.path), oe = async () => {
|
|
506
|
+
if (l.backEvent)
|
|
507
|
+
return L(), l.backEvent();
|
|
508
|
+
let a = D();
|
|
509
|
+
if (!a && T()) {
|
|
510
|
+
const v = await N("componentStats");
|
|
511
|
+
v && (b(v), a = D());
|
|
512
|
+
}
|
|
513
|
+
L(), a ? q(a.path) : ve();
|
|
514
|
+
};
|
|
515
|
+
return (a, v) => (s(), o("header", Le, [
|
|
516
|
+
t("div", Me, [
|
|
517
|
+
t("div", Pe, [
|
|
518
|
+
g.value ? (s(), o("button", {
|
|
519
|
+
key: 0,
|
|
520
|
+
class: "btn-back",
|
|
521
|
+
onClick: oe,
|
|
522
|
+
title: e.backButtonTitle
|
|
523
|
+
}, [
|
|
524
|
+
(s(), o("svg", De, [...v[0] || (v[0] = [
|
|
525
|
+
t("path", {
|
|
526
|
+
fill: "currentColor",
|
|
527
|
+
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"
|
|
528
|
+
}, null, -1)
|
|
529
|
+
])]))
|
|
530
|
+
], 8, ze)) : u("", !0),
|
|
531
|
+
t("div", {
|
|
532
|
+
ref_key: "dropdownRef",
|
|
533
|
+
ref: h,
|
|
534
|
+
class: "titleAndDesc"
|
|
535
|
+
}, [
|
|
536
|
+
t("button", {
|
|
537
|
+
class: E(["title-dropdown-toggle", { "title-dropdown-toggle-active": w.value.length }]),
|
|
538
|
+
onClick: S
|
|
539
|
+
}, [
|
|
540
|
+
k(a.$slots, "title", {}, () => [
|
|
541
|
+
t("h4", Oe, [
|
|
542
|
+
t("span", Ae, m(e.title), 1),
|
|
543
|
+
w.value.length ? (s(), o("svg", {
|
|
544
|
+
key: 0,
|
|
545
|
+
class: E(["arrow", { open: c.value }]),
|
|
546
|
+
width: "12",
|
|
547
|
+
height: "12",
|
|
548
|
+
viewBox: "0 0 451.847 451.847",
|
|
549
|
+
style: { "flex-shrink": "0" }
|
|
550
|
+
}, [...v[1] || (v[1] = [
|
|
551
|
+
t("path", {
|
|
552
|
+
fill: "currentColor",
|
|
553
|
+
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"
|
|
554
|
+
}, null, -1)
|
|
555
|
+
])], 2)) : u("", !0)
|
|
556
|
+
])
|
|
557
|
+
], !0)
|
|
558
|
+
], 2),
|
|
559
|
+
c.value && w.value.length ? (s(), o("div", Ne, [
|
|
560
|
+
t("div", Re, m(e.dropdownTitle), 1),
|
|
561
|
+
v[2] || (v[2] = t("div", { class: "title-dropdown-divider" }, null, -1)),
|
|
562
|
+
(s(!0), o(Z, null, ee(w.value, (V, O) => (s(), o("div", {
|
|
563
|
+
key: O,
|
|
564
|
+
class: "title-dropdown-item",
|
|
565
|
+
onClick: (A) => x(V)
|
|
566
|
+
}, [
|
|
567
|
+
t("p", Ue, m(I(V.name)), 1),
|
|
568
|
+
t("small", Fe, " (" + m(e.visitLabel) + " " + m(i(V.lastVisit)) + ") ", 1)
|
|
569
|
+
], 8, Xe))), 128))
|
|
570
|
+
])) : u("", !0),
|
|
571
|
+
k(a.$slots, "subtitle", {}, () => [
|
|
572
|
+
e.subtitle ? (s(), o("p", He, m(e.subtitle), 1)) : u("", !0)
|
|
573
|
+
], !0)
|
|
574
|
+
], 512)
|
|
575
|
+
]),
|
|
576
|
+
t("div", We, [
|
|
577
|
+
v[3] || (v[3] = t("div", null, null, -1)),
|
|
578
|
+
k(a.$slots, "default", {}, void 0, !0),
|
|
579
|
+
v[4] || (v[4] = t("div", null, null, -1))
|
|
580
|
+
])
|
|
581
|
+
])
|
|
582
|
+
]));
|
|
577
583
|
}
|
|
578
|
-
}
|
|
579
|
-
function Ke(e, p, s, c, y, d) {
|
|
580
|
-
return i(), z(U, { to: s.to }, [
|
|
581
|
-
x(e.$slots, "default")
|
|
582
|
-
], 8, ["to"]);
|
|
583
|
-
}
|
|
584
|
-
const je = /* @__PURE__ */ L(We, [["render", Ke]]), He = { class: "sky-modal-header" }, Je = ["title"], qe = {
|
|
584
|
+
}, Wt = /* @__PURE__ */ C(Ke, [["__scopeId", "data-v-8bf4384c"]]), je = { class: "sky-modal-header" }, qe = ["title"], Je = {
|
|
585
585
|
width: "15",
|
|
586
586
|
height: "15",
|
|
587
587
|
viewBox: "0 0 451.847 451.847",
|
|
@@ -629,73 +629,129 @@ const je = /* @__PURE__ */ L(We, [["render", Ke]]), He = { class: "sky-modal-hea
|
|
|
629
629
|
}
|
|
630
630
|
},
|
|
631
631
|
emits: ["update:modelValue", "close"],
|
|
632
|
-
setup(e, { emit:
|
|
633
|
-
const
|
|
634
|
-
width:
|
|
635
|
-
height:
|
|
636
|
-
})),
|
|
637
|
-
|
|
638
|
-
},
|
|
639
|
-
|
|
640
|
-
},
|
|
641
|
-
|
|
632
|
+
setup(e, { emit: d }) {
|
|
633
|
+
const l = e, f = d, h = _(() => ({
|
|
634
|
+
width: l.width,
|
|
635
|
+
height: l.height
|
|
636
|
+
})), c = () => {
|
|
637
|
+
f("update:modelValue", !1), f("close");
|
|
638
|
+
}, p = () => {
|
|
639
|
+
l.closeOnOverlay && c();
|
|
640
|
+
}, r = (y) => {
|
|
641
|
+
y.key === "Escape" && l.closeOnEsc && l.modelValue && c();
|
|
642
642
|
};
|
|
643
643
|
return F(
|
|
644
|
-
() =>
|
|
645
|
-
(
|
|
646
|
-
|
|
644
|
+
() => l.modelValue,
|
|
645
|
+
(y) => {
|
|
646
|
+
y ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
|
|
647
647
|
}
|
|
648
|
-
),
|
|
649
|
-
document.addEventListener("keydown",
|
|
650
|
-
}),
|
|
651
|
-
document.removeEventListener("keydown",
|
|
652
|
-
}), (
|
|
648
|
+
), z(() => {
|
|
649
|
+
document.addEventListener("keydown", r);
|
|
650
|
+
}), M(() => {
|
|
651
|
+
document.removeEventListener("keydown", r), document.body.style.overflow = "";
|
|
652
|
+
}), (y, b) => (s(), P(ge, { to: "body" }, {
|
|
653
653
|
default: X(() => [
|
|
654
|
-
e.modelValue ? (
|
|
654
|
+
e.modelValue ? (s(), o("div", {
|
|
655
655
|
key: 0,
|
|
656
656
|
class: "sky-modal-overlay",
|
|
657
|
-
onMousedown: ae(
|
|
657
|
+
onMousedown: ae(p, ["self"])
|
|
658
658
|
}, [
|
|
659
659
|
t("div", {
|
|
660
660
|
class: "sky-modal",
|
|
661
|
-
style:
|
|
661
|
+
style: H(h.value)
|
|
662
662
|
}, [
|
|
663
|
-
t("div",
|
|
663
|
+
t("div", je, [
|
|
664
664
|
t("button", {
|
|
665
665
|
class: "sky-modal-back",
|
|
666
|
-
onClick:
|
|
666
|
+
onClick: c,
|
|
667
667
|
title: e.closeTitle
|
|
668
668
|
}, [
|
|
669
|
-
(
|
|
669
|
+
(s(), o("svg", Je, [...b[0] || (b[0] = [
|
|
670
670
|
t("path", {
|
|
671
671
|
fill: "currentColor",
|
|
672
672
|
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"
|
|
673
673
|
}, null, -1)
|
|
674
674
|
])]))
|
|
675
|
-
], 8,
|
|
675
|
+
], 8, qe),
|
|
676
676
|
t("div", Ge, [
|
|
677
|
-
t("h4", Qe,
|
|
678
|
-
e.subtitle ? (
|
|
677
|
+
t("h4", Qe, m(e.title), 1),
|
|
678
|
+
e.subtitle ? (s(), o("div", Ye, m(e.subtitle), 1)) : u("", !0)
|
|
679
679
|
])
|
|
680
680
|
]),
|
|
681
681
|
t("div", Ze, [
|
|
682
|
-
|
|
682
|
+
k(y.$slots, "default", {}, void 0, !0)
|
|
683
683
|
]),
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
])) :
|
|
684
|
+
y.$slots.footer ? (s(), o("div", et, [
|
|
685
|
+
b[1] || (b[1] = t("div", null, null, -1)),
|
|
686
|
+
k(y.$slots, "footer", {}, void 0, !0),
|
|
687
|
+
b[2] || (b[2] = t("div", null, null, -1))
|
|
688
|
+
])) : u("", !0)
|
|
689
689
|
], 4)
|
|
690
|
-
], 32)) :
|
|
690
|
+
], 32)) : u("", !0)
|
|
691
691
|
]),
|
|
692
692
|
_: 3
|
|
693
693
|
}));
|
|
694
694
|
}
|
|
695
|
-
},
|
|
695
|
+
}, Kt = /* @__PURE__ */ C(tt, [["__scopeId", "data-v-361413ac"]]), st = {
|
|
696
|
+
key: 0,
|
|
697
|
+
class: "sky-alert-icon",
|
|
698
|
+
width: "16",
|
|
699
|
+
height: "16",
|
|
700
|
+
viewBox: "0 0 20 20",
|
|
701
|
+
fill: "none"
|
|
702
|
+
}, ot = { class: "sky-alert-body" }, lt = {
|
|
703
|
+
__name: "SkyAlert",
|
|
704
|
+
props: {
|
|
705
|
+
tone: {
|
|
706
|
+
type: String,
|
|
707
|
+
default: "info",
|
|
708
|
+
validator: (e) => ["success", "error", "warning", "info"].includes(e)
|
|
709
|
+
},
|
|
710
|
+
showIcon: { type: Boolean, default: !0 }
|
|
711
|
+
},
|
|
712
|
+
setup(e) {
|
|
713
|
+
return (d, l) => (s(), o("div", {
|
|
714
|
+
class: E(["sky-alert", `sky-alert-${e.tone}`])
|
|
715
|
+
}, [
|
|
716
|
+
e.showIcon ? (s(), o("svg", st, [...l[0] || (l[0] = [
|
|
717
|
+
t("path", {
|
|
718
|
+
d: "M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm1 15H9v-2h2v2zm0-4H9V5h2v6z",
|
|
719
|
+
fill: "currentColor"
|
|
720
|
+
}, null, -1)
|
|
721
|
+
])])) : u("", !0),
|
|
722
|
+
t("span", ot, [
|
|
723
|
+
k(d.$slots, "default", {}, void 0, !0)
|
|
724
|
+
])
|
|
725
|
+
], 2));
|
|
726
|
+
}
|
|
727
|
+
}, jt = /* @__PURE__ */ C(lt, [["__scopeId", "data-v-ae1976b5"]]), nt = {
|
|
728
|
+
key: 0,
|
|
729
|
+
class: "sky-badge-dot"
|
|
730
|
+
}, at = {
|
|
731
|
+
__name: "SkyBadge",
|
|
732
|
+
props: {
|
|
733
|
+
tone: {
|
|
734
|
+
type: String,
|
|
735
|
+
default: "default",
|
|
736
|
+
validator: (e) => ["success", "error", "warning", "pending", "info", "default"].includes(e)
|
|
737
|
+
},
|
|
738
|
+
label: { type: String, default: "" },
|
|
739
|
+
dot: { type: Boolean, default: !0 }
|
|
740
|
+
},
|
|
741
|
+
setup(e) {
|
|
742
|
+
return (d, l) => (s(), o("span", {
|
|
743
|
+
class: E(["sky-badge", `sky-badge-${e.tone}`])
|
|
744
|
+
}, [
|
|
745
|
+
e.dot ? (s(), o("span", nt)) : u("", !0),
|
|
746
|
+
k(d.$slots, "default", {}, () => [
|
|
747
|
+
W(m(e.label), 1)
|
|
748
|
+
], !0)
|
|
749
|
+
], 2));
|
|
750
|
+
}
|
|
751
|
+
}, qt = /* @__PURE__ */ C(at, [["__scopeId", "data-v-3c7aa57d"]]), dt = ["disabled"], it = {
|
|
696
752
|
key: 0,
|
|
697
753
|
class: "sky-btn-spinner"
|
|
698
|
-
},
|
|
754
|
+
}, rt = {
|
|
699
755
|
__name: "SkyButton",
|
|
700
756
|
props: {
|
|
701
757
|
variant: {
|
|
@@ -721,7 +777,7 @@ const je = /* @__PURE__ */ L(We, [["render", Ke]]), He = { class: "sky-modal-hea
|
|
|
721
777
|
}
|
|
722
778
|
},
|
|
723
779
|
setup(e) {
|
|
724
|
-
return (
|
|
780
|
+
return (d, l) => (s(), o("button", de({
|
|
725
781
|
class: ["sky-btn", [
|
|
726
782
|
`sky-btn-${e.variant}`,
|
|
727
783
|
{
|
|
@@ -731,21 +787,97 @@ const je = /* @__PURE__ */ L(We, [["render", Ke]]), He = { class: "sky-modal-hea
|
|
|
731
787
|
}
|
|
732
788
|
]],
|
|
733
789
|
disabled: e.disabled || e.loading
|
|
734
|
-
},
|
|
735
|
-
e.loading ? (
|
|
736
|
-
|
|
737
|
-
], 16,
|
|
790
|
+
}, d.$attrs), [
|
|
791
|
+
e.loading ? (s(), o("span", it)) : u("", !0),
|
|
792
|
+
k(d.$slots, "default", {}, void 0, !0)
|
|
793
|
+
], 16, dt));
|
|
794
|
+
}
|
|
795
|
+
}, Jt = /* @__PURE__ */ C(rt, [["__scopeId", "data-v-755083cb"]]), ut = { class: "sky-card" }, ct = {
|
|
796
|
+
key: 0,
|
|
797
|
+
class: "sky-card-ribbon"
|
|
798
|
+
}, yt = {
|
|
799
|
+
key: 1,
|
|
800
|
+
class: "sky-card-header"
|
|
801
|
+
}, ft = {
|
|
802
|
+
key: 2,
|
|
803
|
+
class: "sky-card-body"
|
|
804
|
+
}, vt = {
|
|
805
|
+
key: 3,
|
|
806
|
+
class: "sky-card-footer"
|
|
807
|
+
}, kt = {
|
|
808
|
+
__name: "SkyCard",
|
|
809
|
+
setup(e) {
|
|
810
|
+
return (d, l) => (s(), o("div", ut, [
|
|
811
|
+
d.$slots.ribbon ? (s(), o("div", ct, [
|
|
812
|
+
k(d.$slots, "ribbon", {}, void 0, !0)
|
|
813
|
+
])) : u("", !0),
|
|
814
|
+
d.$slots.header ? (s(), o("div", yt, [
|
|
815
|
+
k(d.$slots, "header", {}, void 0, !0)
|
|
816
|
+
])) : u("", !0),
|
|
817
|
+
d.$slots.default ? (s(), o("div", ft, [
|
|
818
|
+
k(d.$slots, "default", {}, void 0, !0)
|
|
819
|
+
])) : u("", !0),
|
|
820
|
+
d.$slots.footer ? (s(), o("div", vt, [
|
|
821
|
+
k(d.$slots, "footer", {}, void 0, !0)
|
|
822
|
+
])) : u("", !0)
|
|
823
|
+
]));
|
|
824
|
+
}
|
|
825
|
+
}, Gt = /* @__PURE__ */ C(kt, [["__scopeId", "data-v-6a2d353e"]]), ht = { class: "sky-card-header-content" }, gt = {
|
|
826
|
+
key: 0,
|
|
827
|
+
class: "sky-card-header-icon"
|
|
828
|
+
}, mt = ["src", "alt"], pt = { class: "sky-card-header-titles" }, bt = { class: "sky-card-header-title" }, wt = {
|
|
829
|
+
key: 0,
|
|
830
|
+
class: "sky-card-header-subtitle"
|
|
831
|
+
}, $t = {
|
|
832
|
+
__name: "SkyCardHeader",
|
|
833
|
+
props: {
|
|
834
|
+
title: { type: String, required: !0 },
|
|
835
|
+
subtitle: { type: String, default: "" },
|
|
836
|
+
iconSrc: { type: String, default: "" }
|
|
837
|
+
},
|
|
838
|
+
setup(e) {
|
|
839
|
+
return (d, l) => (s(), o("div", ht, [
|
|
840
|
+
d.$slots.icon || e.iconSrc ? (s(), o("div", gt, [
|
|
841
|
+
k(d.$slots, "icon", {}, () => [
|
|
842
|
+
e.iconSrc ? (s(), o("img", {
|
|
843
|
+
key: 0,
|
|
844
|
+
src: e.iconSrc,
|
|
845
|
+
alt: e.title,
|
|
846
|
+
width: "48",
|
|
847
|
+
height: "48"
|
|
848
|
+
}, null, 8, mt)) : u("", !0)
|
|
849
|
+
], !0)
|
|
850
|
+
])) : u("", !0),
|
|
851
|
+
t("div", pt, [
|
|
852
|
+
t("h3", bt, m(e.title), 1),
|
|
853
|
+
e.subtitle ? (s(), o("p", wt, m(e.subtitle), 1)) : u("", !0)
|
|
854
|
+
])
|
|
855
|
+
]));
|
|
856
|
+
}
|
|
857
|
+
}, Qt = /* @__PURE__ */ C($t, [["__scopeId", "data-v-ab38d71f"]]), St = { class: "sky-card-row" }, _t = { class: "sky-card-row-label" }, Ct = { class: "sky-card-row-value" }, Bt = {
|
|
858
|
+
__name: "SkyCardRow",
|
|
859
|
+
props: {
|
|
860
|
+
label: { type: String, required: !0 },
|
|
861
|
+
value: { type: [String, Number], default: "" }
|
|
862
|
+
},
|
|
863
|
+
setup(e) {
|
|
864
|
+
return (d, l) => (s(), o("div", St, [
|
|
865
|
+
t("span", _t, m(e.label), 1),
|
|
866
|
+
k(d.$slots, "default", {}, () => [
|
|
867
|
+
t("span", Ct, m(e.value), 1)
|
|
868
|
+
], !0)
|
|
869
|
+
]));
|
|
738
870
|
}
|
|
739
|
-
},
|
|
871
|
+
}, Yt = /* @__PURE__ */ C(Bt, [["__scopeId", "data-v-8bd0b0e7"]]), Et = ["disabled"], xt = {
|
|
740
872
|
key: 0,
|
|
741
873
|
class: "sky-select-dropdown"
|
|
742
|
-
},
|
|
874
|
+
}, It = ["onClick", "onMouseenter"], Vt = {
|
|
743
875
|
key: 0,
|
|
744
876
|
class: "sky-select-check",
|
|
745
877
|
viewBox: "0 0 16 16",
|
|
746
878
|
fill: "none",
|
|
747
879
|
"aria-hidden": "true"
|
|
748
|
-
},
|
|
880
|
+
}, Tt = {
|
|
749
881
|
__name: "SkySelect",
|
|
750
882
|
props: {
|
|
751
883
|
modelValue: {
|
|
@@ -769,45 +901,45 @@ const je = /* @__PURE__ */ L(We, [["render", Ke]]), He = { class: "sky-modal-hea
|
|
|
769
901
|
}
|
|
770
902
|
},
|
|
771
903
|
emits: ["update:modelValue"],
|
|
772
|
-
setup(e, { emit:
|
|
773
|
-
const
|
|
774
|
-
() =>
|
|
775
|
-
(
|
|
904
|
+
setup(e, { emit: d }) {
|
|
905
|
+
const l = e, f = d, h = $(null), c = $(!1), p = $(-1), r = _(
|
|
906
|
+
() => l.options.map(
|
|
907
|
+
(i) => typeof i == "string" ? { label: i, value: i } : i
|
|
776
908
|
)
|
|
777
|
-
),
|
|
778
|
-
() =>
|
|
909
|
+
), y = _(
|
|
910
|
+
() => r.value.find((i) => i.value === l.modelValue) ?? null
|
|
779
911
|
);
|
|
780
|
-
function
|
|
781
|
-
|
|
782
|
-
}
|
|
783
|
-
function h() {
|
|
784
|
-
d.value = !0, k.value = a.value.findIndex((n) => n.value === s.modelValue), document.addEventListener("mousedown", C);
|
|
912
|
+
function b() {
|
|
913
|
+
l.disabled || (c.value ? S() : w());
|
|
785
914
|
}
|
|
786
915
|
function w() {
|
|
787
|
-
|
|
916
|
+
c.value = !0, p.value = r.value.findIndex((i) => i.value === l.modelValue), document.addEventListener("mousedown", x);
|
|
917
|
+
}
|
|
918
|
+
function S() {
|
|
919
|
+
c.value = !1, document.removeEventListener("mousedown", x);
|
|
788
920
|
}
|
|
789
|
-
function B(
|
|
790
|
-
|
|
921
|
+
function B(i) {
|
|
922
|
+
f("update:modelValue", i.value), S();
|
|
791
923
|
}
|
|
792
|
-
function
|
|
793
|
-
var
|
|
794
|
-
(
|
|
924
|
+
function x(i) {
|
|
925
|
+
var n;
|
|
926
|
+
(n = h.value) != null && n.contains(i.target) || S();
|
|
795
927
|
}
|
|
796
|
-
function
|
|
797
|
-
if (!
|
|
798
|
-
(
|
|
928
|
+
function I(i) {
|
|
929
|
+
if (!c.value) {
|
|
930
|
+
(i.key === "Enter" || i.key === " ") && (i.preventDefault(), w());
|
|
799
931
|
return;
|
|
800
932
|
}
|
|
801
|
-
|
|
933
|
+
i.key === "Escape" ? S() : i.key === "ArrowDown" ? (i.preventDefault(), p.value = Math.min(p.value + 1, r.value.length - 1)) : i.key === "ArrowUp" ? (i.preventDefault(), p.value = Math.max(p.value - 1, 0)) : i.key === "Enter" && (i.preventDefault(), p.value >= 0 && B(r.value[p.value]));
|
|
802
934
|
}
|
|
803
|
-
return
|
|
804
|
-
document.removeEventListener("mousedown",
|
|
805
|
-
}), (
|
|
935
|
+
return ie(() => {
|
|
936
|
+
document.removeEventListener("mousedown", x);
|
|
937
|
+
}), (i, n) => (s(), o("div", {
|
|
806
938
|
ref_key: "root",
|
|
807
|
-
ref:
|
|
939
|
+
ref: h,
|
|
808
940
|
class: E(["sky-select", {
|
|
809
941
|
"sky-select-block": e.block,
|
|
810
|
-
"sky-select-open":
|
|
942
|
+
"sky-select-open": c.value,
|
|
811
943
|
"sky-select-disabled": e.disabled
|
|
812
944
|
}])
|
|
813
945
|
}, [
|
|
@@ -815,13 +947,13 @@ const je = /* @__PURE__ */ L(We, [["render", Ke]]), He = { class: "sky-modal-hea
|
|
|
815
947
|
type: "button",
|
|
816
948
|
class: "sky-select-trigger",
|
|
817
949
|
disabled: e.disabled,
|
|
818
|
-
onClick:
|
|
819
|
-
onKeydown:
|
|
950
|
+
onClick: b,
|
|
951
|
+
onKeydown: I
|
|
820
952
|
}, [
|
|
821
953
|
t("span", {
|
|
822
|
-
class: E(["sky-select-value", { "sky-select-placeholder":
|
|
823
|
-
},
|
|
824
|
-
|
|
954
|
+
class: E(["sky-select-value", { "sky-select-placeholder": y.value === null }])
|
|
955
|
+
}, m(y.value ? y.value.label : e.placeholder), 3),
|
|
956
|
+
n[0] || (n[0] = t("svg", {
|
|
825
957
|
class: "sky-select-chevron",
|
|
826
958
|
viewBox: "0 0 16 16",
|
|
827
959
|
fill: "none",
|
|
@@ -835,19 +967,19 @@ const je = /* @__PURE__ */ L(We, [["render", Ke]]), He = { class: "sky-modal-hea
|
|
|
835
967
|
"stroke-linejoin": "round"
|
|
836
968
|
})
|
|
837
969
|
], -1))
|
|
838
|
-
], 40,
|
|
839
|
-
|
|
840
|
-
(
|
|
841
|
-
key:
|
|
970
|
+
], 40, Et),
|
|
971
|
+
c.value ? (s(), o("div", xt, [
|
|
972
|
+
(s(!0), o(Z, null, ee(r.value, (g, L) => (s(), o("div", {
|
|
973
|
+
key: g.value,
|
|
842
974
|
class: E(["sky-select-option", {
|
|
843
|
-
"sky-select-option-selected":
|
|
844
|
-
"sky-select-option-focused":
|
|
975
|
+
"sky-select-option-selected": g.value === e.modelValue,
|
|
976
|
+
"sky-select-option-focused": L === p.value
|
|
845
977
|
}]),
|
|
846
|
-
onClick: (
|
|
847
|
-
onMouseenter: (
|
|
978
|
+
onClick: (D) => B(g),
|
|
979
|
+
onMouseenter: (D) => p.value = L
|
|
848
980
|
}, [
|
|
849
|
-
t("span", null,
|
|
850
|
-
|
|
981
|
+
t("span", null, m(g.label), 1),
|
|
982
|
+
g.value === e.modelValue ? (s(), o("svg", Vt, [...n[1] || (n[1] = [
|
|
851
983
|
t("path", {
|
|
852
984
|
d: "M3 8l4 4 6-6",
|
|
853
985
|
stroke: "currentColor",
|
|
@@ -855,49 +987,93 @@ const je = /* @__PURE__ */ L(We, [["render", Ke]]), He = { class: "sky-modal-hea
|
|
|
855
987
|
"stroke-linecap": "round",
|
|
856
988
|
"stroke-linejoin": "round"
|
|
857
989
|
}, null, -1)
|
|
858
|
-
])])) :
|
|
859
|
-
], 42,
|
|
860
|
-
])) :
|
|
990
|
+
])])) : u("", !0)
|
|
991
|
+
], 42, It))), 128))
|
|
992
|
+
])) : u("", !0)
|
|
861
993
|
], 2));
|
|
862
994
|
}
|
|
863
|
-
},
|
|
995
|
+
}, Zt = /* @__PURE__ */ C(Tt, [["__scopeId", "data-v-a5711987"]]), Lt = { class: "sky-tile-card" }, Mt = { class: "sky-tile-card-head" }, Pt = {
|
|
996
|
+
key: 0,
|
|
997
|
+
class: "sky-tile-card-icon"
|
|
998
|
+
}, zt = ["src", "alt"], Dt = { class: "sky-tile-card-titles" }, Ot = { class: "sky-tile-card-title" }, At = {
|
|
999
|
+
key: 0,
|
|
1000
|
+
class: "sky-tile-card-subtitle"
|
|
1001
|
+
}, Nt = {
|
|
1002
|
+
key: 0,
|
|
1003
|
+
class: "sky-tile-card-body"
|
|
1004
|
+
}, Rt = {
|
|
1005
|
+
__name: "SkyTileCard",
|
|
1006
|
+
props: {
|
|
1007
|
+
title: { type: String, required: !0 },
|
|
1008
|
+
subtitle: { type: String, default: "" },
|
|
1009
|
+
imageUrl: { type: String, default: "" }
|
|
1010
|
+
},
|
|
1011
|
+
setup(e) {
|
|
1012
|
+
return (d, l) => (s(), o("div", Lt, [
|
|
1013
|
+
t("div", Mt, [
|
|
1014
|
+
d.$slots.icon || e.imageUrl ? (s(), o("div", Pt, [
|
|
1015
|
+
k(d.$slots, "icon", {}, () => [
|
|
1016
|
+
e.imageUrl ? (s(), o("img", {
|
|
1017
|
+
key: 0,
|
|
1018
|
+
src: e.imageUrl,
|
|
1019
|
+
alt: e.title
|
|
1020
|
+
}, null, 8, zt)) : u("", !0)
|
|
1021
|
+
], !0)
|
|
1022
|
+
])) : u("", !0),
|
|
1023
|
+
t("div", Dt, [
|
|
1024
|
+
t("h3", Ot, m(e.title), 1),
|
|
1025
|
+
e.subtitle ? (s(), o("p", At, m(e.subtitle), 1)) : u("", !0)
|
|
1026
|
+
])
|
|
1027
|
+
]),
|
|
1028
|
+
d.$slots.default ? (s(), o("div", Nt, [
|
|
1029
|
+
k(d.$slots, "default", {}, void 0, !0)
|
|
1030
|
+
])) : u("", !0)
|
|
1031
|
+
]));
|
|
1032
|
+
}
|
|
1033
|
+
}, es = /* @__PURE__ */ C(Rt, [["__scopeId", "data-v-6ac519f3"]]);
|
|
864
1034
|
export {
|
|
865
|
-
|
|
866
|
-
|
|
1035
|
+
ge as BaseTeleport,
|
|
1036
|
+
Ht as Dialog,
|
|
867
1037
|
J as DialogModal,
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
1038
|
+
G as DialogNext,
|
|
1039
|
+
Wt as Header,
|
|
1040
|
+
Kt as Modal,
|
|
1041
|
+
jt as SkyAlert,
|
|
1042
|
+
qt as SkyBadge,
|
|
1043
|
+
Jt as SkyButton,
|
|
1044
|
+
Gt as SkyCard,
|
|
1045
|
+
Qt as SkyCardHeader,
|
|
1046
|
+
Yt as SkyCardRow,
|
|
1047
|
+
Zt as SkySelect,
|
|
1048
|
+
es as SkyTileCard,
|
|
1049
|
+
os as SkyserviceAPI,
|
|
874
1050
|
ve as exit,
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
1051
|
+
ls as getBack,
|
|
1052
|
+
ns as getCompany,
|
|
1053
|
+
as as getLang,
|
|
1054
|
+
N as getLocalStorageData,
|
|
1055
|
+
ds as getProductCategories,
|
|
1056
|
+
ue as getSenderId,
|
|
1057
|
+
is as getStoreData,
|
|
1058
|
+
rs as getToken,
|
|
1059
|
+
us as getUser,
|
|
1060
|
+
fe as getWindowData,
|
|
1061
|
+
se as isAndroidWebview,
|
|
1062
|
+
cs as isCefWebview,
|
|
1063
|
+
ys as isInIframe,
|
|
1064
|
+
T as isInsideIframe,
|
|
889
1065
|
te as isIosWebview,
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
1066
|
+
fs as isWebview,
|
|
1067
|
+
q as navigate,
|
|
1068
|
+
vs as notify,
|
|
1069
|
+
ks as notifyError,
|
|
1070
|
+
hs as notifyWarn,
|
|
1071
|
+
gs as onMessage,
|
|
1072
|
+
ms as openCrispChat,
|
|
1073
|
+
ps as openExternalLink,
|
|
1074
|
+
ye as setLocalStorage,
|
|
899
1075
|
j as setRocketMode,
|
|
900
|
-
|
|
1076
|
+
re as setSenderId,
|
|
901
1077
|
ce as trackVisit,
|
|
902
|
-
|
|
1078
|
+
bs as webviewCheck
|
|
903
1079
|
};
|