livevegas-ui-kit 1.0.234 → 1.0.236
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/components/History/helpers.d.ts +16 -22
- package/dist/livevegas-ui-kit.es.js +4272 -4473
- package/dist/livevegas-ui-kit.umd.js +237 -237
- package/dist/services/i18n/translations/es.json.d.ts +2 -2
- package/dist/services/i18n/translations/hy.json.d.ts +2 -2
- package/dist/services/i18n/translations/ka.json.d.ts +2 -2
- package/dist/services/i18n/translations/ru.json.d.ts +2 -2
- package/dist/services/i18n/translations/tr.json.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
type Suit = 'hearts' | 'diamonds' | 'clubs' | 'spades';
|
|
2
|
-
interface CardData {
|
|
3
|
-
scannerIndex: number;
|
|
4
|
-
}
|
|
5
2
|
export interface IHistoryData {
|
|
6
3
|
connectionId: string;
|
|
7
4
|
token: string;
|
|
@@ -67,6 +64,7 @@ export interface IDealerHand {
|
|
|
67
64
|
export interface ICard {
|
|
68
65
|
scannerIndex: number;
|
|
69
66
|
isNotInWinCombination?: boolean | null;
|
|
67
|
+
isInWinCombination?: boolean;
|
|
70
68
|
isFlopped?: boolean | null;
|
|
71
69
|
isCardHidden?: boolean | null;
|
|
72
70
|
}
|
|
@@ -122,6 +120,20 @@ export interface IPlayer {
|
|
|
122
120
|
winType?: number | null;
|
|
123
121
|
winOnBonus?: number | null;
|
|
124
122
|
}
|
|
123
|
+
export interface IWins {
|
|
124
|
+
betReferenceId?: number;
|
|
125
|
+
betAmount?: number;
|
|
126
|
+
winAmount?: number;
|
|
127
|
+
anteWinAmount?: number;
|
|
128
|
+
bonusWinAmount?: number;
|
|
129
|
+
callWinAmount?: number;
|
|
130
|
+
playerId?: number;
|
|
131
|
+
connectionId?: string;
|
|
132
|
+
details?: unknown;
|
|
133
|
+
coeficient?: number;
|
|
134
|
+
boxIndex?: number;
|
|
135
|
+
winType?: number;
|
|
136
|
+
}
|
|
125
137
|
export interface IBoxes {
|
|
126
138
|
bets: IBets[];
|
|
127
139
|
gameCurrencyId?: null;
|
|
@@ -138,7 +150,7 @@ export interface IBoxes {
|
|
|
138
150
|
rebuy?: IRebuy;
|
|
139
151
|
minInsuranceAmount?: number;
|
|
140
152
|
maxInsuranceAmount?: number;
|
|
141
|
-
wins?:
|
|
153
|
+
wins?: IWins[];
|
|
142
154
|
continusWin?: number | null;
|
|
143
155
|
winType?: unknown;
|
|
144
156
|
initialDealerCards?: ICard[] | null;
|
|
@@ -201,7 +213,6 @@ export declare enum Table {
|
|
|
201
213
|
Texas = 10
|
|
202
214
|
}
|
|
203
215
|
export declare const getTableName: (tableId: number) => "Speed BlackJack" | "BlackJack 1" | "BlackJack 2" | "BlackJack" | "Texas" | undefined;
|
|
204
|
-
export type PokerCombination = 'royal-flush' | 'straight-flush' | 'four-of-a-kind' | 'full-house' | 'flush' | 'straight' | 'three-of-a-kind' | 'two-pair' | 'one-pair' | 'high-card';
|
|
205
216
|
export declare enum BET_TYPE {
|
|
206
217
|
Ante = 0,
|
|
207
218
|
Bonus = 1,
|
|
@@ -360,19 +371,6 @@ export declare const betsTypeVip: {
|
|
|
360
371
|
24: string;
|
|
361
372
|
23: string;
|
|
362
373
|
};
|
|
363
|
-
export type PokerCombinationName = 'Royal Flush' | 'Straight Flush' | 'Four of a Kind' | 'Full House' | 'Flush' | 'Straight' | 'Three of a Kind' | 'Two Pairs' | 'One Pair' | 'Ace King' | 'High Card';
|
|
364
|
-
export interface PokerCombinationResult {
|
|
365
|
-
name: PokerCombinationName;
|
|
366
|
-
cards: number[];
|
|
367
|
-
}
|
|
368
|
-
export interface AllCombinationsResult {
|
|
369
|
-
cards: number[];
|
|
370
|
-
names: PokerCombinationName[];
|
|
371
|
-
}
|
|
372
|
-
export interface CombinationAnalyzeResult {
|
|
373
|
-
names: PokerCombinationName[];
|
|
374
|
-
cards: number[];
|
|
375
|
-
}
|
|
376
374
|
export declare const texasHistoryData: IHistoryData;
|
|
377
375
|
export declare const historyData: IHistoryData;
|
|
378
376
|
export declare const rouletteHistoryData: IRouletteHistoryData;
|
|
@@ -380,8 +378,4 @@ export declare const vipHistoryData: IVipHistoryData;
|
|
|
380
378
|
export declare const formatted: (date: string) => string;
|
|
381
379
|
export declare const seatsPosition: string[];
|
|
382
380
|
export declare function getSuit(index: number): Suit;
|
|
383
|
-
export declare function findCardsWinCombination(cardsData: CardData[]): number[];
|
|
384
|
-
export declare function findAllCardsInCombinations(cardsData: CardData[]): number[];
|
|
385
|
-
export declare function findCardsAndNameOfWinCombination(cardsData: CardData[]): CombinationAnalyzeResult;
|
|
386
|
-
export declare function findAllCardsAndNamesOfCombinations(cardsData: CardData[]): CombinationAnalyzeResult;
|
|
387
381
|
export {};
|