@skyservice-developers/vue-dev-kit 2.4.1 → 2.5.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 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";
1
+ import { openBlock as l, createBlock as N, Teleport as J, renderSlot as m, useSlots as oe, ref as $, computed as _, watch as W, nextTick as Z, onMounted as z, onUnmounted as A, createElementBlock as o, normalizeStyle as H, createElementVNode as t, normalizeClass as x, createTextVNode as q, toDisplayString as y, createCommentVNode as r, resolveDynamicComponent as de, createSlots as ie, withCtx as O, Fragment as D, renderList as Q, withModifiers as ce, mergeProps as re, defineComponent as R, unref as K, onBeforeUnmount as ue, createVNode as Y, Transition as ye, withDirectives as fe, vModelText as he } from "vue";
2
+ import { p as ne, l as ae, A as ve, f as ke, o as M, B as me, c as X, y as ge, z as ee, k as pe, r as te, e as be } from "./api-AhLH5w3p.js";
3
+ import { S as Mt, g as zt, a as At, b as Ot, d as Dt, h as Nt, i as Rt, j as Ft, m as Ut, n as Xt, q as Wt, s as Ht, t as qt, u as jt, v as Kt, w as Jt, x as Zt, C as Qt } from "./api-AhLH5w3p.js";
4
4
  import "ua-parser-js";
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 = {
5
+ const w = (e, a) => {
6
+ const s = e.__vccOpts || e;
7
+ for (const [c, k] of a)
8
+ s[c] = k;
9
+ return s;
10
+ }, Ce = {
11
11
  props: {
12
12
  to: {
13
13
  type: String,
@@ -15,21 +15,21 @@ const _ = (e, a) => {
15
15
  }
16
16
  }
17
17
  };
18
- function ge(e, a, o, f, h, c) {
19
- return s(), P(U, { to: o.to }, [
20
- k(e.$slots, "default")
18
+ function we(e, a, s, c, k, v) {
19
+ return l(), N(J, { to: s.to }, [
20
+ m(e.$slots, "default")
21
21
  ], 8, ["to"]);
22
22
  }
23
- const me = /* @__PURE__ */ _(he, [["render", ge]]), pe = { class: "sky-dialog-overlay" }, be = {
23
+ const $e = /* @__PURE__ */ w(Ce, [["render", we]]), Se = { class: "sky-dialog-overlay" }, _e = {
24
24
  key: 0,
25
25
  class: "sky-dialog-subtitle"
26
- }, we = ["title"], $e = {
26
+ }, xe = ["title"], Ve = {
27
27
  key: 0,
28
28
  class: "sky-dialog-swipe-area"
29
- }, Se = {
29
+ }, Be = {
30
30
  key: 0,
31
31
  class: "sky-dialog-footer"
32
- }, _e = {
32
+ }, Ie = {
33
33
  __name: "DialogModal",
34
34
  props: {
35
35
  modelValue: {
@@ -63,73 +63,73 @@ const me = /* @__PURE__ */ _(he, [["render", ge]]), pe = { class: "sky-dialog-ov
63
63
  },
64
64
  emits: ["update:modelValue", "close", "save"],
65
65
  setup(e, { emit: a }) {
66
- const o = Q(), f = e, h = a, c = $(null), p = $(null), r = $(0), y = x(() => {
66
+ const s = oe(), c = e, k = a, v = $(null), p = $(null), d = $(0), u = _(() => {
67
67
  try {
68
- return te();
68
+ return ne();
69
69
  } catch {
70
70
  return !1;
71
71
  }
72
- }), b = x(() => {
72
+ }), f = _(() => {
73
73
  try {
74
- return se();
74
+ return ae();
75
75
  } catch {
76
76
  return !1;
77
77
  }
78
- }), w = x(() => f.hasButtons !== null ? f.hasButtons : !!o.buttons), S = () => {
79
- h("update:modelValue", !1), h("close");
80
- }, C = (n) => {
81
- n.key === "Escape" && f.closeOnEsc && f.modelValue && S(), n.key === "Enter" && f.modelValue && h("save");
82
- }, E = (n) => {
83
- n.touches[0].clientX < 35 && (r.value = n.touches[0].clientX);
84
- }, I = (n) => {
85
- r.value > 0 && r.value < 35 && n.changedTouches[0].clientX - r.value > 50 && S(), r.value = 0;
86
- }, i = () => {
87
- if (!(!b.value || !c.value))
78
+ }), S = _(() => c.hasButtons !== null ? c.hasButtons : !!s.buttons), V = () => {
79
+ k("update:modelValue", !1), k("close");
80
+ }, I = (i) => {
81
+ i.key === "Escape" && c.closeOnEsc && c.modelValue && V(), i.key === "Enter" && c.modelValue && k("save");
82
+ }, E = (i) => {
83
+ i.touches[0].clientX < 35 && (d.value = i.touches[0].clientX);
84
+ }, L = (i) => {
85
+ d.value > 0 && d.value < 35 && i.changedTouches[0].clientX - d.value > 50 && V(), d.value = 0;
86
+ }, B = () => {
87
+ if (!(!f.value || !v.value))
88
88
  try {
89
89
  if (typeof Android < "u" && Android.getDisplayCutoutTop) {
90
- const n = Android.getDisplayCutoutTop();
91
- if (n && window.devicePixelRatio > 1) {
92
- const m = n / window.devicePixelRatio;
93
- c.value.style.paddingTop = m + "px";
90
+ const i = Android.getDisplayCutoutTop();
91
+ if (i && window.devicePixelRatio > 1) {
92
+ const b = i / window.devicePixelRatio;
93
+ v.value.style.paddingTop = b + "px";
94
94
  }
95
95
  }
96
96
  } catch {
97
97
  }
98
98
  };
99
- return F(
100
- () => f.modelValue,
101
- (n) => {
102
- n ? (document.body.style.overflow = "hidden", Y(() => {
103
- i();
99
+ return W(
100
+ () => c.modelValue,
101
+ (i) => {
102
+ i ? (document.body.style.overflow = "hidden", Z(() => {
103
+ B();
104
104
  })) : document.body.style.overflow = "";
105
105
  }
106
106
  ), z(() => {
107
- document.addEventListener("keydown", C), window.addEventListener("resize", i);
108
- }), M(() => {
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", {
107
+ document.addEventListener("keydown", I), window.addEventListener("resize", B);
108
+ }), A(() => {
109
+ document.removeEventListener("keydown", I), window.removeEventListener("resize", B), document.body.style.overflow = "";
110
+ }), (i, b) => (l(), N(J, { to: "body" }, [
111
+ e.modelValue ? (l(), o("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", pe, [
116
+ t("div", Se, [
117
117
  t("div", {
118
118
  ref_key: "dialogContent",
119
- ref: c,
119
+ ref: v,
120
120
  class: "sky-dialog-content"
121
121
  }, [
122
122
  t("div", {
123
- class: B(["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(g(e.title) + " ", 1),
126
- e.subtitle ? (s(), l("span", be, g(e.subtitle), 1)) : u("", !0)
125
+ q(y(e.title) + " ", 1),
126
+ e.subtitle ? (l(), o("span", _e, y(e.subtitle), 1)) : r("", !0)
127
127
  ], 2),
128
128
  t("button", {
129
129
  class: "sky-dialog-close",
130
130
  title: e.closeText,
131
- onClick: S
132
- }, [...m[0] || (m[0] = [
131
+ onClick: V
132
+ }, [...b[0] || (b[0] = [
133
133
  t("svg", {
134
134
  viewBox: "0 0 16 16",
135
135
  width: "16",
@@ -152,41 +152,42 @@ const me = /* @__PURE__ */ _(he, [["render", ge]]), pe = { class: "sky-dialog-ov
152
152
  "stroke-width": "2"
153
153
  })
154
154
  ], -1)
155
- ])], 8, we),
156
- m[1] || (m[1] = t("div", { class: "sky-dialog-clearfix" }, null, -1)),
155
+ ])], 8, xe),
156
+ b[1] || (b[1] = t("div", { class: "sky-dialog-clearfix" }, null, -1)),
157
157
  t("div", {
158
158
  ref_key: "dialogPaper",
159
159
  ref: p,
160
- class: B(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !w.value }]),
160
+ class: x(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !S.value }]),
161
161
  onTouchstart: E,
162
- onTouchend: I
162
+ onTouchend: L
163
163
  }, [
164
- y.value ? (s(), l("div", $e)) : u("", !0),
165
- k(n.$slots, "default", {}, void 0, !0)
164
+ u.value ? (l(), o("div", Ve)) : r("", !0),
165
+ m(i.$slots, "default", {}, void 0, !0)
166
166
  ], 34),
167
- w.value ? (s(), l("div", Se, [
168
- k(n.$slots, "buttons", {}, void 0, !0)
169
- ])) : u("", !0)
167
+ b[2] || (b[2] = t("div", null, null, -1)),
168
+ S.value ? (l(), o("div", Be, [
169
+ m(i.$slots, "buttons", {}, void 0, !0)
170
+ ])) : r("", !0)
170
171
  ], 512)
171
172
  ])
172
- ], 4)) : u("", !0)
173
+ ], 4)) : r("", !0)
173
174
  ]));
174
175
  }
175
- }, J = /* @__PURE__ */ _(_e, [["__scopeId", "data-v-62f59776"]]), xe = { class: "sky-dialog-overlay" }, Ce = { class: "sky-dialog-header" }, Be = ["title"], Ee = {
176
+ }, se = /* @__PURE__ */ w(Ie, [["__scopeId", "data-v-4fc05000"]]), Ee = { class: "sky-dialog-overlay" }, Le = { class: "sky-dialog-header" }, Te = ["title"], Pe = {
176
177
  width: "15",
177
178
  height: "15",
178
179
  viewBox: "0 0 451.847 451.847",
179
180
  style: { transform: "rotate(90deg)" }
180
- }, Ie = {
181
+ }, Me = {
181
182
  key: 0,
182
183
  class: "sky-dialog-subtitle"
183
- }, Ve = {
184
+ }, ze = {
184
185
  key: 0,
185
186
  class: "sky-dialog-swipe-area"
186
- }, Te = {
187
+ }, Ae = {
187
188
  key: 0,
188
189
  class: "sky-dialog-footer"
189
- }, Le = {
190
+ }, Oe = {
190
191
  __name: "DialogNext",
191
192
  props: {
192
193
  modelValue: {
@@ -220,101 +221,101 @@ const me = /* @__PURE__ */ _(he, [["render", ge]]), pe = { class: "sky-dialog-ov
220
221
  },
221
222
  emits: ["update:modelValue", "close", "save"],
222
223
  setup(e, { emit: a }) {
223
- const o = Q(), f = e, h = a, c = $(null), p = $(null), r = $(0), y = x(() => {
224
+ const s = oe(), c = e, k = a, v = $(null), p = $(null), d = $(0), u = _(() => {
224
225
  try {
225
- return te();
226
+ return ne();
226
227
  } catch {
227
228
  return !1;
228
229
  }
229
- }), b = x(() => {
230
+ }), f = _(() => {
230
231
  try {
231
- return se();
232
+ return ae();
232
233
  } catch {
233
234
  return !1;
234
235
  }
235
- }), w = x(() => f.hasButtons !== null ? f.hasButtons : !!o.buttons), S = () => {
236
- h("update:modelValue", !1), h("close");
237
- }, C = (n) => {
238
- n.key === "Escape" && f.closeOnEsc && f.modelValue && S(), n.key === "Enter" && f.modelValue && h("save");
239
- }, E = (n) => {
240
- n.touches[0].clientX < 35 && (r.value = n.touches[0].clientX);
241
- }, I = (n) => {
242
- r.value > 0 && r.value < 35 && n.changedTouches[0].clientX - r.value > 50 && S(), r.value = 0;
243
- }, i = () => {
244
- if (!(!b.value || !c.value))
236
+ }), S = _(() => c.hasButtons !== null ? c.hasButtons : !!s.buttons), V = () => {
237
+ k("update:modelValue", !1), k("close");
238
+ }, I = (i) => {
239
+ i.key === "Escape" && c.closeOnEsc && c.modelValue && V(), i.key === "Enter" && c.modelValue && k("save");
240
+ }, E = (i) => {
241
+ i.touches[0].clientX < 35 && (d.value = i.touches[0].clientX);
242
+ }, L = (i) => {
243
+ d.value > 0 && d.value < 35 && i.changedTouches[0].clientX - d.value > 50 && V(), d.value = 0;
244
+ }, B = () => {
245
+ if (!(!f.value || !v.value))
245
246
  try {
246
247
  if (typeof Android < "u" && Android.getDisplayCutoutTop) {
247
- const n = Android.getDisplayCutoutTop();
248
- if (n && window.devicePixelRatio > 1) {
249
- const m = n / window.devicePixelRatio;
250
- c.value.style.paddingTop = m + "px";
248
+ const i = Android.getDisplayCutoutTop();
249
+ if (i && window.devicePixelRatio > 1) {
250
+ const b = i / window.devicePixelRatio;
251
+ v.value.style.paddingTop = b + "px";
251
252
  }
252
253
  }
253
254
  } catch {
254
255
  }
255
256
  };
256
- return F(
257
- () => f.modelValue,
258
- (n) => {
259
- n ? (document.body.style.overflow = "hidden", Y(() => {
260
- i();
257
+ return W(
258
+ () => c.modelValue,
259
+ (i) => {
260
+ i ? (document.body.style.overflow = "hidden", Z(() => {
261
+ B();
261
262
  })) : document.body.style.overflow = "";
262
263
  }
263
264
  ), z(() => {
264
- document.addEventListener("keydown", C), window.addEventListener("resize", i);
265
- }), M(() => {
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", {
265
+ document.addEventListener("keydown", I), window.addEventListener("resize", B);
266
+ }), A(() => {
267
+ document.removeEventListener("keydown", I), window.removeEventListener("resize", B), document.body.style.overflow = "";
268
+ }), (i, b) => (l(), N(J, { to: "body" }, [
269
+ e.modelValue ? (l(), o("div", {
269
270
  key: 0,
270
271
  class: "sky-dialogbox sky-dialogbox-next",
271
272
  style: H([e.zIndex ? { "z-index": e.zIndex } : null])
272
273
  }, [
273
- t("div", xe, [
274
+ t("div", Ee, [
274
275
  t("div", {
275
276
  ref_key: "dialogContent",
276
- ref: c,
277
+ ref: v,
277
278
  class: "sky-dialog-content"
278
279
  }, [
279
- t("div", Ce, [
280
+ t("div", Le, [
280
281
  t("button", {
281
282
  class: "sky-dialog-back",
282
283
  title: e.closeText,
283
- onClick: S
284
+ onClick: V
284
285
  }, [
285
- (s(), l("svg", Ee, [...m[0] || (m[0] = [
286
+ (l(), o("svg", Pe, [...b[0] || (b[0] = [
286
287
  t("path", {
287
288
  fill: "currentColor",
288
289
  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
290
  }, null, -1)
290
291
  ])]))
291
- ], 8, Be),
292
+ ], 8, Te),
292
293
  t("div", {
293
- class: B(["sky-dialog-title", { "sky-dialog-title-with-subtitle": e.subtitle }])
294
+ class: x(["sky-dialog-title", { "sky-dialog-title-with-subtitle": e.subtitle }])
294
295
  }, [
295
- W(g(e.title) + " ", 1),
296
- e.subtitle ? (s(), l("span", Ie, g(e.subtitle), 1)) : u("", !0)
296
+ q(y(e.title) + " ", 1),
297
+ e.subtitle ? (l(), o("span", Me, y(e.subtitle), 1)) : r("", !0)
297
298
  ], 2)
298
299
  ]),
299
300
  t("div", {
300
301
  ref_key: "dialogPaper",
301
302
  ref: p,
302
- class: B(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !w.value }]),
303
+ class: x(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !S.value }]),
303
304
  onTouchstart: E,
304
- onTouchend: I
305
+ onTouchend: L
305
306
  }, [
306
- y.value ? (s(), l("div", Ve)) : u("", !0),
307
- k(n.$slots, "default", {}, void 0, !0)
307
+ u.value ? (l(), o("div", ze)) : r("", !0),
308
+ m(i.$slots, "default", {}, void 0, !0)
308
309
  ], 34),
309
- w.value ? (s(), l("div", Te, [
310
- k(n.$slots, "buttons", {}, void 0, !0)
311
- ])) : u("", !0)
310
+ S.value ? (l(), o("div", Ae, [
311
+ m(i.$slots, "buttons", {}, void 0, !0)
312
+ ])) : r("", !0)
312
313
  ], 512)
313
314
  ])
314
- ], 4)) : u("", !0)
315
+ ], 4)) : r("", !0)
315
316
  ]));
316
317
  }
317
- }, G = /* @__PURE__ */ _(Le, [["__scopeId", "data-v-857b5f70"]]), Jt = {
318
+ }, le = /* @__PURE__ */ w(Oe, [["__scopeId", "data-v-857b5f70"]]), gt = {
318
319
  __name: "Dialog",
319
320
  props: {
320
321
  modelValue: {
@@ -351,56 +352,56 @@ const me = /* @__PURE__ */ _(he, [["render", ge]]), pe = { class: "sky-dialog-ov
351
352
  },
352
353
  emits: ["update:modelValue", "close", "save"],
353
354
  setup(e, { emit: a }) {
354
- const o = e, f = a, h = x({
355
- get: () => o.modelValue,
356
- set: (r) => f("update:modelValue", r)
357
- }), c = $(!0);
355
+ const s = e, c = a, k = _({
356
+ get: () => s.modelValue,
357
+ set: (d) => c("update:modelValue", d)
358
+ }), v = $(!0);
358
359
  z(() => {
359
360
  try {
360
- new URLSearchParams(window.location.search).get("rocketMode") === "false" ? c.value = !1 : c.value = !0;
361
+ new URLSearchParams(window.location.search).get("rocketMode") === "false" ? v.value = !1 : v.value = !0;
361
362
  } catch {
362
- c.value = !0;
363
+ v.value = !0;
363
364
  }
364
365
  });
365
- const p = x(() => o.mode === "next" ? G : o.mode === "classic" ? J : c.value ? G : J);
366
- return (r, y) => (s(), P(le(p.value), {
367
- modelValue: h.value,
368
- "onUpdate:modelValue": y[0] || (y[0] = (b) => h.value = b),
366
+ const p = _(() => s.mode === "next" ? le : s.mode === "classic" ? se : v.value ? le : se);
367
+ return (d, u) => (l(), N(de(p.value), {
368
+ modelValue: k.value,
369
+ "onUpdate:modelValue": u[0] || (u[0] = (f) => k.value = f),
369
370
  title: e.title,
370
371
  subtitle: e.subtitle,
371
372
  "z-index": e.zIndex,
372
373
  "close-text": e.closeText,
373
374
  "close-on-esc": e.closeOnEsc,
374
- "has-buttons": !!r.$slots.buttons,
375
- onClose: y[1] || (y[1] = (b) => r.$emit("close")),
376
- onSave: y[2] || (y[2] = (b) => r.$emit("save"))
377
- }, ne({
378
- default: X(() => [
379
- k(r.$slots, "default")
375
+ "has-buttons": !!d.$slots.buttons,
376
+ onClose: u[1] || (u[1] = (f) => d.$emit("close")),
377
+ onSave: u[2] || (u[2] = (f) => d.$emit("save"))
378
+ }, ie({
379
+ default: O(() => [
380
+ m(d.$slots, "default")
380
381
  ]),
381
382
  _: 2
382
383
  }, [
383
- r.$slots.buttons ? {
384
+ d.$slots.buttons ? {
384
385
  name: "buttons",
385
- fn: X(() => [
386
- k(r.$slots, "buttons")
386
+ fn: O(() => [
387
+ m(d.$slots, "buttons")
387
388
  ]),
388
389
  key: "0"
389
390
  } : void 0
390
391
  ]), 1064, ["modelValue", "title", "subtitle", "z-index", "close-text", "close-on-esc", "has-buttons"]));
391
392
  }
392
- }, Me = { class: "sky-header-container" }, Pe = { class: "topmenubox" }, ze = { class: "header-left" }, De = ["title"], Oe = {
393
+ }, De = { class: "sky-header-container" }, Ne = { class: "topmenubox" }, Re = { class: "header-left" }, Fe = ["title"], Ue = {
393
394
  width: "15",
394
395
  height: "15",
395
396
  viewBox: "0 0 451.847 451.847",
396
397
  style: { transform: "rotate(90deg)" }
397
- }, Ae = { class: "notPadding" }, Ne = { class: "topmenu-title" }, Re = {
398
+ }, Xe = { class: "notPadding" }, We = { class: "topmenu-title" }, He = {
398
399
  key: 0,
399
400
  class: "title-dropdown"
400
- }, Xe = { class: "title-dropdown-header" }, Ue = ["onClick"], Fe = { class: "pageName" }, He = { class: "pageVisit" }, We = {
401
+ }, qe = { class: "title-dropdown-header" }, je = ["onClick"], Ke = { class: "pageName" }, Je = { class: "pageVisit" }, Ze = {
401
402
  key: 0,
402
403
  class: "topmenu-description"
403
- }, Ke = { class: "topmenubox-button" }, je = {
404
+ }, Qe = { class: "topmenubox-button" }, Ge = {
404
405
  __name: "Header",
405
406
  props: {
406
407
  title: {
@@ -450,149 +451,149 @@ const me = /* @__PURE__ */ _(he, [["render", ge]]), pe = { class: "sky-dialog-ov
450
451
  },
451
452
  emits: ["back", "navigate"],
452
453
  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}`
454
+ const s = e;
455
+ ve(s.appId || ke());
456
+ const c = a, k = $(null), v = $(!1), p = $([]), d = $({});
457
+ M() && s.trackPageName && me(
458
+ s.trackPageName,
459
+ s.trackPagePath || `/${s.trackPageName}`
459
460
  );
460
- const y = $(null);
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
- }), M(() => {
464
- L();
465
- }), T() && ve("lang").then((d) => {
466
- d != null && (r.value = d);
461
+ const u = $(null);
462
+ M() && X("rocketMode").then(async (n) => {
463
+ u.value = n, await X("fallbackRocketMode") === null && ge("fallbackRocketMode", n === !0 || n === "true" ? "true" : "false"), ee(!0);
464
+ }), A(() => {
465
+ T();
466
+ }), M() && pe("lang").then((n) => {
467
+ n != null && (d.value = n);
467
468
  });
468
- function b(d) {
469
+ function f(n) {
469
470
  try {
470
- if (!d) return;
471
- const v = typeof d == "string" ? JSON.parse(d) : d;
472
- v != null && v.pages && (p.value = Object.values(v.pages));
471
+ if (!n) return;
472
+ const h = typeof n == "string" ? JSON.parse(n) : n;
473
+ h != null && h.pages && (p.value = Object.values(h.pages));
473
474
  } catch {
474
475
  }
475
476
  }
476
- b(localStorage.componentStats), T() && N("componentStats").then((d) => {
477
- d != null && (localStorage.setItem("componentStats", JSON.stringify(d)), b(d));
477
+ f(localStorage.componentStats), M() && X("componentStats").then((n) => {
478
+ n != null && (localStorage.setItem("componentStats", JSON.stringify(n)), f(n));
478
479
  });
479
- const w = x(() => [...o.dropdownItems.length ? o.dropdownItems : p.value].sort((v, V) => V.lastVisit - v.lastVisit)), S = () => {
480
- w.value.length && (c.value = !c.value);
481
- }, C = () => {
482
- c.value = !1;
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
- return v.charAt(0).toUpperCase() + v.slice(1);
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
- return K > 0 ? `${K}д тому` : R > 0 ? `${R}год тому` : A > 0 ? `${A}хв тому` : `${O}с тому`;
492
- }, n = (d) => {
493
- h.value && !h.value.contains(d.target) && C();
480
+ const S = _(() => [...s.dropdownItems.length ? s.dropdownItems : p.value].sort((h, P) => P.lastVisit - h.lastVisit)), V = () => {
481
+ S.value.length && (v.value = !v.value);
482
+ }, I = () => {
483
+ v.value = !1;
484
+ }, E = (n) => {
485
+ c("navigate", n.path), M() && te(n.path), I();
486
+ }, L = (n) => {
487
+ if (!n) return "";
488
+ const h = d.value[n] || n;
489
+ return h.charAt(0).toUpperCase() + h.slice(1);
490
+ }, B = (n) => {
491
+ const P = Date.now() - n, F = Math.floor(P / 1e3), U = Math.floor(F / 60), j = Math.floor(U / 60), G = Math.floor(j / 24);
492
+ return G > 0 ? `${G}д тому` : j > 0 ? `${j}год тому` : U > 0 ? `${U}хв тому` : `${F}с тому`;
493
+ }, i = (n) => {
494
+ k.value && !k.value.contains(n.target) && I();
494
495
  };
495
496
  z(() => {
496
- document.addEventListener("click", n, !0);
497
- }), M(() => {
498
- document.removeEventListener("click", n, !0);
497
+ document.addEventListener("click", i, !0);
498
+ }), A(() => {
499
+ document.removeEventListener("click", i, !0);
499
500
  });
500
- const m = x(() => o.backEvent || o.showBackButton && T()), L = () => {
501
- if (y.value !== null) {
502
- const d = y.value === !0 || y.value === "true";
503
- j(d);
501
+ const b = _(() => s.backEvent || s.showBackButton && M()), T = () => {
502
+ if (u.value !== null) {
503
+ const n = u.value === !0 || u.value === "true";
504
+ ee(n);
504
505
  }
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
- const v = await N("componentStats");
511
- v && (b(v), d = D());
506
+ }, g = () => S.value.find((n) => n.name !== s.trackPageName && n.path), C = async () => {
507
+ if (s.backEvent)
508
+ return T(), s.backEvent();
509
+ let n = g();
510
+ if (!n && M()) {
511
+ const h = await X("componentStats");
512
+ h && (f(h), n = g());
512
513
  }
513
- L(), d ? q(d.path) : ke();
514
+ T(), n ? te(n.path) : be();
514
515
  };
515
- return (d, v) => (s(), l("header", Me, [
516
- t("div", Pe, [
517
- t("div", ze, [
518
- m.value ? (s(), l("button", {
516
+ return (n, h) => (l(), o("header", De, [
517
+ t("div", Ne, [
518
+ t("div", Re, [
519
+ b.value ? (l(), o("button", {
519
520
  key: 0,
520
521
  class: "btn-back",
521
- onClick: oe,
522
+ onClick: C,
522
523
  title: e.backButtonTitle
523
524
  }, [
524
- (s(), l("svg", Oe, [...v[0] || (v[0] = [
525
+ (l(), o("svg", Ue, [...h[0] || (h[0] = [
525
526
  t("path", {
526
527
  fill: "currentColor",
527
528
  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
529
  }, null, -1)
529
530
  ])]))
530
- ], 8, De)) : u("", !0),
531
+ ], 8, Fe)) : r("", !0),
531
532
  t("div", {
532
533
  ref_key: "dropdownRef",
533
- ref: h,
534
+ ref: k,
534
535
  class: "titleAndDesc"
535
536
  }, [
536
537
  t("button", {
537
- class: B(["title-dropdown-toggle", { "title-dropdown-toggle-active": w.value.length }]),
538
- onClick: S
538
+ class: x(["title-dropdown-toggle", { "title-dropdown-toggle-active": S.value.length }]),
539
+ onClick: V
539
540
  }, [
540
- k(d.$slots, "title", {}, () => [
541
- t("h4", Ae, [
542
- t("span", Ne, g(e.title), 1),
543
- w.value.length ? (s(), l("svg", {
541
+ m(n.$slots, "title", {}, () => [
542
+ t("h4", Xe, [
543
+ t("span", We, y(e.title), 1),
544
+ S.value.length ? (l(), o("svg", {
544
545
  key: 0,
545
- class: B(["arrow", { open: c.value }]),
546
+ class: x(["arrow", { open: v.value }]),
546
547
  width: "12",
547
548
  height: "12",
548
549
  viewBox: "0 0 451.847 451.847",
549
550
  style: { "flex-shrink": "0" }
550
- }, [...v[1] || (v[1] = [
551
+ }, [...h[1] || (h[1] = [
551
552
  t("path", {
552
553
  fill: "currentColor",
553
554
  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
555
  }, null, -1)
555
- ])], 2)) : u("", !0)
556
+ ])], 2)) : r("", !0)
556
557
  ])
557
558
  ], !0)
558
559
  ], 2),
559
- c.value && w.value.length ? (s(), l("div", Re, [
560
- t("div", Xe, g(e.dropdownTitle), 1),
561
- v[2] || (v[2] = t("div", { class: "title-dropdown-divider" }, null, -1)),
562
- (s(!0), l(Z, null, ee(w.value, (V, O) => (s(), l("div", {
563
- key: O,
560
+ v.value && S.value.length ? (l(), o("div", He, [
561
+ t("div", qe, y(e.dropdownTitle), 1),
562
+ h[2] || (h[2] = t("div", { class: "title-dropdown-divider" }, null, -1)),
563
+ (l(!0), o(D, null, Q(S.value, (P, F) => (l(), o("div", {
564
+ key: F,
564
565
  class: "title-dropdown-item",
565
- onClick: (A) => E(V)
566
+ onClick: (U) => E(P)
566
567
  }, [
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
- ])) : u("", !0),
571
- k(d.$slots, "subtitle", {}, () => [
572
- e.subtitle ? (s(), l("p", We, g(e.subtitle), 1)) : u("", !0)
568
+ t("p", Ke, y(L(P.name)), 1),
569
+ t("small", Je, " (" + y(e.visitLabel) + " " + y(B(P.lastVisit)) + ") ", 1)
570
+ ], 8, je))), 128))
571
+ ])) : r("", !0),
572
+ m(n.$slots, "subtitle", {}, () => [
573
+ e.subtitle ? (l(), o("p", Ze, y(e.subtitle), 1)) : r("", !0)
573
574
  ], !0)
574
575
  ], 512)
575
576
  ]),
576
- t("div", Ke, [
577
- v[3] || (v[3] = t("div", null, null, -1)),
578
- k(d.$slots, "default", {}, void 0, !0),
579
- v[4] || (v[4] = t("div", null, null, -1))
577
+ t("div", Qe, [
578
+ h[3] || (h[3] = t("div", null, null, -1)),
579
+ m(n.$slots, "default", {}, void 0, !0),
580
+ h[4] || (h[4] = t("div", null, null, -1))
580
581
  ])
581
582
  ])
582
583
  ]));
583
584
  }
584
- }, Gt = /* @__PURE__ */ _(je, [["__scopeId", "data-v-8bf4384c"]]), qe = { class: "sky-modal-header" }, Je = ["title"], Ge = {
585
+ }, pt = /* @__PURE__ */ w(Ge, [["__scopeId", "data-v-8bf4384c"]]), Ye = { class: "sky-modal-header" }, e2 = ["title"], t2 = {
585
586
  width: "15",
586
587
  height: "15",
587
588
  viewBox: "0 0 451.847 451.847",
588
589
  style: { transform: "rotate(90deg)" }
589
- }, Qe = { class: "sky-modal-title-wrapper" }, Ye = { class: "sky-modal-title" }, Ze = {
590
+ }, s2 = { class: "sky-modal-title-wrapper" }, l2 = { class: "sky-modal-title" }, o2 = {
590
591
  key: 0,
591
592
  class: "sky-modal-subtitle"
592
- }, et = { class: "sky-modal-body" }, tt = {
593
+ }, n2 = { class: "sky-modal-body" }, a2 = {
593
594
  key: 0,
594
595
  class: "sky-modal-footer"
595
- }, st = {
596
+ }, d2 = {
596
597
  __name: "Modal",
597
598
  props: {
598
599
  modelValue: {
@@ -630,76 +631,74 @@ const me = /* @__PURE__ */ _(he, [["render", ge]]), pe = { class: "sky-dialog-ov
630
631
  },
631
632
  emits: ["update:modelValue", "close"],
632
633
  setup(e, { emit: a }) {
633
- const o = e, f = a, h = x(() => ({
634
- width: o.width,
635
- height: o.height
636
- })), c = () => {
637
- f("update:modelValue", !1), f("close");
634
+ const s = e, c = a, k = _(() => ({
635
+ width: s.width,
636
+ height: s.height
637
+ })), v = () => {
638
+ c("update:modelValue", !1), c("close");
638
639
  }, p = () => {
639
- o.closeOnOverlay && c();
640
- }, r = (y) => {
641
- y.key === "Escape" && o.closeOnEsc && o.modelValue && c();
640
+ s.closeOnOverlay && v();
641
+ }, d = (u) => {
642
+ u.key === "Escape" && s.closeOnEsc && s.modelValue && v();
642
643
  };
643
- return F(
644
- () => o.modelValue,
645
- (y) => {
646
- y ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
644
+ return W(
645
+ () => s.modelValue,
646
+ (u) => {
647
+ u ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
647
648
  }
648
649
  ), z(() => {
649
- document.addEventListener("keydown", r);
650
- }), M(() => {
651
- document.removeEventListener("keydown", r), document.body.style.overflow = "";
652
- }), (y, b) => (s(), P(me, { to: "body" }, {
653
- default: X(() => [
654
- e.modelValue ? (s(), l("div", {
650
+ document.addEventListener("keydown", d);
651
+ }), A(() => {
652
+ document.removeEventListener("keydown", d), document.body.style.overflow = "";
653
+ }), (u, f) => (l(), N($e, { to: "body" }, {
654
+ default: O(() => [
655
+ e.modelValue ? (l(), o("div", {
655
656
  key: 0,
656
657
  class: "sky-modal-overlay",
657
- onMousedown: ae(p, ["self"])
658
+ onMousedown: ce(p, ["self"])
658
659
  }, [
659
660
  t("div", {
660
661
  class: "sky-modal",
661
- style: H(h.value)
662
+ style: H(k.value)
662
663
  }, [
663
- t("div", qe, [
664
+ t("div", Ye, [
664
665
  t("button", {
665
666
  class: "sky-modal-back",
666
- onClick: c,
667
+ onClick: v,
667
668
  title: e.closeTitle
668
669
  }, [
669
- (s(), l("svg", Ge, [...b[0] || (b[0] = [
670
+ (l(), o("svg", t2, [...f[0] || (f[0] = [
670
671
  t("path", {
671
672
  fill: "currentColor",
672
673
  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
674
  }, null, -1)
674
675
  ])]))
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)
676
+ ], 8, e2),
677
+ t("div", s2, [
678
+ t("h4", l2, y(e.title), 1),
679
+ e.subtitle ? (l(), o("div", o2, y(e.subtitle), 1)) : r("", !0)
679
680
  ])
680
681
  ]),
681
- t("div", et, [
682
- k(y.$slots, "default", {}, void 0, !0)
682
+ t("div", n2, [
683
+ m(u.$slots, "default", {}, void 0, !0)
683
684
  ]),
684
- y.$slots.footer ? (s(), l("div", tt, [
685
- b[1] || (b[1] = t("div", null, null, -1)),
686
- k(y.$slots, "footer", {}, void 0, !0),
687
- b[2] || (b[2] = t("div", null, null, -1))
688
- ])) : u("", !0)
685
+ u.$slots.footer ? (l(), o("div", a2, [
686
+ m(u.$slots, "footer", {}, void 0, !0)
687
+ ])) : r("", !0)
689
688
  ], 4)
690
- ], 32)) : u("", !0)
689
+ ], 32)) : r("", !0)
691
690
  ]),
692
691
  _: 3
693
692
  }));
694
693
  }
695
- }, Qt = /* @__PURE__ */ _(st, [["__scopeId", "data-v-361413ac"]]), ot = {
694
+ }, bt = /* @__PURE__ */ w(d2, [["__scopeId", "data-v-27c151e3"]]), i2 = {
696
695
  key: 0,
697
696
  class: "sky-alert-icon",
698
697
  width: "16",
699
698
  height: "16",
700
699
  viewBox: "0 0 20 20",
701
700
  fill: "none"
702
- }, lt = { class: "sky-alert-body" }, nt = {
701
+ }, c2 = { class: "sky-alert-body" }, r2 = {
703
702
  __name: "SkyAlert",
704
703
  props: {
705
704
  tone: {
@@ -710,24 +709,24 @@ const me = /* @__PURE__ */ _(he, [["render", ge]]), pe = { class: "sky-dialog-ov
710
709
  showIcon: { type: Boolean, default: !0 }
711
710
  },
712
711
  setup(e) {
713
- return (a, o) => (s(), l("div", {
714
- class: B(["sky-alert", `sky-alert-${e.tone}`])
712
+ return (a, s) => (l(), o("div", {
713
+ class: x(["sky-alert", `sky-alert-${e.tone}`])
715
714
  }, [
716
- e.showIcon ? (s(), l("svg", ot, [...o[0] || (o[0] = [
715
+ e.showIcon ? (l(), o("svg", i2, [...s[0] || (s[0] = [
717
716
  t("path", {
718
717
  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
718
  fill: "currentColor"
720
719
  }, null, -1)
721
- ])])) : u("", !0),
722
- t("span", lt, [
723
- k(a.$slots, "default", {}, void 0, !0)
720
+ ])])) : r("", !0),
721
+ t("span", c2, [
722
+ m(a.$slots, "default", {}, void 0, !0)
724
723
  ])
725
724
  ], 2));
726
725
  }
727
- }, Yt = /* @__PURE__ */ _(nt, [["__scopeId", "data-v-ae1976b5"]]), at = {
726
+ }, Ct = /* @__PURE__ */ w(r2, [["__scopeId", "data-v-ae1976b5"]]), u2 = {
728
727
  key: 0,
729
728
  class: "sky-badge-dot"
730
- }, dt = {
729
+ }, y2 = {
731
730
  __name: "SkyBadge",
732
731
  props: {
733
732
  tone: {
@@ -739,19 +738,19 @@ const me = /* @__PURE__ */ _(he, [["render", ge]]), pe = { class: "sky-dialog-ov
739
738
  dot: { type: Boolean, default: !0 }
740
739
  },
741
740
  setup(e) {
742
- return (a, o) => (s(), l("span", {
743
- class: B(["sky-badge", `sky-badge-${e.tone}`])
741
+ return (a, s) => (l(), o("span", {
742
+ class: x(["sky-badge", `sky-badge-${e.tone}`])
744
743
  }, [
745
- e.dot ? (s(), l("span", at)) : u("", !0),
746
- k(a.$slots, "default", {}, () => [
747
- W(g(e.label), 1)
744
+ e.dot ? (l(), o("span", u2)) : r("", !0),
745
+ m(a.$slots, "default", {}, () => [
746
+ q(y(e.label), 1)
748
747
  ], !0)
749
748
  ], 2));
750
749
  }
751
- }, Zt = /* @__PURE__ */ _(dt, [["__scopeId", "data-v-3c7aa57d"]]), it = ["disabled"], rt = {
750
+ }, wt = /* @__PURE__ */ w(y2, [["__scopeId", "data-v-3c7aa57d"]]), f2 = ["disabled"], h2 = {
752
751
  key: 0,
753
752
  class: "sky-btn-spinner"
754
- }, ut = {
753
+ }, v2 = {
755
754
  __name: "SkyButton",
756
755
  props: {
757
756
  variant: {
@@ -777,7 +776,7 @@ const me = /* @__PURE__ */ _(he, [["render", ge]]), pe = { class: "sky-dialog-ov
777
776
  }
778
777
  },
779
778
  setup(e) {
780
- return (a, o) => (s(), l("button", de({
779
+ return (a, s) => (l(), o("button", re({
781
780
  class: ["sky-btn", [
782
781
  `sky-btn-${e.variant}`,
783
782
  {
@@ -788,47 +787,47 @@ const me = /* @__PURE__ */ _(he, [["render", ge]]), pe = { class: "sky-dialog-ov
788
787
  ]],
789
788
  disabled: e.disabled || e.loading
790
789
  }, a.$attrs), [
791
- e.loading ? (s(), l("span", rt)) : u("", !0),
792
- k(a.$slots, "default", {}, void 0, !0)
793
- ], 16, it));
790
+ e.loading ? (l(), o("span", h2)) : r("", !0),
791
+ m(a.$slots, "default", {}, void 0, !0)
792
+ ], 16, f2));
794
793
  }
795
- }, es = /* @__PURE__ */ _(ut, [["__scopeId", "data-v-755083cb"]]), ct = { class: "sky-card" }, yt = {
794
+ }, $t = /* @__PURE__ */ w(v2, [["__scopeId", "data-v-755083cb"]]), k2 = { class: "sky-card" }, m2 = {
796
795
  key: 0,
797
796
  class: "sky-card-ribbon"
798
- }, ft = {
797
+ }, g2 = {
799
798
  key: 1,
800
799
  class: "sky-card-header"
801
- }, vt = {
800
+ }, p2 = {
802
801
  key: 2,
803
802
  class: "sky-card-body"
804
- }, kt = {
803
+ }, b2 = {
805
804
  key: 3,
806
805
  class: "sky-card-footer"
807
- }, ht = {
806
+ }, C2 = {
808
807
  __name: "SkyCard",
809
808
  setup(e) {
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
- ])) : u("", !0),
814
- a.$slots.header ? (s(), l("div", ft, [
815
- k(a.$slots, "header", {}, void 0, !0)
816
- ])) : u("", !0),
817
- a.$slots.default ? (s(), l("div", vt, [
818
- k(a.$slots, "default", {}, void 0, !0)
819
- ])) : u("", !0),
820
- a.$slots.footer ? (s(), l("div", kt, [
821
- k(a.$slots, "footer", {}, void 0, !0)
822
- ])) : u("", !0)
809
+ return (a, s) => (l(), o("div", k2, [
810
+ a.$slots.ribbon ? (l(), o("div", m2, [
811
+ m(a.$slots, "ribbon", {}, void 0, !0)
812
+ ])) : r("", !0),
813
+ a.$slots.header ? (l(), o("div", g2, [
814
+ m(a.$slots, "header", {}, void 0, !0)
815
+ ])) : r("", !0),
816
+ a.$slots.default ? (l(), o("div", p2, [
817
+ m(a.$slots, "default", {}, void 0, !0)
818
+ ])) : r("", !0),
819
+ a.$slots.footer ? (l(), o("div", b2, [
820
+ m(a.$slots, "footer", {}, void 0, !0)
821
+ ])) : r("", !0)
823
822
  ]));
824
823
  }
825
- }, ts = /* @__PURE__ */ _(ht, [["__scopeId", "data-v-6a2d353e"]]), gt = { class: "sky-card-header-content" }, mt = {
824
+ }, St = /* @__PURE__ */ w(C2, [["__scopeId", "data-v-6a2d353e"]]), w2 = { class: "sky-card-header-content" }, $2 = {
826
825
  key: 0,
827
826
  class: "sky-card-header-icon"
828
- }, pt = ["src", "alt"], bt = { class: "sky-card-header-titles" }, wt = { class: "sky-card-header-title" }, $t = {
827
+ }, S2 = ["src", "alt"], _2 = { class: "sky-card-header-titles" }, x2 = { class: "sky-card-header-title" }, V2 = {
829
828
  key: 0,
830
829
  class: "sky-card-header-subtitle"
831
- }, St = {
830
+ }, B2 = {
832
831
  __name: "SkyCardHeader",
833
832
  props: {
834
833
  title: { type: String, required: !0 },
@@ -836,42 +835,135 @@ const me = /* @__PURE__ */ _(he, [["render", ge]]), pe = { class: "sky-dialog-ov
836
835
  iconSrc: { type: String, default: "" }
837
836
  },
838
837
  setup(e) {
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", {
838
+ return (a, s) => (l(), o("div", w2, [
839
+ a.$slots.icon || e.iconSrc ? (l(), o("div", $2, [
840
+ m(a.$slots, "icon", {}, () => [
841
+ e.iconSrc ? (l(), o("img", {
843
842
  key: 0,
844
843
  src: e.iconSrc,
845
844
  alt: e.title,
846
845
  width: "48",
847
846
  height: "48"
848
- }, null, 8, pt)) : u("", !0)
847
+ }, null, 8, S2)) : r("", !0)
849
848
  ], !0)
850
- ])) : 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)
849
+ ])) : r("", !0),
850
+ t("div", _2, [
851
+ t("h3", x2, y(e.title), 1),
852
+ e.subtitle ? (l(), o("p", V2, y(e.subtitle), 1)) : r("", !0)
854
853
  ])
855
854
  ]));
856
855
  }
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 = {
856
+ }, _t = /* @__PURE__ */ w(B2, [["__scopeId", "data-v-ab38d71f"]]), I2 = { class: "sky-card-row" }, E2 = { class: "sky-card-row-label" }, L2 = { class: "sky-card-row-value" }, T2 = {
858
857
  __name: "SkyCardRow",
859
858
  props: {
860
859
  label: { type: String, required: !0 },
861
860
  value: { type: [String, Number], default: "" }
862
861
  },
863
862
  setup(e) {
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)
863
+ return (a, s) => (l(), o("div", I2, [
864
+ t("span", E2, y(e.label), 1),
865
+ m(a.$slots, "default", {}, () => [
866
+ t("span", L2, y(e.value), 1)
868
867
  ], !0)
869
868
  ]));
870
869
  }
871
- }, os = /* @__PURE__ */ _(Bt, [["__scopeId", "data-v-8bd0b0e7"]]), Et = { class: "sky-loader" }, It = {
870
+ }, xt = /* @__PURE__ */ w(T2, [["__scopeId", "data-v-8bd0b0e7"]]), P2 = ["checked", "disabled"], M2 = {
871
+ key: 0,
872
+ class: "sky-checkbox__track"
873
+ }, z2 = {
874
+ key: 1,
875
+ class: "sky-checkbox__box"
876
+ }, A2 = {
877
+ key: 2,
878
+ class: "sky-checkbox__label"
879
+ }, O2 = /* @__PURE__ */ R({
880
+ __name: "SkyCheckbox",
881
+ props: {
882
+ modelValue: { type: [Boolean, Array] },
883
+ value: {},
884
+ switch: { type: Boolean },
885
+ disabled: { type: Boolean }
886
+ },
887
+ emits: ["update:modelValue"],
888
+ setup(e, { emit: a }) {
889
+ const s = e, c = a, k = s.switch;
890
+ function v(d) {
891
+ const u = d.target;
892
+ if (Array.isArray(s.modelValue)) {
893
+ const f = [...s.modelValue];
894
+ u.checked ? f.push(s.value) : f.splice(f.indexOf(s.value), 1), c("update:modelValue", f);
895
+ } else
896
+ c("update:modelValue", u.checked);
897
+ }
898
+ const p = () => Array.isArray(s.modelValue) ? s.modelValue.includes(s.value) : s.modelValue;
899
+ return (d, u) => (l(), o("label", {
900
+ class: x(["sky-checkbox", {
901
+ "sky-checkbox--switch": K(k),
902
+ "sky-checkbox--disabled": e.disabled
903
+ }])
904
+ }, [
905
+ t("input", {
906
+ type: "checkbox",
907
+ class: "sky-checkbox__input",
908
+ checked: p(),
909
+ disabled: e.disabled,
910
+ onChange: v
911
+ }, null, 40, P2),
912
+ K(k) ? (l(), o("span", M2, [...u[0] || (u[0] = [
913
+ t("span", { class: "sky-checkbox__thumb" }, null, -1)
914
+ ])])) : (l(), o("span", z2, [...u[1] || (u[1] = [
915
+ t("svg", {
916
+ class: "sky-checkbox__check",
917
+ viewBox: "0 0 10 8",
918
+ fill: "none"
919
+ }, [
920
+ t("path", {
921
+ d: "M1 4L3.5 6.5L9 1",
922
+ stroke: "white",
923
+ "stroke-width": "1.6",
924
+ "stroke-linecap": "round",
925
+ "stroke-linejoin": "round"
926
+ })
927
+ ], -1)
928
+ ])])),
929
+ d.$slots.default ? (l(), o("span", A2, [
930
+ m(d.$slots, "default", {}, void 0, !0)
931
+ ])) : r("", !0)
932
+ ], 2));
933
+ }
934
+ }), D2 = /* @__PURE__ */ w(O2, [["__scopeId", "data-v-66554821"]]), N2 = ["id", "type", "value", "placeholder", "disabled"], R2 = /* @__PURE__ */ R({
935
+ __name: "SkyInput",
936
+ props: {
937
+ modelValue: {},
938
+ type: {},
939
+ placeholder: {},
940
+ id: {},
941
+ disabled: { type: Boolean },
942
+ state: {},
943
+ hint: {}
944
+ },
945
+ emits: ["update:modelValue"],
946
+ setup(e) {
947
+ return (a, s) => (l(), o(D, null, [
948
+ t("input", {
949
+ id: e.id,
950
+ class: x(["sky-input", e.state]),
951
+ type: e.type ?? "text",
952
+ value: e.modelValue,
953
+ placeholder: e.placeholder,
954
+ disabled: e.disabled,
955
+ onInput: s[0] || (s[0] = (c) => a.$emit("update:modelValue", c.target.value))
956
+ }, null, 42, N2),
957
+ e.hint ? (l(), o("small", {
958
+ key: 0,
959
+ class: x(["setting-hint", e.state])
960
+ }, y(e.hint), 3)) : r("", !0)
961
+ ], 64));
962
+ }
963
+ }), Vt = /* @__PURE__ */ w(R2, [["__scopeId", "data-v-6fe5a450"]]), F2 = { class: "sky-loader" }, U2 = {
872
964
  key: 0,
873
965
  class: "sky-loader-text"
874
- }, Vt = {
966
+ }, X2 = {
875
967
  version: "1.1",
876
968
  xmlns: "http://www.w3.org/2000/svg",
877
969
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
@@ -882,156 +974,67 @@ const me = /* @__PURE__ */ _(he, [["render", ge]]), pe = { class: "sky-dialog-ov
882
974
  viewBox: "0 0 44.96 56.12",
883
975
  style: { "enable-background": "new 0 0 44.96 56.12", fill: "#ffffff", display: "block", margin: "auto", "margin-top": "39px" },
884
976
  "xml:space": "preserve"
885
- }, Tt = /* @__PURE__ */ ie({
977
+ }, W2 = /* @__PURE__ */ R({
886
978
  __name: "SkyLoader",
887
979
  props: {
888
980
  text: {}
889
981
  },
890
982
  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] = [
983
+ return (a, s) => (l(), o("div", F2, [
984
+ e.text ? (l(), o("div", U2, y(e.text), 1)) : r("", !0),
985
+ (l(), o("svg", X2, [...s[0] || (s[0] = [
894
986
  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
987
  ])])),
896
- o[1] || (o[1] = t("div", { class: "sky-loader-double-ring" }, [
988
+ s[1] || (s[1] = t("div", { class: "sky-loader-double-ring" }, [
897
989
  t("div")
898
990
  ], -1))
899
991
  ]));
900
992
  }
901
- }), ls = /* @__PURE__ */ _(Tt, [["__scopeId", "data-v-934935ba"]]), Lt = ["disabled"], Mt = {
902
- key: 0,
903
- class: "sky-select-dropdown"
904
- }, Pt = ["onClick", "onMouseenter"], zt = {
993
+ }), Bt = /* @__PURE__ */ w(W2, [["__scopeId", "data-v-934935ba"]]), H2 = ["id", "value", "disabled"], q2 = {
905
994
  key: 0,
906
- class: "sky-select-check",
907
- viewBox: "0 0 16 16",
908
- fill: "none",
909
- "aria-hidden": "true"
910
- }, Dt = {
995
+ value: "",
996
+ disabled: "",
997
+ hidden: ""
998
+ }, j2 = ["value"], K2 = /* @__PURE__ */ R({
911
999
  __name: "SkySelect",
912
1000
  props: {
913
- modelValue: {
914
- default: null
915
- },
916
- options: {
917
- type: Array,
918
- default: () => []
919
- },
920
- placeholder: {
921
- type: String,
922
- default: ""
923
- },
924
- disabled: {
925
- type: Boolean,
926
- default: !1
927
- },
928
- block: {
929
- type: Boolean,
930
- default: !1
931
- }
1001
+ modelValue: {},
1002
+ options: {},
1003
+ id: {},
1004
+ disabled: { type: Boolean },
1005
+ state: {},
1006
+ placeholder: {},
1007
+ hint: {}
932
1008
  },
933
1009
  emits: ["update:modelValue"],
934
- setup(e, { emit: a }) {
935
- const o = e, f = a, h = $(null), c = $(!1), p = $(-1), r = x(
936
- () => o.options.map(
937
- (i) => typeof i == "string" ? { label: i, value: i } : i
938
- )
939
- ), y = x(
940
- () => r.value.find((i) => i.value === o.modelValue) ?? null
941
- );
942
- function b() {
943
- o.disabled || (c.value ? S() : w());
944
- }
945
- function w() {
946
- c.value = !0, p.value = r.value.findIndex((i) => i.value === o.modelValue), document.addEventListener("mousedown", E);
947
- }
948
- function S() {
949
- c.value = !1, document.removeEventListener("mousedown", E);
950
- }
951
- function C(i) {
952
- f("update:modelValue", i.value), S();
953
- }
954
- function E(i) {
955
- var n;
956
- (n = h.value) != null && n.contains(i.target) || S();
957
- }
958
- function I(i) {
959
- if (!c.value) {
960
- (i.key === "Enter" || i.key === " ") && (i.preventDefault(), w());
961
- return;
962
- }
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]));
964
- }
965
- return re(() => {
966
- document.removeEventListener("mousedown", E);
967
- }), (i, n) => (s(), l("div", {
968
- ref_key: "root",
969
- ref: h,
970
- class: B(["sky-select", {
971
- "sky-select-block": e.block,
972
- "sky-select-open": c.value,
973
- "sky-select-disabled": e.disabled
974
- }])
975
- }, [
976
- t("button", {
977
- type: "button",
978
- class: "sky-select-trigger",
1010
+ setup(e) {
1011
+ return (a, s) => (l(), o(D, null, [
1012
+ t("select", {
1013
+ id: e.id,
1014
+ class: x(["sky-select", e.state]),
1015
+ value: e.modelValue,
979
1016
  disabled: e.disabled,
980
- onClick: b,
981
- onKeydown: I
1017
+ onChange: s[0] || (s[0] = (c) => a.$emit("update:modelValue", c.target.value))
982
1018
  }, [
983
- t("span", {
984
- class: B(["sky-select-value", { "sky-select-placeholder": y.value === null }])
985
- }, g(y.value ? y.value.label : e.placeholder), 3),
986
- n[0] || (n[0] = t("svg", {
987
- class: "sky-select-chevron",
988
- viewBox: "0 0 16 16",
989
- fill: "none",
990
- "aria-hidden": "true"
991
- }, [
992
- t("path", {
993
- d: "M4 6l4 4 4-4",
994
- stroke: "currentColor",
995
- "stroke-width": "1.5",
996
- "stroke-linecap": "round",
997
- "stroke-linejoin": "round"
998
- })
999
- ], -1))
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,
1006
- "sky-select-option-focused": L === p.value
1007
- }]),
1008
- onClick: (D) => C(m),
1009
- onMouseenter: (D) => p.value = L
1010
- }, [
1011
- t("span", null, g(m.label), 1),
1012
- m.value === e.modelValue ? (s(), l("svg", zt, [...n[1] || (n[1] = [
1013
- t("path", {
1014
- d: "M3 8l4 4 6-6",
1015
- stroke: "currentColor",
1016
- "stroke-width": "1.5",
1017
- "stroke-linecap": "round",
1018
- "stroke-linejoin": "round"
1019
- }, null, -1)
1020
- ])])) : u("", !0)
1021
- ], 42, Pt))), 128))
1022
- ])) : u("", !0)
1023
- ], 2));
1019
+ e.placeholder ? (l(), o("option", q2, y(e.placeholder), 1)) : r("", !0),
1020
+ (l(!0), o(D, null, Q(e.options, (c) => (l(), o("option", {
1021
+ key: c.value,
1022
+ value: c.value
1023
+ }, y(c.text), 9, j2))), 128))
1024
+ ], 42, H2),
1025
+ e.hint ? (l(), o("small", {
1026
+ key: 0,
1027
+ class: x(["setting-hint", e.state])
1028
+ }, y(e.hint), 3)) : r("", !0)
1029
+ ], 64));
1024
1030
  }
1025
- }, ns = /* @__PURE__ */ _(Dt, [["__scopeId", "data-v-a5711987"]]), Ot = { class: "sky-tile-card" }, At = { class: "sky-tile-card-head" }, Nt = {
1026
- key: 0,
1027
- class: "sky-tile-card-icon"
1028
- }, Rt = ["src", "alt"], Xt = { class: "sky-tile-card-titles" }, Ut = { class: "sky-tile-card-title" }, Ft = {
1031
+ }), It = /* @__PURE__ */ w(K2, [["__scopeId", "data-v-dc5ff9bc"]]), J2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20width='1024'%20height='1024'%3e%3cmask%20id='doorCutout'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='1024'%20height='1024'%3e%3crect%20width='1024'%20height='1024'%20fill='white'/%3e%3cpath%20d='M0%200%20C0.71968964%20-0.00700928%201.43937927%20-0.01401855%202.18087769%20-0.02124023%20C4.53968888%20-0.03872211%206.89728194%20-0.02723241%209.25610352%20-0.01367188%20C10.90845467%20-0.01636993%2012.56080427%20-0.02025496%2014.21315002%20-0.02526855%20C17.6687844%20-0.03115055%2021.12400388%20-0.02264408%2024.57958984%20-0.00390625%20C28.99232552%200.01886496%2033.40408691%200.00576414%2037.81678677%20-0.01819611%20C41.22706843%20-0.03270484%2044.63712214%20-0.02802469%2048.04741096%20-0.01768494%20C49.67358581%20-0.0150307%2051.29978186%20-0.01824119%2052.92593193%20-0.02760315%20C69.87342689%20-0.10376397%2069.87342689%20-0.10376397%2075.44750977%204.51757812%20C81.77544038%2011.15115655%2081.12718673%2019.01439831%2081.01513672%2027.65429688%20C81.01372463%2029.18255059%2081.01452136%2030.7108077%2081.01734924%2032.23905945%20C81.01877857%2036.36891989%2080.98946805%2040.49804807%2080.95447946%2044.62773895%20C80.92313473%2048.95051825%2080.92027884%2053.273316%2080.91435242%2057.59619141%20C80.89883773%2065.773633%2080.85784165%2073.95073871%2080.80760497%2082.12803268%20C80.74116384%2093.18398679%2080.71425777%20104.24003333%2080.68509388%20115.29613686%20C80.63813785%20132.70353533%2080.5385101%20150.11022514%2080.44750977%20167.51757812%20C47.44750977%20167.51757812%2014.44750977%20167.51757812%20-19.55249023%20167.51757812%20C-19.75400541%20128.96996495%20-19.75400541%20128.96996495%20-19.79663086%20112.81054688%20C-19.82629345%20101.65499371%20-19.86115507%2090.49962943%20-19.9296875%2079.34423828%20C-19.9795767%2071.2196221%20-20.01179411%2063.09515924%20-20.02293271%2054.97039413%20C-20.02944217%2050.66966519%20-20.044704%2046.36937479%20-20.08114052%2042.06878662%20C-20.11518745%2038.01724955%20-20.12552586%2033.96632987%20-20.11802864%2029.91466331%20C-20.11939933%2028.43121162%20-20.12928048%2026.94773837%20-20.14851761%2025.46441078%20C-20.31994571%2011.55888315%20-20.31994571%2011.55888315%20-16.08115768%206.03028107%20C-11.33789555%201.33655478%20-6.67499482%200.01643261%200%200%20Z%20'%20fill='black'%20transform='translate(481.552490234375,561.482421875)'/%3e%3c/mask%3e%3cg%20mask='url(%23doorCutout)'%3e%3cpath%20d='M0%200%20C4.77025411%203.24811326%209.54995152%206.4822498%2014.33056641%209.71508789%20C15.31726318%2010.38239929%2016.30395996%2011.04971069%2017.32055664%2011.73724365%20C27.56943173%2018.65721894%2037.89827701%2025.45356978%2048.23681641%2032.23852539%20C63.70757381%2042.39575713%2079.08876899%2052.67577653%2094.4140625%2063.05102539%20C107.95573396%2072.21541636%20121.56891245%2081.26359889%20135.23681641%2090.23852539%20C150.70586805%20100.39616199%20166.08681738%20110.67430759%20181.41104126%20121.04901123%20C194.10175317%20129.63768216%20206.84992823%20138.13219047%20219.65756226%20146.54550171%20C226.93757749%20151.32917217%20234.20919481%20156.12561112%20241.48095703%20160.92181396%20C243.34111617%20162.14806389%20245.20180618%20163.37350884%20247.06298828%20164.59820557%20C252.65071885%20168.27520707%20258.22895331%20171.96583466%20263.7940979%20175.67694092%20C265.52028129%20176.82484576%20267.24966244%20177.96795933%20268.98251343%20179.10577393%20C283.07952443%20188.36868628%20295.16273494%20197.52844414%20300.04541016%20214.55883789%20C302.97062567%20228.72091575%20301.32633387%20242.71379426%20293.88916016%20255.24243164%20C286.10852553%20266.99615628%20274.11859478%20274.86442543%20260.23681641%20277.73852539%20C258.28165343%20277.82493738%20256.32376637%20277.85623255%20254.36669922%20277.85205078%20C253.18577698%20277.85197525%20252.00485474%20277.85189972%20250.78814697%20277.8518219%20C249.51823914%20277.84666061%20248.2483313%20277.84149933%20246.93994141%20277.83618164%20C245.63603455%20277.83476669%20244.33212769%20277.83335175%20242.9887085%20277.83189392%20C239.52978585%20277.82808406%20236.0709055%20277.8182669%20232.61199951%20277.80718994%20C229.07939221%20277.79694285%20225.54677805%20277.79238924%20222.01416016%20277.78735352%20C215.08836158%20277.77664321%20208.16259103%20277.75958523%20201.23681641%20277.73852539%20C201.23795557%20278.34510426%20201.23909473%20278.95168312%20201.24026841%20279.57664317%20C201.30746129%20315.55953322%20201.35890569%20351.54241244%20201.39001239%20387.52535222%20C201.39376433%20391.84974664%20201.39764732%20396.17414093%20201.40161133%20400.49853516%20C201.40239826%20401.35941279%20201.40318519%20402.22029042%20201.40399597%20403.10725526%20C201.41703558%20417.03062396%20201.44068144%20430.95395535%20201.46827479%20444.87730195%20C201.49636923%20459.17314928%20201.51300119%20473.46897712%20201.51908189%20487.76485091%20C201.52318997%20496.58001117%20201.53614612%20505.39506595%20201.56056581%20514.21019373%20C201.57647289%20520.26216649%20201.58120555%20526.31408503%20201.57732054%20532.36607715%20C201.57540669%20535.85324376%20201.57825679%20539.34022656%20201.59443283%20542.82736015%20C201.60943924%20546.61960446%20201.60573992%20550.41140365%20201.59757996%20554.20365906%20C201.60631848%20555.29027618%20201.615057%20556.3768933%20201.62406033%20557.49643821%20C201.53155137%20573.48857632%20197.13157326%20586.59455363%20186.02587891%20598.19165039%20C172.60172101%20610.45012511%20156.23132748%20612.35118168%20138.91059875%20612.23973083%20C137.21090757%20612.2436326%20135.51121967%20612.24928001%20133.81153935%20612.25650173%20C129.18243172%20612.27114826%20124.55366801%20612.26114008%20119.92457187%20612.24676502%20C114.91636288%20612.23559741%20109.90819987%20612.24761677%20104.8999939%20612.25660706%20C95.10615172%20612.27050136%2085.31243896%20612.26301198%2075.518603%20612.24793147%20C64.10406126%20612.23102762%2052.68955135%20612.23428707%2041.27500095%20612.23802555%20C20.90539448%20612.24389695%200.53584992%20612.22975977%20-19.83374023%20612.20507812%20C-39.58376383%20612.18115002%20-59.33370474%20612.17407849%20-79.08374023%20612.18457031%20C-100.61305041%20612.19598691%20-122.14232239%20612.19790113%20-143.67163211%20612.18347222%20C-145.96839797%20612.18194644%20-148.26516384%20612.18042608%20-150.5619297%20612.17891121%20C-151.69186566%20612.17815339%20-152.82180162%20612.17739558%20-153.98597806%20612.1766148%20C-161.93645035%20612.17187846%20-169.88690553%20612.17371873%20-177.83737755%20612.17797661%20C-187.52816674%20612.18290983%20-197.21887787%20612.17688934%20-206.90964922%20612.15708231%20C-211.85090274%20612.1472306%20-216.79203754%20612.14208234%20-221.73329735%20612.14997482%20C-226.26140177%20612.15705931%20-230.7892672%20612.15016259%20-235.31734023%20612.13237119%20C-236.95033363%20612.12834467%20-238.58334901%20612.1292962%20-240.21633407%20612.13589006%20C-258.08996439%20612.20185402%20-272.27416072%20608.69688708%20-285.54052734%20596.08227539%20C-296.5468394%20584.47632243%20-298.92412223%20570.50718428%20-298.88343811%20555.04544067%20C-298.88429254%20553.86016749%20-298.88514696%20552.67489431%20-298.88602728%20551.45370376%20C-298.88738794%20548.17219027%20-298.88426895%20544.89071643%20-298.87924922%20541.60920763%20C-298.87492603%20538.06735773%20-298.87639247%20534.52550964%20-298.87715149%20530.98365784%20C-298.87767554%20524.8499419%20-298.87454115%20518.71623661%20-298.86891365%20512.58252335%20C-298.86078256%20503.71423175%20-298.85818178%20494.8459453%20-298.85692566%20485.97765039%20C-298.85473767%20471.58901987%20-298.84808444%20457.20039502%20-298.83862305%20442.81176758%20C-298.82944238%20428.83553089%20-298.82236475%20414.85929574%20-298.81811523%20400.88305664%20C-298.81785251%20400.02139126%20-298.81758979%20399.15972588%20-298.8173191%20398.27194943%20C-298.81601405%20393.94917665%20-298.81475035%20389.62640386%20-298.8135072%20385.30363107%20C-298.80314247%20349.44859184%20-298.78553103%20313.59355906%20-298.76318359%20277.73852539%20C-299.40416992%20277.74740784%20-300.04515625%20277.75629028%20-300.70556641%20277.76544189%20C-307.45547447%20277.85482983%20-314.20521096%20277.91463373%20-320.95556641%20277.95825195%20C-323.46540165%20277.97820704%20-325.97519139%20278.00538092%20-328.48486328%20278.0402832%20C-348.80799272%20278.31557659%20-368.66938574%20278.38482639%20-384.45068359%20263.80102539%20C-393.99076069%20254.13445739%20-398.57107239%20241.89526285%20-399.07568359%20228.42602539%20C-398.73538597%20213.3678555%20-393.28635008%20200.77279137%20-382.53585815%20190.30438232%20C-376.7991329%20185.23695979%20-370.10257225%20181.27951023%20-363.66650391%20177.17529297%20C-359.73984285%20174.6710173%20-355.83613209%20172.13189378%20-351.93063354%20169.5947876%20C-349.89653031%20168.27369407%20-347.86130242%20166.95433065%20-345.82498169%20165.63665771%20C-336.43706498%20159.55523653%20-327.16208116%20153.31427141%20-317.90719604%20147.03289795%20C-301.69307684%20136.02910311%20-285.38256576%20125.18159042%20-269.00292969%20114.42602539%20C-255.35566021%20105.46147677%20-241.78420572%2096.39227956%20-228.26318359%2087.23852539%20C-212.91876201%2076.85032679%20-197.4921545%2066.59690855%20-182.00292969%2056.42602539%20C-168.35562859%2047.46145599%20-154.78552199%2038.3903693%20-141.26318359%2029.23852539%20C-127.12242047%2019.67603921%20-112.95779321%2010.15062943%20-98.72607422%200.72387695%20C-96.81938655%20-0.54018636%20-94.91422764%20-1.80655921%20-93.01074219%20-3.07543945%20C-56.60316438%20-27.33199629%20-35.65391528%20-24.285668%200%200%20Z%20'%20fill='%23FEFEFE'%20transform='translate(560.76318359375,217.261474609375)'/%3e%3c/g%3e%3c/svg%3e", Z2 = { class: "sky-tile-card" }, Q2 = { class: "sky-tile-card-head" }, G2 = { class: "sky-tile-card-icon" }, Y2 = ["src", "alt"], et = { class: "sky-tile-card-titles" }, tt = { class: "sky-tile-card-title" }, st = {
1029
1032
  key: 0,
1030
1033
  class: "sky-tile-card-subtitle"
1031
- }, Ht = {
1034
+ }, lt = {
1032
1035
  key: 0,
1033
1036
  class: "sky-tile-card-body"
1034
- }, Wt = {
1037
+ }, ot = {
1035
1038
  __name: "SkyTileCard",
1036
1039
  props: {
1037
1040
  title: { type: String, required: !0 },
@@ -1039,72 +1042,245 @@ const me = /* @__PURE__ */ _(he, [["render", ge]]), pe = { class: "sky-dialog-ov
1039
1042
  imageUrl: { type: String, default: "" }
1040
1043
  },
1041
1044
  setup(e) {
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", {
1047
- key: 0,
1048
- src: e.imageUrl,
1045
+ return (a, s) => (l(), o("div", Z2, [
1046
+ t("div", Q2, [
1047
+ t("div", G2, [
1048
+ m(a.$slots, "icon", {}, () => [
1049
+ t("img", {
1050
+ src: e.imageUrl || K(J2),
1049
1051
  alt: e.title
1050
- }, null, 8, Rt)) : u("", !0)
1052
+ }, null, 8, Y2)
1051
1053
  ], !0)
1052
- ])) : 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)
1054
+ ]),
1055
+ t("div", et, [
1056
+ t("h3", tt, y(e.title), 1),
1057
+ e.subtitle ? (l(), o("p", st, y(e.subtitle), 1)) : r("", !0)
1056
1058
  ])
1057
1059
  ]),
1058
- a.$slots.default ? (s(), l("div", Ht, [
1059
- k(a.$slots, "default", {}, void 0, !0)
1060
- ])) : u("", !0)
1060
+ a.$slots.default ? (l(), o("div", lt, [
1061
+ m(a.$slots, "default", {}, void 0, !0)
1062
+ ])) : r("", !0)
1063
+ ]));
1064
+ }
1065
+ }, Et = /* @__PURE__ */ w(ot, [["__scopeId", "data-v-10323f6b"]]), nt = { class: "sky-checkbox-filter" }, at = {
1066
+ key: 0,
1067
+ class: "header-filter-block__title"
1068
+ }, dt = {
1069
+ key: 1,
1070
+ class: "header-filter-block__title"
1071
+ }, it = {
1072
+ key: 2,
1073
+ class: "header-filter-block__count"
1074
+ }, ct = { class: "dialog-buttons" }, rt = { class: "filtersCurtain__innerWrap_middle" }, ut = ["placeholder"], yt = { class: "sky-checkbox-filter__options" }, ft = {
1075
+ class: "dialog-buttons",
1076
+ style: { "padding-top": "10px", "padding-bottom": "0" }
1077
+ }, ht = /* @__PURE__ */ R({
1078
+ __name: "SkyCheckboxFilter",
1079
+ props: {
1080
+ title: {},
1081
+ options: {},
1082
+ modelValue: { default: () => [] },
1083
+ selectAllLabel: { default: "Вибрати всі" },
1084
+ clearLabel: { default: "Очистити" },
1085
+ doneLabel: { default: "Готово" },
1086
+ searchPlaceholder: { default: "Пошук" },
1087
+ disabled: { type: Boolean, default: !1 }
1088
+ },
1089
+ emits: ["update:modelValue"],
1090
+ setup(e, { emit: a }) {
1091
+ const s = e, c = a, k = $(null), v = $({}), p = $(!1), d = $(""), u = _(() => {
1092
+ const g = d.value.trim().toLowerCase();
1093
+ return g ? s.options.filter((C) => C.name.toLowerCase().includes(g)) : s.options;
1094
+ }), f = _({
1095
+ get: () => s.modelValue,
1096
+ set: (g) => c("update:modelValue", g)
1097
+ }), S = _(() => {
1098
+ if (f.value.length !== 1) return "";
1099
+ const g = s.options.find((C) => C.value === f.value[0]);
1100
+ return g ? g.name.length < 20 ? g.name : g.name.slice(0, 20) + "..." : "";
1101
+ });
1102
+ function V() {
1103
+ if (!s.disabled) {
1104
+ if (p.value) {
1105
+ E();
1106
+ return;
1107
+ }
1108
+ I();
1109
+ }
1110
+ }
1111
+ function I() {
1112
+ p.value = !0, d.value = "", Z(() => {
1113
+ const g = k.value;
1114
+ if (!g) return;
1115
+ const C = g.getBoundingClientRect();
1116
+ v.value = {
1117
+ left: `${C.left}px`,
1118
+ top: `${C.bottom + 5}px`
1119
+ };
1120
+ });
1121
+ }
1122
+ function E() {
1123
+ p.value = !1, d.value = "";
1124
+ }
1125
+ function L() {
1126
+ f.value = s.options.map((g) => g.value);
1127
+ }
1128
+ function B() {
1129
+ f.value = [];
1130
+ }
1131
+ function i() {
1132
+ d.value = "";
1133
+ }
1134
+ function b(g) {
1135
+ var h;
1136
+ if (!p.value) return;
1137
+ const C = g.target;
1138
+ if ((h = k.value) != null && h.contains(C)) return;
1139
+ const n = document.querySelector(".sky-checkbox-filter__dropdown");
1140
+ n && n.contains(C) || E();
1141
+ }
1142
+ let T = "";
1143
+ return W(p, (g) => {
1144
+ g ? (T = document.body.style.overflow, document.body.style.overflow = "hidden") : document.body.style.overflow = T;
1145
+ }), z(() => document.addEventListener("click", b)), ue(() => {
1146
+ document.removeEventListener("click", b), p.value && (document.body.style.overflow = T);
1147
+ }), (g, C) => (l(), o("div", nt, [
1148
+ t("div", {
1149
+ ref_key: "triggerRef",
1150
+ ref: k,
1151
+ class: x([
1152
+ "header-filter-block",
1153
+ { "hf-check": p.value, "hf-disabled": e.disabled }
1154
+ ]),
1155
+ onClick: V
1156
+ }, [
1157
+ f.value.length === 1 ? (l(), o("span", at, y(S.value || e.title), 1)) : (l(), o("span", dt, y(e.title) + y(f.value.length > 0 ? ":" : ""), 1)),
1158
+ !e.disabled && f.value.length > 1 ? (l(), o("div", it, y(f.value.length), 1)) : r("", !0),
1159
+ C[2] || (C[2] = t("svg", {
1160
+ xmlns: "http://www.w3.org/2000/svg",
1161
+ width: "18",
1162
+ height: "18",
1163
+ viewBox: "0 0 24 24",
1164
+ fill: "none",
1165
+ stroke: "currentColor",
1166
+ "stroke-width": "2",
1167
+ "stroke-linecap": "round",
1168
+ "stroke-linejoin": "round",
1169
+ class: "sol-caret"
1170
+ }, [
1171
+ t("path", { d: "m6 9 6 6 6-6" })
1172
+ ], -1))
1173
+ ], 2),
1174
+ Y(ye, { name: "fade-select" }, {
1175
+ default: O(() => [
1176
+ p.value ? (l(), o("div", {
1177
+ key: 0,
1178
+ class: "selectColumn selectHeaderFilter sky-checkbox-filter__dropdown",
1179
+ style: H(v.value)
1180
+ }, [
1181
+ t("div", ct, [
1182
+ t("span", {
1183
+ style: { cursor: "pointer" },
1184
+ onClick: L
1185
+ }, y(e.selectAllLabel), 1),
1186
+ t("span", {
1187
+ style: { cursor: "pointer" },
1188
+ onClick: B
1189
+ }, y(e.clearLabel), 1)
1190
+ ]),
1191
+ t("div", rt, [
1192
+ fe(t("input", {
1193
+ "onUpdate:modelValue": C[0] || (C[0] = (n) => d.value = n),
1194
+ class: "searchInput",
1195
+ type: "text",
1196
+ placeholder: e.searchPlaceholder
1197
+ }, null, 8, ut), [
1198
+ [he, d.value]
1199
+ ]),
1200
+ d.value.trim() ? (l(), o("i", {
1201
+ key: 0,
1202
+ class: "filtersCurtain__innerWrap_middleIcon",
1203
+ onClick: i
1204
+ }, "×")) : r("", !0)
1205
+ ]),
1206
+ t("div", yt, [
1207
+ (l(!0), o(D, null, Q(u.value, (n) => (l(), o("div", {
1208
+ key: n.value,
1209
+ class: "filter-option"
1210
+ }, [
1211
+ Y(D2, {
1212
+ modelValue: f.value,
1213
+ "onUpdate:modelValue": C[1] || (C[1] = (h) => f.value = h),
1214
+ value: n.value
1215
+ }, {
1216
+ default: O(() => [
1217
+ q(y(n.name), 1)
1218
+ ]),
1219
+ _: 2
1220
+ }, 1032, ["modelValue", "value"])
1221
+ ]))), 128))
1222
+ ]),
1223
+ C[3] || (C[3] = t("hr", { style: { "margin-top": "0", "margin-bottom": "2px" } }, null, -1)),
1224
+ t("div", ft, [
1225
+ t("span", {
1226
+ style: { cursor: "pointer" },
1227
+ onClick: E
1228
+ }, y(e.doneLabel), 1)
1229
+ ])
1230
+ ], 4)) : r("", !0)
1231
+ ]),
1232
+ _: 1
1233
+ })
1061
1234
  ]));
1062
1235
  }
1063
- }, as = /* @__PURE__ */ _(Wt, [["__scopeId", "data-v-6ac519f3"]]);
1236
+ }), Lt = /* @__PURE__ */ w(ht, [["__scopeId", "data-v-b5219e61"]]);
1064
1237
  export {
1065
- me as BaseTeleport,
1066
- Jt as Dialog,
1067
- J as DialogModal,
1068
- G as DialogNext,
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,
1085
- N as getLocalStorageData,
1086
- fs as getProductCategories,
1087
- ce as getSenderId,
1088
- vs as getStoreData,
1089
- ks as getToken,
1090
- hs as getUser,
1091
- ve as getWindowData,
1092
- se as isAndroidWebview,
1093
- gs as isCefWebview,
1094
- ms as isInIframe,
1095
- T as isInsideIframe,
1096
- te as isIosWebview,
1097
- ps as isWebview,
1098
- q as navigate,
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,
1106
- j as setRocketMode,
1107
- ue as setSenderId,
1108
- ye as trackVisit,
1109
- Cs as webviewCheck
1238
+ $e as BaseTeleport,
1239
+ gt as Dialog,
1240
+ se as DialogModal,
1241
+ le as DialogNext,
1242
+ pt as Header,
1243
+ bt as Modal,
1244
+ Ct as SkyAlert,
1245
+ wt as SkyBadge,
1246
+ $t as SkyButton,
1247
+ St as SkyCard,
1248
+ _t as SkyCardHeader,
1249
+ xt as SkyCardRow,
1250
+ D2 as SkyCheckbox,
1251
+ Lt as SkyCheckboxFilter,
1252
+ Vt as SkyInput,
1253
+ Bt as SkyLoader,
1254
+ It as SkySelect,
1255
+ Et as SkyTileCard,
1256
+ Mt as SkyserviceAPI,
1257
+ be as exit,
1258
+ zt as getBack,
1259
+ At as getCompany,
1260
+ Ot as getLang,
1261
+ X as getLocalStorageData,
1262
+ Dt as getProductCategories,
1263
+ ke as getSenderId,
1264
+ Nt as getStoreData,
1265
+ Rt as getToken,
1266
+ Ft as getUser,
1267
+ pe as getWindowData,
1268
+ ae as isAndroidWebview,
1269
+ Ut as isCefWebview,
1270
+ Xt as isInIframe,
1271
+ M as isInsideIframe,
1272
+ ne as isIosWebview,
1273
+ Wt as isWebview,
1274
+ te as navigate,
1275
+ Ht as notify,
1276
+ qt as notifyError,
1277
+ jt as notifyWarn,
1278
+ Kt as onMessage,
1279
+ Jt as openCrispChat,
1280
+ Zt as openExternalLink,
1281
+ ge as setLocalStorage,
1282
+ ee as setRocketMode,
1283
+ ve as setSenderId,
1284
+ me as trackVisit,
1285
+ Qt as webviewCheck
1110
1286
  };