@dolanske/vui 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion/AccordionGroup.vue.d.ts +1 -1
- package/dist/components/CopyClipboard/CopyClipboard.vue.d.ts +4 -4
- package/dist/components/Input/Dropzone.vue.d.ts +2 -2
- package/dist/components/Input/Input.vue.d.ts +2 -2
- package/dist/components/Popout/Popout.vue.d.ts +2 -2
- package/dist/components/Progress/Progress.vue.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/vui.js +199 -214
- package/package.json +1 -1
- package/src/App.vue +5 -1
- package/src/components/Accordion/Accordion.vue +2 -2
- package/src/components/Accordion/AccordionGroup.vue +2 -2
- package/src/components/CopyClipboard/CopyClipboard.vue +4 -4
- package/src/components/Dropdown/Dropdown.vue +4 -4
- package/src/components/Input/Dropzone.vue +2 -2
- package/src/components/Input/Input.vue +2 -2
- package/src/components/Popout/Popout.vue +2 -2
- package/src/components/Progress/Progress.vue +2 -2
- package/src/components/Select/Select.vue +2 -2
- package/src/components/Table/Cell.vue +2 -2
- package/src/components/Tabs/Tabs.vue +7 -7
- package/src/components/Tooltip/Tooltip.vue +2 -2
package/dist/vui.js
CHANGED
|
@@ -1234,7 +1234,7 @@ const sd = {
|
|
|
1234
1234
|
...t.data
|
|
1235
1235
|
}, n);
|
|
1236
1236
|
}
|
|
1237
|
-
}),
|
|
1237
|
+
}), w0 = /* @__PURE__ */ se({
|
|
1238
1238
|
__name: "Accordion",
|
|
1239
1239
|
props: {
|
|
1240
1240
|
open: { type: Boolean },
|
|
@@ -1288,8 +1288,7 @@ const sd = {
|
|
|
1288
1288
|
_e(p(Xe), { icon: "ph:caret-down" })
|
|
1289
1289
|
])),
|
|
1290
1290
|
le("div", {
|
|
1291
|
-
|
|
1292
|
-
ref: o,
|
|
1291
|
+
ref: "content",
|
|
1293
1292
|
class: "vui-accordion-content",
|
|
1294
1293
|
style: ze({ "max-height": l.value ? `${i.value}px` : "0px" })
|
|
1295
1294
|
}, [
|
|
@@ -1297,13 +1296,13 @@ const sd = {
|
|
|
1297
1296
|
], 4)
|
|
1298
1297
|
], 2));
|
|
1299
1298
|
}
|
|
1300
|
-
}),
|
|
1299
|
+
}), b0 = /* @__PURE__ */ se({
|
|
1301
1300
|
__name: "AccordionGroup",
|
|
1302
1301
|
props: {
|
|
1303
1302
|
single: { type: Boolean }
|
|
1304
1303
|
},
|
|
1305
1304
|
setup(e) {
|
|
1306
|
-
const t = e, n = ft(), a = _t("
|
|
1305
|
+
const t = e, n = ft(), a = _t("accordion");
|
|
1307
1306
|
function r(l) {
|
|
1308
1307
|
!a.value || !t.single || a.value.forEach((o, i) => {
|
|
1309
1308
|
i !== l && o.close();
|
|
@@ -1311,8 +1310,7 @@ const sd = {
|
|
|
1311
1310
|
}
|
|
1312
1311
|
return (l, o) => (h(!0), M(ke, null, Ee(n.default(), (i, s) => (h(), ie(kn(i), {
|
|
1313
1312
|
ref_for: !0,
|
|
1314
|
-
|
|
1315
|
-
ref: a,
|
|
1313
|
+
ref: "accordion",
|
|
1316
1314
|
key: i,
|
|
1317
1315
|
onOpen: (d) => r(s)
|
|
1318
1316
|
}, null, 40, ["onOpen"]))), 128));
|
|
@@ -1323,7 +1321,7 @@ const sd = {
|
|
|
1323
1321
|
}, dd = {
|
|
1324
1322
|
key: 2,
|
|
1325
1323
|
class: "vui-alert-default-content"
|
|
1326
|
-
}, cd = { key: 0 }, fd = { key: 1 },
|
|
1324
|
+
}, cd = { key: 0 }, fd = { key: 1 }, k0 = /* @__PURE__ */ se({
|
|
1327
1325
|
__name: "Alert",
|
|
1328
1326
|
props: {
|
|
1329
1327
|
variant: { default: "neutral" },
|
|
@@ -1363,7 +1361,7 @@ const sd = {
|
|
|
1363
1361
|
j(n.$slots, "end")
|
|
1364
1362
|
], 2));
|
|
1365
1363
|
}
|
|
1366
|
-
}), vd = ["src"], pd = { key: 1 },
|
|
1364
|
+
}), vd = ["src"], pd = { key: 1 }, _0 = /* @__PURE__ */ se({
|
|
1367
1365
|
__name: "Avatar",
|
|
1368
1366
|
props: {
|
|
1369
1367
|
size: { default: "m" },
|
|
@@ -1390,7 +1388,7 @@ const sd = {
|
|
|
1390
1388
|
]))
|
|
1391
1389
|
], 2));
|
|
1392
1390
|
}
|
|
1393
|
-
}),
|
|
1391
|
+
}), x0 = /* @__PURE__ */ se({
|
|
1394
1392
|
__name: "Badge",
|
|
1395
1393
|
props: {
|
|
1396
1394
|
variant: { default: "neutral" },
|
|
@@ -1404,7 +1402,7 @@ const sd = {
|
|
|
1404
1402
|
j(t.$slots, "default")
|
|
1405
1403
|
], 2));
|
|
1406
1404
|
}
|
|
1407
|
-
}), md = ["href"], hd = { class: "vui-breadcrumb-text-simple" },
|
|
1405
|
+
}), md = ["href"], hd = { class: "vui-breadcrumb-text-simple" }, $0 = /* @__PURE__ */ se({
|
|
1408
1406
|
__name: "BreadcrumbItem",
|
|
1409
1407
|
props: {
|
|
1410
1408
|
label: {},
|
|
@@ -1429,7 +1427,7 @@ const sd = {
|
|
|
1429
1427
|
}), yd = { class: "vui-breadcrumbs" }, gd = {
|
|
1430
1428
|
key: 1,
|
|
1431
1429
|
class: "vui-breadcrumb-custom-separator"
|
|
1432
|
-
},
|
|
1430
|
+
}, D0 = /* @__PURE__ */ se({
|
|
1433
1431
|
__name: "Breadcrumbs",
|
|
1434
1432
|
props: {
|
|
1435
1433
|
separator: { default: "ph:caret-right" }
|
|
@@ -1606,7 +1604,7 @@ const Dd = { class: "vui-flex" }, Pd = /* @__PURE__ */ se({
|
|
|
1606
1604
|
j(d.$slots, "default", {}, void 0, !0)
|
|
1607
1605
|
]));
|
|
1608
1606
|
}
|
|
1609
|
-
}), yn = /* @__PURE__ */ At(Pd, [["__scopeId", "data-v-2bf92df7"]]),
|
|
1607
|
+
}), yn = /* @__PURE__ */ At(Pd, [["__scopeId", "data-v-2bf92df7"]]), P0 = /* @__PURE__ */ se({
|
|
1610
1608
|
__name: "ButtonGroup",
|
|
1611
1609
|
props: {
|
|
1612
1610
|
vertical: { type: Boolean }
|
|
@@ -9627,7 +9625,7 @@ const kp = ({
|
|
|
9627
9625
|
Object.entries(Np).forEach(([e, t]) => {
|
|
9628
9626
|
e !== "default" && (El[e] = t);
|
|
9629
9627
|
});
|
|
9630
|
-
const
|
|
9628
|
+
const M0 = /* @__PURE__ */ se({
|
|
9631
9629
|
__name: "Calendar",
|
|
9632
9630
|
props: {
|
|
9633
9631
|
uid: {},
|
|
@@ -9887,7 +9885,7 @@ const $0 = /* @__PURE__ */ se({
|
|
|
9887
9885
|
}, Up = {
|
|
9888
9886
|
key: 1,
|
|
9889
9887
|
class: "vui-checkbox-content"
|
|
9890
|
-
},
|
|
9888
|
+
}, T0 = /* @__PURE__ */ se({
|
|
9891
9889
|
__name: "Checkbox",
|
|
9892
9890
|
props: /* @__PURE__ */ yt({
|
|
9893
9891
|
label: {},
|
|
@@ -11289,7 +11287,7 @@ function Ds(e = {}) {
|
|
|
11289
11287
|
);
|
|
11290
11288
|
return y;
|
|
11291
11289
|
}
|
|
11292
|
-
const
|
|
11290
|
+
const A0 = /* @__PURE__ */ se({
|
|
11293
11291
|
__name: "CopyClipboard",
|
|
11294
11292
|
props: {
|
|
11295
11293
|
text: {},
|
|
@@ -11307,7 +11305,7 @@ const P0 = /* @__PURE__ */ se({
|
|
|
11307
11305
|
Xs(() => {
|
|
11308
11306
|
a.value || console.error("Clipboard API is not supported. This component will not work"), e.confirm && r.confirm && console.warn("You are using the 'confirm' prop and slot. The slot will take precedence.");
|
|
11309
11307
|
});
|
|
11310
|
-
const l = _t("
|
|
11308
|
+
const l = _t("anchor"), o = _t("tooltip"), { floatingStyles: i } = bs(l, o, {
|
|
11311
11309
|
whileElementsMounted: Pm,
|
|
11312
11310
|
transform: !1,
|
|
11313
11311
|
placement: "top",
|
|
@@ -11319,8 +11317,7 @@ const P0 = /* @__PURE__ */ se({
|
|
|
11319
11317
|
});
|
|
11320
11318
|
return (s, d) => (h(), M(ke, null, [
|
|
11321
11319
|
le("div", {
|
|
11322
|
-
|
|
11323
|
-
ref: l,
|
|
11320
|
+
ref: "anchor",
|
|
11324
11321
|
class: "vui-clipboard-copy-wrap",
|
|
11325
11322
|
role: "button",
|
|
11326
11323
|
onClick: d[0] || (d[0] = (u) => p(t)(s.text))
|
|
@@ -11337,8 +11334,7 @@ const P0 = /* @__PURE__ */ se({
|
|
|
11337
11334
|
default: Z(() => [
|
|
11338
11335
|
p(n) && (s.confirm || s.$slots.confirm) ? (h(), M("div", {
|
|
11339
11336
|
key: 0,
|
|
11340
|
-
|
|
11341
|
-
ref: o,
|
|
11337
|
+
ref: "tooltip",
|
|
11342
11338
|
class: "vui-clipboard-tooltip",
|
|
11343
11339
|
style: ze(p(i))
|
|
11344
11340
|
}, [
|
|
@@ -11546,7 +11542,7 @@ function nh(e) {
|
|
|
11546
11542
|
t.reduce((n, a) => sl(n, a, ""), {})
|
|
11547
11543
|
);
|
|
11548
11544
|
}
|
|
11549
|
-
const ah = nh(), [Os,
|
|
11545
|
+
const ah = nh(), [Os, O0] = br("ConfigProvider");
|
|
11550
11546
|
let rh = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", lh = (e = 21) => {
|
|
11551
11547
|
let t = "", n = e;
|
|
11552
11548
|
for (; n--; )
|
|
@@ -12477,7 +12473,7 @@ const Is = /* @__PURE__ */ se({
|
|
|
12477
12473
|
_: 3
|
|
12478
12474
|
}, 16, ["id"]));
|
|
12479
12475
|
}
|
|
12480
|
-
}), [Ns,
|
|
12476
|
+
}), [Ns, C0] = br("CollectionProvider");
|
|
12481
12477
|
se({
|
|
12482
12478
|
name: "CollectionSlot",
|
|
12483
12479
|
setup(e, { slots: t }) {
|
|
@@ -13319,7 +13315,7 @@ const ny = /* @__PURE__ */ se({
|
|
|
13319
13315
|
_: 3
|
|
13320
13316
|
}, 16, ["open"]));
|
|
13321
13317
|
}
|
|
13322
|
-
}),
|
|
13318
|
+
}), S0 = /* @__PURE__ */ At(ly, [["__scopeId", "data-v-0e7df4c4"]]), Ls = /* @__PURE__ */ se({
|
|
13323
13319
|
__name: "Popout",
|
|
13324
13320
|
props: {
|
|
13325
13321
|
anchor: {},
|
|
@@ -13327,7 +13323,7 @@ const ny = /* @__PURE__ */ se({
|
|
|
13327
13323
|
offset: { default: 8 }
|
|
13328
13324
|
},
|
|
13329
13325
|
setup(e) {
|
|
13330
|
-
const t = e, n = _t("
|
|
13326
|
+
const t = e, n = _t("popout"), a = Xn(t.anchor), { floatingStyles: r } = bs(a, n, {
|
|
13331
13327
|
placement: t.placement,
|
|
13332
13328
|
middleware: [
|
|
13333
13329
|
...t.placement ? [] : [Mm()],
|
|
@@ -13335,15 +13331,17 @@ const ny = /* @__PURE__ */ se({
|
|
|
13335
13331
|
]
|
|
13336
13332
|
});
|
|
13337
13333
|
return (l, o) => (h(), M("div", {
|
|
13338
|
-
|
|
13339
|
-
ref: n,
|
|
13334
|
+
ref: "popout",
|
|
13340
13335
|
style: ze(p(r)),
|
|
13341
13336
|
class: "vui-popout"
|
|
13342
13337
|
}, [
|
|
13343
13338
|
j(l.$slots, "default")
|
|
13344
13339
|
], 4));
|
|
13345
13340
|
}
|
|
13346
|
-
}), oy =
|
|
13341
|
+
}), oy = {
|
|
13342
|
+
ref: "anchor",
|
|
13343
|
+
class: "vui-dropdown-trigger-wrap"
|
|
13344
|
+
}, iy = /* @__PURE__ */ se({
|
|
13347
13345
|
__name: "Dropdown",
|
|
13348
13346
|
props: {
|
|
13349
13347
|
placement: { default: "bottom-start" },
|
|
@@ -13351,7 +13349,7 @@ const ny = /* @__PURE__ */ se({
|
|
|
13351
13349
|
expand: { type: Boolean }
|
|
13352
13350
|
},
|
|
13353
13351
|
setup(e, { expose: t }) {
|
|
13354
|
-
const n = _t("
|
|
13352
|
+
const n = _t("anchor"), a = _t("dropdown"), r = F(!1);
|
|
13355
13353
|
function l() {
|
|
13356
13354
|
r.value = !0;
|
|
13357
13355
|
}
|
|
@@ -13375,11 +13373,7 @@ const ny = /* @__PURE__ */ se({
|
|
|
13375
13373
|
toggle: i,
|
|
13376
13374
|
isOpen: r
|
|
13377
13375
|
}), (d, u) => (h(), M(ke, null, [
|
|
13378
|
-
le("div",
|
|
13379
|
-
ref_key: "anchorRef",
|
|
13380
|
-
ref: n,
|
|
13381
|
-
class: "vui-dropdown-trigger-wrap"
|
|
13382
|
-
}, [
|
|
13376
|
+
le("div", oy, [
|
|
13383
13377
|
j(d.$slots, "trigger", {
|
|
13384
13378
|
open: l,
|
|
13385
13379
|
isOpen: r.value,
|
|
@@ -13394,8 +13388,7 @@ const ny = /* @__PURE__ */ se({
|
|
|
13394
13388
|
default: Z(() => [
|
|
13395
13389
|
r.value ? (h(), ie(Ls, {
|
|
13396
13390
|
key: 0,
|
|
13397
|
-
|
|
13398
|
-
ref: a,
|
|
13391
|
+
ref: "dropdown",
|
|
13399
13392
|
anchor: p(n),
|
|
13400
13393
|
class: "vui-dropdown",
|
|
13401
13394
|
placement: d.placement,
|
|
@@ -13419,7 +13412,7 @@ const ny = /* @__PURE__ */ se({
|
|
|
13419
13412
|
})
|
|
13420
13413
|
], 64));
|
|
13421
13414
|
}
|
|
13422
|
-
}),
|
|
13415
|
+
}), sy = /* @__PURE__ */ At(iy, [["__scopeId", "data-v-a80cb9d2"]]), uy = { class: "vui-dropdown-item-icon" }, dy = { class: "vui-dropdown-item-slot" }, cy = { class: "vui-dropdown-item-hint" }, fy = /* @__PURE__ */ se({
|
|
13423
13416
|
__name: "DropdownItem",
|
|
13424
13417
|
props: {
|
|
13425
13418
|
disabled: { type: Boolean },
|
|
@@ -13430,7 +13423,7 @@ const ny = /* @__PURE__ */ se({
|
|
|
13430
13423
|
return (n, a) => (h(), M("button", {
|
|
13431
13424
|
class: ge(["vui-dropdown-item", { disabled: n.disabled }])
|
|
13432
13425
|
}, [
|
|
13433
|
-
le("div",
|
|
13426
|
+
le("div", uy, [
|
|
13434
13427
|
_e(Ot, {
|
|
13435
13428
|
name: "fade",
|
|
13436
13429
|
appear: ""
|
|
@@ -13444,31 +13437,31 @@ const ny = /* @__PURE__ */ se({
|
|
|
13444
13437
|
_: 1
|
|
13445
13438
|
})
|
|
13446
13439
|
]),
|
|
13447
|
-
le("div",
|
|
13440
|
+
le("div", dy, [
|
|
13448
13441
|
j(n.$slots, "default")
|
|
13449
13442
|
]),
|
|
13450
|
-
le("div",
|
|
13443
|
+
le("div", cy, [
|
|
13451
13444
|
j(n.$slots, "hint")
|
|
13452
13445
|
])
|
|
13453
13446
|
], 2));
|
|
13454
13447
|
}
|
|
13455
|
-
}),
|
|
13448
|
+
}), vy = {}, py = { class: "vui-dropdown-title" }, my = {
|
|
13456
13449
|
key: 0,
|
|
13457
13450
|
class: "vui-dropdown-title-end"
|
|
13458
13451
|
};
|
|
13459
|
-
function
|
|
13460
|
-
return h(), M("div",
|
|
13452
|
+
function hy(e, t) {
|
|
13453
|
+
return h(), M("div", py, [
|
|
13461
13454
|
j(e.$slots, "default"),
|
|
13462
|
-
e.$slots.end ? (h(), M("div",
|
|
13455
|
+
e.$slots.end ? (h(), M("div", my, [
|
|
13463
13456
|
j(e.$slots, "end")
|
|
13464
13457
|
])) : H("", !0)
|
|
13465
13458
|
]);
|
|
13466
13459
|
}
|
|
13467
|
-
const
|
|
13460
|
+
const yy = /* @__PURE__ */ At(vy, [["render", hy]]);
|
|
13468
13461
|
function Xo(e, t = 0) {
|
|
13469
13462
|
return Array.from({ length: e }).map((n, a) => t + a);
|
|
13470
13463
|
}
|
|
13471
|
-
function
|
|
13464
|
+
function gy(e, t) {
|
|
13472
13465
|
if (!e)
|
|
13473
13466
|
return !1;
|
|
13474
13467
|
const n = Array.isArray(e) ? e.join(" ") : e;
|
|
@@ -13477,7 +13470,7 @@ function yy(e, t) {
|
|
|
13477
13470
|
function Go(e) {
|
|
13478
13471
|
return typeof e == "number" ? e : e.length;
|
|
13479
13472
|
}
|
|
13480
|
-
function
|
|
13473
|
+
function wy(e) {
|
|
13481
13474
|
return e == null;
|
|
13482
13475
|
}
|
|
13483
13476
|
function Wr(e, t) {
|
|
@@ -13486,7 +13479,7 @@ function Wr(e, t) {
|
|
|
13486
13479
|
function Jo(e) {
|
|
13487
13480
|
return new Promise((t) => setTimeout(t, e));
|
|
13488
13481
|
}
|
|
13489
|
-
const
|
|
13482
|
+
const by = { class: "vui-grid" }, ky = /* @__PURE__ */ se({
|
|
13490
13483
|
__name: "Grid",
|
|
13491
13484
|
props: {
|
|
13492
13485
|
inline: { type: Boolean },
|
|
@@ -13503,20 +13496,20 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
13503
13496
|
"432450d2": r.value
|
|
13504
13497
|
}));
|
|
13505
13498
|
const t = e, n = wi(t.gap), a = R(() => typeof t.columns == "number" ? Xo(t.columns).map(() => "1fr").join(" ") : t.columns ?? "none"), r = R(() => typeof t.rows == "number" ? Xo(t.rows || 1).map(() => "").join("1fr") : t.rows ?? "none"), l = R(() => t.inline ? "inline-grid" : "grid");
|
|
13506
|
-
return (o, i) => (h(), M("div",
|
|
13499
|
+
return (o, i) => (h(), M("div", by, [
|
|
13507
13500
|
j(o.$slots, "default", {}, void 0, !0)
|
|
13508
13501
|
]));
|
|
13509
13502
|
}
|
|
13510
|
-
}),
|
|
13503
|
+
}), B0 = /* @__PURE__ */ At(ky, [["__scopeId", "data-v-66a949b7"]]), _y = { class: "vui-input" }, xy = {
|
|
13511
13504
|
key: 0,
|
|
13512
13505
|
for: "id"
|
|
13513
|
-
},
|
|
13506
|
+
}, $y = {
|
|
13514
13507
|
key: 1,
|
|
13515
13508
|
class: "vui-input-hint"
|
|
13516
|
-
},
|
|
13509
|
+
}, Dy = ["id", "readonly", "type", "placeholder", "required", "max", "accept", "multiple", "min"], Py = {
|
|
13517
13510
|
key: 0,
|
|
13518
13511
|
class: "vui-input-limit"
|
|
13519
|
-
},
|
|
13512
|
+
}, My = {
|
|
13520
13513
|
key: 1,
|
|
13521
13514
|
class: "vui-input-errors"
|
|
13522
13515
|
}, Ra = /* @__PURE__ */ se({
|
|
@@ -13549,7 +13542,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
13549
13542
|
set(o) {
|
|
13550
13543
|
return e.readonly || Go(o) > Number(e.limit) ? e.modelValue : o;
|
|
13551
13544
|
}
|
|
13552
|
-
}), a = la(), r = _t("
|
|
13545
|
+
}), a = la(), r = _t("input");
|
|
13553
13546
|
Ft(() => {
|
|
13554
13547
|
var o;
|
|
13555
13548
|
e.focus && ((o = r.value) == null || o.focus());
|
|
@@ -13564,9 +13557,9 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
13564
13557
|
class: ge(["vui-input-container", { expand: o.expand, required: o.required, readonly: o.readonly, "has-errors": o.errors.length > 0 }])
|
|
13565
13558
|
}, [
|
|
13566
13559
|
j(o.$slots, "before"),
|
|
13567
|
-
le("div",
|
|
13568
|
-
o.label ? (h(), M("label",
|
|
13569
|
-
o.hint ? (h(), M("p",
|
|
13560
|
+
le("div", _y, [
|
|
13561
|
+
o.label ? (h(), M("label", xy, Te(o.label), 1)) : H("", !0),
|
|
13562
|
+
o.hint ? (h(), M("p", $y, Te(o.hint), 1)) : H("", !0),
|
|
13570
13563
|
_e(yn, {
|
|
13571
13564
|
class: "vui-input-style",
|
|
13572
13565
|
gap: 3,
|
|
@@ -13578,8 +13571,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
13578
13571
|
o.$slots.__internal_replace_input ? H("", !0) : tn((h(), M("input", {
|
|
13579
13572
|
key: 0,
|
|
13580
13573
|
id: p(a),
|
|
13581
|
-
|
|
13582
|
-
ref: r,
|
|
13574
|
+
ref: "input",
|
|
13583
13575
|
"onUpdate:modelValue": i[0] || (i[0] = (s) => n.value = s),
|
|
13584
13576
|
readonly: o.readonly,
|
|
13585
13577
|
type: o.type,
|
|
@@ -13590,7 +13582,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
13590
13582
|
accept: o.accept,
|
|
13591
13583
|
multiple: o.multiple,
|
|
13592
13584
|
min: o.min
|
|
13593
|
-
}, null, 8,
|
|
13585
|
+
}, null, 8, Dy)), [
|
|
13594
13586
|
[ai, n.value]
|
|
13595
13587
|
]),
|
|
13596
13588
|
j(o.$slots, "end")
|
|
@@ -13598,14 +13590,14 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
13598
13590
|
_: 3
|
|
13599
13591
|
})
|
|
13600
13592
|
]),
|
|
13601
|
-
o.limit ? (h(), M("p",
|
|
13602
|
-
o.errors.length > 0 ? (h(), M("ul",
|
|
13593
|
+
o.limit ? (h(), M("p", Py, Te(l.value), 1)) : H("", !0),
|
|
13594
|
+
o.errors.length > 0 ? (h(), M("ul", My, [
|
|
13603
13595
|
(h(!0), M(ke, null, Ee(o.errors, (s) => (h(), M("li", { key: s }, Te(s), 1))), 128))
|
|
13604
13596
|
])) : H("", !0),
|
|
13605
13597
|
j(o.$slots, "after")
|
|
13606
13598
|
], 2));
|
|
13607
13599
|
}
|
|
13608
|
-
}),
|
|
13600
|
+
}), Ty = /* @__PURE__ */ se({
|
|
13609
13601
|
__name: "Counter",
|
|
13610
13602
|
props: /* @__PURE__ */ yt({
|
|
13611
13603
|
label: {},
|
|
@@ -13681,7 +13673,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
13681
13673
|
}
|
|
13682
13674
|
]), 1040, ["modelValue"]));
|
|
13683
13675
|
}
|
|
13684
|
-
}),
|
|
13676
|
+
}), R0 = /* @__PURE__ */ At(Ty, [["__scopeId", "data-v-1361c777"]]), Ay = ["id"], Oy = ["for"], E0 = /* @__PURE__ */ se({
|
|
13685
13677
|
__name: "Dropzone",
|
|
13686
13678
|
props: {
|
|
13687
13679
|
label: {},
|
|
@@ -13703,10 +13695,9 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
13703
13695
|
const d = s ? i.target.files : i.dataTransfer.files;
|
|
13704
13696
|
d.length > 0 && a("files", d);
|
|
13705
13697
|
}
|
|
13706
|
-
const o = _t("
|
|
13698
|
+
const o = _t("dropzone");
|
|
13707
13699
|
return bt(o, "dragenter", l, !1), bt(o, "dragleave", l, !1), bt(o, "dragover", l, !1), bt(o, "drop", l, !1), bt(o, "input", (i) => l(i, !0), !1), (i, s) => (h(), ie(Ra, Se(n, {
|
|
13708
|
-
|
|
13709
|
-
ref: o,
|
|
13700
|
+
ref: "dropzone",
|
|
13710
13701
|
type: "file",
|
|
13711
13702
|
class: ["vui-dropzone", { dragging: r.value }],
|
|
13712
13703
|
onDragenter: s[0] || (s[0] = (d) => r.value = !0),
|
|
@@ -13716,7 +13707,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
13716
13707
|
le("input", {
|
|
13717
13708
|
id: d,
|
|
13718
13709
|
type: "file"
|
|
13719
|
-
}, null, 8,
|
|
13710
|
+
}, null, 8, Ay),
|
|
13720
13711
|
le("label", { for: d }, [
|
|
13721
13712
|
j(i.$slots, "default", { dragging: r.value }, () => [
|
|
13722
13713
|
_e(yn, {
|
|
@@ -13736,12 +13727,12 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
13736
13727
|
_: 1
|
|
13737
13728
|
})
|
|
13738
13729
|
])
|
|
13739
|
-
], 8,
|
|
13730
|
+
], 8, Oy)
|
|
13740
13731
|
]),
|
|
13741
13732
|
_: 3
|
|
13742
13733
|
}, 16, ["class"]));
|
|
13743
13734
|
}
|
|
13744
|
-
}),
|
|
13735
|
+
}), I0 = /* @__PURE__ */ se({
|
|
13745
13736
|
__name: "File",
|
|
13746
13737
|
props: {
|
|
13747
13738
|
label: {},
|
|
@@ -13766,7 +13757,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
13766
13757
|
onInput: l[0] || (l[0] = (o) => a("files", o.target.files))
|
|
13767
13758
|
}), null, 16));
|
|
13768
13759
|
}
|
|
13769
|
-
}),
|
|
13760
|
+
}), Cy = /* @__PURE__ */ se({
|
|
13770
13761
|
__name: "Password",
|
|
13771
13762
|
props: {
|
|
13772
13763
|
label: {},
|
|
@@ -13811,19 +13802,19 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
13811
13802
|
_: 1
|
|
13812
13803
|
}, 16, ["type"]));
|
|
13813
13804
|
}
|
|
13814
|
-
}),
|
|
13805
|
+
}), N0 = /* @__PURE__ */ At(Cy, [["__scopeId", "data-v-1908eb1b"]]), Sy = { class: "vui-input" }, By = {
|
|
13815
13806
|
key: 0,
|
|
13816
13807
|
for: "id"
|
|
13817
|
-
},
|
|
13808
|
+
}, Ry = {
|
|
13818
13809
|
key: 1,
|
|
13819
13810
|
class: "vui-input-hint"
|
|
13820
|
-
},
|
|
13811
|
+
}, Ey = ["id", "readonly", "placeholder", "required", "max"], Iy = {
|
|
13821
13812
|
key: 0,
|
|
13822
13813
|
class: "vui-input-limit"
|
|
13823
|
-
},
|
|
13814
|
+
}, Ny = {
|
|
13824
13815
|
key: 1,
|
|
13825
13816
|
class: "vui-input-errors"
|
|
13826
|
-
},
|
|
13817
|
+
}, Y0 = /* @__PURE__ */ se({
|
|
13827
13818
|
__name: "Textarea",
|
|
13828
13819
|
props: /* @__PURE__ */ yt({
|
|
13829
13820
|
label: {},
|
|
@@ -13859,9 +13850,9 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
13859
13850
|
class: ge(["vui-input-container", { expand: a.expand, required: a.required, readonly: a.readonly, "has-errors": a.errors.length > 0 }])
|
|
13860
13851
|
}, [
|
|
13861
13852
|
j(a.$slots, "before"),
|
|
13862
|
-
le("div",
|
|
13863
|
-
a.label ? (h(), M("label",
|
|
13864
|
-
a.hint ? (h(), M("p",
|
|
13853
|
+
le("div", Sy, [
|
|
13854
|
+
a.label ? (h(), M("label", By, Te(a.label), 1)) : H("", !0),
|
|
13855
|
+
a.hint ? (h(), M("p", Ry, Te(a.hint), 1)) : H("", !0),
|
|
13865
13856
|
tn(le("textarea", {
|
|
13866
13857
|
id: p(n),
|
|
13867
13858
|
"onUpdate:modelValue": r[0] || (r[0] = (l) => t.value = l),
|
|
@@ -13875,18 +13866,18 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
13875
13866
|
// @ts-expect-error This is only supported in chrome for now
|
|
13876
13867
|
"field-sizing": a.autoResize ? "content" : "auto"
|
|
13877
13868
|
})
|
|
13878
|
-
}, null, 12,
|
|
13869
|
+
}, null, 12, Ey), [
|
|
13879
13870
|
[ai, t.value]
|
|
13880
13871
|
])
|
|
13881
13872
|
]),
|
|
13882
|
-
a.limit ? (h(), M("p",
|
|
13883
|
-
a.errors.length > 0 ? (h(), M("ul",
|
|
13873
|
+
a.limit ? (h(), M("p", Iy, Te(`${t.value.length}/${a.limit}`), 1)) : H("", !0),
|
|
13874
|
+
a.errors.length > 0 ? (h(), M("ul", Ny, [
|
|
13884
13875
|
(h(!0), M(ke, null, Ee(a.errors, (l) => (h(), M("li", { key: l }, Te(l), 1))), 128))
|
|
13885
13876
|
])) : H("", !0),
|
|
13886
13877
|
j(a.$slots, "after")
|
|
13887
13878
|
], 2));
|
|
13888
13879
|
}
|
|
13889
|
-
}),
|
|
13880
|
+
}), F0 = /* @__PURE__ */ se({
|
|
13890
13881
|
__name: "Kbd",
|
|
13891
13882
|
props: {
|
|
13892
13883
|
keys: {},
|
|
@@ -13904,7 +13895,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
13904
13895
|
class: ge(["vui-kbd", { active: l.value }])
|
|
13905
13896
|
}, Te(n.label ?? n.keys.replaceAll("+", " + ")), 3));
|
|
13906
13897
|
}
|
|
13907
|
-
}),
|
|
13898
|
+
}), V0 = /* @__PURE__ */ se({
|
|
13908
13899
|
__name: "KbdGroup",
|
|
13909
13900
|
emits: ["trigger"],
|
|
13910
13901
|
setup(e, { emit: t }) {
|
|
@@ -13930,7 +13921,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
13930
13921
|
j(a.$slots, "default")
|
|
13931
13922
|
]));
|
|
13932
13923
|
}
|
|
13933
|
-
}),
|
|
13924
|
+
}), Yy = /* @__PURE__ */ se({
|
|
13934
13925
|
__name: "Modal",
|
|
13935
13926
|
props: /* @__PURE__ */ yt({
|
|
13936
13927
|
size: { default: "m" },
|
|
@@ -14005,7 +13996,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14005
13996
|
})
|
|
14006
13997
|
]));
|
|
14007
13998
|
}
|
|
14008
|
-
}),
|
|
13999
|
+
}), Fy = /* @__PURE__ */ At(Yy, [["__scopeId", "data-v-855a3d99"]]), Vy = { class: "typeset" }, L0 = /* @__PURE__ */ se({
|
|
14009
14000
|
__name: "Confirm",
|
|
14010
14001
|
props: /* @__PURE__ */ yt({
|
|
14011
14002
|
title: {},
|
|
@@ -14028,12 +14019,12 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14028
14019
|
const n = e, a = t, r = Pt(e, "modelValue");
|
|
14029
14020
|
return (l, o) => (h(), M(ke, null, [
|
|
14030
14021
|
le("pre", null, Te(l.$props), 1),
|
|
14031
|
-
_e(
|
|
14022
|
+
_e(Fy, Se(n, {
|
|
14032
14023
|
modelValue: r.value,
|
|
14033
14024
|
"onUpdate:modelValue": o[2] || (o[2] = (i) => r.value = i)
|
|
14034
14025
|
}), {
|
|
14035
14026
|
default: Z(() => [
|
|
14036
|
-
le("div",
|
|
14027
|
+
le("div", Vy, [
|
|
14037
14028
|
j(l.$slots, "default")
|
|
14038
14029
|
])
|
|
14039
14030
|
]),
|
|
@@ -14067,7 +14058,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14067
14058
|
}, 16, ["modelValue"])
|
|
14068
14059
|
], 64));
|
|
14069
14060
|
}
|
|
14070
|
-
}),
|
|
14061
|
+
}), Ly = /* @__PURE__ */ se({
|
|
14071
14062
|
__name: "Pagination",
|
|
14072
14063
|
props: {
|
|
14073
14064
|
numbers: { type: Boolean, default: !0 },
|
|
@@ -14164,7 +14155,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14164
14155
|
_: 3
|
|
14165
14156
|
}));
|
|
14166
14157
|
}
|
|
14167
|
-
}),
|
|
14158
|
+
}), H0 = /* @__PURE__ */ At(Ly, [["__scopeId", "data-v-5ca7f612"]]), j0 = /* @__PURE__ */ se({
|
|
14168
14159
|
__name: "Progress",
|
|
14169
14160
|
props: /* @__PURE__ */ yt({
|
|
14170
14161
|
fake: { type: Boolean },
|
|
@@ -14183,16 +14174,15 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14183
14174
|
set(r) {
|
|
14184
14175
|
return Math.min(r, 100);
|
|
14185
14176
|
}
|
|
14186
|
-
}), n = _t("
|
|
14177
|
+
}), n = _t("progress");
|
|
14187
14178
|
Ft(() => {
|
|
14188
|
-
n.value && !
|
|
14179
|
+
n.value && !wy(e.height) && n.value.style.setProperty("--vui-progress-height", `${e.height}px`);
|
|
14189
14180
|
});
|
|
14190
14181
|
async function a() {
|
|
14191
14182
|
e.fake && t.value < 100 && (t.value > 95 ? (t.value += (100 - t.value) * 0.075, await Jo(Wr(500, 3e3))) : (t.value += Wr(1, 10), await Jo(Wr(200, 1e3))), a());
|
|
14192
14183
|
}
|
|
14193
14184
|
return je(a), (r, l) => (h(), M("div", {
|
|
14194
|
-
|
|
14195
|
-
ref: n,
|
|
14185
|
+
ref: "progress",
|
|
14196
14186
|
class: ge(["vui-progress", {
|
|
14197
14187
|
fixed: r.fixed,
|
|
14198
14188
|
"fixed-active": t.value > 0 && t.value < 100
|
|
@@ -14207,13 +14197,13 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14207
14197
|
}, null, 4)
|
|
14208
14198
|
], 2));
|
|
14209
14199
|
}
|
|
14210
|
-
}),
|
|
14200
|
+
}), Hy = ["id", "value", "checked"], jy = ["for"], Wy = { class: "vui-radio-icon" }, qy = {
|
|
14211
14201
|
key: 0,
|
|
14212
14202
|
class: "vui-radio-content"
|
|
14213
|
-
},
|
|
14203
|
+
}, zy = {
|
|
14214
14204
|
key: 1,
|
|
14215
14205
|
class: "vui-radio-content"
|
|
14216
|
-
},
|
|
14206
|
+
}, W0 = /* @__PURE__ */ se({
|
|
14217
14207
|
__name: "Radio",
|
|
14218
14208
|
props: /* @__PURE__ */ yt({
|
|
14219
14209
|
label: {},
|
|
@@ -14235,22 +14225,22 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14235
14225
|
type: "radio",
|
|
14236
14226
|
value: l.value,
|
|
14237
14227
|
checked: r.value
|
|
14238
|
-
}, null, 8,
|
|
14228
|
+
}, null, 8, Hy), [
|
|
14239
14229
|
[ru, n.value]
|
|
14240
14230
|
]),
|
|
14241
14231
|
le("label", { for: p(a) }, [
|
|
14242
|
-
le("span",
|
|
14232
|
+
le("span", Wy, [
|
|
14243
14233
|
_e(p(Xe), {
|
|
14244
14234
|
icon: r.value ? "ph:radio-button-fill" : "ph:circle"
|
|
14245
14235
|
}, null, 8, ["icon"])
|
|
14246
14236
|
]),
|
|
14247
|
-
t.default ? (h(), M("div",
|
|
14237
|
+
t.default ? (h(), M("div", zy, [
|
|
14248
14238
|
j(l.$slots, "default")
|
|
14249
|
-
])) : (h(), M("p",
|
|
14250
|
-
], 8,
|
|
14239
|
+
])) : (h(), M("p", qy, Te(l.label || l.value), 1))
|
|
14240
|
+
], 8, jy)
|
|
14251
14241
|
], 2));
|
|
14252
14242
|
}
|
|
14253
|
-
}),
|
|
14243
|
+
}), q0 = /* @__PURE__ */ se({
|
|
14254
14244
|
__name: "RadioGroup",
|
|
14255
14245
|
props: /* @__PURE__ */ yt({
|
|
14256
14246
|
disabled: { type: Boolean },
|
|
@@ -14294,16 +14284,16 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14294
14284
|
_: 1
|
|
14295
14285
|
}, 16));
|
|
14296
14286
|
}
|
|
14297
|
-
}),
|
|
14287
|
+
}), Uy = { class: "vui-input vui-select-trigger-content" }, Qy = {
|
|
14298
14288
|
key: 0,
|
|
14299
14289
|
for: "id"
|
|
14300
|
-
},
|
|
14290
|
+
}, Ky = {
|
|
14301
14291
|
key: 1,
|
|
14302
14292
|
class: "vui-input-hint"
|
|
14303
|
-
},
|
|
14293
|
+
}, Xy = ["onClick"], Gy = {
|
|
14304
14294
|
key: 1,
|
|
14305
14295
|
class: "vue-select-no-results"
|
|
14306
|
-
},
|
|
14296
|
+
}, z0 = /* @__PURE__ */ se({
|
|
14307
14297
|
__name: "Select",
|
|
14308
14298
|
props: /* @__PURE__ */ yt({
|
|
14309
14299
|
single: { type: Boolean, default: !0 },
|
|
@@ -14334,11 +14324,11 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14334
14324
|
} else
|
|
14335
14325
|
t.value ? (c = t.value) == null || c.push(s) : t.value = [s];
|
|
14336
14326
|
}
|
|
14337
|
-
const a = F(), r = R(() => !a.value || a.value.length === 0 ? e.options : e.options.filter((s) =>
|
|
14327
|
+
const a = F(), r = R(() => !a.value || a.value.length === 0 ? e.options : e.options.filter((s) => gy(s.label, a.value))), l = R(() => !t.value || t.value.length === 0 ? e.placeholder ?? "Select an option" : e.single ? t.value[0].label : t.value.length > e.maxActiveOptions ? `${t.value.length} selected` : t.value.map((s) => s.label).join(", "));
|
|
14338
14328
|
je(() => {
|
|
14339
14329
|
e.readonly && e.showClear && console.warn("[Select] readonly and showClear are mutually exclusive props. The clear button will not show up if required is present.");
|
|
14340
14330
|
});
|
|
14341
|
-
const o = _t("
|
|
14331
|
+
const o = _t("dropdown");
|
|
14342
14332
|
function i() {
|
|
14343
14333
|
var s;
|
|
14344
14334
|
t.value = void 0, (s = o.value) == null || s.close();
|
|
@@ -14346,15 +14336,14 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14346
14336
|
return (s, d) => (h(), M("div", {
|
|
14347
14337
|
class: ge(["vui-input-container vui-select", { expand: s.expand, required: s.required, readonly: s.readonly }])
|
|
14348
14338
|
}, [
|
|
14349
|
-
_e(
|
|
14350
|
-
|
|
14351
|
-
ref: o,
|
|
14339
|
+
_e(sy, {
|
|
14340
|
+
ref: "dropdown",
|
|
14352
14341
|
expand: s.expand
|
|
14353
14342
|
}, {
|
|
14354
14343
|
trigger: Z(({ toggle: u, isOpen: c }) => [
|
|
14355
|
-
le("div",
|
|
14356
|
-
s.label ? (h(), M("label",
|
|
14357
|
-
s.hint ? (h(), M("p",
|
|
14344
|
+
le("div", Uy, [
|
|
14345
|
+
s.label ? (h(), M("label", Qy, Te(s.label), 1)) : H("", !0),
|
|
14346
|
+
s.hint ? (h(), M("p", Ky, Te(s.hint), 1)) : H("", !0),
|
|
14358
14347
|
le("button", {
|
|
14359
14348
|
class: "vui-input-style vui-select-trigger-container",
|
|
14360
14349
|
onClick: u
|
|
@@ -14371,11 +14360,11 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14371
14360
|
_e(p(Xe), {
|
|
14372
14361
|
icon: c ? "ph:caret-up" : "ph:caret-down"
|
|
14373
14362
|
}, null, 8, ["icon"])
|
|
14374
|
-
], 8,
|
|
14363
|
+
], 8, Xy)
|
|
14375
14364
|
])
|
|
14376
14365
|
]),
|
|
14377
14366
|
default: Z(({ close: u, isOpen: c }) => [
|
|
14378
|
-
s.search ? (h(), ie(
|
|
14367
|
+
s.search ? (h(), ie(yy, { key: 0 }, {
|
|
14379
14368
|
default: Z(() => [
|
|
14380
14369
|
_e(Ra, {
|
|
14381
14370
|
modelValue: a.value,
|
|
@@ -14386,10 +14375,10 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14386
14375
|
]),
|
|
14387
14376
|
_: 2
|
|
14388
14377
|
}, 1024)) : H("", !0),
|
|
14389
|
-
r.value.length === 0 ? (h(), M("p",
|
|
14378
|
+
r.value.length === 0 ? (h(), M("p", Gy, " No results... ")) : H("", !0),
|
|
14390
14379
|
(h(!0), M(ke, null, Ee(r.value, (f) => {
|
|
14391
14380
|
var v, y;
|
|
14392
|
-
return h(), ie(
|
|
14381
|
+
return h(), ie(fy, {
|
|
14393
14382
|
key: f.value,
|
|
14394
14383
|
class: ge({ selected: (v = t.value) == null ? void 0 : v.find((m) => m.value === f.value) }),
|
|
14395
14384
|
icon: (y = t.value) != null && y.find((m) => m.value === f.value) ? "ph:check-bold" : "",
|
|
@@ -14408,10 +14397,10 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14408
14397
|
}, 8, ["expand"])
|
|
14409
14398
|
], 2));
|
|
14410
14399
|
}
|
|
14411
|
-
}),
|
|
14400
|
+
}), Jy = { class: "vui-sheet-header" }, Zy = { style: { flex: 1 } }, e0 = {
|
|
14412
14401
|
key: 1,
|
|
14413
14402
|
class: "vui-sheet-content"
|
|
14414
|
-
},
|
|
14403
|
+
}, t0 = /* @__PURE__ */ se({
|
|
14415
14404
|
__name: "Sheet",
|
|
14416
14405
|
props: /* @__PURE__ */ yt({
|
|
14417
14406
|
position: { default: "right" },
|
|
@@ -14464,8 +14453,8 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14464
14453
|
class: ge(["vui-sheet", [`vui-sheet-position-${l.position}`]]),
|
|
14465
14454
|
style: ze(a.value)
|
|
14466
14455
|
}, [
|
|
14467
|
-
le("div",
|
|
14468
|
-
le("div",
|
|
14456
|
+
le("div", Jy, [
|
|
14457
|
+
le("div", Zy, [
|
|
14469
14458
|
j(l.$slots, "header", { close: n }, void 0, !0)
|
|
14470
14459
|
]),
|
|
14471
14460
|
_e(vt, {
|
|
@@ -14478,7 +14467,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14478
14467
|
key: 0,
|
|
14479
14468
|
size: 1
|
|
14480
14469
|
})) : H("", !0),
|
|
14481
|
-
l.$slots.default ? (h(), M("div",
|
|
14470
|
+
l.$slots.default ? (h(), M("div", e0, [
|
|
14482
14471
|
j(l.$slots, "default", { close: n }, void 0, !0)
|
|
14483
14472
|
])) : H("", !0)
|
|
14484
14473
|
], 6)) : H("", !0)
|
|
@@ -14490,7 +14479,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14490
14479
|
})
|
|
14491
14480
|
]));
|
|
14492
14481
|
}
|
|
14493
|
-
}),
|
|
14482
|
+
}), U0 = /* @__PURE__ */ At(t0, [["__scopeId", "data-v-cf947513"]]), Zo = "var(--border-radius-s)", Q0 = /* @__PURE__ */ se({
|
|
14494
14483
|
__name: "Skeleton",
|
|
14495
14484
|
props: {
|
|
14496
14485
|
radius: { default: () => Zo },
|
|
@@ -14515,13 +14504,13 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14515
14504
|
})
|
|
14516
14505
|
}, null, 4));
|
|
14517
14506
|
}
|
|
14518
|
-
}),
|
|
14507
|
+
}), n0 = ["id"], a0 = ["for"], r0 = {
|
|
14519
14508
|
key: 0,
|
|
14520
14509
|
class: "vui-switch-content"
|
|
14521
|
-
},
|
|
14510
|
+
}, l0 = {
|
|
14522
14511
|
key: 1,
|
|
14523
14512
|
class: "vui-switch-content"
|
|
14524
|
-
},
|
|
14513
|
+
}, K0 = /* @__PURE__ */ se({
|
|
14525
14514
|
__name: "Switch",
|
|
14526
14515
|
props: /* @__PURE__ */ yt({
|
|
14527
14516
|
label: {},
|
|
@@ -14540,20 +14529,24 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14540
14529
|
id: p(a),
|
|
14541
14530
|
"onUpdate:modelValue": l[0] || (l[0] = (o) => n.value = o),
|
|
14542
14531
|
type: "checkbox"
|
|
14543
|
-
}, null, 8,
|
|
14532
|
+
}, null, 8, n0), [
|
|
14544
14533
|
[ti, n.value]
|
|
14545
14534
|
]),
|
|
14546
14535
|
le("label", { for: p(a) }, [
|
|
14547
14536
|
l[1] || (l[1] = le("div", { class: "vui-switch-icon" }, [
|
|
14548
14537
|
le("span", { class: "vui-switch-indicator" })
|
|
14549
14538
|
], -1)),
|
|
14550
|
-
t.default ? (h(), M("div",
|
|
14539
|
+
t.default ? (h(), M("div", l0, [
|
|
14551
14540
|
j(r.$slots, "default")
|
|
14552
|
-
])) : (h(), M("p",
|
|
14553
|
-
], 8,
|
|
14541
|
+
])) : (h(), M("p", r0, Te(r.label), 1))
|
|
14542
|
+
], 8, a0)
|
|
14554
14543
|
], 2));
|
|
14555
14544
|
}
|
|
14556
|
-
}),
|
|
14545
|
+
}), o0 = {
|
|
14546
|
+
key: 0,
|
|
14547
|
+
ref: "context",
|
|
14548
|
+
class: "vui-cell-context"
|
|
14549
|
+
}, X0 = /* @__PURE__ */ se({
|
|
14557
14550
|
__name: "Cell",
|
|
14558
14551
|
setup(e) {
|
|
14559
14552
|
const t = ft(), n = _t("context"), a = R(() => {
|
|
@@ -14566,20 +14559,15 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14566
14559
|
style: ze(a.value)
|
|
14567
14560
|
}, [
|
|
14568
14561
|
j(r.$slots, "default"),
|
|
14569
|
-
r.$slots.context ? (h(), M("div",
|
|
14570
|
-
key: 0,
|
|
14571
|
-
ref_key: "context",
|
|
14572
|
-
ref: n,
|
|
14573
|
-
class: "vui-cell-context"
|
|
14574
|
-
}, [
|
|
14562
|
+
r.$slots.context ? (h(), M("div", o0, [
|
|
14575
14563
|
j(r.$slots, "context")
|
|
14576
14564
|
], 512)) : H("", !0)
|
|
14577
14565
|
], 4));
|
|
14578
14566
|
}
|
|
14579
|
-
}),
|
|
14567
|
+
}), i0 = {
|
|
14580
14568
|
key: 0,
|
|
14581
14569
|
class: "vui-table-th-content"
|
|
14582
|
-
},
|
|
14570
|
+
}, G0 = /* @__PURE__ */ se({
|
|
14583
14571
|
__name: "Header",
|
|
14584
14572
|
props: {
|
|
14585
14573
|
header: {},
|
|
@@ -14607,7 +14595,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14607
14595
|
}
|
|
14608
14596
|
});
|
|
14609
14597
|
return (a, r) => (h(), M("th", null, [
|
|
14610
|
-
t.header ? (h(), M("div",
|
|
14598
|
+
t.header ? (h(), M("div", i0, [
|
|
14611
14599
|
j(a.$slots, "default", {}, () => [
|
|
14612
14600
|
He(Te(t.header.label), 1)
|
|
14613
14601
|
]),
|
|
@@ -14624,14 +14612,14 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14624
14612
|
])) : H("", !0)
|
|
14625
14613
|
]));
|
|
14626
14614
|
}
|
|
14627
|
-
}),
|
|
14615
|
+
}), s0 = { class: "vui-table-row" }, J0 = /* @__PURE__ */ se({
|
|
14628
14616
|
__name: "Row",
|
|
14629
14617
|
setup(e) {
|
|
14630
|
-
return (t, n) => (h(), M("tr",
|
|
14618
|
+
return (t, n) => (h(), M("tr", s0, [
|
|
14631
14619
|
j(t.$slots, "default")
|
|
14632
14620
|
]));
|
|
14633
14621
|
}
|
|
14634
|
-
}), zl = Symbol("select-row-provide"),
|
|
14622
|
+
}), zl = Symbol("select-row-provide"), Z0 = /* @__PURE__ */ se({
|
|
14635
14623
|
__name: "SelectAll",
|
|
14636
14624
|
setup(e) {
|
|
14637
14625
|
const {
|
|
@@ -14651,7 +14639,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14651
14639
|
}, null, 8, ["icon"])
|
|
14652
14640
|
], 2)) : H("", !0);
|
|
14653
14641
|
}
|
|
14654
|
-
}),
|
|
14642
|
+
}), eg = /* @__PURE__ */ se({
|
|
14655
14643
|
__name: "SelectRow",
|
|
14656
14644
|
props: {
|
|
14657
14645
|
row: {}
|
|
@@ -14674,7 +14662,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14674
14662
|
}, null, 8, ["icon"])
|
|
14675
14663
|
], 2)) : H("", !0);
|
|
14676
14664
|
}
|
|
14677
|
-
}),
|
|
14665
|
+
}), u0 = { class: "vui-table-pagination-wrap" }, tg = /* @__PURE__ */ se({
|
|
14678
14666
|
__name: "Table",
|
|
14679
14667
|
props: {
|
|
14680
14668
|
fixed: { type: Boolean },
|
|
@@ -14705,12 +14693,12 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14705
14693
|
j(n.$slots, "body")
|
|
14706
14694
|
])
|
|
14707
14695
|
]),
|
|
14708
|
-
le("div",
|
|
14696
|
+
le("div", u0, [
|
|
14709
14697
|
j(n.$slots, "pagination")
|
|
14710
14698
|
])
|
|
14711
14699
|
], 2));
|
|
14712
14700
|
}
|
|
14713
|
-
}),
|
|
14701
|
+
}), d0 = ["data-tab-id"], ng = /* @__PURE__ */ se({
|
|
14714
14702
|
__name: "Tab",
|
|
14715
14703
|
props: {
|
|
14716
14704
|
disabled: { type: Boolean },
|
|
@@ -14729,9 +14717,12 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14729
14717
|
icon: t.icon
|
|
14730
14718
|
}, null, 8, ["icon"])) : H("", !0),
|
|
14731
14719
|
He(" " + Te(t.label), 1)
|
|
14732
|
-
], 10,
|
|
14720
|
+
], 10, d0));
|
|
14733
14721
|
}
|
|
14734
|
-
}),
|
|
14722
|
+
}), c0 = {
|
|
14723
|
+
ref: "underline",
|
|
14724
|
+
class: "vui-tab-underline"
|
|
14725
|
+
}, ag = /* @__PURE__ */ se({
|
|
14735
14726
|
__name: "Tabs",
|
|
14736
14727
|
props: /* @__PURE__ */ yt({
|
|
14737
14728
|
variant: { default: "default" },
|
|
@@ -14763,8 +14754,7 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14763
14754
|
}
|
|
14764
14755
|
);
|
|
14765
14756
|
}), bt(window, "resize", l), (o, i) => (h(), M("div", {
|
|
14766
|
-
|
|
14767
|
-
ref: r,
|
|
14757
|
+
ref: "tabs",
|
|
14768
14758
|
class: ge(["vui-tabs", [
|
|
14769
14759
|
{ expand: o.expand, disabled: o.disabled },
|
|
14770
14760
|
o.variant === "default" ? "" : `vui-tabs-variant-${o.variant}`
|
|
@@ -14775,16 +14765,12 @@ const wy = { class: "vui-grid" }, by = /* @__PURE__ */ se({
|
|
|
14775
14765
|
class: ge({ active: s.props.id === n.value }),
|
|
14776
14766
|
onClick: (d) => n.value = s.props.id
|
|
14777
14767
|
}, null, 8, ["class", "onClick"]))), 128)),
|
|
14778
|
-
le("div",
|
|
14779
|
-
ref_key: "underline",
|
|
14780
|
-
ref: a,
|
|
14781
|
-
class: "vui-tab-underline"
|
|
14782
|
-
}, null, 512)
|
|
14768
|
+
le("div", c0, null, 512)
|
|
14783
14769
|
], 2));
|
|
14784
14770
|
}
|
|
14785
14771
|
}), rr = F(/* @__PURE__ */ new Map());
|
|
14786
14772
|
let Wa = 0;
|
|
14787
|
-
function
|
|
14773
|
+
function rg(e, t) {
|
|
14788
14774
|
const n = Object.assign({
|
|
14789
14775
|
persist: !1,
|
|
14790
14776
|
timeout: 7e3
|
|
@@ -14802,14 +14788,14 @@ function tg(e, t) {
|
|
|
14802
14788
|
rr.value.delete(r);
|
|
14803
14789
|
}, n.timeout, Wa), Wa++, a;
|
|
14804
14790
|
}
|
|
14805
|
-
function
|
|
14791
|
+
function lg(e) {
|
|
14806
14792
|
rr.value.delete(e);
|
|
14807
14793
|
}
|
|
14808
|
-
const
|
|
14794
|
+
const f0 = { class: "vui-toast-wrapper" }, v0 = { class: "vui-toast-item-content" }, p0 = { key: 0 }, m0 = /* @__PURE__ */ se({
|
|
14809
14795
|
__name: "Toasts",
|
|
14810
14796
|
setup(e) {
|
|
14811
14797
|
return (t, n) => (h(), ie(Pa, { to: "body" }, [
|
|
14812
|
-
le("div",
|
|
14798
|
+
le("div", f0, [
|
|
14813
14799
|
_e(lu, {
|
|
14814
14800
|
name: "toast",
|
|
14815
14801
|
tag: "ul",
|
|
@@ -14820,9 +14806,9 @@ const u0 = { class: "vui-toast-wrapper" }, d0 = { class: "vui-toast-item-content
|
|
|
14820
14806
|
key: a,
|
|
14821
14807
|
class: "vui-toast-item"
|
|
14822
14808
|
}, [
|
|
14823
|
-
le("div",
|
|
14809
|
+
le("div", v0, [
|
|
14824
14810
|
le("strong", null, Te(r.title), 1),
|
|
14825
|
-
r.description ? (h(), M("p",
|
|
14811
|
+
r.description ? (h(), M("p", p0, Te(r.description), 1)) : H("", !0)
|
|
14826
14812
|
]),
|
|
14827
14813
|
r.action ? (h(), ie(vt, {
|
|
14828
14814
|
key: 0,
|
|
@@ -14840,7 +14826,7 @@ const u0 = { class: "vui-toast-wrapper" }, d0 = { class: "vui-toast-item-content
|
|
|
14840
14826
|
])
|
|
14841
14827
|
]));
|
|
14842
14828
|
}
|
|
14843
|
-
}),
|
|
14829
|
+
}), og = /* @__PURE__ */ At(m0, [["__scopeId", "data-v-d0d7691b"]]), h0 = /* @__PURE__ */ se({
|
|
14844
14830
|
__name: "Tooltip",
|
|
14845
14831
|
props: {
|
|
14846
14832
|
placement: { default: "bottom" },
|
|
@@ -14862,8 +14848,7 @@ const u0 = { class: "vui-toast-wrapper" }, d0 = { class: "vui-toast-item-content
|
|
|
14862
14848
|
clearTimeout(r), a.value = !1;
|
|
14863
14849
|
}), (l, o) => (h(), M(ke, null, [
|
|
14864
14850
|
le("div", {
|
|
14865
|
-
|
|
14866
|
-
ref: t,
|
|
14851
|
+
ref: "popoutAnchor",
|
|
14867
14852
|
onMouseenter: o[0] || (o[0] = (i) => n.value = !0),
|
|
14868
14853
|
onMouseleave: o[1] || (o[1] = (i) => n.value = !1)
|
|
14869
14854
|
}, [
|
|
@@ -14890,60 +14875,60 @@ const u0 = { class: "vui-toast-wrapper" }, d0 = { class: "vui-toast-item-content
|
|
|
14890
14875
|
})
|
|
14891
14876
|
], 64));
|
|
14892
14877
|
}
|
|
14893
|
-
}),
|
|
14878
|
+
}), ig = /* @__PURE__ */ At(h0, [["__scopeId", "data-v-3aa95006"]]);
|
|
14894
14879
|
export {
|
|
14895
|
-
|
|
14896
|
-
|
|
14897
|
-
|
|
14898
|
-
|
|
14880
|
+
w0 as Accordion,
|
|
14881
|
+
b0 as AccordionGroup,
|
|
14882
|
+
k0 as Alert,
|
|
14883
|
+
_0 as Avatar,
|
|
14899
14884
|
Hs as Backdrop,
|
|
14900
|
-
|
|
14901
|
-
|
|
14902
|
-
|
|
14885
|
+
x0 as Badge,
|
|
14886
|
+
$0 as BreadcrumbItem,
|
|
14887
|
+
D0 as Breadcrumbs,
|
|
14903
14888
|
vt as Button,
|
|
14904
|
-
|
|
14905
|
-
|
|
14889
|
+
P0 as ButtonGroup,
|
|
14890
|
+
M0 as Calendar,
|
|
14906
14891
|
Hp as Card,
|
|
14907
|
-
|
|
14908
|
-
|
|
14909
|
-
|
|
14910
|
-
|
|
14911
|
-
|
|
14892
|
+
X0 as Cell,
|
|
14893
|
+
T0 as Checkbox,
|
|
14894
|
+
L0 as Confirm,
|
|
14895
|
+
A0 as CopyClipboard,
|
|
14896
|
+
R0 as Counter,
|
|
14912
14897
|
ll as Divider,
|
|
14913
|
-
|
|
14914
|
-
|
|
14915
|
-
|
|
14916
|
-
|
|
14917
|
-
|
|
14918
|
-
|
|
14898
|
+
S0 as Drawer,
|
|
14899
|
+
sy as Dropdown,
|
|
14900
|
+
fy as DropdownItem,
|
|
14901
|
+
yy as DropdownTitle,
|
|
14902
|
+
E0 as Dropzone,
|
|
14903
|
+
I0 as File,
|
|
14919
14904
|
yn as Flex,
|
|
14920
|
-
|
|
14921
|
-
|
|
14905
|
+
B0 as Grid,
|
|
14906
|
+
G0 as Header,
|
|
14922
14907
|
Ra as Input,
|
|
14923
|
-
|
|
14924
|
-
|
|
14925
|
-
|
|
14926
|
-
|
|
14927
|
-
|
|
14908
|
+
F0 as Kbd,
|
|
14909
|
+
V0 as KbdGroup,
|
|
14910
|
+
Fy as Modal,
|
|
14911
|
+
H0 as Pagination,
|
|
14912
|
+
N0 as Password,
|
|
14928
14913
|
Ls as Popout,
|
|
14929
|
-
|
|
14930
|
-
|
|
14931
|
-
|
|
14932
|
-
|
|
14933
|
-
|
|
14934
|
-
|
|
14935
|
-
|
|
14936
|
-
|
|
14937
|
-
|
|
14914
|
+
j0 as Progress,
|
|
14915
|
+
W0 as Radio,
|
|
14916
|
+
q0 as RadioGroup,
|
|
14917
|
+
J0 as Row,
|
|
14918
|
+
z0 as Select,
|
|
14919
|
+
Z0 as SelectAll,
|
|
14920
|
+
eg as SelectRow,
|
|
14921
|
+
U0 as Sheet,
|
|
14922
|
+
Q0 as Skeleton,
|
|
14938
14923
|
wd as Spinner,
|
|
14939
|
-
|
|
14940
|
-
|
|
14941
|
-
|
|
14942
|
-
|
|
14943
|
-
|
|
14944
|
-
|
|
14945
|
-
|
|
14946
|
-
|
|
14947
|
-
|
|
14948
|
-
|
|
14924
|
+
K0 as Switch,
|
|
14925
|
+
ng as Tab,
|
|
14926
|
+
tg as Table,
|
|
14927
|
+
ag as Tabs,
|
|
14928
|
+
Y0 as Textarea,
|
|
14929
|
+
og as Toasts,
|
|
14930
|
+
ig as Tooltip,
|
|
14931
|
+
rg as pushToast,
|
|
14932
|
+
lg as removeToast,
|
|
14933
|
+
gy as searchString
|
|
14949
14934
|
};
|