jett.admin.npmpackage 1.0.20 → 1.0.21

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
@@ -453,9 +453,6 @@
453
453
  .items-center {
454
454
  align-items: center;
455
455
  }
456
- .items-start {
457
- align-items: flex-start;
458
- }
459
456
  .justify-between {
460
457
  justify-content: space-between;
461
458
  }
package/dist/index.js CHANGED
@@ -461,9 +461,12 @@ var navItemsConstant = [
461
461
  },
462
462
  isDropDown: true,
463
463
  options: [
464
- { label: "Suppliers", onClick: () => {
465
- window.location.href = "/supplier/";
466
- } }
464
+ {
465
+ label: "Suppliers",
466
+ onClick: () => {
467
+ window.location.href = "/supplier/";
468
+ }
469
+ }
467
470
  ]
468
471
  },
469
472
  {
@@ -478,12 +481,18 @@ var navItemsConstant = [
478
481
  window.location.href = "/corporate/";
479
482
  }
480
483
  },
481
- { label: "Trips", onClick: () => {
482
- window.location.href = "/trips/";
483
- } },
484
- { label: "Reports", onClick: () => {
485
- window.location.href = "/reports/";
486
- } },
484
+ {
485
+ label: "Trips",
486
+ onClick: () => {
487
+ window.location.href = "/trips/";
488
+ }
489
+ },
490
+ {
491
+ label: "Reports",
492
+ onClick: () => {
493
+ window.location.href = "/reports/";
494
+ }
495
+ },
487
496
  {
488
497
  label: "Tags",
489
498
  onClick: () => {
@@ -500,15 +509,24 @@ var navItemsConstant = [
500
509
  },
501
510
  isDropDown: true,
502
511
  options: [
503
- { label: "Invoices", onClick: () => {
504
- window.location.href = "/invoices/";
505
- } },
506
- { label: "Ledger", onClick: () => {
507
- window.location.href = "/ledger/";
508
- } },
509
- { label: "Payments", onClick: () => {
510
- window.location.href = "/payments/";
511
- } }
512
+ {
513
+ label: "Invoices",
514
+ onClick: () => {
515
+ window.location.href = "/invoices/";
516
+ }
517
+ },
518
+ {
519
+ label: "Ledger",
520
+ onClick: () => {
521
+ window.location.href = "/ledger/";
522
+ }
523
+ },
524
+ {
525
+ label: "Payments",
526
+ onClick: () => {
527
+ window.location.href = "/payments/";
528
+ }
529
+ }
512
530
  ]
513
531
  },
514
532
  {
@@ -524,15 +542,24 @@ var navItemsConstant = [
524
542
  window.location.href = "/pricing/";
525
543
  }
526
544
  },
527
- { label: "Offers", onClick: () => {
528
- window.location.href = "/offers/";
529
- } },
530
- { label: "Vouchers", onClick: () => {
531
- window.location.href = "/vouchers/";
532
- } },
533
- { label: "Supplier Deals", onClick: () => {
534
- window.location.href = "/supplierdeals/";
535
- } },
545
+ {
546
+ label: "Offers",
547
+ onClick: () => {
548
+ window.location.href = "/offers/";
549
+ }
550
+ },
551
+ {
552
+ label: "Vouchers",
553
+ onClick: () => {
554
+ window.location.href = "https://devadmin.musafirbiz.com/vouchers/";
555
+ }
556
+ },
557
+ {
558
+ label: "Supplier Deals",
559
+ onClick: () => {
560
+ window.location.href = "/supplierdeals/";
561
+ }
562
+ },
536
563
  {
537
564
  label: "Subscription Plans",
538
565
  onClick: () => {
@@ -554,32 +581,51 @@ var navItemsConstant = [
554
581
  onClick: () => {
555
582
  },
556
583
  options: [
557
- { label: "Admin Users", onClick: () => {
558
- window.location.href = "/users/";
559
- } },
584
+ {
585
+ label: "Admin Users",
586
+ onClick: () => {
587
+ window.location.href = "/users/";
588
+ }
589
+ },
560
590
  { label: "Admin User Attributes", onClick: () => {
561
591
  } }
562
592
  ]
563
593
  },
564
- { label: "TMC Markets", onClick: () => {
565
- window.location.href = "/market/";
566
- } },
567
- { label: "Permissions", onClick: () => {
568
- window.location.href = "/permissions/";
569
- } },
570
- { label: "Report Configurations", onClick: () => {
571
- window.location.href = "/reports/";
572
- } },
573
- { label: "Whitelabelling", onClick: () => {
574
- window.location.href = "/whitelabelling/";
575
- } }
594
+ {
595
+ label: "TMC Markets",
596
+ onClick: () => {
597
+ window.location.href = "/market/";
598
+ }
599
+ },
600
+ {
601
+ label: "Permissions",
602
+ onClick: () => {
603
+ window.location.href = "/permissions/";
604
+ }
605
+ },
606
+ {
607
+ label: "Report Configurations",
608
+ onClick: () => {
609
+ window.location.href = "/reports/";
610
+ }
611
+ },
612
+ {
613
+ label: "Whitelabelling",
614
+ onClick: () => {
615
+ window.location.href = "/whitelabelling/";
616
+ }
617
+ }
576
618
  ]
577
619
  }
578
620
  ];
579
621
  var additionalItemsConstant = [
580
- { Icon: import_lucide_react4.LifeBuoy, label: "Help", onClick: () => {
581
- window.location.href = "/help";
582
- } }
622
+ {
623
+ Icon: import_lucide_react4.LifeBuoy,
624
+ label: "Help",
625
+ onClick: () => {
626
+ window.location.href = "/help";
627
+ }
628
+ }
583
629
  ];
584
630
 
585
631
  // src/assests/logo/sidebarlogo.webp
package/dist/index.mjs CHANGED
@@ -396,7 +396,21 @@ import { ChevronDown as ChevronDown2, Globe as Globe2, LogOut } from "lucide-rea
396
396
  import React11, { useEffect, useState as useState2 } 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 navItemsConstant = [
401
415
  {
402
416
  Icon: Home,
@@ -413,9 +427,12 @@ var navItemsConstant = [
413
427
  },
414
428
  isDropDown: true,
415
429
  options: [
416
- { label: "Suppliers", onClick: () => {
417
- window.location.href = "/supplier/";
418
- } }
430
+ {
431
+ label: "Suppliers",
432
+ onClick: () => {
433
+ window.location.href = "/supplier/";
434
+ }
435
+ }
419
436
  ]
420
437
  },
421
438
  {
@@ -430,12 +447,18 @@ var navItemsConstant = [
430
447
  window.location.href = "/corporate/";
431
448
  }
432
449
  },
433
- { label: "Trips", onClick: () => {
434
- window.location.href = "/trips/";
435
- } },
436
- { label: "Reports", onClick: () => {
437
- window.location.href = "/reports/";
438
- } },
450
+ {
451
+ label: "Trips",
452
+ onClick: () => {
453
+ window.location.href = "/trips/";
454
+ }
455
+ },
456
+ {
457
+ label: "Reports",
458
+ onClick: () => {
459
+ window.location.href = "/reports/";
460
+ }
461
+ },
439
462
  {
440
463
  label: "Tags",
441
464
  onClick: () => {
@@ -452,15 +475,24 @@ var navItemsConstant = [
452
475
  },
453
476
  isDropDown: true,
454
477
  options: [
455
- { label: "Invoices", onClick: () => {
456
- window.location.href = "/invoices/";
457
- } },
458
- { label: "Ledger", onClick: () => {
459
- window.location.href = "/ledger/";
460
- } },
461
- { label: "Payments", onClick: () => {
462
- window.location.href = "/payments/";
463
- } }
478
+ {
479
+ label: "Invoices",
480
+ onClick: () => {
481
+ window.location.href = "/invoices/";
482
+ }
483
+ },
484
+ {
485
+ label: "Ledger",
486
+ onClick: () => {
487
+ window.location.href = "/ledger/";
488
+ }
489
+ },
490
+ {
491
+ label: "Payments",
492
+ onClick: () => {
493
+ window.location.href = "/payments/";
494
+ }
495
+ }
464
496
  ]
465
497
  },
466
498
  {
@@ -476,15 +508,24 @@ var navItemsConstant = [
476
508
  window.location.href = "/pricing/";
477
509
  }
478
510
  },
479
- { label: "Offers", onClick: () => {
480
- window.location.href = "/offers/";
481
- } },
482
- { label: "Vouchers", onClick: () => {
483
- window.location.href = "/vouchers/";
484
- } },
485
- { label: "Supplier Deals", onClick: () => {
486
- window.location.href = "/supplierdeals/";
487
- } },
511
+ {
512
+ label: "Offers",
513
+ onClick: () => {
514
+ window.location.href = "/offers/";
515
+ }
516
+ },
517
+ {
518
+ label: "Vouchers",
519
+ onClick: () => {
520
+ window.location.href = "https://devadmin.musafirbiz.com/vouchers/";
521
+ }
522
+ },
523
+ {
524
+ label: "Supplier Deals",
525
+ onClick: () => {
526
+ window.location.href = "/supplierdeals/";
527
+ }
528
+ },
488
529
  {
489
530
  label: "Subscription Plans",
490
531
  onClick: () => {
@@ -506,32 +547,51 @@ var navItemsConstant = [
506
547
  onClick: () => {
507
548
  },
508
549
  options: [
509
- { label: "Admin Users", onClick: () => {
510
- window.location.href = "/users/";
511
- } },
550
+ {
551
+ label: "Admin Users",
552
+ onClick: () => {
553
+ window.location.href = "/users/";
554
+ }
555
+ },
512
556
  { label: "Admin User Attributes", onClick: () => {
513
557
  } }
514
558
  ]
515
559
  },
516
- { label: "TMC Markets", onClick: () => {
517
- window.location.href = "/market/";
518
- } },
519
- { label: "Permissions", onClick: () => {
520
- window.location.href = "/permissions/";
521
- } },
522
- { label: "Report Configurations", onClick: () => {
523
- window.location.href = "/reports/";
524
- } },
525
- { label: "Whitelabelling", onClick: () => {
526
- window.location.href = "/whitelabelling/";
527
- } }
560
+ {
561
+ label: "TMC Markets",
562
+ onClick: () => {
563
+ window.location.href = "/market/";
564
+ }
565
+ },
566
+ {
567
+ label: "Permissions",
568
+ onClick: () => {
569
+ window.location.href = "/permissions/";
570
+ }
571
+ },
572
+ {
573
+ label: "Report Configurations",
574
+ onClick: () => {
575
+ window.location.href = "/reports/";
576
+ }
577
+ },
578
+ {
579
+ label: "Whitelabelling",
580
+ onClick: () => {
581
+ window.location.href = "/whitelabelling/";
582
+ }
583
+ }
528
584
  ]
529
585
  }
530
586
  ];
531
587
  var additionalItemsConstant = [
532
- { Icon: LifeBuoy, label: "Help", onClick: () => {
533
- window.location.href = "/help";
534
- } }
588
+ {
589
+ Icon: LifeBuoy,
590
+ label: "Help",
591
+ onClick: () => {
592
+ window.location.href = "/help";
593
+ }
594
+ }
535
595
  ];
536
596
 
537
597
  // src/assests/logo/sidebarlogo.webp
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jett.admin.npmpackage",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "exports": {