@skyservice-developers/vue-dev-kit 2.3.1 → 2.4.0

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.
@@ -1,13 +1,13 @@
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";
1
+ import { openBlock as s, createBlock as P, Teleport as U, renderSlot as k, useSlots as Q, ref as $, computed as C, watch as F, nextTick as Y, onMounted as z, onUnmounted as M, createElementBlock as l, normalizeStyle as H, createElementVNode as t, normalizeClass as x, createTextVNode as W, toDisplayString as g, createCommentVNode as c, resolveDynamicComponent as le, createSlots as ne, withCtx as X, Fragment as Z, renderList as ee, withModifiers as ae, mergeProps as de, defineComponent as ie, createStaticVNode as re, onBeforeUnmount as ce } from "vue";
2
+ import { p as te, l as se, A as ue, f as ye, o as T, B as fe, c as N, y as ve, z as j, k as ke, r as q, e as he } from "./api-AhLH5w3p.js";
3
+ import { S as rs, g as cs, a as us, b as ys, d as fs, h as vs, i as ks, j as hs, m as gs, n as ms, q as ps, s as bs, t as ws, u as $s, v as Ss, w as _s, x as Cs, C as Bs } from "./api-AhLH5w3p.js";
4
4
  import "ua-parser-js";
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 = {
5
+ const _ = (e, a) => {
6
+ const o = e.__vccOpts || e;
7
+ for (const [f, h] of a)
8
+ o[f] = h;
9
+ return o;
10
+ }, ge = {
11
11
  props: {
12
12
  to: {
13
13
  type: String,
@@ -15,21 +15,21 @@ const C = (e, d) => {
15
15
  }
16
16
  }
17
17
  };
18
- function he(e, d, l, f, h, c) {
19
- return s(), P(U, { to: l.to }, [
18
+ function me(e, a, o, f, h, u) {
19
+ return s(), P(U, { to: o.to }, [
20
20
  k(e.$slots, "default")
21
21
  ], 8, ["to"]);
22
22
  }
23
- const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-overlay" }, pe = {
23
+ const pe = /* @__PURE__ */ _(ge, [["render", me]]), be = { class: "sky-dialog-overlay" }, we = {
24
24
  key: 0,
25
25
  class: "sky-dialog-subtitle"
26
- }, be = ["title"], we = {
26
+ }, $e = ["title"], Se = {
27
27
  key: 0,
28
28
  class: "sky-dialog-swipe-area"
29
- }, $e = {
29
+ }, _e = {
30
30
  key: 0,
31
31
  class: "sky-dialog-footer"
32
- }, Se = {
32
+ }, Ce = {
33
33
  __name: "DialogModal",
34
34
  props: {
35
35
  modelValue: {
@@ -62,35 +62,35 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
62
62
  }
63
63
  },
64
64
  emits: ["update:modelValue", "close", "save"],
65
- setup(e, { emit: d }) {
66
- const l = Q(), f = e, h = d, c = $(null), p = $(null), r = $(0), y = _(() => {
65
+ setup(e, { emit: a }) {
66
+ const o = Q(), f = e, h = a, u = $(null), p = $(null), r = $(0), y = C(() => {
67
67
  try {
68
68
  return te();
69
69
  } catch {
70
70
  return !1;
71
71
  }
72
- }), b = _(() => {
72
+ }), b = C(() => {
73
73
  try {
74
74
  return se();
75
75
  } catch {
76
76
  return !1;
77
77
  }
78
- }), w = _(() => f.hasButtons !== null ? f.hasButtons : !!l.buttons), S = () => {
78
+ }), w = C(() => f.hasButtons !== null ? f.hasButtons : !!o.buttons), S = () => {
79
79
  h("update:modelValue", !1), h("close");
80
80
  }, B = (n) => {
81
81
  n.key === "Escape" && f.closeOnEsc && f.modelValue && S(), n.key === "Enter" && f.modelValue && h("save");
82
- }, x = (n) => {
82
+ }, E = (n) => {
83
83
  n.touches[0].clientX < 35 && (r.value = n.touches[0].clientX);
84
84
  }, I = (n) => {
85
85
  r.value > 0 && r.value < 35 && n.changedTouches[0].clientX - r.value > 50 && S(), r.value = 0;
86
86
  }, i = () => {
87
- if (!(!b.value || !c.value))
87
+ if (!(!b.value || !u.value))
88
88
  try {
89
89
  if (typeof Android < "u" && Android.getDisplayCutoutTop) {
90
90
  const n = Android.getDisplayCutoutTop();
91
91
  if (n && window.devicePixelRatio > 1) {
92
- const g = n / window.devicePixelRatio;
93
- c.value.style.paddingTop = g + "px";
92
+ const m = n / window.devicePixelRatio;
93
+ u.value.style.paddingTop = m + "px";
94
94
  }
95
95
  }
96
96
  } catch {
@@ -107,29 +107,29 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
107
107
  document.addEventListener("keydown", B), window.addEventListener("resize", i);
108
108
  }), M(() => {
109
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", {
110
+ }), (n, m) => (s(), P(U, { to: "body" }, [
111
+ e.modelValue ? (s(), l("div", {
112
112
  key: 0,
113
113
  class: "sky-dialogbox sky-dialogbox-classic",
114
114
  style: H([e.zIndex ? { "z-index": e.zIndex } : null])
115
115
  }, [
116
- t("div", me, [
116
+ t("div", be, [
117
117
  t("div", {
118
118
  ref_key: "dialogContent",
119
- ref: c,
119
+ ref: u,
120
120
  class: "sky-dialog-content"
121
121
  }, [
122
122
  t("div", {
123
- class: E(["sky-dialog-title", { "sky-dialog-title-with-subtitle": e.subtitle }])
123
+ class: x(["sky-dialog-title", { "sky-dialog-title-with-subtitle": e.subtitle }])
124
124
  }, [
125
- W(m(e.title) + " ", 1),
126
- e.subtitle ? (s(), o("span", pe, m(e.subtitle), 1)) : u("", !0)
125
+ W(g(e.title) + " ", 1),
126
+ e.subtitle ? (s(), l("span", we, g(e.subtitle), 1)) : c("", !0)
127
127
  ], 2),
128
128
  t("button", {
129
129
  class: "sky-dialog-close",
130
130
  title: e.closeText,
131
131
  onClick: S
132
- }, [...g[0] || (g[0] = [
132
+ }, [...m[0] || (m[0] = [
133
133
  t("svg", {
134
134
  viewBox: "0 0 16 16",
135
135
  width: "16",
@@ -152,41 +152,41 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
152
152
  "stroke-width": "2"
153
153
  })
154
154
  ], -1)
155
- ])], 8, be),
156
- g[1] || (g[1] = t("div", { class: "sky-dialog-clearfix" }, null, -1)),
155
+ ])], 8, $e),
156
+ m[1] || (m[1] = t("div", { class: "sky-dialog-clearfix" }, null, -1)),
157
157
  t("div", {
158
158
  ref_key: "dialogPaper",
159
159
  ref: p,
160
- class: E(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !w.value }]),
161
- onTouchstart: x,
160
+ class: x(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !w.value }]),
161
+ onTouchstart: E,
162
162
  onTouchend: I
163
163
  }, [
164
- y.value ? (s(), o("div", we)) : u("", !0),
164
+ y.value ? (s(), l("div", Se)) : c("", !0),
165
165
  k(n.$slots, "default", {}, void 0, !0)
166
166
  ], 34),
167
- w.value ? (s(), o("div", $e, [
167
+ w.value ? (s(), l("div", _e, [
168
168
  k(n.$slots, "buttons", {}, void 0, !0)
169
- ])) : u("", !0)
169
+ ])) : c("", !0)
170
170
  ], 512)
171
171
  ])
172
- ], 4)) : u("", !0)
172
+ ], 4)) : c("", !0)
173
173
  ]));
174
174
  }
175
- }, J = /* @__PURE__ */ C(Se, [["__scopeId", "data-v-62f59776"]]), _e = { class: "sky-dialog-overlay" }, Ce = { class: "sky-dialog-header" }, Be = ["title"], Ee = {
175
+ }, J = /* @__PURE__ */ _(Ce, [["__scopeId", "data-v-62f59776"]]), Be = { class: "sky-dialog-overlay" }, xe = { class: "sky-dialog-header" }, Ee = ["title"], Ie = {
176
176
  width: "15",
177
177
  height: "15",
178
178
  viewBox: "0 0 451.847 451.847",
179
179
  style: { transform: "rotate(90deg)" }
180
- }, xe = {
180
+ }, Ve = {
181
181
  key: 0,
182
182
  class: "sky-dialog-subtitle"
183
- }, Ie = {
183
+ }, Te = {
184
184
  key: 0,
185
185
  class: "sky-dialog-swipe-area"
186
- }, Ve = {
186
+ }, Le = {
187
187
  key: 0,
188
188
  class: "sky-dialog-footer"
189
- }, Te = {
189
+ }, Me = {
190
190
  __name: "DialogNext",
191
191
  props: {
192
192
  modelValue: {
@@ -219,35 +219,35 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
219
219
  }
220
220
  },
221
221
  emits: ["update:modelValue", "close", "save"],
222
- setup(e, { emit: d }) {
223
- const l = Q(), f = e, h = d, c = $(null), p = $(null), r = $(0), y = _(() => {
222
+ setup(e, { emit: a }) {
223
+ const o = Q(), f = e, h = a, u = $(null), p = $(null), r = $(0), y = C(() => {
224
224
  try {
225
225
  return te();
226
226
  } catch {
227
227
  return !1;
228
228
  }
229
- }), b = _(() => {
229
+ }), b = C(() => {
230
230
  try {
231
231
  return se();
232
232
  } catch {
233
233
  return !1;
234
234
  }
235
- }), w = _(() => f.hasButtons !== null ? f.hasButtons : !!l.buttons), S = () => {
235
+ }), w = C(() => f.hasButtons !== null ? f.hasButtons : !!o.buttons), S = () => {
236
236
  h("update:modelValue", !1), h("close");
237
237
  }, B = (n) => {
238
238
  n.key === "Escape" && f.closeOnEsc && f.modelValue && S(), n.key === "Enter" && f.modelValue && h("save");
239
- }, x = (n) => {
239
+ }, E = (n) => {
240
240
  n.touches[0].clientX < 35 && (r.value = n.touches[0].clientX);
241
241
  }, I = (n) => {
242
242
  r.value > 0 && r.value < 35 && n.changedTouches[0].clientX - r.value > 50 && S(), r.value = 0;
243
243
  }, i = () => {
244
- if (!(!b.value || !c.value))
244
+ if (!(!b.value || !u.value))
245
245
  try {
246
246
  if (typeof Android < "u" && Android.getDisplayCutoutTop) {
247
247
  const n = Android.getDisplayCutoutTop();
248
248
  if (n && window.devicePixelRatio > 1) {
249
- const g = n / window.devicePixelRatio;
250
- c.value.style.paddingTop = g + "px";
249
+ const m = n / window.devicePixelRatio;
250
+ u.value.style.paddingTop = m + "px";
251
251
  }
252
252
  }
253
253
  } catch {
@@ -264,57 +264,57 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
264
264
  document.addEventListener("keydown", B), window.addEventListener("resize", i);
265
265
  }), M(() => {
266
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", {
267
+ }), (n, m) => (s(), P(U, { to: "body" }, [
268
+ e.modelValue ? (s(), l("div", {
269
269
  key: 0,
270
270
  class: "sky-dialogbox sky-dialogbox-next",
271
271
  style: H([e.zIndex ? { "z-index": e.zIndex } : null])
272
272
  }, [
273
- t("div", _e, [
273
+ t("div", Be, [
274
274
  t("div", {
275
275
  ref_key: "dialogContent",
276
- ref: c,
276
+ ref: u,
277
277
  class: "sky-dialog-content"
278
278
  }, [
279
- t("div", Ce, [
279
+ t("div", xe, [
280
280
  t("button", {
281
281
  class: "sky-dialog-back",
282
282
  title: e.closeText,
283
283
  onClick: S
284
284
  }, [
285
- (s(), o("svg", Ee, [...g[0] || (g[0] = [
285
+ (s(), l("svg", Ie, [...m[0] || (m[0] = [
286
286
  t("path", {
287
287
  fill: "currentColor",
288
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"
289
289
  }, null, -1)
290
290
  ])]))
291
- ], 8, Be),
291
+ ], 8, Ee),
292
292
  t("div", {
293
- class: E(["sky-dialog-title", { "sky-dialog-title-with-subtitle": e.subtitle }])
293
+ class: x(["sky-dialog-title", { "sky-dialog-title-with-subtitle": e.subtitle }])
294
294
  }, [
295
- W(m(e.title) + " ", 1),
296
- e.subtitle ? (s(), o("span", xe, m(e.subtitle), 1)) : u("", !0)
295
+ W(g(e.title) + " ", 1),
296
+ e.subtitle ? (s(), l("span", Ve, g(e.subtitle), 1)) : c("", !0)
297
297
  ], 2)
298
298
  ]),
299
299
  t("div", {
300
300
  ref_key: "dialogPaper",
301
301
  ref: p,
302
- class: E(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !w.value }]),
303
- onTouchstart: x,
302
+ class: x(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !w.value }]),
303
+ onTouchstart: E,
304
304
  onTouchend: I
305
305
  }, [
306
- y.value ? (s(), o("div", Ie)) : u("", !0),
306
+ y.value ? (s(), l("div", Te)) : c("", !0),
307
307
  k(n.$slots, "default", {}, void 0, !0)
308
308
  ], 34),
309
- w.value ? (s(), o("div", Ve, [
309
+ w.value ? (s(), l("div", Le, [
310
310
  k(n.$slots, "buttons", {}, void 0, !0)
311
- ])) : u("", !0)
311
+ ])) : c("", !0)
312
312
  ], 512)
313
313
  ])
314
- ], 4)) : u("", !0)
314
+ ], 4)) : c("", !0)
315
315
  ]));
316
316
  }
317
- }, G = /* @__PURE__ */ C(Te, [["__scopeId", "data-v-857b5f70"]]), Ht = {
317
+ }, G = /* @__PURE__ */ _(Me, [["__scopeId", "data-v-857b5f70"]]), Jt = {
318
318
  __name: "Dialog",
319
319
  props: {
320
320
  modelValue: {
@@ -350,19 +350,19 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
350
350
  }
351
351
  },
352
352
  emits: ["update:modelValue", "close", "save"],
353
- setup(e, { emit: d }) {
354
- const l = e, f = d, h = _({
355
- get: () => l.modelValue,
353
+ setup(e, { emit: a }) {
354
+ const o = e, f = a, h = C({
355
+ get: () => o.modelValue,
356
356
  set: (r) => f("update:modelValue", r)
357
- }), c = $(!0);
357
+ }), u = $(!0);
358
358
  z(() => {
359
359
  try {
360
- new URLSearchParams(window.location.search).get("rocketMode") === "false" ? c.value = !1 : c.value = !0;
360
+ new URLSearchParams(window.location.search).get("rocketMode") === "false" ? u.value = !1 : u.value = !0;
361
361
  } catch {
362
- c.value = !0;
362
+ u.value = !0;
363
363
  }
364
364
  });
365
- const p = _(() => l.mode === "next" ? G : l.mode === "classic" ? J : c.value ? G : J);
365
+ const p = C(() => o.mode === "next" ? G : o.mode === "classic" ? J : u.value ? G : J);
366
366
  return (r, y) => (s(), P(le(p.value), {
367
367
  modelValue: h.value,
368
368
  "onUpdate:modelValue": y[0] || (y[0] = (b) => h.value = b),
@@ -389,18 +389,18 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
389
389
  } : void 0
390
390
  ]), 1064, ["modelValue", "title", "subtitle", "z-index", "close-text", "close-on-esc", "has-buttons"]));
391
391
  }
392
- }, Le = { class: "sky-header-container" }, Me = { class: "topmenubox" }, Pe = { class: "header-left" }, ze = ["title"], De = {
392
+ }, Pe = { class: "sky-header-container" }, ze = { class: "topmenubox" }, De = { class: "header-left" }, Oe = ["title"], Ae = {
393
393
  width: "15",
394
394
  height: "15",
395
395
  viewBox: "0 0 451.847 451.847",
396
396
  style: { transform: "rotate(90deg)" }
397
- }, Oe = { class: "notPadding" }, Ae = { class: "topmenu-title" }, Ne = {
397
+ }, Ne = { class: "notPadding" }, Re = { class: "topmenu-title" }, Xe = {
398
398
  key: 0,
399
399
  class: "title-dropdown"
400
- }, Re = { class: "title-dropdown-header" }, Xe = ["onClick"], Ue = { class: "pageName" }, Fe = { class: "pageVisit" }, He = {
400
+ }, Ue = { class: "title-dropdown-header" }, Fe = ["onClick"], He = { class: "pageName" }, We = { class: "pageVisit" }, Ke = {
401
401
  key: 0,
402
402
  class: "topmenu-description"
403
- }, We = { class: "topmenubox-button" }, Ke = {
403
+ }, je = { class: "topmenubox-button" }, qe = {
404
404
  __name: "Header",
405
405
  props: {
406
406
  title: {
@@ -449,100 +449,100 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
449
449
  }
450
450
  },
451
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}`
452
+ setup(e, { emit: a }) {
453
+ const o = e;
454
+ ue(o.appId || ye());
455
+ const f = a, h = $(null), u = $(!1), p = $([]), r = $({});
456
+ T() && o.trackPageName && fe(
457
+ o.trackPageName,
458
+ o.trackPagePath || `/${o.trackPageName}`
459
459
  );
460
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);
461
+ T() && N("rocketMode").then(async (d) => {
462
+ y.value = d, await N("fallbackRocketMode") === null && ve("fallbackRocketMode", d === !0 || d === "true" ? "true" : "false"), j(!0);
463
463
  }), M(() => {
464
464
  L();
465
- }), T() && fe("lang").then((a) => {
466
- a != null && (r.value = a);
465
+ }), T() && ke("lang").then((d) => {
466
+ d != null && (r.value = d);
467
467
  });
468
- function b(a) {
468
+ function b(d) {
469
469
  try {
470
- if (!a) return;
471
- const v = typeof a == "string" ? JSON.parse(a) : a;
470
+ if (!d) return;
471
+ const v = typeof d == "string" ? JSON.parse(d) : d;
472
472
  v != null && v.pages && (p.value = Object.values(v.pages));
473
473
  } catch {
474
474
  }
475
475
  }
476
- b(localStorage.componentStats), T() && N("componentStats").then((a) => {
477
- a != null && (localStorage.setItem("componentStats", JSON.stringify(a)), b(a));
476
+ b(localStorage.componentStats), T() && N("componentStats").then((d) => {
477
+ d != null && (localStorage.setItem("componentStats", JSON.stringify(d)), b(d));
478
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);
479
+ const w = C(() => [...o.dropdownItems.length ? o.dropdownItems : p.value].sort((v, V) => V.lastVisit - v.lastVisit)), S = () => {
480
+ w.value.length && (u.value = !u.value);
481
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;
482
+ u.value = !1;
483
+ }, E = (d) => {
484
+ f("navigate", d.path), T() && q(d.path), B();
485
+ }, I = (d) => {
486
+ if (!d) return "";
487
+ const v = r.value[d] || d;
488
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);
489
+ }, i = (d) => {
490
+ const V = Date.now() - d, O = Math.floor(V / 1e3), A = Math.floor(O / 60), R = Math.floor(A / 60), K = Math.floor(R / 24);
491
491
  return K > 0 ? `${K}д тому` : R > 0 ? `${R}год тому` : A > 0 ? `${A}хв тому` : `${O}с тому`;
492
- }, n = (a) => {
493
- h.value && !h.value.contains(a.target) && B();
492
+ }, n = (d) => {
493
+ h.value && !h.value.contains(d.target) && B();
494
494
  };
495
495
  z(() => {
496
496
  document.addEventListener("click", n, !0);
497
497
  }), M(() => {
498
498
  document.removeEventListener("click", n, !0);
499
499
  });
500
- const g = _(() => l.backEvent || l.showBackButton && T()), L = () => {
500
+ const m = C(() => o.backEvent || o.showBackButton && T()), L = () => {
501
501
  if (y.value !== null) {
502
- const a = y.value === !0 || y.value === "true";
503
- j(a);
502
+ const d = y.value === !0 || y.value === "true";
503
+ j(d);
504
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()) {
505
+ }, D = () => w.value.find((d) => d.name !== o.trackPageName && d.path), oe = async () => {
506
+ if (o.backEvent)
507
+ return L(), o.backEvent();
508
+ let d = D();
509
+ if (!d && T()) {
510
510
  const v = await N("componentStats");
511
- v && (b(v), a = D());
511
+ v && (b(v), d = D());
512
512
  }
513
- L(), a ? q(a.path) : ve();
513
+ L(), d ? q(d.path) : he();
514
514
  };
515
- return (a, v) => (s(), o("header", Le, [
516
- t("div", Me, [
517
- t("div", Pe, [
518
- g.value ? (s(), o("button", {
515
+ return (d, v) => (s(), l("header", Pe, [
516
+ t("div", ze, [
517
+ t("div", De, [
518
+ m.value ? (s(), l("button", {
519
519
  key: 0,
520
520
  class: "btn-back",
521
521
  onClick: oe,
522
522
  title: e.backButtonTitle
523
523
  }, [
524
- (s(), o("svg", De, [...v[0] || (v[0] = [
524
+ (s(), l("svg", Ae, [...v[0] || (v[0] = [
525
525
  t("path", {
526
526
  fill: "currentColor",
527
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
528
  }, null, -1)
529
529
  ])]))
530
- ], 8, ze)) : u("", !0),
530
+ ], 8, Oe)) : c("", !0),
531
531
  t("div", {
532
532
  ref_key: "dropdownRef",
533
533
  ref: h,
534
534
  class: "titleAndDesc"
535
535
  }, [
536
536
  t("button", {
537
- class: E(["title-dropdown-toggle", { "title-dropdown-toggle-active": w.value.length }]),
537
+ class: x(["title-dropdown-toggle", { "title-dropdown-toggle-active": w.value.length }]),
538
538
  onClick: S
539
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", {
540
+ k(d.$slots, "title", {}, () => [
541
+ t("h4", Ne, [
542
+ t("span", Re, g(e.title), 1),
543
+ w.value.length ? (s(), l("svg", {
544
544
  key: 0,
545
- class: E(["arrow", { open: c.value }]),
545
+ class: x(["arrow", { open: u.value }]),
546
546
  width: "12",
547
547
  height: "12",
548
548
  viewBox: "0 0 451.847 451.847",
@@ -552,47 +552,47 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
552
552
  fill: "currentColor",
553
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
554
  }, null, -1)
555
- ])], 2)) : u("", !0)
555
+ ])], 2)) : c("", !0)
556
556
  ])
557
557
  ], !0)
558
558
  ], 2),
559
- c.value && w.value.length ? (s(), o("div", Ne, [
560
- t("div", Re, m(e.dropdownTitle), 1),
559
+ u.value && w.value.length ? (s(), l("div", Xe, [
560
+ t("div", Ue, g(e.dropdownTitle), 1),
561
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", {
562
+ (s(!0), l(Z, null, ee(w.value, (V, O) => (s(), l("div", {
563
563
  key: O,
564
564
  class: "title-dropdown-item",
565
- onClick: (A) => x(V)
565
+ onClick: (A) => E(V)
566
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)
567
+ t("p", He, g(I(V.name)), 1),
568
+ t("small", We, " (" + g(e.visitLabel) + " " + g(i(V.lastVisit)) + ") ", 1)
569
+ ], 8, Fe))), 128))
570
+ ])) : c("", !0),
571
+ k(d.$slots, "subtitle", {}, () => [
572
+ e.subtitle ? (s(), l("p", Ke, g(e.subtitle), 1)) : c("", !0)
573
573
  ], !0)
574
574
  ], 512)
575
575
  ]),
576
- t("div", We, [
576
+ t("div", je, [
577
577
  v[3] || (v[3] = t("div", null, null, -1)),
578
- k(a.$slots, "default", {}, void 0, !0),
578
+ k(d.$slots, "default", {}, void 0, !0),
579
579
  v[4] || (v[4] = t("div", null, null, -1))
580
580
  ])
581
581
  ])
582
582
  ]));
583
583
  }
584
- }, Wt = /* @__PURE__ */ C(Ke, [["__scopeId", "data-v-8bf4384c"]]), je = { class: "sky-modal-header" }, qe = ["title"], Je = {
584
+ }, Gt = /* @__PURE__ */ _(qe, [["__scopeId", "data-v-8bf4384c"]]), Je = { class: "sky-modal-header" }, Ge = ["title"], Qe = {
585
585
  width: "15",
586
586
  height: "15",
587
587
  viewBox: "0 0 451.847 451.847",
588
588
  style: { transform: "rotate(90deg)" }
589
- }, Ge = { class: "sky-modal-title-wrapper" }, Qe = { class: "sky-modal-title" }, Ye = {
589
+ }, Ye = { class: "sky-modal-title-wrapper" }, Ze = { class: "sky-modal-title" }, et = {
590
590
  key: 0,
591
591
  class: "sky-modal-subtitle"
592
- }, Ze = { class: "sky-modal-body" }, et = {
592
+ }, tt = { class: "sky-modal-body" }, st = {
593
593
  key: 0,
594
594
  class: "sky-modal-footer"
595
- }, tt = {
595
+ }, ot = {
596
596
  __name: "Modal",
597
597
  props: {
598
598
  modelValue: {
@@ -629,19 +629,19 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
629
629
  }
630
630
  },
631
631
  emits: ["update:modelValue", "close"],
632
- setup(e, { emit: d }) {
633
- const l = e, f = d, h = _(() => ({
634
- width: l.width,
635
- height: l.height
636
- })), c = () => {
632
+ setup(e, { emit: a }) {
633
+ const o = e, f = a, h = C(() => ({
634
+ width: o.width,
635
+ height: o.height
636
+ })), u = () => {
637
637
  f("update:modelValue", !1), f("close");
638
638
  }, p = () => {
639
- l.closeOnOverlay && c();
639
+ o.closeOnOverlay && u();
640
640
  }, r = (y) => {
641
- y.key === "Escape" && l.closeOnEsc && l.modelValue && c();
641
+ y.key === "Escape" && o.closeOnEsc && o.modelValue && u();
642
642
  };
643
643
  return F(
644
- () => l.modelValue,
644
+ () => o.modelValue,
645
645
  (y) => {
646
646
  y ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
647
647
  }
@@ -649,9 +649,9 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
649
649
  document.addEventListener("keydown", r);
650
650
  }), M(() => {
651
651
  document.removeEventListener("keydown", r), document.body.style.overflow = "";
652
- }), (y, b) => (s(), P(ge, { to: "body" }, {
652
+ }), (y, b) => (s(), P(pe, { to: "body" }, {
653
653
  default: X(() => [
654
- e.modelValue ? (s(), o("div", {
654
+ e.modelValue ? (s(), l("div", {
655
655
  key: 0,
656
656
  class: "sky-modal-overlay",
657
657
  onMousedown: ae(p, ["self"])
@@ -660,46 +660,46 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
660
660
  class: "sky-modal",
661
661
  style: H(h.value)
662
662
  }, [
663
- t("div", je, [
663
+ t("div", Je, [
664
664
  t("button", {
665
665
  class: "sky-modal-back",
666
- onClick: c,
666
+ onClick: u,
667
667
  title: e.closeTitle
668
668
  }, [
669
- (s(), o("svg", Je, [...b[0] || (b[0] = [
669
+ (s(), l("svg", Qe, [...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, qe),
676
- t("div", Ge, [
677
- t("h4", Qe, m(e.title), 1),
678
- e.subtitle ? (s(), o("div", Ye, m(e.subtitle), 1)) : u("", !0)
675
+ ], 8, Ge),
676
+ t("div", Ye, [
677
+ t("h4", Ze, g(e.title), 1),
678
+ e.subtitle ? (s(), l("div", et, g(e.subtitle), 1)) : c("", !0)
679
679
  ])
680
680
  ]),
681
- t("div", Ze, [
681
+ t("div", tt, [
682
682
  k(y.$slots, "default", {}, void 0, !0)
683
683
  ]),
684
- y.$slots.footer ? (s(), o("div", et, [
684
+ y.$slots.footer ? (s(), l("div", st, [
685
685
  b[1] || (b[1] = t("div", null, null, -1)),
686
686
  k(y.$slots, "footer", {}, void 0, !0),
687
687
  b[2] || (b[2] = t("div", null, null, -1))
688
- ])) : u("", !0)
688
+ ])) : c("", !0)
689
689
  ], 4)
690
- ], 32)) : u("", !0)
690
+ ], 32)) : c("", !0)
691
691
  ]),
692
692
  _: 3
693
693
  }));
694
694
  }
695
- }, Kt = /* @__PURE__ */ C(tt, [["__scopeId", "data-v-361413ac"]]), st = {
695
+ }, Qt = /* @__PURE__ */ _(ot, [["__scopeId", "data-v-361413ac"]]), lt = {
696
696
  key: 0,
697
697
  class: "sky-alert-icon",
698
698
  width: "16",
699
699
  height: "16",
700
700
  viewBox: "0 0 20 20",
701
701
  fill: "none"
702
- }, ot = { class: "sky-alert-body" }, lt = {
702
+ }, nt = { class: "sky-alert-body" }, at = {
703
703
  __name: "SkyAlert",
704
704
  props: {
705
705
  tone: {
@@ -710,24 +710,24 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
710
710
  showIcon: { type: Boolean, default: !0 }
711
711
  },
712
712
  setup(e) {
713
- return (d, l) => (s(), o("div", {
714
- class: E(["sky-alert", `sky-alert-${e.tone}`])
713
+ return (a, o) => (s(), l("div", {
714
+ class: x(["sky-alert", `sky-alert-${e.tone}`])
715
715
  }, [
716
- e.showIcon ? (s(), o("svg", st, [...l[0] || (l[0] = [
716
+ e.showIcon ? (s(), l("svg", lt, [...o[0] || (o[0] = [
717
717
  t("path", {
718
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
719
  fill: "currentColor"
720
720
  }, null, -1)
721
- ])])) : u("", !0),
722
- t("span", ot, [
723
- k(d.$slots, "default", {}, void 0, !0)
721
+ ])])) : c("", !0),
722
+ t("span", nt, [
723
+ k(a.$slots, "default", {}, void 0, !0)
724
724
  ])
725
725
  ], 2));
726
726
  }
727
- }, jt = /* @__PURE__ */ C(lt, [["__scopeId", "data-v-ae1976b5"]]), nt = {
727
+ }, Yt = /* @__PURE__ */ _(at, [["__scopeId", "data-v-ae1976b5"]]), dt = {
728
728
  key: 0,
729
729
  class: "sky-badge-dot"
730
- }, at = {
730
+ }, it = {
731
731
  __name: "SkyBadge",
732
732
  props: {
733
733
  tone: {
@@ -739,19 +739,19 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
739
739
  dot: { type: Boolean, default: !0 }
740
740
  },
741
741
  setup(e) {
742
- return (d, l) => (s(), o("span", {
743
- class: E(["sky-badge", `sky-badge-${e.tone}`])
742
+ return (a, o) => (s(), l("span", {
743
+ class: x(["sky-badge", `sky-badge-${e.tone}`])
744
744
  }, [
745
- e.dot ? (s(), o("span", nt)) : u("", !0),
746
- k(d.$slots, "default", {}, () => [
747
- W(m(e.label), 1)
745
+ e.dot ? (s(), l("span", dt)) : c("", !0),
746
+ k(a.$slots, "default", {}, () => [
747
+ W(g(e.label), 1)
748
748
  ], !0)
749
749
  ], 2));
750
750
  }
751
- }, qt = /* @__PURE__ */ C(at, [["__scopeId", "data-v-3c7aa57d"]]), dt = ["disabled"], it = {
751
+ }, Zt = /* @__PURE__ */ _(it, [["__scopeId", "data-v-3c7aa57d"]]), rt = ["disabled"], ct = {
752
752
  key: 0,
753
753
  class: "sky-btn-spinner"
754
- }, rt = {
754
+ }, ut = {
755
755
  __name: "SkyButton",
756
756
  props: {
757
757
  variant: {
@@ -777,7 +777,7 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
777
777
  }
778
778
  },
779
779
  setup(e) {
780
- return (d, l) => (s(), o("button", de({
780
+ return (a, o) => (s(), l("button", de({
781
781
  class: ["sky-btn", [
782
782
  `sky-btn-${e.variant}`,
783
783
  {
@@ -787,48 +787,48 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
787
787
  }
788
788
  ]],
789
789
  disabled: e.disabled || e.loading
790
- }, d.$attrs), [
791
- e.loading ? (s(), o("span", it)) : u("", !0),
792
- k(d.$slots, "default", {}, void 0, !0)
793
- ], 16, dt));
790
+ }, a.$attrs), [
791
+ e.loading ? (s(), l("span", ct)) : c("", !0),
792
+ k(a.$slots, "default", {}, void 0, !0)
793
+ ], 16, rt));
794
794
  }
795
- }, Jt = /* @__PURE__ */ C(rt, [["__scopeId", "data-v-755083cb"]]), ut = { class: "sky-card" }, ct = {
795
+ }, es = /* @__PURE__ */ _(ut, [["__scopeId", "data-v-755083cb"]]), yt = { class: "sky-card" }, ft = {
796
796
  key: 0,
797
797
  class: "sky-card-ribbon"
798
- }, yt = {
798
+ }, vt = {
799
799
  key: 1,
800
800
  class: "sky-card-header"
801
- }, ft = {
801
+ }, kt = {
802
802
  key: 2,
803
803
  class: "sky-card-body"
804
- }, vt = {
804
+ }, ht = {
805
805
  key: 3,
806
806
  class: "sky-card-footer"
807
- }, kt = {
807
+ }, gt = {
808
808
  __name: "SkyCard",
809
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)
810
+ return (a, o) => (s(), l("div", yt, [
811
+ a.$slots.ribbon ? (s(), l("div", ft, [
812
+ k(a.$slots, "ribbon", {}, void 0, !0)
813
+ ])) : c("", !0),
814
+ a.$slots.header ? (s(), l("div", vt, [
815
+ k(a.$slots, "header", {}, void 0, !0)
816
+ ])) : c("", !0),
817
+ a.$slots.default ? (s(), l("div", kt, [
818
+ k(a.$slots, "default", {}, void 0, !0)
819
+ ])) : c("", !0),
820
+ a.$slots.footer ? (s(), l("div", ht, [
821
+ k(a.$slots, "footer", {}, void 0, !0)
822
+ ])) : c("", !0)
823
823
  ]));
824
824
  }
825
- }, Gt = /* @__PURE__ */ C(kt, [["__scopeId", "data-v-6a2d353e"]]), ht = { class: "sky-card-header-content" }, gt = {
825
+ }, ts = /* @__PURE__ */ _(gt, [["__scopeId", "data-v-6a2d353e"]]), mt = { class: "sky-card-header-content" }, pt = {
826
826
  key: 0,
827
827
  class: "sky-card-header-icon"
828
- }, mt = ["src", "alt"], pt = { class: "sky-card-header-titles" }, bt = { class: "sky-card-header-title" }, wt = {
828
+ }, bt = ["src", "alt"], wt = { class: "sky-card-header-titles" }, $t = { class: "sky-card-header-title" }, St = {
829
829
  key: 0,
830
830
  class: "sky-card-header-subtitle"
831
- }, $t = {
831
+ }, _t = {
832
832
  __name: "SkyCardHeader",
833
833
  props: {
834
834
  title: { type: String, required: !0 },
@@ -836,48 +836,62 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
836
836
  iconSrc: { type: String, default: "" }
837
837
  },
838
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", {
839
+ return (a, o) => (s(), l("div", mt, [
840
+ a.$slots.icon || e.iconSrc ? (s(), l("div", pt, [
841
+ k(a.$slots, "icon", {}, () => [
842
+ e.iconSrc ? (s(), l("img", {
843
843
  key: 0,
844
844
  src: e.iconSrc,
845
845
  alt: e.title,
846
846
  width: "48",
847
847
  height: "48"
848
- }, null, 8, mt)) : u("", !0)
848
+ }, null, 8, bt)) : c("", !0)
849
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)
850
+ ])) : c("", !0),
851
+ t("div", wt, [
852
+ t("h3", $t, g(e.title), 1),
853
+ e.subtitle ? (s(), l("p", St, g(e.subtitle), 1)) : c("", !0)
854
854
  ])
855
855
  ]));
856
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 = {
857
+ }, ss = /* @__PURE__ */ _(_t, [["__scopeId", "data-v-ab38d71f"]]), Ct = { class: "sky-card-row" }, Bt = { class: "sky-card-row-label" }, xt = { class: "sky-card-row-value" }, Et = {
858
858
  __name: "SkyCardRow",
859
859
  props: {
860
860
  label: { type: String, required: !0 },
861
861
  value: { type: [String, Number], default: "" }
862
862
  },
863
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)
864
+ return (a, o) => (s(), l("div", Ct, [
865
+ t("span", Bt, g(e.label), 1),
866
+ k(a.$slots, "default", {}, () => [
867
+ t("span", xt, g(e.value), 1)
868
868
  ], !0)
869
869
  ]));
870
870
  }
871
- }, Yt = /* @__PURE__ */ C(Bt, [["__scopeId", "data-v-8bd0b0e7"]]), Et = ["disabled"], xt = {
871
+ }, os = /* @__PURE__ */ _(Et, [["__scopeId", "data-v-8bd0b0e7"]]), It = { class: "sky-loader" }, Vt = {
872
+ key: 0,
873
+ class: "sky-loader-text"
874
+ }, Tt = /* @__PURE__ */ ie({
875
+ __name: "SkyLoader",
876
+ props: {
877
+ text: {}
878
+ },
879
+ setup(e) {
880
+ return (a, o) => (s(), l("div", It, [
881
+ e.text ? (s(), l("div", Vt, g(e.text), 1)) : c("", !0),
882
+ o[0] || (o[0] = re('<svg class="sky-loader-letter" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 44.96 56.12" aria-hidden="true" data-v-bc1a3ce1><path d="m0.84382,47.05821l28.6299,0c4.64652,0 4.86634,-4.02966 4.86634,-5.8895c0,-2.16243 -0.51403,-4.63853 -5.01514,-6.10722l-20.36828,-6.73085c-0.80824,-0.23248 -4.05472,-1.39119 -6.12097,-4.02597c-2.36046,-2.94475 -2.65467,-7.19581 -2.65467,-10.21806c0,-3.25103 0.36861,-7.19581 3.3175,-10.06307c2.65467,-2.6237 5.97893,-3.01855 8.48819,-3.01855l29.73235,0l0,8.12942l-26.41485,0c-1.32565,0 -2.87787,0.07749 -4.05472,1.23989c-1.25463,1.2362 -1.32565,3.16985 -1.32565,4.17726c0,2.40229 0.66282,4.71972 4.61146l18.88707,6.26958c3.46291,1.1624 5.83014,2.3248 7.3756,3.86729c3.10106,3.09605 3.39528,7.89694 3.39528,10.44685c0,3.40602 -0.44301,7.20319 -2.58028,10.07045c-2.58366,3.48351 -5.83014,3.86729 -9.22203,3.86729l-31.72758,0l0,-8.12942z" data-v-bc1a3ce1></path></svg><div class="sky-loader-rings" data-v-bc1a3ce1><div class="sky-loader-ring sky-loader-ring--outer" data-v-bc1a3ce1></div><div class="sky-loader-ring sky-loader-ring--inner" data-v-bc1a3ce1></div></div>', 2))
883
+ ]));
884
+ }
885
+ }), ls = /* @__PURE__ */ _(Tt, [["__scopeId", "data-v-bc1a3ce1"]]), Lt = ["disabled"], Mt = {
872
886
  key: 0,
873
887
  class: "sky-select-dropdown"
874
- }, It = ["onClick", "onMouseenter"], Vt = {
888
+ }, Pt = ["onClick", "onMouseenter"], zt = {
875
889
  key: 0,
876
890
  class: "sky-select-check",
877
891
  viewBox: "0 0 16 16",
878
892
  fill: "none",
879
893
  "aria-hidden": "true"
880
- }, Tt = {
894
+ }, Dt = {
881
895
  __name: "SkySelect",
882
896
  props: {
883
897
  modelValue: {
@@ -901,45 +915,45 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
901
915
  }
902
916
  },
903
917
  emits: ["update:modelValue"],
904
- setup(e, { emit: d }) {
905
- const l = e, f = d, h = $(null), c = $(!1), p = $(-1), r = _(
906
- () => l.options.map(
918
+ setup(e, { emit: a }) {
919
+ const o = e, f = a, h = $(null), u = $(!1), p = $(-1), r = C(
920
+ () => o.options.map(
907
921
  (i) => typeof i == "string" ? { label: i, value: i } : i
908
922
  )
909
- ), y = _(
910
- () => r.value.find((i) => i.value === l.modelValue) ?? null
923
+ ), y = C(
924
+ () => r.value.find((i) => i.value === o.modelValue) ?? null
911
925
  );
912
926
  function b() {
913
- l.disabled || (c.value ? S() : w());
927
+ o.disabled || (u.value ? S() : w());
914
928
  }
915
929
  function w() {
916
- c.value = !0, p.value = r.value.findIndex((i) => i.value === l.modelValue), document.addEventListener("mousedown", x);
930
+ u.value = !0, p.value = r.value.findIndex((i) => i.value === o.modelValue), document.addEventListener("mousedown", E);
917
931
  }
918
932
  function S() {
919
- c.value = !1, document.removeEventListener("mousedown", x);
933
+ u.value = !1, document.removeEventListener("mousedown", E);
920
934
  }
921
935
  function B(i) {
922
936
  f("update:modelValue", i.value), S();
923
937
  }
924
- function x(i) {
938
+ function E(i) {
925
939
  var n;
926
940
  (n = h.value) != null && n.contains(i.target) || S();
927
941
  }
928
942
  function I(i) {
929
- if (!c.value) {
943
+ if (!u.value) {
930
944
  (i.key === "Enter" || i.key === " ") && (i.preventDefault(), w());
931
945
  return;
932
946
  }
933
947
  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]));
934
948
  }
935
- return ie(() => {
936
- document.removeEventListener("mousedown", x);
937
- }), (i, n) => (s(), o("div", {
949
+ return ce(() => {
950
+ document.removeEventListener("mousedown", E);
951
+ }), (i, n) => (s(), l("div", {
938
952
  ref_key: "root",
939
953
  ref: h,
940
- class: E(["sky-select", {
954
+ class: x(["sky-select", {
941
955
  "sky-select-block": e.block,
942
- "sky-select-open": c.value,
956
+ "sky-select-open": u.value,
943
957
  "sky-select-disabled": e.disabled
944
958
  }])
945
959
  }, [
@@ -951,8 +965,8 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
951
965
  onKeydown: I
952
966
  }, [
953
967
  t("span", {
954
- class: E(["sky-select-value", { "sky-select-placeholder": y.value === null }])
955
- }, m(y.value ? y.value.label : e.placeholder), 3),
968
+ class: x(["sky-select-value", { "sky-select-placeholder": y.value === null }])
969
+ }, g(y.value ? y.value.label : e.placeholder), 3),
956
970
  n[0] || (n[0] = t("svg", {
957
971
  class: "sky-select-chevron",
958
972
  viewBox: "0 0 16 16",
@@ -967,19 +981,19 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
967
981
  "stroke-linejoin": "round"
968
982
  })
969
983
  ], -1))
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,
974
- class: E(["sky-select-option", {
975
- "sky-select-option-selected": g.value === e.modelValue,
984
+ ], 40, Lt),
985
+ u.value ? (s(), l("div", Mt, [
986
+ (s(!0), l(Z, null, ee(r.value, (m, L) => (s(), l("div", {
987
+ key: m.value,
988
+ class: x(["sky-select-option", {
989
+ "sky-select-option-selected": m.value === e.modelValue,
976
990
  "sky-select-option-focused": L === p.value
977
991
  }]),
978
- onClick: (D) => B(g),
992
+ onClick: (D) => B(m),
979
993
  onMouseenter: (D) => p.value = L
980
994
  }, [
981
- t("span", null, m(g.label), 1),
982
- g.value === e.modelValue ? (s(), o("svg", Vt, [...n[1] || (n[1] = [
995
+ t("span", null, g(m.label), 1),
996
+ m.value === e.modelValue ? (s(), l("svg", zt, [...n[1] || (n[1] = [
983
997
  t("path", {
984
998
  d: "M3 8l4 4 6-6",
985
999
  stroke: "currentColor",
@@ -987,21 +1001,21 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
987
1001
  "stroke-linecap": "round",
988
1002
  "stroke-linejoin": "round"
989
1003
  }, null, -1)
990
- ])])) : u("", !0)
991
- ], 42, It))), 128))
992
- ])) : u("", !0)
1004
+ ])])) : c("", !0)
1005
+ ], 42, Pt))), 128))
1006
+ ])) : c("", !0)
993
1007
  ], 2));
994
1008
  }
995
- }, Zt = /* @__PURE__ */ C(Tt, [["__scopeId", "data-v-a5711987"]]), Lt = { class: "sky-tile-card" }, Mt = { class: "sky-tile-card-head" }, Pt = {
1009
+ }, ns = /* @__PURE__ */ _(Dt, [["__scopeId", "data-v-a5711987"]]), Ot = { class: "sky-tile-card" }, At = { class: "sky-tile-card-head" }, Nt = {
996
1010
  key: 0,
997
1011
  class: "sky-tile-card-icon"
998
- }, zt = ["src", "alt"], Dt = { class: "sky-tile-card-titles" }, Ot = { class: "sky-tile-card-title" }, At = {
1012
+ }, Rt = ["src", "alt"], Xt = { class: "sky-tile-card-titles" }, Ut = { class: "sky-tile-card-title" }, Ft = {
999
1013
  key: 0,
1000
1014
  class: "sky-tile-card-subtitle"
1001
- }, Nt = {
1015
+ }, Ht = {
1002
1016
  key: 0,
1003
1017
  class: "sky-tile-card-body"
1004
- }, Rt = {
1018
+ }, Wt = {
1005
1019
  __name: "SkyTileCard",
1006
1020
  props: {
1007
1021
  title: { type: String, required: !0 },
@@ -1009,71 +1023,72 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
1009
1023
  imageUrl: { type: String, default: "" }
1010
1024
  },
1011
1025
  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", {
1026
+ return (a, o) => (s(), l("div", Ot, [
1027
+ t("div", At, [
1028
+ a.$slots.icon || e.imageUrl ? (s(), l("div", Nt, [
1029
+ k(a.$slots, "icon", {}, () => [
1030
+ e.imageUrl ? (s(), l("img", {
1017
1031
  key: 0,
1018
1032
  src: e.imageUrl,
1019
1033
  alt: e.title
1020
- }, null, 8, zt)) : u("", !0)
1034
+ }, null, 8, Rt)) : c("", !0)
1021
1035
  ], !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)
1036
+ ])) : c("", !0),
1037
+ t("div", Xt, [
1038
+ t("h3", Ut, g(e.title), 1),
1039
+ e.subtitle ? (s(), l("p", Ft, g(e.subtitle), 1)) : c("", !0)
1026
1040
  ])
1027
1041
  ]),
1028
- d.$slots.default ? (s(), o("div", Nt, [
1029
- k(d.$slots, "default", {}, void 0, !0)
1030
- ])) : u("", !0)
1042
+ a.$slots.default ? (s(), l("div", Ht, [
1043
+ k(a.$slots, "default", {}, void 0, !0)
1044
+ ])) : c("", !0)
1031
1045
  ]));
1032
1046
  }
1033
- }, es = /* @__PURE__ */ C(Rt, [["__scopeId", "data-v-6ac519f3"]]);
1047
+ }, as = /* @__PURE__ */ _(Wt, [["__scopeId", "data-v-6ac519f3"]]);
1034
1048
  export {
1035
- ge as BaseTeleport,
1036
- Ht as Dialog,
1049
+ pe as BaseTeleport,
1050
+ Jt as Dialog,
1037
1051
  J as DialogModal,
1038
1052
  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,
1050
- ve as exit,
1051
- ls as getBack,
1052
- ns as getCompany,
1053
- as as getLang,
1053
+ Gt as Header,
1054
+ Qt as Modal,
1055
+ Yt as SkyAlert,
1056
+ Zt as SkyBadge,
1057
+ es as SkyButton,
1058
+ ts as SkyCard,
1059
+ ss as SkyCardHeader,
1060
+ os as SkyCardRow,
1061
+ ls as SkyLoader,
1062
+ ns as SkySelect,
1063
+ as as SkyTileCard,
1064
+ rs as SkyserviceAPI,
1065
+ he as exit,
1066
+ cs as getBack,
1067
+ us as getCompany,
1068
+ ys as getLang,
1054
1069
  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,
1070
+ fs as getProductCategories,
1071
+ ye as getSenderId,
1072
+ vs as getStoreData,
1073
+ ks as getToken,
1074
+ hs as getUser,
1075
+ ke as getWindowData,
1061
1076
  se as isAndroidWebview,
1062
- cs as isCefWebview,
1063
- ys as isInIframe,
1077
+ gs as isCefWebview,
1078
+ ms as isInIframe,
1064
1079
  T as isInsideIframe,
1065
1080
  te as isIosWebview,
1066
- fs as isWebview,
1081
+ ps as isWebview,
1067
1082
  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,
1083
+ bs as notify,
1084
+ ws as notifyError,
1085
+ $s as notifyWarn,
1086
+ Ss as onMessage,
1087
+ _s as openCrispChat,
1088
+ Cs as openExternalLink,
1089
+ ve as setLocalStorage,
1075
1090
  j as setRocketMode,
1076
- re as setSenderId,
1077
- ce as trackVisit,
1078
- bs as webviewCheck
1091
+ ue as setSenderId,
1092
+ fe as trackVisit,
1093
+ Bs as webviewCheck
1079
1094
  };