prlg-ui 1.8.141 → 1.8.142
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/prlg-ui.cjs.js +1 -1
- package/dist/prlg-ui.css +1 -1
- package/dist/prlg-ui.es.js +86 -86
- package/package.json +1 -1
package/dist/prlg-ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as W, computed as P, resolveComponent as il, createBlock as
|
|
1
|
+
import { defineComponent as W, computed as P, resolveComponent as il, createBlock as Z, openBlock as d, resolveDynamicComponent as Pe, normalizeClass as z, withCtx as oe, createCommentVNode as O, createElementBlock as y, renderSlot as ee, Fragment as re, createTextVNode as ve, toDisplayString as Y, ref as M, useTemplateRef as Ze, onMounted as me, createElementVNode as w, createVNode as j, renderList as he, unref as $, mergeModels as ae, useModel as ie, watch as J, shallowRef as Oe, getCurrentScope as Ml, onScopeDispose as Al, shallowReadonly as We, toRefs as Ol, useId as nt, onUnmounted as xe, Transition as Ie, normalizeStyle as le, nextTick as fe, withModifiers as ge, withDirectives as be, vModelRadio as Bl, vModelText as ze, provide as $e, toRef as je, useSlots as ul, inject as ye, vModelCheckbox as cl, vModelDynamic as El, toValue as Ye, isRef as Ll, vModelSelect as Dl, createStaticVNode as zl, Teleport as Le, reactive as Rt, TransitionGroup as Hl, vShow as dl, useCssVars as Kl, createApp as Fl } from "vue";
|
|
2
2
|
import { P as fl, h as ql, i as Nl, I as vl, e as ct, C as yt, A as Wl, a as ml, f as Yl, M as jl, S as Ul, g as Zl, b as Ql, c as Xl, E as Gl, B as Jl, d as en, Q as tn, W as qt } from "./QuestionIcon-tK1kUB_h.js";
|
|
3
3
|
import { o as ln, d as se } from "./parseFileSize.util-CxVk4CvB.js";
|
|
4
4
|
import { _ as ue, C as et, a as nn } from "./FileIcon-maHE2Nhr.js";
|
|
@@ -36,13 +36,13 @@ const an = {
|
|
|
36
36
|
"button--full": e.full
|
|
37
37
|
}
|
|
38
38
|
]);
|
|
39
|
-
return (n, o) => (d(),
|
|
39
|
+
return (n, o) => (d(), Z(Pe(l.value), {
|
|
40
40
|
to: n.url,
|
|
41
41
|
class: z(t.value),
|
|
42
42
|
disabled: n.disabled
|
|
43
43
|
}, {
|
|
44
44
|
default: oe(() => [
|
|
45
|
-
n.icon ? (d(),
|
|
45
|
+
n.icon ? (d(), Z(Pe(n.icon), {
|
|
46
46
|
key: 0,
|
|
47
47
|
class: "button__icon"
|
|
48
48
|
})) : O("", !0),
|
|
@@ -85,7 +85,7 @@ const an = {
|
|
|
85
85
|
key: u.label,
|
|
86
86
|
onClick: (r) => i(u)
|
|
87
87
|
}, [
|
|
88
|
-
u.icon ? (d(),
|
|
88
|
+
u.icon ? (d(), Z(Pe(u.icon), {
|
|
89
89
|
key: 0,
|
|
90
90
|
class: "sleed-deal-menu__item-icon"
|
|
91
91
|
})) : O("", !0),
|
|
@@ -586,7 +586,7 @@ const Mn = (e) => ({
|
|
|
586
586
|
const K = (((B = i.flip) == null ? void 0 : B.index) || 0) + 1, x = f[K];
|
|
587
587
|
if (x && (!(v === "alignment" ? C !== Be(x) : !1) || // We leave the current main axis only if every placement on that axis
|
|
588
588
|
// overflows the main axis.
|
|
589
|
-
R.every((
|
|
589
|
+
R.every((U) => Be(U.placement) === C ? U.overflows[0] > 0 : !0)))
|
|
590
590
|
return {
|
|
591
591
|
data: {
|
|
592
592
|
index: K,
|
|
@@ -596,20 +596,20 @@ const Mn = (e) => ({
|
|
|
596
596
|
placement: x
|
|
597
597
|
}
|
|
598
598
|
};
|
|
599
|
-
let T = (q = R.filter((H) => H.overflows[0] <= 0).sort((H,
|
|
599
|
+
let T = (q = R.filter((H) => H.overflows[0] <= 0).sort((H, U) => H.overflows[1] - U.overflows[1])[0]) == null ? void 0 : q.placement;
|
|
600
600
|
if (!T)
|
|
601
601
|
switch (b) {
|
|
602
602
|
case "bestFit": {
|
|
603
603
|
var F;
|
|
604
|
-
const H = (F = R.filter((
|
|
604
|
+
const H = (F = R.filter((U) => {
|
|
605
605
|
if (g) {
|
|
606
|
-
const X = Be(
|
|
606
|
+
const X = Be(U.placement);
|
|
607
607
|
return X === C || // Create a bias to the `y` side axis due to horizontal
|
|
608
608
|
// reading directions favoring greater width.
|
|
609
609
|
X === "y";
|
|
610
610
|
}
|
|
611
611
|
return !0;
|
|
612
|
-
}).map((
|
|
612
|
+
}).map((U) => [U.placement, U.overflows.filter((X) => X > 0).reduce((X, V) => X + V, 0)]).sort((U, X) => U[1] - X[1])[0]) == null ? void 0 : F[0];
|
|
613
613
|
H && (T = H);
|
|
614
614
|
break;
|
|
615
615
|
}
|
|
@@ -1464,19 +1464,19 @@ const mo = {
|
|
|
1464
1464
|
middleware: [Jt(), pt(8)]
|
|
1465
1465
|
}), p = nt(), k = M(!1), R = M(!1), B = M(!1), { lockScroll: q, unlockScroll: F } = ot(), K = M(null), x = M(null), T = () => {
|
|
1466
1466
|
E(), R.value && f();
|
|
1467
|
-
}, H = P(() => u && u.value !== void 0),
|
|
1467
|
+
}, H = P(() => u && u.value !== void 0), U = P({
|
|
1468
1468
|
get: () => H.value ? u?.value : k.value,
|
|
1469
1469
|
set: (te) => {
|
|
1470
1470
|
H.value ? r("update:modelValue", te) : k.value = te;
|
|
1471
1471
|
}
|
|
1472
1472
|
}), X = () => {
|
|
1473
|
-
|
|
1473
|
+
U.value = !0;
|
|
1474
1474
|
}, V = () => {
|
|
1475
|
-
|
|
1475
|
+
U.value = !1, Q();
|
|
1476
1476
|
}, D = () => {
|
|
1477
|
-
|
|
1477
|
+
U.value = !U.value;
|
|
1478
1478
|
}, N = () => {
|
|
1479
|
-
H.value ? X() : D();
|
|
1479
|
+
H.value ? U.value ? V() : X() : D();
|
|
1480
1480
|
}, G = async (te) => {
|
|
1481
1481
|
te && te.stopPropagation(), v.value && (R.value = !0);
|
|
1482
1482
|
}, Q = () => {
|
|
@@ -1511,9 +1511,9 @@ const mo = {
|
|
|
1511
1511
|
}
|
|
1512
1512
|
});
|
|
1513
1513
|
return J(C, (te) => {
|
|
1514
|
-
H.value || (
|
|
1514
|
+
H.value || (U.value = te.hide?.referenceHidden === !1);
|
|
1515
1515
|
}), J(
|
|
1516
|
-
|
|
1516
|
+
U,
|
|
1517
1517
|
async (te) => {
|
|
1518
1518
|
te || (Q(), B.value = !1), te && s.value === "button-only" ? (q(), setTimeout(() => {
|
|
1519
1519
|
T(), B.value = !0;
|
|
@@ -1541,7 +1541,7 @@ const mo = {
|
|
|
1541
1541
|
if (window.addEventListener("scroll", it, { passive: !0 }), window.addEventListener("resize", Rl), window.addEventListener("orientationchange", T), c.value) {
|
|
1542
1542
|
let Ne = null;
|
|
1543
1543
|
K.value = new ResizeObserver(() => {
|
|
1544
|
-
|
|
1544
|
+
U.value && (Ne && clearTimeout(Ne), Ne = setTimeout(() => {
|
|
1545
1545
|
T(), Ne = null;
|
|
1546
1546
|
}, 100));
|
|
1547
1547
|
}), K.value.observe(c.value);
|
|
@@ -1558,7 +1558,7 @@ const mo = {
|
|
|
1558
1558
|
attributeFilter: ["style", "class"]
|
|
1559
1559
|
});
|
|
1560
1560
|
}), xe(() => {
|
|
1561
|
-
document.removeEventListener("click", ne), window.removeEventListener("resize", T), window.removeEventListener("scroll", T), window.removeEventListener("orientationchange", T), K.value && K.value.disconnect(), x.value && x.value.disconnect(), s.value === "button-only" &&
|
|
1561
|
+
document.removeEventListener("click", ne), window.removeEventListener("resize", T), window.removeEventListener("scroll", T), window.removeEventListener("orientationchange", T), K.value && K.value.disconnect(), x.value && x.value.disconnect(), s.value === "button-only" && U.value && F();
|
|
1562
1562
|
}), l({
|
|
1563
1563
|
open: X,
|
|
1564
1564
|
close: V,
|
|
@@ -1567,7 +1567,7 @@ const mo = {
|
|
|
1567
1567
|
forceUpdatePosition: () => {
|
|
1568
1568
|
T();
|
|
1569
1569
|
},
|
|
1570
|
-
isOpen:
|
|
1570
|
+
isOpen: U,
|
|
1571
1571
|
isSecondScreenOpen: R
|
|
1572
1572
|
}), (te, pe) => (d(), y("div", {
|
|
1573
1573
|
class: z(["popover", { "popover--with-arrow": $(a) }])
|
|
@@ -1582,13 +1582,13 @@ const mo = {
|
|
|
1582
1582
|
w("div", null, [
|
|
1583
1583
|
j(Ie, { name: "fade" }, {
|
|
1584
1584
|
default: oe(() => [
|
|
1585
|
-
|
|
1585
|
+
U.value && $(s) === "button-only" ? (d(), y("div", mo)) : O("", !0)
|
|
1586
1586
|
]),
|
|
1587
1587
|
_: 1
|
|
1588
1588
|
}),
|
|
1589
1589
|
j(Ie, { name: "fade" }, {
|
|
1590
1590
|
default: oe(() => [
|
|
1591
|
-
|
|
1591
|
+
U.value ? (d(), y("div", {
|
|
1592
1592
|
key: 0,
|
|
1593
1593
|
class: z(["popover__wrapper", [
|
|
1594
1594
|
`popover__wrapper--${$(p)}`,
|
|
@@ -1638,13 +1638,13 @@ const mo = {
|
|
|
1638
1638
|
])
|
|
1639
1639
|
], 2));
|
|
1640
1640
|
}
|
|
1641
|
-
}), yo = /* @__PURE__ */ ue(ho, [["__scopeId", "data-v-
|
|
1641
|
+
}), yo = /* @__PURE__ */ ue(ho, [["__scopeId", "data-v-6bd394ab"]]), bo = { class: "trigger" }, wo = { class: "description-column" }, ko = /* @__PURE__ */ W({
|
|
1642
1642
|
__name: "DescriptionColumn",
|
|
1643
1643
|
props: {
|
|
1644
1644
|
description: {}
|
|
1645
1645
|
},
|
|
1646
1646
|
setup(e) {
|
|
1647
|
-
return (l, t) => (d(),
|
|
1647
|
+
return (l, t) => (d(), Z($(yo), {
|
|
1648
1648
|
size: "small",
|
|
1649
1649
|
trigger: "hover",
|
|
1650
1650
|
placement: "top-start",
|
|
@@ -1701,7 +1701,7 @@ const mo = {
|
|
|
1701
1701
|
w("div", {
|
|
1702
1702
|
class: z(["table-header__cell-body", { "table-header__cell-body--center": u.selectionMode }])
|
|
1703
1703
|
}, [
|
|
1704
|
-
u.selectionMode && u.selectionMode === "multiple" ? (d(),
|
|
1704
|
+
u.selectionMode && u.selectionMode === "multiple" ? (d(), Z($(at), {
|
|
1705
1705
|
key: 0,
|
|
1706
1706
|
size: "small",
|
|
1707
1707
|
checked: a.isSelectedAll,
|
|
@@ -1709,13 +1709,13 @@ const mo = {
|
|
|
1709
1709
|
onChange: s[0] || (s[0] = (c) => t("selectAllRow"))
|
|
1710
1710
|
}, null, 8, ["checked", "indeterminate"])) : O("", !0),
|
|
1711
1711
|
u.header ? (d(), y("span", Co, Y(u.header), 1)) : O("", !0),
|
|
1712
|
-
u.description ? (d(),
|
|
1712
|
+
u.description ? (d(), Z($o, {
|
|
1713
1713
|
key: 2,
|
|
1714
1714
|
description: u.description,
|
|
1715
1715
|
class: "table-header__cell-description"
|
|
1716
1716
|
}, null, 8, ["description"])) : O("", !0),
|
|
1717
1717
|
u.field && a.sortField && a.sortField.includes(u.field) ? (d(), y("div", _o, [
|
|
1718
|
-
u.field ? (d(),
|
|
1718
|
+
u.field ? (d(), Z(bn, {
|
|
1719
1719
|
key: 0,
|
|
1720
1720
|
field: u.field,
|
|
1721
1721
|
onUpdateSort: s[1] || (s[1] = (c) => t("update:sort", c))
|
|
@@ -1747,17 +1747,17 @@ const mo = {
|
|
|
1747
1747
|
return (s, u) => (d(), y("td", {
|
|
1748
1748
|
class: z(i.value)
|
|
1749
1749
|
}, [
|
|
1750
|
-
s.column.selectionMode && s.column.selectionMode === "multiple" ? (d(),
|
|
1750
|
+
s.column.selectionMode && s.column.selectionMode === "multiple" ? (d(), Z($(at), {
|
|
1751
1751
|
key: 0,
|
|
1752
1752
|
size: "small",
|
|
1753
1753
|
checked: o.value,
|
|
1754
1754
|
onChange: u[0] || (u[0] = (r) => t("toggleRow", s.item))
|
|
1755
|
-
}, null, 8, ["checked"])) : s.column.selectionMode && s.column.selectionMode === "single" ? (d(),
|
|
1755
|
+
}, null, 8, ["checked"])) : s.column.selectionMode && s.column.selectionMode === "single" ? (d(), Z($(Ht), {
|
|
1756
1756
|
key: 1,
|
|
1757
1757
|
size: "small",
|
|
1758
1758
|
onChange: u[1] || (u[1] = (r) => t("toggleRow", s.item))
|
|
1759
1759
|
})) : (d(), y(re, { key: 2 }, [
|
|
1760
|
-
s.column.bodySlot ? (d(),
|
|
1760
|
+
s.column.bodySlot ? (d(), Z(Pe(s.column.bodySlot), {
|
|
1761
1761
|
key: 0,
|
|
1762
1762
|
data: s.item,
|
|
1763
1763
|
field: s.column.field,
|
|
@@ -1787,7 +1787,7 @@ const mo = {
|
|
|
1787
1787
|
style: le(n.value),
|
|
1788
1788
|
onClick: i[1] || (i[1] = (a) => t("rowClickHandler", { data: o.item, index: o.rowIndex }))
|
|
1789
1789
|
}, [
|
|
1790
|
-
(d(!0), y(re, null, he(o.columns, (a) => (d(),
|
|
1790
|
+
(d(!0), y(re, null, he(o.columns, (a) => (d(), Z(To, {
|
|
1791
1791
|
key: a.field || a.header,
|
|
1792
1792
|
column: a,
|
|
1793
1793
|
item: o.item,
|
|
@@ -1844,7 +1844,7 @@ const mo = {
|
|
|
1844
1844
|
colspan: m.columns.length
|
|
1845
1845
|
}, null, 8, Ro)
|
|
1846
1846
|
], 4)) : O("", !0),
|
|
1847
|
-
(d(!0), y(re, null, he(r.value, (h, S) => (d(),
|
|
1847
|
+
(d(!0), y(re, null, he(r.value, (h, S) => (d(), Z(nl, {
|
|
1848
1848
|
key: v(h, s.value + S),
|
|
1849
1849
|
rowIndex: s.value + S,
|
|
1850
1850
|
item: h,
|
|
@@ -1870,7 +1870,7 @@ const mo = {
|
|
|
1870
1870
|
class: z(["table-body", { "table-body--scroller": m.scroller && m.scroller.enable }]),
|
|
1871
1871
|
style: le({ maxHeight: `${m.scroller && m.scroller.height}px` })
|
|
1872
1872
|
}, [
|
|
1873
|
-
(d(!0), y(re, null, he(m.data, (h, S) => (d(),
|
|
1873
|
+
(d(!0), y(re, null, he(m.data, (h, S) => (d(), Z(nl, {
|
|
1874
1874
|
key: v(h, S),
|
|
1875
1875
|
rowIndex: S,
|
|
1876
1876
|
item: h,
|
|
@@ -1916,7 +1916,7 @@ const mo = {
|
|
|
1916
1916
|
}, [
|
|
1917
1917
|
w("div", Oo, [
|
|
1918
1918
|
o.icon ? (d(), y("div", Bo, [
|
|
1919
|
-
(d(),
|
|
1919
|
+
(d(), Z(Pe(o.icon)))
|
|
1920
1920
|
])) : O("", !0),
|
|
1921
1921
|
w("div", Eo, [
|
|
1922
1922
|
ee(o.$slots, "default")
|
|
@@ -2027,7 +2027,7 @@ const mo = {
|
|
|
2027
2027
|
function c(x) {
|
|
2028
2028
|
let T = 1e3, H = x;
|
|
2029
2029
|
for (; H && H !== document.body; ) {
|
|
2030
|
-
const
|
|
2030
|
+
const U = window.getComputedStyle(H), X = parseInt(U.zIndex);
|
|
2031
2031
|
!isNaN(X) && X > T && (T = X), H = H.parentElement;
|
|
2032
2032
|
}
|
|
2033
2033
|
return T;
|
|
@@ -2069,9 +2069,9 @@ const mo = {
|
|
|
2069
2069
|
function f(x) {
|
|
2070
2070
|
if (!x.disabled)
|
|
2071
2071
|
if (t.multiple) {
|
|
2072
|
-
const T = A(x), H = Array.isArray(t.modelValue) ? [...t.modelValue] : [],
|
|
2072
|
+
const T = A(x), H = Array.isArray(t.modelValue) ? [...t.modelValue] : [], U = H.some((V) => typeof V == "object" && V !== null ? A(V) === T : V === T);
|
|
2073
2073
|
let X;
|
|
2074
|
-
|
|
2074
|
+
U ? X = H.filter((V) => typeof V == "object" && V !== null ? A(V) !== T : V !== T) : X = [
|
|
2075
2075
|
...H,
|
|
2076
2076
|
t.valueKey && t.valueKey !== "" ? A(x) : x
|
|
2077
2077
|
], n("update:modelValue", X), n("change", X);
|
|
@@ -2082,8 +2082,8 @@ const mo = {
|
|
|
2082
2082
|
}
|
|
2083
2083
|
function p(x) {
|
|
2084
2084
|
if (!t.multiple) return;
|
|
2085
|
-
const T = A(x),
|
|
2086
|
-
n("update:modelValue",
|
|
2085
|
+
const T = A(x), U = (Array.isArray(t.modelValue) ? [...t.modelValue] : []).filter((X) => typeof X == "object" && X !== null ? A(X) !== T : X !== T);
|
|
2086
|
+
n("update:modelValue", U), n("change", U), n(
|
|
2087
2087
|
"remove-tag",
|
|
2088
2088
|
t.valueKey && t.valueKey !== "" ? A(x) : x
|
|
2089
2089
|
);
|
|
@@ -2105,9 +2105,9 @@ const mo = {
|
|
|
2105
2105
|
!a.value || !o.value || fe(() => {
|
|
2106
2106
|
const x = c(a.value);
|
|
2107
2107
|
v.value = x + 10;
|
|
2108
|
-
const T = a.value.getBoundingClientRect(), H = window.innerHeight,
|
|
2108
|
+
const T = a.value.getBoundingClientRect(), H = window.innerHeight, U = window.innerWidth, X = H - T.bottom, V = T.top, N = X < 300 && V > X, G = Math.max(300, T.width);
|
|
2109
2109
|
let Q = T.left;
|
|
2110
|
-
Q + G >
|
|
2110
|
+
Q + G > U && (Q = Math.max(0, U - G - 10)), r.value = {
|
|
2111
2111
|
position: "fixed",
|
|
2112
2112
|
left: `${Q}px`,
|
|
2113
2113
|
width: `${G}px`,
|
|
@@ -2117,8 +2117,8 @@ const mo = {
|
|
|
2117
2117
|
}
|
|
2118
2118
|
function K(x) {
|
|
2119
2119
|
if (!a.value || !o.value) return;
|
|
2120
|
-
const T = x.target, H = s.value,
|
|
2121
|
-
!
|
|
2120
|
+
const T = x.target, H = s.value, U = a.value.contains(T), X = H && H.contains(T);
|
|
2121
|
+
!U && !X && (o.value = !1);
|
|
2122
2122
|
}
|
|
2123
2123
|
return J(o, (x) => {
|
|
2124
2124
|
x ? (F(), t.searchable && fe(() => {
|
|
@@ -2152,18 +2152,18 @@ const mo = {
|
|
|
2152
2152
|
}, [
|
|
2153
2153
|
w("div", Ko, [
|
|
2154
2154
|
x.multiple && m.value.length ? (d(), y("div", Fo, [
|
|
2155
|
-
(d(!0), y(re, null, he(S.value, (H) => (d(),
|
|
2155
|
+
(d(!0), y(re, null, he(S.value, (H) => (d(), Z($(gt), {
|
|
2156
2156
|
key: A(H),
|
|
2157
2157
|
removable: "",
|
|
2158
2158
|
variant: "secondary",
|
|
2159
|
-
onRemove: (
|
|
2159
|
+
onRemove: (U) => p(H)
|
|
2160
2160
|
}, {
|
|
2161
2161
|
default: oe(() => [
|
|
2162
2162
|
ve(Y(I(H)), 1)
|
|
2163
2163
|
]),
|
|
2164
2164
|
_: 2
|
|
2165
2165
|
}, 1032, ["onRemove"]))), 128)),
|
|
2166
|
-
_.value > 0 ? (d(),
|
|
2166
|
+
_.value > 0 ? (d(), Z($(gt), {
|
|
2167
2167
|
key: 0,
|
|
2168
2168
|
variant: "info"
|
|
2169
2169
|
}, {
|
|
@@ -2229,20 +2229,20 @@ const mo = {
|
|
|
2229
2229
|
}])
|
|
2230
2230
|
}, [
|
|
2231
2231
|
w("div", Uo, [
|
|
2232
|
-
x.multiple ? (d(),
|
|
2232
|
+
x.multiple ? (d(), Z(at, {
|
|
2233
2233
|
key: 0,
|
|
2234
2234
|
customId: `dropdown-checkbox-${A(H)}`,
|
|
2235
2235
|
"model-value": C.value,
|
|
2236
2236
|
value: A(H),
|
|
2237
2237
|
disabled: H.disabled,
|
|
2238
|
-
onChange: (
|
|
2239
|
-
}, null, 8, ["customId", "model-value", "value", "disabled", "onChange"])) : (d(),
|
|
2238
|
+
onChange: (U) => R(H)
|
|
2239
|
+
}, null, 8, ["customId", "model-value", "value", "disabled", "onChange"])) : (d(), Z(Ht, {
|
|
2240
2240
|
key: 1,
|
|
2241
2241
|
customId: `dropdown-radio-${A(H)}`,
|
|
2242
2242
|
"model-value": E.value,
|
|
2243
2243
|
value: A(H),
|
|
2244
2244
|
disabled: H.disabled,
|
|
2245
|
-
onChange: (
|
|
2245
|
+
onChange: (U) => B(H)
|
|
2246
2246
|
}, null, 8, ["customId", "model-value", "value", "disabled", "onChange"])),
|
|
2247
2247
|
w("label", {
|
|
2248
2248
|
class: "dropdown__option-label",
|
|
@@ -2360,7 +2360,7 @@ const mo = {
|
|
|
2360
2360
|
return (o, i) => n.value ? (d(), y("tfoot", ca, [
|
|
2361
2361
|
w("tr", null, [
|
|
2362
2362
|
w("td", da, [
|
|
2363
|
-
o.paginator && l.value ? (d(),
|
|
2363
|
+
o.paginator && l.value ? (d(), Z($(ua), {
|
|
2364
2364
|
key: 0,
|
|
2365
2365
|
"current-page": l.value,
|
|
2366
2366
|
"onUpdate:currentPage": i[0] || (i[0] = (a) => l.value = a),
|
|
@@ -2562,7 +2562,7 @@ const mo = {
|
|
|
2562
2562
|
onSelectAllRow: f,
|
|
2563
2563
|
"onUpdate:sort": k[0] || (k[0] = (R) => a.value = R)
|
|
2564
2564
|
}, null, 8, ["size", "columns", "isSelectedAll", "isIndeterminate", "sortMode", "sortField"]),
|
|
2565
|
-
b.value.length > 0 && !p.loading ? (d(),
|
|
2565
|
+
b.value.length > 0 && !p.loading ? (d(), Z(ol, {
|
|
2566
2566
|
key: 0,
|
|
2567
2567
|
ref_key: "tableBodyRef",
|
|
2568
2568
|
ref: s,
|
|
@@ -2628,7 +2628,7 @@ const mo = {
|
|
|
2628
2628
|
onSelectAllRow: f,
|
|
2629
2629
|
"onUpdate:sort": k[5] || (k[5] = (R) => a.value = R)
|
|
2630
2630
|
}, null, 8, ["size", "columns", "isSelectedAll", "isIndeterminate", "sortMode", "sortField"]),
|
|
2631
|
-
b.value.length > 0 && !p.loading ? (d(),
|
|
2631
|
+
b.value.length > 0 && !p.loading ? (d(), Z(ol, {
|
|
2632
2632
|
key: 0,
|
|
2633
2633
|
ref_key: "tableBodyRef",
|
|
2634
2634
|
ref: s,
|
|
@@ -2872,7 +2872,7 @@ const mo = {
|
|
|
2872
2872
|
function H(V) {
|
|
2873
2873
|
V.disabled || t.multiple || q(V);
|
|
2874
2874
|
}
|
|
2875
|
-
function
|
|
2875
|
+
function U() {
|
|
2876
2876
|
!u.value || !o.value || fe(() => {
|
|
2877
2877
|
const V = m(u.value);
|
|
2878
2878
|
b.value = V + 10;
|
|
@@ -2901,15 +2901,15 @@ const mo = {
|
|
|
2901
2901
|
}
|
|
2902
2902
|
else !t.multiple && !V && (a.value = "");
|
|
2903
2903
|
}, { immediate: !0 }), J(o, (V) => {
|
|
2904
|
-
V &&
|
|
2904
|
+
V && U();
|
|
2905
2905
|
}), J(() => t.options, (V) => {
|
|
2906
|
-
V && V.length > 0 && a.value.length >= t.minQueryLength && (o.value = !0), o.value &&
|
|
2906
|
+
V && V.length > 0 && a.value.length >= t.minQueryLength && (o.value = !0), o.value && U();
|
|
2907
2907
|
}), J(() => t.loading, (V) => {
|
|
2908
|
-
V && a.value.length >= t.minQueryLength && (o.value = !0), o.value &&
|
|
2908
|
+
V && a.value.length >= t.minQueryLength && (o.value = !0), o.value && U();
|
|
2909
2909
|
}), me(() => {
|
|
2910
|
-
document.addEventListener("click", X), window.addEventListener("resize",
|
|
2910
|
+
document.addEventListener("click", X), window.addEventListener("resize", U), window.addEventListener("scroll", U);
|
|
2911
2911
|
}), xe(() => {
|
|
2912
|
-
document.removeEventListener("click", X), window.removeEventListener("resize",
|
|
2912
|
+
document.removeEventListener("click", X), window.removeEventListener("resize", U), window.removeEventListener("scroll", U);
|
|
2913
2913
|
}), (V, D) => (d(), y("div", {
|
|
2914
2914
|
class: z(["autocomplete", { "autocomplete--disabled": V.disabled }])
|
|
2915
2915
|
}, [
|
|
@@ -2929,7 +2929,7 @@ const mo = {
|
|
|
2929
2929
|
}, [
|
|
2930
2930
|
w("div", Pa, [
|
|
2931
2931
|
V.multiple && h.value.length ? (d(), y("div", Ra, [
|
|
2932
|
-
(d(!0), y(re, null, he(L.value, (N) => (d(),
|
|
2932
|
+
(d(!0), y(re, null, he(L.value, (N) => (d(), Z($(gt), {
|
|
2933
2933
|
key: g(N),
|
|
2934
2934
|
removable: "",
|
|
2935
2935
|
variant: "secondary",
|
|
@@ -2940,7 +2940,7 @@ const mo = {
|
|
|
2940
2940
|
]),
|
|
2941
2941
|
_: 2
|
|
2942
2942
|
}, 1032, ["onRemove"]))), 128)),
|
|
2943
|
-
C.value > 0 ? (d(),
|
|
2943
|
+
C.value > 0 ? (d(), Z($(gt), {
|
|
2944
2944
|
key: 0,
|
|
2945
2945
|
variant: "info"
|
|
2946
2946
|
}, {
|
|
@@ -3015,7 +3015,7 @@ const mo = {
|
|
|
3015
3015
|
disabled: N.disabled,
|
|
3016
3016
|
onChange: (Q) => T(N)
|
|
3017
3017
|
}, null, 8, ["model-value", "value", "label", "disabled", "onChange"])
|
|
3018
|
-
], 40, Ea)) : (d(),
|
|
3018
|
+
], 40, Ea)) : (d(), Z(Ht, {
|
|
3019
3019
|
key: 1,
|
|
3020
3020
|
"model-value": I.value,
|
|
3021
3021
|
value: g(N),
|
|
@@ -3123,7 +3123,7 @@ const mo = {
|
|
|
3123
3123
|
class: "input__eye",
|
|
3124
3124
|
onClick: c[6] || (c[6] = ge((v) => i.value = !i.value, ["prevent"]))
|
|
3125
3125
|
}, [
|
|
3126
|
-
i.value ? (d(),
|
|
3126
|
+
i.value ? (d(), Z($(nn), { key: 0 })) : (d(), Z($(Yl), { key: 1 }))
|
|
3127
3127
|
])) : O("", !0)
|
|
3128
3128
|
])
|
|
3129
3129
|
]),
|
|
@@ -3459,7 +3459,7 @@ const fi = /* @__PURE__ */ W({
|
|
|
3459
3459
|
autoClear: l.autoClear,
|
|
3460
3460
|
definitions: l.definitions
|
|
3461
3461
|
});
|
|
3462
|
-
return (c, v) => (d(),
|
|
3462
|
+
return (c, v) => (d(), Z($(Kt), {
|
|
3463
3463
|
modelValue: $(n),
|
|
3464
3464
|
"onUpdate:modelValue": v[0] || (v[0] = (m) => Ll(n) ? n.value = m : null),
|
|
3465
3465
|
label: c.label,
|
|
@@ -3491,7 +3491,7 @@ const fi = /* @__PURE__ */ W({
|
|
|
3491
3491
|
return (t, n) => (d(), y("div", {
|
|
3492
3492
|
class: z(l.value)
|
|
3493
3493
|
}, [
|
|
3494
|
-
(d(),
|
|
3494
|
+
(d(), Z(Pe(t.icon), { class: "icon-field__icon" })),
|
|
3495
3495
|
w("div", ja, [
|
|
3496
3496
|
ee(t.$slots, "default")
|
|
3497
3497
|
])
|
|
@@ -3553,7 +3553,7 @@ const fi = /* @__PURE__ */ W({
|
|
|
3553
3553
|
}), (r, c) => (d(), y("div", {
|
|
3554
3554
|
class: z(u.value)
|
|
3555
3555
|
}, [
|
|
3556
|
-
r.viewButtons ? (d(),
|
|
3556
|
+
r.viewButtons ? (d(), Z($(Ce), {
|
|
3557
3557
|
key: 0,
|
|
3558
3558
|
"button-style": "contrast",
|
|
3559
3559
|
icon: $(jl),
|
|
@@ -3564,7 +3564,7 @@ const fi = /* @__PURE__ */ W({
|
|
|
3564
3564
|
onClick: ge(s, ["stop"])
|
|
3565
3565
|
}, null, 8, ["icon", "disabled"])) : O("", !0),
|
|
3566
3566
|
w("div", Ua, [
|
|
3567
|
-
(d(),
|
|
3567
|
+
(d(), Z(Pe(r.icon))),
|
|
3568
3568
|
be(w("input", {
|
|
3569
3569
|
"onUpdate:modelValue": c[0] || (c[0] = (v) => o.value = v),
|
|
3570
3570
|
type: "number",
|
|
@@ -3579,7 +3579,7 @@ const fi = /* @__PURE__ */ W({
|
|
|
3579
3579
|
[ze, o.value]
|
|
3580
3580
|
])
|
|
3581
3581
|
]),
|
|
3582
|
-
r.viewButtons ? (d(),
|
|
3582
|
+
r.viewButtons ? (d(), Z($(Ce), {
|
|
3583
3583
|
key: 1,
|
|
3584
3584
|
"button-style": "contrast",
|
|
3585
3585
|
icon: $(fl),
|
|
@@ -3625,7 +3625,7 @@ const fi = /* @__PURE__ */ W({
|
|
|
3625
3625
|
t.value = o(u), s.target.value = t.value;
|
|
3626
3626
|
});
|
|
3627
3627
|
}
|
|
3628
|
-
return (s, u) => (d(),
|
|
3628
|
+
return (s, u) => (d(), Z($(Kt), {
|
|
3629
3629
|
modelValue: t.value,
|
|
3630
3630
|
"onUpdate:modelValue": u[0] || (u[0] = (r) => t.value = r),
|
|
3631
3631
|
placeholder: "7 (999) 999-99-99",
|
|
@@ -3772,11 +3772,11 @@ const fi = /* @__PURE__ */ W({
|
|
|
3772
3772
|
onMouseleave: u,
|
|
3773
3773
|
disabled: r.disabled
|
|
3774
3774
|
}, [
|
|
3775
|
-
v <= (o.value ?? t.value) ? (d(),
|
|
3775
|
+
v <= (o.value ?? t.value) ? (d(), Z(Ul, {
|
|
3776
3776
|
key: 0,
|
|
3777
3777
|
class: "star-icon star-icon--filled",
|
|
3778
3778
|
style: le(i.value)
|
|
3779
|
-
}, null, 8, ["style"])) : (d(),
|
|
3779
|
+
}, null, 8, ["style"])) : (d(), Z(Zl, {
|
|
3780
3780
|
key: 1,
|
|
3781
3781
|
class: "star-icon star-icon--empty",
|
|
3782
3782
|
style: le(i.value)
|
|
@@ -4260,7 +4260,7 @@ const ws = {
|
|
|
4260
4260
|
onClick: $(_)
|
|
4261
4261
|
}, null, 8, ["icon", "disabled", "onClick"]),
|
|
4262
4262
|
w("div", $s, [
|
|
4263
|
-
C.value === "day" ? (d(),
|
|
4263
|
+
C.value === "day" ? (d(), Z($(Ce), {
|
|
4264
4264
|
key: 0,
|
|
4265
4265
|
variant: "link",
|
|
4266
4266
|
onClick: f[0] || (f[0] = (p) => C.value = "month")
|
|
@@ -4270,7 +4270,7 @@ const ws = {
|
|
|
4270
4270
|
]),
|
|
4271
4271
|
_: 1
|
|
4272
4272
|
})) : O("", !0),
|
|
4273
|
-
C.value !== "year" ? (d(),
|
|
4273
|
+
C.value !== "year" ? (d(), Z($(Ce), {
|
|
4274
4274
|
key: 1,
|
|
4275
4275
|
variant: "link",
|
|
4276
4276
|
onClick: f[1] || (f[1] = (p) => C.value = "year")
|
|
@@ -4604,7 +4604,7 @@ const Ms = /* @__PURE__ */ W({
|
|
|
4604
4604
|
onFocus: E
|
|
4605
4605
|
}, null, 8, ["label", "placeholder", "error", "error-text", "required", "disabled", "name", "allow-clear", "model-value", "readonly"])
|
|
4606
4606
|
], 512),
|
|
4607
|
-
(d(),
|
|
4607
|
+
(d(), Z(Le, { to: "body" }, [
|
|
4608
4608
|
v.value ? (d(), y("div", {
|
|
4609
4609
|
key: 0,
|
|
4610
4610
|
ref_key: "popoverRef",
|
|
@@ -4744,7 +4744,7 @@ const Ms = /* @__PURE__ */ W({
|
|
|
4744
4744
|
key: 0,
|
|
4745
4745
|
class: z(["breadcrumb__item", { "breadcrumb__item--disabled": !o.command || o.disabled }]),
|
|
4746
4746
|
onClick: (a) => o.command()
|
|
4747
|
-
}, Y(o.label), 11, zs)) : (d(),
|
|
4747
|
+
}, Y(o.label), 11, zs)) : (d(), Z(Pe(l(o)), {
|
|
4748
4748
|
key: 1,
|
|
4749
4749
|
to: o.url,
|
|
4750
4750
|
class: z(["breadcrumb__item", { "breadcrumb__item--disabled": o.disabled || !o.url }])
|
|
@@ -4787,7 +4787,7 @@ const Ms = /* @__PURE__ */ W({
|
|
|
4787
4787
|
class: z(i.value)
|
|
4788
4788
|
}, [
|
|
4789
4789
|
w("div", Ks, [
|
|
4790
|
-
(d(),
|
|
4790
|
+
(d(), Z(Pe(o.value)))
|
|
4791
4791
|
]),
|
|
4792
4792
|
w("div", Fs, [
|
|
4793
4793
|
w("div", qs, Y(m.msg.summary), 1),
|
|
@@ -4832,7 +4832,7 @@ const Ms = /* @__PURE__ */ W({
|
|
|
4832
4832
|
ke.on("add", i), ke.on("remove", a), ke.on("remove-group", s), ke.on("remove-all-groups", u);
|
|
4833
4833
|
}), xe(() => {
|
|
4834
4834
|
ke.off("add", i), ke.off("remove", a), ke.off("remove-group", s), ke.off("remove-all-groups", u);
|
|
4835
|
-
}), (r, c) => (d(),
|
|
4835
|
+
}), (r, c) => (d(), Z(Le, { to: "body" }, [
|
|
4836
4836
|
w("div", Ys, [
|
|
4837
4837
|
j(Hl, {
|
|
4838
4838
|
name: "toast-fade",
|
|
@@ -4840,7 +4840,7 @@ const Ms = /* @__PURE__ */ W({
|
|
|
4840
4840
|
class: "toast-messages"
|
|
4841
4841
|
}, {
|
|
4842
4842
|
default: oe(() => [
|
|
4843
|
-
(d(!0), y(re, null, he(t.value, (v) => (d(),
|
|
4843
|
+
(d(!0), y(re, null, he(t.value, (v) => (d(), Z(Ws, {
|
|
4844
4844
|
key: v.id,
|
|
4845
4845
|
msg: v,
|
|
4846
4846
|
onClose: c[0] || (c[0] = (m) => o(m))
|
|
@@ -4900,7 +4900,7 @@ const _i = {
|
|
|
4900
4900
|
class: z(t.value)
|
|
4901
4901
|
}, [
|
|
4902
4902
|
w("div", js, [
|
|
4903
|
-
(d(),
|
|
4903
|
+
(d(), Z(Pe(n[l.type])))
|
|
4904
4904
|
]),
|
|
4905
4905
|
w("p", Us, [
|
|
4906
4906
|
o.$slots.default ? ee(o.$slots, "default", { key: 0 }, void 0, !0) : (d(), y(re, { key: 1 }, [
|
|
@@ -4954,7 +4954,7 @@ const _i = {
|
|
|
4954
4954
|
return (t, n) => (d(), y("div", {
|
|
4955
4955
|
class: z(["overlay-badge", { [`overlay-badge--${t.position}`]: t.position }])
|
|
4956
4956
|
}, [
|
|
4957
|
-
t.viewBadge ? (d(),
|
|
4957
|
+
t.viewBadge ? (d(), Z($(Xs), {
|
|
4958
4958
|
key: 0,
|
|
4959
4959
|
value: t.value,
|
|
4960
4960
|
variant: t.variant,
|
|
@@ -5057,7 +5057,7 @@ const _i = {
|
|
|
5057
5057
|
document.addEventListener("keydown", s);
|
|
5058
5058
|
}), xe(() => {
|
|
5059
5059
|
document.removeEventListener("keydown", s), t();
|
|
5060
|
-
}), (u, r) => (d(),
|
|
5060
|
+
}), (u, r) => (d(), Z(Le, { to: "body" }, [
|
|
5061
5061
|
j(Ie, { name: "confirm-dialog" }, {
|
|
5062
5062
|
default: oe(() => [
|
|
5063
5063
|
$(ce) ? (d(), y("div", {
|
|
@@ -5208,7 +5208,7 @@ const _i = {
|
|
|
5208
5208
|
document.addEventListener("keydown", c), window.addEventListener("scroll", v, !0), window.addEventListener("resize", m);
|
|
5209
5209
|
}), xe(() => {
|
|
5210
5210
|
document.removeEventListener("keydown", c), window.removeEventListener("scroll", v, !0), window.removeEventListener("resize", m);
|
|
5211
|
-
}), (b, h) => (d(),
|
|
5211
|
+
}), (b, h) => (d(), Z(Le, { to: "body" }, [
|
|
5212
5212
|
j(Ie, { name: "confirm" }, {
|
|
5213
5213
|
default: oe(() => [
|
|
5214
5214
|
$(de) ? (d(), y("div", {
|
|
@@ -5297,7 +5297,7 @@ const _i = {
|
|
|
5297
5297
|
isOpen: i,
|
|
5298
5298
|
open: r,
|
|
5299
5299
|
close: v
|
|
5300
|
-
}), (m, b) => (d(),
|
|
5300
|
+
}), (m, b) => (d(), Z(Le, { to: "body" }, [
|
|
5301
5301
|
j(Ie, { name: "drawer-animate" }, {
|
|
5302
5302
|
default: oe(() => [
|
|
5303
5303
|
i.value ? (d(), y("div", {
|
|
@@ -5365,7 +5365,7 @@ const _i = {
|
|
|
5365
5365
|
n.value ? a() : i();
|
|
5366
5366
|
},
|
|
5367
5367
|
{ immediate: !0 }
|
|
5368
|
-
), (r, c) => (d(),
|
|
5368
|
+
), (r, c) => (d(), Z(Le, { to: "body" }, [
|
|
5369
5369
|
j(Ie, { name: "modal-content-fade" }, {
|
|
5370
5370
|
default: oe(() => [
|
|
5371
5371
|
n.value ? (d(), y("div", {
|
|
@@ -5460,7 +5460,7 @@ const _i = {
|
|
|
5460
5460
|
l.value && n.value && (r.value = n.value.offsetHeight, A());
|
|
5461
5461
|
}), xe(() => {
|
|
5462
5462
|
m(), I();
|
|
5463
|
-
}), (g, f) => (d(),
|
|
5463
|
+
}), (g, f) => (d(), Z(Le, { to: "body" }, [
|
|
5464
5464
|
j(Ie, { name: "bottom-sheet-fade" }, {
|
|
5465
5465
|
default: oe(() => [
|
|
5466
5466
|
l.value ? (d(), y("div", {
|
|
@@ -5664,7 +5664,7 @@ const _i = {
|
|
|
5664
5664
|
}
|
|
5665
5665
|
}), (r, c) => (d(), y("div", _r, [
|
|
5666
5666
|
w("div", Vr, [
|
|
5667
|
-
(d(!0), y(re, null, he(r.steps, (v, m) => (d(),
|
|
5667
|
+
(d(!0), y(re, null, he(r.steps, (v, m) => (d(), Z(Cr, {
|
|
5668
5668
|
key: v.value,
|
|
5669
5669
|
index: m,
|
|
5670
5670
|
value: v.value,
|
|
@@ -5803,7 +5803,7 @@ const _i = {
|
|
|
5803
5803
|
o.value = !1, r = null;
|
|
5804
5804
|
}, 50);
|
|
5805
5805
|
}
|
|
5806
|
-
}), (S, _) => (d(),
|
|
5806
|
+
}), (S, _) => (d(), Z(Le, { to: "body" }, [
|
|
5807
5807
|
j(Ie, { name: "tooltip-fade" }, {
|
|
5808
5808
|
default: oe(() => [
|
|
5809
5809
|
o.value ? (d(), y("div", {
|