voiptime-components 1.7.6 → 1.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +254 -228
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1306,14 +1306,39 @@ function Tl(n, e) {
|
|
|
1306
1306
|
]));
|
|
1307
1307
|
}
|
|
1308
1308
|
const jl = /* @__PURE__ */ w(Hl, [["render", Tl]]), zl = {}, Ol = {
|
|
1309
|
+
width: "20",
|
|
1310
|
+
height: "20",
|
|
1311
|
+
viewBox: "0 0 20 20",
|
|
1312
|
+
fill: "none",
|
|
1313
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1314
|
+
};
|
|
1315
|
+
function Rl(n, e) {
|
|
1316
|
+
return s(), a("svg", Ol, e[0] || (e[0] = [
|
|
1317
|
+
r("path", {
|
|
1318
|
+
d: "M2.08203 10.0026C2.08203 6.27094 2.08203 4.40427 3.2412 3.2451C4.40036 2.08594 6.2662 2.08594 9.9987 2.08594C13.7304 2.08594 15.597 2.08594 16.7562 3.2451C17.9154 4.40427 17.9154 6.2701 17.9154 10.0026C17.9154 13.7343 17.9154 15.6009 16.7562 16.7601C15.597 17.9193 13.7312 17.9193 9.9987 17.9193C6.26703 17.9193 4.40036 17.9193 3.2412 16.7601C2.08203 15.6009 2.08203 13.7351 2.08203 10.0026Z",
|
|
1319
|
+
stroke: "currentColor",
|
|
1320
|
+
"stroke-width": "1.5",
|
|
1321
|
+
"stroke-linecap": "round",
|
|
1322
|
+
"stroke-linejoin": "round"
|
|
1323
|
+
}, null, -1),
|
|
1324
|
+
r("path", {
|
|
1325
|
+
d: "M8.33203 7.08594C8.33203 6.75442 8.20034 6.43647 7.96591 6.20205C7.73149 5.96763 7.41355 5.83594 7.08203 5.83594C6.75051 5.83594 6.43257 5.96763 6.19815 6.20205C5.96373 6.43647 5.83203 6.75442 5.83203 7.08594C5.83203 7.41746 5.96373 7.7354 6.19815 7.96982C6.43257 8.20424 6.75051 8.33594 7.08203 8.33594C7.41355 8.33594 7.73149 8.20424 7.96591 7.96982C8.20034 7.7354 8.33203 7.41746 8.33203 7.08594ZM8.33203 7.08594H14.1654M11.6654 12.9193C11.6654 12.5878 11.7971 12.2698 12.0315 12.0354C12.2659 11.801 12.5838 11.6693 12.9154 11.6693C13.2469 11.6693 13.5648 11.801 13.7992 12.0354C14.0337 12.2698 14.1654 12.5878 14.1654 12.9193C14.1654 13.2508 14.0337 13.5687 13.7992 13.8032C13.5648 14.0376 13.2469 14.1693 12.9154 14.1693C12.5838 14.1693 12.2659 14.0376 12.0315 13.8032C11.7971 13.5687 11.6654 13.2508 11.6654 12.9193ZM11.6654 12.9193H5.83203",
|
|
1326
|
+
stroke: "currentColor",
|
|
1327
|
+
"stroke-width": "1.5",
|
|
1328
|
+
"stroke-linecap": "round",
|
|
1329
|
+
"stroke-linejoin": "round"
|
|
1330
|
+
}, null, -1)
|
|
1331
|
+
]));
|
|
1332
|
+
}
|
|
1333
|
+
const Dl = /* @__PURE__ */ w(zl, [["render", Rl]]), Wl = {}, Pl = {
|
|
1309
1334
|
fill: "none",
|
|
1310
1335
|
height: "24",
|
|
1311
1336
|
viewBox: "0 0 25 24",
|
|
1312
1337
|
width: "25",
|
|
1313
1338
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1314
1339
|
};
|
|
1315
|
-
function
|
|
1316
|
-
return s(), a("svg",
|
|
1340
|
+
function Al(n, e) {
|
|
1341
|
+
return s(), a("svg", Pl, e[0] || (e[0] = [
|
|
1317
1342
|
r("path", {
|
|
1318
1343
|
d: "M12.4531 8V4H8.45312",
|
|
1319
1344
|
stroke: "currentColor",
|
|
@@ -1337,15 +1362,15 @@ function Rl(n, e) {
|
|
|
1337
1362
|
}, null, -1)
|
|
1338
1363
|
]));
|
|
1339
1364
|
}
|
|
1340
|
-
const
|
|
1365
|
+
const Zl = /* @__PURE__ */ w(Wl, [["render", Al]]), Fl = {}, Nl = {
|
|
1341
1366
|
width: "21",
|
|
1342
1367
|
height: "20",
|
|
1343
1368
|
viewBox: "0 0 21 20",
|
|
1344
1369
|
fill: "none",
|
|
1345
1370
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1346
1371
|
};
|
|
1347
|
-
function
|
|
1348
|
-
return s(), a("svg",
|
|
1372
|
+
function ql(n, e) {
|
|
1373
|
+
return s(), a("svg", Nl, e[0] || (e[0] = [
|
|
1349
1374
|
r("path", {
|
|
1350
1375
|
d: "M13.7875 14.1695V5.83594M10.4543 14.1695V9.16954M7.12109 14.1695V12.5027",
|
|
1351
1376
|
stroke: "currentColor",
|
|
@@ -1362,15 +1387,15 @@ function Al(n, e) {
|
|
|
1362
1387
|
}, null, -1)
|
|
1363
1388
|
]));
|
|
1364
1389
|
}
|
|
1365
|
-
const
|
|
1390
|
+
const Kl = /* @__PURE__ */ w(Fl, [["render", ql]]), Ul = {}, Yl = {
|
|
1366
1391
|
fill: "none",
|
|
1367
1392
|
height: "20",
|
|
1368
1393
|
viewBox: "0 0 21 20",
|
|
1369
1394
|
width: "21",
|
|
1370
1395
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1371
1396
|
};
|
|
1372
|
-
function
|
|
1373
|
-
return s(), a("svg",
|
|
1397
|
+
function Xl(n, e) {
|
|
1398
|
+
return s(), a("svg", Yl, e[0] || (e[0] = [
|
|
1374
1399
|
r("path", {
|
|
1375
1400
|
d: "M8.89323 17.7057H7.85156C6.52548 17.7057 5.25371 17.1789 4.31603 16.2413C3.37835 15.3036 2.85156 14.0318 2.85156 12.7057V7.28906C2.85156 5.96298 3.37835 4.69121 4.31603 3.75353C5.25371 2.81585 6.52548 2.28906 7.85156 2.28906H13.2682C14.5943 2.28906 15.8661 2.81585 16.8038 3.75353C17.7414 4.69121 18.2682 5.96298 18.2682 7.28906V8.33073",
|
|
1376
1401
|
stroke: "currentColor",
|
|
@@ -1386,15 +1411,15 @@ function ql(n, e) {
|
|
|
1386
1411
|
}, null, -1)
|
|
1387
1412
|
]));
|
|
1388
1413
|
}
|
|
1389
|
-
const
|
|
1414
|
+
const Ql = /* @__PURE__ */ w(Ul, [["render", Xl]]), Gl = {}, Jl = {
|
|
1390
1415
|
fill: "none",
|
|
1391
1416
|
height: "20",
|
|
1392
1417
|
viewBox: "0 0 21 20",
|
|
1393
1418
|
width: "21",
|
|
1394
1419
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1395
1420
|
};
|
|
1396
|
-
function
|
|
1397
|
-
return s(), a("svg",
|
|
1421
|
+
function er(n, e) {
|
|
1422
|
+
return s(), a("svg", Jl, e[0] || (e[0] = [
|
|
1398
1423
|
r("path", {
|
|
1399
1424
|
d: "M14.6198 16.2519C14.6198 14.871 12.754 13.7519 10.4531 13.7519C8.15229 13.7519 6.28646 14.871 6.28646 16.2519M17.9531 13.7519C17.9531 12.7269 16.9248 11.846 15.4531 11.4602M2.95312 13.7519C2.95312 12.7269 3.98146 11.846 5.45312 11.4602M15.4531 8.11521C15.7 7.89695 15.9013 7.63204 16.0454 7.33571C16.1896 7.03937 16.2737 6.71747 16.293 6.38851C16.3123 6.05954 16.2664 5.73002 16.1578 5.41887C16.0493 5.10773 15.8803 4.8211 15.6607 4.57549C15.441 4.32988 15.1749 4.13012 14.8777 3.98771C14.5806 3.8453 14.2582 3.76304 13.9291 3.74566C13.6 3.72829 13.2708 3.77614 12.9603 3.88647C12.6498 3.9968 12.3641 4.16743 12.1198 4.38854M5.45312 8.11521C4.96337 7.672 4.66892 7.05298 4.6341 6.39337C4.59927 5.73377 4.8269 5.08718 5.26726 4.59487C5.70761 4.10255 6.32491 3.80451 6.9843 3.76585C7.64369 3.72719 8.29159 3.95105 8.78646 4.38854M10.4531 11.2519C9.79008 11.2519 9.1542 10.9885 8.68536 10.5196C8.21652 10.0508 7.95312 9.41492 7.95312 8.75187C7.95312 8.08883 8.21652 7.45295 8.68536 6.98411C9.1542 6.51527 9.79008 6.25187 10.4531 6.25187C11.1162 6.25187 11.7521 6.51527 12.2209 6.98411C12.6897 7.45295 12.9531 8.08883 12.9531 8.75187C12.9531 9.41492 12.6897 10.0508 12.2209 10.5196C11.7521 10.9885 11.1162 11.2519 10.4531 11.2519Z",
|
|
1400
1425
|
stroke: "currentColor",
|
|
@@ -1404,15 +1429,15 @@ function Xl(n, e) {
|
|
|
1404
1429
|
}, null, -1)
|
|
1405
1430
|
]));
|
|
1406
1431
|
}
|
|
1407
|
-
const
|
|
1432
|
+
const tr = /* @__PURE__ */ w(Gl, [["render", er]]), nr = {}, or = {
|
|
1408
1433
|
fill: "none",
|
|
1409
1434
|
height: "20",
|
|
1410
1435
|
viewBox: "0 0 21 20",
|
|
1411
1436
|
width: "21",
|
|
1412
1437
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1413
1438
|
};
|
|
1414
|
-
function
|
|
1415
|
-
return s(), a("svg",
|
|
1439
|
+
function lr(n, e) {
|
|
1440
|
+
return s(), a("svg", or, e[0] || (e[0] = [
|
|
1416
1441
|
r("path", {
|
|
1417
1442
|
d: "M13.277 2C11.904 2 10.5873 2.52678 9.61647 3.46447C8.64563 4.40215 8.10022 5.67392 8.10022 7C8.10494 7.67799 8.24558 8.34867 8.51437 8.975L7.45312 11.375L10.2227 11.0375C10.8828 11.5032 11.6478 11.8114 12.4549 11.9367C13.262 12.0619 14.0884 12.0008 14.8664 11.7583C15.6443 11.5158 16.3518 11.0988 16.9308 10.5414C17.5098 9.98402 17.9439 9.30212 18.1976 8.55152C18.4513 7.80093 18.5173 7.00298 18.3902 6.22301C18.2632 5.44303 17.9467 4.7032 17.4667 4.06408C16.9867 3.42496 16.3568 2.90473 15.6286 2.54596C14.9003 2.1872 14.0945 2.0001 13.277 2Z",
|
|
1418
1443
|
stroke: "currentColor",
|
|
@@ -1429,15 +1454,15 @@ function er(n, e) {
|
|
|
1429
1454
|
}, null, -1)
|
|
1430
1455
|
]));
|
|
1431
1456
|
}
|
|
1432
|
-
const
|
|
1457
|
+
const rr = /* @__PURE__ */ w(nr, [["render", lr]]), sr = {}, ir = {
|
|
1433
1458
|
width: "20",
|
|
1434
1459
|
height: "20",
|
|
1435
1460
|
viewBox: "0 0 20 20",
|
|
1436
1461
|
fill: "none",
|
|
1437
1462
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1438
1463
|
};
|
|
1439
|
-
function
|
|
1440
|
-
return s(), a("svg",
|
|
1464
|
+
function ar(n, e) {
|
|
1465
|
+
return s(), a("svg", ir, e[0] || (e[0] = [
|
|
1441
1466
|
r("path", {
|
|
1442
1467
|
d: "M12.5 1.66406L11.1783 2.94156C10.6233 3.47906 10.345 3.7474 10 3.7474C9.655 3.7474 9.37667 3.47906 8.82167 2.94156L7.5 1.66406M14.5833 5.83073C15.7533 5.83073 16.3392 5.83073 16.7592 6.11156C16.9412 6.23319 17.0975 6.3895 17.2192 6.57156C17.5 6.99156 17.5 7.5774 17.5 8.7474V15.4141C17.5 16.5841 17.5 17.1699 17.2192 17.5899C17.0975 17.772 16.9412 17.9283 16.7592 18.0499C16.3392 18.3307 15.7533 18.3307 14.5833 18.3307C13.4133 18.3307 12.8275 18.3307 12.4075 18.0499C12.2254 17.9283 12.0691 17.772 11.9475 17.5899C11.6667 17.1699 11.6667 16.5841 11.6667 15.4141V8.7474C11.6667 7.5774 11.6667 6.99156 11.9475 6.57156C12.0691 6.3895 12.2254 6.23319 12.4075 6.11156C12.8275 5.83073 13.4133 5.83073 14.5833 5.83073ZM5.41667 5.83073C6.58667 5.83073 7.1725 5.83073 7.5925 6.11156C7.77456 6.23319 7.93087 6.3895 8.0525 6.57156C8.33333 6.99156 8.33333 7.5774 8.33333 8.7474V15.4141C8.33333 16.5841 8.33333 17.1699 8.0525 17.5899C7.93087 17.772 7.77456 17.9283 7.5925 18.0499C7.1725 18.3307 6.58667 18.3307 5.41667 18.3307C4.24667 18.3307 3.66083 18.3307 3.24083 18.0499C3.05877 17.9283 2.90246 17.772 2.78083 17.5899C2.5 17.1699 2.5 16.5841 2.5 15.4141V8.7474C2.5 7.5774 2.5 6.99156 2.78083 6.57156C2.90246 6.3895 3.05877 6.23319 3.24083 6.11156C3.66083 5.83073 4.24667 5.83073 5.41667 5.83073Z",
|
|
1443
1468
|
stroke: "currentColor",
|
|
@@ -1447,15 +1472,15 @@ function lr(n, e) {
|
|
|
1447
1472
|
}, null, -1)
|
|
1448
1473
|
]));
|
|
1449
1474
|
}
|
|
1450
|
-
const
|
|
1475
|
+
const ur = /* @__PURE__ */ w(sr, [["render", ar]]), dr = {}, cr = {
|
|
1451
1476
|
width: "20",
|
|
1452
1477
|
height: "20",
|
|
1453
1478
|
viewBox: "0 0 20 20",
|
|
1454
1479
|
fill: "none",
|
|
1455
1480
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1456
1481
|
};
|
|
1457
|
-
function
|
|
1458
|
-
return s(), a("svg",
|
|
1482
|
+
function hr(n, e) {
|
|
1483
|
+
return s(), a("svg", cr, e[0] || (e[0] = [
|
|
1459
1484
|
r("path", {
|
|
1460
1485
|
"fill-rule": "evenodd",
|
|
1461
1486
|
"clip-rule": "evenodd",
|
|
@@ -1470,15 +1495,15 @@ function ar(n, e) {
|
|
|
1470
1495
|
}, null, -1)
|
|
1471
1496
|
]));
|
|
1472
1497
|
}
|
|
1473
|
-
const
|
|
1498
|
+
const pr = /* @__PURE__ */ w(dr, [["render", hr]]), fr = {}, vr = {
|
|
1474
1499
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1475
1500
|
width: "60",
|
|
1476
1501
|
height: "60",
|
|
1477
1502
|
viewBox: "0 0 60 60",
|
|
1478
1503
|
fill: "none"
|
|
1479
1504
|
};
|
|
1480
|
-
function
|
|
1481
|
-
return s(), a("svg",
|
|
1505
|
+
function mr(n, e) {
|
|
1506
|
+
return s(), a("svg", vr, e[0] || (e[0] = [
|
|
1482
1507
|
r("path", {
|
|
1483
1508
|
d: "M24.195 7H18.625C17.1332 7 15.7024 7.59263 14.6475 8.64752C13.5926 9.70242 13 11.1332 13 12.625V46.375C13 47.8668 13.5926 49.2976 14.6475 50.3525C15.7024 51.4074 17.1332 52 18.625 52H41.125C42.6168 52 44.0476 51.4074 45.1025 50.3525C46.1574 49.2976 46.75 47.8668 46.75 46.375V29.5M24.195 7C27.3025 7 29.875 9.5175 29.875 12.625V18.25C29.875 19.7418 30.4676 21.1726 31.5225 22.2275C32.5774 23.2824 34.0082 23.875 35.5 23.875H41.125C42.6168 23.875 44.0476 24.4676 45.1025 25.5225C46.1574 26.5774 46.75 28.0082 46.75 29.5M24.195 7C33.42 7 46.75 20.4 46.75 29.5",
|
|
1484
1509
|
stroke: "currentColor",
|
|
@@ -1488,27 +1513,27 @@ function hr(n, e) {
|
|
|
1488
1513
|
}, null, -1)
|
|
1489
1514
|
]));
|
|
1490
1515
|
}
|
|
1491
|
-
const
|
|
1516
|
+
const Cr = /* @__PURE__ */ w(fr, [["render", mr]]), wr = {}, gr = {
|
|
1492
1517
|
width: "20",
|
|
1493
1518
|
height: "20",
|
|
1494
1519
|
viewBox: "0 0 20 20",
|
|
1495
1520
|
fill: "none",
|
|
1496
1521
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1497
1522
|
};
|
|
1498
|
-
function
|
|
1499
|
-
return s(), a("svg",
|
|
1523
|
+
function _r(n, e) {
|
|
1524
|
+
return s(), a("svg", gr, e[0] || (e[0] = [
|
|
1500
1525
|
Pe('<g clip-path="url(#clip0_8255_9011)"><path d="M3.125 3.9125C3.125 2.95 4.2 1.875 5.15 1.875H17.35C18.3 1.875 19.375 2.95 19.375 3.9125V16.1C19.375 17.05 18.3 18.125 17.35 18.125H5.1625C4.2 18.125 3.125 17.05 3.125 16.1M0.625 6.875L5.625 13.125M5.625 6.875L0.625 13.125" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11.875 6.875V13.125M9.375 9.375H15.625M9.375 6.875H15.625V13.125H9.375V6.875Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_8255_9011"><rect width="20" height="20" fill="white"></rect></clipPath></defs>', 2)
|
|
1501
1526
|
]));
|
|
1502
1527
|
}
|
|
1503
|
-
const
|
|
1528
|
+
const kr = /* @__PURE__ */ w(wr, [["render", _r]]), br = {}, yr = {
|
|
1504
1529
|
width: "20",
|
|
1505
1530
|
height: "20",
|
|
1506
1531
|
viewBox: "0 0 20 20",
|
|
1507
1532
|
fill: "none",
|
|
1508
1533
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1509
1534
|
};
|
|
1510
|
-
function
|
|
1511
|
-
return s(), a("svg",
|
|
1535
|
+
function xr(n, e) {
|
|
1536
|
+
return s(), a("svg", yr, e[0] || (e[0] = [
|
|
1512
1537
|
r("path", {
|
|
1513
1538
|
d: "M8 3V5.2225M8 5.2225V10.7775M8 5.2225L9.875 4.25M8 5.2225L6.125 4.25M8 10.7775V13M8 10.7775L6.125 11.75M8 10.7775L9.875 11.75M13 8H10.7775M10.7775 8H5.2225M10.7775 8L11.75 9.875M10.7775 8L11.75 6.125M5.2225 8H3M5.2225 8L4.25 6.125M5.2225 8L4.25 9.875",
|
|
1514
1539
|
stroke: "currentColor",
|
|
@@ -1524,15 +1549,15 @@ function _r(n, e) {
|
|
|
1524
1549
|
}, null, -1)
|
|
1525
1550
|
]));
|
|
1526
1551
|
}
|
|
1527
|
-
const
|
|
1552
|
+
const $r = /* @__PURE__ */ w(br, [["render", xr]]), Mr = {}, Lr = {
|
|
1528
1553
|
width: "20",
|
|
1529
1554
|
height: "20",
|
|
1530
1555
|
viewBox: "0 0 20 20",
|
|
1531
1556
|
fill: "none",
|
|
1532
1557
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1533
1558
|
};
|
|
1534
|
-
function
|
|
1535
|
-
return s(), a("svg",
|
|
1559
|
+
function Vr(n, e) {
|
|
1560
|
+
return s(), a("svg", Lr, e[0] || (e[0] = [
|
|
1536
1561
|
r("path", {
|
|
1537
1562
|
d: "M3.33398 11.6641H10.0007M3.33398 15.4141H10.0007M3.33398 7.91406H16.6673M3.33398 4.16406H16.6673M12.5007 13.7474H16.6673M14.584 11.6641V15.8307",
|
|
1538
1563
|
stroke: "currentColor",
|
|
@@ -1542,15 +1567,15 @@ function xr(n, e) {
|
|
|
1542
1567
|
}, null, -1)
|
|
1543
1568
|
]));
|
|
1544
1569
|
}
|
|
1545
|
-
const
|
|
1570
|
+
const Sr = /* @__PURE__ */ w(Mr, [["render", Vr]]), Ir = {}, Br = {
|
|
1546
1571
|
width: "20",
|
|
1547
1572
|
height: "20",
|
|
1548
1573
|
viewBox: "0 0 20 20",
|
|
1549
1574
|
fill: "none",
|
|
1550
1575
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1551
1576
|
};
|
|
1552
|
-
function
|
|
1553
|
-
return s(), a("svg",
|
|
1577
|
+
function Hr(n, e) {
|
|
1578
|
+
return s(), a("svg", Br, e[0] || (e[0] = [
|
|
1554
1579
|
r("path", {
|
|
1555
1580
|
d: "M9.58268 15.4167H4.58268C4.14065 15.4167 3.71673 15.2411 3.40417 14.9285C3.09161 14.616 2.91602 14.192 2.91602 13.75V7.08333M2.91602 7.08333V5.41667C2.91602 4.97464 3.09161 4.55072 3.40417 4.23816C3.71673 3.92559 4.14065 3.75 4.58268 3.75H15.416C15.858 3.75 16.282 3.92559 16.5945 4.23816C16.9071 4.55072 17.0827 4.97464 17.0827 5.41667V6.95833C17.0827 6.97475 17.0795 6.991 17.0732 7.00617C17.0669 7.02133 17.0577 7.03511 17.0461 7.04672C17.0345 7.05833 17.0207 7.06754 17.0055 7.07382C16.9904 7.0801 16.9741 7.08333 16.9577 7.08333H2.91602ZM2.91602 11.25H7.91602",
|
|
1556
1581
|
stroke: "currentColor",
|
|
@@ -1570,15 +1595,15 @@ function Vr(n, e) {
|
|
|
1570
1595
|
}, null, -1)
|
|
1571
1596
|
]));
|
|
1572
1597
|
}
|
|
1573
|
-
const
|
|
1598
|
+
const Er = /* @__PURE__ */ w(Ir, [["render", Hr]]), Tr = {}, jr = {
|
|
1574
1599
|
width: "20",
|
|
1575
1600
|
height: "20",
|
|
1576
1601
|
viewBox: "0 0 20 20",
|
|
1577
1602
|
fill: "none",
|
|
1578
1603
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1579
1604
|
};
|
|
1580
|
-
function
|
|
1581
|
-
return s(), a("svg",
|
|
1605
|
+
function zr(n, e) {
|
|
1606
|
+
return s(), a("svg", jr, e[0] || (e[0] = [
|
|
1582
1607
|
r("path", {
|
|
1583
1608
|
d: "M14.5833 1.83594C15.7533 1.83594 16.3392 1.83594 16.7592 2.11677C16.9412 2.2384 17.0975 2.39471 17.2192 2.57677C17.5 2.99677 17.5 3.5826 17.5 4.7526V15.4193C17.5 16.5893 17.5 17.1751 17.2192 17.5951C17.0975 17.7772 16.9412 17.9335 16.7592 18.0551C16.3392 18.3359 15.7533 18.3359 14.5833 18.3359C13.4133 18.3359 12.8275 18.3359 12.4075 18.0551C12.2254 17.9335 12.0691 17.7772 11.9475 17.5951C11.6667 17.1751 11.6667 16.5893 11.6667 15.4193V4.7526C11.6667 3.5826 11.6667 2.99677 11.9475 2.57677C12.0691 2.39471 12.2254 2.2384 12.4075 2.11677C12.8275 1.83594 13.4133 1.83594 14.5833 1.83594ZM5.41667 1.83594C6.58667 1.83594 7.1725 1.83594 7.5925 2.11677C7.77456 2.2384 7.93087 2.39471 8.0525 2.57677C8.33333 2.99677 8.33333 3.5826 8.33333 4.7526V15.4193C8.33333 16.5893 8.33333 17.1751 8.0525 17.5951C7.93087 17.7772 7.77456 17.9335 7.5925 18.0551C7.1725 18.3359 6.58667 18.3359 5.41667 18.3359C4.24667 18.3359 3.66083 18.3359 3.24083 18.0551C3.05877 17.9335 2.90246 17.7772 2.78083 17.5951C2.5 17.1751 2.5 16.5893 2.5 15.4193V4.7526C2.5 3.5826 2.5 2.99677 2.78083 2.57677C2.90246 2.39471 3.05877 2.2384 3.24083 2.11677C3.66083 1.83594 4.24667 1.83594 5.41667 1.83594Z",
|
|
1584
1609
|
stroke: "currentColor",
|
|
@@ -1588,15 +1613,15 @@ function Hr(n, e) {
|
|
|
1588
1613
|
}, null, -1)
|
|
1589
1614
|
]));
|
|
1590
1615
|
}
|
|
1591
|
-
const
|
|
1616
|
+
const Or = /* @__PURE__ */ w(Tr, [["render", zr]]), Rr = {}, Dr = {
|
|
1592
1617
|
width: "20",
|
|
1593
1618
|
height: "20",
|
|
1594
1619
|
viewBox: "0 0 20 20",
|
|
1595
1620
|
fill: "none",
|
|
1596
1621
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1597
1622
|
};
|
|
1598
|
-
function
|
|
1599
|
-
return s(), a("svg",
|
|
1623
|
+
function Wr(n, e) {
|
|
1624
|
+
return s(), a("svg", Dr, e[0] || (e[0] = [
|
|
1600
1625
|
r("path", {
|
|
1601
1626
|
d: "M18.166 14.5833C18.166 15.7533 18.166 16.3392 17.8852 16.7592C17.7636 16.9412 17.6072 17.0975 17.4252 17.2192C17.0052 17.5 16.4193 17.5 15.2493 17.5L4.58268 17.5C3.41268 17.5 2.82685 17.5 2.40685 17.2192C2.22479 17.0975 2.06848 16.9412 1.94685 16.7592C1.66601 16.3392 1.66602 15.7533 1.66602 14.5833C1.66602 13.4133 1.66601 12.8275 1.94685 12.4075C2.06848 12.2254 2.22479 12.0691 2.40685 11.9475C2.82685 11.6667 3.41268 11.6667 4.58268 11.6667L15.2493 11.6667C16.4193 11.6667 17.0052 11.6667 17.4252 11.9475C17.6072 12.0691 17.7636 12.2254 17.8852 12.4075C18.166 12.8275 18.166 13.4133 18.166 14.5833ZM18.166 5.41667C18.166 6.58667 18.166 7.1725 17.8852 7.5925C17.7636 7.77456 17.6072 7.93087 17.4252 8.0525C17.0052 8.33333 16.4193 8.33333 15.2493 8.33333L4.58268 8.33333C3.41268 8.33333 2.82685 8.33333 2.40685 8.0525C2.22479 7.93087 2.06848 7.77456 1.94685 7.5925C1.66601 7.1725 1.66602 6.58667 1.66602 5.41667C1.66602 4.24667 1.66601 3.66083 1.94685 3.24083C2.06848 3.05877 2.22479 2.90246 2.40685 2.78083C2.82685 2.5 3.41268 2.5 4.58268 2.5L15.2493 2.5C16.4193 2.5 17.0052 2.5 17.4252 2.78083C17.6072 2.90246 17.7636 3.05877 17.8852 3.24083C18.166 3.66083 18.166 4.24667 18.166 5.41667Z",
|
|
1602
1627
|
stroke: "currentColor",
|
|
@@ -1606,15 +1631,15 @@ function zr(n, e) {
|
|
|
1606
1631
|
}, null, -1)
|
|
1607
1632
|
]));
|
|
1608
1633
|
}
|
|
1609
|
-
const
|
|
1634
|
+
const Pr = /* @__PURE__ */ w(Rr, [["render", Wr]]), Ar = {}, Zr = {
|
|
1610
1635
|
width: "20",
|
|
1611
1636
|
height: "20",
|
|
1612
1637
|
viewBox: "0 0 20 20",
|
|
1613
1638
|
fill: "none",
|
|
1614
1639
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1615
1640
|
};
|
|
1616
|
-
function
|
|
1617
|
-
return s(), a("svg",
|
|
1641
|
+
function Fr(n, e) {
|
|
1642
|
+
return s(), a("svg", Zr, e[0] || (e[0] = [
|
|
1618
1643
|
r("path", {
|
|
1619
1644
|
d: "M8 3V5.2225M8 5.2225V10.7775M8 5.2225L9.875 4.25M8 5.2225L6.125 4.25M8 10.7775V13M8 10.7775L6.125 11.75M8 10.7775L9.875 11.75M13 8H10.7775M10.7775 8H5.2225M10.7775 8L11.75 9.875M10.7775 8L11.75 6.125M5.2225 8H3M5.2225 8L4.25 6.125M5.2225 8L4.25 9.875",
|
|
1620
1645
|
stroke: "currentColor",
|
|
@@ -1630,7 +1655,7 @@ function Wr(n, e) {
|
|
|
1630
1655
|
}, null, -1)
|
|
1631
1656
|
]));
|
|
1632
1657
|
}
|
|
1633
|
-
const
|
|
1658
|
+
const Nr = /* @__PURE__ */ w(Ar, [["render", Fr]]), qr = {
|
|
1634
1659
|
// actions icons
|
|
1635
1660
|
circleChecked: S1,
|
|
1636
1661
|
circleClose: E1,
|
|
@@ -1694,22 +1719,23 @@ const Pr = /* @__PURE__ */ w(Rr, [["render", Wr]]), Ar = {
|
|
|
1694
1719
|
emailQueue: Bl,
|
|
1695
1720
|
emailSpam: jl,
|
|
1696
1721
|
// others icons
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1722
|
+
dsr: Dl,
|
|
1723
|
+
ivr: Zl,
|
|
1724
|
+
predictive: Kl,
|
|
1725
|
+
preview: Ql,
|
|
1726
|
+
progressive: tr,
|
|
1727
|
+
sms: rr,
|
|
1702
1728
|
// table icons
|
|
1703
|
-
columnInsert:
|
|
1704
|
-
columnsMove:
|
|
1705
|
-
empty:
|
|
1706
|
-
excel:
|
|
1707
|
-
freeze:
|
|
1708
|
-
listAdd:
|
|
1709
|
-
tableSettings:
|
|
1710
|
-
twoColumns:
|
|
1711
|
-
twoRows:
|
|
1712
|
-
unfreeze:
|
|
1729
|
+
columnInsert: ur,
|
|
1730
|
+
columnsMove: pr,
|
|
1731
|
+
empty: Cr,
|
|
1732
|
+
excel: kr,
|
|
1733
|
+
freeze: $r,
|
|
1734
|
+
listAdd: Sr,
|
|
1735
|
+
tableSettings: Er,
|
|
1736
|
+
twoColumns: Or,
|
|
1737
|
+
twoRows: Pr,
|
|
1738
|
+
unfreeze: Nr
|
|
1713
1739
|
}, le = /* @__PURE__ */ ue({
|
|
1714
1740
|
__name: "VIcon",
|
|
1715
1741
|
props: {
|
|
@@ -1719,7 +1745,7 @@ const Pr = /* @__PURE__ */ w(Rr, [["render", Wr]]), Ar = {
|
|
|
1719
1745
|
color: { default: "currentColor" }
|
|
1720
1746
|
},
|
|
1721
1747
|
setup(n) {
|
|
1722
|
-
const e = n, o = k(() =>
|
|
1748
|
+
const e = n, o = k(() => qr[e.name]), t = k(() => ({
|
|
1723
1749
|
...e.width && { width: typeof e.width == "number" ? `${e.width}px` : e.width },
|
|
1724
1750
|
...e.height && { height: typeof e.height == "number" ? `${e.height}px` : e.height },
|
|
1725
1751
|
color: e.color
|
|
@@ -1729,11 +1755,11 @@ const Pr = /* @__PURE__ */ w(Rr, [["render", Wr]]), Ar = {
|
|
|
1729
1755
|
style: pe(t.value)
|
|
1730
1756
|
}, null, 8, ["style"])) : j("", !0);
|
|
1731
1757
|
}
|
|
1732
|
-
}),
|
|
1733
|
-
function
|
|
1734
|
-
return s(), a("span",
|
|
1758
|
+
}), Kr = {}, Ur = { class: "vt-loader" };
|
|
1759
|
+
function Yr(n, e) {
|
|
1760
|
+
return s(), a("span", Ur);
|
|
1735
1761
|
}
|
|
1736
|
-
const je = /* @__PURE__ */ w(
|
|
1762
|
+
const je = /* @__PURE__ */ w(Kr, [["render", Yr]]), Xr = ["disabled", "type", "data-placement"], Qr = {
|
|
1737
1763
|
key: 2,
|
|
1738
1764
|
class: "vt-button__content"
|
|
1739
1765
|
}, We = /* @__PURE__ */ ue({
|
|
@@ -1783,21 +1809,21 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
|
|
|
1783
1809
|
name: o.icon,
|
|
1784
1810
|
class: "vt-button__icon"
|
|
1785
1811
|
}, null, 8, ["name"])) : j("", !0),
|
|
1786
|
-
i.value ? j("", !0) : (s(), a("span",
|
|
1812
|
+
i.value ? j("", !0) : (s(), a("span", Qr, [
|
|
1787
1813
|
ve(u.$slots, "default")
|
|
1788
1814
|
]))
|
|
1789
|
-
], 10,
|
|
1815
|
+
], 10, Xr)), [
|
|
1790
1816
|
[C, v.value]
|
|
1791
1817
|
]);
|
|
1792
1818
|
};
|
|
1793
1819
|
}
|
|
1794
|
-
}),
|
|
1820
|
+
}), Gr = {
|
|
1795
1821
|
key: 0,
|
|
1796
1822
|
class: "vt-modal__header"
|
|
1797
|
-
},
|
|
1823
|
+
}, Jr = {
|
|
1798
1824
|
key: 0,
|
|
1799
1825
|
class: "vt-modal__title"
|
|
1800
|
-
},
|
|
1826
|
+
}, es = { class: "vt-modal__content" }, v1 = /* @__PURE__ */ ue({
|
|
1801
1827
|
__name: "VModal",
|
|
1802
1828
|
props: {
|
|
1803
1829
|
modelValue: { type: Boolean },
|
|
@@ -1828,8 +1854,8 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
|
|
|
1828
1854
|
onClick: f[0] || (f[0] = me(() => {
|
|
1829
1855
|
}, ["stop"]))
|
|
1830
1856
|
}, [
|
|
1831
|
-
v.title || v.showCloseButton ? (s(), a("div",
|
|
1832
|
-
v.title ? (s(), a("h2",
|
|
1857
|
+
v.title || v.showCloseButton ? (s(), a("div", Gr, [
|
|
1858
|
+
v.title ? (s(), a("h2", Jr, Q(v.title), 1)) : j("", !0),
|
|
1833
1859
|
v.showCloseButton ? (s(), ie(le, {
|
|
1834
1860
|
key: 1,
|
|
1835
1861
|
name: "close",
|
|
@@ -1837,14 +1863,14 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
|
|
|
1837
1863
|
onClick: c
|
|
1838
1864
|
})) : j("", !0)
|
|
1839
1865
|
])) : j("", !0),
|
|
1840
|
-
r("div",
|
|
1866
|
+
r("div", es, [
|
|
1841
1867
|
ve(v.$slots, "default")
|
|
1842
1868
|
])
|
|
1843
1869
|
], 2)
|
|
1844
1870
|
], 4)) : j("", !0)
|
|
1845
1871
|
]));
|
|
1846
1872
|
}
|
|
1847
|
-
}),
|
|
1873
|
+
}), ts = { class: "vt-pagination" }, ns = { class: "vt-pagination__info" }, os = { class: "vt-pagination__rows-per-page" }, ls = ["value"], rs = { class: "vt-pagination__navigation" }, ss = ["disabled"], is = ["onClick"], as = ["disabled"], us = /* @__PURE__ */ ue({
|
|
1848
1874
|
__name: "VPagination",
|
|
1849
1875
|
props: {
|
|
1850
1876
|
totalItems: {},
|
|
@@ -1896,9 +1922,9 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
|
|
|
1896
1922
|
() => {
|
|
1897
1923
|
l.value > c.value && c.value > 0 && (l.value = c.value, C());
|
|
1898
1924
|
}
|
|
1899
|
-
), (B, R) => (s(), a("div",
|
|
1900
|
-
r("div",
|
|
1901
|
-
r("div",
|
|
1925
|
+
), (B, R) => (s(), a("div", ts, [
|
|
1926
|
+
r("div", ns, [
|
|
1927
|
+
r("div", os, [
|
|
1902
1928
|
R[1] || (R[1] = r("label", {
|
|
1903
1929
|
for: "rowsSelect",
|
|
1904
1930
|
class: "vt-pagination__label"
|
|
@@ -1912,35 +1938,35 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
|
|
|
1912
1938
|
(s(!0), a(ce, null, he(B.pageSizeOptions, (O) => (s(), a("option", {
|
|
1913
1939
|
key: O,
|
|
1914
1940
|
value: O
|
|
1915
|
-
}, Q(O), 9,
|
|
1941
|
+
}, Q(O), 9, ls))), 128))
|
|
1916
1942
|
], 544), [
|
|
1917
1943
|
[k1, i.value]
|
|
1918
1944
|
])
|
|
1919
1945
|
]),
|
|
1920
1946
|
r("span", null, Q(p.value) + " - " + Q(v.value) + " з " + Q(B.totalItems), 1)
|
|
1921
1947
|
]),
|
|
1922
|
-
r("div",
|
|
1948
|
+
r("div", rs, [
|
|
1923
1949
|
r("button", {
|
|
1924
1950
|
onClick: Z,
|
|
1925
1951
|
disabled: f.value,
|
|
1926
1952
|
class: A({ "vt-pagination__nav-button": !0, "has-items": !f.value })
|
|
1927
1953
|
}, [
|
|
1928
1954
|
X(le, { name: "arrowLeft" })
|
|
1929
|
-
], 10,
|
|
1955
|
+
], 10, ss),
|
|
1930
1956
|
(s(!0), a(ce, null, he(g.value, (O) => (s(), a("button", {
|
|
1931
1957
|
key: O,
|
|
1932
1958
|
onClick: (ee) => z(O),
|
|
1933
1959
|
class: A(["vt-pagination__nav-button", {
|
|
1934
1960
|
"vt-pagination__nav-button--active": O === l.value
|
|
1935
1961
|
}])
|
|
1936
|
-
}, Q(O), 11,
|
|
1962
|
+
}, Q(O), 11, is))), 128)),
|
|
1937
1963
|
r("button", {
|
|
1938
1964
|
onClick: D,
|
|
1939
1965
|
disabled: u.value,
|
|
1940
1966
|
class: A({ "vt-pagination__nav-button": !0, "has-items": !u.value })
|
|
1941
1967
|
}, [
|
|
1942
1968
|
X(le, { name: "arrowRight" })
|
|
1943
|
-
], 10,
|
|
1969
|
+
], 10, as)
|
|
1944
1970
|
]),
|
|
1945
1971
|
r("div", null, [
|
|
1946
1972
|
X(We, {
|
|
@@ -1959,7 +1985,7 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
|
|
|
1959
1985
|
])
|
|
1960
1986
|
]));
|
|
1961
1987
|
}
|
|
1962
|
-
}),
|
|
1988
|
+
}), ds = ["for"], cs = ["id", "name", "value", "checked", "disabled", "required", ".indeterminate"], $e = /* @__PURE__ */ ue({
|
|
1963
1989
|
__name: "VCheckbox",
|
|
1964
1990
|
props: {
|
|
1965
1991
|
modelValue: { type: Boolean, default: void 0 },
|
|
@@ -2011,7 +2037,7 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
|
|
|
2011
2037
|
onChange: p,
|
|
2012
2038
|
onFocus: v,
|
|
2013
2039
|
onBlur: f
|
|
2014
|
-
}, null, 40,
|
|
2040
|
+
}, null, 40, cs),
|
|
2015
2041
|
r("div", {
|
|
2016
2042
|
class: A([
|
|
2017
2043
|
"vt-checkbox__box",
|
|
@@ -2098,9 +2124,9 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
|
|
|
2098
2124
|
])
|
|
2099
2125
|
])
|
|
2100
2126
|
], 2)) : j("", !0)
|
|
2101
|
-
], 10,
|
|
2127
|
+
], 10, ds));
|
|
2102
2128
|
}
|
|
2103
|
-
}),
|
|
2129
|
+
}), hs = ["for"], ps = ["id", "checked", "disabled", "name", "required", "value"], fs = /* @__PURE__ */ ue({
|
|
2104
2130
|
__name: "VRadiobox",
|
|
2105
2131
|
props: {
|
|
2106
2132
|
modelValue: { default: void 0 },
|
|
@@ -2147,7 +2173,7 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
|
|
|
2147
2173
|
onBlur: f,
|
|
2148
2174
|
onChange: p,
|
|
2149
2175
|
onFocus: v
|
|
2150
|
-
}, null, 40,
|
|
2176
|
+
}, null, 40, ps),
|
|
2151
2177
|
r("div", {
|
|
2152
2178
|
class: A([
|
|
2153
2179
|
"vt-radiobox__circle",
|
|
@@ -2181,10 +2207,10 @@ const je = /* @__PURE__ */ w(Zr, [["render", Nr]]), qr = ["disabled", "type", "d
|
|
|
2181
2207
|
])
|
|
2182
2208
|
])
|
|
2183
2209
|
], 2)) : j("", !0)
|
|
2184
|
-
], 10,
|
|
2210
|
+
], 10, hs));
|
|
2185
2211
|
}
|
|
2186
2212
|
});
|
|
2187
|
-
function
|
|
2213
|
+
function vs(n) {
|
|
2188
2214
|
const e = k(() => [...n].sort((l, i) => l.pinnedLeft && !i.pinnedLeft ? -1 : !l.pinnedLeft && i.pinnedLeft || l.pinnedRight && !i.pinnedRight ? 1 : !l.pinnedRight && i.pinnedRight ? -1 : 0)), o = () => {
|
|
2189
2215
|
const l = e.value.length, i = e.value.filter((p) => p.width || p.minWidth);
|
|
2190
2216
|
return l - i.length === 0, 150;
|
|
@@ -2210,7 +2236,7 @@ function cs(n) {
|
|
|
2210
2236
|
}
|
|
2211
2237
|
};
|
|
2212
2238
|
}
|
|
2213
|
-
function
|
|
2239
|
+
function ms(n) {
|
|
2214
2240
|
const e = () => {
|
|
2215
2241
|
const i = {};
|
|
2216
2242
|
return n.maxHeight && (i.maxHeight = `${n.maxHeight}px`), i.overflowX = "auto", i;
|
|
@@ -2244,7 +2270,7 @@ function hs(n) {
|
|
|
2244
2270
|
}
|
|
2245
2271
|
};
|
|
2246
2272
|
}
|
|
2247
|
-
function
|
|
2273
|
+
function Cs() {
|
|
2248
2274
|
const n = I({
|
|
2249
2275
|
resizingCol: null,
|
|
2250
2276
|
startX: 0,
|
|
@@ -2272,7 +2298,7 @@ function ps() {
|
|
|
2272
2298
|
resizeState: n
|
|
2273
2299
|
};
|
|
2274
2300
|
}
|
|
2275
|
-
function
|
|
2301
|
+
function ws(n, e, o, t) {
|
|
2276
2302
|
var N;
|
|
2277
2303
|
const l = n.selectionKey || "id", i = I([]), c = I(null), p = I(!1);
|
|
2278
2304
|
(N = n.defaultSelection) != null && N.length && (i.value = [...n.defaultSelection]);
|
|
@@ -2350,7 +2376,7 @@ function fs(n, e, o, t) {
|
|
|
2350
2376
|
selectAbsolutelyAll: R
|
|
2351
2377
|
};
|
|
2352
2378
|
}
|
|
2353
|
-
function
|
|
2379
|
+
function gs(n, e) {
|
|
2354
2380
|
if (!n)
|
|
2355
2381
|
return String(e.value ?? "");
|
|
2356
2382
|
try {
|
|
@@ -2360,7 +2386,7 @@ function vs(n, e) {
|
|
|
2360
2386
|
return console.error("Error rendering table slot:", o), String(e.value ?? "");
|
|
2361
2387
|
}
|
|
2362
2388
|
}
|
|
2363
|
-
const
|
|
2389
|
+
const _s = (n, e, o = "asc") => {
|
|
2364
2390
|
if (n == null && e == null) return 0;
|
|
2365
2391
|
if (n == null) return o === "asc" ? 1 : -1;
|
|
2366
2392
|
if (e == null) return o === "asc" ? -1 : 1;
|
|
@@ -2371,7 +2397,7 @@ const ms = (n, e, o = "asc") => {
|
|
|
2371
2397
|
numeric: !0,
|
|
2372
2398
|
sensitivity: "base"
|
|
2373
2399
|
}), o === "desc" ? -t : t;
|
|
2374
|
-
}, s1 = (n) => n instanceof Date ? !isNaN(n.getTime()) : typeof n == "string" && /\d{4}-\d{2}-\d{2}|\//.test(n) ? !isNaN(new Date(n).getTime()) : !1,
|
|
2400
|
+
}, s1 = (n) => n instanceof Date ? !isNaN(n.getTime()) : typeof n == "string" && /\d{4}-\d{2}-\d{2}|\//.test(n) ? !isNaN(new Date(n).getTime()) : !1, ks = (n, e, o) => {
|
|
2375
2401
|
n.sortable && o({
|
|
2376
2402
|
prop: n.prop,
|
|
2377
2403
|
direction: e
|
|
@@ -2382,11 +2408,11 @@ const ms = (n, e, o = "asc") => {
|
|
|
2382
2408
|
asc: ["vt-th__sort-icon", o && t === "asc" && "vt-th__sortable-active"].filter(Boolean).join(" "),
|
|
2383
2409
|
desc: ["vt-th__sort-icon", o && t === "desc" && "vt-th__sortable-active"].filter(Boolean).join(" ")
|
|
2384
2410
|
};
|
|
2385
|
-
},
|
|
2411
|
+
}, bs = (n, e, o) => {
|
|
2386
2412
|
if (!e) return [...n];
|
|
2387
2413
|
const t = o.find((i) => i.prop === e.prop);
|
|
2388
2414
|
if (!(t != null && t.sortable)) return [...n];
|
|
2389
|
-
const l = t.sortMethod ||
|
|
2415
|
+
const l = t.sortMethod || _s;
|
|
2390
2416
|
return [...n].sort((i, c) => {
|
|
2391
2417
|
const p = i[t.prop], v = c[t.prop];
|
|
2392
2418
|
return l(p, v, e.direction);
|
|
@@ -2405,7 +2431,7 @@ const ms = (n, e, o = "asc") => {
|
|
|
2405
2431
|
i = i.parentElement;
|
|
2406
2432
|
}
|
|
2407
2433
|
return !0;
|
|
2408
|
-
},
|
|
2434
|
+
}, ys = (n) => {
|
|
2409
2435
|
const e = [];
|
|
2410
2436
|
let o = n.parentElement;
|
|
2411
2437
|
for (; o && o !== document.body; ) {
|
|
@@ -2413,7 +2439,7 @@ const ms = (n, e, o = "asc") => {
|
|
|
2413
2439
|
(["scroll", "auto"].includes(l) || ["scroll", "auto"].includes(i) || o.scrollHeight > o.clientHeight || o.scrollWidth > o.clientWidth) && e.push(o), o = o.parentElement;
|
|
2414
2440
|
}
|
|
2415
2441
|
return e.push(window), e;
|
|
2416
|
-
},
|
|
2442
|
+
}, xs = (n, e, o) => {
|
|
2417
2443
|
let t = 0, l = 0;
|
|
2418
2444
|
switch (o) {
|
|
2419
2445
|
case "bottom":
|
|
@@ -2461,7 +2487,7 @@ function m1(n, e, o = {}) {
|
|
|
2461
2487
|
C.value !== N && (C.value = N, !N && g.value ? (z.value = !0, g.value = !1, f == null || f(!1)) : N && z.value && !g.value && (z.value = !1, g.value = !0, B(), f == null || f(!0)));
|
|
2462
2488
|
}, B = async () => {
|
|
2463
2489
|
if (await Ce(), !n.value || !e.value) return;
|
|
2464
|
-
const N = n.value.getBoundingClientRect(), E = e.value.getBoundingClientRect(), L =
|
|
2490
|
+
const N = n.value.getBoundingClientRect(), E = e.value.getBoundingClientRect(), L = xs(N, E, l);
|
|
2465
2491
|
F.value = {
|
|
2466
2492
|
...L,
|
|
2467
2493
|
minWidth: `${N.width}px`
|
|
@@ -2469,7 +2495,7 @@ function m1(n, e, o = {}) {
|
|
|
2469
2495
|
}, R = () => {
|
|
2470
2496
|
(g.value || z.value) && (K(), g.value && B(), u == null || u());
|
|
2471
2497
|
}, O = () => {
|
|
2472
|
-
n.value && (D.value =
|
|
2498
|
+
n.value && (D.value = ys(n.value), D.value.forEach((N) => {
|
|
2473
2499
|
N.addEventListener("scroll", R, { passive: !0 });
|
|
2474
2500
|
}), window.addEventListener("resize", R));
|
|
2475
2501
|
}, ee = () => {
|
|
@@ -2645,7 +2671,7 @@ const C1 = Symbol("dropdown-context"), w1 = /* @__PURE__ */ ue({
|
|
|
2645
2671
|
], 2));
|
|
2646
2672
|
}
|
|
2647
2673
|
});
|
|
2648
|
-
class
|
|
2674
|
+
class $s {
|
|
2649
2675
|
constructor() {
|
|
2650
2676
|
this.modalStack = [], this.baseZIndex = 1e3;
|
|
2651
2677
|
}
|
|
@@ -2714,7 +2740,7 @@ class ks {
|
|
|
2714
2740
|
recalculateZIndices() {
|
|
2715
2741
|
}
|
|
2716
2742
|
}
|
|
2717
|
-
const xe = new
|
|
2743
|
+
const xe = new $s(), Ms = {
|
|
2718
2744
|
install(n) {
|
|
2719
2745
|
n.config.globalProperties.$modal = xe, n.config.globalProperties.$modalStack = {
|
|
2720
2746
|
closeAll: () => xe.closeAll(),
|
|
@@ -2722,16 +2748,16 @@ const xe = new ks(), bs = {
|
|
|
2722
2748
|
closeById: (e) => xe.closeById(e)
|
|
2723
2749
|
};
|
|
2724
2750
|
}
|
|
2725
|
-
},
|
|
2751
|
+
}, Ls = { class: "vt-columns-selector-body" }, Vs = { class: "vt-columns-selector" }, Ss = { class: "vt-columns-selector__panel" }, Is = ["draggable", "onDragstart", "onDragover", "onDrop"], Bs = {
|
|
2726
2752
|
key: 0,
|
|
2727
2753
|
class: "vt-columns-selector__panel-item-pinned"
|
|
2728
|
-
},
|
|
2754
|
+
}, Hs = { class: "vt-columns-selector__available" }, Es = ["onClick"], Ts = {
|
|
2729
2755
|
key: 0,
|
|
2730
2756
|
class: "vt-columns-selector__group-columns"
|
|
2731
|
-
},
|
|
2757
|
+
}, js = {
|
|
2732
2758
|
key: 0,
|
|
2733
2759
|
class: "vt-columns-selector__pinned-note"
|
|
2734
|
-
},
|
|
2760
|
+
}, zs = { class: "vt-modal__content-button" }, Os = /* @__PURE__ */ ue({
|
|
2735
2761
|
__name: "VTableColumnSelector",
|
|
2736
2762
|
props: {
|
|
2737
2763
|
columns: {},
|
|
@@ -2840,9 +2866,9 @@ const xe = new ks(), bs = {
|
|
|
2840
2866
|
};
|
|
2841
2867
|
return _e(() => {
|
|
2842
2868
|
G();
|
|
2843
|
-
}), (m, b) => (s(), a("div",
|
|
2844
|
-
r("div",
|
|
2845
|
-
r("div",
|
|
2869
|
+
}), (m, b) => (s(), a("div", Ls, [
|
|
2870
|
+
r("div", Vs, [
|
|
2871
|
+
r("div", Ss, [
|
|
2846
2872
|
(s(!0), a(ce, null, he(l.value, (x, S) => (s(), a("div", {
|
|
2847
2873
|
key: x.prop,
|
|
2848
2874
|
class: A(ee(S)),
|
|
@@ -2865,10 +2891,10 @@ const xe = new ks(), bs = {
|
|
|
2865
2891
|
onClick: b[0] || (b[0] = me(() => {
|
|
2866
2892
|
}, ["stop"]))
|
|
2867
2893
|
}, null, 8, ["label", "disabled", "onChange"]),
|
|
2868
|
-
g(x) ? (s(), a("span",
|
|
2869
|
-
], 42,
|
|
2894
|
+
g(x) ? (s(), a("span", Bs, "pinned")) : j("", !0)
|
|
2895
|
+
], 42, Is))), 128))
|
|
2870
2896
|
]),
|
|
2871
|
-
r("div",
|
|
2897
|
+
r("div", Hs, [
|
|
2872
2898
|
(s(!0), a(ce, null, he(u.value, (x) => {
|
|
2873
2899
|
var S, T;
|
|
2874
2900
|
return s(), a("div", {
|
|
@@ -2892,8 +2918,8 @@ const xe = new ks(), bs = {
|
|
|
2892
2918
|
name: x.icon,
|
|
2893
2919
|
class: "vt-columns-selector__group-icon"
|
|
2894
2920
|
}, null, 8, ["name"])) : j("", !0)
|
|
2895
|
-
], 8,
|
|
2896
|
-
i.value.has(x.name) ? (s(), a("div",
|
|
2921
|
+
], 8, Es),
|
|
2922
|
+
i.value.has(x.name) ? (s(), a("div", Ts, [
|
|
2897
2923
|
(s(!0), a(ce, null, he(x.columns, (q) => (s(), a("div", {
|
|
2898
2924
|
key: q.prop,
|
|
2899
2925
|
class: "vt-columns-selector__group-column"
|
|
@@ -2904,14 +2930,14 @@ const xe = new ks(), bs = {
|
|
|
2904
2930
|
disabled: !E(q),
|
|
2905
2931
|
onChange: (se) => te(q, se)
|
|
2906
2932
|
}, null, 8, ["label", "checked", "disabled", "onChange"]),
|
|
2907
|
-
E(q) ? j("", !0) : (s(), a("span",
|
|
2933
|
+
E(q) ? j("", !0) : (s(), a("span", js, " (закріплена) "))
|
|
2908
2934
|
]))), 128))
|
|
2909
2935
|
])) : j("", !0)
|
|
2910
2936
|
]);
|
|
2911
2937
|
}), 128))
|
|
2912
2938
|
])
|
|
2913
2939
|
]),
|
|
2914
|
-
r("div",
|
|
2940
|
+
r("div", zs, [
|
|
2915
2941
|
X(We, { onClick: ne }, {
|
|
2916
2942
|
default: we(() => b[2] || (b[2] = [
|
|
2917
2943
|
ge("Скасувати", -1)
|
|
@@ -2932,7 +2958,7 @@ const xe = new ks(), bs = {
|
|
|
2932
2958
|
])
|
|
2933
2959
|
]));
|
|
2934
2960
|
}
|
|
2935
|
-
}),
|
|
2961
|
+
}), Rs = { class: "vt-table-header-actions" }, Ds = /* @__PURE__ */ ue({
|
|
2936
2962
|
__name: "ColumnActions",
|
|
2937
2963
|
props: {
|
|
2938
2964
|
column: {},
|
|
@@ -2983,7 +3009,7 @@ const xe = new ks(), bs = {
|
|
|
2983
3009
|
console.log("handleToggleVisibility called");
|
|
2984
3010
|
const u = v(o.allColumns);
|
|
2985
3011
|
xe.open({
|
|
2986
|
-
component:
|
|
3012
|
+
component: Os,
|
|
2987
3013
|
title: "Управління колонками таблиці",
|
|
2988
3014
|
props: {
|
|
2989
3015
|
columns: o.allColumns,
|
|
@@ -3021,23 +3047,23 @@ const xe = new ks(), bs = {
|
|
|
3021
3047
|
})
|
|
3022
3048
|
]),
|
|
3023
3049
|
default: we(() => [
|
|
3024
|
-
r("div",
|
|
3050
|
+
r("div", Rs, [
|
|
3025
3051
|
X(le, { name: "listBullet" })
|
|
3026
3052
|
])
|
|
3027
3053
|
]),
|
|
3028
3054
|
_: 1
|
|
3029
3055
|
}));
|
|
3030
3056
|
}
|
|
3031
|
-
}),
|
|
3057
|
+
}), Ws = { class: "vt-table" }, Ps = { key: 0 }, As = { class: "vt-th__content" }, Zs = { class: "vt-th__content" }, Fs = { class: "vt-th__label" }, Ns = {
|
|
3032
3058
|
key: 0,
|
|
3033
3059
|
class: "vt-th__sortable"
|
|
3034
|
-
},
|
|
3060
|
+
}, qs = ["data-resizer", "onMousedown"], Ks = {
|
|
3035
3061
|
key: 0,
|
|
3036
3062
|
class: "vt-table__empty-row"
|
|
3037
|
-
},
|
|
3063
|
+
}, Us = ["colspan"], Ys = { class: "vt-table__empty-content" }, Xs = ["onClick"], Qs = { class: "vt-table__cell-content" }, Gs = { class: "vt-table__cell-content vt-table__cell-content--ellipsis" }, Js = { key: 1 }, ei = ["data-resizer", "onMousedown"], ti = {
|
|
3038
3064
|
key: 1,
|
|
3039
3065
|
class: "vt-table__summary"
|
|
3040
|
-
},
|
|
3066
|
+
}, ni = { class: "vt-table__cell-content vt-table__cell-content--summary" }, Ke = 50, oi = /* @__PURE__ */ ue({
|
|
3041
3067
|
__name: "VTable",
|
|
3042
3068
|
props: /* @__PURE__ */ l1({
|
|
3043
3069
|
data: {},
|
|
@@ -3065,7 +3091,7 @@ const xe = new ks(), bs = {
|
|
|
3065
3091
|
}),
|
|
3066
3092
|
emits: /* @__PURE__ */ l1(["sort-change", "selection-change", "current-change", "row-click", "update:columns", "column-pin", "column-resize", "column-visibility", "column-sort", "columns-change", "infinity-scroll"], ["update:columns"]),
|
|
3067
3093
|
setup(n, { expose: e, emit: o }) {
|
|
3068
|
-
const t = n, l = o, i = y1(n, "columns"), c = I({}), p = I(), v = x1([]), f = I(t.defaultSort || null), u = k(() =>
|
|
3094
|
+
const t = n, l = o, i = y1(n, "columns"), c = I({}), p = I(), v = x1([]), f = I(t.defaultSort || null), u = k(() => bs(t.data || [], f.value, v)), g = k(() => i.value !== void 0), C = k(() => t.data && t.data.length > 0), z = I(!1), Z = I(0);
|
|
3069
3095
|
let D;
|
|
3070
3096
|
const F = (_, V) => t.rowKey && _[t.rowKey] != null ? String(_[t.rowKey]) : String(V), K = () => {
|
|
3071
3097
|
g.value && i.value ? v.splice(0, v.length, ...i.value) : t.columns && t.columns.length > 0 && v.splice(0, v.length, ...t.columns);
|
|
@@ -3083,7 +3109,7 @@ const xe = new ks(), bs = {
|
|
|
3083
3109
|
},
|
|
3084
3110
|
{ deep: !0 }
|
|
3085
3111
|
), e1("vt-table-columns", v);
|
|
3086
|
-
const { sortedColumns: B, getDefaultColumnWidth: R, getStickyOffset: O } =
|
|
3112
|
+
const { sortedColumns: B, getDefaultColumnWidth: R, getStickyOffset: O } = vs(v), { getTableWrapperStyle: ee, getColumnStyle: G, getHeaderStyle: te, getFooterStyle: U } = ms(t), { onMouseDown: N } = Cs(), E = k(() => t.allData || t.data), L = t.selectable ? ws(t, u, l, E) : null, Y = () => ({
|
|
3087
3113
|
width: `${Ke}px`,
|
|
3088
3114
|
minWidth: `${Ke}px`,
|
|
3089
3115
|
maxWidth: `${Ke}px`,
|
|
@@ -3122,7 +3148,7 @@ const xe = new ks(), bs = {
|
|
|
3122
3148
|
D && clearTimeout(D), p.value && p.value.removeEventListener("scroll", b);
|
|
3123
3149
|
});
|
|
3124
3150
|
const S = (_, V) => {
|
|
3125
|
-
|
|
3151
|
+
ks(_, V, (W) => {
|
|
3126
3152
|
var d, y;
|
|
3127
3153
|
((d = f.value) == null ? void 0 : d.prop) === _.prop && f.value.direction === V ? f.value = null : f.value = W, l("sort-change", {
|
|
3128
3154
|
column: _,
|
|
@@ -3231,8 +3257,8 @@ const xe = new ks(), bs = {
|
|
|
3231
3257
|
onScroll: b
|
|
3232
3258
|
}, [
|
|
3233
3259
|
ve(_.$slots, "default"),
|
|
3234
|
-
r("table",
|
|
3235
|
-
t.hideHeader ? j("", !0) : (s(), a("thead",
|
|
3260
|
+
r("table", Ws, [
|
|
3261
|
+
t.hideHeader ? j("", !0) : (s(), a("thead", Ps, [
|
|
3236
3262
|
r("tr", null, [
|
|
3237
3263
|
t.selectable ? (s(), a("th", {
|
|
3238
3264
|
key: 0,
|
|
@@ -3242,7 +3268,7 @@ const xe = new ks(), bs = {
|
|
|
3242
3268
|
}, "vt-table__th vt-table__th--selection"]),
|
|
3243
3269
|
style: pe(ne())
|
|
3244
3270
|
}, [
|
|
3245
|
-
r("div",
|
|
3271
|
+
r("div", As, [
|
|
3246
3272
|
X($e, {
|
|
3247
3273
|
checked: (d = oe(L)) == null ? void 0 : d.isAllSelected.value,
|
|
3248
3274
|
indeterminate: (y = oe(L)) == null ? void 0 : y.isIndeterminate.value,
|
|
@@ -3266,9 +3292,9 @@ const xe = new ks(), bs = {
|
|
|
3266
3292
|
]),
|
|
3267
3293
|
style: pe(Re(H, de))
|
|
3268
3294
|
}, [
|
|
3269
|
-
r("div",
|
|
3270
|
-
r("div",
|
|
3271
|
-
H.sortable ? (s(), a("div",
|
|
3295
|
+
r("div", Zs, [
|
|
3296
|
+
r("div", Fs, Q(H.label), 1),
|
|
3297
|
+
H.sortable ? (s(), a("div", Ns, [
|
|
3272
3298
|
X(le, {
|
|
3273
3299
|
class: A(oe(i1)(H, f.value).asc),
|
|
3274
3300
|
name: "arrowTop",
|
|
@@ -3280,7 +3306,7 @@ const xe = new ks(), bs = {
|
|
|
3280
3306
|
onClick: me((ye) => S(H, "desc"), ["stop"])
|
|
3281
3307
|
}, null, 8, ["class", "onClick"])
|
|
3282
3308
|
])) : j("", !0),
|
|
3283
|
-
H.actionColumn ? (s(), ie(
|
|
3309
|
+
H.actionColumn ? (s(), ie(Ds, {
|
|
3284
3310
|
key: 1,
|
|
3285
3311
|
"all-columns": oe(B),
|
|
3286
3312
|
column: H,
|
|
@@ -3293,7 +3319,7 @@ const xe = new ks(), bs = {
|
|
|
3293
3319
|
"data-resizer": H.prop,
|
|
3294
3320
|
class: "vt-table__resizer",
|
|
3295
3321
|
onMousedown: (ye) => Ve(ye, H)
|
|
3296
|
-
}, null, 40,
|
|
3322
|
+
}, null, 40, qs)
|
|
3297
3323
|
], 6))), 128))
|
|
3298
3324
|
])
|
|
3299
3325
|
])),
|
|
@@ -3320,7 +3346,7 @@ const xe = new ks(), bs = {
|
|
|
3320
3346
|
}, "vt-table__td vt-table__td--selection"]),
|
|
3321
3347
|
style: pe(Y())
|
|
3322
3348
|
}, [
|
|
3323
|
-
r("div",
|
|
3349
|
+
r("div", Qs, [
|
|
3324
3350
|
X($e, {
|
|
3325
3351
|
checked: (o1 = oe(L)) == null ? void 0 : o1.isRowSelected(H),
|
|
3326
3352
|
onChange: (re, Fe) => ze(re, H, Fe)
|
|
@@ -3340,8 +3366,8 @@ const xe = new ks(), bs = {
|
|
|
3340
3366
|
]),
|
|
3341
3367
|
style: pe(He(re, Fe))
|
|
3342
3368
|
}, [
|
|
3343
|
-
Ae((s(), a("div",
|
|
3344
|
-
re.renderSlot ? (s(), ie(Xe(() => oe(
|
|
3369
|
+
Ae((s(), a("div", Gs, [
|
|
3370
|
+
re.renderSlot ? (s(), ie(Xe(() => oe(gs)(re.renderSlot, { row: H, column: re, value: H[re.prop], index: de })), { key: 0 })) : (s(), a("span", Js, Q(H[re.prop]), 1))
|
|
3345
3371
|
])), [
|
|
3346
3372
|
[W, re.showOverflowTooltip ? h(H, re) : null]
|
|
3347
3373
|
]),
|
|
@@ -3349,25 +3375,25 @@ const xe = new ks(), bs = {
|
|
|
3349
3375
|
"data-resizer": re.prop,
|
|
3350
3376
|
class: "vt-table__resizer",
|
|
3351
3377
|
onMousedown: (Ne) => Ve(Ne, re)
|
|
3352
|
-
}, null, 40,
|
|
3378
|
+
}, null, 40, ei)
|
|
3353
3379
|
], 6))), 128))
|
|
3354
|
-
], 10,
|
|
3355
|
-
}), 128)) : (s(), a("tr",
|
|
3380
|
+
], 10, Xs);
|
|
3381
|
+
}), 128)) : (s(), a("tr", Ks, [
|
|
3356
3382
|
r("td", {
|
|
3357
3383
|
colspan: oe(B).length + (t.selectable ? 1 : 0),
|
|
3358
3384
|
class: "vt-table__empty-cell"
|
|
3359
3385
|
}, [
|
|
3360
|
-
r("div",
|
|
3386
|
+
r("div", Ys, [
|
|
3361
3387
|
X(le, {
|
|
3362
3388
|
class: "vt-table__empty-icon",
|
|
3363
3389
|
name: "empty"
|
|
3364
3390
|
}),
|
|
3365
3391
|
V[0] || (V[0] = r("span", { class: "vt-table__empty-text" }, "Немає даних!", -1))
|
|
3366
3392
|
])
|
|
3367
|
-
], 8,
|
|
3393
|
+
], 8, Us)
|
|
3368
3394
|
]))
|
|
3369
3395
|
]),
|
|
3370
|
-
M.value ? (s(), a("tfoot",
|
|
3396
|
+
M.value ? (s(), a("tfoot", ti, [
|
|
3371
3397
|
r("tr", null, [
|
|
3372
3398
|
t.selectable ? (s(), a("td", {
|
|
3373
3399
|
key: 0,
|
|
@@ -3389,7 +3415,7 @@ const xe = new ks(), bs = {
|
|
|
3389
3415
|
]),
|
|
3390
3416
|
style: pe(Ee(H, de))
|
|
3391
3417
|
}, [
|
|
3392
|
-
r("div",
|
|
3418
|
+
r("div", ni, Q($.value[H.prop]), 1)
|
|
3393
3419
|
], 6))), 128))
|
|
3394
3420
|
])
|
|
3395
3421
|
])) : j("", !0)
|
|
@@ -3397,7 +3423,7 @@ const xe = new ks(), bs = {
|
|
|
3397
3423
|
], 36);
|
|
3398
3424
|
};
|
|
3399
3425
|
}
|
|
3400
|
-
}),
|
|
3426
|
+
}), li = /* @__PURE__ */ ue({
|
|
3401
3427
|
__name: "VTableColumn",
|
|
3402
3428
|
props: {
|
|
3403
3429
|
prop: {},
|
|
@@ -3474,25 +3500,25 @@ const xe = new ks(), bs = {
|
|
|
3474
3500
|
}
|
|
3475
3501
|
}), (c, p) => null;
|
|
3476
3502
|
}
|
|
3477
|
-
}),
|
|
3503
|
+
}), ri = ["for"], si = {
|
|
3478
3504
|
key: 0,
|
|
3479
3505
|
class: "vt-input__required"
|
|
3480
|
-
},
|
|
3506
|
+
}, ii = { class: "vt-input__container" }, ai = {
|
|
3481
3507
|
key: 0,
|
|
3482
3508
|
class: "vt-input__prefix"
|
|
3483
|
-
},
|
|
3509
|
+
}, ui = ["value", "placeholder", "disabled", "rows", "cols", "maxlength", "minlength", "required", "name", "id", "tabindex", "autocomplete"], di = ["type", "value", "placeholder", "disabled", "maxlength", "minlength", "min", "max", "step", "required", "pattern", "name", "id", "tabindex", "autocomplete"], ci = {
|
|
3484
3510
|
key: 3,
|
|
3485
3511
|
class: "vt-input__suffix"
|
|
3486
|
-
},
|
|
3512
|
+
}, hi = {
|
|
3487
3513
|
key: 1,
|
|
3488
3514
|
class: "vt-input__help"
|
|
3489
|
-
},
|
|
3515
|
+
}, pi = {
|
|
3490
3516
|
key: 0,
|
|
3491
3517
|
class: "vt-input__error"
|
|
3492
|
-
},
|
|
3518
|
+
}, fi = {
|
|
3493
3519
|
key: 1,
|
|
3494
3520
|
class: "vt-input__helper"
|
|
3495
|
-
},
|
|
3521
|
+
}, vi = {
|
|
3496
3522
|
key: 2,
|
|
3497
3523
|
class: "vt-input__errors"
|
|
3498
3524
|
}, g1 = /* @__PURE__ */ ue({
|
|
@@ -3735,10 +3761,10 @@ const xe = new ks(), bs = {
|
|
|
3735
3761
|
for: h.id
|
|
3736
3762
|
}, [
|
|
3737
3763
|
ge(Q(h.label) + " ", 1),
|
|
3738
|
-
h.required ? (s(), a("span",
|
|
3739
|
-
], 8,
|
|
3740
|
-
r("div",
|
|
3741
|
-
B.value ? (s(), a("div",
|
|
3764
|
+
h.required ? (s(), a("span", si, "*")) : j("", !0)
|
|
3765
|
+
], 8, ri)) : j("", !0),
|
|
3766
|
+
r("div", ii, [
|
|
3767
|
+
B.value ? (s(), a("div", ai, [
|
|
3742
3768
|
X(le, {
|
|
3743
3769
|
name: R.value,
|
|
3744
3770
|
class: A(O.value)
|
|
@@ -3771,7 +3797,7 @@ const xe = new ks(), bs = {
|
|
|
3771
3797
|
onKeyup: $[1] || ($[1] = (M) => h.$emit("keyup", M)),
|
|
3772
3798
|
onKeypress: $[2] || ($[2] = (M) => h.$emit("keypress", M)),
|
|
3773
3799
|
onClick: $[3] || ($[3] = (M) => h.$emit("click", M))
|
|
3774
|
-
}, null, 44,
|
|
3800
|
+
}, null, 44, ui)) : (s(), a("input", {
|
|
3775
3801
|
key: 2,
|
|
3776
3802
|
ref_key: "inputRef",
|
|
3777
3803
|
ref: i,
|
|
@@ -3799,8 +3825,8 @@ const xe = new ks(), bs = {
|
|
|
3799
3825
|
onKeyup: $[5] || ($[5] = (M) => h.$emit("keyup", M)),
|
|
3800
3826
|
onKeypress: $[6] || ($[6] = (M) => h.$emit("keypress", M)),
|
|
3801
3827
|
onClick: $[7] || ($[7] = (M) => h.$emit("click", M))
|
|
3802
|
-
}, null, 40,
|
|
3803
|
-
ee.value ? (s(), a("div",
|
|
3828
|
+
}, null, 40, di)),
|
|
3829
|
+
ee.value ? (s(), a("div", ci, [
|
|
3804
3830
|
te.value ? (s(), a("button", {
|
|
3805
3831
|
key: 0,
|
|
3806
3832
|
type: "button",
|
|
@@ -3830,10 +3856,10 @@ const xe = new ks(), bs = {
|
|
|
3830
3856
|
}, null, 8, ["name"])) : j("", !0)
|
|
3831
3857
|
])) : j("", !0)
|
|
3832
3858
|
]),
|
|
3833
|
-
h.helperText || L.value ? (s(), a("div",
|
|
3834
|
-
L.value ? (s(), a("span",
|
|
3859
|
+
h.helperText || L.value ? (s(), a("div", hi, [
|
|
3860
|
+
L.value ? (s(), a("span", pi, Q(L.value), 1)) : h.helperText ? (s(), a("span", fi, Q(h.helperText), 1)) : j("", !0)
|
|
3835
3861
|
])) : j("", !0),
|
|
3836
|
-
u.value.length > 1 && h.showAllErrors ? (s(), a("div",
|
|
3862
|
+
u.value.length > 1 && h.showAllErrors ? (s(), a("div", vi, [
|
|
3837
3863
|
(s(!0), a(ce, null, he(u.value, (M, ae) => (s(), a("div", {
|
|
3838
3864
|
key: ae,
|
|
3839
3865
|
class: "vt-input__error-item"
|
|
@@ -3850,37 +3876,37 @@ function Me(n, e, o) {
|
|
|
3850
3876
|
function u1(n, e, o) {
|
|
3851
3877
|
return e.find((t) => Me(t.value, n, o));
|
|
3852
3878
|
}
|
|
3853
|
-
function
|
|
3879
|
+
function mi(n, e, o, t) {
|
|
3854
3880
|
return o ? Array.isArray(e) ? e.some((l) => Me(l, n, t)) : !1 : Me(e, n, t);
|
|
3855
3881
|
}
|
|
3856
|
-
function
|
|
3882
|
+
function Ci(n, e, o, t) {
|
|
3857
3883
|
if (!e.length) return [];
|
|
3858
3884
|
if (o)
|
|
3859
3885
|
return Array.isArray(n) ? n.map((i) => u1(i, e, t)).filter(Boolean) : [];
|
|
3860
3886
|
const l = u1(n, e, t);
|
|
3861
3887
|
return l ? [l] : [];
|
|
3862
3888
|
}
|
|
3863
|
-
function
|
|
3889
|
+
function wi(n, e, o, t) {
|
|
3864
3890
|
if (o) {
|
|
3865
3891
|
const l = Array.isArray(e) ? e : [];
|
|
3866
3892
|
return l.some((c) => Me(c, n.value, t)) ? l.filter((c) => !Me(c, n.value, t)) : [...l, n.value];
|
|
3867
3893
|
}
|
|
3868
3894
|
return n.value;
|
|
3869
3895
|
}
|
|
3870
|
-
function
|
|
3896
|
+
function gi(n, e, o) {
|
|
3871
3897
|
return Array.isArray(e) ? e.filter((t) => !Me(t, n, o)) : e;
|
|
3872
3898
|
}
|
|
3873
|
-
function
|
|
3899
|
+
function _i(n) {
|
|
3874
3900
|
return n ? [] : void 0;
|
|
3875
3901
|
}
|
|
3876
|
-
function
|
|
3902
|
+
function ki(n, e, o, t) {
|
|
3877
3903
|
const l = [];
|
|
3878
3904
|
return o && (e ? !Array.isArray(n) || n.length === 0 : n == null || n === "") && l.push(t || "Це поле є обов'язковим"), {
|
|
3879
3905
|
isValid: l.length === 0,
|
|
3880
3906
|
errors: l
|
|
3881
3907
|
};
|
|
3882
3908
|
}
|
|
3883
|
-
function
|
|
3909
|
+
function bi(n, e, o) {
|
|
3884
3910
|
var p;
|
|
3885
3911
|
if (!n || !e.length) return o;
|
|
3886
3912
|
const t = n.offsetWidth, l = 100;
|
|
@@ -3894,41 +3920,41 @@ function wi(n, e, o) {
|
|
|
3894
3920
|
}
|
|
3895
3921
|
return Math.max(1, c);
|
|
3896
3922
|
}
|
|
3897
|
-
function
|
|
3923
|
+
function yi(n, e) {
|
|
3898
3924
|
const o = e.map((t) => t.label).join(", ");
|
|
3899
3925
|
return `Ще ${n}: ${o}`;
|
|
3900
3926
|
}
|
|
3901
|
-
const
|
|
3927
|
+
const xi = ["for"], $i = {
|
|
3902
3928
|
key: 0,
|
|
3903
3929
|
class: "vt-select__required"
|
|
3904
|
-
},
|
|
3930
|
+
}, Mi = { class: "vt-select__field" }, Li = { class: "vt-select__tag-text" }, Vi = {
|
|
3905
3931
|
key: 0,
|
|
3906
3932
|
class: "vt-select__tag vt-select__tag--collapsed"
|
|
3907
|
-
},
|
|
3933
|
+
}, Si = { class: "vt-select__tag-text" }, Ii = {
|
|
3908
3934
|
key: 1,
|
|
3909
3935
|
class: "vt-select__display-text"
|
|
3910
|
-
},
|
|
3936
|
+
}, Bi = {
|
|
3911
3937
|
key: 2,
|
|
3912
3938
|
class: "vt-select__placeholder"
|
|
3913
|
-
},
|
|
3939
|
+
}, Hi = { class: "vt-select__suffix" }, Ei = ["disabled"], Ti = {
|
|
3914
3940
|
key: 0,
|
|
3915
3941
|
class: "vt-select__help"
|
|
3916
|
-
},
|
|
3942
|
+
}, ji = {
|
|
3917
3943
|
"aria-hidden": "true",
|
|
3918
3944
|
style: { display: "none" }
|
|
3919
|
-
},
|
|
3945
|
+
}, zi = ["aria-multiselectable"], Oi = {
|
|
3920
3946
|
key: 0,
|
|
3921
3947
|
class: "vt-select-dropdown__search"
|
|
3922
|
-
},
|
|
3948
|
+
}, Ri = {
|
|
3923
3949
|
key: 1,
|
|
3924
3950
|
class: "vt-select-dropdown__loading"
|
|
3925
|
-
},
|
|
3951
|
+
}, Di = {
|
|
3926
3952
|
key: 2,
|
|
3927
3953
|
class: "vt-select-dropdown__empty"
|
|
3928
|
-
},
|
|
3954
|
+
}, Wi = { key: 0 }, Pi = { key: 1 }, Ai = ["aria-disabled", "aria-selected", "onClick"], Zi = { class: "vt-option__text" }, Fi = { key: 1 }, Ni = {
|
|
3929
3955
|
key: 0,
|
|
3930
3956
|
class: "vt-select-dropdown__loading-more"
|
|
3931
|
-
},
|
|
3957
|
+
}, qi = /* @__PURE__ */ ue({
|
|
3932
3958
|
__name: "VSelect",
|
|
3933
3959
|
props: {
|
|
3934
3960
|
modelValue: {},
|
|
@@ -4066,7 +4092,7 @@ const _i = ["for"], ki = {
|
|
|
4066
4092
|
}
|
|
4067
4093
|
}), x = {
|
|
4068
4094
|
validate() {
|
|
4069
|
-
const d =
|
|
4095
|
+
const d = ki(
|
|
4070
4096
|
t.modelValue,
|
|
4071
4097
|
S.value,
|
|
4072
4098
|
t.required || !1,
|
|
@@ -4077,7 +4103,7 @@ const _i = ["for"], ki = {
|
|
|
4077
4103
|
clear() {
|
|
4078
4104
|
C.validationErrors.value = [], C.isValid.value = !0, l("validation", { isValid: !0, errors: [] });
|
|
4079
4105
|
}
|
|
4080
|
-
}, S = k(() => t.multiple), T = k(() => G.value.length ?
|
|
4106
|
+
}, S = k(() => t.multiple), T = k(() => G.value.length ? Ci(t.modelValue, G.value, S.value, t.valueKey) : []), q = k(() => !t.multiple || T.value.length === 0 ? [] : t.collapsedTags ? T.value.slice(0, C.visibleCount.value) : T.value), se = k(() => {
|
|
4081
4107
|
if (S.value) return "";
|
|
4082
4108
|
const d = T.value[0];
|
|
4083
4109
|
return d ? d.label : t.modelValue && typeof t.modelValue == "object" ? t.modelValue.label ? t.modelValue.label : t.modelValue.name ? t.modelValue.name : JSON.stringify(t.modelValue) : t.modelValue !== void 0 && t.modelValue !== null && t.modelValue !== "" && !Array.isArray(t.modelValue) ? String(t.modelValue) : "";
|
|
@@ -4098,7 +4124,7 @@ const _i = ["for"], ki = {
|
|
|
4098
4124
|
})), Ve = k(() => T.value.length - C.visibleCount.value), He = k(() => t.collapsedTags && t.multiple && T.value.length > 0 && C.visibleCount.value < T.value.length), Re = k(() => {
|
|
4099
4125
|
if (!He.value) return "";
|
|
4100
4126
|
const d = T.value.slice(C.visibleCount.value);
|
|
4101
|
-
return
|
|
4127
|
+
return yi(Ve.value, d);
|
|
4102
4128
|
}), Ee = (d) => {
|
|
4103
4129
|
var J, P;
|
|
4104
4130
|
if (!N.value) return;
|
|
@@ -4106,16 +4132,16 @@ const _i = ["for"], ki = {
|
|
|
4106
4132
|
(J = i.value) != null && J.contains(y) || (P = p.value) != null && P.contains(y) || ne();
|
|
4107
4133
|
}, h = (d) => {
|
|
4108
4134
|
if (!d || d.disabled) return;
|
|
4109
|
-
const y =
|
|
4135
|
+
const y = wi(d, t.modelValue, S.value, t.valueKey);
|
|
4110
4136
|
l("update:modelValue", y), l("change", y), S.value || ne(), t.validateOnInput && x.validate();
|
|
4111
4137
|
}, $ = (d, y) => {
|
|
4112
4138
|
d.disabled || h(d);
|
|
4113
4139
|
}, M = () => {
|
|
4114
|
-
const d =
|
|
4140
|
+
const d = _i(S.value);
|
|
4115
4141
|
l("update:modelValue", d), l("change", d), l("clear"), x.clear();
|
|
4116
4142
|
}, ae = (d) => {
|
|
4117
4143
|
if (!S.value) return;
|
|
4118
|
-
const y =
|
|
4144
|
+
const y = gi(d, t.modelValue, t.valueKey);
|
|
4119
4145
|
l("update:modelValue", y), l("change", y), l("remove-tag", d), t.validateOnInput && x.validate();
|
|
4120
4146
|
}, ke = () => {
|
|
4121
4147
|
t.disabled || m();
|
|
@@ -4131,14 +4157,14 @@ const _i = ["for"], ki = {
|
|
|
4131
4157
|
C.filterQuery.value = "", l("filter", ""), l("filter-clear");
|
|
4132
4158
|
}, Ze = (d) => {
|
|
4133
4159
|
d.key === "Enter" || d.key === " " ? (d.preventDefault(), ke()) : d.key === "Escape" && N.value && (d.preventDefault(), ne());
|
|
4134
|
-
}, Se = (d) =>
|
|
4160
|
+
}, Se = (d) => mi(d, t.modelValue, S.value, t.valueKey), _ = () => {
|
|
4135
4161
|
if (!t.collapsedTags || !v.value || T.value.length === 0) {
|
|
4136
4162
|
C.visibleCount.value = T.value.length;
|
|
4137
4163
|
return;
|
|
4138
4164
|
}
|
|
4139
4165
|
Ce(() => {
|
|
4140
4166
|
if (!v.value) return;
|
|
4141
|
-
const d =
|
|
4167
|
+
const d = bi(v.value, f.value, T.value.length);
|
|
4142
4168
|
C.visibleCount.value = d;
|
|
4143
4169
|
});
|
|
4144
4170
|
}, V = {
|
|
@@ -4249,8 +4275,8 @@ const _i = ["for"], ki = {
|
|
|
4249
4275
|
class: "vt-select__label"
|
|
4250
4276
|
}, [
|
|
4251
4277
|
ge(Q(d.label) + " ", 1),
|
|
4252
|
-
d.required ? (s(), a("span",
|
|
4253
|
-
], 8,
|
|
4278
|
+
d.required ? (s(), a("span", $i, "*")) : j("", !0)
|
|
4279
|
+
], 8, xi)) : j("", !0),
|
|
4254
4280
|
r("div", {
|
|
4255
4281
|
ref_key: "triggerRef",
|
|
4256
4282
|
ref: c,
|
|
@@ -4261,7 +4287,7 @@ const _i = ["for"], ki = {
|
|
|
4261
4287
|
onFocus: be,
|
|
4262
4288
|
onKeydown: Ze
|
|
4263
4289
|
}, [
|
|
4264
|
-
r("div",
|
|
4290
|
+
r("div", Mi, [
|
|
4265
4291
|
d.multiple && T.value.length > 0 ? (s(), a("div", {
|
|
4266
4292
|
key: 0,
|
|
4267
4293
|
ref_key: "containerRef",
|
|
@@ -4274,7 +4300,7 @@ const _i = ["for"], ki = {
|
|
|
4274
4300
|
ref: (de) => de && (f.value[H] = de),
|
|
4275
4301
|
class: "vt-select__tag"
|
|
4276
4302
|
}, [
|
|
4277
|
-
r("span",
|
|
4303
|
+
r("span", Li, Q(P.label), 1),
|
|
4278
4304
|
t.disabled ? j("", !0) : (s(), ie(le, {
|
|
4279
4305
|
key: 0,
|
|
4280
4306
|
class: "vt-select__tag-close",
|
|
@@ -4282,14 +4308,14 @@ const _i = ["for"], ki = {
|
|
|
4282
4308
|
onClick: me((de) => ae(P.value), ["stop"])
|
|
4283
4309
|
}, null, 8, ["onClick"]))
|
|
4284
4310
|
]))), 128)),
|
|
4285
|
-
He.value ? Ae((s(), a("div",
|
|
4286
|
-
r("span",
|
|
4311
|
+
He.value ? Ae((s(), a("div", Vi, [
|
|
4312
|
+
r("span", Si, "+" + Q(Ve.value), 1)
|
|
4287
4313
|
])), [
|
|
4288
4314
|
[J, Re.value]
|
|
4289
4315
|
]) : j("", !0)
|
|
4290
|
-
], 512)) : !d.multiple && se.value ? (s(), a("span",
|
|
4316
|
+
], 512)) : !d.multiple && se.value ? (s(), a("span", Ii, Q(se.value), 1)) : (s(), a("span", Bi, Q(d.placeholder), 1))
|
|
4291
4317
|
]),
|
|
4292
|
-
r("div",
|
|
4318
|
+
r("div", Hi, [
|
|
4293
4319
|
d.loading ? (s(), ie(je, {
|
|
4294
4320
|
key: 0,
|
|
4295
4321
|
class: "vt-select__loading"
|
|
@@ -4301,7 +4327,7 @@ const _i = ["for"], ki = {
|
|
|
4301
4327
|
onClick: me(M, ["stop"])
|
|
4302
4328
|
}, [
|
|
4303
4329
|
X(le, { name: "close" })
|
|
4304
|
-
], 8,
|
|
4330
|
+
], 8, Ei)) : (s(), ie(le, {
|
|
4305
4331
|
key: 2,
|
|
4306
4332
|
class: A([{ "vt-select__arrow--open": oe(N) }, "vt-select__icon vt-select__arrow"]),
|
|
4307
4333
|
name: "arrowDown"
|
|
@@ -4310,7 +4336,7 @@ const _i = ["for"], ki = {
|
|
|
4310
4336
|
], 544),
|
|
4311
4337
|
X(r1, { name: "fade" }, {
|
|
4312
4338
|
default: we(() => [
|
|
4313
|
-
C.validationErrors && C.validationErrors.value.length ? (s(), a("div",
|
|
4339
|
+
C.validationErrors && C.validationErrors.value.length ? (s(), a("div", Ti, [
|
|
4314
4340
|
(s(!0), a(ce, null, he(C.validationErrors.value, (P, H) => (s(), a("div", {
|
|
4315
4341
|
key: `error-${H}`,
|
|
4316
4342
|
class: "vt-select__error"
|
|
@@ -4319,7 +4345,7 @@ const _i = ["for"], ki = {
|
|
|
4319
4345
|
]),
|
|
4320
4346
|
_: 1
|
|
4321
4347
|
}),
|
|
4322
|
-
r("div",
|
|
4348
|
+
r("div", ji, [
|
|
4323
4349
|
ve(d.$slots, "default")
|
|
4324
4350
|
]),
|
|
4325
4351
|
oe(N) && oe(E) ? (s(), ie(Je, {
|
|
@@ -4340,7 +4366,7 @@ const _i = ["for"], ki = {
|
|
|
4340
4366
|
onMousedown: y[3] || (y[3] = me(() => {
|
|
4341
4367
|
}, ["prevent"]))
|
|
4342
4368
|
}, [
|
|
4343
|
-
d.filterable ? (s(), a("div",
|
|
4369
|
+
d.filterable ? (s(), a("div", Oi, [
|
|
4344
4370
|
X(g1, {
|
|
4345
4371
|
ref_key: "filterInputRef",
|
|
4346
4372
|
ref: g,
|
|
@@ -4352,11 +4378,11 @@ const _i = ["for"], ki = {
|
|
|
4352
4378
|
type: "text"
|
|
4353
4379
|
}, null, 8, ["modelValue", "placeholder"])
|
|
4354
4380
|
])) : j("", !0),
|
|
4355
|
-
d.loading ? (s(), a("div",
|
|
4381
|
+
d.loading ? (s(), a("div", Ri, [
|
|
4356
4382
|
X(je, { class: "vt-select-dropdown__loading-icon" }),
|
|
4357
4383
|
ge(" " + Q(d.loadingText), 1)
|
|
4358
|
-
])) : te.value.length === 0 ? (s(), a("div",
|
|
4359
|
-
C.filterQuery.value ? (s(), a("span",
|
|
4384
|
+
])) : te.value.length === 0 ? (s(), a("div", Di, [
|
|
4385
|
+
C.filterQuery.value ? (s(), a("span", Wi, 'Немає результатів для "' + Q(C.filterQuery.value) + '"', 1)) : (s(), a("span", Pi, Q(d.noDataText), 1))
|
|
4360
4386
|
])) : (s(), a("div", {
|
|
4361
4387
|
key: 3,
|
|
4362
4388
|
ref_key: "scrollContainerRef",
|
|
@@ -4387,16 +4413,16 @@ const _i = ["for"], ki = {
|
|
|
4387
4413
|
tabindex: "-1",
|
|
4388
4414
|
onChange: (H) => $(P)
|
|
4389
4415
|
}, null, 8, ["checked", "disabled", "onChange"])) : j("", !0),
|
|
4390
|
-
r("span",
|
|
4391
|
-
R(P.value) ? (s(), ie(Xe(R(P.value)), { key: 0 })) : (s(), a("span",
|
|
4416
|
+
r("span", Zi, [
|
|
4417
|
+
R(P.value) ? (s(), ie(Xe(R(P.value)), { key: 0 })) : (s(), a("span", Fi, Q(P.label || P.value), 1))
|
|
4392
4418
|
])
|
|
4393
|
-
], 42,
|
|
4394
|
-
d.loading ? (s(), a("div",
|
|
4419
|
+
], 42, Ai))), 128)),
|
|
4420
|
+
d.loading ? (s(), a("div", Ni, [
|
|
4395
4421
|
X(je, { class: "vt-select-dropdown__loading-icon" }),
|
|
4396
4422
|
ge(" " + Q(t.loadingText), 1)
|
|
4397
4423
|
])) : j("", !0)
|
|
4398
4424
|
], 512))
|
|
4399
|
-
], 44,
|
|
4425
|
+
], 44, zi)
|
|
4400
4426
|
]),
|
|
4401
4427
|
_: 1
|
|
4402
4428
|
})
|
|
@@ -4404,7 +4430,7 @@ const _i = ["for"], ki = {
|
|
|
4404
4430
|
], 2);
|
|
4405
4431
|
};
|
|
4406
4432
|
}
|
|
4407
|
-
}),
|
|
4433
|
+
}), Ki = { style: { display: "none" } }, Ui = /* @__PURE__ */ ue({
|
|
4408
4434
|
__name: "VOption",
|
|
4409
4435
|
props: {
|
|
4410
4436
|
label: {},
|
|
@@ -4427,7 +4453,7 @@ const _i = ["for"], ki = {
|
|
|
4427
4453
|
}
|
|
4428
4454
|
}), $1(() => {
|
|
4429
4455
|
l && l.unregisterOption(o.value);
|
|
4430
|
-
}), (c, p) => (s(), a("div",
|
|
4456
|
+
}), (c, p) => (s(), a("div", Ki, [
|
|
4431
4457
|
ve(c.$slots, "default")
|
|
4432
4458
|
]));
|
|
4433
4459
|
}
|
|
@@ -4522,7 +4548,7 @@ const _i = ["for"], ki = {
|
|
|
4522
4548
|
});
|
|
4523
4549
|
}, h1 = (n) => {
|
|
4524
4550
|
n.style.opacity = "0", n.style.visibility = "hidden";
|
|
4525
|
-
}, p1 = (n) => n.scrollWidth > n.clientWidth || n.scrollHeight > n.clientHeight, f1 = (n) => !!n.closest(".vt-table, table"),
|
|
4551
|
+
}, p1 = (n) => n.scrollWidth > n.clientWidth || n.scrollHeight > n.clientHeight, f1 = (n) => !!n.closest(".vt-table, table"), Yi = {
|
|
4526
4552
|
mounted(n, e) {
|
|
4527
4553
|
var v;
|
|
4528
4554
|
const o = (v = e.value) == null ? void 0 : v.trim();
|
|
@@ -4559,21 +4585,21 @@ const _i = ["for"], ki = {
|
|
|
4559
4585
|
beforeUnmount(n) {
|
|
4560
4586
|
n.__tooltipEl && n.__tooltipEl.parentElement && (n.__tooltipEl.parentElement.removeChild(n.__tooltipEl), delete n.__tooltipEl), n.__mouseenterHandler && (n.removeEventListener("mouseenter", n.__mouseenterHandler), delete n.__mouseenterHandler), n.__mouseleaveHandler && (n.removeEventListener("mouseleave", n.__mouseleaveHandler), delete n.__mouseleaveHandler), n.__scrollHandler && (window.removeEventListener("scroll", n.__scrollHandler, !0), window.removeEventListener("resize", n.__scrollHandler), delete n.__scrollHandler);
|
|
4561
4587
|
}
|
|
4562
|
-
},
|
|
4588
|
+
}, Gi = {
|
|
4563
4589
|
sortable: !0,
|
|
4564
4590
|
actionColumn: !1,
|
|
4565
4591
|
showOverflowTooltip: !0,
|
|
4566
4592
|
visible: !0,
|
|
4567
4593
|
pinnedLeft: !1,
|
|
4568
4594
|
pinnedRight: !1
|
|
4569
|
-
},
|
|
4595
|
+
}, Xi = {
|
|
4570
4596
|
install(n, e = {}) {
|
|
4571
4597
|
const { prefix: o = "V", modal: t = !0 } = e;
|
|
4572
|
-
n.component(`${o}Button`, We), n.component(`${o}Icon`, le), n.component(`${o}Loader`, je), n.component(`${o}Modal`, v1), n.component(`${o}Pagination`,
|
|
4598
|
+
n.component(`${o}Button`, We), n.component(`${o}Icon`, le), n.component(`${o}Loader`, je), n.component(`${o}Modal`, v1), n.component(`${o}Pagination`, us), n.component(`${o}Checkbox`, $e), n.component(`${o}Radiobox`, fs), n.component(`${o}Table`, oi), n.component(`${o}TableColumn`, li), n.component(`${o}Dropdown`, w1), n.component(`${o}DropdownItem`, Ue), n.component(`${o}Input`, g1), n.component(`${o}Select`, qi), n.component(`${o}Option`, Ui), n.directive("tooltip", Yi), t && n.use(Ms);
|
|
4573
4599
|
}
|
|
4574
|
-
},
|
|
4600
|
+
}, Ji = Xi.install;
|
|
4575
4601
|
export {
|
|
4576
|
-
|
|
4602
|
+
Gi as DEFAULT_COLUMN_CONFIG,
|
|
4577
4603
|
C1 as DropdownContextKey,
|
|
4578
4604
|
We as VButton,
|
|
4579
4605
|
$e as VCheckbox,
|
|
@@ -4583,16 +4609,16 @@ export {
|
|
|
4583
4609
|
g1 as VInput,
|
|
4584
4610
|
je as VLoader,
|
|
4585
4611
|
v1 as VModal,
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4612
|
+
Ms as VModalPlugin,
|
|
4613
|
+
Ui as VOption,
|
|
4614
|
+
us as VPagination,
|
|
4615
|
+
fs as VRadiobox,
|
|
4616
|
+
qi as VSelect,
|
|
4617
|
+
oi as VTable,
|
|
4618
|
+
li as VTableColumn,
|
|
4593
4619
|
_1 as VtSelectContextKey,
|
|
4594
|
-
|
|
4595
|
-
|
|
4620
|
+
Xi as default,
|
|
4621
|
+
Ji as install,
|
|
4596
4622
|
xe as modalManager,
|
|
4597
|
-
|
|
4623
|
+
Yi as tooltipDirective
|
|
4598
4624
|
};
|