livevegas-ui-kit 1.0.325 → 1.0.327

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 (29) hide show
  1. package/dist/components/History/amarAkbarAnthonyHistoryData.d.ts +3 -0
  2. package/dist/components/History/andarBaharHistoryData.d.ts +3 -0
  3. package/dist/components/History/bacaratHistoryData.d.ts +3 -0
  4. package/dist/components/History/blackjackHistoryData.d.ts +3 -0
  5. package/dist/components/History/dragonTigerHistoryData.d.ts +3 -0
  6. package/dist/components/History/helpers.d.ts +86 -82
  7. package/dist/components/History/pokerTwoPlayerFastHistoryData.d.ts +3 -0
  8. package/dist/components/History/rouletteHistoryData.d.ts +3 -0
  9. package/dist/components/History/sevenUpDownHistoryData.d.ts +3 -0
  10. package/dist/components/History/sevenUpDownJokerHistoryData.d.ts +3 -0
  11. package/dist/components/History/teenpattiHistoryData.d.ts +3 -0
  12. package/dist/components/History/teenpattiMuflisHistoryData.d.ts +3 -0
  13. package/dist/components/History/texasHistoryData.d.ts +3 -0
  14. package/dist/components/History/thirtyTwoCardsHistoryData.d.ts +3 -0
  15. package/dist/components/History/vipHistoryData.d.ts +3 -0
  16. package/dist/components/Info/TextBlock/RenderValue/index.d.ts +6 -2
  17. package/dist/components/Info/text/amarAkbarAnthony.d.ts +3 -0
  18. package/dist/components/Info/text/andarBahar.d.ts +3 -0
  19. package/dist/components/Info/text/baccarat.d.ts +3 -0
  20. package/dist/components/Info/text/dragonTiger.d.ts +3 -0
  21. package/dist/components/Info/text/pokerTwoPlayerFast.d.ts +3 -0
  22. package/dist/components/Info/text/sevenUpDown.d.ts +3 -0
  23. package/dist/components/Info/text/teenpatti.d.ts +3 -0
  24. package/dist/components/Info/text/teenpattiMuflis.d.ts +3 -0
  25. package/dist/components/Info/text/thirtyTwoCards.d.ts +3 -0
  26. package/dist/livevegas-ui-kit.es.js +2060 -1455
  27. package/dist/livevegas-ui-kit.umd.js +200 -200
  28. package/dist/utils/helpers.d.ts +1 -1
  29. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ import { IHistoryData } from './helpers';
2
+
3
+ export declare const amarAkbarAnthonyHistoryData: IHistoryData;
@@ -0,0 +1,3 @@
1
+ import { IHistoryData } from './helpers';
2
+
3
+ export declare const andarBaharHistoryData: IHistoryData;
@@ -0,0 +1,3 @@
1
+ import { IHistoryData } from './helpers';
2
+
3
+ export declare const bacaratHistoryData: IHistoryData;
@@ -0,0 +1,3 @@
1
+ import { IHistoryData } from './helpers';
2
+
3
+ export declare const blackjackHistoryData: IHistoryData;
@@ -0,0 +1,3 @@
1
+ import { IHistoryData } from './helpers';
2
+
3
+ export declare const dragonTigerHistoryData: IHistoryData;
@@ -1,8 +1,10 @@
1
1
  type Suit = 'hearts' | 'diamonds' | 'clubs' | 'spades';
2
2
  export interface IHistoryData {
3
- connectionId: string;
4
- token: string;
3
+ connectionId?: string;
4
+ token?: string;
5
5
  playerId: number;
6
+ tableId?: number;
7
+ game?: string;
6
8
  rounds: IRound[];
7
9
  totalCount: number;
8
10
  }
@@ -54,10 +56,13 @@ export interface IRound {
54
56
  winNumber?: number;
55
57
  tableName?: string;
56
58
  fusionNumbers?: any[];
57
- dragonCards?: ICard[] | null;
58
- tigerCards?: ICard[] | null;
59
- dragonCardsValue?: number;
60
- tigerCardsValue?: number;
59
+ game?: string;
60
+ dragonCard?: string;
61
+ tigerCard?: string;
62
+ cards?: {
63
+ dragon?: ICard[] | null;
64
+ tiger?: ICard[] | null;
65
+ } | null;
61
66
  playerACards?: ICard[] | null;
62
67
  playerBCards?: ICard[] | null;
63
68
  andarCards?: ICard[] | null;
@@ -123,6 +128,7 @@ export interface IPlayer {
123
128
  id: number;
124
129
  winAmount: number;
125
130
  nickname?: string;
131
+ nickName?: string;
126
132
  boxes?: IBoxes[];
127
133
  internalBoxes?: IBoxes[];
128
134
  dealerBox?: {
@@ -241,9 +247,10 @@ export declare enum Table {
241
247
  BlackJackAuraC = 66,
242
248
  BlackJackAuraD = 67,
243
249
  BlackjackVipA = 68,
244
- BlackjackVipB = 69
250
+ BlackjackVipB = 69,
251
+ DragonTiger = 77
245
252
  }
246
- export declare const getTableName: (tableId: number) => "Speed BlackJack" | "BlackJack A" | "BlackJack B" | "BlackJack" | "Texas" | "BlackJack AURA A" | "BlackJack AURA B" | "BlackJack AURA C" | "BlackJack AURA D" | "Blackjack VIP A" | "Blackjack VIP B" | undefined;
253
+ export declare const getTableName: (tableId: number) => "Speed BlackJack" | "BlackJack A" | "BlackJack B" | "BlackJack" | "Texas" | "BlackJack AURA A" | "BlackJack AURA B" | "BlackJack AURA C" | "BlackJack AURA D" | "Blackjack VIP A" | "Blackjack VIP B" | "Dragon Tiger" | undefined;
247
254
  export declare enum BET_TYPE {
248
255
  Ante = 0,
249
256
  Bonus = 1,
@@ -413,65 +420,54 @@ export declare enum BET_TYPE_DRAGONTIGER {
413
420
  Dragon = 2,
414
421
  Tie = 9,
415
422
  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
423
+ DragonRed = 30,
424
+ DragonBlack = 31,
425
+ DragonOdd = 32,
426
+ DragonEven = 33,
427
+ DragonSpades = 34,
428
+ DragonHearts = 35,
429
+ DragonClubs = 36,
430
+ DragonDiamonds = 37,
431
+ TigerRed = 40,
432
+ TigerBlack = 41,
433
+ TigerOdd = 42,
434
+ TigerEven = 43,
435
+ TigerSpades = 44,
436
+ TigerHearts = 45,
437
+ TigerClubs = 46,
438
+ TigerDiamonds = 47,
439
+ DragonAce = 50,
440
+ DragonTwo = 51,
441
+ DragonThree = 52,
442
+ DragonFour = 53,
443
+ DragonFive = 54,
444
+ DragonSix = 55,
445
+ DragonSeven = 56,
446
+ DragonEight = 57,
447
+ DragonNine = 58,
448
+ DragonTen = 59,
449
+ DragonJack = 60,
450
+ DragonQueen = 61,
451
+ DragonKing = 62,
452
+ TigerAce = 70,
453
+ TigerTwo = 71,
454
+ TigerThree = 72,
455
+ TigerFour = 73,
456
+ TigerFive = 74,
457
+ TigerSix = 75,
458
+ TigerSeven = 76,
459
+ TigerEight = 77,
460
+ TigerNine = 78,
461
+ TigerTen = 79,
462
+ TigerJack = 80,
463
+ TigerQueen = 81,
464
+ TigerKing = 82
450
465
  }
451
466
  export declare const betsTypeDragonTiger: {
452
467
  1: string;
453
468
  2: string;
454
469
  9: string;
455
470
  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
471
  30: string;
476
472
  31: string;
477
473
  32: string;
@@ -480,13 +476,40 @@ export declare const betsTypeDragonTiger: {
480
476
  35: string;
481
477
  36: string;
482
478
  37: string;
483
- 38: string;
484
- 39: string;
485
479
  40: string;
486
480
  41: string;
487
481
  42: string;
488
482
  43: string;
489
483
  44: string;
484
+ 45: string;
485
+ 46: string;
486
+ 47: string;
487
+ 50: string;
488
+ 51: string;
489
+ 52: string;
490
+ 53: string;
491
+ 54: string;
492
+ 55: string;
493
+ 56: string;
494
+ 57: string;
495
+ 58: string;
496
+ 59: string;
497
+ 60: string;
498
+ 61: string;
499
+ 62: string;
500
+ 70: string;
501
+ 71: string;
502
+ 72: string;
503
+ 73: string;
504
+ 74: string;
505
+ 75: string;
506
+ 76: string;
507
+ 77: string;
508
+ 78: string;
509
+ 79: string;
510
+ 80: string;
511
+ 81: string;
512
+ 82: string;
490
513
  };
491
514
  export declare enum WIN_TYPE_TEENPATTI {
492
515
  PlayerA = 1,
@@ -868,11 +891,6 @@ export declare const betsTypeBaccarat: {
868
891
  14: string;
869
892
  15: string;
870
893
  };
871
- export declare enum WIN_TYPE_POKERTWOPLAYERFAST {
872
- PlayerA = 1,
873
- PlayerB = 2,
874
- Tie = 3
875
- }
876
894
  export declare const handsPokerTwoPlayerFast: Record<number, string>;
877
895
  export declare enum BET_TYPE_POKERTWOPLAYERFAST {
878
896
  PlayerA = 1,
@@ -914,20 +932,6 @@ export declare const betsTypePokerTwoPlayerFast: {
914
932
  17: string;
915
933
  18: string;
916
934
  };
917
- export declare const texasHistoryData: IHistoryData;
918
- export declare const historyData: IHistoryData;
919
- export declare const rouletteHistoryData: IRouletteHistoryData;
920
- export declare const vipHistoryData: IVipHistoryData;
921
- 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
935
  export declare const formatted: (date: string) => string;
932
936
  export declare const seatsPosition: string[];
933
937
  export declare function getSuit(index: number): Suit;
@@ -0,0 +1,3 @@
1
+ import { IHistoryData } from './helpers';
2
+
3
+ export declare const pokerTwoPlayerFastHistoryData: IHistoryData;
@@ -0,0 +1,3 @@
1
+ import { IRouletteHistoryData } from './helpers';
2
+
3
+ export declare const rouletteHistoryData: IRouletteHistoryData;
@@ -0,0 +1,3 @@
1
+ import { IHistoryData } from './helpers';
2
+
3
+ export declare const sevenUpDownHistoryData: IHistoryData;
@@ -0,0 +1,3 @@
1
+ import { IHistoryData } from './helpers';
2
+
3
+ export declare const sevenUpDownJokerHistoryData: IHistoryData;
@@ -0,0 +1,3 @@
1
+ import { IHistoryData } from './helpers';
2
+
3
+ export declare const teenpattiHistoryData: IHistoryData;
@@ -0,0 +1,3 @@
1
+ import { IHistoryData } from './helpers';
2
+
3
+ export declare const teenpattiMuflisHistoryData: IHistoryData;
@@ -0,0 +1,3 @@
1
+ import { IHistoryData } from './helpers';
2
+
3
+ export declare const texasHistoryData: IHistoryData;
@@ -0,0 +1,3 @@
1
+ import { IHistoryData } from './helpers';
2
+
3
+ export declare const thirtyTwoCardsHistoryData: IHistoryData;
@@ -0,0 +1,3 @@
1
+ import { IVipHistoryData } from './helpers';
2
+
3
+ export declare const vipHistoryData: IVipHistoryData;
@@ -1,7 +1,11 @@
1
1
  export interface TextObject {
2
- [key: string]: string | string[];
2
+ [key: string]: string | string[] | (string | ICardsLine)[];
3
3
  }
4
- export type TextValue = string | string[] | TextObject | TextObject[];
4
+ export interface ICardsLine {
5
+ label?: string;
6
+ cards: (number[] | string)[];
7
+ }
8
+ export type TextValue = string | string[] | TextObject | TextObject[] | ICardsLine;
5
9
  interface RenderValueProps {
6
10
  val: TextValue | TextValue[];
7
11
  key?: string | number;
@@ -0,0 +1,3 @@
1
+ import { TextInterface } from './settings';
2
+
3
+ export declare const amarAkbarAnthonyText: TextInterface;
@@ -0,0 +1,3 @@
1
+ import { TextInterface } from './settings';
2
+
3
+ export declare const andarBaharText: TextInterface;
@@ -0,0 +1,3 @@
1
+ import { TextInterface } from './settings';
2
+
3
+ export declare const baccaratText: TextInterface;
@@ -0,0 +1,3 @@
1
+ import { TextInterface } from './settings';
2
+
3
+ export declare const dragonTigerText: TextInterface;
@@ -0,0 +1,3 @@
1
+ import { TextInterface } from './settings';
2
+
3
+ export declare const pokerTwoPlayerFastText: TextInterface;
@@ -0,0 +1,3 @@
1
+ import { TextInterface } from './settings';
2
+
3
+ export declare const sevenUpDownText: TextInterface;
@@ -0,0 +1,3 @@
1
+ import { TextInterface } from './settings';
2
+
3
+ export declare const teenpattiText: TextInterface;
@@ -0,0 +1,3 @@
1
+ import { TextInterface } from './settings';
2
+
3
+ export declare const teenpattiMuflisText: TextInterface;
@@ -0,0 +1,3 @@
1
+ import { TextInterface } from './settings';
2
+
3
+ export declare const thirtyTwoCardsText: TextInterface;