@dskripchenko/ui 1.2.1 → 1.3.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.
package/dist/index.mjs CHANGED
@@ -1170,6 +1170,10 @@ var vn = ["aria-labelledby"], yn = { class: "uid-modal__header" }, bn = ["id"],
1170
1170
  type: Boolean,
1171
1171
  default: !0
1172
1172
  },
1173
+ closeOnEsc: {
1174
+ type: Boolean,
1175
+ default: !0
1176
+ },
1173
1177
  hideClose: {
1174
1178
  type: Boolean,
1175
1179
  default: !1
@@ -1194,7 +1198,7 @@ var vn = ["aria-labelledby"], yn = { class: "uid-modal__header" }, bn = ["id"],
1194
1198
  e ? (b(), await g(), v(), document.addEventListener("keydown", D)) : (S(), y(), document.removeEventListener("keydown", D));
1195
1199
  });
1196
1200
  function D(e) {
1197
- e.key === "Escape" && C();
1201
+ e.key === "Escape" && f.closeOnEsc && C();
1198
1202
  }
1199
1203
  return (i, f) => (x(), o(n, { to: "body" }, [d(r, { name: "uid-modal" }, {
1200
1204
  default: z(() => [u.value ? (x(), c("div", {
@@ -1242,6 +1246,10 @@ var vn = ["aria-labelledby"], yn = { class: "uid-modal__header" }, bn = ["id"],
1242
1246
  type: Boolean,
1243
1247
  default: !0
1244
1248
  },
1249
+ closeOnEsc: {
1250
+ type: Boolean,
1251
+ default: !0
1252
+ },
1245
1253
  hideClose: {
1246
1254
  type: Boolean,
1247
1255
  default: !1
@@ -1265,7 +1273,7 @@ var vn = ["aria-labelledby"], yn = { class: "uid-modal__header" }, bn = ["id"],
1265
1273
  f.closeOnOverlay && T();
1266
1274
  }
1267
1275
  function O(e) {
1268
- e.key === "Escape" && T();
1276
+ e.key === "Escape" && f.closeOnEsc && T();
1269
1277
  }
1270
1278
  return R(u, async (e) => {
1271
1279
  e ? (S(), await g(), y(), document.addEventListener("keydown", O)) : (C(), b(), document.removeEventListener("keydown", O));
@@ -1279,8 +1287,8 @@ var vn = ["aria-labelledby"], yn = { class: "uid-modal__header" }, bn = ["id"],
1279
1287
  ref: h,
1280
1288
  class: _(["uid-drawer", `uid-drawer--${t.side}`]),
1281
1289
  style: v({
1282
- width: t.side === "bottom" ? void 0 : t.width,
1283
- height: t.side === "bottom" ? t.height : void 0
1290
+ width: t.side === "left" || t.side === "right" ? t.width : void 0,
1291
+ height: t.side === "top" || t.side === "bottom" ? t.height : void 0
1284
1292
  }),
1285
1293
  role: "dialog",
1286
1294
  "aria-modal": "true",
@@ -1429,48 +1437,59 @@ var Fn = ["aria-describedby"], In = ["id"], Ln = /* @__PURE__ */ f({
1429
1437
  _: 3
1430
1438
  })]))], 64));
1431
1439
  }
1432
- }), Vn = Symbol("uid-menu-close"), Hn = ["aria-expanded", "aria-controls"], Un = ["id"], Wn = /* @__PURE__ */ f({
1440
+ }), Vn = Symbol("uid-menu-close"), Hn = [
1441
+ "role",
1442
+ "tabindex",
1443
+ "aria-haspopup",
1444
+ "aria-expanded",
1445
+ "aria-controls"
1446
+ ], Un = ["id"], Wn = "button, a[href], input, select, textarea, [role=\"button\"], [tabindex]", Gn = /* @__PURE__ */ f({
1433
1447
  __name: "UidMenu",
1434
1448
  setup(e) {
1435
- let i = w(null), u = w(null), f = w(!1), p = M(), { floatingStyle: m, update: h } = Pn(a(() => i.value?.firstElementChild ?? i.value), u, { placement: "bottom-start" });
1436
- function _() {
1449
+ let i = w(null), u = w(null), f = w(!1), p = M(), { floatingStyle: m, update: h } = Pn(a(() => i.value?.firstElementChild ?? i.value), u, { placement: "bottom-start" }), _ = w(!1);
1450
+ function C() {
1451
+ let e = i.value?.firstElementChild;
1452
+ _.value = e !== null && e.matches(Wn), _.value && (e.setAttribute("aria-haspopup", "menu"), e.setAttribute("aria-expanded", String(f.value)), e.setAttribute("aria-controls", p));
1453
+ }
1454
+ y(C), R(f, C);
1455
+ function T() {
1437
1456
  return Array.from(u.value?.querySelectorAll("[role=\"menuitem\"]:not([disabled])") ?? []);
1438
1457
  }
1439
- function y() {
1458
+ function D() {
1440
1459
  f.value = !1, i.value?.querySelector("button, [tabindex]")?.focus();
1441
1460
  }
1442
- S(Vn, y);
1443
- async function C() {
1461
+ S(Vn, D);
1462
+ async function O() {
1444
1463
  f.value = !f.value, f.value && (await g(), h(), requestAnimationFrame(() => {
1445
- h(), _()[0]?.focus();
1464
+ h(), T()[0]?.focus();
1446
1465
  }));
1447
1466
  }
1448
- function T(e) {
1449
- (e.key === "ArrowDown" || e.key === "Enter" || e.key === " ") && !f.value && (e.preventDefault(), C());
1467
+ function k(e) {
1468
+ (e.key === "ArrowDown" || e.key === "Enter" || e.key === " ") && !f.value && (e.preventDefault(), O());
1450
1469
  }
1451
- function D(e) {
1452
- let t = _(), n = t.indexOf(document.activeElement);
1453
- e.key === "ArrowDown" ? (e.preventDefault(), t[(n + 1) % t.length]?.focus()) : e.key === "ArrowUp" ? (e.preventDefault(), t[(n - 1 + t.length) % t.length]?.focus()) : e.key === "Escape" ? (e.preventDefault(), y()) : e.key === "Tab" && y();
1470
+ function A(e) {
1471
+ let t = T(), n = t.indexOf(document.activeElement);
1472
+ e.key === "ArrowDown" ? (e.preventDefault(), t[(n + 1) % t.length]?.focus()) : e.key === "ArrowUp" ? (e.preventDefault(), t[(n - 1 + t.length) % t.length]?.focus()) : e.key === "Escape" ? (e.preventDefault(), D()) : e.key === "Tab" && D();
1454
1473
  }
1455
- function O(e) {
1474
+ function N(e) {
1456
1475
  let t = e.target;
1457
1476
  i.value?.contains(t) || u.value?.contains(t) || (f.value = !1);
1458
1477
  }
1459
1478
  return R(f, (e) => {
1460
- e ? document.addEventListener("mousedown", O) : document.removeEventListener("mousedown", O);
1479
+ e ? document.addEventListener("mousedown", N) : document.removeEventListener("mousedown", N);
1461
1480
  }), b(() => {
1462
- document.removeEventListener("mousedown", O);
1481
+ document.removeEventListener("mousedown", N);
1463
1482
  }), (e, a) => (x(), c(t, null, [l("div", {
1464
1483
  ref_key: "triggerRef",
1465
1484
  ref: i,
1466
1485
  class: "uid-menu-trigger",
1467
- role: "button",
1468
- tabindex: "0",
1469
- "aria-haspopup": "menu",
1470
- "aria-expanded": f.value,
1471
- "aria-controls": j(p),
1472
- onClick: C,
1473
- onKeydown: T
1486
+ role: _.value ? void 0 : "button",
1487
+ tabindex: _.value ? void 0 : 0,
1488
+ "aria-haspopup": _.value ? void 0 : "menu",
1489
+ "aria-expanded": _.value ? void 0 : f.value,
1490
+ "aria-controls": _.value ? void 0 : j(p),
1491
+ onClick: O,
1492
+ onKeydown: k
1474
1493
  }, [E(e.$slots, "trigger")], 40, Hn), (x(), o(n, { to: "body" }, [d(r, { name: "uid-menu" }, {
1475
1494
  default: z(() => [f.value ? (x(), c("div", {
1476
1495
  key: 0,
@@ -1480,12 +1499,12 @@ var Fn = ["aria-describedby"], In = ["id"], Ln = /* @__PURE__ */ f({
1480
1499
  class: "uid-menu",
1481
1500
  role: "menu",
1482
1501
  style: v(j(m)),
1483
- onKeydown: D
1502
+ onKeydown: A
1484
1503
  }, [E(e.$slots, "default")], 44, Un)) : s("", !0)]),
1485
1504
  _: 3
1486
1505
  })]))], 64));
1487
1506
  }
1488
- }), Gn = ["disabled"], Kn = /* @__PURE__ */ f({
1507
+ }), Kn = ["disabled"], qn = /* @__PURE__ */ f({
1489
1508
  __name: "UidMenuItem",
1490
1509
  props: {
1491
1510
  icon: { default: void 0 },
@@ -1507,21 +1526,21 @@ var Fn = ["aria-describedby"], In = ["id"], Ln = /* @__PURE__ */ f({
1507
1526
  role: "menuitem",
1508
1527
  disabled: e.disabled,
1509
1528
  onClick: a
1510
- }, [E(t.$slots, "default")], 10, Gn));
1529
+ }, [E(t.$slots, "default")], 10, Kn));
1511
1530
  }
1512
- }), qn = (e, t) => {
1531
+ }), Jn = (e, t) => {
1513
1532
  let n = e.__vccOpts || e;
1514
1533
  for (let [e, r] of t) n[e] = r;
1515
1534
  return n;
1516
- }, Jn = {}, Yn = {
1535
+ }, Yn = {}, Xn = {
1517
1536
  class: "uid-menu-separator",
1518
1537
  role: "separator",
1519
1538
  "aria-hidden": "true"
1520
1539
  };
1521
- function Xn(e, t) {
1522
- return x(), c("div", Yn);
1540
+ function Zn(e, t) {
1541
+ return x(), c("div", Xn);
1523
1542
  }
1524
- var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n = ["aria-orientation"], er = { class: "uid-tabs__panels" }, tr = /* @__PURE__ */ f({
1543
+ var Qn = /* @__PURE__ */ Jn(Yn, [["render", Zn]]), $n = Symbol("uid-tabs"), er = ["aria-orientation"], tr = { class: "uid-tabs__panels" }, nr = /* @__PURE__ */ f({
1525
1544
  __name: "UidTabs",
1526
1545
  props: /* @__PURE__ */ m({ orientation: { default: "horizontal" } }, {
1527
1546
  modelValue: { required: !0 },
@@ -1530,7 +1549,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1530
1549
  emits: ["update:modelValue"],
1531
1550
  setup(e) {
1532
1551
  let t = N(e, "modelValue");
1533
- return S(Qn, {
1552
+ return S($n, {
1534
1553
  activeTab: t,
1535
1554
  setTab: (e) => {
1536
1555
  t.value = e;
@@ -1540,15 +1559,15 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1540
1559
  class: "uid-tabs__list",
1541
1560
  role: "tablist",
1542
1561
  "aria-orientation": e.orientation
1543
- }, [E(t.$slots, "list")], 8, $n), l("div", er, [E(t.$slots, "default")])], 2));
1562
+ }, [E(t.$slots, "list")], 8, er), l("div", tr, [E(t.$slots, "default")])], 2));
1544
1563
  }
1545
- }), nr = [
1564
+ }), rr = [
1546
1565
  "id",
1547
1566
  "aria-selected",
1548
1567
  "aria-controls",
1549
1568
  "disabled",
1550
1569
  "tabindex"
1551
- ], rr = /* @__PURE__ */ f({
1570
+ ], ir = /* @__PURE__ */ f({
1552
1571
  __name: "UidTab",
1553
1572
  props: {
1554
1573
  value: {},
@@ -1558,7 +1577,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1558
1577
  }
1559
1578
  },
1560
1579
  setup(e) {
1561
- let t = e, n = p(Qn), r = a(() => n.activeTab.value === t.value), i = a(() => `${n.idPrefix}-tab-${t.value}`), o = a(() => `${n.idPrefix}-panel-${t.value}`);
1580
+ let t = e, n = p($n), r = a(() => n.activeTab.value === t.value), i = a(() => `${n.idPrefix}-tab-${t.value}`), o = a(() => `${n.idPrefix}-panel-${t.value}`);
1562
1581
  function s() {
1563
1582
  t.disabled || n.setTab(t.value);
1564
1583
  }
@@ -1587,13 +1606,13 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1587
1606
  tabindex: r.value ? 0 : -1,
1588
1607
  onClick: s,
1589
1608
  onKeydown: l
1590
- }, [E(t.$slots, "default")], 42, nr));
1609
+ }, [E(t.$slots, "default")], 42, rr));
1591
1610
  }
1592
- }), ir = ["id", "aria-labelledby"], ar = /* @__PURE__ */ f({
1611
+ }), ar = ["id", "aria-labelledby"], or = /* @__PURE__ */ f({
1593
1612
  __name: "UidTabPanel",
1594
1613
  props: { value: {} },
1595
1614
  setup(e) {
1596
- let t = e, n = p(Qn), r = a(() => n.activeTab.value === t.value), i = a(() => `${n.idPrefix}-panel-${t.value}`), o = a(() => `${n.idPrefix}-tab-${t.value}`);
1615
+ let t = e, n = p($n), r = a(() => n.activeTab.value === t.value), i = a(() => `${n.idPrefix}-panel-${t.value}`), o = a(() => `${n.idPrefix}-tab-${t.value}`);
1597
1616
  return (e, t) => r.value ? (x(), c("div", {
1598
1617
  key: 0,
1599
1618
  id: i.value,
@@ -1601,9 +1620,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1601
1620
  role: "tabpanel",
1602
1621
  "aria-labelledby": o.value,
1603
1622
  tabindex: "0"
1604
- }, [E(e.$slots, "default")], 8, ir)) : s("", !0);
1623
+ }, [E(e.$slots, "default")], 8, ar)) : s("", !0);
1605
1624
  }
1606
- }), or = ["aria-label"], sr = /* @__PURE__ */ f({
1625
+ }), sr = ["aria-label"], cr = /* @__PURE__ */ f({
1607
1626
  __name: "UidBreadcrumb",
1608
1627
  props: {
1609
1628
  label: { default: "Навигация" },
@@ -1616,9 +1635,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1616
1635
  }, [l("ol", {
1617
1636
  class: "uid-breadcrumb__list",
1618
1637
  style: v({ "--uid-breadcrumb-sep": `'${e.separator}'` })
1619
- }, [E(t.$slots, "default")], 4)], 8, or));
1638
+ }, [E(t.$slots, "default")], 4)], 8, sr));
1620
1639
  }
1621
- }), cr = { class: "uid-breadcrumb__item" }, lr = ["href"], ur = ["aria-current"], dr = /* @__PURE__ */ f({
1640
+ }), lr = { class: "uid-breadcrumb__item" }, ur = ["href"], dr = ["aria-current"], fr = /* @__PURE__ */ f({
1622
1641
  __name: "UidBreadcrumbItem",
1623
1642
  props: {
1624
1643
  href: { default: void 0 },
@@ -1628,17 +1647,17 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1628
1647
  }
1629
1648
  },
1630
1649
  setup(e) {
1631
- return (t, n) => (x(), c("li", cr, [e.href && !e.current ? (x(), c("a", {
1650
+ return (t, n) => (x(), c("li", lr, [e.href && !e.current ? (x(), c("a", {
1632
1651
  key: 0,
1633
1652
  class: "uid-breadcrumb__link",
1634
1653
  href: e.href
1635
- }, [E(t.$slots, "default")], 8, lr)) : (x(), c("span", {
1654
+ }, [E(t.$slots, "default")], 8, ur)) : (x(), c("span", {
1636
1655
  key: 1,
1637
1656
  class: "uid-breadcrumb__current",
1638
1657
  "aria-current": e.current ? "page" : void 0
1639
- }, [E(t.$slots, "default")], 8, ur))]));
1658
+ }, [E(t.$slots, "default")], 8, dr))]));
1640
1659
  }
1641
- }), fr = /* @__PURE__ */ f({
1660
+ }), pr = /* @__PURE__ */ f({
1642
1661
  __name: "UidLink",
1643
1662
  props: {
1644
1663
  href: { default: void 0 },
@@ -1679,18 +1698,18 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1679
1698
  "tabindex"
1680
1699
  ]));
1681
1700
  }
1682
- }), pr = {
1701
+ }), mr = {
1683
1702
  class: "uid-pagination",
1684
1703
  "aria-label": "Пагинация"
1685
- }, mr = ["disabled", "aria-label"], hr = {
1704
+ }, hr = ["disabled", "aria-label"], gr = {
1686
1705
  key: 0,
1687
1706
  class: "uid-pagination__ellipsis",
1688
1707
  "aria-hidden": "true"
1689
- }, gr = [
1708
+ }, _r = [
1690
1709
  "aria-label",
1691
1710
  "aria-current",
1692
1711
  "onClick"
1693
- ], _r = ["disabled", "aria-label"], vr = /* @__PURE__ */ f({
1712
+ ], vr = ["disabled", "aria-label"], yr = /* @__PURE__ */ f({
1694
1713
  __name: "UidPagination",
1695
1714
  props: /* @__PURE__ */ m({
1696
1715
  total: {},
@@ -1719,7 +1738,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1719
1738
  function p(e) {
1720
1739
  e < 1 || e > s.value || e === i.value || (i.value = e);
1721
1740
  }
1722
- return (n, a) => (x(), c("nav", pr, [
1741
+ return (n, a) => (x(), c("nav", mr, [
1723
1742
  l("button", {
1724
1743
  type: "button",
1725
1744
  class: "uid-pagination__btn uid-pagination__btn--nav",
@@ -1729,15 +1748,15 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1729
1748
  }, [d(e, {
1730
1749
  icon: j(re),
1731
1750
  size: 16
1732
- }, null, 8, ["icon"])], 8, mr),
1733
- (x(!0), c(t, null, T(f.value, (e, n) => (x(), c(t, { key: `${n}-${e}` }, [e === "..." ? (x(), c("span", hr, " … ")) : (x(), c("button", {
1751
+ }, null, 8, ["icon"])], 8, hr),
1752
+ (x(!0), c(t, null, T(f.value, (e, n) => (x(), c(t, { key: `${n}-${e}` }, [e === "..." ? (x(), c("span", gr, " … ")) : (x(), c("button", {
1734
1753
  key: 1,
1735
1754
  type: "button",
1736
1755
  class: _(["uid-pagination__btn", { "uid-pagination__btn--active": e === i.value }]),
1737
1756
  "aria-label": j(r).pagination.page(e),
1738
1757
  "aria-current": e === i.value ? "page" : void 0,
1739
1758
  onClick: (t) => p(e)
1740
- }, k(e), 11, gr))], 64))), 128)),
1759
+ }, k(e), 11, _r))], 64))), 128)),
1741
1760
  l("button", {
1742
1761
  type: "button",
1743
1762
  class: "uid-pagination__btn uid-pagination__btn--nav",
@@ -1747,13 +1766,13 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1747
1766
  }, [d(e, {
1748
1767
  icon: j(X),
1749
1768
  size: 16
1750
- }, null, 8, ["icon"])], 8, _r)
1769
+ }, null, 8, ["icon"])], 8, vr)
1751
1770
  ]));
1752
1771
  }
1753
- }), yr = {
1772
+ }), br = {
1754
1773
  class: "uid-pagination uid-pagination--cursor",
1755
1774
  "aria-label": "Навигация по страницам"
1756
- }, br = ["disabled", "aria-label"], xr = ["disabled", "aria-label"], Sr = /* @__PURE__ */ f({
1775
+ }, xr = ["disabled", "aria-label"], Sr = ["disabled", "aria-label"], Cr = /* @__PURE__ */ f({
1757
1776
  __name: "UidPaginationCursor",
1758
1777
  props: {
1759
1778
  hasPrev: {
@@ -1770,7 +1789,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1770
1789
  emits: ["prev", "next"],
1771
1790
  setup(t, { emit: n }) {
1772
1791
  let r = n;
1773
- return (n, i) => (x(), c("nav", yr, [l("button", {
1792
+ return (n, i) => (x(), c("nav", br, [l("button", {
1774
1793
  type: "button",
1775
1794
  class: "uid-pagination__btn uid-pagination__btn--nav uid-pagination__btn--labeled",
1776
1795
  disabled: !t.hasPrev,
@@ -1779,7 +1798,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1779
1798
  }, [d(e, {
1780
1799
  icon: j(re),
1781
1800
  size: 16
1782
- }, null, 8, ["icon"]), u(" " + k(t.prevLabel), 1)], 8, br), l("button", {
1801
+ }, null, 8, ["icon"]), u(" " + k(t.prevLabel), 1)], 8, xr), l("button", {
1783
1802
  type: "button",
1784
1803
  class: "uid-pagination__btn uid-pagination__btn--nav uid-pagination__btn--labeled",
1785
1804
  disabled: !t.hasNext,
@@ -1788,9 +1807,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1788
1807
  }, [u(k(t.nextLabel) + " ", 1), d(e, {
1789
1808
  icon: j(X),
1790
1809
  size: 16
1791
- }, null, 8, ["icon"])], 8, xr)]));
1810
+ }, null, 8, ["icon"])], 8, Sr)]));
1792
1811
  }
1793
- }), Cr = { class: "uid-load-more" }, wr = ["disabled"], Tr = /* @__PURE__ */ f({
1812
+ }), wr = { class: "uid-load-more" }, Tr = ["disabled"], Er = /* @__PURE__ */ f({
1794
1813
  __name: "UidLoadMore",
1795
1814
  props: {
1796
1815
  loading: {
@@ -1806,7 +1825,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1806
1825
  emits: ["load"],
1807
1826
  setup(e, { emit: t }) {
1808
1827
  let n = t;
1809
- return (t, r) => (x(), c("div", Cr, [l("button", {
1828
+ return (t, r) => (x(), c("div", wr, [l("button", {
1810
1829
  type: "button",
1811
1830
  class: "uid-load-more__btn",
1812
1831
  disabled: e.disabled || e.loading,
@@ -1814,12 +1833,12 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1814
1833
  }, [e.loading ? (x(), o(Lt, {
1815
1834
  key: 0,
1816
1835
  size: "sm"
1817
- })) : s("", !0), l("span", null, k(e.label), 1)], 8, wr)]));
1836
+ })) : s("", !0), l("span", null, k(e.label), 1)], 8, Tr)]));
1818
1837
  }
1819
- }), Er = { class: "uid-infinite-scroll" }, Dr = {
1838
+ }), Dr = { class: "uid-infinite-scroll" }, Or = {
1820
1839
  key: 0,
1821
1840
  class: "uid-infinite-scroll__loader"
1822
- }, Or = /* @__PURE__ */ f({
1841
+ }, kr = /* @__PURE__ */ f({
1823
1842
  __name: "UidInfiniteScroll",
1824
1843
  props: {
1825
1844
  loading: {
@@ -1847,14 +1866,14 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1847
1866
  e && u();
1848
1867
  }, { immediate: !0 }), R(() => n.disabled, (e) => {
1849
1868
  e ? o() : u();
1850
- }), b(o), (t, n) => (x(), c("div", Er, [e.loading ? (x(), c("div", Dr, [d(Lt, { size: "sm" })])) : s("", !0), l("div", {
1869
+ }), b(o), (t, n) => (x(), c("div", Dr, [e.loading ? (x(), c("div", Or, [d(Lt, { size: "sm" })])) : s("", !0), l("div", {
1851
1870
  ref_key: "sentinelRef",
1852
1871
  ref: i,
1853
1872
  class: "uid-infinite-scroll__sentinel",
1854
1873
  "aria-hidden": "true"
1855
1874
  }, null, 512)]));
1856
1875
  }
1857
- }), kr = { class: "uid-page-size" }, Ar = { class: "uid-page-size__label" }, jr = ["value"], Mr = ["value"], Nr = /* @__PURE__ */ f({
1876
+ }), Ar = { class: "uid-page-size" }, jr = { class: "uid-page-size__label" }, Mr = ["value"], Nr = ["value"], Pr = /* @__PURE__ */ f({
1858
1877
  __name: "UidPageSize",
1859
1878
  props: /* @__PURE__ */ m({
1860
1879
  options: { default: () => [
@@ -1871,25 +1890,25 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1871
1890
  emits: ["update:modelValue"],
1872
1891
  setup(e) {
1873
1892
  let n = N(e, "modelValue");
1874
- return (r, i) => (x(), c("div", kr, [l("span", Ar, k(e.label), 1), l("select", {
1893
+ return (r, i) => (x(), c("div", Ar, [l("span", jr, k(e.label), 1), l("select", {
1875
1894
  class: "uid-page-size__select",
1876
1895
  value: n.value,
1877
1896
  onChange: i[0] ||= (e) => n.value = Number(e.target.value)
1878
1897
  }, [(x(!0), c(t, null, T(e.options, (e) => (x(), c("option", {
1879
1898
  key: e,
1880
1899
  value: e
1881
- }, k(e), 9, Mr))), 128))], 40, jr)]));
1900
+ }, k(e), 9, Nr))), 128))], 40, Mr)]));
1882
1901
  }
1883
- }), Pr = ["role", "tabindex"], Fr = {
1902
+ }), Fr = ["role", "tabindex"], Ir = {
1884
1903
  key: 0,
1885
1904
  class: "uid-card__media"
1886
- }, Ir = {
1905
+ }, Lr = {
1887
1906
  key: 1,
1888
1907
  class: "uid-card__header"
1889
- }, Lr = { class: "uid-card__body" }, Rr = {
1908
+ }, Rr = { class: "uid-card__body" }, zr = {
1890
1909
  key: 2,
1891
1910
  class: "uid-card__footer"
1892
- }, zr = /* @__PURE__ */ f({
1911
+ }, Br = /* @__PURE__ */ f({
1893
1912
  __name: "UidCard",
1894
1913
  props: {
1895
1914
  padding: { default: "md" },
@@ -1911,13 +1930,13 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1911
1930
  onKeydown: i,
1912
1931
  onClick: n[0] ||= (t) => e.clickable && r("click", t)
1913
1932
  }, [
1914
- t.$slots.media ? (x(), c("div", Fr, [E(t.$slots, "media")])) : s("", !0),
1915
- t.$slots.header ? (x(), c("div", Ir, [E(t.$slots, "header")])) : s("", !0),
1916
- l("div", Lr, [E(t.$slots, "default")]),
1917
- t.$slots.footer ? (x(), c("div", Rr, [E(t.$slots, "footer")])) : s("", !0)
1918
- ], 42, Pr));
1933
+ t.$slots.media ? (x(), c("div", Ir, [E(t.$slots, "media")])) : s("", !0),
1934
+ t.$slots.header ? (x(), c("div", Lr, [E(t.$slots, "header")])) : s("", !0),
1935
+ l("div", Rr, [E(t.$slots, "default")]),
1936
+ t.$slots.footer ? (x(), c("div", zr, [E(t.$slots, "footer")])) : s("", !0)
1937
+ ], 42, Fr));
1919
1938
  }
1920
- }), Br = ["title", "aria-label"], Vr = ["src", "alt"], Hr = /* @__PURE__ */ f({
1939
+ }), Vr = ["title", "aria-label"], Hr = ["src", "alt"], Ur = /* @__PURE__ */ f({
1921
1940
  __name: "UidAvatar",
1922
1941
  props: {
1923
1942
  src: { default: void 0 },
@@ -1955,26 +1974,26 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1955
1974
  alt: e.alt ?? e.name,
1956
1975
  class: "uid-avatar__img",
1957
1976
  onError: l
1958
- }, null, 40, Vr)) : (x(), c("span", {
1977
+ }, null, 40, Hr)) : (x(), c("span", {
1959
1978
  key: 1,
1960
1979
  class: "uid-avatar__initials",
1961
1980
  style: v({ background: s.value }),
1962
1981
  "aria-hidden": "true"
1963
- }, k(r.value), 5))], 10, Br));
1982
+ }, k(r.value), 5))], 10, Vr));
1964
1983
  }
1965
- }), Ur = { class: "uid-avatar-group" }, Wr = ["aria-label"], Gr = /* @__PURE__ */ f({
1984
+ }), Wr = { class: "uid-avatar-group" }, Gr = ["aria-label"], Kr = /* @__PURE__ */ f({
1966
1985
  __name: "UidAvatarGroup",
1967
1986
  props: { max: { default: void 0 } },
1968
1987
  setup(e) {
1969
1988
  let n = e, r = P(), i = a(() => r.default?.()?.flatMap((e) => e.type === Symbol.for("v-fgt") ? e.children : [e]) ?? []), l = a(() => n.max === void 0 ? i.value : i.value.slice(0, n.max)), u = a(() => n.max === void 0 ? 0 : Math.max(0, i.value.length - n.max));
1970
- return (e, n) => (x(), c("div", Ur, [(x(!0), c(t, null, T(l.value, (e, t) => (x(), o(O(e), { key: t }))), 128)), u.value > 0 ? (x(), c("span", {
1989
+ return (e, n) => (x(), c("div", Wr, [(x(!0), c(t, null, T(l.value, (e, t) => (x(), o(O(e), { key: t }))), 128)), u.value > 0 ? (x(), c("span", {
1971
1990
  key: 0,
1972
1991
  class: "uid-avatar uid-avatar--md uid-avatar--circle uid-avatar-group__overflow",
1973
1992
  "aria-label": `Ещё ${u.value}`,
1974
1993
  role: "img"
1975
- }, " +" + k(u.value), 9, Wr)) : s("", !0)]));
1994
+ }, " +" + k(u.value), 9, Gr)) : s("", !0)]));
1976
1995
  }
1977
- }), Kr = ["aria-label"], qr = /* @__PURE__ */ f({
1996
+ }), qr = ["aria-label"], Jr = /* @__PURE__ */ f({
1978
1997
  __name: "UidTag",
1979
1998
  props: {
1980
1999
  variant: { default: "default" },
@@ -1996,12 +2015,12 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
1996
2015
  }, [d(e, {
1997
2016
  icon: j(ye),
1998
2017
  size: 10
1999
- }, null, 8, ["icon"])], 8, Kr)) : s("", !0)], 2));
2018
+ }, null, 8, ["icon"])], 8, qr)) : s("", !0)], 2));
2000
2019
  }
2001
- }), Jr = {
2020
+ }), Yr = {
2002
2021
  key: 0,
2003
2022
  class: "uid-divider__label"
2004
- }, Yr = /* @__PURE__ */ f({
2023
+ }, Xr = /* @__PURE__ */ f({
2005
2024
  __name: "UidDivider",
2006
2025
  props: {
2007
2026
  label: { default: void 0 },
@@ -2011,9 +2030,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2011
2030
  return (t, n) => (x(), c("div", {
2012
2031
  class: _(["uid-divider", `uid-divider--${e.orientation}`]),
2013
2032
  role: "separator"
2014
- }, [e.label && e.orientation === "horizontal" ? (x(), c("span", Jr, k(e.label), 1)) : s("", !0)], 2));
2033
+ }, [e.label && e.orientation === "horizontal" ? (x(), c("span", Yr, k(e.label), 1)) : s("", !0)], 2));
2015
2034
  }
2016
- }), Xr = Symbol("uid-accordion"), Zr = { class: "uid-accordion" }, Qr = /* @__PURE__ */ f({
2035
+ }), Zr = Symbol("uid-accordion"), Qr = { class: "uid-accordion" }, $r = /* @__PURE__ */ f({
2017
2036
  __name: "UidAccordion",
2018
2037
  props: /* @__PURE__ */ m({ multiple: {
2019
2038
  type: Boolean,
@@ -2038,15 +2057,15 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2038
2057
  r.has(e) ? r.delete(e) : r.add(e), t.value = [...r];
2039
2058
  } else t.value = n === e ? "" : e;
2040
2059
  }
2041
- return S(Xr, {
2060
+ return S(Zr, {
2042
2061
  isOpen: r,
2043
2062
  toggle: i
2044
- }), (e, t) => (x(), c("div", Zr, [E(e.$slots, "default")]));
2063
+ }), (e, t) => (x(), c("div", Qr, [E(e.$slots, "default")]));
2045
2064
  }
2046
- }), $r = ["aria-expanded", "disabled"], ei = { class: "uid-accordion-item__title" }, ti = {
2065
+ }), ei = ["aria-expanded", "disabled"], ti = { class: "uid-accordion-item__title" }, ni = {
2047
2066
  class: "uid-accordion-item__chevron",
2048
2067
  "aria-hidden": "true"
2049
- }, ni = ["hidden"], ri = { class: "uid-accordion-item__body-inner" }, ii = /* @__PURE__ */ f({
2068
+ }, ri = ["hidden"], ii = { class: "uid-accordion-item__body-inner" }, ai = /* @__PURE__ */ f({
2050
2069
  __name: "UidAccordionItem",
2051
2070
  props: {
2052
2071
  value: {},
@@ -2057,7 +2076,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2057
2076
  }
2058
2077
  },
2059
2078
  setup(t) {
2060
- let n = t, r = M(), i = `${r}-header`, o = `${r}-panel`, s = p(Xr), f = a(() => s.isOpen(n.value));
2079
+ let n = t, r = M(), i = `${r}-header`, o = `${r}-panel`, s = p(Zr), f = a(() => s.isOpen(n.value));
2061
2080
  function m() {
2062
2081
  n.disabled || s.toggle(n.value);
2063
2082
  }
@@ -2072,28 +2091,28 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2072
2091
  "aria-controls": o,
2073
2092
  disabled: t.disabled || void 0,
2074
2093
  onClick: m
2075
- }, [l("span", ei, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), l("span", ti, [d(e, {
2094
+ }, [l("span", ti, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), l("span", ni, [d(e, {
2076
2095
  icon: j(Y),
2077
2096
  size: 16
2078
- }, null, 8, ["icon"])])], 8, $r), l("div", {
2097
+ }, null, 8, ["icon"])])], 8, ei), l("div", {
2079
2098
  id: o,
2080
2099
  class: "uid-accordion-item__body",
2081
2100
  role: "region",
2082
2101
  "aria-labelledby": i,
2083
2102
  hidden: !f.value
2084
- }, [l("div", ri, [E(n.$slots, "default")])], 8, ni)], 2));
2103
+ }, [l("div", ii, [E(n.$slots, "default")])], 8, ri)], 2));
2085
2104
  }
2086
- }), ai = { class: "uid-table-scroll" }, oi = { class: "uid-table__head" }, si = {
2105
+ }), oi = { class: "uid-table-scroll" }, si = { class: "uid-table__head" }, ci = {
2087
2106
  key: 0,
2088
2107
  class: "uid-table__th uid-table__th--select",
2089
2108
  scope: "col"
2090
- }, ci = [
2109
+ }, li = [
2091
2110
  "tabindex",
2092
2111
  "role",
2093
2112
  "aria-sort",
2094
2113
  "onClick",
2095
2114
  "onKeydown"
2096
- ], li = { class: "uid-table__th-content" }, ui = { class: "uid-table__body" }, di = { key: 0 }, fi = ["colspan"], pi = { key: 1 }, mi = ["colspan"], hi = ["onClick"], gi = /* @__PURE__ */ f({
2115
+ ], ui = { class: "uid-table__th-content" }, di = { class: "uid-table__body" }, fi = { key: 0 }, pi = ["colspan"], mi = { key: 1 }, hi = ["colspan"], gi = ["onClick"], _i = /* @__PURE__ */ f({
2097
2116
  __name: "UidTable",
2098
2117
  props: {
2099
2118
  columns: {},
@@ -2155,7 +2174,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2155
2174
  t ? n.add(r) : n.delete(r), f("update:selection", n);
2156
2175
  }
2157
2176
  let O = a(() => !i.loading && i.data.length === 0);
2158
- return (r, i) => (x(), c("div", { class: _(["uid-table-wrap", { "uid-table-wrap--bordered": n.bordered }]) }, [l("div", ai, [l("table", { class: _(["uid-table", { "uid-table--striped": n.striped }]) }, [l("thead", oi, [l("tr", null, [n.selectable ? (x(), c("th", si, [d(ft, {
2177
+ return (r, i) => (x(), c("div", { class: _(["uid-table-wrap", { "uid-table-wrap--bordered": n.bordered }]) }, [l("div", oi, [l("table", { class: _(["uid-table", { "uid-table--striped": n.striped }]) }, [l("thead", si, [l("tr", null, [n.selectable ? (x(), c("th", ci, [d(ft, {
2159
2178
  "model-value": h.value,
2160
2179
  indeterminate: y.value,
2161
2180
  "aria-label": "Выделить всё",
@@ -2173,18 +2192,18 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2173
2192
  "aria-sort": C(t),
2174
2193
  onClick: (e) => b(t),
2175
2194
  onKeydown: [V(H((e) => b(t), ["prevent"]), ["enter"]), V(H((e) => b(t), ["prevent"]), ["space"])]
2176
- }, [l("span", li, [u(k(t.label) + " ", 1), t.sortable ? (x(), o(e, {
2195
+ }, [l("span", ui, [u(k(t.label) + " ", 1), t.sortable ? (x(), o(e, {
2177
2196
  key: 0,
2178
2197
  icon: S(t),
2179
2198
  size: 14,
2180
2199
  class: "uid-table__sort-icon"
2181
- }, null, 8, ["icon"])) : s("", !0)])], 46, ci))), 128))])]), l("tbody", ui, [n.loading ? (x(), c("tr", di, [l("td", {
2200
+ }, null, 8, ["icon"])) : s("", !0)])], 46, li))), 128))])]), l("tbody", di, [n.loading ? (x(), c("tr", fi, [l("td", {
2182
2201
  colspan: m.value,
2183
2202
  class: "uid-table__td uid-table__td--center"
2184
- }, [d(Lt, { size: "md" })], 8, fi)])) : O.value ? (x(), c("tr", pi, [l("td", {
2203
+ }, [d(Lt, { size: "md" })], 8, pi)])) : O.value ? (x(), c("tr", mi, [l("td", {
2185
2204
  colspan: m.value,
2186
2205
  class: "uid-table__td uid-table__td--empty"
2187
- }, [E(r.$slots, "empty", {}, () => [u(k(n.emptyText), 1)])], 8, mi)])) : (x(!0), c(t, { key: 2 }, T(n.data, (e, a) => (x(), c("tr", {
2206
+ }, [E(r.$slots, "empty", {}, () => [u(k(n.emptyText), 1)])], 8, hi)])) : (x(!0), c(t, { key: 2 }, T(n.data, (e, a) => (x(), c("tr", {
2188
2207
  key: a,
2189
2208
  class: _(["uid-table__row", { "uid-table__row--selected": n.selectable && n.selection.has(p(e)) }]),
2190
2209
  onClick: (t) => f("row-click", e)
@@ -2203,28 +2222,28 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2203
2222
  ])])) : s("", !0), (x(!0), c(t, null, T(n.columns, (t) => (x(), c("td", {
2204
2223
  key: t.key,
2205
2224
  class: _(["uid-table__td", `uid-table__td--${t.align ?? "left"}`])
2206
- }, [E(r.$slots, t.key, { row: e }, () => [u(k(e[t.key]), 1)])], 2))), 128))], 10, hi))), 128))])], 2)])], 2));
2225
+ }, [E(r.$slots, t.key, { row: e }, () => [u(k(e[t.key]), 1)])], 2))), 128))], 10, gi))), 128))])], 2)])], 2));
2207
2226
  }
2208
- }), _i = [
2227
+ }), vi = [
2209
2228
  "aria-expanded",
2210
2229
  "aria-controls",
2211
2230
  "aria-disabled"
2212
- ], vi = { class: "uid-select__suffix" }, yi = ["aria-label"], bi = {
2231
+ ], yi = { class: "uid-select__suffix" }, bi = ["aria-label"], xi = {
2213
2232
  key: 0,
2214
2233
  class: "uid-select__search"
2215
- }, xi = ["placeholder"], Si = ["id"], Ci = {
2234
+ }, Si = ["placeholder"], Ci = ["id"], wi = {
2216
2235
  key: 0,
2217
2236
  class: "uid-select__group-label"
2218
- }, wi = [
2237
+ }, Ti = [
2219
2238
  "data-active",
2220
2239
  "aria-selected",
2221
2240
  "aria-disabled",
2222
2241
  "onClick",
2223
2242
  "onMouseenter"
2224
- ], Ti = {
2243
+ ], Ei = {
2225
2244
  key: 1,
2226
2245
  class: "uid-select__empty"
2227
- }, Ei = /* @__PURE__ */ f({
2246
+ }, Di = /* @__PURE__ */ f({
2228
2247
  __name: "UidSelect",
2229
2248
  props: /* @__PURE__ */ m({
2230
2249
  options: {},
@@ -2340,7 +2359,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2340
2359
  "aria-disabled": i.disabled,
2341
2360
  onClick: re,
2342
2361
  onKeydown: oe
2343
- }, [l("span", { class: _(["uid-select__value", { "uid-select__value--placeholder": !ee.value }]) }, k(ee.value?.label ?? m.value), 3), l("div", vi, [i.clearable && y.value !== null ? (x(), c("button", {
2362
+ }, [l("span", { class: _(["uid-select__value", { "uid-select__value--placeholder": !ee.value }]) }, k(ee.value?.label ?? m.value), 3), l("div", yi, [i.clearable && y.value !== null ? (x(), c("button", {
2344
2363
  key: 0,
2345
2364
  type: "button",
2346
2365
  class: "uid-select__clear",
@@ -2349,19 +2368,19 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2349
2368
  }, [d(e, {
2350
2369
  icon: j(ye),
2351
2370
  size: 12
2352
- }, null, 8, ["icon"])], 8, yi)) : s("", !0), d(e, {
2371
+ }, null, 8, ["icon"])], 8, bi)) : s("", !0), d(e, {
2353
2372
  icon: j(Y),
2354
2373
  size: 16,
2355
2374
  class: _(["uid-select__chevron", { "uid-select__chevron--open": S.value }]),
2356
2375
  "aria-hidden": "true"
2357
- }, null, 8, ["icon", "class"])])], 40, _i), (x(), o(n, { to: "body" }, [d(r, { name: "uid-select-dropdown" }, {
2376
+ }, null, 8, ["icon", "class"])])], 40, vi), (x(), o(n, { to: "body" }, [d(r, { name: "uid-select-dropdown" }, {
2358
2377
  default: z(() => [S.value ? (x(), c("div", {
2359
2378
  key: 0,
2360
2379
  ref_key: "dropdownRef",
2361
2380
  ref: A,
2362
2381
  class: "uid-select__dropdown",
2363
2382
  style: v(G.value)
2364
- }, [i.searchable ? (x(), c("div", bi, [B(l("input", {
2383
+ }, [i.searchable ? (x(), c("div", xi, [B(l("input", {
2365
2384
  ref_key: "searchRef",
2366
2385
  ref: F,
2367
2386
  "onUpdate:modelValue": u[0] ||= (e) => C.value = e,
@@ -2370,14 +2389,14 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2370
2389
  placeholder: j(p).common.search,
2371
2390
  autocomplete: "off",
2372
2391
  onKeydown: se
2373
- }, null, 40, xi), [[I, C.value]])])) : s("", !0), l("div", {
2392
+ }, null, 40, Si), [[I, C.value]])])) : s("", !0), l("div", {
2374
2393
  id: j(L),
2375
2394
  ref_key: "listRef",
2376
2395
  ref: P,
2377
2396
  class: "uid-select__list",
2378
2397
  role: "listbox",
2379
2398
  onKeydown: se
2380
- }, [K.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(te.value, ([n, r]) => (x(), c(t, { key: n }, [n ? (x(), c("div", Ci, k(n), 1)) : s("", !0), (x(!0), c(t, null, T(r, (t) => (x(), c("button", {
2399
+ }, [K.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(te.value, ([n, r]) => (x(), c(t, { key: n }, [n ? (x(), c("div", wi, k(n), 1)) : s("", !0), (x(!0), c(t, null, T(r, (t) => (x(), c("button", {
2381
2400
  key: t.value,
2382
2401
  type: "button",
2383
2402
  class: _(["uid-select__option", {
@@ -2397,27 +2416,27 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2397
2416
  size: 14,
2398
2417
  "aria-hidden": "true",
2399
2418
  class: "uid-select__check"
2400
- }, null, 8, ["icon"])) : s("", !0)], 42, wi))), 128))], 64))), 128)) : (x(), c("div", Ti, k(j(p).select.noResults), 1))], 40, Si)], 4)) : s("", !0)]),
2419
+ }, null, 8, ["icon"])) : s("", !0)], 42, Ti))), 128))], 64))), 128)) : (x(), c("div", Ei, k(j(p).select.noResults), 1))], 40, Ci)], 4)) : s("", !0)]),
2401
2420
  _: 1
2402
2421
  })]))], 2));
2403
2422
  }
2404
- }), Di = [
2423
+ }), Oi = [
2405
2424
  "aria-expanded",
2406
2425
  "aria-label",
2407
2426
  "aria-disabled"
2408
- ], Oi = { class: "uid-datepicker__suffix" }, ki = ["aria-label"], Ai = {
2427
+ ], ki = { class: "uid-datepicker__suffix" }, Ai = ["aria-label"], ji = {
2409
2428
  key: 0,
2410
2429
  class: "uid-datepicker__panel",
2411
2430
  role: "dialog",
2412
2431
  "aria-label": "Выбор даты"
2413
- }, ji = { class: "uid-datepicker__nav" }, Mi = ["aria-label"], Ni = { class: "uid-datepicker__month-label" }, Pi = ["aria-label"], Fi = [
2432
+ }, Mi = { class: "uid-datepicker__nav" }, Ni = ["aria-label"], Pi = { class: "uid-datepicker__month-label" }, Fi = ["aria-label"], Ii = [
2414
2433
  "data-iso",
2415
2434
  "tabindex",
2416
2435
  "disabled",
2417
2436
  "aria-current",
2418
2437
  "aria-selected",
2419
2438
  "onClick"
2420
- ], Ii = /* @__PURE__ */ f({
2439
+ ], Li = /* @__PURE__ */ f({
2421
2440
  __name: "UidDatePicker",
2422
2441
  props: /* @__PURE__ */ m({
2423
2442
  min: { default: void 0 },
@@ -2585,19 +2604,19 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2585
2604
  "aria-disabled": n.disabled,
2586
2605
  onClick: ee,
2587
2606
  onKeydown: ie
2588
- }, [l("span", { class: _(["uid-datepicker__value", { "uid-datepicker__value--placeholder": !m.value }]) }, k(m.value ? F.value : u.value), 3), l("div", Oi, [m.value ? (x(), c("button", {
2607
+ }, [l("span", { class: _(["uid-datepicker__value", { "uid-datepicker__value--placeholder": !m.value }]) }, k(m.value ? F.value : u.value), 3), l("div", ki, [m.value ? (x(), c("button", {
2589
2608
  key: 0,
2590
2609
  type: "button",
2591
2610
  class: "uid-datepicker__clear",
2592
2611
  "aria-label": j(o).common.clear,
2593
2612
  onClick: q
2594
- }, " × ", 8, ki)) : s("", !0), d(e, {
2613
+ }, " × ", 8, Ai)) : s("", !0), d(e, {
2595
2614
  icon: j(Y),
2596
2615
  size: 16,
2597
2616
  class: _(["uid-datepicker__chevron", { "uid-datepicker__chevron--open": h.value }]),
2598
2617
  "aria-hidden": "true"
2599
- }, null, 8, ["icon", "class"])])], 40, Di), d(r, { name: "uid-datepicker-panel" }, {
2600
- default: z(() => [h.value ? (x(), c("div", Ai, [l("div", ji, [
2618
+ }, null, 8, ["icon", "class"])])], 40, Oi), d(r, { name: "uid-datepicker-panel" }, {
2619
+ default: z(() => [h.value ? (x(), c("div", ji, [l("div", Mi, [
2601
2620
  l("button", {
2602
2621
  type: "button",
2603
2622
  class: "uid-datepicker__nav-btn",
@@ -2606,8 +2625,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2606
2625
  }, [d(e, {
2607
2626
  icon: j(re),
2608
2627
  size: 16
2609
- }, null, 8, ["icon"])], 8, Mi),
2610
- l("span", Ni, k(f.value[O.value]) + " " + k(D.value), 1),
2628
+ }, null, 8, ["icon"])], 8, Ni),
2629
+ l("span", Pi, k(f.value[O.value]) + " " + k(D.value), 1),
2611
2630
  l("button", {
2612
2631
  type: "button",
2613
2632
  class: "uid-datepicker__nav-btn",
@@ -2616,7 +2635,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2616
2635
  }, [d(e, {
2617
2636
  icon: j(X),
2618
2637
  size: 16
2619
- }, null, 8, ["icon"])], 8, Pi)
2638
+ }, null, 8, ["icon"])], 8, Fi)
2620
2639
  ]), l("div", {
2621
2640
  ref_key: "gridRef",
2622
2641
  ref: S,
@@ -2640,11 +2659,11 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2640
2659
  "aria-current": e.iso === L.value ? "date" : void 0,
2641
2660
  "aria-selected": e.iso === m.value,
2642
2661
  onClick: (t) => K(e)
2643
- }, k(e.date.getDate()), 11, Fi))), 128))], 544)])) : s("", !0)]),
2662
+ }, k(e.date.getDate()), 11, Ii))), 128))], 544)])) : s("", !0)]),
2644
2663
  _: 1
2645
2664
  })], 2));
2646
2665
  }
2647
- }), Li = /* @__PURE__ */ f({
2666
+ }), Ri = /* @__PURE__ */ f({
2648
2667
  __name: "UidVirtualList",
2649
2668
  props: {
2650
2669
  items: {},
@@ -2686,17 +2705,17 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2686
2705
  index: r
2687
2706
  })], 4))), 128))], 4)], 4)], 36));
2688
2707
  }
2689
- }), Ri = {
2708
+ }), zi = {
2690
2709
  key: 0,
2691
2710
  class: "uid-slider__header"
2692
- }, zi = {
2711
+ }, Bi = {
2693
2712
  key: 0,
2694
2713
  class: "uid-slider__label"
2695
- }, Bi = {
2714
+ }, Vi = {
2696
2715
  key: 1,
2697
2716
  class: "uid-slider__value",
2698
2717
  "aria-live": "polite"
2699
- }, Vi = [
2718
+ }, Hi = [
2700
2719
  "min",
2701
2720
  "max",
2702
2721
  "step",
@@ -2705,7 +2724,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2705
2724
  "aria-valuemin",
2706
2725
  "aria-valuemax",
2707
2726
  "aria-valuenow"
2708
- ], Hi = /* @__PURE__ */ f({
2727
+ ], Ui = /* @__PURE__ */ f({
2709
2728
  __name: "UidSlider",
2710
2729
  props: /* @__PURE__ */ m({
2711
2730
  min: { default: 0 },
@@ -2731,7 +2750,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2731
2750
  emits: ["update:modelValue"],
2732
2751
  setup(e) {
2733
2752
  let t = e, n = N(e, "modelValue"), r = a(() => (n.value - t.min) / (t.max - t.min) * 100), i = a(() => t.formatValue ? t.formatValue(n.value) : String(n.value));
2734
- return (t, a) => (x(), c("div", { class: _(["uid-slider", { "uid-slider--disabled": e.disabled }]) }, [e.label || e.showValue ? (x(), c("div", Ri, [e.label ? (x(), c("label", zi, k(e.label), 1)) : s("", !0), e.showValue ? (x(), c("span", Bi, k(i.value), 1)) : s("", !0)])) : s("", !0), B(l("input", {
2753
+ return (t, a) => (x(), c("div", { class: _(["uid-slider", { "uid-slider--disabled": e.disabled }]) }, [e.label || e.showValue ? (x(), c("div", zi, [e.label ? (x(), c("label", Bi, k(e.label), 1)) : s("", !0), e.showValue ? (x(), c("span", Vi, k(i.value), 1)) : s("", !0)])) : s("", !0), B(l("input", {
2735
2754
  "onUpdate:modelValue": a[0] ||= (e) => n.value = e,
2736
2755
  class: "uid-slider__input",
2737
2756
  type: "range",
@@ -2744,22 +2763,22 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2744
2763
  "aria-valuemax": e.max,
2745
2764
  "aria-valuenow": n.value,
2746
2765
  style: v({ "--_fill": `${r.value}%` })
2747
- }, null, 12, Vi), [[
2766
+ }, null, 12, Hi), [[
2748
2767
  I,
2749
2768
  n.value,
2750
2769
  void 0,
2751
2770
  { number: !0 }
2752
2771
  ]])], 2));
2753
2772
  }
2754
- }), Ui = ["aria-expanded", "aria-disabled"], Wi = {
2773
+ }), Wi = ["aria-expanded", "aria-disabled"], Gi = {
2755
2774
  key: 0,
2756
2775
  class: "uid-colorpicker__panel",
2757
2776
  role: "dialog",
2758
2777
  "aria-label": "Выбор цвета"
2759
- }, Gi = { class: "uid-colorpicker__controls" }, Ki = { class: "uid-colorpicker__sliders" }, qi = ["aria-valuenow"], Ji = ["aria-valuenow"], Yi = { class: "uid-colorpicker__inputs" }, Xi = ["value"], Zi = {
2778
+ }, Ki = { class: "uid-colorpicker__controls" }, qi = { class: "uid-colorpicker__sliders" }, Ji = ["aria-valuenow"], Yi = ["aria-valuenow"], Xi = { class: "uid-colorpicker__inputs" }, Zi = ["value"], Qi = {
2760
2779
  key: 0,
2761
2780
  class: "uid-colorpicker__presets"
2762
- }, Qi = ["aria-label", "onClick"], $i = /* @__PURE__ */ f({
2781
+ }, $i = ["aria-label", "onClick"], ea = /* @__PURE__ */ f({
2763
2782
  __name: "UidColorPicker",
2764
2783
  props: /* @__PURE__ */ m({
2765
2784
  disabled: {
@@ -2950,8 +2969,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2950
2969
  }, [l("span", {
2951
2970
  class: "uid-colorpicker__swatch",
2952
2971
  style: v(u.value ? { background: u.value } : {})
2953
- }, null, 4), l("span", { class: _(["uid-colorpicker__trigger-label", { "uid-colorpicker__trigger-label--empty": !u.value }]) }, k(u.value ? u.value.toUpperCase() : "Выберите цвет"), 3)], 8, Ui), d(r, { name: "uid-colorpicker-panel" }, {
2954
- default: z(() => [g.value ? (x(), c("div", Wi, [
2972
+ }, null, 4), l("span", { class: _(["uid-colorpicker__trigger-label", { "uid-colorpicker__trigger-label--empty": !u.value }]) }, k(u.value ? u.value.toUpperCase() : "Выберите цвет"), 3)], 8, Wi), d(r, { name: "uid-colorpicker-panel" }, {
2973
+ default: z(() => [g.value ? (x(), c("div", Gi, [
2955
2974
  l("div", {
2956
2975
  ref_key: "gradientRef",
2957
2976
  ref: S,
@@ -2971,7 +2990,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2971
2990
  top: W.value
2972
2991
  })
2973
2992
  }, null, 4)], 36),
2974
- l("div", Gi, [l("div", Ki, [l("div", {
2993
+ l("div", Ki, [l("div", qi, [l("div", {
2975
2994
  ref_key: "hueSliderRef",
2976
2995
  ref: C,
2977
2996
  class: "uid-colorpicker__hue-track",
@@ -2988,7 +3007,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
2988
3007
  }, [l("div", {
2989
3008
  class: "uid-colorpicker__track-thumb",
2990
3009
  style: v({ left: G.value })
2991
- }, null, 4)], 40, qi), e.alpha ? (x(), c("div", {
3010
+ }, null, 4)], 40, Ji), e.alpha ? (x(), c("div", {
2992
3011
  key: 0,
2993
3012
  ref_key: "alphaSliderRef",
2994
3013
  ref: E,
@@ -3007,11 +3026,11 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3007
3026
  }, [l("div", {
3008
3027
  class: "uid-colorpicker__track-thumb",
3009
3028
  style: v({ left: ee.value })
3010
- }, null, 4)], 44, Ji)) : s("", !0)]), l("span", {
3029
+ }, null, 4)], 44, Yi)) : s("", !0)]), l("span", {
3011
3030
  class: "uid-colorpicker__preview",
3012
3031
  style: v({ background: q.value })
3013
3032
  }, null, 4)]),
3014
- l("div", Yi, [i[0] ||= l("label", { class: "uid-colorpicker__input-label" }, "HEX", -1), l("input", {
3033
+ l("div", Xi, [i[0] ||= l("label", { class: "uid-colorpicker__input-label" }, "HEX", -1), l("input", {
3015
3034
  class: "uid-colorpicker__hex-input",
3016
3035
  type: "text",
3017
3036
  value: D.value,
@@ -3020,37 +3039,37 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3020
3039
  onInput: ue,
3021
3040
  onBlur: de,
3022
3041
  onKeydown: fe
3023
- }, null, 40, Xi)]),
3024
- e.presets && e.presets.length ? (x(), c("div", Zi, [(x(!0), c(t, null, T(e.presets, (e) => (x(), c("button", {
3042
+ }, null, 40, Zi)]),
3043
+ e.presets && e.presets.length ? (x(), c("div", Qi, [(x(!0), c(t, null, T(e.presets, (e) => (x(), c("button", {
3025
3044
  key: e,
3026
3045
  type: "button",
3027
3046
  class: _(["uid-colorpicker__preset", { "uid-colorpicker__preset--active": u.value === e || u.value === e.toLowerCase() || u.value?.toUpperCase() === e.toUpperCase() }]),
3028
3047
  style: v({ background: e }),
3029
3048
  "aria-label": e,
3030
3049
  onClick: (t) => _e(e)
3031
- }, null, 14, Qi))), 128))])) : s("", !0)
3050
+ }, null, 14, $i))), 128))])) : s("", !0)
3032
3051
  ])) : s("", !0)]),
3033
3052
  _: 1
3034
3053
  })], 2));
3035
3054
  }
3036
- }), ea = { class: "uid-command__search" }, ta = ["placeholder"], na = {
3055
+ }), ta = { class: "uid-command__search" }, na = ["placeholder"], ra = {
3037
3056
  key: 0,
3038
3057
  class: "uid-command__group-label"
3039
- }, ra = [
3058
+ }, ia = [
3040
3059
  "data-active",
3041
3060
  "aria-selected",
3042
3061
  "onClick",
3043
3062
  "onMouseenter"
3044
- ], ia = { class: "uid-command__item-text" }, aa = { class: "uid-command__item-label" }, oa = {
3063
+ ], aa = { class: "uid-command__item-text" }, oa = { class: "uid-command__item-label" }, sa = {
3045
3064
  key: 0,
3046
3065
  class: "uid-command__item-desc"
3047
- }, sa = {
3066
+ }, ca = {
3048
3067
  key: 0,
3049
3068
  class: "uid-command__item-shortcut"
3050
- }, ca = {
3069
+ }, la = {
3051
3070
  key: 1,
3052
3071
  class: "uid-command__empty"
3053
- }, la = /* @__PURE__ */ f({
3072
+ }, ua = /* @__PURE__ */ f({
3054
3073
  __name: "UidCommand",
3055
3074
  props: /* @__PURE__ */ m({
3056
3075
  commands: {},
@@ -3120,7 +3139,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3120
3139
  "aria-modal": "true",
3121
3140
  "aria-label": "Палитра команд",
3122
3141
  onKeydown: V
3123
- }, [l("div", ea, [d(e, {
3142
+ }, [l("div", ta, [d(e, {
3124
3143
  icon: j(me),
3125
3144
  size: 16,
3126
3145
  class: "uid-command__search-icon",
@@ -3135,12 +3154,12 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3135
3154
  autocomplete: "off",
3136
3155
  spellcheck: "false",
3137
3156
  "aria-autocomplete": "list"
3138
- }, null, 8, ta), [[I, p.value]])]), l("div", {
3157
+ }, null, 8, na), [[I, p.value]])]), l("div", {
3139
3158
  ref_key: "listRef",
3140
3159
  ref: S,
3141
3160
  class: "uid-command__list",
3142
3161
  role: "listbox"
3143
- }, [A.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(M.value, ([e, n]) => (x(), c(t, { key: e }, [e ? (x(), c("div", na, k(e), 1)) : s("", !0), (x(!0), c(t, null, T(n, (e) => (x(), c("button", {
3162
+ }, [A.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(M.value, ([e, n]) => (x(), c(t, { key: e }, [e ? (x(), c("div", ra, k(e), 1)) : s("", !0), (x(!0), c(t, null, T(n, (e) => (x(), c("button", {
3144
3163
  key: e.id,
3145
3164
  class: _(["uid-command__item", { "uid-command__item--active": A.value.indexOf(e) === m.value }]),
3146
3165
  "data-active": A.value.indexOf(e) === m.value ? "true" : void 0,
@@ -3149,18 +3168,18 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3149
3168
  type: "button",
3150
3169
  onClick: (t) => F(e),
3151
3170
  onMouseenter: (t) => m.value = A.value.indexOf(e)
3152
- }, [l("div", ia, [l("span", aa, k(e.label), 1), e.description ? (x(), c("span", oa, k(e.description), 1)) : s("", !0)]), e.shortcut ? (x(), c("div", sa, [(x(!0), c(t, null, T(e.shortcut, (e) => (x(), c("kbd", {
3171
+ }, [l("div", aa, [l("span", oa, k(e.label), 1), e.description ? (x(), c("span", sa, k(e.description), 1)) : s("", !0)]), e.shortcut ? (x(), c("div", ca, [(x(!0), c(t, null, T(e.shortcut, (e) => (x(), c("kbd", {
3153
3172
  key: e,
3154
3173
  class: "uid-command__kbd"
3155
- }, k(e), 1))), 128))])) : s("", !0)], 42, ra))), 128))], 64))), 128)) : (x(), c("div", ca, k(i.emptyText), 1))], 512)], 544)])) : s("", !0)]),
3174
+ }, k(e), 1))), 128))])) : s("", !0)], 42, ia))), 128))], 64))), 128)) : (x(), c("div", la, k(i.emptyText), 1))], 512)], 544)])) : s("", !0)]),
3156
3175
  _: 1
3157
3176
  })]));
3158
3177
  }
3159
- }), ua = ["for"], da = {
3178
+ }), da = ["for"], fa = {
3160
3179
  key: 0,
3161
3180
  class: "uid-number-input__required",
3162
3181
  "aria-hidden": "true"
3163
- }, fa = { class: "uid-number-input__control" }, pa = ["disabled", "aria-label"], ma = [
3182
+ }, pa = { class: "uid-number-input__control" }, ma = ["disabled", "aria-label"], ha = [
3164
3183
  "id",
3165
3184
  "name",
3166
3185
  "placeholder",
@@ -3173,7 +3192,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3173
3192
  "value",
3174
3193
  "aria-invalid",
3175
3194
  "aria-describedby"
3176
- ], ha = ["disabled", "aria-label"], ga = ["id"], _a = /* @__PURE__ */ f({
3195
+ ], ga = ["disabled", "aria-label"], _a = ["id"], va = /* @__PURE__ */ f({
3177
3196
  __name: "UidNumberInput",
3178
3197
  props: /* @__PURE__ */ m({
3179
3198
  min: { default: void 0 },
@@ -3266,8 +3285,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3266
3285
  key: 0,
3267
3286
  for: j(h),
3268
3287
  class: "uid-number-input__label"
3269
- }, [u(k(t.label) + " ", 1), t.required ? (x(), c("span", da, "*")) : s("", !0)], 8, ua)) : s("", !0),
3270
- l("div", fa, [
3288
+ }, [u(k(t.label) + " ", 1), t.required ? (x(), c("span", fa, "*")) : s("", !0)], 8, da)) : s("", !0),
3289
+ l("div", pa, [
3271
3290
  t.controls ? (x(), c("button", {
3272
3291
  key: 0,
3273
3292
  type: "button",
@@ -3279,7 +3298,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3279
3298
  }, [d(e, {
3280
3299
  icon: j(fe),
3281
3300
  size: 14
3282
- }, null, 8, ["icon"])], 8, pa)) : s("", !0),
3301
+ }, null, 8, ["icon"])], 8, ma)) : s("", !0),
3283
3302
  l("input", {
3284
3303
  id: j(h),
3285
3304
  class: "uid-number-input__input",
@@ -3300,7 +3319,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3300
3319
  onBlur: O,
3301
3320
  onFocus: r[0] ||= (e) => i("focus", e),
3302
3321
  onKeydown: A
3303
- }, null, 40, ma),
3322
+ }, null, 40, ha),
3304
3323
  t.controls ? (x(), c("button", {
3305
3324
  key: 1,
3306
3325
  type: "button",
@@ -3312,37 +3331,37 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3312
3331
  }, [d(e, {
3313
3332
  icon: j(pe),
3314
3333
  size: 14
3315
- }, null, 8, ["icon"])], 8, ha)) : s("", !0)
3334
+ }, null, 8, ["icon"])], 8, ga)) : s("", !0)
3316
3335
  ]),
3317
3336
  v.value ? (x(), c("p", {
3318
3337
  key: 1,
3319
3338
  id: `${j(h)}-hint`,
3320
3339
  class: _(["uid-number-input__hint", g.value && "uid-number-input__hint--error"])
3321
- }, k(v.value), 11, ga)) : s("", !0)
3340
+ }, k(v.value), 11, _a)) : s("", !0)
3322
3341
  ], 2));
3323
3342
  }
3324
- }), va = [
3343
+ }), ya = [
3325
3344
  "aria-expanded",
3326
3345
  "aria-label",
3327
3346
  "aria-disabled"
3328
- ], ya = ["aria-label"], ba = {
3347
+ ], ba = ["aria-label"], xa = {
3329
3348
  key: 0,
3330
3349
  class: "uid-timepicker__panel",
3331
3350
  role: "dialog",
3332
3351
  "aria-label": "Выбор времени"
3333
- }, xa = { class: "uid-timepicker__columns" }, Sa = [
3352
+ }, Sa = { class: "uid-timepicker__columns" }, Ca = [
3334
3353
  "aria-selected",
3335
3354
  "tabindex",
3336
3355
  "onClick"
3337
- ], Ca = [
3356
+ ], wa = [
3338
3357
  "aria-selected",
3339
3358
  "tabindex",
3340
3359
  "onClick"
3341
- ], wa = [
3360
+ ], Ta = [
3342
3361
  "aria-selected",
3343
3362
  "tabindex",
3344
3363
  "onClick"
3345
- ], Ta = { class: "uid-timepicker__footer" }, Ea = /* @__PURE__ */ f({
3364
+ ], Ea = { class: "uid-timepicker__footer" }, Da = /* @__PURE__ */ f({
3346
3365
  __name: "UidTimePicker",
3347
3366
  props: /* @__PURE__ */ m({
3348
3367
  step: { default: 5 },
@@ -3537,9 +3556,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3537
3556
  class: "uid-timepicker__clear",
3538
3557
  "aria-label": j(u).common.clear,
3539
3558
  onClick: te
3540
- }, " × ", 8, ya)) : s("", !0)
3541
- ], 40, va), d(r, { name: "uid-timepicker-panel" }, {
3542
- default: z(() => [h.value ? (x(), c("div", ba, [l("div", xa, [
3559
+ }, " × ", 8, ba)) : s("", !0)
3560
+ ], 40, ya), d(r, { name: "uid-timepicker-panel" }, {
3561
+ default: z(() => [h.value ? (x(), c("div", xa, [l("div", Sa, [
3543
3562
  l("div", {
3544
3563
  ref_key: "hourColRef",
3545
3564
  ref: S,
@@ -3555,7 +3574,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3555
3574
  "aria-selected": A.value.h === e,
3556
3575
  tabindex: A.value.h === e ? 0 : -1,
3557
3576
  onClick: (t) => U(e)
3558
- }, k(L(e)), 11, Sa))), 128))], 544),
3577
+ }, k(L(e)), 11, Ca))), 128))], 544),
3559
3578
  l("div", {
3560
3579
  ref_key: "minuteColRef",
3561
3580
  ref: C,
@@ -3571,7 +3590,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3571
3590
  "aria-selected": A.value.m === e,
3572
3591
  tabindex: A.value.m === e ? 0 : -1,
3573
3592
  onClick: (t) => W(e)
3574
- }, k(L(e)), 11, Ca))), 128))], 544),
3593
+ }, k(L(e)), 11, wa))), 128))], 544),
3575
3594
  n.withSeconds ? (x(), c("div", {
3576
3595
  key: 0,
3577
3596
  ref_key: "secondColRef",
@@ -3588,8 +3607,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3588
3607
  "aria-selected": A.value.s === e,
3589
3608
  tabindex: A.value.s === e ? 0 : -1,
3590
3609
  onClick: (t) => G(e)
3591
- }, k(L(e)), 11, wa))), 128))], 544)) : s("", !0)
3592
- ]), l("div", Ta, [l("button", {
3610
+ }, k(L(e)), 11, Ta))), 128))], 544)) : s("", !0)
3611
+ ]), l("div", Ea, [l("button", {
3593
3612
  type: "button",
3594
3613
  class: "uid-timepicker__btn",
3595
3614
  onClick: K
@@ -3601,24 +3620,24 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3601
3620
  _: 1
3602
3621
  })], 2));
3603
3622
  }
3604
- }), Da = [
3623
+ }), Oa = [
3605
3624
  "aria-expanded",
3606
3625
  "aria-label",
3607
3626
  "aria-disabled"
3608
- ], Oa = ["aria-label"], ka = {
3627
+ ], ka = ["aria-label"], Aa = {
3609
3628
  key: 0,
3610
3629
  class: "uid-daterange__panel",
3611
3630
  role: "dialog",
3612
3631
  "aria-label": "Выбор диапазона дат"
3613
- }, Aa = { class: "uid-daterange__months" }, ja = { class: "uid-daterange__month" }, Ma = { class: "uid-daterange__nav" }, Na = ["aria-label"], Pa = { class: "uid-daterange__month-label" }, Fa = ["aria-label"], Ia = { class: "uid-daterange__grid" }, La = [
3632
+ }, ja = { class: "uid-daterange__months" }, Ma = { class: "uid-daterange__month" }, Na = { class: "uid-daterange__nav" }, Pa = ["aria-label"], Fa = { class: "uid-daterange__month-label" }, Ia = ["aria-label"], La = { class: "uid-daterange__grid" }, Ra = [
3614
3633
  "disabled",
3615
3634
  "onClick",
3616
3635
  "onMouseenter"
3617
- ], Ra = { class: "uid-daterange__month" }, za = { class: "uid-daterange__nav" }, Ba = ["aria-label"], Va = { class: "uid-daterange__month-label" }, Ha = ["aria-label"], Ua = { class: "uid-daterange__grid" }, Wa = [
3636
+ ], za = { class: "uid-daterange__month" }, Ba = { class: "uid-daterange__nav" }, Va = ["aria-label"], Ha = { class: "uid-daterange__month-label" }, Ua = ["aria-label"], Wa = { class: "uid-daterange__grid" }, Ga = [
3618
3637
  "disabled",
3619
3638
  "onClick",
3620
3639
  "onMouseenter"
3621
- ], Ga = { class: "uid-daterange__footer" }, Ka = /* @__PURE__ */ f({
3640
+ ], Ka = { class: "uid-daterange__footer" }, qa = /* @__PURE__ */ f({
3622
3641
  __name: "UidDateRangePicker",
3623
3642
  props: /* @__PURE__ */ m({
3624
3643
  min: { default: void 0 },
@@ -3813,9 +3832,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3813
3832
  class: "uid-daterange__clear",
3814
3833
  "aria-label": j(u).common.clear,
3815
3834
  onClick: ce
3816
- }, " × ", 8, Oa)) : s("", !0)
3817
- ], 40, Da), d(r, { name: "uid-daterange-panel" }, {
3818
- default: z(() => [h.value ? (x(), c("div", ka, [l("div", Aa, [l("div", ja, [l("div", Ma, [
3835
+ }, " × ", 8, ka)) : s("", !0)
3836
+ ], 40, Oa), d(r, { name: "uid-daterange-panel" }, {
3837
+ default: z(() => [h.value ? (x(), c("div", Aa, [l("div", ja, [l("div", Ma, [l("div", Na, [
3819
3838
  l("button", {
3820
3839
  type: "button",
3821
3840
  class: "uid-daterange__nav-btn uid-daterange__nav-btn--prev",
@@ -3824,8 +3843,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3824
3843
  }, [d(e, {
3825
3844
  icon: j(re),
3826
3845
  size: 16
3827
- }, null, 8, ["icon"])], 8, Na),
3828
- l("span", Pa, k(H.value), 1),
3846
+ }, null, 8, ["icon"])], 8, Pa),
3847
+ l("span", Fa, k(H.value), 1),
3829
3848
  l("button", {
3830
3849
  type: "button",
3831
3850
  class: "uid-daterange__nav-btn uid-daterange__nav-btn--next",
@@ -3834,8 +3853,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3834
3853
  }, [d(e, {
3835
3854
  icon: j(X),
3836
3855
  size: 16
3837
- }, null, 8, ["icon"])], 8, Fa)
3838
- ]), l("div", Ia, [(x(!0), c(t, null, T(A.value, (e) => (x(), c("span", {
3856
+ }, null, 8, ["icon"])], 8, Ia)
3857
+ ]), l("div", La, [(x(!0), c(t, null, T(A.value, (e) => (x(), c("span", {
3839
3858
  key: e,
3840
3859
  class: "uid-daterange__weekday"
3841
3860
  }, k(e), 1))), 128)), (x(!0), c(t, null, T(B.value, (e) => (x(), c("button", {
@@ -3852,7 +3871,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3852
3871
  disabled: G(e.iso) || !e.current,
3853
3872
  onClick: (t) => ie(e),
3854
3873
  onMouseenter: (t) => ae(e.iso)
3855
- }, k(e.date.getDate()), 43, La))), 128))])]), l("div", Ra, [l("div", za, [
3874
+ }, k(e.date.getDate()), 43, Ra))), 128))])]), l("div", za, [l("div", Ba, [
3856
3875
  l("button", {
3857
3876
  type: "button",
3858
3877
  class: "uid-daterange__nav-btn uid-daterange__nav-btn--prev",
@@ -3861,8 +3880,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3861
3880
  }, [d(e, {
3862
3881
  icon: j(re),
3863
3882
  size: 16
3864
- }, null, 8, ["icon"])], 8, Ba),
3865
- l("span", Va, k(U.value), 1),
3883
+ }, null, 8, ["icon"])], 8, Va),
3884
+ l("span", Ha, k(U.value), 1),
3866
3885
  l("button", {
3867
3886
  type: "button",
3868
3887
  class: "uid-daterange__nav-btn uid-daterange__nav-btn--next",
@@ -3871,8 +3890,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3871
3890
  }, [d(e, {
3872
3891
  icon: j(X),
3873
3892
  size: 16
3874
- }, null, 8, ["icon"])], 8, Ha)
3875
- ]), l("div", Ua, [(x(!0), c(t, null, T(A.value, (e) => (x(), c("span", {
3893
+ }, null, 8, ["icon"])], 8, Ua)
3894
+ ]), l("div", Wa, [(x(!0), c(t, null, T(A.value, (e) => (x(), c("span", {
3876
3895
  key: e,
3877
3896
  class: "uid-daterange__weekday"
3878
3897
  }, k(e), 1))), 128)), (x(!0), c(t, null, T(V.value, (e) => (x(), c("button", {
@@ -3889,7 +3908,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3889
3908
  disabled: G(e.iso) || !e.current,
3890
3909
  onClick: (t) => ie(e),
3891
3910
  onMouseenter: (t) => ae(e.iso)
3892
- }, k(e.date.getDate()), 43, Wa))), 128))])])]), l("div", Ga, [
3911
+ }, k(e.date.getDate()), 43, Ga))), 128))])])]), l("div", Ka, [
3893
3912
  l("button", {
3894
3913
  type: "button",
3895
3914
  class: "uid-daterange__btn",
@@ -3909,11 +3928,11 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3909
3928
  _: 1
3910
3929
  })], 2));
3911
3930
  }
3912
- }), qa = ["for"], Ja = {
3931
+ }), Ja = ["for"], Ya = {
3913
3932
  key: 0,
3914
3933
  class: "uid-tags-input__required",
3915
3934
  "aria-hidden": "true"
3916
- }, Ya = ["aria-label", "onClick"], Xa = [
3935
+ }, Xa = ["aria-label", "onClick"], Za = [
3917
3936
  "id",
3918
3937
  "placeholder",
3919
3938
  "disabled",
@@ -3921,7 +3940,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
3921
3940
  "value",
3922
3941
  "aria-invalid",
3923
3942
  "aria-describedby"
3924
- ], Za = ["id"], Qa = /* @__PURE__ */ f({
3943
+ ], Qa = ["id"], $a = /* @__PURE__ */ f({
3925
3944
  __name: "UidTagsInput",
3926
3945
  props: /* @__PURE__ */ m({
3927
3946
  separators: { default: () => [",", "Enter"] },
@@ -4022,7 +4041,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4022
4041
  key: 0,
4023
4042
  for: j(p),
4024
4043
  class: "uid-tags-input__label"
4025
- }, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", Ja, "*")) : s("", !0)], 8, qa)) : s("", !0),
4044
+ }, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", Ya, "*")) : s("", !0)], 8, Ja)) : s("", !0),
4026
4045
  l("div", {
4027
4046
  class: "uid-tags-input__control",
4028
4047
  role: "list",
@@ -4037,7 +4056,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4037
4056
  class: "uid-tags-input__chip-remove",
4038
4057
  "aria-label": j(m).tagsInput.remove(t),
4039
4058
  onClick: H((e) => S(n), ["stop"])
4040
- }, "×", 8, Ya))], 2))), 128)), l("input", {
4059
+ }, "×", 8, Xa))], 2))), 128)), l("input", {
4041
4060
  id: j(p),
4042
4061
  ref_key: "inputRef",
4043
4062
  ref: f,
@@ -4053,19 +4072,19 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4053
4072
  onKeydown: C,
4054
4073
  onPaste: D,
4055
4074
  onBlur: b
4056
- }, null, 40, Xa)]),
4075
+ }, null, 40, Za)]),
4057
4076
  g.value ? (x(), c("p", {
4058
4077
  key: 1,
4059
4078
  id: `${j(p)}-hint`,
4060
4079
  class: _(["uid-tags-input__hint", h.value && "uid-tags-input__hint--error"])
4061
- }, k(g.value), 11, Za)) : s("", !0)
4080
+ }, k(g.value), 11, Qa)) : s("", !0)
4062
4081
  ], 2));
4063
4082
  }
4064
- }), $a = ["for"], eo = {
4083
+ }), eo = ["for"], to = {
4065
4084
  key: 0,
4066
4085
  class: "uid-combobox__required",
4067
4086
  "aria-hidden": "true"
4068
- }, to = { class: "uid-combobox__control" }, no = [
4087
+ }, no = { class: "uid-combobox__control" }, ro = [
4069
4088
  "id",
4070
4089
  "aria-expanded",
4071
4090
  "aria-controls",
@@ -4075,20 +4094,20 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4075
4094
  "disabled",
4076
4095
  "required",
4077
4096
  "value"
4078
- ], ro = { class: "uid-combobox__suffix" }, io = ["aria-label"], ao = ["id"], oo = [
4097
+ ], io = { class: "uid-combobox__suffix" }, ao = ["aria-label"], oo = ["id"], so = [
4079
4098
  "id",
4080
4099
  "data-active",
4081
4100
  "aria-selected",
4082
4101
  "aria-disabled",
4083
4102
  "onClick",
4084
4103
  "onMouseenter"
4085
- ], so = { class: "uid-combobox__option-label" }, co = {
4104
+ ], co = { class: "uid-combobox__option-label" }, lo = {
4086
4105
  key: 0,
4087
4106
  class: "uid-combobox__option-hint"
4088
- }, lo = ["id", "data-active"], uo = { class: "uid-combobox__option-label" }, fo = {
4107
+ }, uo = ["id", "data-active"], fo = { class: "uid-combobox__option-label" }, po = {
4089
4108
  key: 2,
4090
4109
  class: "uid-combobox__empty"
4091
- }, po = /* @__PURE__ */ f({
4110
+ }, mo = /* @__PURE__ */ f({
4092
4111
  __name: "UidCombobox",
4093
4112
  props: /* @__PURE__ */ m({
4094
4113
  options: {},
@@ -4214,8 +4233,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4214
4233
  key: 0,
4215
4234
  for: j(A),
4216
4235
  class: "uid-combobox__label"
4217
- }, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", eo, "*")) : s("", !0)], 8, $a)) : s("", !0),
4218
- l("div", to, [l("input", {
4236
+ }, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", to, "*")) : s("", !0)], 8, eo)) : s("", !0),
4237
+ l("div", no, [l("input", {
4219
4238
  id: j(A),
4220
4239
  ref_key: "inputRef",
4221
4240
  ref: D,
@@ -4236,7 +4255,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4236
4255
  onInput: ee,
4237
4256
  onFocus: K,
4238
4257
  onKeydown: te
4239
- }, null, 40, no), l("div", ro, [n.clearable && v.value !== null ? (x(), c("button", {
4258
+ }, null, 40, ro), l("div", io, [n.clearable && v.value !== null ? (x(), c("button", {
4240
4259
  key: 0,
4241
4260
  type: "button",
4242
4261
  class: "uid-combobox__clear",
@@ -4245,7 +4264,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4245
4264
  }, [d(e, {
4246
4265
  icon: j(ye),
4247
4266
  size: 12
4248
- }, null, 8, ["icon"])], 8, io)) : s("", !0), d(e, {
4267
+ }, null, 8, ["icon"])], 8, ao)) : s("", !0), d(e, {
4249
4268
  icon: j(Y),
4250
4269
  size: 16,
4251
4270
  class: _(["uid-combobox__chevron", { "uid-combobox__chevron--open": y.value }]),
@@ -4276,8 +4295,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4276
4295
  onClick: (e) => U(t),
4277
4296
  onMouseenter: (e) => !t.disabled && (C.value = n)
4278
4297
  }, [
4279
- l("span", so, k(t.label), 1),
4280
- t.hint ? (x(), c("span", co, k(t.hint), 1)) : s("", !0),
4298
+ l("span", co, k(t.label), 1),
4299
+ t.hint ? (x(), c("span", lo, k(t.hint), 1)) : s("", !0),
4281
4300
  t.value === v.value ? (x(), o(e, {
4282
4301
  key: 1,
4283
4302
  icon: j(q),
@@ -4285,7 +4304,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4285
4304
  class: "uid-combobox__check",
4286
4305
  "aria-hidden": "true"
4287
4306
  }, null, 8, ["icon"])) : s("", !0)
4288
- ], 42, oo))), 128)) : s("", !0),
4307
+ ], 42, so))), 128)) : s("", !0),
4289
4308
  L.value ? (x(), c("button", {
4290
4309
  key: 1,
4291
4310
  id: `${j(P)}-${I.value.length}`,
@@ -4295,35 +4314,35 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4295
4314
  "data-active": C.value === I.value.length ? "true" : void 0,
4296
4315
  onClick: W,
4297
4316
  onMouseenter: i[0] ||= (e) => C.value = I.value.length
4298
- }, [l("span", uo, k(j(f).combobox.create(S.value)), 1)], 42, lo)) : s("", !0),
4299
- I.value.length === 0 && !L.value ? (x(), c("div", fo, k(m.value), 1)) : s("", !0)
4300
- ], 8, ao)) : s("", !0),
4317
+ }, [l("span", fo, k(j(f).combobox.create(S.value)), 1)], 42, uo)) : s("", !0),
4318
+ I.value.length === 0 && !L.value ? (x(), c("div", po, k(m.value), 1)) : s("", !0)
4319
+ ], 8, oo)) : s("", !0),
4301
4320
  B.value ? (x(), c("p", {
4302
4321
  key: 2,
4303
4322
  class: _(["uid-combobox__hint", z.value && "uid-combobox__hint--error"])
4304
4323
  }, k(B.value), 3)) : s("", !0)
4305
4324
  ], 2));
4306
4325
  }
4307
- }), mo = Symbol("UidTree"), ho = [
4326
+ }), ho = Symbol("UidTree"), go = [
4308
4327
  "aria-expanded",
4309
4328
  "aria-selected",
4310
4329
  "aria-disabled"
4311
- ], go = ["tabindex"], _o = ["aria-label"], vo = {
4330
+ ], _o = ["tabindex"], vo = ["aria-label"], yo = {
4312
4331
  key: 1,
4313
4332
  class: "uid-tree-item__chevron uid-tree-item__chevron--placeholder",
4314
4333
  "aria-hidden": "true"
4315
- }, yo = ["aria-checked"], bo = { class: "uid-tree-item__label" }, xo = {
4334
+ }, bo = ["aria-checked"], xo = { class: "uid-tree-item__label" }, So = {
4316
4335
  key: 0,
4317
4336
  class: "uid-tree-item__children",
4318
4337
  role: "group"
4319
- }, So = /* @__PURE__ */ f({
4338
+ }, Co = /* @__PURE__ */ f({
4320
4339
  __name: "UidTreeItem",
4321
4340
  props: {
4322
4341
  node: {},
4323
4342
  level: {}
4324
4343
  },
4325
4344
  setup(n) {
4326
- let r = n, i = p(mo);
4345
+ let r = n, i = p(ho);
4327
4346
  if (!i) throw Error("UidTreeItem must be used inside UidTree");
4328
4347
  let u = i, f = $(), m = w(null), h = a(() => !!r.node.children && r.node.children.length > 0), y = a(() => u.isExpanded(r.node.key)), b = a(() => r.node.icon ? r.node.icon : h.value ? y.value ? ue : le : se), S = a(() => u.isSelected(r.node.key)), C = a(() => u.isChecked(r.node.key)), E = a(() => u.isIndeterminate(r.node.key)), O = a(() => u.disabled.value || !!r.node.disabled), A = a(() => u.focusedKey.value === r.node.key), M = a(() => O.value ? -1 : A.value || u.focusedKey.value === null && u.isFirst(r.node.key) ? 0 : -1);
4329
4348
  R(A, (e) => {
@@ -4385,7 +4404,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4385
4404
  }, [d(e, {
4386
4405
  icon: j(X),
4387
4406
  size: 14
4388
- }, null, 8, ["icon"])], 10, _o)) : (x(), c("span", vo)),
4407
+ }, null, 8, ["icon"])], 10, vo)) : (x(), c("span", yo)),
4389
4408
  j(u).checkable.value ? (x(), c("span", {
4390
4409
  key: 2,
4391
4410
  class: _(["uid-tree-item__check", {
@@ -4399,7 +4418,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4399
4418
  key: 0,
4400
4419
  icon: j(q),
4401
4420
  size: 12
4402
- }, null, 8, ["icon"])) : s("", !0)], 10, yo)) : s("", !0),
4421
+ }, null, 8, ["icon"])) : s("", !0)], 10, bo)) : s("", !0),
4403
4422
  l("span", { class: _(["uid-tree-item__icon", {
4404
4423
  "uid-tree-item__icon--branch": h.value,
4405
4424
  "uid-tree-item__icon--leaf": !h.value
@@ -4407,15 +4426,15 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4407
4426
  icon: b.value,
4408
4427
  size: 16
4409
4428
  }, null, 8, ["icon"])], 2),
4410
- l("span", bo, k(n.node.label), 1)
4411
- ], 44, go), h.value && y.value ? (x(), c("ul", xo, [(x(!0), c(t, null, T(n.node.children, (e) => (x(), o(a, {
4429
+ l("span", xo, k(n.node.label), 1)
4430
+ ], 44, _o), h.value && y.value ? (x(), c("ul", So, [(x(!0), c(t, null, T(n.node.children, (e) => (x(), o(a, {
4412
4431
  key: e.key,
4413
4432
  node: e,
4414
4433
  level: n.level + 1
4415
- }, null, 8, ["node", "level"]))), 128))])) : s("", !0)], 10, ho);
4434
+ }, null, 8, ["node", "level"]))), 128))])) : s("", !0)], 10, go);
4416
4435
  };
4417
4436
  }
4418
- }), Co = "__virtual_root__", wo = /* @__PURE__ */ f({
4437
+ }), wo = "__virtual_root__", To = /* @__PURE__ */ f({
4419
4438
  __name: "UidTreeView",
4420
4439
  props: /* @__PURE__ */ m({
4421
4440
  nodes: {},
@@ -4457,7 +4476,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4457
4476
  let r = e, i = a(() => {
4458
4477
  if (!r.virtualRoot) return r.nodes;
4459
4478
  let e = typeof r.virtualRoot == "string" ? {
4460
- key: Co,
4479
+ key: wo,
4461
4480
  label: r.virtualRoot,
4462
4481
  selectable: !1
4463
4482
  } : { ...r.virtualRoot };
@@ -4567,7 +4586,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4567
4586
  function F(e) {
4568
4587
  return k.value.get(e) ?? null;
4569
4588
  }
4570
- return S(mo, {
4589
+ return S(ho, {
4571
4590
  selectable: a(() => r.selectable),
4572
4591
  checkable: a(() => r.checkable),
4573
4592
  disabled: a(() => r.disabled),
@@ -4590,13 +4609,13 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4590
4609
  }), (n, r) => (x(), c("ul", {
4591
4610
  class: _(["uid-tree", { "uid-tree--guides": e.showGuides }]),
4592
4611
  role: "tree"
4593
- }, [(x(!0), c(t, null, T(i.value, (e) => (x(), o(So, {
4612
+ }, [(x(!0), c(t, null, T(i.value, (e) => (x(), o(Co, {
4594
4613
  key: e.key,
4595
4614
  node: e,
4596
4615
  level: 0
4597
4616
  }, null, 8, ["node"]))), 128))], 2));
4598
4617
  }
4599
- }), To = /* @__PURE__ */ f({
4618
+ }), Eo = /* @__PURE__ */ f({
4600
4619
  __name: "UidTimeline",
4601
4620
  props: { alternate: {
4602
4621
  type: Boolean,
@@ -4605,19 +4624,19 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4605
4624
  setup(e) {
4606
4625
  return (t, n) => (x(), c("ol", { class: _(["uid-timeline", { "uid-timeline--alternate": e.alternate }]) }, [E(t.$slots, "default")], 2));
4607
4626
  }
4608
- }), Eo = { class: "uid-timeline-item__rail" }, Do = { class: "uid-timeline-item__marker" }, Oo = { class: "uid-timeline-item__content" }, ko = {
4627
+ }), Do = { class: "uid-timeline-item__rail" }, Oo = { class: "uid-timeline-item__marker" }, ko = { class: "uid-timeline-item__content" }, Ao = {
4609
4628
  key: 0,
4610
4629
  class: "uid-timeline-item__time"
4611
- }, Ao = {
4630
+ }, jo = {
4612
4631
  key: 1,
4613
4632
  class: "uid-timeline-item__title"
4614
- }, jo = {
4633
+ }, Mo = {
4615
4634
  key: 2,
4616
4635
  class: "uid-timeline-item__description"
4617
- }, Mo = {
4636
+ }, No = {
4618
4637
  key: 3,
4619
4638
  class: "uid-timeline-item__description"
4620
- }, No = /* @__PURE__ */ f({
4639
+ }, Po = /* @__PURE__ */ f({
4621
4640
  __name: "UidTimelineItem",
4622
4641
  props: {
4623
4642
  title: {},
@@ -4627,37 +4646,37 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4627
4646
  icon: {}
4628
4647
  },
4629
4648
  setup(t) {
4630
- return (n, r) => (x(), c("li", { class: _(["uid-timeline-item", [t.tone !== "neutral" && `uid-timeline-item--${t.tone}`, (t.icon || n.$slots.icon) && "uid-timeline-item--with-icon"]]) }, [l("div", Eo, [l("div", Do, [E(n.$slots, "icon", {}, () => [t.icon ? (x(), o(e, {
4649
+ return (n, r) => (x(), c("li", { class: _(["uid-timeline-item", [t.tone !== "neutral" && `uid-timeline-item--${t.tone}`, (t.icon || n.$slots.icon) && "uid-timeline-item--with-icon"]]) }, [l("div", Do, [l("div", Oo, [E(n.$slots, "icon", {}, () => [t.icon ? (x(), o(e, {
4631
4650
  key: 0,
4632
4651
  icon: t.icon,
4633
4652
  size: 14
4634
4653
  }, null, 8, ["icon"])) : s("", !0)])]), r[0] ||= l("div", {
4635
4654
  class: "uid-timeline-item__line",
4636
4655
  "aria-hidden": "true"
4637
- }, null, -1)]), l("div", Oo, [
4638
- t.time || n.$slots.time ? (x(), c("p", ko, [E(n.$slots, "time", {}, () => [u(k(t.time), 1)])])) : s("", !0),
4639
- t.title ? (x(), c("h4", Ao, k(t.title), 1)) : s("", !0),
4640
- t.description && !n.$slots.default ? (x(), c("p", jo, k(t.description), 1)) : s("", !0),
4641
- n.$slots.default ? (x(), c("div", Mo, [E(n.$slots, "default")])) : s("", !0)
4656
+ }, null, -1)]), l("div", ko, [
4657
+ t.time || n.$slots.time ? (x(), c("p", Ao, [E(n.$slots, "time", {}, () => [u(k(t.time), 1)])])) : s("", !0),
4658
+ t.title ? (x(), c("h4", jo, k(t.title), 1)) : s("", !0),
4659
+ t.description && !n.$slots.default ? (x(), c("p", Mo, k(t.description), 1)) : s("", !0),
4660
+ n.$slots.default ? (x(), c("div", No, [E(n.$slots, "default")])) : s("", !0)
4642
4661
  ])], 2));
4643
4662
  }
4644
- }), Po = ["for"], Fo = {
4663
+ }), Fo = ["for"], Io = {
4645
4664
  key: 0,
4646
4665
  class: "uid-file-upload__required",
4647
4666
  "aria-hidden": "true"
4648
- }, Io = ["aria-disabled", "aria-invalid"], Lo = { class: "uid-file-upload__primary-text" }, Ro = ["innerHTML"], zo = { class: "uid-file-upload__secondary-text" }, Bo = [
4667
+ }, Lo = ["aria-disabled", "aria-invalid"], Ro = { class: "uid-file-upload__primary-text" }, zo = ["innerHTML"], Bo = { class: "uid-file-upload__secondary-text" }, Vo = [
4649
4668
  "id",
4650
4669
  "multiple",
4651
4670
  "accept",
4652
4671
  "disabled",
4653
4672
  "required"
4654
- ], Vo = {
4673
+ ], Ho = {
4655
4674
  key: 1,
4656
4675
  class: "uid-file-upload__list"
4657
- }, Ho = { class: "uid-file-upload__file-info" }, Uo = { class: "uid-file-upload__file-name" }, Wo = { class: "uid-file-upload__file-meta" }, Go = { key: 0 }, Ko = { key: 1 }, qo = {
4676
+ }, Uo = { class: "uid-file-upload__file-info" }, Wo = { class: "uid-file-upload__file-name" }, Go = { class: "uid-file-upload__file-meta" }, Ko = { key: 0 }, qo = { key: 1 }, Jo = {
4658
4677
  key: 0,
4659
4678
  class: "uid-file-upload__progress"
4660
- }, Jo = ["aria-label", "onClick"], Yo = /* @__PURE__ */ f({
4679
+ }, Yo = ["aria-label", "onClick"], Xo = /* @__PURE__ */ f({
4661
4680
  __name: "UidFileUpload",
4662
4681
  props: /* @__PURE__ */ m({
4663
4682
  multiple: {
@@ -4750,7 +4769,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4750
4769
  key: 0,
4751
4770
  for: j(b),
4752
4771
  class: "uid-file-upload__label"
4753
- }, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", Fo, "*")) : s("", !0)], 8, Po)) : s("", !0),
4772
+ }, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", Io, "*")) : s("", !0)], 8, Fo)) : s("", !0),
4754
4773
  l("div", {
4755
4774
  class: _(["uid-file-upload__dropzone", { "uid-file-upload__dropzone--active": y.value }]),
4756
4775
  role: "button",
@@ -4769,8 +4788,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4769
4788
  class: "uid-file-upload__icon",
4770
4789
  "aria-hidden": "true"
4771
4790
  }, null, 8, ["icon"]),
4772
- l("p", Lo, [l("span", { innerHTML: f.value }, null, 8, Ro)]),
4773
- l("p", zo, k(p.value), 1),
4791
+ l("p", Ro, [l("span", { innerHTML: f.value }, null, 8, zo)]),
4792
+ l("p", Bo, k(p.value), 1),
4774
4793
  l("input", {
4775
4794
  id: j(b),
4776
4795
  ref_key: "inputRef",
@@ -4784,9 +4803,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4784
4803
  disabled: n.disabled,
4785
4804
  required: n.required,
4786
4805
  onChange: A
4787
- }, null, 40, Bo)
4788
- ], 42, Io),
4789
- h.value.length > 0 ? (x(), c("ul", Vo, [(x(!0), c(t, null, T(h.value, (t) => (x(), c("li", {
4806
+ }, null, 40, Vo)
4807
+ ], 42, Lo),
4808
+ h.value.length > 0 ? (x(), c("ul", Ho, [(x(!0), c(t, null, T(h.value, (t) => (x(), c("li", {
4790
4809
  key: t.id,
4791
4810
  class: _(["uid-file-upload__item", { "uid-file-upload__item--error": t.error }])
4792
4811
  }, [
@@ -4796,10 +4815,10 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4796
4815
  class: "uid-file-upload__file-icon",
4797
4816
  "aria-hidden": "true"
4798
4817
  }, null, 8, ["icon"]),
4799
- l("div", Ho, [
4800
- l("div", Uo, k(t.file.name), 1),
4801
- l("div", Wo, [l("span", null, k(E(t.file.size)), 1), t.error ? (x(), c("span", Go, "— " + k(t.error), 1)) : t.progress === void 0 ? s("", !0) : (x(), c("span", Ko, "— " + k(t.progress) + "%", 1))]),
4802
- t.progress !== void 0 && !t.error ? (x(), c("div", qo, [l("div", {
4818
+ l("div", Uo, [
4819
+ l("div", Wo, k(t.file.name), 1),
4820
+ l("div", Go, [l("span", null, k(E(t.file.size)), 1), t.error ? (x(), c("span", Ko, "— " + k(t.error), 1)) : t.progress === void 0 ? s("", !0) : (x(), c("span", qo, "— " + k(t.progress) + "%", 1))]),
4821
+ t.progress !== void 0 && !t.error ? (x(), c("div", Jo, [l("div", {
4803
4822
  class: "uid-file-upload__progress-bar",
4804
4823
  style: v({ width: `${t.progress}%` })
4805
4824
  }, null, 4)])) : s("", !0)
@@ -4812,7 +4831,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4812
4831
  }, [d(e, {
4813
4832
  icon: j(ye),
4814
4833
  size: 16
4815
- }, null, 8, ["icon"])], 8, Jo)
4834
+ }, null, 8, ["icon"])], 8, Yo)
4816
4835
  ], 2))), 128))])) : s("", !0),
4817
4836
  C.value ? (x(), c("p", {
4818
4837
  key: 2,
@@ -4820,17 +4839,17 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4820
4839
  }, k(C.value), 3)) : s("", !0)
4821
4840
  ], 2));
4822
4841
  }
4823
- }), Xo = {
4842
+ }), Zo = {
4824
4843
  key: 0,
4825
4844
  class: "uid-code uid-code--inline"
4826
- }, Zo = {
4845
+ }, Qo = {
4827
4846
  key: 0,
4828
4847
  class: "uid-code__header"
4829
- }, Qo = { class: "uid-code__lang" }, $o = ["aria-label"], es = { class: "uid-code__body" }, ts = {
4848
+ }, $o = { class: "uid-code__lang" }, es = ["aria-label"], ts = { class: "uid-code__body" }, ns = {
4830
4849
  key: 0,
4831
4850
  class: "uid-code__line-numbers",
4832
4851
  "aria-hidden": "true"
4833
- }, ns = { class: "uid-code__pre" }, rs = /* @__PURE__ */ f({
4852
+ }, rs = { class: "uid-code__pre" }, is = /* @__PURE__ */ f({
4834
4853
  __name: "UidCode",
4835
4854
  props: {
4836
4855
  code: { default: "" },
@@ -4862,14 +4881,14 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4862
4881
  }, 1500);
4863
4882
  } catch {}
4864
4883
  }
4865
- return (i, a) => n.inline ? (x(), c("code", Xo, [E(i.$slots, "default", {}, () => [u(k(n.code), 1)])])) : (x(), c("div", {
4884
+ return (i, a) => n.inline ? (x(), c("code", Zo, [E(i.$slots, "default", {}, () => [u(k(n.code), 1)])])) : (x(), c("div", {
4866
4885
  key: 1,
4867
4886
  class: _(["uid-code", {
4868
4887
  "uid-code--minimal": !p.value,
4869
4888
  "uid-code--wrap": n.wrap
4870
4889
  }]),
4871
4890
  style: v(n.maxHeight ? { "--uid-code-max-height": n.maxHeight } : void 0)
4872
- }, [p.value ? (x(), c("div", Zo, [l("span", Qo, k(n.language || ""), 1), n.copy ? (x(), c("button", {
4891
+ }, [p.value ? (x(), c("div", Qo, [l("span", $o, k(n.language || ""), 1), n.copy ? (x(), c("button", {
4873
4892
  key: 0,
4874
4893
  type: "button",
4875
4894
  class: _(["uid-code__copy", { "uid-code__copy--copied": o.value }]),
@@ -4879,30 +4898,30 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
4879
4898
  icon: o.value ? j(q) : j(oe),
4880
4899
  size: 12,
4881
4900
  "aria-hidden": "true"
4882
- }, null, 8, ["icon"]), l("span", null, k(o.value ? j(r).copy.copied : j(r).copy.copy), 1)], 10, $o)) : s("", !0)])) : s("", !0), l("div", es, [n.lineNumbers ? (x(), c("div", ts, [(x(!0), c(t, null, T(f.value, (e, t) => (x(), c("span", {
4901
+ }, null, 8, ["icon"]), l("span", null, k(o.value ? j(r).copy.copied : j(r).copy.copy), 1)], 10, es)) : s("", !0)])) : s("", !0), l("div", ts, [n.lineNumbers ? (x(), c("div", ns, [(x(!0), c(t, null, T(f.value, (e, t) => (x(), c("span", {
4883
4902
  key: t,
4884
4903
  class: "uid-code__line-number"
4885
- }, k(t + 1), 1))), 128))])) : s("", !0), l("pre", ns, [l("code", null, [E(i.$slots, "default", {}, () => [u(k(n.code), 1)])])])])], 6));
4904
+ }, k(t + 1), 1))), 128))])) : s("", !0), l("pre", rs, [l("code", null, [E(i.$slots, "default", {}, () => [u(k(n.code), 1)])])])])], 6));
4886
4905
  }
4887
- }), is = [
4906
+ }), as = [
4888
4907
  "aria-valuemax",
4889
4908
  "aria-valuenow",
4890
4909
  "aria-readonly",
4891
4910
  "aria-disabled",
4892
4911
  "aria-label"
4893
- ], as = [
4912
+ ], os = [
4894
4913
  "tabindex",
4895
4914
  "aria-label",
4896
4915
  "onClick",
4897
4916
  "onMousemove",
4898
4917
  "onKeydown"
4899
- ], os = {
4918
+ ], ss = {
4900
4919
  class: "uid-rating__icon",
4901
4920
  "aria-hidden": "true"
4902
- }, ss = ["data-half"], cs = {
4921
+ }, cs = ["data-half"], ls = {
4903
4922
  key: 0,
4904
4923
  class: "uid-rating__label"
4905
- }, ls = /* @__PURE__ */ f({
4924
+ }, us = /* @__PURE__ */ f({
4906
4925
  __name: "UidRating",
4907
4926
  props: /* @__PURE__ */ m({
4908
4927
  max: { default: 5 },
@@ -5006,21 +5025,21 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5006
5025
  onClick: (e) => y(e, t),
5007
5026
  onMousemove: (e) => b(e, t),
5008
5027
  onKeydown: (e) => C(e, t)
5009
- }, [l("span", os, [d(e, { icon: h.value }, null, 8, ["icon"])]), g(t).full ? (x(), c("span", {
5028
+ }, [l("span", ss, [d(e, { icon: h.value }, null, 8, ["icon"])]), g(t).full ? (x(), c("span", {
5010
5029
  key: 0,
5011
5030
  class: "uid-rating__icon uid-rating__icon--filled",
5012
5031
  "data-half": g(t).half ? "true" : "false",
5013
5032
  "aria-hidden": "true"
5014
- }, [d(e, { icon: h.value }, null, 8, ["icon"])], 8, ss)) : s("", !0)], 40, as))), 128)), n.showLabel ? (x(), c("span", cs, k(u.value.toFixed(+!!n.allowHalf)) + " / " + k(n.max), 1)) : s("", !0)], 42, is));
5033
+ }, [d(e, { icon: h.value }, null, 8, ["icon"])], 8, cs)) : s("", !0)], 40, os))), 128)), n.showLabel ? (x(), c("span", ls, k(u.value.toFixed(+!!n.allowHalf)) + " / " + k(n.max), 1)) : s("", !0)], 42, as));
5015
5034
  }
5016
- }), us = [
5035
+ }), ds = [
5017
5036
  "tabindex",
5018
5037
  "aria-orientation",
5019
5038
  "aria-valuemin",
5020
5039
  "aria-valuemax",
5021
5040
  "aria-valuenow",
5022
5041
  "aria-disabled"
5023
- ], ds = { class: "uid-splitter__pane uid-splitter__pane--end" }, fs = /* @__PURE__ */ f({
5042
+ ], fs = { class: "uid-splitter__pane uid-splitter__pane--end" }, ps = /* @__PURE__ */ f({
5024
5043
  __name: "UidSplitter",
5025
5044
  props: /* @__PURE__ */ m({
5026
5045
  direction: { default: "horizontal" },
@@ -5098,27 +5117,27 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5098
5117
  l("span", { class: "uid-splitter__grip-dot" }),
5099
5118
  l("span", { class: "uid-splitter__grip-dot" }),
5100
5119
  l("span", { class: "uid-splitter__grip-dot" })
5101
- ], -1)]], 40, us),
5102
- l("div", ds, [E(t.$slots, "end")])
5120
+ ], -1)]], 40, ds),
5121
+ l("div", fs, [E(t.$slots, "end")])
5103
5122
  ], 2));
5104
5123
  }
5105
- }), ps = {
5124
+ }), ms = {
5106
5125
  key: 0,
5107
5126
  class: "uid-stat__icon",
5108
5127
  "aria-hidden": "true"
5109
- }, ms = { class: "uid-stat__body" }, hs = {
5128
+ }, hs = { class: "uid-stat__body" }, gs = {
5110
5129
  key: 0,
5111
5130
  class: "uid-stat__title"
5112
- }, gs = { class: "uid-stat__value-row" }, _s = { class: "uid-stat__value" }, vs = {
5131
+ }, _s = { class: "uid-stat__value-row" }, vs = { class: "uid-stat__value" }, ys = {
5113
5132
  key: 0,
5114
5133
  class: "uid-stat__prefix"
5115
- }, ys = {
5134
+ }, bs = {
5116
5135
  key: 1,
5117
5136
  class: "uid-stat__suffix"
5118
- }, bs = {
5137
+ }, xs = {
5119
5138
  key: 1,
5120
5139
  class: "uid-stat__footer"
5121
- }, xs = /* @__PURE__ */ f({
5140
+ }, Ss = /* @__PURE__ */ f({
5122
5141
  __name: "UidStat",
5123
5142
  props: {
5124
5143
  title: {},
@@ -5144,16 +5163,16 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5144
5163
  `uid-stat--${t.tone}`,
5145
5164
  t.variant === "ghost" && "uid-stat--ghost",
5146
5165
  t.loading && "uid-stat--loading"
5147
- ]]) }, [t.icon || n.$slots.icon ? (x(), c("span", ps, [E(n.$slots, "icon", {}, () => [t.icon ? (x(), o(e, {
5166
+ ]]) }, [t.icon || n.$slots.icon ? (x(), c("span", ms, [E(n.$slots, "icon", {}, () => [t.icon ? (x(), o(e, {
5148
5167
  key: 0,
5149
5168
  icon: t.icon,
5150
5169
  size: 20
5151
- }, null, 8, ["icon"])) : s("", !0)])])) : s("", !0), l("div", ms, [
5152
- t.title ? (x(), c("p", hs, k(t.title), 1)) : s("", !0),
5153
- l("div", gs, [l("span", _s, [E(n.$slots, "value", {}, () => [
5154
- t.prefix ? (x(), c("span", vs, k(t.prefix), 1)) : s("", !0),
5170
+ }, null, 8, ["icon"])) : s("", !0)])])) : s("", !0), l("div", hs, [
5171
+ t.title ? (x(), c("p", gs, k(t.title), 1)) : s("", !0),
5172
+ l("div", _s, [l("span", vs, [E(n.$slots, "value", {}, () => [
5173
+ t.prefix ? (x(), c("span", ys, k(t.prefix), 1)) : s("", !0),
5155
5174
  l("span", null, k(r.value), 1),
5156
- t.suffix ? (x(), c("span", ys, k(t.suffix), 1)) : s("", !0)
5175
+ t.suffix ? (x(), c("span", bs, k(t.suffix), 1)) : s("", !0)
5157
5176
  ])]), t.trend !== void 0 || n.$slots.trend ? (x(), c("span", {
5158
5177
  key: 0,
5159
5178
  class: _(["uid-stat__trend", i.value && `uid-stat__trend--${i.value}`])
@@ -5162,13 +5181,13 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5162
5181
  icon: d.value,
5163
5182
  size: 12
5164
5183
  }, null, 8, ["icon"])) : s("", !0), l("span", null, k(f.value), 1)])], 2)) : s("", !0)]),
5165
- t.footer || n.$slots.footer ? (x(), c("p", bs, [E(n.$slots, "footer", {}, () => [u(k(t.footer), 1)])])) : s("", !0)
5184
+ t.footer || n.$slots.footer ? (x(), c("p", xs, [E(n.$slots, "footer", {}, () => [u(k(t.footer), 1)])])) : s("", !0)
5166
5185
  ])], 2));
5167
5186
  }
5168
- }), Ss = Symbol("UidDescriptionList"), Cs = {
5187
+ }), Cs = Symbol("UidDescriptionList"), ws = {
5169
5188
  key: 0,
5170
5189
  class: "uid-description-list__title"
5171
- }, ws = /* @__PURE__ */ f({
5190
+ }, Ts = /* @__PURE__ */ f({
5172
5191
  __name: "UidDescriptionList",
5173
5192
  props: {
5174
5193
  title: {},
@@ -5183,7 +5202,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5183
5202
  },
5184
5203
  setup(e) {
5185
5204
  let t = e;
5186
- S(Ss, {
5205
+ S(Cs, {
5187
5206
  direction: a(() => t.direction),
5188
5207
  bordered: a(() => t.bordered)
5189
5208
  });
@@ -5195,12 +5214,12 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5195
5214
  `uid-description-list--${e.direction}`,
5196
5215
  `uid-description-list--${e.size}`,
5197
5216
  e.bordered && "uid-description-list--bordered"
5198
- ]]) }, [e.title || t.$slots.title ? (x(), c("h3", Cs, [E(t.$slots, "title", {}, () => [u(k(e.title), 1)])])) : s("", !0), l("dl", {
5217
+ ]]) }, [e.title || t.$slots.title ? (x(), c("h3", ws, [E(t.$slots, "title", {}, () => [u(k(e.title), 1)])])) : s("", !0), l("dl", {
5199
5218
  class: "uid-description-list__grid",
5200
5219
  style: v(n.value)
5201
5220
  }, [E(t.$slots, "default")], 4)], 2));
5202
5221
  }
5203
- }), Ts = { class: "uid-description-item__label" }, Es = { class: "uid-description-item__value" }, Ds = ["aria-label"], Os = /* @__PURE__ */ f({
5222
+ }), Es = { class: "uid-description-item__label" }, Ds = { class: "uid-description-item__value" }, Os = ["aria-label"], ks = /* @__PURE__ */ f({
5204
5223
  __name: "UidDescriptionItem",
5205
5224
  props: {
5206
5225
  label: {},
@@ -5213,7 +5232,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5213
5232
  },
5214
5233
  setup(t) {
5215
5234
  let n = $(), r = t;
5216
- p(Ss, null);
5235
+ p(Cs, null);
5217
5236
  let i = w(null), o = w(!1), f = a(() => ({ "--uid-desc-span": r.span }));
5218
5237
  async function m() {
5219
5238
  let e = r.copyValue ?? i.value?.querySelector(".uid-description-item__value")?.textContent?.trim() ?? "";
@@ -5228,7 +5247,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5228
5247
  ref: i,
5229
5248
  class: "uid-description-item",
5230
5249
  style: v(f.value)
5231
- }, [l("dt", Ts, [E(r.$slots, "label", {}, () => [u(k(t.label), 1)])]), l("dd", Es, [E(r.$slots, "default"), t.copyable ? (x(), c("button", {
5250
+ }, [l("dt", Es, [E(r.$slots, "label", {}, () => [u(k(t.label), 1)])]), l("dd", Ds, [E(r.$slots, "default"), t.copyable ? (x(), c("button", {
5232
5251
  key: 0,
5233
5252
  type: "button",
5234
5253
  class: _(["uid-description-item__copy", { "uid-description-item__copy--copied": o.value }]),
@@ -5237,24 +5256,24 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5237
5256
  }, [d(e, {
5238
5257
  icon: o.value ? j(q) : j(oe),
5239
5258
  size: 12
5240
- }, null, 8, ["icon"])], 10, Ds)) : s("", !0)])], 4));
5259
+ }, null, 8, ["icon"])], 10, Os)) : s("", !0)])], 4));
5241
5260
  }
5242
- }), ks = {
5261
+ }), As = {
5243
5262
  class: "uid-pattern-result__icon",
5244
5263
  "aria-hidden": "true"
5245
- }, As = {
5264
+ }, js = {
5246
5265
  key: 0,
5247
5266
  class: "uid-pattern-result__title"
5248
- }, js = {
5267
+ }, Ms = {
5249
5268
  key: 1,
5250
5269
  class: "uid-pattern-result__description"
5251
- }, Ms = {
5270
+ }, Ns = {
5252
5271
  key: 2,
5253
5272
  class: "uid-pattern-result__content"
5254
- }, Ns = {
5273
+ }, Ps = {
5255
5274
  key: 3,
5256
5275
  class: "uid-pattern-result__actions"
5257
- }, Ps = /* @__PURE__ */ f({
5276
+ }, Fs = /* @__PURE__ */ f({
5258
5277
  __name: "UidResult",
5259
5278
  props: {
5260
5279
  status: { default: "success" },
@@ -5276,17 +5295,17 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5276
5295
  class: _(["uid-pattern-result", [`uid-pattern-result--${t.status}`, t.compact && "uid-pattern-result--compact"]]),
5277
5296
  role: "status"
5278
5297
  }, [
5279
- l("div", ks, [E(n.$slots, "icon", {}, () => [d(e, {
5298
+ l("div", As, [E(n.$slots, "icon", {}, () => [d(e, {
5280
5299
  icon: i.value,
5281
5300
  size: t.compact ? 32 : 40
5282
5301
  }, null, 8, ["icon", "size"])])]),
5283
- t.title || n.$slots.title ? (x(), c("h2", As, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])])) : s("", !0),
5284
- t.description || n.$slots.description ? (x(), c("p", js, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0),
5285
- n.$slots.default ? (x(), c("div", Ms, [E(n.$slots, "default")])) : s("", !0),
5286
- n.$slots.actions ? (x(), c("div", Ns, [E(n.$slots, "actions")])) : s("", !0)
5302
+ t.title || n.$slots.title ? (x(), c("h2", js, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])])) : s("", !0),
5303
+ t.description || n.$slots.description ? (x(), c("p", Ms, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0),
5304
+ n.$slots.default ? (x(), c("div", Ns, [E(n.$slots, "default")])) : s("", !0),
5305
+ n.$slots.actions ? (x(), c("div", Ps, [E(n.$slots, "actions")])) : s("", !0)
5287
5306
  ], 2));
5288
5307
  }
5289
- }), Fs = ["aria-label"], Is = /* @__PURE__ */ f({
5308
+ }), Is = ["aria-label"], Ls = /* @__PURE__ */ f({
5290
5309
  __name: "UidBackTop",
5291
5310
  props: {
5292
5311
  visibleAfter: { default: 200 },
@@ -5334,11 +5353,11 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5334
5353
  }, [E(t.$slots, "default", {}, () => [d(e, {
5335
5354
  icon: j(K),
5336
5355
  size: 20
5337
- }, null, 8, ["icon"])])], 8, Fs), [[L, f.value]])]),
5356
+ }, null, 8, ["icon"])])], 8, Is), [[L, f.value]])]),
5338
5357
  _: 3
5339
5358
  }));
5340
5359
  }
5341
- }), Ls = { class: "uid-affix__content" }, Rs = /* @__PURE__ */ f({
5360
+ }), Rs = { class: "uid-affix__content" }, zs = /* @__PURE__ */ f({
5342
5361
  __name: "UidAffix",
5343
5362
  props: {
5344
5363
  offsetTop: {},
@@ -5368,9 +5387,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5368
5387
  ref: o,
5369
5388
  class: "uid-affix__sentinel",
5370
5389
  "aria-hidden": "true"
5371
- }, null, 512), l("div", Ls, [E(e.$slots, "default")])], 6));
5390
+ }, null, 512), l("div", Rs, [E(e.$slots, "default")])], 6));
5372
5391
  }
5373
- }), zs = { class: "uid-watermark" }, Bs = { class: "uid-watermark__content" }, Vs = /* @__PURE__ */ f({
5392
+ }), Bs = { class: "uid-watermark" }, Vs = { class: "uid-watermark__content" }, Hs = /* @__PURE__ */ f({
5374
5393
  __name: "UidWatermark",
5375
5394
  props: {
5376
5395
  content: { default: "" },
@@ -5417,27 +5436,27 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5417
5436
  i();
5418
5437
  }), b(() => {
5419
5438
  n.value = "";
5420
- }), (e, t) => (x(), c("div", zs, [l("div", {
5439
+ }), (e, t) => (x(), c("div", Bs, [l("div", {
5421
5440
  class: "uid-watermark__overlay",
5422
5441
  style: v(o.value),
5423
5442
  "aria-hidden": "true"
5424
- }, null, 4), l("div", Bs, [E(e.$slots, "default")])]));
5443
+ }, null, 4), l("div", Vs, [E(e.$slots, "default")])]));
5425
5444
  }
5426
- }), Hs = {
5445
+ }), Us = {
5427
5446
  class: "uid-anchor",
5428
5447
  "aria-label": "Содержание"
5429
- }, Us = { class: "uid-anchor__list" }, Ws = [
5448
+ }, Ws = { class: "uid-anchor__list" }, Gs = [
5430
5449
  "href",
5431
5450
  "aria-current",
5432
5451
  "onClick"
5433
- ], Gs = {
5452
+ ], Ks = {
5434
5453
  key: 0,
5435
5454
  class: "uid-anchor__sublist"
5436
- }, Ks = [
5455
+ }, qs = [
5437
5456
  "href",
5438
5457
  "aria-current",
5439
5458
  "onClick"
5440
- ], qs = /* @__PURE__ */ f({
5459
+ ], Js = /* @__PURE__ */ f({
5441
5460
  __name: "UidAnchor",
5442
5461
  props: /* @__PURE__ */ m({
5443
5462
  items: {},
@@ -5501,7 +5520,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5501
5520
  behavior: r.smooth ? "smooth" : "auto"
5502
5521
  });
5503
5522
  }
5504
- return (n, r) => (x(), c("nav", Hs, [l("ul", Us, [(x(!0), c(t, null, T(e.items, (e) => (x(), c("li", {
5523
+ return (n, r) => (x(), c("nav", Us, [l("ul", Ws, [(x(!0), c(t, null, T(e.items, (e) => (x(), c("li", {
5505
5524
  key: e.key,
5506
5525
  class: "uid-anchor__item"
5507
5526
  }, [l("a", {
@@ -5509,7 +5528,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5509
5528
  class: _(["uid-anchor__link", { "uid-anchor__link--active": a.value === e.key }]),
5510
5529
  "aria-current": a.value === e.key ? "location" : void 0,
5511
5530
  onClick: (t) => m(t, e)
5512
- }, k(e.title), 11, Ws), e.children?.length ? (x(), c("ul", Gs, [(x(!0), c(t, null, T(e.children, (e) => (x(), c("li", {
5531
+ }, k(e.title), 11, Gs), e.children?.length ? (x(), c("ul", Ks, [(x(!0), c(t, null, T(e.children, (e) => (x(), c("li", {
5513
5532
  key: e.key,
5514
5533
  class: "uid-anchor__item"
5515
5534
  }, [l("a", {
@@ -5517,18 +5536,18 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5517
5536
  class: _(["uid-anchor__link", { "uid-anchor__link--active": a.value === e.key }]),
5518
5537
  "aria-current": a.value === e.key ? "location" : void 0,
5519
5538
  onClick: (t) => m(t, e)
5520
- }, k(e.title), 11, Ks)]))), 128))])) : s("", !0)]))), 128))])]));
5539
+ }, k(e.title), 11, qs)]))), 128))])) : s("", !0)]))), 128))])]));
5521
5540
  }
5522
- }), Js = ["aria-label"], Ys = {
5541
+ }), Ys = ["aria-label"], Xs = {
5523
5542
  key: 0,
5524
5543
  class: "uid-tour__title"
5525
- }, Xs = {
5544
+ }, Zs = {
5526
5545
  key: 1,
5527
5546
  class: "uid-tour__description"
5528
- }, Zs = { class: "uid-tour__footer" }, Qs = {
5547
+ }, Qs = { class: "uid-tour__footer" }, $s = {
5529
5548
  key: 0,
5530
5549
  class: "uid-tour__progress"
5531
- }, $s = { key: 1 }, ec = { class: "uid-tour__actions" }, tc = /* @__PURE__ */ f({
5550
+ }, ec = { key: 1 }, tc = { class: "uid-tour__actions" }, nc = /* @__PURE__ */ f({
5532
5551
  __name: "UidTour",
5533
5552
  props: /* @__PURE__ */ m({
5534
5553
  steps: {},
@@ -5667,9 +5686,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5667
5686
  class: _(["uid-tour__popover", { "uid-tour__popover--center": F.value }]),
5668
5687
  style: v(F.value ? void 0 : P.value)
5669
5688
  }, [
5670
- D.value.title ? (x(), c("h3", Ys, k(D.value.title), 1)) : s("", !0),
5671
- D.value.description ? (x(), c("p", Xs, k(D.value.description), 1)) : s("", !0),
5672
- l("div", Zs, [e.showProgress ? (x(), c("span", Qs, k(y.value + 1) + " / " + k(e.steps.length), 1)) : (x(), c("span", $s)), l("div", ec, [
5689
+ D.value.title ? (x(), c("h3", Xs, k(D.value.title), 1)) : s("", !0),
5690
+ D.value.description ? (x(), c("p", Zs, k(D.value.description), 1)) : s("", !0),
5691
+ l("div", Qs, [e.showProgress ? (x(), c("span", $s, k(y.value + 1) + " / " + k(e.steps.length), 1)) : (x(), c("span", ec)), l("div", tc, [
5673
5692
  e.showSkip && y.value < e.steps.length - 1 ? (x(), c("button", {
5674
5693
  key: 0,
5675
5694
  type: "button",
@@ -5689,21 +5708,21 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5689
5708
  }, k(y.value === e.steps.length - 1 ? f.value : u.value), 1)
5690
5709
  ])])
5691
5710
  ], 6)
5692
- ], 8, Js)) : s("", !0)]));
5711
+ ], 8, Ys)) : s("", !0)]));
5693
5712
  }
5694
- }), nc = ["for"], rc = [
5713
+ }), rc = ["for"], ic = [
5695
5714
  "id",
5696
5715
  "value",
5697
5716
  "placeholder",
5698
5717
  "rows",
5699
5718
  "disabled"
5700
- ], ic = ["onMousedown", "onMouseenter"], ac = { class: "uid-mention__option-label" }, oc = {
5719
+ ], ac = ["onMousedown", "onMouseenter"], oc = { class: "uid-mention__option-label" }, sc = {
5701
5720
  key: 0,
5702
5721
  class: "uid-mention__option-hint"
5703
- }, sc = {
5722
+ }, cc = {
5704
5723
  key: 0,
5705
5724
  class: "uid-mention__empty"
5706
- }, cc = /* @__PURE__ */ f({
5725
+ }, lc = /* @__PURE__ */ f({
5707
5726
  __name: "UidMention",
5708
5727
  props: /* @__PURE__ */ m({
5709
5728
  options: {},
@@ -5781,7 +5800,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5781
5800
  key: 0,
5782
5801
  for: j(p),
5783
5802
  class: "uid-mention__label"
5784
- }, k(e.label), 9, nc)) : s("", !0),
5803
+ }, k(e.label), 9, rc)) : s("", !0),
5785
5804
  l("textarea", {
5786
5805
  id: j(p),
5787
5806
  ref_key: "fieldRef",
@@ -5796,7 +5815,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5796
5815
  onKeydown: L,
5797
5816
  onKeyup: O,
5798
5817
  onBlur: r[0] ||= (e) => m.value = !1
5799
- }, null, 40, rc),
5818
+ }, null, 40, ic),
5800
5819
  m.value ? (x(), c("div", {
5801
5820
  key: 1,
5802
5821
  class: "uid-mention__dropdown",
@@ -5807,30 +5826,30 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5807
5826
  class: _(["uid-mention__option", { "uid-mention__option--active": t === y.value }]),
5808
5827
  onMousedown: H((t) => P(e), ["prevent"]),
5809
5828
  onMouseenter: (e) => y.value = t
5810
- }, [l("span", ac, k(e.label), 1), e.hint ? (x(), c("span", oc, k(e.hint), 1)) : s("", !0)], 42, ic))), 128)), D.value.length === 0 ? (x(), c("div", sc, k(o.value), 1)) : s("", !0)], 4)) : s("", !0)
5829
+ }, [l("span", oc, k(e.label), 1), e.hint ? (x(), c("span", sc, k(e.hint), 1)) : s("", !0)], 42, ac))), 128)), D.value.length === 0 ? (x(), c("div", cc, k(o.value), 1)) : s("", !0)], 4)) : s("", !0)
5811
5830
  ], 2));
5812
5831
  }
5813
- }), lc = ["for"], uc = {
5832
+ }), uc = ["for"], dc = {
5814
5833
  key: 0,
5815
5834
  class: "uid-tree-select__required",
5816
5835
  "aria-hidden": "true"
5817
- }, dc = [
5836
+ }, fc = [
5818
5837
  "id",
5819
5838
  "aria-expanded",
5820
5839
  "aria-controls",
5821
5840
  "aria-label",
5822
5841
  "aria-disabled",
5823
5842
  "aria-invalid"
5824
- ], fc = { class: "uid-tree-select__value" }, pc = ["aria-label", "onClick"], mc = {
5843
+ ], pc = { class: "uid-tree-select__value" }, mc = ["aria-label", "onClick"], hc = {
5825
5844
  key: 0,
5826
5845
  class: "uid-tree-select__chip"
5827
- }, hc = {
5846
+ }, gc = {
5828
5847
  key: 1,
5829
5848
  class: "uid-tree-select__placeholder"
5830
- }, gc = { key: 0 }, _c = {
5849
+ }, _c = { key: 0 }, vc = {
5831
5850
  key: 1,
5832
5851
  class: "uid-tree-select__placeholder"
5833
- }, vc = { class: "uid-tree-select__suffix" }, yc = ["aria-label"], bc = ["id"], xc = /* @__PURE__ */ f({
5852
+ }, yc = { class: "uid-tree-select__suffix" }, bc = ["aria-label"], xc = ["id"], Sc = /* @__PURE__ */ f({
5834
5853
  __name: "UidTreeSelect",
5835
5854
  props: /* @__PURE__ */ m({
5836
5855
  nodes: {},
@@ -5923,7 +5942,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5923
5942
  key: 0,
5924
5943
  for: j(S),
5925
5944
  class: "uid-tree-select__label"
5926
- }, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", uc, "*")) : s("", !0)], 8, lc)) : s("", !0),
5945
+ }, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", dc, "*")) : s("", !0)], 8, uc)) : s("", !0),
5927
5946
  l("div", {
5928
5947
  id: j(S),
5929
5948
  ref_key: "triggerRef",
@@ -5939,7 +5958,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5939
5958
  "aria-invalid": E.value ? "true" : void 0,
5940
5959
  onClick: V,
5941
5960
  onKeydown: ee
5942
- }, [l("div", fc, [n.multiple ? (x(), c(t, { key: 0 }, [
5961
+ }, [l("div", pc, [n.multiple ? (x(), c(t, { key: 0 }, [
5943
5962
  (x(!0), c(t, null, T(I.value, (e) => (x(), c("span", {
5944
5963
  key: e.key,
5945
5964
  class: "uid-tree-select__chip"
@@ -5948,10 +5967,10 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5948
5967
  class: "uid-tree-select__chip-remove",
5949
5968
  "aria-label": j(o).treeSelect.removeTag(e.label),
5950
5969
  onClick: H((t) => G(t, e.key), ["stop"])
5951
- }, "×", 8, pc)]))), 128)),
5952
- L.value > 0 ? (x(), c("span", mc, "+" + k(L.value), 1)) : s("", !0),
5953
- F.value.length === 0 ? (x(), c("span", hc, k(f.value), 1)) : s("", !0)
5954
- ], 64)) : (x(), c(t, { key: 1 }, [F.value.length > 0 ? (x(), c("span", gc, k(F.value[0].label), 1)) : (x(), c("span", _c, k(f.value), 1))], 64))]), l("div", vc, [n.clearable && P.value.length > 0 ? (x(), c("button", {
5970
+ }, "×", 8, mc)]))), 128)),
5971
+ L.value > 0 ? (x(), c("span", hc, "+" + k(L.value), 1)) : s("", !0),
5972
+ F.value.length === 0 ? (x(), c("span", gc, k(f.value), 1)) : s("", !0)
5973
+ ], 64)) : (x(), c(t, { key: 1 }, [F.value.length > 0 ? (x(), c("span", _c, k(F.value[0].label), 1)) : (x(), c("span", vc, k(f.value), 1))], 64))]), l("div", yc, [n.clearable && P.value.length > 0 ? (x(), c("button", {
5955
5974
  key: 0,
5956
5975
  type: "button",
5957
5976
  class: "uid-tree-select__clear",
@@ -5960,17 +5979,17 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5960
5979
  }, [d(e, {
5961
5980
  icon: j(ye),
5962
5981
  size: 14
5963
- }, null, 8, ["icon"])], 8, yc)) : s("", !0), d(e, {
5982
+ }, null, 8, ["icon"])], 8, bc)) : s("", !0), d(e, {
5964
5983
  icon: j(Y),
5965
5984
  size: 16,
5966
5985
  class: _(["uid-tree-select__chevron", { "uid-tree-select__chevron--open": g.value }]),
5967
5986
  "aria-hidden": "true"
5968
- }, null, 8, ["icon", "class"])])], 40, dc),
5987
+ }, null, 8, ["icon", "class"])])], 40, fc),
5969
5988
  g.value ? (x(), c("div", {
5970
5989
  key: 1,
5971
5990
  id: j(C),
5972
5991
  class: "uid-tree-select__dropdown"
5973
- }, [d(wo, {
5992
+ }, [d(To, {
5974
5993
  nodes: n.nodes,
5975
5994
  "expanded-keys": h.value,
5976
5995
  "onUpdate:expandedKeys": i[0] ||= (e) => h.value = e,
@@ -5986,19 +6005,19 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
5986
6005
  "selectable",
5987
6006
  "default-expand-all",
5988
6007
  "show-guides"
5989
- ])], 8, bc)) : s("", !0),
6008
+ ])], 8, xc)) : s("", !0),
5990
6009
  D.value ? (x(), c("p", {
5991
6010
  key: 2,
5992
6011
  class: _(["uid-tree-select__hint", E.value && "uid-tree-select__hint--error"])
5993
6012
  }, k(D.value), 3)) : s("", !0)
5994
6013
  ], 2));
5995
6014
  }
5996
- }), Sc = {
6015
+ }), Cc = {
5997
6016
  key: 0,
5998
6017
  class: "uid-notification-badge__dot",
5999
6018
  role: "status",
6000
6019
  "aria-hidden": "true"
6001
- }, Cc = ["aria-label"], wc = /* @__PURE__ */ f({
6020
+ }, wc = ["aria-label"], Tc = /* @__PURE__ */ f({
6002
6021
  __name: "UidNotificationBadge",
6003
6022
  props: {
6004
6023
  count: { default: 0 },
@@ -6025,22 +6044,22 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6025
6044
  return (t, a) => (x(), c("span", {
6026
6045
  class: _(["uid-notification-badge", [`uid-notification-badge--${e.placement}`, e.tone !== "danger" && `uid-notification-badge--${e.tone}`]]),
6027
6046
  style: v(i.value)
6028
- }, [E(t.$slots, "default"), n.value && e.dot ? (x(), c("span", Sc)) : n.value ? (x(), c("span", {
6047
+ }, [E(t.$slots, "default"), n.value && e.dot ? (x(), c("span", Cc)) : n.value ? (x(), c("span", {
6029
6048
  key: 1,
6030
6049
  class: "uid-notification-badge__count",
6031
6050
  role: "status",
6032
6051
  "aria-label": `${e.count}`
6033
- }, k(r.value), 9, Cc)) : s("", !0)], 6));
6052
+ }, k(r.value), 9, wc)) : s("", !0)], 6));
6034
6053
  }
6035
- }), Tc = ["aria-hidden", "aria-label"], Ec = ["disabled"], Dc = ["disabled"], Oc = {
6054
+ }), Ec = ["aria-hidden", "aria-label"], Dc = ["disabled"], Oc = ["disabled"], kc = {
6036
6055
  key: 2,
6037
6056
  class: "uid-carousel__indicators",
6038
6057
  role: "tablist"
6039
- }, kc = [
6058
+ }, Ac = [
6040
6059
  "aria-selected",
6041
6060
  "aria-label",
6042
6061
  "onClick"
6043
- ], Ac = /* @__PURE__ */ f({
6062
+ ], jc = /* @__PURE__ */ f({
6044
6063
  __name: "UidCarousel",
6045
6064
  props: /* @__PURE__ */ m({
6046
6065
  items: {},
@@ -6132,7 +6151,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6132
6151
  }, [E(r.$slots, "default", {
6133
6152
  item: e,
6134
6153
  index: t
6135
- })], 8, Tc))), 128))], 4),
6154
+ })], 8, Ec))), 128))], 4),
6136
6155
  n.showArrows && g.value > 1 ? (x(), c("button", {
6137
6156
  key: 0,
6138
6157
  type: "button",
@@ -6143,7 +6162,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6143
6162
  }, [d(e, {
6144
6163
  icon: n.direction === "vertical" ? j(ie) : j(re),
6145
6164
  size: 20
6146
- }, null, 8, ["icon"])], 8, Ec)) : s("", !0),
6165
+ }, null, 8, ["icon"])], 8, Dc)) : s("", !0),
6147
6166
  n.showArrows && g.value > 1 ? (x(), c("button", {
6148
6167
  key: 1,
6149
6168
  type: "button",
@@ -6154,8 +6173,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6154
6173
  }, [d(e, {
6155
6174
  icon: n.direction === "vertical" ? j(Y) : j(X),
6156
6175
  size: 20
6157
- }, null, 8, ["icon"])], 8, Dc)) : s("", !0),
6158
- n.showIndicators && g.value > 1 ? (x(), c("div", Oc, [(x(!0), c(t, null, T(n.items, (e, t) => (x(), c("button", {
6176
+ }, null, 8, ["icon"])], 8, Oc)) : s("", !0),
6177
+ n.showIndicators && g.value > 1 ? (x(), c("div", kc, [(x(!0), c(t, null, T(n.items, (e, t) => (x(), c("button", {
6159
6178
  key: t,
6160
6179
  type: "button",
6161
6180
  class: _(["uid-carousel__indicator", { "uid-carousel__indicator--active": t === f.value }]),
@@ -6163,38 +6182,38 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6163
6182
  "aria-selected": t === f.value,
6164
6183
  "aria-label": `Слайд ${t + 1}`,
6165
6184
  onClick: (e) => C(t)
6166
- }, null, 10, kc))), 128))])) : s("", !0)
6185
+ }, null, 10, Ac))), 128))])) : s("", !0)
6167
6186
  ], 34));
6168
6187
  }
6169
- }), jc = { class: "uid-transfer__panel" }, Mc = { class: "uid-transfer__header" }, Nc = { class: "uid-transfer__title" }, Pc = ["aria-checked"], Fc = { class: "uid-transfer__count" }, Ic = {
6188
+ }), Mc = { class: "uid-transfer__panel" }, Nc = { class: "uid-transfer__header" }, Pc = { class: "uid-transfer__title" }, Fc = ["aria-checked"], Ic = { class: "uid-transfer__count" }, Lc = {
6170
6189
  key: 0,
6171
6190
  class: "uid-transfer__search"
6172
- }, Lc = ["placeholder"], Rc = {
6191
+ }, Rc = ["placeholder"], zc = {
6173
6192
  class: "uid-transfer__list",
6174
6193
  role: "listbox",
6175
6194
  "aria-multiselectable": "true"
6176
- }, zc = [
6195
+ }, Bc = [
6177
6196
  "aria-selected",
6178
6197
  "aria-disabled",
6179
6198
  "onClick"
6180
- ], Bc = { class: "uid-transfer__label" }, Vc = {
6199
+ ], Vc = { class: "uid-transfer__label" }, Hc = {
6181
6200
  key: 0,
6182
6201
  class: "uid-transfer__empty"
6183
- }, Hc = { class: "uid-transfer__ops" }, Uc = ["disabled"], Wc = ["disabled"], Gc = { class: "uid-transfer__panel" }, Kc = { class: "uid-transfer__header" }, qc = { class: "uid-transfer__title" }, Jc = ["aria-checked"], Yc = { class: "uid-transfer__count" }, Xc = {
6202
+ }, Uc = { class: "uid-transfer__ops" }, Wc = ["disabled"], Gc = ["disabled"], Kc = { class: "uid-transfer__panel" }, qc = { class: "uid-transfer__header" }, Jc = { class: "uid-transfer__title" }, Yc = ["aria-checked"], Xc = { class: "uid-transfer__count" }, Zc = {
6184
6203
  key: 0,
6185
6204
  class: "uid-transfer__search"
6186
- }, Zc = ["placeholder"], Qc = {
6205
+ }, Qc = ["placeholder"], $c = {
6187
6206
  class: "uid-transfer__list",
6188
6207
  role: "listbox",
6189
6208
  "aria-multiselectable": "true"
6190
- }, $c = [
6209
+ }, el = [
6191
6210
  "aria-selected",
6192
6211
  "aria-disabled",
6193
6212
  "onClick"
6194
- ], el = { class: "uid-transfer__label" }, tl = {
6213
+ ], tl = { class: "uid-transfer__label" }, nl = {
6195
6214
  key: 0,
6196
6215
  class: "uid-transfer__empty"
6197
- }, nl = /* @__PURE__ */ f({
6216
+ }, rl = /* @__PURE__ */ f({
6198
6217
  __name: "UidTransfer",
6199
6218
  props: /* @__PURE__ */ m({
6200
6219
  items: {},
@@ -6245,8 +6264,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6245
6264
  p.value = e, g.value = /* @__PURE__ */ new Set(), f("change", e);
6246
6265
  }
6247
6266
  return (r, i) => (x(), c("div", { class: _(["uid-transfer", { "uid-transfer--disabled": n.disabled }]) }, [
6248
- l("div", jc, [
6249
- l("div", Mc, [l("span", Nc, [l("span", {
6267
+ l("div", Mc, [
6268
+ l("div", Nc, [l("span", Pc, [l("span", {
6250
6269
  class: _(["uid-transfer__check", { "uid-transfer__check--checked": P.value }]),
6251
6270
  role: "checkbox",
6252
6271
  "aria-checked": P.value,
@@ -6257,14 +6276,14 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6257
6276
  key: 0,
6258
6277
  icon: j(q),
6259
6278
  size: 10
6260
- }, null, 8, ["icon"])) : s("", !0)], 42, Pc), u(" " + k(b.value[0]), 1)]), l("span", Fc, k(h.value.size) + " / " + k(D.value.length), 1)]),
6261
- n.searchable ? (x(), c("div", Ic, [B(l("input", {
6279
+ }, null, 8, ["icon"])) : s("", !0)], 42, Fc), u(" " + k(b.value[0]), 1)]), l("span", Ic, k(h.value.size) + " / " + k(D.value.length), 1)]),
6280
+ n.searchable ? (x(), c("div", Lc, [B(l("input", {
6262
6281
  "onUpdate:modelValue": i[3] ||= (e) => v.value = e,
6263
6282
  class: "uid-transfer__search-input",
6264
6283
  type: "text",
6265
6284
  placeholder: j(m).common.search
6266
- }, null, 8, Lc), [[I, v.value]])])) : s("", !0),
6267
- l("ul", Rc, [(x(!0), c(t, null, T(D.value, (t) => (x(), c("li", {
6285
+ }, null, 8, Rc), [[I, v.value]])])) : s("", !0),
6286
+ l("ul", zc, [(x(!0), c(t, null, T(D.value, (t) => (x(), c("li", {
6268
6287
  key: t.key,
6269
6288
  class: _(["uid-transfer__item", { "uid-transfer__item--disabled": t.disabled }]),
6270
6289
  role: "option",
@@ -6278,9 +6297,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6278
6297
  key: 0,
6279
6298
  icon: j(q),
6280
6299
  size: 10
6281
- }, null, 8, ["icon"])) : s("", !0)], 2), l("span", Bc, k(t.label), 1)], 10, zc))), 128)), D.value.length === 0 ? (x(), c("li", Vc, k(j(m).common.noResults), 1)) : s("", !0)])
6300
+ }, null, 8, ["icon"])) : s("", !0)], 2), l("span", Vc, k(t.label), 1)], 10, Bc))), 128)), D.value.length === 0 ? (x(), c("li", Hc, k(j(m).common.noResults), 1)) : s("", !0)])
6282
6301
  ]),
6283
- l("div", Hc, [l("button", {
6302
+ l("div", Uc, [l("button", {
6284
6303
  type: "button",
6285
6304
  class: "uid-transfer__op",
6286
6305
  disabled: h.value.size === 0 || n.disabled,
@@ -6289,7 +6308,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6289
6308
  }, [d(e, {
6290
6309
  icon: j(X),
6291
6310
  size: 16
6292
- }, null, 8, ["icon"])], 8, Uc), l("button", {
6311
+ }, null, 8, ["icon"])], 8, Wc), l("button", {
6293
6312
  type: "button",
6294
6313
  class: "uid-transfer__op",
6295
6314
  disabled: g.value.size === 0 || n.disabled,
@@ -6298,9 +6317,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6298
6317
  }, [d(e, {
6299
6318
  icon: j(re),
6300
6319
  size: 16
6301
- }, null, 8, ["icon"])], 8, Wc)]),
6302
- l("div", Gc, [
6303
- l("div", Kc, [l("span", qc, [l("span", {
6320
+ }, null, 8, ["icon"])], 8, Gc)]),
6321
+ l("div", Kc, [
6322
+ l("div", qc, [l("span", Jc, [l("span", {
6304
6323
  class: _(["uid-transfer__check", { "uid-transfer__check--checked": F.value }]),
6305
6324
  role: "checkbox",
6306
6325
  "aria-checked": F.value,
@@ -6311,14 +6330,14 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6311
6330
  key: 0,
6312
6331
  icon: j(q),
6313
6332
  size: 10
6314
- }, null, 8, ["icon"])) : s("", !0)], 42, Jc), u(" " + k(b.value[1]), 1)]), l("span", Yc, k(g.value.size) + " / " + k(O.value.length), 1)]),
6315
- n.searchable ? (x(), c("div", Xc, [B(l("input", {
6333
+ }, null, 8, ["icon"])) : s("", !0)], 42, Yc), u(" " + k(b.value[1]), 1)]), l("span", Xc, k(g.value.size) + " / " + k(O.value.length), 1)]),
6334
+ n.searchable ? (x(), c("div", Zc, [B(l("input", {
6316
6335
  "onUpdate:modelValue": i[7] ||= (e) => y.value = e,
6317
6336
  class: "uid-transfer__search-input",
6318
6337
  type: "text",
6319
6338
  placeholder: j(m).common.search
6320
- }, null, 8, Zc), [[I, y.value]])])) : s("", !0),
6321
- l("ul", Qc, [(x(!0), c(t, null, T(O.value, (t) => (x(), c("li", {
6339
+ }, null, 8, Qc), [[I, y.value]])])) : s("", !0),
6340
+ l("ul", $c, [(x(!0), c(t, null, T(O.value, (t) => (x(), c("li", {
6322
6341
  key: t.key,
6323
6342
  class: _(["uid-transfer__item", { "uid-transfer__item--disabled": t.disabled }]),
6324
6343
  role: "option",
@@ -6332,30 +6351,30 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6332
6351
  key: 0,
6333
6352
  icon: j(q),
6334
6353
  size: 10
6335
- }, null, 8, ["icon"])) : s("", !0)], 2), l("span", el, k(t.label), 1)], 10, $c))), 128)), O.value.length === 0 ? (x(), c("li", tl, k(j(m).common.noResults), 1)) : s("", !0)])
6354
+ }, null, 8, ["icon"])) : s("", !0)], 2), l("span", tl, k(t.label), 1)], 10, el))), 128)), O.value.length === 0 ? (x(), c("li", nl, k(j(m).common.noResults), 1)) : s("", !0)])
6336
6355
  ])
6337
6356
  ], 2));
6338
6357
  }
6339
- }), rl = {
6358
+ }), il = {
6340
6359
  key: 0,
6341
6360
  class: "uid-cascader__label"
6342
- }, il = [
6361
+ }, al = [
6343
6362
  "aria-expanded",
6344
6363
  "aria-disabled",
6345
6364
  "aria-label"
6346
- ], al = { class: "uid-cascader__value" }, ol = {
6365
+ ], ol = { class: "uid-cascader__value" }, sl = {
6347
6366
  key: 0,
6348
6367
  class: "uid-cascader__separator"
6349
- }, sl = {
6368
+ }, cl = {
6350
6369
  key: 1,
6351
6370
  class: "uid-cascader__placeholder"
6352
- }, cl = { class: "uid-cascader__suffix" }, ll = ["aria-label"], ul = {
6371
+ }, ll = { class: "uid-cascader__suffix" }, ul = ["aria-label"], dl = {
6353
6372
  key: 1,
6354
6373
  class: "uid-cascader__dropdown"
6355
- }, dl = ["onClick", "onMouseenter"], fl = { class: "uid-cascader__option-label" }, pl = {
6374
+ }, fl = ["onClick", "onMouseenter"], pl = { class: "uid-cascader__option-label" }, ml = {
6356
6375
  key: 2,
6357
6376
  class: "uid-cascader__hint"
6358
- }, ml = /* @__PURE__ */ f({
6377
+ }, hl = /* @__PURE__ */ f({
6359
6378
  __name: "UidCascader",
6360
6379
  props: /* @__PURE__ */ m({
6361
6380
  options: {},
@@ -6460,7 +6479,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6460
6479
  "uid-cascader--disabled": n.disabled
6461
6480
  }])
6462
6481
  }, [
6463
- n.label ? (x(), c("label", rl, k(n.label), 1)) : s("", !0),
6482
+ n.label ? (x(), c("label", il, k(n.label), 1)) : s("", !0),
6464
6483
  l("div", {
6465
6484
  class: "uid-cascader__trigger",
6466
6485
  tabindex: "0",
@@ -6471,7 +6490,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6471
6490
  "aria-label": m.value,
6472
6491
  onClick: A,
6473
6492
  onKeydown: I
6474
- }, [l("div", al, [E.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(E.value, (e, r) => (x(), c(t, { key: r }, [l("span", null, k(e), 1), r < E.value.length - 1 ? (x(), c("span", ol, k(n.separator), 1)) : s("", !0)], 64))), 128)) : (x(), c("span", sl, k(m.value), 1))]), l("div", cl, [n.clearable && f.value.length > 0 ? (x(), c("button", {
6493
+ }, [l("div", ol, [E.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(E.value, (e, r) => (x(), c(t, { key: r }, [l("span", null, k(e), 1), r < E.value.length - 1 ? (x(), c("span", sl, k(n.separator), 1)) : s("", !0)], 64))), 128)) : (x(), c("span", cl, k(m.value), 1))]), l("div", ll, [n.clearable && f.value.length > 0 ? (x(), c("button", {
6475
6494
  key: 0,
6476
6495
  type: "button",
6477
6496
  class: "uid-cascader__clear",
@@ -6480,12 +6499,12 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6480
6499
  }, [d(e, {
6481
6500
  icon: j(ye),
6482
6501
  size: 14
6483
- }, null, 8, ["icon"])], 8, ll)) : s("", !0), d(e, {
6502
+ }, null, 8, ["icon"])], 8, ul)) : s("", !0), d(e, {
6484
6503
  icon: j(Y),
6485
6504
  size: 16,
6486
6505
  class: _(["uid-cascader__chevron", { "uid-cascader__chevron--open": h.value }])
6487
- }, null, 8, ["icon", "class"])])], 40, il),
6488
- h.value ? (x(), c("div", ul, [(x(!0), c(t, null, T(S.value, (r, i) => (x(), c("div", {
6506
+ }, null, 8, ["icon", "class"])])], 40, al),
6507
+ h.value ? (x(), c("div", dl, [(x(!0), c(t, null, T(S.value, (r, i) => (x(), c("div", {
6489
6508
  key: i,
6490
6509
  class: "uid-cascader__column"
6491
6510
  }, [(x(!0), c(t, null, T(r, (t) => (x(), c("button", {
@@ -6497,27 +6516,27 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6497
6516
  }]),
6498
6517
  onClick: (e) => M(t, i),
6499
6518
  onMouseenter: (e) => n.expandTrigger === "hover" && t.children && M(t, i)
6500
- }, [l("span", fl, k(t.label), 1), t.children?.length ? (x(), o(e, {
6519
+ }, [l("span", pl, k(t.label), 1), t.children?.length ? (x(), o(e, {
6501
6520
  key: 0,
6502
6521
  icon: j(X),
6503
6522
  size: 14,
6504
6523
  class: "uid-cascader__option-arrow",
6505
6524
  "aria-hidden": "true"
6506
- }, null, 8, ["icon"])) : s("", !0)], 42, dl))), 128))]))), 128))])) : s("", !0),
6507
- n.hint ? (x(), c("p", pl, k(n.hint), 1)) : s("", !0)
6525
+ }, null, 8, ["icon"])) : s("", !0)], 42, fl))), 128))]))), 128))])) : s("", !0),
6526
+ n.hint ? (x(), c("p", ml, k(n.hint), 1)) : s("", !0)
6508
6527
  ], 2));
6509
6528
  }
6510
- }), hl = { class: "uid-calendar__header" }, gl = { class: "uid-calendar__title" }, _l = { class: "uid-calendar__nav" }, vl = ["aria-label"], yl = ["aria-label"], bl = { class: "uid-calendar__weekdays" }, xl = { class: "uid-calendar__grid" }, Sl = [
6529
+ }), gl = { class: "uid-calendar__header" }, _l = { class: "uid-calendar__title" }, vl = { class: "uid-calendar__nav" }, yl = ["aria-label"], bl = ["aria-label"], xl = { class: "uid-calendar__weekdays" }, Sl = { class: "uid-calendar__grid" }, Cl = [
6511
6530
  "tabindex",
6512
6531
  "aria-current",
6513
6532
  "aria-selected",
6514
6533
  "aria-label",
6515
6534
  "onClick",
6516
6535
  "onKeydown"
6517
- ], Cl = { class: "uid-calendar__date" }, wl = { class: "uid-calendar__events" }, Tl = ["title", "onClick"], El = { class: "uid-calendar__event-label" }, Dl = {
6536
+ ], wl = { class: "uid-calendar__date" }, Tl = { class: "uid-calendar__events" }, El = ["title", "onClick"], Dl = { class: "uid-calendar__event-label" }, Ol = {
6518
6537
  key: 0,
6519
6538
  class: "uid-calendar__more"
6520
- }, Ol = /* @__PURE__ */ f({
6539
+ }, kl = /* @__PURE__ */ f({
6521
6540
  __name: "UidCalendar",
6522
6541
  props: /* @__PURE__ */ m({
6523
6542
  events: { default: () => [] },
@@ -6604,7 +6623,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6604
6623
  e.stopPropagation(), o("event-click", t);
6605
6624
  }
6606
6625
  return (r, i) => (x(), c("div", { class: _(["uid-calendar", { "uid-calendar--compact": n.compact }]) }, [
6607
- l("div", hl, [l("span", gl, k(S.value), 1), l("div", _l, [
6626
+ l("div", gl, [l("span", _l, k(S.value), 1), l("div", vl, [
6608
6627
  l("button", {
6609
6628
  type: "button",
6610
6629
  class: "uid-calendar__btn uid-calendar__btn--icon",
@@ -6613,7 +6632,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6613
6632
  }, [d(e, {
6614
6633
  icon: j(re),
6615
6634
  size: 14
6616
- }, null, 8, ["icon"])], 8, vl),
6635
+ }, null, 8, ["icon"])], 8, yl),
6617
6636
  l("button", {
6618
6637
  type: "button",
6619
6638
  class: "uid-calendar__btn",
@@ -6627,13 +6646,13 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6627
6646
  }, [d(e, {
6628
6647
  icon: j(X),
6629
6648
  size: 14
6630
- }, null, 8, ["icon"])], 8, yl)
6649
+ }, null, 8, ["icon"])], 8, bl)
6631
6650
  ])]),
6632
- l("div", bl, [(x(!0), c(t, null, T(j(f).datePicker.weekdaysShort, (e) => (x(), c("span", {
6651
+ l("div", xl, [(x(!0), c(t, null, T(j(f).datePicker.weekdaysShort, (e) => (x(), c("span", {
6633
6652
  key: e,
6634
6653
  class: "uid-calendar__weekday"
6635
6654
  }, k(e), 1))), 128))]),
6636
- l("div", xl, [(x(!0), c(t, null, T(D.value, (e) => (x(), c("div", {
6655
+ l("div", Sl, [(x(!0), c(t, null, T(D.value, (e) => (x(), c("div", {
6637
6656
  key: e.iso,
6638
6657
  class: _(["uid-calendar__day", {
6639
6658
  "uid-calendar__day--other": !e.current,
@@ -6648,30 +6667,30 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6648
6667
  "aria-label": e.iso,
6649
6668
  onClick: (t) => F(e),
6650
6669
  onKeydown: [V(H((t) => F(e), ["prevent"]), ["enter"]), V(H((t) => F(e), ["prevent"]), ["space"])]
6651
- }, [l("span", Cl, k(e.date.getDate()), 1), l("div", wl, [(x(!0), c(t, null, T(e.events.slice(0, n.maxEventsPerDay), (t, n) => (x(), c("button", {
6670
+ }, [l("span", wl, k(e.date.getDate()), 1), l("div", Tl, [(x(!0), c(t, null, T(e.events.slice(0, n.maxEventsPerDay), (t, n) => (x(), c("button", {
6652
6671
  key: t.id ?? `${e.iso}-${n}`,
6653
6672
  type: "button",
6654
6673
  class: "uid-calendar__event",
6655
6674
  style: v(t.color ? { "--uid-event-color": t.color } : void 0),
6656
6675
  title: t.title,
6657
6676
  onClick: (e) => I(e, t)
6658
- }, [l("span", El, k(t.title), 1)], 12, Tl))), 128)), e.events.length > n.maxEventsPerDay ? (x(), c("span", Dl, "+" + k(e.events.length - n.maxEventsPerDay), 1)) : s("", !0)])], 42, Sl))), 128))])
6677
+ }, [l("span", Dl, k(t.title), 1)], 12, El))), 128)), e.events.length > n.maxEventsPerDay ? (x(), c("span", Ol, "+" + k(e.events.length - n.maxEventsPerDay), 1)) : s("", !0)])], 42, Cl))), 128))])
6659
6678
  ], 2));
6660
6679
  }
6661
- }), kl = ["aria-label"], Al = [
6680
+ }), Al = ["aria-label"], jl = [
6662
6681
  "viewBox",
6663
6682
  "width",
6664
6683
  "height"
6665
- ], jl = [
6684
+ ], Ml = [
6666
6685
  "x2",
6667
6686
  "y1",
6668
6687
  "y2"
6669
- ], Ml = [
6688
+ ], Nl = [
6670
6689
  "x",
6671
6690
  "y",
6672
6691
  "width",
6673
6692
  "height"
6674
- ], Nl = ["d"], Pl = ["d"], Fl = ["cx", "cy"], Il = ["cx", "cy"], Ll = 2, Rl = /* @__PURE__ */ f({
6693
+ ], Pl = ["d"], Fl = ["d"], Il = ["cx", "cy"], Ll = ["cx", "cy"], Rl = 2, zl = /* @__PURE__ */ f({
6675
6694
  __name: "UidSparkline",
6676
6695
  props: {
6677
6696
  data: {},
@@ -6714,11 +6733,11 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6714
6733
  };
6715
6734
  });
6716
6735
  function i(e, t) {
6717
- return t <= 1 ? n.width / 2 : Ll + e / (t - 1) * (n.width - Ll * 2);
6736
+ return t <= 1 ? n.width / 2 : Rl + e / (t - 1) * (n.width - Rl * 2);
6718
6737
  }
6719
6738
  function o(e) {
6720
6739
  let t = r.value, i = (e - t.min) / (t.max - t.min);
6721
- return n.height - Ll - i * (n.height - Ll * 2);
6740
+ return n.height - Rl - i * (n.height - Rl * 2);
6722
6741
  }
6723
6742
  let u = a(() => n.data.map((e, t) => ({
6724
6743
  x: i(t, n.data.length),
@@ -6737,14 +6756,14 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6737
6756
  }), f = a(() => {
6738
6757
  let e = u.value;
6739
6758
  if (e.length === 0) return "";
6740
- let t = n.height - Ll;
6759
+ let t = n.height - Rl;
6741
6760
  return `${d.value} L ${e[e.length - 1].x.toFixed(2)} ${t.toFixed(2)} L ${e[0].x.toFixed(2)} ${t.toFixed(2)} Z`;
6742
6761
  }), p = a(() => {
6743
6762
  let e = u.value, t = e.length;
6744
6763
  if (t === 0) return [];
6745
- let r = n.width - Ll * 2, i = Math.max(1, r / t * .7), a = o(0);
6764
+ let r = n.width - Rl * 2, i = Math.max(1, r / t * .7), a = o(0);
6746
6765
  return e.map((e, n) => {
6747
- let o = Ll + (n + .5) / t * r - i / 2, s = e.v < 0, c = s ? a : e.y, l = s ? e.y : a;
6766
+ let o = Rl + (n + .5) / t * r - i / 2, s = e.v < 0, c = s ? a : e.y, l = s ? e.y : a;
6748
6767
  return {
6749
6768
  x: o,
6750
6769
  y: c,
@@ -6776,59 +6795,59 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6776
6795
  x2: e.width,
6777
6796
  y1: m.value,
6778
6797
  y2: m.value
6779
- }, null, 8, jl)) : s("", !0), e.type === "bar" ? (x(!0), c(t, { key: 1 }, T(p.value, (e, t) => (x(), c("rect", {
6798
+ }, null, 8, Ml)) : s("", !0), e.type === "bar" ? (x(!0), c(t, { key: 1 }, T(p.value, (e, t) => (x(), c("rect", {
6780
6799
  key: t,
6781
6800
  class: _(["uid-sparkline__bar", { "uid-sparkline__bar--negative": e.negative }]),
6782
6801
  x: e.x,
6783
6802
  y: e.y,
6784
6803
  width: e.width,
6785
6804
  height: e.height
6786
- }, null, 10, Ml))), 128)) : (x(), c(t, { key: 2 }, [
6805
+ }, null, 10, Nl))), 128)) : (x(), c(t, { key: 2 }, [
6787
6806
  e.type === "area" ? (x(), c("path", {
6788
6807
  key: 0,
6789
6808
  class: "uid-sparkline__area",
6790
6809
  d: f.value
6791
- }, null, 8, Nl)) : s("", !0),
6810
+ }, null, 8, Pl)) : s("", !0),
6792
6811
  l("path", {
6793
6812
  class: "uid-sparkline__line",
6794
6813
  d: d.value
6795
- }, null, 8, Pl),
6814
+ }, null, 8, Fl),
6796
6815
  e.showDots ? (x(!0), c(t, { key: 1 }, T(u.value, (e, t) => (x(), c("circle", {
6797
6816
  key: t,
6798
6817
  class: "uid-sparkline__dot",
6799
6818
  cx: e.x,
6800
6819
  cy: e.y,
6801
6820
  r: "2.5"
6802
- }, null, 8, Fl))), 128)) : s("", !0),
6821
+ }, null, 8, Il))), 128)) : s("", !0),
6803
6822
  e.showLast && g.value && !e.showDots ? (x(), c("circle", {
6804
6823
  key: 2,
6805
6824
  class: "uid-sparkline__dot uid-sparkline__dot--last",
6806
6825
  cx: g.value.x,
6807
6826
  cy: g.value.y,
6808
6827
  r: "2.5"
6809
- }, null, 8, Il)) : s("", !0)
6810
- ], 64))], 8, Al))], 12, kl));
6828
+ }, null, 8, Ll)) : s("", !0)
6829
+ ], 64))], 8, jl))], 12, Al));
6811
6830
  }
6812
- }), zl = ["aria-valuemax", "aria-valuenow"], Bl = [
6831
+ }), Bl = ["aria-valuemax", "aria-valuenow"], Vl = [
6813
6832
  "width",
6814
6833
  "height",
6815
6834
  "viewBox"
6816
- ], Vl = [
6835
+ ], Hl = [
6817
6836
  "cx",
6818
6837
  "cy",
6819
6838
  "r",
6820
6839
  "stroke-width"
6821
- ], Hl = [
6840
+ ], Ul = [
6822
6841
  "cx",
6823
6842
  "cy",
6824
6843
  "r",
6825
6844
  "stroke-width",
6826
6845
  "stroke-dasharray",
6827
6846
  "stroke-dashoffset"
6828
- ], Ul = {
6847
+ ], Wl = {
6829
6848
  key: 0,
6830
6849
  class: "uid-progress-ring__label"
6831
- }, Wl = /* @__PURE__ */ f({
6850
+ }, Gl = /* @__PURE__ */ f({
6832
6851
  __name: "UidProgressRing",
6833
6852
  props: {
6834
6853
  value: { default: 0 },
@@ -6873,7 +6892,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6873
6892
  cy: i.value,
6874
6893
  r: n.value,
6875
6894
  "stroke-width": e.strokeWidth
6876
- }, null, 8, Vl), l("circle", {
6895
+ }, null, 8, Hl), l("circle", {
6877
6896
  class: "uid-progress-ring__progress",
6878
6897
  cx: i.value,
6879
6898
  cy: i.value,
@@ -6881,50 +6900,50 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6881
6900
  "stroke-width": e.strokeWidth,
6882
6901
  "stroke-dasharray": r.value,
6883
6902
  "stroke-dashoffset": f.value
6884
- }, null, 8, Hl)], 8, Bl)), e.showLabel || t.$slots.default ? (x(), c("div", Ul, [E(t.$slots, "default", {}, () => [u(k(p.value), 1)])])) : s("", !0)], 14, zl));
6903
+ }, null, 8, Ul)], 8, Vl)), e.showLabel || t.$slots.default ? (x(), c("div", Wl, [E(t.$slots, "default", {}, () => [u(k(p.value), 1)])])) : s("", !0)], 14, Bl));
6885
6904
  }
6886
- }), Gl = [
6905
+ }), Kl = [
6887
6906
  "aria-valuemin",
6888
6907
  "aria-valuemax",
6889
6908
  "aria-valuenow",
6890
6909
  "aria-label"
6891
- ], Kl = [
6910
+ ], ql = [
6892
6911
  "width",
6893
6912
  "height",
6894
6913
  "viewBox"
6895
- ], ql = ["d", "stroke-width"], Jl = [
6914
+ ], Jl = ["d", "stroke-width"], Yl = [
6896
6915
  "d",
6897
6916
  "stroke",
6898
6917
  "stroke-width",
6899
6918
  "stroke-dasharray",
6900
6919
  "stroke-dashoffset"
6901
- ], Yl = [
6920
+ ], Xl = [
6902
6921
  "d",
6903
6922
  "stroke-width",
6904
6923
  "stroke-dasharray",
6905
6924
  "stroke-dashoffset"
6906
- ], Xl = { key: 2 }, Zl = [
6925
+ ], Zl = { key: 2 }, Ql = [
6907
6926
  "x1",
6908
6927
  "y1",
6909
6928
  "x2",
6910
6929
  "y2",
6911
6930
  "transform"
6912
- ], Ql = ["cx", "cy"], $l = {
6931
+ ], $l = ["cx", "cy"], eu = {
6913
6932
  key: 0,
6914
6933
  class: "uid-gauge__content"
6915
- }, eu = {
6934
+ }, tu = {
6916
6935
  key: 0,
6917
6936
  class: "uid-gauge__value"
6918
- }, tu = {
6937
+ }, nu = {
6919
6938
  key: 0,
6920
6939
  class: "uid-gauge__suffix"
6921
- }, nu = {
6940
+ }, ru = {
6922
6941
  key: 1,
6923
6942
  class: "uid-gauge__label"
6924
- }, ru = {
6943
+ }, iu = {
6925
6944
  key: 1,
6926
6945
  class: "uid-gauge__limits"
6927
- }, iu = 4, au = /* @__PURE__ */ f({
6946
+ }, au = 4, ou = /* @__PURE__ */ f({
6928
6947
  __name: "UidGauge",
6929
6948
  props: {
6930
6949
  value: { default: 0 },
@@ -6953,7 +6972,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6953
6972
  formatValue: {}
6954
6973
  },
6955
6974
  setup(e) {
6956
- let n = e, r = a(() => (n.size - n.strokeWidth) / 2 - iu), i = a(() => n.size / 2), o = a(() => n.size / 2), u = a(() => n.size / 2 + n.strokeWidth / 2 + iu), d = a(() => Math.PI * r.value), f = a(() => Math.max(n.min, Math.min(n.max, n.value))), p = a(() => {
6975
+ let n = e, r = a(() => (n.size - n.strokeWidth) / 2 - au), i = a(() => n.size / 2), o = a(() => n.size / 2), u = a(() => n.size / 2 + n.strokeWidth / 2 + au), d = a(() => Math.PI * r.value), f = a(() => Math.max(n.min, Math.min(n.max, n.value))), p = a(() => {
6957
6976
  let e = n.max - n.min;
6958
6977
  return e <= 0 ? 0 : (f.value - n.min) / e;
6959
6978
  }), m = a(() => {
@@ -6991,7 +7010,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
6991
7010
  class: "uid-gauge__track",
6992
7011
  d: m.value,
6993
7012
  "stroke-width": e.strokeWidth
6994
- }, null, 8, ql),
7013
+ }, null, 8, Jl),
6995
7014
  e.ranges && e.ranges.length ? (x(!0), c(t, { key: 0 }, T(e.ranges, (t, n) => (x(), c("path", {
6996
7015
  key: n,
6997
7016
  class: "uid-gauge__range",
@@ -7000,7 +7019,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7000
7019
  "stroke-width": e.strokeWidth,
7001
7020
  "stroke-dasharray": g(t).dasharray,
7002
7021
  "stroke-dashoffset": g(t).dashoffset
7003
- }, null, 8, Jl))), 128)) : s("", !0),
7022
+ }, null, 8, Yl))), 128)) : s("", !0),
7004
7023
  !e.ranges || e.ranges.length === 0 ? (x(), c("path", {
7005
7024
  key: 1,
7006
7025
  class: "uid-gauge__progress",
@@ -7008,43 +7027,43 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7008
7027
  "stroke-width": e.strokeWidth,
7009
7028
  "stroke-dasharray": d.value,
7010
7029
  "stroke-dashoffset": h.value
7011
- }, null, 8, Yl)) : s("", !0),
7012
- e.showNeedle ? (x(), c("g", Xl, [l("line", {
7030
+ }, null, 8, Xl)) : s("", !0),
7031
+ e.showNeedle ? (x(), c("g", Zl, [l("line", {
7013
7032
  class: "uid-gauge__needle",
7014
7033
  x1: i.value,
7015
7034
  y1: o.value,
7016
7035
  x2: i.value + r.value - e.strokeWidth,
7017
7036
  y2: o.value,
7018
7037
  transform: `rotate(${y.value} ${i.value} ${o.value})`
7019
- }, null, 8, Zl), l("circle", {
7038
+ }, null, 8, Ql), l("circle", {
7020
7039
  class: "uid-gauge__needle-pivot",
7021
7040
  cx: i.value,
7022
7041
  cy: o.value,
7023
7042
  r: "4"
7024
- }, null, 8, Ql)])) : s("", !0)
7025
- ], 8, Kl)),
7026
- e.showValue || e.label ? (x(), c("div", $l, [e.showValue ? (x(), c("div", eu, [l("span", null, k(b.value), 1), e.suffix ? (x(), c("span", tu, k(e.suffix), 1)) : s("", !0)])) : s("", !0), e.label ? (x(), c("div", nu, k(e.label), 1)) : s("", !0)])) : s("", !0),
7027
- e.showLimits ? (x(), c("div", ru, [l("span", null, k(e.min), 1), l("span", null, k(e.max), 1)])) : s("", !0)
7028
- ], 14, Gl));
7043
+ }, null, 8, $l)])) : s("", !0)
7044
+ ], 8, ql)),
7045
+ e.showValue || e.label ? (x(), c("div", eu, [e.showValue ? (x(), c("div", tu, [l("span", null, k(b.value), 1), e.suffix ? (x(), c("span", nu, k(e.suffix), 1)) : s("", !0)])) : s("", !0), e.label ? (x(), c("div", ru, k(e.label), 1)) : s("", !0)])) : s("", !0),
7046
+ e.showLimits ? (x(), c("div", iu, [l("span", null, k(e.min), 1), l("span", null, k(e.max), 1)])) : s("", !0)
7047
+ ], 14, Kl));
7029
7048
  }
7030
- }), ou = ["aria-label"], su = { class: "uid-heatmap__chart" }, cu = {
7049
+ }), su = ["aria-label"], cu = { class: "uid-heatmap__chart" }, lu = {
7031
7050
  key: 0,
7032
7051
  class: "uid-heatmap__weekdays",
7033
7052
  "aria-hidden": "true"
7034
- }, lu = { class: "uid-heatmap__grid-wrapper" }, uu = [
7053
+ }, uu = { class: "uid-heatmap__grid-wrapper" }, du = [
7035
7054
  "width",
7036
7055
  "height",
7037
7056
  "viewBox"
7038
- ], du = [
7057
+ ], fu = [
7039
7058
  "x",
7040
7059
  "y",
7041
7060
  "width",
7042
7061
  "height",
7043
7062
  "fill"
7044
- ], fu = {
7063
+ ], pu = {
7045
7064
  key: 0,
7046
7065
  class: "uid-heatmap__legend"
7047
- }, pu = /* @__PURE__ */ f({
7066
+ }, mu = /* @__PURE__ */ f({
7048
7067
  __name: "UidHeatmap",
7049
7068
  props: {
7050
7069
  data: {},
@@ -7150,10 +7169,10 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7150
7169
  style: v(E.value),
7151
7170
  role: "img",
7152
7171
  "aria-label": M.value
7153
- }, [l("div", su, [e.showWeekdays ? (x(), c("div", cu, [(x(!0), c(t, null, T(j(r).datePicker.weekdaysShort, (e, t) => (x(), c("span", {
7172
+ }, [l("div", cu, [e.showWeekdays ? (x(), c("div", lu, [(x(!0), c(t, null, T(j(r).datePicker.weekdaysShort, (e, t) => (x(), c("span", {
7154
7173
  key: e,
7155
7174
  class: _(["uid-heatmap__weekday", { "uid-heatmap__weekday--visible": t === 0 || t === 2 || t === 4 }])
7156
- }, k(e), 3))), 128))])) : s("", !0), l("div", lu, [e.showMonths ? (x(), c("div", {
7175
+ }, k(e), 3))), 128))])) : s("", !0), l("div", uu, [e.showMonths ? (x(), c("div", {
7157
7176
  key: 0,
7158
7177
  class: "uid-heatmap__months",
7159
7178
  style: v({ width: `${C.value}px` }),
@@ -7176,7 +7195,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7176
7195
  width: e.cellSize,
7177
7196
  height: e.cellSize,
7178
7197
  fill: b(t.level)
7179
- }, [l("title", null, k(O(t)), 1)], 8, du))), 128))], 8, uu))])]), e.showLegend ? (x(), c("div", fu, [
7198
+ }, [l("title", null, k(O(t)), 1)], 8, fu))), 128))], 8, du))])]), e.showLegend ? (x(), c("div", pu, [
7180
7199
  i[0] ||= l("span", null, "Меньше", -1),
7181
7200
  (x(!0), c(t, null, T(D.value, (e) => (x(), c("span", {
7182
7201
  key: e,
@@ -7184,40 +7203,57 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7184
7203
  style: v(e === 0 ? void 0 : { background: b(e) })
7185
7204
  }, null, 4))), 128)),
7186
7205
  i[1] ||= l("span", null, "Больше", -1)
7187
- ])) : s("", !0)], 12, ou));
7206
+ ])) : s("", !0)], 12, su));
7188
7207
  }
7189
- }), mu = ["aria-label"], hu = ["aria-current"], gu = { class: "uid-stepper__indicator" }, _u = {
7208
+ }), hu = ["aria-label"], gu = ["aria-current"], _u = { class: "uid-stepper__indicator" }, vu = {
7190
7209
  key: 1,
7191
7210
  "aria-hidden": "true"
7192
- }, vu = { class: "uid-stepper__content" }, yu = { class: "uid-stepper__label" }, bu = {
7211
+ }, yu = { class: "uid-stepper__content" }, bu = { class: "uid-stepper__label" }, xu = {
7193
7212
  key: 0,
7194
7213
  class: "uid-stepper__description"
7195
- }, xu = /* @__PURE__ */ f({
7214
+ }, Su = /* @__PURE__ */ f({
7196
7215
  __name: "UidStepper",
7197
7216
  props: {
7198
7217
  steps: {},
7199
7218
  current: { default: 0 },
7200
- orientation: { default: "horizontal" }
7219
+ orientation: { default: "horizontal" },
7220
+ selectable: { default: "none" }
7201
7221
  },
7202
- setup(n) {
7203
- function r(e, t) {
7222
+ emits: ["select"],
7223
+ setup(n, { emit: r }) {
7224
+ let i = n, a = r;
7225
+ function u(e) {
7226
+ return e === i.current ? !1 : i.selectable === "all" ? !0 : i.selectable === "completed" && e < i.current;
7227
+ }
7228
+ function d(e, t) {
7204
7229
  return e < t ? "completed" : e === t ? "current" : "pending";
7205
7230
  }
7206
- return (i, a) => (x(), c("ol", {
7231
+ return (r, i) => (x(), c("ol", {
7207
7232
  class: _(["uid-stepper", [`uid-stepper--${n.orientation}`]]),
7208
7233
  "aria-label": `Шаги (текущий: ${n.current + 1} из ${n.steps.length})`
7209
- }, [(x(!0), c(t, null, T(n.steps, (t, i) => (x(), c("li", {
7210
- key: i,
7211
- class: _(["uid-stepper__step", [`uid-stepper__step--${r(i, n.current)}`]]),
7212
- "aria-current": i === n.current ? "step" : void 0
7213
- }, [l("div", gu, [r(i, n.current) === "completed" ? (x(), o(e, {
7214
- key: 0,
7215
- icon: j(q),
7216
- size: 16,
7217
- "aria-hidden": "true"
7218
- }, null, 8, ["icon"])) : (x(), c("span", _u, k(i + 1), 1))]), l("div", vu, [l("span", yu, k(t.label), 1), t.description ? (x(), c("span", bu, k(t.description), 1)) : s("", !0)])], 10, hu))), 128))], 10, mu));
7234
+ }, [(x(!0), c(t, null, T(n.steps, (t, r) => (x(), c("li", {
7235
+ key: r,
7236
+ class: _(["uid-stepper__step", [`uid-stepper__step--${d(r, n.current)}`]]),
7237
+ "aria-current": r === n.current ? "step" : void 0
7238
+ }, [(x(), o(O(u(r) ? "button" : "div"), {
7239
+ type: u(r) ? "button" : void 0,
7240
+ class: _(["uid-stepper__target", { "uid-stepper__target--selectable": u(r) }]),
7241
+ onClick: (e) => u(r) && a("select", r)
7242
+ }, {
7243
+ default: z(() => [l("div", _u, [d(r, n.current) === "completed" ? (x(), o(e, {
7244
+ key: 0,
7245
+ icon: j(q),
7246
+ size: 16,
7247
+ "aria-hidden": "true"
7248
+ }, null, 8, ["icon"])) : (x(), c("span", vu, k(r + 1), 1))]), l("div", yu, [l("span", bu, k(t.label), 1), t.description ? (x(), c("span", xu, k(t.description), 1)) : s("", !0)])]),
7249
+ _: 2
7250
+ }, 1032, [
7251
+ "type",
7252
+ "class",
7253
+ "onClick"
7254
+ ]))], 10, gu))), 128))], 10, hu));
7219
7255
  }
7220
- }), Su = /* @__PURE__ */ f({
7256
+ }), Cu = /* @__PURE__ */ f({
7221
7257
  __name: "UidStack",
7222
7258
  props: {
7223
7259
  direction: { default: "column" },
@@ -7263,7 +7299,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7263
7299
  _: 3
7264
7300
  }, 8, ["class", "style"]));
7265
7301
  }
7266
- }), Cu = /* @__PURE__ */ f({
7302
+ }), wu = /* @__PURE__ */ f({
7267
7303
  __name: "UidGrid",
7268
7304
  props: {
7269
7305
  cols: { default: 12 },
@@ -7296,7 +7332,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7296
7332
  _: 3
7297
7333
  }, 8, ["style"]));
7298
7334
  }
7299
- }), wu = /* @__PURE__ */ f({
7335
+ }), Tu = /* @__PURE__ */ f({
7300
7336
  __name: "UidContainer",
7301
7337
  props: {
7302
7338
  size: { default: "lg" },
@@ -7312,7 +7348,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7312
7348
  _: 3
7313
7349
  }, 8, ["class"]));
7314
7350
  }
7315
- }), Tu = Symbol("uid-wizard"), Eu = { class: "uid-wizard" }, Du = /* @__PURE__ */ f({
7351
+ }), Eu = Symbol("uid-wizard"), Du = { class: "uid-wizard" }, Ou = /* @__PURE__ */ f({
7316
7352
  __name: "UidWizard",
7317
7353
  props: /* @__PURE__ */ m({ steps: {} }, {
7318
7354
  modelValue: { default: 0 },
@@ -7337,7 +7373,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7337
7373
  function m(e) {
7338
7374
  i.delete(e);
7339
7375
  }
7340
- return S(Tu, {
7376
+ return S(Eu, {
7341
7377
  current: r,
7342
7378
  steps: o,
7343
7379
  isFirst: s,
@@ -7354,9 +7390,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7354
7390
  goTo: f,
7355
7391
  isFirst: s,
7356
7392
  isLast: l
7357
- }), (e, t) => (x(), c("div", Eu, [E(e.$slots, "default")]));
7393
+ }), (e, t) => (x(), c("div", Du, [E(e.$slots, "default")]));
7358
7394
  }
7359
- }), Ou = ["aria-label"], ku = /* @__PURE__ */ f({
7395
+ }), ku = ["aria-label"], Au = /* @__PURE__ */ f({
7360
7396
  __name: "UidWizardStep",
7361
7397
  props: {
7362
7398
  index: {},
@@ -7366,7 +7402,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7366
7402
  }
7367
7403
  },
7368
7404
  setup(e) {
7369
- let t = e, n = p(Tu);
7405
+ let t = e, n = p(Eu);
7370
7406
  if (!n) throw Error("UidWizardStep must be inside UidWizard");
7371
7407
  R(() => t.validate, (e, r) => {
7372
7408
  r !== void 0 && n.unregisterValidator(t.index), e !== void 0 && n.registerValidator(t.index, e);
@@ -7377,22 +7413,22 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7377
7413
  class: "uid-wizard-step",
7378
7414
  role: "tabpanel",
7379
7415
  "aria-label": `Шаг ${e.index + 1}`
7380
- }, [E(t.$slots, "default")], 8, Ou)) : s("", !0);
7416
+ }, [E(t.$slots, "default")], 8, ku)) : s("", !0);
7381
7417
  }
7382
- }), Au = { class: "uid-pattern-header__inner" }, ju = {
7418
+ }), ju = { class: "uid-pattern-header__inner" }, Mu = {
7383
7419
  key: 0,
7384
7420
  class: "uid-pattern-header__logo"
7385
- }, Mu = {
7421
+ }, Nu = {
7386
7422
  key: 1,
7387
7423
  class: "uid-pattern-header__nav",
7388
7424
  "aria-label": "Основная навигация"
7389
- }, Nu = {
7425
+ }, Pu = {
7390
7426
  key: 2,
7391
7427
  class: "uid-pattern-header__actions"
7392
- }, Pu = {
7428
+ }, Fu = {
7393
7429
  key: 3,
7394
7430
  class: "uid-pattern-header__mobile"
7395
- }, Fu = /* @__PURE__ */ f({
7431
+ }, Iu = /* @__PURE__ */ f({
7396
7432
  __name: "UidHeader",
7397
7433
  props: {
7398
7434
  sticky: {
@@ -7413,38 +7449,38 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7413
7449
  "uid-pattern-header--sticky": e.sticky,
7414
7450
  "uid-pattern-header--bordered": e.bordered,
7415
7451
  "uid-pattern-header--transparent": e.transparent
7416
- }]) }, [l("div", Au, [
7417
- t.$slots.logo ? (x(), c("div", ju, [E(t.$slots, "logo")])) : s("", !0),
7418
- t.$slots.nav ? (x(), c("nav", Mu, [E(t.$slots, "nav")])) : s("", !0),
7419
- t.$slots.actions ? (x(), c("div", Nu, [E(t.$slots, "actions")])) : s("", !0),
7420
- t.$slots.mobile ? (x(), c("div", Pu, [E(t.$slots, "mobile")])) : s("", !0)
7452
+ }]) }, [l("div", ju, [
7453
+ t.$slots.logo ? (x(), c("div", Mu, [E(t.$slots, "logo")])) : s("", !0),
7454
+ t.$slots.nav ? (x(), c("nav", Nu, [E(t.$slots, "nav")])) : s("", !0),
7455
+ t.$slots.actions ? (x(), c("div", Pu, [E(t.$slots, "actions")])) : s("", !0),
7456
+ t.$slots.mobile ? (x(), c("div", Fu, [E(t.$slots, "mobile")])) : s("", !0)
7421
7457
  ])], 2));
7422
7458
  }
7423
- }), Iu = { class: "uid-pattern-footer__inner" }, Lu = {
7459
+ }), Lu = { class: "uid-pattern-footer__inner" }, Ru = {
7424
7460
  key: 0,
7425
7461
  class: "uid-pattern-footer__columns"
7426
- }, Ru = {
7462
+ }, zu = {
7427
7463
  key: 1,
7428
7464
  class: "uid-pattern-footer__content"
7429
- }, zu = {
7465
+ }, Bu = {
7430
7466
  key: 2,
7431
7467
  class: "uid-pattern-footer__bottom"
7432
- }, Bu = /* @__PURE__ */ f({
7468
+ }, Vu = /* @__PURE__ */ f({
7433
7469
  __name: "UidFooter",
7434
7470
  props: { variant: { default: "minimal" } },
7435
7471
  setup(e) {
7436
- return (t, n) => (x(), c("footer", { class: _(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div", Iu, [t.$slots.columns ? (x(), c("div", Lu, [E(t.$slots, "columns")])) : t.$slots.default ? (x(), c("div", Ru, [E(t.$slots, "default")])) : s("", !0), t.$slots.bottom ? (x(), c("div", zu, [E(t.$slots, "bottom")])) : s("", !0)])], 2));
7472
+ return (t, n) => (x(), c("footer", { class: _(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div", Lu, [t.$slots.columns ? (x(), c("div", Ru, [E(t.$slots, "columns")])) : t.$slots.default ? (x(), c("div", zu, [E(t.$slots, "default")])) : s("", !0), t.$slots.bottom ? (x(), c("div", Bu, [E(t.$slots, "bottom")])) : s("", !0)])], 2));
7437
7473
  }
7438
- }), Vu = {
7474
+ }), Hu = {
7439
7475
  key: 0,
7440
7476
  class: "uid-pattern-sidebar__header"
7441
- }, Hu = {
7477
+ }, Uu = {
7442
7478
  class: "uid-pattern-sidebar__nav",
7443
7479
  "aria-label": "Навигация"
7444
- }, Uu = {
7480
+ }, Wu = {
7445
7481
  key: 1,
7446
7482
  class: "uid-pattern-sidebar__footer"
7447
- }, Wu = /* @__PURE__ */ f({
7483
+ }, Gu = /* @__PURE__ */ f({
7448
7484
  __name: "UidSidebar",
7449
7485
  props: {
7450
7486
  collapsed: {
@@ -7460,19 +7496,19 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7460
7496
  style: v(e.width && !e.collapsed ? { "--uid-sidebar-width": e.width } : void 0),
7461
7497
  "aria-label": "Боковая навигация"
7462
7498
  }, [
7463
- t.$slots.header ? (x(), c("div", Vu, [E(t.$slots, "header")])) : s("", !0),
7464
- l("nav", Hu, [E(t.$slots, "nav")]),
7465
- t.$slots.footer ? (x(), c("div", Uu, [E(t.$slots, "footer")])) : s("", !0)
7499
+ t.$slots.header ? (x(), c("div", Hu, [E(t.$slots, "header")])) : s("", !0),
7500
+ l("nav", Uu, [E(t.$slots, "nav")]),
7501
+ t.$slots.footer ? (x(), c("div", Wu, [E(t.$slots, "footer")])) : s("", !0)
7466
7502
  ], 6));
7467
7503
  }
7468
- }), Gu = {
7504
+ }), Ku = {
7469
7505
  key: 0,
7470
7506
  class: "uid-sidebar-item__icon",
7471
7507
  "aria-hidden": "true"
7472
- }, Ku = { class: "uid-sidebar-item__label" }, qu = {
7508
+ }, qu = { class: "uid-sidebar-item__label" }, Ju = {
7473
7509
  key: 1,
7474
7510
  class: "uid-sidebar-item__badge"
7475
- }, Ju = /* @__PURE__ */ f({
7511
+ }, Yu = /* @__PURE__ */ f({
7476
7512
  __name: "UidSidebarItem",
7477
7513
  props: {
7478
7514
  href: { default: void 0 },
@@ -7507,9 +7543,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7507
7543
  tabindex: e.disabled ? -1 : void 0
7508
7544
  }), {
7509
7545
  default: z(() => [
7510
- t.$slots.icon ? (x(), c("span", Gu, [E(t.$slots, "icon")])) : s("", !0),
7511
- l("span", Ku, [E(t.$slots, "default")]),
7512
- e.badge === void 0 ? s("", !0) : (x(), c("span", qu, k(e.badge), 1))
7546
+ t.$slots.icon ? (x(), c("span", Ku, [E(t.$slots, "icon")])) : s("", !0),
7547
+ l("span", qu, [E(t.$slots, "default")]),
7548
+ e.badge === void 0 ? s("", !0) : (x(), c("span", Ju, k(e.badge), 1))
7513
7549
  ]),
7514
7550
  _: 3
7515
7551
  }, 16, [
@@ -7519,10 +7555,10 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7519
7555
  "tabindex"
7520
7556
  ]));
7521
7557
  }
7522
- }), Yu = { class: "uid-sidebar-group" }, Xu = {
7558
+ }), Xu = { class: "uid-sidebar-group" }, Zu = {
7523
7559
  key: 0,
7524
7560
  class: "uid-sidebar-group__title"
7525
- }, Zu = /* @__PURE__ */ f({
7561
+ }, Qu = /* @__PURE__ */ f({
7526
7562
  __name: "UidSidebarGroup",
7527
7563
  props: {
7528
7564
  title: { default: void 0 },
@@ -7532,29 +7568,29 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
7532
7568
  }
7533
7569
  },
7534
7570
  setup(e) {
7535
- return (t, n) => (x(), c("div", Yu, [e.title ? (x(), c("p", Xu, k(e.title), 1)) : s("", !0), E(t.$slots, "default")]));
7571
+ return (t, n) => (x(), c("div", Xu, [e.title ? (x(), c("p", Zu, k(e.title), 1)) : s("", !0), E(t.$slots, "default")]));
7536
7572
  }
7537
- }), Qu = {}, $u = {
7573
+ }), $u = {}, ed = {
7538
7574
  class: "uid-sidebar-divider",
7539
7575
  role: "separator",
7540
7576
  "aria-hidden": "true"
7541
7577
  };
7542
- function ed(e, t) {
7543
- return x(), c("div", $u);
7578
+ function td(e, t) {
7579
+ return x(), c("div", ed);
7544
7580
  }
7545
- var td = /* @__PURE__ */ qn(Qu, [["render", ed]]), nd = { class: "uid-pattern-page-header" }, rd = {
7581
+ var nd = /* @__PURE__ */ Jn($u, [["render", td]]), rd = { class: "uid-pattern-page-header" }, id = {
7546
7582
  key: 0,
7547
7583
  class: "uid-pattern-page-header__breadcrumb"
7548
- }, id = { class: "uid-pattern-page-header__row" }, ad = { class: "uid-pattern-page-header__heading" }, od = { class: "uid-pattern-page-header__title" }, sd = {
7584
+ }, ad = { class: "uid-pattern-page-header__row" }, od = { class: "uid-pattern-page-header__heading" }, sd = { class: "uid-pattern-page-header__title" }, cd = {
7549
7585
  key: 0,
7550
7586
  class: "uid-pattern-page-header__description"
7551
- }, cd = {
7587
+ }, ld = {
7552
7588
  key: 0,
7553
7589
  class: "uid-pattern-page-header__actions"
7554
- }, ld = {
7590
+ }, ud = {
7555
7591
  key: 1,
7556
7592
  class: "uid-pattern-page-header__tabs"
7557
- }, ud = /* @__PURE__ */ f({
7593
+ }, dd = /* @__PURE__ */ f({
7558
7594
  __name: "UidPageHeader",
7559
7595
  props: {
7560
7596
  title: { default: void 0 },
@@ -7567,9 +7603,9 @@ var td = /* @__PURE__ */ qn(Qu, [["render", ed]]), nd = { class: "uid-pattern-pa
7567
7603
  emits: ["back"],
7568
7604
  setup(t, { emit: n }) {
7569
7605
  let r = n;
7570
- return (n, i) => (x(), c("div", nd, [
7571
- n.$slots.breadcrumb ? (x(), c("div", rd, [E(n.$slots, "breadcrumb")])) : s("", !0),
7572
- l("div", id, [l("div", ad, [t.back ? (x(), c("button", {
7606
+ return (n, i) => (x(), c("div", rd, [
7607
+ n.$slots.breadcrumb ? (x(), c("div", id, [E(n.$slots, "breadcrumb")])) : s("", !0),
7608
+ l("div", ad, [l("div", od, [t.back ? (x(), c("button", {
7573
7609
  key: 0,
7574
7610
  type: "button",
7575
7611
  class: "uid-pattern-page-header__back",
@@ -7578,42 +7614,42 @@ var td = /* @__PURE__ */ qn(Qu, [["render", ed]]), nd = { class: "uid-pattern-pa
7578
7614
  }, [d(e, {
7579
7615
  icon: j(ee),
7580
7616
  size: 20
7581
- }, null, 8, ["icon"])])) : s("", !0), l("div", null, [l("h1", od, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), t.description || n.$slots.description ? (x(), c("p", sd, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0)])]), n.$slots.actions ? (x(), c("div", cd, [E(n.$slots, "actions")])) : s("", !0)]),
7582
- n.$slots.tabs ? (x(), c("div", ld, [E(n.$slots, "tabs")])) : s("", !0)
7617
+ }, null, 8, ["icon"])])) : s("", !0), l("div", null, [l("h1", sd, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), t.description || n.$slots.description ? (x(), c("p", cd, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0)])]), n.$slots.actions ? (x(), c("div", ld, [E(n.$slots, "actions")])) : s("", !0)]),
7618
+ n.$slots.tabs ? (x(), c("div", ud, [E(n.$slots, "tabs")])) : s("", !0)
7583
7619
  ]));
7584
7620
  }
7585
- }), dd = { class: "uid-pattern-empty-state" }, fd = { class: "uid-pattern-empty-state__illustration" }, pd = { class: "uid-pattern-empty-state__content" }, md = { class: "uid-pattern-empty-state__title" }, hd = {
7621
+ }), fd = { class: "uid-pattern-empty-state" }, pd = { class: "uid-pattern-empty-state__illustration" }, md = { class: "uid-pattern-empty-state__content" }, hd = { class: "uid-pattern-empty-state__title" }, gd = {
7586
7622
  key: 0,
7587
7623
  class: "uid-pattern-empty-state__description"
7588
- }, gd = {
7624
+ }, _d = {
7589
7625
  key: 0,
7590
7626
  class: "uid-pattern-empty-state__actions"
7591
- }, _d = /* @__PURE__ */ f({
7627
+ }, vd = /* @__PURE__ */ f({
7592
7628
  __name: "UidEmptyState",
7593
7629
  props: {
7594
7630
  title: { default: "Ничего не найдено" },
7595
7631
  description: { default: void 0 }
7596
7632
  },
7597
7633
  setup(t) {
7598
- return (n, r) => (x(), c("div", dd, [
7599
- l("div", fd, [E(n.$slots, "illustration", {}, () => [d(e, {
7634
+ return (n, r) => (x(), c("div", fd, [
7635
+ l("div", pd, [E(n.$slots, "illustration", {}, () => [d(e, {
7600
7636
  icon: j(ue),
7601
7637
  size: 48
7602
7638
  }, null, 8, ["icon"])])]),
7603
- l("div", pd, [l("h2", md, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), t.description || n.$slots.description ? (x(), c("p", hd, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0)]),
7604
- n.$slots.actions ? (x(), c("div", gd, [E(n.$slots, "actions")])) : s("", !0)
7639
+ l("div", md, [l("h2", hd, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), t.description || n.$slots.description ? (x(), c("p", gd, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0)]),
7640
+ n.$slots.actions ? (x(), c("div", _d, [E(n.$slots, "actions")])) : s("", !0)
7605
7641
  ]));
7606
7642
  }
7607
- }), vd = { class: "uid-pattern-error-state" }, yd = { class: "uid-pattern-error-state__illustration" }, bd = {
7643
+ }), yd = { class: "uid-pattern-error-state" }, bd = { class: "uid-pattern-error-state__illustration" }, xd = {
7608
7644
  key: 0,
7609
7645
  class: "uid-pattern-error-state__code"
7610
- }, xd = { class: "uid-pattern-error-state__content" }, Sd = { class: "uid-pattern-error-state__title" }, Cd = {
7646
+ }, Sd = { class: "uid-pattern-error-state__content" }, Cd = { class: "uid-pattern-error-state__title" }, wd = {
7611
7647
  key: 0,
7612
7648
  class: "uid-pattern-error-state__description"
7613
- }, wd = {
7649
+ }, Td = {
7614
7650
  key: 1,
7615
7651
  class: "uid-pattern-error-state__actions"
7616
- }, Td = /* @__PURE__ */ f({
7652
+ }, Ed = /* @__PURE__ */ f({
7617
7653
  __name: "UidErrorState",
7618
7654
  props: {
7619
7655
  code: { default: void 0 },
@@ -7638,23 +7674,23 @@ var td = /* @__PURE__ */ qn(Qu, [["render", ed]]), nd = { class: "uid-pattern-pa
7638
7674
  description: "Проверьте подключение к интернету и попробуйте снова."
7639
7675
  }
7640
7676
  }, i = a(() => n.code ? r[n.code] ?? null : null), o = a(() => i.value?.icon ?? U), f = a(() => n.title ?? i.value?.title ?? "Что-то пошло не так"), p = a(() => n.description ?? i.value?.description);
7641
- return (n, r) => (x(), c("div", vd, [
7642
- l("div", yd, [E(n.$slots, "illustration", {}, () => [d(e, {
7677
+ return (n, r) => (x(), c("div", yd, [
7678
+ l("div", bd, [E(n.$slots, "illustration", {}, () => [d(e, {
7643
7679
  icon: o.value,
7644
7680
  size: 48
7645
7681
  }, null, 8, ["icon"])])]),
7646
- t.code ? (x(), c("div", bd, k(t.code), 1)) : s("", !0),
7647
- l("div", xd, [l("h2", Sd, [E(n.$slots, "title", {}, () => [u(k(f.value), 1)])]), p.value || n.$slots.description ? (x(), c("p", Cd, [E(n.$slots, "description", {}, () => [u(k(p.value), 1)])])) : s("", !0)]),
7648
- n.$slots.actions ? (x(), c("div", wd, [E(n.$slots, "actions")])) : s("", !0)
7682
+ t.code ? (x(), c("div", xd, k(t.code), 1)) : s("", !0),
7683
+ l("div", Sd, [l("h2", Cd, [E(n.$slots, "title", {}, () => [u(k(f.value), 1)])]), p.value || n.$slots.description ? (x(), c("p", wd, [E(n.$slots, "description", {}, () => [u(k(p.value), 1)])])) : s("", !0)]),
7684
+ n.$slots.actions ? (x(), c("div", Td, [E(n.$slots, "actions")])) : s("", !0)
7649
7685
  ]));
7650
7686
  }
7651
- }), Ed = {
7687
+ }), Dd = {
7652
7688
  key: 0,
7653
7689
  class: "uid-layout-simple__header"
7654
- }, Dd = { class: "uid-layout-simple__content" }, Od = {
7690
+ }, Od = { class: "uid-layout-simple__content" }, kd = {
7655
7691
  key: 1,
7656
7692
  class: "uid-layout-simple__footer"
7657
- }, kd = /* @__PURE__ */ f({
7693
+ }, Ad = /* @__PURE__ */ f({
7658
7694
  __name: "UidSimpleLayout",
7659
7695
  props: { full: {
7660
7696
  type: Boolean,
@@ -7662,26 +7698,26 @@ var td = /* @__PURE__ */ qn(Qu, [["render", ed]]), nd = { class: "uid-pattern-pa
7662
7698
  } },
7663
7699
  setup(e) {
7664
7700
  return (t, n) => (x(), c("div", { class: _(["uid-layout-simple", { "uid-layout-simple--full": e.full }]) }, [
7665
- t.$slots.header ? (x(), c("div", Ed, [E(t.$slots, "header")])) : s("", !0),
7666
- l("main", Dd, [E(t.$slots, "default")]),
7667
- t.$slots.footer ? (x(), c("div", Od, [E(t.$slots, "footer")])) : s("", !0)
7701
+ t.$slots.header ? (x(), c("div", Dd, [E(t.$slots, "header")])) : s("", !0),
7702
+ l("main", Od, [E(t.$slots, "default")]),
7703
+ t.$slots.footer ? (x(), c("div", kd, [E(t.$slots, "footer")])) : s("", !0)
7668
7704
  ], 2));
7669
7705
  }
7670
- }), Ad = Symbol("uid-sidebar-layout");
7671
- function jd() {
7672
- let e = p(Ad);
7706
+ }), jd = Symbol("uid-sidebar-layout");
7707
+ function Md() {
7708
+ let e = p(jd);
7673
7709
  if (!e) throw Error("useSidebar() must be used inside UidSidebarLayout");
7674
7710
  return e;
7675
7711
  }
7676
7712
  //#endregion
7677
7713
  //#region src/layouts/Sidebar/UidSidebarLayout.vue?vue&type=script&setup=true&lang.ts
7678
- var Md = { class: "uid-layout-sidebar__sidebar" }, Nd = { class: "uid-layout-sidebar__main" }, Pd = {
7714
+ var Nd = { class: "uid-layout-sidebar__sidebar" }, Pd = { class: "uid-layout-sidebar__main" }, Fd = {
7679
7715
  key: 0,
7680
7716
  class: "uid-layout-sidebar__main-header"
7681
- }, Fd = { class: "uid-layout-sidebar__main-content" }, Id = {
7717
+ }, Id = { class: "uid-layout-sidebar__main-content" }, Ld = {
7682
7718
  key: 1,
7683
7719
  class: "uid-layout-sidebar__main-footer"
7684
- }, Ld = /* @__PURE__ */ f({
7720
+ }, Rd = /* @__PURE__ */ f({
7685
7721
  __name: "UidSidebarLayout",
7686
7722
  props: /* @__PURE__ */ m({ sidebarWidth: { default: void 0 } }, {
7687
7723
  modelValue: {
@@ -7699,7 +7735,7 @@ var Md = { class: "uid-layout-sidebar__sidebar" }, Nd = { class: "uid-layout-sid
7699
7735
  }, o = () => {
7700
7736
  n.value = !0;
7701
7737
  };
7702
- S(Ad, {
7738
+ S(jd, {
7703
7739
  collapsed: n,
7704
7740
  toggle: r,
7705
7741
  open: i,
@@ -7710,58 +7746,58 @@ var Md = { class: "uid-layout-sidebar__sidebar" }, Nd = { class: "uid-layout-sid
7710
7746
  class: _(["uid-layout-sidebar", { "uid-layout-sidebar--collapsed": n.value }]),
7711
7747
  style: v(u.value)
7712
7748
  }, [
7713
- l("aside", Md, [E(e.$slots, "sidebar")]),
7749
+ l("aside", Nd, [E(e.$slots, "sidebar")]),
7714
7750
  l("div", {
7715
7751
  class: "uid-layout-sidebar__backdrop",
7716
7752
  "aria-hidden": "true",
7717
7753
  onClick: o
7718
7754
  }),
7719
- l("div", Nd, [
7720
- e.$slots.header ? (x(), c("div", Pd, [E(e.$slots, "header")])) : s("", !0),
7721
- l("main", Fd, [E(e.$slots, "default")]),
7722
- e.$slots.footer ? (x(), c("div", Id, [E(e.$slots, "footer")])) : s("", !0)
7755
+ l("div", Pd, [
7756
+ e.$slots.header ? (x(), c("div", Fd, [E(e.$slots, "header")])) : s("", !0),
7757
+ l("main", Id, [E(e.$slots, "default")]),
7758
+ e.$slots.footer ? (x(), c("div", Ld, [E(e.$slots, "footer")])) : s("", !0)
7723
7759
  ])
7724
7760
  ], 6));
7725
7761
  }
7726
- }), Rd = {
7762
+ }), zd = {
7727
7763
  key: 0,
7728
7764
  class: "uid-layout-auth__brand"
7729
- }, zd = { class: "uid-layout-auth__main" }, Bd = { class: "uid-layout-auth__card" }, Vd = {
7765
+ }, Bd = { class: "uid-layout-auth__main" }, Vd = { class: "uid-layout-auth__card" }, Hd = {
7730
7766
  key: 0,
7731
7767
  class: "uid-layout-auth__footer"
7732
- }, Hd = /* @__PURE__ */ f({
7768
+ }, Ud = /* @__PURE__ */ f({
7733
7769
  __name: "UidAuthLayout",
7734
7770
  props: { variant: { default: "centered" } },
7735
7771
  setup(e) {
7736
- return (t, n) => (x(), c("div", { class: _(["uid-layout-auth", [`uid-layout-auth--${e.variant}`]]) }, [e.variant === "split" && t.$slots.brand ? (x(), c("div", Rd, [E(t.$slots, "brand")])) : s("", !0), l("div", zd, [l("div", Bd, [E(t.$slots, "default")]), t.$slots.footer ? (x(), c("div", Vd, [E(t.$slots, "footer")])) : s("", !0)])], 2));
7772
+ return (t, n) => (x(), c("div", { class: _(["uid-layout-auth", [`uid-layout-auth--${e.variant}`]]) }, [e.variant === "split" && t.$slots.brand ? (x(), c("div", zd, [E(t.$slots, "brand")])) : s("", !0), l("div", Bd, [l("div", Vd, [E(t.$slots, "default")]), t.$slots.footer ? (x(), c("div", Hd, [E(t.$slots, "footer")])) : s("", !0)])], 2));
7737
7773
  }
7738
- }), Ud = { class: "uid-layout-wizard" }, Wd = {
7774
+ }), Wd = { class: "uid-layout-wizard" }, Gd = {
7739
7775
  key: 0,
7740
7776
  class: "uid-layout-wizard__header"
7741
- }, Gd = {
7777
+ }, Kd = {
7742
7778
  key: 1,
7743
7779
  class: "uid-layout-wizard__stepper"
7744
- }, Kd = { class: "uid-layout-wizard__content" }, qd = {
7780
+ }, qd = { class: "uid-layout-wizard__content" }, Jd = {
7745
7781
  key: 2,
7746
7782
  class: "uid-layout-wizard__nav"
7747
- }, Jd = /* @__PURE__ */ f({
7783
+ }, Yd = /* @__PURE__ */ f({
7748
7784
  __name: "UidWizardLayout",
7749
7785
  setup(e) {
7750
- return (e, t) => (x(), c("div", Ud, [
7751
- e.$slots.header ? (x(), c("div", Wd, [E(e.$slots, "header")])) : s("", !0),
7752
- e.$slots.stepper ? (x(), c("div", Gd, [E(e.$slots, "stepper")])) : s("", !0),
7753
- l("main", Kd, [E(e.$slots, "default")]),
7754
- e.$slots.nav ? (x(), c("div", qd, [E(e.$slots, "nav")])) : s("", !0)
7786
+ return (e, t) => (x(), c("div", Wd, [
7787
+ e.$slots.header ? (x(), c("div", Gd, [E(e.$slots, "header")])) : s("", !0),
7788
+ e.$slots.stepper ? (x(), c("div", Kd, [E(e.$slots, "stepper")])) : s("", !0),
7789
+ l("main", qd, [E(e.$slots, "default")]),
7790
+ e.$slots.nav ? (x(), c("div", Jd, [E(e.$slots, "nav")])) : s("", !0)
7755
7791
  ]));
7756
7792
  }
7757
- }), Yd = /* @__PURE__ */ f({
7793
+ }), Xd = /* @__PURE__ */ f({
7758
7794
  __name: "UidLocaleProvider",
7759
7795
  props: { locale: {} },
7760
7796
  setup(e) {
7761
7797
  let t = e;
7762
7798
  return Wt(a(() => t.locale)), (e, t) => E(e.$slots, "default");
7763
7799
  }
7764
- }), Xd = {
7800
+ }), Zd = {
7765
7801
  common: {
7766
7802
  clear: "Clear",
7767
7803
  close: "Close",
@@ -7860,19 +7896,19 @@ var Md = { class: "uid-layout-sidebar__sidebar" }, Nd = { class: "uid-layout-sid
7860
7896
  page: (e) => `Page ${e}`,
7861
7897
  pageSize: (e) => `${e} per page`
7862
7898
  }
7863
- }, Zd = w("light");
7864
- function Qd() {
7899
+ }, Qd = w("light");
7900
+ function $d() {
7865
7901
  let e = null;
7866
7902
  function t(e) {
7867
- Zd.value = e, document.documentElement.dataset.theme = e;
7903
+ Qd.value = e, document.documentElement.dataset.theme = e;
7868
7904
  }
7869
7905
  function n() {
7870
- t(Zd.value === "light" ? "dark" : "light");
7906
+ t(Qd.value === "light" ? "dark" : "light");
7871
7907
  }
7872
7908
  function r() {
7873
7909
  let e = document.documentElement.dataset.theme;
7874
7910
  if (e === "light" || e === "dark") {
7875
- Zd.value = e;
7911
+ Qd.value = e;
7876
7912
  return;
7877
7913
  }
7878
7914
  let n = window.matchMedia("(prefers-color-scheme: dark)").matches;
@@ -7884,7 +7920,7 @@ function Qd() {
7884
7920
  e.addEventListener("change", n), b(() => e?.removeEventListener("change", n));
7885
7921
  }
7886
7922
  return {
7887
- theme: Zd,
7923
+ theme: Qd,
7888
7924
  setTheme: t,
7889
7925
  toggle: n,
7890
7926
  initFromSystem: r,
@@ -7893,27 +7929,27 @@ function Qd() {
7893
7929
  }
7894
7930
  //#endregion
7895
7931
  //#region src/composables/useWizard.ts
7896
- function $d() {
7897
- let e = p(Tu);
7932
+ function ef() {
7933
+ let e = p(Eu);
7898
7934
  if (!e) throw Error("useWizard() must be used inside UidWizard");
7899
7935
  return e;
7900
7936
  }
7901
7937
  //#endregion
7902
7938
  //#region src/composables/useCommandPalette.ts
7903
- var ef = w(!1);
7904
- function tf() {
7939
+ var tf = w(!1);
7940
+ function nf() {
7905
7941
  return {
7906
- open: ef,
7942
+ open: tf,
7907
7943
  show: () => {
7908
- ef.value = !0;
7944
+ tf.value = !0;
7909
7945
  },
7910
7946
  hide: () => {
7911
- ef.value = !1;
7947
+ tf.value = !1;
7912
7948
  },
7913
7949
  toggle: () => {
7914
- ef.value = !ef.value;
7950
+ tf.value = !tf.value;
7915
7951
  }
7916
7952
  };
7917
7953
  }
7918
7954
  //#endregion
7919
- export { Qr as UidAccordion, ii as UidAccordionItem, Rs as UidAffix, Xt as UidAlert, qs as UidAnchor, Hd as UidAuthLayout, Hr as UidAvatar, Gr as UidAvatarGroup, Is as UidBackTop, Bt as UidBadge, sr as UidBreadcrumb, dr as UidBreadcrumbItem, we as UidButton, Ol as UidCalendar, zr as UidCard, Ac as UidCarousel, ml as UidCascader, ft as UidCheckbox, rs as UidCode, $i as UidColorPicker, po as UidCombobox, la as UidCommand, wu as UidContainer, Ii as UidDatePicker, Ka as UidDateRangePicker, Os as UidDescriptionItem, ws as UidDescriptionList, Yr as UidDivider, jn as UidDrawer, _d as UidEmptyState, Td as UidErrorState, Yo as UidFileUpload, Bu as UidFooter, Ft as UidFormField, au as UidGauge, Cu as UidGrid, Fu as UidHeader, pu as UidHeatmap, e as UidIcon, Or as UidInfiniteScroll, nt as UidInput, At as UidLabel, fr as UidLink, Tr as UidLoadMore, Yd as UidLocaleProvider, cc as UidMention, Wn as UidMenu, Kn as UidMenuItem, Zn as UidMenuSeparator, wn as UidModal, wc as UidNotificationBadge, _a as UidNumberInput, ud as UidPageHeader, Nr as UidPageSize, vr as UidPagination, Sr as UidPaginationCursor, Bn as UidPopover, pn as UidProgress, Wl as UidProgressRing, gt as UidRadio, St as UidRadioGroup, ls as UidRating, Ps as UidResult, Ei as UidSelect, Wu as UidSidebar, td as UidSidebarDivider, Zu as UidSidebarGroup, Ju as UidSidebarItem, Ld as UidSidebarLayout, kd as UidSimpleLayout, zt as UidSkeleton, Hi as UidSlider, Rl as UidSparkline, Lt as UidSpinner, fs as UidSplitter, Su as UidStack, xs as UidStat, xu as UidStepper, Dt as UidSwitch, rr as UidTab, ar as UidTabPanel, gi as UidTable, tr as UidTabs, qr as UidTag, Qa as UidTagsInput, st as UidTextarea, Ea as UidTimePicker, To as UidTimeline, No as UidTimelineItem, nn as UidToast, sn as UidToastProvider, Ln as UidTooltip, tc as UidTour, nl as UidTransfer, So as UidTreeItem, xc as UidTreeSelect, wo as UidTreeView, Li as UidVirtualList, Vs as UidWatermark, Du as UidWizard, Jd as UidWizardLayout, ku as UidWizardStep, Me as email, Xd as en, Z as getMessage, Ve as inList, Fe as integer, Le as max, ze as maxValue, Ie as min, Re as minValue, je as nullable, Pe as numeric, Ke as parseRules, Wt as provideLocale, Be as regex, Ae as required, Ue as requiredIf, We as requiredUnless, Vt as ru, qe as runRules, He as sameAs, De as setMessages, Ne as url, tf as useCommandPalette, Je as useField, hn as useFocusTrap, $ as useLocale, Pn as usePopover, _n as useScrollLock, jd as useSidebar, Qd as useTheme, on as useToast, $d as useWizard };
7955
+ export { $r as UidAccordion, ai as UidAccordionItem, zs as UidAffix, Xt as UidAlert, Js as UidAnchor, Ud as UidAuthLayout, Ur as UidAvatar, Kr as UidAvatarGroup, Ls as UidBackTop, Bt as UidBadge, cr as UidBreadcrumb, fr as UidBreadcrumbItem, we as UidButton, kl as UidCalendar, Br as UidCard, jc as UidCarousel, hl as UidCascader, ft as UidCheckbox, is as UidCode, ea as UidColorPicker, mo as UidCombobox, ua as UidCommand, Tu as UidContainer, Li as UidDatePicker, qa as UidDateRangePicker, ks as UidDescriptionItem, Ts as UidDescriptionList, Xr as UidDivider, jn as UidDrawer, vd as UidEmptyState, Ed as UidErrorState, Xo as UidFileUpload, Vu as UidFooter, Ft as UidFormField, ou as UidGauge, wu as UidGrid, Iu as UidHeader, mu as UidHeatmap, e as UidIcon, kr as UidInfiniteScroll, nt as UidInput, At as UidLabel, pr as UidLink, Er as UidLoadMore, Xd as UidLocaleProvider, lc as UidMention, Gn as UidMenu, qn as UidMenuItem, Qn as UidMenuSeparator, wn as UidModal, Tc as UidNotificationBadge, va as UidNumberInput, dd as UidPageHeader, Pr as UidPageSize, yr as UidPagination, Cr as UidPaginationCursor, Bn as UidPopover, pn as UidProgress, Gl as UidProgressRing, gt as UidRadio, St as UidRadioGroup, us as UidRating, Fs as UidResult, Di as UidSelect, Gu as UidSidebar, nd as UidSidebarDivider, Qu as UidSidebarGroup, Yu as UidSidebarItem, Rd as UidSidebarLayout, Ad as UidSimpleLayout, zt as UidSkeleton, Ui as UidSlider, zl as UidSparkline, Lt as UidSpinner, ps as UidSplitter, Cu as UidStack, Ss as UidStat, Su as UidStepper, Dt as UidSwitch, ir as UidTab, or as UidTabPanel, _i as UidTable, nr as UidTabs, Jr as UidTag, $a as UidTagsInput, st as UidTextarea, Da as UidTimePicker, Eo as UidTimeline, Po as UidTimelineItem, nn as UidToast, sn as UidToastProvider, Ln as UidTooltip, nc as UidTour, rl as UidTransfer, Co as UidTreeItem, Sc as UidTreeSelect, To as UidTreeView, Ri as UidVirtualList, Hs as UidWatermark, Ou as UidWizard, Yd as UidWizardLayout, Au as UidWizardStep, Me as email, Zd as en, Z as getMessage, Ve as inList, Fe as integer, Le as max, ze as maxValue, Ie as min, Re as minValue, je as nullable, Pe as numeric, Ke as parseRules, Wt as provideLocale, Be as regex, Ae as required, Ue as requiredIf, We as requiredUnless, Vt as ru, qe as runRules, He as sameAs, De as setMessages, Ne as url, nf as useCommandPalette, Je as useField, hn as useFocusTrap, $ as useLocale, Pn as usePopover, _n as useScrollLock, Md as useSidebar, $d as useTheme, on as useToast, ef as useWizard };