monobill-mintui 0.6.718 → 0.6.721
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/bin/component-dependencies.json +1 -0
- package/dist/checkbox.css +1 -1
- package/dist/components/alert/browser.js +4 -4
- package/dist/components/alert/index.cjs +1 -1
- package/dist/components/alert/index.js +4 -4
- package/dist/components/back-button/browser.js +1 -1
- package/dist/components/back-button/index.cjs +1 -1
- package/dist/components/back-button/index.js +1 -1
- package/dist/components/bottom-navigation/browser.js +2 -2
- package/dist/components/bottom-navigation/index.cjs +1 -1
- package/dist/components/bottom-navigation/index.js +2 -2
- package/dist/components/button/browser.js +1 -1
- package/dist/components/button/index.cjs +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/checkbox/Checkbox.d.ts +3 -0
- package/dist/components/checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/checkbox/browser.js +2 -186
- package/dist/components/checkbox/index.cjs +1 -1
- package/dist/components/checkbox/index.js +2 -186
- package/dist/components/chip/browser.js +1 -1
- package/dist/components/chip/index.cjs +1 -1
- package/dist/components/chip/index.js +1 -1
- package/dist/components/chunks/{back-button-By8eO_KR.js → back-button-C0ajSqKu.js} +2 -2
- package/dist/components/chunks/{back-button-BGzrOtpx.js → back-button-Dw4NF_vN.js} +1 -1
- package/dist/components/chunks/{button-B_yN18B-.js → button-B4BMYTk1.js} +1 -1
- package/dist/components/chunks/{button-JPTyQfRs.js → button-BTQHrE0x.js} +2 -2
- package/dist/components/chunks/caret-down-DbFlPN-2.js +1 -0
- package/dist/components/chunks/{caret-down-ZjQN2yKq.js → caret-down-pn6aBT-u.js} +1 -1
- package/dist/components/chunks/caret-right-B8gOXLh9.js +1 -0
- package/dist/components/chunks/{caret-right-BlRbsLlh.js → caret-right-DDGEbhEH.js} +1 -1
- package/dist/components/chunks/checkbox-BKU8fiY7.js +1 -0
- package/dist/components/chunks/checkbox-p-Fb5ojp.js +193 -0
- package/dist/components/chunks/{chip-BUaS7ks-.js → chip-B0kg_vr8.js} +1 -1
- package/dist/components/chunks/{chip-XuYPtZ3Z.js → chip-bcCOd6-h.js} +3 -3
- package/dist/components/chunks/{close-Cn8XLO1c.js → close-8VXvDCau.js} +1 -1
- package/dist/components/chunks/close-CWAmmMRg.js +1 -0
- package/dist/components/chunks/{confirm-action-CX_FEzCR.js → confirm-action-BW1UwJNu.js} +2 -2
- package/dist/components/chunks/{confirm-action-86hDdUKT.js → confirm-action-sovGys0x.js} +1 -1
- package/dist/components/chunks/{date-picker-J8AtC8Py.js → date-picker-CDEVgbw7.js} +1 -1
- package/dist/components/chunks/{date-picker-BLqafHuc.js → date-picker-R2gbHZCP.js} +5 -5
- package/dist/components/chunks/{icon-CWOP4Com.js → icon-B9P0jyS2.js} +6 -6
- package/dist/components/chunks/icon-CIAsmizQ.js +1 -0
- package/dist/components/chunks/icon-Cia9x_J2.js +1 -0
- package/dist/components/chunks/{icon-hyFz3uhh.js → icon-DAB2KLeo.js} +217 -207
- package/dist/components/chunks/{input-BI4nrOaG.js → input-BXC4lMG_.js} +1 -1
- package/dist/components/chunks/{input-B-njkq5j.js → input-B_q63xQu.js} +3 -3
- package/dist/components/chunks/{modal-BEv3P1P0.js → modal-BixpSAyU.js} +10 -30
- package/dist/components/chunks/{modal-ux6cqTde.js → modal-BrIOYE1W.js} +1 -1
- package/dist/components/chunks/{popover-0YEhBrgv.js → popover-CWWKb7L1.js} +1 -1
- package/dist/components/chunks/{popover-CE2t5dKP.js → popover-DPNBidSz.js} +1 -1
- package/dist/components/chunks/search-CGQa7dR2.js +1 -0
- package/dist/components/chunks/{search-BwjKBnv9.js → search-COAeeXxO.js} +1 -1
- package/dist/components/chunks/{select-DS2CJyXR.js → select-CHImyDWO.js} +1 -1
- package/dist/components/chunks/{select-DDnYtBVR.js → select-CnN6eiFK.js} +3 -3
- package/dist/components/chunks/{table-slcPmVWy.js → table-B_S4xwx3.js} +1 -1
- package/dist/components/chunks/{table-B_g7lNzN.js → table-C6ufpGLx.js} +1 -1
- package/dist/components/chunks/{time-picker-EAyF05v1.js → time-picker-CijVykQ3.js} +1 -1
- package/dist/components/chunks/{time-picker-MtNyIZFb.js → time-picker-NksIqyuD.js} +3 -3
- package/dist/components/chunks/{warning-DKCaTYO6.js → warning-CVnTPaMj.js} +1 -1
- package/dist/components/chunks/{warning-DAYbxh3S.js → warning-vve-cXPr.js} +1 -1
- package/dist/components/confirm-action/browser.js +1 -1
- package/dist/components/confirm-action/index.cjs +1 -1
- package/dist/components/confirm-action/index.js +1 -1
- package/dist/components/date-picker/browser.js +1 -1
- package/dist/components/date-picker/index.cjs +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/datetime-picker/browser.js +3 -3
- package/dist/components/datetime-picker/index.cjs +1 -1
- package/dist/components/datetime-picker/index.js +3 -3
- package/dist/components/dropzone/browser.js +4 -4
- package/dist/components/dropzone/index.cjs +1 -1
- package/dist/components/dropzone/index.js +4 -4
- package/dist/components/icon/browser.js +1 -1
- package/dist/components/icon/icons/code.d.ts +3 -0
- package/dist/components/icon/icons/code.d.ts.map +1 -0
- package/dist/components/icon/icons/index.d.ts +1 -0
- package/dist/components/icon/icons/index.d.ts.map +1 -1
- package/dist/components/icon/index.cjs +1 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/input/browser.js +1 -1
- package/dist/components/input/index.cjs +1 -1
- package/dist/components/input/index.js +1 -1
- package/dist/components/link/browser.js +1 -1
- package/dist/components/link/index.cjs +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/modal/Modal.d.ts +0 -1
- package/dist/components/modal/Modal.d.ts.map +1 -1
- package/dist/components/modal/browser.js +1 -1
- package/dist/components/modal/index.cjs +1 -1
- package/dist/components/modal/index.js +1 -1
- package/dist/components/navigation/browser.js +4 -4
- package/dist/components/navigation/index.cjs +1 -1
- package/dist/components/navigation/index.js +4 -4
- package/dist/components/off-canvas/browser.js +3 -3
- package/dist/components/off-canvas/index.cjs +1 -1
- package/dist/components/off-canvas/index.js +3 -3
- package/dist/components/page/browser.js +4 -4
- package/dist/components/page/index.cjs +1 -1
- package/dist/components/page/index.js +4 -4
- package/dist/components/popover/browser.js +1 -1
- package/dist/components/popover/index.cjs +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/resource-table/ResourceTable.d.ts +25 -0
- package/dist/components/resource-table/ResourceTable.d.ts.map +1 -1
- package/dist/components/resource-table/browser.js +127 -35
- package/dist/components/resource-table/index.cjs +2 -2
- package/dist/components/resource-table/index.js +127 -35
- package/dist/components/scroll-fade/browser.js +1 -1
- package/dist/components/scroll-fade/index.cjs +1 -1
- package/dist/components/scroll-fade/index.js +1 -1
- package/dist/components/search/browser.js +7 -7
- package/dist/components/search/index.cjs +1 -1
- package/dist/components/search/index.js +7 -7
- package/dist/components/select/browser.js +1 -1
- package/dist/components/select/index.cjs +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/side-navigation/browser.js +6 -6
- package/dist/components/side-navigation/index.cjs +1 -1
- package/dist/components/side-navigation/index.js +6 -6
- package/dist/components/sortable/browser.js +1 -1
- package/dist/components/sortable/index.cjs +1 -1
- package/dist/components/sortable/index.js +1 -1
- package/dist/components/stack/browser.js +1 -1
- package/dist/components/stack/index.cjs +1 -1
- package/dist/components/stack/index.js +1 -1
- package/dist/components/switch/browser.js +2 -2
- package/dist/components/switch/index.cjs +1 -1
- package/dist/components/switch/index.js +2 -2
- package/dist/components/table/browser.js +1 -1
- package/dist/components/table/index.cjs +1 -1
- package/dist/components/table/index.js +1 -1
- package/dist/components/tabs/browser.js +1 -1
- package/dist/components/tabs/index.cjs +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tags/browser.js +4 -4
- package/dist/components/tags/index.cjs +1 -1
- package/dist/components/tags/index.js +4 -4
- package/dist/components/time-picker/browser.js +1 -1
- package/dist/components/time-picker/index.cjs +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/tree/browser.js +5 -5
- package/dist/components/tree/index.cjs +1 -1
- package/dist/components/tree/index.js +5 -5
- package/dist/icons/code.svg +3 -0
- package/dist/index.cjs +11 -11
- package/dist/index.css +3 -3
- package/dist/index.js +521 -434
- package/dist/modal.css +1 -1
- package/dist/navigation-search.json +7 -0
- package/dist/resource-table.css +1 -1
- package/package.json +1 -1
- package/dist/components/chunks/caret-down-BFHFcMyL.js +0 -1
- package/dist/components/chunks/caret-right--YnEL-Ny.js +0 -1
- package/dist/components/chunks/close-DSrpkGHJ.js +0 -1
- package/dist/components/chunks/icon-D6C1XGp2.js +0 -1
- package/dist/components/chunks/icon-l34kRIZg.js +0 -1
- package/dist/components/chunks/search-q3dkl4-X.js +0 -1
- /package/dist/components/chunks/{ScrollFade-DvzPIk2A.js → ScrollFade-Cg9fVO0V.js} +0 -0
- /package/dist/components/chunks/{ScrollFade-BMs09zZN.js → ScrollFade-Dfq2B1Hm.js} +0 -0
- /package/dist/components/chunks/{link-DVKhDl3O.js → link-B_fNmwOk.js} +0 -0
- /package/dist/components/chunks/{link-ACOyvLkd.js → link-BxTQfAW9.js} +0 -0
- /package/dist/components/chunks/{sortable-BSw58wy_.js → sortable-Bql13n3L.js} +0 -0
- /package/dist/components/chunks/{sortable-D3et5wXB.js → sortable-DdT2ptc5.js} +0 -0
- /package/dist/components/chunks/{stack-DEIdHS0n.js → stack-CK2o4-As.js} +0 -0
- /package/dist/components/chunks/{stack-CzcHNnl8.js → stack-CKUu8IVZ.js} +0 -0
package/dist/index.js
CHANGED
|
@@ -460,68 +460,78 @@ var oe = {
|
|
|
460
460
|
};
|
|
461
461
|
s(oe);
|
|
462
462
|
//#endregion
|
|
463
|
-
//#region src/components/icon/icons/
|
|
463
|
+
//#region src/components/icon/icons/code.js
|
|
464
464
|
var se = {
|
|
465
|
+
name: "code",
|
|
466
|
+
viewBox: "0 0 24 24",
|
|
467
|
+
path: "M9 4H7a2 2 0 00-2 2v3a3 3 0 01-3 3 3 3 0 013 3v3a2 2 0 002 2h2M15 4h2a2 2 0 012 2v3a3 3 0 003 3 3 3 0 00-3 3v3a2 2 0 01-2 2h-2",
|
|
468
|
+
strokeLinecap: "round",
|
|
469
|
+
strokeLinejoin: "round"
|
|
470
|
+
};
|
|
471
|
+
s(se);
|
|
472
|
+
//#endregion
|
|
473
|
+
//#region src/components/icon/icons/copy.js
|
|
474
|
+
var ce = {
|
|
465
475
|
name: "copy",
|
|
466
476
|
viewBox: "0 0 24 24",
|
|
467
477
|
path: "M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z",
|
|
468
478
|
strokeLinecap: "round",
|
|
469
479
|
strokeLinejoin: "round"
|
|
470
480
|
};
|
|
471
|
-
s(
|
|
481
|
+
s(ce);
|
|
472
482
|
//#endregion
|
|
473
483
|
//#region src/components/icon/icons/credit-card.js
|
|
474
|
-
var
|
|
484
|
+
var le = {
|
|
475
485
|
name: "credit-card",
|
|
476
486
|
viewBox: "0 0 24 24",
|
|
477
487
|
path: "M3 7.5A2.5 2.5 0 0 1 5.5 5h13A2.5 2.5 0 0 1 21 7.5v9A2.5 2.5 0 0 1 18.5 19h-13A2.5 2.5 0 0 1 3 16.5v-9zM3 10h18M7 15h3",
|
|
478
488
|
strokeLinecap: "round",
|
|
479
489
|
strokeLinejoin: "round"
|
|
480
490
|
};
|
|
481
|
-
s(
|
|
491
|
+
s(le);
|
|
482
492
|
//#endregion
|
|
483
493
|
//#region src/components/icon/icons/delete.js
|
|
484
|
-
var
|
|
494
|
+
var ue = {
|
|
485
495
|
name: "delete",
|
|
486
496
|
viewBox: "0 0 24 24",
|
|
487
497
|
path: "M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16",
|
|
488
498
|
strokeLinecap: "round",
|
|
489
499
|
strokeLinejoin: "round"
|
|
490
500
|
};
|
|
491
|
-
s(
|
|
501
|
+
s(ue);
|
|
492
502
|
//#endregion
|
|
493
503
|
//#region src/components/icon/icons/desktop.js
|
|
494
|
-
var
|
|
504
|
+
var de = {
|
|
495
505
|
name: "desktop",
|
|
496
506
|
viewBox: "0 0 24 24",
|
|
497
507
|
path: "M4 4h16a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1ZM12 17v3m-4 0h8",
|
|
498
508
|
strokeLinecap: "round",
|
|
499
509
|
strokeLinejoin: "round"
|
|
500
510
|
};
|
|
501
|
-
s(
|
|
511
|
+
s(de);
|
|
502
512
|
//#endregion
|
|
503
513
|
//#region src/components/icon/icons/desktop-screen.js
|
|
504
|
-
var
|
|
514
|
+
var fe = {
|
|
505
515
|
name: "desktop-screen",
|
|
506
516
|
viewBox: "0 0 24 24",
|
|
507
517
|
path: "M3 5a2 2 0 012-2h14a2 2 0 012 2v9a2 2 0 01-2 2h-5m-4 0H5a2 2 0 01-2-2V5m7 11v4m-2 0h8",
|
|
508
518
|
strokeLinecap: "round",
|
|
509
519
|
strokeLinejoin: "round"
|
|
510
520
|
};
|
|
511
|
-
s(
|
|
521
|
+
s(fe);
|
|
512
522
|
//#endregion
|
|
513
523
|
//#region src/components/icon/icons/documentation.js
|
|
514
|
-
var
|
|
524
|
+
var pe = {
|
|
515
525
|
name: "documentation",
|
|
516
526
|
viewBox: "0 0 24 24",
|
|
517
527
|
path: "M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253",
|
|
518
528
|
strokeLinecap: "round",
|
|
519
529
|
strokeLinejoin: "round"
|
|
520
530
|
};
|
|
521
|
-
s(
|
|
531
|
+
s(pe);
|
|
522
532
|
//#endregion
|
|
523
533
|
//#region src/components/icon/icons/dollar-sign.js
|
|
524
|
-
var
|
|
534
|
+
var me = {
|
|
525
535
|
name: "dollar-sign",
|
|
526
536
|
viewBox: "0 0 24 24",
|
|
527
537
|
path: "M12 3v18M17 7c0-1.2-1.3-2-3-2h-4c-1.7 0-3 1-3 2.2 0 1.5 1.4 2.2 3 2.6l4 1c1.6.4 3 1.1 3 2.6 0 1.2-1.3 2.2-3 2.2h-4c-1.7 0-3-1-3-2",
|
|
@@ -529,366 +539,366 @@ var pe = {
|
|
|
529
539
|
strokeLinecap: "butt",
|
|
530
540
|
strokeLinejoin: "miter"
|
|
531
541
|
};
|
|
532
|
-
s(
|
|
542
|
+
s(me);
|
|
533
543
|
//#endregion
|
|
534
544
|
//#region src/components/icon/icons/download.js
|
|
535
|
-
var
|
|
545
|
+
var he = {
|
|
536
546
|
name: "download",
|
|
537
547
|
viewBox: "0 0 24 24",
|
|
538
548
|
path: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4",
|
|
539
549
|
strokeLinecap: "round",
|
|
540
550
|
strokeLinejoin: "round"
|
|
541
551
|
};
|
|
542
|
-
s(
|
|
552
|
+
s(he);
|
|
543
553
|
//#endregion
|
|
544
554
|
//#region src/components/icon/icons/duplicate.js
|
|
545
|
-
var
|
|
555
|
+
var ge = {
|
|
546
556
|
name: "duplicate",
|
|
547
557
|
viewBox: "0 0 24 24",
|
|
548
558
|
path: "M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z",
|
|
549
559
|
strokeLinecap: "round",
|
|
550
560
|
strokeLinejoin: "round"
|
|
551
561
|
};
|
|
552
|
-
s(
|
|
562
|
+
s(ge);
|
|
553
563
|
//#endregion
|
|
554
564
|
//#region src/components/icon/icons/edit.js
|
|
555
|
-
var
|
|
565
|
+
var _e = {
|
|
556
566
|
name: "edit",
|
|
557
567
|
viewBox: "0 0 24 24",
|
|
558
568
|
path: "M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z",
|
|
559
569
|
strokeLinecap: "round",
|
|
560
570
|
strokeLinejoin: "round"
|
|
561
571
|
};
|
|
562
|
-
s(
|
|
572
|
+
s(_e);
|
|
563
573
|
//#endregion
|
|
564
574
|
//#region src/components/icon/icons/ellipsis.js
|
|
565
|
-
var
|
|
575
|
+
var ve = {
|
|
566
576
|
name: "ellipsis",
|
|
567
577
|
viewBox: "0 0 24 24",
|
|
568
578
|
path: "M6.6 12h.01M13.6 12h.01M20.6 12h.01M6.6 12a1.6 1.6 0 11-3.2 0 1.6 1.6 0 013.2 0zm7 0a1.6 1.6 0 11-3.2 0 1.6 1.6 0 013.2 0zm7 0a1.6 1.6 0 11-3.2 0 1.6 1.6 0 013.2 0z",
|
|
569
579
|
strokeLinecap: "round",
|
|
570
580
|
strokeLinejoin: "round"
|
|
571
581
|
};
|
|
572
|
-
s(
|
|
582
|
+
s(ve);
|
|
573
583
|
//#endregion
|
|
574
584
|
//#region src/components/icon/icons/error.js
|
|
575
|
-
var
|
|
585
|
+
var ye = {
|
|
576
586
|
name: "error",
|
|
577
587
|
viewBox: "0 0 24 24",
|
|
578
588
|
path: "M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
579
589
|
strokeLinecap: "round",
|
|
580
590
|
strokeLinejoin: "round"
|
|
581
591
|
};
|
|
582
|
-
s(
|
|
592
|
+
s(ye);
|
|
583
593
|
//#endregion
|
|
584
594
|
//#region src/components/icon/icons/external-link.js
|
|
585
|
-
var
|
|
595
|
+
var be = {
|
|
586
596
|
name: "external-link",
|
|
587
597
|
viewBox: "0 0 24 24",
|
|
588
598
|
path: "M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14",
|
|
589
599
|
strokeLinecap: "round",
|
|
590
600
|
strokeLinejoin: "round"
|
|
591
601
|
};
|
|
592
|
-
s(
|
|
602
|
+
s(be);
|
|
593
603
|
//#endregion
|
|
594
604
|
//#region src/components/icon/icons/expand.js
|
|
595
|
-
var
|
|
605
|
+
var xe = {
|
|
596
606
|
name: "expand",
|
|
597
607
|
viewBox: "0 0 24 24",
|
|
598
608
|
path: "M8 3H5a2 2 0 00-2 2v3m13-5h3a2 2 0 012 2v3M3 16v3a2 2 0 002 2h3m13-5v3a2 2 0 01-2 2h-3",
|
|
599
609
|
strokeLinecap: "round",
|
|
600
610
|
strokeLinejoin: "round"
|
|
601
611
|
};
|
|
602
|
-
s(
|
|
612
|
+
s(xe);
|
|
603
613
|
//#endregion
|
|
604
614
|
//#region src/components/icon/icons/eye.js
|
|
605
|
-
var
|
|
615
|
+
var Se = {
|
|
606
616
|
name: "eye",
|
|
607
617
|
viewBox: "0 0 24 24",
|
|
608
618
|
path: "M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6-10-6-10-6zm10 3.5a3.5 3.5 0 100-7 3.5 3.5 0 000 7z",
|
|
609
619
|
strokeLinecap: "round",
|
|
610
620
|
strokeLinejoin: "round"
|
|
611
621
|
};
|
|
612
|
-
s(
|
|
622
|
+
s(Se);
|
|
613
623
|
//#endregion
|
|
614
624
|
//#region src/components/icon/icons/file.js
|
|
615
|
-
var
|
|
625
|
+
var Ce = {
|
|
616
626
|
name: "file",
|
|
617
627
|
viewBox: "0 0 24 24",
|
|
618
628
|
path: "M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z",
|
|
619
629
|
strokeLinecap: "round",
|
|
620
630
|
strokeLinejoin: "round"
|
|
621
631
|
};
|
|
622
|
-
s(
|
|
632
|
+
s(Ce);
|
|
623
633
|
//#endregion
|
|
624
634
|
//#region src/components/icon/icons/filter.js
|
|
625
|
-
var
|
|
635
|
+
var we = {
|
|
626
636
|
name: "filter",
|
|
627
637
|
viewBox: "0 0 24 24",
|
|
628
638
|
path: "M3 6h18M3 12h18M3 18h18M6 6a2 2 0 11-4 0 2 2 0 014 0zM12 12a2 2 0 11-4 0 2 2 0 014 0zM16 18a2 2 0 11-4 0 2 2 0 014 0z",
|
|
629
639
|
strokeLinecap: "round",
|
|
630
640
|
strokeLinejoin: "round"
|
|
631
641
|
};
|
|
632
|
-
s(
|
|
642
|
+
s(we);
|
|
633
643
|
//#endregion
|
|
634
644
|
//#region src/components/icon/icons/funnel.js
|
|
635
|
-
var
|
|
645
|
+
var Te = {
|
|
636
646
|
name: "funnel",
|
|
637
647
|
viewBox: "0 0 24 24",
|
|
638
648
|
path: "M3 4h18l-7 8v6l-4 2v-8L3 4z",
|
|
639
649
|
strokeLinecap: "round",
|
|
640
650
|
strokeLinejoin: "round"
|
|
641
651
|
};
|
|
642
|
-
s(
|
|
652
|
+
s(Te);
|
|
643
653
|
//#endregion
|
|
644
654
|
//#region src/components/icon/icons/folder.js
|
|
645
|
-
var
|
|
655
|
+
var Ee = {
|
|
646
656
|
name: "folder",
|
|
647
657
|
viewBox: "0 0 24 24",
|
|
648
658
|
path: "M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z",
|
|
649
659
|
strokeLinecap: "round",
|
|
650
660
|
strokeLinejoin: "round"
|
|
651
661
|
};
|
|
652
|
-
s(
|
|
662
|
+
s(Ee);
|
|
653
663
|
//#endregion
|
|
654
664
|
//#region src/components/icon/icons/gavel.js
|
|
655
|
-
var
|
|
665
|
+
var De = {
|
|
656
666
|
name: "gavel",
|
|
657
667
|
viewBox: "0 0 24 24",
|
|
658
668
|
path: "M12 12",
|
|
659
669
|
customSvg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\">\n <g transform=\"translate(12 12) rotate(45)\">\n <rect x=\"-5.52\" y=\"-3.78\" width=\"1.78\" height=\"7.56\" rx=\"0.55\" ry=\"0.55\"/>\n <rect x=\"-3.74\" y=\"-3.12\" width=\"7.48\" height=\"6.24\" rx=\"0.46\" ry=\"0.46\"/>\n <rect x=\"3.74\" y=\"-3.78\" width=\"1.78\" height=\"7.56\" rx=\"0.55\" ry=\"0.55\"/>\n <rect x=\"-0.4\" y=\"3.78\" width=\"0.8\" height=\"8.45\" rx=\"0.4\" ry=\"0.4\"/>\n <rect x=\"-1.18\" y=\"12.21\" width=\"2.36\" height=\"2.55\" rx=\"0.92\" ry=\"0.92\"/>\n </g>\n</svg>"
|
|
660
670
|
};
|
|
661
|
-
s(
|
|
671
|
+
s(De);
|
|
662
672
|
//#endregion
|
|
663
673
|
//#region src/components/icon/icons/globe.js
|
|
664
|
-
var
|
|
674
|
+
var Oe = {
|
|
665
675
|
name: "globe",
|
|
666
676
|
viewBox: "0 0 24 24",
|
|
667
677
|
path: "M12 2a10 10 0 100 20 10 10 0 000-20zm0 0c2.5 2.4 4 6.2 4 10s-1.5 7.6-4 10m0-20c-2.5 2.4-4 6.2-4 10s1.5 7.6 4 10M2 12h20M4.5 7h15M4.5 17h15",
|
|
668
678
|
strokeLinecap: "round",
|
|
669
679
|
strokeLinejoin: "round"
|
|
670
680
|
};
|
|
671
|
-
s(
|
|
681
|
+
s(Oe);
|
|
672
682
|
//#endregion
|
|
673
683
|
//#region src/components/icon/icons/grid.js
|
|
674
|
-
var
|
|
684
|
+
var ke = {
|
|
675
685
|
name: "grid",
|
|
676
686
|
viewBox: "0 0 24 24",
|
|
677
687
|
path: "M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z",
|
|
678
688
|
strokeLinecap: "round",
|
|
679
689
|
strokeLinejoin: "round"
|
|
680
690
|
};
|
|
681
|
-
s(
|
|
691
|
+
s(ke);
|
|
682
692
|
//#endregion
|
|
683
693
|
//#region src/components/icon/icons/th.js
|
|
684
|
-
var
|
|
694
|
+
var Ae = {
|
|
685
695
|
name: "th",
|
|
686
696
|
viewBox: "0 0 24 24",
|
|
687
697
|
customSvg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><rect x=\"1\" y=\"1\" width=\"6.5\" height=\"6.5\" rx=\"1.15\"/><rect x=\"8.75\" y=\"1\" width=\"6.5\" height=\"6.5\" rx=\"1.15\"/><rect x=\"16.5\" y=\"1\" width=\"6.5\" height=\"6.5\" rx=\"1.15\"/><rect x=\"1\" y=\"8.75\" width=\"6.5\" height=\"6.5\" rx=\"1.15\"/><rect x=\"8.75\" y=\"8.75\" width=\"6.5\" height=\"6.5\" rx=\"1.15\"/><rect x=\"16.5\" y=\"8.75\" width=\"6.5\" height=\"6.5\" rx=\"1.15\"/><rect x=\"1\" y=\"16.5\" width=\"6.5\" height=\"6.5\" rx=\"1.15\"/><rect x=\"8.75\" y=\"16.5\" width=\"6.5\" height=\"6.5\" rx=\"1.15\"/><rect x=\"16.5\" y=\"16.5\" width=\"6.5\" height=\"6.5\" rx=\"1.15\"/></svg>"
|
|
688
698
|
};
|
|
689
|
-
s(
|
|
699
|
+
s(Ae);
|
|
690
700
|
//#endregion
|
|
691
701
|
//#region src/components/icon/icons/grip-lines.js
|
|
692
|
-
var
|
|
702
|
+
var je = {
|
|
693
703
|
name: "grip-lines",
|
|
694
704
|
viewBox: "0 0 24 24",
|
|
695
705
|
path: "M12 12",
|
|
696
706
|
customSvg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\">\n <rect x=\"2\" y=\"8\" width=\"18\" height=\"2\" rx=\"1\" />\n <rect x=\"2\" y=\"14\" width=\"18\" height=\"2\" rx=\"1\" />\n</svg>"
|
|
697
707
|
};
|
|
698
|
-
s(
|
|
708
|
+
s(je);
|
|
699
709
|
//#endregion
|
|
700
710
|
//#region src/components/icon/icons/help.js
|
|
701
|
-
var
|
|
711
|
+
var Me = {
|
|
702
712
|
name: "help",
|
|
703
713
|
viewBox: "0 0 24 24",
|
|
704
714
|
path: "M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
705
715
|
strokeLinecap: "round",
|
|
706
716
|
strokeLinejoin: "round"
|
|
707
717
|
};
|
|
708
|
-
s(
|
|
718
|
+
s(Me);
|
|
709
719
|
//#endregion
|
|
710
720
|
//#region src/components/icon/icons/home.js
|
|
711
|
-
var
|
|
721
|
+
var Ne = {
|
|
712
722
|
name: "home",
|
|
713
723
|
viewBox: "0 0 24 24",
|
|
714
724
|
path: "M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6",
|
|
715
725
|
strokeLinecap: "round",
|
|
716
726
|
strokeLinejoin: "round"
|
|
717
727
|
};
|
|
718
|
-
s(
|
|
728
|
+
s(Ne);
|
|
719
729
|
//#endregion
|
|
720
730
|
//#region src/components/icon/icons/image.js
|
|
721
|
-
var
|
|
731
|
+
var Pe = {
|
|
722
732
|
name: "image",
|
|
723
733
|
viewBox: "0 0 24 24",
|
|
724
734
|
path: "M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z",
|
|
725
735
|
strokeLinecap: "round",
|
|
726
736
|
strokeLinejoin: "round"
|
|
727
737
|
};
|
|
728
|
-
s(
|
|
738
|
+
s(Pe);
|
|
729
739
|
//#endregion
|
|
730
740
|
//#region src/components/icon/icons/info.js
|
|
731
|
-
var
|
|
741
|
+
var Fe = {
|
|
732
742
|
name: "info",
|
|
733
743
|
viewBox: "0 0 24 24",
|
|
734
744
|
path: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
735
745
|
strokeLinecap: "round",
|
|
736
746
|
strokeLinejoin: "round"
|
|
737
747
|
};
|
|
738
|
-
s(
|
|
748
|
+
s(Fe);
|
|
739
749
|
//#endregion
|
|
740
750
|
//#region src/components/icon/icons/language.js
|
|
741
|
-
var
|
|
751
|
+
var Ie = {
|
|
742
752
|
name: "language",
|
|
743
753
|
viewBox: "0 0 24 24",
|
|
744
754
|
path: "M3 5h12M9 3v2m1.048 9.5A18.022 18.022 0 016.412 9m6.088 9h7M11 21l5-10 5 10M12.751 5C11.783 10.77 8.07 15.61 3 18.129",
|
|
745
755
|
strokeLinecap: "round",
|
|
746
756
|
strokeLinejoin: "round"
|
|
747
757
|
};
|
|
748
|
-
s(
|
|
758
|
+
s(Ie);
|
|
749
759
|
//#endregion
|
|
750
760
|
//#region src/components/icon/icons/line-chart.js
|
|
751
|
-
var
|
|
761
|
+
var Le = {
|
|
752
762
|
name: "line-chart",
|
|
753
763
|
viewBox: "0 0 24 24",
|
|
754
764
|
path: "M3 20h18M4 18V4m2 11l4-4 3 3 5-6m0 0h-4m4 0v4",
|
|
755
765
|
strokeLinecap: "round",
|
|
756
766
|
strokeLinejoin: "round"
|
|
757
767
|
};
|
|
758
|
-
s(
|
|
768
|
+
s(Le);
|
|
759
769
|
//#endregion
|
|
760
770
|
//#region src/components/icon/icons/link.js
|
|
761
|
-
var
|
|
771
|
+
var Re = {
|
|
762
772
|
name: "link",
|
|
763
773
|
viewBox: "0 0 24 24",
|
|
764
774
|
path: "M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1",
|
|
765
775
|
strokeLinecap: "round",
|
|
766
776
|
strokeLinejoin: "round"
|
|
767
777
|
};
|
|
768
|
-
s(
|
|
778
|
+
s(Re);
|
|
769
779
|
//#endregion
|
|
770
780
|
//#region src/components/icon/icons/list.js
|
|
771
|
-
var
|
|
781
|
+
var ze = {
|
|
772
782
|
name: "list",
|
|
773
783
|
viewBox: "0 0 24 24",
|
|
774
784
|
path: "M8 6h13M5 6h.01M8 12h13M5 12h.01M8 18h13M5 18h.01",
|
|
775
785
|
strokeLinecap: "round",
|
|
776
786
|
strokeLinejoin: "round"
|
|
777
787
|
};
|
|
778
|
-
s(
|
|
788
|
+
s(ze);
|
|
779
789
|
//#endregion
|
|
780
790
|
//#region src/components/icon/icons/location.js
|
|
781
|
-
var
|
|
791
|
+
var Be = {
|
|
782
792
|
name: "location",
|
|
783
793
|
viewBox: "0 0 24 24",
|
|
784
794
|
path: "M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z M15 11a3 3 0 11-6 0 3 3 0 016 0z",
|
|
785
795
|
strokeLinecap: "round",
|
|
786
796
|
strokeLinejoin: "round"
|
|
787
797
|
};
|
|
788
|
-
s(
|
|
798
|
+
s(Be);
|
|
789
799
|
//#endregion
|
|
790
800
|
//#region src/components/icon/icons/lock.js
|
|
791
|
-
var
|
|
801
|
+
var Ve = {
|
|
792
802
|
name: "lock",
|
|
793
803
|
viewBox: "0 0 24 24",
|
|
794
804
|
path: "M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z",
|
|
795
805
|
strokeLinecap: "round",
|
|
796
806
|
strokeLinejoin: "round"
|
|
797
807
|
};
|
|
798
|
-
s(
|
|
808
|
+
s(Ve);
|
|
799
809
|
//#endregion
|
|
800
810
|
//#region src/components/icon/icons/login.js
|
|
801
|
-
var
|
|
811
|
+
var He = {
|
|
802
812
|
name: "login",
|
|
803
813
|
viewBox: "0 0 24 24",
|
|
804
814
|
path: "M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1",
|
|
805
815
|
strokeLinecap: "round",
|
|
806
816
|
strokeLinejoin: "round"
|
|
807
817
|
};
|
|
808
|
-
s(
|
|
818
|
+
s(He);
|
|
809
819
|
//#endregion
|
|
810
820
|
//#region src/components/icon/icons/logout.js
|
|
811
|
-
var
|
|
821
|
+
var Ue = {
|
|
812
822
|
name: "logout",
|
|
813
823
|
viewBox: "0 0 24 24",
|
|
814
824
|
path: "M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1",
|
|
815
825
|
strokeLinecap: "round",
|
|
816
826
|
strokeLinejoin: "round"
|
|
817
827
|
};
|
|
818
|
-
s(
|
|
828
|
+
s(Ue);
|
|
819
829
|
//#endregion
|
|
820
830
|
//#region src/components/icon/icons/mail.js
|
|
821
|
-
var
|
|
831
|
+
var We = {
|
|
822
832
|
name: "mail",
|
|
823
833
|
viewBox: "0 0 24 24",
|
|
824
834
|
path: "M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z",
|
|
825
835
|
strokeLinecap: "round",
|
|
826
836
|
strokeLinejoin: "round"
|
|
827
837
|
};
|
|
828
|
-
s(
|
|
838
|
+
s(We);
|
|
829
839
|
//#endregion
|
|
830
840
|
//#region src/components/icon/icons/map.js
|
|
831
|
-
var
|
|
841
|
+
var Ge = {
|
|
832
842
|
name: "map",
|
|
833
843
|
viewBox: "0 0 24 24",
|
|
834
844
|
path: "M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7",
|
|
835
845
|
strokeLinecap: "round",
|
|
836
846
|
strokeLinejoin: "round"
|
|
837
847
|
};
|
|
838
|
-
s(
|
|
848
|
+
s(Ge);
|
|
839
849
|
//#endregion
|
|
840
850
|
//#region src/components/icon/icons/menu.js
|
|
841
|
-
var
|
|
851
|
+
var Ke = {
|
|
842
852
|
name: "menu",
|
|
843
853
|
viewBox: "0 0 24 24",
|
|
844
854
|
path: "M4 6h16M4 12h16M4 18h16",
|
|
845
855
|
strokeLinecap: "round",
|
|
846
856
|
strokeLinejoin: "round"
|
|
847
857
|
};
|
|
848
|
-
s(
|
|
858
|
+
s(Ke);
|
|
849
859
|
//#endregion
|
|
850
860
|
//#region src/components/icon/icons/mobile.js
|
|
851
|
-
var
|
|
861
|
+
var qe = {
|
|
852
862
|
name: "mobile",
|
|
853
863
|
viewBox: "0 0 24 24",
|
|
854
864
|
path: "M8 2h8a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1Zm3 16h2",
|
|
855
865
|
strokeLinecap: "round",
|
|
856
866
|
strokeLinejoin: "round"
|
|
857
867
|
};
|
|
858
|
-
s(
|
|
868
|
+
s(qe);
|
|
859
869
|
//#endregion
|
|
860
870
|
//#region src/components/icon/icons/moon.js
|
|
861
|
-
var
|
|
871
|
+
var Je = {
|
|
862
872
|
name: "moon",
|
|
863
873
|
viewBox: "0 0 24 24",
|
|
864
874
|
path: "M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z",
|
|
865
875
|
strokeLinecap: "round",
|
|
866
876
|
strokeLinejoin: "round"
|
|
867
877
|
};
|
|
868
|
-
s(
|
|
878
|
+
s(Je);
|
|
869
879
|
//#endregion
|
|
870
880
|
//#region src/components/icon/icons/notifications.js
|
|
871
|
-
var
|
|
881
|
+
var Ye = {
|
|
872
882
|
name: "notifications",
|
|
873
883
|
viewBox: "0 0 24 24",
|
|
874
884
|
path: "M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9",
|
|
875
885
|
strokeLinecap: "round",
|
|
876
886
|
strokeLinejoin: "round"
|
|
877
887
|
};
|
|
878
|
-
s(
|
|
888
|
+
s(Ye);
|
|
879
889
|
//#endregion
|
|
880
890
|
//#region src/components/icon/icons/paste.js
|
|
881
|
-
var
|
|
891
|
+
var Xe = {
|
|
882
892
|
name: "paste",
|
|
883
893
|
viewBox: "0 0 24 24",
|
|
884
894
|
path: "M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2",
|
|
885
895
|
strokeLinecap: "round",
|
|
886
896
|
strokeLinejoin: "round"
|
|
887
897
|
};
|
|
888
|
-
s(
|
|
898
|
+
s(Xe);
|
|
889
899
|
//#endregion
|
|
890
900
|
//#region src/components/icon/icons/pin.js
|
|
891
|
-
var
|
|
901
|
+
var Ze = {
|
|
892
902
|
name: "pin",
|
|
893
903
|
viewBox: "0 0 16 16",
|
|
894
904
|
path: "M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146z",
|
|
@@ -896,270 +906,270 @@ var Xe = {
|
|
|
896
906
|
strokeLinejoin: "round",
|
|
897
907
|
customSvg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146z\" /></svg>"
|
|
898
908
|
};
|
|
899
|
-
s(
|
|
909
|
+
s(Ze);
|
|
900
910
|
//#endregion
|
|
901
911
|
//#region src/components/icon/icons/plus.js
|
|
902
|
-
var
|
|
912
|
+
var Qe = {
|
|
903
913
|
name: "plus",
|
|
904
914
|
viewBox: "0 0 24 24",
|
|
905
915
|
path: "M12 4v16m8-8H4",
|
|
906
916
|
strokeLinecap: "round",
|
|
907
917
|
strokeLinejoin: "round"
|
|
908
918
|
};
|
|
909
|
-
s(
|
|
919
|
+
s(Qe);
|
|
910
920
|
//#endregion
|
|
911
921
|
//#region src/components/icon/icons/print.js
|
|
912
|
-
var
|
|
922
|
+
var $e = {
|
|
913
923
|
name: "print",
|
|
914
924
|
viewBox: "0 0 24 24",
|
|
915
925
|
path: "M17 17h2a2 2 0 002-2v-4a2 2 0 00-2-2H5a2 2 0 00-2 2v4a2 2 0 002 2h2m2 4h6a2 2 0 002-2v-4a2 2 0 00-2-2H9a2 2 0 00-2 2v4a2 2 0 002 2zm8-12V5a2 2 0 00-2-2H9a2 2 0 00-2 2v4h10z",
|
|
916
926
|
strokeLinecap: "round",
|
|
917
927
|
strokeLinejoin: "round"
|
|
918
928
|
};
|
|
919
|
-
s(
|
|
929
|
+
s($e);
|
|
920
930
|
//#endregion
|
|
921
931
|
//#region src/components/icon/icons/qr-code.js
|
|
922
|
-
var
|
|
932
|
+
var et = {
|
|
923
933
|
name: "qr-code",
|
|
924
934
|
viewBox: "0 0 24 24",
|
|
925
935
|
path: "M4 3H9C10.1 3 11 3.9 11 5V10C11 11.1 10.1 12 9 12H4C2.9 12 2 11.1 2 10V5C2 3.9 2.9 3 4 3ZM4.75 4.5C4.34 4.5 4 4.84 4 5.25V9.75C4 10.16 4.34 10.5 4.75 10.5H8.25C8.66 10.5 9 10.16 9 9.75V5.25C9 4.84 8.66 4.5 8.25 4.5H4.75ZM15 3H20C21.1 3 22 3.9 22 5V10C22 11.1 21.1 12 20 12H15C13.9 12 13 11.1 13 10V5C13 3.9 13.9 3 15 3ZM15.75 4.5C15.34 4.5 15 4.84 15 5.25V9.75C15 10.16 15.34 10.5 15.75 10.5H19.25C19.66 10.5 20 10.16 20 9.75V5.25C20 4.84 19.66 4.5 19.25 4.5H15.75ZM4 13H9C10.1 13 11 13.9 11 15V20C11 21.1 10.1 22 9 22H4C2.9 22 2 21.1 2 20V15C2 13.9 2.9 13 4 13ZM4.75 14.5C4.34 14.5 4 14.84 4 15.25V19.75C4 20.16 4.34 20.5 4.75 20.5H8.25C8.66 20.5 9 20.16 9 19.75V15.25C9 14.84 8.66 14.5 8.25 14.5H4.75ZM13 13H16V16H19V19H16V22H13V19H16V16H13V13Z",
|
|
926
936
|
strokeLinecap: "round",
|
|
927
937
|
strokeLinejoin: "round"
|
|
928
938
|
};
|
|
929
|
-
s(
|
|
939
|
+
s(et);
|
|
930
940
|
//#endregion
|
|
931
941
|
//#region src/components/icon/icons/refresh.js
|
|
932
|
-
var
|
|
942
|
+
var tt = {
|
|
933
943
|
name: "refresh",
|
|
934
944
|
viewBox: "0 0 24 24",
|
|
935
945
|
path: "M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15",
|
|
936
946
|
strokeLinecap: "round",
|
|
937
947
|
strokeLinejoin: "round"
|
|
938
948
|
};
|
|
939
|
-
s(
|
|
949
|
+
s(tt);
|
|
940
950
|
//#endregion
|
|
941
951
|
//#region src/components/icon/icons/remove.js
|
|
942
|
-
var
|
|
952
|
+
var nt = {
|
|
943
953
|
name: "remove",
|
|
944
954
|
viewBox: "0 0 24 24",
|
|
945
955
|
path: "M20 12H4",
|
|
946
956
|
strokeLinecap: "round",
|
|
947
957
|
strokeLinejoin: "round"
|
|
948
958
|
};
|
|
949
|
-
s(
|
|
959
|
+
s(nt);
|
|
950
960
|
//#endregion
|
|
951
961
|
//#region src/components/icon/icons/save.js
|
|
952
|
-
var
|
|
962
|
+
var rt = {
|
|
953
963
|
name: "save",
|
|
954
964
|
viewBox: "0 0 24 24",
|
|
955
965
|
path: "M8 7H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-3m-1 4l-3 3m0 0l-3-3m3 3V4",
|
|
956
966
|
strokeLinecap: "round",
|
|
957
967
|
strokeLinejoin: "round"
|
|
958
968
|
};
|
|
959
|
-
s(
|
|
969
|
+
s(rt);
|
|
960
970
|
//#endregion
|
|
961
971
|
//#region src/components/icon/icons/save-alt.js
|
|
962
|
-
var
|
|
972
|
+
var it = {
|
|
963
973
|
name: "save-alt",
|
|
964
974
|
viewBox: "0 0 24 24",
|
|
965
975
|
path: "M5 3h12l4 4v14H3V3h2zm2 0v6h10V3M7 21v-8h10v8",
|
|
966
976
|
strokeLinecap: "round",
|
|
967
977
|
strokeLinejoin: "round"
|
|
968
978
|
};
|
|
969
|
-
s(
|
|
979
|
+
s(it);
|
|
970
980
|
//#endregion
|
|
971
981
|
//#region src/components/icon/icons/search.js
|
|
972
|
-
var
|
|
982
|
+
var at = {
|
|
973
983
|
name: "search",
|
|
974
984
|
viewBox: "0 0 24 24",
|
|
975
985
|
path: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z",
|
|
976
986
|
strokeLinecap: "round",
|
|
977
987
|
strokeLinejoin: "round"
|
|
978
988
|
};
|
|
979
|
-
s(
|
|
989
|
+
s(at);
|
|
980
990
|
//#endregion
|
|
981
991
|
//#region src/components/icon/icons/settings.js
|
|
982
|
-
var
|
|
992
|
+
var ot = {
|
|
983
993
|
name: "settings",
|
|
984
994
|
viewBox: "0 0 24 24",
|
|
985
995
|
path: "M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z M15 12a3 3 0 11-6 0 3 3 0 016 0z",
|
|
986
996
|
strokeLinecap: "round",
|
|
987
997
|
strokeLinejoin: "round"
|
|
988
998
|
};
|
|
989
|
-
s(
|
|
999
|
+
s(ot);
|
|
990
1000
|
//#endregion
|
|
991
1001
|
//#region src/components/icon/icons/share.js
|
|
992
|
-
var
|
|
1002
|
+
var st = {
|
|
993
1003
|
name: "share",
|
|
994
1004
|
viewBox: "0 0 24 24",
|
|
995
1005
|
path: "M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 110-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 105.367-2.684 3 3 0 00-5.367 2.684zm0 9.316a3 3 0 105.368 2.684 3 3 0 00-5.368-2.684z",
|
|
996
1006
|
strokeLinecap: "round",
|
|
997
1007
|
strokeLinejoin: "round"
|
|
998
1008
|
};
|
|
999
|
-
s(
|
|
1009
|
+
s(st);
|
|
1000
1010
|
//#endregion
|
|
1001
1011
|
//#region src/components/icon/icons/sort.js
|
|
1002
|
-
var
|
|
1012
|
+
var ct = {
|
|
1003
1013
|
name: "sort",
|
|
1004
1014
|
viewBox: "0 0 24 24",
|
|
1005
1015
|
path: "M3 6h18M7 12h10m-7 6h4",
|
|
1006
1016
|
strokeLinecap: "round",
|
|
1007
1017
|
strokeLinejoin: "round"
|
|
1008
1018
|
};
|
|
1009
|
-
s(
|
|
1019
|
+
s(ct);
|
|
1010
1020
|
//#endregion
|
|
1011
1021
|
//#region src/components/icon/icons/sort-arrows.js
|
|
1012
|
-
var
|
|
1022
|
+
var lt = {
|
|
1013
1023
|
name: "sort-arrows",
|
|
1014
1024
|
viewBox: "0 0 24 24",
|
|
1015
1025
|
path: "M1 5l5-4m0 0l5 4m-5-4v22 M13 19l5 4m0 0l5-4m-5 4V1",
|
|
1016
1026
|
strokeLinecap: "round",
|
|
1017
1027
|
strokeLinejoin: "round"
|
|
1018
1028
|
};
|
|
1019
|
-
s(
|
|
1029
|
+
s(lt);
|
|
1020
1030
|
//#endregion
|
|
1021
1031
|
//#region src/components/icon/icons/star.js
|
|
1022
|
-
var
|
|
1032
|
+
var ut = {
|
|
1023
1033
|
name: "star",
|
|
1024
1034
|
viewBox: "0 0 24 24",
|
|
1025
1035
|
path: "M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z",
|
|
1026
1036
|
strokeLinecap: "round",
|
|
1027
1037
|
strokeLinejoin: "round"
|
|
1028
1038
|
};
|
|
1029
|
-
s(
|
|
1039
|
+
s(ut);
|
|
1030
1040
|
//#endregion
|
|
1031
1041
|
//#region src/components/icon/icons/success.js
|
|
1032
|
-
var
|
|
1042
|
+
var dt = {
|
|
1033
1043
|
name: "success",
|
|
1034
1044
|
viewBox: "0 0 24 24",
|
|
1035
1045
|
path: "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
1036
1046
|
strokeLinecap: "round",
|
|
1037
1047
|
strokeLinejoin: "round"
|
|
1038
1048
|
};
|
|
1039
|
-
s(
|
|
1049
|
+
s(dt);
|
|
1040
1050
|
//#endregion
|
|
1041
1051
|
//#region src/components/icon/icons/sun.js
|
|
1042
|
-
var
|
|
1052
|
+
var ft = {
|
|
1043
1053
|
name: "sun",
|
|
1044
1054
|
viewBox: "0 0 24 24",
|
|
1045
1055
|
path: "M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z",
|
|
1046
1056
|
strokeLinecap: "round",
|
|
1047
1057
|
strokeLinejoin: "round"
|
|
1048
1058
|
};
|
|
1049
|
-
s(
|
|
1059
|
+
s(ft);
|
|
1050
1060
|
//#endregion
|
|
1051
1061
|
//#region src/components/icon/icons/table.js
|
|
1052
|
-
var
|
|
1062
|
+
var pt = {
|
|
1053
1063
|
name: "table",
|
|
1054
1064
|
viewBox: "0 0 24 24",
|
|
1055
1065
|
path: "M3 10h18M3 14h18m-9-4v8m-7 0h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z",
|
|
1056
1066
|
strokeLinecap: "round",
|
|
1057
1067
|
strokeLinejoin: "round"
|
|
1058
1068
|
};
|
|
1059
|
-
s(
|
|
1069
|
+
s(pt);
|
|
1060
1070
|
//#endregion
|
|
1061
1071
|
//#region src/components/icon/icons/tablet.js
|
|
1062
|
-
var
|
|
1072
|
+
var mt = {
|
|
1063
1073
|
name: "tablet",
|
|
1064
1074
|
viewBox: "0 0 24 24",
|
|
1065
1075
|
path: "M6 3h12a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Zm5 15h2",
|
|
1066
1076
|
strokeLinecap: "round",
|
|
1067
1077
|
strokeLinejoin: "round"
|
|
1068
1078
|
};
|
|
1069
|
-
s(
|
|
1079
|
+
s(mt);
|
|
1070
1080
|
//#endregion
|
|
1071
1081
|
//#region src/components/icon/icons/tag.js
|
|
1072
|
-
var
|
|
1082
|
+
var ht = {
|
|
1073
1083
|
name: "tag",
|
|
1074
1084
|
viewBox: "0 0 24 24",
|
|
1075
1085
|
path: "M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z",
|
|
1076
1086
|
strokeLinecap: "round",
|
|
1077
1087
|
strokeLinejoin: "round"
|
|
1078
1088
|
};
|
|
1079
|
-
s(
|
|
1089
|
+
s(ht);
|
|
1080
1090
|
//#endregion
|
|
1081
1091
|
//#region src/components/icon/icons/trash.js
|
|
1082
|
-
var
|
|
1092
|
+
var gt = {
|
|
1083
1093
|
name: "trash",
|
|
1084
1094
|
viewBox: "0 0 24 24",
|
|
1085
1095
|
path: "M3 6h18m-2 0v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2",
|
|
1086
1096
|
strokeLinecap: "round",
|
|
1087
1097
|
strokeLinejoin: "round"
|
|
1088
1098
|
};
|
|
1089
|
-
s(
|
|
1099
|
+
s(gt);
|
|
1090
1100
|
//#endregion
|
|
1091
1101
|
//#region src/components/icon/icons/unlock.js
|
|
1092
|
-
var
|
|
1102
|
+
var _t = {
|
|
1093
1103
|
name: "unlock",
|
|
1094
1104
|
viewBox: "0 0 24 24",
|
|
1095
1105
|
path: "M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z",
|
|
1096
1106
|
strokeLinecap: "round",
|
|
1097
1107
|
strokeLinejoin: "round"
|
|
1098
1108
|
};
|
|
1099
|
-
s(
|
|
1109
|
+
s(_t);
|
|
1100
1110
|
//#endregion
|
|
1101
1111
|
//#region src/components/icon/icons/upload.js
|
|
1102
|
-
var
|
|
1112
|
+
var vt = {
|
|
1103
1113
|
name: "upload",
|
|
1104
1114
|
viewBox: "0 0 24 24",
|
|
1105
1115
|
path: "M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12",
|
|
1106
1116
|
strokeLinecap: "round",
|
|
1107
1117
|
strokeLinejoin: "round"
|
|
1108
1118
|
};
|
|
1109
|
-
s(
|
|
1119
|
+
s(vt);
|
|
1110
1120
|
//#endregion
|
|
1111
1121
|
//#region src/components/icon/icons/user.js
|
|
1112
|
-
var
|
|
1122
|
+
var yt = {
|
|
1113
1123
|
name: "user",
|
|
1114
1124
|
viewBox: "0 0 24 24",
|
|
1115
1125
|
path: "M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z",
|
|
1116
1126
|
strokeLinecap: "round",
|
|
1117
1127
|
strokeLinejoin: "round"
|
|
1118
1128
|
};
|
|
1119
|
-
s(
|
|
1129
|
+
s(yt);
|
|
1120
1130
|
//#endregion
|
|
1121
1131
|
//#region src/components/icon/icons/user-add.js
|
|
1122
|
-
var
|
|
1132
|
+
var bt = {
|
|
1123
1133
|
name: "user-add",
|
|
1124
1134
|
viewBox: "0 0 24 24",
|
|
1125
1135
|
path: "M18 9v3m0 0v3m0-3h3m-3 0h-3m-2-5a4 4 0 11-8 0 4 4 0 018 0zM3 20a6 6 0 0112 0v1H3v-1z",
|
|
1126
1136
|
strokeLinecap: "round",
|
|
1127
1137
|
strokeLinejoin: "round"
|
|
1128
1138
|
};
|
|
1129
|
-
s(
|
|
1139
|
+
s(bt);
|
|
1130
1140
|
//#endregion
|
|
1131
1141
|
//#region src/components/icon/icons/users.js
|
|
1132
|
-
var
|
|
1142
|
+
var xt = {
|
|
1133
1143
|
name: "users",
|
|
1134
1144
|
viewBox: "0 0 24 24",
|
|
1135
1145
|
path: "M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z",
|
|
1136
1146
|
strokeLinecap: "round",
|
|
1137
1147
|
strokeLinejoin: "round"
|
|
1138
1148
|
};
|
|
1139
|
-
s(
|
|
1149
|
+
s(xt);
|
|
1140
1150
|
//#endregion
|
|
1141
1151
|
//#region src/components/icon/icons/video.js
|
|
1142
|
-
var
|
|
1152
|
+
var St = {
|
|
1143
1153
|
name: "video",
|
|
1144
1154
|
viewBox: "0 0 24 24",
|
|
1145
1155
|
path: "M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z",
|
|
1146
1156
|
strokeLinecap: "round",
|
|
1147
1157
|
strokeLinejoin: "round"
|
|
1148
1158
|
};
|
|
1149
|
-
s(
|
|
1159
|
+
s(St);
|
|
1150
1160
|
//#endregion
|
|
1151
1161
|
//#region src/components/icon/icons/warning.js
|
|
1152
|
-
var
|
|
1162
|
+
var Ct = {
|
|
1153
1163
|
name: "warning",
|
|
1154
1164
|
viewBox: "0 0 24 24",
|
|
1155
1165
|
path: "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z",
|
|
1156
1166
|
strokeLinecap: "round",
|
|
1157
1167
|
strokeLinejoin: "round"
|
|
1158
1168
|
};
|
|
1159
|
-
s(
|
|
1169
|
+
s(Ct);
|
|
1160
1170
|
//#endregion
|
|
1161
1171
|
//#region src/components/icon/icons/shopping-cart.js
|
|
1162
|
-
var
|
|
1172
|
+
var wt = {
|
|
1163
1173
|
name: "shopping-cart",
|
|
1164
1174
|
viewBox: "0 0 24 24",
|
|
1165
1175
|
path: "M3 4h2l2.2 11h10.9l2-7H6m3.2 7-.9 3h10.2M9 21h.01M17 21h.01",
|
|
@@ -1167,10 +1177,10 @@ var Ct = {
|
|
|
1167
1177
|
strokeLinejoin: "round",
|
|
1168
1178
|
strokeWidth: "1.8"
|
|
1169
1179
|
};
|
|
1170
|
-
s(
|
|
1180
|
+
s(wt);
|
|
1171
1181
|
//#endregion
|
|
1172
1182
|
//#region src/components/icon/icons/package.js
|
|
1173
|
-
var
|
|
1183
|
+
var Tt = {
|
|
1174
1184
|
name: "package",
|
|
1175
1185
|
viewBox: "0 0 24 24",
|
|
1176
1186
|
path: "M3 7l9-4 9 4-9 4-9-4zm0 0v10l9 4 9-4V7M12 11v10M7.5 5l9 4",
|
|
@@ -1178,10 +1188,10 @@ var wt = {
|
|
|
1178
1188
|
strokeLinejoin: "round",
|
|
1179
1189
|
strokeWidth: "1.8"
|
|
1180
1190
|
};
|
|
1181
|
-
s(
|
|
1191
|
+
s(Tt);
|
|
1182
1192
|
//#endregion
|
|
1183
1193
|
//#region src/components/icon/icons/storefront.js
|
|
1184
|
-
var
|
|
1194
|
+
var Et = {
|
|
1185
1195
|
name: "storefront",
|
|
1186
1196
|
viewBox: "0 0 24 24",
|
|
1187
1197
|
path: "M3 10l2-6h14l2 6M4 10v10h16V10M3 10a3 3 0 006 0 3 3 0 006 0 3 3 0 006 0M10 15v5m4-5v5",
|
|
@@ -1189,10 +1199,10 @@ var Tt = {
|
|
|
1189
1199
|
strokeLinejoin: "round",
|
|
1190
1200
|
strokeWidth: "1.8"
|
|
1191
1201
|
};
|
|
1192
|
-
s(
|
|
1202
|
+
s(Et);
|
|
1193
1203
|
//#endregion
|
|
1194
1204
|
//#region src/components/icon/icons/receipt.js
|
|
1195
|
-
var
|
|
1205
|
+
var Dt = {
|
|
1196
1206
|
name: "receipt",
|
|
1197
1207
|
viewBox: "0 0 24 24",
|
|
1198
1208
|
path: "M6 3l2 1.5L10 3l2 1.5L14 3l2 1.5L18 3v18l-2-1.5-2 1.5-2-1.5-2 1.5-2-1.5L6 21V3zm3 6h6m-6 4h6m-6 4h3",
|
|
@@ -1200,10 +1210,10 @@ var Et = {
|
|
|
1200
1210
|
strokeLinejoin: "round",
|
|
1201
1211
|
strokeWidth: "1.8"
|
|
1202
1212
|
};
|
|
1203
|
-
s(
|
|
1213
|
+
s(Dt);
|
|
1204
1214
|
//#endregion
|
|
1205
1215
|
//#region src/components/icon/icons/coupon.js
|
|
1206
|
-
var
|
|
1216
|
+
var Ot = {
|
|
1207
1217
|
name: "coupon",
|
|
1208
1218
|
viewBox: "0 0 24 24",
|
|
1209
1219
|
path: "M4 5h16v4a3 3 0 000 6v4H4v-4a3 3 0 000-6V5zm8 1v2m0 2v2m0 2v2",
|
|
@@ -1211,10 +1221,10 @@ var Dt = {
|
|
|
1211
1221
|
strokeLinejoin: "round",
|
|
1212
1222
|
strokeWidth: "1.8"
|
|
1213
1223
|
};
|
|
1214
|
-
s(
|
|
1224
|
+
s(Ot);
|
|
1215
1225
|
//#endregion
|
|
1216
1226
|
//#region src/components/icon/icons/heart.js
|
|
1217
|
-
var
|
|
1227
|
+
var kt = {
|
|
1218
1228
|
name: "heart",
|
|
1219
1229
|
viewBox: "0 0 24 24",
|
|
1220
1230
|
path: "M20.8 8.8c0 5.2-8.8 11-8.8 11s-8.8-5.8-8.8-11a4.8 4.8 0 018.8-2.6 4.8 4.8 0 018.8 2.6z",
|
|
@@ -1222,10 +1232,10 @@ var Ot = {
|
|
|
1222
1232
|
strokeLinejoin: "round",
|
|
1223
1233
|
strokeWidth: "1.8"
|
|
1224
1234
|
};
|
|
1225
|
-
s(
|
|
1235
|
+
s(kt);
|
|
1226
1236
|
//#endregion
|
|
1227
1237
|
//#region src/components/icon/icons/return.js
|
|
1228
|
-
var
|
|
1238
|
+
var At = {
|
|
1229
1239
|
name: "return",
|
|
1230
1240
|
viewBox: "0 0 24 24",
|
|
1231
1241
|
path: "M9 14l-5-5 5-5M4 9h10a6 6 0 010 12h-3",
|
|
@@ -1233,7 +1243,7 @@ var kt = {
|
|
|
1233
1243
|
strokeLinejoin: "round",
|
|
1234
1244
|
strokeWidth: "1.8"
|
|
1235
1245
|
};
|
|
1236
|
-
s(
|
|
1246
|
+
s(At), s({
|
|
1237
1247
|
name: "undo",
|
|
1238
1248
|
viewBox: "0 0 24 24",
|
|
1239
1249
|
path: "M9 14 4 9l5-5M4 9h10a6 6 0 0 1 0 12h-2",
|
|
@@ -1248,7 +1258,7 @@ s(kt), s({
|
|
|
1248
1258
|
});
|
|
1249
1259
|
//#endregion
|
|
1250
1260
|
//#region src/components/icon/icons/shirt.js
|
|
1251
|
-
var
|
|
1261
|
+
var jt = {
|
|
1252
1262
|
name: "shirt",
|
|
1253
1263
|
viewBox: "0 0 24 24",
|
|
1254
1264
|
path: "M8 4l4 2 4-2 5 3-2 4-3-1v10H8V10l-3 1-2-4 5-3z M8 4c0 2 1.8 3.5 4 3.5S16 6 16 4",
|
|
@@ -1256,10 +1266,10 @@ var At = {
|
|
|
1256
1266
|
strokeLinejoin: "round",
|
|
1257
1267
|
strokeWidth: "1.8"
|
|
1258
1268
|
};
|
|
1259
|
-
s(
|
|
1269
|
+
s(jt);
|
|
1260
1270
|
//#endregion
|
|
1261
1271
|
//#region src/components/icon/icons/jacket.js
|
|
1262
|
-
var
|
|
1272
|
+
var Mt = {
|
|
1263
1273
|
name: "jacket",
|
|
1264
1274
|
viewBox: "0 0 24 24",
|
|
1265
1275
|
path: "M8 4l4 2 4-2 4 3-2 14h-5V11l-1 2-1-2v10H6L4 7l4-3z M8 4c0 2 1.8 3.5 4 3.5S16 6 16 4 M12 8v3",
|
|
@@ -1267,10 +1277,10 @@ var jt = {
|
|
|
1267
1277
|
strokeLinejoin: "round",
|
|
1268
1278
|
strokeWidth: "1.8"
|
|
1269
1279
|
};
|
|
1270
|
-
s(
|
|
1280
|
+
s(Mt);
|
|
1271
1281
|
//#endregion
|
|
1272
1282
|
//#region src/components/icon/icons/dress.js
|
|
1273
|
-
var
|
|
1283
|
+
var Nt = {
|
|
1274
1284
|
name: "dress",
|
|
1275
1285
|
viewBox: "0 0 24 24",
|
|
1276
1286
|
path: "M9 4a3 3 0 006 0l2 2-2 4 5 10H4l5-10-2-4 2-2z M9 10h6",
|
|
@@ -1278,10 +1288,10 @@ var Mt = {
|
|
|
1278
1288
|
strokeLinejoin: "round",
|
|
1279
1289
|
strokeWidth: "1.8"
|
|
1280
1290
|
};
|
|
1281
|
-
s(
|
|
1291
|
+
s(Nt);
|
|
1282
1292
|
//#endregion
|
|
1283
1293
|
//#region src/components/icon/icons/shoe.js
|
|
1284
|
-
var
|
|
1294
|
+
var Pt = {
|
|
1285
1295
|
name: "shoe",
|
|
1286
1296
|
viewBox: "0 0 24 24",
|
|
1287
1297
|
path: "M3 15l4-1 4-7 3 2-1 3 4 2 4 1v4H3v-4z M11 10l2 1 M9 12l2 1 M7 14l2 1",
|
|
@@ -1289,7 +1299,7 @@ var Nt = {
|
|
|
1289
1299
|
strokeLinejoin: "round",
|
|
1290
1300
|
strokeWidth: "1.8"
|
|
1291
1301
|
};
|
|
1292
|
-
s(
|
|
1302
|
+
s(Pt), s({
|
|
1293
1303
|
name: "grip-dots",
|
|
1294
1304
|
viewBox: "0 0 24 24",
|
|
1295
1305
|
path: "M12 12",
|
|
@@ -1297,7 +1307,7 @@ s(Nt), s({
|
|
|
1297
1307
|
});
|
|
1298
1308
|
//#endregion
|
|
1299
1309
|
//#region src/components/icon/icons/wallet.js
|
|
1300
|
-
var
|
|
1310
|
+
var Ft = {
|
|
1301
1311
|
name: "wallet",
|
|
1302
1312
|
viewBox: "0 0 24 24",
|
|
1303
1313
|
path: "M4 6.5A2.5 2.5 0 016.5 4H20v16H6a3 3 0 01-3-3V6.5A2.5 2.5 0 016 9h14m-4 4h.01",
|
|
@@ -1305,10 +1315,10 @@ var Pt = {
|
|
|
1305
1315
|
strokeLinejoin: "round",
|
|
1306
1316
|
strokeWidth: "1.8"
|
|
1307
1317
|
};
|
|
1308
|
-
s(
|
|
1318
|
+
s(Ft);
|
|
1309
1319
|
//#endregion
|
|
1310
1320
|
//#region src/components/icon/icons/gift.js
|
|
1311
|
-
var
|
|
1321
|
+
var It = {
|
|
1312
1322
|
name: "gift",
|
|
1313
1323
|
viewBox: "0 0 24 24",
|
|
1314
1324
|
path: "M3 9h18v12H3V9zm-1-3h20v3H2V6zm10 0v15m0-15C11 4.6 9.8 3 8 3a1.5 1.5 0 000 3m4 0c1-1.4 2.2-3 4-3a1.5 1.5 0 010 3",
|
|
@@ -1316,10 +1326,10 @@ var Ft = {
|
|
|
1316
1326
|
strokeLinejoin: "round",
|
|
1317
1327
|
strokeWidth: "1.8"
|
|
1318
1328
|
};
|
|
1319
|
-
s(
|
|
1329
|
+
s(It);
|
|
1320
1330
|
//#endregion
|
|
1321
1331
|
//#region src/components/icon/icons/support.js
|
|
1322
|
-
var
|
|
1332
|
+
var Lt = {
|
|
1323
1333
|
name: "support",
|
|
1324
1334
|
viewBox: "0 0 24 24",
|
|
1325
1335
|
path: "M4 13v-2a8 8 0 0116 0v2m-16 0h3v6H6a2 2 0 01-2-2v-2a2 2 0 012-2zm16 0h-3v6h1a2 2 0 002-2v-2a2 2 0 00-2-2zm-3 8h-4",
|
|
@@ -1327,10 +1337,10 @@ var It = {
|
|
|
1327
1337
|
strokeLinejoin: "round",
|
|
1328
1338
|
strokeWidth: "1.8"
|
|
1329
1339
|
};
|
|
1330
|
-
s(
|
|
1340
|
+
s(Lt);
|
|
1331
1341
|
//#endregion
|
|
1332
1342
|
//#region src/components/icon/icons/shopping-bag.js
|
|
1333
|
-
var
|
|
1343
|
+
var Rt = {
|
|
1334
1344
|
name: "shopping-bag",
|
|
1335
1345
|
viewBox: "0 0 24 24",
|
|
1336
1346
|
path: "M5 8h14l1 13H4L5 8zm4 0V6a3 3 0 016 0v2",
|
|
@@ -1338,10 +1348,10 @@ var Lt = {
|
|
|
1338
1348
|
strokeLinejoin: "round",
|
|
1339
1349
|
strokeWidth: "1.8"
|
|
1340
1350
|
};
|
|
1341
|
-
s(
|
|
1351
|
+
s(Rt);
|
|
1342
1352
|
//#endregion
|
|
1343
1353
|
//#region src/components/icon/icons/warehouse.js
|
|
1344
|
-
var
|
|
1354
|
+
var zt = {
|
|
1345
1355
|
name: "warehouse",
|
|
1346
1356
|
viewBox: "0 0 24 24",
|
|
1347
1357
|
path: "M3 10l9-6 9 6v10H3V10zm4 10v-7h10v7m-7-7v7m4-7v7",
|
|
@@ -1349,10 +1359,10 @@ var Rt = {
|
|
|
1349
1359
|
strokeLinejoin: "round",
|
|
1350
1360
|
strokeWidth: "1.8"
|
|
1351
1361
|
};
|
|
1352
|
-
s(
|
|
1362
|
+
s(zt);
|
|
1353
1363
|
//#endregion
|
|
1354
1364
|
//#region src/components/icon/icons/delivery-location.js
|
|
1355
|
-
var
|
|
1365
|
+
var Bt = {
|
|
1356
1366
|
name: "delivery-location",
|
|
1357
1367
|
viewBox: "0 0 24 24",
|
|
1358
1368
|
path: "M12 21s7-6.2 7-12a7 7 0 10-14 0c0 5.8 7 12 7 12zm0-9a3 3 0 110-6 3 3 0 010 6zm-9 9h18",
|
|
@@ -1360,10 +1370,10 @@ var zt = {
|
|
|
1360
1370
|
strokeLinejoin: "round",
|
|
1361
1371
|
strokeWidth: "1.8"
|
|
1362
1372
|
};
|
|
1363
|
-
s(
|
|
1373
|
+
s(Bt);
|
|
1364
1374
|
//#endregion
|
|
1365
1375
|
//#region src/components/icon/icons/order-tracking.js
|
|
1366
|
-
var
|
|
1376
|
+
var Vt = {
|
|
1367
1377
|
name: "order-tracking",
|
|
1368
1378
|
viewBox: "0 0 24 24",
|
|
1369
1379
|
path: "M2.5 6.5H14v11H2.5v-11zm11.5 2.5h4l3.5 4v4.5H14V9zm-7 9a2 2 0 100 4 2 2 0 000-4zm9 0a2 2 0 100 4 2 2 0 000-4zM5 10h7m-7 3h5",
|
|
@@ -1372,10 +1382,10 @@ var Bt = {
|
|
|
1372
1382
|
strokeLinejoin: "round",
|
|
1373
1383
|
strokeWidth: "1.8"
|
|
1374
1384
|
};
|
|
1375
|
-
s(
|
|
1385
|
+
s(Vt);
|
|
1376
1386
|
//#endregion
|
|
1377
1387
|
//#region src/components/icon/icons/cash.js
|
|
1378
|
-
var
|
|
1388
|
+
var Ht = {
|
|
1379
1389
|
name: "cash",
|
|
1380
1390
|
viewBox: "0 0 24 24",
|
|
1381
1391
|
path: "M3 6h18v12H3V6zm4 3h.01M17 9h.01M7 15h.01M17 15h.01M12 15a3 3 0 100-6 3 3 0 000 6z",
|
|
@@ -1383,10 +1393,10 @@ var Vt = {
|
|
|
1383
1393
|
strokeLinejoin: "round",
|
|
1384
1394
|
strokeWidth: "1.8"
|
|
1385
1395
|
};
|
|
1386
|
-
s(
|
|
1396
|
+
s(Ht);
|
|
1387
1397
|
//#endregion
|
|
1388
1398
|
//#region src/components/icon/icons/installments.js
|
|
1389
|
-
var
|
|
1399
|
+
var Ut = {
|
|
1390
1400
|
name: "installments",
|
|
1391
1401
|
viewBox: "0 0 24 24",
|
|
1392
1402
|
path: "M4 4h16v16H4V4zm0 4h16m-12 4h2m4 0h2m-8 4h2m4 0h2",
|
|
@@ -1394,10 +1404,10 @@ var Ht = {
|
|
|
1394
1404
|
strokeLinejoin: "round",
|
|
1395
1405
|
strokeWidth: "1.8"
|
|
1396
1406
|
};
|
|
1397
|
-
s(
|
|
1407
|
+
s(Ut);
|
|
1398
1408
|
//#endregion
|
|
1399
1409
|
//#region src/components/icon/icons/invoice.js
|
|
1400
|
-
var
|
|
1410
|
+
var Wt = {
|
|
1401
1411
|
name: "invoice",
|
|
1402
1412
|
viewBox: "0 0 24 24",
|
|
1403
1413
|
path: "M6 3h12v18l-3-2-3 2-3-2-3 2V3zm3 5h6m-6 4h6m-6 4h3",
|
|
@@ -1405,10 +1415,10 @@ var Ut = {
|
|
|
1405
1415
|
strokeLinejoin: "round",
|
|
1406
1416
|
strokeWidth: "1.8"
|
|
1407
1417
|
};
|
|
1408
|
-
s(
|
|
1418
|
+
s(Wt);
|
|
1409
1419
|
//#endregion
|
|
1410
1420
|
//#region src/components/icon/icons/price-label.js
|
|
1411
|
-
var
|
|
1421
|
+
var Gt = {
|
|
1412
1422
|
name: "price-label",
|
|
1413
1423
|
viewBox: "0 0 24 24",
|
|
1414
1424
|
path: "M3 5h10l8 8-8 8-10-10V5zm5 5h.01",
|
|
@@ -1416,10 +1426,10 @@ var Wt = {
|
|
|
1416
1426
|
strokeLinejoin: "round",
|
|
1417
1427
|
strokeWidth: "1.8"
|
|
1418
1428
|
};
|
|
1419
|
-
s(
|
|
1429
|
+
s(Gt);
|
|
1420
1430
|
//#endregion
|
|
1421
1431
|
//#region src/components/icon/icons/sale-burst.js
|
|
1422
|
-
var
|
|
1432
|
+
var Kt = {
|
|
1423
1433
|
name: "sale-burst",
|
|
1424
1434
|
viewBox: "0 0 24 24",
|
|
1425
1435
|
path: "M12 1.5l1.63 2.31 2.39-1.51.62 2.76 2.78-.48-.48 2.78 2.76.62-1.51 2.39L22.5 12l-2.31 1.63 1.51 2.39-2.76.62.48 2.78-2.78-.48-.62 2.76-2.39-1.51L12 22.5l-1.63-2.31-2.39 1.51-.62-2.76-2.78.48.48-2.78-2.76-.62 1.51-2.39L1.5 12l2.31-1.63L2.3 7.98l2.76-.62-.48-2.78 2.78.48.62-2.76 2.39 1.51L12 1.5zm-3 6.2a1.7 1.7 0 100 3.4 1.7 1.7 0 000-3.4zm6 5.2a1.7 1.7 0 100 3.4 1.7 1.7 0 000-3.4M8 16l8-8",
|
|
@@ -1427,10 +1437,10 @@ var Gt = {
|
|
|
1427
1437
|
strokeLinejoin: "miter",
|
|
1428
1438
|
strokeWidth: "1.8"
|
|
1429
1439
|
};
|
|
1430
|
-
s(
|
|
1440
|
+
s(Kt);
|
|
1431
1441
|
//#endregion
|
|
1432
1442
|
//#region src/components/icon/icons/percent-discount.js
|
|
1433
|
-
var
|
|
1443
|
+
var qt = {
|
|
1434
1444
|
name: "percent-discount",
|
|
1435
1445
|
viewBox: "0 0 24 24",
|
|
1436
1446
|
path: "M19 5L5 19M7 8a2 2 0 110-4 2 2 0 010 4zm10 12a2 2 0 110-4 2 2 0 010 4z",
|
|
@@ -1438,10 +1448,10 @@ var Kt = {
|
|
|
1438
1448
|
strokeLinejoin: "round",
|
|
1439
1449
|
strokeWidth: "1.8"
|
|
1440
1450
|
};
|
|
1441
|
-
s(
|
|
1451
|
+
s(qt);
|
|
1442
1452
|
//#endregion
|
|
1443
1453
|
//#region src/components/icon/icons/product-review.js
|
|
1444
|
-
var
|
|
1454
|
+
var Jt = {
|
|
1445
1455
|
name: "product-review",
|
|
1446
1456
|
viewBox: "0 0 24 24",
|
|
1447
1457
|
path: "M12 3l2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9L12 3z",
|
|
@@ -1449,17 +1459,17 @@ var qt = {
|
|
|
1449
1459
|
strokeLinejoin: "round",
|
|
1450
1460
|
strokeWidth: "1.8"
|
|
1451
1461
|
};
|
|
1452
|
-
s(
|
|
1453
|
-
var
|
|
1462
|
+
s(Jt);
|
|
1463
|
+
var Yt = {
|
|
1454
1464
|
name: "products",
|
|
1455
1465
|
viewBox: "0 0 24 24",
|
|
1456
1466
|
path: "M8 7h3l7 7-9 9-7-7v-5a4 4 0 014-4z",
|
|
1457
1467
|
customSvg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <defs>\n <mask id=\"products-front-tag-mask\" maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"24\" height=\"24\">\n <rect width=\"24\" height=\"24\" fill=\"white\" />\n <path d=\"M8 7h3l7 7-9 9-7-7v-5a4 4 0 014-4z\" fill=\"black\" stroke=\"none\" />\n </mask>\n </defs>\n <path d=\"M12 2h3l7 7-9 9-8-8V6a4 4 0 014-4z\" mask=\"url(#products-front-tag-mask)\" />\n <path d=\"M8 7h3l7 7-9 9-7-7v-5a4 4 0 014-4z\" />\n <circle cx=\"7.5\" cy=\"11.5\" r=\"0.7\" />\n</svg>"
|
|
1458
1468
|
};
|
|
1459
|
-
s(
|
|
1469
|
+
s(Yt);
|
|
1460
1470
|
//#endregion
|
|
1461
1471
|
//#region src/components/icon/icons/loyalty-points.js
|
|
1462
|
-
var
|
|
1472
|
+
var Xt = {
|
|
1463
1473
|
name: "loyalty-points",
|
|
1464
1474
|
viewBox: "0 0 24 24",
|
|
1465
1475
|
path: "M12 3l2.4 4.8 5.3.8-3.8 3.7.9 5.2-4.8-2.5-4.8 2.5.9-5.2-3.8-3.7 5.3-.8L12 3zm-3 13v5l3-1.7 3 1.7v-5",
|
|
@@ -1467,10 +1477,10 @@ var Yt = {
|
|
|
1467
1477
|
strokeLinejoin: "round",
|
|
1468
1478
|
strokeWidth: "1.8"
|
|
1469
1479
|
};
|
|
1470
|
-
s(
|
|
1480
|
+
s(Xt);
|
|
1471
1481
|
//#endregion
|
|
1472
1482
|
//#region src/components/icon/icons/membership.js
|
|
1473
|
-
var
|
|
1483
|
+
var Zt = {
|
|
1474
1484
|
name: "membership",
|
|
1475
1485
|
viewBox: "0 0 24 24",
|
|
1476
1486
|
path: "M5 3.5h14a2 2 0 012 2v13a2 2 0 01-2 2H5a2 2 0 01-2-2v-13a2 2 0 012-2zm-2 4h12m2-4v6l1.5-1.2L20 9.5v-6M8.5 11.5a1.3 1.3 0 100 2.6 1.3 1.3 0 000-2.6zm-2.3 5.1c.5-.9 1.3-1.3 2.3-1.3s1.8.4 2.3 1.3M13.5 12.5h4.5m-4.5 3h4.5",
|
|
@@ -1478,10 +1488,10 @@ var Xt = {
|
|
|
1478
1488
|
strokeLinejoin: "round",
|
|
1479
1489
|
strokeWidth: "1.8"
|
|
1480
1490
|
};
|
|
1481
|
-
s(
|
|
1491
|
+
s(Zt);
|
|
1482
1492
|
//#endregion
|
|
1483
1493
|
//#region src/components/icon/icons/inventory.js
|
|
1484
|
-
var
|
|
1494
|
+
var Qt = {
|
|
1485
1495
|
name: "inventory",
|
|
1486
1496
|
viewBox: "0 0 24 24",
|
|
1487
1497
|
path: "M8 4h8a2 2 0 012 2v1h2v14H4V7h2V6a2 2 0 012-2zm1 0V3h6v1M8 11h8m-8 4h8",
|
|
@@ -1489,10 +1499,10 @@ var Zt = {
|
|
|
1489
1499
|
strokeLinejoin: "round",
|
|
1490
1500
|
strokeWidth: "1.8"
|
|
1491
1501
|
};
|
|
1492
|
-
s(
|
|
1502
|
+
s(Qt);
|
|
1493
1503
|
//#endregion
|
|
1494
1504
|
//#region src/components/icon/icons/out-of-stock.js
|
|
1495
|
-
var
|
|
1505
|
+
var $t = {
|
|
1496
1506
|
name: "out-of-stock",
|
|
1497
1507
|
viewBox: "0 0 24 24",
|
|
1498
1508
|
path: "M4 5h16v14H4V5zm3 3l10 8m0-8L7 16m-3 5h16",
|
|
@@ -1500,10 +1510,10 @@ var Qt = {
|
|
|
1500
1510
|
strokeLinejoin: "round",
|
|
1501
1511
|
strokeWidth: "1.8"
|
|
1502
1512
|
};
|
|
1503
|
-
s(
|
|
1513
|
+
s($t);
|
|
1504
1514
|
//#endregion
|
|
1505
1515
|
//#region src/components/icon/icons/pickup.js
|
|
1506
|
-
var
|
|
1516
|
+
var en = {
|
|
1507
1517
|
name: "pickup",
|
|
1508
1518
|
viewBox: "0 0 24 24",
|
|
1509
1519
|
path: "M5.5 2.8a1.6 1.6 0 100 3.2 1.6 1.6 0 000-3.2zm-.8 5.1-1 5.8 2.2 1.7 2.5 5.1m-4.7-6.8L2.5 20m2.2-12.1 3.8 2.8 3.2.1m-.2-5.1l4.5-2 4.5 2-4.5 2-4.5-2zm0 0v5l4.5 2 4.5-2v-5m-4.5 1v6.5",
|
|
@@ -1511,10 +1521,10 @@ var $t = {
|
|
|
1511
1521
|
strokeLinejoin: "round",
|
|
1512
1522
|
strokeWidth: "1.8"
|
|
1513
1523
|
};
|
|
1514
|
-
s(
|
|
1524
|
+
s(en);
|
|
1515
1525
|
//#endregion
|
|
1516
1526
|
//#region src/components/icon/icons/secure-checkout.js
|
|
1517
|
-
var
|
|
1527
|
+
var tn = {
|
|
1518
1528
|
name: "secure-checkout",
|
|
1519
1529
|
viewBox: "0 0 24 24",
|
|
1520
1530
|
path: "M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6l7-3zm-3 9l2 2 4-4",
|
|
@@ -1522,10 +1532,10 @@ var en = {
|
|
|
1522
1532
|
strokeLinejoin: "round",
|
|
1523
1533
|
strokeWidth: "1.8"
|
|
1524
1534
|
};
|
|
1525
|
-
s(
|
|
1535
|
+
s(tn);
|
|
1526
1536
|
//#endregion
|
|
1527
1537
|
//#region src/components/icon/icons/refund.js
|
|
1528
|
-
var
|
|
1538
|
+
var nn = {
|
|
1529
1539
|
name: "refund",
|
|
1530
1540
|
viewBox: "0 0 24 24",
|
|
1531
1541
|
path: "M14 3.5a8.5 8.5 0 110 17 8.5 8.5 0 010-17zm0 2.5v12m2.7-9.3c-.5-1-1.5-1.5-2.7-1.5-1.5 0-2.5.8-2.5 1.9 0 2.5 5 1.2 5 3.8 0 1.2-1 2-2.5 2-1.2 0-2.2-.5-2.8-1.5M6.5 7H2.5m0 0l2-2M2.5 7l2 2",
|
|
@@ -1533,7 +1543,7 @@ var tn = {
|
|
|
1533
1543
|
strokeLinejoin: "round",
|
|
1534
1544
|
strokeWidth: "1.5"
|
|
1535
1545
|
};
|
|
1536
|
-
s(
|
|
1546
|
+
s(nn), s({
|
|
1537
1547
|
name: "ruler",
|
|
1538
1548
|
viewBox: "0 0 24 24",
|
|
1539
1549
|
path: "M3 7.5 7.5 3l13.5 13.5-4.5 4.5L3 7.5ZM6 6l2.5-2.5M8.5 8.5 10 7m1.5 4.5L13 10m1.5 4.5L16 13m1.5 4.5L19 16",
|
|
@@ -1675,10 +1685,10 @@ s(tn), s({
|
|
|
1675
1685
|
path: "M14 4h6v6m0-6-9 9M18 13v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h5",
|
|
1676
1686
|
strokeLinecap: "round",
|
|
1677
1687
|
strokeLinejoin: "round"
|
|
1678
|
-
}), s(u), s(d), s(f), s(p), s(m), s(h), s(g), s(_), s(v), s(y), s(b), s(x), s(S), s(C), s(w), s(T), s(E), s(D), s(O), s(k), s(A), s(j), s(ee), s(te), s(ne), s(re), s(ie), s(ae), s(oe), s(se), s(ce), s(le), s(ue), s(de), s(fe), s(pe), s(me), s(he), s(ge), s(_e), s(ve), s(ye), s(be), s(xe), s(Se), s(Ce), s(we), s(Te), s(Ee), s(De), s(Oe), s(ke), s(Ae), s(je), s(Me), s(Ne), s(Pe), s(Fe), s(Ie), s(Le), s(Re), s(ze), s(Be), s(Ve), s(He), s(Ue), s(We), s(Ge), s(Ke), s(qe), s(Je), s(Ye), s(Xe), s(Ze), s(Qe), s($e), s(et), s(tt), s(nt), s(rt), s(it), s(at), s(ot), s(st), s(ct), s(lt), s(ut), s(dt), s(ft), s(pt), s(mt), s(ht), s(gt), s(_t), s(vt), s(yt), s(bt), s(xt), s(St), s(Ct), s(wt), s(Tt), s(Et), s(Dt), s(Ot), s(kt), s(At), s(jt), s(Mt), s(Nt), s(Pt), s(Ft), s(It), s(Lt), s(Rt), s(zt), s(Bt), s(Vt), s(Ht), s(Ut), s(Wt), s(Gt), s(Kt), s(qt), s(Jt), s(Yt), s(Xt), s(Zt), s(Qt), s($t), s(en), s(tn);
|
|
1688
|
+
}), s(u), s(d), s(f), s(p), s(m), s(h), s(g), s(_), s(v), s(y), s(b), s(x), s(S), s(C), s(w), s(T), s(E), s(D), s(O), s(k), s(A), s(j), s(ee), s(te), s(ne), s(re), s(ie), s(ae), s(oe), s(se), s(ce), s(le), s(ue), s(de), s(fe), s(pe), s(me), s(he), s(ge), s(_e), s(ve), s(ye), s(be), s(xe), s(Se), s(Ce), s(we), s(Te), s(Ee), s(De), s(Oe), s(ke), s(Ae), s(je), s(Me), s(Ne), s(Pe), s(Fe), s(Ie), s(Le), s(Re), s(ze), s(Be), s(Ve), s(He), s(Ue), s(We), s(Ge), s(Ke), s(qe), s(Je), s(Ye), s(Xe), s(Ze), s(Qe), s($e), s(et), s(tt), s(nt), s(rt), s(it), s(at), s(ot), s(st), s(ct), s(lt), s(ut), s(dt), s(ft), s(pt), s(mt), s(ht), s(gt), s(_t), s(vt), s(yt), s(bt), s(xt), s(St), s(Ct), s(wt), s(Tt), s(Et), s(Dt), s(Ot), s(kt), s(At), s(jt), s(Mt), s(Nt), s(Pt), s(Ft), s(It), s(Lt), s(Rt), s(zt), s(Bt), s(Vt), s(Ht), s(Ut), s(Wt), s(Gt), s(Kt), s(qt), s(Jt), s(Yt), s(Xt), s(Zt), s(Qt), s($t), s(en), s(tn), s(nn);
|
|
1679
1689
|
//#endregion
|
|
1680
1690
|
//#region src/components/spinner/Spinner.js
|
|
1681
|
-
var
|
|
1691
|
+
var rn = class extends HTMLElement {
|
|
1682
1692
|
static get observedAttributes() {
|
|
1683
1693
|
return [
|
|
1684
1694
|
"size",
|
|
@@ -1781,7 +1791,7 @@ var nn = class extends HTMLElement {
|
|
|
1781
1791
|
`.trim();
|
|
1782
1792
|
}
|
|
1783
1793
|
};
|
|
1784
|
-
typeof customElements < "u" && !customElements.get("mint-spinner") && a("mint-spinner",
|
|
1794
|
+
typeof customElements < "u" && !customElements.get("mint-spinner") && a("mint-spinner", rn);
|
|
1785
1795
|
//#endregion
|
|
1786
1796
|
//#region src/components/button/Button.ts
|
|
1787
1797
|
var M = class extends HTMLElement {
|
|
@@ -2176,7 +2186,7 @@ var M = class extends HTMLElement {
|
|
|
2176
2186
|
customElements.get("mint-button") || a("mint-button", M);
|
|
2177
2187
|
//#endregion
|
|
2178
2188
|
//#region src/components/switch/Switch.js
|
|
2179
|
-
var
|
|
2189
|
+
var an = class extends HTMLElement {
|
|
2180
2190
|
static get observedAttributes() {
|
|
2181
2191
|
return [
|
|
2182
2192
|
"checked",
|
|
@@ -2357,10 +2367,10 @@ var rn = class extends HTMLElement {
|
|
|
2357
2367
|
n && (n.id = `${e}-info`, t.push(n.id)), r && (r.id = `${e}-error`, t.push(r.id)), t.length ? this._button.setAttribute("aria-describedby", Array.from(new Set(t)).join(" ")) : this._button.removeAttribute("aria-describedby");
|
|
2358
2368
|
}
|
|
2359
2369
|
};
|
|
2360
|
-
customElements.get("mint-switch") || a("mint-switch",
|
|
2370
|
+
customElements.get("mint-switch") || a("mint-switch", an);
|
|
2361
2371
|
//#endregion
|
|
2362
2372
|
//#region src/components/text/Text.js
|
|
2363
|
-
var
|
|
2373
|
+
var on = class extends HTMLElement {
|
|
2364
2374
|
static get observedAttributes() {
|
|
2365
2375
|
return [
|
|
2366
2376
|
"variant",
|
|
@@ -2422,10 +2432,10 @@ var an = class extends HTMLElement {
|
|
|
2422
2432
|
}
|
|
2423
2433
|
render() {}
|
|
2424
2434
|
};
|
|
2425
|
-
typeof customElements < "u" && !customElements.get("mint-text") && a("mint-text",
|
|
2435
|
+
typeof customElements < "u" && !customElements.get("mint-text") && a("mint-text", on);
|
|
2426
2436
|
//#endregion
|
|
2427
2437
|
//#region src/components/stack/Stack.js
|
|
2428
|
-
var
|
|
2438
|
+
var sn = class extends HTMLElement {
|
|
2429
2439
|
static get observedAttributes() {
|
|
2430
2440
|
return [
|
|
2431
2441
|
"direction",
|
|
@@ -2473,10 +2483,10 @@ var on = class extends HTMLElement {
|
|
|
2473
2483
|
}[t] : "flex-start"), this.style.setProperty("--mint-stack-text-align", n || "initial");
|
|
2474
2484
|
}
|
|
2475
2485
|
};
|
|
2476
|
-
typeof customElements < "u" && !customElements.get("mint-stack") && a("mint-stack",
|
|
2486
|
+
typeof customElements < "u" && !customElements.get("mint-stack") && a("mint-stack", sn);
|
|
2477
2487
|
//#endregion
|
|
2478
2488
|
//#region src/components/card/Card.js
|
|
2479
|
-
var
|
|
2489
|
+
var cn = class extends HTMLElement {
|
|
2480
2490
|
static get observedAttributes() {
|
|
2481
2491
|
return ["heading", "flush"];
|
|
2482
2492
|
}
|
|
@@ -2506,10 +2516,10 @@ var sn = class extends HTMLElement {
|
|
|
2506
2516
|
e ? (this._headingElement || (this._headingElement = document.createElement("mint-text"), this._headingElement.setAttribute("size", "sub-heading"), this._headingElement.setAttribute("role", "heading"), this._headingElement.setAttribute("aria-level", "2"), this.insertBefore(this._headingElement, this.firstChild)), this._headingElement.textContent = e) : this._headingElement?.parentNode && (this._headingElement.remove(), this._headingElement = null);
|
|
2507
2517
|
}
|
|
2508
2518
|
};
|
|
2509
|
-
typeof customElements < "u" && !customElements.get("mint-card") && a("mint-card",
|
|
2519
|
+
typeof customElements < "u" && !customElements.get("mint-card") && a("mint-card", cn);
|
|
2510
2520
|
//#endregion
|
|
2511
2521
|
//#region src/components/link/Link.js
|
|
2512
|
-
var
|
|
2522
|
+
var ln = class extends HTMLElement {
|
|
2513
2523
|
static get observedAttributes() {
|
|
2514
2524
|
return ["href", "target"];
|
|
2515
2525
|
}
|
|
@@ -2542,7 +2552,7 @@ var cn = class extends HTMLElement {
|
|
|
2542
2552
|
this._link.className = n.filter(Boolean).join(" ");
|
|
2543
2553
|
}
|
|
2544
2554
|
};
|
|
2545
|
-
typeof customElements < "u" && !customElements.get("mint-link") && a("mint-link",
|
|
2555
|
+
typeof customElements < "u" && !customElements.get("mint-link") && a("mint-link", ln), s({
|
|
2546
2556
|
name: "arrow-left",
|
|
2547
2557
|
viewBox: "0 0 24 24",
|
|
2548
2558
|
path: "M19 12H5m7-7l-7 7 7 7",
|
|
@@ -2551,7 +2561,7 @@ typeof customElements < "u" && !customElements.get("mint-link") && a("mint-link"
|
|
|
2551
2561
|
});
|
|
2552
2562
|
//#endregion
|
|
2553
2563
|
//#region src/components/button/Button.js
|
|
2554
|
-
var
|
|
2564
|
+
var un = class extends HTMLElement {
|
|
2555
2565
|
static get observedAttributes() {
|
|
2556
2566
|
return [
|
|
2557
2567
|
"variant",
|
|
@@ -2727,10 +2737,10 @@ var ln = class extends HTMLElement {
|
|
|
2727
2737
|
});
|
|
2728
2738
|
}
|
|
2729
2739
|
};
|
|
2730
|
-
typeof customElements < "u" && !customElements.get("mint-button") && a("mint-button",
|
|
2740
|
+
typeof customElements < "u" && !customElements.get("mint-button") && a("mint-button", un);
|
|
2731
2741
|
//#endregion
|
|
2732
2742
|
//#region src/components/back-button/BackButton.js
|
|
2733
|
-
var
|
|
2743
|
+
var dn = class extends HTMLElement {
|
|
2734
2744
|
static get observedAttributes() {
|
|
2735
2745
|
return ["href", "fallback-href"];
|
|
2736
2746
|
}
|
|
@@ -2774,7 +2784,7 @@ var un = class extends HTMLElement {
|
|
|
2774
2784
|
this._button || (this._button = document.createElement("mint-button"), this._button.setAttribute("variant", "solid"), this._button.setAttribute("tone", "neutral"), this._button.setAttribute("icon", "arrow-left"), this._button.setAttribute("aria-label", this.getAttribute("aria-label") || "Go back"), this._button.addEventListener("click", (e) => this.handleClick(e)), this.appendChild(this._button));
|
|
2775
2785
|
}
|
|
2776
2786
|
};
|
|
2777
|
-
typeof customElements < "u" && !customElements.get("mint-back-button") && a("mint-back-button",
|
|
2787
|
+
typeof customElements < "u" && !customElements.get("mint-back-button") && a("mint-back-button", dn);
|
|
2778
2788
|
//#endregion
|
|
2779
2789
|
//#region src/components/scroll-fade/ScrollFade.ts
|
|
2780
2790
|
function N(e, t = "vertical", n = "1.5rem") {
|
|
@@ -2810,7 +2820,7 @@ function N(e, t = "vertical", n = "1.5rem") {
|
|
|
2810
2820
|
e.style.maskImage = "", e.style.webkitMaskImage = "", e.style.maskClip = "", e.style.webkitMaskClip = "", e.style.removeProperty("--mint-scroll-fade-size"), e.style.removeProperty("--mint-scroll-fade-top-size"), e.style.removeProperty("--mint-scroll-fade-bottom-size"), e.style.removeProperty("--mint-scroll-fade-left-size"), e.style.removeProperty("--mint-scroll-fade-right-size"), e.style.removeProperty("mask-composite"), e.style.removeProperty("-webkit-mask-composite");
|
|
2811
2821
|
};
|
|
2812
2822
|
}
|
|
2813
|
-
var
|
|
2823
|
+
var fn = class extends HTMLElement {
|
|
2814
2824
|
constructor(...e) {
|
|
2815
2825
|
super(...e), this._disposeFade = null, this._target = null, this._contentObserver = null;
|
|
2816
2826
|
}
|
|
@@ -2854,16 +2864,16 @@ var dn = class extends HTMLElement {
|
|
|
2854
2864
|
].includes(r) ? r : "vertical", this.getAttribute("fade-size") || "1.5rem");
|
|
2855
2865
|
}
|
|
2856
2866
|
};
|
|
2857
|
-
customElements.get("mint-scroll-fade") || a("mint-scroll-fade",
|
|
2867
|
+
customElements.get("mint-scroll-fade") || a("mint-scroll-fade", fn);
|
|
2858
2868
|
//#endregion
|
|
2859
2869
|
//#region src/components/popover/Popover.js
|
|
2860
|
-
var
|
|
2870
|
+
var pn = new Set([
|
|
2861
2871
|
"up",
|
|
2862
2872
|
"down",
|
|
2863
2873
|
"left",
|
|
2864
2874
|
"right"
|
|
2865
2875
|
]);
|
|
2866
|
-
function
|
|
2876
|
+
function mn(e) {
|
|
2867
2877
|
let t = e.getBoundingClientRect(), n = Math.max(0, t.top), r = Math.min(window.innerWidth, t.right), i = Math.min(window.innerHeight, t.bottom), a = Math.max(0, t.left);
|
|
2868
2878
|
for (let t = e.parentElement; t && t !== document.body; t = t.parentElement) {
|
|
2869
2879
|
let e = getComputedStyle(t), o = t.getBoundingClientRect();
|
|
@@ -2871,7 +2881,7 @@ function pn(e) {
|
|
|
2871
2881
|
}
|
|
2872
2882
|
return i > n && r > a;
|
|
2873
2883
|
}
|
|
2874
|
-
var
|
|
2884
|
+
var hn = class extends HTMLElement {
|
|
2875
2885
|
static get observedAttributes() {
|
|
2876
2886
|
return [
|
|
2877
2887
|
"direction",
|
|
@@ -2901,7 +2911,7 @@ var mn = class extends HTMLElement {
|
|
|
2901
2911
|
}
|
|
2902
2912
|
getDirection() {
|
|
2903
2913
|
let e = this.getAttribute("direction") || "down";
|
|
2904
|
-
return
|
|
2914
|
+
return pn.has(e) ? e : "down";
|
|
2905
2915
|
}
|
|
2906
2916
|
getTriggerId() {
|
|
2907
2917
|
return this.getAttribute("trigger-id") || "";
|
|
@@ -2978,7 +2988,7 @@ var mn = class extends HTMLElement {
|
|
|
2978
2988
|
let t = e.target;
|
|
2979
2989
|
if (!(t instanceof Node && (t === this || this.contains(t)))) {
|
|
2980
2990
|
if (this.classList.contains("mint-select-popover")) {
|
|
2981
|
-
!this._trigger || !
|
|
2991
|
+
!this._trigger || !mn(this._trigger) ? this.close() : (this._position({
|
|
2982
2992
|
allowViewportFlip: !1,
|
|
2983
2993
|
clampToViewport: !1
|
|
2984
2994
|
}), this._alignSelectedOptionToTrigger());
|
|
@@ -3135,10 +3145,10 @@ var mn = class extends HTMLElement {
|
|
|
3135
3145
|
} else this.dataset.state = "closed";
|
|
3136
3146
|
}
|
|
3137
3147
|
};
|
|
3138
|
-
typeof customElements < "u" && !customElements.get("mint-popover") && a("mint-popover",
|
|
3148
|
+
typeof customElements < "u" && !customElements.get("mint-popover") && a("mint-popover", hn);
|
|
3139
3149
|
//#endregion
|
|
3140
3150
|
//#region src/components/page/Page.js
|
|
3141
|
-
var
|
|
3151
|
+
var gn = class extends HTMLElement {
|
|
3142
3152
|
static get observedAttributes() {
|
|
3143
3153
|
return [
|
|
3144
3154
|
"heading",
|
|
@@ -3262,19 +3272,19 @@ var hn = class extends HTMLElement {
|
|
|
3262
3272
|
this.dispatchEvent(i) && (n && window.history.length > 1 ? window.history.back() : window.location.href = this.getFallbackHref());
|
|
3263
3273
|
}
|
|
3264
3274
|
};
|
|
3265
|
-
typeof customElements < "u" && !customElements.get("mint-page") && a("mint-page",
|
|
3275
|
+
typeof customElements < "u" && !customElements.get("mint-page") && a("mint-page", gn);
|
|
3266
3276
|
//#endregion
|
|
3267
3277
|
//#region src/components/grid/Grid.js
|
|
3268
|
-
var
|
|
3278
|
+
var _n = class extends HTMLElement {
|
|
3269
3279
|
constructor() {
|
|
3270
3280
|
super();
|
|
3271
3281
|
}
|
|
3272
3282
|
};
|
|
3273
|
-
typeof customElements < "u" && !customElements.get("mint-grid") && a("mint-grid",
|
|
3283
|
+
typeof customElements < "u" && !customElements.get("mint-grid") && a("mint-grid", _n);
|
|
3274
3284
|
//#endregion
|
|
3275
3285
|
//#region src/components/modal/Modal.js
|
|
3276
3286
|
var P = /* @__PURE__ */ new Set(), F = null;
|
|
3277
|
-
function
|
|
3287
|
+
function vn(e) {
|
|
3278
3288
|
if (!P.has(e)) {
|
|
3279
3289
|
if (P.size === 0) {
|
|
3280
3290
|
let e = document.documentElement;
|
|
@@ -3298,7 +3308,7 @@ function I(e) {
|
|
|
3298
3308
|
behavior: "instant"
|
|
3299
3309
|
});
|
|
3300
3310
|
}
|
|
3301
|
-
var
|
|
3311
|
+
var yn = class extends HTMLElement {
|
|
3302
3312
|
static get observedAttributes() {
|
|
3303
3313
|
return [
|
|
3304
3314
|
"id",
|
|
@@ -3349,7 +3359,7 @@ var vn = class extends HTMLElement {
|
|
|
3349
3359
|
let e = this.getId(), t = this.getHeading(), n = this.isOpen(), r = this.getSize();
|
|
3350
3360
|
if (e && (this.id = e), this._overlay || (this._overlay = document.createElement("div"), this._overlay.className = "mint-modal-overlay", this._overlay.addEventListener("click", () => this.close()), this.appendChild(this._overlay)), this._modal || (this._modal = document.createElement("div"), this._modal.className = "mint-modal-shell", this.appendChild(this._modal)), n) {
|
|
3351
3361
|
let e = this._modal.querySelector(".modal-content");
|
|
3352
|
-
e || (e = document.createElement("div"), e.className = "modal-content", this._modal.appendChild(e)), this._renderedOpen || (this._renderedOpen = !0,
|
|
3362
|
+
e || (e = document.createElement("div"), e.className = "modal-content", this._modal.appendChild(e)), this._renderedOpen || (this._renderedOpen = !0, vn(this), this._animateEnter());
|
|
3353
3363
|
} else this._renderedOpen && (this._renderedOpen = !1, this._animateExit());
|
|
3354
3364
|
let i = this._modal.querySelector(".modal-content");
|
|
3355
3365
|
i || (i = document.createElement("div"), i.className = "modal-content", this._modal.appendChild(i)), i.classList.remove("modal-content--small", "modal-content--large"), r !== "default" && i.classList.add(`modal-content--${r}`), this._header || (this._header = document.createElement("div"), this._header.className = "mint-modal-header", i.appendChild(this._header)), this._headingSlot || (this._headingSlot = document.createElement("div"), this._headingSlot.className = "mint-modal-heading", this._headingSlot.setAttribute("slot", "heading"), this._header.appendChild(this._headingSlot));
|
|
@@ -3390,14 +3400,10 @@ var vn = class extends HTMLElement {
|
|
|
3390
3400
|
}
|
|
3391
3401
|
_animateEnter() {
|
|
3392
3402
|
let e = this._modal?.querySelector(".modal-content");
|
|
3393
|
-
e && (this._exitTimer &&= (clearTimeout(this._exitTimer), null), this._backdropTimer &&= (clearTimeout(this._backdropTimer), null), this.classList.remove("mint-modal-closing"), this.classList.remove("mint-modal-open"), this.classList.add("mint-modal-open"), this.classList.remove("mint-hidden"), e.style.transform = "none", e.style.opacity = "0", e.style.transition = "none", requestAnimationFrame(() => {
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
this.isOpen() && (e.style.transform = "scale(1)", e.style.opacity = "1", e.style.borderRadius = t, window.setTimeout(() => {
|
|
3398
|
-
this.isOpen() && (e.style.transition = "", e.style.transform = "none");
|
|
3399
|
-
}, 380));
|
|
3400
|
-
});
|
|
3403
|
+
e && (this._exitTimer &&= (clearTimeout(this._exitTimer), null), this._backdropTimer &&= (clearTimeout(this._backdropTimer), null), this.classList.remove("mint-modal-closing"), this.classList.remove("mint-modal-open"), this.classList.add("mint-modal-open"), this.classList.remove("mint-hidden"), e.style.transform = "none", e.style.opacity = "0", e.style.transition = "none", e.getBoundingClientRect(), requestAnimationFrame(() => {
|
|
3404
|
+
this.isOpen() && (e.style.transition = "opacity 200ms ease-out", e.style.opacity = "1", this._backdropTimer = window.setTimeout(() => {
|
|
3405
|
+
e.style.transition = "", e.style.opacity = "", e.style.transform = "", this._backdropTimer = null;
|
|
3406
|
+
}, 220));
|
|
3401
3407
|
}));
|
|
3402
3408
|
}
|
|
3403
3409
|
_findTriggerElement(e) {
|
|
@@ -3424,22 +3430,6 @@ var vn = class extends HTMLElement {
|
|
|
3424
3430
|
y: t.y
|
|
3425
3431
|
} : null;
|
|
3426
3432
|
}
|
|
3427
|
-
_setTransformOrigin(e) {
|
|
3428
|
-
let t = this._findTriggerElement(this._triggerElement);
|
|
3429
|
-
this._triggerElement = t;
|
|
3430
|
-
let n = this._findTriggerPoint(t);
|
|
3431
|
-
if (n) {
|
|
3432
|
-
let t = e.getBoundingClientRect();
|
|
3433
|
-
e.style.transformOrigin = `${n.x - t.left}px ${n.y - t.top}px`, this._triggerPoint = n;
|
|
3434
|
-
return;
|
|
3435
|
-
}
|
|
3436
|
-
this._triggerPoint = {
|
|
3437
|
-
x: window.innerWidth / 2,
|
|
3438
|
-
y: 0
|
|
3439
|
-
};
|
|
3440
|
-
let r = e.getBoundingClientRect();
|
|
3441
|
-
e.style.transformOrigin = `${this._triggerPoint.x - r.left}px ${this._triggerPoint.y - r.top}px`;
|
|
3442
|
-
}
|
|
3443
3433
|
_animateExit() {
|
|
3444
3434
|
this.classList.remove("mint-modal-open"), this._backdropTimer &&= (clearTimeout(this._backdropTimer), null);
|
|
3445
3435
|
let e = this._modal?.querySelector(".modal-content");
|
|
@@ -3447,12 +3437,12 @@ var vn = class extends HTMLElement {
|
|
|
3447
3437
|
this.classList.add("mint-hidden"), this.classList.remove("mint-modal-closing"), I(this);
|
|
3448
3438
|
return;
|
|
3449
3439
|
}
|
|
3450
|
-
this._exitTimer && clearTimeout(this._exitTimer), this.classList.add("mint-modal-closing"), e.style.transition = "opacity
|
|
3451
|
-
this._exitTimer = null, !this.isOpen() && (this.classList.add("mint-hidden"), this.classList.remove("mint-modal-closing"), e.style.transform = "", e.style.opacity = "", e.style.
|
|
3452
|
-
},
|
|
3440
|
+
this._exitTimer && clearTimeout(this._exitTimer), this.classList.add("mint-modal-closing"), e.style.transition = "opacity 200ms ease-in", e.style.opacity = "0", this._exitTimer = setTimeout(() => {
|
|
3441
|
+
this._exitTimer = null, !this.isOpen() && (this.classList.add("mint-hidden"), this.classList.remove("mint-modal-closing"), e.style.transform = "", e.style.opacity = "", e.style.transition = "", I(this));
|
|
3442
|
+
}, 200);
|
|
3453
3443
|
}
|
|
3454
3444
|
};
|
|
3455
|
-
typeof customElements < "u" && !customElements.get("mint-modal") && a("mint-modal",
|
|
3445
|
+
typeof customElements < "u" && !customElements.get("mint-modal") && a("mint-modal", yn), s({
|
|
3456
3446
|
name: "check",
|
|
3457
3447
|
viewBox: "0 0 24 24",
|
|
3458
3448
|
path: "M5 13l4 4L19 7",
|
|
@@ -3462,10 +3452,11 @@ typeof customElements < "u" && !customElements.get("mint-modal") && a("mint-moda
|
|
|
3462
3452
|
});
|
|
3463
3453
|
//#endregion
|
|
3464
3454
|
//#region src/components/checkbox/Checkbox.js
|
|
3465
|
-
var
|
|
3455
|
+
var bn = class extends HTMLElement {
|
|
3466
3456
|
static get observedAttributes() {
|
|
3467
3457
|
return [
|
|
3468
3458
|
"checked",
|
|
3459
|
+
"indeterminate",
|
|
3469
3460
|
"disabled",
|
|
3470
3461
|
"label",
|
|
3471
3462
|
"info",
|
|
@@ -3476,17 +3467,17 @@ var yn = class extends HTMLElement {
|
|
|
3476
3467
|
];
|
|
3477
3468
|
}
|
|
3478
3469
|
constructor() {
|
|
3479
|
-
super(), this._checkbox = null, this._checked = !1, this._clickHandler = null;
|
|
3470
|
+
super(), this._checkbox = null, this._checked = !1, this._indeterminate = !1, this._clickHandler = null;
|
|
3480
3471
|
}
|
|
3481
3472
|
connectedCallback() {
|
|
3482
3473
|
let e = this.getAttribute("checked");
|
|
3483
|
-
this._checked = e !== null && e !== "false", this.render();
|
|
3474
|
+
this._checked = e !== null && e !== "false", this._indeterminate = this.hasAttribute("indeterminate") && this.getAttribute("indeterminate") !== "false", this.render();
|
|
3484
3475
|
}
|
|
3485
3476
|
disconnectedCallback() {
|
|
3486
3477
|
this.removeEventListeners();
|
|
3487
3478
|
}
|
|
3488
3479
|
attributeChangedCallback(e, t, n) {
|
|
3489
|
-
e === "checked" && (this._checked = n !== null && n !== "false", this._checkbox && (this._checkbox.checked = this._checked)), t !== n && (this.render(), e === "checked" && this._checkbox && this.updateVisualState());
|
|
3480
|
+
e === "checked" && (this._checked = n !== null && n !== "false", this._checkbox && (this._checkbox.checked = this._checked)), e === "indeterminate" && (this._indeterminate = n !== null && n !== "false", this._checkbox && (this._checkbox.indeterminate = this._indeterminate)), t !== n && (this.render(), e === "checked" && this._checkbox && this.updateVisualState(), e === "indeterminate" && this.updateVisualState());
|
|
3490
3481
|
}
|
|
3491
3482
|
get checked() {
|
|
3492
3483
|
return this._checked;
|
|
@@ -3494,6 +3485,12 @@ var yn = class extends HTMLElement {
|
|
|
3494
3485
|
set checked(e) {
|
|
3495
3486
|
e ? this.setAttribute("checked", "") : this.removeAttribute("checked"), this._checked = !!e, this._checkbox && (this._checkbox.checked = this._checked), this.updateVisualState();
|
|
3496
3487
|
}
|
|
3488
|
+
get indeterminate() {
|
|
3489
|
+
return this._indeterminate;
|
|
3490
|
+
}
|
|
3491
|
+
set indeterminate(e) {
|
|
3492
|
+
this._indeterminate = !!e, this._indeterminate ? this.setAttribute("indeterminate", "true") : this.removeAttribute("indeterminate"), this._checkbox && (this._checkbox.indeterminate = this._indeterminate), this.updateVisualState();
|
|
3493
|
+
}
|
|
3497
3494
|
isDisabled() {
|
|
3498
3495
|
return this.hasAttribute("disabled") || this.getAttribute("loading") === "true";
|
|
3499
3496
|
}
|
|
@@ -3519,7 +3516,7 @@ var yn = class extends HTMLElement {
|
|
|
3519
3516
|
let e = this.getAttribute("loading") === "true";
|
|
3520
3517
|
this.toggleAttribute("aria-busy", e);
|
|
3521
3518
|
let t = this.getLabel(), n = this.getInfo(), r = this.isDisabled(), i = this.querySelector(".mint-checkbox-wrapper");
|
|
3522
|
-
i || (i = document.createElement("div"), i.className = "mint-checkbox-wrapper", this.insertBefore(i, this.firstChild)), this._checkbox ? this._checkbox.parentElement !== i && i.appendChild(this._checkbox) : (this._checkbox = document.createElement("input"), this._checkbox.type = "checkbox", i.appendChild(this._checkbox), this.setupEventListeners()), this._checkbox.className = "mint-input-overlay", this._checkbox.style.cssText = "position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 10; pointer-events: auto; margin: 0; padding: 0;", this._checkbox.checked = this._checked, this._checkbox.disabled = r, this._changeHandler || this.setupEventListeners();
|
|
3519
|
+
i || (i = document.createElement("div"), i.className = "mint-checkbox-wrapper", this.insertBefore(i, this.firstChild)), this._checkbox ? this._checkbox.parentElement !== i && i.appendChild(this._checkbox) : (this._checkbox = document.createElement("input"), this._checkbox.type = "checkbox", i.appendChild(this._checkbox), this.setupEventListeners()), this._checkbox.className = "mint-input-overlay", this._checkbox.style.cssText = "position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 10; pointer-events: auto; margin: 0; padding: 0;", this._checkbox.checked = this._checked, this._checkbox.indeterminate = this._indeterminate, this._checkbox.disabled = r, this._changeHandler || this.setupEventListeners();
|
|
3523
3520
|
let a = this.getId();
|
|
3524
3521
|
a ? this._checkbox.id = a : this._checkbox.removeAttribute("id");
|
|
3525
3522
|
let o = this.getName();
|
|
@@ -3527,7 +3524,7 @@ var yn = class extends HTMLElement {
|
|
|
3527
3524
|
let s = this.getValue();
|
|
3528
3525
|
s ? this._checkbox.value = s : this._checkbox.removeAttribute("value"), t ? this._checkbox.setAttribute("aria-label", t) : this._checkbox.removeAttribute("aria-label"), i.className = `mint-checkbox-wrapper ${this.getCheckboxClasses()}`, i.style.pointerEvents = "none", this._checkbox.style.pointerEvents = "auto";
|
|
3529
3526
|
let c = i.querySelector("mint-icon");
|
|
3530
|
-
c || (c = document.createElement("mint-icon"), c.setAttribute("name", "check"), c.className = "mint-checkbox-check", c.style.transition = "opacity 200ms ease-out, transform 200ms ease-out", c.style.zIndex = "1", i.appendChild(c)), this.updateVisualState();
|
|
3527
|
+
c || (c = document.createElement("mint-icon"), c.setAttribute("name", "check"), c.className = "mint-checkbox-check", c.style.position = "absolute", c.style.inset = "auto", c.style.top = "50%", c.style.left = "50%", c.style.width = "0.875rem", c.style.height = "0.875rem", c.style.margin = "0", c.style.transition = "opacity 200ms ease-out, transform 200ms ease-out", c.style.zIndex = "1", i.appendChild(c)), this.updateVisualState();
|
|
3531
3528
|
let l = this.querySelector(".mint-checkbox-label-container");
|
|
3532
3529
|
if (t || n) {
|
|
3533
3530
|
l || (l = document.createElement("div"), l.className = "mint-checkbox-label-container", this.appendChild(l));
|
|
@@ -3582,7 +3579,7 @@ var yn = class extends HTMLElement {
|
|
|
3582
3579
|
}
|
|
3583
3580
|
setupEventListeners() {
|
|
3584
3581
|
this.removeEventListeners(), this._checkbox && (this._changeHandler = (e) => {
|
|
3585
|
-
e.stopPropagation(), this._checked = this._checkbox.checked, this._checked ? this.hasAttribute("checked") || this.setAttribute("checked", "") : this.hasAttribute("checked") && this.removeAttribute("checked"), this.updateVisualState();
|
|
3582
|
+
e.stopPropagation(), this._checked = this._checkbox.checked, this._indeterminate = !1, this._checkbox.indeterminate = !1, this.removeAttribute("indeterminate"), this._checked ? this.hasAttribute("checked") || this.setAttribute("checked", "") : this.hasAttribute("checked") && this.removeAttribute("checked"), this.updateVisualState();
|
|
3586
3583
|
let t = new CustomEvent("change", {
|
|
3587
3584
|
detail: {
|
|
3588
3585
|
checked: this._checked,
|
|
@@ -3618,11 +3615,11 @@ var yn = class extends HTMLElement {
|
|
|
3618
3615
|
}
|
|
3619
3616
|
updateVisualState() {
|
|
3620
3617
|
let e = this.querySelector(".mint-checkbox-wrapper"), t = e?.querySelector("mint-icon");
|
|
3621
|
-
t && (t.style.opacity = this._checked ? "1" : "0", t.style.transform = this._checked ? "
|
|
3618
|
+
t && (t.style.opacity = this._checked && !this._indeterminate ? "1" : "0", t.style.transform = this._checked && !this._indeterminate ? "translate(-50%, -50%)" : "translate(-50%, -50%) scale(0.8)"), e && (e.className = `mint-checkbox-wrapper ${this.getCheckboxClasses()}`, e.toggleAttribute("data-indeterminate", this._indeterminate), e.classList.contains("mint-checkbox-active") || (e.style.backgroundColor = "", e.style.boxShadow = ""));
|
|
3622
3619
|
}
|
|
3623
3620
|
toggle() {
|
|
3624
3621
|
if (this._checkbox && !this.isDisabled()) {
|
|
3625
|
-
this._checkbox.checked = !this._checked, this._checked = this._checkbox.checked, this._checked ? this.hasAttribute("checked") || this.setAttribute("checked", "") : this.hasAttribute("checked") && this.removeAttribute("checked"), this.updateVisualState();
|
|
3622
|
+
this._checkbox.checked = !this._checked, this._indeterminate = !1, this._checkbox.indeterminate = !1, this.removeAttribute("indeterminate"), this._checked = this._checkbox.checked, this._checked ? this.hasAttribute("checked") || this.setAttribute("checked", "") : this.hasAttribute("checked") && this.removeAttribute("checked"), this.updateVisualState();
|
|
3626
3623
|
let e = new CustomEvent("change", {
|
|
3627
3624
|
detail: { checked: this._checked },
|
|
3628
3625
|
bubbles: !0,
|
|
@@ -3632,10 +3629,10 @@ var yn = class extends HTMLElement {
|
|
|
3632
3629
|
}
|
|
3633
3630
|
}
|
|
3634
3631
|
};
|
|
3635
|
-
typeof customElements < "u" && !customElements.get("mint-checkbox") && a("mint-checkbox",
|
|
3632
|
+
typeof customElements < "u" && !customElements.get("mint-checkbox") && a("mint-checkbox", bn);
|
|
3636
3633
|
//#endregion
|
|
3637
3634
|
//#region src/components/choice/Choice.js
|
|
3638
|
-
var
|
|
3635
|
+
var xn = class extends HTMLElement {
|
|
3639
3636
|
static get observedAttributes() {
|
|
3640
3637
|
return [
|
|
3641
3638
|
"checked",
|
|
@@ -3905,7 +3902,7 @@ var bn = class extends HTMLElement {
|
|
|
3905
3902
|
this.dispatchEvent(t);
|
|
3906
3903
|
}
|
|
3907
3904
|
}
|
|
3908
|
-
},
|
|
3905
|
+
}, Sn = class extends HTMLElement {
|
|
3909
3906
|
static get observedAttributes() {
|
|
3910
3907
|
return [
|
|
3911
3908
|
"value",
|
|
@@ -3940,10 +3937,10 @@ var bn = class extends HTMLElement {
|
|
|
3940
3937
|
r || (r = document.createElement("span"), r.className = "mint-choice-option-label", n.appendChild(r)), r.textContent = this._labelText;
|
|
3941
3938
|
}
|
|
3942
3939
|
};
|
|
3943
|
-
typeof customElements < "u" && !customElements.get("mint-choice") && a("mint-choice",
|
|
3940
|
+
typeof customElements < "u" && !customElements.get("mint-choice") && a("mint-choice", xn), typeof customElements < "u" && !customElements.get("mint-choice-option") && a("mint-choice-option", Sn);
|
|
3944
3941
|
//#endregion
|
|
3945
3942
|
//#region src/components/navigation/Navigation.js
|
|
3946
|
-
var
|
|
3943
|
+
var Cn = 0, wn = class extends HTMLElement {
|
|
3947
3944
|
static get observedAttributes() {
|
|
3948
3945
|
return [
|
|
3949
3946
|
"brand",
|
|
@@ -3955,7 +3952,7 @@ var Sn = 0, Cn = class extends HTMLElement {
|
|
|
3955
3952
|
];
|
|
3956
3953
|
}
|
|
3957
3954
|
constructor() {
|
|
3958
|
-
super(), this._built = !1, this._brand = null, this._brandLink = null, this._leadingActions = null, this._items = null, this._toggle = null, this._toggleLabel = null, this._mobileActions = null, this._mobileActionNodes = [], this._instanceId = ++
|
|
3955
|
+
super(), this._built = !1, this._brand = null, this._brandLink = null, this._leadingActions = null, this._items = null, this._toggle = null, this._toggleLabel = null, this._mobileActions = null, this._mobileActionNodes = [], this._instanceId = ++Cn, this._dropdowns = [], this._content = null, this._actions = null, this._activeDropdown = null, this._layoutObserver = null;
|
|
3959
3956
|
}
|
|
3960
3957
|
connectedCallback() {
|
|
3961
3958
|
this._built || this._build(), this._observeDropdowns(), this._syncResponsiveDropdowns(), this._syncMobileActions(), typeof ResizeObserver < "u" && (this._layoutObserver = new ResizeObserver(() => {
|
|
@@ -4115,7 +4112,7 @@ var Sn = 0, Cn = class extends HTMLElement {
|
|
|
4115
4112
|
this.hasAttribute("open") ? this.closeMenu() : this.openMenu();
|
|
4116
4113
|
}
|
|
4117
4114
|
};
|
|
4118
|
-
typeof customElements < "u" && !customElements.get("mint-navigation") && a("mint-navigation",
|
|
4115
|
+
typeof customElements < "u" && !customElements.get("mint-navigation") && a("mint-navigation", wn), s({
|
|
4119
4116
|
name: "info",
|
|
4120
4117
|
viewBox: "0 0 24 24",
|
|
4121
4118
|
path: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
@@ -4149,7 +4146,7 @@ typeof customElements < "u" && !customElements.get("mint-navigation") && a("mint
|
|
|
4149
4146
|
});
|
|
4150
4147
|
//#endregion
|
|
4151
4148
|
//#region src/components/alert/Alert.ts
|
|
4152
|
-
var
|
|
4149
|
+
var Tn = class extends HTMLElement {
|
|
4153
4150
|
static get observedAttributes() {
|
|
4154
4151
|
return [
|
|
4155
4152
|
"heading",
|
|
@@ -4259,7 +4256,7 @@ var wn = class extends HTMLElement {
|
|
|
4259
4256
|
}
|
|
4260
4257
|
}
|
|
4261
4258
|
};
|
|
4262
|
-
customElements.get("mint-alert") || a("mint-alert",
|
|
4259
|
+
customElements.get("mint-alert") || a("mint-alert", Tn);
|
|
4263
4260
|
//#endregion
|
|
4264
4261
|
//#region src/components/bottom-navigation/BottomNavigation.ts
|
|
4265
4262
|
var L = class extends HTMLElement {
|
|
@@ -4290,7 +4287,7 @@ var L = class extends HTMLElement {
|
|
|
4290
4287
|
customElements.get("mint-bottom-navigation") || a("mint-bottom-navigation", L);
|
|
4291
4288
|
//#endregion
|
|
4292
4289
|
//#region src/components/bottom-navigation/BottomNavItem.ts
|
|
4293
|
-
var
|
|
4290
|
+
var En = class extends HTMLElement {
|
|
4294
4291
|
constructor(...e) {
|
|
4295
4292
|
super(...e), this._root = null;
|
|
4296
4293
|
}
|
|
@@ -4334,10 +4331,10 @@ var Tn = class extends HTMLElement {
|
|
|
4334
4331
|
s.className = "mint-bottom-nav-label", s.textContent = t, i.appendChild(o), i.appendChild(s), this.replaceChildren(i), this._root = i;
|
|
4335
4332
|
}
|
|
4336
4333
|
};
|
|
4337
|
-
customElements.get("mint-bottom-nav-item") || a("mint-bottom-nav-item",
|
|
4334
|
+
customElements.get("mint-bottom-nav-item") || a("mint-bottom-nav-item", En);
|
|
4338
4335
|
//#endregion
|
|
4339
4336
|
//#region src/components/bottom-navigation/index.ts
|
|
4340
|
-
var
|
|
4337
|
+
var Dn = L, On = class e extends HTMLElement {
|
|
4341
4338
|
static get observedAttributes() {
|
|
4342
4339
|
return [
|
|
4343
4340
|
"type",
|
|
@@ -5662,10 +5659,10 @@ var En = L, Dn = class e extends HTMLElement {
|
|
|
5662
5659
|
});
|
|
5663
5660
|
}
|
|
5664
5661
|
};
|
|
5665
|
-
customElements.get("mint-chart") || a("mint-chart",
|
|
5662
|
+
customElements.get("mint-chart") || a("mint-chart", On);
|
|
5666
5663
|
//#endregion
|
|
5667
5664
|
//#region src/components/chip/Chip.ts
|
|
5668
|
-
var
|
|
5665
|
+
var kn = class extends HTMLElement {
|
|
5669
5666
|
constructor(...e) {
|
|
5670
5667
|
super(...e), this._root = null, this._label = null, this._dismissBtn = null, this._clickHandler = null;
|
|
5671
5668
|
}
|
|
@@ -5715,10 +5712,10 @@ var On = class extends HTMLElement {
|
|
|
5715
5712
|
}, e.addEventListener("click", this._clickHandler), this._dismissBtn = e;
|
|
5716
5713
|
}
|
|
5717
5714
|
};
|
|
5718
|
-
customElements.get("mint-chip") || a("mint-chip",
|
|
5715
|
+
customElements.get("mint-chip") || a("mint-chip", kn);
|
|
5719
5716
|
//#endregion
|
|
5720
5717
|
//#region src/components/clickable/Clickable.ts
|
|
5721
|
-
var
|
|
5718
|
+
var An = class extends HTMLElement {
|
|
5722
5719
|
constructor(...e) {
|
|
5723
5720
|
super(...e), this._clickHandler = null, this._keydownHandler = null, this._target = null, this._observer = null, this._managedRole = !1, this._managedTabindex = !1;
|
|
5724
5721
|
}
|
|
@@ -5773,10 +5770,10 @@ var kn = class extends HTMLElement {
|
|
|
5773
5770
|
e === "disabled" && this.isConnected && this._syncTarget();
|
|
5774
5771
|
}
|
|
5775
5772
|
};
|
|
5776
|
-
customElements.get("mint-clickable") || a("mint-clickable",
|
|
5773
|
+
customElements.get("mint-clickable") || a("mint-clickable", An);
|
|
5777
5774
|
//#endregion
|
|
5778
5775
|
//#region src/components/collapsible/Collapsible.ts
|
|
5779
|
-
var
|
|
5776
|
+
var jn = class extends HTMLElement {
|
|
5780
5777
|
static get observedAttributes() {
|
|
5781
5778
|
return [
|
|
5782
5779
|
"id",
|
|
@@ -5927,10 +5924,10 @@ var An = class extends HTMLElement {
|
|
|
5927
5924
|
}), this._contentAnimation.onfinish = o;
|
|
5928
5925
|
}
|
|
5929
5926
|
};
|
|
5930
|
-
customElements.get("mint-collapsible") || a("mint-collapsible",
|
|
5927
|
+
customElements.get("mint-collapsible") || a("mint-collapsible", jn);
|
|
5931
5928
|
//#endregion
|
|
5932
5929
|
//#region src/components/confirm-action/ConfirmAction.ts
|
|
5933
|
-
var
|
|
5930
|
+
var Mn = class extends HTMLElement {
|
|
5934
5931
|
constructor(...e) {
|
|
5935
5932
|
super(...e), this._modal = null, this._actionsFooter = null, this._confirmButton = null, this._cancelButton = null, this._pendingResolve = null, this._modalObserver = null, this._lastAction = null, this._onConfirmClick = null, this._onCancelClick = null;
|
|
5936
5933
|
}
|
|
@@ -5977,11 +5974,11 @@ var jn = class extends HTMLElement {
|
|
|
5977
5974
|
}));
|
|
5978
5975
|
}
|
|
5979
5976
|
};
|
|
5980
|
-
customElements.get("mint-confirm-action") || a("mint-confirm-action",
|
|
5977
|
+
customElements.get("mint-confirm-action") || a("mint-confirm-action", Mn);
|
|
5981
5978
|
//#endregion
|
|
5982
5979
|
//#region src/components/confirm-action/ConfirmActionApi.ts
|
|
5983
5980
|
var R = [], z = !1;
|
|
5984
|
-
function
|
|
5981
|
+
function Nn() {
|
|
5985
5982
|
return typeof document > "u" || document.body ? Promise.resolve() : new Promise((e) => {
|
|
5986
5983
|
if (typeof window > "u") {
|
|
5987
5984
|
e();
|
|
@@ -5990,26 +5987,26 @@ function Mn() {
|
|
|
5990
5987
|
window.addEventListener("DOMContentLoaded", () => e(), { once: !0 });
|
|
5991
5988
|
});
|
|
5992
5989
|
}
|
|
5993
|
-
async function
|
|
5994
|
-
if (await
|
|
5990
|
+
async function Pn() {
|
|
5991
|
+
if (await Nn(), typeof document > "u") throw Error("mintui.confirm is only available in browser environments.");
|
|
5995
5992
|
let e = document.querySelector("mint-confirm-action[data-mint-confirm-action-root=\"true\"]");
|
|
5996
5993
|
if (e) return e;
|
|
5997
5994
|
let t = document.createElement("mint-confirm-action");
|
|
5998
5995
|
return t.setAttribute("data-mint-confirm-action-root", "true"), document.body.appendChild(t), t;
|
|
5999
5996
|
}
|
|
6000
|
-
function
|
|
5997
|
+
function Fn(e) {
|
|
6001
5998
|
let t = (e || "action").toString().trim().toLowerCase().replace(/^tone:\s*/, "");
|
|
6002
5999
|
return t === "action" || t === "info" || t === "warning" || t === "danger" ? t : "action";
|
|
6003
6000
|
}
|
|
6004
|
-
async function
|
|
6001
|
+
async function In() {
|
|
6005
6002
|
if (!z) {
|
|
6006
6003
|
z = !0;
|
|
6007
6004
|
try {
|
|
6008
6005
|
for (; R.length > 0;) {
|
|
6009
6006
|
let e = R.shift();
|
|
6010
|
-
e && (await (await
|
|
6007
|
+
e && (await (await Pn()).showConfirm({
|
|
6011
6008
|
question: e.question,
|
|
6012
|
-
tone:
|
|
6009
|
+
tone: Fn(e.tone),
|
|
6013
6010
|
confirmLabel: e.confirmLabel || "Confirm",
|
|
6014
6011
|
cancelLabel: e.cancelLabel || "Cancel"
|
|
6015
6012
|
}) ? e.confirmed?.() : e.cancelled?.());
|
|
@@ -6019,7 +6016,7 @@ async function Fn() {
|
|
|
6019
6016
|
}
|
|
6020
6017
|
}
|
|
6021
6018
|
}
|
|
6022
|
-
function
|
|
6019
|
+
function Ln(e, t, n, r = "action", i = "Confirm", a = "Cancel") {
|
|
6023
6020
|
typeof window > "u" || (R.push({
|
|
6024
6021
|
question: e,
|
|
6025
6022
|
confirmed: t,
|
|
@@ -6027,11 +6024,11 @@ function In(e, t, n, r = "action", i = "Confirm", a = "Cancel") {
|
|
|
6027
6024
|
tone: r,
|
|
6028
6025
|
confirmLabel: i,
|
|
6029
6026
|
cancelLabel: a
|
|
6030
|
-
}),
|
|
6027
|
+
}), In());
|
|
6031
6028
|
}
|
|
6032
6029
|
if (typeof window < "u") {
|
|
6033
6030
|
let e = window.mintui || {};
|
|
6034
|
-
e.confirm =
|
|
6031
|
+
e.confirm = Ln, window.mintui = e;
|
|
6035
6032
|
}
|
|
6036
6033
|
s({
|
|
6037
6034
|
name: "calendar",
|
|
@@ -6066,7 +6063,7 @@ s({
|
|
|
6066
6063
|
});
|
|
6067
6064
|
//#endregion
|
|
6068
6065
|
//#region src/components/input/Input.ts
|
|
6069
|
-
var
|
|
6066
|
+
var Rn = class extends HTMLElement {
|
|
6070
6067
|
static get observedAttributes() {
|
|
6071
6068
|
return [
|
|
6072
6069
|
"type",
|
|
@@ -6466,10 +6463,10 @@ var Ln = class extends HTMLElement {
|
|
|
6466
6463
|
}
|
|
6467
6464
|
}
|
|
6468
6465
|
};
|
|
6469
|
-
customElements.get("mint-input") || a("mint-input",
|
|
6466
|
+
customElements.get("mint-input") || a("mint-input", Rn);
|
|
6470
6467
|
//#endregion
|
|
6471
6468
|
//#region src/components/date-picker/DatePicker.ts
|
|
6472
|
-
var
|
|
6469
|
+
var zn = class extends HTMLElement {
|
|
6473
6470
|
static get observedAttributes() {
|
|
6474
6471
|
return [
|
|
6475
6472
|
"value",
|
|
@@ -7745,10 +7742,10 @@ var Rn = class extends HTMLElement {
|
|
|
7745
7742
|
this._focusTrapHandler &&= (document.removeEventListener("keydown", this._focusTrapHandler, !0), null), this._escapeHandler &&= (document.removeEventListener("keydown", this._escapeHandler, !0), null);
|
|
7746
7743
|
}
|
|
7747
7744
|
};
|
|
7748
|
-
customElements.get("mint-date-picker") || a("mint-date-picker",
|
|
7745
|
+
customElements.get("mint-date-picker") || a("mint-date-picker", zn);
|
|
7749
7746
|
//#endregion
|
|
7750
7747
|
//#region src/components/time-picker/TimePicker.ts
|
|
7751
|
-
var
|
|
7748
|
+
var Bn = class extends HTMLElement {
|
|
7752
7749
|
constructor(...e) {
|
|
7753
7750
|
super(...e), this._triggerId = `mint-time-picker-trigger-${Math.random().toString(36).slice(2, 10)}`, this._popover = null, this._popoverObserver = null, this._triggerClickObserver = null, this._inputEl = null, this._hiddenInput = null, this._prependSlotNodes = [], this._appendSlotNodes = [], this._slotObserver = null, this._single = {
|
|
7754
7751
|
hour: 9,
|
|
@@ -8114,10 +8111,10 @@ var zn = class extends HTMLElement {
|
|
|
8114
8111
|
this._prependSlotNodes = e.filter((e) => e.getAttribute("slot") === "prepend"), this._appendSlotNodes = e.filter((e) => e.getAttribute("slot") === "append");
|
|
8115
8112
|
}
|
|
8116
8113
|
};
|
|
8117
|
-
customElements.get("mint-time-picker") || a("mint-time-picker",
|
|
8114
|
+
customElements.get("mint-time-picker") || a("mint-time-picker", Bn);
|
|
8118
8115
|
//#endregion
|
|
8119
8116
|
//#region src/components/datetime-picker/DateTimePicker.ts
|
|
8120
|
-
var
|
|
8117
|
+
var Vn = class extends HTMLElement {
|
|
8121
8118
|
constructor(...e) {
|
|
8122
8119
|
super(...e), this._datePicker = null, this._timePicker = null, this._content = null, this._popoverContent = null, this._popoverObserver = null, this._hiddenInput = null, this._dateValue = "", this._timeValue = "", this._dateStageComplete = !1, this._ready = !1, this._writingValue = !1, this._displayControlBound = !1, this._prependSlotNodes = [], this._appendSlotNodes = [], this._slotObserver = null;
|
|
8123
8120
|
}
|
|
@@ -8370,7 +8367,7 @@ var Bn = class extends HTMLElement {
|
|
|
8370
8367
|
].filter(Boolean).join(":")} ${i >= 12 ? "pm" : "am"}`;
|
|
8371
8368
|
}
|
|
8372
8369
|
};
|
|
8373
|
-
customElements.get("mint-datetime-picker") || a("mint-datetime-picker",
|
|
8370
|
+
customElements.get("mint-datetime-picker") || a("mint-datetime-picker", Vn), s({
|
|
8374
8371
|
name: "upload",
|
|
8375
8372
|
viewBox: "0 0 24 24",
|
|
8376
8373
|
path: "M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12",
|
|
@@ -8385,7 +8382,7 @@ customElements.get("mint-datetime-picker") || a("mint-datetime-picker", Bn), s({
|
|
|
8385
8382
|
});
|
|
8386
8383
|
//#endregion
|
|
8387
8384
|
//#region src/components/dropzone/Dropzone.ts
|
|
8388
|
-
var
|
|
8385
|
+
var Hn = class extends HTMLElement {
|
|
8389
8386
|
static get observedAttributes() {
|
|
8390
8387
|
return [
|
|
8391
8388
|
"label",
|
|
@@ -8800,10 +8797,10 @@ var Vn = class extends HTMLElement {
|
|
|
8800
8797
|
return this._selectedFiles.some((t) => t.name === e.name && t.size === e.size && t.lastModified === e.lastModified);
|
|
8801
8798
|
}
|
|
8802
8799
|
};
|
|
8803
|
-
customElements.get("mint-dropzone") || a("mint-dropzone",
|
|
8800
|
+
customElements.get("mint-dropzone") || a("mint-dropzone", Hn);
|
|
8804
8801
|
//#endregion
|
|
8805
8802
|
//#region src/components/form/Form.ts
|
|
8806
|
-
var
|
|
8803
|
+
var Un = class extends HTMLElement {
|
|
8807
8804
|
static get observedAttributes() {
|
|
8808
8805
|
return [
|
|
8809
8806
|
"action",
|
|
@@ -9825,7 +9822,7 @@ var Hn = class extends HTMLElement {
|
|
|
9825
9822
|
this._reactiveDataObserver !== null && (cancelAnimationFrame(this._reactiveDataObserver), this._reactiveDataObserver = null), this._reactiveDataProxy = null, this._lastDataSnapshot = null, this._lastAppliedDataSnapshot = null;
|
|
9826
9823
|
}
|
|
9827
9824
|
};
|
|
9828
|
-
customElements.get("mint-form") || a("mint-form",
|
|
9825
|
+
customElements.get("mint-form") || a("mint-form", Un), typeof window < "u" && (window.mintForm = window.mintForm || {
|
|
9829
9826
|
defaults: { headers: { common: {} } },
|
|
9830
9827
|
interceptors: { response: { handlers: [] } }
|
|
9831
9828
|
}, window.mintForm.interceptors.response.use || (window.mintForm.interceptors.response.use = function(e, t) {
|
|
@@ -9836,7 +9833,7 @@ customElements.get("mint-form") || a("mint-form", Hn), typeof window < "u" && (w
|
|
|
9836
9833
|
}));
|
|
9837
9834
|
//#endregion
|
|
9838
9835
|
//#region src/components/off-canvas/OffCanvas.ts
|
|
9839
|
-
var
|
|
9836
|
+
var Wn = class extends HTMLElement {
|
|
9840
9837
|
static get observedAttributes() {
|
|
9841
9838
|
return [
|
|
9842
9839
|
"id",
|
|
@@ -10005,7 +10002,7 @@ var Un = class extends HTMLElement {
|
|
|
10005
10002
|
}, 200);
|
|
10006
10003
|
}
|
|
10007
10004
|
};
|
|
10008
|
-
customElements.get("mint-off-canvas") || a("mint-off-canvas",
|
|
10005
|
+
customElements.get("mint-off-canvas") || a("mint-off-canvas", Wn), s({
|
|
10009
10006
|
name: "search",
|
|
10010
10007
|
viewBox: "0 0 24 24",
|
|
10011
10008
|
path: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z",
|
|
@@ -10014,7 +10011,7 @@ customElements.get("mint-off-canvas") || a("mint-off-canvas", Un), s({
|
|
|
10014
10011
|
});
|
|
10015
10012
|
//#endregion
|
|
10016
10013
|
//#region src/components/resource-table/utility-aliases.js
|
|
10017
|
-
var
|
|
10014
|
+
var Gn = {
|
|
10018
10015
|
"-mr-1": "rtu-8956a4275",
|
|
10019
10016
|
"-translate-y-1/2": "rtu-36b381be4",
|
|
10020
10017
|
"[&>*]:m-0": "rtu-7b41b3d11",
|
|
@@ -10175,7 +10172,7 @@ var Wn = {
|
|
|
10175
10172
|
"z-10": "rtu-236812d64",
|
|
10176
10173
|
"z-20": "rtu-145745bf5",
|
|
10177
10174
|
"z-30": "rtu-0f2fff0ae"
|
|
10178
|
-
},
|
|
10175
|
+
}, Kn = class extends HTMLElement {
|
|
10179
10176
|
constructor(...e) {
|
|
10180
10177
|
super(...e), this._observer = null, this._disposeScrollFade = null;
|
|
10181
10178
|
}
|
|
@@ -10235,10 +10232,10 @@ var Wn = {
|
|
|
10235
10232
|
e.dataset.mtProcessed = "", e.innerHTML = n, Object.entries(t).forEach(([t, n]) => e.setAttribute(t, n));
|
|
10236
10233
|
}
|
|
10237
10234
|
};
|
|
10238
|
-
customElements.get("mint-table") || a("mint-table",
|
|
10235
|
+
customElements.get("mint-table") || a("mint-table", Kn);
|
|
10239
10236
|
//#endregion
|
|
10240
10237
|
//#region src/components/select/NativeSelect.ts
|
|
10241
|
-
var B = "data-mint-native-select-part",
|
|
10238
|
+
var B = "data-mint-native-select-part", qn = class extends HTMLElement {
|
|
10242
10239
|
static get observedAttributes() {
|
|
10243
10240
|
return [
|
|
10244
10241
|
"name",
|
|
@@ -10519,10 +10516,10 @@ var B = "data-mint-native-select-part", Kn = class extends HTMLElement {
|
|
|
10519
10516
|
n && (n.id = `${e}-info`, t.push(n.id)), r && (r.id = `${e}-error`, t.push(r.id)), t.length ? this._select.setAttribute("aria-describedby", Array.from(new Set(t)).join(" ")) : this._select.removeAttribute("aria-describedby");
|
|
10520
10517
|
}
|
|
10521
10518
|
};
|
|
10522
|
-
customElements.get("mint-native-select") || a("mint-native-select",
|
|
10519
|
+
customElements.get("mint-native-select") || a("mint-native-select", qn);
|
|
10523
10520
|
//#endregion
|
|
10524
10521
|
//#region src/components/select/Select.ts
|
|
10525
|
-
var V = "data-mint-select-part",
|
|
10522
|
+
var V = "data-mint-select-part", Jn = class extends HTMLElement {
|
|
10526
10523
|
constructor(...e) {
|
|
10527
10524
|
super(...e), this._native = null, this._trigger = null, this._popover = null, this._list = null, this._prependNodes = [], this._appendNodes = [], this._observer = null, this._syncing = !1, this._typeahead = "", this._typeaheadTimer = null, this._pointerSelectedOption = null, this._id = `mint-select-${Math.random().toString(36).slice(2, 10)}`;
|
|
10528
10525
|
}
|
|
@@ -10845,10 +10842,10 @@ var V = "data-mint-select-part", qn = class extends HTMLElement {
|
|
|
10845
10842
|
t && (this._popover?.hasAttribute("open") || this.openPopover(), t.focus());
|
|
10846
10843
|
}
|
|
10847
10844
|
};
|
|
10848
|
-
customElements.get("mint-select") || a("mint-select",
|
|
10845
|
+
customElements.get("mint-select") || a("mint-select", Jn);
|
|
10849
10846
|
//#endregion
|
|
10850
10847
|
//#region src/components/resource-table/ResourceTable.ts
|
|
10851
|
-
var
|
|
10848
|
+
var Yn = class extends HTMLElement {
|
|
10852
10849
|
static get observedAttributes() {
|
|
10853
10850
|
return [
|
|
10854
10851
|
"configuration",
|
|
@@ -10866,16 +10863,84 @@ var Jn = class extends HTMLElement {
|
|
|
10866
10863
|
return e !== null && e !== "false";
|
|
10867
10864
|
}
|
|
10868
10865
|
constructor() {
|
|
10869
|
-
super(), this._configuration = null, this._rows = [], this._search = "", this._currentPage = 1, this._perPage = 15, this._totalRows = 0, this._lastPage = 0, this._offset = 0, this._loaded = !1, this._fetching = !1, this._loading = !1, this._loadingPage = null, this._fetchError = null, this._searching = !1, this._sorting = !1, this._sortingColumnData = null, this._type = "provided", this._searchTimeoutId = null, this._sortTimeoutId = null, this._searchColumns = [], this._exportColumns = {}, this._columns = [], this._tableId = "", this._searchInput = null, this._tableContainer = null, this._paginationContainer = null, this._skeletonContainer = null, this._inMintCard = !1, this._virtualBodyScrollEl = null, this._disposeVirtualBodyFade = null, this._virtualScrollHandler = null, this._virtualWindowRaf = null, this._virtualLastRangeStart = -1, this._virtualLastRangeEnd = -1, this._virtualLastRangeCacheSig = "", this._virtualResizeObserver = null, this._virtualWindowResizeHandler = null, this._virtualRowCache = /* @__PURE__ */ new Map(), this._virtualRangeFetching = !1, this._mobileListMql = null, this._boundMobileListMqlListener = null, this._boundMobileListViewportListener = null, this._initialMobileLayoutRaf = null, this._initialMobileLayoutTimer = null, this._mobileLayoutResizeObserver = null, this._lastMobileViewportObservedWidth = null, this._lastRenderedMobileLayout = null, this._virtualFetchGeneration = 0, this._virtualAjaxPrefetchTimer = null, this._fixedChromeResizeObserver = null, this._utilityClassObserver = null;
|
|
10866
|
+
super(), this._configuration = null, this._rows = [], this._selectedRowIds = /* @__PURE__ */ new Set(), this._selectedRowCache = /* @__PURE__ */ new Map(), this._search = "", this._currentPage = 1, this._perPage = 15, this._totalRows = 0, this._lastPage = 0, this._offset = 0, this._loaded = !1, this._fetching = !1, this._loading = !1, this._loadingPage = null, this._fetchError = null, this._searching = !1, this._sorting = !1, this._sortingColumnData = null, this._type = "provided", this._searchTimeoutId = null, this._sortTimeoutId = null, this._searchColumns = [], this._exportColumns = {}, this._columns = [], this._tableId = "", this._searchInput = null, this._tableContainer = null, this._paginationContainer = null, this._skeletonContainer = null, this._inMintCard = !1, this._virtualBodyScrollEl = null, this._disposeVirtualBodyFade = null, this._virtualScrollHandler = null, this._virtualWindowRaf = null, this._virtualLastRangeStart = -1, this._virtualLastRangeEnd = -1, this._virtualLastRangeCacheSig = "", this._virtualResizeObserver = null, this._virtualWindowResizeHandler = null, this._virtualRowCache = /* @__PURE__ */ new Map(), this._virtualRangeFetching = !1, this._mobileListMql = null, this._boundMobileListMqlListener = null, this._boundMobileListViewportListener = null, this._initialMobileLayoutRaf = null, this._initialMobileLayoutTimer = null, this._mobileLayoutResizeObserver = null, this._lastMobileViewportObservedWidth = null, this._lastRenderedMobileLayout = null, this._virtualFetchGeneration = 0, this._virtualAjaxPrefetchTimer = null, this._fixedChromeResizeObserver = null, this._utilityClassObserver = null;
|
|
10870
10867
|
}
|
|
10871
10868
|
get inMintCard() {
|
|
10872
10869
|
return this._inMintCard;
|
|
10873
10870
|
}
|
|
10871
|
+
getSelectedIds() {
|
|
10872
|
+
return [...this._selectedRowIds];
|
|
10873
|
+
}
|
|
10874
|
+
getSelectedRows() {
|
|
10875
|
+
return [...this._selectedRowIds].map((e) => this._selectedRowCache.get(e)).filter((e) => e !== void 0);
|
|
10876
|
+
}
|
|
10877
|
+
toggleRowSelection(e) {
|
|
10878
|
+
let t = String(e), n = this._findRowBySelectionKey(t);
|
|
10879
|
+
this._selectedRowIds.has(t) ? this._selectedRowIds.delete(t) : (n !== void 0 && this._selectedRowCache.set(t, n), this._selectedRowIds.add(t)), this._emitSelectionChange();
|
|
10880
|
+
}
|
|
10881
|
+
togglePageSelection() {
|
|
10882
|
+
let e = this._getRows().map((e) => ({
|
|
10883
|
+
id: this._rowSelectionId(e),
|
|
10884
|
+
row: e
|
|
10885
|
+
})).filter((e) => e.id !== null), t = e.map(({ id: e }) => e), n = t.length > 0 && t.every((e) => this._selectedRowIds.has(e));
|
|
10886
|
+
e.forEach(({ id: e, row: t }) => {
|
|
10887
|
+
n ? this._selectedRowIds.delete(e) : (this._selectedRowIds.add(e), this._selectedRowCache.set(e, t));
|
|
10888
|
+
}), this._emitSelectionChange();
|
|
10889
|
+
}
|
|
10890
|
+
clearSelection() {
|
|
10891
|
+
this._selectedRowIds.size && (this._selectedRowIds.clear(), this._selectedRowCache.clear(), this._emitSelectionChange());
|
|
10892
|
+
}
|
|
10893
|
+
_rowSelectionId(e) {
|
|
10894
|
+
if (!this._configuration?.rowSelection) return null;
|
|
10895
|
+
let t = typeof this._configuration.rowSelection == "object" && this._configuration.rowSelection.key || "id", n = e?.[t];
|
|
10896
|
+
return n == null ? null : String(n);
|
|
10897
|
+
}
|
|
10898
|
+
_rememberSelectedRows(e) {
|
|
10899
|
+
e.forEach((e) => {
|
|
10900
|
+
let t = this._rowSelectionId(e);
|
|
10901
|
+
t !== null && this._selectedRowIds.has(t) && this._selectedRowCache.set(t, e);
|
|
10902
|
+
});
|
|
10903
|
+
}
|
|
10904
|
+
_findRowBySelectionKey(e) {
|
|
10905
|
+
return (this._virtualScrollActive() && this._type === "provided" ? this._getAllFilteredRowsSorted() : this._getRows()).find((t) => this._rowSelectionId(t) === e) ?? [...this._virtualRowCache.values()].find((t) => this._rowSelectionId(t) === e) ?? this._selectedRowCache.get(e);
|
|
10906
|
+
}
|
|
10907
|
+
_selectionControlHtml(e) {
|
|
10908
|
+
let t = e !== void 0 && this._selectedRowIds.has(e), n = e === void 0 ? "" : ` data-mint-rt-select-row="${this._escapeHtml(e)}"`, r = e === void 0 ? "Select all rows on this page" : `Select row ${e}`;
|
|
10909
|
+
return `<mint-checkbox class="mint-rt-selection-checkbox" data-mint-rt-selection=""${n} label="${this._escapeHtml(r)}" checked="${t ? "true" : "false"}"></mint-checkbox>`;
|
|
10910
|
+
}
|
|
10911
|
+
_renderSelectionHeader() {
|
|
10912
|
+
return this._configuration?.rowSelection ? `<th class="mint-rt-selection-cell">${this._selectionControlHtml()}</th>` : "";
|
|
10913
|
+
}
|
|
10914
|
+
_renderSelectionCell(e) {
|
|
10915
|
+
if (!this._configuration?.rowSelection) return "";
|
|
10916
|
+
let t = this._rowSelectionId(e);
|
|
10917
|
+
return `<td class="mint-rt-selection-cell">${t === null ? "" : this._selectionControlHtml(t)}</td>`;
|
|
10918
|
+
}
|
|
10919
|
+
_emitSelectionChange() {
|
|
10920
|
+
this._syncSelectionControls(), this.dispatchEvent(new CustomEvent("selection-change", {
|
|
10921
|
+
bubbles: !0,
|
|
10922
|
+
composed: !0,
|
|
10923
|
+
detail: {
|
|
10924
|
+
selectedIds: this.getSelectedIds(),
|
|
10925
|
+
selectedRows: this.getSelectedRows(),
|
|
10926
|
+
selectedCount: this._selectedRowIds.size
|
|
10927
|
+
}
|
|
10928
|
+
}));
|
|
10929
|
+
}
|
|
10930
|
+
_syncSelectionControls() {
|
|
10931
|
+
let e = this._getRows().map((e) => this._rowSelectionId(e)).filter((e) => e !== null), t = e.filter((e) => this._selectedRowIds.has(e)).length, n = this.querySelector("[data-mint-rt-selection]:not([data-mint-rt-select-row])");
|
|
10932
|
+
n && (n.checked = e.length > 0 && t === e.length, n.indeterminate = t > 0 && t < e.length, n.setAttribute("aria-label", n.checked ? "Deselect all rows on this page" : "Select all rows on this page")), this.querySelectorAll("[data-mint-rt-select-row]").forEach((e) => {
|
|
10933
|
+
e.checked = this._selectedRowIds.has(e.dataset.mintRtSelectRow || "");
|
|
10934
|
+
}), this.querySelectorAll("tbody tr[data-row-index]").forEach((e) => {
|
|
10935
|
+
let t = this._getRowDataForEventIndex(Number(e.dataset.rowIndex)), n = t ? this._rowSelectionId(t) : null;
|
|
10936
|
+
e.classList.toggle("mint-rt-row-selected", n !== null && this._selectedRowIds.has(n));
|
|
10937
|
+
});
|
|
10938
|
+
}
|
|
10874
10939
|
get configuration() {
|
|
10875
10940
|
return this._configuration;
|
|
10876
10941
|
}
|
|
10877
10942
|
set configuration(e) {
|
|
10878
|
-
e && typeof e == "object" && !Array.isArray(e) ? (this._configuration = e, this._tableId = this._configuration.id || this._tableId || `mint-resource-table-${Date.now()}`, this._perPage = this._configuration.perPage || 15, this._type = typeof this._configuration.data == "string" ? "ajax" : "provided", this._loaded = !1, this._currentPage = 1, this._offset = 0, this._loadPageFromUrl(), this._loadSearchFromUrl(), this._type === "provided" && Array.isArray(this._configuration.data) && (this._rows = [...this._configuration.data], this._totalRows = this._configuration.data.length), this._initializeColumns(), this.isConnected && this.render()) : e == null ? this._configuration = null : this._parseConfiguration();
|
|
10943
|
+
e && typeof e == "object" && !Array.isArray(e) ? (this._configuration = e, this._tableId = this._configuration.id || this._tableId || `mint-resource-table-${Date.now()}`, this._perPage = this._configuration.perPage || 15, this._type = typeof this._configuration.data == "string" ? "ajax" : "provided", this._loaded = !1, this._currentPage = 1, this._offset = 0, this._loadPageFromUrl(), this._loadSearchFromUrl(), this._type === "provided" && Array.isArray(this._configuration.data) && (this._rows = [...this._configuration.data], this._totalRows = this._configuration.data.length, this._rememberSelectedRows(this._rows)), this._initializeColumns(), this.isConnected && this.render()) : e == null ? this._configuration = null : this._parseConfiguration();
|
|
10879
10944
|
}
|
|
10880
10945
|
connectedCallback() {
|
|
10881
10946
|
this.classList.add("box-border", "m-0", "p-0", "border-0", "align-baseline", "block", "w-full"), this._utilityClassObserver = new MutationObserver(() => this._replaceUtilityClasses()), this._utilityClassObserver.observe(this, {
|
|
@@ -10911,7 +10976,7 @@ var Jn = class extends HTMLElement {
|
|
|
10911
10976
|
this._rows = [], this._totalRows = 0, this._lastPage = 0, this._loaded = !1, this._fetching = !1, this._loading = !1, this._fetchData(void 0, !0, this._perPage, 0);
|
|
10912
10977
|
return;
|
|
10913
10978
|
}
|
|
10914
|
-
this._rows = Array.isArray(e) ? [...e] : [], this._totalRows = this._rows.length, this._lastPage = Math.max(1, Math.ceil(this._totalRows / this._perPage)), this._loaded = !0, this._fetching = !1, this._loading = !1, this.render();
|
|
10979
|
+
this._rows = Array.isArray(e) ? [...e] : [], this._totalRows = this._rows.length, this._rememberSelectedRows(this._rows), this._lastPage = Math.max(1, Math.ceil(this._totalRows / this._perPage)), this._loaded = !0, this._fetching = !1, this._loading = !1, this.render();
|
|
10915
10980
|
}
|
|
10916
10981
|
}
|
|
10917
10982
|
_parseConfiguration() {
|
|
@@ -10921,15 +10986,21 @@ var Jn = class extends HTMLElement {
|
|
|
10921
10986
|
return;
|
|
10922
10987
|
}
|
|
10923
10988
|
try {
|
|
10924
|
-
this._configuration = JSON.parse(e), this._tableId = this._configuration.id || this._tableId || `mint-resource-table-${Date.now()}`, this._perPage = this._configuration.perPage || 15, this._type = typeof this._configuration.data == "string" ? "ajax" : "provided", this._loaded = !1, this._currentPage = this._getPageFromUrl() || 1, this._offset = (this._currentPage - 1) * this._perPage, this._loadSearchFromUrl(), this._type === "provided" && Array.isArray(this._configuration.data) && (this._rows = [...this._configuration.data], this._totalRows = this._configuration.data.length), this._initializeColumns();
|
|
10989
|
+
this._configuration = JSON.parse(e), this._tableId = this._configuration.id || this._tableId || `mint-resource-table-${Date.now()}`, this._perPage = this._configuration.perPage || 15, this._type = typeof this._configuration.data == "string" ? "ajax" : "provided", this._loaded = !1, this._currentPage = this._getPageFromUrl() || 1, this._offset = (this._currentPage - 1) * this._perPage, this._loadSearchFromUrl(), this._type === "provided" && Array.isArray(this._configuration.data) && (this._rows = [...this._configuration.data], this._totalRows = this._configuration.data.length, this._rememberSelectedRows(this._rows)), this._initializeColumns();
|
|
10925
10990
|
} catch (e) {
|
|
10926
10991
|
console.error("mint-resource-table: Invalid configuration JSON", e);
|
|
10927
10992
|
}
|
|
10928
10993
|
}
|
|
10929
10994
|
_initializeColumns() {
|
|
10930
|
-
|
|
10931
|
-
|
|
10932
|
-
|
|
10995
|
+
if (this._configuration) {
|
|
10996
|
+
if (this._searchColumns = [], this._exportColumns = {}, this._columns = [], this._configuration.columns.forEach((e) => {
|
|
10997
|
+
e.searchable && e.data && this._searchColumns.push(e.data), e.export && e.data && (this._exportColumns[e.data] = e.label), e.data && this._columns.push(e.data);
|
|
10998
|
+
}), this._configuration.rowSelection) {
|
|
10999
|
+
let e = typeof this._configuration.rowSelection == "object" && this._configuration.rowSelection.key || "id";
|
|
11000
|
+
this._columns.includes(e) || this._columns.push(e);
|
|
11001
|
+
}
|
|
11002
|
+
this._configuration.sortBy || (this._configuration.sortBy = "id"), this._configuration.sort || (this._configuration.sort = "asc");
|
|
11003
|
+
}
|
|
10933
11004
|
}
|
|
10934
11005
|
async _fetchData(e, t = !0, n, r) {
|
|
10935
11006
|
if (!this._configuration) return;
|
|
@@ -10952,7 +11023,7 @@ var Jn = class extends HTMLElement {
|
|
|
10952
11023
|
let n = i.includes("?") ? "&" : "?", r = await fetch(`${i}${n}${e.toString()}`, t);
|
|
10953
11024
|
if (!r.ok) throw Error(`HTTP error! status: ${r.status}`);
|
|
10954
11025
|
let s = await r.json(), c = s.content?.rows || [], l = s.content?.total || 0, u = c;
|
|
10955
|
-
this._configuration.predefinedData ? (u = [...this._configuration.predefinedData, ...c], this._totalRows = l + this._configuration.predefinedData.length) : this._totalRows = l, this._rows = u;
|
|
11026
|
+
this._configuration.predefinedData ? (u = [...this._configuration.predefinedData, ...c], this._totalRows = l + this._configuration.predefinedData.length) : this._totalRows = l, this._rows = u, this._rememberSelectedRows(this._rows);
|
|
10956
11027
|
let d = Math.floor(o / a) + 1;
|
|
10957
11028
|
s.content?.current_page !== void 0 && s.content.current_page === d ? this._currentPage = s.content.current_page : this._currentPage = d, this._offset = (this._currentPage - 1) * a, this._lastPage = s.content?.last_page || 1, this._fetching = !1, this._loaded = !0, this._loading = !1, this._fetchError = null, this._searching = !1;
|
|
10958
11029
|
let f = this._sorting;
|
|
@@ -11372,8 +11443,8 @@ var Jn = class extends HTMLElement {
|
|
|
11372
11443
|
"dark:border-mint-divider"
|
|
11373
11444
|
],
|
|
11374
11445
|
i ? "cursor-pointer" : ""
|
|
11375
|
-
].filter(Boolean).join(" "), h = `<div class="flex items-center gap-3 py-3 pr-4${a ? " pl-0" : " pl-4"}"
|
|
11376
|
-
if (a) {
|
|
11446
|
+
].filter(Boolean).join(" "), h = `<div class="flex items-center gap-3 py-3 pr-4${a ? " pl-0" : " pl-4"}">`, g = this._rowSelectionId(e);
|
|
11447
|
+
if (g !== null && (h += `<div class="mint-rt-mobile-selection">${this._selectionControlHtml(g)}</div>`), a) {
|
|
11377
11448
|
let e = this._thumbnailMobilePx(a), t = `width:${e}px;height:${e}px;min-width:${e}px;min-height:${e}px`;
|
|
11378
11449
|
h += `<div class="flex shrink-0 items-stretch overflow-hidden rounded-md border border-gray-200 bg-gray-100 p-0 dark:border-mint-divider dark:bg-mint-hover [&>*]:m-0 [&>*]:min-h-0 [&>*]:min-w-0 [&>*]:w-full [&>*]:max-w-full [&>*]:p-0 [&>span]:flex [&>span]:h-full [&>span]:w-full [&>span]:min-h-0 [&>span]:min-w-0 [&>span]:items-stretch [&>span]:justify-stretch [&_img]:!m-0 [&_img]:!box-border [&_img]:!block [&_img]:!h-full [&_img]:!w-full [&_img]:!min-h-0 [&_img]:!min-w-0 [&_img]:!max-h-full [&_img]:!max-w-full [&_img]:!border-0 [&_img]:!p-0 [&_img]:!rounded-none [&_img]:!object-cover [&_img]:!object-center" style="${t}">${c}</div>`;
|
|
11379
11450
|
}
|
|
@@ -11393,7 +11464,7 @@ var Jn = class extends HTMLElement {
|
|
|
11393
11464
|
let r = t.filter((e) => e === "flex").length, i = t.includes("lit"), a = "";
|
|
11394
11465
|
r > 0 && !i && (a = n > 0 ? `width:calc((100% - ${n}px) / ${r});min-width:0` : `width:${100 / r}%;min-width:0`);
|
|
11395
11466
|
let o = "<colgroup>";
|
|
11396
|
-
return e.forEach((e, n) => {
|
|
11467
|
+
return this._configuration.rowSelection && (o += "<col style=\"width:2.75rem;min-width:2.75rem\" />"), e.forEach((e, n) => {
|
|
11397
11468
|
let r = e.width == null ? "" : String(e.width).trim(), i = t[n], s = "";
|
|
11398
11469
|
i === "px" ? s = ` style="width:${r}px;min-width:0"` : i === "lit" ? s = ` style="width:${this._escapeHtml(r)};min-width:0"` : a && (s = ` style="${a}"`), o += `<col${s} />`;
|
|
11399
11470
|
}), o += "</colgroup>", o;
|
|
@@ -11401,7 +11472,7 @@ var Jn = class extends HTMLElement {
|
|
|
11401
11472
|
_buildDataRowHtml(e, t, n = !1) {
|
|
11402
11473
|
if (!this._configuration) return "";
|
|
11403
11474
|
let r = t, i = "", a = typeof this._configuration.onRowClick == "function", o = a ? "cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800" : "", s = a ? " data-row-clickable=\"true\"" : "", c = o ? ` class="${o}"` : "";
|
|
11404
|
-
return i += `<tr data-row-index="${r}"${n ? " data-mint-rt-last-row=\"\"" : ""}${s}${c}>`, this._configuration.columns.forEach((t) => {
|
|
11475
|
+
return i += `<tr data-row-index="${r}"${n ? " data-mint-rt-last-row=\"\"" : ""}${s}${c}>`, i += this._renderSelectionCell(e), this._configuration.columns.forEach((t) => {
|
|
11405
11476
|
if (t.hidden) return;
|
|
11406
11477
|
let n = !t.show || t.show(this, e), a = `${this._getStyle(t)}box-sizing:border-box;vertical-align:middle;`;
|
|
11407
11478
|
i += `<td style="${a}" class="${this._getClasses(t, !0)}">`, i += n ? this._buildTableCellInnerHtml(t, e, r) : "", i += "</td>";
|
|
@@ -11680,14 +11751,14 @@ var Jn = class extends HTMLElement {
|
|
|
11680
11751
|
n.forEach((e, t) => {
|
|
11681
11752
|
c += this._buildMobileListItemHtml(e, t, t === n.length - 1);
|
|
11682
11753
|
let r = typeof this._configuration.onRowClick == "function", i = r ? "cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800" : "";
|
|
11683
|
-
s += `<tr data-row-index="${t}" ${r ? "data-row-clickable=\"true\"" : ""}${i ? ` class="${i}"` : ""}>`, this._configuration.columns.forEach((n) => {
|
|
11754
|
+
s += `<tr data-row-index="${t}" ${r ? "data-row-clickable=\"true\"" : ""}${i ? ` class="${i}"` : ""}>`, s += this._renderSelectionCell(e), this._configuration.columns.forEach((n) => {
|
|
11684
11755
|
if (n.hidden) return;
|
|
11685
11756
|
let r = !n.show || n.show(this, e);
|
|
11686
11757
|
s += `<td style="${this._getStyle(n)}" class="${this._getClasses(n, !0)}">`, r && (s += this._buildTableCellInnerHtml(n, e, t, "table")), s += "</td>";
|
|
11687
11758
|
}), s += "</tr>";
|
|
11688
|
-
}), n.length === 0 && (this._fetchError ? (s += `<tr><td colspan="${this._configuration.columns.filter((e) => !e.hidden).length}" class="text-center py-8 text-red-500 dark:text-red-400">Failed to load data: ${this._escapeHtml(this._fetchError)}</td></tr>`, c += `<li class="list-none px-4 py-8 text-center text-sm text-red-500 dark:text-red-400">Failed to load data: ${this._escapeHtml(this._fetchError)}</li>`) : (s += `<tr><td colspan="${this._configuration.columns.filter((e) => !e.hidden).length}" class="text-center py-8">No data available.</td></tr>`, c += "<li class=\"list-none px-4 py-8 text-center text-sm\">No data available.</li>")), r.innerHTML = s;
|
|
11759
|
+
}), n.length === 0 && (this._fetchError ? (s += `<tr><td colspan="${this._configuration.columns.filter((e) => !e.hidden).length + (this._configuration.rowSelection ? 1 : 0)}" class="text-center py-8 text-red-500 dark:text-red-400">Failed to load data: ${this._escapeHtml(this._fetchError)}</td></tr>`, c += `<li class="list-none px-4 py-8 text-center text-sm text-red-500 dark:text-red-400">Failed to load data: ${this._escapeHtml(this._fetchError)}</li>`) : (s += `<tr><td colspan="${this._configuration.columns.filter((e) => !e.hidden).length + (this._configuration.rowSelection ? 1 : 0)}" class="text-center py-8">No data available.</td></tr>`, c += "<li class=\"list-none px-4 py-8 text-center text-sm\">No data available.</li>")), r.innerHTML = s;
|
|
11689
11760
|
let l = this.querySelector(`ul[data-mint-rt-mobile-list="${this._tableId}"]`);
|
|
11690
|
-
if (l && (l.innerHTML = c), this._attachTableEventListeners(), this._attachRowClickHandler(), a && i) {
|
|
11761
|
+
if (l && (l.innerHTML = c), this._attachTableEventListeners(), this._attachRowClickHandler(), this._syncSelectionControls(), a && i) {
|
|
11691
11762
|
let e = i.querySelector("input") || i._element;
|
|
11692
11763
|
e ? (e.value = o, setTimeout(() => {
|
|
11693
11764
|
e.focus(), e.setSelectionRange(o.length, o.length);
|
|
@@ -11809,7 +11880,7 @@ var Jn = class extends HTMLElement {
|
|
|
11809
11880
|
return e.class && n.push(e.class.trim()), e.align === "center" ? n.push("text-center") : e.align === "right" && n.push("text-right"), e.sortable && !t && n.push("cursor-pointer"), e.stickLeft && n.push("sticky-left"), e.stickRight && n.push("sticky-right"), n.join(" ");
|
|
11810
11881
|
}
|
|
11811
11882
|
_replaceUtilityClasses() {
|
|
11812
|
-
let e =
|
|
11883
|
+
let e = Gn, t = [this, ...Array.from(this.querySelectorAll("[class]"))];
|
|
11813
11884
|
for (let n of t) for (let t of Array.from(n.classList)) {
|
|
11814
11885
|
let r = e[t];
|
|
11815
11886
|
r && n.classList.replace(t, r);
|
|
@@ -11820,7 +11891,7 @@ var Jn = class extends HTMLElement {
|
|
|
11820
11891
|
let i = ["bg-white", "dark:bg-mint-nav"];
|
|
11821
11892
|
e && (i.push("sticky", "z-30"), r ? i.push("top-[var(--mint-rt-fixed-controls-h,0px)]") : i.push("top-0")), t && i.push("border-b", "border-gray-200", "dark:border-mint-divider");
|
|
11822
11893
|
let a = `<thead class="${i.join(" ")}"><tr>`;
|
|
11823
|
-
return this._configuration.columns.forEach((e, t) => {
|
|
11894
|
+
return a += this._renderSelectionHeader(), this._configuration.columns.forEach((e, t) => {
|
|
11824
11895
|
if (e.hidden) return;
|
|
11825
11896
|
let r = n ? "" : ` width="${e.width || ""}"`, i = e.sortable ? " data-mint-rt-sortable=\"\"" : "";
|
|
11826
11897
|
if (a += `<th${r} style="${this._getStyle(e)}" class="${this._getClasses(e)}" data-column-key="${t}"${i}>`, e.showLabel !== !1) {
|
|
@@ -11860,7 +11931,7 @@ var Jn = class extends HTMLElement {
|
|
|
11860
11931
|
}
|
|
11861
11932
|
if ((this._type === "ajax" && !this._loaded || this._type === "provided" && i) && !this._fetchError && !this._sorting) {
|
|
11862
11933
|
let e = this._fixedHeader() ? " data-mint-rt-scroll-inner=\"\"" : "", t = this._fixedHeader() && this._fixedControls(), n = this._fixedHeader() ? t ? "sticky top-[var(--mint-rt-fixed-controls-h,0px)] z-30 " : "sticky top-0 z-30 " : "sticky top-0 z-10 ";
|
|
11863
|
-
a += "<div class=\"min-w-0\">", a += "<mint-table class=\"table-section" + (this._inMintCard ? " rounded-t-none" : "") + "\"" + e + ">", a += `<table id="${this._tableId}">`, a += "<thead class=\"" + n + "bg-white dark:bg-mint-nav border-b border-gray-200 dark:border-mint-divider\"><tr>", this._configuration.columns.forEach((e, t) => {
|
|
11934
|
+
a += "<div class=\"min-w-0\">", a += "<mint-table class=\"table-section" + (this._inMintCard ? " rounded-t-none" : "") + "\"" + e + ">", a += `<table id="${this._tableId}">`, a += "<thead class=\"" + n + "bg-white dark:bg-mint-nav border-b border-gray-200 dark:border-mint-divider\"><tr>", a += this._renderSelectionHeader(), this._configuration.columns.forEach((e, t) => {
|
|
11864
11935
|
if (e.hidden) return;
|
|
11865
11936
|
let n = e.sortable ? " data-mint-rt-sortable=\"\"" : "";
|
|
11866
11937
|
if (a += `<th width="${e.width || ""}" style="${this._getStyle(e)}" class="${this._getClasses(e)}" data-column-key="${t}"${n}>`, e.showLabel !== !1) {
|
|
@@ -11872,7 +11943,7 @@ var Jn = class extends HTMLElement {
|
|
|
11872
11943
|
}
|
|
11873
11944
|
a += "</th>";
|
|
11874
11945
|
}), a += "</tr></thead>", a += "<tbody>";
|
|
11875
|
-
for (let e = 0; e < 4; e++) a += "<tr>", this._configuration.columns.forEach((e) => {
|
|
11946
|
+
for (let e = 0; e < 4; e++) a += "<tr>", this._configuration.rowSelection && (a += "<td class=\"mint-rt-selection-cell\"><div class=\"mint-rt-selection-skeleton\"></div></td>"), this._configuration.columns.forEach((e) => {
|
|
11876
11947
|
if (!e.hidden) {
|
|
11877
11948
|
if (a += `<td style="${this._getStyle(e)}" class="${this._getClasses(e, !0)}">`, e.thumbnail) {
|
|
11878
11949
|
let t = this._thumbnailDesktopPx(e);
|
|
@@ -11891,16 +11962,16 @@ var Jn = class extends HTMLElement {
|
|
|
11891
11962
|
if (a += "<tbody" + (e ? ` data-mint-rt-tbody="${this._tableId}"` : "") + ">", !this._fetching && !this._loading && !i && !e && r.forEach((e, t) => {
|
|
11892
11963
|
d += this._buildMobileListItemHtml(e, t, t === r.length - 1);
|
|
11893
11964
|
let n = typeof this._configuration.onRowClick == "function", i = n ? "cursor-pointer hover:bg-gray-50 dark:hover:bg-mint-elevated" : "";
|
|
11894
|
-
a += `<tr data-row-index="${t}" ${n ? "data-row-clickable=\"true\"" : ""}${i ? ` class="${i}"` : ""}>`, this._configuration.columns.forEach((n) => {
|
|
11965
|
+
a += `<tr data-row-index="${t}" ${n ? "data-row-clickable=\"true\"" : ""}${i ? ` class="${i}"` : ""}>`, a += this._renderSelectionCell(e), this._configuration.columns.forEach((n) => {
|
|
11895
11966
|
if (n.hidden) return;
|
|
11896
11967
|
let r = !n.show || n.show(this, e);
|
|
11897
11968
|
a += `<td style="${this._getStyle(n)}" class="${this._getClasses(n, !0)}">`, r && (a += this._buildTableCellInnerHtml(n, e, t, "table")), a += "</td>";
|
|
11898
11969
|
}), a += "</tr>";
|
|
11899
11970
|
}), !this._fetching && !this._loading && !i && r.length === 0) if (this._fetchError) {
|
|
11900
|
-
let e = this._configuration.columns.filter((e) => !e.hidden).length;
|
|
11971
|
+
let e = this._configuration.columns.filter((e) => !e.hidden).length + (this._configuration.rowSelection ? 1 : 0);
|
|
11901
11972
|
a += `<tr><td colspan="${e}" class="text-center py-8 text-red-500 dark:text-red-400">Failed to load data: ${this._escapeHtml(this._fetchError)}</td></tr>`, d += `<li class="list-none px-4 py-8 text-center text-sm text-red-500 dark:text-red-400">Failed to load data: ${this._escapeHtml(this._fetchError)}</li>`;
|
|
11902
11973
|
} else {
|
|
11903
|
-
let e = this._configuration.columns.filter((e) => !e.hidden).length;
|
|
11974
|
+
let e = this._configuration.columns.filter((e) => !e.hidden).length + (this._configuration.rowSelection ? 1 : 0);
|
|
11904
11975
|
a += `<tr><td colspan="${e}" class="text-center py-8">No data available.</td></tr>`, d += "<li class=\"list-none px-4 py-8 text-center text-sm\">No data available.</li>";
|
|
11905
11976
|
}
|
|
11906
11977
|
a += "</tbody>", a += "</table>", a += "</mint-table>", a += "</div>", a += `<ul class="${u}" data-mint-rt-mobile-list="${this._tableId}">${e && r.length > 0 ? "" : d}</ul>`, e || (a += this._paginationHostPlaceholderHtml()), t && (a += "</div>");
|
|
@@ -11911,13 +11982,13 @@ var Jn = class extends HTMLElement {
|
|
|
11911
11982
|
e.render && e.render();
|
|
11912
11983
|
}), this.querySelectorAll("mint-button[data-button-type]").forEach((e) => {
|
|
11913
11984
|
e.render && e.render();
|
|
11914
|
-
}), this._attachEventListeners(), this._type === "ajax" && !this._loaded && !this._fetching && !this._loading && this._fetchData();
|
|
11985
|
+
}), this._attachEventListeners(), this._syncSelectionControls(), this._type === "ajax" && !this._loaded && !this._fetching && !this._loading && this._fetchData();
|
|
11915
11986
|
}
|
|
11916
11987
|
_attachRowClickHandler() {
|
|
11917
11988
|
this._rowClickHandler && this.removeEventListener("click", this._rowClickHandler, !0);
|
|
11918
11989
|
let e = (e) => {
|
|
11919
11990
|
let t = e.target;
|
|
11920
|
-
if (t.tagName === "MINT-BUTTON" || t.tagName === "BUTTON" || t.closest("mint-button") || t.closest("button") || t.closest("mint-popover") || t.closest("[data-action]")) return;
|
|
11991
|
+
if (t.tagName === "MINT-BUTTON" || t.tagName === "BUTTON" || t.closest("mint-button") || t.closest("button") || t.closest("mint-popover") || t.closest("[data-action]") || t.closest("[data-mint-rt-selection]")) return;
|
|
11921
11992
|
let n = t.closest("tr[data-row-clickable=\"true\"]") || t.closest("li[data-row-clickable=\"true\"]");
|
|
11922
11993
|
if (!n) return;
|
|
11923
11994
|
let r = n.getAttribute("data-row-index");
|
|
@@ -11950,7 +12021,23 @@ var Jn = class extends HTMLElement {
|
|
|
11950
12021
|
});
|
|
11951
12022
|
}
|
|
11952
12023
|
_attachTableEventListeners() {
|
|
11953
|
-
|
|
12024
|
+
let e = this._selectionChangeHandler;
|
|
12025
|
+
e && this.removeEventListener("change", e);
|
|
12026
|
+
let t = (e) => {
|
|
12027
|
+
let t = e.target?.closest("[data-mint-rt-selection]");
|
|
12028
|
+
if (!t) return;
|
|
12029
|
+
e.stopPropagation();
|
|
12030
|
+
let n = t.dataset.mintRtSelectRow;
|
|
12031
|
+
if (n === void 0) this.togglePageSelection();
|
|
12032
|
+
else {
|
|
12033
|
+
if (t.checked) {
|
|
12034
|
+
let e = this._findRowBySelectionKey(n);
|
|
12035
|
+
e !== void 0 && this._selectedRowCache.set(n, e), this._selectedRowIds.add(n);
|
|
12036
|
+
} else this._selectedRowIds.delete(n);
|
|
12037
|
+
this._emitSelectionChange();
|
|
12038
|
+
}
|
|
12039
|
+
};
|
|
12040
|
+
this.addEventListener("change", t), this._selectionChangeHandler = t, this.querySelectorAll("[data-action=\"row-action\"]").forEach((e) => {
|
|
11954
12041
|
e.addEventListener("click", () => {
|
|
11955
12042
|
let t = parseInt(e.getAttribute("data-row-index") || "0"), n = parseInt(e.getAttribute("data-action-index") || "0"), r = parseInt(e.getAttribute("data-column-key") || "0"), i = this._getRowDataForEventIndex(t), a = this._configuration?.columns[r];
|
|
11956
12043
|
a && a.actions && a.actions[n] && i !== void 0 && a.actions[n].onClick(this, i);
|
|
@@ -11972,7 +12059,7 @@ var Jn = class extends HTMLElement {
|
|
|
11972
12059
|
this._search = e.value || t.target.value || "", this._updateSearchInUrl(), this._triggerSearch();
|
|
11973
12060
|
});
|
|
11974
12061
|
}
|
|
11975
|
-
this._attachTableEventListeners(), this._attachRowClickHandler(), this.querySelectorAll("th[data-column-key]").forEach((e) => {
|
|
12062
|
+
this._attachTableEventListeners(), this._attachRowClickHandler(), this._syncSelectionControls(), this.querySelectorAll("th[data-column-key]").forEach((e) => {
|
|
11976
12063
|
e.addEventListener("click", () => {
|
|
11977
12064
|
let t = parseInt(e.getAttribute("data-column-key") || "0"), n = this._configuration?.columns[t];
|
|
11978
12065
|
n && this._toggleSort(n);
|
|
@@ -12025,10 +12112,10 @@ var Jn = class extends HTMLElement {
|
|
|
12025
12112
|
e !== null && (this._currentPage = e, this._offset = (this._currentPage - 1) * this._perPage);
|
|
12026
12113
|
}
|
|
12027
12114
|
};
|
|
12028
|
-
customElements.get("mint-resource-table") || a("mint-resource-table",
|
|
12115
|
+
customElements.get("mint-resource-table") || a("mint-resource-table", Yn);
|
|
12029
12116
|
//#endregion
|
|
12030
12117
|
//#region src/components/resource-table/ResourceTableContextMenu.ts
|
|
12031
|
-
var
|
|
12118
|
+
var Xn = 550, Zn = 12, Qn = { passive: !0 }, $n = class extends HTMLElement {
|
|
12032
12119
|
constructor(...e) {
|
|
12033
12120
|
super(...e), this._table = null, this._anchor = null, this._popover = null, this._menuRoot = null, this._baseId = "", this._touchTimer = null, this._touchStart = null, this._slotObserver = null, this._scrollCloseTargets = [], this._onScrollClose = () => {
|
|
12034
12121
|
this._closePopover();
|
|
@@ -12055,7 +12142,7 @@ var Yn = 550, Xn = 12, Zn = { passive: !0 }, Qn = class extends HTMLElement {
|
|
|
12055
12142
|
let t = e.touches[0];
|
|
12056
12143
|
if (!t) return;
|
|
12057
12144
|
let n = t.clientX - this._touchStart.x, r = t.clientY - this._touchStart.y;
|
|
12058
|
-
n * n + r * r >
|
|
12145
|
+
n * n + r * r > Zn * Zn && (this._clearTouchTimer(), this._touchStart = null);
|
|
12059
12146
|
}, this._onTouchEnd = () => {
|
|
12060
12147
|
this._clearTouchTimer(), this._touchStart = null;
|
|
12061
12148
|
};
|
|
@@ -12078,7 +12165,7 @@ var Yn = 550, Xn = 12, Zn = { passive: !0 }, Qn = class extends HTMLElement {
|
|
|
12078
12165
|
}
|
|
12079
12166
|
_longPressMs() {
|
|
12080
12167
|
let e = parseInt(this.getAttribute("long-press-ms") || "", 10);
|
|
12081
|
-
return !Number.isNaN(e) && e > 100 ? e :
|
|
12168
|
+
return !Number.isNaN(e) && e > 100 ? e : Xn;
|
|
12082
12169
|
}
|
|
12083
12170
|
_resolveTable() {
|
|
12084
12171
|
let e = this.getAttribute("for")?.trim();
|
|
@@ -12132,12 +12219,12 @@ var Yn = 550, Xn = 12, Zn = { passive: !0 }, Qn = class extends HTMLElement {
|
|
|
12132
12219
|
return this._elementIsScrollContainer(e) && r(e), t;
|
|
12133
12220
|
}
|
|
12134
12221
|
_detachScrollCloseListeners() {
|
|
12135
|
-
for (let e of this._scrollCloseTargets) e.removeEventListener("scroll", this._onScrollClose,
|
|
12222
|
+
for (let e of this._scrollCloseTargets) e.removeEventListener("scroll", this._onScrollClose, Qn);
|
|
12136
12223
|
this._scrollCloseTargets = [];
|
|
12137
12224
|
}
|
|
12138
12225
|
_attachScrollCloseListeners(e) {
|
|
12139
12226
|
this._detachScrollCloseListeners(), this._scrollCloseTargets = this._collectScrollCloseTargets(e);
|
|
12140
|
-
for (let e of this._scrollCloseTargets) e.addEventListener("scroll", this._onScrollClose,
|
|
12227
|
+
for (let e of this._scrollCloseTargets) e.addEventListener("scroll", this._onScrollClose, Qn);
|
|
12141
12228
|
}
|
|
12142
12229
|
_closePopover() {
|
|
12143
12230
|
if (this._detachScrollCloseListeners(), !this._popover?.hasAttribute("open")) return;
|
|
@@ -12178,10 +12265,10 @@ var Yn = 550, Xn = 12, Zn = { passive: !0 }, Qn = class extends HTMLElement {
|
|
|
12178
12265
|
l && this._attachScrollCloseListeners(l);
|
|
12179
12266
|
}
|
|
12180
12267
|
};
|
|
12181
|
-
customElements.get("mint-resource-table-context-menu") || a("mint-resource-table-context-menu",
|
|
12268
|
+
customElements.get("mint-resource-table-context-menu") || a("mint-resource-table-context-menu", $n);
|
|
12182
12269
|
//#endregion
|
|
12183
12270
|
//#region src/components/search/Search.ts
|
|
12184
|
-
var
|
|
12271
|
+
var er = class e extends HTMLElement {
|
|
12185
12272
|
constructor(...e) {
|
|
12186
12273
|
super(...e), this._shell = null, this._desktopInput = null, this._panel = null, this._panelInner = null, this._resultsId = "", this._panelInput = null, this._panelFiltersWrap = null, this._panelFiltersMainRow = null, this._panelFiltersChips = null, this._panelFiltersShowAllWrap = null, this._panelFiltersShowAllBtn = null, this._panelFiltersMorePanel = null, this._filtersMoreOpen = !1, this._filterOverflowObserver = null, this._filterOverflowZeroWidthRetries = 0, this._resultsWrap = null, this._stateWrap = null, this._customResultsWrap = null, this._query = "", this._searchOpen = !1, this._selectedFilters = [], this._debounceId = null, this._abortController = null, this._docPointerDownHandler = null, this._globalKeydownHandler = null, this._focusOutHandler = null, this._resizeHandler = null, this._scrollHandler = null, this._desktopShortcutHint = null, this._panelSearchBar = null, this._contentObserver = null, this._renderFrame = null;
|
|
12187
12274
|
}
|
|
@@ -12785,10 +12872,10 @@ var $n = class e extends HTMLElement {
|
|
|
12785
12872
|
this._shell && this._shell.classList.toggle("is-collapsed", e), this._panelSearchBar && (this._panelSearchBar.classList.toggle("is-hidden", !e), this._panelSearchBar.classList.toggle("is-collapsed", e));
|
|
12786
12873
|
}
|
|
12787
12874
|
};
|
|
12788
|
-
customElements.get("mint-search") || a("mint-search",
|
|
12875
|
+
customElements.get("mint-search") || a("mint-search", er);
|
|
12789
12876
|
//#endregion
|
|
12790
12877
|
//#region src/components/side-navigation/SideNavigationLink.ts
|
|
12791
|
-
var
|
|
12878
|
+
var tr = class extends HTMLElement {
|
|
12792
12879
|
constructor(...e) {
|
|
12793
12880
|
super(...e), this._trigger = null, this._submenuContainer = null, this._contentObserver = null, this._renderFrame = null;
|
|
12794
12881
|
}
|
|
@@ -12922,10 +13009,10 @@ var er = class extends HTMLElement {
|
|
|
12922
13009
|
this._hasSubmenu() && !this._isSubmenuItem() ? this._buildDropdownLink() : this._buildSimpleLink();
|
|
12923
13010
|
}
|
|
12924
13011
|
};
|
|
12925
|
-
customElements.get("mint-sidenav-link") || a("mint-sidenav-link",
|
|
13012
|
+
customElements.get("mint-sidenav-link") || a("mint-sidenav-link", tr);
|
|
12926
13013
|
//#endregion
|
|
12927
13014
|
//#region src/components/side-navigation/SideNavigationLinks.ts
|
|
12928
|
-
var
|
|
13015
|
+
var nr = class extends HTMLElement {
|
|
12929
13016
|
constructor(...e) {
|
|
12930
13017
|
super(...e), this._container = null, this._title = null, this._titleLabel = null, this._titleCaret = null, this._titleIsInteractive = null, this._list = null, this._titleClickHandler = null, this._listenerCounts = /* @__PURE__ */ new Map();
|
|
12931
13018
|
}
|
|
@@ -12988,10 +13075,10 @@ var tr = class extends HTMLElement {
|
|
|
12988
13075
|
});
|
|
12989
13076
|
}
|
|
12990
13077
|
};
|
|
12991
|
-
customElements.get("mint-sidenav-links") || a("mint-sidenav-links",
|
|
13078
|
+
customElements.get("mint-sidenav-links") || a("mint-sidenav-links", nr);
|
|
12992
13079
|
//#endregion
|
|
12993
13080
|
//#region src/components/side-navigation/SideNavigationActionLinks.ts
|
|
12994
|
-
var
|
|
13081
|
+
var rr = class extends HTMLElement {
|
|
12995
13082
|
static get observedAttributes() {
|
|
12996
13083
|
return ["separated"];
|
|
12997
13084
|
}
|
|
@@ -13008,10 +13095,10 @@ var nr = class extends HTMLElement {
|
|
|
13008
13095
|
this.className = this._isSeparated() ? "mint-sidenav-action-links is-separated" : "mint-sidenav-action-links";
|
|
13009
13096
|
}
|
|
13010
13097
|
};
|
|
13011
|
-
customElements.get("mint-sidenav-action-links") || a("mint-sidenav-action-links",
|
|
13098
|
+
customElements.get("mint-sidenav-action-links") || a("mint-sidenav-action-links", rr);
|
|
13012
13099
|
//#endregion
|
|
13013
13100
|
//#region src/components/side-navigation/SideNavigationActionMenu.ts
|
|
13014
|
-
var
|
|
13101
|
+
var ir = class extends HTMLElement {
|
|
13015
13102
|
constructor(...e) {
|
|
13016
13103
|
super(...e), this._wrapper = null, this._trigger = null, this._popover = null, this._triggerId = "", this._contentObserver = null, this._renderFrame = null;
|
|
13017
13104
|
}
|
|
@@ -13078,15 +13165,15 @@ var rr = class extends HTMLElement {
|
|
|
13078
13165
|
}) : a.appendChild(this._createDefaultGroup()), this._popover.appendChild(a), this._wrapper.appendChild(this._trigger), this._wrapper.appendChild(this._popover);
|
|
13079
13166
|
}
|
|
13080
13167
|
};
|
|
13081
|
-
customElements.get("mint-sidenav-action-menu") || a("mint-sidenav-action-menu",
|
|
13168
|
+
customElements.get("mint-sidenav-action-menu") || a("mint-sidenav-action-menu", ir);
|
|
13082
13169
|
//#endregion
|
|
13083
13170
|
//#region src/components/side-navigation/SideNavigation.ts
|
|
13084
|
-
var
|
|
13085
|
-
function
|
|
13171
|
+
var ar = "mint:url-change";
|
|
13172
|
+
function or() {
|
|
13086
13173
|
if (window.__mintUrlChangePatched) return;
|
|
13087
13174
|
window.__mintUrlChangePatched = !0;
|
|
13088
13175
|
let e = () => {
|
|
13089
|
-
window.dispatchEvent(new Event(
|
|
13176
|
+
window.dispatchEvent(new Event(ar));
|
|
13090
13177
|
}, t = (t) => {
|
|
13091
13178
|
let n = history[t].bind(history);
|
|
13092
13179
|
history[t] = ((...t) => {
|
|
@@ -13096,7 +13183,7 @@ function ir() {
|
|
|
13096
13183
|
};
|
|
13097
13184
|
t("pushState"), t("replaceState");
|
|
13098
13185
|
}
|
|
13099
|
-
var
|
|
13186
|
+
var sr = class extends HTMLElement {
|
|
13100
13187
|
constructor(...e) {
|
|
13101
13188
|
super(...e), this._backdrop = null, this._container = null, this._header = null, this._content = null, this._disposeContentFade = null, this._footer = null, this._escapeHandler = null, this._mediaQuery = null, this._mediaListener = null, this._accordionHandler = null, this._urlChangeHandler = null, this._contentObserver = null, this._renderFrame = null, this._onMobileNavNavigateClick = (e) => {
|
|
13102
13189
|
if (this._mediaQuery?.matches) return;
|
|
@@ -13159,12 +13246,12 @@ var ar = class extends HTMLElement {
|
|
|
13159
13246
|
this._accordionHandler &&= (this.removeEventListener("mint-sidenav-accordion", this._accordionHandler), null);
|
|
13160
13247
|
}
|
|
13161
13248
|
_attachUrlChangeListener() {
|
|
13162
|
-
this._urlChangeHandler || (
|
|
13249
|
+
this._urlChangeHandler || (or(), this._urlChangeHandler = () => {
|
|
13163
13250
|
this._mediaQuery?.matches || this._isOpen() && this.removeAttribute("open");
|
|
13164
|
-
}, window.addEventListener("popstate", this._urlChangeHandler), window.addEventListener("hashchange", this._urlChangeHandler), window.addEventListener(
|
|
13251
|
+
}, window.addEventListener("popstate", this._urlChangeHandler), window.addEventListener("hashchange", this._urlChangeHandler), window.addEventListener(ar, this._urlChangeHandler));
|
|
13165
13252
|
}
|
|
13166
13253
|
_detachUrlChangeListener() {
|
|
13167
|
-
this._urlChangeHandler &&= (window.removeEventListener("popstate", this._urlChangeHandler), window.removeEventListener("hashchange", this._urlChangeHandler), window.removeEventListener(
|
|
13254
|
+
this._urlChangeHandler &&= (window.removeEventListener("popstate", this._urlChangeHandler), window.removeEventListener("hashchange", this._urlChangeHandler), window.removeEventListener(ar, this._urlChangeHandler), null);
|
|
13168
13255
|
}
|
|
13169
13256
|
_observeContentMutations() {
|
|
13170
13257
|
this._contentObserver ||= new MutationObserver(() => {
|
|
@@ -13222,10 +13309,10 @@ var ar = class extends HTMLElement {
|
|
|
13222
13309
|
this._ensureBackdrop(), this._ensureContainer(), this._syncShell(), this._buildUserHeader(), this._buildContent(), this._buildFooter();
|
|
13223
13310
|
}
|
|
13224
13311
|
};
|
|
13225
|
-
customElements.get("mint-side-navigation") || a("mint-side-navigation",
|
|
13312
|
+
customElements.get("mint-side-navigation") || a("mint-side-navigation", sr);
|
|
13226
13313
|
//#endregion
|
|
13227
13314
|
//#region src/components/side-navigation/index.ts
|
|
13228
|
-
var
|
|
13315
|
+
var cr = sr, H = "mint-sortable-placeholder", U = "mint-sortable-dragging", lr = class e extends HTMLElement {
|
|
13229
13316
|
static get observedAttributes() {
|
|
13230
13317
|
return [
|
|
13231
13318
|
"direction",
|
|
@@ -13296,7 +13383,7 @@ var or = ar, U = "mint-sortable-placeholder", W = "mint-sortable-dragging", sr =
|
|
|
13296
13383
|
let i = e.children[r];
|
|
13297
13384
|
if (i.nodeType !== Node.ELEMENT_NODE) continue;
|
|
13298
13385
|
let a = i;
|
|
13299
|
-
a.classList.contains(
|
|
13386
|
+
a.classList.contains(H) || a.hasAttribute("data-mint-sortable-status") || n.push(a.getAttribute(t) ?? "");
|
|
13300
13387
|
}
|
|
13301
13388
|
return n;
|
|
13302
13389
|
}
|
|
@@ -13322,7 +13409,7 @@ var or = ar, U = "mint-sortable-placeholder", W = "mint-sortable-dragging", sr =
|
|
|
13322
13409
|
_syncKeyboardAccessibility() {
|
|
13323
13410
|
let e = this._resolveListRoot();
|
|
13324
13411
|
e.hasAttribute("role") || e.setAttribute("role", "list"), this._sortStatus || (this._sortStatus = document.createElement("div"), this._sortStatus.className = "mint-sortable-status", this._sortStatus.setAttribute("role", "status"), this._sortStatus.setAttribute("aria-live", "polite"), this._sortStatus.setAttribute("aria-atomic", "true"), this._sortStatus.setAttribute("data-mint-sortable-status", ""), this.appendChild(this._sortStatus)), this._getLayoutChildren().forEach((e) => {
|
|
13325
|
-
e.classList.contains(
|
|
13412
|
+
e.classList.contains(H) || (e.hasAttribute("role") || e.setAttribute("role", "listitem"), e.hasAttribute("tabindex") || (e.tabIndex = 0), e.setAttribute("aria-keyshortcuts", "Alt+ArrowUp Alt+ArrowDown"), e.hasAttribute("aria-roledescription") || e.setAttribute("aria-roledescription", "sortable item"));
|
|
13326
13413
|
});
|
|
13327
13414
|
}
|
|
13328
13415
|
_onKeyboardReorder(e) {
|
|
@@ -13331,7 +13418,7 @@ var or = ar, U = "mint-sortable-placeholder", W = "mint-sortable-dragging", sr =
|
|
|
13331
13418
|
if (n && n !== this) return;
|
|
13332
13419
|
let r = t ? this._closestSortableItem(t) : null;
|
|
13333
13420
|
if (!r || r.hasAttribute("data-sortable-disabled")) return;
|
|
13334
|
-
let i = this._getLayoutChildren().filter((e) => !e.classList.contains(
|
|
13421
|
+
let i = this._getLayoutChildren().filter((e) => !e.classList.contains(H)), a = i.indexOf(r), o = a + (e.key === "ArrowUp" ? -1 : 1);
|
|
13335
13422
|
if (a < 0 || o < 0 || o >= i.length) return;
|
|
13336
13423
|
e.preventDefault();
|
|
13337
13424
|
let s = i[o];
|
|
@@ -13406,7 +13493,7 @@ var or = ar, U = "mint-sortable-placeholder", W = "mint-sortable-dragging", sr =
|
|
|
13406
13493
|
for (; t && t !== this._listRoot;) {
|
|
13407
13494
|
if (t.nodeType === Node.ELEMENT_NODE) {
|
|
13408
13495
|
let e = t;
|
|
13409
|
-
if (e.classList.contains(
|
|
13496
|
+
if (e.classList.contains(H) || e.classList.contains(U)) return null;
|
|
13410
13497
|
if (t.parentElement === this._listRoot) return e;
|
|
13411
13498
|
}
|
|
13412
13499
|
t = t.parentElement;
|
|
@@ -13418,7 +13505,7 @@ var or = ar, U = "mint-sortable-placeholder", W = "mint-sortable-dragging", sr =
|
|
|
13418
13505
|
let n = t.getBoundingClientRect();
|
|
13419
13506
|
this._pointerStartX = e.clientX, this._pointerStartY = e.clientY;
|
|
13420
13507
|
let r = document.createElement("div");
|
|
13421
|
-
r.className =
|
|
13508
|
+
r.className = H, r.style.minHeight = `${n.height}px`, r.style.minWidth = `${n.width}px`, r.setAttribute("aria-hidden", "true"), this._placeholder = r, this._listRoot.insertBefore(r, t), t.classList.add(U), t.style.position = "fixed", t.style.left = `${n.left}px`, t.style.top = `${n.top}px`, t.style.width = `${n.width}px`, t.style.height = `${n.height}px`, t.style.margin = "0", t.style.zIndex = "10000", t.style.boxSizing = "border-box", t.style.pointerEvents = "none", t.style.touchAction = "none", t.style.transform = "translate3d(0, 0, 0) scale(1.015)", t.style.transformOrigin = "center center", t.style.willChange = "transform", t.setPointerCapture(e.pointerId);
|
|
13422
13509
|
let i = this._collectOrderedKeys(), a = {
|
|
13423
13510
|
index: this._startIndex,
|
|
13424
13511
|
itemId: t.getAttribute(this._getItemKeyAttribute()) || "",
|
|
@@ -13441,7 +13528,7 @@ var or = ar, U = "mint-sortable-placeholder", W = "mint-sortable-dragging", sr =
|
|
|
13441
13528
|
let r = this._listRoot.children[n];
|
|
13442
13529
|
if (r.nodeType !== Node.ELEMENT_NODE) continue;
|
|
13443
13530
|
let i = r;
|
|
13444
|
-
if (!i.classList.contains(
|
|
13531
|
+
if (!i.classList.contains(H)) {
|
|
13445
13532
|
if (i === e) return t;
|
|
13446
13533
|
t++;
|
|
13447
13534
|
}
|
|
@@ -13611,7 +13698,7 @@ var or = ar, U = "mint-sortable-placeholder", W = "mint-sortable-dragging", sr =
|
|
|
13611
13698
|
let e = this._originListRoot ?? this._listRoot, n = this._originNextSibling ?? this._restoreAfter;
|
|
13612
13699
|
n && n.parentNode === e ? e.insertBefore(t, n) : e.appendChild(t);
|
|
13613
13700
|
} else n?.parentNode && n.parentNode.insertBefore(t, n);
|
|
13614
|
-
n?.remove(), this._placeholder = null, t.classList.remove(
|
|
13701
|
+
n?.remove(), this._placeholder = null, t.classList.remove(U), t.style.cssText = "";
|
|
13615
13702
|
let d = u ? s : r._indexOfItem(t);
|
|
13616
13703
|
this._pointerId = null, this._dragEl = null, this._restoreAfter = null, this._originListRoot = null, this._originNextSibling = null, this._dropList = null, this._dropAtEnd = !1, this._dropRejected = !1, this._lastPreviewRoot = null, this._lastPreviewIndex = -1;
|
|
13617
13704
|
let f = this._collectOrderedKeys(), p = r._collectOrderedKeys(), m = !u && (!u && a !== o || d !== s), h = t.getAttribute(this._getItemKeyAttribute()) || "", g = {
|
|
@@ -13657,15 +13744,15 @@ var or = ar, U = "mint-sortable-placeholder", W = "mint-sortable-dragging", sr =
|
|
|
13657
13744
|
try {
|
|
13658
13745
|
this._pointerId !== null && this._dragEl.releasePointerCapture(this._pointerId);
|
|
13659
13746
|
} catch {}
|
|
13660
|
-
this._dragEl.classList.remove(
|
|
13747
|
+
this._dragEl.classList.remove(U), this._dragEl.style.cssText = "";
|
|
13661
13748
|
}
|
|
13662
13749
|
this._placeholder?.remove(), this._placeholder = null, this._dragEl = null, this._pointerId = null, this._restoreAfter = null, this._originListRoot = null, this._originNextSibling = null, this._dropList = null, this._dropRejected = !1, this._lastPreviewRoot = null, this._lastPreviewIndex = -1;
|
|
13663
13750
|
}
|
|
13664
13751
|
};
|
|
13665
|
-
customElements.get("mint-sortable") || a("mint-sortable",
|
|
13752
|
+
customElements.get("mint-sortable") || a("mint-sortable", lr);
|
|
13666
13753
|
//#endregion
|
|
13667
13754
|
//#region src/components/tabs/Tab.ts
|
|
13668
|
-
var
|
|
13755
|
+
var ur = class extends HTMLElement {
|
|
13669
13756
|
static get observedAttributes() {
|
|
13670
13757
|
return [
|
|
13671
13758
|
"active",
|
|
@@ -13746,10 +13833,10 @@ var cr = class extends HTMLElement {
|
|
|
13746
13833
|
t.__mintTabsSynthetic = !0, this.dispatchEvent(t);
|
|
13747
13834
|
}
|
|
13748
13835
|
};
|
|
13749
|
-
customElements.get("mint-tab") || a("mint-tab",
|
|
13836
|
+
customElements.get("mint-tab") || a("mint-tab", ur);
|
|
13750
13837
|
//#endregion
|
|
13751
13838
|
//#region src/components/tabs/TabList.ts
|
|
13752
|
-
var
|
|
13839
|
+
var dr = class extends HTMLElement {
|
|
13753
13840
|
static get observedAttributes() {
|
|
13754
13841
|
return ["position", "full-width"];
|
|
13755
13842
|
}
|
|
@@ -13771,10 +13858,10 @@ var lr = class extends HTMLElement {
|
|
|
13771
13858
|
});
|
|
13772
13859
|
}
|
|
13773
13860
|
};
|
|
13774
|
-
customElements.get("mint-tab-list") || a("mint-tab-list",
|
|
13861
|
+
customElements.get("mint-tab-list") || a("mint-tab-list", dr);
|
|
13775
13862
|
//#endregion
|
|
13776
13863
|
//#region src/components/tabs/TabContent.ts
|
|
13777
|
-
var
|
|
13864
|
+
var fr = class extends HTMLElement {
|
|
13778
13865
|
static get observedAttributes() {
|
|
13779
13866
|
return ["id"];
|
|
13780
13867
|
}
|
|
@@ -13812,10 +13899,10 @@ var ur = class extends HTMLElement {
|
|
|
13812
13899
|
this.setAttribute("role", "tabpanel"), this.hasAttribute("tabindex") || this.setAttribute("tabindex", "0");
|
|
13813
13900
|
}
|
|
13814
13901
|
};
|
|
13815
|
-
customElements.get("mint-tab-content") || a("mint-tab-content",
|
|
13902
|
+
customElements.get("mint-tab-content") || a("mint-tab-content", fr);
|
|
13816
13903
|
//#endregion
|
|
13817
13904
|
//#region src/components/tabs/Tabs.ts
|
|
13818
|
-
var
|
|
13905
|
+
var pr = class e extends HTMLElement {
|
|
13819
13906
|
static {
|
|
13820
13907
|
this._id = 0;
|
|
13821
13908
|
}
|
|
@@ -13921,10 +14008,10 @@ var dr = class e extends HTMLElement {
|
|
|
13921
14008
|
});
|
|
13922
14009
|
}
|
|
13923
14010
|
};
|
|
13924
|
-
customElements.get("mint-tabs") || a("mint-tabs",
|
|
14011
|
+
customElements.get("mint-tabs") || a("mint-tabs", pr);
|
|
13925
14012
|
//#endregion
|
|
13926
14013
|
//#region src/components/tags/Tags.ts
|
|
13927
|
-
var
|
|
14014
|
+
var mr = class extends HTMLElement {
|
|
13928
14015
|
constructor(...e) {
|
|
13929
14016
|
super(...e), this._container = null, this._chipsWrap = null, this._input = null, this._tags = [], this._predefinedTags = [], this._placeholder = "Add tag", this._predefinedPopoverOpenListenersAttached = !1, this._predefinedBlurCloseTimer = null, this._suppressNextPredefinedBlurClose = !1, this._dragIndex = null, this._dragChip = null, this._isPointerDragging = !1, this._pointerMoveHandler = null, this._pointerUpHandler = null, this._containerFocusRingListeners = !1, this._predefinedFieldResizeObserver = null, this._predefinedPopoverBodyEl = null;
|
|
13930
14017
|
}
|
|
@@ -14337,10 +14424,10 @@ var fr = class extends HTMLElement {
|
|
|
14337
14424
|
}
|
|
14338
14425
|
}
|
|
14339
14426
|
};
|
|
14340
|
-
customElements.get("mint-tags") || a("mint-tags",
|
|
14427
|
+
customElements.get("mint-tags") || a("mint-tags", mr);
|
|
14341
14428
|
//#endregion
|
|
14342
14429
|
//#region src/components/toast/Toast.ts
|
|
14343
|
-
var
|
|
14430
|
+
var hr = class extends HTMLElement {
|
|
14344
14431
|
constructor(...e) {
|
|
14345
14432
|
super(...e), this._messageEl = null, this._hideTimer = null, this._hideResolve = null, this._bottomNavObserver = null, this._bodyObserver = null;
|
|
14346
14433
|
}
|
|
@@ -14417,11 +14504,11 @@ var pr = class extends HTMLElement {
|
|
|
14417
14504
|
this.classList.toggle("mint-toast-is-open", e), this._messageEl ||= (this.innerHTML = "<div class=\"mint-toast-surface\">\n <span data-mint-toast-message></span>\n </div>", this.querySelector("[data-mint-toast-message]")), this._messageEl && (this._messageEl.textContent = t);
|
|
14418
14505
|
}
|
|
14419
14506
|
};
|
|
14420
|
-
customElements.get("mint-toast") || a("mint-toast",
|
|
14507
|
+
customElements.get("mint-toast") || a("mint-toast", hr);
|
|
14421
14508
|
//#endregion
|
|
14422
14509
|
//#region src/components/toast/ToastApi.ts
|
|
14423
|
-
var
|
|
14424
|
-
function
|
|
14510
|
+
var gr = 2200, W = [], G = !1, K = null;
|
|
14511
|
+
function _r() {
|
|
14425
14512
|
return typeof document > "u" || document.body ? Promise.resolve() : new Promise((e) => {
|
|
14426
14513
|
if (typeof window > "u") {
|
|
14427
14514
|
e();
|
|
@@ -14432,25 +14519,25 @@ function gr() {
|
|
|
14432
14519
|
}, { once: !0 });
|
|
14433
14520
|
});
|
|
14434
14521
|
}
|
|
14435
|
-
async function
|
|
14436
|
-
if (await
|
|
14522
|
+
async function vr() {
|
|
14523
|
+
if (await _r(), typeof document > "u") throw Error("mintui.toast is only available in browser environments.");
|
|
14437
14524
|
let e = document.querySelector("mint-toast[data-mint-toast-root=\"true\"]");
|
|
14438
14525
|
if (e) return e;
|
|
14439
14526
|
let t = document.createElement("mint-toast");
|
|
14440
14527
|
return t.setAttribute("data-mint-toast-root", "true"), document.body.appendChild(t), t;
|
|
14441
14528
|
}
|
|
14442
|
-
async function
|
|
14529
|
+
async function yr() {
|
|
14443
14530
|
if (!G) {
|
|
14444
14531
|
G = !0;
|
|
14445
14532
|
try {
|
|
14446
|
-
for (;
|
|
14447
|
-
let e =
|
|
14533
|
+
for (; W.length > 0;) {
|
|
14534
|
+
let e = W.shift();
|
|
14448
14535
|
if (!e) continue;
|
|
14449
14536
|
let t = e.message.trim().slice(0, 120);
|
|
14450
14537
|
if (!t) continue;
|
|
14451
|
-
let n = await
|
|
14538
|
+
let n = await vr();
|
|
14452
14539
|
K = n;
|
|
14453
|
-
let r = e.options?.duration ??
|
|
14540
|
+
let r = e.options?.duration ?? gr, i = e.options?.type ?? "neutral";
|
|
14454
14541
|
await n.showToast(t, r, i);
|
|
14455
14542
|
}
|
|
14456
14543
|
} finally {
|
|
@@ -14458,21 +14545,21 @@ async function vr() {
|
|
|
14458
14545
|
}
|
|
14459
14546
|
}
|
|
14460
14547
|
}
|
|
14461
|
-
function
|
|
14462
|
-
typeof window > "u" || (
|
|
14548
|
+
function br(e, t) {
|
|
14549
|
+
typeof window > "u" || (W.push({
|
|
14463
14550
|
message: e,
|
|
14464
14551
|
options: t
|
|
14465
|
-
}), G && K && K.hideToast(),
|
|
14552
|
+
}), G && K && K.hideToast(), yr());
|
|
14466
14553
|
}
|
|
14467
|
-
var
|
|
14554
|
+
var xr = { toast: br };
|
|
14468
14555
|
if (typeof window < "u") {
|
|
14469
14556
|
let e = window.mintui || {};
|
|
14470
|
-
e.toast =
|
|
14557
|
+
e.toast = br, window.mintui = e;
|
|
14471
14558
|
}
|
|
14472
14559
|
//#endregion
|
|
14473
14560
|
//#region src/components/tree/tree-utils.js
|
|
14474
14561
|
function q(e = []) {
|
|
14475
|
-
|
|
14562
|
+
wr(e);
|
|
14476
14563
|
let t = (e) => e.map((e) => ({
|
|
14477
14564
|
...e,
|
|
14478
14565
|
children: Array.isArray(e.children) ? t(e.children) : []
|
|
@@ -14501,11 +14588,11 @@ function Y(e, t, n = null) {
|
|
|
14501
14588
|
}
|
|
14502
14589
|
return null;
|
|
14503
14590
|
}
|
|
14504
|
-
function
|
|
14591
|
+
function Sr(e, t, n = 0) {
|
|
14505
14592
|
let r = String(t);
|
|
14506
14593
|
for (let t of e) {
|
|
14507
14594
|
if (String(t.id) === r) return n;
|
|
14508
|
-
let e =
|
|
14595
|
+
let e = Sr(t.children || [], r, n + 1);
|
|
14509
14596
|
if (e >= 0) return e;
|
|
14510
14597
|
}
|
|
14511
14598
|
return -1;
|
|
@@ -14514,10 +14601,10 @@ function X(e) {
|
|
|
14514
14601
|
let t = Array.isArray(e?.children) ? e.children : [];
|
|
14515
14602
|
return t.length ? 1 + Math.max(...t.map(X)) : 1;
|
|
14516
14603
|
}
|
|
14517
|
-
function
|
|
14518
|
-
return String(e.id) === String(t) ? !0 : (e.children || []).some((e) =>
|
|
14604
|
+
function Cr(e, t) {
|
|
14605
|
+
return String(e.id) === String(t) ? !0 : (e.children || []).some((e) => Cr(e, t));
|
|
14519
14606
|
}
|
|
14520
|
-
function
|
|
14607
|
+
function wr(e) {
|
|
14521
14608
|
let t = /* @__PURE__ */ new Set(), n = (e) => {
|
|
14522
14609
|
for (let r of e) {
|
|
14523
14610
|
if (r.id === null || r.id === void 0 || String(r.id) === "") throw Error("Every tree item must have a non-empty identifier.");
|
|
@@ -14528,13 +14615,13 @@ function Cr(e) {
|
|
|
14528
14615
|
};
|
|
14529
14616
|
n(e);
|
|
14530
14617
|
}
|
|
14531
|
-
function
|
|
14618
|
+
function Tr(e, t, n, r, i = {}) {
|
|
14532
14619
|
let a = q(e), o = Y(a, t);
|
|
14533
14620
|
if (!o) throw Error(`Tree item ${t} was not found.`);
|
|
14534
14621
|
if (o.item.disabled || o.item.draggable === !1) throw Error("Disabled tree items cannot be moved.");
|
|
14535
14622
|
let s = n == null || n === "" ? null : J(a, n);
|
|
14536
14623
|
if (n != null && n !== "" && !s) throw Error(`Target parent ${n} was not found.`);
|
|
14537
|
-
if (s &&
|
|
14624
|
+
if (s && Cr(o.item, s.id)) throw Error("A tree item cannot be moved inside itself or one of its descendants.");
|
|
14538
14625
|
if (s?.disabled) throw Error("Disabled tree items cannot contain children.");
|
|
14539
14626
|
if (i.allowNesting === !1 && s) throw Error("Nesting is disabled for this tree.");
|
|
14540
14627
|
if (s?.canHaveChildren === !1) throw Error("The target item cannot contain children.");
|
|
@@ -14542,7 +14629,7 @@ function wr(e, t, n, r, i = {}) {
|
|
|
14542
14629
|
let c = s ? s.children : a, l = o.siblings.findIndex((e) => String(e.id) === String(t)), [u] = o.siblings.splice(l, 1), d = Math.min(Math.max(0, Number.isFinite(r) ? Math.trunc(r) : c.length), c.length);
|
|
14543
14630
|
c.splice(d, 0, u);
|
|
14544
14631
|
let f = Number.isFinite(i.maxDepth) ? Math.max(1, Math.trunc(i.maxDepth)) : Infinity;
|
|
14545
|
-
if ((s ?
|
|
14632
|
+
if ((s ? Sr(a, s.id) + 1 : 0) + X(u) > f) throw Error(`Moving this branch would exceed the maximum tree depth of ${f}.`);
|
|
14546
14633
|
return {
|
|
14547
14634
|
items: a,
|
|
14548
14635
|
item: u,
|
|
@@ -14554,7 +14641,7 @@ function wr(e, t, n, r, i = {}) {
|
|
|
14554
14641
|
}
|
|
14555
14642
|
//#endregion
|
|
14556
14643
|
//#region src/components/tree/Tree.ts
|
|
14557
|
-
var
|
|
14644
|
+
var Er = 0;
|
|
14558
14645
|
function Z(e, t, n) {
|
|
14559
14646
|
e.dispatchEvent(new CustomEvent(t, {
|
|
14560
14647
|
bubbles: !0,
|
|
@@ -14562,7 +14649,7 @@ function Z(e, t, n) {
|
|
|
14562
14649
|
detail: n
|
|
14563
14650
|
}));
|
|
14564
14651
|
}
|
|
14565
|
-
function
|
|
14652
|
+
function Dr(e, t) {
|
|
14566
14653
|
let n = e.getAttribute(t);
|
|
14567
14654
|
return n === "" || n === "true";
|
|
14568
14655
|
}
|
|
@@ -14571,7 +14658,7 @@ function Q(e) {
|
|
|
14571
14658
|
}
|
|
14572
14659
|
var $ = class extends HTMLElement {
|
|
14573
14660
|
constructor(...e) {
|
|
14574
|
-
super(...e), this._items = [], this._undoStack = [], this._redoStack = [], this._selectedId = null, this._expandedIds = /* @__PURE__ */ new Set(), this._root = null, this._confirm = null, this._treeId = `mint-tree-${++
|
|
14661
|
+
super(...e), this._items = [], this._undoStack = [], this._redoStack = [], this._selectedId = null, this._expandedIds = /* @__PURE__ */ new Set(), this._root = null, this._confirm = null, this._treeId = `mint-tree-${++Er}`, this._liveRegion = null, this._dragExpansion = null, this._autoExpandedIds = /* @__PURE__ */ new Set(), this._dragHoverExpandedId = null, this._keyboardFocusRestore = null, this._suppressSelectionClick = !1, this._selectionClickSuppressionTimer = null, this._onClick = (e) => {
|
|
14575
14662
|
let t = e.target instanceof Element ? e.target.closest("[data-tree-command]") : null;
|
|
14576
14663
|
if (!t || !this.contains(t)) return;
|
|
14577
14664
|
let n = t.getAttribute("data-tree-command"), r = t.getAttribute("data-tree-id");
|
|
@@ -14875,13 +14962,13 @@ var $ = class extends HTMLElement {
|
|
|
14875
14962
|
return Number.isFinite(e) && e > 0 ? e : Infinity;
|
|
14876
14963
|
}
|
|
14877
14964
|
_allowNesting() {
|
|
14878
|
-
return !this.hasAttribute("allow-nesting") ||
|
|
14965
|
+
return !this.hasAttribute("allow-nesting") || Dr(this, "allow-nesting");
|
|
14879
14966
|
}
|
|
14880
14967
|
_disabled() {
|
|
14881
|
-
return
|
|
14968
|
+
return Dr(this, "disabled");
|
|
14882
14969
|
}
|
|
14883
14970
|
_isLoading() {
|
|
14884
|
-
return
|
|
14971
|
+
return Dr(this, "loading");
|
|
14885
14972
|
}
|
|
14886
14973
|
_render() {
|
|
14887
14974
|
let e = document.activeElement instanceof HTMLElement ? document.activeElement.closest("[data-mint-tree-row]") : null, t = e && this.contains(e) ? e.getAttribute("data-tree-id") : null;
|
|
@@ -15032,7 +15119,7 @@ var $ = class extends HTMLElement {
|
|
|
15032
15119
|
i = e.parentId, a = e.siblings.findIndex((e) => String(e.id) === n.parentId) + 1;
|
|
15033
15120
|
} else return;
|
|
15034
15121
|
try {
|
|
15035
|
-
let t =
|
|
15122
|
+
let t = Tr(this._items, e, i, a, {
|
|
15036
15123
|
maxDepth: this._maxDepth(),
|
|
15037
15124
|
allowNesting: this._allowNesting()
|
|
15038
15125
|
});
|
|
@@ -15195,7 +15282,7 @@ var $ = class extends HTMLElement {
|
|
|
15195
15282
|
if (!t || t.siblings.indexOf(t.item) <= 0) return;
|
|
15196
15283
|
let n = t.siblings[t.siblings.indexOf(t.item) - 1];
|
|
15197
15284
|
try {
|
|
15198
|
-
let t =
|
|
15285
|
+
let t = Tr(this._items, e, n.id, (n.children || []).length, {
|
|
15199
15286
|
maxDepth: this._maxDepth(),
|
|
15200
15287
|
allowNesting: this._allowNesting()
|
|
15201
15288
|
});
|
|
@@ -15217,7 +15304,7 @@ var $ = class extends HTMLElement {
|
|
|
15217
15304
|
if (!n) return;
|
|
15218
15305
|
let r = n.siblings.findIndex((e) => String(e.id) === t.parentId) + 1;
|
|
15219
15306
|
try {
|
|
15220
|
-
let t =
|
|
15307
|
+
let t = Tr(this._items, e, n.parentId, r, {
|
|
15221
15308
|
maxDepth: this._maxDepth(),
|
|
15222
15309
|
allowNesting: this._allowNesting()
|
|
15223
15310
|
});
|
|
@@ -15238,4 +15325,4 @@ var $ = class extends HTMLElement {
|
|
|
15238
15325
|
};
|
|
15239
15326
|
customElements.get("mint-tree") || a("mint-tree", $);
|
|
15240
15327
|
//#endregion
|
|
15241
|
-
export {
|
|
15328
|
+
export { Tn as Alert, dn as BackButton, Dn as BottomNavigation, M as Button, M as default, cn as Card, On as Chart, bn as Checkbox, kn as Chip, xn as Choice, An as Clickable, jn as Collapsible, Mn as ConfirmAction, zn as DatePicker, Vn as DateTimePicker, Hn as Dropzone, Un as Form, _n as Grid, l as Icon, Rn as Input, ln as Link, En as MintBottomNavItem, L as MintBottomNavigation, rr as MintSidenavActionLinks, ir as MintSidenavActionMenu, tr as MintSidenavLink, nr as MintSidenavLinks, $ as MintTree, $ as Tree, yn as Modal, qn as NativeSelect, wn as Navigation, Wn as OffCanvas, gn as Page, hn as Popover, Yn as ResourceTable, fn as ScrollFade, er as Search, Jn as Select, cr as SideNavigation, lr as Sortable, rn as Spinner, sn as Stack, an as Switch, ur as Tab, fr as TabContent, dr as TabList, Kn as Table, pr as Tabs, mr as Tags, on as Text, Bn as TimePicker, hr as Toast, Ln as confirm, xr as mintui, N as observeScrollFade, br as toast };
|