jett.admin.npmpackage 1.0.50 → 1.0.52
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 +3 -0
- package/dist/index.js +26 -17
- package/dist/index.mjs +41 -18
- package/package.json +1 -1
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -491,7 +491,7 @@ var navItemsConstant = [
|
|
|
491
491
|
{
|
|
492
492
|
label: "Reports",
|
|
493
493
|
onClick: () => {
|
|
494
|
-
window.location.href = "
|
|
494
|
+
window.location.href = "https://viz.jett.travel";
|
|
495
495
|
}
|
|
496
496
|
},
|
|
497
497
|
{
|
|
@@ -582,25 +582,34 @@ var navItemsConstant = [
|
|
|
582
582
|
onClick: () => {
|
|
583
583
|
},
|
|
584
584
|
options: [
|
|
585
|
-
{
|
|
586
|
-
|
|
587
|
-
|
|
585
|
+
{
|
|
586
|
+
label: "Admin Users",
|
|
587
|
+
onClick: () => {
|
|
588
|
+
window.location.href = "/users/";
|
|
589
|
+
}
|
|
590
|
+
},
|
|
588
591
|
{ label: "Admin User Attributes", onClick: () => {
|
|
589
592
|
} }
|
|
590
593
|
]
|
|
591
594
|
},
|
|
592
|
-
{
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
}
|
|
598
|
-
{
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
}
|
|
595
|
+
{
|
|
596
|
+
label: "TMC Markets",
|
|
597
|
+
onClick: () => {
|
|
598
|
+
window.location.href = "/market/";
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
label: "Report Configurations",
|
|
603
|
+
onClick: () => {
|
|
604
|
+
window.location.href = "/reports/";
|
|
605
|
+
}
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
label: "Whitelabelling",
|
|
609
|
+
onClick: () => {
|
|
610
|
+
window.location.href = "/whitelabel/";
|
|
611
|
+
}
|
|
612
|
+
}
|
|
604
613
|
]
|
|
605
614
|
}
|
|
606
615
|
];
|
|
@@ -810,7 +819,7 @@ var AppSideBar = ({
|
|
|
810
819
|
}
|
|
811
820
|
},
|
|
812
821
|
/* @__PURE__ */ import_react12.default.createElement("div", null),
|
|
813
|
-
/* @__PURE__ */ import_react12.default.createElement("span", { className: "font-medium text-sm dark:text-[#f4f4f5cc]" }, options.label),
|
|
822
|
+
/* @__PURE__ */ import_react12.default.createElement("span", { className: "font-medium text-sm dark:text-[#f4f4f5cc] ml-[8px]" }, options.label),
|
|
814
823
|
options.isDropDown && /* @__PURE__ */ import_react12.default.createElement(
|
|
815
824
|
"div",
|
|
816
825
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -396,7 +396,21 @@ import { ChevronDown as ChevronDown3, Globe as Globe2, LogOut } from "lucide-rea
|
|
|
396
396
|
import React12, { useEffect, useState as useState3 } from "react";
|
|
397
397
|
|
|
398
398
|
// ConstantUI.js
|
|
399
|
-
import {
|
|
399
|
+
import {
|
|
400
|
+
Home,
|
|
401
|
+
BaggageClaim,
|
|
402
|
+
Users,
|
|
403
|
+
Banknote,
|
|
404
|
+
Globe,
|
|
405
|
+
TrendingUp,
|
|
406
|
+
FileText,
|
|
407
|
+
FileKey2,
|
|
408
|
+
LifeBuoy,
|
|
409
|
+
Cog,
|
|
410
|
+
Building,
|
|
411
|
+
Handshake,
|
|
412
|
+
DollarSign
|
|
413
|
+
} from "lucide-react";
|
|
400
414
|
var encodedAuthData = localStorage.getItem("encodedAuthData");
|
|
401
415
|
var navItemsConstant = [
|
|
402
416
|
{
|
|
@@ -443,7 +457,7 @@ var navItemsConstant = [
|
|
|
443
457
|
{
|
|
444
458
|
label: "Reports",
|
|
445
459
|
onClick: () => {
|
|
446
|
-
window.location.href = "
|
|
460
|
+
window.location.href = "https://viz.jett.travel";
|
|
447
461
|
}
|
|
448
462
|
},
|
|
449
463
|
{
|
|
@@ -534,25 +548,34 @@ var navItemsConstant = [
|
|
|
534
548
|
onClick: () => {
|
|
535
549
|
},
|
|
536
550
|
options: [
|
|
537
|
-
{
|
|
538
|
-
|
|
539
|
-
|
|
551
|
+
{
|
|
552
|
+
label: "Admin Users",
|
|
553
|
+
onClick: () => {
|
|
554
|
+
window.location.href = "/users/";
|
|
555
|
+
}
|
|
556
|
+
},
|
|
540
557
|
{ label: "Admin User Attributes", onClick: () => {
|
|
541
558
|
} }
|
|
542
559
|
]
|
|
543
560
|
},
|
|
544
|
-
{
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
}
|
|
550
|
-
{
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
}
|
|
561
|
+
{
|
|
562
|
+
label: "TMC Markets",
|
|
563
|
+
onClick: () => {
|
|
564
|
+
window.location.href = "/market/";
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
label: "Report Configurations",
|
|
569
|
+
onClick: () => {
|
|
570
|
+
window.location.href = "/reports/";
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
label: "Whitelabelling",
|
|
575
|
+
onClick: () => {
|
|
576
|
+
window.location.href = "/whitelabel/";
|
|
577
|
+
}
|
|
578
|
+
}
|
|
556
579
|
]
|
|
557
580
|
}
|
|
558
581
|
];
|
|
@@ -762,7 +785,7 @@ var AppSideBar = ({
|
|
|
762
785
|
}
|
|
763
786
|
},
|
|
764
787
|
/* @__PURE__ */ React12.createElement("div", null),
|
|
765
|
-
/* @__PURE__ */ React12.createElement("span", { className: "font-medium text-sm dark:text-[#f4f4f5cc]" }, options.label),
|
|
788
|
+
/* @__PURE__ */ React12.createElement("span", { className: "font-medium text-sm dark:text-[#f4f4f5cc] ml-[8px]" }, options.label),
|
|
766
789
|
options.isDropDown && /* @__PURE__ */ React12.createElement(
|
|
767
790
|
"div",
|
|
768
791
|
{
|