prlg-ui 1.8.150 → 1.8.151

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,4 +1,4 @@
1
- import { defineComponent as W, computed as T, resolveComponent as il, createBlock as U, openBlock as f, resolveDynamicComponent as Pe, normalizeClass as H, withCtx as oe, createCommentVNode as O, createElementBlock as h, renderSlot as ee, Fragment as se, createTextVNode as ve, toDisplayString as q, ref as R, useTemplateRef as Ze, onMounted as me, createElementVNode as k, createVNode as j, renderList as he, unref as $, mergeModels as ae, useModel as ie, watch as J, shallowRef as Oe, getCurrentScope as Ml, onScopeDispose as Al, shallowReadonly as We, toRefs as Ol, useId as at, onUnmounted as xe, Transition as Ie, normalizeStyle as ne, nextTick as fe, withModifiers as ge, withDirectives as be, vModelRadio as Bl, vModelText as ze, provide as $e, toRef as je, useSlots as ul, inject as ye, vModelCheckbox as cl, vModelDynamic as Dl, toValue as Ye, isRef as El, vModelSelect as Ll, createStaticVNode as zl, Teleport as Ee, reactive as Rt, TransitionGroup as Hl, vShow as dl, useCssVars as Fl, createApp as Kl } from "vue";
1
+ import { defineComponent as W, computed as T, resolveComponent as il, createBlock as U, openBlock as f, resolveDynamicComponent as Pe, normalizeClass as F, withCtx as oe, createCommentVNode as O, createElementBlock as h, renderSlot as ee, Fragment as se, createTextVNode as ve, toDisplayString as q, ref as R, useTemplateRef as Ze, onMounted as me, createElementVNode as k, createVNode as j, renderList as he, unref as S, mergeModels as ae, useModel as ie, watch as J, shallowRef as Oe, getCurrentScope as Ml, onScopeDispose as Al, shallowReadonly as We, toRefs as Ol, useId as at, onUnmounted as xe, Transition as Ie, normalizeStyle as ne, nextTick as fe, withModifiers as ge, withDirectives as be, vModelRadio as Bl, vModelText as ze, provide as $e, toRef as je, useSlots as ul, inject as ye, vModelCheckbox as cl, vModelDynamic as Dl, toValue as Ye, isRef as El, vModelSelect as Ll, createStaticVNode as zl, Teleport as Ee, reactive as Rt, TransitionGroup as Hl, vShow as dl, useCssVars as Fl, createApp as Kl } from "vue";
2
2
  import { P as fl, h as ql, i as Nl, I as vl, e as nt, C as yt, A as Wl, a as ml, f as Yl, M as jl, S as Ul, g as Zl, b as Ql, c as Xl, E as Gl, B as Jl, d as en, Q as tn, W as qt } from "./QuestionIcon-tK1kUB_h.js";
3
3
  import { o as ln, d as re } from "./parseFileSize.util-CxVk4CvB.js";
4
4
  import { _ as ue, C as tt, a as nn } from "./FileIcon-maHE2Nhr.js";
@@ -38,7 +38,7 @@ const an = {
38
38
  ]);
39
39
  return (n, o) => (f(), U(Pe(l.value), {
40
40
  to: n.url,
41
- class: H(t.value),
41
+ class: F(t.value),
42
42
  disabled: n.disabled
43
43
  }, {
44
44
  default: oe(() => [
@@ -78,7 +78,7 @@ const an = {
78
78
  k("div", {
79
79
  ref_key: "menuRef",
80
80
  ref: t,
81
- class: H(["sleed-deal-menu sleed-deal__items", { "sleed-deal-menu--open": l.value }])
81
+ class: F(["sleed-deal-menu sleed-deal__items", { "sleed-deal-menu--open": l.value }])
82
82
  }, [
83
83
  (f(!0), h(se, null, he(a.items, (u) => (f(), h("div", {
84
84
  class: "sleed-deal-menu__item",
@@ -92,13 +92,13 @@ const an = {
92
92
  k("span", un, q(u.label), 1)
93
93
  ], 8, rn))), 128))
94
94
  ], 2),
95
- j($(Ce), {
95
+ j(S(Ce), {
96
96
  ref_key: "targetRef",
97
97
  ref: n,
98
98
  variant: a.variant,
99
99
  contrast: "",
100
100
  "icon-only": "",
101
- icon: a.icon ? a.icon : $(fl),
101
+ icon: a.icon ? a.icon : S(fl),
102
102
  rounded: "",
103
103
  size: a.size,
104
104
  onClick: o
@@ -188,7 +188,7 @@ const an = {
188
188
  }
189
189
  ), (v, p) => (f(), h("label", {
190
190
  for: i.value,
191
- class: H(r.value)
191
+ class: F(r.value)
192
192
  }, [
193
193
  k("input", {
194
194
  id: v.customId ?? i.value,
@@ -241,11 +241,11 @@ const an = {
241
241
  class: "sort-button",
242
242
  onClick: o
243
243
  }, [
244
- j($(ql), {
245
- class: H(["sort-button__icon", [{ "sort-button__icon--active": t.value.order === -1 && t.value.field === i.field }]])
244
+ j(S(ql), {
245
+ class: F(["sort-button__icon", [{ "sort-button__icon--active": t.value.order === -1 && t.value.field === i.field }]])
246
246
  }, null, 8, ["class"]),
247
- j($(Nl), {
248
- class: H(["sort-button__icon", { "sort-button__icon--active": t.value.order === 1 && t.value.field === i.field }])
247
+ j(S(Nl), {
248
+ class: F(["sort-button__icon", { "sort-button__icon--active": t.value.order === 1 && t.value.field === i.field }])
249
249
  }, null, 8, ["class"])
250
250
  ]));
251
251
  }
@@ -533,17 +533,17 @@ const Mn = (e) => ({
533
533
  }, y = At(o), g = Mt(y), V = await a.getDimensions(r), C = y === "y", L = C ? "top" : "left", x = C ? "bottom" : "right", A = C ? "clientHeight" : "clientWidth", M = i.reference[g] + i.reference[y] - p[y] - i.floating[g], I = p[y] - i.reference[y], b = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(r));
534
534
  let d = b ? b[A] : 0;
535
535
  (!d || !await (a.isElement == null ? void 0 : a.isElement(b))) && (d = s.floating[A] || i.floating[g]);
536
- const m = M / 2 - I / 2, w = d / 2 - V[g] / 2 - 1, P = Je(v[L], w), B = Je(v[x], w), K = P, N = d - V[g] - B, z = d / 2 - V[g] / 2 + m, Q = xt(K, z, N), S = !u.arrow && it(o) != null && z !== Q && i.reference[g] / 2 - (z < K ? P : B) - V[g] / 2 < 0, F = S ? z < K ? z - K : z - N : 0;
536
+ const m = M / 2 - I / 2, w = d / 2 - V[g] / 2 - 1, P = Je(v[L], w), B = Je(v[x], w), K = P, N = d - V[g] - B, z = d / 2 - V[g] / 2 + m, Q = xt(K, z, N), $ = !u.arrow && it(o) != null && z !== Q && i.reference[g] / 2 - (z < K ? P : B) - V[g] / 2 < 0, H = $ ? z < K ? z - K : z - N : 0;
537
537
  return {
538
- [y]: p[y] + F,
538
+ [y]: p[y] + H,
539
539
  data: {
540
540
  [y]: Q,
541
- centerOffset: z - Q - F,
542
- ...S && {
543
- alignmentOffset: F
541
+ centerOffset: z - Q - H,
542
+ ...$ && {
543
+ alignmentOffset: H
544
544
  }
545
545
  },
546
- reset: S
546
+ reset: $
547
547
  };
548
548
  }
549
549
  }), An = function(e) {
@@ -596,12 +596,12 @@ const Mn = (e) => ({
596
596
  placement: Q
597
597
  }
598
598
  };
599
- let S = (K = P.filter((F) => F.overflows[0] <= 0).sort((F, E) => F.overflows[1] - E.overflows[1])[0]) == null ? void 0 : K.placement;
600
- if (!S)
599
+ let $ = (K = P.filter((H) => H.overflows[0] <= 0).sort((H, E) => H.overflows[1] - E.overflows[1])[0]) == null ? void 0 : K.placement;
600
+ if (!$)
601
601
  switch (y) {
602
602
  case "bestFit": {
603
603
  var N;
604
- const F = (N = P.filter((E) => {
604
+ const H = (N = P.filter((E) => {
605
605
  if (b) {
606
606
  const X = Be(E.placement);
607
607
  return X === x || // Create a bias to the `y` side axis due to horizontal
@@ -610,17 +610,17 @@ const Mn = (e) => ({
610
610
  }
611
611
  return !0;
612
612
  }).map((E) => [E.placement, E.overflows.filter((X) => X > 0).reduce((X, _) => X + _, 0)]).sort((E, X) => E[1] - X[1])[0]) == null ? void 0 : N[0];
613
- F && (S = F);
613
+ H && ($ = H);
614
614
  break;
615
615
  }
616
616
  case "initialPlacement":
617
- S = s;
617
+ $ = s;
618
618
  break;
619
619
  }
620
- if (o !== S)
620
+ if (o !== $)
621
621
  return {
622
622
  reset: {
623
- placement: S
623
+ placement: $
624
624
  }
625
625
  };
626
626
  }
@@ -1298,7 +1298,7 @@ function Pt(e) {
1298
1298
  return e;
1299
1299
  }
1300
1300
  function Ue(e) {
1301
- return typeof e == "function" ? e() : $(e);
1301
+ return typeof e == "function" ? e() : S(e);
1302
1302
  }
1303
1303
  function vo(e) {
1304
1304
  return {
@@ -1462,12 +1462,12 @@ const mo = {
1462
1462
  }), I = R("left-start"), { floatingStyles: b, update: d } = tl(v, y, {
1463
1463
  placement: I,
1464
1464
  middleware: [Jt(), gt(8)]
1465
- }), m = at(), w = R(!1), P = R(!1), B = R(!1), { lockScroll: K, unlockScroll: N } = st(), z = R(null), Q = R(null), S = () => {
1465
+ }), m = at(), w = R(!1), P = R(!1), B = R(!1), { lockScroll: K, unlockScroll: N } = st(), z = R(null), Q = R(null), $ = () => {
1466
1466
  A(), P.value && d();
1467
- }, F = T(() => u && u.value !== void 0), E = T({
1468
- get: () => F.value ? u?.value : w.value,
1467
+ }, H = T(() => u && u.value !== void 0), E = T({
1468
+ get: () => H.value ? u?.value : w.value,
1469
1469
  set: (le) => {
1470
- F.value ? r("update:modelValue", le) : w.value = le;
1470
+ H.value ? r("update:modelValue", le) : w.value = le;
1471
1471
  }
1472
1472
  }), X = () => {
1473
1473
  E.value = !0;
@@ -1476,7 +1476,7 @@ const mo = {
1476
1476
  }, D = () => {
1477
1477
  E.value = !E.value;
1478
1478
  }, Y = () => {
1479
- F.value ? E.value ? _() : X() : D();
1479
+ H.value ? E.value ? _() : X() : D();
1480
1480
  }, G = async (le) => {
1481
1481
  le && le.stopPropagation(), v.value && (P.value = !0);
1482
1482
  }, Z = () => {
@@ -1511,16 +1511,16 @@ const mo = {
1511
1511
  }
1512
1512
  });
1513
1513
  return J(x, (le) => {
1514
- F.value || (E.value = le.hide?.referenceHidden === !1);
1514
+ H.value || (E.value = le.hide?.referenceHidden === !1);
1515
1515
  }), J(
1516
1516
  E,
1517
1517
  async (le) => {
1518
1518
  le || (Z(), B.value = !1), le && s.value === "button-only" ? (K(), setTimeout(() => {
1519
- S(), B.value = !0;
1519
+ $(), B.value = !0;
1520
1520
  }, 0)) : !le && s.value === "button-only" ? (N(), setTimeout(() => {
1521
- S();
1521
+ $();
1522
1522
  }, 0)) : le && setTimeout(() => {
1523
- S(), B.value = !0;
1523
+ $(), B.value = !0;
1524
1524
  }, 0);
1525
1525
  },
1526
1526
  { immediate: !0 }
@@ -1534,15 +1534,15 @@ const mo = {
1534
1534
  document.addEventListener("click", te);
1535
1535
  let le = null, pe = null;
1536
1536
  const ct = () => {
1537
- le && clearTimeout(le), le = setTimeout(S, 16);
1537
+ le && clearTimeout(le), le = setTimeout($, 16);
1538
1538
  }, Rl = () => {
1539
- pe && clearTimeout(pe), pe = setTimeout(S, 100);
1539
+ pe && clearTimeout(pe), pe = setTimeout($, 100);
1540
1540
  };
1541
- if (window.addEventListener("scroll", ct, { passive: !0 }), window.addEventListener("resize", Rl), window.addEventListener("orientationchange", S), c.value) {
1541
+ if (window.addEventListener("scroll", ct, { passive: !0 }), window.addEventListener("resize", Rl), window.addEventListener("orientationchange", $), c.value) {
1542
1542
  let Ne = null;
1543
1543
  z.value = new ResizeObserver(() => {
1544
1544
  E.value && (Ne && clearTimeout(Ne), Ne = setTimeout(() => {
1545
- S(), Ne = null;
1545
+ $(), Ne = null;
1546
1546
  }, 100));
1547
1547
  }), z.value.observe(c.value);
1548
1548
  }
@@ -1550,7 +1550,7 @@ const mo = {
1550
1550
  let Kt = !1;
1551
1551
  Ne.forEach((Ct) => {
1552
1552
  (Ct.type === "childList" || Ct.type === "attributes" && ["style", "class"].includes(Ct.attributeName || "")) && (Kt = !0);
1553
- }), Kt && setTimeout(S, 10);
1553
+ }), Kt && setTimeout($, 10);
1554
1554
  }), Q.value.observe(document.body, {
1555
1555
  childList: !0,
1556
1556
  subtree: !0,
@@ -1558,22 +1558,22 @@ const mo = {
1558
1558
  attributeFilter: ["style", "class"]
1559
1559
  });
1560
1560
  }), xe(() => {
1561
- document.removeEventListener("click", te), window.removeEventListener("resize", S), window.removeEventListener("scroll", S), window.removeEventListener("orientationchange", S), z.value && z.value.disconnect(), Q.value && Q.value.disconnect(), s.value === "button-only" && E.value && N();
1561
+ document.removeEventListener("click", te), window.removeEventListener("resize", $), window.removeEventListener("scroll", $), window.removeEventListener("orientationchange", $), z.value && z.value.disconnect(), Q.value && Q.value.disconnect(), s.value === "button-only" && E.value && N();
1562
1562
  }), l({
1563
1563
  open: X,
1564
1564
  close: _,
1565
1565
  openSecondScreen: G,
1566
1566
  closeSecondScreen: Z,
1567
1567
  forceUpdatePosition: () => {
1568
- S();
1568
+ $();
1569
1569
  },
1570
1570
  isOpen: E,
1571
1571
  isSecondScreenOpen: P
1572
1572
  }), (le, pe) => (f(), h("div", {
1573
- class: H(["popover", { "popover--with-arrow": $(a) }])
1573
+ class: F(["popover", { "popover--with-arrow": S(a) }])
1574
1574
  }, [
1575
1575
  k("div", {
1576
- class: H(["popover__trigger", `popover__trigger--${$(m)}`]),
1576
+ class: F(["popover__trigger", `popover__trigger--${S(m)}`]),
1577
1577
  ref: "reference",
1578
1578
  onClick: Y
1579
1579
  }, [
@@ -1582,7 +1582,7 @@ const mo = {
1582
1582
  k("div", null, [
1583
1583
  j(Ie, { name: "fade" }, {
1584
1584
  default: oe(() => [
1585
- E.value && $(s) === "button-only" ? (f(), h("div", mo)) : O("", !0)
1585
+ E.value && S(s) === "button-only" ? (f(), h("div", mo)) : O("", !0)
1586
1586
  ]),
1587
1587
  _: 1
1588
1588
  }),
@@ -1590,16 +1590,16 @@ const mo = {
1590
1590
  default: oe(() => [
1591
1591
  E.value ? (f(), h("div", {
1592
1592
  key: 0,
1593
- class: H(["popover__wrapper", [
1594
- `popover__wrapper--${$(m)}`,
1593
+ class: F(["popover__wrapper", [
1594
+ `popover__wrapper--${S(m)}`,
1595
1595
  { "popover__wrapper--no-style": e.withoutStyle },
1596
1596
  { "popover__wrapper--positioning": !B.value }
1597
1597
  ]]),
1598
- style: ne({ ...$(L) }),
1598
+ style: ne({ ...S(L) }),
1599
1599
  ref: "floating"
1600
1600
  }, [
1601
1601
  k("div", po, [
1602
- $(a) ? (f(), h("div", go, [
1602
+ S(a) ? (f(), h("div", go, [
1603
1603
  ee(le.$slots, "default", {
1604
1604
  openSecondScreen: G,
1605
1605
  closeSecondScreen: Z,
@@ -1612,7 +1612,7 @@ const mo = {
1612
1612
  close: _
1613
1613
  }, void 0, !0)
1614
1614
  ]),
1615
- $(a) ? (f(), h("div", {
1615
+ S(a) ? (f(), h("div", {
1616
1616
  key: 0,
1617
1617
  class: "popover__arrow",
1618
1618
  ref: "arrow-block",
@@ -1628,7 +1628,7 @@ const mo = {
1628
1628
  key: 0,
1629
1629
  class: "popover__second-screen",
1630
1630
  ref: "second-screen",
1631
- style: ne({ ...$(b) })
1631
+ style: ne({ ...S(b) })
1632
1632
  }, [
1633
1633
  ee(le.$slots, "second-screen", { closeSecondScreen: Z }, void 0, !0)
1634
1634
  ], 4)) : O("", !0)
@@ -1644,7 +1644,7 @@ const mo = {
1644
1644
  description: {}
1645
1645
  },
1646
1646
  setup(e) {
1647
- return (l, t) => (f(), U($(yo), {
1647
+ return (l, t) => (f(), U(S(yo), {
1648
1648
  size: "small",
1649
1649
  trigger: "hover",
1650
1650
  placement: "top-start",
@@ -1652,7 +1652,7 @@ const mo = {
1652
1652
  }, {
1653
1653
  trigger: oe(() => [
1654
1654
  k("div", bo, [
1655
- j($(vl))
1655
+ j(S(vl))
1656
1656
  ])
1657
1657
  ]),
1658
1658
  default: oe(() => [
@@ -1690,18 +1690,18 @@ const mo = {
1690
1690
  width: a.selectionMode ? "40px" : a.style?.width ? a.style?.width : "100%"
1691
1691
  });
1692
1692
  return (a, s) => (f(), h("thead", {
1693
- class: H(n.value)
1693
+ class: F(n.value)
1694
1694
  }, [
1695
1695
  k("tr", So, [
1696
1696
  (f(!0), h(se, null, he(a.columns, (u, r) => (f(), h("th", {
1697
- class: H(o(u)),
1697
+ class: F(o(u)),
1698
1698
  key: r,
1699
1699
  style: ne(i(u))
1700
1700
  }, [
1701
1701
  k("div", {
1702
- class: H(["table-header__cell-body", { "table-header__cell-body--center": u.selectionMode }])
1702
+ class: F(["table-header__cell-body", { "table-header__cell-body--center": u.selectionMode }])
1703
1703
  }, [
1704
- u.selectionMode && u.selectionMode === "multiple" ? (f(), U($(rt), {
1704
+ u.selectionMode && u.selectionMode === "multiple" ? (f(), U(S(rt), {
1705
1705
  key: 0,
1706
1706
  size: "small",
1707
1707
  checked: a.isSelectedAll,
@@ -1745,14 +1745,14 @@ const mo = {
1745
1745
  `table-cell--${e.size}`
1746
1746
  ]), a = () => e.column.field ? e.item[e.column.field] : "";
1747
1747
  return (s, u) => (f(), h("td", {
1748
- class: H(i.value)
1748
+ class: F(i.value)
1749
1749
  }, [
1750
- s.column.selectionMode && s.column.selectionMode === "multiple" ? (f(), U($(rt), {
1750
+ s.column.selectionMode && s.column.selectionMode === "multiple" ? (f(), U(S(rt), {
1751
1751
  key: 0,
1752
1752
  size: "small",
1753
1753
  checked: o.value,
1754
1754
  onChange: u[0] || (u[0] = (r) => t("toggleRow", s.item))
1755
- }, null, 8, ["checked"])) : s.column.selectionMode && s.column.selectionMode === "single" ? (f(), U($(Ht), {
1755
+ }, null, 8, ["checked"])) : s.column.selectionMode && s.column.selectionMode === "single" ? (f(), U(S(Ht), {
1756
1756
  key: 1,
1757
1757
  size: "small",
1758
1758
  onChange: u[1] || (u[1] = (r) => t("toggleRow", s.item))
@@ -1783,7 +1783,7 @@ const mo = {
1783
1783
  setup(e, { emit: l }) {
1784
1784
  const t = l, n = T(() => e.rowStyle ? e.rowStyle(e.item) : {});
1785
1785
  return (o, i) => (f(), h("tr", {
1786
- class: H(["table-row", { "table-row--hovered-color": o.colorHovered }]),
1786
+ class: F(["table-row", { "table-row--hovered-color": o.colorHovered }]),
1787
1787
  style: ne(n.value),
1788
1788
  onClick: i[1] || (i[1] = (a) => t("rowClickHandler", { data: o.item, index: o.rowIndex }))
1789
1789
  }, [
@@ -1834,7 +1834,7 @@ const mo = {
1834
1834
  key: 0,
1835
1835
  ref_key: "virtualScrollBody",
1836
1836
  ref: o,
1837
- class: H(["table-body", "table-body--virtual-scroll"])
1837
+ class: F(["table-body", "table-body--virtual-scroll"])
1838
1838
  }, [
1839
1839
  s.value > 0 ? (f(), h("tr", {
1840
1840
  key: 0,
@@ -1867,7 +1867,7 @@ const mo = {
1867
1867
  ], 4)) : O("", !0)
1868
1868
  ], 512)) : (f(), h("tbody", {
1869
1869
  key: 1,
1870
- class: H(["table-body", { "table-body--scroller": p.scroller && p.scroller.enable }]),
1870
+ class: F(["table-body", { "table-body--scroller": p.scroller && p.scroller.enable }]),
1871
1871
  style: ne({ maxHeight: `${p.scroller && p.scroller.height}px` })
1872
1872
  }, [
1873
1873
  (f(!0), h(se, null, he(p.data, (g, V) => (f(), U(nl, {
@@ -1912,7 +1912,7 @@ const mo = {
1912
1912
  }
1913
1913
  ]);
1914
1914
  return (o, i) => (f(), h("div", {
1915
- class: H(n.value)
1915
+ class: F(n.value)
1916
1916
  }, [
1917
1917
  k("div", Oo, [
1918
1918
  o.icon ? (f(), h("div", Bo, [
@@ -1927,7 +1927,7 @@ const mo = {
1927
1927
  class: "tag__remove",
1928
1928
  onClick: i[0] || (i[0] = ge((a) => t("remove"), ["stop"]))
1929
1929
  }, [
1930
- j($(nt))
1930
+ j(S(nt))
1931
1931
  ])) : O("", !0)
1932
1932
  ], 2));
1933
1933
  }
@@ -1949,13 +1949,13 @@ const mo = {
1949
1949
  setup(e, { emit: l }) {
1950
1950
  const t = ie(e, "modelValue"), n = at(), o = l, i = T(() => ["radio", `radio--${e.size}`]);
1951
1951
  return (a, s) => (f(), h("div", {
1952
- class: H(i.value)
1952
+ class: F(i.value)
1953
1953
  }, [
1954
1954
  be(k("input", {
1955
1955
  "onUpdate:modelValue": s[0] || (s[0] = (u) => t.value = u),
1956
1956
  type: "radio",
1957
1957
  name: a.name,
1958
- id: a.customId ?? $(n),
1958
+ id: a.customId ?? S(n),
1959
1959
  class: "radio__input",
1960
1960
  value: a.value,
1961
1961
  checked: a.checked || t.value === a.value,
@@ -1969,7 +1969,7 @@ const mo = {
1969
1969
  ], -1)),
1970
1970
  a.label || a.$slots.default ? (f(), h("label", {
1971
1971
  key: 0,
1972
- for: $(n),
1972
+ for: S(n),
1973
1973
  class: "radio__label"
1974
1974
  }, [
1975
1975
  a.label ? (f(), h(se, { key: 0 }, [
@@ -2024,109 +2024,113 @@ const mo = {
2024
2024
  emits: ["update:modelValue", "search", "change", "clear", "remove-tag"],
2025
2025
  setup(e, { emit: l }) {
2026
2026
  const t = e, n = l, o = R(!1), i = R(""), a = R(), s = R(), u = R(), r = R({});
2027
- function c(S) {
2028
- let F = 1e3, E = S;
2027
+ function c($) {
2028
+ let H = 1e3, E = $;
2029
2029
  for (; E && E !== document.body; ) {
2030
2030
  const X = window.getComputedStyle(E), _ = parseInt(X.zIndex);
2031
- !isNaN(_) && _ > F && (F = _), E = E.parentElement;
2031
+ !isNaN(_) && _ > H && (H = _), E = E.parentElement;
2032
2032
  }
2033
- return F;
2033
+ return H;
2034
2034
  }
2035
2035
  const v = R(9999), p = T(() => {
2036
2036
  if (!t.modelValue) return [];
2037
2037
  if (t.multiple)
2038
- return (Array.isArray(t.modelValue) ? t.modelValue : [t.modelValue]).map((F) => {
2039
- if (typeof F == "object" && F !== null)
2040
- return F;
2038
+ return (Array.isArray(t.modelValue) ? t.modelValue : [t.modelValue]).map((H) => {
2039
+ if (typeof H == "object" && H !== null)
2040
+ return H;
2041
2041
  const E = t.options?.find(
2042
- (_) => M(_) === F
2042
+ (_) => M(_) === H
2043
2043
  );
2044
2044
  return E || {
2045
- value: F,
2046
- label: String(F)
2045
+ value: H,
2046
+ label: String(H)
2047
2047
  };
2048
- }).filter((F) => F !== void 0);
2048
+ }).filter((H) => H !== void 0);
2049
2049
  {
2050
2050
  if (typeof t.modelValue == "object" && t.modelValue !== null)
2051
2051
  return [t.modelValue];
2052
- const S = t.options?.find(
2053
- (F) => M(F) === t.modelValue
2052
+ const $ = t.options?.find(
2053
+ (H) => M(H) === t.modelValue
2054
2054
  );
2055
- return S ? [S] : [];
2055
+ return $ ? [$] : [];
2056
2056
  }
2057
2057
  }), y = T(() => t.multiple || !p.value.length ? "" : b(p.value[0])), g = T(() => t.multiple ? p.value.length > 0 : t.modelValue !== void 0 && t.modelValue !== null), V = T(() => p.value.slice(0, t.maxTags)), C = T(() => Math.max(0, p.value.length - t.maxTags)), L = T(() => i.value ? (t.options || []).filter(
2058
- (S) => b(S).toLowerCase().includes(i.value.toLowerCase())
2059
- ) : t.options || []), x = T(() => t.multiple ? p.value.map((S) => M(S)) : []), A = T(() => t.multiple || !p.value.length ? null : M(p.value[0]));
2060
- function M(S) {
2061
- const F = t.valueKey || "value", E = S[F];
2062
- return E === null ? null : E === void 0 ? "" : E;
2058
+ ($) => b($).toLowerCase().includes(i.value.toLowerCase())
2059
+ ) : t.options || []), x = T(() => t.multiple ? p.value.map(($) => M($)) : []), A = T(() => t.multiple || !p.value.length ? null : M(p.value[0]));
2060
+ function M($) {
2061
+ if (t.valueKey && t.valueKey in $) {
2062
+ const E = $[t.valueKey];
2063
+ return E === null ? null : E === void 0 ? "" : E;
2064
+ }
2065
+ const H = $.value;
2066
+ return H === null ? null : H ?? "";
2063
2067
  }
2064
- function I(S) {
2065
- const F = M(S);
2066
- return F === null ? "null" : F;
2068
+ function I($) {
2069
+ const H = M($);
2070
+ return H === null ? "null" : H;
2067
2071
  }
2068
- function b(S) {
2069
- return t.labelKey && t.labelKey in S ? String(S[t.labelKey]) : String(S.label);
2072
+ function b($) {
2073
+ return t.labelKey && t.labelKey in $ ? String($[t.labelKey]) : String($.label);
2070
2074
  }
2071
2075
  function d() {
2072
2076
  t.disabled || (o.value = !o.value);
2073
2077
  }
2074
- function m(S) {
2075
- if (!S.disabled)
2078
+ function m($) {
2079
+ if (!$.disabled)
2076
2080
  if (t.multiple) {
2077
- const F = M(S), E = Array.isArray(t.modelValue) ? [...t.modelValue] : [], X = E.some((D) => typeof D == "object" && D !== null ? M(D) === F : D === F);
2081
+ const H = M($), E = Array.isArray(t.modelValue) ? [...t.modelValue] : [], X = E.some((D) => typeof D == "object" && D !== null ? M(D) === H : D === H);
2078
2082
  let _;
2079
- X ? _ = E.filter((D) => typeof D == "object" && D !== null ? M(D) !== F : D !== F) : _ = [
2083
+ X ? _ = E.filter((D) => typeof D == "object" && D !== null ? M(D) !== H : D !== H) : _ = [
2080
2084
  ...E,
2081
- t.valueKey && t.valueKey !== "" ? M(S) : S
2085
+ t.valueKey && t.valueKey !== "" ? M($) : $
2082
2086
  ], n("update:modelValue", _), n("change", _);
2083
2087
  } else {
2084
- const F = t.valueKey && t.valueKey !== "" ? M(S) : S;
2085
- n("update:modelValue", F), n("change", F), o.value = !1;
2088
+ const H = t.valueKey && t.valueKey !== "" ? M($) : $;
2089
+ n("update:modelValue", H), n("change", H), o.value = !1;
2086
2090
  }
2087
2091
  }
2088
- function w(S) {
2092
+ function w($) {
2089
2093
  if (!t.multiple) return;
2090
- const F = M(S), X = (Array.isArray(t.modelValue) ? [...t.modelValue] : []).filter((_) => typeof _ == "object" && _ !== null ? M(_) !== F : _ !== F);
2094
+ const H = M($), X = (Array.isArray(t.modelValue) ? [...t.modelValue] : []).filter((_) => typeof _ == "object" && _ !== null ? M(_) !== H : _ !== H);
2091
2095
  n("update:modelValue", X), n("change", X), n(
2092
2096
  "remove-tag",
2093
- t.valueKey && t.valueKey !== "" ? M(S) : S
2097
+ t.valueKey && t.valueKey !== "" ? M($) : $
2094
2098
  );
2095
2099
  }
2096
2100
  function P() {
2097
- const S = t.multiple ? [] : void 0;
2098
- n("update:modelValue", S), n("change", S), n("clear");
2101
+ const $ = t.multiple ? [] : void 0;
2102
+ n("update:modelValue", $), n("change", $), n("clear");
2099
2103
  }
2100
- function B(S) {
2101
- S.disabled || !t.multiple || m(S);
2104
+ function B($) {
2105
+ $.disabled || !t.multiple || m($);
2102
2106
  }
2103
- function K(S) {
2104
- S.disabled || t.multiple || m(S);
2107
+ function K($) {
2108
+ $.disabled || t.multiple || m($);
2105
2109
  }
2106
2110
  function N() {
2107
2111
  n("search", i.value);
2108
2112
  }
2109
2113
  function z() {
2110
2114
  !a.value || !o.value || fe(() => {
2111
- const S = c(a.value);
2112
- v.value = S + 10;
2113
- const F = a.value.getBoundingClientRect(), E = window.innerHeight, X = window.innerWidth, _ = E - F.bottom, D = F.top, G = _ < 300 && D > _, Z = Math.max(300, F.width);
2114
- let te = F.left;
2115
+ const $ = c(a.value);
2116
+ v.value = $ + 10;
2117
+ const H = a.value.getBoundingClientRect(), E = window.innerHeight, X = window.innerWidth, _ = E - H.bottom, D = H.top, G = _ < 300 && D > _, Z = Math.max(300, H.width);
2118
+ let te = H.left;
2115
2119
  te + Z > X && (te = Math.max(0, X - Z - 10)), r.value = {
2116
2120
  position: "fixed",
2117
2121
  left: `${te}px`,
2118
2122
  width: `${Z}px`,
2119
2123
  maxHeight: "300px"
2120
- }, G ? r.value.bottom = `${E - F.top + 4}px` : r.value.top = `${F.bottom + 4}px`;
2124
+ }, G ? r.value.bottom = `${E - H.top + 4}px` : r.value.top = `${H.bottom + 4}px`;
2121
2125
  });
2122
2126
  }
2123
- function Q(S) {
2127
+ function Q($) {
2124
2128
  if (!a.value || !o.value) return;
2125
- const F = S.target, E = s.value, X = a.value.contains(F), _ = E && E.contains(F);
2129
+ const H = $.target, E = s.value, X = a.value.contains(H), _ = E && E.contains(H);
2126
2130
  !X && !_ && (o.value = !1);
2127
2131
  }
2128
- return J(o, (S) => {
2129
- S ? (z(), t.searchable && fe(() => {
2132
+ return J(o, ($) => {
2133
+ $ ? (z(), t.searchable && fe(() => {
2130
2134
  u.value?.focus();
2131
2135
  })) : i.value = "";
2132
2136
  }), J(
@@ -2138,26 +2142,26 @@ const mo = {
2138
2142
  document.addEventListener("click", Q), window.addEventListener("resize", z), window.addEventListener("scroll", z);
2139
2143
  }), xe(() => {
2140
2144
  document.removeEventListener("click", Q), window.removeEventListener("resize", z), window.removeEventListener("scroll", z);
2141
- }), (S, F) => (f(), h("div", {
2142
- class: H(["dropdown", { "dropdown--disabled": S.disabled, "dropdown--error": S.error }])
2145
+ }), ($, H) => (f(), h("div", {
2146
+ class: F(["dropdown", { "dropdown--disabled": $.disabled, "dropdown--error": $.error }])
2143
2147
  }, [
2144
- S.label ? (f(), h("label", zo, [
2145
- S.required ? (f(), h("sup", Ho, "*")) : O("", !0),
2146
- ve(" " + q(S.label), 1)
2148
+ $.label ? (f(), h("label", zo, [
2149
+ $.required ? (f(), h("sup", Ho, "*")) : O("", !0),
2150
+ ve(" " + q($.label), 1)
2147
2151
  ])) : O("", !0),
2148
2152
  k("div", {
2149
2153
  ref_key: "dropdownTrigger",
2150
2154
  ref: a,
2151
- class: H(["dropdown__trigger", {
2155
+ class: F(["dropdown__trigger", {
2152
2156
  "dropdown__trigger--active": o.value,
2153
- "dropdown__trigger--multiple": S.multiple,
2154
- "dropdown__trigger--error": S.error
2157
+ "dropdown__trigger--multiple": $.multiple,
2158
+ "dropdown__trigger--error": $.error
2155
2159
  }]),
2156
2160
  onClick: d
2157
2161
  }, [
2158
2162
  k("div", Fo, [
2159
- S.multiple && p.value.length ? (f(), h("div", Ko, [
2160
- (f(!0), h(se, null, he(V.value, (E) => (f(), U($(ht), {
2163
+ $.multiple && p.value.length ? (f(), h("div", Ko, [
2164
+ (f(!0), h(se, null, he(V.value, (E) => (f(), U(S(ht), {
2161
2165
  key: I(E),
2162
2166
  removable: "",
2163
2167
  variant: "secondary",
@@ -2168,7 +2172,7 @@ const mo = {
2168
2172
  ]),
2169
2173
  _: 2
2170
2174
  }, 1032, ["onRemove"]))), 128)),
2171
- C.value > 0 ? (f(), U($(ht), {
2175
+ C.value > 0 ? (f(), U(S(ht), {
2172
2176
  key: 0,
2173
2177
  variant: "info"
2174
2178
  }, {
@@ -2178,29 +2182,29 @@ const mo = {
2178
2182
  _: 1
2179
2183
  })) : O("", !0)
2180
2184
  ])) : (f(), h(se, { key: 1 }, [
2181
- y.value ? ee(S.$slots, "input", {
2185
+ y.value ? ee($.$slots, "input", {
2182
2186
  key: 0,
2183
2187
  value: y.value,
2184
2188
  selectedOption: p.value[0]
2185
2189
  }, () => [
2186
2190
  k("span", qo, q(y.value), 1)
2187
- ], !0) : (f(), h("span", No, q(S.placeholder), 1))
2191
+ ], !0) : (f(), h("span", No, q($.placeholder), 1))
2188
2192
  ], 64))
2189
2193
  ]),
2190
2194
  k("div", {
2191
- class: H(["dropdown__arrow", { "dropdown__arrow--rotated": o.value }])
2195
+ class: F(["dropdown__arrow", { "dropdown__arrow--rotated": o.value }])
2192
2196
  }, [
2193
- j($(yt))
2197
+ j(S(yt))
2194
2198
  ], 2),
2195
- S.clearable && g.value ? (f(), h("button", {
2199
+ $.clearable && g.value ? (f(), h("button", {
2196
2200
  key: 0,
2197
2201
  class: "dropdown__clear",
2198
2202
  onClick: ge(P, ["stop"])
2199
2203
  }, [
2200
- j($(tt))
2204
+ j(S(tt))
2201
2205
  ])) : O("", !0)
2202
2206
  ], 2),
2203
- j($(bt), {
2207
+ j(S(bt), {
2204
2208
  show: o.value,
2205
2209
  "z-index": v.value
2206
2210
  }, {
@@ -2210,14 +2214,14 @@ const mo = {
2210
2214
  ref: s,
2211
2215
  class: "dropdown__overlay",
2212
2216
  style: ne(r.value),
2213
- onClick: F[1] || (F[1] = ge(() => {
2217
+ onClick: H[1] || (H[1] = ge(() => {
2214
2218
  }, ["stop"]))
2215
2219
  }, [
2216
- S.searchable ? (f(), h("div", Wo, [
2220
+ $.searchable ? (f(), h("div", Wo, [
2217
2221
  be(k("input", {
2218
2222
  ref_key: "searchInput",
2219
2223
  ref: u,
2220
- "onUpdate:modelValue": F[0] || (F[0] = (E) => i.value = E),
2224
+ "onUpdate:modelValue": H[0] || (H[0] = (E) => i.value = E),
2221
2225
  class: "dropdown__search-input",
2222
2226
  placeholder: "Поиск...",
2223
2227
  onInput: N
@@ -2226,15 +2230,15 @@ const mo = {
2226
2230
  ])
2227
2231
  ])) : O("", !0),
2228
2232
  k("div", Yo, [
2229
- S.loading ? (f(), h("div", jo, "Загрузка...")) : (f(), h(se, { key: 1 }, [
2233
+ $.loading ? (f(), h("div", jo, "Загрузка...")) : (f(), h(se, { key: 1 }, [
2230
2234
  (f(!0), h(se, null, he(L.value, (E) => (f(), h("div", {
2231
2235
  key: I(E),
2232
- class: H(["dropdown__option", {
2236
+ class: F(["dropdown__option", {
2233
2237
  "dropdown__option--disabled": E.disabled
2234
2238
  }])
2235
2239
  }, [
2236
2240
  k("div", Uo, [
2237
- S.multiple ? (f(), U(rt, {
2241
+ $.multiple ? (f(), U(rt, {
2238
2242
  key: 0,
2239
2243
  customId: `dropdown-checkbox-${I(E)}`,
2240
2244
  "model-value": x.value,
@@ -2251,21 +2255,21 @@ const mo = {
2251
2255
  }, null, 8, ["customId", "model-value", "value", "disabled", "onChange"])),
2252
2256
  k("label", {
2253
2257
  class: "dropdown__option-label",
2254
- for: S.multiple ? `dropdown-checkbox-${I(E)}` : `dropdown-radio-${I(E)}`
2258
+ for: $.multiple ? `dropdown-checkbox-${I(E)}` : `dropdown-radio-${I(E)}`
2255
2259
  }, [
2256
- S.$slots.option ? O("", !0) : (f(), h("span", Qo, q(b(E)), 1)),
2257
- ee(S.$slots, "option", {
2260
+ $.$slots.option ? O("", !0) : (f(), h("span", Qo, q(b(E)), 1)),
2261
+ ee($.$slots, "option", {
2258
2262
  option: E,
2259
- selected: S.multiple ? x.value.includes(M(E)) : A.value === M(E),
2260
- multiple: S.multiple,
2261
- handleSelect: S.multiple ? () => B(E) : () => K(E)
2263
+ selected: $.multiple ? x.value.includes(M(E)) : A.value === M(E),
2264
+ multiple: $.multiple,
2265
+ handleSelect: $.multiple ? () => B(E) : () => K(E)
2262
2266
  }, void 0, !0)
2263
2267
  ], 8, Zo)
2264
2268
  ])
2265
2269
  ], 2))), 128)),
2266
2270
  L.value.length ? O("", !0) : (f(), h("div", Xo, " Ничего не найдено ")),
2267
- S.$slots.footer ? (f(), h("div", Go, [
2268
- ee(S.$slots, "footer", {}, void 0, !0)
2271
+ $.$slots.footer ? (f(), h("div", Go, [
2272
+ ee($.$slots, "footer", {}, void 0, !0)
2269
2273
  ])) : O("", !0)
2270
2274
  ], 64))
2271
2275
  ])
@@ -2273,10 +2277,10 @@ const mo = {
2273
2277
  ]),
2274
2278
  _: 3
2275
2279
  }, 8, ["show", "z-index"]),
2276
- S.error && S.errorText ? (f(), h("small", Jo, q(S.errorText), 1)) : O("", !0)
2280
+ $.error && $.errorText ? (f(), h("small", Jo, q($.errorText), 1)) : O("", !0)
2277
2281
  ], 2));
2278
2282
  }
2279
- }), ta = /* @__PURE__ */ ue(ea, [["__scopeId", "data-v-ca78537d"]]), la = {
2283
+ }), ta = /* @__PURE__ */ ue(ea, [["__scopeId", "data-v-09690791"]]), la = {
2280
2284
  key: 0,
2281
2285
  class: "paginator"
2282
2286
  }, na = ["disabled"], oa = { class: "paginator__pages" }, aa = ["onClick"], sa = ["disabled"], ra = {
@@ -2312,11 +2316,11 @@ const mo = {
2312
2316
  disabled: l.value === 1,
2313
2317
  onClick: s[0] || (s[0] = (u) => l.value--)
2314
2318
  }, [
2315
- j($(Wl))
2319
+ j(S(Wl))
2316
2320
  ], 8, na),
2317
2321
  k("div", oa, [
2318
2322
  (f(!0), h(se, null, he(i.value, (u) => (f(), h("button", {
2319
- class: H(["paginator-button paginator__page", { "paginator-button--active": l.value === u }]),
2323
+ class: F(["paginator-button paginator__page", { "paginator-button--active": l.value === u }]),
2320
2324
  key: u,
2321
2325
  onClick: (r) => l.value = Number(u)
2322
2326
  }, q(u), 11, aa))), 128))
@@ -2326,11 +2330,11 @@ const mo = {
2326
2330
  disabled: l.value === n.value,
2327
2331
  onClick: s[1] || (s[1] = (u) => l.value++)
2328
2332
  }, [
2329
- j($(ml))
2333
+ j(S(ml))
2330
2334
  ], 8, sa),
2331
2335
  a.viewPerPage && t.value ? (f(), h("div", ra, [
2332
2336
  s[3] || (s[3] = k("span", null, "Показывать по", -1)),
2333
- j($(ta), {
2337
+ j(S(ta), {
2334
2338
  modelValue: t.value,
2335
2339
  "onUpdate:modelValue": s[2] || (s[2] = (u) => t.value = u),
2336
2340
  options: o.value,
@@ -2365,7 +2369,7 @@ const mo = {
2365
2369
  return (o, i) => n.value ? (f(), h("tfoot", ca, [
2366
2370
  k("tr", null, [
2367
2371
  k("td", da, [
2368
- o.paginator && l.value ? (f(), U($(ua), {
2372
+ o.paginator && l.value ? (f(), U(S(ua), {
2369
2373
  key: 0,
2370
2374
  "current-page": l.value,
2371
2375
  "onUpdate:currentPage": i[0] || (i[0] = (a) => l.value = a),
@@ -2395,7 +2399,7 @@ const mo = {
2395
2399
  `spinner--${e.size}`
2396
2400
  ]);
2397
2401
  return (o, i) => (f(), h("div", {
2398
- class: H(n.value),
2402
+ class: F(n.value),
2399
2403
  "aria-label": "Loading",
2400
2404
  style: ne(t.value)
2401
2405
  }, [...i[0] || (i[0] = [
@@ -2547,19 +2551,19 @@ const mo = {
2547
2551
  });
2548
2552
  }), (m, w) => g.value ? (f(), h("div", {
2549
2553
  key: 0,
2550
- class: H(C.value),
2554
+ class: F(C.value),
2551
2555
  style: ne(L.value),
2552
2556
  onScroll: v
2553
2557
  }, [
2554
2558
  k("table", {
2555
2559
  ref_key: "tableRef",
2556
2560
  ref: u,
2557
- class: H(V.value)
2561
+ class: F(V.value)
2558
2562
  }, [
2559
2563
  ee(m.$slots, "default", {}, void 0, !0),
2560
2564
  j(ll, {
2561
2565
  size: m.size,
2562
- columns: $(n),
2566
+ columns: S(n),
2563
2567
  isSelectedAll: M.value,
2564
2568
  isIndeterminate: I.value,
2565
2569
  sortMode: m.sortMode,
@@ -2574,7 +2578,7 @@ const mo = {
2574
2578
  size: m.size,
2575
2579
  selectedRows: x.value,
2576
2580
  dataKey: m.dataKey,
2577
- columns: $(n),
2581
+ columns: S(n),
2578
2582
  data: y.value,
2579
2583
  colorHovered: m.rowColorHovered,
2580
2584
  scroller: m.scroller || void 0,
@@ -2585,7 +2589,7 @@ const mo = {
2585
2589
  }, null, 8, ["size", "selectedRows", "dataKey", "columns", "data", "colorHovered", "scroller", "virtualScroll", "rowStyle"])) : m.loading ? (f(), h("tbody", ma, [
2586
2590
  k("tr", null, [
2587
2591
  k("td", {
2588
- colspan: $(n).length,
2592
+ colspan: S(n).length,
2589
2593
  class: "table-loading__cell"
2590
2594
  }, [
2591
2595
  k("div", ga, [
@@ -2597,7 +2601,7 @@ const mo = {
2597
2601
  ])) : (f(), h("tbody", ha, [
2598
2602
  k("tr", null, [
2599
2603
  k("td", {
2600
- colspan: $(n).length,
2604
+ colspan: S(n).length,
2601
2605
  class: "table-empty__cell"
2602
2606
  }, [
2603
2607
  ee(m.$slots, "empty", {}, void 0, !0)
@@ -2620,12 +2624,12 @@ const mo = {
2620
2624
  key: 1,
2621
2625
  ref_key: "tableRef",
2622
2626
  ref: u,
2623
- class: H(V.value)
2627
+ class: F(V.value)
2624
2628
  }, [
2625
2629
  ee(m.$slots, "default", {}, void 0, !0),
2626
2630
  j(ll, {
2627
2631
  size: m.size,
2628
- columns: $(n),
2632
+ columns: S(n),
2629
2633
  isSelectedAll: M.value,
2630
2634
  isIndeterminate: I.value,
2631
2635
  sortMode: m.sortMode,
@@ -2640,7 +2644,7 @@ const mo = {
2640
2644
  size: m.size,
2641
2645
  selectedRows: x.value,
2642
2646
  dataKey: m.dataKey,
2643
- columns: $(n),
2647
+ columns: S(n),
2644
2648
  data: y.value,
2645
2649
  colorHovered: m.rowColorHovered,
2646
2650
  scroller: m.scroller || void 0,
@@ -2651,7 +2655,7 @@ const mo = {
2651
2655
  }, null, 8, ["size", "selectedRows", "dataKey", "columns", "data", "colorHovered", "scroller", "virtualScroll", "rowStyle"])) : m.loading ? (f(), h("tbody", ba, [
2652
2656
  k("tr", null, [
2653
2657
  k("td", {
2654
- colspan: $(n).length,
2658
+ colspan: S(n).length,
2655
2659
  class: "table-loading__cell"
2656
2660
  }, [
2657
2661
  k("div", ka, [
@@ -2663,7 +2667,7 @@ const mo = {
2663
2667
  ])) : (f(), h("tbody", $a, [
2664
2668
  k("tr", null, [
2665
2669
  k("td", {
2666
- colspan: $(n).length,
2670
+ colspan: S(n).length,
2667
2671
  class: "table-empty__cell"
2668
2672
  }, [
2669
2673
  ee(m.$slots, "empty", {}, void 0, !0)
@@ -2736,8 +2740,8 @@ const mo = {
2736
2740
  be(k("input", {
2737
2741
  "onUpdate:modelValue": o[0] || (o[0] = (i) => l.value = i),
2738
2742
  type: "checkbox",
2739
- name: $(t),
2740
- id: $(t),
2743
+ name: S(t),
2744
+ id: S(t),
2741
2745
  value: n.value
2742
2746
  }, null, 8, Va), [
2743
2747
  [cl, l.value]
@@ -2871,10 +2875,10 @@ const mo = {
2871
2875
  const _ = t.multiple ? [] : void 0;
2872
2876
  a.value = "", n("update:modelValue", _), n("change", _), n("clear");
2873
2877
  }
2874
- function S(_) {
2878
+ function $(_) {
2875
2879
  _.disabled || !t.multiple || K(_);
2876
2880
  }
2877
- function F(_) {
2881
+ function H(_) {
2878
2882
  _.disabled || t.multiple || K(_);
2879
2883
  }
2880
2884
  function E() {
@@ -2916,7 +2920,7 @@ const mo = {
2916
2920
  }), xe(() => {
2917
2921
  document.removeEventListener("click", X), window.removeEventListener("resize", E), window.removeEventListener("scroll", E);
2918
2922
  }), (_, D) => (f(), h("div", {
2919
- class: H(["autocomplete", { "autocomplete--disabled": _.disabled }])
2923
+ class: F(["autocomplete", { "autocomplete--disabled": _.disabled }])
2920
2924
  }, [
2921
2925
  _.label ? (f(), h("label", Ia, [
2922
2926
  _.required ? (f(), h("sup", Ta)) : O("", !0),
@@ -2925,7 +2929,7 @@ const mo = {
2925
2929
  k("div", {
2926
2930
  ref_key: "autocompleteTrigger",
2927
2931
  ref: u,
2928
- class: H(["autocomplete__trigger", {
2932
+ class: F(["autocomplete__trigger", {
2929
2933
  "autocomplete__trigger--active": o.value,
2930
2934
  "autocomplete__trigger--multiple": _.multiple,
2931
2935
  "autocomplete__trigger--focused": i.value,
@@ -2934,7 +2938,7 @@ const mo = {
2934
2938
  }, [
2935
2939
  k("div", Pa, [
2936
2940
  _.multiple && g.value.length ? (f(), h("div", Ra, [
2937
- (f(!0), h(se, null, he(L.value, (Y) => (f(), U($(ht), {
2941
+ (f(!0), h(se, null, he(L.value, (Y) => (f(), U(S(ht), {
2938
2942
  key: b(Y),
2939
2943
  removable: "",
2940
2944
  variant: "secondary",
@@ -2945,7 +2949,7 @@ const mo = {
2945
2949
  ]),
2946
2950
  _: 2
2947
2951
  }, 1032, ["onRemove"]))), 128)),
2948
- x.value > 0 ? (f(), U($(ht), {
2952
+ x.value > 0 ? (f(), U(S(ht), {
2949
2953
  key: 0,
2950
2954
  variant: "info"
2951
2955
  }, {
@@ -2971,19 +2975,19 @@ const mo = {
2971
2975
  ])
2972
2976
  ]),
2973
2977
  k("div", {
2974
- class: H(["autocomplete__arrow", { "autocomplete__arrow--rotated": o.value }])
2978
+ class: F(["autocomplete__arrow", { "autocomplete__arrow--rotated": o.value }])
2975
2979
  }, [
2976
- j($(yt))
2980
+ j(S(yt))
2977
2981
  ], 2),
2978
2982
  _.clearable && (V.value || a.value) ? (f(), h("button", {
2979
2983
  key: 0,
2980
2984
  class: "autocomplete__clear",
2981
2985
  onClick: ge(Q, ["stop"])
2982
2986
  }, [
2983
- j($(tt))
2987
+ j(S(tt))
2984
2988
  ])) : O("", !0)
2985
2989
  ], 2),
2986
- j($(bt), {
2990
+ j(S(bt), {
2987
2991
  show: o.value,
2988
2992
  "z-index": y.value
2989
2993
  }, {
@@ -3000,7 +3004,7 @@ const mo = {
3000
3004
  _.loading ? (f(), h("div", Oa, " Загрузка... ")) : (f(), h(se, { key: 1 }, [
3001
3005
  (f(!0), h(se, null, he(A.value, (Y, G) => (f(), h("div", {
3002
3006
  key: b(Y),
3003
- class: H(["autocomplete__option", {
3007
+ class: F(["autocomplete__option", {
3004
3008
  "autocomplete__option--disabled": Y.disabled,
3005
3009
  "autocomplete__option--highlighted": G === s.value
3006
3010
  }]),
@@ -3011,14 +3015,14 @@ const mo = {
3011
3015
  key: 0,
3012
3016
  onMousedown: D[1] || (D[1] = ge(() => {
3013
3017
  }, ["prevent"])),
3014
- onClick: ge((Z) => S(Y), ["stop"])
3018
+ onClick: ge((Z) => $(Y), ["stop"])
3015
3019
  }, [
3016
3020
  j(rt, {
3017
3021
  "model-value": M.value,
3018
3022
  value: b(Y),
3019
3023
  label: d(Y),
3020
3024
  disabled: Y.disabled,
3021
- onChange: (Z) => S(Y)
3025
+ onChange: (Z) => $(Y)
3022
3026
  }, null, 8, ["model-value", "value", "label", "disabled", "onChange"])
3023
3027
  ], 40, Da)) : (f(), U(Ht, {
3024
3028
  key: 1,
@@ -3026,7 +3030,7 @@ const mo = {
3026
3030
  value: b(Y),
3027
3031
  label: d(Y),
3028
3032
  disabled: Y.disabled,
3029
- onChange: (Z) => F(Y)
3033
+ onChange: (Z) => H(Y)
3030
3034
  }, null, 8, ["model-value", "value", "label", "disabled", "onChange"]))
3031
3035
  ], 42, Ba))), 128)),
3032
3036
  !A.value.length && a.value.length >= _.minQueryLength ? (f(), h("div", Ea, " Ничего не найдено ")) : O("", !0)
@@ -3089,7 +3093,7 @@ const mo = {
3089
3093
  console.log(e.required);
3090
3094
  }
3091
3095
  ), (r, c) => (f(), h("div", {
3092
- class: H(a.value)
3096
+ class: F(a.value)
3093
3097
  }, [
3094
3098
  r.label ? (f(), h("label", {
3095
3099
  key: 0,
@@ -3125,7 +3129,7 @@ const mo = {
3125
3129
  class: "input__clear",
3126
3130
  onClick: u
3127
3131
  }, [
3128
- j($(nt))
3132
+ j(S(nt))
3129
3133
  ])) : O("", !0),
3130
3134
  r.type === "password" ? (f(), h("button", {
3131
3135
  key: 1,
@@ -3133,7 +3137,7 @@ const mo = {
3133
3137
  class: "input__eye",
3134
3138
  onClick: c[5] || (c[5] = ge((v) => i.value = !i.value, ["prevent"]))
3135
3139
  }, [
3136
- i.value ? (f(), U($(nn), { key: 0 })) : (f(), U($(Yl), { key: 1 }))
3140
+ i.value ? (f(), U(S(nn), { key: 0 })) : (f(), U(S(Yl), { key: 1 }))
3137
3141
  ])) : O("", !0)
3138
3142
  ])
3139
3143
  ]),
@@ -3210,10 +3214,10 @@ function ja(e, l) {
3210
3214
  continue;
3211
3215
  }
3212
3216
  let z = !1, Q = 0;
3213
- for (let S = 0; S < w.length; S++)
3214
- if (c(w[S])) {
3217
+ for (let $ = 0; $ < w.length; $++)
3218
+ if (c(w[$])) {
3215
3219
  if (Q === P.length) {
3216
- v(N, w[S]) && (P += N, z = !0);
3220
+ v(N, w[$]) && (P += N, z = !0);
3217
3221
  break;
3218
3222
  }
3219
3223
  Q++;
@@ -3245,19 +3249,19 @@ function ja(e, l) {
3245
3249
  a.value = P, e.value = w, fe(() => {
3246
3250
  const { required: B, optional: K } = r(t), N = B + K;
3247
3251
  let z = 0, Q = 0;
3248
- for (let S = 0; S < N.length; S++)
3249
- if (c(N[S]))
3252
+ for (let $ = 0; $ < N.length; $++)
3253
+ if (c(N[$]))
3250
3254
  if (Q < w.length)
3251
3255
  Q++;
3252
3256
  else {
3253
- z = S;
3257
+ z = $;
3254
3258
  break;
3255
3259
  }
3256
3260
  if (Q === w.length && w.length > 0) {
3257
3261
  Q = 0;
3258
- for (let S = 0; S < N.length; S++)
3259
- if (c(N[S]) && (Q++, Q === w.length)) {
3260
- z = S + 1;
3262
+ for (let $ = 0; $ < N.length; $++)
3263
+ if (c(N[$]) && (Q++, Q === w.length)) {
3264
+ z = $ + 1;
3261
3265
  break;
3262
3266
  }
3263
3267
  }
@@ -3271,19 +3275,19 @@ function ja(e, l) {
3271
3275
  a.value = P, e.value = w;
3272
3276
  const { required: B, optional: K } = r(t), N = B + K;
3273
3277
  let z = 0, Q = 0;
3274
- for (let S = 0; S < N.length; S++)
3275
- if (c(N[S]))
3278
+ for (let $ = 0; $ < N.length; $++)
3279
+ if (c(N[$]))
3276
3280
  if (Q < w.length)
3277
3281
  Q++;
3278
3282
  else {
3279
- z = S;
3283
+ z = $;
3280
3284
  break;
3281
3285
  }
3282
3286
  if (Q === w.length && w.length > 0) {
3283
3287
  Q = 0;
3284
- for (let S = 0; S < N.length; S++)
3285
- if (c(N[S]) && (Q++, Q === w.length)) {
3286
- z = S + 1;
3288
+ for (let $ = 0; $ < N.length; $++)
3289
+ if (c(N[$]) && (Q++, Q === w.length)) {
3290
+ z = $ + 1;
3287
3291
  break;
3288
3292
  }
3289
3293
  }
@@ -3296,8 +3300,8 @@ function ja(e, l) {
3296
3300
  if (b.metaKey || b.ctrlKey)
3297
3301
  return;
3298
3302
  b.preventDefault();
3299
- const S = d.selectionStart || 0, F = d.selectionEnd || 0;
3300
- if (S !== F) {
3303
+ const $ = d.selectionStart || 0, H = d.selectionEnd || 0;
3304
+ if ($ !== H) {
3301
3305
  a.value = p(""), e.value = "", fe(() => {
3302
3306
  const { required: X, optional: _ } = r(t), D = X + _;
3303
3307
  let Y = 0;
@@ -3339,8 +3343,8 @@ function ja(e, l) {
3339
3343
  if (b.metaKey || b.ctrlKey)
3340
3344
  return;
3341
3345
  b.preventDefault();
3342
- const S = d.selectionStart || 0, F = d.selectionEnd || 0;
3343
- if (S !== F) {
3346
+ const $ = d.selectionStart || 0, H = d.selectionEnd || 0;
3347
+ if ($ !== H) {
3344
3348
  a.value = p(""), e.value = "", fe(() => {
3345
3349
  const { required: X, optional: _ } = r(t), D = X + _;
3346
3350
  let Y = 0;
@@ -3383,16 +3387,16 @@ function ja(e, l) {
3383
3387
  }
3384
3388
  if (b.metaKey || b.ctrlKey || ["ArrowLeft", "ArrowRight", "Tab", "Home", "End", "Escape"].includes(b.key))
3385
3389
  return;
3386
- const { required: w, optional: P } = r(t), B = w + P, K = g(a.value), N = B.split("").filter((S) => c(S)).length;
3390
+ const { required: w, optional: P } = r(t), B = w + P, K = g(a.value), N = B.split("").filter(($) => c($)).length;
3387
3391
  if (K.length >= N) {
3388
3392
  b.preventDefault();
3389
3393
  return;
3390
3394
  }
3391
3395
  let z = -1, Q = 0;
3392
- for (let S = 0; S < B.length; S++)
3393
- if (c(B[S])) {
3396
+ for (let $ = 0; $ < B.length; $++)
3397
+ if (c(B[$])) {
3394
3398
  if (Q === K.length) {
3395
- z = S;
3399
+ z = $;
3396
3400
  break;
3397
3401
  }
3398
3402
  Q++;
@@ -3470,18 +3474,18 @@ const mi = /* @__PURE__ */ W({
3470
3474
  autoClear: l.autoClear,
3471
3475
  definitions: l.definitions
3472
3476
  });
3473
- return (c, v) => (f(), U($(Ft), {
3474
- modelValue: $(n),
3477
+ return (c, v) => (f(), U(S(Ft), {
3478
+ modelValue: S(n),
3475
3479
  "onUpdate:modelValue": v[0] || (v[0] = (p) => El(n) ? n.value = p : null),
3476
3480
  label: c.label,
3477
- placeholder: $(r),
3481
+ placeholder: S(r),
3478
3482
  error: c.error,
3479
3483
  "error-text": c.errorText,
3480
- onInput: $(o),
3481
- onPaste: $(i),
3482
- onKeydown: $(a),
3483
- onFocus: $(s),
3484
- onBlur: $(u)
3484
+ onInput: S(o),
3485
+ onPaste: S(i),
3486
+ onKeydown: S(a),
3487
+ onFocus: S(s),
3488
+ onBlur: S(u)
3485
3489
  }, null, 8, ["modelValue", "label", "placeholder", "error", "error-text", "onInput", "onPaste", "onKeydown", "onFocus", "onBlur"]));
3486
3490
  }
3487
3491
  }), Ua = { class: "icon-field__content" }, pi = /* @__PURE__ */ W({
@@ -3500,7 +3504,7 @@ const mi = /* @__PURE__ */ W({
3500
3504
  }
3501
3505
  ]);
3502
3506
  return (t, n) => (f(), h("div", {
3503
- class: H(l.value)
3507
+ class: F(l.value)
3504
3508
  }, [
3505
3509
  (f(), U(Pe(t.icon), { class: "icon-field__icon" })),
3506
3510
  k("div", Ua, [
@@ -3562,12 +3566,12 @@ const mi = /* @__PURE__ */ W({
3562
3566
  const c = e.countInPackage || e.min;
3563
3567
  r < c && (r = c), e.max && r > e.max && (r = e.max), e.countInPackage && r % e.countInPackage !== 0 && (r = Math.floor(r / e.countInPackage) * e.countInPackage + e.countInPackage), r !== t.value && (t.value = r, n("change", r)), o.value = e.formatter ? e.formatter(t.value) : t.value;
3564
3568
  }), (r, c) => (f(), h("div", {
3565
- class: H(u.value)
3569
+ class: F(u.value)
3566
3570
  }, [
3567
- r.viewButtons ? (f(), U($(Ce), {
3571
+ r.viewButtons ? (f(), U(S(Ce), {
3568
3572
  key: 0,
3569
3573
  "button-style": "contrast",
3570
- icon: $(jl),
3574
+ icon: S(jl),
3571
3575
  class: "input-number__button input-number__button--decrement",
3572
3576
  "icon-only": "",
3573
3577
  size: "small",
@@ -3590,10 +3594,10 @@ const mi = /* @__PURE__ */ W({
3590
3594
  [ze, o.value]
3591
3595
  ])
3592
3596
  ]),
3593
- r.viewButtons ? (f(), U($(Ce), {
3597
+ r.viewButtons ? (f(), U(S(Ce), {
3594
3598
  key: 1,
3595
3599
  "button-style": "contrast",
3596
- icon: $(fl),
3600
+ icon: S(fl),
3597
3601
  class: "input-number__button input-number__button--increment",
3598
3602
  "icon-only": "",
3599
3603
  size: "small",
@@ -3636,7 +3640,7 @@ const mi = /* @__PURE__ */ W({
3636
3640
  t.value = o(u), s.target.value = t.value;
3637
3641
  });
3638
3642
  }
3639
- return (s, u) => (f(), U($(Ft), {
3643
+ return (s, u) => (f(), U(S(Ft), {
3640
3644
  modelValue: t.value,
3641
3645
  "onUpdate:modelValue": u[0] || (u[0] = (r) => t.value = r),
3642
3646
  placeholder: "7 (999) 999-99-99",
@@ -3667,11 +3671,11 @@ const mi = /* @__PURE__ */ W({
3667
3671
  return me(() => {
3668
3672
  console.log(l.value), e.variant === "tabs" && e.options.length > 0 && !l.value && (l.value = typeof e.options[0] == "object" ? e.optionValue ? e.options[0][e.optionValue] : e.options[0].value : e.options[0]);
3669
3673
  }), (i, a) => (f(), h("div", {
3670
- class: H(t.value)
3674
+ class: F(t.value)
3671
3675
  }, [
3672
3676
  k("div", Xa, [
3673
3677
  (f(!0), h(se, null, he(i.options, (s) => (f(), h("button", {
3674
- class: H([
3678
+ class: F([
3675
3679
  "select-buttons__item",
3676
3680
  {
3677
3681
  "select-buttons__item--selected": n(s)
@@ -3697,7 +3701,7 @@ const mi = /* @__PURE__ */ W({
3697
3701
  const t = ie(e, "modelValue"), n = l, o = at();
3698
3702
  return (i, a) => (f(), h("div", es, [
3699
3703
  k("div", {
3700
- class: H([
3704
+ class: F([
3701
3705
  "switch",
3702
3706
  {
3703
3707
  "switch--disabled": i.disabled
@@ -3708,7 +3712,7 @@ const mi = /* @__PURE__ */ W({
3708
3712
  "onUpdate:modelValue": a[0] || (a[0] = (s) => t.value = s),
3709
3713
  type: "checkbox",
3710
3714
  name: "switch",
3711
- id: $(o),
3715
+ id: S(o),
3712
3716
  class: "switch__input",
3713
3717
  disabled: i.disabled,
3714
3718
  onChange: a[1] || (a[1] = (s) => n("change"))
@@ -3722,7 +3726,7 @@ const mi = /* @__PURE__ */ W({
3722
3726
  i.label ? (f(), h("label", {
3723
3727
  key: 0,
3724
3728
  class: "switch__label",
3725
- for: $(o)
3729
+ for: S(o)
3726
3730
  }, q(i.label), 9, ls)) : O("", !0)
3727
3731
  ]));
3728
3732
  }
@@ -3777,7 +3781,7 @@ const mi = /* @__PURE__ */ W({
3777
3781
  (f(!0), h(se, null, he(r.maxStars, (v) => (f(), h("button", {
3778
3782
  key: v,
3779
3783
  type: "button",
3780
- class: H(["star-button", { "star-button--active": v <= t.value }]),
3784
+ class: F(["star-button", { "star-button--active": v <= t.value }]),
3781
3785
  onClick: (p) => a(v),
3782
3786
  onMouseenter: (p) => s(v),
3783
3787
  onMouseleave: u,
@@ -3849,11 +3853,11 @@ const mi = /* @__PURE__ */ W({
3849
3853
  }
3850
3854
  ]);
3851
3855
  return (u, r) => (f(), h("div", {
3852
- class: H(s.value)
3856
+ class: F(s.value)
3853
3857
  }, [
3854
3858
  u.label ? (f(), h("label", {
3855
3859
  key: 0,
3856
- for: u.inputId ?? $(i),
3860
+ for: u.inputId ?? S(i),
3857
3861
  class: "textarea__label"
3858
3862
  }, [
3859
3863
  u.required ? (f(), h("sup", rs, "*")) : O("", !0),
@@ -3866,7 +3870,7 @@ const mi = /* @__PURE__ */ W({
3866
3870
  ref: o,
3867
3871
  class: "textarea__field",
3868
3872
  maxlength: u.maxlength,
3869
- id: u.inputId ?? $(i),
3873
+ id: u.inputId ?? S(i),
3870
3874
  placeholder: u.placeholder,
3871
3875
  name: u.name,
3872
3876
  disabled: u.disabled,
@@ -3886,13 +3890,13 @@ const mi = /* @__PURE__ */ W({
3886
3890
  class: "textarea__wrapper-clear",
3887
3891
  onClick: r[4] || (r[4] = (c) => n.value = "")
3888
3892
  }, [
3889
- j($(nt))
3893
+ j(S(nt))
3890
3894
  ])) : O("", !0)
3891
3895
  ]),
3892
3896
  k("div", cs, [
3893
3897
  u.smallText || u.error && u.errorText ? (f(), h("div", {
3894
3898
  key: 0,
3895
- class: H(["textarea__small", { "textarea__small--error": u.error }])
3899
+ class: F(["textarea__small", { "textarea__small--error": u.error }])
3896
3900
  }, q(u.error ? u.errorText : u.smallText), 3)) : O("", !0),
3897
3901
  u.maxlength ? (f(), h("div", ds, q(n.value ? n.value.length : 0) + " / " + q(u.maxlength), 1)) : O("", !0)
3898
3902
  ])
@@ -4276,50 +4280,50 @@ const $s = {
4276
4280
  s.value = { from: d.value, to: "" }, u.value = !0;
4277
4281
  };
4278
4282
  return (d, m) => (f(), h("div", {
4279
- class: H(M.value)
4283
+ class: F(M.value)
4280
4284
  }, [
4281
4285
  p.value ? (f(), h("div", $s, [
4282
4286
  k("div", Ss, [
4283
- j($(Ce), {
4287
+ j(S(Ce), {
4284
4288
  size: "small",
4285
4289
  "icon-only": "",
4286
- icon: $(Ql),
4290
+ icon: S(Ql),
4287
4291
  variant: "secondary",
4288
4292
  "button-style": "outlined",
4289
4293
  disabled: A.value === "month",
4290
- onClick: $(C)
4294
+ onClick: S(C)
4291
4295
  }, null, 8, ["icon", "disabled", "onClick"]),
4292
4296
  k("div", Cs, [
4293
- A.value === "day" ? (f(), U($(Ce), {
4297
+ A.value === "day" ? (f(), U(S(Ce), {
4294
4298
  key: 0,
4295
4299
  variant: "link",
4296
4300
  onClick: m[0] || (m[0] = (w) => A.value = "month")
4297
4301
  }, {
4298
4302
  default: oe(() => [
4299
- ve(q($(V).month), 1)
4303
+ ve(q(S(V).month), 1)
4300
4304
  ]),
4301
4305
  _: 1
4302
4306
  })) : O("", !0),
4303
- A.value !== "year" ? (f(), U($(Ce), {
4307
+ A.value !== "year" ? (f(), U(S(Ce), {
4304
4308
  key: 1,
4305
4309
  variant: "link",
4306
4310
  onClick: m[1] || (m[1] = (w) => A.value = "year")
4307
4311
  }, {
4308
4312
  default: oe(() => [
4309
- ve(q($(V).year), 1)
4313
+ ve(q(S(V).year), 1)
4310
4314
  ]),
4311
4315
  _: 1
4312
4316
  })) : O("", !0),
4313
- A.value === "year" ? (f(), h("span", _s, q($(V).year_range), 1)) : O("", !0)
4317
+ A.value === "year" ? (f(), h("span", _s, q(S(V).year_range), 1)) : O("", !0)
4314
4318
  ]),
4315
- j($(Ce), {
4319
+ j(S(Ce), {
4316
4320
  size: "small",
4317
4321
  "icon-only": "",
4318
- icon: $(Xl),
4322
+ icon: S(Xl),
4319
4323
  variant: "secondary",
4320
4324
  "button-style": "outlined",
4321
4325
  disabled: A.value === "month",
4322
- onClick: $(L)
4326
+ onClick: S(L)
4323
4327
  }, null, 8, ["icon", "disabled", "onClick"])
4324
4328
  ]),
4325
4329
  k("div", Vs, [
@@ -4327,9 +4331,9 @@ const $s = {
4327
4331
  zl('<div class="calendar__body-header__item" data-v-42b07d33><span data-v-42b07d33>Пн</span></div><div class="calendar__body-header__item" data-v-42b07d33><span data-v-42b07d33>Вт</span></div><div class="calendar__body-header__item" data-v-42b07d33><span data-v-42b07d33>Ср</span></div><div class="calendar__body-header__item" data-v-42b07d33><span data-v-42b07d33>Чт</span></div><div class="calendar__body-header__item" data-v-42b07d33><span data-v-42b07d33>Пт</span></div><div class="calendar__body-header__item" data-v-42b07d33><span data-v-42b07d33>Сб</span></div><div class="calendar__body-header__item" data-v-42b07d33><span data-v-42b07d33>Вс</span></div>', 7)
4328
4332
  ])])) : O("", !0),
4329
4333
  k("div", Is, [
4330
- (f(!0), h(se, null, he($(g), (w) => (f(), h("button", {
4334
+ (f(!0), h(se, null, he(S(g), (w) => (f(), h("button", {
4331
4335
  key: w.value,
4332
- class: H(I(w)),
4336
+ class: F(I(w)),
4333
4337
  disabled: w.disabled,
4334
4338
  onClick: (P) => b(w)
4335
4339
  }, [
@@ -4509,8 +4513,8 @@ const Os = /* @__PURE__ */ W({
4509
4513
  ], K = [];
4510
4514
  let N = 0;
4511
4515
  return w = w.replace(/'([^']*)'/g, (z, Q) => {
4512
- const S = `__LITERAL_${N}__`;
4513
- return K[N] = Q, N++, S;
4516
+ const $ = `__LITERAL_${N}__`;
4517
+ return K[N] = Q, N++, $;
4514
4518
  }), w = w.replace(/''/g, "'"), B.forEach(([z, Q]) => {
4515
4519
  w = w.replace(z, Q);
4516
4520
  }), K.forEach((z, Q) => {
@@ -4617,7 +4621,7 @@ const Os = /* @__PURE__ */ W({
4617
4621
  ref: r,
4618
4622
  class: "date-picker__input"
4619
4623
  }, [
4620
- j($(Ft), {
4624
+ j(S(Ft), {
4621
4625
  full: "",
4622
4626
  label: d.label,
4623
4627
  placeholder: d.placeholder,
@@ -4640,13 +4644,13 @@ const Os = /* @__PURE__ */ W({
4640
4644
  ref_key: "popoverRef",
4641
4645
  ref: c,
4642
4646
  class: "date-picker__popover",
4643
- style: ne({ ...p.value, zIndex: Math.max($(V)?.zIndex || 1100, 9999) })
4647
+ style: ne({ ...p.value, zIndex: Math.max(S(V)?.zIndex || 1100, 9999) })
4644
4648
  }, [
4645
4649
  k("div", {
4646
4650
  onMousedown: m[1] || (m[1] = ge(() => {
4647
4651
  }, ["stop"]))
4648
4652
  }, [
4649
- j($(Ms), {
4653
+ j(S(Ms), {
4650
4654
  modelValue: g.value,
4651
4655
  "onUpdate:modelValue": [
4652
4656
  m[0] || (m[0] = (w) => g.value = w),
@@ -4741,7 +4745,7 @@ const Os = /* @__PURE__ */ W({
4741
4745
  n("blur", g);
4742
4746
  };
4743
4747
  return (g, V) => (f(), h("div", {
4744
- class: H(u.value)
4748
+ class: F(u.value)
4745
4749
  }, [
4746
4750
  g.label ? (f(), h("label", Bs, [
4747
4751
  g.required ? (f(), h("sup", Ds, "*")) : O("", !0),
@@ -4788,12 +4792,12 @@ const Os = /* @__PURE__ */ W({
4788
4792
  (f(!0), h(se, null, he(t.items, (o, i) => (f(), h(se, null, [
4789
4793
  o.command ? (f(), h("button", {
4790
4794
  key: 0,
4791
- class: H(["breadcrumb__item", { "breadcrumb__item--disabled": !o.command || o.disabled }]),
4795
+ class: F(["breadcrumb__item", { "breadcrumb__item--disabled": !o.command || o.disabled }]),
4792
4796
  onClick: (a) => o.command()
4793
4797
  }, q(o.label), 11, Fs)) : (f(), U(Pe(l(o)), {
4794
4798
  key: 1,
4795
4799
  to: o.url,
4796
- class: H(["breadcrumb__item", { "breadcrumb__item--disabled": o.disabled || !o.url }])
4800
+ class: F(["breadcrumb__item", { "breadcrumb__item--disabled": o.disabled || !o.url }])
4797
4801
  }, {
4798
4802
  default: oe(() => [
4799
4803
  ve(q(o.label), 1)
@@ -4830,7 +4834,7 @@ const Os = /* @__PURE__ */ W({
4830
4834
  return me(() => {
4831
4835
  e.msg.life && (s.value = e.msg.life, u());
4832
4836
  }), (p, y) => (f(), h("div", {
4833
- class: H(i.value)
4837
+ class: F(i.value)
4834
4838
  }, [
4835
4839
  k("div", qs, [
4836
4840
  (f(), U(Pe(o.value)))
@@ -4847,7 +4851,7 @@ const Os = /* @__PURE__ */ W({
4847
4851
  class: "toast-message__close",
4848
4852
  onClick: c
4849
4853
  }, [
4850
- j($(tt))
4854
+ j(S(tt))
4851
4855
  ])
4852
4856
  ], 2));
4853
4857
  }
@@ -4943,7 +4947,7 @@ const xi = {
4943
4947
  info: Oe(tn)
4944
4948
  });
4945
4949
  return (o, i) => (f(), h("div", {
4946
- class: H(t.value)
4950
+ class: F(t.value)
4947
4951
  }, [
4948
4952
  k("div", Zs, [
4949
4953
  (f(), U(Pe(n[l.type])))
@@ -4975,7 +4979,7 @@ const xi = {
4975
4979
  }
4976
4980
  ]);
4977
4981
  return (t, n) => (f(), h("div", {
4978
- class: H(l.value)
4982
+ class: F(l.value)
4979
4983
  }, [
4980
4984
  t.value ? (f(), h("div", Gs, q(t.value), 1)) : O("", !0)
4981
4985
  ], 2));
@@ -4998,9 +5002,9 @@ const xi = {
4998
5002
  top: `${e.offset.y}px`
4999
5003
  });
5000
5004
  return (t, n) => (f(), h("div", {
5001
- class: H(["overlay-badge", { [`overlay-badge--${t.position}`]: t.position }])
5005
+ class: F(["overlay-badge", { [`overlay-badge--${t.position}`]: t.position }])
5002
5006
  }, [
5003
- t.viewBadge ? (f(), U($(Js), {
5007
+ t.viewBadge ? (f(), U(S(Js), {
5004
5008
  key: 0,
5005
5009
  value: t.value,
5006
5010
  variant: t.variant,
@@ -5033,7 +5037,7 @@ const xi = {
5033
5037
  borderRadius: typeof e.borderRadius == "string" ? e.borderRadius : `${e.borderRadius}px`
5034
5038
  }));
5035
5039
  return (n, o) => (f(), h("div", {
5036
- class: H(l.value),
5040
+ class: F(l.value),
5037
5041
  style: ne(t.value)
5038
5042
  }, null, 6));
5039
5043
  }
@@ -5106,41 +5110,41 @@ const xi = {
5106
5110
  }), (u, r) => (f(), U(Ee, { to: "body" }, [
5107
5111
  j(Ie, { name: "confirm-dialog" }, {
5108
5112
  default: oe(() => [
5109
- $(ce) ? (f(), h("div", {
5113
+ S(ce) ? (f(), h("div", {
5110
5114
  key: 0,
5111
- class: H(["confirm-dialog-overlay", { "confirm-dialog-overlay--modal": !0 }]),
5115
+ class: F(["confirm-dialog-overlay", { "confirm-dialog-overlay--modal": !0 }]),
5112
5116
  onClick: a,
5113
- style: ne({ zIndex: $(n)?.zIndex })
5117
+ style: ne({ zIndex: S(n)?.zIndex })
5114
5118
  }, [
5115
5119
  k("div", {
5116
5120
  ref: "popupRef",
5117
- class: H(["confirm-dialog", [`confirm-dialog--${$(ce).position}`, $(ce).class]]),
5121
+ class: F(["confirm-dialog", [`confirm-dialog--${S(ce).position}`, S(ce).class]]),
5118
5122
  onClick: r[2] || (r[2] = ge(() => {
5119
5123
  }, ["stop"])),
5120
- style: ne($(ce).style)
5124
+ style: ne(S(ce).style)
5121
5125
  }, [
5122
- $(ce).header ? (f(), h("div", lr, [
5123
- k("h4", nr, q($(ce).header), 1)
5126
+ S(ce).header ? (f(), h("div", lr, [
5127
+ k("h4", nr, q(S(ce).header), 1)
5124
5128
  ])) : O("", !0),
5125
- $(ce).message ? (f(), h("p", or, q($(ce).message), 1)) : O("", !0),
5129
+ S(ce).message ? (f(), h("p", or, q(S(ce).message), 1)) : O("", !0),
5126
5130
  k("div", ar, [
5127
- j($(Ce), {
5131
+ j(S(Ce), {
5128
5132
  size: "small",
5129
5133
  variant: "danger",
5130
5134
  buttonStyle: "contrast",
5131
5135
  onClick: r[0] || (r[0] = () => i())
5132
5136
  }, {
5133
5137
  default: oe(() => [
5134
- ve(q($(ce).rejectProps ? $(ce).rejectProps.label : "Нет"), 1)
5138
+ ve(q(S(ce).rejectProps ? S(ce).rejectProps.label : "Нет"), 1)
5135
5139
  ]),
5136
5140
  _: 1
5137
5141
  }),
5138
- j($(Ce), {
5142
+ j(S(Ce), {
5139
5143
  size: "small",
5140
5144
  onClick: r[1] || (r[1] = () => o())
5141
5145
  }, {
5142
5146
  default: oe(() => [
5143
- ve(q($(ce).acceptProps ? $(ce).acceptProps.label : "Да"), 1)
5147
+ ve(q(S(ce).acceptProps ? S(ce).acceptProps.label : "Да"), 1)
5144
5148
  ]),
5145
5149
  _: 1
5146
5150
  })
@@ -5257,45 +5261,45 @@ const xi = {
5257
5261
  }), (y, g) => (f(), U(Ee, { to: "body" }, [
5258
5262
  j(Ie, { name: "confirm" }, {
5259
5263
  default: oe(() => [
5260
- $(de) ? (f(), h("div", {
5264
+ S(de) ? (f(), h("div", {
5261
5265
  key: 0,
5262
5266
  class: "confirm-overlay",
5263
5267
  onClick: r,
5264
- style: ne({ zIndex: $(o)?.zIndex })
5268
+ style: ne({ zIndex: S(o)?.zIndex })
5265
5269
  }, [
5266
5270
  k("div", {
5267
5271
  ref_key: "popupRef",
5268
5272
  ref: l,
5269
- class: H(["confirm-popup", i.value]),
5273
+ class: F(["confirm-popup", i.value]),
5270
5274
  onClick: g[0] || (g[0] = ge(() => {
5271
5275
  }, ["stop"])),
5272
5276
  style: ne(t.value)
5273
5277
  }, [
5274
5278
  k("div", {
5275
- class: H(["confirm-popup__arrow", a.value])
5279
+ class: F(["confirm-popup__arrow", a.value])
5276
5280
  }, null, 2),
5277
- $(de).header ? (f(), h("div", rr, [
5278
- k("h4", ir, q($(de).header), 1)
5281
+ S(de).header ? (f(), h("div", rr, [
5282
+ k("h4", ir, q(S(de).header), 1)
5279
5283
  ])) : O("", !0),
5280
- $(de).message ? (f(), h("p", ur, q($(de).message), 1)) : O("", !0),
5284
+ S(de).message ? (f(), h("p", ur, q(S(de).message), 1)) : O("", !0),
5281
5285
  k("div", cr, [
5282
- j($(Ce), {
5286
+ j(S(Ce), {
5283
5287
  size: "small",
5284
5288
  variant: "danger",
5285
5289
  buttonStyle: "contrast",
5286
5290
  onClick: r
5287
5291
  }, {
5288
5292
  default: oe(() => [
5289
- ve(q($(de).rejectProps ? $(de).rejectProps.label : "Нет"), 1)
5293
+ ve(q(S(de).rejectProps ? S(de).rejectProps.label : "Нет"), 1)
5290
5294
  ]),
5291
5295
  _: 1
5292
5296
  }),
5293
- j($(Ce), {
5297
+ j(S(Ce), {
5294
5298
  size: "small",
5295
5299
  onClick: u
5296
5300
  }, {
5297
5301
  default: oe(() => [
5298
- ve(q($(de).acceptProps ? $(de).acceptProps.label : "Да"), 1)
5302
+ ve(q(S(de).acceptProps ? S(de).acceptProps.label : "Да"), 1)
5299
5303
  ]),
5300
5304
  _: 1
5301
5305
  })
@@ -5348,15 +5352,15 @@ const xi = {
5348
5352
  default: oe(() => [
5349
5353
  i.value ? (f(), h("div", {
5350
5354
  key: 0,
5351
- class: H(["drawer", { [`drawer--${p.position}`]: p.position }]),
5352
- style: ne({ zIndex: $(a)?.zIndex })
5355
+ class: F(["drawer", { [`drawer--${p.position}`]: p.position }]),
5356
+ style: ne({ zIndex: S(a)?.zIndex })
5353
5357
  }, [
5354
5358
  k("div", {
5355
5359
  class: "drawer-overlay",
5356
5360
  onClick: y[0] || (y[0] = (g) => c())
5357
5361
  }),
5358
5362
  k("div", {
5359
- class: H(["drawer-wrapper", { "drawer-wrapper--no-style": p.wrapperNoStyle }]),
5363
+ class: F(["drawer-wrapper", { "drawer-wrapper--no-style": p.wrapperNoStyle }]),
5360
5364
  style: ne(s.value)
5361
5365
  }, [
5362
5366
  k("div", {
@@ -5364,7 +5368,7 @@ const xi = {
5364
5368
  onClick: y[1] || (y[1] = (g) => c())
5365
5369
  }, [
5366
5370
  k("button", null, [
5367
- j($(nt))
5371
+ j(S(nt))
5368
5372
  ])
5369
5373
  ]),
5370
5374
  k("div", fr, [
@@ -5375,7 +5379,7 @@ const xi = {
5375
5379
  k("button", {
5376
5380
  onClick: y[2] || (y[2] = (g) => c())
5377
5381
  }, [
5378
- j($(nt))
5382
+ j(S(nt))
5379
5383
  ])
5380
5384
  ])
5381
5385
  ]),
@@ -5409,15 +5413,14 @@ const xi = {
5409
5413
  n,
5410
5414
  () => {
5411
5415
  n.value ? a() : i();
5412
- },
5413
- { immediate: !0 }
5416
+ }
5414
5417
  ), (r, c) => (f(), U(Ee, { to: "body" }, [
5415
5418
  j(Ie, { name: "modal-content-fade" }, {
5416
5419
  default: oe(() => [
5417
5420
  n.value ? (f(), h("div", {
5418
5421
  key: 0,
5419
- class: H(s.value),
5420
- style: ne({ zIndex: $(l)?.zIndex })
5422
+ class: F(s.value),
5423
+ style: ne({ zIndex: S(l)?.zIndex })
5421
5424
  }, [
5422
5425
  k("div", {
5423
5426
  class: "modal__overlay",
@@ -5435,7 +5438,7 @@ const xi = {
5435
5438
  class: "modal__header-close",
5436
5439
  onClick: c[1] || (c[1] = (v) => n.value = !1)
5437
5440
  }, [
5438
- j($(tt))
5441
+ j(S(tt))
5439
5442
  ])
5440
5443
  ]),
5441
5444
  k("div", hr, [
@@ -5512,7 +5515,7 @@ const xi = {
5512
5515
  l.value ? (f(), h("div", {
5513
5516
  key: 0,
5514
5517
  class: "bottom-sheet",
5515
- style: ne({ zIndex: $(t)?.zIndex })
5518
+ style: ne({ zIndex: S(t)?.zIndex })
5516
5519
  }, [
5517
5520
  k("div", {
5518
5521
  class: "bottom-sheet__overlay",
@@ -5588,7 +5591,7 @@ const xi = {
5588
5591
  }).observe(t.value);
5589
5592
  }), (i, a) => (f(), h("div", {
5590
5593
  class: "accordion-content-wrapper",
5591
- style: ne({ height: $(l) ? n.value : "0px" })
5594
+ style: ne({ height: S(l) ? n.value : "0px" })
5592
5595
  }, [
5593
5596
  be(k("div", {
5594
5597
  ref_key: "contentRef",
@@ -5606,15 +5609,15 @@ const xi = {
5606
5609
  setup(e) {
5607
5610
  const l = ye("panelIsOpen"), t = ye("panelToggle"), n = ye("accordionStyle");
5608
5611
  return (o, i) => (f(), h("button", {
5609
- class: H(["accordion-header", { "accordion-header--active": $(l) }, `accordion-header--${$(n)}`]),
5612
+ class: F(["accordion-header", { "accordion-header--active": S(l) }, `accordion-header--${S(n)}`]),
5610
5613
  onClick: i[0] || (i[0] = //@ts-ignore
5611
- (...a) => $(t) && $(t)(...a))
5614
+ (...a) => S(t) && S(t)(...a))
5612
5615
  }, [
5613
5616
  k("span", br, [
5614
5617
  ee(o.$slots, "default")
5615
5618
  ]),
5616
5619
  k("span", wr, [
5617
- j($(ml))
5620
+ j(S(ml))
5618
5621
  ])
5619
5622
  ], 2));
5620
5623
  }
@@ -5626,7 +5629,7 @@ const xi = {
5626
5629
  setup(e) {
5627
5630
  const l = e, t = ye("accordionOpenValues"), n = ye("accordionToggle"), o = ye("accordionStyle"), i = T(() => t?.value.includes(l.value));
5628
5631
  return $e("panelValue", l.value), $e("panelIsOpen", i), $e("panelToggle", () => n?.(l.value)), (a, s) => (f(), h("div", {
5629
- class: H(["accordion-panel", `accordion-panel--${$(o)}`])
5632
+ class: F(["accordion-panel", `accordion-panel--${S(o)}`])
5630
5633
  }, [
5631
5634
  ee(a.$slots, "default")
5632
5635
  ], 2));
@@ -5648,7 +5651,7 @@ const xi = {
5648
5651
  }));
5649
5652
  const l = T(() => ["divider", `divider--${e.layouts}`, `divider--${e.type}`, `divider--${e.align}`]), t = T(() => `${e.size}px`);
5650
5653
  return (n, o) => (f(), h("div", {
5651
- class: H(l.value)
5654
+ class: F(l.value)
5652
5655
  }, [
5653
5656
  n.$slots.default ? (f(), h("div", kr, [
5654
5657
  ee(n.$slots, "default")
@@ -5668,7 +5671,7 @@ const xi = {
5668
5671
  l?.updateValue(e.value ?? e.index);
5669
5672
  };
5670
5673
  return (o, i) => (f(), h("div", {
5671
- class: H(["step", { "step--active": $(l)?.isStepActive(o.value ?? o.index), "step--passed": $(l)?.isStepPassed(o.index) }])
5674
+ class: F(["step", { "step--active": S(l)?.isStepActive(o.value ?? o.index), "step--passed": S(l)?.isStepPassed(o.index) }])
5672
5675
  }, [
5673
5676
  k("button", {
5674
5677
  class: "step__button",
@@ -5678,9 +5681,9 @@ const xi = {
5678
5681
  k("div", Sr, q(o.index + 1), 1),
5679
5682
  k("div", Cr, q(o.label), 1)
5680
5683
  ], 8, $r),
5681
- $(l)?.isLastItem(o.index) ? O("", !0) : (f(), h("div", {
5684
+ S(l)?.isLastItem(o.index) ? O("", !0) : (f(), h("div", {
5682
5685
  key: 0,
5683
- class: H(["step__separator", { "step__separator--active": $(l)?.isStepPassed(o.index) }])
5686
+ class: F(["step__separator", { "step__separator--active": S(l)?.isStepPassed(o.index) }])
5684
5687
  }, null, 2))
5685
5688
  ], 2));
5686
5689
  }
@@ -5727,8 +5730,8 @@ const xi = {
5727
5730
  setup(e) {
5728
5731
  const l = e, t = ye("tabsValue"), n = ye("setTabsValue"), o = T(() => t?.value === l.value);
5729
5732
  return (i, a) => (f(), h("button", {
5730
- class: H(["tab", { "tab--active": o.value }]),
5731
- onClick: a[0] || (a[0] = () => $(n)?.(i.value)),
5733
+ class: F(["tab", { "tab--active": o.value }]),
5734
+ onClick: a[0] || (a[0] = () => S(n)?.(i.value)),
5732
5735
  role: "tab",
5733
5736
  "aria-selected": o.value
5734
5737
  }, [
@@ -5856,8 +5859,8 @@ const xi = {
5856
5859
  key: 0,
5857
5860
  ref_key: "tooltipRef",
5858
5861
  ref: n,
5859
- class: H(["tooltip", [`tooltip--${i.value}`, V.tooltipClass]]),
5860
- style: ne({ ...a.value, zIndex: $(u)?.zIndex }),
5862
+ class: F(["tooltip", [`tooltip--${i.value}`, V.tooltipClass]]),
5863
+ style: ne({ ...a.value, zIndex: S(u)?.zIndex }),
5861
5864
  role: "tooltip"
5862
5865
  }, [
5863
5866
  k("div", {
@@ -5978,12 +5981,12 @@ const xi = {
5978
5981
  }), xe(() => {
5979
5982
  document.removeEventListener("click", A, !0), window.removeEventListener("resize", x), window.removeEventListener("scroll", x);
5980
5983
  }), (M, I) => (f(), h("div", {
5981
- class: H(["time-picker", { "time-picker--disabled": M.disabled }])
5984
+ class: F(["time-picker", { "time-picker--disabled": M.disabled }])
5982
5985
  }, [
5983
5986
  k("div", {
5984
5987
  ref_key: "timePickerTrigger",
5985
5988
  ref: i,
5986
- class: H(["time-picker__trigger", { "time-picker__trigger--active": o.value }]),
5989
+ class: F(["time-picker__trigger", { "time-picker__trigger--active": o.value }]),
5987
5990
  onClick: y
5988
5991
  }, [
5989
5992
  k("div", Lr, [
@@ -5995,19 +5998,19 @@ const xi = {
5995
5998
  ], !0) : (f(), h("span", Hr, q(M.placeholder), 1))
5996
5999
  ]),
5997
6000
  k("div", {
5998
- class: H(["time-picker__arrow", { "time-picker__arrow--rotated": o.value }])
6001
+ class: F(["time-picker__arrow", { "time-picker__arrow--rotated": o.value }])
5999
6002
  }, [
6000
- j($(yt))
6003
+ j(S(yt))
6001
6004
  ], 2),
6002
6005
  M.clearable && p.value ? (f(), h("button", {
6003
6006
  key: 0,
6004
6007
  class: "time-picker__clear",
6005
6008
  onClick: ge(L, ["stop"])
6006
6009
  }, [
6007
- j($(tt))
6010
+ j(S(tt))
6008
6011
  ])) : O("", !0)
6009
6012
  ], 2),
6010
- j($(bt), {
6013
+ j(S(bt), {
6011
6014
  show: o.value,
6012
6015
  "z-index": c.value
6013
6016
  }, {
@@ -6155,13 +6158,13 @@ const xi = {
6155
6158
  }), xe(() => {
6156
6159
  document.removeEventListener("click", M), window.removeEventListener("resize", A), window.removeEventListener("scroll", A);
6157
6160
  }), (I, b) => (f(), h("div", {
6158
- class: H(["schedule", { "schedule--disabled": I.disabled }])
6161
+ class: F(["schedule", { "schedule--disabled": I.disabled }])
6159
6162
  }, [
6160
6163
  I.label ? (f(), h("label", jr, q(I.label), 1)) : O("", !0),
6161
6164
  k("div", {
6162
6165
  ref_key: "scheduleTrigger",
6163
6166
  ref: i,
6164
- class: H(["schedule__trigger", {
6167
+ class: F(["schedule__trigger", {
6165
6168
  "schedule__trigger--active": o.value,
6166
6169
  "schedule__trigger--error": I.error
6167
6170
  }]),
@@ -6176,19 +6179,19 @@ const xi = {
6176
6179
  ], !0) : (f(), h("span", Qr, q(I.placeholder), 1))
6177
6180
  ]),
6178
6181
  k("div", {
6179
- class: H(["schedule__arrow", { "schedule__arrow--rotated": o.value }])
6182
+ class: F(["schedule__arrow", { "schedule__arrow--rotated": o.value }])
6180
6183
  }, [
6181
- j($(yt))
6184
+ j(S(yt))
6182
6185
  ], 2),
6183
6186
  I.clearable && y.value ? (f(), h("button", {
6184
6187
  key: 0,
6185
6188
  class: "schedule__clear",
6186
6189
  onClick: ge(x, ["stop"])
6187
6190
  }, [
6188
- j($(tt))
6191
+ j(S(tt))
6189
6192
  ])) : O("", !0)
6190
6193
  ], 2),
6191
- j($(bt), {
6194
+ j(S(bt), {
6192
6195
  show: o.value,
6193
6196
  "z-index": v.value
6194
6197
  }, {