@skyservice-developers/vue-dev-kit 2.3.1 → 2.4.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.
@@ -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 x, watch as F, nextTick as Y, onMounted as z, onUnmounted as M, createElementBlock as l, normalizeStyle as H, createElementVNode as t, normalizeClass as B, createTextVNode as W, toDisplayString as g, createCommentVNode as u, resolveDynamicComponent as le, createSlots as ne, withCtx as X, Fragment as Z, renderList as ee, withModifiers as ae, mergeProps as de, defineComponent as ie, onBeforeUnmount as re } from "vue";
2
+ import { p as te, l as se, A as ue, f as ce, o as T, B as ye, c as N, y as fe, z as j, k as ve, r as q, e as ke } from "./api-AhLH5w3p.js";
3
+ import { S as rs, g as us, a as cs, 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 xs, C as Cs } 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
+ }, he = {
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 ge(e, a, o, f, h, c) {
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 me = /* @__PURE__ */ _(he, [["render", ge]]), pe = { class: "sky-dialog-overlay" }, be = {
24
24
  key: 0,
25
25
  class: "sky-dialog-subtitle"
26
- }, be = ["title"], we = {
26
+ }, we = ["title"], $e = {
27
27
  key: 0,
28
28
  class: "sky-dialog-swipe-area"
29
- }, $e = {
29
+ }, Se = {
30
30
  key: 0,
31
31
  class: "sky-dialog-footer"
32
- }, Se = {
32
+ }, _e = {
33
33
  __name: "DialogModal",
34
34
  props: {
35
35
  modelValue: {
@@ -62,24 +62,24 @@ 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, c = $(null), p = $(null), r = $(0), y = x(() => {
67
67
  try {
68
68
  return te();
69
69
  } catch {
70
70
  return !1;
71
71
  }
72
- }), b = _(() => {
72
+ }), b = x(() => {
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 = x(() => f.hasButtons !== null ? f.hasButtons : !!o.buttons), S = () => {
79
79
  h("update:modelValue", !1), h("close");
80
- }, B = (n) => {
80
+ }, C = (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;
@@ -89,8 +89,8 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
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
+ c.value.style.paddingTop = m + "px";
94
94
  }
95
95
  }
96
96
  } catch {
@@ -104,32 +104,32 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
104
104
  })) : document.body.style.overflow = "";
105
105
  }
106
106
  ), z(() => {
107
- document.addEventListener("keydown", B), window.addEventListener("resize", i);
107
+ document.addEventListener("keydown", C), window.addEventListener("resize", i);
108
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", {
109
+ document.removeEventListener("keydown", C), window.removeEventListener("resize", i), document.body.style.overflow = "";
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", pe, [
117
117
  t("div", {
118
118
  ref_key: "dialogContent",
119
119
  ref: c,
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: B(["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", be, g(e.subtitle), 1)) : u("", !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,19 +152,19 @@ 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, we),
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: B(["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", $e)) : u("", !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", Se, [
168
168
  k(n.$slots, "buttons", {}, void 0, !0)
169
169
  ])) : u("", !0)
170
170
  ], 512)
@@ -172,21 +172,21 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
172
172
  ], 4)) : u("", !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__ */ _(_e, [["__scopeId", "data-v-62f59776"]]), xe = { class: "sky-dialog-overlay" }, Ce = { class: "sky-dialog-header" }, Be = ["title"], Ee = {
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
+ }, Ie = {
181
181
  key: 0,
182
182
  class: "sky-dialog-subtitle"
183
- }, Ie = {
183
+ }, Ve = {
184
184
  key: 0,
185
185
  class: "sky-dialog-swipe-area"
186
- }, Ve = {
186
+ }, Te = {
187
187
  key: 0,
188
188
  class: "sky-dialog-footer"
189
- }, Te = {
189
+ }, Le = {
190
190
  __name: "DialogNext",
191
191
  props: {
192
192
  modelValue: {
@@ -219,24 +219,24 @@ 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, c = $(null), p = $(null), r = $(0), y = x(() => {
224
224
  try {
225
225
  return te();
226
226
  } catch {
227
227
  return !1;
228
228
  }
229
- }), b = _(() => {
229
+ }), b = x(() => {
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 = x(() => f.hasButtons !== null ? f.hasButtons : !!o.buttons), S = () => {
236
236
  h("update:modelValue", !1), h("close");
237
- }, B = (n) => {
237
+ }, C = (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;
@@ -246,8 +246,8 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
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
+ c.value.style.paddingTop = m + "px";
251
251
  }
252
252
  }
253
253
  } catch {
@@ -261,16 +261,16 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
261
261
  })) : document.body.style.overflow = "";
262
262
  }
263
263
  ), z(() => {
264
- document.addEventListener("keydown", B), window.addEventListener("resize", i);
264
+ document.addEventListener("keydown", C), window.addEventListener("resize", i);
265
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", {
266
+ document.removeEventListener("keydown", C), window.removeEventListener("resize", i), document.body.style.overflow = "";
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", xe, [
274
274
  t("div", {
275
275
  ref_key: "dialogContent",
276
276
  ref: c,
@@ -282,7 +282,7 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
282
282
  title: e.closeText,
283
283
  onClick: S
284
284
  }, [
285
- (s(), o("svg", Ee, [...g[0] || (g[0] = [
285
+ (s(), l("svg", Ee, [...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"
@@ -290,23 +290,23 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
290
290
  ])]))
291
291
  ], 8, Be),
292
292
  t("div", {
293
- class: E(["sky-dialog-title", { "sky-dialog-title-with-subtitle": e.subtitle }])
293
+ class: B(["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", Ie, g(e.subtitle), 1)) : u("", !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: B(["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", Ve)) : u("", !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", Te, [
310
310
  k(n.$slots, "buttons", {}, void 0, !0)
311
311
  ])) : u("", !0)
312
312
  ], 512)
@@ -314,7 +314,7 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
314
314
  ], 4)) : u("", !0)
315
315
  ]));
316
316
  }
317
- }, G = /* @__PURE__ */ C(Te, [["__scopeId", "data-v-857b5f70"]]), Ht = {
317
+ }, G = /* @__PURE__ */ _(Le, [["__scopeId", "data-v-857b5f70"]]), Jt = {
318
318
  __name: "Dialog",
319
319
  props: {
320
320
  modelValue: {
@@ -350,9 +350,9 @@ 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 = x({
355
+ get: () => o.modelValue,
356
356
  set: (r) => f("update:modelValue", r)
357
357
  }), c = $(!0);
358
358
  z(() => {
@@ -362,7 +362,7 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
362
362
  c.value = !0;
363
363
  }
364
364
  });
365
- const p = _(() => l.mode === "next" ? G : l.mode === "classic" ? J : c.value ? G : J);
365
+ const p = x(() => o.mode === "next" ? G : o.mode === "classic" ? J : c.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
+ }, Me = { class: "sky-header-container" }, Pe = { class: "topmenubox" }, ze = { class: "header-left" }, De = ["title"], Oe = {
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
+ }, Ae = { class: "notPadding" }, Ne = { class: "topmenu-title" }, Re = {
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
+ }, Xe = { class: "title-dropdown-header" }, Ue = ["onClick"], Fe = { class: "pageName" }, He = { class: "pageVisit" }, We = {
401
401
  key: 0,
402
402
  class: "topmenu-description"
403
- }, We = { class: "topmenubox-button" }, Ke = {
403
+ }, Ke = { class: "topmenubox-button" }, je = {
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 || ce());
455
+ const f = a, h = $(null), c = $(!1), p = $([]), r = $({});
456
+ T() && o.trackPageName && ye(
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 && fe("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() && ve("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 = () => {
479
+ const w = x(() => [...o.dropdownItems.length ? o.dropdownItems : p.value].sort((v, V) => V.lastVisit - v.lastVisit)), S = () => {
480
480
  w.value.length && (c.value = !c.value);
481
- }, B = () => {
481
+ }, C = () => {
482
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;
483
+ }, E = (d) => {
484
+ f("navigate", d.path), T() && q(d.path), C();
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) && C();
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 = x(() => 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) : ke();
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", Me, [
516
+ t("div", Pe, [
517
+ t("div", ze, [
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", Oe, [...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, De)) : u("", !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: B(["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", Ae, [
542
+ t("span", Ne, g(e.title), 1),
543
+ w.value.length ? (s(), l("svg", {
544
544
  key: 0,
545
- class: E(["arrow", { open: c.value }]),
545
+ class: B(["arrow", { open: c.value }]),
546
546
  width: "12",
547
547
  height: "12",
548
548
  viewBox: "0 0 451.847 451.847",
@@ -556,43 +556,43 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
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
+ c.value && w.value.length ? (s(), l("div", Re, [
560
+ t("div", Xe, 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))
567
+ t("p", Fe, g(I(V.name)), 1),
568
+ t("small", He, " (" + g(e.visitLabel) + " " + g(i(V.lastVisit)) + ") ", 1)
569
+ ], 8, Ue))), 128))
570
570
  ])) : u("", !0),
571
- k(a.$slots, "subtitle", {}, () => [
572
- e.subtitle ? (s(), o("p", He, m(e.subtitle), 1)) : u("", !0)
571
+ k(d.$slots, "subtitle", {}, () => [
572
+ e.subtitle ? (s(), l("p", We, g(e.subtitle), 1)) : u("", !0)
573
573
  ], !0)
574
574
  ], 512)
575
575
  ]),
576
- t("div", We, [
576
+ t("div", Ke, [
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__ */ _(je, [["__scopeId", "data-v-8bf4384c"]]), qe = { class: "sky-modal-header" }, Je = ["title"], Ge = {
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
+ }, Qe = { class: "sky-modal-title-wrapper" }, Ye = { class: "sky-modal-title" }, Ze = {
590
590
  key: 0,
591
591
  class: "sky-modal-subtitle"
592
- }, Ze = { class: "sky-modal-body" }, et = {
592
+ }, et = { class: "sky-modal-body" }, tt = {
593
593
  key: 0,
594
594
  class: "sky-modal-footer"
595
- }, tt = {
595
+ }, st = {
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
632
+ setup(e, { emit: a }) {
633
+ const o = e, f = a, h = x(() => ({
634
+ width: o.width,
635
+ height: o.height
636
636
  })), c = () => {
637
637
  f("update:modelValue", !1), f("close");
638
638
  }, p = () => {
639
- l.closeOnOverlay && c();
639
+ o.closeOnOverlay && c();
640
640
  }, r = (y) => {
641
- y.key === "Escape" && l.closeOnEsc && l.modelValue && c();
641
+ y.key === "Escape" && o.closeOnEsc && o.modelValue && c();
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(me, { 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,28 +660,28 @@ 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", qe, [
664
664
  t("button", {
665
665
  class: "sky-modal-back",
666
666
  onClick: c,
667
667
  title: e.closeTitle
668
668
  }, [
669
- (s(), o("svg", Je, [...b[0] || (b[0] = [
669
+ (s(), l("svg", Ge, [...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, Je),
676
+ t("div", Qe, [
677
+ t("h4", Ye, g(e.title), 1),
678
+ e.subtitle ? (s(), l("div", Ze, g(e.subtitle), 1)) : u("", !0)
679
679
  ])
680
680
  ]),
681
- t("div", Ze, [
681
+ t("div", et, [
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", tt, [
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))
@@ -692,14 +692,14 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
692
692
  _: 3
693
693
  }));
694
694
  }
695
- }, Kt = /* @__PURE__ */ C(tt, [["__scopeId", "data-v-361413ac"]]), st = {
695
+ }, Qt = /* @__PURE__ */ _(st, [["__scopeId", "data-v-361413ac"]]), ot = {
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
+ }, lt = { class: "sky-alert-body" }, nt = {
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: B(["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", ot, [...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
721
  ])])) : u("", !0),
722
- t("span", ot, [
723
- k(d.$slots, "default", {}, void 0, !0)
722
+ t("span", lt, [
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__ */ _(nt, [["__scopeId", "data-v-ae1976b5"]]), at = {
728
728
  key: 0,
729
729
  class: "sky-badge-dot"
730
- }, at = {
730
+ }, dt = {
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: B(["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", at)) : u("", !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__ */ _(dt, [["__scopeId", "data-v-3c7aa57d"]]), it = ["disabled"], rt = {
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", rt)) : u("", !0),
792
+ k(a.$slots, "default", {}, void 0, !0)
793
+ ], 16, it));
794
794
  }
795
- }, Jt = /* @__PURE__ */ C(rt, [["__scopeId", "data-v-755083cb"]]), ut = { class: "sky-card" }, ct = {
795
+ }, es = /* @__PURE__ */ _(ut, [["__scopeId", "data-v-755083cb"]]), ct = { class: "sky-card" }, yt = {
796
796
  key: 0,
797
797
  class: "sky-card-ribbon"
798
- }, yt = {
798
+ }, ft = {
799
799
  key: 1,
800
800
  class: "sky-card-header"
801
- }, ft = {
801
+ }, vt = {
802
802
  key: 2,
803
803
  class: "sky-card-body"
804
- }, vt = {
804
+ }, kt = {
805
805
  key: 3,
806
806
  class: "sky-card-footer"
807
- }, kt = {
807
+ }, ht = {
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)
810
+ return (a, o) => (s(), l("div", ct, [
811
+ a.$slots.ribbon ? (s(), l("div", yt, [
812
+ k(a.$slots, "ribbon", {}, void 0, !0)
813
813
  ])) : u("", !0),
814
- d.$slots.header ? (s(), o("div", yt, [
815
- k(d.$slots, "header", {}, void 0, !0)
814
+ a.$slots.header ? (s(), l("div", ft, [
815
+ k(a.$slots, "header", {}, void 0, !0)
816
816
  ])) : u("", !0),
817
- d.$slots.default ? (s(), o("div", ft, [
818
- k(d.$slots, "default", {}, void 0, !0)
817
+ a.$slots.default ? (s(), l("div", vt, [
818
+ k(a.$slots, "default", {}, void 0, !0)
819
819
  ])) : u("", !0),
820
- d.$slots.footer ? (s(), o("div", vt, [
821
- k(d.$slots, "footer", {}, void 0, !0)
820
+ a.$slots.footer ? (s(), l("div", kt, [
821
+ k(a.$slots, "footer", {}, void 0, !0)
822
822
  ])) : u("", !0)
823
823
  ]));
824
824
  }
825
- }, Gt = /* @__PURE__ */ C(kt, [["__scopeId", "data-v-6a2d353e"]]), ht = { class: "sky-card-header-content" }, gt = {
825
+ }, ts = /* @__PURE__ */ _(ht, [["__scopeId", "data-v-6a2d353e"]]), gt = { class: "sky-card-header-content" }, mt = {
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
+ }, pt = ["src", "alt"], bt = { class: "sky-card-header-titles" }, wt = { class: "sky-card-header-title" }, $t = {
829
829
  key: 0,
830
830
  class: "sky-card-header-subtitle"
831
- }, $t = {
831
+ }, St = {
832
832
  __name: "SkyCardHeader",
833
833
  props: {
834
834
  title: { type: String, required: !0 },
@@ -836,48 +836,78 @@ 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", gt, [
840
+ a.$slots.icon || e.iconSrc ? (s(), l("div", mt, [
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, pt)) : u("", !0)
849
849
  ], !0)
850
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)
851
+ t("div", bt, [
852
+ t("h3", wt, g(e.title), 1),
853
+ e.subtitle ? (s(), l("p", $t, g(e.subtitle), 1)) : u("", !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__ */ _(St, [["__scopeId", "data-v-ab38d71f"]]), _t = { class: "sky-card-row" }, xt = { class: "sky-card-row-label" }, Ct = { class: "sky-card-row-value" }, Bt = {
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", _t, [
865
+ t("span", xt, g(e.label), 1),
866
+ k(a.$slots, "default", {}, () => [
867
+ t("span", Ct, 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__ */ _(Bt, [["__scopeId", "data-v-8bd0b0e7"]]), Et = { class: "sky-loader" }, It = {
872
+ key: 0,
873
+ class: "sky-loader-text"
874
+ }, Vt = {
875
+ version: "1.1",
876
+ xmlns: "http://www.w3.org/2000/svg",
877
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
878
+ x: "0px",
879
+ y: "0px",
880
+ width: "40px",
881
+ height: "50px",
882
+ viewBox: "0 0 44.96 56.12",
883
+ style: { "enable-background": "new 0 0 44.96 56.12", fill: "#ffffff", display: "block", margin: "auto", "margin-top": "39px" },
884
+ "xml:space": "preserve"
885
+ }, Tt = /* @__PURE__ */ ie({
886
+ __name: "SkyLoader",
887
+ props: {
888
+ text: {}
889
+ },
890
+ setup(e) {
891
+ return (a, o) => (s(), l("div", Et, [
892
+ e.text ? (s(), l("div", It, g(e.text), 1)) : u("", !0),
893
+ (s(), l("svg", Vt, [...o[0] || (o[0] = [
894
+ t("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.79194,6.1146l18.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" }, null, -1)
895
+ ])])),
896
+ o[1] || (o[1] = t("div", { class: "sky-loader-double-ring" }, [
897
+ t("div")
898
+ ], -1))
899
+ ]));
900
+ }
901
+ }), ls = /* @__PURE__ */ _(Tt, [["__scopeId", "data-v-934935ba"]]), Lt = ["disabled"], Mt = {
872
902
  key: 0,
873
903
  class: "sky-select-dropdown"
874
- }, It = ["onClick", "onMouseenter"], Vt = {
904
+ }, Pt = ["onClick", "onMouseenter"], zt = {
875
905
  key: 0,
876
906
  class: "sky-select-check",
877
907
  viewBox: "0 0 16 16",
878
908
  fill: "none",
879
909
  "aria-hidden": "true"
880
- }, Tt = {
910
+ }, Dt = {
881
911
  __name: "SkySelect",
882
912
  props: {
883
913
  modelValue: {
@@ -901,27 +931,27 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
901
931
  }
902
932
  },
903
933
  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(
934
+ setup(e, { emit: a }) {
935
+ const o = e, f = a, h = $(null), c = $(!1), p = $(-1), r = x(
936
+ () => o.options.map(
907
937
  (i) => typeof i == "string" ? { label: i, value: i } : i
908
938
  )
909
- ), y = _(
910
- () => r.value.find((i) => i.value === l.modelValue) ?? null
939
+ ), y = x(
940
+ () => r.value.find((i) => i.value === o.modelValue) ?? null
911
941
  );
912
942
  function b() {
913
- l.disabled || (c.value ? S() : w());
943
+ o.disabled || (c.value ? S() : w());
914
944
  }
915
945
  function w() {
916
- c.value = !0, p.value = r.value.findIndex((i) => i.value === l.modelValue), document.addEventListener("mousedown", x);
946
+ c.value = !0, p.value = r.value.findIndex((i) => i.value === o.modelValue), document.addEventListener("mousedown", E);
917
947
  }
918
948
  function S() {
919
- c.value = !1, document.removeEventListener("mousedown", x);
949
+ c.value = !1, document.removeEventListener("mousedown", E);
920
950
  }
921
- function B(i) {
951
+ function C(i) {
922
952
  f("update:modelValue", i.value), S();
923
953
  }
924
- function x(i) {
954
+ function E(i) {
925
955
  var n;
926
956
  (n = h.value) != null && n.contains(i.target) || S();
927
957
  }
@@ -930,14 +960,14 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
930
960
  (i.key === "Enter" || i.key === " ") && (i.preventDefault(), w());
931
961
  return;
932
962
  }
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]));
963
+ 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 && C(r.value[p.value]));
934
964
  }
935
- return ie(() => {
936
- document.removeEventListener("mousedown", x);
937
- }), (i, n) => (s(), o("div", {
965
+ return re(() => {
966
+ document.removeEventListener("mousedown", E);
967
+ }), (i, n) => (s(), l("div", {
938
968
  ref_key: "root",
939
969
  ref: h,
940
- class: E(["sky-select", {
970
+ class: B(["sky-select", {
941
971
  "sky-select-block": e.block,
942
972
  "sky-select-open": c.value,
943
973
  "sky-select-disabled": e.disabled
@@ -951,8 +981,8 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
951
981
  onKeydown: I
952
982
  }, [
953
983
  t("span", {
954
- class: E(["sky-select-value", { "sky-select-placeholder": y.value === null }])
955
- }, m(y.value ? y.value.label : e.placeholder), 3),
984
+ class: B(["sky-select-value", { "sky-select-placeholder": y.value === null }])
985
+ }, g(y.value ? y.value.label : e.placeholder), 3),
956
986
  n[0] || (n[0] = t("svg", {
957
987
  class: "sky-select-chevron",
958
988
  viewBox: "0 0 16 16",
@@ -967,19 +997,19 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
967
997
  "stroke-linejoin": "round"
968
998
  })
969
999
  ], -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,
1000
+ ], 40, Lt),
1001
+ c.value ? (s(), l("div", Mt, [
1002
+ (s(!0), l(Z, null, ee(r.value, (m, L) => (s(), l("div", {
1003
+ key: m.value,
1004
+ class: B(["sky-select-option", {
1005
+ "sky-select-option-selected": m.value === e.modelValue,
976
1006
  "sky-select-option-focused": L === p.value
977
1007
  }]),
978
- onClick: (D) => B(g),
1008
+ onClick: (D) => C(m),
979
1009
  onMouseenter: (D) => p.value = L
980
1010
  }, [
981
- t("span", null, m(g.label), 1),
982
- g.value === e.modelValue ? (s(), o("svg", Vt, [...n[1] || (n[1] = [
1011
+ t("span", null, g(m.label), 1),
1012
+ m.value === e.modelValue ? (s(), l("svg", zt, [...n[1] || (n[1] = [
983
1013
  t("path", {
984
1014
  d: "M3 8l4 4 6-6",
985
1015
  stroke: "currentColor",
@@ -988,20 +1018,20 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
988
1018
  "stroke-linejoin": "round"
989
1019
  }, null, -1)
990
1020
  ])])) : u("", !0)
991
- ], 42, It))), 128))
1021
+ ], 42, Pt))), 128))
992
1022
  ])) : u("", !0)
993
1023
  ], 2));
994
1024
  }
995
- }, Zt = /* @__PURE__ */ C(Tt, [["__scopeId", "data-v-a5711987"]]), Lt = { class: "sky-tile-card" }, Mt = { class: "sky-tile-card-head" }, Pt = {
1025
+ }, ns = /* @__PURE__ */ _(Dt, [["__scopeId", "data-v-a5711987"]]), Ot = { class: "sky-tile-card" }, At = { class: "sky-tile-card-head" }, Nt = {
996
1026
  key: 0,
997
1027
  class: "sky-tile-card-icon"
998
- }, zt = ["src", "alt"], Dt = { class: "sky-tile-card-titles" }, Ot = { class: "sky-tile-card-title" }, At = {
1028
+ }, Rt = ["src", "alt"], Xt = { class: "sky-tile-card-titles" }, Ut = { class: "sky-tile-card-title" }, Ft = {
999
1029
  key: 0,
1000
1030
  class: "sky-tile-card-subtitle"
1001
- }, Nt = {
1031
+ }, Ht = {
1002
1032
  key: 0,
1003
1033
  class: "sky-tile-card-body"
1004
- }, Rt = {
1034
+ }, Wt = {
1005
1035
  __name: "SkyTileCard",
1006
1036
  props: {
1007
1037
  title: { type: String, required: !0 },
@@ -1009,71 +1039,72 @@ const ge = /* @__PURE__ */ C(ke, [["render", he]]), me = { class: "sky-dialog-ov
1009
1039
  imageUrl: { type: String, default: "" }
1010
1040
  },
1011
1041
  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", {
1042
+ return (a, o) => (s(), l("div", Ot, [
1043
+ t("div", At, [
1044
+ a.$slots.icon || e.imageUrl ? (s(), l("div", Nt, [
1045
+ k(a.$slots, "icon", {}, () => [
1046
+ e.imageUrl ? (s(), l("img", {
1017
1047
  key: 0,
1018
1048
  src: e.imageUrl,
1019
1049
  alt: e.title
1020
- }, null, 8, zt)) : u("", !0)
1050
+ }, null, 8, Rt)) : u("", !0)
1021
1051
  ], !0)
1022
1052
  ])) : 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)
1053
+ t("div", Xt, [
1054
+ t("h3", Ut, g(e.title), 1),
1055
+ e.subtitle ? (s(), l("p", Ft, g(e.subtitle), 1)) : u("", !0)
1026
1056
  ])
1027
1057
  ]),
1028
- d.$slots.default ? (s(), o("div", Nt, [
1029
- k(d.$slots, "default", {}, void 0, !0)
1058
+ a.$slots.default ? (s(), l("div", Ht, [
1059
+ k(a.$slots, "default", {}, void 0, !0)
1030
1060
  ])) : u("", !0)
1031
1061
  ]));
1032
1062
  }
1033
- }, es = /* @__PURE__ */ C(Rt, [["__scopeId", "data-v-6ac519f3"]]);
1063
+ }, as = /* @__PURE__ */ _(Wt, [["__scopeId", "data-v-6ac519f3"]]);
1034
1064
  export {
1035
- ge as BaseTeleport,
1036
- Ht as Dialog,
1065
+ me as BaseTeleport,
1066
+ Jt as Dialog,
1037
1067
  J as DialogModal,
1038
1068
  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,
1069
+ Gt as Header,
1070
+ Qt as Modal,
1071
+ Yt as SkyAlert,
1072
+ Zt as SkyBadge,
1073
+ es as SkyButton,
1074
+ ts as SkyCard,
1075
+ ss as SkyCardHeader,
1076
+ os as SkyCardRow,
1077
+ ls as SkyLoader,
1078
+ ns as SkySelect,
1079
+ as as SkyTileCard,
1080
+ rs as SkyserviceAPI,
1081
+ ke as exit,
1082
+ us as getBack,
1083
+ cs as getCompany,
1084
+ ys as getLang,
1054
1085
  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,
1086
+ fs as getProductCategories,
1087
+ ce as getSenderId,
1088
+ vs as getStoreData,
1089
+ ks as getToken,
1090
+ hs as getUser,
1091
+ ve as getWindowData,
1061
1092
  se as isAndroidWebview,
1062
- cs as isCefWebview,
1063
- ys as isInIframe,
1093
+ gs as isCefWebview,
1094
+ ms as isInIframe,
1064
1095
  T as isInsideIframe,
1065
1096
  te as isIosWebview,
1066
- fs as isWebview,
1097
+ ps as isWebview,
1067
1098
  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,
1099
+ bs as notify,
1100
+ ws as notifyError,
1101
+ $s as notifyWarn,
1102
+ Ss as onMessage,
1103
+ _s as openCrispChat,
1104
+ xs as openExternalLink,
1105
+ fe as setLocalStorage,
1075
1106
  j as setRocketMode,
1076
- re as setSenderId,
1077
- ce as trackVisit,
1078
- bs as webviewCheck
1107
+ ue as setSenderId,
1108
+ ye as trackVisit,
1109
+ Cs as webviewCheck
1079
1110
  };