monobill-mintui 0.6.706 → 0.6.708
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/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/browser.js +2 -2
- package/dist/components/checkbox/index.cjs +1 -1
- package/dist/components/checkbox/index.js +2 -2
- 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-lIFHlWjY.js → back-button-BGzrOtpx.js} +1 -1
- package/dist/components/chunks/{back-button-B7uDpX7F.js → back-button-By8eO_KR.js} +2 -2
- package/dist/components/chunks/{button-imX8FM_Q.js → button-B_yN18B-.js} +1 -1
- package/dist/components/chunks/{button-CUWUQAt8.js → button-JPTyQfRs.js} +2 -2
- package/dist/components/chunks/caret-down-BFHFcMyL.js +1 -0
- package/dist/components/chunks/{caret-down-oeRBseTW.js → caret-down-ZjQN2yKq.js} +1 -1
- package/dist/components/chunks/caret-right--YnEL-Ny.js +1 -0
- package/dist/components/chunks/{caret-right-DMCejGQ6.js → caret-right-BlRbsLlh.js} +1 -1
- package/dist/components/chunks/{chip-BeGxDLpQ.js → chip-BUaS7ks-.js} +1 -1
- package/dist/components/chunks/{chip-CbfqkmGQ.js → chip-XuYPtZ3Z.js} +3 -3
- package/dist/components/chunks/{close-C5b9RhcK.js → close-Cn8XLO1c.js} +1 -1
- package/dist/components/chunks/close-DSrpkGHJ.js +1 -0
- package/dist/components/chunks/{confirm-action-ChDVVaGR.js → confirm-action-86hDdUKT.js} +1 -1
- package/dist/components/chunks/{confirm-action-FF25UbZj.js → confirm-action-CX_FEzCR.js} +2 -2
- package/dist/components/chunks/{date-picker-DGXeCDmc.js → date-picker-Bqre6M4g.js} +4 -4
- package/dist/components/chunks/{date-picker-C5srl0J1.js → date-picker-CBucQNne.js} +1 -1
- package/dist/components/chunks/{icon-B8hR_TFn.js → icon-CWOP4Com.js} +6 -6
- package/dist/components/chunks/icon-D6C1XGp2.js +1 -0
- package/dist/components/chunks/{icon-D7kATeRr.js → icon-hyFz3uhh.js} +181 -171
- package/dist/components/chunks/icon-l34kRIZg.js +1 -0
- package/dist/components/chunks/{input-C1O8znJn.js → input-Br2qLesW.js} +1 -1
- package/dist/components/chunks/{input-B3XZ9L6B.js → input-j6FCwb-x.js} +3 -3
- package/dist/components/chunks/{modal-DEl06xn_.js → modal-BEv3P1P0.js} +2 -2
- package/dist/components/chunks/{modal-CEH_XEC0.js → modal-ux6cqTde.js} +1 -1
- package/dist/components/chunks/{search-EHzNkMA7.js → search-BwjKBnv9.js} +1 -1
- package/dist/components/chunks/search-q3dkl4-X.js +1 -0
- package/dist/components/chunks/{time-picker-DJ_Z6L5m.js → time-picker-CxdBZbER.js} +1 -1
- package/dist/components/chunks/{time-picker-NlZ9LSyD.js → time-picker-DY5emLWw.js} +2 -2
- package/dist/components/chunks/{warning-D4JUMfwk.js → warning-DAYbxh3S.js} +1 -1
- package/dist/components/chunks/{warning-fwqtKFLY.js → warning-DKCaTYO6.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/funnel.d.ts +3 -0
- package/dist/components/icon/icons/funnel.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/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 +2 -2
- package/dist/components/navigation/index.cjs +1 -1
- package/dist/components/navigation/index.js +2 -2
- package/dist/components/off-canvas/browser.js +2 -2
- package/dist/components/off-canvas/index.cjs +1 -1
- package/dist/components/off-canvas/index.js +2 -2
- package/dist/components/page/browser.js +3 -3
- package/dist/components/page/index.cjs +1 -1
- package/dist/components/page/index.js +3 -3
- package/dist/components/resource-table/ResourceTable.d.ts +2 -0
- package/dist/components/resource-table/ResourceTable.d.ts.map +1 -1
- package/dist/components/resource-table/browser.js +56 -49
- package/dist/components/resource-table/index.cjs +2 -2
- package/dist/components/resource-table/index.js +56 -49
- 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 +2 -2
- package/dist/components/select/index.cjs +1 -1
- package/dist/components/select/index.js +2 -2
- package/dist/components/side-navigation/browser.js +4 -4
- package/dist/components/side-navigation/index.cjs +1 -1
- package/dist/components/side-navigation/index.js +4 -4
- 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/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 +3 -3
- package/dist/components/tags/index.cjs +1 -1
- package/dist/components/tags/index.js +3 -3
- 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 +3 -3
- package/dist/components/tree/index.cjs +1 -1
- package/dist/components/tree/index.js +3 -3
- package/dist/icons/funnel.svg +3 -0
- package/dist/index.cjs +11 -11
- package/dist/index.js +386 -369
- package/dist/navigation-search.json +7 -0
- package/package.json +1 -1
- package/dist/components/chunks/caret-down-BC4shv_d.js +0 -1
- package/dist/components/chunks/caret-right-jB9sLJG2.js +0 -1
- package/dist/components/chunks/close-BNbAeJPY.js +0 -1
- package/dist/components/chunks/icon-BQqwHk-o.js +0 -1
- package/dist/components/chunks/icon-CzgI_MCf.js +0 -1
- package/dist/components/chunks/search-TahAPcYA.js +0 -1
package/dist/index.js
CHANGED
|
@@ -631,254 +631,264 @@ var Ce = {
|
|
|
631
631
|
};
|
|
632
632
|
s(Ce);
|
|
633
633
|
//#endregion
|
|
634
|
-
//#region src/components/icon/icons/
|
|
634
|
+
//#region src/components/icon/icons/funnel.js
|
|
635
635
|
var we = {
|
|
636
|
+
name: "funnel",
|
|
637
|
+
viewBox: "0 0 24 24",
|
|
638
|
+
path: "M3 4h18l-7 8v6l-4 2v-8L3 4z",
|
|
639
|
+
strokeLinecap: "round",
|
|
640
|
+
strokeLinejoin: "round"
|
|
641
|
+
};
|
|
642
|
+
s(we);
|
|
643
|
+
//#endregion
|
|
644
|
+
//#region src/components/icon/icons/folder.js
|
|
645
|
+
var Te = {
|
|
636
646
|
name: "folder",
|
|
637
647
|
viewBox: "0 0 24 24",
|
|
638
648
|
path: "M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z",
|
|
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/gavel.js
|
|
645
|
-
var
|
|
655
|
+
var Ee = {
|
|
646
656
|
name: "gavel",
|
|
647
657
|
viewBox: "0 0 24 24",
|
|
648
658
|
path: "M12 12",
|
|
649
659
|
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>"
|
|
650
660
|
};
|
|
651
|
-
s(
|
|
661
|
+
s(Ee);
|
|
652
662
|
//#endregion
|
|
653
663
|
//#region src/components/icon/icons/globe.js
|
|
654
|
-
var
|
|
664
|
+
var De = {
|
|
655
665
|
name: "globe",
|
|
656
666
|
viewBox: "0 0 24 24",
|
|
657
667
|
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",
|
|
658
668
|
strokeLinecap: "round",
|
|
659
669
|
strokeLinejoin: "round"
|
|
660
670
|
};
|
|
661
|
-
s(
|
|
671
|
+
s(De);
|
|
662
672
|
//#endregion
|
|
663
673
|
//#region src/components/icon/icons/grid.js
|
|
664
|
-
var
|
|
674
|
+
var Oe = {
|
|
665
675
|
name: "grid",
|
|
666
676
|
viewBox: "0 0 24 24",
|
|
667
677
|
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",
|
|
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/th.js
|
|
674
|
-
var
|
|
684
|
+
var ke = {
|
|
675
685
|
name: "th",
|
|
676
686
|
viewBox: "0 0 24 24",
|
|
677
687
|
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>"
|
|
678
688
|
};
|
|
679
|
-
s(
|
|
689
|
+
s(ke);
|
|
680
690
|
//#endregion
|
|
681
691
|
//#region src/components/icon/icons/grip-lines.js
|
|
682
|
-
var
|
|
692
|
+
var Ae = {
|
|
683
693
|
name: "grip-lines",
|
|
684
694
|
viewBox: "0 0 24 24",
|
|
685
695
|
path: "M12 12",
|
|
686
696
|
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>"
|
|
687
697
|
};
|
|
688
|
-
s(
|
|
698
|
+
s(Ae);
|
|
689
699
|
//#endregion
|
|
690
700
|
//#region src/components/icon/icons/help.js
|
|
691
|
-
var
|
|
701
|
+
var je = {
|
|
692
702
|
name: "help",
|
|
693
703
|
viewBox: "0 0 24 24",
|
|
694
704
|
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",
|
|
695
705
|
strokeLinecap: "round",
|
|
696
706
|
strokeLinejoin: "round"
|
|
697
707
|
};
|
|
698
|
-
s(
|
|
708
|
+
s(je);
|
|
699
709
|
//#endregion
|
|
700
710
|
//#region src/components/icon/icons/home.js
|
|
701
|
-
var
|
|
711
|
+
var Me = {
|
|
702
712
|
name: "home",
|
|
703
713
|
viewBox: "0 0 24 24",
|
|
704
714
|
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",
|
|
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/image.js
|
|
711
|
-
var
|
|
721
|
+
var Ne = {
|
|
712
722
|
name: "image",
|
|
713
723
|
viewBox: "0 0 24 24",
|
|
714
724
|
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",
|
|
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/info.js
|
|
721
|
-
var
|
|
731
|
+
var Pe = {
|
|
722
732
|
name: "info",
|
|
723
733
|
viewBox: "0 0 24 24",
|
|
724
734
|
path: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
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/language.js
|
|
731
|
-
var
|
|
741
|
+
var Fe = {
|
|
732
742
|
name: "language",
|
|
733
743
|
viewBox: "0 0 24 24",
|
|
734
744
|
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",
|
|
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/line-chart.js
|
|
741
|
-
var
|
|
751
|
+
var Ie = {
|
|
742
752
|
name: "line-chart",
|
|
743
753
|
viewBox: "0 0 24 24",
|
|
744
754
|
path: "M3 20h18M4 18V4m2 11l4-4 3 3 5-6m0 0h-4m4 0v4",
|
|
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/link.js
|
|
751
|
-
var
|
|
761
|
+
var Le = {
|
|
752
762
|
name: "link",
|
|
753
763
|
viewBox: "0 0 24 24",
|
|
754
764
|
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",
|
|
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/list.js
|
|
761
|
-
var
|
|
771
|
+
var Re = {
|
|
762
772
|
name: "list",
|
|
763
773
|
viewBox: "0 0 24 24",
|
|
764
774
|
path: "M8 6h13M5 6h.01M8 12h13M5 12h.01M8 18h13M5 18h.01",
|
|
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/location.js
|
|
771
|
-
var
|
|
781
|
+
var ze = {
|
|
772
782
|
name: "location",
|
|
773
783
|
viewBox: "0 0 24 24",
|
|
774
784
|
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",
|
|
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/lock.js
|
|
781
|
-
var
|
|
791
|
+
var Be = {
|
|
782
792
|
name: "lock",
|
|
783
793
|
viewBox: "0 0 24 24",
|
|
784
794
|
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",
|
|
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/login.js
|
|
791
|
-
var
|
|
801
|
+
var Ve = {
|
|
792
802
|
name: "login",
|
|
793
803
|
viewBox: "0 0 24 24",
|
|
794
804
|
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",
|
|
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/logout.js
|
|
801
|
-
var
|
|
811
|
+
var He = {
|
|
802
812
|
name: "logout",
|
|
803
813
|
viewBox: "0 0 24 24",
|
|
804
814
|
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",
|
|
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/mail.js
|
|
811
|
-
var
|
|
821
|
+
var Ue = {
|
|
812
822
|
name: "mail",
|
|
813
823
|
viewBox: "0 0 24 24",
|
|
814
824
|
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",
|
|
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/map.js
|
|
821
|
-
var
|
|
831
|
+
var We = {
|
|
822
832
|
name: "map",
|
|
823
833
|
viewBox: "0 0 24 24",
|
|
824
834
|
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",
|
|
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/menu.js
|
|
831
|
-
var
|
|
841
|
+
var Ge = {
|
|
832
842
|
name: "menu",
|
|
833
843
|
viewBox: "0 0 24 24",
|
|
834
844
|
path: "M4 6h16M4 12h16M4 18h16",
|
|
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/mobile.js
|
|
841
|
-
var
|
|
851
|
+
var Ke = {
|
|
842
852
|
name: "mobile",
|
|
843
853
|
viewBox: "0 0 24 24",
|
|
844
854
|
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",
|
|
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/moon.js
|
|
851
|
-
var
|
|
861
|
+
var qe = {
|
|
852
862
|
name: "moon",
|
|
853
863
|
viewBox: "0 0 24 24",
|
|
854
864
|
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",
|
|
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/notifications.js
|
|
861
|
-
var
|
|
871
|
+
var Je = {
|
|
862
872
|
name: "notifications",
|
|
863
873
|
viewBox: "0 0 24 24",
|
|
864
874
|
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",
|
|
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/paste.js
|
|
871
|
-
var
|
|
881
|
+
var Ye = {
|
|
872
882
|
name: "paste",
|
|
873
883
|
viewBox: "0 0 24 24",
|
|
874
884
|
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",
|
|
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/pin.js
|
|
881
|
-
var
|
|
891
|
+
var Xe = {
|
|
882
892
|
name: "pin",
|
|
883
893
|
viewBox: "0 0 16 16",
|
|
884
894
|
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",
|
|
@@ -886,270 +896,270 @@ var Ye = {
|
|
|
886
896
|
strokeLinejoin: "round",
|
|
887
897
|
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>"
|
|
888
898
|
};
|
|
889
|
-
s(
|
|
899
|
+
s(Xe);
|
|
890
900
|
//#endregion
|
|
891
901
|
//#region src/components/icon/icons/plus.js
|
|
892
|
-
var
|
|
902
|
+
var Ze = {
|
|
893
903
|
name: "plus",
|
|
894
904
|
viewBox: "0 0 24 24",
|
|
895
905
|
path: "M12 4v16m8-8H4",
|
|
896
906
|
strokeLinecap: "round",
|
|
897
907
|
strokeLinejoin: "round"
|
|
898
908
|
};
|
|
899
|
-
s(
|
|
909
|
+
s(Ze);
|
|
900
910
|
//#endregion
|
|
901
911
|
//#region src/components/icon/icons/print.js
|
|
902
|
-
var
|
|
912
|
+
var Qe = {
|
|
903
913
|
name: "print",
|
|
904
914
|
viewBox: "0 0 24 24",
|
|
905
915
|
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",
|
|
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/qr-code.js
|
|
912
|
-
var
|
|
922
|
+
var $e = {
|
|
913
923
|
name: "qr-code",
|
|
914
924
|
viewBox: "0 0 24 24",
|
|
915
925
|
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",
|
|
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/refresh.js
|
|
922
|
-
var
|
|
932
|
+
var et = {
|
|
923
933
|
name: "refresh",
|
|
924
934
|
viewBox: "0 0 24 24",
|
|
925
935
|
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",
|
|
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/remove.js
|
|
932
|
-
var
|
|
942
|
+
var tt = {
|
|
933
943
|
name: "remove",
|
|
934
944
|
viewBox: "0 0 24 24",
|
|
935
945
|
path: "M20 12H4",
|
|
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/save.js
|
|
942
|
-
var
|
|
952
|
+
var nt = {
|
|
943
953
|
name: "save",
|
|
944
954
|
viewBox: "0 0 24 24",
|
|
945
955
|
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",
|
|
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-alt.js
|
|
952
|
-
var
|
|
962
|
+
var rt = {
|
|
953
963
|
name: "save-alt",
|
|
954
964
|
viewBox: "0 0 24 24",
|
|
955
965
|
path: "M5 3h12l4 4v14H3V3h2zm2 0v6h10V3M7 21v-8h10v8",
|
|
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/search.js
|
|
962
|
-
var
|
|
972
|
+
var it = {
|
|
963
973
|
name: "search",
|
|
964
974
|
viewBox: "0 0 24 24",
|
|
965
975
|
path: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z",
|
|
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/settings.js
|
|
972
|
-
var
|
|
982
|
+
var at = {
|
|
973
983
|
name: "settings",
|
|
974
984
|
viewBox: "0 0 24 24",
|
|
975
985
|
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",
|
|
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/share.js
|
|
982
|
-
var
|
|
992
|
+
var ot = {
|
|
983
993
|
name: "share",
|
|
984
994
|
viewBox: "0 0 24 24",
|
|
985
995
|
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",
|
|
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/sort.js
|
|
992
|
-
var
|
|
1002
|
+
var st = {
|
|
993
1003
|
name: "sort",
|
|
994
1004
|
viewBox: "0 0 24 24",
|
|
995
1005
|
path: "M3 6h18M7 12h10m-7 6h4",
|
|
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-arrows.js
|
|
1002
|
-
var
|
|
1012
|
+
var ct = {
|
|
1003
1013
|
name: "sort-arrows",
|
|
1004
1014
|
viewBox: "0 0 24 24",
|
|
1005
1015
|
path: "M1 5l5-4m0 0l5 4m-5-4v22 M13 19l5 4m0 0l5-4m-5 4V1",
|
|
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/star.js
|
|
1012
|
-
var
|
|
1022
|
+
var lt = {
|
|
1013
1023
|
name: "star",
|
|
1014
1024
|
viewBox: "0 0 24 24",
|
|
1015
1025
|
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",
|
|
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/success.js
|
|
1022
|
-
var
|
|
1032
|
+
var ut = {
|
|
1023
1033
|
name: "success",
|
|
1024
1034
|
viewBox: "0 0 24 24",
|
|
1025
1035
|
path: "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
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/sun.js
|
|
1032
|
-
var
|
|
1042
|
+
var dt = {
|
|
1033
1043
|
name: "sun",
|
|
1034
1044
|
viewBox: "0 0 24 24",
|
|
1035
1045
|
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",
|
|
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/table.js
|
|
1042
|
-
var
|
|
1052
|
+
var ft = {
|
|
1043
1053
|
name: "table",
|
|
1044
1054
|
viewBox: "0 0 24 24",
|
|
1045
1055
|
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",
|
|
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/tablet.js
|
|
1052
|
-
var
|
|
1062
|
+
var pt = {
|
|
1053
1063
|
name: "tablet",
|
|
1054
1064
|
viewBox: "0 0 24 24",
|
|
1055
1065
|
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",
|
|
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/tag.js
|
|
1062
|
-
var
|
|
1072
|
+
var mt = {
|
|
1063
1073
|
name: "tag",
|
|
1064
1074
|
viewBox: "0 0 24 24",
|
|
1065
1075
|
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",
|
|
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/trash.js
|
|
1072
|
-
var
|
|
1082
|
+
var ht = {
|
|
1073
1083
|
name: "trash",
|
|
1074
1084
|
viewBox: "0 0 24 24",
|
|
1075
1085
|
path: "M3 6h18m-2 0v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2",
|
|
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/unlock.js
|
|
1082
|
-
var
|
|
1092
|
+
var gt = {
|
|
1083
1093
|
name: "unlock",
|
|
1084
1094
|
viewBox: "0 0 24 24",
|
|
1085
1095
|
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",
|
|
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/upload.js
|
|
1092
|
-
var
|
|
1102
|
+
var _t = {
|
|
1093
1103
|
name: "upload",
|
|
1094
1104
|
viewBox: "0 0 24 24",
|
|
1095
1105
|
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",
|
|
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/user.js
|
|
1102
|
-
var
|
|
1112
|
+
var vt = {
|
|
1103
1113
|
name: "user",
|
|
1104
1114
|
viewBox: "0 0 24 24",
|
|
1105
1115
|
path: "M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z",
|
|
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-add.js
|
|
1112
|
-
var
|
|
1122
|
+
var yt = {
|
|
1113
1123
|
name: "user-add",
|
|
1114
1124
|
viewBox: "0 0 24 24",
|
|
1115
1125
|
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",
|
|
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/users.js
|
|
1122
|
-
var
|
|
1132
|
+
var bt = {
|
|
1123
1133
|
name: "users",
|
|
1124
1134
|
viewBox: "0 0 24 24",
|
|
1125
1135
|
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",
|
|
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/video.js
|
|
1132
|
-
var
|
|
1142
|
+
var xt = {
|
|
1133
1143
|
name: "video",
|
|
1134
1144
|
viewBox: "0 0 24 24",
|
|
1135
1145
|
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",
|
|
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/warning.js
|
|
1142
|
-
var
|
|
1152
|
+
var St = {
|
|
1143
1153
|
name: "warning",
|
|
1144
1154
|
viewBox: "0 0 24 24",
|
|
1145
1155
|
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",
|
|
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/shopping-cart.js
|
|
1152
|
-
var
|
|
1162
|
+
var Ct = {
|
|
1153
1163
|
name: "shopping-cart",
|
|
1154
1164
|
viewBox: "0 0 24 24",
|
|
1155
1165
|
path: "M3 4h2l2.2 11h10.9l2-7H6m3.2 7-.9 3h10.2M9 21h.01M17 21h.01",
|
|
@@ -1157,10 +1167,10 @@ var St = {
|
|
|
1157
1167
|
strokeLinejoin: "round",
|
|
1158
1168
|
strokeWidth: "1.8"
|
|
1159
1169
|
};
|
|
1160
|
-
s(
|
|
1170
|
+
s(Ct);
|
|
1161
1171
|
//#endregion
|
|
1162
1172
|
//#region src/components/icon/icons/package.js
|
|
1163
|
-
var
|
|
1173
|
+
var wt = {
|
|
1164
1174
|
name: "package",
|
|
1165
1175
|
viewBox: "0 0 24 24",
|
|
1166
1176
|
path: "M3 7l9-4 9 4-9 4-9-4zm0 0v10l9 4 9-4V7M12 11v10M7.5 5l9 4",
|
|
@@ -1168,10 +1178,10 @@ var Ct = {
|
|
|
1168
1178
|
strokeLinejoin: "round",
|
|
1169
1179
|
strokeWidth: "1.8"
|
|
1170
1180
|
};
|
|
1171
|
-
s(
|
|
1181
|
+
s(wt);
|
|
1172
1182
|
//#endregion
|
|
1173
1183
|
//#region src/components/icon/icons/storefront.js
|
|
1174
|
-
var
|
|
1184
|
+
var Tt = {
|
|
1175
1185
|
name: "storefront",
|
|
1176
1186
|
viewBox: "0 0 24 24",
|
|
1177
1187
|
path: "M3 10l2-6h14l2 6M4 10v10h16V10M3 10a3 3 0 006 0 3 3 0 006 0 3 3 0 006 0M10 15v5m4-5v5",
|
|
@@ -1179,10 +1189,10 @@ var wt = {
|
|
|
1179
1189
|
strokeLinejoin: "round",
|
|
1180
1190
|
strokeWidth: "1.8"
|
|
1181
1191
|
};
|
|
1182
|
-
s(
|
|
1192
|
+
s(Tt);
|
|
1183
1193
|
//#endregion
|
|
1184
1194
|
//#region src/components/icon/icons/receipt.js
|
|
1185
|
-
var
|
|
1195
|
+
var Et = {
|
|
1186
1196
|
name: "receipt",
|
|
1187
1197
|
viewBox: "0 0 24 24",
|
|
1188
1198
|
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",
|
|
@@ -1190,10 +1200,10 @@ var Tt = {
|
|
|
1190
1200
|
strokeLinejoin: "round",
|
|
1191
1201
|
strokeWidth: "1.8"
|
|
1192
1202
|
};
|
|
1193
|
-
s(
|
|
1203
|
+
s(Et);
|
|
1194
1204
|
//#endregion
|
|
1195
1205
|
//#region src/components/icon/icons/coupon.js
|
|
1196
|
-
var
|
|
1206
|
+
var Dt = {
|
|
1197
1207
|
name: "coupon",
|
|
1198
1208
|
viewBox: "0 0 24 24",
|
|
1199
1209
|
path: "M4 5h16v4a3 3 0 000 6v4H4v-4a3 3 0 000-6V5zm8 1v2m0 2v2m0 2v2",
|
|
@@ -1201,10 +1211,10 @@ var Et = {
|
|
|
1201
1211
|
strokeLinejoin: "round",
|
|
1202
1212
|
strokeWidth: "1.8"
|
|
1203
1213
|
};
|
|
1204
|
-
s(
|
|
1214
|
+
s(Dt);
|
|
1205
1215
|
//#endregion
|
|
1206
1216
|
//#region src/components/icon/icons/heart.js
|
|
1207
|
-
var
|
|
1217
|
+
var Ot = {
|
|
1208
1218
|
name: "heart",
|
|
1209
1219
|
viewBox: "0 0 24 24",
|
|
1210
1220
|
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",
|
|
@@ -1212,10 +1222,10 @@ var Dt = {
|
|
|
1212
1222
|
strokeLinejoin: "round",
|
|
1213
1223
|
strokeWidth: "1.8"
|
|
1214
1224
|
};
|
|
1215
|
-
s(
|
|
1225
|
+
s(Ot);
|
|
1216
1226
|
//#endregion
|
|
1217
1227
|
//#region src/components/icon/icons/return.js
|
|
1218
|
-
var
|
|
1228
|
+
var kt = {
|
|
1219
1229
|
name: "return",
|
|
1220
1230
|
viewBox: "0 0 24 24",
|
|
1221
1231
|
path: "M9 14l-5-5 5-5M4 9h10a6 6 0 010 12h-3",
|
|
@@ -1223,7 +1233,7 @@ var Ot = {
|
|
|
1223
1233
|
strokeLinejoin: "round",
|
|
1224
1234
|
strokeWidth: "1.8"
|
|
1225
1235
|
};
|
|
1226
|
-
s(
|
|
1236
|
+
s(kt), s({
|
|
1227
1237
|
name: "undo",
|
|
1228
1238
|
viewBox: "0 0 24 24",
|
|
1229
1239
|
path: "M9 14 4 9l5-5M4 9h10a6 6 0 0 1 0 12h-2",
|
|
@@ -1238,7 +1248,7 @@ s(Ot), s({
|
|
|
1238
1248
|
});
|
|
1239
1249
|
//#endregion
|
|
1240
1250
|
//#region src/components/icon/icons/shirt.js
|
|
1241
|
-
var
|
|
1251
|
+
var At = {
|
|
1242
1252
|
name: "shirt",
|
|
1243
1253
|
viewBox: "0 0 24 24",
|
|
1244
1254
|
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",
|
|
@@ -1246,10 +1256,10 @@ var kt = {
|
|
|
1246
1256
|
strokeLinejoin: "round",
|
|
1247
1257
|
strokeWidth: "1.8"
|
|
1248
1258
|
};
|
|
1249
|
-
s(
|
|
1259
|
+
s(At);
|
|
1250
1260
|
//#endregion
|
|
1251
1261
|
//#region src/components/icon/icons/jacket.js
|
|
1252
|
-
var
|
|
1262
|
+
var jt = {
|
|
1253
1263
|
name: "jacket",
|
|
1254
1264
|
viewBox: "0 0 24 24",
|
|
1255
1265
|
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",
|
|
@@ -1257,10 +1267,10 @@ var At = {
|
|
|
1257
1267
|
strokeLinejoin: "round",
|
|
1258
1268
|
strokeWidth: "1.8"
|
|
1259
1269
|
};
|
|
1260
|
-
s(
|
|
1270
|
+
s(jt);
|
|
1261
1271
|
//#endregion
|
|
1262
1272
|
//#region src/components/icon/icons/dress.js
|
|
1263
|
-
var
|
|
1273
|
+
var Mt = {
|
|
1264
1274
|
name: "dress",
|
|
1265
1275
|
viewBox: "0 0 24 24",
|
|
1266
1276
|
path: "M9 4a3 3 0 006 0l2 2-2 4 5 10H4l5-10-2-4 2-2z M9 10h6",
|
|
@@ -1268,10 +1278,10 @@ var jt = {
|
|
|
1268
1278
|
strokeLinejoin: "round",
|
|
1269
1279
|
strokeWidth: "1.8"
|
|
1270
1280
|
};
|
|
1271
|
-
s(
|
|
1281
|
+
s(Mt);
|
|
1272
1282
|
//#endregion
|
|
1273
1283
|
//#region src/components/icon/icons/shoe.js
|
|
1274
|
-
var
|
|
1284
|
+
var Nt = {
|
|
1275
1285
|
name: "shoe",
|
|
1276
1286
|
viewBox: "0 0 24 24",
|
|
1277
1287
|
path: "M3 15l4-1 4-7 3 2-1 3 4 2 4 1v4H3v-4z M11 10l2 1 M9 12l2 1 M7 14l2 1",
|
|
@@ -1279,7 +1289,7 @@ var Mt = {
|
|
|
1279
1289
|
strokeLinejoin: "round",
|
|
1280
1290
|
strokeWidth: "1.8"
|
|
1281
1291
|
};
|
|
1282
|
-
s(
|
|
1292
|
+
s(Nt), s({
|
|
1283
1293
|
name: "grip-dots",
|
|
1284
1294
|
viewBox: "0 0 24 24",
|
|
1285
1295
|
path: "M12 12",
|
|
@@ -1287,7 +1297,7 @@ s(Mt), s({
|
|
|
1287
1297
|
});
|
|
1288
1298
|
//#endregion
|
|
1289
1299
|
//#region src/components/icon/icons/wallet.js
|
|
1290
|
-
var
|
|
1300
|
+
var Pt = {
|
|
1291
1301
|
name: "wallet",
|
|
1292
1302
|
viewBox: "0 0 24 24",
|
|
1293
1303
|
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",
|
|
@@ -1295,10 +1305,10 @@ var Nt = {
|
|
|
1295
1305
|
strokeLinejoin: "round",
|
|
1296
1306
|
strokeWidth: "1.8"
|
|
1297
1307
|
};
|
|
1298
|
-
s(
|
|
1308
|
+
s(Pt);
|
|
1299
1309
|
//#endregion
|
|
1300
1310
|
//#region src/components/icon/icons/gift.js
|
|
1301
|
-
var
|
|
1311
|
+
var Ft = {
|
|
1302
1312
|
name: "gift",
|
|
1303
1313
|
viewBox: "0 0 24 24",
|
|
1304
1314
|
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",
|
|
@@ -1306,10 +1316,10 @@ var Pt = {
|
|
|
1306
1316
|
strokeLinejoin: "round",
|
|
1307
1317
|
strokeWidth: "1.8"
|
|
1308
1318
|
};
|
|
1309
|
-
s(
|
|
1319
|
+
s(Ft);
|
|
1310
1320
|
//#endregion
|
|
1311
1321
|
//#region src/components/icon/icons/support.js
|
|
1312
|
-
var
|
|
1322
|
+
var It = {
|
|
1313
1323
|
name: "support",
|
|
1314
1324
|
viewBox: "0 0 24 24",
|
|
1315
1325
|
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",
|
|
@@ -1317,10 +1327,10 @@ var Ft = {
|
|
|
1317
1327
|
strokeLinejoin: "round",
|
|
1318
1328
|
strokeWidth: "1.8"
|
|
1319
1329
|
};
|
|
1320
|
-
s(
|
|
1330
|
+
s(It);
|
|
1321
1331
|
//#endregion
|
|
1322
1332
|
//#region src/components/icon/icons/shopping-bag.js
|
|
1323
|
-
var
|
|
1333
|
+
var Lt = {
|
|
1324
1334
|
name: "shopping-bag",
|
|
1325
1335
|
viewBox: "0 0 24 24",
|
|
1326
1336
|
path: "M5 8h14l1 13H4L5 8zm4 0V6a3 3 0 016 0v2",
|
|
@@ -1328,10 +1338,10 @@ var It = {
|
|
|
1328
1338
|
strokeLinejoin: "round",
|
|
1329
1339
|
strokeWidth: "1.8"
|
|
1330
1340
|
};
|
|
1331
|
-
s(
|
|
1341
|
+
s(Lt);
|
|
1332
1342
|
//#endregion
|
|
1333
1343
|
//#region src/components/icon/icons/warehouse.js
|
|
1334
|
-
var
|
|
1344
|
+
var Rt = {
|
|
1335
1345
|
name: "warehouse",
|
|
1336
1346
|
viewBox: "0 0 24 24",
|
|
1337
1347
|
path: "M3 10l9-6 9 6v10H3V10zm4 10v-7h10v7m-7-7v7m4-7v7",
|
|
@@ -1339,10 +1349,10 @@ var Lt = {
|
|
|
1339
1349
|
strokeLinejoin: "round",
|
|
1340
1350
|
strokeWidth: "1.8"
|
|
1341
1351
|
};
|
|
1342
|
-
s(
|
|
1352
|
+
s(Rt);
|
|
1343
1353
|
//#endregion
|
|
1344
1354
|
//#region src/components/icon/icons/delivery-location.js
|
|
1345
|
-
var
|
|
1355
|
+
var zt = {
|
|
1346
1356
|
name: "delivery-location",
|
|
1347
1357
|
viewBox: "0 0 24 24",
|
|
1348
1358
|
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",
|
|
@@ -1350,10 +1360,10 @@ var Rt = {
|
|
|
1350
1360
|
strokeLinejoin: "round",
|
|
1351
1361
|
strokeWidth: "1.8"
|
|
1352
1362
|
};
|
|
1353
|
-
s(
|
|
1363
|
+
s(zt);
|
|
1354
1364
|
//#endregion
|
|
1355
1365
|
//#region src/components/icon/icons/order-tracking.js
|
|
1356
|
-
var
|
|
1366
|
+
var Bt = {
|
|
1357
1367
|
name: "order-tracking",
|
|
1358
1368
|
viewBox: "0 0 24 24",
|
|
1359
1369
|
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",
|
|
@@ -1362,10 +1372,10 @@ var zt = {
|
|
|
1362
1372
|
strokeLinejoin: "round",
|
|
1363
1373
|
strokeWidth: "1.8"
|
|
1364
1374
|
};
|
|
1365
|
-
s(
|
|
1375
|
+
s(Bt);
|
|
1366
1376
|
//#endregion
|
|
1367
1377
|
//#region src/components/icon/icons/cash.js
|
|
1368
|
-
var
|
|
1378
|
+
var Vt = {
|
|
1369
1379
|
name: "cash",
|
|
1370
1380
|
viewBox: "0 0 24 24",
|
|
1371
1381
|
path: "M3 6h18v12H3V6zm4 3h.01M17 9h.01M7 15h.01M17 15h.01M12 15a3 3 0 100-6 3 3 0 000 6z",
|
|
@@ -1373,10 +1383,10 @@ var Bt = {
|
|
|
1373
1383
|
strokeLinejoin: "round",
|
|
1374
1384
|
strokeWidth: "1.8"
|
|
1375
1385
|
};
|
|
1376
|
-
s(
|
|
1386
|
+
s(Vt);
|
|
1377
1387
|
//#endregion
|
|
1378
1388
|
//#region src/components/icon/icons/installments.js
|
|
1379
|
-
var
|
|
1389
|
+
var Ht = {
|
|
1380
1390
|
name: "installments",
|
|
1381
1391
|
viewBox: "0 0 24 24",
|
|
1382
1392
|
path: "M4 4h16v16H4V4zm0 4h16m-12 4h2m4 0h2m-8 4h2m4 0h2",
|
|
@@ -1384,10 +1394,10 @@ var Vt = {
|
|
|
1384
1394
|
strokeLinejoin: "round",
|
|
1385
1395
|
strokeWidth: "1.8"
|
|
1386
1396
|
};
|
|
1387
|
-
s(
|
|
1397
|
+
s(Ht);
|
|
1388
1398
|
//#endregion
|
|
1389
1399
|
//#region src/components/icon/icons/invoice.js
|
|
1390
|
-
var
|
|
1400
|
+
var Ut = {
|
|
1391
1401
|
name: "invoice",
|
|
1392
1402
|
viewBox: "0 0 24 24",
|
|
1393
1403
|
path: "M6 3h12v18l-3-2-3 2-3-2-3 2V3zm3 5h6m-6 4h6m-6 4h3",
|
|
@@ -1395,10 +1405,10 @@ var Ht = {
|
|
|
1395
1405
|
strokeLinejoin: "round",
|
|
1396
1406
|
strokeWidth: "1.8"
|
|
1397
1407
|
};
|
|
1398
|
-
s(
|
|
1408
|
+
s(Ut);
|
|
1399
1409
|
//#endregion
|
|
1400
1410
|
//#region src/components/icon/icons/price-label.js
|
|
1401
|
-
var
|
|
1411
|
+
var Wt = {
|
|
1402
1412
|
name: "price-label",
|
|
1403
1413
|
viewBox: "0 0 24 24",
|
|
1404
1414
|
path: "M3 5h10l8 8-8 8-10-10V5zm5 5h.01",
|
|
@@ -1406,10 +1416,10 @@ var Ut = {
|
|
|
1406
1416
|
strokeLinejoin: "round",
|
|
1407
1417
|
strokeWidth: "1.8"
|
|
1408
1418
|
};
|
|
1409
|
-
s(
|
|
1419
|
+
s(Wt);
|
|
1410
1420
|
//#endregion
|
|
1411
1421
|
//#region src/components/icon/icons/sale-burst.js
|
|
1412
|
-
var
|
|
1422
|
+
var Gt = {
|
|
1413
1423
|
name: "sale-burst",
|
|
1414
1424
|
viewBox: "0 0 24 24",
|
|
1415
1425
|
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",
|
|
@@ -1417,10 +1427,10 @@ var Wt = {
|
|
|
1417
1427
|
strokeLinejoin: "miter",
|
|
1418
1428
|
strokeWidth: "1.8"
|
|
1419
1429
|
};
|
|
1420
|
-
s(
|
|
1430
|
+
s(Gt);
|
|
1421
1431
|
//#endregion
|
|
1422
1432
|
//#region src/components/icon/icons/percent-discount.js
|
|
1423
|
-
var
|
|
1433
|
+
var Kt = {
|
|
1424
1434
|
name: "percent-discount",
|
|
1425
1435
|
viewBox: "0 0 24 24",
|
|
1426
1436
|
path: "M19 5L5 19M7 8a2 2 0 110-4 2 2 0 010 4zm10 12a2 2 0 110-4 2 2 0 010 4z",
|
|
@@ -1428,10 +1438,10 @@ var Gt = {
|
|
|
1428
1438
|
strokeLinejoin: "round",
|
|
1429
1439
|
strokeWidth: "1.8"
|
|
1430
1440
|
};
|
|
1431
|
-
s(
|
|
1441
|
+
s(Kt);
|
|
1432
1442
|
//#endregion
|
|
1433
1443
|
//#region src/components/icon/icons/product-review.js
|
|
1434
|
-
var
|
|
1444
|
+
var qt = {
|
|
1435
1445
|
name: "product-review",
|
|
1436
1446
|
viewBox: "0 0 24 24",
|
|
1437
1447
|
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",
|
|
@@ -1439,17 +1449,17 @@ var Kt = {
|
|
|
1439
1449
|
strokeLinejoin: "round",
|
|
1440
1450
|
strokeWidth: "1.8"
|
|
1441
1451
|
};
|
|
1442
|
-
s(
|
|
1443
|
-
var
|
|
1452
|
+
s(qt);
|
|
1453
|
+
var Jt = {
|
|
1444
1454
|
name: "products",
|
|
1445
1455
|
viewBox: "0 0 24 24",
|
|
1446
1456
|
path: "M8 7h3l7 7-9 9-7-7v-5a4 4 0 014-4z",
|
|
1447
1457
|
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>"
|
|
1448
1458
|
};
|
|
1449
|
-
s(
|
|
1459
|
+
s(Jt);
|
|
1450
1460
|
//#endregion
|
|
1451
1461
|
//#region src/components/icon/icons/loyalty-points.js
|
|
1452
|
-
var
|
|
1462
|
+
var Yt = {
|
|
1453
1463
|
name: "loyalty-points",
|
|
1454
1464
|
viewBox: "0 0 24 24",
|
|
1455
1465
|
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",
|
|
@@ -1457,10 +1467,10 @@ var Jt = {
|
|
|
1457
1467
|
strokeLinejoin: "round",
|
|
1458
1468
|
strokeWidth: "1.8"
|
|
1459
1469
|
};
|
|
1460
|
-
s(
|
|
1470
|
+
s(Yt);
|
|
1461
1471
|
//#endregion
|
|
1462
1472
|
//#region src/components/icon/icons/membership.js
|
|
1463
|
-
var
|
|
1473
|
+
var Xt = {
|
|
1464
1474
|
name: "membership",
|
|
1465
1475
|
viewBox: "0 0 24 24",
|
|
1466
1476
|
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",
|
|
@@ -1468,10 +1478,10 @@ var Yt = {
|
|
|
1468
1478
|
strokeLinejoin: "round",
|
|
1469
1479
|
strokeWidth: "1.8"
|
|
1470
1480
|
};
|
|
1471
|
-
s(
|
|
1481
|
+
s(Xt);
|
|
1472
1482
|
//#endregion
|
|
1473
1483
|
//#region src/components/icon/icons/inventory.js
|
|
1474
|
-
var
|
|
1484
|
+
var Zt = {
|
|
1475
1485
|
name: "inventory",
|
|
1476
1486
|
viewBox: "0 0 24 24",
|
|
1477
1487
|
path: "M8 4h8a2 2 0 012 2v1h2v14H4V7h2V6a2 2 0 012-2zm1 0V3h6v1M8 11h8m-8 4h8",
|
|
@@ -1479,10 +1489,10 @@ var Xt = {
|
|
|
1479
1489
|
strokeLinejoin: "round",
|
|
1480
1490
|
strokeWidth: "1.8"
|
|
1481
1491
|
};
|
|
1482
|
-
s(
|
|
1492
|
+
s(Zt);
|
|
1483
1493
|
//#endregion
|
|
1484
1494
|
//#region src/components/icon/icons/out-of-stock.js
|
|
1485
|
-
var
|
|
1495
|
+
var Qt = {
|
|
1486
1496
|
name: "out-of-stock",
|
|
1487
1497
|
viewBox: "0 0 24 24",
|
|
1488
1498
|
path: "M4 5h16v14H4V5zm3 3l10 8m0-8L7 16m-3 5h16",
|
|
@@ -1490,10 +1500,10 @@ var Zt = {
|
|
|
1490
1500
|
strokeLinejoin: "round",
|
|
1491
1501
|
strokeWidth: "1.8"
|
|
1492
1502
|
};
|
|
1493
|
-
s(
|
|
1503
|
+
s(Qt);
|
|
1494
1504
|
//#endregion
|
|
1495
1505
|
//#region src/components/icon/icons/pickup.js
|
|
1496
|
-
var
|
|
1506
|
+
var $t = {
|
|
1497
1507
|
name: "pickup",
|
|
1498
1508
|
viewBox: "0 0 24 24",
|
|
1499
1509
|
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",
|
|
@@ -1501,10 +1511,10 @@ var Qt = {
|
|
|
1501
1511
|
strokeLinejoin: "round",
|
|
1502
1512
|
strokeWidth: "1.8"
|
|
1503
1513
|
};
|
|
1504
|
-
s(
|
|
1514
|
+
s($t);
|
|
1505
1515
|
//#endregion
|
|
1506
1516
|
//#region src/components/icon/icons/secure-checkout.js
|
|
1507
|
-
var
|
|
1517
|
+
var en = {
|
|
1508
1518
|
name: "secure-checkout",
|
|
1509
1519
|
viewBox: "0 0 24 24",
|
|
1510
1520
|
path: "M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6l7-3zm-3 9l2 2 4-4",
|
|
@@ -1512,10 +1522,10 @@ var $t = {
|
|
|
1512
1522
|
strokeLinejoin: "round",
|
|
1513
1523
|
strokeWidth: "1.8"
|
|
1514
1524
|
};
|
|
1515
|
-
s(
|
|
1525
|
+
s(en);
|
|
1516
1526
|
//#endregion
|
|
1517
1527
|
//#region src/components/icon/icons/refund.js
|
|
1518
|
-
var
|
|
1528
|
+
var tn = {
|
|
1519
1529
|
name: "refund",
|
|
1520
1530
|
viewBox: "0 0 24 24",
|
|
1521
1531
|
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",
|
|
@@ -1523,7 +1533,7 @@ var en = {
|
|
|
1523
1533
|
strokeLinejoin: "round",
|
|
1524
1534
|
strokeWidth: "1.5"
|
|
1525
1535
|
};
|
|
1526
|
-
s(
|
|
1536
|
+
s(tn), s({
|
|
1527
1537
|
name: "ruler",
|
|
1528
1538
|
viewBox: "0 0 24 24",
|
|
1529
1539
|
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",
|
|
@@ -1665,10 +1675,10 @@ s(en), s({
|
|
|
1665
1675
|
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",
|
|
1666
1676
|
strokeLinecap: "round",
|
|
1667
1677
|
strokeLinejoin: "round"
|
|
1668
|
-
}), 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);
|
|
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);
|
|
1669
1679
|
//#endregion
|
|
1670
1680
|
//#region src/components/spinner/Spinner.js
|
|
1671
|
-
var
|
|
1681
|
+
var nn = class extends HTMLElement {
|
|
1672
1682
|
static get observedAttributes() {
|
|
1673
1683
|
return [
|
|
1674
1684
|
"size",
|
|
@@ -1771,7 +1781,7 @@ var tn = class extends HTMLElement {
|
|
|
1771
1781
|
`.trim();
|
|
1772
1782
|
}
|
|
1773
1783
|
};
|
|
1774
|
-
typeof customElements < "u" && !customElements.get("mint-spinner") && a("mint-spinner",
|
|
1784
|
+
typeof customElements < "u" && !customElements.get("mint-spinner") && a("mint-spinner", nn);
|
|
1775
1785
|
//#endregion
|
|
1776
1786
|
//#region src/components/button/Button.ts
|
|
1777
1787
|
var M = class extends HTMLElement {
|
|
@@ -2166,7 +2176,7 @@ var M = class extends HTMLElement {
|
|
|
2166
2176
|
customElements.get("mint-button") || a("mint-button", M);
|
|
2167
2177
|
//#endregion
|
|
2168
2178
|
//#region src/components/switch/Switch.js
|
|
2169
|
-
var
|
|
2179
|
+
var rn = class extends HTMLElement {
|
|
2170
2180
|
static get observedAttributes() {
|
|
2171
2181
|
return [
|
|
2172
2182
|
"checked",
|
|
@@ -2347,10 +2357,10 @@ var nn = class extends HTMLElement {
|
|
|
2347
2357
|
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");
|
|
2348
2358
|
}
|
|
2349
2359
|
};
|
|
2350
|
-
customElements.get("mint-switch") || a("mint-switch",
|
|
2360
|
+
customElements.get("mint-switch") || a("mint-switch", rn);
|
|
2351
2361
|
//#endregion
|
|
2352
2362
|
//#region src/components/text/Text.js
|
|
2353
|
-
var
|
|
2363
|
+
var an = class extends HTMLElement {
|
|
2354
2364
|
static get observedAttributes() {
|
|
2355
2365
|
return [
|
|
2356
2366
|
"variant",
|
|
@@ -2412,10 +2422,10 @@ var rn = class extends HTMLElement {
|
|
|
2412
2422
|
}
|
|
2413
2423
|
render() {}
|
|
2414
2424
|
};
|
|
2415
|
-
typeof customElements < "u" && !customElements.get("mint-text") && a("mint-text",
|
|
2425
|
+
typeof customElements < "u" && !customElements.get("mint-text") && a("mint-text", an);
|
|
2416
2426
|
//#endregion
|
|
2417
2427
|
//#region src/components/stack/Stack.js
|
|
2418
|
-
var
|
|
2428
|
+
var on = class extends HTMLElement {
|
|
2419
2429
|
static get observedAttributes() {
|
|
2420
2430
|
return [
|
|
2421
2431
|
"direction",
|
|
@@ -2463,10 +2473,10 @@ var an = class extends HTMLElement {
|
|
|
2463
2473
|
}[t] : "flex-start"), this.style.setProperty("--mint-stack-text-align", n || "initial");
|
|
2464
2474
|
}
|
|
2465
2475
|
};
|
|
2466
|
-
typeof customElements < "u" && !customElements.get("mint-stack") && a("mint-stack",
|
|
2476
|
+
typeof customElements < "u" && !customElements.get("mint-stack") && a("mint-stack", on);
|
|
2467
2477
|
//#endregion
|
|
2468
2478
|
//#region src/components/card/Card.js
|
|
2469
|
-
var
|
|
2479
|
+
var sn = class extends HTMLElement {
|
|
2470
2480
|
static get observedAttributes() {
|
|
2471
2481
|
return ["heading", "flush"];
|
|
2472
2482
|
}
|
|
@@ -2496,10 +2506,10 @@ var on = class extends HTMLElement {
|
|
|
2496
2506
|
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);
|
|
2497
2507
|
}
|
|
2498
2508
|
};
|
|
2499
|
-
typeof customElements < "u" && !customElements.get("mint-card") && a("mint-card",
|
|
2509
|
+
typeof customElements < "u" && !customElements.get("mint-card") && a("mint-card", sn);
|
|
2500
2510
|
//#endregion
|
|
2501
2511
|
//#region src/components/link/Link.js
|
|
2502
|
-
var
|
|
2512
|
+
var cn = class extends HTMLElement {
|
|
2503
2513
|
static get observedAttributes() {
|
|
2504
2514
|
return ["href", "target"];
|
|
2505
2515
|
}
|
|
@@ -2532,7 +2542,7 @@ var sn = class extends HTMLElement {
|
|
|
2532
2542
|
this._link.className = n.filter(Boolean).join(" ");
|
|
2533
2543
|
}
|
|
2534
2544
|
};
|
|
2535
|
-
typeof customElements < "u" && !customElements.get("mint-link") && a("mint-link",
|
|
2545
|
+
typeof customElements < "u" && !customElements.get("mint-link") && a("mint-link", cn), s({
|
|
2536
2546
|
name: "arrow-left",
|
|
2537
2547
|
viewBox: "0 0 24 24",
|
|
2538
2548
|
path: "M19 12H5m7-7l-7 7 7 7",
|
|
@@ -2541,7 +2551,7 @@ typeof customElements < "u" && !customElements.get("mint-link") && a("mint-link"
|
|
|
2541
2551
|
});
|
|
2542
2552
|
//#endregion
|
|
2543
2553
|
//#region src/components/button/Button.js
|
|
2544
|
-
var
|
|
2554
|
+
var ln = class extends HTMLElement {
|
|
2545
2555
|
static get observedAttributes() {
|
|
2546
2556
|
return [
|
|
2547
2557
|
"variant",
|
|
@@ -2717,10 +2727,10 @@ var cn = class extends HTMLElement {
|
|
|
2717
2727
|
});
|
|
2718
2728
|
}
|
|
2719
2729
|
};
|
|
2720
|
-
typeof customElements < "u" && !customElements.get("mint-button") && a("mint-button",
|
|
2730
|
+
typeof customElements < "u" && !customElements.get("mint-button") && a("mint-button", ln);
|
|
2721
2731
|
//#endregion
|
|
2722
2732
|
//#region src/components/back-button/BackButton.js
|
|
2723
|
-
var
|
|
2733
|
+
var un = class extends HTMLElement {
|
|
2724
2734
|
static get observedAttributes() {
|
|
2725
2735
|
return ["href", "fallback-href"];
|
|
2726
2736
|
}
|
|
@@ -2764,7 +2774,7 @@ var ln = class extends HTMLElement {
|
|
|
2764
2774
|
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));
|
|
2765
2775
|
}
|
|
2766
2776
|
};
|
|
2767
|
-
typeof customElements < "u" && !customElements.get("mint-back-button") && a("mint-back-button",
|
|
2777
|
+
typeof customElements < "u" && !customElements.get("mint-back-button") && a("mint-back-button", un);
|
|
2768
2778
|
//#endregion
|
|
2769
2779
|
//#region src/components/scroll-fade/ScrollFade.ts
|
|
2770
2780
|
function N(e, t = "vertical", n = "1.5rem") {
|
|
@@ -2800,7 +2810,7 @@ function N(e, t = "vertical", n = "1.5rem") {
|
|
|
2800
2810
|
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");
|
|
2801
2811
|
};
|
|
2802
2812
|
}
|
|
2803
|
-
var
|
|
2813
|
+
var dn = class extends HTMLElement {
|
|
2804
2814
|
constructor(...e) {
|
|
2805
2815
|
super(...e), this._disposeFade = null, this._target = null, this._contentObserver = null;
|
|
2806
2816
|
}
|
|
@@ -2844,16 +2854,16 @@ var un = class extends HTMLElement {
|
|
|
2844
2854
|
].includes(r) ? r : "vertical", this.getAttribute("fade-size") || "1.5rem");
|
|
2845
2855
|
}
|
|
2846
2856
|
};
|
|
2847
|
-
customElements.get("mint-scroll-fade") || a("mint-scroll-fade",
|
|
2857
|
+
customElements.get("mint-scroll-fade") || a("mint-scroll-fade", dn);
|
|
2848
2858
|
//#endregion
|
|
2849
2859
|
//#region src/components/popover/Popover.js
|
|
2850
|
-
var
|
|
2860
|
+
var fn = new Set([
|
|
2851
2861
|
"up",
|
|
2852
2862
|
"down",
|
|
2853
2863
|
"left",
|
|
2854
2864
|
"right"
|
|
2855
2865
|
]);
|
|
2856
|
-
function
|
|
2866
|
+
function pn(e) {
|
|
2857
2867
|
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);
|
|
2858
2868
|
for (let t = e.parentElement; t && t !== document.body; t = t.parentElement) {
|
|
2859
2869
|
let e = getComputedStyle(t), o = t.getBoundingClientRect();
|
|
@@ -2861,7 +2871,7 @@ function fn(e) {
|
|
|
2861
2871
|
}
|
|
2862
2872
|
return i > n && r > a;
|
|
2863
2873
|
}
|
|
2864
|
-
var
|
|
2874
|
+
var mn = class extends HTMLElement {
|
|
2865
2875
|
static get observedAttributes() {
|
|
2866
2876
|
return [
|
|
2867
2877
|
"direction",
|
|
@@ -2891,7 +2901,7 @@ var pn = class extends HTMLElement {
|
|
|
2891
2901
|
}
|
|
2892
2902
|
getDirection() {
|
|
2893
2903
|
let e = this.getAttribute("direction") || "down";
|
|
2894
|
-
return
|
|
2904
|
+
return fn.has(e) ? e : "down";
|
|
2895
2905
|
}
|
|
2896
2906
|
getTriggerId() {
|
|
2897
2907
|
return this.getAttribute("trigger-id") || "";
|
|
@@ -2957,7 +2967,7 @@ var pn = class extends HTMLElement {
|
|
|
2957
2967
|
let t = e.target;
|
|
2958
2968
|
if (!(t instanceof Node && (t === this || this.contains(t)))) {
|
|
2959
2969
|
if (this.classList.contains("mint-select-popover")) {
|
|
2960
|
-
!this._trigger || !
|
|
2970
|
+
!this._trigger || !pn(this._trigger) ? this.close() : (this._position({
|
|
2961
2971
|
allowViewportFlip: !1,
|
|
2962
2972
|
clampToViewport: !1
|
|
2963
2973
|
}), this._alignSelectedOptionToTrigger());
|
|
@@ -3104,10 +3114,10 @@ var pn = class extends HTMLElement {
|
|
|
3104
3114
|
} else this.dataset.state = "closed";
|
|
3105
3115
|
}
|
|
3106
3116
|
};
|
|
3107
|
-
typeof customElements < "u" && !customElements.get("mint-popover") && a("mint-popover",
|
|
3117
|
+
typeof customElements < "u" && !customElements.get("mint-popover") && a("mint-popover", mn);
|
|
3108
3118
|
//#endregion
|
|
3109
3119
|
//#region src/components/page/Page.js
|
|
3110
|
-
var
|
|
3120
|
+
var hn = class extends HTMLElement {
|
|
3111
3121
|
static get observedAttributes() {
|
|
3112
3122
|
return [
|
|
3113
3123
|
"heading",
|
|
@@ -3231,19 +3241,19 @@ var mn = class extends HTMLElement {
|
|
|
3231
3241
|
this.dispatchEvent(i) && (n && window.history.length > 1 ? window.history.back() : window.location.href = this.getFallbackHref());
|
|
3232
3242
|
}
|
|
3233
3243
|
};
|
|
3234
|
-
typeof customElements < "u" && !customElements.get("mint-page") && a("mint-page",
|
|
3244
|
+
typeof customElements < "u" && !customElements.get("mint-page") && a("mint-page", hn);
|
|
3235
3245
|
//#endregion
|
|
3236
3246
|
//#region src/components/grid/Grid.js
|
|
3237
|
-
var
|
|
3247
|
+
var gn = class extends HTMLElement {
|
|
3238
3248
|
constructor() {
|
|
3239
3249
|
super();
|
|
3240
3250
|
}
|
|
3241
3251
|
};
|
|
3242
|
-
typeof customElements < "u" && !customElements.get("mint-grid") && a("mint-grid",
|
|
3252
|
+
typeof customElements < "u" && !customElements.get("mint-grid") && a("mint-grid", gn);
|
|
3243
3253
|
//#endregion
|
|
3244
3254
|
//#region src/components/modal/Modal.js
|
|
3245
3255
|
var P = /* @__PURE__ */ new Set(), F = null;
|
|
3246
|
-
function
|
|
3256
|
+
function _n(e) {
|
|
3247
3257
|
if (!P.has(e)) {
|
|
3248
3258
|
if (P.size === 0) {
|
|
3249
3259
|
let e = document.documentElement;
|
|
@@ -3267,7 +3277,7 @@ function I(e) {
|
|
|
3267
3277
|
behavior: "instant"
|
|
3268
3278
|
});
|
|
3269
3279
|
}
|
|
3270
|
-
var
|
|
3280
|
+
var vn = class extends HTMLElement {
|
|
3271
3281
|
static get observedAttributes() {
|
|
3272
3282
|
return [
|
|
3273
3283
|
"id",
|
|
@@ -3318,7 +3328,7 @@ var _n = class extends HTMLElement {
|
|
|
3318
3328
|
let e = this.getId(), t = this.getHeading(), n = this.isOpen(), r = this.getSize();
|
|
3319
3329
|
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) {
|
|
3320
3330
|
let e = this._modal.querySelector(".modal-content");
|
|
3321
|
-
e || (e = document.createElement("div"), e.className = "modal-content", this._modal.appendChild(e)), this._renderedOpen || (this._renderedOpen = !0,
|
|
3331
|
+
e || (e = document.createElement("div"), e.className = "modal-content", this._modal.appendChild(e)), this._renderedOpen || (this._renderedOpen = !0, _n(this), this._animateEnter());
|
|
3322
3332
|
} else this._renderedOpen && (this._renderedOpen = !1, this._animateExit());
|
|
3323
3333
|
let i = this._modal.querySelector(".modal-content");
|
|
3324
3334
|
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));
|
|
@@ -3421,7 +3431,7 @@ var _n = class extends HTMLElement {
|
|
|
3421
3431
|
}, 280);
|
|
3422
3432
|
}
|
|
3423
3433
|
};
|
|
3424
|
-
typeof customElements < "u" && !customElements.get("mint-modal") && a("mint-modal",
|
|
3434
|
+
typeof customElements < "u" && !customElements.get("mint-modal") && a("mint-modal", vn), s({
|
|
3425
3435
|
name: "check",
|
|
3426
3436
|
viewBox: "0 0 24 24",
|
|
3427
3437
|
path: "M5 13l4 4L19 7",
|
|
@@ -3431,7 +3441,7 @@ typeof customElements < "u" && !customElements.get("mint-modal") && a("mint-moda
|
|
|
3431
3441
|
});
|
|
3432
3442
|
//#endregion
|
|
3433
3443
|
//#region src/components/checkbox/Checkbox.js
|
|
3434
|
-
var
|
|
3444
|
+
var yn = class extends HTMLElement {
|
|
3435
3445
|
static get observedAttributes() {
|
|
3436
3446
|
return [
|
|
3437
3447
|
"checked",
|
|
@@ -3601,10 +3611,10 @@ var vn = class extends HTMLElement {
|
|
|
3601
3611
|
}
|
|
3602
3612
|
}
|
|
3603
3613
|
};
|
|
3604
|
-
typeof customElements < "u" && !customElements.get("mint-checkbox") && a("mint-checkbox",
|
|
3614
|
+
typeof customElements < "u" && !customElements.get("mint-checkbox") && a("mint-checkbox", yn);
|
|
3605
3615
|
//#endregion
|
|
3606
3616
|
//#region src/components/choice/Choice.js
|
|
3607
|
-
var
|
|
3617
|
+
var bn = class extends HTMLElement {
|
|
3608
3618
|
static get observedAttributes() {
|
|
3609
3619
|
return [
|
|
3610
3620
|
"checked",
|
|
@@ -3874,7 +3884,7 @@ var yn = class extends HTMLElement {
|
|
|
3874
3884
|
this.dispatchEvent(t);
|
|
3875
3885
|
}
|
|
3876
3886
|
}
|
|
3877
|
-
},
|
|
3887
|
+
}, xn = class extends HTMLElement {
|
|
3878
3888
|
static get observedAttributes() {
|
|
3879
3889
|
return [
|
|
3880
3890
|
"value",
|
|
@@ -3909,10 +3919,10 @@ var yn = class extends HTMLElement {
|
|
|
3909
3919
|
r || (r = document.createElement("span"), r.className = "mint-choice-option-label", n.appendChild(r)), r.textContent = this._labelText;
|
|
3910
3920
|
}
|
|
3911
3921
|
};
|
|
3912
|
-
typeof customElements < "u" && !customElements.get("mint-choice") && a("mint-choice",
|
|
3922
|
+
typeof customElements < "u" && !customElements.get("mint-choice") && a("mint-choice", bn), typeof customElements < "u" && !customElements.get("mint-choice-option") && a("mint-choice-option", xn);
|
|
3913
3923
|
//#endregion
|
|
3914
3924
|
//#region src/components/navigation/Navigation.js
|
|
3915
|
-
var
|
|
3925
|
+
var Sn = 0, Cn = class extends HTMLElement {
|
|
3916
3926
|
static get observedAttributes() {
|
|
3917
3927
|
return [
|
|
3918
3928
|
"brand",
|
|
@@ -3924,7 +3934,7 @@ var xn = 0, Sn = class extends HTMLElement {
|
|
|
3924
3934
|
];
|
|
3925
3935
|
}
|
|
3926
3936
|
constructor() {
|
|
3927
|
-
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 = ++
|
|
3937
|
+
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 = ++Sn, this._dropdowns = [], this._content = null, this._actions = null, this._activeDropdown = null, this._layoutObserver = null;
|
|
3928
3938
|
}
|
|
3929
3939
|
connectedCallback() {
|
|
3930
3940
|
this._built || this._build(), this._observeDropdowns(), this._syncResponsiveDropdowns(), this._syncMobileActions(), typeof ResizeObserver < "u" && (this._layoutObserver = new ResizeObserver(() => {
|
|
@@ -4084,7 +4094,7 @@ var xn = 0, Sn = class extends HTMLElement {
|
|
|
4084
4094
|
this.hasAttribute("open") ? this.closeMenu() : this.openMenu();
|
|
4085
4095
|
}
|
|
4086
4096
|
};
|
|
4087
|
-
typeof customElements < "u" && !customElements.get("mint-navigation") && a("mint-navigation",
|
|
4097
|
+
typeof customElements < "u" && !customElements.get("mint-navigation") && a("mint-navigation", Cn), s({
|
|
4088
4098
|
name: "info",
|
|
4089
4099
|
viewBox: "0 0 24 24",
|
|
4090
4100
|
path: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
@@ -4118,7 +4128,7 @@ typeof customElements < "u" && !customElements.get("mint-navigation") && a("mint
|
|
|
4118
4128
|
});
|
|
4119
4129
|
//#endregion
|
|
4120
4130
|
//#region src/components/alert/Alert.ts
|
|
4121
|
-
var
|
|
4131
|
+
var wn = class extends HTMLElement {
|
|
4122
4132
|
static get observedAttributes() {
|
|
4123
4133
|
return [
|
|
4124
4134
|
"heading",
|
|
@@ -4228,7 +4238,7 @@ var Cn = class extends HTMLElement {
|
|
|
4228
4238
|
}
|
|
4229
4239
|
}
|
|
4230
4240
|
};
|
|
4231
|
-
customElements.get("mint-alert") || a("mint-alert",
|
|
4241
|
+
customElements.get("mint-alert") || a("mint-alert", wn);
|
|
4232
4242
|
//#endregion
|
|
4233
4243
|
//#region src/components/bottom-navigation/BottomNavigation.ts
|
|
4234
4244
|
var L = class extends HTMLElement {
|
|
@@ -4259,7 +4269,7 @@ var L = class extends HTMLElement {
|
|
|
4259
4269
|
customElements.get("mint-bottom-navigation") || a("mint-bottom-navigation", L);
|
|
4260
4270
|
//#endregion
|
|
4261
4271
|
//#region src/components/bottom-navigation/BottomNavItem.ts
|
|
4262
|
-
var
|
|
4272
|
+
var Tn = class extends HTMLElement {
|
|
4263
4273
|
constructor(...e) {
|
|
4264
4274
|
super(...e), this._root = null;
|
|
4265
4275
|
}
|
|
@@ -4303,10 +4313,10 @@ var wn = class extends HTMLElement {
|
|
|
4303
4313
|
s.className = "mint-bottom-nav-label", s.textContent = t, i.appendChild(o), i.appendChild(s), this.replaceChildren(i), this._root = i;
|
|
4304
4314
|
}
|
|
4305
4315
|
};
|
|
4306
|
-
customElements.get("mint-bottom-nav-item") || a("mint-bottom-nav-item",
|
|
4316
|
+
customElements.get("mint-bottom-nav-item") || a("mint-bottom-nav-item", Tn);
|
|
4307
4317
|
//#endregion
|
|
4308
4318
|
//#region src/components/bottom-navigation/index.ts
|
|
4309
|
-
var
|
|
4319
|
+
var En = L, Dn = class e extends HTMLElement {
|
|
4310
4320
|
static get observedAttributes() {
|
|
4311
4321
|
return [
|
|
4312
4322
|
"type",
|
|
@@ -5631,10 +5641,10 @@ var Tn = L, En = class e extends HTMLElement {
|
|
|
5631
5641
|
});
|
|
5632
5642
|
}
|
|
5633
5643
|
};
|
|
5634
|
-
customElements.get("mint-chart") || a("mint-chart",
|
|
5644
|
+
customElements.get("mint-chart") || a("mint-chart", Dn);
|
|
5635
5645
|
//#endregion
|
|
5636
5646
|
//#region src/components/chip/Chip.ts
|
|
5637
|
-
var
|
|
5647
|
+
var On = class extends HTMLElement {
|
|
5638
5648
|
constructor(...e) {
|
|
5639
5649
|
super(...e), this._root = null, this._label = null, this._dismissBtn = null, this._clickHandler = null;
|
|
5640
5650
|
}
|
|
@@ -5684,10 +5694,10 @@ var Dn = class extends HTMLElement {
|
|
|
5684
5694
|
}, e.addEventListener("click", this._clickHandler), this._dismissBtn = e;
|
|
5685
5695
|
}
|
|
5686
5696
|
};
|
|
5687
|
-
customElements.get("mint-chip") || a("mint-chip",
|
|
5697
|
+
customElements.get("mint-chip") || a("mint-chip", On);
|
|
5688
5698
|
//#endregion
|
|
5689
5699
|
//#region src/components/clickable/Clickable.ts
|
|
5690
|
-
var
|
|
5700
|
+
var kn = class extends HTMLElement {
|
|
5691
5701
|
constructor(...e) {
|
|
5692
5702
|
super(...e), this._clickHandler = null, this._keydownHandler = null, this._target = null, this._observer = null, this._managedRole = !1, this._managedTabindex = !1;
|
|
5693
5703
|
}
|
|
@@ -5742,10 +5752,10 @@ var On = class extends HTMLElement {
|
|
|
5742
5752
|
e === "disabled" && this.isConnected && this._syncTarget();
|
|
5743
5753
|
}
|
|
5744
5754
|
};
|
|
5745
|
-
customElements.get("mint-clickable") || a("mint-clickable",
|
|
5755
|
+
customElements.get("mint-clickable") || a("mint-clickable", kn);
|
|
5746
5756
|
//#endregion
|
|
5747
5757
|
//#region src/components/collapsible/Collapsible.ts
|
|
5748
|
-
var
|
|
5758
|
+
var An = class extends HTMLElement {
|
|
5749
5759
|
static get observedAttributes() {
|
|
5750
5760
|
return [
|
|
5751
5761
|
"id",
|
|
@@ -5896,10 +5906,10 @@ var kn = class extends HTMLElement {
|
|
|
5896
5906
|
}), this._contentAnimation.onfinish = o;
|
|
5897
5907
|
}
|
|
5898
5908
|
};
|
|
5899
|
-
customElements.get("mint-collapsible") || a("mint-collapsible",
|
|
5909
|
+
customElements.get("mint-collapsible") || a("mint-collapsible", An);
|
|
5900
5910
|
//#endregion
|
|
5901
5911
|
//#region src/components/confirm-action/ConfirmAction.ts
|
|
5902
|
-
var
|
|
5912
|
+
var jn = class extends HTMLElement {
|
|
5903
5913
|
constructor(...e) {
|
|
5904
5914
|
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;
|
|
5905
5915
|
}
|
|
@@ -5946,11 +5956,11 @@ var An = class extends HTMLElement {
|
|
|
5946
5956
|
}));
|
|
5947
5957
|
}
|
|
5948
5958
|
};
|
|
5949
|
-
customElements.get("mint-confirm-action") || a("mint-confirm-action",
|
|
5959
|
+
customElements.get("mint-confirm-action") || a("mint-confirm-action", jn);
|
|
5950
5960
|
//#endregion
|
|
5951
5961
|
//#region src/components/confirm-action/ConfirmActionApi.ts
|
|
5952
5962
|
var R = [], z = !1;
|
|
5953
|
-
function
|
|
5963
|
+
function Mn() {
|
|
5954
5964
|
return typeof document > "u" || document.body ? Promise.resolve() : new Promise((e) => {
|
|
5955
5965
|
if (typeof window > "u") {
|
|
5956
5966
|
e();
|
|
@@ -5959,26 +5969,26 @@ function jn() {
|
|
|
5959
5969
|
window.addEventListener("DOMContentLoaded", () => e(), { once: !0 });
|
|
5960
5970
|
});
|
|
5961
5971
|
}
|
|
5962
|
-
async function
|
|
5963
|
-
if (await
|
|
5972
|
+
async function Nn() {
|
|
5973
|
+
if (await Mn(), typeof document > "u") throw Error("mintui.confirm is only available in browser environments.");
|
|
5964
5974
|
let e = document.querySelector("mint-confirm-action[data-mint-confirm-action-root=\"true\"]");
|
|
5965
5975
|
if (e) return e;
|
|
5966
5976
|
let t = document.createElement("mint-confirm-action");
|
|
5967
5977
|
return t.setAttribute("data-mint-confirm-action-root", "true"), document.body.appendChild(t), t;
|
|
5968
5978
|
}
|
|
5969
|
-
function
|
|
5979
|
+
function Pn(e) {
|
|
5970
5980
|
let t = (e || "action").toString().trim().toLowerCase().replace(/^tone:\s*/, "");
|
|
5971
5981
|
return t === "action" || t === "info" || t === "warning" || t === "danger" ? t : "action";
|
|
5972
5982
|
}
|
|
5973
|
-
async function
|
|
5983
|
+
async function Fn() {
|
|
5974
5984
|
if (!z) {
|
|
5975
5985
|
z = !0;
|
|
5976
5986
|
try {
|
|
5977
5987
|
for (; R.length > 0;) {
|
|
5978
5988
|
let e = R.shift();
|
|
5979
|
-
e && (await (await
|
|
5989
|
+
e && (await (await Nn()).showConfirm({
|
|
5980
5990
|
question: e.question,
|
|
5981
|
-
tone:
|
|
5991
|
+
tone: Pn(e.tone),
|
|
5982
5992
|
confirmLabel: e.confirmLabel || "Confirm",
|
|
5983
5993
|
cancelLabel: e.cancelLabel || "Cancel"
|
|
5984
5994
|
}) ? e.confirmed?.() : e.cancelled?.());
|
|
@@ -5988,7 +5998,7 @@ async function Pn() {
|
|
|
5988
5998
|
}
|
|
5989
5999
|
}
|
|
5990
6000
|
}
|
|
5991
|
-
function
|
|
6001
|
+
function In(e, t, n, r = "action", i = "Confirm", a = "Cancel") {
|
|
5992
6002
|
typeof window > "u" || (R.push({
|
|
5993
6003
|
question: e,
|
|
5994
6004
|
confirmed: t,
|
|
@@ -5996,11 +6006,11 @@ function Fn(e, t, n, r = "action", i = "Confirm", a = "Cancel") {
|
|
|
5996
6006
|
tone: r,
|
|
5997
6007
|
confirmLabel: i,
|
|
5998
6008
|
cancelLabel: a
|
|
5999
|
-
}),
|
|
6009
|
+
}), Fn());
|
|
6000
6010
|
}
|
|
6001
6011
|
if (typeof window < "u") {
|
|
6002
6012
|
let e = window.mintui || {};
|
|
6003
|
-
e.confirm =
|
|
6013
|
+
e.confirm = In, window.mintui = e;
|
|
6004
6014
|
}
|
|
6005
6015
|
s({
|
|
6006
6016
|
name: "calendar",
|
|
@@ -6035,7 +6045,7 @@ s({
|
|
|
6035
6045
|
});
|
|
6036
6046
|
//#endregion
|
|
6037
6047
|
//#region src/components/input/Input.ts
|
|
6038
|
-
var
|
|
6048
|
+
var Ln = class extends HTMLElement {
|
|
6039
6049
|
static get observedAttributes() {
|
|
6040
6050
|
return [
|
|
6041
6051
|
"type",
|
|
@@ -6363,10 +6373,10 @@ var In = class extends HTMLElement {
|
|
|
6363
6373
|
}
|
|
6364
6374
|
}
|
|
6365
6375
|
};
|
|
6366
|
-
customElements.get("mint-input") || a("mint-input",
|
|
6376
|
+
customElements.get("mint-input") || a("mint-input", Ln);
|
|
6367
6377
|
//#endregion
|
|
6368
6378
|
//#region src/components/date-picker/DatePicker.ts
|
|
6369
|
-
var
|
|
6379
|
+
var Rn = class extends HTMLElement {
|
|
6370
6380
|
static get observedAttributes() {
|
|
6371
6381
|
return [
|
|
6372
6382
|
"value",
|
|
@@ -7624,10 +7634,10 @@ var Ln = class extends HTMLElement {
|
|
|
7624
7634
|
this._focusTrapHandler &&= (document.removeEventListener("keydown", this._focusTrapHandler, !0), null), this._escapeHandler &&= (document.removeEventListener("keydown", this._escapeHandler, !0), null);
|
|
7625
7635
|
}
|
|
7626
7636
|
};
|
|
7627
|
-
customElements.get("mint-date-picker") || a("mint-date-picker",
|
|
7637
|
+
customElements.get("mint-date-picker") || a("mint-date-picker", Rn);
|
|
7628
7638
|
//#endregion
|
|
7629
7639
|
//#region src/components/time-picker/TimePicker.ts
|
|
7630
|
-
var
|
|
7640
|
+
var zn = class extends HTMLElement {
|
|
7631
7641
|
constructor(...e) {
|
|
7632
7642
|
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._single = {
|
|
7633
7643
|
hour: 9,
|
|
@@ -7978,10 +7988,10 @@ var Rn = class extends HTMLElement {
|
|
|
7978
7988
|
}
|
|
7979
7989
|
}
|
|
7980
7990
|
};
|
|
7981
|
-
customElements.get("mint-time-picker") || a("mint-time-picker",
|
|
7991
|
+
customElements.get("mint-time-picker") || a("mint-time-picker", zn);
|
|
7982
7992
|
//#endregion
|
|
7983
7993
|
//#region src/components/datetime-picker/DateTimePicker.ts
|
|
7984
|
-
var
|
|
7994
|
+
var Bn = class extends HTMLElement {
|
|
7985
7995
|
constructor(...e) {
|
|
7986
7996
|
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;
|
|
7987
7997
|
}
|
|
@@ -8219,7 +8229,7 @@ var zn = class extends HTMLElement {
|
|
|
8219
8229
|
].filter(Boolean).join(":")} ${i >= 12 ? "pm" : "am"}`;
|
|
8220
8230
|
}
|
|
8221
8231
|
};
|
|
8222
|
-
customElements.get("mint-datetime-picker") || a("mint-datetime-picker",
|
|
8232
|
+
customElements.get("mint-datetime-picker") || a("mint-datetime-picker", Bn), s({
|
|
8223
8233
|
name: "upload",
|
|
8224
8234
|
viewBox: "0 0 24 24",
|
|
8225
8235
|
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",
|
|
@@ -8234,7 +8244,7 @@ customElements.get("mint-datetime-picker") || a("mint-datetime-picker", zn), s({
|
|
|
8234
8244
|
});
|
|
8235
8245
|
//#endregion
|
|
8236
8246
|
//#region src/components/dropzone/Dropzone.ts
|
|
8237
|
-
var
|
|
8247
|
+
var Vn = class extends HTMLElement {
|
|
8238
8248
|
static get observedAttributes() {
|
|
8239
8249
|
return [
|
|
8240
8250
|
"label",
|
|
@@ -8649,10 +8659,10 @@ var Bn = class extends HTMLElement {
|
|
|
8649
8659
|
return this._selectedFiles.some((t) => t.name === e.name && t.size === e.size && t.lastModified === e.lastModified);
|
|
8650
8660
|
}
|
|
8651
8661
|
};
|
|
8652
|
-
customElements.get("mint-dropzone") || a("mint-dropzone",
|
|
8662
|
+
customElements.get("mint-dropzone") || a("mint-dropzone", Vn);
|
|
8653
8663
|
//#endregion
|
|
8654
8664
|
//#region src/components/form/Form.ts
|
|
8655
|
-
var
|
|
8665
|
+
var Hn = class extends HTMLElement {
|
|
8656
8666
|
static get observedAttributes() {
|
|
8657
8667
|
return [
|
|
8658
8668
|
"action",
|
|
@@ -9674,7 +9684,7 @@ var Vn = class extends HTMLElement {
|
|
|
9674
9684
|
this._reactiveDataObserver !== null && (cancelAnimationFrame(this._reactiveDataObserver), this._reactiveDataObserver = null), this._reactiveDataProxy = null, this._lastDataSnapshot = null, this._lastAppliedDataSnapshot = null;
|
|
9675
9685
|
}
|
|
9676
9686
|
};
|
|
9677
|
-
customElements.get("mint-form") || a("mint-form",
|
|
9687
|
+
customElements.get("mint-form") || a("mint-form", Hn), typeof window < "u" && (window.mintForm = window.mintForm || {
|
|
9678
9688
|
defaults: { headers: { common: {} } },
|
|
9679
9689
|
interceptors: { response: { handlers: [] } }
|
|
9680
9690
|
}, window.mintForm.interceptors.response.use || (window.mintForm.interceptors.response.use = function(e, t) {
|
|
@@ -9685,7 +9695,7 @@ customElements.get("mint-form") || a("mint-form", Vn), typeof window < "u" && (w
|
|
|
9685
9695
|
}));
|
|
9686
9696
|
//#endregion
|
|
9687
9697
|
//#region src/components/off-canvas/OffCanvas.ts
|
|
9688
|
-
var
|
|
9698
|
+
var Un = class extends HTMLElement {
|
|
9689
9699
|
static get observedAttributes() {
|
|
9690
9700
|
return [
|
|
9691
9701
|
"id",
|
|
@@ -9849,7 +9859,7 @@ var Hn = class extends HTMLElement {
|
|
|
9849
9859
|
}, 300);
|
|
9850
9860
|
}
|
|
9851
9861
|
};
|
|
9852
|
-
customElements.get("mint-off-canvas") || a("mint-off-canvas",
|
|
9862
|
+
customElements.get("mint-off-canvas") || a("mint-off-canvas", Un), s({
|
|
9853
9863
|
name: "search",
|
|
9854
9864
|
viewBox: "0 0 24 24",
|
|
9855
9865
|
path: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z",
|
|
@@ -9858,7 +9868,7 @@ customElements.get("mint-off-canvas") || a("mint-off-canvas", Hn), s({
|
|
|
9858
9868
|
});
|
|
9859
9869
|
//#endregion
|
|
9860
9870
|
//#region src/components/resource-table/utility-aliases.js
|
|
9861
|
-
var
|
|
9871
|
+
var Wn = {
|
|
9862
9872
|
"-mr-1": "rtu-8956a4275",
|
|
9863
9873
|
"-translate-y-1/2": "rtu-36b381be4",
|
|
9864
9874
|
"[&>*]:m-0": "rtu-7b41b3d11",
|
|
@@ -10019,7 +10029,7 @@ var Un = {
|
|
|
10019
10029
|
"z-10": "rtu-236812d64",
|
|
10020
10030
|
"z-20": "rtu-145745bf5",
|
|
10021
10031
|
"z-30": "rtu-0f2fff0ae"
|
|
10022
|
-
},
|
|
10032
|
+
}, Gn = class extends HTMLElement {
|
|
10023
10033
|
constructor(...e) {
|
|
10024
10034
|
super(...e), this._observer = null, this._disposeScrollFade = null;
|
|
10025
10035
|
}
|
|
@@ -10079,10 +10089,10 @@ var Un = {
|
|
|
10079
10089
|
e.dataset.mtProcessed = "", e.innerHTML = n, Object.entries(t).forEach(([t, n]) => e.setAttribute(t, n));
|
|
10080
10090
|
}
|
|
10081
10091
|
};
|
|
10082
|
-
customElements.get("mint-table") || a("mint-table",
|
|
10092
|
+
customElements.get("mint-table") || a("mint-table", Gn);
|
|
10083
10093
|
//#endregion
|
|
10084
10094
|
//#region src/components/resource-table/ResourceTable.ts
|
|
10085
|
-
var
|
|
10095
|
+
var Kn = class extends HTMLElement {
|
|
10086
10096
|
static get observedAttributes() {
|
|
10087
10097
|
return [
|
|
10088
10098
|
"configuration",
|
|
@@ -10100,7 +10110,7 @@ var Gn = class extends HTMLElement {
|
|
|
10100
10110
|
return e !== null && e !== "false";
|
|
10101
10111
|
}
|
|
10102
10112
|
constructor() {
|
|
10103
|
-
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._virtualFetchGeneration = 0, this._virtualAjaxPrefetchTimer = null, this._fixedChromeResizeObserver = null, this._utilityClassObserver = null;
|
|
10113
|
+
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._initialMobileLayoutRaf = null, this._virtualFetchGeneration = 0, this._virtualAjaxPrefetchTimer = null, this._fixedChromeResizeObserver = null, this._utilityClassObserver = null;
|
|
10104
10114
|
}
|
|
10105
10115
|
get inMintCard() {
|
|
10106
10116
|
return this._inMintCard;
|
|
@@ -10120,7 +10130,7 @@ var Gn = class extends HTMLElement {
|
|
|
10120
10130
|
}), this._inMintCard = this.closest("mint-card") !== null, this._configuration || this._parseConfiguration(), this._initializeColumns(), this._loadPageFromUrl(), this._attachRowClickHandler(), this.render();
|
|
10121
10131
|
}
|
|
10122
10132
|
disconnectedCallback() {
|
|
10123
|
-
this._searchTimeoutId && clearTimeout(this._searchTimeoutId), this._detachVirtualScroll(), this._detachFixedChromeResize(), this._detachMobileListMql(), this._utilityClassObserver?.disconnect(), this._utilityClassObserver = null, this._rowClickHandler &&= (this.removeEventListener("click", this._rowClickHandler, !0), null), this._scrollHandler &&= (window.removeEventListener("scroll", this._scrollHandler), null);
|
|
10133
|
+
this._searchTimeoutId && clearTimeout(this._searchTimeoutId), this._detachVirtualScroll(), this._detachFixedChromeResize(), this._detachMobileListMql(), this._initialMobileLayoutRaf !== null && (window.cancelAnimationFrame(this._initialMobileLayoutRaf), this._initialMobileLayoutRaf = null), this._utilityClassObserver?.disconnect(), this._utilityClassObserver = null, this._rowClickHandler &&= (this.removeEventListener("click", this._rowClickHandler, !0), null), this._scrollHandler &&= (window.removeEventListener("scroll", this._scrollHandler), null);
|
|
10124
10134
|
}
|
|
10125
10135
|
attributeChangedCallback(e, t, n) {
|
|
10126
10136
|
e === "configuration" && t !== n ? (!this._configuration || typeof n == "string") && (this._parseConfiguration(), this.render()) : t !== n && (e === "loading" || e === "virtual-scroll" || e === "virtual-scroll-root" || e === "virtual-row-height" || e === "virtual-max-height" || e === "fixed-header" || e === "fixed-controls") && this._configuration && this.isConnected && this.render();
|
|
@@ -10367,7 +10377,12 @@ var Gn = class extends HTMLElement {
|
|
|
10367
10377
|
this._mobileListMql && this._boundMobileListMqlListener && this._mobileListMql.removeEventListener("change", this._boundMobileListMqlListener), this._mobileListMql = null, this._boundMobileListMqlListener = null;
|
|
10368
10378
|
}
|
|
10369
10379
|
_useMobileListLayout() {
|
|
10370
|
-
return
|
|
10380
|
+
return this._mobileListMql ? this._mobileListMql.matches : typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(max-width: 767px)").matches : !1;
|
|
10381
|
+
}
|
|
10382
|
+
_scheduleInitialMobileLayoutSync(e) {
|
|
10383
|
+
this._initialMobileLayoutRaf !== null || typeof window.requestAnimationFrame != "function" || (this._initialMobileLayoutRaf = window.requestAnimationFrame(() => {
|
|
10384
|
+
this._initialMobileLayoutRaf = null, this.isConnected && this._configuration && this._useMobileListLayout() !== e && this.render();
|
|
10385
|
+
}));
|
|
10371
10386
|
}
|
|
10372
10387
|
_paginationHostPlaceholderHtml() {
|
|
10373
10388
|
if (!this._configuration?.perPage || this._virtualScrollActive()) return "";
|
|
@@ -10520,7 +10535,7 @@ var Gn = class extends HTMLElement {
|
|
|
10520
10535
|
}
|
|
10521
10536
|
_buildTableCellInnerHtml(e, t, n, r = "table") {
|
|
10522
10537
|
if (!this._configuration) return "";
|
|
10523
|
-
let i = n, a = "";
|
|
10538
|
+
let i = n, a = "", o = r === "mobile" ? "mobile" : "desktop";
|
|
10524
10539
|
if (!(!e.show || e.show(this, t))) return "";
|
|
10525
10540
|
if (e.raw) if (e.action) {
|
|
10526
10541
|
if (!e.action.show || e.action.show(this, t)) {
|
|
@@ -10528,7 +10543,7 @@ var Gn = class extends HTMLElement {
|
|
|
10528
10543
|
a += `<mint-button variant="solid" data-action="column-action" data-row-index="${i}" data-column-key="${this._configuration.columns.indexOf(e)}">${this._escapeHtml(String(n))}</mint-button>`;
|
|
10529
10544
|
}
|
|
10530
10545
|
} else if (e.actions) if (e.actionStyle !== "buttons") {
|
|
10531
|
-
let n = `actions-popover-${this._tableId}-${i}`, r = `actions-button-${this._tableId}-${i}`;
|
|
10546
|
+
let n = `actions-popover-${this._tableId}-${o}-${i}`, r = `actions-button-${this._tableId}-${o}-${i}`;
|
|
10532
10547
|
a += `<mint-button id="${r}" variant="ghost" icon="ellipsis">`, a += "</mint-button>", a += `<mint-popover id="${n}" trigger-id="${r}" direction="down">`, a += "<div class=\"mint-resource-action-menu\">", e.actions.forEach((n, r) => {
|
|
10533
10548
|
if (!n.show || n.show(this, t)) {
|
|
10534
10549
|
let o = typeof n.label == "function" ? n.label(this, t) : n.label, s = n.icon ? ` icon="${this._escapeHtml(n.icon)}"` : "", c = n.variant ? this._escapeHtml(n.variant) : "ghost", l = n.tone ? ` tone="${this._escapeHtml(n.tone)}"` : "", u = (typeof n.active == "function" ? n.active(this, t) : n.active) ? " active=\"true\"" : "";
|
|
@@ -10544,7 +10559,7 @@ var Gn = class extends HTMLElement {
|
|
|
10544
10559
|
else typeof e.format == "function" ? a += e.format(this, t) : e.data && (a += this._escapeHtml(String(t[e.data] || "")));
|
|
10545
10560
|
else if (e.action) (!e.action.show || e.action.show(this, t)) && (a += `<mint-button variant="solid" data-action="column-action" data-row-index="${i}" data-column-key="${this._configuration.columns.indexOf(e)}">${e.action.label}</mint-button>`);
|
|
10546
10561
|
else if (e.actions) if (e.actionStyle !== "buttons") {
|
|
10547
|
-
let n = `actions-popover-${this._tableId}-${i}`, r = `actions-button-${this._tableId}-${i}`;
|
|
10562
|
+
let n = `actions-popover-${this._tableId}-${o}-${i}`, r = `actions-button-${this._tableId}-${o}-${i}`;
|
|
10548
10563
|
a += `<mint-button id="${r}" variant="ghost" icon="ellipsis">`, a += "</mint-button>", a += `<mint-popover id="${n}" trigger-id="${r}" direction="down">`, a += "<div class=\"mint-resource-action-menu\">", e.actions.forEach((n, r) => {
|
|
10549
10564
|
if (!n.show || n.show(this, t)) {
|
|
10550
10565
|
let o = typeof n.label == "function" ? n.label(this, t) : n.label, s = n.icon ? ` icon="${this._escapeHtml(n.icon)}"` : "", c = n.variant ? this._escapeHtml(n.variant) : "ghost", l = n.tone ? ` tone="${this._escapeHtml(n.tone)}"` : "", u = (typeof n.active == "function" ? n.active(this, t) : n.active) ? " active=\"true\"" : "";
|
|
@@ -11017,7 +11032,7 @@ var Gn = class extends HTMLElement {
|
|
|
11017
11032
|
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(" ");
|
|
11018
11033
|
}
|
|
11019
11034
|
_replaceUtilityClasses() {
|
|
11020
|
-
let e =
|
|
11035
|
+
let e = Wn, t = [this, ...Array.from(this.querySelectorAll("[class]"))];
|
|
11021
11036
|
for (let n of t) for (let t of Array.from(n.classList)) {
|
|
11022
11037
|
let r = e[t];
|
|
11023
11038
|
r && n.classList.replace(t, r);
|
|
@@ -11047,12 +11062,14 @@ var Gn = class extends HTMLElement {
|
|
|
11047
11062
|
return;
|
|
11048
11063
|
}
|
|
11049
11064
|
this._ensureMobileListMql();
|
|
11050
|
-
let e =
|
|
11051
|
-
|
|
11052
|
-
let t =
|
|
11065
|
+
let e = this._useMobileListLayout();
|
|
11066
|
+
this._scheduleInitialMobileLayoutSync(e);
|
|
11067
|
+
let t = String(this._configuration.id || "").trim();
|
|
11068
|
+
t && (this.id = t), this._detachVirtualScroll(), this._detachFixedChromeResize(), this._virtualScrollActive() || this._virtualRowCache.clear();
|
|
11069
|
+
let n = !this._loaded || this._rows.length > 0 || this._search.length > 0 || this._searching || this._configuration.showSearch !== !1 || !!this._configuration.buttons?.length, r = this._getRows();
|
|
11053
11070
|
this._lastPage || Math.ceil(this._rows.length / this._perPage);
|
|
11054
|
-
let
|
|
11055
|
-
if (
|
|
11071
|
+
let i = this._isExternalLoading(), a = "";
|
|
11072
|
+
if (n) {
|
|
11056
11073
|
let e = this._fixedControls(), t = [
|
|
11057
11074
|
"flex",
|
|
11058
11075
|
"items-center",
|
|
@@ -11060,60 +11077,60 @@ var Gn = class extends HTMLElement {
|
|
|
11060
11077
|
this._inMintCard ? "p-3.5" : "mb-3",
|
|
11061
11078
|
e ? "sticky top-0 z-20 bg-white dark:bg-mint-nav border-b border-gray-200 dark:border-mint-divider" : ""
|
|
11062
11079
|
].filter(Boolean).join(" ");
|
|
11063
|
-
if (
|
|
11080
|
+
if (a += `<div id="mint-rt-fixed-controls-${this._tableId}" class="${t}">`, a += "<div class=\"flex min-w-0 flex-1 items-center gap-2\">", a += this._buildMobileSortToolbarHtml(), a += this._toolbarButtonsHtml("left"), this._configuration.showSearch !== !1) {
|
|
11064
11081
|
let e = `search-${this._tableId}`, t = this._escapeHtml(this._configuration.searchPlaceholder || "Search...");
|
|
11065
|
-
|
|
11082
|
+
a += `<mint-input id="${e}" type="search" label="" placeholder="${t}" class="min-w-0 flex-1" icon="search" value="${this._escapeHtml(this._search)}"></mint-input>`;
|
|
11066
11083
|
}
|
|
11067
|
-
|
|
11084
|
+
a += this._toolbarButtonsHtml("right"), a += "</div>", a += "</div>";
|
|
11068
11085
|
}
|
|
11069
|
-
if ((this._type === "ajax" && !this._loaded || this._type === "provided" &&
|
|
11086
|
+
if ((this._type === "ajax" && !this._loaded || this._type === "provided" && i) && !this._fetchError && !this._sorting) {
|
|
11070
11087
|
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 ";
|
|
11071
|
-
|
|
11088
|
+
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) => {
|
|
11072
11089
|
if (e.hidden) return;
|
|
11073
11090
|
let n = e.sortable ? " data-mint-rt-sortable=\"\"" : "";
|
|
11074
|
-
if (
|
|
11075
|
-
if (
|
|
11091
|
+
if (a += `<th width="${e.width || ""}" style="${this._getStyle(e)}" class="${this._getClasses(e)}" data-column-key="${t}"${n}>`, e.showLabel !== !1) {
|
|
11092
|
+
if (a += "<div class=\"flex items-center\" data-mint-rt-sort-label>", a += `<div class="flex-1">${e.raw ? e.label : this._escapeHtml(e.label)}</div>`, e.sortable) {
|
|
11076
11093
|
let t = this._getSortClass(e);
|
|
11077
|
-
t === "spinner" ?
|
|
11094
|
+
t === "spinner" ? a += "<div class=\"ml-2 flex items-center\" data-mint-rt-sort-icon><mint-spinner class=\"w-4 h-4\"></mint-spinner></div>" : (t === "caret-up" || t === "caret-down") && (a += `<div class="ml-2 flex items-center" data-mint-rt-sort-icon><mint-icon name="${t}" class="w-4 h-4"></mint-icon></div>`);
|
|
11078
11095
|
}
|
|
11079
|
-
|
|
11096
|
+
a += "</div>";
|
|
11080
11097
|
}
|
|
11081
|
-
|
|
11082
|
-
}),
|
|
11083
|
-
for (let e = 0; e < 4; e++)
|
|
11098
|
+
a += "</th>";
|
|
11099
|
+
}), a += "</tr></thead>", a += "<tbody>";
|
|
11100
|
+
for (let e = 0; e < 4; e++) a += "<tr>", this._configuration.columns.forEach((e) => {
|
|
11084
11101
|
if (!e.hidden) {
|
|
11085
|
-
if (
|
|
11102
|
+
if (a += `<td style="${this._getStyle(e)}" class="${this._getClasses(e, !0)}">`, e.thumbnail) {
|
|
11086
11103
|
let t = this._thumbnailDesktopPx(e);
|
|
11087
|
-
|
|
11088
|
-
} else
|
|
11089
|
-
|
|
11104
|
+
a += `<div class="rounded-md bg-gray-200 dark:bg-white/15 animate-pulse" style="width:${t}px;height:${t}px;box-sizing:border-box"></div>`;
|
|
11105
|
+
} else a += "<div class=\"h-4 max-w-[95%] rounded bg-gray-200 dark:bg-white/15 animate-pulse\"></div>";
|
|
11106
|
+
a += "</td>";
|
|
11090
11107
|
}
|
|
11091
|
-
}),
|
|
11092
|
-
|
|
11108
|
+
}), a += "</tr>";
|
|
11109
|
+
a += "</tbody>", a += "</table>", a += "</mint-table>", a += "</div>", a += this._paginationHostPlaceholderHtml();
|
|
11093
11110
|
} else {
|
|
11094
|
-
let e = this._virtualScrollActive() && (this._type === "provided" || this._type === "ajax" && this._loaded && !this._fetchError), t = e && this._virtualScrollRoot() === "table-body",
|
|
11111
|
+
let e = this._virtualScrollActive() && (this._type === "provided" || this._type === "ajax" && this._loaded && !this._fetchError), t = e && this._virtualScrollRoot() === "table-body", n = this._escapeHtml(this._virtualMaxHeightCss()), o = t || this._fixedHeader(), s = this._fixedHeader() && this._fixedControls(), c = o ? " data-mint-rt-scroll-inner=\"\"" : "", l = "table-section" + (this._inMintCard ? " rounded-t-none" : ""), u = `mint-resource-table-mobile-list m-0 min-h-0 w-full list-none border-collapse overflow-x-hidden ${this._inMintCard ? "px-3.5 py-3.5" : "py-3"} md:hidden`, d = "";
|
|
11095
11112
|
if (t) {
|
|
11096
11113
|
let e = this._renderColgroupHtml();
|
|
11097
|
-
|
|
11098
|
-
} else
|
|
11099
|
-
if (
|
|
11100
|
-
d += this._buildMobileListItemHtml(e, t, t ===
|
|
11101
|
-
let
|
|
11102
|
-
|
|
11114
|
+
a += `<div id="mint-rt-vscroll-${this._tableId}" class="overflow-y-auto overflow-x-auto min-h-0 w-full" style="max-height: ${n}; scrollbar-gutter: stable; overscroll-behavior-x: contain; overscroll-behavior-y: none; overflow-anchor: none;">`, a += "<div class=\"hidden min-h-0 min-w-0 md:block\">", a += `<mint-table class="${l}"${c}>`, a += `<table id="${this._tableId}" class="w-full min-w-0 table-fixed">`, a += e, a += this._renderTheadHtml(!0, !0, !0, s);
|
|
11115
|
+
} else a += "<div class=\"hidden min-h-0 min-w-0 md:block\">", a += `<mint-table class="${l}"${c}>`, a += `<table id="${this._tableId}">`, e && (a += this._renderColgroupHtml()), a += this._renderTheadHtml(!0, !0, !!e, s);
|
|
11116
|
+
if (a += "<tbody" + (e ? ` data-mint-rt-tbody="${this._tableId}"` : "") + ">", !this._fetching && !this._loading && !i && !e && r.forEach((e, t) => {
|
|
11117
|
+
d += this._buildMobileListItemHtml(e, t, t === r.length - 1);
|
|
11118
|
+
let n = typeof this._configuration.onRowClick == "function", i = n ? "cursor-pointer hover:bg-gray-50 dark:hover:bg-mint-elevated" : "";
|
|
11119
|
+
a += `<tr data-row-index="${t}" ${n ? "data-row-clickable=\"true\"" : ""}${i ? ` class="${i}"` : ""}>`, this._configuration.columns.forEach((n) => {
|
|
11103
11120
|
if (n.hidden) return;
|
|
11104
11121
|
let r = !n.show || n.show(this, e);
|
|
11105
|
-
|
|
11106
|
-
}),
|
|
11107
|
-
}), !this._fetching && !this._loading && !
|
|
11122
|
+
a += `<td style="${this._getStyle(n)}" class="${this._getClasses(n, !0)}">`, r && (a += this._buildTableCellInnerHtml(n, e, t, "table")), a += "</td>";
|
|
11123
|
+
}), a += "</tr>";
|
|
11124
|
+
}), !this._fetching && !this._loading && !i && r.length === 0) if (this._fetchError) {
|
|
11108
11125
|
let e = this._configuration.columns.filter((e) => !e.hidden).length;
|
|
11109
|
-
|
|
11126
|
+
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>`;
|
|
11110
11127
|
} else {
|
|
11111
11128
|
let e = this._configuration.columns.filter((e) => !e.hidden).length;
|
|
11112
|
-
|
|
11129
|
+
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>";
|
|
11113
11130
|
}
|
|
11114
|
-
|
|
11131
|
+
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>");
|
|
11115
11132
|
}
|
|
11116
|
-
this._fixedHeader() ? this.setAttribute("data-mint-rt-fixed-header", "") : this.removeAttribute("data-mint-rt-fixed-header"), this._fixedControls() ? this.setAttribute("data-mint-rt-fixed-controls", "") : this.removeAttribute("data-mint-rt-fixed-controls"), this.innerHTML =
|
|
11133
|
+
this._fixedHeader() ? this.setAttribute("data-mint-rt-fixed-header", "") : this.removeAttribute("data-mint-rt-fixed-header"), this._fixedControls() ? this.setAttribute("data-mint-rt-fixed-controls", "") : this.removeAttribute("data-mint-rt-fixed-controls"), this.innerHTML = a, this._replaceUtilityClasses(), this._updatePagination(), this.querySelectorAll("mint-button[data-action]").forEach((e) => {
|
|
11117
11134
|
e.render && e.render();
|
|
11118
11135
|
}), this.querySelectorAll("mint-button[data-mint-rt-toolbar]").forEach((e) => {
|
|
11119
11136
|
e.render && e.render();
|
|
@@ -11217,10 +11234,10 @@ var Gn = class extends HTMLElement {
|
|
|
11217
11234
|
e !== null && (this._currentPage = e, this._offset = (this._currentPage - 1) * this._perPage);
|
|
11218
11235
|
}
|
|
11219
11236
|
};
|
|
11220
|
-
customElements.get("mint-resource-table") || a("mint-resource-table",
|
|
11237
|
+
customElements.get("mint-resource-table") || a("mint-resource-table", Kn);
|
|
11221
11238
|
//#endregion
|
|
11222
11239
|
//#region src/components/resource-table/ResourceTableContextMenu.ts
|
|
11223
|
-
var
|
|
11240
|
+
var qn = 550, Jn = 12, Yn = { passive: !0 }, Xn = class extends HTMLElement {
|
|
11224
11241
|
constructor(...e) {
|
|
11225
11242
|
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 = () => {
|
|
11226
11243
|
this._closePopover();
|
|
@@ -11247,7 +11264,7 @@ var Kn = 550, qn = 12, Jn = { passive: !0 }, Yn = class extends HTMLElement {
|
|
|
11247
11264
|
let t = e.touches[0];
|
|
11248
11265
|
if (!t) return;
|
|
11249
11266
|
let n = t.clientX - this._touchStart.x, r = t.clientY - this._touchStart.y;
|
|
11250
|
-
n * n + r * r >
|
|
11267
|
+
n * n + r * r > Jn * Jn && (this._clearTouchTimer(), this._touchStart = null);
|
|
11251
11268
|
}, this._onTouchEnd = () => {
|
|
11252
11269
|
this._clearTouchTimer(), this._touchStart = null;
|
|
11253
11270
|
};
|
|
@@ -11270,7 +11287,7 @@ var Kn = 550, qn = 12, Jn = { passive: !0 }, Yn = class extends HTMLElement {
|
|
|
11270
11287
|
}
|
|
11271
11288
|
_longPressMs() {
|
|
11272
11289
|
let e = parseInt(this.getAttribute("long-press-ms") || "", 10);
|
|
11273
|
-
return !Number.isNaN(e) && e > 100 ? e :
|
|
11290
|
+
return !Number.isNaN(e) && e > 100 ? e : qn;
|
|
11274
11291
|
}
|
|
11275
11292
|
_resolveTable() {
|
|
11276
11293
|
let e = this.getAttribute("for")?.trim();
|
|
@@ -11324,12 +11341,12 @@ var Kn = 550, qn = 12, Jn = { passive: !0 }, Yn = class extends HTMLElement {
|
|
|
11324
11341
|
return this._elementIsScrollContainer(e) && r(e), t;
|
|
11325
11342
|
}
|
|
11326
11343
|
_detachScrollCloseListeners() {
|
|
11327
|
-
for (let e of this._scrollCloseTargets) e.removeEventListener("scroll", this._onScrollClose,
|
|
11344
|
+
for (let e of this._scrollCloseTargets) e.removeEventListener("scroll", this._onScrollClose, Yn);
|
|
11328
11345
|
this._scrollCloseTargets = [];
|
|
11329
11346
|
}
|
|
11330
11347
|
_attachScrollCloseListeners(e) {
|
|
11331
11348
|
this._detachScrollCloseListeners(), this._scrollCloseTargets = this._collectScrollCloseTargets(e);
|
|
11332
|
-
for (let e of this._scrollCloseTargets) e.addEventListener("scroll", this._onScrollClose,
|
|
11349
|
+
for (let e of this._scrollCloseTargets) e.addEventListener("scroll", this._onScrollClose, Yn);
|
|
11333
11350
|
}
|
|
11334
11351
|
_closePopover() {
|
|
11335
11352
|
if (this._detachScrollCloseListeners(), !this._popover?.hasAttribute("open")) return;
|
|
@@ -11370,10 +11387,10 @@ var Kn = 550, qn = 12, Jn = { passive: !0 }, Yn = class extends HTMLElement {
|
|
|
11370
11387
|
l && this._attachScrollCloseListeners(l);
|
|
11371
11388
|
}
|
|
11372
11389
|
};
|
|
11373
|
-
customElements.get("mint-resource-table-context-menu") || a("mint-resource-table-context-menu",
|
|
11390
|
+
customElements.get("mint-resource-table-context-menu") || a("mint-resource-table-context-menu", Xn);
|
|
11374
11391
|
//#endregion
|
|
11375
11392
|
//#region src/components/search/Search.ts
|
|
11376
|
-
var
|
|
11393
|
+
var Zn = class e extends HTMLElement {
|
|
11377
11394
|
constructor(...e) {
|
|
11378
11395
|
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._desktopFilterWrap = null, this._mobileFilterWrap = null, this._resultsWrap = null, this._stateWrap = null, this._customResultsWrap = null, this._query = "", this._searchOpen = !1, this._selectedFilters = [], this._selectedFilterBackspaceArmed = !1, 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;
|
|
11379
11396
|
}
|
|
@@ -12023,10 +12040,10 @@ var Xn = class e extends HTMLElement {
|
|
|
12023
12040
|
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));
|
|
12024
12041
|
}
|
|
12025
12042
|
};
|
|
12026
|
-
customElements.get("mint-search") || a("mint-search",
|
|
12043
|
+
customElements.get("mint-search") || a("mint-search", Zn);
|
|
12027
12044
|
//#endregion
|
|
12028
12045
|
//#region src/components/select/NativeSelect.ts
|
|
12029
|
-
var B = "data-mint-native-select-part",
|
|
12046
|
+
var B = "data-mint-native-select-part", Qn = class extends HTMLElement {
|
|
12030
12047
|
static get observedAttributes() {
|
|
12031
12048
|
return [
|
|
12032
12049
|
"name",
|
|
@@ -12287,10 +12304,10 @@ var B = "data-mint-native-select-part", Zn = class extends HTMLElement {
|
|
|
12287
12304
|
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");
|
|
12288
12305
|
}
|
|
12289
12306
|
};
|
|
12290
|
-
customElements.get("mint-native-select") || a("mint-native-select",
|
|
12307
|
+
customElements.get("mint-native-select") || a("mint-native-select", Qn);
|
|
12291
12308
|
//#endregion
|
|
12292
12309
|
//#region src/components/select/Select.ts
|
|
12293
|
-
var V = "data-mint-select-part",
|
|
12310
|
+
var V = "data-mint-select-part", $n = class extends HTMLElement {
|
|
12294
12311
|
constructor(...e) {
|
|
12295
12312
|
super(...e), this._native = null, this._trigger = null, this._popover = null, this._list = null, 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)}`;
|
|
12296
12313
|
}
|
|
@@ -12596,10 +12613,10 @@ var V = "data-mint-select-part", Qn = class extends HTMLElement {
|
|
|
12596
12613
|
t && (this._popover?.hasAttribute("open") || this.openPopover(), t.focus());
|
|
12597
12614
|
}
|
|
12598
12615
|
};
|
|
12599
|
-
customElements.get("mint-select") || a("mint-select",
|
|
12616
|
+
customElements.get("mint-select") || a("mint-select", $n);
|
|
12600
12617
|
//#endregion
|
|
12601
12618
|
//#region src/components/side-navigation/SideNavigationLink.ts
|
|
12602
|
-
var
|
|
12619
|
+
var er = class extends HTMLElement {
|
|
12603
12620
|
constructor(...e) {
|
|
12604
12621
|
super(...e), this._trigger = null, this._submenuContainer = null, this._contentObserver = null, this._renderFrame = null;
|
|
12605
12622
|
}
|
|
@@ -12733,10 +12750,10 @@ var $n = class extends HTMLElement {
|
|
|
12733
12750
|
this._hasSubmenu() && !this._isSubmenuItem() ? this._buildDropdownLink() : this._buildSimpleLink();
|
|
12734
12751
|
}
|
|
12735
12752
|
};
|
|
12736
|
-
customElements.get("mint-sidenav-link") || a("mint-sidenav-link",
|
|
12753
|
+
customElements.get("mint-sidenav-link") || a("mint-sidenav-link", er);
|
|
12737
12754
|
//#endregion
|
|
12738
12755
|
//#region src/components/side-navigation/SideNavigationLinks.ts
|
|
12739
|
-
var
|
|
12756
|
+
var tr = class extends HTMLElement {
|
|
12740
12757
|
constructor(...e) {
|
|
12741
12758
|
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();
|
|
12742
12759
|
}
|
|
@@ -12799,10 +12816,10 @@ var er = class extends HTMLElement {
|
|
|
12799
12816
|
});
|
|
12800
12817
|
}
|
|
12801
12818
|
};
|
|
12802
|
-
customElements.get("mint-sidenav-links") || a("mint-sidenav-links",
|
|
12819
|
+
customElements.get("mint-sidenav-links") || a("mint-sidenav-links", tr);
|
|
12803
12820
|
//#endregion
|
|
12804
12821
|
//#region src/components/side-navigation/SideNavigationActionLinks.ts
|
|
12805
|
-
var
|
|
12822
|
+
var nr = class extends HTMLElement {
|
|
12806
12823
|
static get observedAttributes() {
|
|
12807
12824
|
return ["separated"];
|
|
12808
12825
|
}
|
|
@@ -12819,10 +12836,10 @@ var tr = class extends HTMLElement {
|
|
|
12819
12836
|
this.className = this._isSeparated() ? "mint-sidenav-action-links is-separated" : "mint-sidenav-action-links";
|
|
12820
12837
|
}
|
|
12821
12838
|
};
|
|
12822
|
-
customElements.get("mint-sidenav-action-links") || a("mint-sidenav-action-links",
|
|
12839
|
+
customElements.get("mint-sidenav-action-links") || a("mint-sidenav-action-links", nr);
|
|
12823
12840
|
//#endregion
|
|
12824
12841
|
//#region src/components/side-navigation/SideNavigationActionMenu.ts
|
|
12825
|
-
var
|
|
12842
|
+
var rr = class extends HTMLElement {
|
|
12826
12843
|
constructor(...e) {
|
|
12827
12844
|
super(...e), this._wrapper = null, this._trigger = null, this._popover = null, this._triggerId = "", this._contentObserver = null, this._renderFrame = null;
|
|
12828
12845
|
}
|
|
@@ -12889,11 +12906,11 @@ var nr = class extends HTMLElement {
|
|
|
12889
12906
|
}) : a.appendChild(this._createDefaultGroup()), this._popover.appendChild(a), this._wrapper.appendChild(this._trigger), this._wrapper.appendChild(this._popover);
|
|
12890
12907
|
}
|
|
12891
12908
|
};
|
|
12892
|
-
customElements.get("mint-sidenav-action-menu") || a("mint-sidenav-action-menu",
|
|
12909
|
+
customElements.get("mint-sidenav-action-menu") || a("mint-sidenav-action-menu", rr);
|
|
12893
12910
|
//#endregion
|
|
12894
12911
|
//#region src/components/side-navigation/SideNavigation.ts
|
|
12895
12912
|
var H = "mint:url-change";
|
|
12896
|
-
function
|
|
12913
|
+
function ir() {
|
|
12897
12914
|
if (window.__mintUrlChangePatched) return;
|
|
12898
12915
|
window.__mintUrlChangePatched = !0;
|
|
12899
12916
|
let e = () => {
|
|
@@ -12907,7 +12924,7 @@ function rr() {
|
|
|
12907
12924
|
};
|
|
12908
12925
|
t("pushState"), t("replaceState");
|
|
12909
12926
|
}
|
|
12910
|
-
var
|
|
12927
|
+
var ar = class extends HTMLElement {
|
|
12911
12928
|
constructor(...e) {
|
|
12912
12929
|
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) => {
|
|
12913
12930
|
if (this._mediaQuery?.matches) return;
|
|
@@ -12970,7 +12987,7 @@ var ir = class extends HTMLElement {
|
|
|
12970
12987
|
this._accordionHandler &&= (this.removeEventListener("mint-sidenav-accordion", this._accordionHandler), null);
|
|
12971
12988
|
}
|
|
12972
12989
|
_attachUrlChangeListener() {
|
|
12973
|
-
this._urlChangeHandler || (
|
|
12990
|
+
this._urlChangeHandler || (ir(), this._urlChangeHandler = () => {
|
|
12974
12991
|
this._mediaQuery?.matches || this._isOpen() && this.removeAttribute("open");
|
|
12975
12992
|
}, window.addEventListener("popstate", this._urlChangeHandler), window.addEventListener("hashchange", this._urlChangeHandler), window.addEventListener(H, this._urlChangeHandler));
|
|
12976
12993
|
}
|
|
@@ -13033,10 +13050,10 @@ var ir = class extends HTMLElement {
|
|
|
13033
13050
|
this._ensureBackdrop(), this._ensureContainer(), this._syncShell(), this._buildUserHeader(), this._buildContent(), this._buildFooter();
|
|
13034
13051
|
}
|
|
13035
13052
|
};
|
|
13036
|
-
customElements.get("mint-side-navigation") || a("mint-side-navigation",
|
|
13053
|
+
customElements.get("mint-side-navigation") || a("mint-side-navigation", ar);
|
|
13037
13054
|
//#endregion
|
|
13038
13055
|
//#region src/components/side-navigation/index.ts
|
|
13039
|
-
var
|
|
13056
|
+
var or = ar, U = "mint-sortable-placeholder", W = "mint-sortable-dragging", sr = class e extends HTMLElement {
|
|
13040
13057
|
static get observedAttributes() {
|
|
13041
13058
|
return [
|
|
13042
13059
|
"direction",
|
|
@@ -13473,10 +13490,10 @@ var ar = ir, U = "mint-sortable-placeholder", W = "mint-sortable-dragging", or =
|
|
|
13473
13490
|
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;
|
|
13474
13491
|
}
|
|
13475
13492
|
};
|
|
13476
|
-
customElements.get("mint-sortable") || a("mint-sortable",
|
|
13493
|
+
customElements.get("mint-sortable") || a("mint-sortable", sr);
|
|
13477
13494
|
//#endregion
|
|
13478
13495
|
//#region src/components/tabs/Tab.ts
|
|
13479
|
-
var
|
|
13496
|
+
var cr = class extends HTMLElement {
|
|
13480
13497
|
static get observedAttributes() {
|
|
13481
13498
|
return [
|
|
13482
13499
|
"active",
|
|
@@ -13557,10 +13574,10 @@ var sr = class extends HTMLElement {
|
|
|
13557
13574
|
t.__mintTabsSynthetic = !0, this.dispatchEvent(t);
|
|
13558
13575
|
}
|
|
13559
13576
|
};
|
|
13560
|
-
customElements.get("mint-tab") || a("mint-tab",
|
|
13577
|
+
customElements.get("mint-tab") || a("mint-tab", cr);
|
|
13561
13578
|
//#endregion
|
|
13562
13579
|
//#region src/components/tabs/TabList.ts
|
|
13563
|
-
var
|
|
13580
|
+
var lr = class extends HTMLElement {
|
|
13564
13581
|
static get observedAttributes() {
|
|
13565
13582
|
return ["position", "full-width"];
|
|
13566
13583
|
}
|
|
@@ -13582,10 +13599,10 @@ var cr = class extends HTMLElement {
|
|
|
13582
13599
|
});
|
|
13583
13600
|
}
|
|
13584
13601
|
};
|
|
13585
|
-
customElements.get("mint-tab-list") || a("mint-tab-list",
|
|
13602
|
+
customElements.get("mint-tab-list") || a("mint-tab-list", lr);
|
|
13586
13603
|
//#endregion
|
|
13587
13604
|
//#region src/components/tabs/TabContent.ts
|
|
13588
|
-
var
|
|
13605
|
+
var ur = class extends HTMLElement {
|
|
13589
13606
|
static get observedAttributes() {
|
|
13590
13607
|
return ["id"];
|
|
13591
13608
|
}
|
|
@@ -13623,10 +13640,10 @@ var lr = class extends HTMLElement {
|
|
|
13623
13640
|
this.setAttribute("role", "tabpanel"), this.hasAttribute("tabindex") || this.setAttribute("tabindex", "0");
|
|
13624
13641
|
}
|
|
13625
13642
|
};
|
|
13626
|
-
customElements.get("mint-tab-content") || a("mint-tab-content",
|
|
13643
|
+
customElements.get("mint-tab-content") || a("mint-tab-content", ur);
|
|
13627
13644
|
//#endregion
|
|
13628
13645
|
//#region src/components/tabs/Tabs.ts
|
|
13629
|
-
var
|
|
13646
|
+
var dr = class e extends HTMLElement {
|
|
13630
13647
|
static {
|
|
13631
13648
|
this._id = 0;
|
|
13632
13649
|
}
|
|
@@ -13732,10 +13749,10 @@ var ur = class e extends HTMLElement {
|
|
|
13732
13749
|
});
|
|
13733
13750
|
}
|
|
13734
13751
|
};
|
|
13735
|
-
customElements.get("mint-tabs") || a("mint-tabs",
|
|
13752
|
+
customElements.get("mint-tabs") || a("mint-tabs", dr);
|
|
13736
13753
|
//#endregion
|
|
13737
13754
|
//#region src/components/tags/Tags.ts
|
|
13738
|
-
var
|
|
13755
|
+
var fr = class extends HTMLElement {
|
|
13739
13756
|
constructor(...e) {
|
|
13740
13757
|
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;
|
|
13741
13758
|
}
|
|
@@ -14148,10 +14165,10 @@ var dr = class extends HTMLElement {
|
|
|
14148
14165
|
}
|
|
14149
14166
|
}
|
|
14150
14167
|
};
|
|
14151
|
-
customElements.get("mint-tags") || a("mint-tags",
|
|
14168
|
+
customElements.get("mint-tags") || a("mint-tags", fr);
|
|
14152
14169
|
//#endregion
|
|
14153
14170
|
//#region src/components/toast/Toast.ts
|
|
14154
|
-
var
|
|
14171
|
+
var pr = class extends HTMLElement {
|
|
14155
14172
|
constructor(...e) {
|
|
14156
14173
|
super(...e), this._messageEl = null, this._hideTimer = null, this._hideResolve = null, this._bottomNavObserver = null, this._bodyObserver = null;
|
|
14157
14174
|
}
|
|
@@ -14228,11 +14245,11 @@ var fr = class extends HTMLElement {
|
|
|
14228
14245
|
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);
|
|
14229
14246
|
}
|
|
14230
14247
|
};
|
|
14231
|
-
customElements.get("mint-toast") || a("mint-toast",
|
|
14248
|
+
customElements.get("mint-toast") || a("mint-toast", pr);
|
|
14232
14249
|
//#endregion
|
|
14233
14250
|
//#region src/components/toast/ToastApi.ts
|
|
14234
|
-
var
|
|
14235
|
-
function
|
|
14251
|
+
var mr = 2200, hr = [], G = !1, K = null;
|
|
14252
|
+
function gr() {
|
|
14236
14253
|
return typeof document > "u" || document.body ? Promise.resolve() : new Promise((e) => {
|
|
14237
14254
|
if (typeof window > "u") {
|
|
14238
14255
|
e();
|
|
@@ -14243,25 +14260,25 @@ function hr() {
|
|
|
14243
14260
|
}, { once: !0 });
|
|
14244
14261
|
});
|
|
14245
14262
|
}
|
|
14246
|
-
async function
|
|
14247
|
-
if (await
|
|
14263
|
+
async function _r() {
|
|
14264
|
+
if (await gr(), typeof document > "u") throw Error("mintui.toast is only available in browser environments.");
|
|
14248
14265
|
let e = document.querySelector("mint-toast[data-mint-toast-root=\"true\"]");
|
|
14249
14266
|
if (e) return e;
|
|
14250
14267
|
let t = document.createElement("mint-toast");
|
|
14251
14268
|
return t.setAttribute("data-mint-toast-root", "true"), document.body.appendChild(t), t;
|
|
14252
14269
|
}
|
|
14253
|
-
async function
|
|
14270
|
+
async function vr() {
|
|
14254
14271
|
if (!G) {
|
|
14255
14272
|
G = !0;
|
|
14256
14273
|
try {
|
|
14257
|
-
for (;
|
|
14258
|
-
let e =
|
|
14274
|
+
for (; hr.length > 0;) {
|
|
14275
|
+
let e = hr.shift();
|
|
14259
14276
|
if (!e) continue;
|
|
14260
14277
|
let t = e.message.trim().slice(0, 120);
|
|
14261
14278
|
if (!t) continue;
|
|
14262
|
-
let n = await
|
|
14279
|
+
let n = await _r();
|
|
14263
14280
|
K = n;
|
|
14264
|
-
let r = e.options?.duration ??
|
|
14281
|
+
let r = e.options?.duration ?? mr, i = e.options?.type ?? "neutral";
|
|
14265
14282
|
await n.showToast(t, r, i);
|
|
14266
14283
|
}
|
|
14267
14284
|
} finally {
|
|
@@ -14269,21 +14286,21 @@ async function _r() {
|
|
|
14269
14286
|
}
|
|
14270
14287
|
}
|
|
14271
14288
|
}
|
|
14272
|
-
function
|
|
14273
|
-
typeof window > "u" || (
|
|
14289
|
+
function yr(e, t) {
|
|
14290
|
+
typeof window > "u" || (hr.push({
|
|
14274
14291
|
message: e,
|
|
14275
14292
|
options: t
|
|
14276
|
-
}), G && K && K.hideToast(),
|
|
14293
|
+
}), G && K && K.hideToast(), vr());
|
|
14277
14294
|
}
|
|
14278
|
-
var
|
|
14295
|
+
var br = { toast: yr };
|
|
14279
14296
|
if (typeof window < "u") {
|
|
14280
14297
|
let e = window.mintui || {};
|
|
14281
|
-
e.toast =
|
|
14298
|
+
e.toast = yr, window.mintui = e;
|
|
14282
14299
|
}
|
|
14283
14300
|
//#endregion
|
|
14284
14301
|
//#region src/components/tree/tree-utils.js
|
|
14285
14302
|
function q(e = []) {
|
|
14286
|
-
|
|
14303
|
+
Cr(e);
|
|
14287
14304
|
let t = (e) => e.map((e) => ({
|
|
14288
14305
|
...e,
|
|
14289
14306
|
children: Array.isArray(e.children) ? t(e.children) : []
|
|
@@ -14312,11 +14329,11 @@ function Y(e, t, n = null) {
|
|
|
14312
14329
|
}
|
|
14313
14330
|
return null;
|
|
14314
14331
|
}
|
|
14315
|
-
function
|
|
14332
|
+
function xr(e, t, n = 0) {
|
|
14316
14333
|
let r = String(t);
|
|
14317
14334
|
for (let t of e) {
|
|
14318
14335
|
if (String(t.id) === r) return n;
|
|
14319
|
-
let e =
|
|
14336
|
+
let e = xr(t.children || [], r, n + 1);
|
|
14320
14337
|
if (e >= 0) return e;
|
|
14321
14338
|
}
|
|
14322
14339
|
return -1;
|
|
@@ -14325,10 +14342,10 @@ function X(e) {
|
|
|
14325
14342
|
let t = Array.isArray(e?.children) ? e.children : [];
|
|
14326
14343
|
return t.length ? 1 + Math.max(...t.map(X)) : 1;
|
|
14327
14344
|
}
|
|
14328
|
-
function
|
|
14329
|
-
return String(e.id) === String(t) ? !0 : (e.children || []).some((e) =>
|
|
14345
|
+
function Sr(e, t) {
|
|
14346
|
+
return String(e.id) === String(t) ? !0 : (e.children || []).some((e) => Sr(e, t));
|
|
14330
14347
|
}
|
|
14331
|
-
function
|
|
14348
|
+
function Cr(e) {
|
|
14332
14349
|
let t = /* @__PURE__ */ new Set(), n = (e) => {
|
|
14333
14350
|
for (let r of e) {
|
|
14334
14351
|
if (r.id === null || r.id === void 0 || String(r.id) === "") throw Error("Every tree item must have a non-empty identifier.");
|
|
@@ -14339,13 +14356,13 @@ function Sr(e) {
|
|
|
14339
14356
|
};
|
|
14340
14357
|
n(e);
|
|
14341
14358
|
}
|
|
14342
|
-
function
|
|
14359
|
+
function wr(e, t, n, r, i = {}) {
|
|
14343
14360
|
let a = q(e), o = Y(a, t);
|
|
14344
14361
|
if (!o) throw Error(`Tree item ${t} was not found.`);
|
|
14345
14362
|
if (o.item.disabled || o.item.draggable === !1) throw Error("Disabled tree items cannot be moved.");
|
|
14346
14363
|
let s = n == null || n === "" ? null : J(a, n);
|
|
14347
14364
|
if (n != null && n !== "" && !s) throw Error(`Target parent ${n} was not found.`);
|
|
14348
|
-
if (s &&
|
|
14365
|
+
if (s && Sr(o.item, s.id)) throw Error("A tree item cannot be moved inside itself or one of its descendants.");
|
|
14349
14366
|
if (s?.disabled) throw Error("Disabled tree items cannot contain children.");
|
|
14350
14367
|
if (i.allowNesting === !1 && s) throw Error("Nesting is disabled for this tree.");
|
|
14351
14368
|
if (s?.canHaveChildren === !1) throw Error("The target item cannot contain children.");
|
|
@@ -14353,7 +14370,7 @@ function Cr(e, t, n, r, i = {}) {
|
|
|
14353
14370
|
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);
|
|
14354
14371
|
c.splice(d, 0, u);
|
|
14355
14372
|
let f = Number.isFinite(i.maxDepth) ? Math.max(1, Math.trunc(i.maxDepth)) : Infinity;
|
|
14356
|
-
if ((s ?
|
|
14373
|
+
if ((s ? xr(a, s.id) + 1 : 0) + X(u) > f) throw Error(`Moving this branch would exceed the maximum tree depth of ${f}.`);
|
|
14357
14374
|
return {
|
|
14358
14375
|
items: a,
|
|
14359
14376
|
item: u,
|
|
@@ -14365,7 +14382,7 @@ function Cr(e, t, n, r, i = {}) {
|
|
|
14365
14382
|
}
|
|
14366
14383
|
//#endregion
|
|
14367
14384
|
//#region src/components/tree/Tree.ts
|
|
14368
|
-
var
|
|
14385
|
+
var Tr = 0;
|
|
14369
14386
|
function Z(e, t, n) {
|
|
14370
14387
|
e.dispatchEvent(new CustomEvent(t, {
|
|
14371
14388
|
bubbles: !0,
|
|
@@ -14373,7 +14390,7 @@ function Z(e, t, n) {
|
|
|
14373
14390
|
detail: n
|
|
14374
14391
|
}));
|
|
14375
14392
|
}
|
|
14376
|
-
function
|
|
14393
|
+
function Er(e, t) {
|
|
14377
14394
|
let n = e.getAttribute(t);
|
|
14378
14395
|
return n === "" || n === "true";
|
|
14379
14396
|
}
|
|
@@ -14382,7 +14399,7 @@ function Q(e) {
|
|
|
14382
14399
|
}
|
|
14383
14400
|
var $ = class extends HTMLElement {
|
|
14384
14401
|
constructor(...e) {
|
|
14385
|
-
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-${++
|
|
14402
|
+
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-${++Tr}`, 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) => {
|
|
14386
14403
|
let t = e.target instanceof Element ? e.target.closest("[data-tree-command]") : null;
|
|
14387
14404
|
if (!t || !this.contains(t)) return;
|
|
14388
14405
|
let n = t.getAttribute("data-tree-command"), r = t.getAttribute("data-tree-id");
|
|
@@ -14686,13 +14703,13 @@ var $ = class extends HTMLElement {
|
|
|
14686
14703
|
return Number.isFinite(e) && e > 0 ? e : Infinity;
|
|
14687
14704
|
}
|
|
14688
14705
|
_allowNesting() {
|
|
14689
|
-
return !this.hasAttribute("allow-nesting") ||
|
|
14706
|
+
return !this.hasAttribute("allow-nesting") || Er(this, "allow-nesting");
|
|
14690
14707
|
}
|
|
14691
14708
|
_disabled() {
|
|
14692
|
-
return
|
|
14709
|
+
return Er(this, "disabled");
|
|
14693
14710
|
}
|
|
14694
14711
|
_isLoading() {
|
|
14695
|
-
return
|
|
14712
|
+
return Er(this, "loading");
|
|
14696
14713
|
}
|
|
14697
14714
|
_render() {
|
|
14698
14715
|
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;
|
|
@@ -14843,7 +14860,7 @@ var $ = class extends HTMLElement {
|
|
|
14843
14860
|
i = e.parentId, a = e.siblings.findIndex((e) => String(e.id) === n.parentId) + 1;
|
|
14844
14861
|
} else return;
|
|
14845
14862
|
try {
|
|
14846
|
-
let t =
|
|
14863
|
+
let t = wr(this._items, e, i, a, {
|
|
14847
14864
|
maxDepth: this._maxDepth(),
|
|
14848
14865
|
allowNesting: this._allowNesting()
|
|
14849
14866
|
});
|
|
@@ -15006,7 +15023,7 @@ var $ = class extends HTMLElement {
|
|
|
15006
15023
|
if (!t || t.siblings.indexOf(t.item) <= 0) return;
|
|
15007
15024
|
let n = t.siblings[t.siblings.indexOf(t.item) - 1];
|
|
15008
15025
|
try {
|
|
15009
|
-
let t =
|
|
15026
|
+
let t = wr(this._items, e, n.id, (n.children || []).length, {
|
|
15010
15027
|
maxDepth: this._maxDepth(),
|
|
15011
15028
|
allowNesting: this._allowNesting()
|
|
15012
15029
|
});
|
|
@@ -15028,7 +15045,7 @@ var $ = class extends HTMLElement {
|
|
|
15028
15045
|
if (!n) return;
|
|
15029
15046
|
let r = n.siblings.findIndex((e) => String(e.id) === t.parentId) + 1;
|
|
15030
15047
|
try {
|
|
15031
|
-
let t =
|
|
15048
|
+
let t = wr(this._items, e, n.parentId, r, {
|
|
15032
15049
|
maxDepth: this._maxDepth(),
|
|
15033
15050
|
allowNesting: this._allowNesting()
|
|
15034
15051
|
});
|
|
@@ -15049,4 +15066,4 @@ var $ = class extends HTMLElement {
|
|
|
15049
15066
|
};
|
|
15050
15067
|
customElements.get("mint-tree") || a("mint-tree", $);
|
|
15051
15068
|
//#endregion
|
|
15052
|
-
export {
|
|
15069
|
+
export { wn as Alert, un as BackButton, En as BottomNavigation, M as Button, M as default, sn as Card, Dn as Chart, yn as Checkbox, On as Chip, bn as Choice, kn as Clickable, An as Collapsible, jn as ConfirmAction, Rn as DatePicker, Bn as DateTimePicker, Vn as Dropzone, Hn as Form, gn as Grid, l as Icon, Ln as Input, cn as Link, Tn as MintBottomNavItem, L as MintBottomNavigation, nr as MintSidenavActionLinks, rr as MintSidenavActionMenu, er as MintSidenavLink, tr as MintSidenavLinks, $ as MintTree, $ as Tree, vn as Modal, Qn as NativeSelect, Cn as Navigation, Un as OffCanvas, hn as Page, mn as Popover, Kn as ResourceTable, dn as ScrollFade, Zn as Search, $n as Select, or as SideNavigation, sr as Sortable, nn as Spinner, on as Stack, rn as Switch, cr as Tab, ur as TabContent, lr as TabList, Gn as Table, dr as Tabs, fr as Tags, an as Text, zn as TimePicker, pr as Toast, In as confirm, br as mintui, N as observeScrollFade, yr as toast };
|