jett.admin.npmpackage 1.0.49 → 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.css +3 -0
- package/dist/index.js +27 -18
- package/dist/index.mjs +42 -19
- package/package.json +1 -1
package/dist/index.css
CHANGED
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
|
];
|
|
@@ -895,11 +904,11 @@ var RightSheet = ({
|
|
|
895
904
|
"div",
|
|
896
905
|
{
|
|
897
906
|
className: `absolute flex flex-col right-0 top-0 min-h-full min-w-[100%] md:min-w-[576px]
|
|
898
|
-
${visible ? "sheetRightSlide" : "transition-all duration-200 translate-x-[100%]"} justify-between`,
|
|
907
|
+
${visible ? "sheetRightSlide" : "transition-all duration-200 translate-x-[100%]"} justify-between bg-[#fff]`,
|
|
899
908
|
onClick: (e) => e.stopPropagation()
|
|
900
909
|
},
|
|
901
|
-
/* @__PURE__ */ import_react13.default.createElement("div", { className: "
|
|
902
|
-
/* @__PURE__ */ import_react13.default.createElement("div", { className: "h-[90px] flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2 p-6 border-t sticky bottom-0 bg-white border-[#e6e6e6]
|
|
910
|
+
/* @__PURE__ */ import_react13.default.createElement("div", { className: " min-h-full " }, children),
|
|
911
|
+
/* @__PURE__ */ import_react13.default.createElement("div", { className: "h-[90px] flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2 p-6 border-t sticky bottom-0 bg-white border-[#e6e6e6] " }, /* @__PURE__ */ import_react13.default.createElement(CustomButton, { variant: "SECONDARY", onClick: () => handleClose() }, "Cancel"), /* @__PURE__ */ import_react13.default.createElement(CustomButton, { variant: "SECONDARY", onClick: handleAction }, actionLabel))
|
|
903
912
|
)
|
|
904
913
|
);
|
|
905
914
|
};
|
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
|
];
|
|
@@ -847,11 +870,11 @@ var RightSheet = ({
|
|
|
847
870
|
"div",
|
|
848
871
|
{
|
|
849
872
|
className: `absolute flex flex-col right-0 top-0 min-h-full min-w-[100%] md:min-w-[576px]
|
|
850
|
-
${visible ? "sheetRightSlide" : "transition-all duration-200 translate-x-[100%]"} justify-between`,
|
|
873
|
+
${visible ? "sheetRightSlide" : "transition-all duration-200 translate-x-[100%]"} justify-between bg-[#fff]`,
|
|
851
874
|
onClick: (e) => e.stopPropagation()
|
|
852
875
|
},
|
|
853
|
-
/* @__PURE__ */ React13.createElement("div", { className: "
|
|
854
|
-
/* @__PURE__ */ React13.createElement("div", { className: "h-[90px] flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2 p-6 border-t sticky bottom-0 bg-white border-[#e6e6e6]
|
|
876
|
+
/* @__PURE__ */ React13.createElement("div", { className: " min-h-full " }, children),
|
|
877
|
+
/* @__PURE__ */ React13.createElement("div", { className: "h-[90px] flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2 p-6 border-t sticky bottom-0 bg-white border-[#e6e6e6] " }, /* @__PURE__ */ React13.createElement(CustomButton, { variant: "SECONDARY", onClick: () => handleClose() }, "Cancel"), /* @__PURE__ */ React13.createElement(CustomButton, { variant: "SECONDARY", onClick: handleAction }, actionLabel))
|
|
855
878
|
)
|
|
856
879
|
);
|
|
857
880
|
};
|