livevegas-ui-kit 1.0.325 → 1.0.328

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.
Files changed (36) hide show
  1. package/dist/components/History/AllHistory/index.d.ts +3 -1
  2. package/dist/components/History/helpers.d.ts +26 -541
  3. package/dist/livevegas-ui-kit.es.js +1284 -5691
  4. package/dist/livevegas-ui-kit.umd.js +384 -3058
  5. package/dist/utils/helpers.d.ts +1 -12
  6. package/package.json +1 -1
  7. package/dist/components/History/AmarAkbarAnthonyRoundHistory/AmarAkbarAnthonyRoundHistory.test.d.ts +0 -1
  8. package/dist/components/History/AmarAkbarAnthonyRoundHistory/index.d.ts +0 -11
  9. package/dist/components/History/AmarAkbarAnthonyRoundHistory/styled.d.ts +0 -20
  10. package/dist/components/History/AndarBaharRoundHistory/AndarBaharRoundHistory.test.d.ts +0 -1
  11. package/dist/components/History/AndarBaharRoundHistory/index.d.ts +0 -11
  12. package/dist/components/History/AndarBaharRoundHistory/styled.d.ts +0 -19
  13. package/dist/components/History/BaccaratRoundHistory/BaccaratRoundHistory.test.d.ts +0 -1
  14. package/dist/components/History/BaccaratRoundHistory/index.d.ts +0 -11
  15. package/dist/components/History/BaccaratRoundHistory/styled.d.ts +0 -21
  16. package/dist/components/History/DragonTigerRoundHistory/DragonTigerRoundHistory.test.d.ts +0 -1
  17. package/dist/components/History/DragonTigerRoundHistory/index.d.ts +0 -11
  18. package/dist/components/History/DragonTigerRoundHistory/styled.d.ts +0 -19
  19. package/dist/components/History/PokerTwoPlayerFastRoundHistory/PokerTwoPlayerFastRoundHistory.test.d.ts +0 -1
  20. package/dist/components/History/PokerTwoPlayerFastRoundHistory/index.d.ts +0 -11
  21. package/dist/components/History/PokerTwoPlayerFastRoundHistory/styled.d.ts +0 -13
  22. package/dist/components/History/SevenUpDownJokerRoundHistory/SevenUpDownJokerRoundHistory.test.d.ts +0 -1
  23. package/dist/components/History/SevenUpDownJokerRoundHistory/index.d.ts +0 -11
  24. package/dist/components/History/SevenUpDownJokerRoundHistory/styled.d.ts +0 -22
  25. package/dist/components/History/SevenUpDownRoundHistory/SevenUpDownRoundHistory.test.d.ts +0 -1
  26. package/dist/components/History/SevenUpDownRoundHistory/index.d.ts +0 -11
  27. package/dist/components/History/SevenUpDownRoundHistory/styled.d.ts +0 -18
  28. package/dist/components/History/TeenpattiMuflisRoundHistory/TeenpattiMuflisRoundHistory.test.d.ts +0 -1
  29. package/dist/components/History/TeenpattiMuflisRoundHistory/index.d.ts +0 -11
  30. package/dist/components/History/TeenpattiMuflisRoundHistory/styled.d.ts +0 -19
  31. package/dist/components/History/TeenpattiRoundHistory/TeenpattiRoundHistory.test.d.ts +0 -1
  32. package/dist/components/History/TeenpattiRoundHistory/index.d.ts +0 -11
  33. package/dist/components/History/TeenpattiRoundHistory/styled.d.ts +0 -20
  34. package/dist/components/History/ThirtyTwoCardsRoundHistory/ThirtyTwoCardsRoundHistory.test.d.ts +0 -1
  35. package/dist/components/History/ThirtyTwoCardsRoundHistory/index.d.ts +0 -11
  36. package/dist/components/History/ThirtyTwoCardsRoundHistory/styled.d.ts +0 -21
@@ -6,6 +6,8 @@ interface IAllHistory {
6
6
  setActive: (el: number) => void;
7
7
  handleClickRound: (index: number) => void;
8
8
  historyData: IHistoryData | null;
9
+ isTexas?: boolean;
10
+ isRoulette?: boolean;
9
11
  }
10
- export declare const AllHistory: ({ count, active, setActive, handleClickRound, historyData, }: IAllHistory) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const AllHistory: ({ count, active, setActive, handleClickRound, historyData, isTexas, isRoulette, }: IAllHistory) => import("react/jsx-runtime").JSX.Element;
11
13
  export {};
@@ -27,8 +27,6 @@ interface IBet {
27
27
  winAmount: number;
28
28
  betInfo?: string | Object;
29
29
  refId?: number;
30
- coefficient?: number;
31
- coeficient?: number;
32
30
  }
33
31
  export interface IRound {
34
32
  currentRoundId: number;
@@ -54,24 +52,32 @@ export interface IRound {
54
52
  winNumber?: number;
55
53
  tableName?: string;
56
54
  fusionNumbers?: any[];
57
- dragonCards?: ICard[] | null;
58
- tigerCards?: ICard[] | null;
59
- dragonCardsValue?: number;
60
- tigerCardsValue?: number;
61
- playerACards?: ICard[] | null;
62
- playerBCards?: ICard[] | null;
63
- andarCards?: ICard[] | null;
64
- baharCards?: ICard[] | null;
65
- sevenUpDownCards?: ICard[] | null;
66
- jokerCards?: ICard[] | null;
67
- player8Cards?: ICard[] | null;
68
- player9Cards?: ICard[] | null;
69
- player10Cards?: ICard[] | null;
70
- player11Cards?: ICard[] | null;
71
- amarAkbarAnthonyCards?: ICard[] | null;
72
- playerAWinType?: number | null;
73
- playerBWinType?: number | null;
74
- winType?: number | null;
55
+ board?: number[];
56
+ dealerHand?: IVipDealerHand;
57
+ boxes?: IVipBox[];
58
+ }
59
+ export interface IVipDealerHand {
60
+ cards: number[];
61
+ combinations?: number[];
62
+ bestCards?: number[];
63
+ qualified?: boolean;
64
+ }
65
+ export interface IVipBoxBet {
66
+ type: number;
67
+ amount: number;
68
+ }
69
+ export interface IVipBox {
70
+ index: number;
71
+ cards: number[];
72
+ combinations?: number[];
73
+ bestCards?: number[];
74
+ outcome?: string;
75
+ win?: number;
76
+ bets: IVipBoxBet[];
77
+ exchange?: {
78
+ discarded: number[];
79
+ received: number[];
80
+ };
75
81
  }
76
82
  export type IHands = IHand;
77
83
  export interface IDealerHand {
@@ -402,532 +408,11 @@ export declare const betsTypeVip: {
402
408
  24: string;
403
409
  23: string;
404
410
  };
405
- export declare enum WIN_TYPE_DRAGONTIGER {
406
- Tiger = 1,
407
- Dragon = 2,
408
- Tie = 9,
409
- SuitedTie = 10
410
- }
411
- export declare enum BET_TYPE_DRAGONTIGER {
412
- Tiger = 1,
413
- Dragon = 2,
414
- Tie = 9,
415
- SuitedTie = 10,
416
- DragonClub = 11,
417
- DragonHeart = 12,
418
- DragonDiamond = 13,
419
- DragonSpade = 14,
420
- TigerClub = 15,
421
- TigerHeart = 16,
422
- TigerDiamond = 17,
423
- TigerSpade = 18,
424
- DragonA = 19,
425
- Dragon2 = 20,
426
- Dragon3 = 21,
427
- Dragon4 = 22,
428
- Dragon5 = 23,
429
- Dragon6 = 24,
430
- Dragon7 = 25,
431
- Dragon8 = 26,
432
- Dragon9 = 27,
433
- Dragon10 = 28,
434
- DragonJ = 29,
435
- DragonQ = 30,
436
- DragonK = 31,
437
- TigerA = 32,
438
- Tiger2 = 33,
439
- Tiger3 = 34,
440
- Tiger4 = 35,
441
- Tiger5 = 36,
442
- Tiger6 = 37,
443
- Tiger7 = 38,
444
- Tiger8 = 39,
445
- Tiger9 = 40,
446
- Tiger10 = 41,
447
- TigerJ = 42,
448
- TigerQ = 43,
449
- TigerK = 44
450
- }
451
- export declare const betsTypeDragonTiger: {
452
- 1: string;
453
- 2: string;
454
- 9: string;
455
- 10: string;
456
- 11: string;
457
- 12: string;
458
- 13: string;
459
- 14: string;
460
- 15: string;
461
- 16: string;
462
- 17: string;
463
- 18: string;
464
- 19: string;
465
- 20: string;
466
- 21: string;
467
- 22: string;
468
- 23: string;
469
- 24: string;
470
- 25: string;
471
- 26: string;
472
- 27: string;
473
- 28: string;
474
- 29: string;
475
- 30: string;
476
- 31: string;
477
- 32: string;
478
- 33: string;
479
- 34: string;
480
- 35: string;
481
- 36: string;
482
- 37: string;
483
- 38: string;
484
- 39: string;
485
- 40: string;
486
- 41: string;
487
- 42: string;
488
- 43: string;
489
- 44: string;
490
- };
491
- export declare enum WIN_TYPE_TEENPATTI {
492
- PlayerA = 1,
493
- PlayerB = 2,
494
- Tie = 3
495
- }
496
- export declare enum BET_TYPE_TEENPATTI {
497
- PlayerAWin = 1,
498
- PlayerALose = 2,
499
- PlayerAPairPlus = 3,
500
- PlayerBWin = 4,
501
- PlayerBLose = 5,
502
- PlayerBPairPlus = 6
503
- }
504
- export declare const betsTypeTeenpatti: {
505
- 1: string;
506
- 2: string;
507
- 3: string;
508
- 4: string;
509
- 5: string;
510
- 6: string;
511
- };
512
- export declare enum BET_TYPE_ANDARBAHAR {
513
- AndarA = 1,
514
- Andar2 = 2,
515
- Andar3 = 3,
516
- Andar4 = 4,
517
- Andar5 = 5,
518
- Andar6 = 6,
519
- Andar7 = 7,
520
- Andar8 = 8,
521
- Andar9 = 9,
522
- Andar10 = 10,
523
- AndarJ = 11,
524
- AndarQ = 12,
525
- AndarK = 13,
526
- BaharA = 14,
527
- Bahar2 = 15,
528
- Bahar3 = 16,
529
- Bahar4 = 17,
530
- Bahar5 = 18,
531
- Bahar6 = 19,
532
- Bahar7 = 20,
533
- Bahar8 = 21,
534
- Bahar9 = 22,
535
- Bahar10 = 23,
536
- BaharJ = 24,
537
- BaharQ = 25,
538
- BaharK = 26
539
- }
540
- export declare const betsTypeAndarBahar: {
541
- 1: string;
542
- 2: string;
543
- 3: string;
544
- 4: string;
545
- 5: string;
546
- 6: string;
547
- 7: string;
548
- 8: string;
549
- 9: string;
550
- 10: string;
551
- 11: string;
552
- 12: string;
553
- 13: string;
554
- 14: string;
555
- 15: string;
556
- 16: string;
557
- 17: string;
558
- 18: string;
559
- 19: string;
560
- 20: string;
561
- 21: string;
562
- 22: string;
563
- 23: string;
564
- 24: string;
565
- 25: string;
566
- 26: string;
567
- };
568
- export declare enum WIN_TYPE_SEVENUPDOWN {
569
- SevenDown = 1,
570
- Seven = 2,
571
- SevenUp = 3
572
- }
573
- export declare enum BET_TYPE_SEVENUPDOWN {
574
- SevenDown = 1,
575
- Seven = 2,
576
- SevenUp = 3,
577
- ColorRed = 4,
578
- ColorBlack = 5,
579
- Odd = 6,
580
- Even = 7,
581
- Spade = 8,
582
- Club = 9,
583
- Heart = 10,
584
- Diamond = 11,
585
- CardA23 = 12,
586
- Card456 = 13,
587
- Card8910 = 14,
588
- CardJQK = 15,
589
- CardA = 16,
590
- Card2 = 17,
591
- Card3 = 18,
592
- Card4 = 19,
593
- Card5 = 20,
594
- Card6 = 21,
595
- Card8 = 22,
596
- Card9 = 23,
597
- Card10 = 24,
598
- CardJ = 25,
599
- CardQ = 26,
600
- CardK = 27
601
- }
602
- export declare const betsTypeSevenUpDown: {
603
- 1: string;
604
- 2: string;
605
- 3: string;
606
- 4: string;
607
- 5: string;
608
- 6: string;
609
- 7: string;
610
- 8: string;
611
- 9: string;
612
- 10: string;
613
- 11: string;
614
- 12: string;
615
- 13: string;
616
- 14: string;
617
- 15: string;
618
- 16: string;
619
- 17: string;
620
- 18: string;
621
- 19: string;
622
- 20: string;
623
- 21: string;
624
- 22: string;
625
- 23: string;
626
- 24: string;
627
- 25: string;
628
- 26: string;
629
- 27: string;
630
- };
631
- export declare enum WIN_TYPE_SEVENUPDOWNJOKER {
632
- SevenDown = 1,
633
- Seven = 2,
634
- SevenUp = 3
635
- }
636
- export declare enum BET_TYPE_SEVENUPDOWNJOKER {
637
- SevenDown = 1,
638
- Seven = 2,
639
- SevenUp = 3,
640
- ColorRed = 4,
641
- ColorBlack = 5,
642
- Odd = 6,
643
- Even = 7,
644
- Spade = 8,
645
- Club = 9,
646
- Heart = 10,
647
- Diamond = 11,
648
- CardA23 = 12,
649
- Card456 = 13,
650
- Card8910 = 14,
651
- CardJQK = 15,
652
- CardA = 16,
653
- Card2 = 17,
654
- Card3 = 18,
655
- Card4 = 19,
656
- Card5 = 20,
657
- Card6 = 21,
658
- Card8 = 22,
659
- Card9 = 23,
660
- Card10 = 24,
661
- CardJ = 25,
662
- CardQ = 26,
663
- CardK = 27
664
- }
665
- export declare const betsTypeSevenUpDownJoker: {
666
- 1: string;
667
- 2: string;
668
- 3: string;
669
- 4: string;
670
- 5: string;
671
- 6: string;
672
- 7: string;
673
- 8: string;
674
- 9: string;
675
- 10: string;
676
- 11: string;
677
- 12: string;
678
- 13: string;
679
- 14: string;
680
- 15: string;
681
- 16: string;
682
- 17: string;
683
- 18: string;
684
- 19: string;
685
- 20: string;
686
- 21: string;
687
- 22: string;
688
- 23: string;
689
- 24: string;
690
- 25: string;
691
- 26: string;
692
- 27: string;
693
- };
694
- export declare enum WIN_TYPE_THIRTYTWOCARDS {
695
- Player8 = 1,
696
- Player9 = 2,
697
- Player10 = 3,
698
- Player11 = 4
699
- }
700
- export declare enum BET_TYPE_THIRTYTWOCARDS {
701
- Player8Back = 1,
702
- Player8Lay = 2,
703
- Player8Odd = 3,
704
- Player8Even = 4,
705
- Player9Back = 5,
706
- Player9Lay = 6,
707
- Player9Odd = 7,
708
- Player9Even = 8,
709
- Player10Back = 9,
710
- Player10Lay = 10,
711
- Player10Odd = 11,
712
- Player10Even = 12,
713
- Player11Back = 13,
714
- Player11Lay = 14,
715
- Player11Odd = 15,
716
- Player11Even = 16,
717
- ThreeOrMoreBlack = 17,
718
- TwoBlackTwoRed = 18,
719
- ThreeOrMoreRed = 19,
720
- Total8And9 = 20,
721
- Total10And11 = 21
722
- }
723
- export declare const betsTypeThirtyTwoCards: {
724
- 1: string;
725
- 2: string;
726
- 3: string;
727
- 4: string;
728
- 5: string;
729
- 6: string;
730
- 7: string;
731
- 8: string;
732
- 9: string;
733
- 10: string;
734
- 11: string;
735
- 12: string;
736
- 13: string;
737
- 14: string;
738
- 15: string;
739
- 16: string;
740
- 17: string;
741
- 18: string;
742
- 19: string;
743
- 20: string;
744
- 21: string;
745
- };
746
- export declare enum WIN_TYPE_TEENPATTIMUFLIS {
747
- PlayerA = 1,
748
- PlayerB = 2,
749
- Tie = 3
750
- }
751
- export declare enum BET_TYPE_TEENPATTIMUFLIS {
752
- PlayerA = 1,
753
- PlayerB = 2,
754
- Top9A = 3,
755
- Top9B = 4,
756
- BaccaratA = 5,
757
- BaccaratB = 6
758
- }
759
- export declare const betsTypeTeenpattiMuflis: {
760
- 1: string;
761
- 2: string;
762
- 3: string;
763
- 4: string;
764
- 5: string;
765
- 6: string;
766
- };
767
- export declare enum WIN_TYPE_AMARAKBARANTHONY {
768
- Amar = 1,
769
- Akbar = 2,
770
- Anthony = 3
771
- }
772
- export declare enum BET_TYPE_AMARAKBARANTHONY {
773
- Amar = 1,
774
- AmarLay = 2,
775
- Akbar = 3,
776
- AkbarLay = 4,
777
- Anthony = 5,
778
- AnthonyLay = 6,
779
- Black = 7,
780
- Red = 8,
781
- Odd = 9,
782
- Even = 10,
783
- Spade = 11,
784
- Club = 12,
785
- Heart = 13,
786
- Diamond = 14,
787
- Over7 = 15,
788
- Under7 = 16,
789
- CardA = 17,
790
- Card2 = 18,
791
- Card3 = 19,
792
- Card4 = 20,
793
- Card5 = 21,
794
- Card6 = 22,
795
- Card8 = 23,
796
- Card9 = 24,
797
- Card10 = 25,
798
- CardJ = 26,
799
- CardQ = 27,
800
- CardK = 28
801
- }
802
- export declare const betsTypeAmarAkbarAnthony: {
803
- 1: string;
804
- 2: string;
805
- 3: string;
806
- 4: string;
807
- 5: string;
808
- 6: string;
809
- 7: string;
810
- 8: string;
811
- 9: string;
812
- 10: string;
813
- 11: string;
814
- 12: string;
815
- 13: string;
816
- 14: string;
817
- 15: string;
818
- 16: string;
819
- 17: string;
820
- 18: string;
821
- 19: string;
822
- 20: string;
823
- 21: string;
824
- 22: string;
825
- 23: string;
826
- 24: string;
827
- 25: string;
828
- 26: string;
829
- 27: string;
830
- 28: string;
831
- };
832
- export declare enum WIN_TYPE_BACCARAT {
833
- Banker = 1,
834
- Player = 2,
835
- Tie = 3
836
- }
837
- export declare enum BET_TYPE_BACCARAT {
838
- Player = 1,
839
- Banker = 2,
840
- Tie = 3,
841
- Super6 = 4,
842
- PlayerPair = 5,
843
- BankerPair = 6,
844
- EitherPair = 7,
845
- PerfectPair = 8,
846
- Big = 9,
847
- Small = 10,
848
- Score1To4 = 11,
849
- Score5To6 = 12,
850
- Score7 = 13,
851
- Score8 = 14,
852
- Score9 = 15
853
- }
854
- export declare const betsTypeBaccarat: {
855
- 1: string;
856
- 2: string;
857
- 3: string;
858
- 4: string;
859
- 5: string;
860
- 6: string;
861
- 7: string;
862
- 8: string;
863
- 9: string;
864
- 10: string;
865
- 11: string;
866
- 12: string;
867
- 13: string;
868
- 14: string;
869
- 15: string;
870
- };
871
- export declare enum WIN_TYPE_POKERTWOPLAYERFAST {
872
- PlayerA = 1,
873
- PlayerB = 2,
874
- Tie = 3
875
- }
876
- export declare const handsPokerTwoPlayerFast: Record<number, string>;
877
- export declare enum BET_TYPE_POKERTWOPLAYERFAST {
878
- PlayerA = 1,
879
- PlayerB = 2,
880
- OnePairA = 3,
881
- OnePairB = 4,
882
- TwoPairA = 5,
883
- TwoPairB = 6,
884
- ThreeOfAKindA = 7,
885
- ThreeOfAKindB = 8,
886
- StraightA = 9,
887
- StraightB = 10,
888
- FlushA = 11,
889
- FlushB = 12,
890
- FullHouseA = 13,
891
- FullHouseB = 14,
892
- FourOfAKindA = 15,
893
- FourOfAKindB = 16,
894
- StraightFlushA = 17,
895
- StraightFlushB = 18
896
- }
897
- export declare const betsTypePokerTwoPlayerFast: {
898
- 1: string;
899
- 2: string;
900
- 3: string;
901
- 4: string;
902
- 5: string;
903
- 6: string;
904
- 7: string;
905
- 8: string;
906
- 9: string;
907
- 10: string;
908
- 11: string;
909
- 12: string;
910
- 13: string;
911
- 14: string;
912
- 15: string;
913
- 16: string;
914
- 17: string;
915
- 18: string;
916
- };
917
411
  export declare const texasHistoryData: IHistoryData;
918
412
  export declare const historyData: IHistoryData;
919
413
  export declare const rouletteHistoryData: IRouletteHistoryData;
920
414
  export declare const vipHistoryData: IVipHistoryData;
921
415
  export declare const bacaratHistoryData: IHistoryData;
922
- export declare const dragonTigerHistoryData: IHistoryData;
923
- export declare const teenpattiHistoryData: IHistoryData;
924
- export declare const andarBaharHistoryData: IHistoryData;
925
- export declare const sevenUpDownHistoryData: IHistoryData;
926
- export declare const sevenUpDownJokerHistoryData: IHistoryData;
927
- export declare const thirtyTwoCardsHistoryData: IHistoryData;
928
- export declare const teenpattiMuflisHistoryData: IHistoryData;
929
- export declare const amarAkbarAnthonyHistoryData: IHistoryData;
930
- export declare const pokerTwoPlayerFastHistoryData: IHistoryData;
931
416
  export declare const formatted: (date: string) => string;
932
417
  export declare const seatsPosition: string[];
933
418
  export declare function getSuit(index: number): Suit;