@dolanske/vui 0.3.0 → 0.3.1
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/README.md +1 -10
- package/dist/style.css +1 -1
- package/dist/vui.js +185 -179
- package/package.json +1 -1
- package/src/App.vue +2 -6
- package/src/components/Accordion/accordion.scss +1 -1
- package/src/components/Avatar/avatar.scss +4 -0
- package/src/components/Button/Button.vue +3 -0
- package/src/components/Dropdown/Dropdown.vue +6 -1
- package/src/components/Popout/popout.scss +1 -0
- package/src/components/Select/select.scss +1 -0
- package/src/components/Tabs/Tab.vue +7 -1
- package/src/components/Tabs/tabs.scss +1 -0
- package/src/components/Tooltip/Tooltip.vue +1 -0
- package/src/style/core.scss +5 -0
- package/src/style/fonts.scss +31 -1
- package/src/style/layout.scss +22 -27
- package/src/style/typography.scss +3 -4
- package/src/style/utils.scss +1 -0
package/dist/vui.js
CHANGED
|
@@ -1531,7 +1531,7 @@ function Ai(e = {}) {
|
|
|
1531
1531
|
const Dd = ["aria-hidden"], Pd = {
|
|
1532
1532
|
ref: "content",
|
|
1533
1533
|
class: "vui-accordtion-content-inner"
|
|
1534
|
-
},
|
|
1534
|
+
}, A0 = /* @__PURE__ */ se({
|
|
1535
1535
|
__name: "Accordion",
|
|
1536
1536
|
props: {
|
|
1537
1537
|
open: { type: Boolean },
|
|
@@ -1598,7 +1598,7 @@ const Dd = ["aria-hidden"], Pd = {
|
|
|
1598
1598
|
], 12, Dd)
|
|
1599
1599
|
], 2));
|
|
1600
1600
|
}
|
|
1601
|
-
}),
|
|
1601
|
+
}), O0 = /* @__PURE__ */ se({
|
|
1602
1602
|
__name: "AccordionGroup",
|
|
1603
1603
|
props: {
|
|
1604
1604
|
single: { type: Boolean }
|
|
@@ -1623,7 +1623,7 @@ const Dd = ["aria-hidden"], Pd = {
|
|
|
1623
1623
|
}, Td = {
|
|
1624
1624
|
key: 2,
|
|
1625
1625
|
class: "vui-alert-default-content"
|
|
1626
|
-
}, Ad = { key: 0 }, Od = { key: 1 },
|
|
1626
|
+
}, Ad = { key: 0 }, Od = { key: 1 }, C0 = /* @__PURE__ */ se({
|
|
1627
1627
|
__name: "Alert",
|
|
1628
1628
|
props: {
|
|
1629
1629
|
variant: { default: "neutral" },
|
|
@@ -1692,7 +1692,7 @@ function an(e, t = "px") {
|
|
|
1692
1692
|
return typeof e == "number" ? `${e}${t}` : isNaN(Number(e[e.length - 1])) ? e : `${e}${t}`;
|
|
1693
1693
|
}
|
|
1694
1694
|
var Pt = /* @__PURE__ */ ((e) => (e.s = "s", e.m = "m", e.l = "l", e))(Pt || {});
|
|
1695
|
-
const Sd = ["src"], Bd = { key: 1 },
|
|
1695
|
+
const Sd = ["src"], Bd = { key: 1 }, S0 = /* @__PURE__ */ se({
|
|
1696
1696
|
__name: "Avatar",
|
|
1697
1697
|
props: {
|
|
1698
1698
|
size: { default: () => Pt.m },
|
|
@@ -1724,7 +1724,7 @@ const Sd = ["src"], Bd = { key: 1 }, C0 = /* @__PURE__ */ se({
|
|
|
1724
1724
|
]))
|
|
1725
1725
|
], 6));
|
|
1726
1726
|
}
|
|
1727
|
-
}),
|
|
1727
|
+
}), B0 = /* @__PURE__ */ se({
|
|
1728
1728
|
__name: "Badge",
|
|
1729
1729
|
props: {
|
|
1730
1730
|
variant: { default: "neutral" },
|
|
@@ -1738,7 +1738,7 @@ const Sd = ["src"], Bd = { key: 1 }, C0 = /* @__PURE__ */ se({
|
|
|
1738
1738
|
H(t.$slots, "default")
|
|
1739
1739
|
], 2));
|
|
1740
1740
|
}
|
|
1741
|
-
}), Rd = ["href"], Ed = { class: "vui-breadcrumb-text-simple" },
|
|
1741
|
+
}), Rd = ["href"], Ed = { class: "vui-breadcrumb-text-simple" }, R0 = /* @__PURE__ */ se({
|
|
1742
1742
|
__name: "BreadcrumbItem",
|
|
1743
1743
|
props: {
|
|
1744
1744
|
label: {},
|
|
@@ -1763,7 +1763,7 @@ const Sd = ["src"], Bd = { key: 1 }, C0 = /* @__PURE__ */ se({
|
|
|
1763
1763
|
}), Id = { class: "vui-breadcrumbs" }, Nd = {
|
|
1764
1764
|
key: 1,
|
|
1765
1765
|
class: "vui-breadcrumb-custom-separator"
|
|
1766
|
-
},
|
|
1766
|
+
}, E0 = /* @__PURE__ */ se({
|
|
1767
1767
|
__name: "Breadcrumbs",
|
|
1768
1768
|
props: {
|
|
1769
1769
|
separator: { default: "ph:caret-right" }
|
|
@@ -1860,6 +1860,7 @@ const Sd = ["src"], Bd = { key: 1 }, C0 = /* @__PURE__ */ se({
|
|
|
1860
1860
|
return (a, r) => (h(), M("button", {
|
|
1861
1861
|
class: ge(["vui-button", [{ loading: a.loading, expand: a.expand, disabled: a.disabled, plain: a.plain, active: a.active, icon: a.icon, square: a.square, dashed: a.dashed }, `vui-button-variant-${a.variant}`]]),
|
|
1862
1862
|
disabled: a.disabled,
|
|
1863
|
+
role: "button",
|
|
1863
1864
|
style: Ne({
|
|
1864
1865
|
"--button-height": t.value,
|
|
1865
1866
|
"--button-padding": n.value
|
|
@@ -1920,7 +1921,7 @@ const Sd = ["src"], Bd = { key: 1 }, C0 = /* @__PURE__ */ se({
|
|
|
1920
1921
|
H(c.$slots, "default")
|
|
1921
1922
|
], 4));
|
|
1922
1923
|
}
|
|
1923
|
-
}),
|
|
1924
|
+
}), I0 = /* @__PURE__ */ se({
|
|
1924
1925
|
__name: "ButtonGroup",
|
|
1925
1926
|
props: {
|
|
1926
1927
|
vertical: { type: Boolean }
|
|
@@ -9941,7 +9942,7 @@ const Np = ({
|
|
|
9941
9942
|
Object.entries(Zp).forEach(([e, t]) => {
|
|
9942
9943
|
e !== "default" && (Wl[e] = t);
|
|
9943
9944
|
});
|
|
9944
|
-
const ht = 18,
|
|
9945
|
+
const ht = 18, N0 = /* @__PURE__ */ se({
|
|
9945
9946
|
__name: "Calendar",
|
|
9946
9947
|
props: {
|
|
9947
9948
|
uid: {},
|
|
@@ -10207,7 +10208,7 @@ const ht = 18, I0 = /* @__PURE__ */ se({
|
|
|
10207
10208
|
}, dm = {
|
|
10208
10209
|
key: 1,
|
|
10209
10210
|
class: "vui-checkbox-content"
|
|
10210
|
-
},
|
|
10211
|
+
}, Y0 = /* @__PURE__ */ se({
|
|
10211
10212
|
__name: "Checkbox",
|
|
10212
10213
|
props: /* @__PURE__ */ ft({
|
|
10213
10214
|
label: {},
|
|
@@ -11344,7 +11345,7 @@ function Cs(e, t, n) {
|
|
|
11344
11345
|
update: b
|
|
11345
11346
|
};
|
|
11346
11347
|
}
|
|
11347
|
-
const
|
|
11348
|
+
const F0 = /* @__PURE__ */ se({
|
|
11348
11349
|
__name: "CopyClipboard",
|
|
11349
11350
|
props: {
|
|
11350
11351
|
text: {},
|
|
@@ -11599,7 +11600,7 @@ function uh(e) {
|
|
|
11599
11600
|
t.reduce((n, a) => pl(n, a, ""), {})
|
|
11600
11601
|
);
|
|
11601
11602
|
}
|
|
11602
|
-
const dh = uh(), [Is,
|
|
11603
|
+
const dh = uh(), [Is, V0] = $r("ConfigProvider");
|
|
11603
11604
|
let ch = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", fh = (e = 21) => {
|
|
11604
11605
|
let t = "", n = e;
|
|
11605
11606
|
for (; n--; )
|
|
@@ -12530,7 +12531,7 @@ const js = /* @__PURE__ */ se({
|
|
|
12530
12531
|
_: 3
|
|
12531
12532
|
}, 16, ["id"]));
|
|
12532
12533
|
}
|
|
12533
|
-
}), [Hs,
|
|
12534
|
+
}), [Hs, L0] = $r("CollectionProvider");
|
|
12534
12535
|
se({
|
|
12535
12536
|
name: "CollectionSlot",
|
|
12536
12537
|
setup(e, { slots: t }) {
|
|
@@ -13374,7 +13375,7 @@ const uy = /* @__PURE__ */ se({
|
|
|
13374
13375
|
_: 3
|
|
13375
13376
|
}, 16, ["open"]));
|
|
13376
13377
|
}
|
|
13377
|
-
}),
|
|
13378
|
+
}), j0 = /* @__PURE__ */ Wt(fy, [["__scopeId", "data-v-90758f6b"]]), Us = /* @__PURE__ */ se({
|
|
13378
13379
|
__name: "Popout",
|
|
13379
13380
|
props: {
|
|
13380
13381
|
anchor: {},
|
|
@@ -13397,7 +13398,7 @@ const uy = /* @__PURE__ */ se({
|
|
|
13397
13398
|
H(l.$slots, "default")
|
|
13398
13399
|
], 4));
|
|
13399
13400
|
}
|
|
13400
|
-
}), vy = /* @__PURE__ */ se({
|
|
13401
|
+
}), vy = ["aria-expanded"], py = /* @__PURE__ */ se({
|
|
13401
13402
|
__name: "Dropdown",
|
|
13402
13403
|
props: {
|
|
13403
13404
|
placement: { default: "bottom-start" },
|
|
@@ -13437,7 +13438,10 @@ const uy = /* @__PURE__ */ se({
|
|
|
13437
13438
|
style: Ne({
|
|
13438
13439
|
minWidth: c.value,
|
|
13439
13440
|
width: u.value
|
|
13440
|
-
})
|
|
13441
|
+
}),
|
|
13442
|
+
role: "button",
|
|
13443
|
+
"aria-expanded": r.value,
|
|
13444
|
+
"aria-haspopup": !0
|
|
13441
13445
|
}, [
|
|
13442
13446
|
H(d.$slots, "trigger", {
|
|
13443
13447
|
open: l,
|
|
@@ -13445,7 +13449,7 @@ const uy = /* @__PURE__ */ se({
|
|
|
13445
13449
|
close: o,
|
|
13446
13450
|
toggle: i
|
|
13447
13451
|
}, void 0, !0)
|
|
13448
|
-
],
|
|
13452
|
+
], 12, vy),
|
|
13449
13453
|
_e(Ct, {
|
|
13450
13454
|
appear: "",
|
|
13451
13455
|
name: "dropdown"
|
|
@@ -13473,7 +13477,7 @@ const uy = /* @__PURE__ */ se({
|
|
|
13473
13477
|
})
|
|
13474
13478
|
], 64));
|
|
13475
13479
|
}
|
|
13476
|
-
}),
|
|
13480
|
+
}), my = /* @__PURE__ */ Wt(py, [["__scopeId", "data-v-e2c5032c"]]), hy = { class: "vui-dropdown-item-icon" }, yy = { class: "vui-dropdown-item-slot" }, gy = { class: "vui-dropdown-item-hint" }, wy = /* @__PURE__ */ se({
|
|
13477
13481
|
__name: "DropdownItem",
|
|
13478
13482
|
props: {
|
|
13479
13483
|
disabled: { type: Boolean },
|
|
@@ -13484,7 +13488,7 @@ const uy = /* @__PURE__ */ se({
|
|
|
13484
13488
|
return (n, a) => (h(), M("button", {
|
|
13485
13489
|
class: ge(["vui-dropdown-item", { disabled: n.disabled }])
|
|
13486
13490
|
}, [
|
|
13487
|
-
le("div",
|
|
13491
|
+
le("div", hy, [
|
|
13488
13492
|
_e(Ct, {
|
|
13489
13493
|
name: "fade",
|
|
13490
13494
|
appear: ""
|
|
@@ -13498,27 +13502,27 @@ const uy = /* @__PURE__ */ se({
|
|
|
13498
13502
|
_: 1
|
|
13499
13503
|
})
|
|
13500
13504
|
]),
|
|
13501
|
-
le("div",
|
|
13505
|
+
le("div", yy, [
|
|
13502
13506
|
H(n.$slots, "default")
|
|
13503
13507
|
]),
|
|
13504
|
-
le("div",
|
|
13508
|
+
le("div", gy, [
|
|
13505
13509
|
H(n.$slots, "hint")
|
|
13506
13510
|
])
|
|
13507
13511
|
], 2));
|
|
13508
13512
|
}
|
|
13509
|
-
}),
|
|
13513
|
+
}), by = {}, ky = { class: "vui-dropdown-title" }, _y = {
|
|
13510
13514
|
key: 0,
|
|
13511
13515
|
class: "vui-dropdown-title-end"
|
|
13512
13516
|
};
|
|
13513
|
-
function
|
|
13514
|
-
return h(), M("div",
|
|
13517
|
+
function xy(e, t) {
|
|
13518
|
+
return h(), M("div", ky, [
|
|
13515
13519
|
H(e.$slots, "default"),
|
|
13516
|
-
e.$slots.end ? (h(), M("div",
|
|
13520
|
+
e.$slots.end ? (h(), M("div", _y, [
|
|
13517
13521
|
H(e.$slots, "end")
|
|
13518
13522
|
])) : L("", !0)
|
|
13519
13523
|
]);
|
|
13520
13524
|
}
|
|
13521
|
-
const
|
|
13525
|
+
const $y = /* @__PURE__ */ Wt(by, [["render", xy]]), H0 = /* @__PURE__ */ se({
|
|
13522
13526
|
__name: "Grid",
|
|
13523
13527
|
props: {
|
|
13524
13528
|
inline: { type: Boolean },
|
|
@@ -13541,16 +13545,16 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
13541
13545
|
H(o.$slots, "default")
|
|
13542
13546
|
], 4));
|
|
13543
13547
|
}
|
|
13544
|
-
}),
|
|
13548
|
+
}), Dy = { class: "vui-input" }, Py = {
|
|
13545
13549
|
key: 0,
|
|
13546
13550
|
for: "id"
|
|
13547
|
-
},
|
|
13551
|
+
}, My = {
|
|
13548
13552
|
key: 1,
|
|
13549
13553
|
class: "vui-input-hint"
|
|
13550
|
-
},
|
|
13554
|
+
}, Ty = ["id", "readonly", "type", "placeholder", "required", "max", "accept", "multiple", "min", "disabled"], Ay = {
|
|
13551
13555
|
key: 0,
|
|
13552
13556
|
class: "vui-input-limit"
|
|
13553
|
-
},
|
|
13557
|
+
}, Oy = {
|
|
13554
13558
|
key: 1,
|
|
13555
13559
|
class: "vui-input-errors"
|
|
13556
13560
|
}, Na = /* @__PURE__ */ se({
|
|
@@ -13599,9 +13603,9 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
13599
13603
|
class: ge(["vui-input-container", { expand: o.expand, disabled: o.disabled, required: o.required, readonly: o.readonly, "has-errors": o.errors.length > 0 }])
|
|
13600
13604
|
}, [
|
|
13601
13605
|
H(o.$slots, "before"),
|
|
13602
|
-
le("div",
|
|
13603
|
-
o.label ? (h(), M("label",
|
|
13604
|
-
o.hint ? (h(), M("p",
|
|
13606
|
+
le("div", Dy, [
|
|
13607
|
+
o.label ? (h(), M("label", Py, Me(o.label), 1)) : L("", !0),
|
|
13608
|
+
o.hint ? (h(), M("p", My, Me(o.hint), 1)) : L("", !0),
|
|
13605
13609
|
_e(bn, {
|
|
13606
13610
|
class: "vui-input-style",
|
|
13607
13611
|
gap: 3,
|
|
@@ -13625,7 +13629,7 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
13625
13629
|
multiple: o.multiple,
|
|
13626
13630
|
min: o.min,
|
|
13627
13631
|
disabled: o.disabled
|
|
13628
|
-
}, null, 8,
|
|
13632
|
+
}, null, 8, Ty)), [
|
|
13629
13633
|
[ci, n.value]
|
|
13630
13634
|
]),
|
|
13631
13635
|
H(o.$slots, "end")
|
|
@@ -13633,14 +13637,14 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
13633
13637
|
_: 3
|
|
13634
13638
|
})
|
|
13635
13639
|
]),
|
|
13636
|
-
o.limit ? (h(), M("p",
|
|
13637
|
-
o.errors.length > 0 ? (h(), M("ul",
|
|
13640
|
+
o.limit ? (h(), M("p", Ay, Me(l.value), 1)) : L("", !0),
|
|
13641
|
+
o.errors.length > 0 ? (h(), M("ul", Oy, [
|
|
13638
13642
|
(h(!0), M(be, null, Ee(o.errors, (s) => (h(), M("li", { key: s }, Me(s), 1))), 128))
|
|
13639
13643
|
])) : L("", !0),
|
|
13640
13644
|
H(o.$slots, "after")
|
|
13641
13645
|
], 2));
|
|
13642
13646
|
}
|
|
13643
|
-
}),
|
|
13647
|
+
}), Cy = /* @__PURE__ */ se({
|
|
13644
13648
|
__name: "Counter",
|
|
13645
13649
|
props: /* @__PURE__ */ ft({
|
|
13646
13650
|
label: {},
|
|
@@ -13717,7 +13721,7 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
13717
13721
|
}
|
|
13718
13722
|
]), 1040, ["modelValue"]));
|
|
13719
13723
|
}
|
|
13720
|
-
}),
|
|
13724
|
+
}), W0 = /* @__PURE__ */ Wt(Cy, [["__scopeId", "data-v-1361c777"]]), Sy = ["id"], By = ["for"], q0 = /* @__PURE__ */ se({
|
|
13721
13725
|
__name: "Dropzone",
|
|
13722
13726
|
props: {
|
|
13723
13727
|
label: {},
|
|
@@ -13752,7 +13756,7 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
13752
13756
|
le("input", {
|
|
13753
13757
|
id: c,
|
|
13754
13758
|
type: "file"
|
|
13755
|
-
}, null, 8,
|
|
13759
|
+
}, null, 8, Sy),
|
|
13756
13760
|
le("label", { for: c }, [
|
|
13757
13761
|
H(i.$slots, "default", { dragging: r.value }, () => [
|
|
13758
13762
|
_e(bn, {
|
|
@@ -13772,12 +13776,12 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
13772
13776
|
_: 1
|
|
13773
13777
|
})
|
|
13774
13778
|
])
|
|
13775
|
-
], 8,
|
|
13779
|
+
], 8, By)
|
|
13776
13780
|
]),
|
|
13777
13781
|
_: 3
|
|
13778
13782
|
}, 16, ["class"]));
|
|
13779
13783
|
}
|
|
13780
|
-
}),
|
|
13784
|
+
}), z0 = /* @__PURE__ */ se({
|
|
13781
13785
|
__name: "File",
|
|
13782
13786
|
props: {
|
|
13783
13787
|
label: {},
|
|
@@ -13803,7 +13807,7 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
13803
13807
|
onInput: l[0] || (l[0] = (o) => a("files", o.target.files))
|
|
13804
13808
|
}), null, 16));
|
|
13805
13809
|
}
|
|
13806
|
-
}),
|
|
13810
|
+
}), Ry = /* @__PURE__ */ se({
|
|
13807
13811
|
__name: "Password",
|
|
13808
13812
|
props: {
|
|
13809
13813
|
label: {},
|
|
@@ -13849,19 +13853,19 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
13849
13853
|
_: 1
|
|
13850
13854
|
}, 16, ["type"]));
|
|
13851
13855
|
}
|
|
13852
|
-
}),
|
|
13856
|
+
}), U0 = /* @__PURE__ */ Wt(Ry, [["__scopeId", "data-v-1908eb1b"]]), Ey = { class: "vui-input" }, Iy = {
|
|
13853
13857
|
key: 0,
|
|
13854
13858
|
for: "id"
|
|
13855
|
-
},
|
|
13859
|
+
}, Ny = {
|
|
13856
13860
|
key: 1,
|
|
13857
13861
|
class: "vui-input-hint"
|
|
13858
|
-
},
|
|
13862
|
+
}, Yy = ["id", "readonly", "placeholder", "required", "max"], Fy = {
|
|
13859
13863
|
key: 0,
|
|
13860
13864
|
class: "vui-input-limit"
|
|
13861
|
-
},
|
|
13865
|
+
}, Vy = {
|
|
13862
13866
|
key: 1,
|
|
13863
13867
|
class: "vui-input-errors"
|
|
13864
|
-
},
|
|
13868
|
+
}, Q0 = /* @__PURE__ */ se({
|
|
13865
13869
|
__name: "Textarea",
|
|
13866
13870
|
props: /* @__PURE__ */ ft({
|
|
13867
13871
|
label: {},
|
|
@@ -13898,9 +13902,9 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
13898
13902
|
class: ge(["vui-input-container", { expand: l.expand, required: l.required, readonly: l.readonly, "has-errors": l.errors.length > 0 }])
|
|
13899
13903
|
}, [
|
|
13900
13904
|
H(l.$slots, "before"),
|
|
13901
|
-
le("div",
|
|
13902
|
-
l.label ? (h(), M("label",
|
|
13903
|
-
l.hint ? (h(), M("p",
|
|
13905
|
+
le("div", Ey, [
|
|
13906
|
+
l.label ? (h(), M("label", Iy, Me(l.label), 1)) : L("", !0),
|
|
13907
|
+
l.hint ? (h(), M("p", Ny, Me(l.hint), 1)) : L("", !0),
|
|
13904
13908
|
nn(le("textarea", {
|
|
13905
13909
|
id: p(n),
|
|
13906
13910
|
"onUpdate:modelValue": o[0] || (o[0] = (i) => t.value = i),
|
|
@@ -13914,18 +13918,18 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
13914
13918
|
// @ts-expect-error Early-adoption CSS attribute
|
|
13915
13919
|
fieldSizing: r.value
|
|
13916
13920
|
})
|
|
13917
|
-
}, null, 12,
|
|
13921
|
+
}, null, 12, Yy), [
|
|
13918
13922
|
[ci, t.value]
|
|
13919
13923
|
])
|
|
13920
13924
|
]),
|
|
13921
|
-
l.limit ? (h(), M("p",
|
|
13922
|
-
l.errors.length > 0 ? (h(), M("ul",
|
|
13925
|
+
l.limit ? (h(), M("p", Fy, Me(`${t.value.length}/${l.limit}`), 1)) : L("", !0),
|
|
13926
|
+
l.errors.length > 0 ? (h(), M("ul", Vy, [
|
|
13923
13927
|
(h(!0), M(be, null, Ee(l.errors, (i) => (h(), M("li", { key: i }, Me(i), 1))), 128))
|
|
13924
13928
|
])) : L("", !0),
|
|
13925
13929
|
H(l.$slots, "after")
|
|
13926
13930
|
], 2));
|
|
13927
13931
|
}
|
|
13928
|
-
}),
|
|
13932
|
+
}), K0 = /* @__PURE__ */ se({
|
|
13929
13933
|
__name: "Kbd",
|
|
13930
13934
|
props: {
|
|
13931
13935
|
keys: {},
|
|
@@ -13943,7 +13947,7 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
13943
13947
|
class: ge(["vui-kbd", { active: l.value }])
|
|
13944
13948
|
}, Me(n.label ?? n.keys.replaceAll("+", " + ")), 3));
|
|
13945
13949
|
}
|
|
13946
|
-
}),
|
|
13950
|
+
}), X0 = /* @__PURE__ */ se({
|
|
13947
13951
|
__name: "KbdGroup",
|
|
13948
13952
|
emits: ["trigger"],
|
|
13949
13953
|
setup(e, { emit: t }) {
|
|
@@ -13969,7 +13973,7 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
13969
13973
|
H(a.$slots, "default")
|
|
13970
13974
|
]));
|
|
13971
13975
|
}
|
|
13972
|
-
}),
|
|
13976
|
+
}), Ly = /* @__PURE__ */ se({
|
|
13973
13977
|
__name: "Modal",
|
|
13974
13978
|
props: /* @__PURE__ */ ft({
|
|
13975
13979
|
size: { default: "m" },
|
|
@@ -14044,7 +14048,7 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
14044
14048
|
})
|
|
14045
14049
|
]));
|
|
14046
14050
|
}
|
|
14047
|
-
}),
|
|
14051
|
+
}), jy = /* @__PURE__ */ Wt(Ly, [["__scopeId", "data-v-855a3d99"]]), Hy = { class: "typeset" }, G0 = /* @__PURE__ */ se({
|
|
14048
14052
|
__name: "Confirm",
|
|
14049
14053
|
props: /* @__PURE__ */ ft({
|
|
14050
14054
|
title: {},
|
|
@@ -14067,12 +14071,12 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
14067
14071
|
const n = e, a = t, r = $t(e, "modelValue");
|
|
14068
14072
|
return (l, o) => (h(), M(be, null, [
|
|
14069
14073
|
le("pre", null, Me(l.$props), 1),
|
|
14070
|
-
_e(
|
|
14074
|
+
_e(jy, Be(n, {
|
|
14071
14075
|
modelValue: r.value,
|
|
14072
14076
|
"onUpdate:modelValue": o[2] || (o[2] = (i) => r.value = i)
|
|
14073
14077
|
}), {
|
|
14074
14078
|
default: Z(() => [
|
|
14075
|
-
le("div",
|
|
14079
|
+
le("div", Hy, [
|
|
14076
14080
|
H(l.$slots, "default")
|
|
14077
14081
|
])
|
|
14078
14082
|
]),
|
|
@@ -14106,7 +14110,7 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
14106
14110
|
}, 16, ["modelValue"])
|
|
14107
14111
|
], 64));
|
|
14108
14112
|
}
|
|
14109
|
-
}),
|
|
14113
|
+
}), Wy = { class: "vui-otp" }, qy = { class: "vui-otp-items" }, zy = "^\\d+$", Uy = "^[a-z]+$", Qy = "^[a-z0-9]+$", J0 = /* @__PURE__ */ se({
|
|
14110
14114
|
__name: "OTP",
|
|
14111
14115
|
props: /* @__PURE__ */ ft({
|
|
14112
14116
|
mode: { default: "both" },
|
|
@@ -14119,7 +14123,7 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
14119
14123
|
}),
|
|
14120
14124
|
emits: /* @__PURE__ */ ft(["change", "complete"], ["update:modelValue"]),
|
|
14121
14125
|
setup(e, { emit: t }) {
|
|
14122
|
-
const n = t, a = $t(e, "modelValue"), r = I(-1), l = A(() => e.mode === "num" ? new RegExp(
|
|
14126
|
+
const n = t, a = $t(e, "modelValue"), r = I(-1), l = A(() => e.mode === "num" ? new RegExp(zy) : e.mode === "char" ? new RegExp(Uy, "i") : new RegExp(Qy, "i")), o = I(0), i = gt("inputRef");
|
|
14123
14127
|
hl("otp-context", {
|
|
14124
14128
|
otpValue: a,
|
|
14125
14129
|
cursorIndex: r,
|
|
@@ -14156,7 +14160,7 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
14156
14160
|
s(k), r.value = Math.min(k.length, o.value - 1);
|
|
14157
14161
|
}
|
|
14158
14162
|
}
|
|
14159
|
-
return (d, f) => (h(), M("div",
|
|
14163
|
+
return (d, f) => (h(), M("div", Wy, [
|
|
14160
14164
|
le("input", {
|
|
14161
14165
|
ref: "inputRef",
|
|
14162
14166
|
type: "text",
|
|
@@ -14167,12 +14171,12 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
14167
14171
|
onFocus: f[1] || (f[1] = (v) => r.value = Math.min(a.value.length, o.value - 1)),
|
|
14168
14172
|
onPaste: u
|
|
14169
14173
|
}, null, 544),
|
|
14170
|
-
le("div",
|
|
14174
|
+
le("div", qy, [
|
|
14171
14175
|
H(d.$slots, "default")
|
|
14172
14176
|
])
|
|
14173
14177
|
]));
|
|
14174
14178
|
}
|
|
14175
|
-
}),
|
|
14179
|
+
}), Z0 = /* @__PURE__ */ se({
|
|
14176
14180
|
__name: "OTPItem",
|
|
14177
14181
|
props: {
|
|
14178
14182
|
i: {}
|
|
@@ -14202,7 +14206,7 @@ const xy = /* @__PURE__ */ Wt(wy, [["render", _y]]), j0 = /* @__PURE__ */ se({
|
|
|
14202
14206
|
], 2));
|
|
14203
14207
|
}
|
|
14204
14208
|
});
|
|
14205
|
-
function
|
|
14209
|
+
function Ky(e, t = 1, n = 15, a = 5) {
|
|
14206
14210
|
const r = Math.ceil(e / n);
|
|
14207
14211
|
t < 1 ? t = 1 : t > r && (t = r);
|
|
14208
14212
|
let l, o;
|
|
@@ -14225,7 +14229,7 @@ function Qy(e, t = 1, n = 15, a = 5) {
|
|
|
14225
14229
|
pages: c
|
|
14226
14230
|
};
|
|
14227
14231
|
}
|
|
14228
|
-
const
|
|
14232
|
+
const Xy = /* @__PURE__ */ se({
|
|
14229
14233
|
__name: "Pagination",
|
|
14230
14234
|
props: {
|
|
14231
14235
|
numbers: { type: Boolean, default: !0 },
|
|
@@ -14322,7 +14326,7 @@ const Ky = /* @__PURE__ */ se({
|
|
|
14322
14326
|
_: 3
|
|
14323
14327
|
}));
|
|
14324
14328
|
}
|
|
14325
|
-
}),
|
|
14329
|
+
}), eg = /* @__PURE__ */ Wt(Xy, [["__scopeId", "data-v-5ca7f612"]]), tg = /* @__PURE__ */ se({
|
|
14326
14330
|
__name: "Progress",
|
|
14327
14331
|
props: /* @__PURE__ */ ft({
|
|
14328
14332
|
fake: { type: Boolean },
|
|
@@ -14369,13 +14373,13 @@ const Ky = /* @__PURE__ */ se({
|
|
|
14369
14373
|
}, null, 4)
|
|
14370
14374
|
], 2));
|
|
14371
14375
|
}
|
|
14372
|
-
}),
|
|
14376
|
+
}), Gy = ["id", "value", "checked"], Jy = ["for"], Zy = { class: "vui-radio-icon" }, e0 = {
|
|
14373
14377
|
key: 0,
|
|
14374
14378
|
class: "vui-radio-content"
|
|
14375
|
-
},
|
|
14379
|
+
}, t0 = {
|
|
14376
14380
|
key: 1,
|
|
14377
14381
|
class: "vui-radio-content"
|
|
14378
|
-
},
|
|
14382
|
+
}, ng = /* @__PURE__ */ se({
|
|
14379
14383
|
__name: "Radio",
|
|
14380
14384
|
props: /* @__PURE__ */ ft({
|
|
14381
14385
|
label: {},
|
|
@@ -14397,22 +14401,22 @@ const Ky = /* @__PURE__ */ se({
|
|
|
14397
14401
|
type: "radio",
|
|
14398
14402
|
value: l.value,
|
|
14399
14403
|
checked: r.value
|
|
14400
|
-
}, null, 8,
|
|
14404
|
+
}, null, 8, Gy), [
|
|
14401
14405
|
[su, n.value]
|
|
14402
14406
|
]),
|
|
14403
14407
|
le("label", { for: p(a) }, [
|
|
14404
|
-
le("span",
|
|
14408
|
+
le("span", Zy, [
|
|
14405
14409
|
_e(p(Ue), {
|
|
14406
14410
|
icon: r.value ? "ph:radio-button-fill" : "ph:circle"
|
|
14407
14411
|
}, null, 8, ["icon"])
|
|
14408
14412
|
]),
|
|
14409
|
-
t.default ? (h(), M("div",
|
|
14413
|
+
t.default ? (h(), M("div", t0, [
|
|
14410
14414
|
H(l.$slots, "default")
|
|
14411
|
-
])) : (h(), M("p",
|
|
14412
|
-
], 8,
|
|
14415
|
+
])) : (h(), M("p", e0, Me(l.label || l.value), 1))
|
|
14416
|
+
], 8, Jy)
|
|
14413
14417
|
], 2));
|
|
14414
14418
|
}
|
|
14415
|
-
}),
|
|
14419
|
+
}), ag = /* @__PURE__ */ se({
|
|
14416
14420
|
__name: "RadioGroup",
|
|
14417
14421
|
props: /* @__PURE__ */ ft({
|
|
14418
14422
|
disabled: { type: Boolean },
|
|
@@ -14458,16 +14462,16 @@ const Ky = /* @__PURE__ */ se({
|
|
|
14458
14462
|
_: 1
|
|
14459
14463
|
}, 16));
|
|
14460
14464
|
}
|
|
14461
|
-
}),
|
|
14465
|
+
}), n0 = { class: "vui-input vui-select-trigger-content" }, a0 = {
|
|
14462
14466
|
key: 0,
|
|
14463
14467
|
for: "id"
|
|
14464
|
-
},
|
|
14468
|
+
}, r0 = {
|
|
14465
14469
|
key: 1,
|
|
14466
14470
|
class: "vui-input-hint"
|
|
14467
|
-
},
|
|
14471
|
+
}, l0 = ["onClick"], o0 = {
|
|
14468
14472
|
key: 1,
|
|
14469
14473
|
class: "vue-select-no-results"
|
|
14470
|
-
},
|
|
14474
|
+
}, rg = /* @__PURE__ */ se({
|
|
14471
14475
|
__name: "Select",
|
|
14472
14476
|
props: /* @__PURE__ */ ft({
|
|
14473
14477
|
single: { type: Boolean, default: !0 },
|
|
@@ -14510,14 +14514,14 @@ const Ky = /* @__PURE__ */ se({
|
|
|
14510
14514
|
return (s, c) => (h(), M("div", {
|
|
14511
14515
|
class: ge(["vui-input-container vui-select", { expand: s.expand, required: s.required, readonly: s.readonly }])
|
|
14512
14516
|
}, [
|
|
14513
|
-
_e(
|
|
14517
|
+
_e(my, {
|
|
14514
14518
|
ref: "dropdown",
|
|
14515
14519
|
expand: s.expand
|
|
14516
14520
|
}, {
|
|
14517
14521
|
trigger: Z(({ toggle: u, isOpen: d }) => [
|
|
14518
|
-
le("div",
|
|
14519
|
-
s.label ? (h(), M("label",
|
|
14520
|
-
s.hint ? (h(), M("p",
|
|
14522
|
+
le("div", n0, [
|
|
14523
|
+
s.label ? (h(), M("label", a0, Me(s.label), 1)) : L("", !0),
|
|
14524
|
+
s.hint ? (h(), M("p", r0, Me(s.hint), 1)) : L("", !0),
|
|
14521
14525
|
le("button", {
|
|
14522
14526
|
class: "vui-input-style vui-select-trigger-container",
|
|
14523
14527
|
onClick: u
|
|
@@ -14534,11 +14538,11 @@ const Ky = /* @__PURE__ */ se({
|
|
|
14534
14538
|
_e(p(Ue), {
|
|
14535
14539
|
icon: d ? "ph:caret-up" : "ph:caret-down"
|
|
14536
14540
|
}, null, 8, ["icon"])
|
|
14537
|
-
], 8,
|
|
14541
|
+
], 8, l0)
|
|
14538
14542
|
])
|
|
14539
14543
|
]),
|
|
14540
14544
|
default: Z(({ close: u, isOpen: d }) => [
|
|
14541
|
-
s.search ? (h(), oe(
|
|
14545
|
+
s.search ? (h(), oe($y, { key: 0 }, {
|
|
14542
14546
|
default: Z(() => [
|
|
14543
14547
|
_e(Na, {
|
|
14544
14548
|
modelValue: a.value,
|
|
@@ -14549,10 +14553,10 @@ const Ky = /* @__PURE__ */ se({
|
|
|
14549
14553
|
]),
|
|
14550
14554
|
_: 2
|
|
14551
14555
|
}, 1024)) : L("", !0),
|
|
14552
|
-
r.value.length === 0 ? (h(), M("p",
|
|
14556
|
+
r.value.length === 0 ? (h(), M("p", o0, " No results... ")) : L("", !0),
|
|
14553
14557
|
(h(!0), M(be, null, Ee(r.value, (f) => {
|
|
14554
14558
|
var v, y;
|
|
14555
|
-
return h(), oe(
|
|
14559
|
+
return h(), oe(wy, {
|
|
14556
14560
|
key: f.value,
|
|
14557
14561
|
class: ge({ selected: (v = t.value) == null ? void 0 : v.find((m) => m.value === f.value) }),
|
|
14558
14562
|
icon: (y = t.value) != null && y.find((m) => m.value === f.value) ? "ph:check-bold" : "",
|
|
@@ -14571,10 +14575,10 @@ const Ky = /* @__PURE__ */ se({
|
|
|
14571
14575
|
}, 8, ["expand"])
|
|
14572
14576
|
], 2));
|
|
14573
14577
|
}
|
|
14574
|
-
}),
|
|
14578
|
+
}), i0 = { class: "vui-sheet-header" }, s0 = { class: "flex-1" }, u0 = {
|
|
14575
14579
|
key: 1,
|
|
14576
14580
|
class: "vui-sheet-content"
|
|
14577
|
-
}, Ua = 16,
|
|
14581
|
+
}, Ua = 16, d0 = /* @__PURE__ */ se({
|
|
14578
14582
|
__name: "Sheet",
|
|
14579
14583
|
props: /* @__PURE__ */ ft({
|
|
14580
14584
|
position: { default: "right" },
|
|
@@ -14625,8 +14629,8 @@ const Ky = /* @__PURE__ */ se({
|
|
|
14625
14629
|
class: ge(["vui-sheet", [`vui-sheet-position-${l.position}`]]),
|
|
14626
14630
|
style: Ne(a.value)
|
|
14627
14631
|
}, [
|
|
14628
|
-
le("div",
|
|
14629
|
-
le("div",
|
|
14632
|
+
le("div", i0, [
|
|
14633
|
+
le("div", s0, [
|
|
14630
14634
|
H(l.$slots, "header", { close: n }, void 0, !0)
|
|
14631
14635
|
]),
|
|
14632
14636
|
_e(pt, {
|
|
@@ -14639,7 +14643,7 @@ const Ky = /* @__PURE__ */ se({
|
|
|
14639
14643
|
key: 0,
|
|
14640
14644
|
space: 1
|
|
14641
14645
|
})) : L("", !0),
|
|
14642
|
-
l.$slots.default ? (h(), M("div",
|
|
14646
|
+
l.$slots.default ? (h(), M("div", u0, [
|
|
14643
14647
|
H(l.$slots, "default", { close: n }, void 0, !0)
|
|
14644
14648
|
])) : L("", !0)
|
|
14645
14649
|
], 6)) : L("", !0)
|
|
@@ -14651,7 +14655,7 @@ const Ky = /* @__PURE__ */ se({
|
|
|
14651
14655
|
})
|
|
14652
14656
|
]));
|
|
14653
14657
|
}
|
|
14654
|
-
}),
|
|
14658
|
+
}), lg = /* @__PURE__ */ Wt(d0, [["__scopeId", "data-v-6b64b128"]]), oi = "var(--border-radius-s)", og = /* @__PURE__ */ se({
|
|
14655
14659
|
__name: "Skeleton",
|
|
14656
14660
|
props: {
|
|
14657
14661
|
radius: { default: () => oi },
|
|
@@ -14670,13 +14674,13 @@ const Ky = /* @__PURE__ */ se({
|
|
|
14670
14674
|
})
|
|
14671
14675
|
}, null, 4));
|
|
14672
14676
|
}
|
|
14673
|
-
}),
|
|
14677
|
+
}), c0 = ["id"], f0 = ["for"], v0 = {
|
|
14674
14678
|
key: 0,
|
|
14675
14679
|
class: "vui-switch-content"
|
|
14676
|
-
},
|
|
14680
|
+
}, p0 = {
|
|
14677
14681
|
key: 1,
|
|
14678
14682
|
class: "vui-switch-content"
|
|
14679
|
-
},
|
|
14683
|
+
}, ig = /* @__PURE__ */ se({
|
|
14680
14684
|
__name: "Switch",
|
|
14681
14685
|
props: /* @__PURE__ */ ft({
|
|
14682
14686
|
label: {},
|
|
@@ -14695,24 +14699,24 @@ const Ky = /* @__PURE__ */ se({
|
|
|
14695
14699
|
id: p(a),
|
|
14696
14700
|
"onUpdate:modelValue": l[0] || (l[0] = (o) => n.value = o),
|
|
14697
14701
|
type: "checkbox"
|
|
14698
|
-
}, null, 8,
|
|
14702
|
+
}, null, 8, c0), [
|
|
14699
14703
|
[ui, n.value]
|
|
14700
14704
|
]),
|
|
14701
14705
|
le("label", { for: p(a) }, [
|
|
14702
14706
|
l[1] || (l[1] = le("div", { class: "vui-switch-icon" }, [
|
|
14703
14707
|
le("span", { class: "vui-switch-indicator" })
|
|
14704
14708
|
], -1)),
|
|
14705
|
-
t.default ? (h(), M("div",
|
|
14709
|
+
t.default ? (h(), M("div", p0, [
|
|
14706
14710
|
H(r.$slots, "default")
|
|
14707
|
-
])) : (h(), M("p",
|
|
14708
|
-
], 8,
|
|
14711
|
+
])) : (h(), M("p", v0, Me(r.label), 1))
|
|
14712
|
+
], 8, f0)
|
|
14709
14713
|
], 2));
|
|
14710
14714
|
}
|
|
14711
|
-
}),
|
|
14715
|
+
}), m0 = {
|
|
14712
14716
|
key: 0,
|
|
14713
14717
|
ref: "context",
|
|
14714
14718
|
class: "vui-cell-context"
|
|
14715
|
-
},
|
|
14719
|
+
}, sg = /* @__PURE__ */ se({
|
|
14716
14720
|
__name: "Cell",
|
|
14717
14721
|
setup(e) {
|
|
14718
14722
|
const t = vt(), n = gt("context"), a = A(() => {
|
|
@@ -14725,15 +14729,15 @@ const Ky = /* @__PURE__ */ se({
|
|
|
14725
14729
|
style: Ne(a.value)
|
|
14726
14730
|
}, [
|
|
14727
14731
|
H(r.$slots, "default"),
|
|
14728
|
-
r.$slots.context ? (h(), M("div",
|
|
14732
|
+
r.$slots.context ? (h(), M("div", m0, [
|
|
14729
14733
|
H(r.$slots, "context")
|
|
14730
14734
|
], 512)) : L("", !0)
|
|
14731
14735
|
], 4));
|
|
14732
14736
|
}
|
|
14733
|
-
}),
|
|
14737
|
+
}), h0 = {
|
|
14734
14738
|
key: 0,
|
|
14735
14739
|
class: "vui-table-th-content"
|
|
14736
|
-
},
|
|
14740
|
+
}, ug = /* @__PURE__ */ se({
|
|
14737
14741
|
__name: "Header",
|
|
14738
14742
|
props: {
|
|
14739
14743
|
header: {},
|
|
@@ -14761,7 +14765,7 @@ const Ky = /* @__PURE__ */ se({
|
|
|
14761
14765
|
}
|
|
14762
14766
|
});
|
|
14763
14767
|
return (a, r) => (h(), M("th", null, [
|
|
14764
|
-
t.header ? (h(), M("div",
|
|
14768
|
+
t.header ? (h(), M("div", h0, [
|
|
14765
14769
|
H(a.$slots, "default", {}, () => [
|
|
14766
14770
|
je(Me(t.header.label), 1)
|
|
14767
14771
|
]),
|
|
@@ -14778,15 +14782,15 @@ const Ky = /* @__PURE__ */ se({
|
|
|
14778
14782
|
])) : L("", !0)
|
|
14779
14783
|
]));
|
|
14780
14784
|
}
|
|
14781
|
-
}),
|
|
14785
|
+
}), y0 = { class: "vui-table-row" }, dg = /* @__PURE__ */ se({
|
|
14782
14786
|
__name: "Row",
|
|
14783
14787
|
setup(e) {
|
|
14784
|
-
return (t, n) => (h(), M("tr",
|
|
14788
|
+
return (t, n) => (h(), M("tr", y0, [
|
|
14785
14789
|
H(t.$slots, "default")
|
|
14786
14790
|
]));
|
|
14787
14791
|
}
|
|
14788
14792
|
}), Pr = Symbol("select-row-provide");
|
|
14789
|
-
function
|
|
14793
|
+
function cg(e, t) {
|
|
14790
14794
|
const n = A(() => uu(e)), a = I(Object.assign({
|
|
14791
14795
|
pagination: {
|
|
14792
14796
|
enabled: !1,
|
|
@@ -14796,7 +14800,7 @@ function dg(e, t) {
|
|
|
14796
14800
|
select: !1
|
|
14797
14801
|
}, t)), r = I(1), l = A(() => {
|
|
14798
14802
|
var O, D;
|
|
14799
|
-
return
|
|
14803
|
+
return Ky(
|
|
14800
14804
|
n.value.length,
|
|
14801
14805
|
r.value,
|
|
14802
14806
|
(O = a.value.pagination) == null ? void 0 : O.perPage,
|
|
@@ -14885,7 +14889,7 @@ function dg(e, t) {
|
|
|
14885
14889
|
isSelectedAll: b
|
|
14886
14890
|
};
|
|
14887
14891
|
}
|
|
14888
|
-
const
|
|
14892
|
+
const fg = /* @__PURE__ */ se({
|
|
14889
14893
|
__name: "SelectAll",
|
|
14890
14894
|
setup(e) {
|
|
14891
14895
|
const {
|
|
@@ -14905,7 +14909,7 @@ const cg = /* @__PURE__ */ se({
|
|
|
14905
14909
|
}, null, 8, ["icon"])
|
|
14906
14910
|
], 2)) : L("", !0);
|
|
14907
14911
|
}
|
|
14908
|
-
}),
|
|
14912
|
+
}), vg = /* @__PURE__ */ se({
|
|
14909
14913
|
__name: "SelectRow",
|
|
14910
14914
|
props: {
|
|
14911
14915
|
row: {}
|
|
@@ -14928,7 +14932,7 @@ const cg = /* @__PURE__ */ se({
|
|
|
14928
14932
|
}, null, 8, ["icon"])
|
|
14929
14933
|
], 2)) : L("", !0);
|
|
14930
14934
|
}
|
|
14931
|
-
}),
|
|
14935
|
+
}), g0 = { class: "vui-table-pagination-wrap" }, pg = /* @__PURE__ */ se({
|
|
14932
14936
|
__name: "Table",
|
|
14933
14937
|
props: {
|
|
14934
14938
|
fixed: { type: Boolean },
|
|
@@ -14959,12 +14963,12 @@ const cg = /* @__PURE__ */ se({
|
|
|
14959
14963
|
H(n.$slots, "body")
|
|
14960
14964
|
])
|
|
14961
14965
|
]),
|
|
14962
|
-
le("div",
|
|
14966
|
+
le("div", g0, [
|
|
14963
14967
|
H(n.$slots, "pagination")
|
|
14964
14968
|
])
|
|
14965
14969
|
], 2));
|
|
14966
14970
|
}
|
|
14967
|
-
}),
|
|
14971
|
+
}), w0 = ["data-tab-id", "name"], mg = /* @__PURE__ */ se({
|
|
14968
14972
|
__name: "Tab",
|
|
14969
14973
|
props: {
|
|
14970
14974
|
disabled: { type: Boolean },
|
|
@@ -14977,19 +14981,20 @@ const cg = /* @__PURE__ */ se({
|
|
|
14977
14981
|
return (a, r) => (h(), M("button", {
|
|
14978
14982
|
class: ge(["vui-tab", { disabled: t.disabled }]),
|
|
14979
14983
|
"data-tab-id": n.value,
|
|
14980
|
-
role: "tab"
|
|
14984
|
+
role: "tab",
|
|
14985
|
+
name: n.value
|
|
14981
14986
|
}, [
|
|
14982
14987
|
t.icon ? (h(), oe(p(Ue), {
|
|
14983
14988
|
key: 0,
|
|
14984
14989
|
icon: t.icon
|
|
14985
14990
|
}, null, 8, ["icon"])) : L("", !0),
|
|
14986
14991
|
je(" " + Me(t.label), 1)
|
|
14987
|
-
], 10,
|
|
14992
|
+
], 10, w0));
|
|
14988
14993
|
}
|
|
14989
|
-
}),
|
|
14994
|
+
}), b0 = {
|
|
14990
14995
|
ref: "underline",
|
|
14991
14996
|
class: "vui-tab-underline"
|
|
14992
|
-
},
|
|
14997
|
+
}, hg = /* @__PURE__ */ se({
|
|
14993
14998
|
__name: "Tabs",
|
|
14994
14999
|
props: /* @__PURE__ */ ft({
|
|
14995
15000
|
variant: { default: "default" },
|
|
@@ -15033,12 +15038,12 @@ const cg = /* @__PURE__ */ se({
|
|
|
15033
15038
|
class: ge({ active: s.props.id === n.value }),
|
|
15034
15039
|
onClick: (c) => n.value = s.props.id
|
|
15035
15040
|
}, null, 8, ["class", "onClick"]))), 128)),
|
|
15036
|
-
le("div",
|
|
15041
|
+
le("div", b0, null, 512)
|
|
15037
15042
|
], 2));
|
|
15038
15043
|
}
|
|
15039
15044
|
}), sr = I(/* @__PURE__ */ new Map());
|
|
15040
15045
|
let Qa = 0;
|
|
15041
|
-
function
|
|
15046
|
+
function yg(e, t) {
|
|
15042
15047
|
const n = Object.assign({
|
|
15043
15048
|
persist: !1,
|
|
15044
15049
|
timeout: 7e3
|
|
@@ -15056,14 +15061,14 @@ function hg(e, t) {
|
|
|
15056
15061
|
sr.value.delete(r);
|
|
15057
15062
|
}, n.timeout, Qa), Qa++, a;
|
|
15058
15063
|
}
|
|
15059
|
-
function
|
|
15064
|
+
function gg(e) {
|
|
15060
15065
|
sr.value.delete(e);
|
|
15061
15066
|
}
|
|
15062
|
-
const
|
|
15067
|
+
const k0 = { class: "vui-toast-wrapper" }, _0 = { class: "vui-toast-item-content" }, x0 = { key: 0 }, $0 = /* @__PURE__ */ se({
|
|
15063
15068
|
__name: "Toasts",
|
|
15064
15069
|
setup(e) {
|
|
15065
15070
|
return (t, n) => (h(), oe(Ta, { to: "body" }, [
|
|
15066
|
-
le("div",
|
|
15071
|
+
le("div", k0, [
|
|
15067
15072
|
_e(du, {
|
|
15068
15073
|
name: "toast",
|
|
15069
15074
|
tag: "ul",
|
|
@@ -15074,9 +15079,9 @@ const b0 = { class: "vui-toast-wrapper" }, k0 = { class: "vui-toast-item-content
|
|
|
15074
15079
|
key: a,
|
|
15075
15080
|
class: "vui-toast-item"
|
|
15076
15081
|
}, [
|
|
15077
|
-
le("div",
|
|
15082
|
+
le("div", _0, [
|
|
15078
15083
|
le("strong", null, Me(r.title), 1),
|
|
15079
|
-
r.description ? (h(), M("p",
|
|
15084
|
+
r.description ? (h(), M("p", x0, Me(r.description), 1)) : L("", !0)
|
|
15080
15085
|
]),
|
|
15081
15086
|
r.action ? (h(), oe(pt, {
|
|
15082
15087
|
key: 0,
|
|
@@ -15094,7 +15099,7 @@ const b0 = { class: "vui-toast-wrapper" }, k0 = { class: "vui-toast-item-content
|
|
|
15094
15099
|
])
|
|
15095
15100
|
]));
|
|
15096
15101
|
}
|
|
15097
|
-
}),
|
|
15102
|
+
}), wg = /* @__PURE__ */ Wt($0, [["__scopeId", "data-v-d0d7691b"]]), D0 = ["aria-describedby"], P0 = /* @__PURE__ */ se({
|
|
15098
15103
|
__name: "Tooltip",
|
|
15099
15104
|
props: {
|
|
15100
15105
|
placement: { default: "bottom" },
|
|
@@ -15119,12 +15124,13 @@ const b0 = { class: "vui-toast-wrapper" }, k0 = { class: "vui-toast-item-content
|
|
|
15119
15124
|
return (o, i) => (h(), M(be, null, [
|
|
15120
15125
|
le("div", {
|
|
15121
15126
|
ref: "popoutAnchor",
|
|
15127
|
+
class: "inline-block",
|
|
15122
15128
|
"aria-describedby": p(l),
|
|
15123
15129
|
onMouseenter: i[0] || (i[0] = (s) => n.value = !0),
|
|
15124
15130
|
onMouseleave: i[1] || (i[1] = (s) => n.value = !1)
|
|
15125
15131
|
}, [
|
|
15126
15132
|
H(o.$slots, "default", {}, void 0, !0)
|
|
15127
|
-
], 40,
|
|
15133
|
+
], 40, D0),
|
|
15128
15134
|
_e(Ct, {
|
|
15129
15135
|
appear: "",
|
|
15130
15136
|
name: "tooltip"
|
|
@@ -15148,64 +15154,64 @@ const b0 = { class: "vui-toast-wrapper" }, k0 = { class: "vui-toast-item-content
|
|
|
15148
15154
|
})
|
|
15149
15155
|
], 64));
|
|
15150
15156
|
}
|
|
15151
|
-
}),
|
|
15157
|
+
}), bg = /* @__PURE__ */ Wt(P0, [["__scopeId", "data-v-cc9d7f8a"]]);
|
|
15152
15158
|
export {
|
|
15153
|
-
|
|
15154
|
-
|
|
15155
|
-
|
|
15156
|
-
|
|
15159
|
+
A0 as Accordion,
|
|
15160
|
+
O0 as AccordionGroup,
|
|
15161
|
+
C0 as Alert,
|
|
15162
|
+
S0 as Avatar,
|
|
15157
15163
|
Qs as Backdrop,
|
|
15158
|
-
|
|
15159
|
-
|
|
15160
|
-
|
|
15164
|
+
B0 as Badge,
|
|
15165
|
+
R0 as BreadcrumbItem,
|
|
15166
|
+
E0 as Breadcrumbs,
|
|
15161
15167
|
pt as Button,
|
|
15162
|
-
|
|
15163
|
-
|
|
15168
|
+
I0 as ButtonGroup,
|
|
15169
|
+
N0 as Calendar,
|
|
15164
15170
|
lm as Card,
|
|
15165
|
-
|
|
15166
|
-
|
|
15167
|
-
|
|
15168
|
-
|
|
15169
|
-
|
|
15171
|
+
sg as Cell,
|
|
15172
|
+
Y0 as Checkbox,
|
|
15173
|
+
G0 as Confirm,
|
|
15174
|
+
F0 as CopyClipboard,
|
|
15175
|
+
W0 as Counter,
|
|
15170
15176
|
cl as Divider,
|
|
15171
|
-
|
|
15172
|
-
|
|
15173
|
-
|
|
15174
|
-
|
|
15175
|
-
|
|
15176
|
-
|
|
15177
|
+
j0 as Drawer,
|
|
15178
|
+
my as Dropdown,
|
|
15179
|
+
wy as DropdownItem,
|
|
15180
|
+
$y as DropdownTitle,
|
|
15181
|
+
q0 as Dropzone,
|
|
15182
|
+
z0 as File,
|
|
15177
15183
|
bn as Flex,
|
|
15178
|
-
|
|
15179
|
-
|
|
15184
|
+
H0 as Grid,
|
|
15185
|
+
ug as Header,
|
|
15180
15186
|
Na as Input,
|
|
15181
|
-
|
|
15182
|
-
|
|
15183
|
-
|
|
15184
|
-
|
|
15185
|
-
|
|
15186
|
-
|
|
15187
|
-
|
|
15187
|
+
K0 as Kbd,
|
|
15188
|
+
X0 as KbdGroup,
|
|
15189
|
+
jy as Modal,
|
|
15190
|
+
J0 as OTP,
|
|
15191
|
+
Z0 as OTPItem,
|
|
15192
|
+
eg as Pagination,
|
|
15193
|
+
U0 as Password,
|
|
15188
15194
|
Us as Popout,
|
|
15189
|
-
|
|
15190
|
-
|
|
15191
|
-
|
|
15192
|
-
|
|
15193
|
-
|
|
15194
|
-
|
|
15195
|
-
|
|
15196
|
-
|
|
15197
|
-
|
|
15195
|
+
tg as Progress,
|
|
15196
|
+
ng as Radio,
|
|
15197
|
+
ag as RadioGroup,
|
|
15198
|
+
dg as Row,
|
|
15199
|
+
rg as Select,
|
|
15200
|
+
fg as SelectAll,
|
|
15201
|
+
vg as SelectRow,
|
|
15202
|
+
lg as Sheet,
|
|
15203
|
+
og as Skeleton,
|
|
15198
15204
|
Yd as Spinner,
|
|
15199
|
-
|
|
15200
|
-
|
|
15201
|
-
|
|
15202
|
-
|
|
15203
|
-
|
|
15204
|
-
|
|
15205
|
-
|
|
15206
|
-
|
|
15207
|
-
|
|
15208
|
-
|
|
15209
|
-
|
|
15205
|
+
ig as Switch,
|
|
15206
|
+
mg as Tab,
|
|
15207
|
+
pg as Table,
|
|
15208
|
+
hg as Tabs,
|
|
15209
|
+
Q0 as Textarea,
|
|
15210
|
+
wg as Toasts,
|
|
15211
|
+
bg as Tooltip,
|
|
15212
|
+
cg as defineTable,
|
|
15213
|
+
Ky as paginate,
|
|
15214
|
+
yg as pushToast,
|
|
15215
|
+
gg as removeToast,
|
|
15210
15216
|
Oi as searchString
|
|
15211
15217
|
};
|