jett.admin.npmpackage 1.0.50 → 1.0.51
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.js +24 -15
- package/dist/index.mjs +39 -16
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -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
|
];
|
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
|
{
|
|
@@ -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
|
];
|