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 CHANGED
@@ -312,6 +312,9 @@
312
312
  .ml-2 {
313
313
  margin-left: calc(var(--spacing) * 2);
314
314
  }
315
+ .ml-\[8px\] {
316
+ margin-left: 8px;
317
+ }
315
318
  .ml-\[20px\] {
316
319
  margin-left: 20px;
317
320
  }
package/dist/index.js CHANGED
@@ -491,7 +491,7 @@ var navItemsConstant = [
491
491
  {
492
492
  label: "Reports",
493
493
  onClick: () => {
494
- window.location.href = "/reports/";
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
- { label: "Admin Users", onClick: () => {
586
- window.location.href = "/users/";
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
- { label: "TMC Markets", onClick: () => {
593
- window.location.href = "/market/";
594
- } },
595
- { label: "Permissions", onClick: () => {
596
- window.location.href = "/permissions/";
597
- } },
598
- { label: "Report Configurations", onClick: () => {
599
- window.location.href = "/reports/";
600
- } },
601
- { label: "Whitelabelling", onClick: () => {
602
- window.location.href = "/whitelabel/";
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 { Home, BaggageClaim, Users, Banknote, Globe, TrendingUp, FileText, FileKey2, LifeBuoy, Cog, Building, Handshake, DollarSign } from "lucide-react";
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 = "/reports/";
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
- { label: "Admin Users", onClick: () => {
538
- window.location.href = "/users/";
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
- { label: "TMC Markets", onClick: () => {
545
- window.location.href = "/market/";
546
- } },
547
- { label: "Permissions", onClick: () => {
548
- window.location.href = "/permissions/";
549
- } },
550
- { label: "Report Configurations", onClick: () => {
551
- window.location.href = "/reports/";
552
- } },
553
- { label: "Whitelabelling", onClick: () => {
554
- window.location.href = "/whitelabel/";
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
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jett.admin.npmpackage",
3
- "version": "1.0.50",
3
+ "version": "1.0.52",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "exports": {