@betorigami/games 2.10.1 → 2.10.2
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 +24 -0
- package/dist/components/advanced-dice/AdvancedDiceContent/AdvancedDiceContent.styles.d.ts +1 -0
- package/dist/components/advanced-dice/AdvancedDiceContentBottom/AdvancedDiceContentBottom.d.ts +55 -0
- package/dist/components/advanced-dice/AdvancedDiceContentBottom/AdvancedDiceContentBottom.styles.d.ts +1 -0
- package/dist/components/advanced-dice/AdvancedDiceControls/AdvancedDiceAuto.d.ts +15 -0
- package/dist/components/advanced-dice/AdvancedDiceControls/AdvancedDiceControls.styles.d.ts +1 -0
- package/dist/components/advanced-dice/AdvancedDiceControls/AdvancedDiceManual.d.ts +16 -0
- package/dist/components/advanced-dice/AdvancedDiceGame.d.ts +41 -0
- package/dist/components/advanced-dice/AdvancedDiceGame.styles.d.ts +1 -0
- package/dist/components/advanced-dice/AdvancedDiceSlider/AdvancedDiceSlider.d.ts +30 -0
- package/dist/components/advanced-dice/AdvancedDiceSlider/AdvancedDiceSlider.styles.d.ts +1 -0
- package/dist/components/advanced-dice/advanced-dice.api.d.ts +14 -0
- package/dist/components/advanced-dice/advanced-dice.constants.d.ts +59 -0
- package/dist/components/advanced-dice/advanced-dice.mock.api.d.ts +13 -0
- package/dist/components/advanced-dice/advanced-dice.types.d.ts +84 -0
- package/dist/components/advanced-dice/advanced-dice.utils.d.ts +18 -0
- package/dist/components/advanced-dice/strategies/base-roll-type.strategy.d.ts +30 -0
- package/dist/components/advanced-dice/strategies/index.d.ts +4 -0
- package/dist/components/advanced-dice/strategies/roll-between-two.strategy.d.ts +20 -0
- package/dist/components/advanced-dice/strategies/roll-between.strategy.d.ts +12 -0
- package/dist/components/advanced-dice/strategies/roll-outside.strategy.d.ts +19 -0
- package/dist/components/advanced-dice/strategies/roll-type-strategy.factory.d.ts +3 -0
- package/dist/components/baccarat/BaccaratBetButton/BaccaratBetButton.d.ts +11 -0
- package/dist/components/baccarat/BaccaratBetButton/BaccaratBetButton.styles.d.ts +1 -0
- package/dist/components/baccarat/BaccaratContent/BaccaratContent.d.ts +39 -0
- package/dist/components/baccarat/BaccaratContent/BaccaratContent.styles.d.ts +1 -0
- package/dist/components/baccarat/BaccaratControls/BaccaratAuto.d.ts +18 -0
- package/dist/components/baccarat/BaccaratControls/BaccaratControls.styles.d.ts +1 -0
- package/dist/components/baccarat/BaccaratControls/BaccaratManual.d.ts +19 -0
- package/dist/components/baccarat/BaccaratDisplay/BaccaratDisplay.d.ts +22 -0
- package/dist/components/baccarat/BaccaratDisplay/BaccaratDisplay.styles.d.ts +1 -0
- package/dist/components/baccarat/BaccaratGame.d.ts +40 -0
- package/dist/components/baccarat/BaccaratGame.styles.d.ts +1 -0
- package/dist/components/baccarat/baccarat.api.d.ts +19 -0
- package/dist/components/baccarat/baccarat.constants.d.ts +16 -0
- package/dist/components/baccarat/baccarat.mock.api.d.ts +8 -0
- package/dist/components/baccarat/baccarat.types.d.ts +17 -0
- package/dist/components/baccarat/baccarat.utils.d.ts +20 -0
- package/dist/components/baccarat/baccarat.utils.test.d.ts +1 -0
- package/dist/components/blackjack/BlackjackContent/BlackjackContent.d.ts +49 -0
- package/dist/components/blackjack/BlackjackContent/BlackjackContent.styles.d.ts +1 -0
- package/dist/components/blackjack/BlackjackControls/BlackjackControls.styles.d.ts +1 -0
- package/dist/components/blackjack/BlackjackControls/BlackjackManual.d.ts +26 -0
- package/dist/components/blackjack/BlackjackGame.d.ts +87 -0
- package/dist/components/blackjack/BlackjackGame.styles.d.ts +1 -0
- package/dist/components/blackjack/BlackjackSideBetOnboarding/BlackjackSideBetOnboarding.d.ts +16 -0
- package/dist/components/blackjack/BlackjackSideBetOnboarding/BlackjackSideBetOnboarding.styles.d.ts +1 -0
- package/dist/components/blackjack/actions/betController.d.ts +20 -0
- package/dist/components/blackjack/actions/gameActionHandlers.d.ts +18 -0
- package/dist/components/blackjack/blackjack.api.d.ts +37 -0
- package/dist/components/blackjack/blackjack.helpers.d.ts +44 -0
- package/dist/components/blackjack/blackjack.icons.d.ts +4 -0
- package/dist/components/blackjack/blackjack.mock.api.d.ts +19 -0
- package/dist/components/blackjack/blackjack.utils.d.ts +18 -0
- package/dist/components/blackjack/blackjack.utils.test.d.ts +1 -0
- package/dist/components/blackjack/controllers/CardAnimationController.d.ts +36 -0
- package/dist/components/blitz/BlitzContent/BlitzCard.d.ts +9 -0
- package/dist/components/blitz/BlitzContent/BlitzCard.styles.d.ts +1 -0
- package/dist/components/blitz/BlitzContent/BlitzCardContainer.d.ts +19 -0
- package/dist/components/blitz/BlitzContent/BlitzCardContainer.styles.d.ts +1 -0
- package/dist/components/blitz/BlitzContent/BlitzContent.d.ts +13 -0
- package/dist/components/blitz/BlitzContent/BlitzContent.styles.d.ts +1 -0
- package/dist/components/blitz/BlitzControls/BlitzAuto.d.ts +23 -0
- package/dist/components/blitz/BlitzControls/BlitzControls.styles.d.ts +1 -0
- package/dist/components/blitz/BlitzControls/BlitzManual.d.ts +25 -0
- package/dist/components/blitz/BlitzControls/BlitzPicksInput.d.ts +15 -0
- package/dist/components/blitz/BlitzGame.d.ts +43 -0
- package/dist/components/blitz/BlitzGame.styles.d.ts +1 -0
- package/dist/components/blitz/blitz.api.d.ts +21 -0
- package/dist/components/blitz/blitz.mock.api.d.ts +10 -0
- package/dist/components/blitz/blitz.utils.d.ts +45 -0
- package/dist/components/diamonds/DiamondsContent/DiamondSlot.d.ts +17 -0
- package/dist/components/diamonds/DiamondsContent/DiamondSlot.styles.d.ts +1 -0
- package/dist/components/diamonds/DiamondsContent/DiamondsContent.d.ts +28 -0
- package/dist/components/diamonds/DiamondsContent/DiamondsContent.styles.d.ts +1 -0
- package/dist/components/diamonds/DiamondsContent/DiamondsMultiplierItem.d.ts +12 -0
- package/dist/components/diamonds/DiamondsContent/DiamondsMultiplierItem.styles.d.ts +1 -0
- package/dist/components/diamonds/DiamondsContent/DiamondsProfitTooltip.d.ts +14 -0
- package/dist/components/diamonds/DiamondsContent/DiamondsProfitTooltip.styles.d.ts +1 -0
- package/dist/components/diamonds/DiamondsContent/DiamondsSlots.d.ts +13 -0
- package/dist/components/diamonds/DiamondsContent/DiamondsSlots.styles.d.ts +1 -0
- package/dist/components/diamonds/DiamondsControls/DiamondsAuto.d.ts +11 -0
- package/dist/components/diamonds/DiamondsControls/DiamondsControls.styles.d.ts +1 -0
- package/dist/components/diamonds/DiamondsControls/DiamondsManual.d.ts +13 -0
- package/dist/components/diamonds/DiamondsGame.d.ts +18 -0
- package/dist/components/diamonds/DiamondsGame.styles.d.ts +1 -0
- package/dist/components/diamonds/diamonds.api.d.ts +11 -0
- package/dist/components/diamonds/diamonds.mock.api.d.ts +11 -0
- package/dist/components/diamonds/diamonds.utils.d.ts +100 -0
- package/dist/components/diamonds/svgs/diamond-gems.d.ts +1 -0
- package/dist/components/dice/DiceContent/DiceContent.d.ts +23 -0
- package/dist/components/dice/DiceContent/DiceContent.styles.d.ts +1 -0
- package/dist/components/dice/DiceContentBottom/DiceContentBottom.d.ts +29 -0
- package/dist/components/dice/DiceContentBottom/DiceContentBottom.styles.d.ts +1 -0
- package/dist/components/dice/DiceControls/DiceAuto.d.ts +14 -0
- package/dist/components/dice/DiceControls/DiceControls.styles.d.ts +1 -0
- package/dist/components/dice/DiceControls/DiceManual.d.ts +19 -0
- package/dist/components/dice/DiceGame.d.ts +34 -0
- package/dist/components/dice/DiceGame.styles.d.ts +1 -0
- package/dist/components/dice/DiceSlider/DiceSlider.d.ts +31 -0
- package/dist/components/dice/DiceSlider/DiceSlider.styles.d.ts +1 -0
- package/dist/components/dice/dice-calculations.d.ts +28 -0
- package/dist/components/dice/dice.api.d.ts +18 -0
- package/dist/components/dice/dice.mock.api.d.ts +10 -0
- package/dist/components/keno/KenoContent/KenoContent.d.ts +20 -0
- package/dist/components/keno/KenoContent/KenoContent.styles.d.ts +1 -0
- package/dist/components/keno/KenoContentBottom/KenoContentBottom.d.ts +21 -0
- package/dist/components/keno/KenoContentBottom/KenoContentBottom.styles.d.ts +1 -0
- package/dist/components/keno/KenoControls/KenoAuto.d.ts +16 -0
- package/dist/components/keno/KenoControls/KenoControls.styles.d.ts +1 -0
- package/dist/components/keno/KenoControls/KenoManual.d.ts +16 -0
- package/dist/components/keno/KenoGame.d.ts +52 -0
- package/dist/components/keno/KenoGame.styles.d.ts +1 -0
- package/dist/components/keno/KenoGrid/KenoGrid.d.ts +18 -0
- package/dist/components/keno/KenoGrid/KenoGrid.styles.d.ts +1 -0
- package/dist/components/keno/KenoTile/KenoTile.d.ts +19 -0
- package/dist/components/keno/KenoTile/KenoTile.styles.d.ts +1 -0
- package/dist/components/keno/keno.api.d.ts +24 -0
- package/dist/components/keno/keno.mock.api.d.ts +19 -0
- package/dist/components/limbo/LimboContent/LimboContent.d.ts +21 -0
- package/dist/components/limbo/LimboContent/LimboContent.styles.d.ts +1 -0
- package/dist/components/limbo/LimboContentBottom/LimboContentBottom.d.ts +21 -0
- package/dist/components/limbo/LimboContentBottom/LimboContentBottom.styles.d.ts +1 -0
- package/dist/components/limbo/LimboControls/LimboAuto.d.ts +13 -0
- package/dist/components/limbo/LimboControls/LimboControls.styles.d.ts +1 -0
- package/dist/components/limbo/LimboControls/LimboManual.d.ts +19 -0
- package/dist/components/limbo/LimboGame.d.ts +37 -0
- package/dist/components/limbo/LimboGame.styles.d.ts +1 -0
- package/dist/components/limbo/Multiplier/LimboMultiplier.d.ts +27 -0
- package/dist/components/limbo/Multiplier/LimboMultiplier.styles.d.ts +1 -0
- package/dist/components/limbo/limbo.api.d.ts +29 -0
- package/dist/components/limbo/limbo.mock.api.d.ts +8 -0
- package/dist/components/mines/MinesControls/MinesAuto.d.ts +18 -0
- package/dist/components/mines/MinesControls/MinesControls.styles.d.ts +1 -0
- package/dist/components/mines/MinesControls/MinesManual.d.ts +32 -0
- package/dist/components/mines/MinesGame.d.ts +48 -0
- package/dist/components/mines/MinesGame.styles.d.ts +1 -0
- package/dist/components/mines/MinesGrid/MinesGrid.d.ts +26 -0
- package/dist/components/mines/MinesGrid/MinesGrid.styles.d.ts +1 -0
- package/dist/components/mines/MinesTile/MinesTile.d.ts +49 -0
- package/dist/components/mines/MinesTile/MinesTile.styles.d.ts +1 -0
- package/dist/components/mines/mines.api.d.ts +66 -0
- package/dist/components/mines/mines.constants.d.ts +27 -0
- package/dist/components/mines/mines.mock.api.d.ts +22 -0
- package/dist/components/plinko/PlinkoContent/PlinkoBin/PlinkoBin.d.ts +13 -0
- package/dist/components/plinko/PlinkoContent/PlinkoBin/PlinkoBin.styles.d.ts +1 -0
- package/dist/components/plinko/PlinkoContent/PlinkoBins/PlinkoBins.d.ts +10 -0
- package/dist/components/plinko/PlinkoContent/PlinkoBins/PlinkoBins.styles.d.ts +1 -0
- package/dist/components/plinko/PlinkoContent/PlinkoContent.d.ts +67 -0
- package/dist/components/plinko/PlinkoContent/PlinkoContent.styles.d.ts +1 -0
- package/dist/components/plinko/PlinkoControls/PlinkoAuto.d.ts +14 -0
- package/dist/components/plinko/PlinkoControls/PlinkoControls.styles.d.ts +1 -0
- package/dist/components/plinko/PlinkoControls/PlinkoManual.d.ts +16 -0
- package/dist/components/plinko/PlinkoEngine.d.ts +164 -0
- package/dist/components/plinko/PlinkoGame.d.ts +47 -0
- package/dist/components/plinko/PlinkoGame.styles.d.ts +1 -0
- package/dist/components/plinko/PlinkoRowsSelect/PlinkoRiskSelect.d.ts +10 -0
- package/dist/components/plinko/PlinkoRowsSelect/PlinkoRiskSelect.styles.d.ts +1 -0
- package/dist/components/plinko/PlinkoRowsSelect/PlinkoRowsSelect.d.ts +10 -0
- package/dist/components/plinko/PlinkoRowsSlider/PlinkoRowsSlider.d.ts +12 -0
- package/dist/components/plinko/PlinkoRowsSlider/PlinkoRowsSlider.styles.d.ts +1 -0
- package/dist/components/plinko/plinko-content.utils.d.ts +77 -0
- package/dist/components/plinko/plinko.api.d.ts +14 -0
- package/dist/components/plinko/plinko.constants.d.ts +47 -0
- package/dist/components/plinko/plinko.mock.api.d.ts +11 -0
- package/dist/components/plinko/plinko.utils.d.ts +20 -0
- package/dist/components/roulette/RouletteAnimator/RouletteAnimator.d.ts +42 -0
- package/dist/components/roulette/RouletteAnimator/RouletteAnimator.styles.d.ts +1 -0
- package/dist/components/roulette/RouletteContent/RouletteContent.d.ts +34 -0
- package/dist/components/roulette/RouletteContent/RouletteContent.styles.d.ts +1 -0
- package/dist/components/roulette/RouletteControls/RouletteAuto.d.ts +19 -0
- package/dist/components/roulette/RouletteControls/RouletteControls.styles.d.ts +1 -0
- package/dist/components/roulette/RouletteControls/RouletteManual.d.ts +17 -0
- package/dist/components/roulette/RouletteGame.d.ts +37 -0
- package/dist/components/roulette/RouletteGame.styles.d.ts +1 -0
- package/dist/components/roulette/RouletteGrid/RouletteGrid.d.ts +21 -0
- package/dist/components/roulette/RouletteGrid/RouletteGrid.styles.d.ts +1 -0
- package/dist/components/roulette/RouletteTop/RouletteTop.d.ts +18 -0
- package/dist/components/roulette/RouletteTop/RouletteTop.styles.d.ts +1 -0
- package/dist/components/roulette/assets/index.d.ts +2 -0
- package/dist/components/roulette/roulette.api.d.ts +16 -0
- package/dist/components/roulette/roulette.constants.d.ts +57 -0
- package/dist/components/roulette/roulette.mock.api.d.ts +10 -0
- package/dist/components/roulette/roulette.positions.d.ts +58 -0
- package/dist/components/roulette/roulette.transformer.d.ts +4 -0
- package/dist/components/roulette/roulette.utils.d.ts +24 -0
- package/dist/components/shared/Alert/Alert.d.ts +27 -0
- package/dist/components/shared/Alert/Alert.styles.d.ts +1 -0
- package/dist/components/shared/AlertManager/AlertManager.d.ts +28 -0
- package/dist/components/shared/AlertManager/AlertManager.styles.d.ts +1 -0
- package/dist/components/shared/BetDetailsComponent/BetDetailsComponent.d.ts +21 -0
- package/dist/components/shared/BetDetailsComponent/BetDetailsComponent.styles.d.ts +1 -0
- package/dist/components/shared/BetResultModal/BetResultDataExtractor.d.ts +75 -0
- package/dist/components/shared/BetResultModal/BetResultModal.d.ts +31 -0
- package/dist/components/shared/BetResultModal/BetResultModal.styles.d.ts +1 -0
- package/dist/components/shared/Button/Button.d.ts +26 -0
- package/dist/components/shared/Button/Button.styles.d.ts +1 -0
- package/dist/components/shared/Button/ButtonGroup.d.ts +5 -0
- package/dist/components/shared/Button/ButtonGroup.styles.d.ts +1 -0
- package/dist/components/shared/ChipStack/ChipStack.d.ts +10 -0
- package/dist/components/shared/ChipStack/ChipStack.styles.d.ts +1 -0
- package/dist/components/shared/ChipTableGameComponent.d.ts +43 -0
- package/dist/components/shared/DepositButton/DepositButton.d.ts +9 -0
- package/dist/components/shared/Drawer/Drawer.d.ts +45 -0
- package/dist/components/shared/Drawer/Drawer.styles.d.ts +1 -0
- package/dist/components/shared/FairnessDetails/FairnessContent.d.ts +47 -0
- package/dist/components/shared/FairnessDetails/FairnessContent.styles.d.ts +1 -0
- package/dist/components/shared/FairnessDetails/FairnessDetails.d.ts +14 -0
- package/dist/components/shared/FairnessDetails/HistoryTable.d.ts +28 -0
- package/dist/components/shared/FairnessDetails/HistoryTable.styles.d.ts +1 -0
- package/dist/components/shared/Footer/Footer.d.ts +20 -0
- package/dist/components/shared/Footer/Footer.styles.d.ts +1 -0
- package/dist/components/shared/GameComponent.d.ts +77 -0
- package/dist/components/shared/GameInfo/GameInfoModal.d.ts +16 -0
- package/dist/components/shared/GameInfo/GameInfoModal.styles.d.ts +1 -0
- package/dist/components/shared/GameInfo/gameInfoConfig.d.ts +27 -0
- package/dist/components/shared/GameLayout/GameLayout.d.ts +51 -0
- package/dist/components/shared/GameLayout/GameLayout.styles.d.ts +1 -0
- package/dist/components/shared/GameOutcomeDisplay/GameOutcomeDisplay.d.ts +113 -0
- package/dist/components/shared/GameOutcomeDisplay/GameOutcomeDisplay.styles.d.ts +1 -0
- package/dist/components/shared/GameProviderWrapper.d.ts +106 -0
- package/dist/components/shared/GameProviderWrapper.styles.d.ts +1 -0
- package/dist/components/shared/GameSidebar/GameSidebar.d.ts +16 -0
- package/dist/components/shared/GameSidebar/GameSidebar.styles.d.ts +1 -0
- package/dist/components/shared/GameWinPopup/GameWinPopup.d.ts +27 -0
- package/dist/components/shared/GameWinPopup/GameWinPopup.styles.d.ts +1 -0
- package/dist/components/shared/GenericAutobet/BetCountInput.d.ts +12 -0
- package/dist/components/shared/GenericAutobet/GenericAutobet.d.ts +52 -0
- package/dist/components/shared/GenericAutobet/GenericAutobet.styles.d.ts +1 -0
- package/dist/components/shared/GenericAutobet/context/autobet.context.d.ts +13 -0
- package/dist/components/shared/HistoryPills/HistoryPills.d.ts +27 -0
- package/dist/components/shared/HistoryPills/HistoryPills.styles.d.ts +1 -0
- package/dist/components/shared/HotkeysModal/HotKeysModal.styles.d.ts +1 -0
- package/dist/components/shared/HotkeysModal/HotkeysModal.d.ts +10 -0
- package/dist/components/shared/Inputs/BetAmountInput/BetAmountInput.d.ts +44 -0
- package/dist/components/shared/Inputs/ChipInput/ChipInput.d.ts +19 -0
- package/dist/components/shared/Inputs/ChipInput/ChipInput.styles.d.ts +1 -0
- package/dist/components/shared/Inputs/ChipInput/chip-input.constants.d.ts +4 -0
- package/dist/components/shared/Inputs/CurrencyInput/RawCurrencyInput.d.ts +36 -0
- package/dist/components/shared/Inputs/CurrencyInput/RawCurrencyInput.styles.d.ts +1 -0
- package/dist/components/shared/Inputs/Input/Input.d.ts +74 -0
- package/dist/components/shared/Inputs/Input/Input.styles.d.ts +1 -0
- package/dist/components/shared/LottieIcon/LottieIcon.d.ts +24 -0
- package/dist/components/shared/Modal/Modal.d.ts +29 -0
- package/dist/components/shared/Modal/Modal.styles.d.ts +1 -0
- package/dist/components/shared/Modal/Portal.d.ts +13 -0
- package/dist/components/shared/ResponsiveModal/ResponsiveModal.d.ts +17 -0
- package/dist/components/shared/ResponsiveModal/ResponsiveModal.styles.d.ts +1 -0
- package/dist/components/shared/Select/Select.d.ts +34 -0
- package/dist/components/shared/Select/Select.styles.d.ts +1 -0
- package/dist/components/shared/Spinner/Spinner.d.ts +5 -0
- package/dist/components/shared/Spinner/Spinner.styles.d.ts +1 -0
- package/dist/components/shared/Switch/Switch.d.ts +11 -0
- package/dist/components/shared/Switch/Switch.styles.d.ts +1 -0
- package/dist/components/shared/Toggle/Toggle.d.ts +15 -0
- package/dist/components/shared/Toggle/Toggle.styles.d.ts +1 -0
- package/dist/components/shared/Tooltip/Tooltip.d.ts +56 -0
- package/dist/components/shared/Tooltip/Tooltip.styles.d.ts +1 -0
- package/dist/components/shared/context/game.context.d.ts +90 -0
- package/dist/components/shared/types/chip.types.d.ts +10 -0
- package/dist/components/wheel/WheelAnimator/WheelAnimator.d.ts +31 -0
- package/dist/components/wheel/WheelAnimator/WheelAnimator.styles.d.ts +1 -0
- package/dist/components/wheel/WheelContentBottom/WheelContentBottom.d.ts +24 -0
- package/dist/components/wheel/WheelContentBottom/WheelContentBottom.styles.d.ts +1 -0
- package/dist/components/wheel/WheelControls/WheelAuto.d.ts +16 -0
- package/dist/components/wheel/WheelControls/WheelControls.styles.d.ts +1 -0
- package/dist/components/wheel/WheelControls/WheelManual.d.ts +16 -0
- package/dist/components/wheel/WheelGame.d.ts +26 -0
- package/dist/components/wheel/WheelGame.styles.d.ts +1 -0
- package/dist/components/wheel/WheelLayout/WheelLayout.d.ts +19 -0
- package/dist/components/wheel/WheelLayout/WheelLayout.styles.d.ts +1 -0
- package/dist/components/wheel/WheelSvg/WheelSvg.d.ts +12 -0
- package/dist/components/wheel/WheelSvg/WheelSvg.styles.d.ts +1 -0
- package/dist/components/wheel/wheel.api.d.ts +11 -0
- package/dist/components/wheel/wheel.constants.d.ts +25 -0
- package/dist/components/wheel/wheel.mock.api.d.ts +10 -0
- package/dist/components/wheel/wheel.multipliers.d.ts +11 -0
- package/dist/components/wheel/wheel.patterns.d.ts +3 -0
- package/dist/components/wheel/wheel.utils.d.ts +41 -0
- package/dist/controllers/bet-result-cache.controller.d.ts +14 -0
- package/dist/controllers/haptics.controller.d.ts +17 -0
- package/dist/controllers/history.controller.d.ts +56 -0
- package/dist/controllers/hotkey.controller.d.ts +30 -0
- package/dist/controllers/sound/sound-definitions.d.ts +24 -0
- package/dist/controllers/sound/sound-effects.controller.d.ts +18 -0
- package/dist/controllers/sound/sound-layer.types.d.ts +45 -0
- package/dist/index.d.ts +17 -8345
- package/dist/index.mjs +21068 -2189
- package/dist/limbo-multiplier-bg.svg +1 -0
- package/dist/shared/animation.styles.d.ts +1 -0
- package/dist/shared/async-throttle-queue.d.ts +51 -0
- package/dist/shared/async-throttle-queue.test.d.ts +1 -0
- package/dist/shared/autobet-pacing.d.ts +4 -0
- package/dist/shared/bet.types.d.ts +196 -0
- package/dist/shared/button-feedback.d.ts +13 -0
- package/dist/shared/calculations/games/dice.d.ts +1 -0
- package/dist/shared/calculations/games/keno.d.ts +25 -0
- package/dist/shared/calculations/games/mines.d.ts +7 -0
- package/dist/shared/calculations/utils/big-validation.d.ts +71 -0
- package/dist/shared/calculations/utils/bignumber-max.d.ts +2 -0
- package/dist/shared/calculations/utils/bignumber-min.d.ts +7 -0
- package/dist/shared/calculations/utils/factorial.d.ts +2 -0
- package/dist/shared/calculations/utils/hex-to-bytes.d.ts +1 -0
- package/dist/shared/calculations/utils/ncr.d.ts +2 -0
- package/dist/shared/cards/Card.d.ts +30 -0
- package/dist/shared/cards/Card.styles.d.ts +1 -0
- package/dist/shared/cards/CardStack.d.ts +6 -0
- package/dist/shared/cards/CardStack.styles.d.ts +1 -0
- package/dist/shared/cards/card.constants.d.ts +11 -0
- package/dist/shared/cards/card.types.d.ts +10 -0
- package/dist/shared/cards/card.utils.d.ts +5 -0
- package/dist/shared/chip-state.utils.d.ts +125 -0
- package/dist/shared/chip-state.utils.test.d.ts +1 -0
- package/dist/shared/component.styles.d.ts +1 -0
- package/dist/shared/constants.d.ts +60 -0
- package/dist/shared/create-api-factory.d.ts +10 -0
- package/dist/shared/event-map.d.ts +342 -0
- package/dist/shared/format-monetary-amount.d.ts +4 -0
- package/dist/shared/format-win-chance.d.ts +1 -0
- package/dist/shared/format-win-chance.test.d.ts +1 -0
- package/dist/shared/get-correlation-id.d.ts +5 -0
- package/dist/shared/get-currency-details.d.ts +12 -0
- package/dist/shared/get-currency-details.test.d.ts +1 -0
- package/dist/shared/get-currency-precision.d.ts +2 -0
- package/dist/shared/get-currency-precision.test.d.ts +1 -0
- package/dist/shared/get-currency-symbol-position.d.ts +4 -0
- package/dist/shared/get-currency-symbol-position.test.d.ts +1 -0
- package/dist/shared/get-currency-symbol.d.ts +2 -0
- package/dist/shared/get-currency-symbol.test.d.ts +1 -0
- package/dist/shared/get-game-outcome.d.ts +1 -0
- package/dist/shared/hotkey-helper.d.ts +14 -0
- package/dist/shared/icons/currencies/arsIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/audIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/brlIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/cadIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/chfIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/clpIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/cnyIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/czkIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/dopIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/eurIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/gbpIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/gcIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/gtqIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/hnlIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/hufIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/idrIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/inrIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/jpyIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/krwIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/kztIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/mxnIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/myrIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/ngnIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/nokIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/nzdIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/penIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/phpIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/ronIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/rubIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/scIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/thbIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/tryIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/uahIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/usdIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/uzsIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/vndIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/zarIcon.d.ts +1 -0
- package/dist/shared/icons/get-currency-icon.d.ts +2 -0
- package/dist/shared/icons/get-currency-icon.test.d.ts +1 -0
- package/dist/shared/icons/index.d.ts +1 -0
- package/dist/shared/icons/kenoGemIcon.d.ts +1 -0
- package/dist/shared/icons/minesBombIcon.d.ts +1 -0
- package/dist/shared/icons/minesGemIcon.d.ts +1 -0
- package/dist/shared/mock-bridged-game-service.d.ts +42 -0
- package/dist/shared/mock-rng-generator.d.ts +3 -0
- package/dist/shared/origami-action.type.d.ts +7 -0
- package/dist/shared/origami-element.d.ts +21 -0
- package/dist/shared/primary-input.d.ts +2 -0
- package/dist/shared/provably-fair-verifier.d.ts +28 -0
- package/dist/shared/provider-api/bet-result.d.ts +18 -0
- package/dist/shared/provider-api/error-codes.d.ts +8 -0
- package/dist/shared/sleep.d.ts +1 -0
- package/dist/shared/utils/format-autobet-settings.d.ts +5 -0
- package/dist/shared/utils/prevent-non-numeric-input.d.ts +4 -0
- package/dist/shared/wait-for-event.d.ts +1 -0
- package/dist/shared/watch.d.ts +26 -0
- package/dist/translations/ar.json.d.ts +405 -0
- package/dist/translations/de.json.d.ts +405 -0
- package/dist/translations/dynamic-loader.d.ts +15 -0
- package/dist/translations/en-soc.json.d.ts +405 -0
- package/dist/translations/en.json.d.ts +406 -0
- package/dist/translations/es.json.d.ts +405 -0
- package/dist/translations/fi.json.d.ts +405 -0
- package/dist/translations/fr.json.d.ts +405 -0
- package/dist/translations/hi.json.d.ts +405 -0
- package/dist/translations/id.json.d.ts +405 -0
- package/dist/translations/index.d.ts +6854 -0
- package/dist/translations/ja.json.d.ts +405 -0
- package/dist/translations/ko.json.d.ts +405 -0
- package/dist/translations/language.context.d.ts +9 -0
- package/dist/translations/pl.json.d.ts +405 -0
- package/dist/translations/pt.json.d.ts +405 -0
- package/dist/translations/ru.json.d.ts +405 -0
- package/dist/translations/tr.json.d.ts +405 -0
- package/dist/translations/utils.d.ts +22 -0
- package/dist/translations/vi.json.d.ts +405 -0
- package/dist/translations/zh.json.d.ts +405 -0
- package/dist/utils/active-elements.d.ts +15 -0
- package/dist/utils/animate.d.ts +22 -0
- package/dist/utils/animation-registry.d.ts +24 -0
- package/dist/utils/blur-active-element.d.ts +7 -0
- package/dist/utils/event.d.ts +2 -0
- package/dist/utils/focus-trap.d.ts +24 -0
- package/dist/utils/game-layout-style.d.ts +9 -0
- package/dist/utils/scroll.d.ts +22 -0
- package/dist/utils/slot.controller.d.ts +23 -0
- package/dist/utils/tabbable.d.ts +9 -0
- package/package.json +18 -15
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { SupportedEdgePercentages } from '../../shared/constants';
|
|
2
|
+
export declare enum PlinkoRiskLevel {
|
|
3
|
+
LOW_RISK = "LOW_RISK",
|
|
4
|
+
MEDIUM_RISK = "MEDIUM_RISK",
|
|
5
|
+
HIGH_RISK = "HIGH_RISK"
|
|
6
|
+
}
|
|
7
|
+
export declare const plinkoRowCountOptions: readonly [8, 9, 10, 11, 12, 13, 14, 15, 16];
|
|
8
|
+
export type PlinkoRowCount = (typeof plinkoRowCountOptions)[number];
|
|
9
|
+
export declare const PLINKO_BIN_ANIMATION_DURATION = 250;
|
|
10
|
+
/**
|
|
11
|
+
* Configuration for responsive bin sizing based on canvas width.
|
|
12
|
+
* These values were determined through visual design testing across different screen sizes.
|
|
13
|
+
*/
|
|
14
|
+
export declare const PLINKO_BIN_CONFIG: {
|
|
15
|
+
readonly WIDTH_TO_HEIGHT_RATIO: 23;
|
|
16
|
+
readonly HEIGHT: {
|
|
17
|
+
readonly MIN: 16;
|
|
18
|
+
readonly MAX: 28;
|
|
19
|
+
};
|
|
20
|
+
readonly RADIUS_RATIO: 0.18;
|
|
21
|
+
readonly RADIUS: {
|
|
22
|
+
readonly MIN: 3;
|
|
23
|
+
readonly MAX: 5;
|
|
24
|
+
};
|
|
25
|
+
readonly FONT_SIZE: {
|
|
26
|
+
readonly MIN: 5;
|
|
27
|
+
readonly MAX: 12;
|
|
28
|
+
readonly BIN_WIDTH_RATIO: 0.28;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type PlinkoMultiplierSet = Record<PlinkoRowCount, number[]>;
|
|
32
|
+
type PlinkoMultipliers = Record<PlinkoRiskLevel, PlinkoMultiplierSet>;
|
|
33
|
+
export declare const plinkoMultipliers: Record<SupportedEdgePercentages, PlinkoMultipliers>;
|
|
34
|
+
export type RgbColor = {
|
|
35
|
+
r: number;
|
|
36
|
+
g: number;
|
|
37
|
+
b: number;
|
|
38
|
+
};
|
|
39
|
+
export declare const ballColorsByRisk: Record<PlinkoRiskLevel, string>;
|
|
40
|
+
export type BinColors = Record<PlinkoRowCount, {
|
|
41
|
+
background: string[];
|
|
42
|
+
shadow: string[];
|
|
43
|
+
}>;
|
|
44
|
+
export declare const getBinColors: (riskLevel: PlinkoRiskLevel, customEdgeColor: string | null, customCenterColor: string | null) => BinColors;
|
|
45
|
+
export declare const getBinMultipliers: (edge: SupportedEdgePercentages, riskLevel: PlinkoRiskLevel, rowCount: PlinkoRowCount) => number[];
|
|
46
|
+
export declare const PLINKO_BALL_STARTING_POINTS: number[][][];
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BetResult } from '../../shared/bet.types';
|
|
2
|
+
import { PlinkoStartArgs } from './plinko.api';
|
|
3
|
+
import { SupportedEdgePercentages } from '../../shared/constants';
|
|
4
|
+
export declare class MockPlinkoApi {
|
|
5
|
+
private readonly edge;
|
|
6
|
+
constructor(edge: SupportedEdgePercentages);
|
|
7
|
+
startBet(data: PlinkoStartArgs): Promise<{
|
|
8
|
+
success: true;
|
|
9
|
+
data: BetResult;
|
|
10
|
+
}>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SupportedEdgePercentages } from '../../shared/constants';
|
|
2
|
+
import { PlinkoRiskLevel, PlinkoRowCount } from './plinko.constants';
|
|
3
|
+
/**
|
|
4
|
+
* Gets the bin index for a given multiplier value.
|
|
5
|
+
* Tries to find an exact match first, then falls back to a random valid bin.
|
|
6
|
+
*/
|
|
7
|
+
export declare const getBinIndexForMultiplier: (edge: SupportedEdgePercentages, multiplier: number, rowCount: PlinkoRowCount, riskLevel: PlinkoRiskLevel) => number;
|
|
8
|
+
/**
|
|
9
|
+
* Calculates responsive bin sizing (height, border radius, font size) based on canvas width and bin count.
|
|
10
|
+
* Font scales based on actual bin width for robust responsiveness across all screen sizes and row counts.
|
|
11
|
+
*
|
|
12
|
+
* @param canvasWrapWidth - The current width of the canvas wrapper in pixels
|
|
13
|
+
* @param rowCount - Number of rows (bins = rowCount + 1)
|
|
14
|
+
* @returns Object containing height, radius, and fontSize values in pixels
|
|
15
|
+
*/
|
|
16
|
+
export declare const calculateBinSizing: (canvasWrapWidth: number, rowCount: number) => {
|
|
17
|
+
height: number;
|
|
18
|
+
radius: number;
|
|
19
|
+
fontSize: number;
|
|
20
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { gameContextType } from '../../shared/context/game.context';
|
|
3
|
+
import { RouletteType } from '../roulette.constants';
|
|
4
|
+
export declare class RouletteAnimator extends OrigamiElement {
|
|
5
|
+
static styles: import('lit').CSSResult[];
|
|
6
|
+
isPlaying: boolean;
|
|
7
|
+
hitNumber: number | null;
|
|
8
|
+
rouletteType: RouletteType;
|
|
9
|
+
staticDisplay: boolean;
|
|
10
|
+
instantBetEnabled: boolean;
|
|
11
|
+
isPrimary: boolean;
|
|
12
|
+
gameData?: gameContextType;
|
|
13
|
+
private _ballAngle;
|
|
14
|
+
private _ballDistanceFromCenter;
|
|
15
|
+
private _animationPhase;
|
|
16
|
+
private _rafId;
|
|
17
|
+
private _positionsArr;
|
|
18
|
+
private _positionIndex;
|
|
19
|
+
private _targetAngleOffset;
|
|
20
|
+
private _lastFrameTime;
|
|
21
|
+
private _hasEmittedLandEvent;
|
|
22
|
+
private _hasSetToFalling;
|
|
23
|
+
private _totalAngleTraveled;
|
|
24
|
+
private _ballContainer?;
|
|
25
|
+
private _ball?;
|
|
26
|
+
private get _isVisible();
|
|
27
|
+
disconnectedCallback(): void;
|
|
28
|
+
handleIsPlayingChange(): void;
|
|
29
|
+
handleHitNumberChange(prev?: unknown, next?: unknown): void;
|
|
30
|
+
handleStaticDisplayChange(): void;
|
|
31
|
+
handleInstantBetEnabledChange(): void;
|
|
32
|
+
private _setStaticBallPosition;
|
|
33
|
+
private _startAnimation;
|
|
34
|
+
private _resetState;
|
|
35
|
+
private _startLoop;
|
|
36
|
+
private _stopLoop;
|
|
37
|
+
private _handleCirclingPhase;
|
|
38
|
+
private _handleFallingPhase;
|
|
39
|
+
private _updateBallTransform;
|
|
40
|
+
private get _shouldShowBall();
|
|
41
|
+
render(): import('lit').TemplateResult<1>;
|
|
42
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const rouletteAnimatorStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
3
|
+
import { RouletteType, RouletteHistoryEntry } from '../roulette.constants';
|
|
4
|
+
import { default as Big } from 'big.js';
|
|
5
|
+
import { gameContextType } from '../../shared/context/game.context';
|
|
6
|
+
export declare class RouletteContent extends OrigamiElement {
|
|
7
|
+
static styles: import('lit').CSSResult[];
|
|
8
|
+
isDesktop: boolean;
|
|
9
|
+
isPlaying: boolean;
|
|
10
|
+
history: RouletteHistoryEntry[];
|
|
11
|
+
hitNumber: number | null;
|
|
12
|
+
displayedHitNumber: number | null;
|
|
13
|
+
lastResultNumber: number | null;
|
|
14
|
+
showOverlay: boolean;
|
|
15
|
+
placedChips: Map<string, number>;
|
|
16
|
+
canUndo: boolean;
|
|
17
|
+
canClear: boolean;
|
|
18
|
+
rouletteType: RouletteType;
|
|
19
|
+
instantBetEnabled: boolean;
|
|
20
|
+
showWinPopup: boolean;
|
|
21
|
+
payout: Big | null;
|
|
22
|
+
multiplier: number;
|
|
23
|
+
betId?: string;
|
|
24
|
+
get pastResults(): RouletteHistoryEntry[];
|
|
25
|
+
gameData?: gameContextType;
|
|
26
|
+
private _resizeObserver?;
|
|
27
|
+
protected firstUpdated(): void;
|
|
28
|
+
protected updated(changedProps: PropertyValues): void;
|
|
29
|
+
disconnectedCallback(): void;
|
|
30
|
+
private _handleWindowResize;
|
|
31
|
+
private _setupMobileWheelTracking;
|
|
32
|
+
private _updateMobileWheelShift;
|
|
33
|
+
render(): import('lit').TemplateResult<1>;
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const rouletteContentStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { gameContextType } from '../../shared/context/game.context';
|
|
3
|
+
export declare class RouletteAuto extends OrigamiElement {
|
|
4
|
+
static styles: import('lit').CSSResult[];
|
|
5
|
+
inputsDisabled: boolean;
|
|
6
|
+
autobetStopping: boolean;
|
|
7
|
+
readonly autobetInProgress = false;
|
|
8
|
+
profitOnWin: string;
|
|
9
|
+
betDisabled: boolean;
|
|
10
|
+
isDesktop: boolean;
|
|
11
|
+
perClickAmount: string;
|
|
12
|
+
totalBetAmount: string;
|
|
13
|
+
maxPerClickAmount?: string;
|
|
14
|
+
noChips: boolean;
|
|
15
|
+
gameData?: gameContextType;
|
|
16
|
+
private isBetAmountValid;
|
|
17
|
+
private handlePerClickAmountChange;
|
|
18
|
+
render(): import('lit').TemplateResult<1>;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const rouletteControlsStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { gameContextType } from '../../shared/context/game.context';
|
|
3
|
+
export declare class RouletteManual extends OrigamiElement {
|
|
4
|
+
isPlaying: boolean;
|
|
5
|
+
betDisabled: boolean;
|
|
6
|
+
inputsDisabled: boolean;
|
|
7
|
+
noChips: boolean;
|
|
8
|
+
perClickAmount: string;
|
|
9
|
+
totalBetAmount: string;
|
|
10
|
+
maxPerClickAmount?: string;
|
|
11
|
+
gameData: gameContextType;
|
|
12
|
+
private isBetAmountValid;
|
|
13
|
+
private _betAboveBalance;
|
|
14
|
+
static styles: import('lit').CSSResult[];
|
|
15
|
+
private handlePerClickAmountChange;
|
|
16
|
+
render(): import('lit').TemplateResult<1>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { AutobetSettingsWithId, GameBetResult } from '../shared/GameComponent';
|
|
2
|
+
import { RouletteApi } from './roulette.api';
|
|
3
|
+
import { MockRouletteApi } from './roulette.mock.api';
|
|
4
|
+
import { RouletteType } from './roulette.constants';
|
|
5
|
+
import { ChipEvent } from '../../shared/chip-state.utils';
|
|
6
|
+
import { ChipTableGameComponent } from '../shared/ChipTableGameComponent';
|
|
7
|
+
export declare class RouletteGame extends ChipTableGameComponent {
|
|
8
|
+
static styles: import('lit').CSSResult[];
|
|
9
|
+
private isManualPlaying;
|
|
10
|
+
private betResult;
|
|
11
|
+
private history;
|
|
12
|
+
private hitNumber;
|
|
13
|
+
private showMobileOverlay;
|
|
14
|
+
private displayedHitNumber;
|
|
15
|
+
private lastResultNumber;
|
|
16
|
+
private showWinPopup;
|
|
17
|
+
private newBalance;
|
|
18
|
+
private ballLandResolver;
|
|
19
|
+
private _manualEl?;
|
|
20
|
+
private _autoEl?;
|
|
21
|
+
constructor();
|
|
22
|
+
get rouletteType(): RouletteType;
|
|
23
|
+
get rouletteApi(): RouletteApi | MockRouletteApi;
|
|
24
|
+
get isToggleDisabled(): boolean;
|
|
25
|
+
get areInputsDisabled(): boolean;
|
|
26
|
+
get maxPossiblePayout(): number;
|
|
27
|
+
protected isMaxPayoutExceeded(chipEvents: ChipEvent[]): boolean;
|
|
28
|
+
private handleGridClick;
|
|
29
|
+
private addToHistory;
|
|
30
|
+
private extractHitNumberFromActions;
|
|
31
|
+
private applyBetResult;
|
|
32
|
+
private handleBetExecution;
|
|
33
|
+
private handleBallLand;
|
|
34
|
+
roulettePlay(): Promise<void>;
|
|
35
|
+
protected executeAutobet(autobetSettings: AutobetSettingsWithId, _currentBetAmount: string): Promise<GameBetResult>;
|
|
36
|
+
render(): import('lit').TemplateResult<1>;
|
|
37
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const rouletteGameStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { RouletteType } from '../roulette.constants';
|
|
3
|
+
export declare class RouletteGrid extends OrigamiElement {
|
|
4
|
+
static styles: import('lit').CSSResult[];
|
|
5
|
+
placedChips: Map<string, number>;
|
|
6
|
+
rouletteType: RouletteType;
|
|
7
|
+
displayedHitNumber: number | null;
|
|
8
|
+
dimmed: boolean;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
private hoveredNumbers;
|
|
11
|
+
private handleChipPlace;
|
|
12
|
+
private getPositionFromEvent;
|
|
13
|
+
private onMouseOver;
|
|
14
|
+
private onGridLeave;
|
|
15
|
+
private onContextMenu;
|
|
16
|
+
private get isAmerican();
|
|
17
|
+
private isHitNumber;
|
|
18
|
+
private renderChipStack;
|
|
19
|
+
private renderNumberCell;
|
|
20
|
+
render(): import('lit').TemplateResult<1>;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const rouletteGridStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { RouletteType } from '@betorigami/game-calculations';
|
|
3
|
+
import { RouletteHistoryEntry } from '../roulette.constants';
|
|
4
|
+
import { gameContextType } from '../../shared/context/game.context';
|
|
5
|
+
export declare class RouletteTop extends OrigamiElement {
|
|
6
|
+
static styles: import('lit').CSSResult[];
|
|
7
|
+
rouletteType: RouletteType;
|
|
8
|
+
hitNumber: number | null;
|
|
9
|
+
canUndo: boolean;
|
|
10
|
+
isPlaying: boolean;
|
|
11
|
+
displayedHitNumber: number | null;
|
|
12
|
+
instantBetEnabled: boolean;
|
|
13
|
+
canClear: boolean;
|
|
14
|
+
history: RouletteHistoryEntry[];
|
|
15
|
+
get pastResults(): RouletteHistoryEntry[];
|
|
16
|
+
gameData?: gameContextType;
|
|
17
|
+
render(): import('lit').TemplateResult<1>;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const rouletteTopStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AutobetApiSettings, RouletteStartAction, StartBetResponse } from '../../shared/bet.types';
|
|
2
|
+
import { Language } from '../../translations';
|
|
3
|
+
export type RouletteStartArgs = {
|
|
4
|
+
language: Language;
|
|
5
|
+
meta?: {
|
|
6
|
+
autobetSettings: AutobetApiSettings;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export declare class RouletteApi {
|
|
10
|
+
private authToken;
|
|
11
|
+
private baseUrl;
|
|
12
|
+
constructor(authToken: string, baseUrl: string);
|
|
13
|
+
startBet(data: RouletteStartArgs & {
|
|
14
|
+
gameInputs: RouletteStartAction;
|
|
15
|
+
}): Promise<StartBetResponse>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export { RouletteType, Parity, Color, Half, Column, Dozen } from '@betorigami/game-calculations';
|
|
2
|
+
export { BASE_UNIT_MULTIPLIER, CHIP_DENOMINATIONS } from '../../shared/chip-state.utils';
|
|
3
|
+
export type { ChipConfig } from '../shared/types/chip.types';
|
|
4
|
+
export interface RouletteHistoryEntry {
|
|
5
|
+
multiplier: number;
|
|
6
|
+
won: boolean;
|
|
7
|
+
id: string;
|
|
8
|
+
hitNumber: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const MOBILE_CELL_SIZE = 40;
|
|
11
|
+
export declare const MOBILE_GAP = 8;
|
|
12
|
+
export declare const MOBILE_SCALE = 0.75;
|
|
13
|
+
export declare const MOBILE_WHEEL_GAP = 12;
|
|
14
|
+
export declare const RED_NUMBERS: Set<number>;
|
|
15
|
+
/** European wheel: 37 numbers (0-36) in physical clockwise order */
|
|
16
|
+
export declare const EUROPEAN_WHEEL_SEQUENCE: readonly [0, 32, 15, 19, 4, 21, 2, 25, 17, 34, 6, 27, 13, 36, 11, 30, 8, 23, 10, 5, 24, 16, 33, 1, 20, 14, 31, 9, 22, 18, 29, 7, 28, 12, 35, 3, 26];
|
|
17
|
+
/** American wheel: 38 numbers (0, 00, 1-36) - 37 represents 00 */
|
|
18
|
+
export declare const AMERICAN_WHEEL_SEQUENCE: readonly [0, 28, 9, 26, 30, 11, 7, 20, 32, 17, 5, 22, 34, 15, 3, 24, 36, 13, 1, 37, 27, 10, 25, 29, 12, 8, 19, 31, 18, 6, 21, 33, 16, 4, 23, 35, 14, 2];
|
|
19
|
+
/** Ball circling radius in pixels */
|
|
20
|
+
export declare const ROULETTE_BALL_RADIUS = 128;
|
|
21
|
+
/** Ball angular velocity in degrees per frame */
|
|
22
|
+
export declare const ROULETTE_ANGULAR_VELOCITY = 5;
|
|
23
|
+
/** Total rotation during the ball falling animation (270 degrees) */
|
|
24
|
+
export declare const ROULETTE_ROTATION_RADIANS: number;
|
|
25
|
+
/** Angle threshold for starting the falling animation (degrees) */
|
|
26
|
+
export declare const ROULETTE_ANGLE_THRESHOLD = 5;
|
|
27
|
+
/** Ball offset angle adjustment (degrees) */
|
|
28
|
+
export declare const ROULETTE_EUROPEAN_BALL_OFFSET = 187;
|
|
29
|
+
export declare const ROULETTE_AMERICAN_BALL_OFFSET = 5;
|
|
30
|
+
/** Position in the ball falling animation trajectory */
|
|
31
|
+
export interface AnimationPosition {
|
|
32
|
+
x: number;
|
|
33
|
+
y: number;
|
|
34
|
+
}
|
|
35
|
+
/** Marker for when a bounce sound should play */
|
|
36
|
+
export interface BounceCount {
|
|
37
|
+
bounceCount: number;
|
|
38
|
+
}
|
|
39
|
+
/** Union type for animation array elements */
|
|
40
|
+
export type AnimationArrayType = AnimationPosition | BounceCount;
|
|
41
|
+
/** Transformed position with polar coordinates for rendering */
|
|
42
|
+
export interface PositionDetails {
|
|
43
|
+
x: number;
|
|
44
|
+
y: number;
|
|
45
|
+
angle: number;
|
|
46
|
+
length: number;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Ball falling animation arrays.
|
|
50
|
+
* First and last elements are always AnimationPosition (never BounceCount).
|
|
51
|
+
* BounceCount markers indicate when to play bounce sounds.
|
|
52
|
+
*/
|
|
53
|
+
export declare const ROULETTE_ANIMATION_ARR_1: AnimationArrayType[];
|
|
54
|
+
export declare const ROULETTE_ANIMATION_ARR_2: AnimationArrayType[];
|
|
55
|
+
export declare const ROULETTE_ANIMATION_ARR_3: AnimationArrayType[];
|
|
56
|
+
/** All animation arrays for random selection */
|
|
57
|
+
export declare const ROULETTE_ANIMATION_ARRAYS: readonly [AnimationArrayType[], AnimationArrayType[], AnimationArrayType[]];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BetResult, RouletteStartAction } from '../../shared/bet.types';
|
|
2
|
+
import { RouletteStartArgs } from './roulette.api';
|
|
3
|
+
export declare class MockRouletteApi {
|
|
4
|
+
startBet(data: RouletteStartArgs & {
|
|
5
|
+
gameInputs: RouletteStartAction;
|
|
6
|
+
}): Promise<{
|
|
7
|
+
success: true;
|
|
8
|
+
data: BetResult;
|
|
9
|
+
}>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { RouletteType } from '@betorigami/game-calculations';
|
|
2
|
+
export declare const Pos: {
|
|
3
|
+
readonly straight: (n: number) => string;
|
|
4
|
+
readonly split: (a: number, b: number) => string;
|
|
5
|
+
readonly street: (a: number, b: number, c: number) => string;
|
|
6
|
+
readonly corner: (a: number, b: number, c: number, d: number) => string;
|
|
7
|
+
readonly line: (a: number, b: number, c: number, d: number, e: number, f: number) => string;
|
|
8
|
+
readonly dozen: (which: "FIRST" | "SECOND" | "THIRD") => string;
|
|
9
|
+
readonly half: (which: "LOW" | "HIGH") => string;
|
|
10
|
+
readonly parity: (which: "EVEN" | "ODD") => string;
|
|
11
|
+
readonly color: (which: "RED" | "BLACK") => string;
|
|
12
|
+
readonly column: (which: "TOP" | "MIDDLE" | "BOTTOM") => string;
|
|
13
|
+
readonly basket: () => string;
|
|
14
|
+
};
|
|
15
|
+
export type ParsedPosition = {
|
|
16
|
+
type: 'straight';
|
|
17
|
+
value: number;
|
|
18
|
+
} | {
|
|
19
|
+
type: 'split';
|
|
20
|
+
values: readonly [number, number];
|
|
21
|
+
} | {
|
|
22
|
+
type: 'street';
|
|
23
|
+
values: readonly [number, number, number];
|
|
24
|
+
} | {
|
|
25
|
+
type: 'corner';
|
|
26
|
+
values: readonly [number, number, number, number];
|
|
27
|
+
} | {
|
|
28
|
+
type: 'line';
|
|
29
|
+
values: readonly [number, number, number, number, number, number];
|
|
30
|
+
} | {
|
|
31
|
+
type: 'dozen';
|
|
32
|
+
dozen: 'FIRST' | 'SECOND' | 'THIRD';
|
|
33
|
+
} | {
|
|
34
|
+
type: 'half';
|
|
35
|
+
half: 'LOW' | 'HIGH';
|
|
36
|
+
} | {
|
|
37
|
+
type: 'parity';
|
|
38
|
+
parity: 'EVEN' | 'ODD';
|
|
39
|
+
} | {
|
|
40
|
+
type: 'color';
|
|
41
|
+
color: 'RED' | 'BLACK';
|
|
42
|
+
} | {
|
|
43
|
+
type: 'column';
|
|
44
|
+
column: 'TOP' | 'MIDDLE' | 'BOTTOM';
|
|
45
|
+
} | {
|
|
46
|
+
type: 'basket';
|
|
47
|
+
};
|
|
48
|
+
export declare function parsePosition(position: string): ParsedPosition | null;
|
|
49
|
+
export declare const VALID_EUROPEAN_POSITIONS: Set<string>;
|
|
50
|
+
export declare const VALID_AMERICAN_POSITIONS: Set<string>;
|
|
51
|
+
export declare function isValidPosition(position: string, type: RouletteType): boolean;
|
|
52
|
+
export declare function getRowIndex(n: number): 0 | 1 | 2;
|
|
53
|
+
export declare function getVerticalSplitPosition(n: number, type: RouletteType): string | null;
|
|
54
|
+
export declare function getHorizontalSplitPosition(n: number, type: RouletteType): string | null;
|
|
55
|
+
export declare function getCornerPosition(n: number, type: RouletteType): string | null;
|
|
56
|
+
export declare function getDoubleStreetPosition(n: number, type: RouletteType): string | null;
|
|
57
|
+
export declare function getStreetPosition(n: number, type: RouletteType): string | null;
|
|
58
|
+
export declare function getCoveredNumbers(position: string): number[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { RouletteStartAction } from '../../shared/bet.types';
|
|
2
|
+
import { RouletteType } from './roulette.constants';
|
|
3
|
+
export declare function transformGridBetsToApiFormat(placedBets: Map<string, number>, rouletteType?: RouletteType): RouletteStartAction;
|
|
4
|
+
export declare function calculateTotalBetAmount(placedBets: Map<string, number>): number;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { RouletteType } from '@betorigami/game-calculations';
|
|
2
|
+
import { AnimationArrayType, PositionDetails, BounceCount } from './roulette.constants';
|
|
3
|
+
export { getCoveredNumbers } from './roulette.positions';
|
|
4
|
+
export declare class RouletteUtils {
|
|
5
|
+
static getNumberColor(n: number): 'red' | 'black' | 'green';
|
|
6
|
+
static getValidSplits(type: RouletteType): readonly [readonly [0, 1], readonly [0, 2], readonly [0, 3], readonly [1, 2], readonly [1, 4], readonly [2, 3], readonly [2, 5], readonly [3, 6], readonly [4, 5], readonly [4, 7], readonly [5, 6], readonly [5, 8], readonly [6, 9], readonly [7, 8], readonly [7, 10], readonly [8, 9], readonly [8, 11], readonly [9, 12], readonly [10, 11], readonly [10, 13], readonly [11, 12], readonly [11, 14], readonly [12, 15], readonly [13, 14], readonly [13, 16], readonly [14, 15], readonly [14, 17], readonly [15, 18], readonly [16, 17], readonly [16, 19], readonly [17, 18], readonly [17, 20], readonly [18, 21], readonly [19, 20], readonly [19, 22], readonly [20, 21], readonly [20, 23], readonly [21, 24], readonly [22, 23], readonly [22, 25], readonly [23, 24], readonly [23, 26], readonly [24, 27], readonly [25, 26], readonly [25, 28], readonly [26, 27], readonly [26, 29], readonly [27, 30], readonly [28, 29], readonly [28, 31], readonly [29, 30], readonly [29, 32], readonly [30, 33], readonly [31, 32], readonly [31, 34], readonly [32, 33], readonly [32, 35], readonly [33, 36], readonly [34, 35], readonly [35, 36]] | readonly [readonly [0, 1], readonly [0, 37], readonly [3, 37], readonly [1, 2], readonly [1, 4], readonly [2, 3], readonly [2, 5], readonly [3, 6], readonly [4, 5], readonly [4, 7], readonly [5, 6], readonly [5, 8], readonly [6, 9], readonly [7, 8], readonly [7, 10], readonly [8, 9], readonly [8, 11], readonly [9, 12], readonly [10, 11], readonly [10, 13], readonly [11, 12], readonly [11, 14], readonly [12, 15], readonly [13, 14], readonly [13, 16], readonly [14, 15], readonly [14, 17], readonly [15, 18], readonly [16, 17], readonly [16, 19], readonly [17, 18], readonly [17, 20], readonly [18, 21], readonly [19, 20], readonly [19, 22], readonly [20, 21], readonly [20, 23], readonly [21, 24], readonly [22, 23], readonly [22, 25], readonly [23, 24], readonly [23, 26], readonly [24, 27], readonly [25, 26], readonly [25, 28], readonly [26, 27], readonly [26, 29], readonly [27, 30], readonly [28, 29], readonly [28, 31], readonly [29, 30], readonly [29, 32], readonly [30, 33], readonly [31, 32], readonly [31, 34], readonly [32, 33], readonly [32, 35], readonly [33, 36], readonly [34, 35], readonly [35, 36]];
|
|
7
|
+
static getValidStreets(type: RouletteType): readonly [readonly [0, 1, 2], readonly [0, 2, 3], readonly [1, 2, 3], readonly [4, 5, 6], readonly [7, 8, 9], readonly [10, 11, 12], readonly [13, 14, 15], readonly [16, 17, 18], readonly [19, 20, 21], readonly [22, 23, 24], readonly [25, 26, 27], readonly [28, 29, 30], readonly [31, 32, 33], readonly [34, 35, 36]] | readonly [readonly [0, 1, 2], readonly [0, 2, 37], readonly [1, 2, 3], readonly [2, 3, 37], readonly [4, 5, 6], readonly [7, 8, 9], readonly [10, 11, 12], readonly [13, 14, 15], readonly [16, 17, 18], readonly [19, 20, 21], readonly [22, 23, 24], readonly [25, 26, 27], readonly [28, 29, 30], readonly [31, 32, 33], readonly [34, 35, 36]];
|
|
8
|
+
static getValidCorners(type: RouletteType): readonly [readonly [0, 1, 2, 3], readonly [1, 2, 4, 5], readonly [2, 3, 5, 6], readonly [4, 5, 7, 8], readonly [5, 6, 8, 9], readonly [7, 8, 10, 11], readonly [8, 9, 11, 12], readonly [10, 11, 13, 14], readonly [11, 12, 14, 15], readonly [13, 14, 16, 17], readonly [14, 15, 17, 18], readonly [16, 17, 19, 20], readonly [17, 18, 20, 21], readonly [19, 20, 22, 23], readonly [20, 21, 23, 24], readonly [22, 23, 25, 26], readonly [23, 24, 26, 27], readonly [25, 26, 28, 29], readonly [26, 27, 29, 30], readonly [28, 29, 31, 32], readonly [29, 30, 32, 33], readonly [31, 32, 34, 35], readonly [32, 33, 35, 36]] | readonly [readonly [1, 2, 4, 5], readonly [2, 3, 5, 6], readonly [4, 5, 7, 8], readonly [5, 6, 8, 9], readonly [7, 8, 10, 11], readonly [8, 9, 11, 12], readonly [10, 11, 13, 14], readonly [11, 12, 14, 15], readonly [13, 14, 16, 17], readonly [14, 15, 17, 18], readonly [16, 17, 19, 20], readonly [17, 18, 20, 21], readonly [19, 20, 22, 23], readonly [20, 21, 23, 24], readonly [22, 23, 25, 26], readonly [23, 24, 26, 27], readonly [25, 26, 28, 29], readonly [26, 27, 29, 30], readonly [28, 29, 31, 32], readonly [29, 30, 32, 33], readonly [31, 32, 34, 35], readonly [32, 33, 35, 36]];
|
|
9
|
+
static findValidSplit(numbers: number[], type?: RouletteType): readonly [number, number] | null;
|
|
10
|
+
static findValidStreet(numbers: number[], type?: RouletteType): readonly [number, number, number] | null;
|
|
11
|
+
static findValidCorner(numbers: number[], type?: RouletteType): readonly [number, number, number, number] | null;
|
|
12
|
+
static getWheelSequence(type: RouletteType): readonly number[];
|
|
13
|
+
static calculateBallTargetAngle(hitNumber: number, type?: RouletteType): number;
|
|
14
|
+
static getRandomAnimationArray(): AnimationArrayType[];
|
|
15
|
+
static transformAnimationPosition(val: AnimationArrayType, arr: AnimationArrayType[]): PositionDetails | BounceCount;
|
|
16
|
+
static preprocessAnimationArray(arr: AnimationArrayType[]): (PositionDetails | BounceCount)[];
|
|
17
|
+
static getBallOffset(type: RouletteType): number;
|
|
18
|
+
private static convertBetsToLibraryFormat;
|
|
19
|
+
private static preparePayoutInputs;
|
|
20
|
+
static findMaxPayoutTile(state: Map<string, number>, rouletteType: RouletteType): {
|
|
21
|
+
maxPayout: number;
|
|
22
|
+
positionOfMaxMultiplier: number;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { gameContextType } from '../context/game.context';
|
|
3
|
+
export type AlertType = 'success' | 'warning' | 'error' | 'info';
|
|
4
|
+
export declare class Alert extends OrigamiElement {
|
|
5
|
+
static styles: import('lit').CSSResult[];
|
|
6
|
+
type: AlertType;
|
|
7
|
+
message: string;
|
|
8
|
+
autoCloseDelay: number;
|
|
9
|
+
flipToRefreshTimer: boolean;
|
|
10
|
+
private isHiding;
|
|
11
|
+
private isPaused;
|
|
12
|
+
private progressWidth;
|
|
13
|
+
gameData?: gameContextType;
|
|
14
|
+
private animationFrame?;
|
|
15
|
+
private remainingTime;
|
|
16
|
+
private lastTickTimestamp?;
|
|
17
|
+
connectedCallback(): void;
|
|
18
|
+
disconnectedCallback(): void;
|
|
19
|
+
handleAutoCloseDelayChange(): void;
|
|
20
|
+
private initializeTimer;
|
|
21
|
+
private startTimer;
|
|
22
|
+
private clearTimer;
|
|
23
|
+
private handleMouseEnter;
|
|
24
|
+
private handleMouseLeave;
|
|
25
|
+
private handleClose;
|
|
26
|
+
render(): import('lit').TemplateResult<1>;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const alertStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { nothing } from 'lit';
|
|
2
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
3
|
+
import { AlertType } from '../Alert/Alert';
|
|
4
|
+
import { gameContextType } from '../context/game.context';
|
|
5
|
+
export interface AlertItem {
|
|
6
|
+
id: string;
|
|
7
|
+
type: AlertType;
|
|
8
|
+
message: string;
|
|
9
|
+
autoCloseDelay?: number;
|
|
10
|
+
showCloseButton?: boolean;
|
|
11
|
+
flipToRefreshTimer?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare class AlertManager extends OrigamiElement {
|
|
14
|
+
static styles: import('lit').CSSResult[];
|
|
15
|
+
gameData?: gameContextType;
|
|
16
|
+
private alerts;
|
|
17
|
+
private previousPositions;
|
|
18
|
+
private readonly defaultAnimationMs;
|
|
19
|
+
addAlert(alert: AlertItem): string;
|
|
20
|
+
clearAllAlerts(): void;
|
|
21
|
+
private handleAlertClose;
|
|
22
|
+
render(): typeof nothing | import('lit').TemplateResult<1>;
|
|
23
|
+
protected willUpdate(): void;
|
|
24
|
+
protected updated(): void;
|
|
25
|
+
private measurePositions;
|
|
26
|
+
private getAnimationDurationMs;
|
|
27
|
+
private playFlipAnimations;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const alertManagerStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TemplateResult } from 'lit';
|
|
2
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
3
|
+
import { Language } from '../../../translations';
|
|
4
|
+
export declare class BetDetailsComponent extends OrigamiElement {
|
|
5
|
+
static styles: import('lit').CSSResult;
|
|
6
|
+
baseUrl: string;
|
|
7
|
+
betId: string;
|
|
8
|
+
language: Language;
|
|
9
|
+
private _betDetails;
|
|
10
|
+
private get _gameName();
|
|
11
|
+
private get _roundId();
|
|
12
|
+
private get _timestamp();
|
|
13
|
+
private get _currency();
|
|
14
|
+
private get _betAmount();
|
|
15
|
+
private get _multiplier();
|
|
16
|
+
private get _payout();
|
|
17
|
+
render(): TemplateResult<1>;
|
|
18
|
+
connectedCallback(): Promise<void>;
|
|
19
|
+
private handleShare;
|
|
20
|
+
private fetchBetDetails;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const betDetailsStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { BetResult } from '../../../shared/bet.types';
|
|
2
|
+
import { RollType, Bounds } from '../../advanced-dice/advanced-dice.types';
|
|
3
|
+
import { DiceData as DiceDisplayData, KenoData as KenoDisplayData, LimboData as LimboDisplayData, MinesData as MinesDisplayData, DiamondsData as DiamondsDisplayData, WheelData, PlinkoData, RouletteData, BaccaratData, BlackjackData, BlitzData } from '../GameOutcomeDisplay/GameOutcomeDisplay';
|
|
4
|
+
interface DiceRawData {
|
|
5
|
+
resultValue: number;
|
|
6
|
+
userValue: number;
|
|
7
|
+
isRollLower: boolean;
|
|
8
|
+
winChance: string;
|
|
9
|
+
isDiceWin: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface AdvancedDiceRawData {
|
|
12
|
+
resultValue: number;
|
|
13
|
+
rollType: RollType;
|
|
14
|
+
bounds: Bounds;
|
|
15
|
+
secondBounds?: Bounds;
|
|
16
|
+
winChance: string;
|
|
17
|
+
isWin: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface AdvancedDiceDisplayData {
|
|
20
|
+
resultValue: number;
|
|
21
|
+
rollType: RollType;
|
|
22
|
+
firstBoundsLower: number;
|
|
23
|
+
firstBoundsUpper: number;
|
|
24
|
+
secondBoundsLower?: number;
|
|
25
|
+
secondBoundsUpper?: number;
|
|
26
|
+
isWin: boolean;
|
|
27
|
+
}
|
|
28
|
+
export declare class BetResultDataExtractor {
|
|
29
|
+
private betData;
|
|
30
|
+
readonly minesDisplayData: MinesDisplayData;
|
|
31
|
+
readonly limboDisplayData: LimboDisplayData;
|
|
32
|
+
readonly diceDisplayData: DiceDisplayData;
|
|
33
|
+
readonly kenoDisplayData: KenoDisplayData;
|
|
34
|
+
readonly diamondsDisplayData: DiamondsDisplayData;
|
|
35
|
+
readonly wheelDisplayData: WheelData;
|
|
36
|
+
readonly diceRawData: DiceRawData;
|
|
37
|
+
readonly advancedDiceRawData: AdvancedDiceRawData;
|
|
38
|
+
readonly advancedDiceDisplayData: AdvancedDiceDisplayData;
|
|
39
|
+
readonly rouletteDisplayData: RouletteData;
|
|
40
|
+
readonly baccaratDisplayData: BaccaratData;
|
|
41
|
+
readonly blackjackDisplayData: BlackjackData;
|
|
42
|
+
readonly blitzDisplayData: BlitzData;
|
|
43
|
+
readonly blitzPickCount: number;
|
|
44
|
+
constructor(betData: Omit<BetResult, 'afterBalance'>);
|
|
45
|
+
private _computeDiceRawData;
|
|
46
|
+
private _computeMinesDisplayData;
|
|
47
|
+
private _computeKenoDisplayData;
|
|
48
|
+
private _computeLimboDisplayData;
|
|
49
|
+
private _computeDiamondsDisplayData;
|
|
50
|
+
private _computeDiceDisplayData;
|
|
51
|
+
private _computeWheelDisplayData;
|
|
52
|
+
private _computeAdvancedDiceRawData;
|
|
53
|
+
private _computeAdvancedDiceDisplayData;
|
|
54
|
+
getMinesDisplayData(): MinesDisplayData;
|
|
55
|
+
getLimboDisplayData(): LimboDisplayData;
|
|
56
|
+
getDiceDisplayData(): DiceDisplayData;
|
|
57
|
+
getKenoDisplayData(): KenoDisplayData;
|
|
58
|
+
getDiamondsDisplayData(): DiamondsDisplayData;
|
|
59
|
+
getWheelDisplayData(): WheelData;
|
|
60
|
+
getDiceData(): DiceRawData;
|
|
61
|
+
getAdvancedDiceDisplayData(): AdvancedDiceDisplayData;
|
|
62
|
+
getAdvancedDiceRawData(): AdvancedDiceRawData;
|
|
63
|
+
getPlinkoDisplayData(): PlinkoData;
|
|
64
|
+
private _computeRouletteDisplayData;
|
|
65
|
+
getRouletteDisplayData(): RouletteData;
|
|
66
|
+
private _computeBaccaratDisplayData;
|
|
67
|
+
getBaccaratDisplayData(): BaccaratData;
|
|
68
|
+
private _computeBlackjackDisplayData;
|
|
69
|
+
getBlackjackDisplayData(): BlackjackData;
|
|
70
|
+
private _computeBlitzDisplayData;
|
|
71
|
+
getBlitzDisplayData(): BlitzData;
|
|
72
|
+
private _computeBlitzPickCount;
|
|
73
|
+
getBlitzPickCount(): number;
|
|
74
|
+
}
|
|
75
|
+
export {};
|