@betorigami/games 3.4.12 → 3.4.14
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/advanced-dice/AdvancedDiceContent/AdvancedDiceContent.d.ts +1 -2
- package/dist/components/advanced-dice/AdvancedDiceContentBottom/AdvancedDiceContentBottom.d.ts +3 -2
- package/dist/components/advanced-dice/AdvancedDiceControls/AdvancedDiceAuto.d.ts +2 -3
- package/dist/components/advanced-dice/AdvancedDiceControls/AdvancedDiceManual.d.ts +2 -2
- package/dist/components/advanced-dice/AdvancedDiceGame.d.ts +3 -0
- package/dist/components/advanced-dice/AdvancedDiceSlider/AdvancedDiceSlider.d.ts +5 -2
- package/dist/components/baccarat/BaccaratBetButton/BaccaratBetButton.d.ts +3 -3
- package/dist/components/baccarat/BaccaratContent/BaccaratContent.d.ts +2 -4
- package/dist/components/baccarat/BaccaratControls/BaccaratAuto.d.ts +2 -3
- package/dist/components/baccarat/BaccaratControls/BaccaratManual.d.ts +2 -2
- package/dist/components/baccarat/BaccaratDisplay/BaccaratDisplay.d.ts +2 -4
- package/dist/components/baccarat/BaccaratGame.d.ts +1 -0
- package/dist/components/blackjack/BlackjackContent/BlackjackContent.d.ts +0 -2
- package/dist/components/blackjack/BlackjackControls/BlackjackManual.d.ts +2 -2
- package/dist/components/blackjack/BlackjackGame.d.ts +5 -1
- package/dist/components/blackjack/BlackjackSideBetOnboarding/BlackjackSideBetOnboarding.d.ts +1 -1
- package/dist/components/blackjack/blackjack.helpers.d.ts +1 -1
- package/dist/components/blackjack/blackjack.mock.api.d.ts +3 -1
- package/dist/components/blackjack/controllers/CardAnimationController.d.ts +1 -3
- package/dist/components/blitz/BlitzControls/BlitzAuto.d.ts +2 -5
- package/dist/components/blitz/BlitzControls/BlitzManual.d.ts +2 -4
- package/dist/components/blitz/BlitzControls/BlitzPicksInput.d.ts +3 -3
- package/dist/components/blitz/BlitzGame.d.ts +2 -0
- package/dist/components/blitz/blitz.utils.d.ts +2 -2
- package/dist/components/diamonds/DiamondsContent/DiamondSlot.d.ts +1 -2
- package/dist/components/diamonds/DiamondsContent/DiamondsContent.d.ts +5 -4
- package/dist/components/diamonds/DiamondsContent/DiamondsProfitTooltip.d.ts +4 -6
- package/dist/components/diamonds/DiamondsControls/DiamondsAuto.d.ts +0 -1
- package/dist/components/diamonds/DiamondsControls/DiamondsManual.d.ts +2 -2
- package/dist/components/diamonds/DiamondsGame.d.ts +2 -0
- package/dist/components/dice/DiceContent/DiceContent.d.ts +3 -7
- package/dist/components/dice/DiceContentBottom/DiceContentBottom.d.ts +4 -4
- package/dist/components/dice/DiceControls/DiceAuto.d.ts +0 -2
- package/dist/components/dice/DiceControls/DiceManual.d.ts +2 -3
- package/dist/components/dice/DiceGame.d.ts +4 -0
- package/dist/components/dice/DiceSlider/DiceSlider.d.ts +4 -4
- package/dist/components/keno/KenoContent/KenoContent.d.ts +1 -3
- package/dist/components/keno/KenoContentBottom/KenoContentBottom.d.ts +6 -4
- package/dist/components/keno/KenoControls/KenoAuto.d.ts +2 -3
- package/dist/components/keno/KenoControls/KenoManual.d.ts +2 -2
- package/dist/components/keno/KenoGame.d.ts +2 -0
- package/dist/components/keno/KenoGrid/KenoGrid.d.ts +2 -3
- package/dist/components/keno/KenoTile/KenoTile.d.ts +4 -2
- package/dist/components/limbo/LimboContent/LimboContent.d.ts +3 -7
- package/dist/components/limbo/LimboContentBottom/LimboContentBottom.d.ts +3 -3
- package/dist/components/limbo/LimboControls/LimboAuto.d.ts +0 -1
- package/dist/components/limbo/LimboControls/LimboManual.d.ts +2 -3
- package/dist/components/limbo/LimboGame.d.ts +3 -1
- package/dist/components/limbo/Multiplier/LimboMultiplier.d.ts +3 -3
- package/dist/components/mines/MinesControls/MinesAuto.d.ts +2 -3
- package/dist/components/mines/MinesControls/MinesManual.d.ts +2 -3
- package/dist/components/mines/MinesGame.d.ts +6 -1
- package/dist/components/mines/MinesGrid/MinesGrid.d.ts +4 -10
- package/dist/components/mines/MinesTile/MinesTile.d.ts +4 -8
- package/dist/components/mines/controllers/PendingRevealsController.d.ts +14 -0
- package/dist/components/plinko/PlinkoContent/PlinkoContent.d.ts +4 -5
- package/dist/components/plinko/PlinkoControls/PlinkoAuto.d.ts +0 -1
- package/dist/components/plinko/PlinkoControls/PlinkoManual.d.ts +2 -2
- package/dist/components/plinko/PlinkoGame.d.ts +3 -0
- package/dist/components/plinko/PlinkoRowsSelect/PlinkoRiskSelect.d.ts +2 -2
- package/dist/components/plinko/PlinkoRowsSelect/PlinkoRowsSelect.d.ts +2 -2
- package/dist/components/plinko/PlinkoRowsSlider/PlinkoRowsSlider.d.ts +3 -2
- package/dist/components/roulette/RouletteAnimator/RouletteAnimator.d.ts +3 -2
- package/dist/components/roulette/RouletteContent/RouletteContent.d.ts +5 -4
- package/dist/components/roulette/RouletteControls/RouletteAuto.d.ts +2 -4
- package/dist/components/roulette/RouletteControls/RouletteManual.d.ts +2 -2
- package/dist/components/roulette/RouletteGame.d.ts +1 -1
- package/dist/components/roulette/RouletteTop/RouletteTop.d.ts +3 -3
- package/dist/index.mjs +13725 -13942
- package/dist/legacy/LegacyGameOutcomeDisplay.d.ts +4 -4
- package/package.json +4 -4
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { KenoRiskLevel, OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
export declare class KenoManual extends OrigamiElement {
|
|
3
|
+
private readonly locale;
|
|
3
4
|
inputsDisabled: boolean;
|
|
4
5
|
risk: KenoRiskLevel;
|
|
5
6
|
isPlaying: boolean;
|
|
6
7
|
disableBet: boolean;
|
|
7
8
|
selectedTilesCount: number;
|
|
8
9
|
betMaxMultiplier: number;
|
|
9
|
-
gameData?: gameContextType;
|
|
10
10
|
private isBetAmountValid;
|
|
11
11
|
private _betAboveBalance;
|
|
12
12
|
static styles: import('lit').CSSResult[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
export declare class KenoGrid extends OrigamiElement {
|
|
3
|
+
private readonly locale;
|
|
3
4
|
static styles: import('lit').CSSResult[];
|
|
4
5
|
selectedTiles: number[];
|
|
5
6
|
resultTiles: number[];
|
|
@@ -8,8 +9,6 @@ export declare class KenoGrid extends OrigamiElement {
|
|
|
8
9
|
gameOver: boolean;
|
|
9
10
|
enableSounds: boolean;
|
|
10
11
|
ariaLabel: string;
|
|
11
|
-
gameData?: gameContextType;
|
|
12
|
-
isDesktop: boolean;
|
|
13
12
|
get selectedCount(): number;
|
|
14
13
|
get hitCount(): number;
|
|
15
14
|
private calculateTileState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
export declare enum KenoTileState {
|
|
3
3
|
NORMAL = "NORMAL",
|
|
4
4
|
SELECTED = "SELECTED",
|
|
@@ -6,12 +6,14 @@ export declare enum KenoTileState {
|
|
|
6
6
|
WIN = "WIN"
|
|
7
7
|
}
|
|
8
8
|
export declare class KenoTile extends OrigamiElement {
|
|
9
|
+
private readonly locale;
|
|
10
|
+
private readonly services;
|
|
11
|
+
private readonly skin;
|
|
9
12
|
static styles: import('lit').CSSResult[];
|
|
10
13
|
number: number;
|
|
11
14
|
state: KenoTileState;
|
|
12
15
|
disabled: boolean;
|
|
13
16
|
ariaLabel: string;
|
|
14
|
-
gameData?: gameContextType;
|
|
15
17
|
private handlePointerDown;
|
|
16
18
|
private handleClick;
|
|
17
19
|
render(): import('lit').TemplateResult<1>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
import { LimboHistory } from '../LimboGame';
|
|
3
3
|
export declare class LimboContent extends OrigamiElement {
|
|
4
|
+
private readonly skin;
|
|
5
|
+
private readonly layout;
|
|
4
6
|
static styles: import('lit').CSSResult[];
|
|
5
7
|
targetMultiplier: number;
|
|
6
8
|
betTargetMultiplier: number;
|
|
@@ -8,13 +10,7 @@ export declare class LimboContent extends OrigamiElement {
|
|
|
8
10
|
resultMultiplier: number | null;
|
|
9
11
|
betId: string;
|
|
10
12
|
isPlaying: boolean;
|
|
11
|
-
isDesktop: boolean;
|
|
12
13
|
disableSound: boolean;
|
|
13
|
-
language: import('@betorigami/game-ui-shared').Language;
|
|
14
|
-
edge: 3 | 4 | 2 | 8 | 1;
|
|
15
|
-
customLimboBackgroundSvgUrl: string;
|
|
16
|
-
instantBetEnabled: boolean;
|
|
17
|
-
soundEffects?: SoundEffectsController;
|
|
18
14
|
private get _multiplierBgStyle();
|
|
19
15
|
render(): import('lit').TemplateResult<1>;
|
|
20
16
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
export declare class LimboContentBottom extends OrigamiElement {
|
|
3
|
+
private readonly locale;
|
|
4
|
+
private readonly limits;
|
|
3
5
|
static styles: import('lit').CSSResult[];
|
|
4
6
|
targetMultiplier: number;
|
|
5
7
|
disabled: boolean;
|
|
6
|
-
language: Language;
|
|
7
|
-
edge: 3 | 4 | 2 | 8 | 1;
|
|
8
8
|
winChanceInputFocused: boolean;
|
|
9
9
|
multiplierInputFocused: boolean;
|
|
10
10
|
private _winChanceInputValue;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
export declare class LimboManual extends OrigamiElement {
|
|
3
|
+
private readonly locale;
|
|
3
4
|
inputsDisabled: boolean;
|
|
4
5
|
isPlaying: boolean;
|
|
5
6
|
profitOnWin: string;
|
|
6
7
|
betDisabled: boolean;
|
|
7
8
|
betMaxMultiplier: number;
|
|
8
|
-
language: Language;
|
|
9
|
-
currency: Currency;
|
|
10
9
|
private isBetAmountValid;
|
|
11
10
|
private _betAboveBalance;
|
|
12
11
|
private actionButtonEl?;
|
|
@@ -5,6 +5,8 @@ export interface LimboHistory {
|
|
|
5
5
|
id: string;
|
|
6
6
|
}
|
|
7
7
|
export declare class LimboGame extends GameComponent {
|
|
8
|
+
private readonly limits;
|
|
9
|
+
private readonly layout;
|
|
8
10
|
static styles: import('lit').CSSResult[];
|
|
9
11
|
private targetMultiplier;
|
|
10
12
|
private resultMultiplier;
|
|
@@ -29,7 +31,7 @@ export declare class LimboGame extends GameComponent {
|
|
|
29
31
|
private handleSpacebar;
|
|
30
32
|
protected executeAutobet(autobetSettings: AutobetSettingsWithId, currentBetAmount: string): Promise<GameBetResult>;
|
|
31
33
|
multiplierChange: (e: LimboMultiplierChangeEvent) => void;
|
|
32
|
-
|
|
34
|
+
private get profitOnWin();
|
|
33
35
|
addToHistory(multiplier: number, won: boolean, id: string): void;
|
|
34
36
|
multiplierAnimationEnd: (e: LimboMultiplierAnimationEndEvent) => void;
|
|
35
37
|
render(): import('lit').TemplateResult<1>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
export declare class LimboMultiplier extends OrigamiElement {
|
|
3
|
+
private readonly services;
|
|
4
|
+
private readonly preferences;
|
|
3
5
|
static styles: import('lit').CSSResult[];
|
|
4
6
|
resultMultiplier: number | null;
|
|
5
7
|
betId: string;
|
|
@@ -8,8 +10,6 @@ export declare class LimboMultiplier extends OrigamiElement {
|
|
|
8
10
|
disableSound: boolean;
|
|
9
11
|
inGameDisplay: boolean;
|
|
10
12
|
ignoreInstantBet: boolean;
|
|
11
|
-
instantBetEnabled: boolean;
|
|
12
|
-
soundEffects?: SoundEffectsController;
|
|
13
13
|
private currentValue;
|
|
14
14
|
private isAnimating;
|
|
15
15
|
private queuedMultiplier;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
export declare class MinesAuto extends OrigamiElement {
|
|
3
|
+
private readonly locale;
|
|
3
4
|
inputsDisabled: boolean;
|
|
4
5
|
autobetStopping: boolean;
|
|
5
6
|
readonly autobetInProgress = false;
|
|
6
7
|
minesCount: number;
|
|
7
8
|
betDisabled: boolean;
|
|
8
|
-
isDesktop: boolean;
|
|
9
9
|
betMaxMultiplier: number;
|
|
10
|
-
language: Language;
|
|
11
10
|
private genericAutobetEl?;
|
|
12
11
|
static styles: import('lit').CSSResult[];
|
|
13
12
|
private handleMinesCountChange;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
import { MinesState } from '../mines.constants';
|
|
3
3
|
export declare class MinesManual extends OrigamiElement {
|
|
4
|
+
private readonly locale;
|
|
4
5
|
inputsDisabled: boolean;
|
|
5
6
|
minesState: MinesState | null;
|
|
6
7
|
isGameActive: boolean;
|
|
@@ -8,8 +9,6 @@ export declare class MinesManual extends OrigamiElement {
|
|
|
8
9
|
minesCount: number;
|
|
9
10
|
isSelectingRandomTile: boolean;
|
|
10
11
|
isTileLoading: boolean;
|
|
11
|
-
language: Language;
|
|
12
|
-
currency: Currency;
|
|
13
12
|
profitOnWin: string;
|
|
14
13
|
nextProfitOnWin: string;
|
|
15
14
|
nextMultiplier: string;
|
|
@@ -2,13 +2,15 @@ import { AutobetToggleEvent, AutobetSettingsWithId, GameComponent, GameBetResult
|
|
|
2
2
|
import { IMinesApi } from './mines.api';
|
|
3
3
|
import { MinesState } from './mines.constants';
|
|
4
4
|
export declare class MinesGame extends GameComponent {
|
|
5
|
+
private readonly limits;
|
|
6
|
+
private readonly layout;
|
|
5
7
|
private minesCount;
|
|
6
8
|
private autobetSelectedTiles;
|
|
7
9
|
private minesData;
|
|
8
10
|
private isLoading;
|
|
9
11
|
private isSelectingRandomTile;
|
|
10
12
|
private isCheckingForSession;
|
|
11
|
-
private
|
|
13
|
+
private readonly reveals;
|
|
12
14
|
static styles: import('lit').CSSResult[];
|
|
13
15
|
private _minesManualEl?;
|
|
14
16
|
private _minesAutoEl?;
|
|
@@ -35,6 +37,9 @@ export declare class MinesGame extends GameComponent {
|
|
|
35
37
|
minesManualStart(): Promise<void>;
|
|
36
38
|
minesChooseRandomTile(): Promise<void>;
|
|
37
39
|
minesNext(selectedTile: number): Promise<void>;
|
|
40
|
+
private isRoundOpen;
|
|
41
|
+
private canReveal;
|
|
42
|
+
private applyReveal;
|
|
38
43
|
minesCashout(): Promise<void>;
|
|
39
44
|
onManualOrAutoChange(): void;
|
|
40
45
|
onMinesCountChange(): void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
import { MinesState } from '../mines.constants';
|
|
3
3
|
export declare class MinesGrid extends OrigamiElement {
|
|
4
|
+
private readonly skin;
|
|
4
5
|
static styles: import('lit').CSSResult[];
|
|
5
6
|
isAuto: boolean;
|
|
6
7
|
autobetSelectedTiles: number[];
|
|
@@ -8,15 +9,8 @@ export declare class MinesGrid extends OrigamiElement {
|
|
|
8
9
|
minesState: Partial<MinesState> | null;
|
|
9
10
|
hasWon: boolean;
|
|
10
11
|
hitBomb: boolean;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
language: Language;
|
|
14
|
-
soundEffects?: SoundEffectsController;
|
|
15
|
-
haptics?: HapticsController;
|
|
16
|
-
tileSvgUrl: string | null;
|
|
17
|
-
autobetSelectedTileSvgUrl: string | null;
|
|
18
|
-
gemSvgUrl: string | null;
|
|
19
|
-
bombSvgUrl: string | null;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
loadingTiles: readonly number[];
|
|
20
14
|
private _getTileInfo;
|
|
21
15
|
private calculateTileState;
|
|
22
16
|
render(): import('lit').TemplateResult<1>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
import { PropertyValues } from 'lit';
|
|
3
3
|
export declare enum MinesTileState {
|
|
4
4
|
NORMAL = "NORMAL",
|
|
@@ -11,6 +11,9 @@ export declare enum MinesTileState {
|
|
|
11
11
|
AUTOBET_SELECTED_BOMB = "AUTOBET_SELECTED_BOMB"
|
|
12
12
|
}
|
|
13
13
|
export declare class MinesTile extends OrigamiElement {
|
|
14
|
+
private readonly locale;
|
|
15
|
+
private readonly services;
|
|
16
|
+
private readonly skin;
|
|
14
17
|
static styles: import('lit').CSSResult[];
|
|
15
18
|
tileId: number;
|
|
16
19
|
delayReveal: boolean;
|
|
@@ -19,13 +22,6 @@ export declare class MinesTile extends OrigamiElement {
|
|
|
19
22
|
ariaLabel: string;
|
|
20
23
|
isLoading: boolean;
|
|
21
24
|
disabled: boolean;
|
|
22
|
-
language: import('@betorigami/game-ui-shared').Language;
|
|
23
|
-
soundEffects?: SoundEffectsController;
|
|
24
|
-
haptics?: HapticsController;
|
|
25
|
-
tileSvgUrl: string | null;
|
|
26
|
-
autobetSelectedTileSvgUrl: string | null;
|
|
27
|
-
gemSvgUrl: string | null;
|
|
28
|
-
bombSvgUrl: string | null;
|
|
29
25
|
private bombGifVersion;
|
|
30
26
|
private bombGifActive;
|
|
31
27
|
private bombGifTimeout;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactiveController, ReactiveControllerHost } from 'lit';
|
|
2
|
+
export declare class PendingRevealsController implements ReactiveController {
|
|
3
|
+
private readonly host;
|
|
4
|
+
private pending;
|
|
5
|
+
private tiles;
|
|
6
|
+
constructor(host: ReactiveControllerHost);
|
|
7
|
+
hostConnected(): void;
|
|
8
|
+
get pendingTiles(): readonly number[];
|
|
9
|
+
get hasPending(): boolean;
|
|
10
|
+
isPending(tile: number): boolean;
|
|
11
|
+
track<T>(tile: number, request: Promise<T>, apply: (result: T) => void): Promise<T>;
|
|
12
|
+
allApplied(): Promise<void>;
|
|
13
|
+
private setPending;
|
|
14
|
+
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SupportedEdgePercentages, OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
import { PlinkoRiskLevel, PlinkoRowCount } from '../plinko.constants';
|
|
3
3
|
export declare class PlinkoContent extends OrigamiElement {
|
|
4
|
+
private readonly limits;
|
|
5
|
+
private readonly skin;
|
|
6
|
+
private readonly layout;
|
|
4
7
|
static styles: import('lit').CSSResult[];
|
|
5
|
-
isDesktop: boolean;
|
|
6
8
|
isPlaying: boolean;
|
|
7
9
|
history: Array<{
|
|
8
10
|
multiplier: number;
|
|
@@ -12,9 +14,6 @@ export declare class PlinkoContent extends OrigamiElement {
|
|
|
12
14
|
}>;
|
|
13
15
|
rowCount: PlinkoRowCount;
|
|
14
16
|
riskLevel: PlinkoRiskLevel;
|
|
15
|
-
edge: SupportedEdgePercentages;
|
|
16
|
-
customPlinkoEdgeColor: string | null;
|
|
17
|
-
customPlinkoCenterColor: string | null;
|
|
18
17
|
private ballsInFlight;
|
|
19
18
|
private containerWidth;
|
|
20
19
|
private canvasWrapRef;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
import { PlinkoRiskLevel, PlinkoRowCount } from '../plinko.constants';
|
|
3
3
|
export declare class PlinkoManual extends OrigamiElement {
|
|
4
|
+
private readonly locale;
|
|
4
5
|
isPlaying: boolean;
|
|
5
6
|
betDisabled: boolean;
|
|
6
7
|
inputsDisabled: boolean;
|
|
7
8
|
rowCount: PlinkoRowCount;
|
|
8
9
|
riskLevel: PlinkoRiskLevel;
|
|
9
10
|
betMaxMultiplier: number;
|
|
10
|
-
gameData: gameContextType;
|
|
11
11
|
private isBetAmountValid;
|
|
12
12
|
private _betAboveBalance;
|
|
13
13
|
static styles: import('lit').CSSResult[];
|
|
@@ -9,6 +9,9 @@ export interface PlinkoHistory {
|
|
|
9
9
|
color?: string;
|
|
10
10
|
}
|
|
11
11
|
export declare class PlinkoGame extends GameComponent {
|
|
12
|
+
private readonly limits;
|
|
13
|
+
private readonly skin;
|
|
14
|
+
private readonly layout;
|
|
12
15
|
static styles: import('lit').CSSResult[];
|
|
13
16
|
private history;
|
|
14
17
|
private riskLevel;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
import { PlinkoRiskLevel } from '../plinko.constants';
|
|
3
3
|
export declare class PlinkoRiskSelect extends OrigamiElement {
|
|
4
|
+
private readonly locale;
|
|
4
5
|
static styles: import('lit').CSSResult[];
|
|
5
6
|
value: PlinkoRiskLevel;
|
|
6
7
|
disabled: boolean;
|
|
7
|
-
gameData?: gameContextType;
|
|
8
8
|
render(): import('lit').TemplateResult<1>;
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
import { PlinkoRowCount } from '../plinko.constants';
|
|
3
3
|
export declare class PlinkoRowsSelect extends OrigamiElement {
|
|
4
|
+
private readonly locale;
|
|
4
5
|
static styles: import('lit').CSSResult[];
|
|
5
6
|
value: PlinkoRowCount;
|
|
6
7
|
disabled: boolean;
|
|
7
|
-
gameData?: gameContextType;
|
|
8
8
|
render(): import('lit').TemplateResult<1>;
|
|
9
9
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
import { PlinkoRowCount } from '../plinko.constants';
|
|
3
3
|
export declare class PlinkoRowsSlider extends OrigamiElement {
|
|
4
|
+
private readonly locale;
|
|
5
|
+
private readonly services;
|
|
4
6
|
static styles: import('lit').CSSResult[];
|
|
5
7
|
value: PlinkoRowCount;
|
|
6
8
|
disabled: boolean;
|
|
7
9
|
private _displayValue;
|
|
8
|
-
gameData?: gameContextType;
|
|
9
10
|
protected updated(changedProperties: Map<PropertyKey, unknown>): void;
|
|
10
11
|
render(): import('lit').TemplateResult<1>;
|
|
11
12
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
import { RouletteType } from '../roulette.constants';
|
|
3
3
|
export declare class RouletteAnimator extends OrigamiElement {
|
|
4
|
+
private readonly services;
|
|
5
|
+
private readonly layout;
|
|
4
6
|
static styles: import('lit').CSSResult[];
|
|
5
7
|
isPlaying: boolean;
|
|
6
8
|
hitNumber: number | null;
|
|
@@ -8,7 +10,6 @@ export declare class RouletteAnimator extends OrigamiElement {
|
|
|
8
10
|
staticDisplay: boolean;
|
|
9
11
|
instantBetEnabled: boolean;
|
|
10
12
|
isPrimary: boolean;
|
|
11
|
-
gameData?: gameContextType;
|
|
12
13
|
private _ballAngle;
|
|
13
14
|
private _ballDistanceFromCenter;
|
|
14
15
|
private _animationPhase;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
import { PropertyValues } from 'lit';
|
|
3
3
|
import { RouletteType, RouletteHistoryEntry } from '../roulette.constants';
|
|
4
4
|
import { default as Big } from 'big.js';
|
|
5
5
|
export declare class RouletteContent extends OrigamiElement {
|
|
6
|
+
private readonly locale;
|
|
7
|
+
private readonly preferences;
|
|
8
|
+
private readonly layout;
|
|
6
9
|
static styles: import('lit').CSSResult[];
|
|
7
|
-
isDesktop: boolean;
|
|
8
10
|
isPlaying: boolean;
|
|
9
11
|
history: RouletteHistoryEntry[];
|
|
10
12
|
hitNumber: number | null;
|
|
@@ -15,14 +17,13 @@ export declare class RouletteContent extends OrigamiElement {
|
|
|
15
17
|
canUndo: boolean;
|
|
16
18
|
canClear: boolean;
|
|
17
19
|
rouletteType: RouletteType;
|
|
18
|
-
instantBetEnabled: boolean;
|
|
19
20
|
showWinPopup: boolean;
|
|
20
21
|
payout: Big | null;
|
|
21
22
|
multiplier: number;
|
|
22
23
|
betId?: string;
|
|
23
24
|
get pastResults(): RouletteHistoryEntry[];
|
|
24
|
-
gameData?: gameContextType;
|
|
25
25
|
private _resizeObserver?;
|
|
26
|
+
private renderedAsDesktop?;
|
|
26
27
|
protected firstUpdated(): void;
|
|
27
28
|
protected updated(changedProps: PropertyValues): void;
|
|
28
29
|
disconnectedCallback(): void;
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
export declare class RouletteAuto extends OrigamiElement {
|
|
3
|
+
private readonly locale;
|
|
3
4
|
static styles: import('lit').CSSResult[];
|
|
4
5
|
inputsDisabled: boolean;
|
|
5
6
|
autobetStopping: boolean;
|
|
6
7
|
readonly autobetInProgress = false;
|
|
7
|
-
profitOnWin: string;
|
|
8
8
|
betDisabled: boolean;
|
|
9
|
-
isDesktop: boolean;
|
|
10
9
|
perClickAmount: string;
|
|
11
10
|
totalBetAmount: string;
|
|
12
11
|
maxPerClickAmount?: string;
|
|
13
12
|
noChips: boolean;
|
|
14
|
-
gameData?: gameContextType;
|
|
15
13
|
private isBetAmountValid;
|
|
16
14
|
private handlePerClickAmountChange;
|
|
17
15
|
render(): import('lit').TemplateResult<1>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
export declare class RouletteManual extends OrigamiElement {
|
|
3
|
+
private readonly locale;
|
|
3
4
|
isPlaying: boolean;
|
|
4
5
|
betDisabled: boolean;
|
|
5
6
|
inputsDisabled: boolean;
|
|
@@ -7,7 +8,6 @@ export declare class RouletteManual extends OrigamiElement {
|
|
|
7
8
|
perClickAmount: string;
|
|
8
9
|
totalBetAmount: string;
|
|
9
10
|
maxPerClickAmount?: string;
|
|
10
|
-
gameData: gameContextType;
|
|
11
11
|
private isBetAmountValid;
|
|
12
12
|
private _betAboveBalance;
|
|
13
13
|
static styles: import('lit').CSSResult[];
|
|
@@ -3,6 +3,7 @@ import { RouletteApi } from './roulette.api';
|
|
|
3
3
|
import { MockRouletteApi } from './roulette.mock.api';
|
|
4
4
|
import { RouletteType } from './roulette.constants';
|
|
5
5
|
export declare class RouletteGame extends ChipTableGameComponent {
|
|
6
|
+
private readonly layout;
|
|
6
7
|
static styles: import('lit').CSSResult[];
|
|
7
8
|
private isManualPlaying;
|
|
8
9
|
private betResult;
|
|
@@ -21,7 +22,6 @@ export declare class RouletteGame extends ChipTableGameComponent {
|
|
|
21
22
|
get rouletteApi(): RouletteApi | MockRouletteApi;
|
|
22
23
|
get isToggleDisabled(): boolean;
|
|
23
24
|
get areInputsDisabled(): boolean;
|
|
24
|
-
get maxPossiblePayout(): number;
|
|
25
25
|
protected isMaxPayoutExceeded(chipEvents: ChipEvent[]): boolean;
|
|
26
26
|
private handleGridClick;
|
|
27
27
|
private addToHistory;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { OrigamiElement
|
|
1
|
+
import { OrigamiElement } from '@betorigami/game-ui-shared';
|
|
2
2
|
import { RouletteType } from '@betorigami/game-calculations';
|
|
3
3
|
import { RouletteHistoryEntry } from '../roulette.constants';
|
|
4
4
|
export declare class RouletteTop extends OrigamiElement {
|
|
5
|
+
private readonly locale;
|
|
6
|
+
private readonly preferences;
|
|
5
7
|
static styles: import('lit').CSSResult[];
|
|
6
8
|
rouletteType: RouletteType;
|
|
7
9
|
hitNumber: number | null;
|
|
8
10
|
canUndo: boolean;
|
|
9
11
|
isPlaying: boolean;
|
|
10
12
|
displayedHitNumber: number | null;
|
|
11
|
-
instantBetEnabled: boolean;
|
|
12
13
|
canClear: boolean;
|
|
13
14
|
history: RouletteHistoryEntry[];
|
|
14
15
|
get pastResults(): RouletteHistoryEntry[];
|
|
15
|
-
gameData?: gameContextType;
|
|
16
16
|
render(): import('lit').TemplateResult<1>;
|
|
17
17
|
}
|