labsense-ui-kit 1.2.38 → 1.2.39
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/Icons/SVGs/Copy_2.d.ts +4 -0
- package/dist/Icons/SVGs/Dashboard.d.ts +4 -0
- package/dist/Icons/SVGs/Increase.d.ts +4 -0
- package/dist/Icons/SVGs/License.d.ts +4 -0
- package/dist/Icons/SVGs/Rupee.d.ts +4 -0
- package/dist/Icons/SVGs/ShoppingCart.d.ts +4 -0
- package/dist/Icons/SVGs/index.d.ts +7 -0
- package/dist/Icons/index.d.ts +1 -1
- package/dist/index.js +307 -112
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +307 -112
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -886,6 +886,26 @@ var CloudCross = function CloudCross(_ref) {
|
|
|
886
886
|
}));
|
|
887
887
|
};
|
|
888
888
|
|
|
889
|
+
var Copy_2 = function Copy_2(_ref) {
|
|
890
|
+
var size = _ref.size,
|
|
891
|
+
color = _ref.color,
|
|
892
|
+
weight = _ref.weight;
|
|
893
|
+
return React__default.createElement("svg", {
|
|
894
|
+
width: size,
|
|
895
|
+
height: size,
|
|
896
|
+
strokeWidth: weight,
|
|
897
|
+
viewBox: '0 0 14 14',
|
|
898
|
+
fill: 'none',
|
|
899
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
900
|
+
}, React__default.createElement("path", {
|
|
901
|
+
d: 'M10.5 11.375C10.5 11.8391 10.3156 12.2842 9.98744 12.6124C9.65925 12.9406 9.21413 13.125 8.75 13.125H2.625C2.16087 13.125 1.71575 12.9406 1.38756 12.6124C1.05937 12.2842 0.875 11.8391 0.875 11.375V5.25C0.875 4.78587 1.05937 4.34075 1.38756 4.01256C1.71575 3.68437 2.16087 3.5 2.625 3.5V4.375C2.39294 4.375 2.17038 4.46719 2.00628 4.63128C1.84219 4.79538 1.75 5.01794 1.75 5.25V11.375C1.75 11.6071 1.84219 11.8296 2.00628 11.9937C2.17038 12.1578 2.39294 12.25 2.625 12.25H8.75C8.98206 12.25 9.20462 12.1578 9.36872 11.9937C9.53281 11.8296 9.625 11.6071 9.625 11.375H10.5Z',
|
|
902
|
+
fill: color
|
|
903
|
+
}), React__default.createElement("path", {
|
|
904
|
+
d: 'M5.25 1.75C5.01794 1.75 4.79538 1.84219 4.63128 2.00628C4.46719 2.17038 4.375 2.39294 4.375 2.625V8.75C4.375 8.98206 4.46719 9.20462 4.63128 9.36872C4.79538 9.53281 5.01794 9.625 5.25 9.625H11.375C11.6071 9.625 11.8296 9.53281 11.9937 9.36872C12.1578 9.20462 12.25 8.98206 12.25 8.75V2.625C12.25 2.39294 12.1578 2.17038 11.9937 2.00628C11.8296 1.84219 11.6071 1.75 11.375 1.75H5.25ZM5.25 0.875H11.375C11.8391 0.875 12.2842 1.05937 12.6124 1.38756C12.9406 1.71575 13.125 2.16087 13.125 2.625V8.75C13.125 9.21413 12.9406 9.65925 12.6124 9.98744C12.2842 10.3156 11.8391 10.5 11.375 10.5H5.25C4.78587 10.5 4.34075 10.3156 4.01256 9.98744C3.68437 9.65925 3.5 9.21413 3.5 8.75V2.625C3.5 2.16087 3.68437 1.71575 4.01256 1.38756C4.34075 1.05937 4.78587 0.875 5.25 0.875Z',
|
|
905
|
+
fill: color
|
|
906
|
+
}));
|
|
907
|
+
};
|
|
908
|
+
|
|
889
909
|
var Copy = function Copy(_ref) {
|
|
890
910
|
var size = _ref.size,
|
|
891
911
|
color = _ref.color,
|
|
@@ -990,6 +1010,23 @@ var Cyber = function Cyber(_ref) {
|
|
|
990
1010
|
}));
|
|
991
1011
|
};
|
|
992
1012
|
|
|
1013
|
+
var Dashboard = function Dashboard(_ref) {
|
|
1014
|
+
var size = _ref.size,
|
|
1015
|
+
color = _ref.color,
|
|
1016
|
+
weight = _ref.weight;
|
|
1017
|
+
return React__default.createElement("svg", {
|
|
1018
|
+
width: size,
|
|
1019
|
+
height: size,
|
|
1020
|
+
strokeWidth: weight,
|
|
1021
|
+
viewBox: '0 0 12 12',
|
|
1022
|
+
fill: 'none',
|
|
1023
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
1024
|
+
}, React__default.createElement("path", {
|
|
1025
|
+
d: 'M3.95833 0.75H2.20833C1.82156 0.75 1.45063 0.903645 1.17714 1.17714C0.903645 1.45063 0.75 1.82156 0.75 2.20833C0.75 2.59511 0.903645 2.96604 1.17714 3.23953C1.45063 3.51302 1.82156 3.66667 2.20833 3.66667H3.95833C4.34511 3.66667 4.71604 3.51302 4.98953 3.23953C5.26302 2.96604 5.41667 2.59511 5.41667 2.20833C5.41667 1.82156 5.26302 1.45063 4.98953 1.17714C4.71604 0.903645 4.34511 0.75 3.95833 0.75ZM3.95833 3.08333H2.20833C1.97627 3.08333 1.75371 2.99115 1.58961 2.82705C1.42552 2.66296 1.33333 2.4404 1.33333 2.20833C1.33333 1.97627 1.42552 1.75371 1.58961 1.58961C1.75371 1.42552 1.97627 1.33333 2.20833 1.33333H3.95833C4.1904 1.33333 4.41296 1.42552 4.57705 1.58961C4.74115 1.75371 4.83333 1.97627 4.83333 2.20833C4.83333 2.4404 4.74115 2.66296 4.57705 2.82705C4.41296 2.99115 4.1904 3.08333 3.95833 3.08333ZM3.95833 4.83333H2.20833C1.82156 4.83333 1.45063 4.98698 1.17714 5.26047C0.903645 5.53396 0.75 5.90489 0.75 6.29167V9.79167C0.75 10.1784 0.903645 10.5494 1.17714 10.8229C1.45063 11.0964 1.82156 11.25 2.20833 11.25H3.95833C4.34511 11.25 4.71604 11.0964 4.98953 10.8229C5.26302 10.5494 5.41667 10.1784 5.41667 9.79167V6.29167C5.41667 5.90489 5.26302 5.53396 4.98953 5.26047C4.71604 4.98698 4.34511 4.83333 3.95833 4.83333ZM4.83333 9.79167C4.83333 10.0237 4.74115 10.2463 4.57705 10.4104C4.41296 10.5745 4.1904 10.6667 3.95833 10.6667H2.20833C1.97627 10.6667 1.75371 10.5745 1.58961 10.4104C1.42552 10.2463 1.33333 10.0237 1.33333 9.79167V6.29167C1.33333 6.0596 1.42552 5.83704 1.58961 5.67295C1.75371 5.50885 1.97627 5.41667 2.20833 5.41667H3.95833C4.1904 5.41667 4.41296 5.50885 4.57705 5.67295C4.74115 5.83704 4.83333 6.0596 4.83333 6.29167V9.79167ZM9.79167 8.33333H8.04167C7.65489 8.33333 7.28396 8.48698 7.01047 8.76047C6.73698 9.03396 6.58333 9.40489 6.58333 9.79167C6.58333 10.1784 6.73698 10.5494 7.01047 10.8229C7.28396 11.0964 7.65489 11.25 8.04167 11.25H9.79167C10.1784 11.25 10.5494 11.0964 10.8229 10.8229C11.0964 10.5494 11.25 10.1784 11.25 9.79167C11.25 9.40489 11.0964 9.03396 10.8229 8.76047C10.5494 8.48698 10.1784 8.33333 9.79167 8.33333ZM9.79167 10.6667H8.04167C7.8096 10.6667 7.58704 10.5745 7.42295 10.4104C7.25885 10.2463 7.16667 10.0237 7.16667 9.79167C7.16667 9.5596 7.25885 9.33704 7.42295 9.17295C7.58704 9.00885 7.8096 8.91667 8.04167 8.91667H9.79167C10.0237 8.91667 10.2463 9.00885 10.4104 9.17295C10.5745 9.33704 10.6667 9.5596 10.6667 9.79167C10.6667 10.0237 10.5745 10.2463 10.4104 10.4104C10.2463 10.5745 10.0237 10.6667 9.79167 10.6667ZM9.79167 0.75H8.04167C7.65489 0.75 7.28396 0.903645 7.01047 1.17714C6.73698 1.45063 6.58333 1.82156 6.58333 2.20833V5.70833C6.58333 6.09511 6.73698 6.46604 7.01047 6.73953C7.28396 7.01302 7.65489 7.16667 8.04167 7.16667H9.79167C10.1784 7.16667 10.5494 7.01302 10.8229 6.73953C11.0964 6.46604 11.25 6.09511 11.25 5.70833V2.20833C11.25 1.82156 11.0964 1.45063 10.8229 1.17714C10.5494 0.903645 10.1784 0.75 9.79167 0.75ZM10.6667 5.70833C10.6667 5.9404 10.5745 6.16296 10.4104 6.32705C10.2463 6.49115 10.0237 6.58333 9.79167 6.58333H8.04167C7.8096 6.58333 7.58704 6.49115 7.42295 6.32705C7.25885 6.16296 7.16667 5.9404 7.16667 5.70833V2.20833C7.16667 1.97627 7.25885 1.75371 7.42295 1.58961C7.58704 1.42552 7.8096 1.33333 8.04167 1.33333H9.79167C10.0237 1.33333 10.2463 1.42552 10.4104 1.58961C10.5745 1.75371 10.6667 1.97627 10.6667 2.20833V5.70833Z',
|
|
1026
|
+
fill: color
|
|
1027
|
+
}));
|
|
1028
|
+
};
|
|
1029
|
+
|
|
993
1030
|
var Decrease = function Decrease(_ref) {
|
|
994
1031
|
var size = _ref.size,
|
|
995
1032
|
color = _ref.color,
|
|
@@ -2366,6 +2403,49 @@ var Home = function Home(_ref) {
|
|
|
2366
2403
|
}));
|
|
2367
2404
|
};
|
|
2368
2405
|
|
|
2406
|
+
var Hospital = function Hospital(_ref) {
|
|
2407
|
+
var size = _ref.size,
|
|
2408
|
+
color = _ref.color,
|
|
2409
|
+
weight = _ref.weight;
|
|
2410
|
+
return React__default.createElement("svg", {
|
|
2411
|
+
width: size,
|
|
2412
|
+
height: size,
|
|
2413
|
+
strokeWidth: weight,
|
|
2414
|
+
viewBox: '0 0 14 14',
|
|
2415
|
+
fill: 'none',
|
|
2416
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
2417
|
+
}, React__default.createElement("path", {
|
|
2418
|
+
d: "M11.3356 4.66813V1.99938H9.33625V0H4.66813V1.99938H2.66875V4.66813H0V14H14V4.66813H11.3356ZM6.0025 1.99938H6.6675V1.33438H7.33687V1.99938H8.00187V2.66875H7.33687V3.33375H6.6675V2.66875H6.0025V1.99938ZM0.669375 5.33312H2.66875V12.0006H0.669375V5.33312ZM4.00312 13.335H0.669375V12.67H4.00312V13.335ZM9.33625 13.335H4.66813V12.67H9.33625V13.335ZM5.3375 12.0006V8.66687H6.6675V12.0006H5.3375ZM7.33687 12.0006V8.66687H8.66687V12.0006H7.33687ZM4.66813 8.00187V12.0006H3.33375V2.66875H4.66813V4.66813H9.33625V2.66875H10.6706V12.0006H9.33625V8.00187H4.66813ZM13.335 13.335H10.0013V12.67H13.335V13.335ZM13.335 12.0006H11.3356V5.33312H13.335V12.0006Z",
|
|
2419
|
+
fill: color
|
|
2420
|
+
}), React__default.createElement("path", {
|
|
2421
|
+
d: "M12.0006 10.0013H12.67V10.6663H12.0006V10.0013ZM12.0006 8.66688H12.67V9.33626H12.0006V8.66688ZM12.0006 7.33688H12.67V8.00188H12.0006V7.33688ZM12.0006 6.00251H12.67V6.66751H12.0006V6.00251ZM8.66688 6.66751H10.0013V7.33688H8.66688V6.66751ZM8.66688 5.33313H10.0013V6.00251H8.66688V5.33313ZM6.00251 6.66751H8.00188V7.33688H6.00251V6.66751ZM6.00251 5.33313H8.00188V6.00251H6.00251V5.33313ZM4.00313 6.66751H5.33751V7.33688H4.00313V6.66751ZM4.00313 5.33313H5.33751V6.00251H4.00313V5.33313ZM1.33438 10.0013H2.00376V10.6663H1.33438V10.0013ZM1.33438 8.66688H2.00376V9.33626H1.33438V8.66688ZM1.33438 7.33688H2.00376V8.00188H1.33438V7.33688ZM1.33438 6.00251H2.00376V6.66751H1.33438V6.00251Z",
|
|
2422
|
+
fill: color
|
|
2423
|
+
}));
|
|
2424
|
+
};
|
|
2425
|
+
|
|
2426
|
+
var Increase = function Increase(_ref) {
|
|
2427
|
+
var size = _ref.size,
|
|
2428
|
+
color = _ref.color,
|
|
2429
|
+
weight = _ref.weight;
|
|
2430
|
+
return React__default.createElement("svg", {
|
|
2431
|
+
width: size,
|
|
2432
|
+
height: size,
|
|
2433
|
+
strokeWidth: weight,
|
|
2434
|
+
viewBox: '0 0 12 12',
|
|
2435
|
+
fill: 'none',
|
|
2436
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
2437
|
+
}, React__default.createElement("path", {
|
|
2438
|
+
d: 'M3.09944 8.04184C3.54057 7.54987 3.98169 7.05789 4.42281 6.56592C4.64007 6.3236 4.85735 6.08129 5.07461 5.83899C4.99729 5.84897 4.91996 5.85894 4.84266 5.86892C5.3489 6.18691 5.85516 6.5049 6.36139 6.82288C6.43408 6.86855 6.53382 6.85218 6.59335 6.79296C7.02391 6.36448 7.45448 5.93599 7.88505 5.50751C8.31241 5.08224 8.73976 4.65697 9.16709 4.23169C9.34224 4.05739 9.07151 3.78676 8.8964 3.96101C8.46583 4.38948 8.03526 4.81797 7.60469 5.24645C7.17734 5.67171 6.74998 6.09699 6.32266 6.52225C6.39997 6.51229 6.4773 6.50229 6.55461 6.49233C6.04837 6.17433 5.54211 5.85635 5.03587 5.53837C4.96626 5.49463 4.8596 5.50619 4.80393 5.5683C4.36281 6.06028 3.92168 6.55225 3.48056 7.04423C3.2633 7.28655 3.04603 7.52885 2.82877 7.77117C2.75918 7.84878 2.75203 7.96511 2.82877 8.04185C2.89949 8.11258 3.02977 8.11954 3.09944 8.04184Z',
|
|
2439
|
+
fill: color
|
|
2440
|
+
}), React__default.createElement("path", {
|
|
2441
|
+
d: 'M7.23642 4.28491C7.83624 4.28491 8.43607 4.28491 9.03589 4.28491C8.97209 4.22111 8.9083 4.15731 8.84449 4.09351C8.84449 4.69333 8.84449 5.29314 8.84449 5.89297C8.84449 5.99731 8.93155 6.08438 9.03589 6.08438C9.14024 6.08438 9.2273 5.9973 9.2273 5.89297C9.2273 5.29314 9.2273 4.69333 9.2273 4.09351C9.2273 3.98916 9.14024 3.9021 9.03589 3.9021C8.43607 3.9021 7.83624 3.9021 7.23642 3.9021C7.13207 3.9021 7.04501 3.98916 7.04501 4.09351C7.04501 4.19785 7.13207 4.28491 7.23642 4.28491Z',
|
|
2442
|
+
fill: color
|
|
2443
|
+
}), React__default.createElement("path", {
|
|
2444
|
+
d: 'M11.5496 6.00002C11.5486 6.63151 11.456 7.19951 11.2486 7.80888C11.225 7.87808 11.1998 7.9467 11.1736 8.01494C11.1605 8.04897 11.147 8.08281 11.1333 8.11659C11.1264 8.13345 11.1194 8.15025 11.1124 8.16704C11.1266 8.13308 11.0985 8.19886 11.0959 8.20488C11.0355 8.34327 10.969 8.47895 10.8979 8.61211C10.7565 8.87677 10.5932 9.12951 10.4123 9.36884C10.4108 9.37082 10.3747 9.41767 10.3985 9.38703C10.3875 9.40121 10.3764 9.41528 10.3652 9.42936C10.343 9.45751 10.3204 9.48533 10.2976 9.51305C10.2483 9.57309 10.1975 9.63188 10.1458 9.68988C10.0464 9.80136 9.94223 9.90849 9.83453 10.0119C9.7268 10.1154 9.6146 10.2142 9.49918 10.309C9.47147 10.3318 9.44341 10.3542 9.41527 10.3764C9.41332 10.3779 9.36664 10.4142 9.39735 10.3905C9.38313 10.4015 9.36882 10.4123 9.35449 10.4231C9.2924 10.4701 9.22915 10.5155 9.16519 10.5598C8.91816 10.7312 8.657 10.882 8.38623 11.0126C8.32085 11.0442 8.25472 11.0741 8.18818 11.1032C8.18587 11.1042 8.13079 11.1277 8.167 11.1124C8.15023 11.1195 8.13338 11.1264 8.11656 11.1333C8.07719 11.1494 8.0376 11.1649 7.99788 11.1802C7.85534 11.2349 7.71038 11.2832 7.56391 11.3263C7.41601 11.3698 7.26616 11.4066 7.11524 11.438C7.04216 11.4532 6.96872 11.4666 6.89511 11.4789C6.85813 11.4851 6.82106 11.4908 6.78396 11.4962C6.78137 11.4966 6.72006 11.5051 6.76036 11.4998C6.73546 11.5031 6.71051 11.5061 6.68558 11.5092C6.36902 11.5474 6.04927 11.5576 5.73081 11.5435C5.57281 11.5364 5.41516 11.5222 5.25827 11.5022C5.19676 11.4944 5.29591 11.5076 5.23459 11.4989C5.216 11.4963 5.19743 11.4935 5.17888 11.4907C5.14184 11.4851 5.10489 11.479 5.06797 11.4727C4.98836 11.4591 4.90912 11.4434 4.83016 11.4265C4.53046 11.3621 4.23646 11.2721 3.95106 11.1604C3.86682 11.1274 3.84593 11.1182 3.77848 11.0886C3.70654 11.0569 3.63542 11.0234 3.56485 10.9889C3.42966 10.9226 3.29744 10.8504 3.16791 10.7737C2.90698 10.6192 2.66779 10.4481 2.45934 10.2747C2.22968 10.0837 2.01588 9.87383 1.81854 9.64966C1.77115 9.59582 1.72502 9.54088 1.67967 9.48532C1.61861 9.41051 1.60694 9.39495 1.55535 9.3258C1.46576 9.20572 1.38145 9.08174 1.30152 8.95506C0.969596 8.42898 0.755112 7.91805 0.606827 7.31442C0.569803 7.16373 0.539698 7.01138 0.515075 6.8582C0.509114 6.82114 0.5037 6.78398 0.498477 6.74682C0.504151 6.78712 0.49577 6.72565 0.495442 6.72308C0.493063 6.70437 0.490862 6.68564 0.488661 6.66691C0.47909 6.58534 0.471667 6.50353 0.465583 6.42163C0.441944 6.10321 0.4461 5.78284 0.474961 5.46492C0.500897 5.17915 0.55326 4.88594 0.634171 4.57818C0.673108 4.43009 0.718731 4.28379 0.769467 4.13933C0.793667 4.07042 0.81952 4.00211 0.846358 3.93418C0.859743 3.90031 0.873606 3.86663 0.887633 3.83303C0.872499 3.8693 0.895891 3.81417 0.896889 3.81185C0.906501 3.78962 0.916358 3.7675 0.926256 3.74539C1.04926 3.47056 1.19529 3.20621 1.35989 2.95417C1.39921 2.89396 1.43994 2.83468 1.48149 2.77599C1.50224 2.74666 1.5234 2.71763 1.5447 2.68872C1.55535 2.67427 1.56613 2.65991 1.57691 2.64556C1.58078 2.6404 1.62378 2.58436 1.60154 2.61304C1.69311 2.49496 1.78981 2.3809 1.89026 2.27028C2.09111 2.04912 2.31007 1.84462 2.54263 1.6572C2.5566 1.64595 2.57067 1.63482 2.58475 1.62369C2.58669 1.62216 2.63337 1.58588 2.60266 1.60954C2.6311 1.58763 2.65985 1.56612 2.68868 1.54474C2.75123 1.49838 2.81493 1.45359 2.87931 1.4098C3.00341 1.32539 3.13117 1.24644 3.26149 1.17201C3.39238 1.09727 3.52654 1.02832 3.6629 0.964134C3.69574 0.948671 3.7288 0.933686 3.76193 0.918852C3.77851 0.911442 3.79516 0.904169 3.81182 0.896909C3.81413 0.895897 3.86922 0.872395 3.83299 0.887653C3.9058 0.857001 3.97936 0.828208 4.05337 0.800604C4.34126 0.693225 4.63818 0.610661 4.93953 0.551052C5.01286 0.536532 5.08654 0.523831 5.16038 0.51221C5.17892 0.509298 5.19749 0.50655 5.21604 0.503815C5.21864 0.503432 5.27996 0.494901 5.23964 0.500302C5.28325 0.494464 5.32697 0.489337 5.37071 0.484483C5.52854 0.467024 5.68713 0.456866 5.84583 0.452423C6.00606 0.447938 6.16643 0.450809 6.32646 0.459518C6.40243 0.463647 6.47827 0.469649 6.55402 0.476786C6.59169 0.480327 6.62929 0.484429 6.66687 0.488708C6.6856 0.490841 6.70432 0.493165 6.72304 0.495489C6.73549 0.497048 6.74795 0.498661 6.76039 0.500302C6.74058 0.497663 6.74224 0.49795 6.76539 0.501149C7.07174 0.544243 7.3742 0.613669 7.66948 0.705776C7.81495 0.751153 7.95834 0.803065 8.0997 0.85994C8.11658 0.866735 8.13341 0.873694 8.15023 0.880653C8.20563 0.903554 8.11646 0.866106 8.17153 0.889704C8.20492 0.904018 8.23811 0.918798 8.27122 0.933755C8.3428 0.966061 8.41356 1.00019 8.48375 1.03543C8.75221 1.17021 9.00927 1.32735 9.2533 1.50241C9.38133 1.59424 9.45358 1.65134 9.58178 1.76001C9.69571 1.85659 9.8054 1.95811 9.91149 2.0632C10.0176 2.16831 10.1191 2.27801 10.2167 2.39103C10.2636 2.4453 10.3092 2.50067 10.3541 2.55666C10.3653 2.57066 10.3764 2.58477 10.3874 2.59888C10.4239 2.64535 10.3655 2.56999 10.4014 2.61693C10.4269 2.65019 10.4518 2.68385 10.4765 2.71765C10.6539 2.96002 10.811 3.21699 10.9482 3.48402C11.0558 3.69346 11.1228 3.84801 11.1994 4.05339C11.2765 4.26005 11.3405 4.47149 11.3931 4.68566C11.4197 4.79397 11.4426 4.90316 11.4629 5.01284C11.473 5.06805 11.4821 5.12345 11.4907 5.17893C11.4945 5.20367 11.498 5.22847 11.5015 5.25326C11.4989 5.23344 11.4991 5.23512 11.5021 5.25832C11.5046 5.27701 11.5069 5.29573 11.5091 5.31444C11.5366 5.54186 11.5493 5.77097 11.5496 6.00002C11.5498 6.10435 11.6366 6.19142 11.741 6.19142C11.8452 6.19142 11.9326 6.10438 11.9324 6.00002C11.9304 4.74554 11.5303 3.50642 10.7859 2.49547C10.0511 1.49762 9.01831 0.74712 7.84112 0.35903C6.63325 -0.0391906 5.29236 -0.0272003 4.08938 0.382313C2.91583 0.781819 1.89637 1.55006 1.17183 2.5535C0.436885 3.57135 0.053608 4.8239 0.0680592 6.07724C0.082483 7.3282 0.502866 8.56401 1.25717 9.56206C2.00461 10.551 3.04581 11.2902 4.22875 11.6634C5.44156 12.046 6.78197 12.0186 7.97971 11.5936C9.14735 11.1793 10.158 10.4001 10.8698 9.38795C11.5632 8.40197 11.9305 7.2035 11.9324 6.00002C11.9326 5.89567 11.8452 5.80863 11.741 5.80863C11.6366 5.80861 11.5498 5.89567 11.5496 6.00002Z',
|
|
2445
|
+
fill: color
|
|
2446
|
+
}));
|
|
2447
|
+
};
|
|
2448
|
+
|
|
2369
2449
|
var Hexagon = function Hexagon(_ref) {
|
|
2370
2450
|
var size = _ref.size,
|
|
2371
2451
|
color = _ref.color,
|
|
@@ -2644,6 +2724,35 @@ var Letter = function Letter(_ref) {
|
|
|
2644
2724
|
}));
|
|
2645
2725
|
};
|
|
2646
2726
|
|
|
2727
|
+
var License = function License(_ref) {
|
|
2728
|
+
var size = _ref.size,
|
|
2729
|
+
color = _ref.color,
|
|
2730
|
+
weight = _ref.weight;
|
|
2731
|
+
return React__default.createElement("svg", {
|
|
2732
|
+
width: size,
|
|
2733
|
+
height: size,
|
|
2734
|
+
strokeWidth: weight,
|
|
2735
|
+
viewBox: '0 0 12 14',
|
|
2736
|
+
fill: 'none',
|
|
2737
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
2738
|
+
}, React__default.createElement("path", {
|
|
2739
|
+
d: 'M8.95094 12.0094C8.87419 12.0095 8.79818 11.9945 8.72724 11.9653C8.6563 11.936 8.59182 11.893 8.5375 11.8388L8.30781 11.6201C8.28066 11.5925 8.2437 11.5767 8.205 11.5763H7.87906C7.72434 11.5757 7.57611 11.514 7.46671 11.4046C7.3573 11.2952 7.29558 11.147 7.295 10.9922V10.6554C7.29456 10.6167 7.27884 10.5797 7.25125 10.5526L7.0325 10.3229C6.92323 10.213 6.86189 10.0644 6.86189 9.90943C6.86189 9.75449 6.92323 9.60585 7.0325 9.49599L7.25125 9.27724C7.26511 9.26395 7.27613 9.24799 7.28365 9.23032C7.29117 9.21264 7.29503 9.19363 7.295 9.17443V8.83756C7.29558 8.68283 7.3573 8.53461 7.46671 8.4252C7.57611 8.31579 7.72434 8.25407 7.87906 8.25349H8.205C8.2437 8.25306 8.28066 8.23733 8.30781 8.20974L8.5375 7.98006C8.64735 7.87079 8.796 7.80945 8.95094 7.80945C9.10588 7.80945 9.25452 7.87079 9.36438 7.98006L9.58313 8.20974C9.59642 8.2236 9.61238 8.23462 9.63005 8.24214C9.64772 8.24966 9.66673 8.25352 9.68594 8.25349H10.0119C10.1666 8.25407 10.3148 8.31579 10.4242 8.4252C10.5336 8.53461 10.5954 8.68283 10.5959 8.83756V9.16349C10.5959 9.1827 10.5998 9.20171 10.6073 9.21938C10.6148 9.23705 10.6258 9.25301 10.6397 9.26631L10.8694 9.48506C10.9786 9.59491 11.04 9.74355 11.04 9.89849C11.04 10.0534 10.9786 10.2021 10.8694 10.3119L10.6397 10.5416C10.6121 10.5688 10.5964 10.6057 10.5959 10.6444V10.9813C10.5954 11.136 10.5336 11.2843 10.4242 11.3937C10.3148 11.5031 10.1666 11.5648 10.0119 11.5654H9.69688C9.67767 11.5653 9.65866 11.5692 9.64099 11.5767C9.62332 11.5842 9.60736 11.5953 9.59406 11.6091L9.37531 11.8279C9.32062 11.8854 9.25479 11.9311 9.18182 11.9624C9.10886 11.9936 9.0303 12.0096 8.95094 12.0094ZM7.87906 8.69099C7.84019 8.69099 7.80291 8.70644 7.77543 8.73392C7.74794 8.76141 7.7325 8.79869 7.7325 8.83756V9.16349C7.73226 9.31839 7.67095 9.46695 7.56188 9.57693L7.33 9.79568C7.31489 9.80961 7.30283 9.82652 7.29458 9.84535C7.28633 9.86417 7.28207 9.8845 7.28207 9.90506C7.28207 9.92561 7.28633 9.94594 7.29458 9.96477C7.30283 9.98359 7.31489 10.0005 7.33 10.0144L7.56188 10.2332C7.61602 10.2871 7.65896 10.3512 7.68825 10.4218C7.71753 10.4923 7.73257 10.568 7.7325 10.6444V10.9813C7.7325 11.0202 7.74794 11.0575 7.77543 11.0849C7.80291 11.1124 7.84019 11.1279 7.87906 11.1279H8.205C8.28162 11.1277 8.35749 11.1429 8.42813 11.1726C8.49877 11.2023 8.56273 11.2458 8.61625 11.3007L8.84375 11.5304C8.87143 11.5568 8.90826 11.5716 8.94656 11.5716C8.98487 11.5716 9.02169 11.5568 9.04938 11.5304L9.28125 11.3007C9.33477 11.2458 9.39874 11.2023 9.46937 11.1726C9.54001 11.1429 9.61588 11.1277 9.6925 11.1279H10.0184C10.0573 11.1279 10.0946 11.1124 10.1221 11.0849C10.1496 11.0575 10.165 11.0202 10.165 10.9813V10.6554C10.1649 10.579 10.18 10.5033 10.2093 10.4327C10.2385 10.3621 10.2815 10.298 10.3356 10.2441L10.5675 10.0254C10.5826 10.0114 10.5947 9.99453 10.6029 9.9757C10.6112 9.95688 10.6154 9.93655 10.6154 9.91599C10.6154 9.89544 10.6112 9.87511 10.6029 9.85628C10.5947 9.83746 10.5826 9.82055 10.5675 9.80662L10.3356 9.58787C10.2266 9.47789 10.1652 9.32933 10.165 9.17443V8.83756C10.165 8.79869 10.1496 8.76141 10.1221 8.73392C10.0946 8.70644 10.0573 8.69099 10.0184 8.69099H9.69688C9.54277 8.69426 9.39353 8.63692 9.28125 8.53131L9.0625 8.29068C9.04907 8.27706 9.03306 8.26624 9.01541 8.25885C8.99776 8.25147 8.97882 8.24767 8.95969 8.24767C8.94056 8.24767 8.92161 8.25147 8.90396 8.25885C8.88631 8.26624 8.87031 8.27706 8.85688 8.29068L8.625 8.53131C8.57108 8.58545 8.50699 8.62839 8.43641 8.65768C8.36583 8.68696 8.29016 8.702 8.21375 8.70193L7.87906 8.69099Z',
|
|
2740
|
+
fill: color
|
|
2741
|
+
}), React__default.createElement("path", {
|
|
2742
|
+
d: 'M8.15906 13.7813C8.1165 13.7808 8.07499 13.768 8.03963 13.7443C8.00427 13.7206 7.9766 13.6871 7.96 13.6479L7.74125 13.1491L7.2425 13.3438C7.2022 13.3583 7.15854 13.3606 7.11694 13.3505C7.07533 13.3404 7.0376 13.3183 7.00844 13.2869C6.97925 13.2559 6.95977 13.217 6.95239 13.175C6.945 13.133 6.95004 13.0898 6.96688 13.0507L7.75 11.2591C7.76045 11.2313 7.77644 11.2059 7.79702 11.1845C7.81759 11.1631 7.84231 11.1461 7.86966 11.1345C7.89702 11.123 7.92644 11.1171 7.95614 11.1173C7.98584 11.1175 8.01518 11.1237 8.04239 11.1356C8.06961 11.1475 8.09411 11.1648 8.11441 11.1865C8.13471 11.2082 8.15039 11.2338 8.16049 11.2617C8.17059 11.2896 8.17489 11.3193 8.17314 11.3489C8.17139 11.3786 8.16363 11.4076 8.15031 11.4341L7.57938 12.7466L7.79813 12.6657C7.85101 12.646 7.90944 12.6476 7.96121 12.67C8.01298 12.6924 8.05408 12.734 8.07594 12.786L8.16781 13.0047L8.73656 11.6922C8.74701 11.6644 8.763 11.6391 8.78358 11.6176C8.80415 11.5962 8.82887 11.5792 8.85623 11.5677C8.88358 11.5561 8.91301 11.5503 8.9427 11.5504C8.9724 11.5506 9.00175 11.5569 9.02896 11.5688C9.05617 11.5806 9.08067 11.598 9.10097 11.6196C9.12128 11.6413 9.13696 11.6669 9.14705 11.6948C9.15715 11.7227 9.16145 11.7524 9.1597 11.7821C9.15796 11.8117 9.15019 11.8407 9.13688 11.8672L8.36469 13.6391C8.34905 13.681 8.32095 13.7171 8.28419 13.7425C8.24743 13.7679 8.20376 13.7815 8.15906 13.7813Z',
|
|
2743
|
+
fill: color
|
|
2744
|
+
}), React__default.createElement("path", {
|
|
2745
|
+
d: 'M9.74281 13.7812C9.70012 13.7814 9.65832 13.7691 9.62256 13.7457C9.5868 13.7224 9.55864 13.6891 9.54156 13.65L8.76719 11.8781C8.74398 11.8247 8.74293 11.7643 8.76426 11.7102C8.78559 11.656 8.82756 11.6126 8.88094 11.5894C8.93431 11.5662 8.99472 11.5651 9.04887 11.5864C9.10302 11.6078 9.14648 11.6497 9.16969 11.7031L9.73844 13.0156L9.83031 12.7969C9.85216 12.7454 9.89291 12.7042 9.94417 12.6818C9.99544 12.6595 10.0533 12.6576 10.1059 12.6766L10.3247 12.7575L9.75156 11.445C9.74007 11.4186 9.7339 11.3901 9.7334 11.3613C9.7329 11.3325 9.73807 11.3039 9.74864 11.2771C9.7592 11.2503 9.77494 11.2258 9.79496 11.2051C9.81498 11.1843 9.83889 11.1677 9.86531 11.1562C9.89174 11.1448 9.92018 11.1386 9.94899 11.1381C9.9778 11.1376 10.0064 11.1428 10.0332 11.1533C10.0601 11.1639 10.0845 11.1796 10.1053 11.1996C10.126 11.2197 10.1426 11.2436 10.1541 11.27L10.9306 13.0528C10.9475 13.092 10.9525 13.1352 10.9451 13.1771C10.9377 13.2191 10.9183 13.258 10.8891 13.2891C10.86 13.3192 10.8229 13.3404 10.7822 13.3501C10.7415 13.3597 10.6989 13.3576 10.6594 13.3438L10.1563 13.1491L9.9375 13.6478C9.9209 13.687 9.89323 13.7205 9.85787 13.7442C9.82251 13.7679 9.781 13.7808 9.73844 13.7812H9.74281ZM8.39313 10.9856C8.34754 10.9853 8.30318 10.9708 8.26625 10.9441C8.23231 10.9198 8.20604 10.8862 8.19054 10.8475C8.17503 10.8087 8.17094 10.7663 8.17875 10.7253L8.26625 10.2178L7.89656 9.85906C7.86767 9.83044 7.84734 9.79433 7.83783 9.75479C7.82833 9.71525 7.83003 9.67385 7.84275 9.63522C7.85548 9.5966 7.87871 9.56228 7.90986 9.53614C7.941 9.50999 7.97882 9.49304 8.01906 9.48719L8.52656 9.41281L8.74531 8.95125C8.76323 8.91427 8.79119 8.88308 8.82601 8.86125C8.86083 8.83943 8.9011 8.82785 8.94219 8.82785C8.98328 8.82785 9.02354 8.83943 9.05836 8.86125C9.09318 8.88308 9.12115 8.91427 9.13906 8.95125L9.35781 9.41281L9.86531 9.48719C9.90556 9.49304 9.94337 9.50999 9.97452 9.53614C10.0057 9.56228 10.0289 9.5966 10.0416 9.63522C10.0543 9.67385 10.0561 9.71525 10.0465 9.75479C10.037 9.79433 10.0167 9.83044 9.98781 9.85906L9.61813 10.2178L9.70563 10.7253C9.71344 10.7663 9.70935 10.8087 9.69384 10.8475C9.67834 10.8862 9.65206 10.9198 9.61813 10.9441C9.58624 10.9656 9.54922 10.9784 9.51081 10.9811C9.4724 10.9838 9.43396 10.9763 9.39938 10.9594L8.95094 10.7188L8.49594 10.9594C8.46434 10.9764 8.42903 10.9854 8.39313 10.9856ZM8.95094 10.255C8.98968 10.2548 9.02791 10.2638 9.0625 10.2812L9.22656 10.3688L9.19375 10.185C9.18801 10.1502 9.19078 10.1145 9.20183 10.081C9.21288 10.0474 9.23187 10.0171 9.25719 9.9925L9.39063 9.86344L9.19813 9.84375C9.16329 9.83871 9.13019 9.82534 9.10163 9.80478C9.07307 9.78421 9.04989 9.75706 9.03406 9.72563L8.95094 9.55719L8.86781 9.72563C8.85199 9.75706 8.82881 9.78421 8.80025 9.80478C8.77169 9.82534 8.73858 9.83871 8.70375 9.84375L8.52 9.87219L8.65344 10.0013C8.67876 10.0258 8.69775 10.0562 8.7088 10.0897C8.71984 10.1232 8.72262 10.1589 8.71688 10.1937L8.68406 10.3775L8.84375 10.2812C8.87702 10.2645 8.91368 10.2555 8.95094 10.255ZM9.3425 3.10625H7.78719C7.49206 3.10567 7.20919 2.98818 7.00051 2.77949C6.79182 2.57081 6.67433 2.28794 6.67375 1.99281V0.4375C6.67375 0.379484 6.6968 0.323844 6.73782 0.28282C6.77885 0.241797 6.83449 0.21875 6.8925 0.21875C6.95052 0.21875 7.00616 0.241797 7.04718 0.28282C7.0882 0.323844 7.11125 0.379484 7.11125 0.4375V1.99281C7.11125 2.17208 7.18247 2.34401 7.30923 2.47077C7.43599 2.59754 7.60792 2.66875 7.78719 2.66875H9.3425C9.40052 2.66875 9.45616 2.6918 9.49718 2.73282C9.5382 2.77384 9.56125 2.82948 9.56125 2.8875C9.56125 2.94552 9.5382 3.00116 9.49718 3.04218C9.45616 3.0832 9.40052 3.10625 9.3425 3.10625Z',
|
|
2746
|
+
fill: color
|
|
2747
|
+
}), React__default.createElement("path", {
|
|
2748
|
+
d: 'M6.5775 10.78H2.0625C1.7672 10.78 1.48399 10.6627 1.27518 10.4539C1.06637 10.2451 0.949062 9.96187 0.949062 9.66656V1.33219C0.949062 1.03689 1.06637 0.753682 1.27518 0.544872C1.48399 0.336062 1.7672 0.218754 2.0625 0.218754H6.8925C6.92129 0.218587 6.94983 0.224105 6.97648 0.234991C7.00313 0.245877 7.02737 0.261917 7.04781 0.282191L9.5 2.73438C9.54041 2.77512 9.5632 2.83012 9.56344 2.8875V7.50094C9.56344 7.55896 9.54039 7.6146 9.49937 7.65562C9.45834 7.69664 9.4027 7.71969 9.34469 7.71969C9.28667 7.71969 9.23103 7.69664 9.19001 7.65562C9.14898 7.6146 9.12594 7.55896 9.12594 7.50094V2.97938L6.80281 0.656254H2.0625C1.88341 0.65683 1.71182 0.72823 1.58518 0.854868C1.45854 0.981506 1.38714 1.1531 1.38656 1.33219V9.66656C1.38656 9.84583 1.45778 10.0178 1.58454 10.1445C1.7113 10.2713 1.88323 10.3425 2.0625 10.3425H6.5775C6.63552 10.3425 6.69116 10.3656 6.73218 10.4066C6.7732 10.4476 6.79625 10.5032 6.79625 10.5613C6.79625 10.6193 6.7732 10.6749 6.73218 10.7159C6.69116 10.757 6.63552 10.78 6.5775 10.78Z',
|
|
2749
|
+
fill: color
|
|
2750
|
+
}), React__default.createElement("path", {
|
|
2751
|
+
d: 'M8.1175 4.45374H2.43C2.37198 4.45374 2.31634 4.43069 2.27532 4.38966C2.2343 4.34864 2.21125 4.293 2.21125 4.23499C2.21125 4.17697 2.2343 4.12133 2.27532 4.08031C2.31634 4.03928 2.37198 4.01624 2.43 4.01624H8.1175C8.17552 4.01624 8.23116 4.03928 8.27218 4.08031C8.3132 4.12133 8.33625 4.17697 8.33625 4.23499C8.33625 4.293 8.3132 4.34864 8.27218 4.38966C8.23116 4.43069 8.17552 4.45374 8.1175 4.45374ZM8.1175 5.9303H2.43C2.37198 5.9303 2.31634 5.90725 2.27532 5.86623C2.2343 5.8252 2.21125 5.76956 2.21125 5.71155C2.21125 5.65353 2.2343 5.59789 2.27532 5.55687C2.31634 5.51584 2.37198 5.4928 2.43 5.4928H8.1175C8.17552 5.4928 8.23116 5.51584 8.27218 5.55687C8.3132 5.59789 8.33625 5.65353 8.33625 5.71155C8.33625 5.76956 8.3132 5.8252 8.27218 5.86623C8.23116 5.90725 8.17552 5.9303 8.1175 5.9303ZM8.1175 7.40686H2.43C2.37198 7.40686 2.31634 7.38381 2.27532 7.34279C2.2343 7.30177 2.21125 7.24613 2.21125 7.18811C2.21125 7.13009 2.2343 7.07445 2.27532 7.03343C2.31634 6.99241 2.37198 6.96936 2.43 6.96936H8.1175C8.17552 6.96936 8.23116 6.99241 8.27218 7.03343C8.3132 7.07445 8.33625 7.13009 8.33625 7.18811C8.33625 7.24613 8.3132 7.30177 8.27218 7.34279C8.23116 7.38381 8.17552 7.40686 8.1175 7.40686Z',
|
|
2752
|
+
fill: color
|
|
2753
|
+
}));
|
|
2754
|
+
};
|
|
2755
|
+
|
|
2647
2756
|
var Licenses = function Licenses(_ref) {
|
|
2648
2757
|
var size = _ref.size,
|
|
2649
2758
|
color = _ref.color,
|
|
@@ -3928,6 +4037,23 @@ var RunAway = function RunAway(_ref) {
|
|
|
3928
4037
|
}))));
|
|
3929
4038
|
};
|
|
3930
4039
|
|
|
4040
|
+
var Rupee = function Rupee(_ref) {
|
|
4041
|
+
var size = _ref.size,
|
|
4042
|
+
color = _ref.color,
|
|
4043
|
+
weight = _ref.weight;
|
|
4044
|
+
return React__default.createElement("svg", {
|
|
4045
|
+
width: size,
|
|
4046
|
+
height: size,
|
|
4047
|
+
strokeWidth: weight,
|
|
4048
|
+
viewBox: '0 0 8 11',
|
|
4049
|
+
fill: 'none',
|
|
4050
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
4051
|
+
}, React__default.createElement("path", {
|
|
4052
|
+
d: 'M0.314079 1.38057C0.314079 1.26918 0.358329 1.16235 0.437094 1.08359C0.51586 1.00482 0.622688 0.960571 0.734079 0.960571H6.98648C7.09787 0.960571 7.2047 1.00482 7.28346 1.08359C7.36223 1.16235 7.40648 1.26918 7.40648 1.38057C7.40648 1.49196 7.36223 1.59879 7.28346 1.67756C7.2047 1.75632 7.09787 1.80057 6.98648 1.80057H5.06568C5.55552 2.26999 5.87326 2.8905 5.96784 3.56233H6.98648C7.09787 3.56233 7.2047 3.60658 7.28346 3.68535C7.36223 3.76411 7.40648 3.87094 7.40648 3.98233C7.40648 4.09372 7.36223 4.20055 7.28346 4.27932C7.2047 4.35808 7.09787 4.40233 6.98648 4.40233H5.9684C5.86712 5.12445 5.50833 5.78566 4.9581 6.26417C4.40787 6.74267 3.70327 7.00624 2.97408 7.00633H1.9616L5.83456 10.0079C5.92263 10.0763 5.97996 10.1768 5.99393 10.2873C6.00789 10.3979 5.97736 10.5095 5.90904 10.5976C5.84072 10.6857 5.74021 10.743 5.62962 10.757C5.51904 10.7709 5.40743 10.7404 5.31936 10.6721L0.477599 6.91897C0.408345 6.86534 0.357589 6.79141 0.332435 6.70751C0.307281 6.62361 0.308987 6.53394 0.337313 6.45106C0.36564 6.36818 0.419171 6.29623 0.490415 6.24527C0.561658 6.19432 0.64705 6.16691 0.734639 6.16689H2.97464C3.48096 6.16687 3.97155 5.99092 4.36248 5.66914C4.75341 5.34737 5.02039 4.89976 5.11776 4.40289H0.734079C0.622688 4.40289 0.51586 4.35864 0.437094 4.27988C0.358329 4.20111 0.314079 4.09428 0.314079 3.98289C0.314079 3.8715 0.358329 3.76467 0.437094 3.68591C0.51586 3.60714 0.622688 3.56289 0.734079 3.56289H5.11664C5.01906 3.06632 4.75206 2.61905 4.36127 2.29751C3.97047 1.97596 3.48015 1.80012 2.97408 1.80001H0.734079C0.622688 1.80001 0.51586 1.75576 0.437094 1.677C0.358329 1.59823 0.314079 1.49196 0.314079 1.38057Z',
|
|
4053
|
+
fill: color
|
|
4054
|
+
}));
|
|
4055
|
+
};
|
|
4056
|
+
|
|
3931
4057
|
var SandTimer = function SandTimer(_ref) {
|
|
3932
4058
|
var size = _ref.size,
|
|
3933
4059
|
color = _ref.color,
|
|
@@ -4121,6 +4247,23 @@ var Shield = function Shield(_ref) {
|
|
|
4121
4247
|
}));
|
|
4122
4248
|
};
|
|
4123
4249
|
|
|
4250
|
+
var ShoppingCart = function ShoppingCart(_ref) {
|
|
4251
|
+
var size = _ref.size,
|
|
4252
|
+
color = _ref.color,
|
|
4253
|
+
weight = _ref.weight;
|
|
4254
|
+
return React__default.createElement("svg", {
|
|
4255
|
+
width: size,
|
|
4256
|
+
height: size,
|
|
4257
|
+
strokeWidth: weight,
|
|
4258
|
+
viewBox: '0 0 12 12',
|
|
4259
|
+
fill: 'none',
|
|
4260
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
4261
|
+
}, React__default.createElement("path", {
|
|
4262
|
+
d: 'M9.33333 9.5C9.64275 9.5 9.9395 9.62292 10.1583 9.84171C10.3771 10.0605 10.5 10.3572 10.5 10.6667C10.5 10.9761 10.3771 11.2728 10.1583 11.4916C9.9395 11.7104 9.64275 11.8333 9.33333 11.8333C9.02391 11.8333 8.72717 11.7104 8.50837 11.4916C8.28958 11.2728 8.16667 10.9761 8.16667 10.6667C8.16667 10.3572 8.28958 10.0605 8.50837 9.84171C8.72717 9.62292 9.02391 9.5 9.33333 9.5ZM9.33333 10.0833C9.17862 10.0833 9.03025 10.1448 8.92085 10.2542C8.81146 10.3636 8.75 10.512 8.75 10.6667C8.75 10.8214 8.81146 10.9697 8.92085 11.0791C9.03025 11.1885 9.17862 11.25 9.33333 11.25C9.48804 11.25 9.63641 11.1885 9.74581 11.0791C9.85521 10.9697 9.91667 10.8214 9.91667 10.6667C9.91667 10.512 9.85521 10.3636 9.74581 10.2542C9.63641 10.1448 9.48804 10.0833 9.33333 10.0833ZM4.08333 9.5C4.39275 9.5 4.6895 9.62292 4.90829 9.84171C5.12708 10.0605 5.25 10.3572 5.25 10.6667C5.25 10.9761 5.12708 11.2728 4.90829 11.4916C4.6895 11.7104 4.39275 11.8333 4.08333 11.8333C3.77391 11.8333 3.47717 11.7104 3.25837 11.4916C3.03958 11.2728 2.91667 10.9761 2.91667 10.6667C2.91667 10.3572 3.03958 10.0605 3.25837 9.84171C3.47717 9.62292 3.77391 9.5 4.08333 9.5ZM4.08333 10.0833C3.92862 10.0833 3.78025 10.1448 3.67085 10.2542C3.56146 10.3636 3.5 10.512 3.5 10.6667C3.5 10.8214 3.56146 10.9697 3.67085 11.0791C3.78025 11.1885 3.92862 11.25 4.08333 11.25C4.23804 11.25 4.38641 11.1885 4.49581 11.0791C4.60521 10.9697 4.66667 10.8214 4.66667 10.6667C4.66667 10.512 4.60521 10.3636 4.49581 10.2542C4.38641 10.1448 4.23804 10.0833 4.08333 10.0833ZM10.5 2.5H2.49083L3.97833 6H8.75C8.9425 6 9.11166 5.90667 9.21667 5.76667L10.9667 3.43333C11.0425 3.33417 11.0833 3.21167 11.0833 3.08333C11.0833 2.92862 11.0219 2.78025 10.9125 2.67085C10.8031 2.56146 10.6547 2.5 10.5 2.5ZM8.75 6.58333H4.0075L3.55833 7.49333L3.5 7.75C3.5 7.90471 3.56146 8.05308 3.67085 8.16248C3.78025 8.27187 3.92862 8.33333 4.08333 8.33333H10.5V8.91667H4.08333C3.77391 8.91667 3.47717 8.79375 3.25837 8.57496C3.03958 8.35616 2.91667 8.05942 2.91667 7.75C2.91649 7.55207 2.96668 7.35735 3.0625 7.18417L3.4825 6.32667L1.365 1.33333H0.583332V0.75H1.75L2.24583 1.91667H10.5C10.8094 1.91667 11.1062 2.03958 11.325 2.25838C11.5437 2.47717 11.6667 2.77391 11.6667 3.08333C11.6667 3.375 11.5675 3.62 11.4042 3.81833L9.70667 6.0875C9.49667 6.385 9.14667 6.58333 8.75 6.58333Z',
|
|
4263
|
+
fill: color
|
|
4264
|
+
}));
|
|
4265
|
+
};
|
|
4266
|
+
|
|
4124
4267
|
var Sink = function Sink(_ref) {
|
|
4125
4268
|
var size = _ref.size,
|
|
4126
4269
|
color = _ref.color,
|
|
@@ -5123,7 +5266,7 @@ var dark = {
|
|
|
5123
5266
|
},
|
|
5124
5267
|
text: {
|
|
5125
5268
|
dark: '#FFFFFF',
|
|
5126
|
-
medium: '#
|
|
5269
|
+
medium: '#FFFFFF',
|
|
5127
5270
|
light: '#8899A6',
|
|
5128
5271
|
white: '#14171A',
|
|
5129
5272
|
success: '#81C784',
|
|
@@ -5240,26 +5383,6 @@ var useTheme = function useTheme() {
|
|
|
5240
5383
|
return styled.useTheme();
|
|
5241
5384
|
};
|
|
5242
5385
|
|
|
5243
|
-
var Hospital = function Hospital(_ref) {
|
|
5244
|
-
var size = _ref.size,
|
|
5245
|
-
color = _ref.color,
|
|
5246
|
-
weight = _ref.weight;
|
|
5247
|
-
return React__default.createElement("svg", {
|
|
5248
|
-
width: size,
|
|
5249
|
-
height: size,
|
|
5250
|
-
strokeWidth: weight,
|
|
5251
|
-
viewBox: '0 0 14 14',
|
|
5252
|
-
fill: 'none',
|
|
5253
|
-
xmlns: 'http://www.w3.org/2000/svg'
|
|
5254
|
-
}, React__default.createElement("path", {
|
|
5255
|
-
d: "M11.3356 4.66813V1.99938H9.33625V0H4.66813V1.99938H2.66875V4.66813H0V14H14V4.66813H11.3356ZM6.0025 1.99938H6.6675V1.33438H7.33687V1.99938H8.00187V2.66875H7.33687V3.33375H6.6675V2.66875H6.0025V1.99938ZM0.669375 5.33312H2.66875V12.0006H0.669375V5.33312ZM4.00312 13.335H0.669375V12.67H4.00312V13.335ZM9.33625 13.335H4.66813V12.67H9.33625V13.335ZM5.3375 12.0006V8.66687H6.6675V12.0006H5.3375ZM7.33687 12.0006V8.66687H8.66687V12.0006H7.33687ZM4.66813 8.00187V12.0006H3.33375V2.66875H4.66813V4.66813H9.33625V2.66875H10.6706V12.0006H9.33625V8.00187H4.66813ZM13.335 13.335H10.0013V12.67H13.335V13.335ZM13.335 12.0006H11.3356V5.33312H13.335V12.0006Z",
|
|
5256
|
-
fill: color
|
|
5257
|
-
}), React__default.createElement("path", {
|
|
5258
|
-
d: "M12.0006 10.0013H12.67V10.6663H12.0006V10.0013ZM12.0006 8.66688H12.67V9.33626H12.0006V8.66688ZM12.0006 7.33688H12.67V8.00188H12.0006V7.33688ZM12.0006 6.00251H12.67V6.66751H12.0006V6.00251ZM8.66688 6.66751H10.0013V7.33688H8.66688V6.66751ZM8.66688 5.33313H10.0013V6.00251H8.66688V5.33313ZM6.00251 6.66751H8.00188V7.33688H6.00251V6.66751ZM6.00251 5.33313H8.00188V6.00251H6.00251V5.33313ZM4.00313 6.66751H5.33751V7.33688H4.00313V6.66751ZM4.00313 5.33313H5.33751V6.00251H4.00313V5.33313ZM1.33438 10.0013H2.00376V10.6663H1.33438V10.0013ZM1.33438 8.66688H2.00376V9.33626H1.33438V8.66688ZM1.33438 7.33688H2.00376V8.00188H1.33438V7.33688ZM1.33438 6.00251H2.00376V6.66751H1.33438V6.00251Z",
|
|
5259
|
-
fill: color
|
|
5260
|
-
}));
|
|
5261
|
-
};
|
|
5262
|
-
|
|
5263
5386
|
var _templateObject$2, _templateObject2$2, _templateObject3;
|
|
5264
5387
|
var wrapperCss = styled.css(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteralLoose(["\n svg {\n overflow: visible;\n vector-effect: non-scaling-stroke;\n line,\n path,\n circle,\n ellipse,\n foreignObject,\n polygon,\n polyline,\n rect,\n text,\n textPath,\n tspan {\n vector-effect: non-scaling-stroke;\n }\n }\n"])));
|
|
5265
5388
|
var IconWrapper = styled__default.div(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteralLoose(["\n width: max-content;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n ", ";\n"])), function (_ref) {
|
|
@@ -5303,11 +5426,13 @@ var IconSVGs = {
|
|
|
5303
5426
|
CloseCircle: CloseCircle,
|
|
5304
5427
|
CloseEye: CloseEye,
|
|
5305
5428
|
CloudCross: CloudCross,
|
|
5429
|
+
Copy_2: Copy_2,
|
|
5306
5430
|
Copy: Copy,
|
|
5307
5431
|
Copyright: Copyright,
|
|
5308
5432
|
CPU: CPU,
|
|
5309
5433
|
Cube3D: Cube3D,
|
|
5310
5434
|
Cyber: Cyber,
|
|
5435
|
+
Dashboard: Dashboard,
|
|
5311
5436
|
Decrease: Decrease,
|
|
5312
5437
|
Descending: Descending,
|
|
5313
5438
|
DiagonalArrow: DiagonalArrow,
|
|
@@ -5355,6 +5480,7 @@ var IconSVGs = {
|
|
|
5355
5480
|
History: History,
|
|
5356
5481
|
Home: Home,
|
|
5357
5482
|
Hospital: Hospital,
|
|
5483
|
+
Increase: Increase,
|
|
5358
5484
|
Hexagon: Hexagon,
|
|
5359
5485
|
Highway: Highway,
|
|
5360
5486
|
Information: Information,
|
|
@@ -5369,6 +5495,7 @@ var IconSVGs = {
|
|
|
5369
5495
|
LedBulb: LedBulb,
|
|
5370
5496
|
LeftArrow: LeftArrow,
|
|
5371
5497
|
Letter: Letter,
|
|
5498
|
+
License: License,
|
|
5372
5499
|
Licenses: Licenses,
|
|
5373
5500
|
Linkedin: Linkedin,
|
|
5374
5501
|
Live: Live,
|
|
@@ -5427,6 +5554,7 @@ var IconSVGs = {
|
|
|
5427
5554
|
Rocket: Rocket,
|
|
5428
5555
|
ROI: ROI,
|
|
5429
5556
|
RunAway: RunAway,
|
|
5557
|
+
Rupee: Rupee,
|
|
5430
5558
|
SandTimer: SandTimer,
|
|
5431
5559
|
Scalable: Scalable,
|
|
5432
5560
|
School: School,
|
|
@@ -5437,6 +5565,7 @@ var IconSVGs = {
|
|
|
5437
5565
|
Settings: Settings,
|
|
5438
5566
|
ShelfMonitoring: ShelfMonitoring,
|
|
5439
5567
|
Shield: Shield,
|
|
5568
|
+
ShoppingCart: ShoppingCart,
|
|
5440
5569
|
Sink: Sink,
|
|
5441
5570
|
SlantLine: SlantLine,
|
|
5442
5571
|
Sort_2: Sort_2,
|
|
@@ -8710,56 +8839,63 @@ var ProgressBar = function ProgressBar(_ref3) {
|
|
|
8710
8839
|
};
|
|
8711
8840
|
|
|
8712
8841
|
var _templateObject$n, _templateObject2$j, _templateObject3$c, _templateObject4$9, _templateObject5$8;
|
|
8713
|
-
var SidebarContainer = styled__default.div(_templateObject$n || (_templateObject$n = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: 100vh;\n background: ", ";\n transition:
|
|
8842
|
+
var SidebarContainer = styled__default.div(_templateObject$n || (_templateObject$n = _taggedTemplateLiteralLoose(["\n width: ", ";\n max-width: ", ";\n height: 100vh;\n background: ", ";\n transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);\n display: flex;\n flex-direction: column;\n align-items: start;\n padding: 20px;\n position: fixed;\n left: 0;\n top: 0;\n overflow: hidden;\n z-index: 10;\n justify-content: space-between;\n"])), function (_ref) {
|
|
8714
8843
|
var $isExpanded = _ref.$isExpanded;
|
|
8715
|
-
return $isExpanded ? '
|
|
8844
|
+
return $isExpanded ? 'max-content' : '68px';
|
|
8716
8845
|
}, function (_ref2) {
|
|
8717
|
-
var $
|
|
8718
|
-
|
|
8846
|
+
var $isExpanded = _ref2.$isExpanded;
|
|
8847
|
+
return $isExpanded ? '400px' : '68px';
|
|
8848
|
+
}, function (_ref3) {
|
|
8849
|
+
var $background = _ref3.$background,
|
|
8850
|
+
theme = _ref3.theme;
|
|
8719
8851
|
return $background || theme.accent.softBlue;
|
|
8720
8852
|
});
|
|
8721
|
-
var SidebarLink = styled__default(reactRouterDom.NavLink)(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n height: 28px;\n width: 100%;\n gap: 10px;\n cursor: pointer;\n border-radius: 4px;\n
|
|
8722
|
-
var
|
|
8853
|
+
var SidebarLink = styled__default(reactRouterDom.NavLink)(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n height: 28px;\n width: 100%;\n gap: 10px;\n cursor: pointer;\n border-radius: 4px;\n text-decoration: none;\n // transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);\n padding: ", ";\n color: ", ";\n\n &:hover {\n color: ", ";\n background: ", ";\n }\n"])), function (_ref4) {
|
|
8854
|
+
var $padding = _ref4.$padding;
|
|
8855
|
+
return $padding;
|
|
8856
|
+
}, function (_ref5) {
|
|
8857
|
+
var theme = _ref5.theme;
|
|
8723
8858
|
return theme.text.medium;
|
|
8724
|
-
}, function (
|
|
8725
|
-
var theme =
|
|
8859
|
+
}, function (_ref6) {
|
|
8860
|
+
var theme = _ref6.theme;
|
|
8861
|
+
return theme.text.white;
|
|
8862
|
+
}, function (_ref7) {
|
|
8863
|
+
var theme = _ref7.theme;
|
|
8726
8864
|
return theme["default"].primary;
|
|
8727
8865
|
});
|
|
8728
|
-
var IconWrapper$2 = styled__default.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n background: ", ";\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (
|
|
8729
|
-
var $selected =
|
|
8730
|
-
theme =
|
|
8866
|
+
var IconWrapper$2 = styled__default.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n background: ", ";\n transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref8) {
|
|
8867
|
+
var $selected = _ref8.$selected,
|
|
8868
|
+
theme = _ref8.theme;
|
|
8731
8869
|
return $selected ? theme["default"].primary : theme["default"].tertiary;
|
|
8732
8870
|
});
|
|
8733
|
-
var Logo = styled__default.div(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n min-width: max-content;\n height: 32px;\n align-items: center;\n justify-content: center;\n gap: 10px;\n"])));
|
|
8734
|
-
var TextContainer = styled__default.span(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n
|
|
8735
|
-
var $padding =
|
|
8871
|
+
var Logo = styled__default.div(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose(["\n transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);\n display: flex;\n width: 100%;\n min-width: max-content;\n height: 32px;\n align-items: center;\n justify-content: center;\n gap: 10px;\n"])));
|
|
8872
|
+
var TextContainer = styled__default.span(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n opacity: ", ";\n visibility: ", ";\n transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;\n transform: ", ";\n"])), function (_ref9) {
|
|
8873
|
+
var $padding = _ref9.$padding;
|
|
8736
8874
|
return $padding;
|
|
8737
|
-
}, function (
|
|
8738
|
-
var $fontSize =
|
|
8875
|
+
}, function (_ref10) {
|
|
8876
|
+
var $fontSize = _ref10.$fontSize;
|
|
8739
8877
|
return $fontSize || '20px';
|
|
8740
|
-
}, function (
|
|
8741
|
-
var $fontWeight =
|
|
8878
|
+
}, function (_ref11) {
|
|
8879
|
+
var $fontWeight = _ref11.$fontWeight;
|
|
8742
8880
|
return $fontWeight || '500';
|
|
8743
|
-
}, function (
|
|
8744
|
-
var $
|
|
8745
|
-
theme = _ref9.theme;
|
|
8746
|
-
return $color || theme["default"].primary;
|
|
8747
|
-
}, function (_ref10) {
|
|
8748
|
-
var $isExpanded = _ref10.$isExpanded;
|
|
8881
|
+
}, function (_ref12) {
|
|
8882
|
+
var $isExpanded = _ref12.$isExpanded;
|
|
8749
8883
|
return $isExpanded ? 1 : 0;
|
|
8750
|
-
}, function (
|
|
8751
|
-
var $isExpanded =
|
|
8884
|
+
}, function (_ref13) {
|
|
8885
|
+
var $isExpanded = _ref13.$isExpanded;
|
|
8752
8886
|
return $isExpanded ? 'visible' : 'hidden';
|
|
8887
|
+
}, function (_ref14) {
|
|
8888
|
+
var $isExpanded = _ref14.$isExpanded;
|
|
8889
|
+
return $isExpanded ? 'translateX(0)' : 'translateX(-10px)';
|
|
8753
8890
|
});
|
|
8754
|
-
var Sidebar = function Sidebar(
|
|
8755
|
-
var logo =
|
|
8756
|
-
content =
|
|
8757
|
-
background =
|
|
8758
|
-
ProfileContent =
|
|
8759
|
-
|
|
8760
|
-
isExpanded =
|
|
8761
|
-
setIsExpanded =
|
|
8762
|
-
var themeColors = styled.useTheme();
|
|
8891
|
+
var Sidebar = function Sidebar(_ref15) {
|
|
8892
|
+
var logo = _ref15.logo,
|
|
8893
|
+
content = _ref15.content,
|
|
8894
|
+
background = _ref15.background,
|
|
8895
|
+
ProfileContent = _ref15.ProfileContent,
|
|
8896
|
+
_ref15$isExpanded = _ref15.isExpanded,
|
|
8897
|
+
isExpanded = _ref15$isExpanded === void 0 ? false : _ref15$isExpanded,
|
|
8898
|
+
setIsExpanded = _ref15.setIsExpanded;
|
|
8763
8899
|
var location = reactRouterDom.useLocation();
|
|
8764
8900
|
var _useState = React.useState({}),
|
|
8765
8901
|
openMenus = _useState[0],
|
|
@@ -8773,37 +8909,121 @@ var Sidebar = function Sidebar(_ref12) {
|
|
|
8773
8909
|
return _extends({}, prev, (_extends2 = {}, _extends2[id] = !prev[id], _extends2));
|
|
8774
8910
|
});
|
|
8775
8911
|
};
|
|
8912
|
+
var getBasePath = function getBasePath(path) {
|
|
8913
|
+
if (!path) return '';
|
|
8914
|
+
var parts = path.split('/').filter(Boolean);
|
|
8915
|
+
return parts.length > 0 ? "/" + parts[0] : '';
|
|
8916
|
+
};
|
|
8776
8917
|
var isRouteActive = function isRouteActive(item) {
|
|
8777
8918
|
var _item$children;
|
|
8778
|
-
|
|
8779
|
-
|
|
8919
|
+
var currentBase = getBasePath(location.pathname);
|
|
8920
|
+
var itemBase = item.activeUrl ? getBasePath(item.activeUrl) : getBasePath(item.url);
|
|
8921
|
+
return currentBase === itemBase || ((_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.some(function (child) {
|
|
8922
|
+
return currentBase === getBasePath(child.activeUrl) || currentBase === getBasePath(child.url);
|
|
8780
8923
|
}));
|
|
8781
8924
|
};
|
|
8925
|
+
var ChildLink = React__default.memo(function (_ref16) {
|
|
8926
|
+
var child = _ref16.child,
|
|
8927
|
+
isExpanded = _ref16.isExpanded;
|
|
8928
|
+
var themeColors = styled.useTheme();
|
|
8929
|
+
var location = reactRouterDom.useLocation();
|
|
8930
|
+
var active = getBasePath(location.pathname) === getBasePath(child.activeUrl) || getBasePath(location.pathname) === getBasePath(child.url);
|
|
8931
|
+
var _useState2 = React.useState(false),
|
|
8932
|
+
isHovered = _useState2[0],
|
|
8933
|
+
setIsHovered = _useState2[1];
|
|
8934
|
+
return React__default.createElement(SidebarLink, {
|
|
8935
|
+
to: child.url || '#',
|
|
8936
|
+
key: child.id,
|
|
8937
|
+
onMouseEnter: function onMouseEnter() {
|
|
8938
|
+
return setIsHovered(true);
|
|
8939
|
+
},
|
|
8940
|
+
onMouseLeave: function onMouseLeave() {
|
|
8941
|
+
return setIsHovered(false);
|
|
8942
|
+
}
|
|
8943
|
+
}, React__default.createElement(IconWrapper$2, {
|
|
8944
|
+
"$selected": active
|
|
8945
|
+
}, React__default.createElement(Icon, {
|
|
8946
|
+
icon: child.icon,
|
|
8947
|
+
size: 18,
|
|
8948
|
+
weight: child.iconWeight,
|
|
8949
|
+
color: isHovered || active ? themeColors.text.white : themeColors.text.medium
|
|
8950
|
+
})), React__default.createElement(TextContainer, {
|
|
8951
|
+
"$isExpanded": isExpanded,
|
|
8952
|
+
"$fontSize": '12px',
|
|
8953
|
+
"$color": themeColors.text.medium,
|
|
8954
|
+
"$padding": '0px 10px 0px 0px'
|
|
8955
|
+
}, child.label));
|
|
8956
|
+
});
|
|
8782
8957
|
var renderChildLinks = function renderChildLinks(children) {
|
|
8783
8958
|
return React__default.createElement(Container, {
|
|
8784
8959
|
"$padding": '0px 0px 0px 16px',
|
|
8785
8960
|
"$flexDirection": 'column',
|
|
8786
8961
|
"$gap": '10px'
|
|
8787
8962
|
}, children.map(function (child) {
|
|
8788
|
-
|
|
8789
|
-
|
|
8790
|
-
|
|
8791
|
-
|
|
8792
|
-
}
|
|
8793
|
-
"$selected": active
|
|
8794
|
-
}, React__default.createElement(Icon, {
|
|
8795
|
-
icon: child.icon,
|
|
8796
|
-
size: 18,
|
|
8797
|
-
weight: child.iconWeight,
|
|
8798
|
-
color: active ? themeColors.text.white : themeColors.text.medium
|
|
8799
|
-
})), React__default.createElement(TextContainer, {
|
|
8800
|
-
"$isExpanded": isExpanded,
|
|
8801
|
-
"$fontSize": '12px',
|
|
8802
|
-
"$padding": '0px 10px 0px 0px',
|
|
8803
|
-
"$color": themeColors.text.medium
|
|
8804
|
-
}, child.label));
|
|
8963
|
+
return React__default.createElement(ChildLink, {
|
|
8964
|
+
key: child.id,
|
|
8965
|
+
child: child,
|
|
8966
|
+
isExpanded: isExpanded
|
|
8967
|
+
});
|
|
8805
8968
|
}));
|
|
8806
8969
|
};
|
|
8970
|
+
var SidebarItem = React__default.memo(function (_ref17) {
|
|
8971
|
+
var item = _ref17.item,
|
|
8972
|
+
isActive = _ref17.isActive,
|
|
8973
|
+
isOpen = _ref17.isOpen,
|
|
8974
|
+
hasChildren = _ref17.hasChildren,
|
|
8975
|
+
isExpanded = _ref17.isExpanded,
|
|
8976
|
+
onToggle = _ref17.onToggle,
|
|
8977
|
+
renderChildLinks = _ref17.renderChildLinks;
|
|
8978
|
+
var themeColors = styled.useTheme();
|
|
8979
|
+
var _useState3 = React.useState(false),
|
|
8980
|
+
isHovered = _useState3[0],
|
|
8981
|
+
setIsHovered = _useState3[1];
|
|
8982
|
+
var ContentLayout = React__default.createElement(Container, {
|
|
8983
|
+
onMouseEnter: function onMouseEnter() {
|
|
8984
|
+
return setIsHovered(true);
|
|
8985
|
+
},
|
|
8986
|
+
onMouseLeave: function onMouseLeave() {
|
|
8987
|
+
return setIsHovered(false);
|
|
8988
|
+
},
|
|
8989
|
+
"$alignItems": 'center',
|
|
8990
|
+
"$gap": '8px',
|
|
8991
|
+
"$width": '100%',
|
|
8992
|
+
"$cursor": 'pointer',
|
|
8993
|
+
"$borderRadius": '4px',
|
|
8994
|
+
"$hoverBackground": themeColors["default"].primary,
|
|
8995
|
+
onClick: function onClick() {
|
|
8996
|
+
return hasChildren && onToggle();
|
|
8997
|
+
}
|
|
8998
|
+
}, React__default.createElement(IconWrapper$2, {
|
|
8999
|
+
"$selected": !!isActive
|
|
9000
|
+
}, React__default.createElement(Icon, {
|
|
9001
|
+
icon: item.icon,
|
|
9002
|
+
size: 20,
|
|
9003
|
+
weight: item.iconWeight,
|
|
9004
|
+
color: isHovered || isActive ? themeColors.text.white : themeColors.text.medium
|
|
9005
|
+
})), React__default.createElement(TextContainer, {
|
|
9006
|
+
"$isExpanded": isExpanded,
|
|
9007
|
+
"$fontSize": '14px'
|
|
9008
|
+
}, item.label), hasChildren && React__default.createElement(Container, {
|
|
9009
|
+
"$padding": '9px'
|
|
9010
|
+
}, React__default.createElement(Icon, {
|
|
9011
|
+
icon: isOpen ? 'UpArrow' : 'DownArrow',
|
|
9012
|
+
size: 10,
|
|
9013
|
+
color: isHovered ? themeColors.text.white : themeColors.text.medium,
|
|
9014
|
+
cursor: 'pointer'
|
|
9015
|
+
})));
|
|
9016
|
+
return item.url ? React__default.createElement(SidebarLink, {
|
|
9017
|
+
to: item.url
|
|
9018
|
+
}, ContentLayout) : React__default.createElement(Container, {
|
|
9019
|
+
"$flexDirection": 'column',
|
|
9020
|
+
"$alignItems": 'start',
|
|
9021
|
+
"$gap": '8px'
|
|
9022
|
+
}, React__default.createElement(Container, {
|
|
9023
|
+
"$color": themeColors.text.medium,
|
|
9024
|
+
"$hoverColor": themeColors.text.white
|
|
9025
|
+
}, ContentLayout), hasChildren && isExpanded && isOpen && renderChildLinks && React__default.createElement(Container, null, renderChildLinks(item.children)));
|
|
9026
|
+
});
|
|
8807
9027
|
return React__default.createElement(SidebarContainer, {
|
|
8808
9028
|
"$background": background,
|
|
8809
9029
|
"$isExpanded": isExpanded,
|
|
@@ -8834,46 +9054,21 @@ var Sidebar = function Sidebar(_ref12) {
|
|
|
8834
9054
|
"$width": '100%'
|
|
8835
9055
|
}, content.map(function (item) {
|
|
8836
9056
|
var _item$children2;
|
|
8837
|
-
var active = isRouteActive(item);
|
|
9057
|
+
var active = isRouteActive(item) || false;
|
|
8838
9058
|
var hasChildren = !!((_item$children2 = item.children) !== null && _item$children2 !== void 0 && _item$children2.length);
|
|
8839
9059
|
var isOpen = openMenus[item.id];
|
|
8840
|
-
|
|
8841
|
-
"$alignItems": 'center',
|
|
8842
|
-
"$gap": '8px',
|
|
8843
|
-
"$width": '100%',
|
|
8844
|
-
"$cursor": 'pointer',
|
|
8845
|
-
"$borderRadius": '4px',
|
|
8846
|
-
"$hoverBackground": themeColors["default"].primary,
|
|
8847
|
-
onClick: function onClick() {
|
|
8848
|
-
return hasChildren && toggleMenu(item.id);
|
|
8849
|
-
}
|
|
8850
|
-
}, React__default.createElement(IconWrapper$2, {
|
|
8851
|
-
"$selected": !!active
|
|
8852
|
-
}, React__default.createElement(Icon, {
|
|
8853
|
-
icon: item.icon,
|
|
8854
|
-
size: 20,
|
|
8855
|
-
weight: item.iconWeight,
|
|
8856
|
-
color: active ? themeColors.text.white : themeColors.text.medium
|
|
8857
|
-
})), React__default.createElement(TextContainer, {
|
|
8858
|
-
"$isExpanded": isExpanded,
|
|
8859
|
-
"$fontSize": '14px',
|
|
8860
|
-
"$padding": '0px 10px 0px 0px',
|
|
8861
|
-
"$color": themeColors.text.medium
|
|
8862
|
-
}, item.label), hasChildren && React__default.createElement(Icon, {
|
|
8863
|
-
icon: isOpen ? 'UpArrow' : 'DownArrow',
|
|
8864
|
-
size: 10,
|
|
8865
|
-
color: themeColors.border.extraBold,
|
|
8866
|
-
onClick: function onClick() {}
|
|
8867
|
-
}));
|
|
8868
|
-
return item.url ? React__default.createElement(SidebarLink, {
|
|
9060
|
+
return React__default.createElement(SidebarItem, {
|
|
8869
9061
|
key: item.id,
|
|
8870
|
-
|
|
8871
|
-
|
|
8872
|
-
|
|
8873
|
-
|
|
8874
|
-
|
|
8875
|
-
|
|
8876
|
-
|
|
9062
|
+
item: item,
|
|
9063
|
+
isActive: active,
|
|
9064
|
+
isOpen: isOpen,
|
|
9065
|
+
hasChildren: hasChildren,
|
|
9066
|
+
isExpanded: isExpanded,
|
|
9067
|
+
onToggle: function onToggle() {
|
|
9068
|
+
return toggleMenu(item.id);
|
|
9069
|
+
},
|
|
9070
|
+
renderChildLinks: renderChildLinks
|
|
9071
|
+
});
|
|
8877
9072
|
}))), ProfileContent);
|
|
8878
9073
|
};
|
|
8879
9074
|
|