prlg-ui 1.8.188 → 1.8.190
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/blocks.d.ts +10 -0
- package/dist/icons.d.ts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/prlg-ui.cjs.js +3 -3
- package/dist/prlg-ui.css +1 -1
- package/dist/prlg-ui.es.js +87 -82
- package/dist/types.d.ts +10 -0
- package/dist/utils.d.ts +10 -0
- package/package.json +1 -1
package/dist/prlg-ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, computed as T, resolveComponent as jn, createBlock as W, openBlock as m, resolveDynamicComponent as Fe, normalizeClass as H, withCtx as ie, createCommentVNode as F, createElementBlock as y, renderSlot as
|
|
1
|
+
import { defineComponent as q, computed as T, resolveComponent as jn, createBlock as W, openBlock as m, resolveDynamicComponent as Fe, normalizeClass as H, withCtx as ie, createCommentVNode as F, createElementBlock as y, renderSlot as le, Fragment as oe, createTextVNode as ve, toDisplayString as K, ref as D, useTemplateRef as lt, onMounted as ye, createElementVNode as k, createVNode as j, renderList as ce, unref as $, mergeModels as se, useModel as ue, watch as ee, shallowRef as ze, getCurrentScope as Ml, onScopeDispose as Dl, shallowReadonly as Je, toRefs as Tl, useId as ht, onUnmounted as De, Transition as Te, normalizeStyle as ne, nextTick as pe, withModifiers as he, withDirectives as Ce, vModelRadio as Al, vModelText as ut, provide as _e, watchEffect as Un, toRef as tt, useSlots as Wn, inject as Se, isRef as Yn, h as Qt, resolveDirective as Fl, vModelCheckbox as Xn, vModelDynamic as El, toValue as et, vModelSelect as Ll, createStaticVNode as Ol, Teleport as Ne, reactive as Zn, TransitionGroup as zl, vShow as Qn, useCssVars as Hl, createApp as Bl } from "vue";
|
|
2
2
|
import { P as Jn, h as el, i as tl, I as nl, e as mt, C as Tt, A as Gl, a as ll, f as Kl, M as ql, S as Nl, g as jl, b as Ul, c as Wl, E as Yl, B as Xl, d as Zl, Q as Ql, W as $n } from "./QuestionIcon-tK1kUB_h.js";
|
|
3
3
|
import { o as Jl, d as fe } from "./parseFileSize.util-CxVk4CvB.js";
|
|
4
4
|
import { _ as de, C as dt, a as eo } from "./FileIcon-maHE2Nhr.js";
|
|
@@ -47,7 +47,7 @@ const no = {
|
|
|
47
47
|
class: "button__icon"
|
|
48
48
|
})) : F("", !0),
|
|
49
49
|
l.iconOnly ? F("", !0) : (m(), y("div", no, [
|
|
50
|
-
|
|
50
|
+
le(l.$slots, "default"),
|
|
51
51
|
l.label && !l.$slots.default ? (m(), y(oe, { key: 0 }, [
|
|
52
52
|
ve(K(l.label), 1)
|
|
53
53
|
], 64)) : F("", !0)
|
|
@@ -219,7 +219,7 @@ const no = {
|
|
|
219
219
|
]),
|
|
220
220
|
g.label || g.$slots.label ? (m(), y("span", go, [
|
|
221
221
|
ve(K(g.label) + " ", 1),
|
|
222
|
-
|
|
222
|
+
le(g.$slots, "label")
|
|
223
223
|
])) : F("", !0),
|
|
224
224
|
g.error && g.errorText ? (m(), y("span", vo, K(g.errorText), 1)) : F("", !0)
|
|
225
225
|
], 10, ro));
|
|
@@ -1577,7 +1577,7 @@ const da = {
|
|
|
1577
1577
|
ref: "reference",
|
|
1578
1578
|
onClick: U
|
|
1579
1579
|
}, [
|
|
1580
|
-
|
|
1580
|
+
le(re.$slots, "trigger", {}, void 0, !0)
|
|
1581
1581
|
], 2),
|
|
1582
1582
|
k("div", null, [
|
|
1583
1583
|
j(Te, { name: "fade" }, {
|
|
@@ -1595,17 +1595,17 @@ const da = {
|
|
|
1595
1595
|
{ "popover__wrapper--no-style": e.withoutStyle },
|
|
1596
1596
|
{ "popover__wrapper--positioning": !A.value }
|
|
1597
1597
|
]]),
|
|
1598
|
-
style:
|
|
1598
|
+
style: ne({ ...$(M) }),
|
|
1599
1599
|
ref: "floating"
|
|
1600
1600
|
}, [
|
|
1601
1601
|
k("div", ca, [
|
|
1602
1602
|
$(a) ? (m(), y("div", fa, [
|
|
1603
|
-
|
|
1603
|
+
le(re.$slots, "default", {
|
|
1604
1604
|
openSecondScreen: te,
|
|
1605
1605
|
closeSecondScreen: Y,
|
|
1606
1606
|
close: V
|
|
1607
1607
|
}, void 0, !0)
|
|
1608
|
-
])) :
|
|
1608
|
+
])) : le(re.$slots, "default", {
|
|
1609
1609
|
key: 1,
|
|
1610
1610
|
openSecondScreen: te,
|
|
1611
1611
|
closeSecondScreen: Y,
|
|
@@ -1616,7 +1616,7 @@ const da = {
|
|
|
1616
1616
|
key: 0,
|
|
1617
1617
|
class: "popover__arrow",
|
|
1618
1618
|
ref: "arrow-block",
|
|
1619
|
-
style:
|
|
1619
|
+
style: ne(He.value)
|
|
1620
1620
|
}, null, 4)) : F("", !0)
|
|
1621
1621
|
], 6)) : F("", !0)
|
|
1622
1622
|
]),
|
|
@@ -1628,9 +1628,9 @@ const da = {
|
|
|
1628
1628
|
key: 0,
|
|
1629
1629
|
class: "popover__second-screen",
|
|
1630
1630
|
ref: "second-screen",
|
|
1631
|
-
style:
|
|
1631
|
+
style: ne({ ...$(C) })
|
|
1632
1632
|
}, [
|
|
1633
|
-
|
|
1633
|
+
le(re.$slots, "second-screen", { closeSecondScreen: Y }, void 0, !0)
|
|
1634
1634
|
], 4)) : F("", !0)
|
|
1635
1635
|
]),
|
|
1636
1636
|
_: 3
|
|
@@ -1696,7 +1696,7 @@ const da = {
|
|
|
1696
1696
|
(m(!0), y(oe, null, ce(a.columns, (i, u) => (m(), y("th", {
|
|
1697
1697
|
class: H(o(i)),
|
|
1698
1698
|
key: u,
|
|
1699
|
-
style:
|
|
1699
|
+
style: ne(r(i))
|
|
1700
1700
|
}, [
|
|
1701
1701
|
k("div", {
|
|
1702
1702
|
class: H(["table-header__cell-body", { "table-header__cell-body--center": i.selectionMode }])
|
|
@@ -1789,7 +1789,7 @@ const da = {
|
|
|
1789
1789
|
const t = n, l = T(() => e.rowStyle ? e.rowStyle(e.item) : {});
|
|
1790
1790
|
return (o, r) => (m(), y("tr", {
|
|
1791
1791
|
class: H(["table-row", { "table-row--hovered-color": o.colorHovered }]),
|
|
1792
|
-
style:
|
|
1792
|
+
style: ne(l.value),
|
|
1793
1793
|
onClick: r[1] || (r[1] = (a) => t("rowClickHandler", { data: o.item, index: o.rowIndex }))
|
|
1794
1794
|
}, [
|
|
1795
1795
|
(m(!0), y(oe, null, ce(o.columns, (a) => (m(), W(Ra, {
|
|
@@ -1849,7 +1849,7 @@ const da = {
|
|
|
1849
1849
|
}, [
|
|
1850
1850
|
s.value > 0 ? (m(), y("tr", {
|
|
1851
1851
|
key: 0,
|
|
1852
|
-
style:
|
|
1852
|
+
style: ne({ height: `${s.value * v.virtualScroll.itemHeight}px` })
|
|
1853
1853
|
}, [
|
|
1854
1854
|
k("td", {
|
|
1855
1855
|
colspan: v.columns.length
|
|
@@ -1872,7 +1872,7 @@ const da = {
|
|
|
1872
1872
|
}, null, 8, ["rowIndex", "item", "columns", "selectedRows", "dataKey", "checkboxKey", "checkboxDisabled", "size", "colorHovered", "rowStyle"]))), 128)),
|
|
1873
1873
|
i.value < v.data.length ? (m(), y("tr", {
|
|
1874
1874
|
key: 1,
|
|
1875
|
-
style:
|
|
1875
|
+
style: ne({
|
|
1876
1876
|
height: `${(v.data.length - i.value) * v.virtualScroll.itemHeight}px`
|
|
1877
1877
|
})
|
|
1878
1878
|
}, [
|
|
@@ -1886,7 +1886,7 @@ const da = {
|
|
|
1886
1886
|
"table-body",
|
|
1887
1887
|
{ "table-body--scroller": v.scroller && v.scroller.enable }
|
|
1888
1888
|
]),
|
|
1889
|
-
style:
|
|
1889
|
+
style: ne({ maxHeight: `${v.scroller && v.scroller.height}px` })
|
|
1890
1890
|
}, [
|
|
1891
1891
|
(m(!0), y(oe, null, ce(v.data, (h, b) => (m(), W(Ln, {
|
|
1892
1892
|
key: g(h, b),
|
|
@@ -1939,7 +1939,7 @@ const da = {
|
|
|
1939
1939
|
(m(), W(Fe(o.icon)))
|
|
1940
1940
|
])) : F("", !0),
|
|
1941
1941
|
k("div", Da, [
|
|
1942
|
-
|
|
1942
|
+
le(o.$slots, "default")
|
|
1943
1943
|
])
|
|
1944
1944
|
]),
|
|
1945
1945
|
o.removable ? (m(), y("button", {
|
|
@@ -1994,7 +1994,7 @@ const da = {
|
|
|
1994
1994
|
}, [
|
|
1995
1995
|
s.label ? (m(), y(oe, { key: 0 }, [
|
|
1996
1996
|
ve(K(s.label), 1)
|
|
1997
|
-
], 64)) :
|
|
1997
|
+
], 64)) : le(s.$slots, "default", { key: 1 })
|
|
1998
1998
|
], 8, Aa)) : F("", !0)
|
|
1999
1999
|
], 2));
|
|
2000
2000
|
}
|
|
@@ -2198,7 +2198,7 @@ const da = {
|
|
|
2198
2198
|
_: 1
|
|
2199
2199
|
})) : F("", !0)
|
|
2200
2200
|
])) : (m(), y(oe, { key: 1 }, [
|
|
2201
|
-
f.value ?
|
|
2201
|
+
f.value ? le(R.$slots, "input", {
|
|
2202
2202
|
key: 0,
|
|
2203
2203
|
value: f.value,
|
|
2204
2204
|
selectedOption: v.value[0]
|
|
@@ -2229,7 +2229,7 @@ const da = {
|
|
|
2229
2229
|
ref_key: "dropdownOverlay",
|
|
2230
2230
|
ref: s,
|
|
2231
2231
|
class: "dropdown__overlay",
|
|
2232
|
-
style:
|
|
2232
|
+
style: ne(u.value),
|
|
2233
2233
|
onClick: G[1] || (G[1] = he(() => {
|
|
2234
2234
|
}, ["stop"]))
|
|
2235
2235
|
}, [
|
|
@@ -2274,7 +2274,7 @@ const da = {
|
|
|
2274
2274
|
for: R.multiple ? `dropdown-checkbox-${I(L)}` : `dropdown-radio-${I(L)}`
|
|
2275
2275
|
}, [
|
|
2276
2276
|
R.$slots.option ? F("", !0) : (m(), y("span", ja, K(C(L)), 1)),
|
|
2277
|
-
|
|
2277
|
+
le(R.$slots, "option", {
|
|
2278
2278
|
option: L,
|
|
2279
2279
|
selected: R.multiple ? _.value.includes(O(L)) : P.value === O(L),
|
|
2280
2280
|
multiple: R.multiple,
|
|
@@ -2285,7 +2285,7 @@ const da = {
|
|
|
2285
2285
|
], 2))), 128)),
|
|
2286
2286
|
M.value.length ? F("", !0) : (m(), y("div", Ua, " Ничего не найдено ")),
|
|
2287
2287
|
R.$slots.footer ? (m(), y("div", Wa, [
|
|
2288
|
-
|
|
2288
|
+
le(R.$slots, "footer", {}, void 0, !0)
|
|
2289
2289
|
])) : F("", !0)
|
|
2290
2290
|
], 64))
|
|
2291
2291
|
])
|
|
@@ -2417,7 +2417,7 @@ const da = {
|
|
|
2417
2417
|
return (o, r) => (m(), y("div", {
|
|
2418
2418
|
class: H(l.value),
|
|
2419
2419
|
"aria-label": "Loading",
|
|
2420
|
-
style:
|
|
2420
|
+
style: ne(t.value)
|
|
2421
2421
|
}, [...r[0] || (r[0] = [
|
|
2422
2422
|
k("span", { class: "spinner__circle" }, null, -1)
|
|
2423
2423
|
])], 6));
|
|
@@ -2604,7 +2604,7 @@ const da = {
|
|
|
2604
2604
|
}), (p, w) => h.value ? (m(), y("div", {
|
|
2605
2605
|
key: 0,
|
|
2606
2606
|
class: H(S.value),
|
|
2607
|
-
style:
|
|
2607
|
+
style: ne(M.value),
|
|
2608
2608
|
onScroll: g
|
|
2609
2609
|
}, [
|
|
2610
2610
|
k("table", {
|
|
@@ -2612,7 +2612,7 @@ const da = {
|
|
|
2612
2612
|
ref: i,
|
|
2613
2613
|
class: H(b.value)
|
|
2614
2614
|
}, [
|
|
2615
|
-
|
|
2615
|
+
le(p.$slots, "default", {}, void 0, !0),
|
|
2616
2616
|
j(En, {
|
|
2617
2617
|
size: p.size,
|
|
2618
2618
|
columns: $(l),
|
|
@@ -2658,7 +2658,7 @@ const da = {
|
|
|
2658
2658
|
colspan: $(l).length,
|
|
2659
2659
|
class: "table-empty__cell"
|
|
2660
2660
|
}, [
|
|
2661
|
-
|
|
2661
|
+
le(p.$slots, "empty", {}, void 0, !0)
|
|
2662
2662
|
], 8, gr)
|
|
2663
2663
|
])
|
|
2664
2664
|
]))
|
|
@@ -2680,7 +2680,7 @@ const da = {
|
|
|
2680
2680
|
ref: i,
|
|
2681
2681
|
class: H(b.value)
|
|
2682
2682
|
}, [
|
|
2683
|
-
|
|
2683
|
+
le(p.$slots, "default", {}, void 0, !0),
|
|
2684
2684
|
j(En, {
|
|
2685
2685
|
size: p.size,
|
|
2686
2686
|
columns: $(l),
|
|
@@ -2726,7 +2726,7 @@ const da = {
|
|
|
2726
2726
|
colspan: $(l).length,
|
|
2727
2727
|
class: "table-empty__cell"
|
|
2728
2728
|
}, [
|
|
2729
|
-
|
|
2729
|
+
le(p.$slots, "empty", {}, void 0, !0)
|
|
2730
2730
|
], 8, yr)
|
|
2731
2731
|
])
|
|
2732
2732
|
])),
|
|
@@ -4546,10 +4546,10 @@ function ds(e) {
|
|
|
4546
4546
|
});
|
|
4547
4547
|
}), l;
|
|
4548
4548
|
}
|
|
4549
|
-
const cs = { class: "table-wrapper" }, fs = { class: "table__header" }, gs = ["colspan"], vs =
|
|
4549
|
+
const cs = { class: "table-wrapper" }, fs = { class: "table__header" }, gs = ["colspan"], vs = ["onClick"], ms = {
|
|
4550
4550
|
key: 0,
|
|
4551
4551
|
class: "table__body"
|
|
4552
|
-
}, hs = {
|
|
4552
|
+
}, ps = ["align"], hs = {
|
|
4553
4553
|
key: 1,
|
|
4554
4554
|
class: "table__body"
|
|
4555
4555
|
}, ys = { class: "table__empty-row" }, ws = ["colspan"], bs = { class: "table__footer" }, Ss = ["colspan"], Cs = { class: "table__actions" }, $s = /* @__PURE__ */ q({
|
|
@@ -4634,9 +4634,12 @@ const cs = { class: "table-wrapper" }, fs = { class: "table__header" }, gs = ["c
|
|
|
4634
4634
|
colspan: h.colSpan,
|
|
4635
4635
|
scope: "col",
|
|
4636
4636
|
class: H(["table__header-cell", { "table__header-cell--sorting": h.column.getCanSort() }]),
|
|
4637
|
-
style:
|
|
4637
|
+
style: ne({ width: `${h.column.columnDef.meta?.autoSize ? "auto" : h.getSize()}px`, minWidth: `${h.column.columnDef.minSize || 50}px` })
|
|
4638
4638
|
}, [
|
|
4639
|
-
k("div",
|
|
4639
|
+
k("div", {
|
|
4640
|
+
class: "table__header-cell__content",
|
|
4641
|
+
style: ne({ justifyContent: h.column.columnDef.meta?.align })
|
|
4642
|
+
}, [
|
|
4640
4643
|
h.isPlaceholder ? F("", !0) : (m(), W($(Xt), {
|
|
4641
4644
|
key: 0,
|
|
4642
4645
|
render: h.column.columnDef.header,
|
|
@@ -4653,26 +4656,28 @@ const cs = { class: "table-wrapper" }, fs = { class: "table__header" }, gs = ["c
|
|
|
4653
4656
|
j($(tl), {
|
|
4654
4657
|
class: H({ active: h.column.getIsSorted() === "desc" })
|
|
4655
4658
|
}, null, 8, ["class"])
|
|
4656
|
-
], 8,
|
|
4657
|
-
])
|
|
4659
|
+
], 8, vs)) : F("", !0)
|
|
4660
|
+
], 4)
|
|
4658
4661
|
], 14, gs))), 128))
|
|
4659
4662
|
]))), 128))
|
|
4660
4663
|
]),
|
|
4661
|
-
d.data.length > 0 ? (m(), y("tbody",
|
|
4664
|
+
d.data.length > 0 ? (m(), y("tbody", ms, [
|
|
4662
4665
|
(m(!0), y(oe, null, ce($(u).getRowModel().rows, (f) => Ce((m(), y("tr", {
|
|
4663
4666
|
key: f.id,
|
|
4664
4667
|
class: "table__row",
|
|
4665
|
-
style:
|
|
4668
|
+
style: ne({ background: f.original.bgColor && f.original.viewBgColor ? f.original.bgColor : "transparent" })
|
|
4666
4669
|
}, [
|
|
4667
4670
|
(m(!0), y(oe, null, ce(f.getVisibleCells(), (h) => (m(), y("td", {
|
|
4668
4671
|
key: h.id,
|
|
4669
|
-
class: H(["table__cell", { "table__cell--selected": h.id.includes("checkbox") }])
|
|
4672
|
+
class: H(["table__cell", { "table__cell--selected": h.id.includes("checkbox") }]),
|
|
4673
|
+
align: h.column.columnDef.meta?.align,
|
|
4674
|
+
style: ne({ verticalAlign: h.column.columnDef.meta?.verticalAlign })
|
|
4670
4675
|
}, [
|
|
4671
4676
|
j($(Xt), {
|
|
4672
4677
|
render: h.column.columnDef.cell,
|
|
4673
4678
|
props: h.getContext()
|
|
4674
4679
|
}, null, 8, ["render", "props"])
|
|
4675
|
-
],
|
|
4680
|
+
], 14, ps))), 128))
|
|
4676
4681
|
], 4)), [
|
|
4677
4682
|
[
|
|
4678
4683
|
v,
|
|
@@ -4731,7 +4736,7 @@ const cs = { class: "table-wrapper" }, fs = { class: "table__header" }, gs = ["c
|
|
|
4731
4736
|
]);
|
|
4732
4737
|
};
|
|
4733
4738
|
}
|
|
4734
|
-
}), md = /* @__PURE__ */ de($s, [["__scopeId", "data-v-
|
|
4739
|
+
}), md = /* @__PURE__ */ de($s, [["__scopeId", "data-v-ee3de0de"]]), ks = { class: "chip-checkbox" }, Rs = ["name", "id", "value"], _s = { class: "chip-checkbox__text" }, pd = /* @__PURE__ */ q({
|
|
4735
4740
|
__name: "ChipCheckbox",
|
|
4736
4741
|
props: /* @__PURE__ */ se({
|
|
4737
4742
|
value: {},
|
|
@@ -5029,7 +5034,7 @@ const cs = { class: "table-wrapper" }, fs = { class: "table__header" }, gs = ["c
|
|
|
5029
5034
|
ref_key: "autocompleteOverlay",
|
|
5030
5035
|
ref: u,
|
|
5031
5036
|
class: "autocomplete__overlay",
|
|
5032
|
-
style:
|
|
5037
|
+
style: ne(g.value),
|
|
5033
5038
|
onClick: E[2] || (E[2] = he(() => {
|
|
5034
5039
|
}, ["stop"]))
|
|
5035
5040
|
}, [
|
|
@@ -5541,7 +5546,7 @@ const yd = /* @__PURE__ */ q({
|
|
|
5541
5546
|
}, [
|
|
5542
5547
|
(m(), W(Fe(t.icon), { class: "icon-field__icon" })),
|
|
5543
5548
|
k("div", Us, [
|
|
5544
|
-
|
|
5549
|
+
le(t.$slots, "default")
|
|
5545
5550
|
])
|
|
5546
5551
|
], 2));
|
|
5547
5552
|
}
|
|
@@ -5720,7 +5725,7 @@ const yd = /* @__PURE__ */ q({
|
|
|
5720
5725
|
r.$slots.option ? F("", !0) : (m(), y(oe, { key: 0 }, [
|
|
5721
5726
|
ve(K(typeof s == "object" ? s[r.optionLabel] : s), 1)
|
|
5722
5727
|
], 64)),
|
|
5723
|
-
|
|
5728
|
+
le(r.$slots, "option", { option: s }, void 0, !0)
|
|
5724
5729
|
], 10, Zs))), 128))
|
|
5725
5730
|
])
|
|
5726
5731
|
], 2));
|
|
@@ -5828,11 +5833,11 @@ const yd = /* @__PURE__ */ q({
|
|
|
5828
5833
|
g <= (o.value ?? t.value) ? (m(), W(Nl, {
|
|
5829
5834
|
key: 0,
|
|
5830
5835
|
class: "star-icon star-icon--filled",
|
|
5831
|
-
style:
|
|
5836
|
+
style: ne(r.value)
|
|
5832
5837
|
}, null, 8, ["style"])) : (m(), W(jl, {
|
|
5833
5838
|
key: 1,
|
|
5834
5839
|
class: "star-icon star-icon--empty",
|
|
5835
|
-
style:
|
|
5840
|
+
style: ne(r.value)
|
|
5836
5841
|
}, null, 8, ["style"]))
|
|
5837
5842
|
], 42, li))), 128))
|
|
5838
5843
|
]));
|
|
@@ -5915,7 +5920,7 @@ const yd = /* @__PURE__ */ q({
|
|
|
5915
5920
|
rows: i.rows,
|
|
5916
5921
|
resizable: i.resizable,
|
|
5917
5922
|
cols: i.cols,
|
|
5918
|
-
style:
|
|
5923
|
+
style: ne({ minHeight: i.minHeight }),
|
|
5919
5924
|
onInput: a,
|
|
5920
5925
|
onFocusIn: u[1] || (u[1] = (d) => t("focusIn", d)),
|
|
5921
5926
|
onFocusOut: u[2] || (u[2] = (d) => t("focusOut", d)),
|
|
@@ -6682,7 +6687,7 @@ const Ti = /* @__PURE__ */ q({
|
|
|
6682
6687
|
ref_key: "popoverRef",
|
|
6683
6688
|
ref: d,
|
|
6684
6689
|
class: "date-picker__popover",
|
|
6685
|
-
style:
|
|
6690
|
+
style: ne({ ...v.value, zIndex: Math.max($(b)?.zIndex || 1100, 9999) })
|
|
6686
6691
|
}, [
|
|
6687
6692
|
k("div", {
|
|
6688
6693
|
onMousedown: p[1] || (p[1] = he(() => {
|
|
@@ -6993,7 +6998,7 @@ const Md = {
|
|
|
6993
6998
|
(m(), W(Fe(l[n.type])))
|
|
6994
6999
|
]),
|
|
6995
7000
|
k("p", Yi, [
|
|
6996
|
-
o.$slots.default ?
|
|
7001
|
+
o.$slots.default ? le(o.$slots, "default", { key: 0 }, void 0, !0) : (m(), y(oe, { key: 1 }, [
|
|
6997
7002
|
ve(K(n.message), 1)
|
|
6998
7003
|
], 64))
|
|
6999
7004
|
])
|
|
@@ -7049,9 +7054,9 @@ const Md = {
|
|
|
7049
7054
|
value: t.value,
|
|
7050
7055
|
variant: t.variant,
|
|
7051
7056
|
class: "overlay-badge__badge",
|
|
7052
|
-
style:
|
|
7057
|
+
style: ne(n.value)
|
|
7053
7058
|
}, null, 8, ["value", "variant", "style"])) : F("", !0),
|
|
7054
|
-
|
|
7059
|
+
le(t.$slots, "default")
|
|
7055
7060
|
], 2));
|
|
7056
7061
|
}
|
|
7057
7062
|
}), Ad = /* @__PURE__ */ q({
|
|
@@ -7078,7 +7083,7 @@ const Md = {
|
|
|
7078
7083
|
}));
|
|
7079
7084
|
return (l, o) => (m(), y("div", {
|
|
7080
7085
|
class: H(n.value),
|
|
7081
|
-
style:
|
|
7086
|
+
style: ne(t.value)
|
|
7082
7087
|
}, null, 6));
|
|
7083
7088
|
}
|
|
7084
7089
|
}), xl = Symbol("DialogService"), Fd = () => {
|
|
@@ -7154,14 +7159,14 @@ const Md = {
|
|
|
7154
7159
|
key: 0,
|
|
7155
7160
|
class: H(["confirm-dialog-overlay", { "confirm-dialog-overlay--modal": !0 }]),
|
|
7156
7161
|
onClick: a,
|
|
7157
|
-
style:
|
|
7162
|
+
style: ne({ zIndex: $(l)?.zIndex })
|
|
7158
7163
|
}, [
|
|
7159
7164
|
k("div", {
|
|
7160
7165
|
ref: "popupRef",
|
|
7161
7166
|
class: H(["confirm-dialog", [`confirm-dialog--${$(ge).position}`, $(ge).class]]),
|
|
7162
7167
|
onClick: u[2] || (u[2] = he(() => {
|
|
7163
7168
|
}, ["stop"])),
|
|
7164
|
-
style:
|
|
7169
|
+
style: ne($(ge).style)
|
|
7165
7170
|
}, [
|
|
7166
7171
|
$(ge).header ? (m(), y("div", tu, [
|
|
7167
7172
|
k("h4", nu, K($(ge).header), 1)
|
|
@@ -7305,7 +7310,7 @@ const Md = {
|
|
|
7305
7310
|
key: 0,
|
|
7306
7311
|
class: "confirm-overlay",
|
|
7307
7312
|
onClick: u,
|
|
7308
|
-
style:
|
|
7313
|
+
style: ne({ zIndex: $(o)?.zIndex })
|
|
7309
7314
|
}, [
|
|
7310
7315
|
k("div", {
|
|
7311
7316
|
ref_key: "popupRef",
|
|
@@ -7313,7 +7318,7 @@ const Md = {
|
|
|
7313
7318
|
class: H(["confirm-popup", r.value]),
|
|
7314
7319
|
onClick: h[0] || (h[0] = he(() => {
|
|
7315
7320
|
}, ["stop"])),
|
|
7316
|
-
style:
|
|
7321
|
+
style: ne(t.value)
|
|
7317
7322
|
}, [
|
|
7318
7323
|
k("div", {
|
|
7319
7324
|
class: H(["confirm-popup__arrow", a.value])
|
|
@@ -7393,7 +7398,7 @@ const Md = {
|
|
|
7393
7398
|
r.value ? (m(), y("div", {
|
|
7394
7399
|
key: 0,
|
|
7395
7400
|
class: H(["drawer", { [`drawer--${v.position}`]: v.position }]),
|
|
7396
|
-
style:
|
|
7401
|
+
style: ne({ zIndex: $(a)?.zIndex })
|
|
7397
7402
|
}, [
|
|
7398
7403
|
k("div", {
|
|
7399
7404
|
class: "drawer-overlay",
|
|
@@ -7401,7 +7406,7 @@ const Md = {
|
|
|
7401
7406
|
}),
|
|
7402
7407
|
k("div", {
|
|
7403
7408
|
class: H(["drawer-wrapper", { "drawer-wrapper--no-style": v.wrapperNoStyle }]),
|
|
7404
|
-
style:
|
|
7409
|
+
style: ne(s.value)
|
|
7405
7410
|
}, [
|
|
7406
7411
|
k("div", {
|
|
7407
7412
|
class: "drawer-close",
|
|
@@ -7413,7 +7418,7 @@ const Md = {
|
|
|
7413
7418
|
]),
|
|
7414
7419
|
k("div", cu, [
|
|
7415
7420
|
k("div", fu, [
|
|
7416
|
-
|
|
7421
|
+
le(v.$slots, "mobile-header")
|
|
7417
7422
|
]),
|
|
7418
7423
|
k("div", gu, [
|
|
7419
7424
|
k("button", {
|
|
@@ -7423,7 +7428,7 @@ const Md = {
|
|
|
7423
7428
|
])
|
|
7424
7429
|
])
|
|
7425
7430
|
]),
|
|
7426
|
-
|
|
7431
|
+
le(v.$slots, "default")
|
|
7427
7432
|
], 6)
|
|
7428
7433
|
], 6)) : F("", !0)
|
|
7429
7434
|
]),
|
|
@@ -7462,7 +7467,7 @@ const Md = {
|
|
|
7462
7467
|
l.value ? (m(), y("div", {
|
|
7463
7468
|
key: 0,
|
|
7464
7469
|
class: H(s.value),
|
|
7465
|
-
style:
|
|
7470
|
+
style: ne({ zIndex: $(n)?.zIndex })
|
|
7466
7471
|
}, [
|
|
7467
7472
|
k("div", {
|
|
7468
7473
|
class: "modal__overlay",
|
|
@@ -7470,10 +7475,10 @@ const Md = {
|
|
|
7470
7475
|
}),
|
|
7471
7476
|
k("div", {
|
|
7472
7477
|
class: "modal__content",
|
|
7473
|
-
style:
|
|
7478
|
+
style: ne(u.style)
|
|
7474
7479
|
}, [
|
|
7475
7480
|
k("div", vu, [
|
|
7476
|
-
|
|
7481
|
+
le(u.$slots, "header"),
|
|
7477
7482
|
t.value && !o.header ? (m(), y("h2", mu, K(t.value), 1)) : F("", !0),
|
|
7478
7483
|
k("button", {
|
|
7479
7484
|
text: "",
|
|
@@ -7484,7 +7489,7 @@ const Md = {
|
|
|
7484
7489
|
])
|
|
7485
7490
|
]),
|
|
7486
7491
|
k("div", pu, [
|
|
7487
|
-
|
|
7492
|
+
le(u.$slots, "default", { setTitle: i })
|
|
7488
7493
|
])
|
|
7489
7494
|
], 4)
|
|
7490
7495
|
], 6)) : F("", !0)
|
|
@@ -7557,7 +7562,7 @@ const Md = {
|
|
|
7557
7562
|
n.value ? (m(), y("div", {
|
|
7558
7563
|
key: 0,
|
|
7559
7564
|
class: "bottom-sheet",
|
|
7560
|
-
style:
|
|
7565
|
+
style: ne({ zIndex: $(t)?.zIndex })
|
|
7561
7566
|
}, [
|
|
7562
7567
|
k("div", {
|
|
7563
7568
|
class: "bottom-sheet__overlay",
|
|
@@ -7570,7 +7575,7 @@ const Md = {
|
|
|
7570
7575
|
class: "bottom-sheet__content",
|
|
7571
7576
|
ref_key: "contentRef",
|
|
7572
7577
|
ref: l,
|
|
7573
|
-
style:
|
|
7578
|
+
style: ne({ transform: `translateY(${r.value}px)` }),
|
|
7574
7579
|
onTouchend: M
|
|
7575
7580
|
}, [
|
|
7576
7581
|
k("div", {
|
|
@@ -7585,7 +7590,7 @@ const Md = {
|
|
|
7585
7590
|
ref_key: "bodyRef",
|
|
7586
7591
|
ref: o
|
|
7587
7592
|
}, [
|
|
7588
|
-
|
|
7593
|
+
le(C.$slots, "default")
|
|
7589
7594
|
], 512)
|
|
7590
7595
|
], 36)) : F("", !0)
|
|
7591
7596
|
]),
|
|
@@ -7613,7 +7618,7 @@ const Md = {
|
|
|
7613
7618
|
e.multiple && Array.isArray(o.value) ? o.value.includes(a) ? o.value = o.value.filter((s) => s !== a) : o.value.push(a) : o.value = o.value === a ? void 0 : a, t("update:value", o.value);
|
|
7614
7619
|
}
|
|
7615
7620
|
return _e("accordionOpenValues", o), _e("accordionToggle", r), _e("accordionIsMultiple", e.multiple ?? !1), _e("accordionStyle", l), (a, s) => (m(), y("div", hu, [
|
|
7616
|
-
|
|
7621
|
+
le(a.$slots, "default")
|
|
7617
7622
|
]));
|
|
7618
7623
|
}
|
|
7619
7624
|
}), qd = /* @__PURE__ */ q({
|
|
@@ -7631,14 +7636,14 @@ const Md = {
|
|
|
7631
7636
|
}).observe(t.value);
|
|
7632
7637
|
}), (r, a) => (m(), y("div", {
|
|
7633
7638
|
class: "accordion-content-wrapper",
|
|
7634
|
-
style:
|
|
7639
|
+
style: ne({ height: $(n) ? l.value : "0px" })
|
|
7635
7640
|
}, [
|
|
7636
7641
|
Ce(k("div", {
|
|
7637
7642
|
ref_key: "contentRef",
|
|
7638
7643
|
ref: t,
|
|
7639
7644
|
class: "accordion-content"
|
|
7640
7645
|
}, [
|
|
7641
|
-
|
|
7646
|
+
le(r.$slots, "default")
|
|
7642
7647
|
], 512), [
|
|
7643
7648
|
[Qn, o.value]
|
|
7644
7649
|
])
|
|
@@ -7654,7 +7659,7 @@ const Md = {
|
|
|
7654
7659
|
(...a) => $(t) && $(t)(...a))
|
|
7655
7660
|
}, [
|
|
7656
7661
|
k("span", yu, [
|
|
7657
|
-
|
|
7662
|
+
le(o.$slots, "default")
|
|
7658
7663
|
]),
|
|
7659
7664
|
k("span", wu, [
|
|
7660
7665
|
j($(ll))
|
|
@@ -7671,7 +7676,7 @@ const Md = {
|
|
|
7671
7676
|
return _e("panelValue", n.value), _e("panelIsOpen", r), _e("panelToggle", () => l?.(n.value)), (a, s) => (m(), y("div", {
|
|
7672
7677
|
class: H(["accordion-panel", `accordion-panel--${$(o)}`])
|
|
7673
7678
|
}, [
|
|
7674
|
-
|
|
7679
|
+
le(a.$slots, "default")
|
|
7675
7680
|
], 2));
|
|
7676
7681
|
}
|
|
7677
7682
|
}), bu = {
|
|
@@ -7694,7 +7699,7 @@ const Md = {
|
|
|
7694
7699
|
class: H(n.value)
|
|
7695
7700
|
}, [
|
|
7696
7701
|
l.$slots.default ? (m(), y("div", bu, [
|
|
7697
|
-
|
|
7702
|
+
le(l.$slots, "default")
|
|
7698
7703
|
])) : F("", !0)
|
|
7699
7704
|
], 2));
|
|
7700
7705
|
}
|
|
@@ -7775,7 +7780,7 @@ const Md = {
|
|
|
7775
7780
|
role: "tab",
|
|
7776
7781
|
"aria-selected": o.value
|
|
7777
7782
|
}, [
|
|
7778
|
-
|
|
7783
|
+
le(r.$slots, "default")
|
|
7779
7784
|
], 10, Pu));
|
|
7780
7785
|
}
|
|
7781
7786
|
}), Iu = { class: "tabs" }, Xd = /* @__PURE__ */ q({
|
|
@@ -7793,7 +7798,7 @@ const Md = {
|
|
|
7793
7798
|
o.value = a, l("update:value", a);
|
|
7794
7799
|
}
|
|
7795
7800
|
return _e("tabsValue", o), _e("setTabsValue", r), (a, s) => (m(), y("div", Iu, [
|
|
7796
|
-
|
|
7801
|
+
le(a.$slots, "default")
|
|
7797
7802
|
]));
|
|
7798
7803
|
}
|
|
7799
7804
|
}), Mu = {
|
|
@@ -7807,7 +7812,7 @@ const Md = {
|
|
|
7807
7812
|
setup(e) {
|
|
7808
7813
|
const n = e, t = Se("tabsValue"), l = T(() => t?.value === n.value);
|
|
7809
7814
|
return (o, r) => Ce((m(), y("div", Mu, [
|
|
7810
|
-
|
|
7815
|
+
le(o.$slots, "default")
|
|
7811
7816
|
], 512)), [
|
|
7812
7817
|
[Qn, l.value]
|
|
7813
7818
|
]);
|
|
@@ -7820,7 +7825,7 @@ const Md = {
|
|
|
7820
7825
|
setup(e) {
|
|
7821
7826
|
return (n, t) => (m(), y("div", Du, [
|
|
7822
7827
|
k("div", Tu, [
|
|
7823
|
-
|
|
7828
|
+
le(n.$slots, "default")
|
|
7824
7829
|
])
|
|
7825
7830
|
]));
|
|
7826
7831
|
}
|
|
@@ -7828,7 +7833,7 @@ const Md = {
|
|
|
7828
7833
|
__name: "TabPanels",
|
|
7829
7834
|
setup(e) {
|
|
7830
7835
|
return (n, t) => (m(), y("div", Au, [
|
|
7831
|
-
|
|
7836
|
+
le(n.$slots, "default")
|
|
7832
7837
|
]));
|
|
7833
7838
|
}
|
|
7834
7839
|
}), Fu = /* @__PURE__ */ q({
|
|
@@ -7900,17 +7905,17 @@ const Md = {
|
|
|
7900
7905
|
ref_key: "tooltipRef",
|
|
7901
7906
|
ref: l,
|
|
7902
7907
|
class: H(["tooltip", [`tooltip--${r.value}`, b.tooltipClass]]),
|
|
7903
|
-
style:
|
|
7908
|
+
style: ne({ ...a.value, zIndex: $(i)?.zIndex }),
|
|
7904
7909
|
role: "tooltip"
|
|
7905
7910
|
}, [
|
|
7906
7911
|
k("div", {
|
|
7907
7912
|
class: "tooltip__content",
|
|
7908
|
-
style:
|
|
7913
|
+
style: ne({ maxWidth: `${b.maxWidth}px` })
|
|
7909
7914
|
}, K(b.content), 5),
|
|
7910
7915
|
b.showArrow ? (m(), y("div", {
|
|
7911
7916
|
key: 0,
|
|
7912
7917
|
class: "tooltip__arrow",
|
|
7913
|
-
style:
|
|
7918
|
+
style: ne(s.value)
|
|
7914
7919
|
}, null, 4)) : F("", !0)
|
|
7915
7920
|
], 6)) : F("", !0)
|
|
7916
7921
|
]),
|
|
@@ -8162,7 +8167,7 @@ const Md = {
|
|
|
8162
8167
|
ref_key: "timePickerOverlay",
|
|
8163
8168
|
ref: l,
|
|
8164
8169
|
class: "time-select__overlay",
|
|
8165
|
-
style:
|
|
8170
|
+
style: ne(o.value),
|
|
8166
8171
|
onClick: C[2] || (C[2] = he(() => {
|
|
8167
8172
|
}, ["stop"]))
|
|
8168
8173
|
}, [
|
|
@@ -8384,7 +8389,7 @@ const Md = {
|
|
|
8384
8389
|
onClick: S
|
|
8385
8390
|
}, [
|
|
8386
8391
|
k("div", Zu, [
|
|
8387
|
-
h.value ?
|
|
8392
|
+
h.value ? le(c.$slots, "input", {
|
|
8388
8393
|
key: 0,
|
|
8389
8394
|
value: h.value
|
|
8390
8395
|
}, () => [
|
|
@@ -8413,12 +8418,12 @@ const Md = {
|
|
|
8413
8418
|
ref_key: "scheduleOverlay",
|
|
8414
8419
|
ref: s,
|
|
8415
8420
|
class: "schedule__overlay",
|
|
8416
|
-
style:
|
|
8421
|
+
style: ne(i.value),
|
|
8417
8422
|
onClick: p[0] || (p[0] = he(() => {
|
|
8418
8423
|
}, ["stop"]))
|
|
8419
8424
|
}, [
|
|
8420
8425
|
k("div", ed, [
|
|
8421
|
-
|
|
8426
|
+
le(c.$slots, "content", {
|
|
8422
8427
|
close: M,
|
|
8423
8428
|
days: g.value,
|
|
8424
8429
|
toggleDay: _,
|
package/dist/types.d.ts
CHANGED
|
@@ -12,3 +12,13 @@ export declare type MenuItem = {
|
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
export { }
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
declare module "@tanstack/vue-table" {
|
|
19
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
20
|
+
align?: "left" | "center" | "right";
|
|
21
|
+
verticalAlign?: "top" | "middle" | "bottom";
|
|
22
|
+
autoSize?: boolean;
|
|
23
|
+
}
|
|
24
|
+
}
|
package/dist/utils.d.ts
CHANGED
|
@@ -142,3 +142,13 @@ export declare const useBodyScroll: () => {
|
|
|
142
142
|
export declare type VueInstance = ComponentPublicInstance;
|
|
143
143
|
|
|
144
144
|
export { }
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
declare module "@tanstack/vue-table" {
|
|
149
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
150
|
+
align?: "left" | "center" | "right";
|
|
151
|
+
verticalAlign?: "top" | "middle" | "bottom";
|
|
152
|
+
autoSize?: boolean;
|
|
153
|
+
}
|
|
154
|
+
}
|