@dskripchenko/ui 1.2.1 → 1.2.2
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.cjs +2 -2
- package/dist/index.mjs +615 -604
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1429,48 +1429,59 @@ var Fn = ["aria-describedby"], In = ["id"], Ln = /* @__PURE__ */ f({
|
|
|
1429
1429
|
_: 3
|
|
1430
1430
|
})]))], 64));
|
|
1431
1431
|
}
|
|
1432
|
-
}), Vn = Symbol("uid-menu-close"), Hn = [
|
|
1432
|
+
}), Vn = Symbol("uid-menu-close"), Hn = [
|
|
1433
|
+
"role",
|
|
1434
|
+
"tabindex",
|
|
1435
|
+
"aria-haspopup",
|
|
1436
|
+
"aria-expanded",
|
|
1437
|
+
"aria-controls"
|
|
1438
|
+
], Un = ["id"], Wn = "button, a[href], input, select, textarea, [role=\"button\"], [tabindex]", Gn = /* @__PURE__ */ f({
|
|
1433
1439
|
__name: "UidMenu",
|
|
1434
1440
|
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
|
|
1441
|
+
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);
|
|
1442
|
+
function C() {
|
|
1443
|
+
let e = i.value?.firstElementChild;
|
|
1444
|
+
_.value = e !== null && e.matches(Wn), _.value && (e.setAttribute("aria-haspopup", "menu"), e.setAttribute("aria-expanded", String(f.value)), e.setAttribute("aria-controls", p));
|
|
1445
|
+
}
|
|
1446
|
+
y(C), R(f, C);
|
|
1447
|
+
function T() {
|
|
1437
1448
|
return Array.from(u.value?.querySelectorAll("[role=\"menuitem\"]:not([disabled])") ?? []);
|
|
1438
1449
|
}
|
|
1439
|
-
function
|
|
1450
|
+
function D() {
|
|
1440
1451
|
f.value = !1, i.value?.querySelector("button, [tabindex]")?.focus();
|
|
1441
1452
|
}
|
|
1442
|
-
S(Vn,
|
|
1443
|
-
async function
|
|
1453
|
+
S(Vn, D);
|
|
1454
|
+
async function O() {
|
|
1444
1455
|
f.value = !f.value, f.value && (await g(), h(), requestAnimationFrame(() => {
|
|
1445
|
-
h(),
|
|
1456
|
+
h(), T()[0]?.focus();
|
|
1446
1457
|
}));
|
|
1447
1458
|
}
|
|
1448
|
-
function
|
|
1449
|
-
(e.key === "ArrowDown" || e.key === "Enter" || e.key === " ") && !f.value && (e.preventDefault(),
|
|
1459
|
+
function k(e) {
|
|
1460
|
+
(e.key === "ArrowDown" || e.key === "Enter" || e.key === " ") && !f.value && (e.preventDefault(), O());
|
|
1450
1461
|
}
|
|
1451
|
-
function
|
|
1452
|
-
let t =
|
|
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(),
|
|
1462
|
+
function A(e) {
|
|
1463
|
+
let t = T(), n = t.indexOf(document.activeElement);
|
|
1464
|
+
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
1465
|
}
|
|
1455
|
-
function
|
|
1466
|
+
function N(e) {
|
|
1456
1467
|
let t = e.target;
|
|
1457
1468
|
i.value?.contains(t) || u.value?.contains(t) || (f.value = !1);
|
|
1458
1469
|
}
|
|
1459
1470
|
return R(f, (e) => {
|
|
1460
|
-
e ? document.addEventListener("mousedown",
|
|
1471
|
+
e ? document.addEventListener("mousedown", N) : document.removeEventListener("mousedown", N);
|
|
1461
1472
|
}), b(() => {
|
|
1462
|
-
document.removeEventListener("mousedown",
|
|
1473
|
+
document.removeEventListener("mousedown", N);
|
|
1463
1474
|
}), (e, a) => (x(), c(t, null, [l("div", {
|
|
1464
1475
|
ref_key: "triggerRef",
|
|
1465
1476
|
ref: i,
|
|
1466
1477
|
class: "uid-menu-trigger",
|
|
1467
|
-
role: "button",
|
|
1468
|
-
tabindex:
|
|
1469
|
-
"aria-haspopup": "menu",
|
|
1470
|
-
"aria-expanded": f.value,
|
|
1471
|
-
"aria-controls": j(p),
|
|
1472
|
-
onClick:
|
|
1473
|
-
onKeydown:
|
|
1478
|
+
role: _.value ? void 0 : "button",
|
|
1479
|
+
tabindex: _.value ? void 0 : 0,
|
|
1480
|
+
"aria-haspopup": _.value ? void 0 : "menu",
|
|
1481
|
+
"aria-expanded": _.value ? void 0 : f.value,
|
|
1482
|
+
"aria-controls": _.value ? void 0 : j(p),
|
|
1483
|
+
onClick: O,
|
|
1484
|
+
onKeydown: k
|
|
1474
1485
|
}, [E(e.$slots, "trigger")], 40, Hn), (x(), o(n, { to: "body" }, [d(r, { name: "uid-menu" }, {
|
|
1475
1486
|
default: z(() => [f.value ? (x(), c("div", {
|
|
1476
1487
|
key: 0,
|
|
@@ -1480,12 +1491,12 @@ var Fn = ["aria-describedby"], In = ["id"], Ln = /* @__PURE__ */ f({
|
|
|
1480
1491
|
class: "uid-menu",
|
|
1481
1492
|
role: "menu",
|
|
1482
1493
|
style: v(j(m)),
|
|
1483
|
-
onKeydown:
|
|
1494
|
+
onKeydown: A
|
|
1484
1495
|
}, [E(e.$slots, "default")], 44, Un)) : s("", !0)]),
|
|
1485
1496
|
_: 3
|
|
1486
1497
|
})]))], 64));
|
|
1487
1498
|
}
|
|
1488
|
-
}),
|
|
1499
|
+
}), Kn = ["disabled"], qn = /* @__PURE__ */ f({
|
|
1489
1500
|
__name: "UidMenuItem",
|
|
1490
1501
|
props: {
|
|
1491
1502
|
icon: { default: void 0 },
|
|
@@ -1507,21 +1518,21 @@ var Fn = ["aria-describedby"], In = ["id"], Ln = /* @__PURE__ */ f({
|
|
|
1507
1518
|
role: "menuitem",
|
|
1508
1519
|
disabled: e.disabled,
|
|
1509
1520
|
onClick: a
|
|
1510
|
-
}, [E(t.$slots, "default")], 10,
|
|
1521
|
+
}, [E(t.$slots, "default")], 10, Kn));
|
|
1511
1522
|
}
|
|
1512
|
-
}),
|
|
1523
|
+
}), Jn = (e, t) => {
|
|
1513
1524
|
let n = e.__vccOpts || e;
|
|
1514
1525
|
for (let [e, r] of t) n[e] = r;
|
|
1515
1526
|
return n;
|
|
1516
|
-
},
|
|
1527
|
+
}, Yn = {}, Xn = {
|
|
1517
1528
|
class: "uid-menu-separator",
|
|
1518
1529
|
role: "separator",
|
|
1519
1530
|
"aria-hidden": "true"
|
|
1520
1531
|
};
|
|
1521
|
-
function
|
|
1522
|
-
return x(), c("div",
|
|
1532
|
+
function Zn(e, t) {
|
|
1533
|
+
return x(), c("div", Xn);
|
|
1523
1534
|
}
|
|
1524
|
-
var
|
|
1535
|
+
var Qn = /* @__PURE__ */ Jn(Yn, [["render", Zn]]), $n = Symbol("uid-tabs"), er = ["aria-orientation"], tr = { class: "uid-tabs__panels" }, nr = /* @__PURE__ */ f({
|
|
1525
1536
|
__name: "UidTabs",
|
|
1526
1537
|
props: /* @__PURE__ */ m({ orientation: { default: "horizontal" } }, {
|
|
1527
1538
|
modelValue: { required: !0 },
|
|
@@ -1530,7 +1541,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1530
1541
|
emits: ["update:modelValue"],
|
|
1531
1542
|
setup(e) {
|
|
1532
1543
|
let t = N(e, "modelValue");
|
|
1533
|
-
return S(
|
|
1544
|
+
return S($n, {
|
|
1534
1545
|
activeTab: t,
|
|
1535
1546
|
setTab: (e) => {
|
|
1536
1547
|
t.value = e;
|
|
@@ -1540,15 +1551,15 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1540
1551
|
class: "uid-tabs__list",
|
|
1541
1552
|
role: "tablist",
|
|
1542
1553
|
"aria-orientation": e.orientation
|
|
1543
|
-
}, [E(t.$slots, "list")], 8,
|
|
1554
|
+
}, [E(t.$slots, "list")], 8, er), l("div", tr, [E(t.$slots, "default")])], 2));
|
|
1544
1555
|
}
|
|
1545
|
-
}),
|
|
1556
|
+
}), rr = [
|
|
1546
1557
|
"id",
|
|
1547
1558
|
"aria-selected",
|
|
1548
1559
|
"aria-controls",
|
|
1549
1560
|
"disabled",
|
|
1550
1561
|
"tabindex"
|
|
1551
|
-
],
|
|
1562
|
+
], ir = /* @__PURE__ */ f({
|
|
1552
1563
|
__name: "UidTab",
|
|
1553
1564
|
props: {
|
|
1554
1565
|
value: {},
|
|
@@ -1558,7 +1569,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1558
1569
|
}
|
|
1559
1570
|
},
|
|
1560
1571
|
setup(e) {
|
|
1561
|
-
let t = e, n = p(
|
|
1572
|
+
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
1573
|
function s() {
|
|
1563
1574
|
t.disabled || n.setTab(t.value);
|
|
1564
1575
|
}
|
|
@@ -1587,13 +1598,13 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1587
1598
|
tabindex: r.value ? 0 : -1,
|
|
1588
1599
|
onClick: s,
|
|
1589
1600
|
onKeydown: l
|
|
1590
|
-
}, [E(t.$slots, "default")], 42,
|
|
1601
|
+
}, [E(t.$slots, "default")], 42, rr));
|
|
1591
1602
|
}
|
|
1592
|
-
}),
|
|
1603
|
+
}), ar = ["id", "aria-labelledby"], or = /* @__PURE__ */ f({
|
|
1593
1604
|
__name: "UidTabPanel",
|
|
1594
1605
|
props: { value: {} },
|
|
1595
1606
|
setup(e) {
|
|
1596
|
-
let t = e, n = p(
|
|
1607
|
+
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
1608
|
return (e, t) => r.value ? (x(), c("div", {
|
|
1598
1609
|
key: 0,
|
|
1599
1610
|
id: i.value,
|
|
@@ -1601,9 +1612,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1601
1612
|
role: "tabpanel",
|
|
1602
1613
|
"aria-labelledby": o.value,
|
|
1603
1614
|
tabindex: "0"
|
|
1604
|
-
}, [E(e.$slots, "default")], 8,
|
|
1615
|
+
}, [E(e.$slots, "default")], 8, ar)) : s("", !0);
|
|
1605
1616
|
}
|
|
1606
|
-
}),
|
|
1617
|
+
}), sr = ["aria-label"], cr = /* @__PURE__ */ f({
|
|
1607
1618
|
__name: "UidBreadcrumb",
|
|
1608
1619
|
props: {
|
|
1609
1620
|
label: { default: "Навигация" },
|
|
@@ -1616,9 +1627,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1616
1627
|
}, [l("ol", {
|
|
1617
1628
|
class: "uid-breadcrumb__list",
|
|
1618
1629
|
style: v({ "--uid-breadcrumb-sep": `'${e.separator}'` })
|
|
1619
|
-
}, [E(t.$slots, "default")], 4)], 8,
|
|
1630
|
+
}, [E(t.$slots, "default")], 4)], 8, sr));
|
|
1620
1631
|
}
|
|
1621
|
-
}),
|
|
1632
|
+
}), lr = { class: "uid-breadcrumb__item" }, ur = ["href"], dr = ["aria-current"], fr = /* @__PURE__ */ f({
|
|
1622
1633
|
__name: "UidBreadcrumbItem",
|
|
1623
1634
|
props: {
|
|
1624
1635
|
href: { default: void 0 },
|
|
@@ -1628,17 +1639,17 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1628
1639
|
}
|
|
1629
1640
|
},
|
|
1630
1641
|
setup(e) {
|
|
1631
|
-
return (t, n) => (x(), c("li",
|
|
1642
|
+
return (t, n) => (x(), c("li", lr, [e.href && !e.current ? (x(), c("a", {
|
|
1632
1643
|
key: 0,
|
|
1633
1644
|
class: "uid-breadcrumb__link",
|
|
1634
1645
|
href: e.href
|
|
1635
|
-
}, [E(t.$slots, "default")], 8,
|
|
1646
|
+
}, [E(t.$slots, "default")], 8, ur)) : (x(), c("span", {
|
|
1636
1647
|
key: 1,
|
|
1637
1648
|
class: "uid-breadcrumb__current",
|
|
1638
1649
|
"aria-current": e.current ? "page" : void 0
|
|
1639
|
-
}, [E(t.$slots, "default")], 8,
|
|
1650
|
+
}, [E(t.$slots, "default")], 8, dr))]));
|
|
1640
1651
|
}
|
|
1641
|
-
}),
|
|
1652
|
+
}), pr = /* @__PURE__ */ f({
|
|
1642
1653
|
__name: "UidLink",
|
|
1643
1654
|
props: {
|
|
1644
1655
|
href: { default: void 0 },
|
|
@@ -1679,18 +1690,18 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1679
1690
|
"tabindex"
|
|
1680
1691
|
]));
|
|
1681
1692
|
}
|
|
1682
|
-
}),
|
|
1693
|
+
}), mr = {
|
|
1683
1694
|
class: "uid-pagination",
|
|
1684
1695
|
"aria-label": "Пагинация"
|
|
1685
|
-
},
|
|
1696
|
+
}, hr = ["disabled", "aria-label"], gr = {
|
|
1686
1697
|
key: 0,
|
|
1687
1698
|
class: "uid-pagination__ellipsis",
|
|
1688
1699
|
"aria-hidden": "true"
|
|
1689
|
-
},
|
|
1700
|
+
}, _r = [
|
|
1690
1701
|
"aria-label",
|
|
1691
1702
|
"aria-current",
|
|
1692
1703
|
"onClick"
|
|
1693
|
-
],
|
|
1704
|
+
], vr = ["disabled", "aria-label"], yr = /* @__PURE__ */ f({
|
|
1694
1705
|
__name: "UidPagination",
|
|
1695
1706
|
props: /* @__PURE__ */ m({
|
|
1696
1707
|
total: {},
|
|
@@ -1719,7 +1730,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1719
1730
|
function p(e) {
|
|
1720
1731
|
e < 1 || e > s.value || e === i.value || (i.value = e);
|
|
1721
1732
|
}
|
|
1722
|
-
return (n, a) => (x(), c("nav",
|
|
1733
|
+
return (n, a) => (x(), c("nav", mr, [
|
|
1723
1734
|
l("button", {
|
|
1724
1735
|
type: "button",
|
|
1725
1736
|
class: "uid-pagination__btn uid-pagination__btn--nav",
|
|
@@ -1729,15 +1740,15 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1729
1740
|
}, [d(e, {
|
|
1730
1741
|
icon: j(re),
|
|
1731
1742
|
size: 16
|
|
1732
|
-
}, null, 8, ["icon"])], 8,
|
|
1733
|
-
(x(!0), c(t, null, T(f.value, (e, n) => (x(), c(t, { key: `${n}-${e}` }, [e === "..." ? (x(), c("span",
|
|
1743
|
+
}, null, 8, ["icon"])], 8, hr),
|
|
1744
|
+
(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
1745
|
key: 1,
|
|
1735
1746
|
type: "button",
|
|
1736
1747
|
class: _(["uid-pagination__btn", { "uid-pagination__btn--active": e === i.value }]),
|
|
1737
1748
|
"aria-label": j(r).pagination.page(e),
|
|
1738
1749
|
"aria-current": e === i.value ? "page" : void 0,
|
|
1739
1750
|
onClick: (t) => p(e)
|
|
1740
|
-
}, k(e), 11,
|
|
1751
|
+
}, k(e), 11, _r))], 64))), 128)),
|
|
1741
1752
|
l("button", {
|
|
1742
1753
|
type: "button",
|
|
1743
1754
|
class: "uid-pagination__btn uid-pagination__btn--nav",
|
|
@@ -1747,13 +1758,13 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1747
1758
|
}, [d(e, {
|
|
1748
1759
|
icon: j(X),
|
|
1749
1760
|
size: 16
|
|
1750
|
-
}, null, 8, ["icon"])], 8,
|
|
1761
|
+
}, null, 8, ["icon"])], 8, vr)
|
|
1751
1762
|
]));
|
|
1752
1763
|
}
|
|
1753
|
-
}),
|
|
1764
|
+
}), br = {
|
|
1754
1765
|
class: "uid-pagination uid-pagination--cursor",
|
|
1755
1766
|
"aria-label": "Навигация по страницам"
|
|
1756
|
-
},
|
|
1767
|
+
}, xr = ["disabled", "aria-label"], Sr = ["disabled", "aria-label"], Cr = /* @__PURE__ */ f({
|
|
1757
1768
|
__name: "UidPaginationCursor",
|
|
1758
1769
|
props: {
|
|
1759
1770
|
hasPrev: {
|
|
@@ -1770,7 +1781,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1770
1781
|
emits: ["prev", "next"],
|
|
1771
1782
|
setup(t, { emit: n }) {
|
|
1772
1783
|
let r = n;
|
|
1773
|
-
return (n, i) => (x(), c("nav",
|
|
1784
|
+
return (n, i) => (x(), c("nav", br, [l("button", {
|
|
1774
1785
|
type: "button",
|
|
1775
1786
|
class: "uid-pagination__btn uid-pagination__btn--nav uid-pagination__btn--labeled",
|
|
1776
1787
|
disabled: !t.hasPrev,
|
|
@@ -1779,7 +1790,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1779
1790
|
}, [d(e, {
|
|
1780
1791
|
icon: j(re),
|
|
1781
1792
|
size: 16
|
|
1782
|
-
}, null, 8, ["icon"]), u(" " + k(t.prevLabel), 1)], 8,
|
|
1793
|
+
}, null, 8, ["icon"]), u(" " + k(t.prevLabel), 1)], 8, xr), l("button", {
|
|
1783
1794
|
type: "button",
|
|
1784
1795
|
class: "uid-pagination__btn uid-pagination__btn--nav uid-pagination__btn--labeled",
|
|
1785
1796
|
disabled: !t.hasNext,
|
|
@@ -1788,9 +1799,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1788
1799
|
}, [u(k(t.nextLabel) + " ", 1), d(e, {
|
|
1789
1800
|
icon: j(X),
|
|
1790
1801
|
size: 16
|
|
1791
|
-
}, null, 8, ["icon"])], 8,
|
|
1802
|
+
}, null, 8, ["icon"])], 8, Sr)]));
|
|
1792
1803
|
}
|
|
1793
|
-
}),
|
|
1804
|
+
}), wr = { class: "uid-load-more" }, Tr = ["disabled"], Er = /* @__PURE__ */ f({
|
|
1794
1805
|
__name: "UidLoadMore",
|
|
1795
1806
|
props: {
|
|
1796
1807
|
loading: {
|
|
@@ -1806,7 +1817,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1806
1817
|
emits: ["load"],
|
|
1807
1818
|
setup(e, { emit: t }) {
|
|
1808
1819
|
let n = t;
|
|
1809
|
-
return (t, r) => (x(), c("div",
|
|
1820
|
+
return (t, r) => (x(), c("div", wr, [l("button", {
|
|
1810
1821
|
type: "button",
|
|
1811
1822
|
class: "uid-load-more__btn",
|
|
1812
1823
|
disabled: e.disabled || e.loading,
|
|
@@ -1814,12 +1825,12 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1814
1825
|
}, [e.loading ? (x(), o(Lt, {
|
|
1815
1826
|
key: 0,
|
|
1816
1827
|
size: "sm"
|
|
1817
|
-
})) : s("", !0), l("span", null, k(e.label), 1)], 8,
|
|
1828
|
+
})) : s("", !0), l("span", null, k(e.label), 1)], 8, Tr)]));
|
|
1818
1829
|
}
|
|
1819
|
-
}),
|
|
1830
|
+
}), Dr = { class: "uid-infinite-scroll" }, Or = {
|
|
1820
1831
|
key: 0,
|
|
1821
1832
|
class: "uid-infinite-scroll__loader"
|
|
1822
|
-
},
|
|
1833
|
+
}, kr = /* @__PURE__ */ f({
|
|
1823
1834
|
__name: "UidInfiniteScroll",
|
|
1824
1835
|
props: {
|
|
1825
1836
|
loading: {
|
|
@@ -1847,14 +1858,14 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1847
1858
|
e && u();
|
|
1848
1859
|
}, { immediate: !0 }), R(() => n.disabled, (e) => {
|
|
1849
1860
|
e ? o() : u();
|
|
1850
|
-
}), b(o), (t, n) => (x(), c("div",
|
|
1861
|
+
}), b(o), (t, n) => (x(), c("div", Dr, [e.loading ? (x(), c("div", Or, [d(Lt, { size: "sm" })])) : s("", !0), l("div", {
|
|
1851
1862
|
ref_key: "sentinelRef",
|
|
1852
1863
|
ref: i,
|
|
1853
1864
|
class: "uid-infinite-scroll__sentinel",
|
|
1854
1865
|
"aria-hidden": "true"
|
|
1855
1866
|
}, null, 512)]));
|
|
1856
1867
|
}
|
|
1857
|
-
}),
|
|
1868
|
+
}), Ar = { class: "uid-page-size" }, jr = { class: "uid-page-size__label" }, Mr = ["value"], Nr = ["value"], Pr = /* @__PURE__ */ f({
|
|
1858
1869
|
__name: "UidPageSize",
|
|
1859
1870
|
props: /* @__PURE__ */ m({
|
|
1860
1871
|
options: { default: () => [
|
|
@@ -1871,25 +1882,25 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1871
1882
|
emits: ["update:modelValue"],
|
|
1872
1883
|
setup(e) {
|
|
1873
1884
|
let n = N(e, "modelValue");
|
|
1874
|
-
return (r, i) => (x(), c("div",
|
|
1885
|
+
return (r, i) => (x(), c("div", Ar, [l("span", jr, k(e.label), 1), l("select", {
|
|
1875
1886
|
class: "uid-page-size__select",
|
|
1876
1887
|
value: n.value,
|
|
1877
1888
|
onChange: i[0] ||= (e) => n.value = Number(e.target.value)
|
|
1878
1889
|
}, [(x(!0), c(t, null, T(e.options, (e) => (x(), c("option", {
|
|
1879
1890
|
key: e,
|
|
1880
1891
|
value: e
|
|
1881
|
-
}, k(e), 9,
|
|
1892
|
+
}, k(e), 9, Nr))), 128))], 40, Mr)]));
|
|
1882
1893
|
}
|
|
1883
|
-
}),
|
|
1894
|
+
}), Fr = ["role", "tabindex"], Ir = {
|
|
1884
1895
|
key: 0,
|
|
1885
1896
|
class: "uid-card__media"
|
|
1886
|
-
},
|
|
1897
|
+
}, Lr = {
|
|
1887
1898
|
key: 1,
|
|
1888
1899
|
class: "uid-card__header"
|
|
1889
|
-
},
|
|
1900
|
+
}, Rr = { class: "uid-card__body" }, zr = {
|
|
1890
1901
|
key: 2,
|
|
1891
1902
|
class: "uid-card__footer"
|
|
1892
|
-
},
|
|
1903
|
+
}, Br = /* @__PURE__ */ f({
|
|
1893
1904
|
__name: "UidCard",
|
|
1894
1905
|
props: {
|
|
1895
1906
|
padding: { default: "md" },
|
|
@@ -1911,13 +1922,13 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1911
1922
|
onKeydown: i,
|
|
1912
1923
|
onClick: n[0] ||= (t) => e.clickable && r("click", t)
|
|
1913
1924
|
}, [
|
|
1914
|
-
t.$slots.media ? (x(), c("div",
|
|
1915
|
-
t.$slots.header ? (x(), c("div",
|
|
1916
|
-
l("div",
|
|
1917
|
-
t.$slots.footer ? (x(), c("div",
|
|
1918
|
-
], 42,
|
|
1925
|
+
t.$slots.media ? (x(), c("div", Ir, [E(t.$slots, "media")])) : s("", !0),
|
|
1926
|
+
t.$slots.header ? (x(), c("div", Lr, [E(t.$slots, "header")])) : s("", !0),
|
|
1927
|
+
l("div", Rr, [E(t.$slots, "default")]),
|
|
1928
|
+
t.$slots.footer ? (x(), c("div", zr, [E(t.$slots, "footer")])) : s("", !0)
|
|
1929
|
+
], 42, Fr));
|
|
1919
1930
|
}
|
|
1920
|
-
}),
|
|
1931
|
+
}), Vr = ["title", "aria-label"], Hr = ["src", "alt"], Ur = /* @__PURE__ */ f({
|
|
1921
1932
|
__name: "UidAvatar",
|
|
1922
1933
|
props: {
|
|
1923
1934
|
src: { default: void 0 },
|
|
@@ -1955,26 +1966,26 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1955
1966
|
alt: e.alt ?? e.name,
|
|
1956
1967
|
class: "uid-avatar__img",
|
|
1957
1968
|
onError: l
|
|
1958
|
-
}, null, 40,
|
|
1969
|
+
}, null, 40, Hr)) : (x(), c("span", {
|
|
1959
1970
|
key: 1,
|
|
1960
1971
|
class: "uid-avatar__initials",
|
|
1961
1972
|
style: v({ background: s.value }),
|
|
1962
1973
|
"aria-hidden": "true"
|
|
1963
|
-
}, k(r.value), 5))], 10,
|
|
1974
|
+
}, k(r.value), 5))], 10, Vr));
|
|
1964
1975
|
}
|
|
1965
|
-
}),
|
|
1976
|
+
}), Wr = { class: "uid-avatar-group" }, Gr = ["aria-label"], Kr = /* @__PURE__ */ f({
|
|
1966
1977
|
__name: "UidAvatarGroup",
|
|
1967
1978
|
props: { max: { default: void 0 } },
|
|
1968
1979
|
setup(e) {
|
|
1969
1980
|
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",
|
|
1981
|
+
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
1982
|
key: 0,
|
|
1972
1983
|
class: "uid-avatar uid-avatar--md uid-avatar--circle uid-avatar-group__overflow",
|
|
1973
1984
|
"aria-label": `Ещё ${u.value}`,
|
|
1974
1985
|
role: "img"
|
|
1975
|
-
}, " +" + k(u.value), 9,
|
|
1986
|
+
}, " +" + k(u.value), 9, Gr)) : s("", !0)]));
|
|
1976
1987
|
}
|
|
1977
|
-
}),
|
|
1988
|
+
}), qr = ["aria-label"], Jr = /* @__PURE__ */ f({
|
|
1978
1989
|
__name: "UidTag",
|
|
1979
1990
|
props: {
|
|
1980
1991
|
variant: { default: "default" },
|
|
@@ -1996,12 +2007,12 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
1996
2007
|
}, [d(e, {
|
|
1997
2008
|
icon: j(ye),
|
|
1998
2009
|
size: 10
|
|
1999
|
-
}, null, 8, ["icon"])], 8,
|
|
2010
|
+
}, null, 8, ["icon"])], 8, qr)) : s("", !0)], 2));
|
|
2000
2011
|
}
|
|
2001
|
-
}),
|
|
2012
|
+
}), Yr = {
|
|
2002
2013
|
key: 0,
|
|
2003
2014
|
class: "uid-divider__label"
|
|
2004
|
-
},
|
|
2015
|
+
}, Xr = /* @__PURE__ */ f({
|
|
2005
2016
|
__name: "UidDivider",
|
|
2006
2017
|
props: {
|
|
2007
2018
|
label: { default: void 0 },
|
|
@@ -2011,9 +2022,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2011
2022
|
return (t, n) => (x(), c("div", {
|
|
2012
2023
|
class: _(["uid-divider", `uid-divider--${e.orientation}`]),
|
|
2013
2024
|
role: "separator"
|
|
2014
|
-
}, [e.label && e.orientation === "horizontal" ? (x(), c("span",
|
|
2025
|
+
}, [e.label && e.orientation === "horizontal" ? (x(), c("span", Yr, k(e.label), 1)) : s("", !0)], 2));
|
|
2015
2026
|
}
|
|
2016
|
-
}),
|
|
2027
|
+
}), Zr = Symbol("uid-accordion"), Qr = { class: "uid-accordion" }, $r = /* @__PURE__ */ f({
|
|
2017
2028
|
__name: "UidAccordion",
|
|
2018
2029
|
props: /* @__PURE__ */ m({ multiple: {
|
|
2019
2030
|
type: Boolean,
|
|
@@ -2038,15 +2049,15 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2038
2049
|
r.has(e) ? r.delete(e) : r.add(e), t.value = [...r];
|
|
2039
2050
|
} else t.value = n === e ? "" : e;
|
|
2040
2051
|
}
|
|
2041
|
-
return S(
|
|
2052
|
+
return S(Zr, {
|
|
2042
2053
|
isOpen: r,
|
|
2043
2054
|
toggle: i
|
|
2044
|
-
}), (e, t) => (x(), c("div",
|
|
2055
|
+
}), (e, t) => (x(), c("div", Qr, [E(e.$slots, "default")]));
|
|
2045
2056
|
}
|
|
2046
|
-
}),
|
|
2057
|
+
}), ei = ["aria-expanded", "disabled"], ti = { class: "uid-accordion-item__title" }, ni = {
|
|
2047
2058
|
class: "uid-accordion-item__chevron",
|
|
2048
2059
|
"aria-hidden": "true"
|
|
2049
|
-
},
|
|
2060
|
+
}, ri = ["hidden"], ii = { class: "uid-accordion-item__body-inner" }, ai = /* @__PURE__ */ f({
|
|
2050
2061
|
__name: "UidAccordionItem",
|
|
2051
2062
|
props: {
|
|
2052
2063
|
value: {},
|
|
@@ -2057,7 +2068,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2057
2068
|
}
|
|
2058
2069
|
},
|
|
2059
2070
|
setup(t) {
|
|
2060
|
-
let n = t, r = M(), i = `${r}-header`, o = `${r}-panel`, s = p(
|
|
2071
|
+
let n = t, r = M(), i = `${r}-header`, o = `${r}-panel`, s = p(Zr), f = a(() => s.isOpen(n.value));
|
|
2061
2072
|
function m() {
|
|
2062
2073
|
n.disabled || s.toggle(n.value);
|
|
2063
2074
|
}
|
|
@@ -2072,28 +2083,28 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2072
2083
|
"aria-controls": o,
|
|
2073
2084
|
disabled: t.disabled || void 0,
|
|
2074
2085
|
onClick: m
|
|
2075
|
-
}, [l("span",
|
|
2086
|
+
}, [l("span", ti, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), l("span", ni, [d(e, {
|
|
2076
2087
|
icon: j(Y),
|
|
2077
2088
|
size: 16
|
|
2078
|
-
}, null, 8, ["icon"])])], 8,
|
|
2089
|
+
}, null, 8, ["icon"])])], 8, ei), l("div", {
|
|
2079
2090
|
id: o,
|
|
2080
2091
|
class: "uid-accordion-item__body",
|
|
2081
2092
|
role: "region",
|
|
2082
2093
|
"aria-labelledby": i,
|
|
2083
2094
|
hidden: !f.value
|
|
2084
|
-
}, [l("div",
|
|
2095
|
+
}, [l("div", ii, [E(n.$slots, "default")])], 8, ri)], 2));
|
|
2085
2096
|
}
|
|
2086
|
-
}),
|
|
2097
|
+
}), oi = { class: "uid-table-scroll" }, si = { class: "uid-table__head" }, ci = {
|
|
2087
2098
|
key: 0,
|
|
2088
2099
|
class: "uid-table__th uid-table__th--select",
|
|
2089
2100
|
scope: "col"
|
|
2090
|
-
},
|
|
2101
|
+
}, li = [
|
|
2091
2102
|
"tabindex",
|
|
2092
2103
|
"role",
|
|
2093
2104
|
"aria-sort",
|
|
2094
2105
|
"onClick",
|
|
2095
2106
|
"onKeydown"
|
|
2096
|
-
],
|
|
2107
|
+
], 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
2108
|
__name: "UidTable",
|
|
2098
2109
|
props: {
|
|
2099
2110
|
columns: {},
|
|
@@ -2155,7 +2166,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2155
2166
|
t ? n.add(r) : n.delete(r), f("update:selection", n);
|
|
2156
2167
|
}
|
|
2157
2168
|
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",
|
|
2169
|
+
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
2170
|
"model-value": h.value,
|
|
2160
2171
|
indeterminate: y.value,
|
|
2161
2172
|
"aria-label": "Выделить всё",
|
|
@@ -2173,18 +2184,18 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2173
2184
|
"aria-sort": C(t),
|
|
2174
2185
|
onClick: (e) => b(t),
|
|
2175
2186
|
onKeydown: [V(H((e) => b(t), ["prevent"]), ["enter"]), V(H((e) => b(t), ["prevent"]), ["space"])]
|
|
2176
|
-
}, [l("span",
|
|
2187
|
+
}, [l("span", ui, [u(k(t.label) + " ", 1), t.sortable ? (x(), o(e, {
|
|
2177
2188
|
key: 0,
|
|
2178
2189
|
icon: S(t),
|
|
2179
2190
|
size: 14,
|
|
2180
2191
|
class: "uid-table__sort-icon"
|
|
2181
|
-
}, null, 8, ["icon"])) : s("", !0)])], 46,
|
|
2192
|
+
}, null, 8, ["icon"])) : s("", !0)])], 46, li))), 128))])]), l("tbody", di, [n.loading ? (x(), c("tr", fi, [l("td", {
|
|
2182
2193
|
colspan: m.value,
|
|
2183
2194
|
class: "uid-table__td uid-table__td--center"
|
|
2184
|
-
}, [d(Lt, { size: "md" })], 8,
|
|
2195
|
+
}, [d(Lt, { size: "md" })], 8, pi)])) : O.value ? (x(), c("tr", mi, [l("td", {
|
|
2185
2196
|
colspan: m.value,
|
|
2186
2197
|
class: "uid-table__td uid-table__td--empty"
|
|
2187
|
-
}, [E(r.$slots, "empty", {}, () => [u(k(n.emptyText), 1)])], 8,
|
|
2198
|
+
}, [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
2199
|
key: a,
|
|
2189
2200
|
class: _(["uid-table__row", { "uid-table__row--selected": n.selectable && n.selection.has(p(e)) }]),
|
|
2190
2201
|
onClick: (t) => f("row-click", e)
|
|
@@ -2203,28 +2214,28 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2203
2214
|
])])) : s("", !0), (x(!0), c(t, null, T(n.columns, (t) => (x(), c("td", {
|
|
2204
2215
|
key: t.key,
|
|
2205
2216
|
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,
|
|
2217
|
+
}, [E(r.$slots, t.key, { row: e }, () => [u(k(e[t.key]), 1)])], 2))), 128))], 10, gi))), 128))])], 2)])], 2));
|
|
2207
2218
|
}
|
|
2208
|
-
}),
|
|
2219
|
+
}), vi = [
|
|
2209
2220
|
"aria-expanded",
|
|
2210
2221
|
"aria-controls",
|
|
2211
2222
|
"aria-disabled"
|
|
2212
|
-
],
|
|
2223
|
+
], yi = { class: "uid-select__suffix" }, bi = ["aria-label"], xi = {
|
|
2213
2224
|
key: 0,
|
|
2214
2225
|
class: "uid-select__search"
|
|
2215
|
-
},
|
|
2226
|
+
}, Si = ["placeholder"], Ci = ["id"], wi = {
|
|
2216
2227
|
key: 0,
|
|
2217
2228
|
class: "uid-select__group-label"
|
|
2218
|
-
},
|
|
2229
|
+
}, Ti = [
|
|
2219
2230
|
"data-active",
|
|
2220
2231
|
"aria-selected",
|
|
2221
2232
|
"aria-disabled",
|
|
2222
2233
|
"onClick",
|
|
2223
2234
|
"onMouseenter"
|
|
2224
|
-
],
|
|
2235
|
+
], Ei = {
|
|
2225
2236
|
key: 1,
|
|
2226
2237
|
class: "uid-select__empty"
|
|
2227
|
-
},
|
|
2238
|
+
}, Di = /* @__PURE__ */ f({
|
|
2228
2239
|
__name: "UidSelect",
|
|
2229
2240
|
props: /* @__PURE__ */ m({
|
|
2230
2241
|
options: {},
|
|
@@ -2340,7 +2351,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2340
2351
|
"aria-disabled": i.disabled,
|
|
2341
2352
|
onClick: re,
|
|
2342
2353
|
onKeydown: oe
|
|
2343
|
-
}, [l("span", { class: _(["uid-select__value", { "uid-select__value--placeholder": !ee.value }]) }, k(ee.value?.label ?? m.value), 3), l("div",
|
|
2354
|
+
}, [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
2355
|
key: 0,
|
|
2345
2356
|
type: "button",
|
|
2346
2357
|
class: "uid-select__clear",
|
|
@@ -2349,19 +2360,19 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2349
2360
|
}, [d(e, {
|
|
2350
2361
|
icon: j(ye),
|
|
2351
2362
|
size: 12
|
|
2352
|
-
}, null, 8, ["icon"])], 8,
|
|
2363
|
+
}, null, 8, ["icon"])], 8, bi)) : s("", !0), d(e, {
|
|
2353
2364
|
icon: j(Y),
|
|
2354
2365
|
size: 16,
|
|
2355
2366
|
class: _(["uid-select__chevron", { "uid-select__chevron--open": S.value }]),
|
|
2356
2367
|
"aria-hidden": "true"
|
|
2357
|
-
}, null, 8, ["icon", "class"])])], 40,
|
|
2368
|
+
}, null, 8, ["icon", "class"])])], 40, vi), (x(), o(n, { to: "body" }, [d(r, { name: "uid-select-dropdown" }, {
|
|
2358
2369
|
default: z(() => [S.value ? (x(), c("div", {
|
|
2359
2370
|
key: 0,
|
|
2360
2371
|
ref_key: "dropdownRef",
|
|
2361
2372
|
ref: A,
|
|
2362
2373
|
class: "uid-select__dropdown",
|
|
2363
2374
|
style: v(G.value)
|
|
2364
|
-
}, [i.searchable ? (x(), c("div",
|
|
2375
|
+
}, [i.searchable ? (x(), c("div", xi, [B(l("input", {
|
|
2365
2376
|
ref_key: "searchRef",
|
|
2366
2377
|
ref: F,
|
|
2367
2378
|
"onUpdate:modelValue": u[0] ||= (e) => C.value = e,
|
|
@@ -2370,14 +2381,14 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2370
2381
|
placeholder: j(p).common.search,
|
|
2371
2382
|
autocomplete: "off",
|
|
2372
2383
|
onKeydown: se
|
|
2373
|
-
}, null, 40,
|
|
2384
|
+
}, null, 40, Si), [[I, C.value]])])) : s("", !0), l("div", {
|
|
2374
2385
|
id: j(L),
|
|
2375
2386
|
ref_key: "listRef",
|
|
2376
2387
|
ref: P,
|
|
2377
2388
|
class: "uid-select__list",
|
|
2378
2389
|
role: "listbox",
|
|
2379
2390
|
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",
|
|
2391
|
+
}, [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
2392
|
key: t.value,
|
|
2382
2393
|
type: "button",
|
|
2383
2394
|
class: _(["uid-select__option", {
|
|
@@ -2397,27 +2408,27 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2397
2408
|
size: 14,
|
|
2398
2409
|
"aria-hidden": "true",
|
|
2399
2410
|
class: "uid-select__check"
|
|
2400
|
-
}, null, 8, ["icon"])) : s("", !0)], 42,
|
|
2411
|
+
}, 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
2412
|
_: 1
|
|
2402
2413
|
})]))], 2));
|
|
2403
2414
|
}
|
|
2404
|
-
}),
|
|
2415
|
+
}), Oi = [
|
|
2405
2416
|
"aria-expanded",
|
|
2406
2417
|
"aria-label",
|
|
2407
2418
|
"aria-disabled"
|
|
2408
|
-
],
|
|
2419
|
+
], ki = { class: "uid-datepicker__suffix" }, Ai = ["aria-label"], ji = {
|
|
2409
2420
|
key: 0,
|
|
2410
2421
|
class: "uid-datepicker__panel",
|
|
2411
2422
|
role: "dialog",
|
|
2412
2423
|
"aria-label": "Выбор даты"
|
|
2413
|
-
},
|
|
2424
|
+
}, Mi = { class: "uid-datepicker__nav" }, Ni = ["aria-label"], Pi = { class: "uid-datepicker__month-label" }, Fi = ["aria-label"], Ii = [
|
|
2414
2425
|
"data-iso",
|
|
2415
2426
|
"tabindex",
|
|
2416
2427
|
"disabled",
|
|
2417
2428
|
"aria-current",
|
|
2418
2429
|
"aria-selected",
|
|
2419
2430
|
"onClick"
|
|
2420
|
-
],
|
|
2431
|
+
], Li = /* @__PURE__ */ f({
|
|
2421
2432
|
__name: "UidDatePicker",
|
|
2422
2433
|
props: /* @__PURE__ */ m({
|
|
2423
2434
|
min: { default: void 0 },
|
|
@@ -2585,19 +2596,19 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2585
2596
|
"aria-disabled": n.disabled,
|
|
2586
2597
|
onClick: ee,
|
|
2587
2598
|
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",
|
|
2599
|
+
}, [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
2600
|
key: 0,
|
|
2590
2601
|
type: "button",
|
|
2591
2602
|
class: "uid-datepicker__clear",
|
|
2592
2603
|
"aria-label": j(o).common.clear,
|
|
2593
2604
|
onClick: q
|
|
2594
|
-
}, " × ", 8,
|
|
2605
|
+
}, " × ", 8, Ai)) : s("", !0), d(e, {
|
|
2595
2606
|
icon: j(Y),
|
|
2596
2607
|
size: 16,
|
|
2597
2608
|
class: _(["uid-datepicker__chevron", { "uid-datepicker__chevron--open": h.value }]),
|
|
2598
2609
|
"aria-hidden": "true"
|
|
2599
|
-
}, null, 8, ["icon", "class"])])], 40,
|
|
2600
|
-
default: z(() => [h.value ? (x(), c("div",
|
|
2610
|
+
}, null, 8, ["icon", "class"])])], 40, Oi), d(r, { name: "uid-datepicker-panel" }, {
|
|
2611
|
+
default: z(() => [h.value ? (x(), c("div", ji, [l("div", Mi, [
|
|
2601
2612
|
l("button", {
|
|
2602
2613
|
type: "button",
|
|
2603
2614
|
class: "uid-datepicker__nav-btn",
|
|
@@ -2606,8 +2617,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2606
2617
|
}, [d(e, {
|
|
2607
2618
|
icon: j(re),
|
|
2608
2619
|
size: 16
|
|
2609
|
-
}, null, 8, ["icon"])], 8,
|
|
2610
|
-
l("span",
|
|
2620
|
+
}, null, 8, ["icon"])], 8, Ni),
|
|
2621
|
+
l("span", Pi, k(f.value[O.value]) + " " + k(D.value), 1),
|
|
2611
2622
|
l("button", {
|
|
2612
2623
|
type: "button",
|
|
2613
2624
|
class: "uid-datepicker__nav-btn",
|
|
@@ -2616,7 +2627,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2616
2627
|
}, [d(e, {
|
|
2617
2628
|
icon: j(X),
|
|
2618
2629
|
size: 16
|
|
2619
|
-
}, null, 8, ["icon"])], 8,
|
|
2630
|
+
}, null, 8, ["icon"])], 8, Fi)
|
|
2620
2631
|
]), l("div", {
|
|
2621
2632
|
ref_key: "gridRef",
|
|
2622
2633
|
ref: S,
|
|
@@ -2640,11 +2651,11 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2640
2651
|
"aria-current": e.iso === L.value ? "date" : void 0,
|
|
2641
2652
|
"aria-selected": e.iso === m.value,
|
|
2642
2653
|
onClick: (t) => K(e)
|
|
2643
|
-
}, k(e.date.getDate()), 11,
|
|
2654
|
+
}, k(e.date.getDate()), 11, Ii))), 128))], 544)])) : s("", !0)]),
|
|
2644
2655
|
_: 1
|
|
2645
2656
|
})], 2));
|
|
2646
2657
|
}
|
|
2647
|
-
}),
|
|
2658
|
+
}), Ri = /* @__PURE__ */ f({
|
|
2648
2659
|
__name: "UidVirtualList",
|
|
2649
2660
|
props: {
|
|
2650
2661
|
items: {},
|
|
@@ -2686,17 +2697,17 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2686
2697
|
index: r
|
|
2687
2698
|
})], 4))), 128))], 4)], 4)], 36));
|
|
2688
2699
|
}
|
|
2689
|
-
}),
|
|
2700
|
+
}), zi = {
|
|
2690
2701
|
key: 0,
|
|
2691
2702
|
class: "uid-slider__header"
|
|
2692
|
-
},
|
|
2703
|
+
}, Bi = {
|
|
2693
2704
|
key: 0,
|
|
2694
2705
|
class: "uid-slider__label"
|
|
2695
|
-
},
|
|
2706
|
+
}, Vi = {
|
|
2696
2707
|
key: 1,
|
|
2697
2708
|
class: "uid-slider__value",
|
|
2698
2709
|
"aria-live": "polite"
|
|
2699
|
-
},
|
|
2710
|
+
}, Hi = [
|
|
2700
2711
|
"min",
|
|
2701
2712
|
"max",
|
|
2702
2713
|
"step",
|
|
@@ -2705,7 +2716,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2705
2716
|
"aria-valuemin",
|
|
2706
2717
|
"aria-valuemax",
|
|
2707
2718
|
"aria-valuenow"
|
|
2708
|
-
],
|
|
2719
|
+
], Ui = /* @__PURE__ */ f({
|
|
2709
2720
|
__name: "UidSlider",
|
|
2710
2721
|
props: /* @__PURE__ */ m({
|
|
2711
2722
|
min: { default: 0 },
|
|
@@ -2731,7 +2742,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2731
2742
|
emits: ["update:modelValue"],
|
|
2732
2743
|
setup(e) {
|
|
2733
2744
|
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",
|
|
2745
|
+
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
2746
|
"onUpdate:modelValue": a[0] ||= (e) => n.value = e,
|
|
2736
2747
|
class: "uid-slider__input",
|
|
2737
2748
|
type: "range",
|
|
@@ -2744,22 +2755,22 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2744
2755
|
"aria-valuemax": e.max,
|
|
2745
2756
|
"aria-valuenow": n.value,
|
|
2746
2757
|
style: v({ "--_fill": `${r.value}%` })
|
|
2747
|
-
}, null, 12,
|
|
2758
|
+
}, null, 12, Hi), [[
|
|
2748
2759
|
I,
|
|
2749
2760
|
n.value,
|
|
2750
2761
|
void 0,
|
|
2751
2762
|
{ number: !0 }
|
|
2752
2763
|
]])], 2));
|
|
2753
2764
|
}
|
|
2754
|
-
}),
|
|
2765
|
+
}), Wi = ["aria-expanded", "aria-disabled"], Gi = {
|
|
2755
2766
|
key: 0,
|
|
2756
2767
|
class: "uid-colorpicker__panel",
|
|
2757
2768
|
role: "dialog",
|
|
2758
2769
|
"aria-label": "Выбор цвета"
|
|
2759
|
-
},
|
|
2770
|
+
}, 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
2771
|
key: 0,
|
|
2761
2772
|
class: "uid-colorpicker__presets"
|
|
2762
|
-
},
|
|
2773
|
+
}, $i = ["aria-label", "onClick"], ea = /* @__PURE__ */ f({
|
|
2763
2774
|
__name: "UidColorPicker",
|
|
2764
2775
|
props: /* @__PURE__ */ m({
|
|
2765
2776
|
disabled: {
|
|
@@ -2950,8 +2961,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2950
2961
|
}, [l("span", {
|
|
2951
2962
|
class: "uid-colorpicker__swatch",
|
|
2952
2963
|
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,
|
|
2954
|
-
default: z(() => [g.value ? (x(), c("div",
|
|
2964
|
+
}, 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" }, {
|
|
2965
|
+
default: z(() => [g.value ? (x(), c("div", Gi, [
|
|
2955
2966
|
l("div", {
|
|
2956
2967
|
ref_key: "gradientRef",
|
|
2957
2968
|
ref: S,
|
|
@@ -2971,7 +2982,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2971
2982
|
top: W.value
|
|
2972
2983
|
})
|
|
2973
2984
|
}, null, 4)], 36),
|
|
2974
|
-
l("div",
|
|
2985
|
+
l("div", Ki, [l("div", qi, [l("div", {
|
|
2975
2986
|
ref_key: "hueSliderRef",
|
|
2976
2987
|
ref: C,
|
|
2977
2988
|
class: "uid-colorpicker__hue-track",
|
|
@@ -2988,7 +2999,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
2988
2999
|
}, [l("div", {
|
|
2989
3000
|
class: "uid-colorpicker__track-thumb",
|
|
2990
3001
|
style: v({ left: G.value })
|
|
2991
|
-
}, null, 4)], 40,
|
|
3002
|
+
}, null, 4)], 40, Ji), e.alpha ? (x(), c("div", {
|
|
2992
3003
|
key: 0,
|
|
2993
3004
|
ref_key: "alphaSliderRef",
|
|
2994
3005
|
ref: E,
|
|
@@ -3007,11 +3018,11 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3007
3018
|
}, [l("div", {
|
|
3008
3019
|
class: "uid-colorpicker__track-thumb",
|
|
3009
3020
|
style: v({ left: ee.value })
|
|
3010
|
-
}, null, 4)], 44,
|
|
3021
|
+
}, null, 4)], 44, Yi)) : s("", !0)]), l("span", {
|
|
3011
3022
|
class: "uid-colorpicker__preview",
|
|
3012
3023
|
style: v({ background: q.value })
|
|
3013
3024
|
}, null, 4)]),
|
|
3014
|
-
l("div",
|
|
3025
|
+
l("div", Xi, [i[0] ||= l("label", { class: "uid-colorpicker__input-label" }, "HEX", -1), l("input", {
|
|
3015
3026
|
class: "uid-colorpicker__hex-input",
|
|
3016
3027
|
type: "text",
|
|
3017
3028
|
value: D.value,
|
|
@@ -3020,37 +3031,37 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3020
3031
|
onInput: ue,
|
|
3021
3032
|
onBlur: de,
|
|
3022
3033
|
onKeydown: fe
|
|
3023
|
-
}, null, 40,
|
|
3024
|
-
e.presets && e.presets.length ? (x(), c("div",
|
|
3034
|
+
}, null, 40, Zi)]),
|
|
3035
|
+
e.presets && e.presets.length ? (x(), c("div", Qi, [(x(!0), c(t, null, T(e.presets, (e) => (x(), c("button", {
|
|
3025
3036
|
key: e,
|
|
3026
3037
|
type: "button",
|
|
3027
3038
|
class: _(["uid-colorpicker__preset", { "uid-colorpicker__preset--active": u.value === e || u.value === e.toLowerCase() || u.value?.toUpperCase() === e.toUpperCase() }]),
|
|
3028
3039
|
style: v({ background: e }),
|
|
3029
3040
|
"aria-label": e,
|
|
3030
3041
|
onClick: (t) => _e(e)
|
|
3031
|
-
}, null, 14,
|
|
3042
|
+
}, null, 14, $i))), 128))])) : s("", !0)
|
|
3032
3043
|
])) : s("", !0)]),
|
|
3033
3044
|
_: 1
|
|
3034
3045
|
})], 2));
|
|
3035
3046
|
}
|
|
3036
|
-
}),
|
|
3047
|
+
}), ta = { class: "uid-command__search" }, na = ["placeholder"], ra = {
|
|
3037
3048
|
key: 0,
|
|
3038
3049
|
class: "uid-command__group-label"
|
|
3039
|
-
},
|
|
3050
|
+
}, ia = [
|
|
3040
3051
|
"data-active",
|
|
3041
3052
|
"aria-selected",
|
|
3042
3053
|
"onClick",
|
|
3043
3054
|
"onMouseenter"
|
|
3044
|
-
],
|
|
3055
|
+
], aa = { class: "uid-command__item-text" }, oa = { class: "uid-command__item-label" }, sa = {
|
|
3045
3056
|
key: 0,
|
|
3046
3057
|
class: "uid-command__item-desc"
|
|
3047
|
-
},
|
|
3058
|
+
}, ca = {
|
|
3048
3059
|
key: 0,
|
|
3049
3060
|
class: "uid-command__item-shortcut"
|
|
3050
|
-
},
|
|
3061
|
+
}, la = {
|
|
3051
3062
|
key: 1,
|
|
3052
3063
|
class: "uid-command__empty"
|
|
3053
|
-
},
|
|
3064
|
+
}, ua = /* @__PURE__ */ f({
|
|
3054
3065
|
__name: "UidCommand",
|
|
3055
3066
|
props: /* @__PURE__ */ m({
|
|
3056
3067
|
commands: {},
|
|
@@ -3120,7 +3131,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3120
3131
|
"aria-modal": "true",
|
|
3121
3132
|
"aria-label": "Палитра команд",
|
|
3122
3133
|
onKeydown: V
|
|
3123
|
-
}, [l("div",
|
|
3134
|
+
}, [l("div", ta, [d(e, {
|
|
3124
3135
|
icon: j(me),
|
|
3125
3136
|
size: 16,
|
|
3126
3137
|
class: "uid-command__search-icon",
|
|
@@ -3135,12 +3146,12 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3135
3146
|
autocomplete: "off",
|
|
3136
3147
|
spellcheck: "false",
|
|
3137
3148
|
"aria-autocomplete": "list"
|
|
3138
|
-
}, null, 8,
|
|
3149
|
+
}, null, 8, na), [[I, p.value]])]), l("div", {
|
|
3139
3150
|
ref_key: "listRef",
|
|
3140
3151
|
ref: S,
|
|
3141
3152
|
class: "uid-command__list",
|
|
3142
3153
|
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",
|
|
3154
|
+
}, [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
3155
|
key: e.id,
|
|
3145
3156
|
class: _(["uid-command__item", { "uid-command__item--active": A.value.indexOf(e) === m.value }]),
|
|
3146
3157
|
"data-active": A.value.indexOf(e) === m.value ? "true" : void 0,
|
|
@@ -3149,18 +3160,18 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3149
3160
|
type: "button",
|
|
3150
3161
|
onClick: (t) => F(e),
|
|
3151
3162
|
onMouseenter: (t) => m.value = A.value.indexOf(e)
|
|
3152
|
-
}, [l("div",
|
|
3163
|
+
}, [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
3164
|
key: e,
|
|
3154
3165
|
class: "uid-command__kbd"
|
|
3155
|
-
}, k(e), 1))), 128))])) : s("", !0)], 42,
|
|
3166
|
+
}, k(e), 1))), 128))])) : s("", !0)], 42, ia))), 128))], 64))), 128)) : (x(), c("div", la, k(i.emptyText), 1))], 512)], 544)])) : s("", !0)]),
|
|
3156
3167
|
_: 1
|
|
3157
3168
|
})]));
|
|
3158
3169
|
}
|
|
3159
|
-
}),
|
|
3170
|
+
}), da = ["for"], fa = {
|
|
3160
3171
|
key: 0,
|
|
3161
3172
|
class: "uid-number-input__required",
|
|
3162
3173
|
"aria-hidden": "true"
|
|
3163
|
-
},
|
|
3174
|
+
}, pa = { class: "uid-number-input__control" }, ma = ["disabled", "aria-label"], ha = [
|
|
3164
3175
|
"id",
|
|
3165
3176
|
"name",
|
|
3166
3177
|
"placeholder",
|
|
@@ -3173,7 +3184,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3173
3184
|
"value",
|
|
3174
3185
|
"aria-invalid",
|
|
3175
3186
|
"aria-describedby"
|
|
3176
|
-
],
|
|
3187
|
+
], ga = ["disabled", "aria-label"], _a = ["id"], va = /* @__PURE__ */ f({
|
|
3177
3188
|
__name: "UidNumberInput",
|
|
3178
3189
|
props: /* @__PURE__ */ m({
|
|
3179
3190
|
min: { default: void 0 },
|
|
@@ -3266,8 +3277,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3266
3277
|
key: 0,
|
|
3267
3278
|
for: j(h),
|
|
3268
3279
|
class: "uid-number-input__label"
|
|
3269
|
-
}, [u(k(t.label) + " ", 1), t.required ? (x(), c("span",
|
|
3270
|
-
l("div",
|
|
3280
|
+
}, [u(k(t.label) + " ", 1), t.required ? (x(), c("span", fa, "*")) : s("", !0)], 8, da)) : s("", !0),
|
|
3281
|
+
l("div", pa, [
|
|
3271
3282
|
t.controls ? (x(), c("button", {
|
|
3272
3283
|
key: 0,
|
|
3273
3284
|
type: "button",
|
|
@@ -3279,7 +3290,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3279
3290
|
}, [d(e, {
|
|
3280
3291
|
icon: j(fe),
|
|
3281
3292
|
size: 14
|
|
3282
|
-
}, null, 8, ["icon"])], 8,
|
|
3293
|
+
}, null, 8, ["icon"])], 8, ma)) : s("", !0),
|
|
3283
3294
|
l("input", {
|
|
3284
3295
|
id: j(h),
|
|
3285
3296
|
class: "uid-number-input__input",
|
|
@@ -3300,7 +3311,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3300
3311
|
onBlur: O,
|
|
3301
3312
|
onFocus: r[0] ||= (e) => i("focus", e),
|
|
3302
3313
|
onKeydown: A
|
|
3303
|
-
}, null, 40,
|
|
3314
|
+
}, null, 40, ha),
|
|
3304
3315
|
t.controls ? (x(), c("button", {
|
|
3305
3316
|
key: 1,
|
|
3306
3317
|
type: "button",
|
|
@@ -3312,37 +3323,37 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3312
3323
|
}, [d(e, {
|
|
3313
3324
|
icon: j(pe),
|
|
3314
3325
|
size: 14
|
|
3315
|
-
}, null, 8, ["icon"])], 8,
|
|
3326
|
+
}, null, 8, ["icon"])], 8, ga)) : s("", !0)
|
|
3316
3327
|
]),
|
|
3317
3328
|
v.value ? (x(), c("p", {
|
|
3318
3329
|
key: 1,
|
|
3319
3330
|
id: `${j(h)}-hint`,
|
|
3320
3331
|
class: _(["uid-number-input__hint", g.value && "uid-number-input__hint--error"])
|
|
3321
|
-
}, k(v.value), 11,
|
|
3332
|
+
}, k(v.value), 11, _a)) : s("", !0)
|
|
3322
3333
|
], 2));
|
|
3323
3334
|
}
|
|
3324
|
-
}),
|
|
3335
|
+
}), ya = [
|
|
3325
3336
|
"aria-expanded",
|
|
3326
3337
|
"aria-label",
|
|
3327
3338
|
"aria-disabled"
|
|
3328
|
-
],
|
|
3339
|
+
], ba = ["aria-label"], xa = {
|
|
3329
3340
|
key: 0,
|
|
3330
3341
|
class: "uid-timepicker__panel",
|
|
3331
3342
|
role: "dialog",
|
|
3332
3343
|
"aria-label": "Выбор времени"
|
|
3333
|
-
},
|
|
3344
|
+
}, Sa = { class: "uid-timepicker__columns" }, Ca = [
|
|
3334
3345
|
"aria-selected",
|
|
3335
3346
|
"tabindex",
|
|
3336
3347
|
"onClick"
|
|
3337
|
-
],
|
|
3348
|
+
], wa = [
|
|
3338
3349
|
"aria-selected",
|
|
3339
3350
|
"tabindex",
|
|
3340
3351
|
"onClick"
|
|
3341
|
-
],
|
|
3352
|
+
], Ta = [
|
|
3342
3353
|
"aria-selected",
|
|
3343
3354
|
"tabindex",
|
|
3344
3355
|
"onClick"
|
|
3345
|
-
],
|
|
3356
|
+
], Ea = { class: "uid-timepicker__footer" }, Da = /* @__PURE__ */ f({
|
|
3346
3357
|
__name: "UidTimePicker",
|
|
3347
3358
|
props: /* @__PURE__ */ m({
|
|
3348
3359
|
step: { default: 5 },
|
|
@@ -3537,9 +3548,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3537
3548
|
class: "uid-timepicker__clear",
|
|
3538
3549
|
"aria-label": j(u).common.clear,
|
|
3539
3550
|
onClick: te
|
|
3540
|
-
}, " × ", 8,
|
|
3541
|
-
], 40,
|
|
3542
|
-
default: z(() => [h.value ? (x(), c("div",
|
|
3551
|
+
}, " × ", 8, ba)) : s("", !0)
|
|
3552
|
+
], 40, ya), d(r, { name: "uid-timepicker-panel" }, {
|
|
3553
|
+
default: z(() => [h.value ? (x(), c("div", xa, [l("div", Sa, [
|
|
3543
3554
|
l("div", {
|
|
3544
3555
|
ref_key: "hourColRef",
|
|
3545
3556
|
ref: S,
|
|
@@ -3555,7 +3566,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3555
3566
|
"aria-selected": A.value.h === e,
|
|
3556
3567
|
tabindex: A.value.h === e ? 0 : -1,
|
|
3557
3568
|
onClick: (t) => U(e)
|
|
3558
|
-
}, k(L(e)), 11,
|
|
3569
|
+
}, k(L(e)), 11, Ca))), 128))], 544),
|
|
3559
3570
|
l("div", {
|
|
3560
3571
|
ref_key: "minuteColRef",
|
|
3561
3572
|
ref: C,
|
|
@@ -3571,7 +3582,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3571
3582
|
"aria-selected": A.value.m === e,
|
|
3572
3583
|
tabindex: A.value.m === e ? 0 : -1,
|
|
3573
3584
|
onClick: (t) => W(e)
|
|
3574
|
-
}, k(L(e)), 11,
|
|
3585
|
+
}, k(L(e)), 11, wa))), 128))], 544),
|
|
3575
3586
|
n.withSeconds ? (x(), c("div", {
|
|
3576
3587
|
key: 0,
|
|
3577
3588
|
ref_key: "secondColRef",
|
|
@@ -3588,8 +3599,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3588
3599
|
"aria-selected": A.value.s === e,
|
|
3589
3600
|
tabindex: A.value.s === e ? 0 : -1,
|
|
3590
3601
|
onClick: (t) => G(e)
|
|
3591
|
-
}, k(L(e)), 11,
|
|
3592
|
-
]), l("div",
|
|
3602
|
+
}, k(L(e)), 11, Ta))), 128))], 544)) : s("", !0)
|
|
3603
|
+
]), l("div", Ea, [l("button", {
|
|
3593
3604
|
type: "button",
|
|
3594
3605
|
class: "uid-timepicker__btn",
|
|
3595
3606
|
onClick: K
|
|
@@ -3601,24 +3612,24 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3601
3612
|
_: 1
|
|
3602
3613
|
})], 2));
|
|
3603
3614
|
}
|
|
3604
|
-
}),
|
|
3615
|
+
}), Oa = [
|
|
3605
3616
|
"aria-expanded",
|
|
3606
3617
|
"aria-label",
|
|
3607
3618
|
"aria-disabled"
|
|
3608
|
-
],
|
|
3619
|
+
], ka = ["aria-label"], Aa = {
|
|
3609
3620
|
key: 0,
|
|
3610
3621
|
class: "uid-daterange__panel",
|
|
3611
3622
|
role: "dialog",
|
|
3612
3623
|
"aria-label": "Выбор диапазона дат"
|
|
3613
|
-
},
|
|
3624
|
+
}, 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
3625
|
"disabled",
|
|
3615
3626
|
"onClick",
|
|
3616
3627
|
"onMouseenter"
|
|
3617
|
-
],
|
|
3628
|
+
], 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
3629
|
"disabled",
|
|
3619
3630
|
"onClick",
|
|
3620
3631
|
"onMouseenter"
|
|
3621
|
-
],
|
|
3632
|
+
], Ka = { class: "uid-daterange__footer" }, qa = /* @__PURE__ */ f({
|
|
3622
3633
|
__name: "UidDateRangePicker",
|
|
3623
3634
|
props: /* @__PURE__ */ m({
|
|
3624
3635
|
min: { default: void 0 },
|
|
@@ -3813,9 +3824,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3813
3824
|
class: "uid-daterange__clear",
|
|
3814
3825
|
"aria-label": j(u).common.clear,
|
|
3815
3826
|
onClick: ce
|
|
3816
|
-
}, " × ", 8,
|
|
3817
|
-
], 40,
|
|
3818
|
-
default: z(() => [h.value ? (x(), c("div",
|
|
3827
|
+
}, " × ", 8, ka)) : s("", !0)
|
|
3828
|
+
], 40, Oa), d(r, { name: "uid-daterange-panel" }, {
|
|
3829
|
+
default: z(() => [h.value ? (x(), c("div", Aa, [l("div", ja, [l("div", Ma, [l("div", Na, [
|
|
3819
3830
|
l("button", {
|
|
3820
3831
|
type: "button",
|
|
3821
3832
|
class: "uid-daterange__nav-btn uid-daterange__nav-btn--prev",
|
|
@@ -3824,8 +3835,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3824
3835
|
}, [d(e, {
|
|
3825
3836
|
icon: j(re),
|
|
3826
3837
|
size: 16
|
|
3827
|
-
}, null, 8, ["icon"])], 8,
|
|
3828
|
-
l("span",
|
|
3838
|
+
}, null, 8, ["icon"])], 8, Pa),
|
|
3839
|
+
l("span", Fa, k(H.value), 1),
|
|
3829
3840
|
l("button", {
|
|
3830
3841
|
type: "button",
|
|
3831
3842
|
class: "uid-daterange__nav-btn uid-daterange__nav-btn--next",
|
|
@@ -3834,8 +3845,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3834
3845
|
}, [d(e, {
|
|
3835
3846
|
icon: j(X),
|
|
3836
3847
|
size: 16
|
|
3837
|
-
}, null, 8, ["icon"])], 8,
|
|
3838
|
-
]), l("div",
|
|
3848
|
+
}, null, 8, ["icon"])], 8, Ia)
|
|
3849
|
+
]), l("div", La, [(x(!0), c(t, null, T(A.value, (e) => (x(), c("span", {
|
|
3839
3850
|
key: e,
|
|
3840
3851
|
class: "uid-daterange__weekday"
|
|
3841
3852
|
}, k(e), 1))), 128)), (x(!0), c(t, null, T(B.value, (e) => (x(), c("button", {
|
|
@@ -3852,7 +3863,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3852
3863
|
disabled: G(e.iso) || !e.current,
|
|
3853
3864
|
onClick: (t) => ie(e),
|
|
3854
3865
|
onMouseenter: (t) => ae(e.iso)
|
|
3855
|
-
}, k(e.date.getDate()), 43,
|
|
3866
|
+
}, k(e.date.getDate()), 43, Ra))), 128))])]), l("div", za, [l("div", Ba, [
|
|
3856
3867
|
l("button", {
|
|
3857
3868
|
type: "button",
|
|
3858
3869
|
class: "uid-daterange__nav-btn uid-daterange__nav-btn--prev",
|
|
@@ -3861,8 +3872,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3861
3872
|
}, [d(e, {
|
|
3862
3873
|
icon: j(re),
|
|
3863
3874
|
size: 16
|
|
3864
|
-
}, null, 8, ["icon"])], 8,
|
|
3865
|
-
l("span",
|
|
3875
|
+
}, null, 8, ["icon"])], 8, Va),
|
|
3876
|
+
l("span", Ha, k(U.value), 1),
|
|
3866
3877
|
l("button", {
|
|
3867
3878
|
type: "button",
|
|
3868
3879
|
class: "uid-daterange__nav-btn uid-daterange__nav-btn--next",
|
|
@@ -3871,8 +3882,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3871
3882
|
}, [d(e, {
|
|
3872
3883
|
icon: j(X),
|
|
3873
3884
|
size: 16
|
|
3874
|
-
}, null, 8, ["icon"])], 8,
|
|
3875
|
-
]), l("div",
|
|
3885
|
+
}, null, 8, ["icon"])], 8, Ua)
|
|
3886
|
+
]), l("div", Wa, [(x(!0), c(t, null, T(A.value, (e) => (x(), c("span", {
|
|
3876
3887
|
key: e,
|
|
3877
3888
|
class: "uid-daterange__weekday"
|
|
3878
3889
|
}, k(e), 1))), 128)), (x(!0), c(t, null, T(V.value, (e) => (x(), c("button", {
|
|
@@ -3889,7 +3900,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3889
3900
|
disabled: G(e.iso) || !e.current,
|
|
3890
3901
|
onClick: (t) => ie(e),
|
|
3891
3902
|
onMouseenter: (t) => ae(e.iso)
|
|
3892
|
-
}, k(e.date.getDate()), 43,
|
|
3903
|
+
}, k(e.date.getDate()), 43, Ga))), 128))])])]), l("div", Ka, [
|
|
3893
3904
|
l("button", {
|
|
3894
3905
|
type: "button",
|
|
3895
3906
|
class: "uid-daterange__btn",
|
|
@@ -3909,11 +3920,11 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3909
3920
|
_: 1
|
|
3910
3921
|
})], 2));
|
|
3911
3922
|
}
|
|
3912
|
-
}),
|
|
3923
|
+
}), Ja = ["for"], Ya = {
|
|
3913
3924
|
key: 0,
|
|
3914
3925
|
class: "uid-tags-input__required",
|
|
3915
3926
|
"aria-hidden": "true"
|
|
3916
|
-
},
|
|
3927
|
+
}, Xa = ["aria-label", "onClick"], Za = [
|
|
3917
3928
|
"id",
|
|
3918
3929
|
"placeholder",
|
|
3919
3930
|
"disabled",
|
|
@@ -3921,7 +3932,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
3921
3932
|
"value",
|
|
3922
3933
|
"aria-invalid",
|
|
3923
3934
|
"aria-describedby"
|
|
3924
|
-
],
|
|
3935
|
+
], Qa = ["id"], $a = /* @__PURE__ */ f({
|
|
3925
3936
|
__name: "UidTagsInput",
|
|
3926
3937
|
props: /* @__PURE__ */ m({
|
|
3927
3938
|
separators: { default: () => [",", "Enter"] },
|
|
@@ -4022,7 +4033,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4022
4033
|
key: 0,
|
|
4023
4034
|
for: j(p),
|
|
4024
4035
|
class: "uid-tags-input__label"
|
|
4025
|
-
}, [u(k(e.label) + " ", 1), e.required ? (x(), c("span",
|
|
4036
|
+
}, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", Ya, "*")) : s("", !0)], 8, Ja)) : s("", !0),
|
|
4026
4037
|
l("div", {
|
|
4027
4038
|
class: "uid-tags-input__control",
|
|
4028
4039
|
role: "list",
|
|
@@ -4037,7 +4048,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4037
4048
|
class: "uid-tags-input__chip-remove",
|
|
4038
4049
|
"aria-label": j(m).tagsInput.remove(t),
|
|
4039
4050
|
onClick: H((e) => S(n), ["stop"])
|
|
4040
|
-
}, "×", 8,
|
|
4051
|
+
}, "×", 8, Xa))], 2))), 128)), l("input", {
|
|
4041
4052
|
id: j(p),
|
|
4042
4053
|
ref_key: "inputRef",
|
|
4043
4054
|
ref: f,
|
|
@@ -4053,19 +4064,19 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4053
4064
|
onKeydown: C,
|
|
4054
4065
|
onPaste: D,
|
|
4055
4066
|
onBlur: b
|
|
4056
|
-
}, null, 40,
|
|
4067
|
+
}, null, 40, Za)]),
|
|
4057
4068
|
g.value ? (x(), c("p", {
|
|
4058
4069
|
key: 1,
|
|
4059
4070
|
id: `${j(p)}-hint`,
|
|
4060
4071
|
class: _(["uid-tags-input__hint", h.value && "uid-tags-input__hint--error"])
|
|
4061
|
-
}, k(g.value), 11,
|
|
4072
|
+
}, k(g.value), 11, Qa)) : s("", !0)
|
|
4062
4073
|
], 2));
|
|
4063
4074
|
}
|
|
4064
|
-
}),
|
|
4075
|
+
}), eo = ["for"], to = {
|
|
4065
4076
|
key: 0,
|
|
4066
4077
|
class: "uid-combobox__required",
|
|
4067
4078
|
"aria-hidden": "true"
|
|
4068
|
-
},
|
|
4079
|
+
}, no = { class: "uid-combobox__control" }, ro = [
|
|
4069
4080
|
"id",
|
|
4070
4081
|
"aria-expanded",
|
|
4071
4082
|
"aria-controls",
|
|
@@ -4075,20 +4086,20 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4075
4086
|
"disabled",
|
|
4076
4087
|
"required",
|
|
4077
4088
|
"value"
|
|
4078
|
-
],
|
|
4089
|
+
], io = { class: "uid-combobox__suffix" }, ao = ["aria-label"], oo = ["id"], so = [
|
|
4079
4090
|
"id",
|
|
4080
4091
|
"data-active",
|
|
4081
4092
|
"aria-selected",
|
|
4082
4093
|
"aria-disabled",
|
|
4083
4094
|
"onClick",
|
|
4084
4095
|
"onMouseenter"
|
|
4085
|
-
],
|
|
4096
|
+
], co = { class: "uid-combobox__option-label" }, lo = {
|
|
4086
4097
|
key: 0,
|
|
4087
4098
|
class: "uid-combobox__option-hint"
|
|
4088
|
-
},
|
|
4099
|
+
}, uo = ["id", "data-active"], fo = { class: "uid-combobox__option-label" }, po = {
|
|
4089
4100
|
key: 2,
|
|
4090
4101
|
class: "uid-combobox__empty"
|
|
4091
|
-
},
|
|
4102
|
+
}, mo = /* @__PURE__ */ f({
|
|
4092
4103
|
__name: "UidCombobox",
|
|
4093
4104
|
props: /* @__PURE__ */ m({
|
|
4094
4105
|
options: {},
|
|
@@ -4214,8 +4225,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4214
4225
|
key: 0,
|
|
4215
4226
|
for: j(A),
|
|
4216
4227
|
class: "uid-combobox__label"
|
|
4217
|
-
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span",
|
|
4218
|
-
l("div",
|
|
4228
|
+
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", to, "*")) : s("", !0)], 8, eo)) : s("", !0),
|
|
4229
|
+
l("div", no, [l("input", {
|
|
4219
4230
|
id: j(A),
|
|
4220
4231
|
ref_key: "inputRef",
|
|
4221
4232
|
ref: D,
|
|
@@ -4236,7 +4247,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4236
4247
|
onInput: ee,
|
|
4237
4248
|
onFocus: K,
|
|
4238
4249
|
onKeydown: te
|
|
4239
|
-
}, null, 40,
|
|
4250
|
+
}, null, 40, ro), l("div", io, [n.clearable && v.value !== null ? (x(), c("button", {
|
|
4240
4251
|
key: 0,
|
|
4241
4252
|
type: "button",
|
|
4242
4253
|
class: "uid-combobox__clear",
|
|
@@ -4245,7 +4256,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4245
4256
|
}, [d(e, {
|
|
4246
4257
|
icon: j(ye),
|
|
4247
4258
|
size: 12
|
|
4248
|
-
}, null, 8, ["icon"])], 8,
|
|
4259
|
+
}, null, 8, ["icon"])], 8, ao)) : s("", !0), d(e, {
|
|
4249
4260
|
icon: j(Y),
|
|
4250
4261
|
size: 16,
|
|
4251
4262
|
class: _(["uid-combobox__chevron", { "uid-combobox__chevron--open": y.value }]),
|
|
@@ -4276,8 +4287,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4276
4287
|
onClick: (e) => U(t),
|
|
4277
4288
|
onMouseenter: (e) => !t.disabled && (C.value = n)
|
|
4278
4289
|
}, [
|
|
4279
|
-
l("span",
|
|
4280
|
-
t.hint ? (x(), c("span",
|
|
4290
|
+
l("span", co, k(t.label), 1),
|
|
4291
|
+
t.hint ? (x(), c("span", lo, k(t.hint), 1)) : s("", !0),
|
|
4281
4292
|
t.value === v.value ? (x(), o(e, {
|
|
4282
4293
|
key: 1,
|
|
4283
4294
|
icon: j(q),
|
|
@@ -4285,7 +4296,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4285
4296
|
class: "uid-combobox__check",
|
|
4286
4297
|
"aria-hidden": "true"
|
|
4287
4298
|
}, null, 8, ["icon"])) : s("", !0)
|
|
4288
|
-
], 42,
|
|
4299
|
+
], 42, so))), 128)) : s("", !0),
|
|
4289
4300
|
L.value ? (x(), c("button", {
|
|
4290
4301
|
key: 1,
|
|
4291
4302
|
id: `${j(P)}-${I.value.length}`,
|
|
@@ -4295,35 +4306,35 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4295
4306
|
"data-active": C.value === I.value.length ? "true" : void 0,
|
|
4296
4307
|
onClick: W,
|
|
4297
4308
|
onMouseenter: i[0] ||= (e) => C.value = I.value.length
|
|
4298
|
-
}, [l("span",
|
|
4299
|
-
I.value.length === 0 && !L.value ? (x(), c("div",
|
|
4300
|
-
], 8,
|
|
4309
|
+
}, [l("span", fo, k(j(f).combobox.create(S.value)), 1)], 42, uo)) : s("", !0),
|
|
4310
|
+
I.value.length === 0 && !L.value ? (x(), c("div", po, k(m.value), 1)) : s("", !0)
|
|
4311
|
+
], 8, oo)) : s("", !0),
|
|
4301
4312
|
B.value ? (x(), c("p", {
|
|
4302
4313
|
key: 2,
|
|
4303
4314
|
class: _(["uid-combobox__hint", z.value && "uid-combobox__hint--error"])
|
|
4304
4315
|
}, k(B.value), 3)) : s("", !0)
|
|
4305
4316
|
], 2));
|
|
4306
4317
|
}
|
|
4307
|
-
}),
|
|
4318
|
+
}), ho = Symbol("UidTree"), go = [
|
|
4308
4319
|
"aria-expanded",
|
|
4309
4320
|
"aria-selected",
|
|
4310
4321
|
"aria-disabled"
|
|
4311
|
-
],
|
|
4322
|
+
], _o = ["tabindex"], vo = ["aria-label"], yo = {
|
|
4312
4323
|
key: 1,
|
|
4313
4324
|
class: "uid-tree-item__chevron uid-tree-item__chevron--placeholder",
|
|
4314
4325
|
"aria-hidden": "true"
|
|
4315
|
-
},
|
|
4326
|
+
}, bo = ["aria-checked"], xo = { class: "uid-tree-item__label" }, So = {
|
|
4316
4327
|
key: 0,
|
|
4317
4328
|
class: "uid-tree-item__children",
|
|
4318
4329
|
role: "group"
|
|
4319
|
-
},
|
|
4330
|
+
}, Co = /* @__PURE__ */ f({
|
|
4320
4331
|
__name: "UidTreeItem",
|
|
4321
4332
|
props: {
|
|
4322
4333
|
node: {},
|
|
4323
4334
|
level: {}
|
|
4324
4335
|
},
|
|
4325
4336
|
setup(n) {
|
|
4326
|
-
let r = n, i = p(
|
|
4337
|
+
let r = n, i = p(ho);
|
|
4327
4338
|
if (!i) throw Error("UidTreeItem must be used inside UidTree");
|
|
4328
4339
|
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
4340
|
R(A, (e) => {
|
|
@@ -4385,7 +4396,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4385
4396
|
}, [d(e, {
|
|
4386
4397
|
icon: j(X),
|
|
4387
4398
|
size: 14
|
|
4388
|
-
}, null, 8, ["icon"])], 10,
|
|
4399
|
+
}, null, 8, ["icon"])], 10, vo)) : (x(), c("span", yo)),
|
|
4389
4400
|
j(u).checkable.value ? (x(), c("span", {
|
|
4390
4401
|
key: 2,
|
|
4391
4402
|
class: _(["uid-tree-item__check", {
|
|
@@ -4399,7 +4410,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4399
4410
|
key: 0,
|
|
4400
4411
|
icon: j(q),
|
|
4401
4412
|
size: 12
|
|
4402
|
-
}, null, 8, ["icon"])) : s("", !0)], 10,
|
|
4413
|
+
}, null, 8, ["icon"])) : s("", !0)], 10, bo)) : s("", !0),
|
|
4403
4414
|
l("span", { class: _(["uid-tree-item__icon", {
|
|
4404
4415
|
"uid-tree-item__icon--branch": h.value,
|
|
4405
4416
|
"uid-tree-item__icon--leaf": !h.value
|
|
@@ -4407,15 +4418,15 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4407
4418
|
icon: b.value,
|
|
4408
4419
|
size: 16
|
|
4409
4420
|
}, null, 8, ["icon"])], 2),
|
|
4410
|
-
l("span",
|
|
4411
|
-
], 44,
|
|
4421
|
+
l("span", xo, k(n.node.label), 1)
|
|
4422
|
+
], 44, _o), h.value && y.value ? (x(), c("ul", So, [(x(!0), c(t, null, T(n.node.children, (e) => (x(), o(a, {
|
|
4412
4423
|
key: e.key,
|
|
4413
4424
|
node: e,
|
|
4414
4425
|
level: n.level + 1
|
|
4415
|
-
}, null, 8, ["node", "level"]))), 128))])) : s("", !0)], 10,
|
|
4426
|
+
}, null, 8, ["node", "level"]))), 128))])) : s("", !0)], 10, go);
|
|
4416
4427
|
};
|
|
4417
4428
|
}
|
|
4418
|
-
}),
|
|
4429
|
+
}), wo = "__virtual_root__", To = /* @__PURE__ */ f({
|
|
4419
4430
|
__name: "UidTreeView",
|
|
4420
4431
|
props: /* @__PURE__ */ m({
|
|
4421
4432
|
nodes: {},
|
|
@@ -4457,7 +4468,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4457
4468
|
let r = e, i = a(() => {
|
|
4458
4469
|
if (!r.virtualRoot) return r.nodes;
|
|
4459
4470
|
let e = typeof r.virtualRoot == "string" ? {
|
|
4460
|
-
key:
|
|
4471
|
+
key: wo,
|
|
4461
4472
|
label: r.virtualRoot,
|
|
4462
4473
|
selectable: !1
|
|
4463
4474
|
} : { ...r.virtualRoot };
|
|
@@ -4567,7 +4578,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4567
4578
|
function F(e) {
|
|
4568
4579
|
return k.value.get(e) ?? null;
|
|
4569
4580
|
}
|
|
4570
|
-
return S(
|
|
4581
|
+
return S(ho, {
|
|
4571
4582
|
selectable: a(() => r.selectable),
|
|
4572
4583
|
checkable: a(() => r.checkable),
|
|
4573
4584
|
disabled: a(() => r.disabled),
|
|
@@ -4590,13 +4601,13 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4590
4601
|
}), (n, r) => (x(), c("ul", {
|
|
4591
4602
|
class: _(["uid-tree", { "uid-tree--guides": e.showGuides }]),
|
|
4592
4603
|
role: "tree"
|
|
4593
|
-
}, [(x(!0), c(t, null, T(i.value, (e) => (x(), o(
|
|
4604
|
+
}, [(x(!0), c(t, null, T(i.value, (e) => (x(), o(Co, {
|
|
4594
4605
|
key: e.key,
|
|
4595
4606
|
node: e,
|
|
4596
4607
|
level: 0
|
|
4597
4608
|
}, null, 8, ["node"]))), 128))], 2));
|
|
4598
4609
|
}
|
|
4599
|
-
}),
|
|
4610
|
+
}), Eo = /* @__PURE__ */ f({
|
|
4600
4611
|
__name: "UidTimeline",
|
|
4601
4612
|
props: { alternate: {
|
|
4602
4613
|
type: Boolean,
|
|
@@ -4605,19 +4616,19 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4605
4616
|
setup(e) {
|
|
4606
4617
|
return (t, n) => (x(), c("ol", { class: _(["uid-timeline", { "uid-timeline--alternate": e.alternate }]) }, [E(t.$slots, "default")], 2));
|
|
4607
4618
|
}
|
|
4608
|
-
}),
|
|
4619
|
+
}), Do = { class: "uid-timeline-item__rail" }, Oo = { class: "uid-timeline-item__marker" }, ko = { class: "uid-timeline-item__content" }, Ao = {
|
|
4609
4620
|
key: 0,
|
|
4610
4621
|
class: "uid-timeline-item__time"
|
|
4611
|
-
},
|
|
4622
|
+
}, jo = {
|
|
4612
4623
|
key: 1,
|
|
4613
4624
|
class: "uid-timeline-item__title"
|
|
4614
|
-
},
|
|
4625
|
+
}, Mo = {
|
|
4615
4626
|
key: 2,
|
|
4616
4627
|
class: "uid-timeline-item__description"
|
|
4617
|
-
},
|
|
4628
|
+
}, No = {
|
|
4618
4629
|
key: 3,
|
|
4619
4630
|
class: "uid-timeline-item__description"
|
|
4620
|
-
},
|
|
4631
|
+
}, Po = /* @__PURE__ */ f({
|
|
4621
4632
|
__name: "UidTimelineItem",
|
|
4622
4633
|
props: {
|
|
4623
4634
|
title: {},
|
|
@@ -4627,37 +4638,37 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4627
4638
|
icon: {}
|
|
4628
4639
|
},
|
|
4629
4640
|
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",
|
|
4641
|
+
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
4642
|
key: 0,
|
|
4632
4643
|
icon: t.icon,
|
|
4633
4644
|
size: 14
|
|
4634
4645
|
}, null, 8, ["icon"])) : s("", !0)])]), r[0] ||= l("div", {
|
|
4635
4646
|
class: "uid-timeline-item__line",
|
|
4636
4647
|
"aria-hidden": "true"
|
|
4637
|
-
}, null, -1)]), l("div",
|
|
4638
|
-
t.time || n.$slots.time ? (x(), c("p",
|
|
4639
|
-
t.title ? (x(), c("h4",
|
|
4640
|
-
t.description && !n.$slots.default ? (x(), c("p",
|
|
4641
|
-
n.$slots.default ? (x(), c("div",
|
|
4648
|
+
}, null, -1)]), l("div", ko, [
|
|
4649
|
+
t.time || n.$slots.time ? (x(), c("p", Ao, [E(n.$slots, "time", {}, () => [u(k(t.time), 1)])])) : s("", !0),
|
|
4650
|
+
t.title ? (x(), c("h4", jo, k(t.title), 1)) : s("", !0),
|
|
4651
|
+
t.description && !n.$slots.default ? (x(), c("p", Mo, k(t.description), 1)) : s("", !0),
|
|
4652
|
+
n.$slots.default ? (x(), c("div", No, [E(n.$slots, "default")])) : s("", !0)
|
|
4642
4653
|
])], 2));
|
|
4643
4654
|
}
|
|
4644
|
-
}),
|
|
4655
|
+
}), Fo = ["for"], Io = {
|
|
4645
4656
|
key: 0,
|
|
4646
4657
|
class: "uid-file-upload__required",
|
|
4647
4658
|
"aria-hidden": "true"
|
|
4648
|
-
},
|
|
4659
|
+
}, Lo = ["aria-disabled", "aria-invalid"], Ro = { class: "uid-file-upload__primary-text" }, zo = ["innerHTML"], Bo = { class: "uid-file-upload__secondary-text" }, Vo = [
|
|
4649
4660
|
"id",
|
|
4650
4661
|
"multiple",
|
|
4651
4662
|
"accept",
|
|
4652
4663
|
"disabled",
|
|
4653
4664
|
"required"
|
|
4654
|
-
],
|
|
4665
|
+
], Ho = {
|
|
4655
4666
|
key: 1,
|
|
4656
4667
|
class: "uid-file-upload__list"
|
|
4657
|
-
},
|
|
4668
|
+
}, 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
4669
|
key: 0,
|
|
4659
4670
|
class: "uid-file-upload__progress"
|
|
4660
|
-
},
|
|
4671
|
+
}, Yo = ["aria-label", "onClick"], Xo = /* @__PURE__ */ f({
|
|
4661
4672
|
__name: "UidFileUpload",
|
|
4662
4673
|
props: /* @__PURE__ */ m({
|
|
4663
4674
|
multiple: {
|
|
@@ -4750,7 +4761,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4750
4761
|
key: 0,
|
|
4751
4762
|
for: j(b),
|
|
4752
4763
|
class: "uid-file-upload__label"
|
|
4753
|
-
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span",
|
|
4764
|
+
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", Io, "*")) : s("", !0)], 8, Fo)) : s("", !0),
|
|
4754
4765
|
l("div", {
|
|
4755
4766
|
class: _(["uid-file-upload__dropzone", { "uid-file-upload__dropzone--active": y.value }]),
|
|
4756
4767
|
role: "button",
|
|
@@ -4769,8 +4780,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4769
4780
|
class: "uid-file-upload__icon",
|
|
4770
4781
|
"aria-hidden": "true"
|
|
4771
4782
|
}, null, 8, ["icon"]),
|
|
4772
|
-
l("p",
|
|
4773
|
-
l("p",
|
|
4783
|
+
l("p", Ro, [l("span", { innerHTML: f.value }, null, 8, zo)]),
|
|
4784
|
+
l("p", Bo, k(p.value), 1),
|
|
4774
4785
|
l("input", {
|
|
4775
4786
|
id: j(b),
|
|
4776
4787
|
ref_key: "inputRef",
|
|
@@ -4784,9 +4795,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4784
4795
|
disabled: n.disabled,
|
|
4785
4796
|
required: n.required,
|
|
4786
4797
|
onChange: A
|
|
4787
|
-
}, null, 40,
|
|
4788
|
-
], 42,
|
|
4789
|
-
h.value.length > 0 ? (x(), c("ul",
|
|
4798
|
+
}, null, 40, Vo)
|
|
4799
|
+
], 42, Lo),
|
|
4800
|
+
h.value.length > 0 ? (x(), c("ul", Ho, [(x(!0), c(t, null, T(h.value, (t) => (x(), c("li", {
|
|
4790
4801
|
key: t.id,
|
|
4791
4802
|
class: _(["uid-file-upload__item", { "uid-file-upload__item--error": t.error }])
|
|
4792
4803
|
}, [
|
|
@@ -4796,10 +4807,10 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4796
4807
|
class: "uid-file-upload__file-icon",
|
|
4797
4808
|
"aria-hidden": "true"
|
|
4798
4809
|
}, null, 8, ["icon"]),
|
|
4799
|
-
l("div",
|
|
4800
|
-
l("div",
|
|
4801
|
-
l("div",
|
|
4802
|
-
t.progress !== void 0 && !t.error ? (x(), c("div",
|
|
4810
|
+
l("div", Uo, [
|
|
4811
|
+
l("div", Wo, k(t.file.name), 1),
|
|
4812
|
+
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))]),
|
|
4813
|
+
t.progress !== void 0 && !t.error ? (x(), c("div", Jo, [l("div", {
|
|
4803
4814
|
class: "uid-file-upload__progress-bar",
|
|
4804
4815
|
style: v({ width: `${t.progress}%` })
|
|
4805
4816
|
}, null, 4)])) : s("", !0)
|
|
@@ -4812,7 +4823,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4812
4823
|
}, [d(e, {
|
|
4813
4824
|
icon: j(ye),
|
|
4814
4825
|
size: 16
|
|
4815
|
-
}, null, 8, ["icon"])], 8,
|
|
4826
|
+
}, null, 8, ["icon"])], 8, Yo)
|
|
4816
4827
|
], 2))), 128))])) : s("", !0),
|
|
4817
4828
|
C.value ? (x(), c("p", {
|
|
4818
4829
|
key: 2,
|
|
@@ -4820,17 +4831,17 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4820
4831
|
}, k(C.value), 3)) : s("", !0)
|
|
4821
4832
|
], 2));
|
|
4822
4833
|
}
|
|
4823
|
-
}),
|
|
4834
|
+
}), Zo = {
|
|
4824
4835
|
key: 0,
|
|
4825
4836
|
class: "uid-code uid-code--inline"
|
|
4826
|
-
},
|
|
4837
|
+
}, Qo = {
|
|
4827
4838
|
key: 0,
|
|
4828
4839
|
class: "uid-code__header"
|
|
4829
|
-
},
|
|
4840
|
+
}, $o = { class: "uid-code__lang" }, es = ["aria-label"], ts = { class: "uid-code__body" }, ns = {
|
|
4830
4841
|
key: 0,
|
|
4831
4842
|
class: "uid-code__line-numbers",
|
|
4832
4843
|
"aria-hidden": "true"
|
|
4833
|
-
},
|
|
4844
|
+
}, rs = { class: "uid-code__pre" }, is = /* @__PURE__ */ f({
|
|
4834
4845
|
__name: "UidCode",
|
|
4835
4846
|
props: {
|
|
4836
4847
|
code: { default: "" },
|
|
@@ -4862,14 +4873,14 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4862
4873
|
}, 1500);
|
|
4863
4874
|
} catch {}
|
|
4864
4875
|
}
|
|
4865
|
-
return (i, a) => n.inline ? (x(), c("code",
|
|
4876
|
+
return (i, a) => n.inline ? (x(), c("code", Zo, [E(i.$slots, "default", {}, () => [u(k(n.code), 1)])])) : (x(), c("div", {
|
|
4866
4877
|
key: 1,
|
|
4867
4878
|
class: _(["uid-code", {
|
|
4868
4879
|
"uid-code--minimal": !p.value,
|
|
4869
4880
|
"uid-code--wrap": n.wrap
|
|
4870
4881
|
}]),
|
|
4871
4882
|
style: v(n.maxHeight ? { "--uid-code-max-height": n.maxHeight } : void 0)
|
|
4872
|
-
}, [p.value ? (x(), c("div",
|
|
4883
|
+
}, [p.value ? (x(), c("div", Qo, [l("span", $o, k(n.language || ""), 1), n.copy ? (x(), c("button", {
|
|
4873
4884
|
key: 0,
|
|
4874
4885
|
type: "button",
|
|
4875
4886
|
class: _(["uid-code__copy", { "uid-code__copy--copied": o.value }]),
|
|
@@ -4879,30 +4890,30 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
4879
4890
|
icon: o.value ? j(q) : j(oe),
|
|
4880
4891
|
size: 12,
|
|
4881
4892
|
"aria-hidden": "true"
|
|
4882
|
-
}, null, 8, ["icon"]), l("span", null, k(o.value ? j(r).copy.copied : j(r).copy.copy), 1)], 10,
|
|
4893
|
+
}, 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
4894
|
key: t,
|
|
4884
4895
|
class: "uid-code__line-number"
|
|
4885
|
-
}, k(t + 1), 1))), 128))])) : s("", !0), l("pre",
|
|
4896
|
+
}, k(t + 1), 1))), 128))])) : s("", !0), l("pre", rs, [l("code", null, [E(i.$slots, "default", {}, () => [u(k(n.code), 1)])])])])], 6));
|
|
4886
4897
|
}
|
|
4887
|
-
}),
|
|
4898
|
+
}), as = [
|
|
4888
4899
|
"aria-valuemax",
|
|
4889
4900
|
"aria-valuenow",
|
|
4890
4901
|
"aria-readonly",
|
|
4891
4902
|
"aria-disabled",
|
|
4892
4903
|
"aria-label"
|
|
4893
|
-
],
|
|
4904
|
+
], os = [
|
|
4894
4905
|
"tabindex",
|
|
4895
4906
|
"aria-label",
|
|
4896
4907
|
"onClick",
|
|
4897
4908
|
"onMousemove",
|
|
4898
4909
|
"onKeydown"
|
|
4899
|
-
],
|
|
4910
|
+
], ss = {
|
|
4900
4911
|
class: "uid-rating__icon",
|
|
4901
4912
|
"aria-hidden": "true"
|
|
4902
|
-
},
|
|
4913
|
+
}, cs = ["data-half"], ls = {
|
|
4903
4914
|
key: 0,
|
|
4904
4915
|
class: "uid-rating__label"
|
|
4905
|
-
},
|
|
4916
|
+
}, us = /* @__PURE__ */ f({
|
|
4906
4917
|
__name: "UidRating",
|
|
4907
4918
|
props: /* @__PURE__ */ m({
|
|
4908
4919
|
max: { default: 5 },
|
|
@@ -5006,21 +5017,21 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5006
5017
|
onClick: (e) => y(e, t),
|
|
5007
5018
|
onMousemove: (e) => b(e, t),
|
|
5008
5019
|
onKeydown: (e) => C(e, t)
|
|
5009
|
-
}, [l("span",
|
|
5020
|
+
}, [l("span", ss, [d(e, { icon: h.value }, null, 8, ["icon"])]), g(t).full ? (x(), c("span", {
|
|
5010
5021
|
key: 0,
|
|
5011
5022
|
class: "uid-rating__icon uid-rating__icon--filled",
|
|
5012
5023
|
"data-half": g(t).half ? "true" : "false",
|
|
5013
5024
|
"aria-hidden": "true"
|
|
5014
|
-
}, [d(e, { icon: h.value }, null, 8, ["icon"])], 8,
|
|
5025
|
+
}, [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
5026
|
}
|
|
5016
|
-
}),
|
|
5027
|
+
}), ds = [
|
|
5017
5028
|
"tabindex",
|
|
5018
5029
|
"aria-orientation",
|
|
5019
5030
|
"aria-valuemin",
|
|
5020
5031
|
"aria-valuemax",
|
|
5021
5032
|
"aria-valuenow",
|
|
5022
5033
|
"aria-disabled"
|
|
5023
|
-
],
|
|
5034
|
+
], fs = { class: "uid-splitter__pane uid-splitter__pane--end" }, ps = /* @__PURE__ */ f({
|
|
5024
5035
|
__name: "UidSplitter",
|
|
5025
5036
|
props: /* @__PURE__ */ m({
|
|
5026
5037
|
direction: { default: "horizontal" },
|
|
@@ -5098,27 +5109,27 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5098
5109
|
l("span", { class: "uid-splitter__grip-dot" }),
|
|
5099
5110
|
l("span", { class: "uid-splitter__grip-dot" }),
|
|
5100
5111
|
l("span", { class: "uid-splitter__grip-dot" })
|
|
5101
|
-
], -1)]], 40,
|
|
5102
|
-
l("div",
|
|
5112
|
+
], -1)]], 40, ds),
|
|
5113
|
+
l("div", fs, [E(t.$slots, "end")])
|
|
5103
5114
|
], 2));
|
|
5104
5115
|
}
|
|
5105
|
-
}),
|
|
5116
|
+
}), ms = {
|
|
5106
5117
|
key: 0,
|
|
5107
5118
|
class: "uid-stat__icon",
|
|
5108
5119
|
"aria-hidden": "true"
|
|
5109
|
-
},
|
|
5120
|
+
}, hs = { class: "uid-stat__body" }, gs = {
|
|
5110
5121
|
key: 0,
|
|
5111
5122
|
class: "uid-stat__title"
|
|
5112
|
-
},
|
|
5123
|
+
}, _s = { class: "uid-stat__value-row" }, vs = { class: "uid-stat__value" }, ys = {
|
|
5113
5124
|
key: 0,
|
|
5114
5125
|
class: "uid-stat__prefix"
|
|
5115
|
-
},
|
|
5126
|
+
}, bs = {
|
|
5116
5127
|
key: 1,
|
|
5117
5128
|
class: "uid-stat__suffix"
|
|
5118
|
-
},
|
|
5129
|
+
}, xs = {
|
|
5119
5130
|
key: 1,
|
|
5120
5131
|
class: "uid-stat__footer"
|
|
5121
|
-
},
|
|
5132
|
+
}, Ss = /* @__PURE__ */ f({
|
|
5122
5133
|
__name: "UidStat",
|
|
5123
5134
|
props: {
|
|
5124
5135
|
title: {},
|
|
@@ -5144,16 +5155,16 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5144
5155
|
`uid-stat--${t.tone}`,
|
|
5145
5156
|
t.variant === "ghost" && "uid-stat--ghost",
|
|
5146
5157
|
t.loading && "uid-stat--loading"
|
|
5147
|
-
]]) }, [t.icon || n.$slots.icon ? (x(), c("span",
|
|
5158
|
+
]]) }, [t.icon || n.$slots.icon ? (x(), c("span", ms, [E(n.$slots, "icon", {}, () => [t.icon ? (x(), o(e, {
|
|
5148
5159
|
key: 0,
|
|
5149
5160
|
icon: t.icon,
|
|
5150
5161
|
size: 20
|
|
5151
|
-
}, null, 8, ["icon"])) : s("", !0)])])) : s("", !0), l("div",
|
|
5152
|
-
t.title ? (x(), c("p",
|
|
5153
|
-
l("div",
|
|
5154
|
-
t.prefix ? (x(), c("span",
|
|
5162
|
+
}, null, 8, ["icon"])) : s("", !0)])])) : s("", !0), l("div", hs, [
|
|
5163
|
+
t.title ? (x(), c("p", gs, k(t.title), 1)) : s("", !0),
|
|
5164
|
+
l("div", _s, [l("span", vs, [E(n.$slots, "value", {}, () => [
|
|
5165
|
+
t.prefix ? (x(), c("span", ys, k(t.prefix), 1)) : s("", !0),
|
|
5155
5166
|
l("span", null, k(r.value), 1),
|
|
5156
|
-
t.suffix ? (x(), c("span",
|
|
5167
|
+
t.suffix ? (x(), c("span", bs, k(t.suffix), 1)) : s("", !0)
|
|
5157
5168
|
])]), t.trend !== void 0 || n.$slots.trend ? (x(), c("span", {
|
|
5158
5169
|
key: 0,
|
|
5159
5170
|
class: _(["uid-stat__trend", i.value && `uid-stat__trend--${i.value}`])
|
|
@@ -5162,13 +5173,13 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5162
5173
|
icon: d.value,
|
|
5163
5174
|
size: 12
|
|
5164
5175
|
}, null, 8, ["icon"])) : s("", !0), l("span", null, k(f.value), 1)])], 2)) : s("", !0)]),
|
|
5165
|
-
t.footer || n.$slots.footer ? (x(), c("p",
|
|
5176
|
+
t.footer || n.$slots.footer ? (x(), c("p", xs, [E(n.$slots, "footer", {}, () => [u(k(t.footer), 1)])])) : s("", !0)
|
|
5166
5177
|
])], 2));
|
|
5167
5178
|
}
|
|
5168
|
-
}),
|
|
5179
|
+
}), Cs = Symbol("UidDescriptionList"), ws = {
|
|
5169
5180
|
key: 0,
|
|
5170
5181
|
class: "uid-description-list__title"
|
|
5171
|
-
},
|
|
5182
|
+
}, Ts = /* @__PURE__ */ f({
|
|
5172
5183
|
__name: "UidDescriptionList",
|
|
5173
5184
|
props: {
|
|
5174
5185
|
title: {},
|
|
@@ -5183,7 +5194,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5183
5194
|
},
|
|
5184
5195
|
setup(e) {
|
|
5185
5196
|
let t = e;
|
|
5186
|
-
S(
|
|
5197
|
+
S(Cs, {
|
|
5187
5198
|
direction: a(() => t.direction),
|
|
5188
5199
|
bordered: a(() => t.bordered)
|
|
5189
5200
|
});
|
|
@@ -5195,12 +5206,12 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5195
5206
|
`uid-description-list--${e.direction}`,
|
|
5196
5207
|
`uid-description-list--${e.size}`,
|
|
5197
5208
|
e.bordered && "uid-description-list--bordered"
|
|
5198
|
-
]]) }, [e.title || t.$slots.title ? (x(), c("h3",
|
|
5209
|
+
]]) }, [e.title || t.$slots.title ? (x(), c("h3", ws, [E(t.$slots, "title", {}, () => [u(k(e.title), 1)])])) : s("", !0), l("dl", {
|
|
5199
5210
|
class: "uid-description-list__grid",
|
|
5200
5211
|
style: v(n.value)
|
|
5201
5212
|
}, [E(t.$slots, "default")], 4)], 2));
|
|
5202
5213
|
}
|
|
5203
|
-
}),
|
|
5214
|
+
}), Es = { class: "uid-description-item__label" }, Ds = { class: "uid-description-item__value" }, Os = ["aria-label"], ks = /* @__PURE__ */ f({
|
|
5204
5215
|
__name: "UidDescriptionItem",
|
|
5205
5216
|
props: {
|
|
5206
5217
|
label: {},
|
|
@@ -5213,7 +5224,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5213
5224
|
},
|
|
5214
5225
|
setup(t) {
|
|
5215
5226
|
let n = $(), r = t;
|
|
5216
|
-
p(
|
|
5227
|
+
p(Cs, null);
|
|
5217
5228
|
let i = w(null), o = w(!1), f = a(() => ({ "--uid-desc-span": r.span }));
|
|
5218
5229
|
async function m() {
|
|
5219
5230
|
let e = r.copyValue ?? i.value?.querySelector(".uid-description-item__value")?.textContent?.trim() ?? "";
|
|
@@ -5228,7 +5239,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5228
5239
|
ref: i,
|
|
5229
5240
|
class: "uid-description-item",
|
|
5230
5241
|
style: v(f.value)
|
|
5231
|
-
}, [l("dt",
|
|
5242
|
+
}, [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
5243
|
key: 0,
|
|
5233
5244
|
type: "button",
|
|
5234
5245
|
class: _(["uid-description-item__copy", { "uid-description-item__copy--copied": o.value }]),
|
|
@@ -5237,24 +5248,24 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5237
5248
|
}, [d(e, {
|
|
5238
5249
|
icon: o.value ? j(q) : j(oe),
|
|
5239
5250
|
size: 12
|
|
5240
|
-
}, null, 8, ["icon"])], 10,
|
|
5251
|
+
}, null, 8, ["icon"])], 10, Os)) : s("", !0)])], 4));
|
|
5241
5252
|
}
|
|
5242
|
-
}),
|
|
5253
|
+
}), As = {
|
|
5243
5254
|
class: "uid-pattern-result__icon",
|
|
5244
5255
|
"aria-hidden": "true"
|
|
5245
|
-
},
|
|
5256
|
+
}, js = {
|
|
5246
5257
|
key: 0,
|
|
5247
5258
|
class: "uid-pattern-result__title"
|
|
5248
|
-
},
|
|
5259
|
+
}, Ms = {
|
|
5249
5260
|
key: 1,
|
|
5250
5261
|
class: "uid-pattern-result__description"
|
|
5251
|
-
},
|
|
5262
|
+
}, Ns = {
|
|
5252
5263
|
key: 2,
|
|
5253
5264
|
class: "uid-pattern-result__content"
|
|
5254
|
-
},
|
|
5265
|
+
}, Ps = {
|
|
5255
5266
|
key: 3,
|
|
5256
5267
|
class: "uid-pattern-result__actions"
|
|
5257
|
-
},
|
|
5268
|
+
}, Fs = /* @__PURE__ */ f({
|
|
5258
5269
|
__name: "UidResult",
|
|
5259
5270
|
props: {
|
|
5260
5271
|
status: { default: "success" },
|
|
@@ -5276,17 +5287,17 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5276
5287
|
class: _(["uid-pattern-result", [`uid-pattern-result--${t.status}`, t.compact && "uid-pattern-result--compact"]]),
|
|
5277
5288
|
role: "status"
|
|
5278
5289
|
}, [
|
|
5279
|
-
l("div",
|
|
5290
|
+
l("div", As, [E(n.$slots, "icon", {}, () => [d(e, {
|
|
5280
5291
|
icon: i.value,
|
|
5281
5292
|
size: t.compact ? 32 : 40
|
|
5282
5293
|
}, null, 8, ["icon", "size"])])]),
|
|
5283
|
-
t.title || n.$slots.title ? (x(), c("h2",
|
|
5284
|
-
t.description || n.$slots.description ? (x(), c("p",
|
|
5285
|
-
n.$slots.default ? (x(), c("div",
|
|
5286
|
-
n.$slots.actions ? (x(), c("div",
|
|
5294
|
+
t.title || n.$slots.title ? (x(), c("h2", js, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])])) : s("", !0),
|
|
5295
|
+
t.description || n.$slots.description ? (x(), c("p", Ms, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0),
|
|
5296
|
+
n.$slots.default ? (x(), c("div", Ns, [E(n.$slots, "default")])) : s("", !0),
|
|
5297
|
+
n.$slots.actions ? (x(), c("div", Ps, [E(n.$slots, "actions")])) : s("", !0)
|
|
5287
5298
|
], 2));
|
|
5288
5299
|
}
|
|
5289
|
-
}),
|
|
5300
|
+
}), Is = ["aria-label"], Ls = /* @__PURE__ */ f({
|
|
5290
5301
|
__name: "UidBackTop",
|
|
5291
5302
|
props: {
|
|
5292
5303
|
visibleAfter: { default: 200 },
|
|
@@ -5334,11 +5345,11 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5334
5345
|
}, [E(t.$slots, "default", {}, () => [d(e, {
|
|
5335
5346
|
icon: j(K),
|
|
5336
5347
|
size: 20
|
|
5337
|
-
}, null, 8, ["icon"])])], 8,
|
|
5348
|
+
}, null, 8, ["icon"])])], 8, Is), [[L, f.value]])]),
|
|
5338
5349
|
_: 3
|
|
5339
5350
|
}));
|
|
5340
5351
|
}
|
|
5341
|
-
}),
|
|
5352
|
+
}), Rs = { class: "uid-affix__content" }, zs = /* @__PURE__ */ f({
|
|
5342
5353
|
__name: "UidAffix",
|
|
5343
5354
|
props: {
|
|
5344
5355
|
offsetTop: {},
|
|
@@ -5368,9 +5379,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5368
5379
|
ref: o,
|
|
5369
5380
|
class: "uid-affix__sentinel",
|
|
5370
5381
|
"aria-hidden": "true"
|
|
5371
|
-
}, null, 512), l("div",
|
|
5382
|
+
}, null, 512), l("div", Rs, [E(e.$slots, "default")])], 6));
|
|
5372
5383
|
}
|
|
5373
|
-
}),
|
|
5384
|
+
}), Bs = { class: "uid-watermark" }, Vs = { class: "uid-watermark__content" }, Hs = /* @__PURE__ */ f({
|
|
5374
5385
|
__name: "UidWatermark",
|
|
5375
5386
|
props: {
|
|
5376
5387
|
content: { default: "" },
|
|
@@ -5417,27 +5428,27 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5417
5428
|
i();
|
|
5418
5429
|
}), b(() => {
|
|
5419
5430
|
n.value = "";
|
|
5420
|
-
}), (e, t) => (x(), c("div",
|
|
5431
|
+
}), (e, t) => (x(), c("div", Bs, [l("div", {
|
|
5421
5432
|
class: "uid-watermark__overlay",
|
|
5422
5433
|
style: v(o.value),
|
|
5423
5434
|
"aria-hidden": "true"
|
|
5424
|
-
}, null, 4), l("div",
|
|
5435
|
+
}, null, 4), l("div", Vs, [E(e.$slots, "default")])]));
|
|
5425
5436
|
}
|
|
5426
|
-
}),
|
|
5437
|
+
}), Us = {
|
|
5427
5438
|
class: "uid-anchor",
|
|
5428
5439
|
"aria-label": "Содержание"
|
|
5429
|
-
},
|
|
5440
|
+
}, Ws = { class: "uid-anchor__list" }, Gs = [
|
|
5430
5441
|
"href",
|
|
5431
5442
|
"aria-current",
|
|
5432
5443
|
"onClick"
|
|
5433
|
-
],
|
|
5444
|
+
], Ks = {
|
|
5434
5445
|
key: 0,
|
|
5435
5446
|
class: "uid-anchor__sublist"
|
|
5436
|
-
},
|
|
5447
|
+
}, qs = [
|
|
5437
5448
|
"href",
|
|
5438
5449
|
"aria-current",
|
|
5439
5450
|
"onClick"
|
|
5440
|
-
],
|
|
5451
|
+
], Js = /* @__PURE__ */ f({
|
|
5441
5452
|
__name: "UidAnchor",
|
|
5442
5453
|
props: /* @__PURE__ */ m({
|
|
5443
5454
|
items: {},
|
|
@@ -5501,7 +5512,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5501
5512
|
behavior: r.smooth ? "smooth" : "auto"
|
|
5502
5513
|
});
|
|
5503
5514
|
}
|
|
5504
|
-
return (n, r) => (x(), c("nav",
|
|
5515
|
+
return (n, r) => (x(), c("nav", Us, [l("ul", Ws, [(x(!0), c(t, null, T(e.items, (e) => (x(), c("li", {
|
|
5505
5516
|
key: e.key,
|
|
5506
5517
|
class: "uid-anchor__item"
|
|
5507
5518
|
}, [l("a", {
|
|
@@ -5509,7 +5520,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5509
5520
|
class: _(["uid-anchor__link", { "uid-anchor__link--active": a.value === e.key }]),
|
|
5510
5521
|
"aria-current": a.value === e.key ? "location" : void 0,
|
|
5511
5522
|
onClick: (t) => m(t, e)
|
|
5512
|
-
}, k(e.title), 11,
|
|
5523
|
+
}, 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
5524
|
key: e.key,
|
|
5514
5525
|
class: "uid-anchor__item"
|
|
5515
5526
|
}, [l("a", {
|
|
@@ -5517,18 +5528,18 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5517
5528
|
class: _(["uid-anchor__link", { "uid-anchor__link--active": a.value === e.key }]),
|
|
5518
5529
|
"aria-current": a.value === e.key ? "location" : void 0,
|
|
5519
5530
|
onClick: (t) => m(t, e)
|
|
5520
|
-
}, k(e.title), 11,
|
|
5531
|
+
}, k(e.title), 11, qs)]))), 128))])) : s("", !0)]))), 128))])]));
|
|
5521
5532
|
}
|
|
5522
|
-
}),
|
|
5533
|
+
}), Ys = ["aria-label"], Xs = {
|
|
5523
5534
|
key: 0,
|
|
5524
5535
|
class: "uid-tour__title"
|
|
5525
|
-
},
|
|
5536
|
+
}, Zs = {
|
|
5526
5537
|
key: 1,
|
|
5527
5538
|
class: "uid-tour__description"
|
|
5528
|
-
},
|
|
5539
|
+
}, Qs = { class: "uid-tour__footer" }, $s = {
|
|
5529
5540
|
key: 0,
|
|
5530
5541
|
class: "uid-tour__progress"
|
|
5531
|
-
},
|
|
5542
|
+
}, ec = { key: 1 }, tc = { class: "uid-tour__actions" }, nc = /* @__PURE__ */ f({
|
|
5532
5543
|
__name: "UidTour",
|
|
5533
5544
|
props: /* @__PURE__ */ m({
|
|
5534
5545
|
steps: {},
|
|
@@ -5667,9 +5678,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5667
5678
|
class: _(["uid-tour__popover", { "uid-tour__popover--center": F.value }]),
|
|
5668
5679
|
style: v(F.value ? void 0 : P.value)
|
|
5669
5680
|
}, [
|
|
5670
|
-
D.value.title ? (x(), c("h3",
|
|
5671
|
-
D.value.description ? (x(), c("p",
|
|
5672
|
-
l("div",
|
|
5681
|
+
D.value.title ? (x(), c("h3", Xs, k(D.value.title), 1)) : s("", !0),
|
|
5682
|
+
D.value.description ? (x(), c("p", Zs, k(D.value.description), 1)) : s("", !0),
|
|
5683
|
+
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
5684
|
e.showSkip && y.value < e.steps.length - 1 ? (x(), c("button", {
|
|
5674
5685
|
key: 0,
|
|
5675
5686
|
type: "button",
|
|
@@ -5689,21 +5700,21 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5689
5700
|
}, k(y.value === e.steps.length - 1 ? f.value : u.value), 1)
|
|
5690
5701
|
])])
|
|
5691
5702
|
], 6)
|
|
5692
|
-
], 8,
|
|
5703
|
+
], 8, Ys)) : s("", !0)]));
|
|
5693
5704
|
}
|
|
5694
|
-
}),
|
|
5705
|
+
}), rc = ["for"], ic = [
|
|
5695
5706
|
"id",
|
|
5696
5707
|
"value",
|
|
5697
5708
|
"placeholder",
|
|
5698
5709
|
"rows",
|
|
5699
5710
|
"disabled"
|
|
5700
|
-
],
|
|
5711
|
+
], ac = ["onMousedown", "onMouseenter"], oc = { class: "uid-mention__option-label" }, sc = {
|
|
5701
5712
|
key: 0,
|
|
5702
5713
|
class: "uid-mention__option-hint"
|
|
5703
|
-
},
|
|
5714
|
+
}, cc = {
|
|
5704
5715
|
key: 0,
|
|
5705
5716
|
class: "uid-mention__empty"
|
|
5706
|
-
},
|
|
5717
|
+
}, lc = /* @__PURE__ */ f({
|
|
5707
5718
|
__name: "UidMention",
|
|
5708
5719
|
props: /* @__PURE__ */ m({
|
|
5709
5720
|
options: {},
|
|
@@ -5781,7 +5792,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5781
5792
|
key: 0,
|
|
5782
5793
|
for: j(p),
|
|
5783
5794
|
class: "uid-mention__label"
|
|
5784
|
-
}, k(e.label), 9,
|
|
5795
|
+
}, k(e.label), 9, rc)) : s("", !0),
|
|
5785
5796
|
l("textarea", {
|
|
5786
5797
|
id: j(p),
|
|
5787
5798
|
ref_key: "fieldRef",
|
|
@@ -5796,7 +5807,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5796
5807
|
onKeydown: L,
|
|
5797
5808
|
onKeyup: O,
|
|
5798
5809
|
onBlur: r[0] ||= (e) => m.value = !1
|
|
5799
|
-
}, null, 40,
|
|
5810
|
+
}, null, 40, ic),
|
|
5800
5811
|
m.value ? (x(), c("div", {
|
|
5801
5812
|
key: 1,
|
|
5802
5813
|
class: "uid-mention__dropdown",
|
|
@@ -5807,30 +5818,30 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5807
5818
|
class: _(["uid-mention__option", { "uid-mention__option--active": t === y.value }]),
|
|
5808
5819
|
onMousedown: H((t) => P(e), ["prevent"]),
|
|
5809
5820
|
onMouseenter: (e) => y.value = t
|
|
5810
|
-
}, [l("span",
|
|
5821
|
+
}, [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
5822
|
], 2));
|
|
5812
5823
|
}
|
|
5813
|
-
}),
|
|
5824
|
+
}), uc = ["for"], dc = {
|
|
5814
5825
|
key: 0,
|
|
5815
5826
|
class: "uid-tree-select__required",
|
|
5816
5827
|
"aria-hidden": "true"
|
|
5817
|
-
},
|
|
5828
|
+
}, fc = [
|
|
5818
5829
|
"id",
|
|
5819
5830
|
"aria-expanded",
|
|
5820
5831
|
"aria-controls",
|
|
5821
5832
|
"aria-label",
|
|
5822
5833
|
"aria-disabled",
|
|
5823
5834
|
"aria-invalid"
|
|
5824
|
-
],
|
|
5835
|
+
], pc = { class: "uid-tree-select__value" }, mc = ["aria-label", "onClick"], hc = {
|
|
5825
5836
|
key: 0,
|
|
5826
5837
|
class: "uid-tree-select__chip"
|
|
5827
|
-
},
|
|
5838
|
+
}, gc = {
|
|
5828
5839
|
key: 1,
|
|
5829
5840
|
class: "uid-tree-select__placeholder"
|
|
5830
|
-
},
|
|
5841
|
+
}, _c = { key: 0 }, vc = {
|
|
5831
5842
|
key: 1,
|
|
5832
5843
|
class: "uid-tree-select__placeholder"
|
|
5833
|
-
},
|
|
5844
|
+
}, yc = { class: "uid-tree-select__suffix" }, bc = ["aria-label"], xc = ["id"], Sc = /* @__PURE__ */ f({
|
|
5834
5845
|
__name: "UidTreeSelect",
|
|
5835
5846
|
props: /* @__PURE__ */ m({
|
|
5836
5847
|
nodes: {},
|
|
@@ -5923,7 +5934,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5923
5934
|
key: 0,
|
|
5924
5935
|
for: j(S),
|
|
5925
5936
|
class: "uid-tree-select__label"
|
|
5926
|
-
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span",
|
|
5937
|
+
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", dc, "*")) : s("", !0)], 8, uc)) : s("", !0),
|
|
5927
5938
|
l("div", {
|
|
5928
5939
|
id: j(S),
|
|
5929
5940
|
ref_key: "triggerRef",
|
|
@@ -5939,7 +5950,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5939
5950
|
"aria-invalid": E.value ? "true" : void 0,
|
|
5940
5951
|
onClick: V,
|
|
5941
5952
|
onKeydown: ee
|
|
5942
|
-
}, [l("div",
|
|
5953
|
+
}, [l("div", pc, [n.multiple ? (x(), c(t, { key: 0 }, [
|
|
5943
5954
|
(x(!0), c(t, null, T(I.value, (e) => (x(), c("span", {
|
|
5944
5955
|
key: e.key,
|
|
5945
5956
|
class: "uid-tree-select__chip"
|
|
@@ -5948,10 +5959,10 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5948
5959
|
class: "uid-tree-select__chip-remove",
|
|
5949
5960
|
"aria-label": j(o).treeSelect.removeTag(e.label),
|
|
5950
5961
|
onClick: H((t) => G(t, e.key), ["stop"])
|
|
5951
|
-
}, "×", 8,
|
|
5952
|
-
L.value > 0 ? (x(), c("span",
|
|
5953
|
-
F.value.length === 0 ? (x(), c("span",
|
|
5954
|
-
], 64)) : (x(), c(t, { key: 1 }, [F.value.length > 0 ? (x(), c("span",
|
|
5962
|
+
}, "×", 8, mc)]))), 128)),
|
|
5963
|
+
L.value > 0 ? (x(), c("span", hc, "+" + k(L.value), 1)) : s("", !0),
|
|
5964
|
+
F.value.length === 0 ? (x(), c("span", gc, k(f.value), 1)) : s("", !0)
|
|
5965
|
+
], 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
5966
|
key: 0,
|
|
5956
5967
|
type: "button",
|
|
5957
5968
|
class: "uid-tree-select__clear",
|
|
@@ -5960,17 +5971,17 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5960
5971
|
}, [d(e, {
|
|
5961
5972
|
icon: j(ye),
|
|
5962
5973
|
size: 14
|
|
5963
|
-
}, null, 8, ["icon"])], 8,
|
|
5974
|
+
}, null, 8, ["icon"])], 8, bc)) : s("", !0), d(e, {
|
|
5964
5975
|
icon: j(Y),
|
|
5965
5976
|
size: 16,
|
|
5966
5977
|
class: _(["uid-tree-select__chevron", { "uid-tree-select__chevron--open": g.value }]),
|
|
5967
5978
|
"aria-hidden": "true"
|
|
5968
|
-
}, null, 8, ["icon", "class"])])], 40,
|
|
5979
|
+
}, null, 8, ["icon", "class"])])], 40, fc),
|
|
5969
5980
|
g.value ? (x(), c("div", {
|
|
5970
5981
|
key: 1,
|
|
5971
5982
|
id: j(C),
|
|
5972
5983
|
class: "uid-tree-select__dropdown"
|
|
5973
|
-
}, [d(
|
|
5984
|
+
}, [d(To, {
|
|
5974
5985
|
nodes: n.nodes,
|
|
5975
5986
|
"expanded-keys": h.value,
|
|
5976
5987
|
"onUpdate:expandedKeys": i[0] ||= (e) => h.value = e,
|
|
@@ -5986,19 +5997,19 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
5986
5997
|
"selectable",
|
|
5987
5998
|
"default-expand-all",
|
|
5988
5999
|
"show-guides"
|
|
5989
|
-
])], 8,
|
|
6000
|
+
])], 8, xc)) : s("", !0),
|
|
5990
6001
|
D.value ? (x(), c("p", {
|
|
5991
6002
|
key: 2,
|
|
5992
6003
|
class: _(["uid-tree-select__hint", E.value && "uid-tree-select__hint--error"])
|
|
5993
6004
|
}, k(D.value), 3)) : s("", !0)
|
|
5994
6005
|
], 2));
|
|
5995
6006
|
}
|
|
5996
|
-
}),
|
|
6007
|
+
}), Cc = {
|
|
5997
6008
|
key: 0,
|
|
5998
6009
|
class: "uid-notification-badge__dot",
|
|
5999
6010
|
role: "status",
|
|
6000
6011
|
"aria-hidden": "true"
|
|
6001
|
-
},
|
|
6012
|
+
}, wc = ["aria-label"], Tc = /* @__PURE__ */ f({
|
|
6002
6013
|
__name: "UidNotificationBadge",
|
|
6003
6014
|
props: {
|
|
6004
6015
|
count: { default: 0 },
|
|
@@ -6025,22 +6036,22 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6025
6036
|
return (t, a) => (x(), c("span", {
|
|
6026
6037
|
class: _(["uid-notification-badge", [`uid-notification-badge--${e.placement}`, e.tone !== "danger" && `uid-notification-badge--${e.tone}`]]),
|
|
6027
6038
|
style: v(i.value)
|
|
6028
|
-
}, [E(t.$slots, "default"), n.value && e.dot ? (x(), c("span",
|
|
6039
|
+
}, [E(t.$slots, "default"), n.value && e.dot ? (x(), c("span", Cc)) : n.value ? (x(), c("span", {
|
|
6029
6040
|
key: 1,
|
|
6030
6041
|
class: "uid-notification-badge__count",
|
|
6031
6042
|
role: "status",
|
|
6032
6043
|
"aria-label": `${e.count}`
|
|
6033
|
-
}, k(r.value), 9,
|
|
6044
|
+
}, k(r.value), 9, wc)) : s("", !0)], 6));
|
|
6034
6045
|
}
|
|
6035
|
-
}),
|
|
6046
|
+
}), Ec = ["aria-hidden", "aria-label"], Dc = ["disabled"], Oc = ["disabled"], kc = {
|
|
6036
6047
|
key: 2,
|
|
6037
6048
|
class: "uid-carousel__indicators",
|
|
6038
6049
|
role: "tablist"
|
|
6039
|
-
},
|
|
6050
|
+
}, Ac = [
|
|
6040
6051
|
"aria-selected",
|
|
6041
6052
|
"aria-label",
|
|
6042
6053
|
"onClick"
|
|
6043
|
-
],
|
|
6054
|
+
], jc = /* @__PURE__ */ f({
|
|
6044
6055
|
__name: "UidCarousel",
|
|
6045
6056
|
props: /* @__PURE__ */ m({
|
|
6046
6057
|
items: {},
|
|
@@ -6132,7 +6143,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6132
6143
|
}, [E(r.$slots, "default", {
|
|
6133
6144
|
item: e,
|
|
6134
6145
|
index: t
|
|
6135
|
-
})], 8,
|
|
6146
|
+
})], 8, Ec))), 128))], 4),
|
|
6136
6147
|
n.showArrows && g.value > 1 ? (x(), c("button", {
|
|
6137
6148
|
key: 0,
|
|
6138
6149
|
type: "button",
|
|
@@ -6143,7 +6154,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6143
6154
|
}, [d(e, {
|
|
6144
6155
|
icon: n.direction === "vertical" ? j(ie) : j(re),
|
|
6145
6156
|
size: 20
|
|
6146
|
-
}, null, 8, ["icon"])], 8,
|
|
6157
|
+
}, null, 8, ["icon"])], 8, Dc)) : s("", !0),
|
|
6147
6158
|
n.showArrows && g.value > 1 ? (x(), c("button", {
|
|
6148
6159
|
key: 1,
|
|
6149
6160
|
type: "button",
|
|
@@ -6154,8 +6165,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6154
6165
|
}, [d(e, {
|
|
6155
6166
|
icon: n.direction === "vertical" ? j(Y) : j(X),
|
|
6156
6167
|
size: 20
|
|
6157
|
-
}, null, 8, ["icon"])], 8,
|
|
6158
|
-
n.showIndicators && g.value > 1 ? (x(), c("div",
|
|
6168
|
+
}, null, 8, ["icon"])], 8, Oc)) : s("", !0),
|
|
6169
|
+
n.showIndicators && g.value > 1 ? (x(), c("div", kc, [(x(!0), c(t, null, T(n.items, (e, t) => (x(), c("button", {
|
|
6159
6170
|
key: t,
|
|
6160
6171
|
type: "button",
|
|
6161
6172
|
class: _(["uid-carousel__indicator", { "uid-carousel__indicator--active": t === f.value }]),
|
|
@@ -6163,38 +6174,38 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6163
6174
|
"aria-selected": t === f.value,
|
|
6164
6175
|
"aria-label": `Слайд ${t + 1}`,
|
|
6165
6176
|
onClick: (e) => C(t)
|
|
6166
|
-
}, null, 10,
|
|
6177
|
+
}, null, 10, Ac))), 128))])) : s("", !0)
|
|
6167
6178
|
], 34));
|
|
6168
6179
|
}
|
|
6169
|
-
}),
|
|
6180
|
+
}), 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
6181
|
key: 0,
|
|
6171
6182
|
class: "uid-transfer__search"
|
|
6172
|
-
},
|
|
6183
|
+
}, Rc = ["placeholder"], zc = {
|
|
6173
6184
|
class: "uid-transfer__list",
|
|
6174
6185
|
role: "listbox",
|
|
6175
6186
|
"aria-multiselectable": "true"
|
|
6176
|
-
},
|
|
6187
|
+
}, Bc = [
|
|
6177
6188
|
"aria-selected",
|
|
6178
6189
|
"aria-disabled",
|
|
6179
6190
|
"onClick"
|
|
6180
|
-
],
|
|
6191
|
+
], Vc = { class: "uid-transfer__label" }, Hc = {
|
|
6181
6192
|
key: 0,
|
|
6182
6193
|
class: "uid-transfer__empty"
|
|
6183
|
-
},
|
|
6194
|
+
}, 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
6195
|
key: 0,
|
|
6185
6196
|
class: "uid-transfer__search"
|
|
6186
|
-
},
|
|
6197
|
+
}, Qc = ["placeholder"], $c = {
|
|
6187
6198
|
class: "uid-transfer__list",
|
|
6188
6199
|
role: "listbox",
|
|
6189
6200
|
"aria-multiselectable": "true"
|
|
6190
|
-
},
|
|
6201
|
+
}, el = [
|
|
6191
6202
|
"aria-selected",
|
|
6192
6203
|
"aria-disabled",
|
|
6193
6204
|
"onClick"
|
|
6194
|
-
],
|
|
6205
|
+
], tl = { class: "uid-transfer__label" }, nl = {
|
|
6195
6206
|
key: 0,
|
|
6196
6207
|
class: "uid-transfer__empty"
|
|
6197
|
-
},
|
|
6208
|
+
}, rl = /* @__PURE__ */ f({
|
|
6198
6209
|
__name: "UidTransfer",
|
|
6199
6210
|
props: /* @__PURE__ */ m({
|
|
6200
6211
|
items: {},
|
|
@@ -6245,8 +6256,8 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6245
6256
|
p.value = e, g.value = /* @__PURE__ */ new Set(), f("change", e);
|
|
6246
6257
|
}
|
|
6247
6258
|
return (r, i) => (x(), c("div", { class: _(["uid-transfer", { "uid-transfer--disabled": n.disabled }]) }, [
|
|
6248
|
-
l("div",
|
|
6249
|
-
l("div",
|
|
6259
|
+
l("div", Mc, [
|
|
6260
|
+
l("div", Nc, [l("span", Pc, [l("span", {
|
|
6250
6261
|
class: _(["uid-transfer__check", { "uid-transfer__check--checked": P.value }]),
|
|
6251
6262
|
role: "checkbox",
|
|
6252
6263
|
"aria-checked": P.value,
|
|
@@ -6257,14 +6268,14 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6257
6268
|
key: 0,
|
|
6258
6269
|
icon: j(q),
|
|
6259
6270
|
size: 10
|
|
6260
|
-
}, null, 8, ["icon"])) : s("", !0)], 42,
|
|
6261
|
-
n.searchable ? (x(), c("div",
|
|
6271
|
+
}, 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)]),
|
|
6272
|
+
n.searchable ? (x(), c("div", Lc, [B(l("input", {
|
|
6262
6273
|
"onUpdate:modelValue": i[3] ||= (e) => v.value = e,
|
|
6263
6274
|
class: "uid-transfer__search-input",
|
|
6264
6275
|
type: "text",
|
|
6265
6276
|
placeholder: j(m).common.search
|
|
6266
|
-
}, null, 8,
|
|
6267
|
-
l("ul",
|
|
6277
|
+
}, null, 8, Rc), [[I, v.value]])])) : s("", !0),
|
|
6278
|
+
l("ul", zc, [(x(!0), c(t, null, T(D.value, (t) => (x(), c("li", {
|
|
6268
6279
|
key: t.key,
|
|
6269
6280
|
class: _(["uid-transfer__item", { "uid-transfer__item--disabled": t.disabled }]),
|
|
6270
6281
|
role: "option",
|
|
@@ -6278,9 +6289,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6278
6289
|
key: 0,
|
|
6279
6290
|
icon: j(q),
|
|
6280
6291
|
size: 10
|
|
6281
|
-
}, null, 8, ["icon"])) : s("", !0)], 2), l("span",
|
|
6292
|
+
}, 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
6293
|
]),
|
|
6283
|
-
l("div",
|
|
6294
|
+
l("div", Uc, [l("button", {
|
|
6284
6295
|
type: "button",
|
|
6285
6296
|
class: "uid-transfer__op",
|
|
6286
6297
|
disabled: h.value.size === 0 || n.disabled,
|
|
@@ -6289,7 +6300,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6289
6300
|
}, [d(e, {
|
|
6290
6301
|
icon: j(X),
|
|
6291
6302
|
size: 16
|
|
6292
|
-
}, null, 8, ["icon"])], 8,
|
|
6303
|
+
}, null, 8, ["icon"])], 8, Wc), l("button", {
|
|
6293
6304
|
type: "button",
|
|
6294
6305
|
class: "uid-transfer__op",
|
|
6295
6306
|
disabled: g.value.size === 0 || n.disabled,
|
|
@@ -6298,9 +6309,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6298
6309
|
}, [d(e, {
|
|
6299
6310
|
icon: j(re),
|
|
6300
6311
|
size: 16
|
|
6301
|
-
}, null, 8, ["icon"])], 8,
|
|
6302
|
-
l("div",
|
|
6303
|
-
l("div",
|
|
6312
|
+
}, null, 8, ["icon"])], 8, Gc)]),
|
|
6313
|
+
l("div", Kc, [
|
|
6314
|
+
l("div", qc, [l("span", Jc, [l("span", {
|
|
6304
6315
|
class: _(["uid-transfer__check", { "uid-transfer__check--checked": F.value }]),
|
|
6305
6316
|
role: "checkbox",
|
|
6306
6317
|
"aria-checked": F.value,
|
|
@@ -6311,14 +6322,14 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6311
6322
|
key: 0,
|
|
6312
6323
|
icon: j(q),
|
|
6313
6324
|
size: 10
|
|
6314
|
-
}, null, 8, ["icon"])) : s("", !0)], 42,
|
|
6315
|
-
n.searchable ? (x(), c("div",
|
|
6325
|
+
}, 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)]),
|
|
6326
|
+
n.searchable ? (x(), c("div", Zc, [B(l("input", {
|
|
6316
6327
|
"onUpdate:modelValue": i[7] ||= (e) => y.value = e,
|
|
6317
6328
|
class: "uid-transfer__search-input",
|
|
6318
6329
|
type: "text",
|
|
6319
6330
|
placeholder: j(m).common.search
|
|
6320
|
-
}, null, 8,
|
|
6321
|
-
l("ul",
|
|
6331
|
+
}, null, 8, Qc), [[I, y.value]])])) : s("", !0),
|
|
6332
|
+
l("ul", $c, [(x(!0), c(t, null, T(O.value, (t) => (x(), c("li", {
|
|
6322
6333
|
key: t.key,
|
|
6323
6334
|
class: _(["uid-transfer__item", { "uid-transfer__item--disabled": t.disabled }]),
|
|
6324
6335
|
role: "option",
|
|
@@ -6332,30 +6343,30 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6332
6343
|
key: 0,
|
|
6333
6344
|
icon: j(q),
|
|
6334
6345
|
size: 10
|
|
6335
|
-
}, null, 8, ["icon"])) : s("", !0)], 2), l("span",
|
|
6346
|
+
}, 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
6347
|
])
|
|
6337
6348
|
], 2));
|
|
6338
6349
|
}
|
|
6339
|
-
}),
|
|
6350
|
+
}), il = {
|
|
6340
6351
|
key: 0,
|
|
6341
6352
|
class: "uid-cascader__label"
|
|
6342
|
-
},
|
|
6353
|
+
}, al = [
|
|
6343
6354
|
"aria-expanded",
|
|
6344
6355
|
"aria-disabled",
|
|
6345
6356
|
"aria-label"
|
|
6346
|
-
],
|
|
6357
|
+
], ol = { class: "uid-cascader__value" }, sl = {
|
|
6347
6358
|
key: 0,
|
|
6348
6359
|
class: "uid-cascader__separator"
|
|
6349
|
-
},
|
|
6360
|
+
}, cl = {
|
|
6350
6361
|
key: 1,
|
|
6351
6362
|
class: "uid-cascader__placeholder"
|
|
6352
|
-
},
|
|
6363
|
+
}, ll = { class: "uid-cascader__suffix" }, ul = ["aria-label"], dl = {
|
|
6353
6364
|
key: 1,
|
|
6354
6365
|
class: "uid-cascader__dropdown"
|
|
6355
|
-
},
|
|
6366
|
+
}, fl = ["onClick", "onMouseenter"], pl = { class: "uid-cascader__option-label" }, ml = {
|
|
6356
6367
|
key: 2,
|
|
6357
6368
|
class: "uid-cascader__hint"
|
|
6358
|
-
},
|
|
6369
|
+
}, hl = /* @__PURE__ */ f({
|
|
6359
6370
|
__name: "UidCascader",
|
|
6360
6371
|
props: /* @__PURE__ */ m({
|
|
6361
6372
|
options: {},
|
|
@@ -6460,7 +6471,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6460
6471
|
"uid-cascader--disabled": n.disabled
|
|
6461
6472
|
}])
|
|
6462
6473
|
}, [
|
|
6463
|
-
n.label ? (x(), c("label",
|
|
6474
|
+
n.label ? (x(), c("label", il, k(n.label), 1)) : s("", !0),
|
|
6464
6475
|
l("div", {
|
|
6465
6476
|
class: "uid-cascader__trigger",
|
|
6466
6477
|
tabindex: "0",
|
|
@@ -6471,7 +6482,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6471
6482
|
"aria-label": m.value,
|
|
6472
6483
|
onClick: A,
|
|
6473
6484
|
onKeydown: I
|
|
6474
|
-
}, [l("div",
|
|
6485
|
+
}, [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
6486
|
key: 0,
|
|
6476
6487
|
type: "button",
|
|
6477
6488
|
class: "uid-cascader__clear",
|
|
@@ -6480,12 +6491,12 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6480
6491
|
}, [d(e, {
|
|
6481
6492
|
icon: j(ye),
|
|
6482
6493
|
size: 14
|
|
6483
|
-
}, null, 8, ["icon"])], 8,
|
|
6494
|
+
}, null, 8, ["icon"])], 8, ul)) : s("", !0), d(e, {
|
|
6484
6495
|
icon: j(Y),
|
|
6485
6496
|
size: 16,
|
|
6486
6497
|
class: _(["uid-cascader__chevron", { "uid-cascader__chevron--open": h.value }])
|
|
6487
|
-
}, null, 8, ["icon", "class"])])], 40,
|
|
6488
|
-
h.value ? (x(), c("div",
|
|
6498
|
+
}, null, 8, ["icon", "class"])])], 40, al),
|
|
6499
|
+
h.value ? (x(), c("div", dl, [(x(!0), c(t, null, T(S.value, (r, i) => (x(), c("div", {
|
|
6489
6500
|
key: i,
|
|
6490
6501
|
class: "uid-cascader__column"
|
|
6491
6502
|
}, [(x(!0), c(t, null, T(r, (t) => (x(), c("button", {
|
|
@@ -6497,27 +6508,27 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6497
6508
|
}]),
|
|
6498
6509
|
onClick: (e) => M(t, i),
|
|
6499
6510
|
onMouseenter: (e) => n.expandTrigger === "hover" && t.children && M(t, i)
|
|
6500
|
-
}, [l("span",
|
|
6511
|
+
}, [l("span", pl, k(t.label), 1), t.children?.length ? (x(), o(e, {
|
|
6501
6512
|
key: 0,
|
|
6502
6513
|
icon: j(X),
|
|
6503
6514
|
size: 14,
|
|
6504
6515
|
class: "uid-cascader__option-arrow",
|
|
6505
6516
|
"aria-hidden": "true"
|
|
6506
|
-
}, null, 8, ["icon"])) : s("", !0)], 42,
|
|
6507
|
-
n.hint ? (x(), c("p",
|
|
6517
|
+
}, null, 8, ["icon"])) : s("", !0)], 42, fl))), 128))]))), 128))])) : s("", !0),
|
|
6518
|
+
n.hint ? (x(), c("p", ml, k(n.hint), 1)) : s("", !0)
|
|
6508
6519
|
], 2));
|
|
6509
6520
|
}
|
|
6510
|
-
}),
|
|
6521
|
+
}), 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
6522
|
"tabindex",
|
|
6512
6523
|
"aria-current",
|
|
6513
6524
|
"aria-selected",
|
|
6514
6525
|
"aria-label",
|
|
6515
6526
|
"onClick",
|
|
6516
6527
|
"onKeydown"
|
|
6517
|
-
],
|
|
6528
|
+
], wl = { class: "uid-calendar__date" }, Tl = { class: "uid-calendar__events" }, El = ["title", "onClick"], Dl = { class: "uid-calendar__event-label" }, Ol = {
|
|
6518
6529
|
key: 0,
|
|
6519
6530
|
class: "uid-calendar__more"
|
|
6520
|
-
},
|
|
6531
|
+
}, kl = /* @__PURE__ */ f({
|
|
6521
6532
|
__name: "UidCalendar",
|
|
6522
6533
|
props: /* @__PURE__ */ m({
|
|
6523
6534
|
events: { default: () => [] },
|
|
@@ -6604,7 +6615,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6604
6615
|
e.stopPropagation(), o("event-click", t);
|
|
6605
6616
|
}
|
|
6606
6617
|
return (r, i) => (x(), c("div", { class: _(["uid-calendar", { "uid-calendar--compact": n.compact }]) }, [
|
|
6607
|
-
l("div",
|
|
6618
|
+
l("div", gl, [l("span", _l, k(S.value), 1), l("div", vl, [
|
|
6608
6619
|
l("button", {
|
|
6609
6620
|
type: "button",
|
|
6610
6621
|
class: "uid-calendar__btn uid-calendar__btn--icon",
|
|
@@ -6613,7 +6624,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6613
6624
|
}, [d(e, {
|
|
6614
6625
|
icon: j(re),
|
|
6615
6626
|
size: 14
|
|
6616
|
-
}, null, 8, ["icon"])], 8,
|
|
6627
|
+
}, null, 8, ["icon"])], 8, yl),
|
|
6617
6628
|
l("button", {
|
|
6618
6629
|
type: "button",
|
|
6619
6630
|
class: "uid-calendar__btn",
|
|
@@ -6627,13 +6638,13 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6627
6638
|
}, [d(e, {
|
|
6628
6639
|
icon: j(X),
|
|
6629
6640
|
size: 14
|
|
6630
|
-
}, null, 8, ["icon"])], 8,
|
|
6641
|
+
}, null, 8, ["icon"])], 8, bl)
|
|
6631
6642
|
])]),
|
|
6632
|
-
l("div",
|
|
6643
|
+
l("div", xl, [(x(!0), c(t, null, T(j(f).datePicker.weekdaysShort, (e) => (x(), c("span", {
|
|
6633
6644
|
key: e,
|
|
6634
6645
|
class: "uid-calendar__weekday"
|
|
6635
6646
|
}, k(e), 1))), 128))]),
|
|
6636
|
-
l("div",
|
|
6647
|
+
l("div", Sl, [(x(!0), c(t, null, T(D.value, (e) => (x(), c("div", {
|
|
6637
6648
|
key: e.iso,
|
|
6638
6649
|
class: _(["uid-calendar__day", {
|
|
6639
6650
|
"uid-calendar__day--other": !e.current,
|
|
@@ -6648,30 +6659,30 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6648
6659
|
"aria-label": e.iso,
|
|
6649
6660
|
onClick: (t) => F(e),
|
|
6650
6661
|
onKeydown: [V(H((t) => F(e), ["prevent"]), ["enter"]), V(H((t) => F(e), ["prevent"]), ["space"])]
|
|
6651
|
-
}, [l("span",
|
|
6662
|
+
}, [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
6663
|
key: t.id ?? `${e.iso}-${n}`,
|
|
6653
6664
|
type: "button",
|
|
6654
6665
|
class: "uid-calendar__event",
|
|
6655
6666
|
style: v(t.color ? { "--uid-event-color": t.color } : void 0),
|
|
6656
6667
|
title: t.title,
|
|
6657
6668
|
onClick: (e) => I(e, t)
|
|
6658
|
-
}, [l("span",
|
|
6669
|
+
}, [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
6670
|
], 2));
|
|
6660
6671
|
}
|
|
6661
|
-
}),
|
|
6672
|
+
}), Al = ["aria-label"], jl = [
|
|
6662
6673
|
"viewBox",
|
|
6663
6674
|
"width",
|
|
6664
6675
|
"height"
|
|
6665
|
-
],
|
|
6676
|
+
], Ml = [
|
|
6666
6677
|
"x2",
|
|
6667
6678
|
"y1",
|
|
6668
6679
|
"y2"
|
|
6669
|
-
],
|
|
6680
|
+
], Nl = [
|
|
6670
6681
|
"x",
|
|
6671
6682
|
"y",
|
|
6672
6683
|
"width",
|
|
6673
6684
|
"height"
|
|
6674
|
-
],
|
|
6685
|
+
], Pl = ["d"], Fl = ["d"], Il = ["cx", "cy"], Ll = ["cx", "cy"], Rl = 2, zl = /* @__PURE__ */ f({
|
|
6675
6686
|
__name: "UidSparkline",
|
|
6676
6687
|
props: {
|
|
6677
6688
|
data: {},
|
|
@@ -6714,11 +6725,11 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6714
6725
|
};
|
|
6715
6726
|
});
|
|
6716
6727
|
function i(e, t) {
|
|
6717
|
-
return t <= 1 ? n.width / 2 :
|
|
6728
|
+
return t <= 1 ? n.width / 2 : Rl + e / (t - 1) * (n.width - Rl * 2);
|
|
6718
6729
|
}
|
|
6719
6730
|
function o(e) {
|
|
6720
6731
|
let t = r.value, i = (e - t.min) / (t.max - t.min);
|
|
6721
|
-
return n.height -
|
|
6732
|
+
return n.height - Rl - i * (n.height - Rl * 2);
|
|
6722
6733
|
}
|
|
6723
6734
|
let u = a(() => n.data.map((e, t) => ({
|
|
6724
6735
|
x: i(t, n.data.length),
|
|
@@ -6737,14 +6748,14 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6737
6748
|
}), f = a(() => {
|
|
6738
6749
|
let e = u.value;
|
|
6739
6750
|
if (e.length === 0) return "";
|
|
6740
|
-
let t = n.height -
|
|
6751
|
+
let t = n.height - Rl;
|
|
6741
6752
|
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
6753
|
}), p = a(() => {
|
|
6743
6754
|
let e = u.value, t = e.length;
|
|
6744
6755
|
if (t === 0) return [];
|
|
6745
|
-
let r = n.width -
|
|
6756
|
+
let r = n.width - Rl * 2, i = Math.max(1, r / t * .7), a = o(0);
|
|
6746
6757
|
return e.map((e, n) => {
|
|
6747
|
-
let o =
|
|
6758
|
+
let o = Rl + (n + .5) / t * r - i / 2, s = e.v < 0, c = s ? a : e.y, l = s ? e.y : a;
|
|
6748
6759
|
return {
|
|
6749
6760
|
x: o,
|
|
6750
6761
|
y: c,
|
|
@@ -6776,59 +6787,59 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6776
6787
|
x2: e.width,
|
|
6777
6788
|
y1: m.value,
|
|
6778
6789
|
y2: m.value
|
|
6779
|
-
}, null, 8,
|
|
6790
|
+
}, null, 8, Ml)) : s("", !0), e.type === "bar" ? (x(!0), c(t, { key: 1 }, T(p.value, (e, t) => (x(), c("rect", {
|
|
6780
6791
|
key: t,
|
|
6781
6792
|
class: _(["uid-sparkline__bar", { "uid-sparkline__bar--negative": e.negative }]),
|
|
6782
6793
|
x: e.x,
|
|
6783
6794
|
y: e.y,
|
|
6784
6795
|
width: e.width,
|
|
6785
6796
|
height: e.height
|
|
6786
|
-
}, null, 10,
|
|
6797
|
+
}, null, 10, Nl))), 128)) : (x(), c(t, { key: 2 }, [
|
|
6787
6798
|
e.type === "area" ? (x(), c("path", {
|
|
6788
6799
|
key: 0,
|
|
6789
6800
|
class: "uid-sparkline__area",
|
|
6790
6801
|
d: f.value
|
|
6791
|
-
}, null, 8,
|
|
6802
|
+
}, null, 8, Pl)) : s("", !0),
|
|
6792
6803
|
l("path", {
|
|
6793
6804
|
class: "uid-sparkline__line",
|
|
6794
6805
|
d: d.value
|
|
6795
|
-
}, null, 8,
|
|
6806
|
+
}, null, 8, Fl),
|
|
6796
6807
|
e.showDots ? (x(!0), c(t, { key: 1 }, T(u.value, (e, t) => (x(), c("circle", {
|
|
6797
6808
|
key: t,
|
|
6798
6809
|
class: "uid-sparkline__dot",
|
|
6799
6810
|
cx: e.x,
|
|
6800
6811
|
cy: e.y,
|
|
6801
6812
|
r: "2.5"
|
|
6802
|
-
}, null, 8,
|
|
6813
|
+
}, null, 8, Il))), 128)) : s("", !0),
|
|
6803
6814
|
e.showLast && g.value && !e.showDots ? (x(), c("circle", {
|
|
6804
6815
|
key: 2,
|
|
6805
6816
|
class: "uid-sparkline__dot uid-sparkline__dot--last",
|
|
6806
6817
|
cx: g.value.x,
|
|
6807
6818
|
cy: g.value.y,
|
|
6808
6819
|
r: "2.5"
|
|
6809
|
-
}, null, 8,
|
|
6810
|
-
], 64))], 8,
|
|
6820
|
+
}, null, 8, Ll)) : s("", !0)
|
|
6821
|
+
], 64))], 8, jl))], 12, Al));
|
|
6811
6822
|
}
|
|
6812
|
-
}),
|
|
6823
|
+
}), Bl = ["aria-valuemax", "aria-valuenow"], Vl = [
|
|
6813
6824
|
"width",
|
|
6814
6825
|
"height",
|
|
6815
6826
|
"viewBox"
|
|
6816
|
-
],
|
|
6827
|
+
], Hl = [
|
|
6817
6828
|
"cx",
|
|
6818
6829
|
"cy",
|
|
6819
6830
|
"r",
|
|
6820
6831
|
"stroke-width"
|
|
6821
|
-
],
|
|
6832
|
+
], Ul = [
|
|
6822
6833
|
"cx",
|
|
6823
6834
|
"cy",
|
|
6824
6835
|
"r",
|
|
6825
6836
|
"stroke-width",
|
|
6826
6837
|
"stroke-dasharray",
|
|
6827
6838
|
"stroke-dashoffset"
|
|
6828
|
-
],
|
|
6839
|
+
], Wl = {
|
|
6829
6840
|
key: 0,
|
|
6830
6841
|
class: "uid-progress-ring__label"
|
|
6831
|
-
},
|
|
6842
|
+
}, Gl = /* @__PURE__ */ f({
|
|
6832
6843
|
__name: "UidProgressRing",
|
|
6833
6844
|
props: {
|
|
6834
6845
|
value: { default: 0 },
|
|
@@ -6873,7 +6884,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6873
6884
|
cy: i.value,
|
|
6874
6885
|
r: n.value,
|
|
6875
6886
|
"stroke-width": e.strokeWidth
|
|
6876
|
-
}, null, 8,
|
|
6887
|
+
}, null, 8, Hl), l("circle", {
|
|
6877
6888
|
class: "uid-progress-ring__progress",
|
|
6878
6889
|
cx: i.value,
|
|
6879
6890
|
cy: i.value,
|
|
@@ -6881,50 +6892,50 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6881
6892
|
"stroke-width": e.strokeWidth,
|
|
6882
6893
|
"stroke-dasharray": r.value,
|
|
6883
6894
|
"stroke-dashoffset": f.value
|
|
6884
|
-
}, null, 8,
|
|
6895
|
+
}, 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
6896
|
}
|
|
6886
|
-
}),
|
|
6897
|
+
}), Kl = [
|
|
6887
6898
|
"aria-valuemin",
|
|
6888
6899
|
"aria-valuemax",
|
|
6889
6900
|
"aria-valuenow",
|
|
6890
6901
|
"aria-label"
|
|
6891
|
-
],
|
|
6902
|
+
], ql = [
|
|
6892
6903
|
"width",
|
|
6893
6904
|
"height",
|
|
6894
6905
|
"viewBox"
|
|
6895
|
-
],
|
|
6906
|
+
], Jl = ["d", "stroke-width"], Yl = [
|
|
6896
6907
|
"d",
|
|
6897
6908
|
"stroke",
|
|
6898
6909
|
"stroke-width",
|
|
6899
6910
|
"stroke-dasharray",
|
|
6900
6911
|
"stroke-dashoffset"
|
|
6901
|
-
],
|
|
6912
|
+
], Xl = [
|
|
6902
6913
|
"d",
|
|
6903
6914
|
"stroke-width",
|
|
6904
6915
|
"stroke-dasharray",
|
|
6905
6916
|
"stroke-dashoffset"
|
|
6906
|
-
],
|
|
6917
|
+
], Zl = { key: 2 }, Ql = [
|
|
6907
6918
|
"x1",
|
|
6908
6919
|
"y1",
|
|
6909
6920
|
"x2",
|
|
6910
6921
|
"y2",
|
|
6911
6922
|
"transform"
|
|
6912
|
-
],
|
|
6923
|
+
], $l = ["cx", "cy"], eu = {
|
|
6913
6924
|
key: 0,
|
|
6914
6925
|
class: "uid-gauge__content"
|
|
6915
|
-
},
|
|
6926
|
+
}, tu = {
|
|
6916
6927
|
key: 0,
|
|
6917
6928
|
class: "uid-gauge__value"
|
|
6918
|
-
},
|
|
6929
|
+
}, nu = {
|
|
6919
6930
|
key: 0,
|
|
6920
6931
|
class: "uid-gauge__suffix"
|
|
6921
|
-
},
|
|
6932
|
+
}, ru = {
|
|
6922
6933
|
key: 1,
|
|
6923
6934
|
class: "uid-gauge__label"
|
|
6924
|
-
},
|
|
6935
|
+
}, iu = {
|
|
6925
6936
|
key: 1,
|
|
6926
6937
|
class: "uid-gauge__limits"
|
|
6927
|
-
},
|
|
6938
|
+
}, au = 4, ou = /* @__PURE__ */ f({
|
|
6928
6939
|
__name: "UidGauge",
|
|
6929
6940
|
props: {
|
|
6930
6941
|
value: { default: 0 },
|
|
@@ -6953,7 +6964,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6953
6964
|
formatValue: {}
|
|
6954
6965
|
},
|
|
6955
6966
|
setup(e) {
|
|
6956
|
-
let n = e, r = a(() => (n.size - n.strokeWidth) / 2 -
|
|
6967
|
+
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
6968
|
let e = n.max - n.min;
|
|
6958
6969
|
return e <= 0 ? 0 : (f.value - n.min) / e;
|
|
6959
6970
|
}), m = a(() => {
|
|
@@ -6991,7 +7002,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
6991
7002
|
class: "uid-gauge__track",
|
|
6992
7003
|
d: m.value,
|
|
6993
7004
|
"stroke-width": e.strokeWidth
|
|
6994
|
-
}, null, 8,
|
|
7005
|
+
}, null, 8, Jl),
|
|
6995
7006
|
e.ranges && e.ranges.length ? (x(!0), c(t, { key: 0 }, T(e.ranges, (t, n) => (x(), c("path", {
|
|
6996
7007
|
key: n,
|
|
6997
7008
|
class: "uid-gauge__range",
|
|
@@ -7000,7 +7011,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7000
7011
|
"stroke-width": e.strokeWidth,
|
|
7001
7012
|
"stroke-dasharray": g(t).dasharray,
|
|
7002
7013
|
"stroke-dashoffset": g(t).dashoffset
|
|
7003
|
-
}, null, 8,
|
|
7014
|
+
}, null, 8, Yl))), 128)) : s("", !0),
|
|
7004
7015
|
!e.ranges || e.ranges.length === 0 ? (x(), c("path", {
|
|
7005
7016
|
key: 1,
|
|
7006
7017
|
class: "uid-gauge__progress",
|
|
@@ -7008,43 +7019,43 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7008
7019
|
"stroke-width": e.strokeWidth,
|
|
7009
7020
|
"stroke-dasharray": d.value,
|
|
7010
7021
|
"stroke-dashoffset": h.value
|
|
7011
|
-
}, null, 8,
|
|
7012
|
-
e.showNeedle ? (x(), c("g",
|
|
7022
|
+
}, null, 8, Xl)) : s("", !0),
|
|
7023
|
+
e.showNeedle ? (x(), c("g", Zl, [l("line", {
|
|
7013
7024
|
class: "uid-gauge__needle",
|
|
7014
7025
|
x1: i.value,
|
|
7015
7026
|
y1: o.value,
|
|
7016
7027
|
x2: i.value + r.value - e.strokeWidth,
|
|
7017
7028
|
y2: o.value,
|
|
7018
7029
|
transform: `rotate(${y.value} ${i.value} ${o.value})`
|
|
7019
|
-
}, null, 8,
|
|
7030
|
+
}, null, 8, Ql), l("circle", {
|
|
7020
7031
|
class: "uid-gauge__needle-pivot",
|
|
7021
7032
|
cx: i.value,
|
|
7022
7033
|
cy: o.value,
|
|
7023
7034
|
r: "4"
|
|
7024
|
-
}, null, 8,
|
|
7025
|
-
], 8,
|
|
7026
|
-
e.showValue || e.label ? (x(), c("div",
|
|
7027
|
-
e.showLimits ? (x(), c("div",
|
|
7028
|
-
], 14,
|
|
7035
|
+
}, null, 8, $l)])) : s("", !0)
|
|
7036
|
+
], 8, ql)),
|
|
7037
|
+
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),
|
|
7038
|
+
e.showLimits ? (x(), c("div", iu, [l("span", null, k(e.min), 1), l("span", null, k(e.max), 1)])) : s("", !0)
|
|
7039
|
+
], 14, Kl));
|
|
7029
7040
|
}
|
|
7030
|
-
}),
|
|
7041
|
+
}), su = ["aria-label"], cu = { class: "uid-heatmap__chart" }, lu = {
|
|
7031
7042
|
key: 0,
|
|
7032
7043
|
class: "uid-heatmap__weekdays",
|
|
7033
7044
|
"aria-hidden": "true"
|
|
7034
|
-
},
|
|
7045
|
+
}, uu = { class: "uid-heatmap__grid-wrapper" }, du = [
|
|
7035
7046
|
"width",
|
|
7036
7047
|
"height",
|
|
7037
7048
|
"viewBox"
|
|
7038
|
-
],
|
|
7049
|
+
], fu = [
|
|
7039
7050
|
"x",
|
|
7040
7051
|
"y",
|
|
7041
7052
|
"width",
|
|
7042
7053
|
"height",
|
|
7043
7054
|
"fill"
|
|
7044
|
-
],
|
|
7055
|
+
], pu = {
|
|
7045
7056
|
key: 0,
|
|
7046
7057
|
class: "uid-heatmap__legend"
|
|
7047
|
-
},
|
|
7058
|
+
}, mu = /* @__PURE__ */ f({
|
|
7048
7059
|
__name: "UidHeatmap",
|
|
7049
7060
|
props: {
|
|
7050
7061
|
data: {},
|
|
@@ -7150,10 +7161,10 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7150
7161
|
style: v(E.value),
|
|
7151
7162
|
role: "img",
|
|
7152
7163
|
"aria-label": M.value
|
|
7153
|
-
}, [l("div",
|
|
7164
|
+
}, [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
7165
|
key: e,
|
|
7155
7166
|
class: _(["uid-heatmap__weekday", { "uid-heatmap__weekday--visible": t === 0 || t === 2 || t === 4 }])
|
|
7156
|
-
}, k(e), 3))), 128))])) : s("", !0), l("div",
|
|
7167
|
+
}, k(e), 3))), 128))])) : s("", !0), l("div", uu, [e.showMonths ? (x(), c("div", {
|
|
7157
7168
|
key: 0,
|
|
7158
7169
|
class: "uid-heatmap__months",
|
|
7159
7170
|
style: v({ width: `${C.value}px` }),
|
|
@@ -7176,7 +7187,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7176
7187
|
width: e.cellSize,
|
|
7177
7188
|
height: e.cellSize,
|
|
7178
7189
|
fill: b(t.level)
|
|
7179
|
-
}, [l("title", null, k(O(t)), 1)], 8,
|
|
7190
|
+
}, [l("title", null, k(O(t)), 1)], 8, fu))), 128))], 8, du))])]), e.showLegend ? (x(), c("div", pu, [
|
|
7180
7191
|
i[0] ||= l("span", null, "Меньше", -1),
|
|
7181
7192
|
(x(!0), c(t, null, T(D.value, (e) => (x(), c("span", {
|
|
7182
7193
|
key: e,
|
|
@@ -7184,15 +7195,15 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7184
7195
|
style: v(e === 0 ? void 0 : { background: b(e) })
|
|
7185
7196
|
}, null, 4))), 128)),
|
|
7186
7197
|
i[1] ||= l("span", null, "Больше", -1)
|
|
7187
|
-
])) : s("", !0)], 12,
|
|
7198
|
+
])) : s("", !0)], 12, su));
|
|
7188
7199
|
}
|
|
7189
|
-
}),
|
|
7200
|
+
}), hu = ["aria-label"], gu = ["aria-current"], _u = { class: "uid-stepper__indicator" }, vu = {
|
|
7190
7201
|
key: 1,
|
|
7191
7202
|
"aria-hidden": "true"
|
|
7192
|
-
},
|
|
7203
|
+
}, yu = { class: "uid-stepper__content" }, bu = { class: "uid-stepper__label" }, xu = {
|
|
7193
7204
|
key: 0,
|
|
7194
7205
|
class: "uid-stepper__description"
|
|
7195
|
-
},
|
|
7206
|
+
}, Su = /* @__PURE__ */ f({
|
|
7196
7207
|
__name: "UidStepper",
|
|
7197
7208
|
props: {
|
|
7198
7209
|
steps: {},
|
|
@@ -7210,14 +7221,14 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7210
7221
|
key: i,
|
|
7211
7222
|
class: _(["uid-stepper__step", [`uid-stepper__step--${r(i, n.current)}`]]),
|
|
7212
7223
|
"aria-current": i === n.current ? "step" : void 0
|
|
7213
|
-
}, [l("div",
|
|
7224
|
+
}, [l("div", _u, [r(i, n.current) === "completed" ? (x(), o(e, {
|
|
7214
7225
|
key: 0,
|
|
7215
7226
|
icon: j(q),
|
|
7216
7227
|
size: 16,
|
|
7217
7228
|
"aria-hidden": "true"
|
|
7218
|
-
}, null, 8, ["icon"])) : (x(), c("span",
|
|
7229
|
+
}, null, 8, ["icon"])) : (x(), c("span", vu, k(i + 1), 1))]), l("div", yu, [l("span", bu, k(t.label), 1), t.description ? (x(), c("span", xu, k(t.description), 1)) : s("", !0)])], 10, gu))), 128))], 10, hu));
|
|
7219
7230
|
}
|
|
7220
|
-
}),
|
|
7231
|
+
}), Cu = /* @__PURE__ */ f({
|
|
7221
7232
|
__name: "UidStack",
|
|
7222
7233
|
props: {
|
|
7223
7234
|
direction: { default: "column" },
|
|
@@ -7263,7 +7274,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7263
7274
|
_: 3
|
|
7264
7275
|
}, 8, ["class", "style"]));
|
|
7265
7276
|
}
|
|
7266
|
-
}),
|
|
7277
|
+
}), wu = /* @__PURE__ */ f({
|
|
7267
7278
|
__name: "UidGrid",
|
|
7268
7279
|
props: {
|
|
7269
7280
|
cols: { default: 12 },
|
|
@@ -7296,7 +7307,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7296
7307
|
_: 3
|
|
7297
7308
|
}, 8, ["style"]));
|
|
7298
7309
|
}
|
|
7299
|
-
}),
|
|
7310
|
+
}), Tu = /* @__PURE__ */ f({
|
|
7300
7311
|
__name: "UidContainer",
|
|
7301
7312
|
props: {
|
|
7302
7313
|
size: { default: "lg" },
|
|
@@ -7312,7 +7323,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7312
7323
|
_: 3
|
|
7313
7324
|
}, 8, ["class"]));
|
|
7314
7325
|
}
|
|
7315
|
-
}),
|
|
7326
|
+
}), Eu = Symbol("uid-wizard"), Du = { class: "uid-wizard" }, Ou = /* @__PURE__ */ f({
|
|
7316
7327
|
__name: "UidWizard",
|
|
7317
7328
|
props: /* @__PURE__ */ m({ steps: {} }, {
|
|
7318
7329
|
modelValue: { default: 0 },
|
|
@@ -7337,7 +7348,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7337
7348
|
function m(e) {
|
|
7338
7349
|
i.delete(e);
|
|
7339
7350
|
}
|
|
7340
|
-
return S(
|
|
7351
|
+
return S(Eu, {
|
|
7341
7352
|
current: r,
|
|
7342
7353
|
steps: o,
|
|
7343
7354
|
isFirst: s,
|
|
@@ -7354,9 +7365,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7354
7365
|
goTo: f,
|
|
7355
7366
|
isFirst: s,
|
|
7356
7367
|
isLast: l
|
|
7357
|
-
}), (e, t) => (x(), c("div",
|
|
7368
|
+
}), (e, t) => (x(), c("div", Du, [E(e.$slots, "default")]));
|
|
7358
7369
|
}
|
|
7359
|
-
}),
|
|
7370
|
+
}), ku = ["aria-label"], Au = /* @__PURE__ */ f({
|
|
7360
7371
|
__name: "UidWizardStep",
|
|
7361
7372
|
props: {
|
|
7362
7373
|
index: {},
|
|
@@ -7366,7 +7377,7 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7366
7377
|
}
|
|
7367
7378
|
},
|
|
7368
7379
|
setup(e) {
|
|
7369
|
-
let t = e, n = p(
|
|
7380
|
+
let t = e, n = p(Eu);
|
|
7370
7381
|
if (!n) throw Error("UidWizardStep must be inside UidWizard");
|
|
7371
7382
|
R(() => t.validate, (e, r) => {
|
|
7372
7383
|
r !== void 0 && n.unregisterValidator(t.index), e !== void 0 && n.registerValidator(t.index, e);
|
|
@@ -7377,22 +7388,22 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7377
7388
|
class: "uid-wizard-step",
|
|
7378
7389
|
role: "tabpanel",
|
|
7379
7390
|
"aria-label": `Шаг ${e.index + 1}`
|
|
7380
|
-
}, [E(t.$slots, "default")], 8,
|
|
7391
|
+
}, [E(t.$slots, "default")], 8, ku)) : s("", !0);
|
|
7381
7392
|
}
|
|
7382
|
-
}),
|
|
7393
|
+
}), ju = { class: "uid-pattern-header__inner" }, Mu = {
|
|
7383
7394
|
key: 0,
|
|
7384
7395
|
class: "uid-pattern-header__logo"
|
|
7385
|
-
},
|
|
7396
|
+
}, Nu = {
|
|
7386
7397
|
key: 1,
|
|
7387
7398
|
class: "uid-pattern-header__nav",
|
|
7388
7399
|
"aria-label": "Основная навигация"
|
|
7389
|
-
},
|
|
7400
|
+
}, Pu = {
|
|
7390
7401
|
key: 2,
|
|
7391
7402
|
class: "uid-pattern-header__actions"
|
|
7392
|
-
},
|
|
7403
|
+
}, Fu = {
|
|
7393
7404
|
key: 3,
|
|
7394
7405
|
class: "uid-pattern-header__mobile"
|
|
7395
|
-
},
|
|
7406
|
+
}, Iu = /* @__PURE__ */ f({
|
|
7396
7407
|
__name: "UidHeader",
|
|
7397
7408
|
props: {
|
|
7398
7409
|
sticky: {
|
|
@@ -7413,38 +7424,38 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7413
7424
|
"uid-pattern-header--sticky": e.sticky,
|
|
7414
7425
|
"uid-pattern-header--bordered": e.bordered,
|
|
7415
7426
|
"uid-pattern-header--transparent": e.transparent
|
|
7416
|
-
}]) }, [l("div",
|
|
7417
|
-
t.$slots.logo ? (x(), c("div",
|
|
7418
|
-
t.$slots.nav ? (x(), c("nav",
|
|
7419
|
-
t.$slots.actions ? (x(), c("div",
|
|
7420
|
-
t.$slots.mobile ? (x(), c("div",
|
|
7427
|
+
}]) }, [l("div", ju, [
|
|
7428
|
+
t.$slots.logo ? (x(), c("div", Mu, [E(t.$slots, "logo")])) : s("", !0),
|
|
7429
|
+
t.$slots.nav ? (x(), c("nav", Nu, [E(t.$slots, "nav")])) : s("", !0),
|
|
7430
|
+
t.$slots.actions ? (x(), c("div", Pu, [E(t.$slots, "actions")])) : s("", !0),
|
|
7431
|
+
t.$slots.mobile ? (x(), c("div", Fu, [E(t.$slots, "mobile")])) : s("", !0)
|
|
7421
7432
|
])], 2));
|
|
7422
7433
|
}
|
|
7423
|
-
}),
|
|
7434
|
+
}), Lu = { class: "uid-pattern-footer__inner" }, Ru = {
|
|
7424
7435
|
key: 0,
|
|
7425
7436
|
class: "uid-pattern-footer__columns"
|
|
7426
|
-
},
|
|
7437
|
+
}, zu = {
|
|
7427
7438
|
key: 1,
|
|
7428
7439
|
class: "uid-pattern-footer__content"
|
|
7429
|
-
},
|
|
7440
|
+
}, Bu = {
|
|
7430
7441
|
key: 2,
|
|
7431
7442
|
class: "uid-pattern-footer__bottom"
|
|
7432
|
-
},
|
|
7443
|
+
}, Vu = /* @__PURE__ */ f({
|
|
7433
7444
|
__name: "UidFooter",
|
|
7434
7445
|
props: { variant: { default: "minimal" } },
|
|
7435
7446
|
setup(e) {
|
|
7436
|
-
return (t, n) => (x(), c("footer", { class: _(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div",
|
|
7447
|
+
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
7448
|
}
|
|
7438
|
-
}),
|
|
7449
|
+
}), Hu = {
|
|
7439
7450
|
key: 0,
|
|
7440
7451
|
class: "uid-pattern-sidebar__header"
|
|
7441
|
-
},
|
|
7452
|
+
}, Uu = {
|
|
7442
7453
|
class: "uid-pattern-sidebar__nav",
|
|
7443
7454
|
"aria-label": "Навигация"
|
|
7444
|
-
},
|
|
7455
|
+
}, Wu = {
|
|
7445
7456
|
key: 1,
|
|
7446
7457
|
class: "uid-pattern-sidebar__footer"
|
|
7447
|
-
},
|
|
7458
|
+
}, Gu = /* @__PURE__ */ f({
|
|
7448
7459
|
__name: "UidSidebar",
|
|
7449
7460
|
props: {
|
|
7450
7461
|
collapsed: {
|
|
@@ -7460,19 +7471,19 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7460
7471
|
style: v(e.width && !e.collapsed ? { "--uid-sidebar-width": e.width } : void 0),
|
|
7461
7472
|
"aria-label": "Боковая навигация"
|
|
7462
7473
|
}, [
|
|
7463
|
-
t.$slots.header ? (x(), c("div",
|
|
7464
|
-
l("nav",
|
|
7465
|
-
t.$slots.footer ? (x(), c("div",
|
|
7474
|
+
t.$slots.header ? (x(), c("div", Hu, [E(t.$slots, "header")])) : s("", !0),
|
|
7475
|
+
l("nav", Uu, [E(t.$slots, "nav")]),
|
|
7476
|
+
t.$slots.footer ? (x(), c("div", Wu, [E(t.$slots, "footer")])) : s("", !0)
|
|
7466
7477
|
], 6));
|
|
7467
7478
|
}
|
|
7468
|
-
}),
|
|
7479
|
+
}), Ku = {
|
|
7469
7480
|
key: 0,
|
|
7470
7481
|
class: "uid-sidebar-item__icon",
|
|
7471
7482
|
"aria-hidden": "true"
|
|
7472
|
-
},
|
|
7483
|
+
}, qu = { class: "uid-sidebar-item__label" }, Ju = {
|
|
7473
7484
|
key: 1,
|
|
7474
7485
|
class: "uid-sidebar-item__badge"
|
|
7475
|
-
},
|
|
7486
|
+
}, Yu = /* @__PURE__ */ f({
|
|
7476
7487
|
__name: "UidSidebarItem",
|
|
7477
7488
|
props: {
|
|
7478
7489
|
href: { default: void 0 },
|
|
@@ -7507,9 +7518,9 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7507
7518
|
tabindex: e.disabled ? -1 : void 0
|
|
7508
7519
|
}), {
|
|
7509
7520
|
default: z(() => [
|
|
7510
|
-
t.$slots.icon ? (x(), c("span",
|
|
7511
|
-
l("span",
|
|
7512
|
-
e.badge === void 0 ? s("", !0) : (x(), c("span",
|
|
7521
|
+
t.$slots.icon ? (x(), c("span", Ku, [E(t.$slots, "icon")])) : s("", !0),
|
|
7522
|
+
l("span", qu, [E(t.$slots, "default")]),
|
|
7523
|
+
e.badge === void 0 ? s("", !0) : (x(), c("span", Ju, k(e.badge), 1))
|
|
7513
7524
|
]),
|
|
7514
7525
|
_: 3
|
|
7515
7526
|
}, 16, [
|
|
@@ -7519,10 +7530,10 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7519
7530
|
"tabindex"
|
|
7520
7531
|
]));
|
|
7521
7532
|
}
|
|
7522
|
-
}),
|
|
7533
|
+
}), Xu = { class: "uid-sidebar-group" }, Zu = {
|
|
7523
7534
|
key: 0,
|
|
7524
7535
|
class: "uid-sidebar-group__title"
|
|
7525
|
-
},
|
|
7536
|
+
}, Qu = /* @__PURE__ */ f({
|
|
7526
7537
|
__name: "UidSidebarGroup",
|
|
7527
7538
|
props: {
|
|
7528
7539
|
title: { default: void 0 },
|
|
@@ -7532,29 +7543,29 @@ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n =
|
|
|
7532
7543
|
}
|
|
7533
7544
|
},
|
|
7534
7545
|
setup(e) {
|
|
7535
|
-
return (t, n) => (x(), c("div",
|
|
7546
|
+
return (t, n) => (x(), c("div", Xu, [e.title ? (x(), c("p", Zu, k(e.title), 1)) : s("", !0), E(t.$slots, "default")]));
|
|
7536
7547
|
}
|
|
7537
|
-
}),
|
|
7548
|
+
}), $u = {}, ed = {
|
|
7538
7549
|
class: "uid-sidebar-divider",
|
|
7539
7550
|
role: "separator",
|
|
7540
7551
|
"aria-hidden": "true"
|
|
7541
7552
|
};
|
|
7542
|
-
function
|
|
7543
|
-
return x(), c("div",
|
|
7553
|
+
function td(e, t) {
|
|
7554
|
+
return x(), c("div", ed);
|
|
7544
7555
|
}
|
|
7545
|
-
var
|
|
7556
|
+
var nd = /* @__PURE__ */ Jn($u, [["render", td]]), rd = { class: "uid-pattern-page-header" }, id = {
|
|
7546
7557
|
key: 0,
|
|
7547
7558
|
class: "uid-pattern-page-header__breadcrumb"
|
|
7548
|
-
},
|
|
7559
|
+
}, ad = { class: "uid-pattern-page-header__row" }, od = { class: "uid-pattern-page-header__heading" }, sd = { class: "uid-pattern-page-header__title" }, cd = {
|
|
7549
7560
|
key: 0,
|
|
7550
7561
|
class: "uid-pattern-page-header__description"
|
|
7551
|
-
},
|
|
7562
|
+
}, ld = {
|
|
7552
7563
|
key: 0,
|
|
7553
7564
|
class: "uid-pattern-page-header__actions"
|
|
7554
|
-
},
|
|
7565
|
+
}, ud = {
|
|
7555
7566
|
key: 1,
|
|
7556
7567
|
class: "uid-pattern-page-header__tabs"
|
|
7557
|
-
},
|
|
7568
|
+
}, dd = /* @__PURE__ */ f({
|
|
7558
7569
|
__name: "UidPageHeader",
|
|
7559
7570
|
props: {
|
|
7560
7571
|
title: { default: void 0 },
|
|
@@ -7567,9 +7578,9 @@ var td = /* @__PURE__ */ qn(Qu, [["render", ed]]), nd = { class: "uid-pattern-pa
|
|
|
7567
7578
|
emits: ["back"],
|
|
7568
7579
|
setup(t, { emit: n }) {
|
|
7569
7580
|
let r = n;
|
|
7570
|
-
return (n, i) => (x(), c("div",
|
|
7571
|
-
n.$slots.breadcrumb ? (x(), c("div",
|
|
7572
|
-
l("div",
|
|
7581
|
+
return (n, i) => (x(), c("div", rd, [
|
|
7582
|
+
n.$slots.breadcrumb ? (x(), c("div", id, [E(n.$slots, "breadcrumb")])) : s("", !0),
|
|
7583
|
+
l("div", ad, [l("div", od, [t.back ? (x(), c("button", {
|
|
7573
7584
|
key: 0,
|
|
7574
7585
|
type: "button",
|
|
7575
7586
|
class: "uid-pattern-page-header__back",
|
|
@@ -7578,42 +7589,42 @@ var td = /* @__PURE__ */ qn(Qu, [["render", ed]]), nd = { class: "uid-pattern-pa
|
|
|
7578
7589
|
}, [d(e, {
|
|
7579
7590
|
icon: j(ee),
|
|
7580
7591
|
size: 20
|
|
7581
|
-
}, null, 8, ["icon"])])) : s("", !0), l("div", null, [l("h1",
|
|
7582
|
-
n.$slots.tabs ? (x(), c("div",
|
|
7592
|
+
}, 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)]),
|
|
7593
|
+
n.$slots.tabs ? (x(), c("div", ud, [E(n.$slots, "tabs")])) : s("", !0)
|
|
7583
7594
|
]));
|
|
7584
7595
|
}
|
|
7585
|
-
}),
|
|
7596
|
+
}), 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
7597
|
key: 0,
|
|
7587
7598
|
class: "uid-pattern-empty-state__description"
|
|
7588
|
-
},
|
|
7599
|
+
}, _d = {
|
|
7589
7600
|
key: 0,
|
|
7590
7601
|
class: "uid-pattern-empty-state__actions"
|
|
7591
|
-
},
|
|
7602
|
+
}, vd = /* @__PURE__ */ f({
|
|
7592
7603
|
__name: "UidEmptyState",
|
|
7593
7604
|
props: {
|
|
7594
7605
|
title: { default: "Ничего не найдено" },
|
|
7595
7606
|
description: { default: void 0 }
|
|
7596
7607
|
},
|
|
7597
7608
|
setup(t) {
|
|
7598
|
-
return (n, r) => (x(), c("div",
|
|
7599
|
-
l("div",
|
|
7609
|
+
return (n, r) => (x(), c("div", fd, [
|
|
7610
|
+
l("div", pd, [E(n.$slots, "illustration", {}, () => [d(e, {
|
|
7600
7611
|
icon: j(ue),
|
|
7601
7612
|
size: 48
|
|
7602
7613
|
}, null, 8, ["icon"])])]),
|
|
7603
|
-
l("div",
|
|
7604
|
-
n.$slots.actions ? (x(), c("div",
|
|
7614
|
+
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)]),
|
|
7615
|
+
n.$slots.actions ? (x(), c("div", _d, [E(n.$slots, "actions")])) : s("", !0)
|
|
7605
7616
|
]));
|
|
7606
7617
|
}
|
|
7607
|
-
}),
|
|
7618
|
+
}), yd = { class: "uid-pattern-error-state" }, bd = { class: "uid-pattern-error-state__illustration" }, xd = {
|
|
7608
7619
|
key: 0,
|
|
7609
7620
|
class: "uid-pattern-error-state__code"
|
|
7610
|
-
},
|
|
7621
|
+
}, Sd = { class: "uid-pattern-error-state__content" }, Cd = { class: "uid-pattern-error-state__title" }, wd = {
|
|
7611
7622
|
key: 0,
|
|
7612
7623
|
class: "uid-pattern-error-state__description"
|
|
7613
|
-
},
|
|
7624
|
+
}, Td = {
|
|
7614
7625
|
key: 1,
|
|
7615
7626
|
class: "uid-pattern-error-state__actions"
|
|
7616
|
-
},
|
|
7627
|
+
}, Ed = /* @__PURE__ */ f({
|
|
7617
7628
|
__name: "UidErrorState",
|
|
7618
7629
|
props: {
|
|
7619
7630
|
code: { default: void 0 },
|
|
@@ -7638,23 +7649,23 @@ var td = /* @__PURE__ */ qn(Qu, [["render", ed]]), nd = { class: "uid-pattern-pa
|
|
|
7638
7649
|
description: "Проверьте подключение к интернету и попробуйте снова."
|
|
7639
7650
|
}
|
|
7640
7651
|
}, 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",
|
|
7642
|
-
l("div",
|
|
7652
|
+
return (n, r) => (x(), c("div", yd, [
|
|
7653
|
+
l("div", bd, [E(n.$slots, "illustration", {}, () => [d(e, {
|
|
7643
7654
|
icon: o.value,
|
|
7644
7655
|
size: 48
|
|
7645
7656
|
}, null, 8, ["icon"])])]),
|
|
7646
|
-
t.code ? (x(), c("div",
|
|
7647
|
-
l("div",
|
|
7648
|
-
n.$slots.actions ? (x(), c("div",
|
|
7657
|
+
t.code ? (x(), c("div", xd, k(t.code), 1)) : s("", !0),
|
|
7658
|
+
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)]),
|
|
7659
|
+
n.$slots.actions ? (x(), c("div", Td, [E(n.$slots, "actions")])) : s("", !0)
|
|
7649
7660
|
]));
|
|
7650
7661
|
}
|
|
7651
|
-
}),
|
|
7662
|
+
}), Dd = {
|
|
7652
7663
|
key: 0,
|
|
7653
7664
|
class: "uid-layout-simple__header"
|
|
7654
|
-
},
|
|
7665
|
+
}, Od = { class: "uid-layout-simple__content" }, kd = {
|
|
7655
7666
|
key: 1,
|
|
7656
7667
|
class: "uid-layout-simple__footer"
|
|
7657
|
-
},
|
|
7668
|
+
}, Ad = /* @__PURE__ */ f({
|
|
7658
7669
|
__name: "UidSimpleLayout",
|
|
7659
7670
|
props: { full: {
|
|
7660
7671
|
type: Boolean,
|
|
@@ -7662,26 +7673,26 @@ var td = /* @__PURE__ */ qn(Qu, [["render", ed]]), nd = { class: "uid-pattern-pa
|
|
|
7662
7673
|
} },
|
|
7663
7674
|
setup(e) {
|
|
7664
7675
|
return (t, n) => (x(), c("div", { class: _(["uid-layout-simple", { "uid-layout-simple--full": e.full }]) }, [
|
|
7665
|
-
t.$slots.header ? (x(), c("div",
|
|
7666
|
-
l("main",
|
|
7667
|
-
t.$slots.footer ? (x(), c("div",
|
|
7676
|
+
t.$slots.header ? (x(), c("div", Dd, [E(t.$slots, "header")])) : s("", !0),
|
|
7677
|
+
l("main", Od, [E(t.$slots, "default")]),
|
|
7678
|
+
t.$slots.footer ? (x(), c("div", kd, [E(t.$slots, "footer")])) : s("", !0)
|
|
7668
7679
|
], 2));
|
|
7669
7680
|
}
|
|
7670
|
-
}),
|
|
7671
|
-
function
|
|
7672
|
-
let e = p(
|
|
7681
|
+
}), jd = Symbol("uid-sidebar-layout");
|
|
7682
|
+
function Md() {
|
|
7683
|
+
let e = p(jd);
|
|
7673
7684
|
if (!e) throw Error("useSidebar() must be used inside UidSidebarLayout");
|
|
7674
7685
|
return e;
|
|
7675
7686
|
}
|
|
7676
7687
|
//#endregion
|
|
7677
7688
|
//#region src/layouts/Sidebar/UidSidebarLayout.vue?vue&type=script&setup=true&lang.ts
|
|
7678
|
-
var
|
|
7689
|
+
var Nd = { class: "uid-layout-sidebar__sidebar" }, Pd = { class: "uid-layout-sidebar__main" }, Fd = {
|
|
7679
7690
|
key: 0,
|
|
7680
7691
|
class: "uid-layout-sidebar__main-header"
|
|
7681
|
-
},
|
|
7692
|
+
}, Id = { class: "uid-layout-sidebar__main-content" }, Ld = {
|
|
7682
7693
|
key: 1,
|
|
7683
7694
|
class: "uid-layout-sidebar__main-footer"
|
|
7684
|
-
},
|
|
7695
|
+
}, Rd = /* @__PURE__ */ f({
|
|
7685
7696
|
__name: "UidSidebarLayout",
|
|
7686
7697
|
props: /* @__PURE__ */ m({ sidebarWidth: { default: void 0 } }, {
|
|
7687
7698
|
modelValue: {
|
|
@@ -7699,7 +7710,7 @@ var Md = { class: "uid-layout-sidebar__sidebar" }, Nd = { class: "uid-layout-sid
|
|
|
7699
7710
|
}, o = () => {
|
|
7700
7711
|
n.value = !0;
|
|
7701
7712
|
};
|
|
7702
|
-
S(
|
|
7713
|
+
S(jd, {
|
|
7703
7714
|
collapsed: n,
|
|
7704
7715
|
toggle: r,
|
|
7705
7716
|
open: i,
|
|
@@ -7710,58 +7721,58 @@ var Md = { class: "uid-layout-sidebar__sidebar" }, Nd = { class: "uid-layout-sid
|
|
|
7710
7721
|
class: _(["uid-layout-sidebar", { "uid-layout-sidebar--collapsed": n.value }]),
|
|
7711
7722
|
style: v(u.value)
|
|
7712
7723
|
}, [
|
|
7713
|
-
l("aside",
|
|
7724
|
+
l("aside", Nd, [E(e.$slots, "sidebar")]),
|
|
7714
7725
|
l("div", {
|
|
7715
7726
|
class: "uid-layout-sidebar__backdrop",
|
|
7716
7727
|
"aria-hidden": "true",
|
|
7717
7728
|
onClick: o
|
|
7718
7729
|
}),
|
|
7719
|
-
l("div",
|
|
7720
|
-
e.$slots.header ? (x(), c("div",
|
|
7721
|
-
l("main",
|
|
7722
|
-
e.$slots.footer ? (x(), c("div",
|
|
7730
|
+
l("div", Pd, [
|
|
7731
|
+
e.$slots.header ? (x(), c("div", Fd, [E(e.$slots, "header")])) : s("", !0),
|
|
7732
|
+
l("main", Id, [E(e.$slots, "default")]),
|
|
7733
|
+
e.$slots.footer ? (x(), c("div", Ld, [E(e.$slots, "footer")])) : s("", !0)
|
|
7723
7734
|
])
|
|
7724
7735
|
], 6));
|
|
7725
7736
|
}
|
|
7726
|
-
}),
|
|
7737
|
+
}), zd = {
|
|
7727
7738
|
key: 0,
|
|
7728
7739
|
class: "uid-layout-auth__brand"
|
|
7729
|
-
},
|
|
7740
|
+
}, Bd = { class: "uid-layout-auth__main" }, Vd = { class: "uid-layout-auth__card" }, Hd = {
|
|
7730
7741
|
key: 0,
|
|
7731
7742
|
class: "uid-layout-auth__footer"
|
|
7732
|
-
},
|
|
7743
|
+
}, Ud = /* @__PURE__ */ f({
|
|
7733
7744
|
__name: "UidAuthLayout",
|
|
7734
7745
|
props: { variant: { default: "centered" } },
|
|
7735
7746
|
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",
|
|
7747
|
+
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
7748
|
}
|
|
7738
|
-
}),
|
|
7749
|
+
}), Wd = { class: "uid-layout-wizard" }, Gd = {
|
|
7739
7750
|
key: 0,
|
|
7740
7751
|
class: "uid-layout-wizard__header"
|
|
7741
|
-
},
|
|
7752
|
+
}, Kd = {
|
|
7742
7753
|
key: 1,
|
|
7743
7754
|
class: "uid-layout-wizard__stepper"
|
|
7744
|
-
},
|
|
7755
|
+
}, qd = { class: "uid-layout-wizard__content" }, Jd = {
|
|
7745
7756
|
key: 2,
|
|
7746
7757
|
class: "uid-layout-wizard__nav"
|
|
7747
|
-
},
|
|
7758
|
+
}, Yd = /* @__PURE__ */ f({
|
|
7748
7759
|
__name: "UidWizardLayout",
|
|
7749
7760
|
setup(e) {
|
|
7750
|
-
return (e, t) => (x(), c("div",
|
|
7751
|
-
e.$slots.header ? (x(), c("div",
|
|
7752
|
-
e.$slots.stepper ? (x(), c("div",
|
|
7753
|
-
l("main",
|
|
7754
|
-
e.$slots.nav ? (x(), c("div",
|
|
7761
|
+
return (e, t) => (x(), c("div", Wd, [
|
|
7762
|
+
e.$slots.header ? (x(), c("div", Gd, [E(e.$slots, "header")])) : s("", !0),
|
|
7763
|
+
e.$slots.stepper ? (x(), c("div", Kd, [E(e.$slots, "stepper")])) : s("", !0),
|
|
7764
|
+
l("main", qd, [E(e.$slots, "default")]),
|
|
7765
|
+
e.$slots.nav ? (x(), c("div", Jd, [E(e.$slots, "nav")])) : s("", !0)
|
|
7755
7766
|
]));
|
|
7756
7767
|
}
|
|
7757
|
-
}),
|
|
7768
|
+
}), Xd = /* @__PURE__ */ f({
|
|
7758
7769
|
__name: "UidLocaleProvider",
|
|
7759
7770
|
props: { locale: {} },
|
|
7760
7771
|
setup(e) {
|
|
7761
7772
|
let t = e;
|
|
7762
7773
|
return Wt(a(() => t.locale)), (e, t) => E(e.$slots, "default");
|
|
7763
7774
|
}
|
|
7764
|
-
}),
|
|
7775
|
+
}), Zd = {
|
|
7765
7776
|
common: {
|
|
7766
7777
|
clear: "Clear",
|
|
7767
7778
|
close: "Close",
|
|
@@ -7860,19 +7871,19 @@ var Md = { class: "uid-layout-sidebar__sidebar" }, Nd = { class: "uid-layout-sid
|
|
|
7860
7871
|
page: (e) => `Page ${e}`,
|
|
7861
7872
|
pageSize: (e) => `${e} per page`
|
|
7862
7873
|
}
|
|
7863
|
-
},
|
|
7864
|
-
function
|
|
7874
|
+
}, Qd = w("light");
|
|
7875
|
+
function $d() {
|
|
7865
7876
|
let e = null;
|
|
7866
7877
|
function t(e) {
|
|
7867
|
-
|
|
7878
|
+
Qd.value = e, document.documentElement.dataset.theme = e;
|
|
7868
7879
|
}
|
|
7869
7880
|
function n() {
|
|
7870
|
-
t(
|
|
7881
|
+
t(Qd.value === "light" ? "dark" : "light");
|
|
7871
7882
|
}
|
|
7872
7883
|
function r() {
|
|
7873
7884
|
let e = document.documentElement.dataset.theme;
|
|
7874
7885
|
if (e === "light" || e === "dark") {
|
|
7875
|
-
|
|
7886
|
+
Qd.value = e;
|
|
7876
7887
|
return;
|
|
7877
7888
|
}
|
|
7878
7889
|
let n = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
@@ -7884,7 +7895,7 @@ function Qd() {
|
|
|
7884
7895
|
e.addEventListener("change", n), b(() => e?.removeEventListener("change", n));
|
|
7885
7896
|
}
|
|
7886
7897
|
return {
|
|
7887
|
-
theme:
|
|
7898
|
+
theme: Qd,
|
|
7888
7899
|
setTheme: t,
|
|
7889
7900
|
toggle: n,
|
|
7890
7901
|
initFromSystem: r,
|
|
@@ -7893,27 +7904,27 @@ function Qd() {
|
|
|
7893
7904
|
}
|
|
7894
7905
|
//#endregion
|
|
7895
7906
|
//#region src/composables/useWizard.ts
|
|
7896
|
-
function
|
|
7897
|
-
let e = p(
|
|
7907
|
+
function ef() {
|
|
7908
|
+
let e = p(Eu);
|
|
7898
7909
|
if (!e) throw Error("useWizard() must be used inside UidWizard");
|
|
7899
7910
|
return e;
|
|
7900
7911
|
}
|
|
7901
7912
|
//#endregion
|
|
7902
7913
|
//#region src/composables/useCommandPalette.ts
|
|
7903
|
-
var
|
|
7904
|
-
function
|
|
7914
|
+
var tf = w(!1);
|
|
7915
|
+
function nf() {
|
|
7905
7916
|
return {
|
|
7906
|
-
open:
|
|
7917
|
+
open: tf,
|
|
7907
7918
|
show: () => {
|
|
7908
|
-
|
|
7919
|
+
tf.value = !0;
|
|
7909
7920
|
},
|
|
7910
7921
|
hide: () => {
|
|
7911
|
-
|
|
7922
|
+
tf.value = !1;
|
|
7912
7923
|
},
|
|
7913
7924
|
toggle: () => {
|
|
7914
|
-
|
|
7925
|
+
tf.value = !tf.value;
|
|
7915
7926
|
}
|
|
7916
7927
|
};
|
|
7917
7928
|
}
|
|
7918
7929
|
//#endregion
|
|
7919
|
-
export {
|
|
7930
|
+
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 };
|