jett.admin.npmpackage 1.0.95 → 1.0.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +30 -2
- package/dist/index.js +13 -10
- package/dist/index.mjs +13 -10
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
--text-base--line-height: calc(1.5 / 1);
|
|
54
54
|
--text-lg: 1.125rem;
|
|
55
55
|
--text-lg--line-height: calc(1.75 / 1.125);
|
|
56
|
+
--font-weight-normal: 400;
|
|
56
57
|
--font-weight-medium: 500;
|
|
57
58
|
--font-weight-semibold: 600;
|
|
58
59
|
--radius-sm: 0.25rem;
|
|
@@ -777,6 +778,15 @@
|
|
|
777
778
|
font-size: var(--text-xs);
|
|
778
779
|
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
779
780
|
}
|
|
781
|
+
.\!text-\[14px\] {
|
|
782
|
+
font-size: 14px !important;
|
|
783
|
+
}
|
|
784
|
+
.\!text-\[15px\] {
|
|
785
|
+
font-size: 15px !important;
|
|
786
|
+
}
|
|
787
|
+
.\!text-\[16px\] {
|
|
788
|
+
font-size: 16px !important;
|
|
789
|
+
}
|
|
780
790
|
.text-\[12px\] {
|
|
781
791
|
font-size: 12px;
|
|
782
792
|
}
|
|
@@ -794,6 +804,18 @@
|
|
|
794
804
|
--tw-leading: calc(var(--spacing) * 6);
|
|
795
805
|
line-height: calc(var(--spacing) * 6);
|
|
796
806
|
}
|
|
807
|
+
.\!font-medium {
|
|
808
|
+
--tw-font-weight: var(--font-weight-medium) !important;
|
|
809
|
+
font-weight: var(--font-weight-medium) !important;
|
|
810
|
+
}
|
|
811
|
+
.\!font-normal {
|
|
812
|
+
--tw-font-weight: var(--font-weight-normal) !important;
|
|
813
|
+
font-weight: var(--font-weight-normal) !important;
|
|
814
|
+
}
|
|
815
|
+
.\!font-semibold {
|
|
816
|
+
--tw-font-weight: var(--font-weight-semibold) !important;
|
|
817
|
+
font-weight: var(--font-weight-semibold) !important;
|
|
818
|
+
}
|
|
797
819
|
.font-\[500\] {
|
|
798
820
|
--tw-font-weight: 500;
|
|
799
821
|
font-weight: 500;
|
|
@@ -810,8 +832,11 @@
|
|
|
810
832
|
--tw-font-weight: var(--font-weight-semibold);
|
|
811
833
|
font-weight: var(--font-weight-semibold);
|
|
812
834
|
}
|
|
813
|
-
|
|
814
|
-
color: #000;
|
|
835
|
+
.\!text-\[\#000\] {
|
|
836
|
+
color: #000 !important;
|
|
837
|
+
}
|
|
838
|
+
.\!text-\[\#3f3f46cc\] {
|
|
839
|
+
color: #3f3f46cc !important;
|
|
815
840
|
}
|
|
816
841
|
.text-\[\#3f3f46cc\] {
|
|
817
842
|
color: #3f3f46cc;
|
|
@@ -1288,6 +1313,9 @@
|
|
|
1288
1313
|
}
|
|
1289
1314
|
}
|
|
1290
1315
|
}
|
|
1316
|
+
body {
|
|
1317
|
+
font-family: "Inter", sans-serif;
|
|
1318
|
+
}
|
|
1291
1319
|
@layer utilities {
|
|
1292
1320
|
.scrollbar-hide {
|
|
1293
1321
|
scrollbar-width: none;
|
package/dist/index.js
CHANGED
|
@@ -492,7 +492,8 @@ var navItemsConstant = [
|
|
|
492
492
|
}
|
|
493
493
|
},
|
|
494
494
|
{
|
|
495
|
-
label: "Support Tickets (Coming Soon)"
|
|
495
|
+
label: "Support Tickets (Coming Soon)",
|
|
496
|
+
isDisabled: true
|
|
496
497
|
// onClick: () => {},
|
|
497
498
|
}
|
|
498
499
|
],
|
|
@@ -506,15 +507,15 @@ var navItemsConstant = [
|
|
|
506
507
|
isDropDown: true,
|
|
507
508
|
options: [
|
|
508
509
|
{
|
|
509
|
-
label: "
|
|
510
|
+
label: "Credit Management",
|
|
510
511
|
onClick: () => {
|
|
511
|
-
window.location.href = "/finance/
|
|
512
|
+
window.location.href = "/finance/paymentsLedger/";
|
|
512
513
|
}
|
|
513
514
|
},
|
|
514
515
|
{
|
|
515
|
-
label: "
|
|
516
|
+
label: "Booking & Invoices",
|
|
516
517
|
onClick: () => {
|
|
517
|
-
window.location.href = "/finance/
|
|
518
|
+
window.location.href = "/finance/bookingHistory/";
|
|
518
519
|
}
|
|
519
520
|
}
|
|
520
521
|
]
|
|
@@ -575,7 +576,8 @@ var navItemsConstant = [
|
|
|
575
576
|
isDropDown: true,
|
|
576
577
|
options: [
|
|
577
578
|
{
|
|
578
|
-
label: "Reports (Coming Soon)"
|
|
579
|
+
label: "Reports (Coming Soon)",
|
|
580
|
+
isDisabled: true
|
|
579
581
|
// onClick: () => {
|
|
580
582
|
// window.open("https://viz.jett.travel", "_blank");
|
|
581
583
|
// },
|
|
@@ -608,7 +610,8 @@ var navItemsConstant = [
|
|
|
608
610
|
}
|
|
609
611
|
},
|
|
610
612
|
{
|
|
611
|
-
label: "Reports Configurations (Coming Soon)"
|
|
613
|
+
label: "Reports Configurations (Coming Soon)",
|
|
614
|
+
isDisabled: true
|
|
612
615
|
// onClick: () => {},
|
|
613
616
|
}
|
|
614
617
|
]
|
|
@@ -1061,7 +1064,7 @@ var AppSideBar = ({
|
|
|
1061
1064
|
onClick: (e) => handleMenuClick(item, index, e)
|
|
1062
1065
|
},
|
|
1063
1066
|
/* @__PURE__ */ import_react12.default.createElement("div", { className: "text-primary" }, /* @__PURE__ */ import_react12.default.createElement(item.Icon, { width: 20, height: 20 })),
|
|
1064
|
-
/* @__PURE__ */ import_react12.default.createElement("span", { className: "font-medium text-
|
|
1067
|
+
/* @__PURE__ */ import_react12.default.createElement("span", { className: "!font-medium !text-[16px] !text-[#000] dark:text-[#f4f4f5cc]" }, item.label),
|
|
1065
1068
|
item.isDropDown && /* @__PURE__ */ import_react12.default.createElement("div", { className: `ml-auto transition-all delay-75 ${isOpen ? "rotate-180" : ""}` }, /* @__PURE__ */ import_react12.default.createElement(import_lucide_react6.ChevronDown, { width: 20, height: 20, className: "text-gray-500 dark:text-gray-400" }))
|
|
1066
1069
|
), item.options && item.options.length > 0 && /* @__PURE__ */ import_react12.default.createElement(
|
|
1067
1070
|
"div",
|
|
@@ -1079,7 +1082,7 @@ var AppSideBar = ({
|
|
|
1079
1082
|
onClick: (e) => handleSubMenuClick(options, optionsIndex, index, e)
|
|
1080
1083
|
},
|
|
1081
1084
|
/* @__PURE__ */ import_react12.default.createElement("div", null),
|
|
1082
|
-
/* @__PURE__ */ import_react12.default.createElement("span", { className: "font-medium text-
|
|
1085
|
+
/* @__PURE__ */ import_react12.default.createElement("span", { className: "!font-medium !text-[15px] !text-[#3f3f46cc] dark:text-[#a1a1aa]" }, options.label),
|
|
1083
1086
|
options.isDropDown && /* @__PURE__ */ import_react12.default.createElement(
|
|
1084
1087
|
"div",
|
|
1085
1088
|
{
|
|
@@ -1116,7 +1119,7 @@ var AppSideBar = ({
|
|
|
1116
1119
|
window.location.href = "/profile";
|
|
1117
1120
|
}
|
|
1118
1121
|
},
|
|
1119
|
-
/* @__PURE__ */ import_react12.default.createElement("div", { className: "flex items-center gap-3" }, /* @__PURE__ */ import_react12.default.createElement("span", { className: "relative flex shrink-0 overflow-hidden dark:bg-[#27272a] rounded-full h-10 w-10" }, /* @__PURE__ */ import_react12.default.createElement("span", { className: "flex h-full w-full items-center justify-center rounded-full bg-muted dark:text-white" }, ((_a = authData == null ? void 0 : authData.userInfo) == null ? void 0 : _a.UserName) ? authData.userInfo.UserName.split("")[0] : "A")), /* @__PURE__ */ import_react12.default.createElement("div", null, /* @__PURE__ */ import_react12.default.createElement("p", { className: "font-semibold dark:text-white" }, ((_b = authData == null ? void 0 : authData.userInfo) == null ? void 0 : _b.UserName) ? authData.userInfo.UserName : "Admin
|
|
1122
|
+
/* @__PURE__ */ import_react12.default.createElement("div", { className: "flex items-center gap-3" }, /* @__PURE__ */ import_react12.default.createElement("span", { className: "relative flex shrink-0 overflow-hidden dark:bg-[#27272a] rounded-full h-10 w-10" }, /* @__PURE__ */ import_react12.default.createElement("span", { className: "flex h-full w-full items-center justify-center !text-[16px] !font-normal border border-gray-200 dark:border-[#303036] rounded-full bg-muted dark:text-white" }, ((_a = authData == null ? void 0 : authData.userInfo) == null ? void 0 : _a.UserName) ? authData.userInfo.UserName.split("")[0] : "A")), /* @__PURE__ */ import_react12.default.createElement("div", null, /* @__PURE__ */ import_react12.default.createElement("p", { className: "!font-semibold dark:text-white !text-[16px]" }, ((_b = authData == null ? void 0 : authData.userInfo) == null ? void 0 : _b.UserName) ? authData.userInfo.UserName : "Admin"), /* @__PURE__ */ import_react12.default.createElement("p", { className: "!text-[14px] !font-normal dark:text-[#f4f4f5cc]" }, role)))
|
|
1120
1123
|
))
|
|
1121
1124
|
));
|
|
1122
1125
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -458,7 +458,8 @@ var navItemsConstant = [
|
|
|
458
458
|
}
|
|
459
459
|
},
|
|
460
460
|
{
|
|
461
|
-
label: "Support Tickets (Coming Soon)"
|
|
461
|
+
label: "Support Tickets (Coming Soon)",
|
|
462
|
+
isDisabled: true
|
|
462
463
|
// onClick: () => {},
|
|
463
464
|
}
|
|
464
465
|
],
|
|
@@ -472,15 +473,15 @@ var navItemsConstant = [
|
|
|
472
473
|
isDropDown: true,
|
|
473
474
|
options: [
|
|
474
475
|
{
|
|
475
|
-
label: "
|
|
476
|
+
label: "Credit Management",
|
|
476
477
|
onClick: () => {
|
|
477
|
-
window.location.href = "/finance/
|
|
478
|
+
window.location.href = "/finance/paymentsLedger/";
|
|
478
479
|
}
|
|
479
480
|
},
|
|
480
481
|
{
|
|
481
|
-
label: "
|
|
482
|
+
label: "Booking & Invoices",
|
|
482
483
|
onClick: () => {
|
|
483
|
-
window.location.href = "/finance/
|
|
484
|
+
window.location.href = "/finance/bookingHistory/";
|
|
484
485
|
}
|
|
485
486
|
}
|
|
486
487
|
]
|
|
@@ -541,7 +542,8 @@ var navItemsConstant = [
|
|
|
541
542
|
isDropDown: true,
|
|
542
543
|
options: [
|
|
543
544
|
{
|
|
544
|
-
label: "Reports (Coming Soon)"
|
|
545
|
+
label: "Reports (Coming Soon)",
|
|
546
|
+
isDisabled: true
|
|
545
547
|
// onClick: () => {
|
|
546
548
|
// window.open("https://viz.jett.travel", "_blank");
|
|
547
549
|
// },
|
|
@@ -574,7 +576,8 @@ var navItemsConstant = [
|
|
|
574
576
|
}
|
|
575
577
|
},
|
|
576
578
|
{
|
|
577
|
-
label: "Reports Configurations (Coming Soon)"
|
|
579
|
+
label: "Reports Configurations (Coming Soon)",
|
|
580
|
+
isDisabled: true
|
|
578
581
|
// onClick: () => {},
|
|
579
582
|
}
|
|
580
583
|
]
|
|
@@ -1027,7 +1030,7 @@ var AppSideBar = ({
|
|
|
1027
1030
|
onClick: (e) => handleMenuClick(item, index, e)
|
|
1028
1031
|
},
|
|
1029
1032
|
/* @__PURE__ */ React12.createElement("div", { className: "text-primary" }, /* @__PURE__ */ React12.createElement(item.Icon, { width: 20, height: 20 })),
|
|
1030
|
-
/* @__PURE__ */ React12.createElement("span", { className: "font-medium text-
|
|
1033
|
+
/* @__PURE__ */ React12.createElement("span", { className: "!font-medium !text-[16px] !text-[#000] dark:text-[#f4f4f5cc]" }, item.label),
|
|
1031
1034
|
item.isDropDown && /* @__PURE__ */ React12.createElement("div", { className: `ml-auto transition-all delay-75 ${isOpen ? "rotate-180" : ""}` }, /* @__PURE__ */ React12.createElement(ChevronDown3, { width: 20, height: 20, className: "text-gray-500 dark:text-gray-400" }))
|
|
1032
1035
|
), item.options && item.options.length > 0 && /* @__PURE__ */ React12.createElement(
|
|
1033
1036
|
"div",
|
|
@@ -1045,7 +1048,7 @@ var AppSideBar = ({
|
|
|
1045
1048
|
onClick: (e) => handleSubMenuClick(options, optionsIndex, index, e)
|
|
1046
1049
|
},
|
|
1047
1050
|
/* @__PURE__ */ React12.createElement("div", null),
|
|
1048
|
-
/* @__PURE__ */ React12.createElement("span", { className: "font-medium text-
|
|
1051
|
+
/* @__PURE__ */ React12.createElement("span", { className: "!font-medium !text-[15px] !text-[#3f3f46cc] dark:text-[#a1a1aa]" }, options.label),
|
|
1049
1052
|
options.isDropDown && /* @__PURE__ */ React12.createElement(
|
|
1050
1053
|
"div",
|
|
1051
1054
|
{
|
|
@@ -1082,7 +1085,7 @@ var AppSideBar = ({
|
|
|
1082
1085
|
window.location.href = "/profile";
|
|
1083
1086
|
}
|
|
1084
1087
|
},
|
|
1085
|
-
/* @__PURE__ */ React12.createElement("div", { className: "flex items-center gap-3" }, /* @__PURE__ */ React12.createElement("span", { className: "relative flex shrink-0 overflow-hidden dark:bg-[#27272a] rounded-full h-10 w-10" }, /* @__PURE__ */ React12.createElement("span", { className: "flex h-full w-full items-center justify-center rounded-full bg-muted dark:text-white" }, ((_a = authData == null ? void 0 : authData.userInfo) == null ? void 0 : _a.UserName) ? authData.userInfo.UserName.split("")[0] : "A")), /* @__PURE__ */ React12.createElement("div", null, /* @__PURE__ */ React12.createElement("p", { className: "font-semibold dark:text-white" }, ((_b = authData == null ? void 0 : authData.userInfo) == null ? void 0 : _b.UserName) ? authData.userInfo.UserName : "Admin
|
|
1088
|
+
/* @__PURE__ */ React12.createElement("div", { className: "flex items-center gap-3" }, /* @__PURE__ */ React12.createElement("span", { className: "relative flex shrink-0 overflow-hidden dark:bg-[#27272a] rounded-full h-10 w-10" }, /* @__PURE__ */ React12.createElement("span", { className: "flex h-full w-full items-center justify-center !text-[16px] !font-normal border border-gray-200 dark:border-[#303036] rounded-full bg-muted dark:text-white" }, ((_a = authData == null ? void 0 : authData.userInfo) == null ? void 0 : _a.UserName) ? authData.userInfo.UserName.split("")[0] : "A")), /* @__PURE__ */ React12.createElement("div", null, /* @__PURE__ */ React12.createElement("p", { className: "!font-semibold dark:text-white !text-[16px]" }, ((_b = authData == null ? void 0 : authData.userInfo) == null ? void 0 : _b.UserName) ? authData.userInfo.UserName : "Admin"), /* @__PURE__ */ React12.createElement("p", { className: "!text-[14px] !font-normal dark:text-[#f4f4f5cc]" }, role)))
|
|
1086
1089
|
))
|
|
1087
1090
|
));
|
|
1088
1091
|
};
|