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 +0 -3
- package/dist/index.js +91 -45
- package/dist/index.mjs +106 -46
- package/package.json +1 -1
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -461,9 +461,12 @@ var navItemsConstant = [
|
|
|
461
461
|
},
|
|
462
462
|
isDropDown: true,
|
|
463
463
|
options: [
|
|
464
|
-
{
|
|
465
|
-
|
|
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
|
-
{
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
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
|
-
{
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
}
|
|
509
|
-
{
|
|
510
|
-
|
|
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
|
-
{
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
}
|
|
533
|
-
{
|
|
534
|
-
|
|
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
|
-
{
|
|
558
|
-
|
|
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
|
-
{
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
}
|
|
570
|
-
{
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
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
|
-
{
|
|
581
|
-
|
|
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 {
|
|
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
|
-
{
|
|
417
|
-
|
|
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
|
-
{
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
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
|
-
{
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
}
|
|
461
|
-
{
|
|
462
|
-
|
|
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
|
-
{
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
}
|
|
485
|
-
{
|
|
486
|
-
|
|
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
|
-
{
|
|
510
|
-
|
|
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
|
-
{
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
}
|
|
522
|
-
{
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
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
|
-
{
|
|
533
|
-
|
|
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
|