@betorigami/games 2.10.1 → 2.11.0
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 +30 -0
- package/dist/components/blackjack/BlackjackGame.d.ts +89 -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 +45 -0
- package/dist/components/blackjack/blackjack.icons.d.ts +4 -0
- package/dist/components/blackjack/blackjack.mock.api.d.ts +22 -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 +21123 -2196
- 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 +197 -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 +7 -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 +9 -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 +406 -0
- package/dist/translations/de.json.d.ts +406 -0
- package/dist/translations/dynamic-loader.d.ts +15 -0
- package/dist/translations/en-soc.json.d.ts +406 -0
- package/dist/translations/en.json.d.ts +408 -0
- package/dist/translations/es.json.d.ts +406 -0
- package/dist/translations/fi.json.d.ts +406 -0
- package/dist/translations/fr.json.d.ts +406 -0
- package/dist/translations/hi.json.d.ts +406 -0
- package/dist/translations/id.json.d.ts +406 -0
- package/dist/translations/index.d.ts +6872 -0
- package/dist/translations/ja.json.d.ts +406 -0
- package/dist/translations/ko.json.d.ts +406 -0
- package/dist/translations/language.context.d.ts +9 -0
- package/dist/translations/pl.json.d.ts +406 -0
- package/dist/translations/pt.json.d.ts +406 -0
- package/dist/translations/ru.json.d.ts +406 -0
- package/dist/translations/tr.json.d.ts +406 -0
- package/dist/translations/utils.d.ts +22 -0
- package/dist/translations/vi.json.d.ts +406 -0
- package/dist/translations/zh.json.d.ts +406 -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,25 @@
|
|
|
1
|
+
import { Currency } from '../../../shared/constants';
|
|
2
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
3
|
+
import { Language } from '../../../translations';
|
|
4
|
+
export declare class BlitzManual extends OrigamiElement {
|
|
5
|
+
inputsDisabled: boolean;
|
|
6
|
+
isPlaying: boolean;
|
|
7
|
+
isGameActive: boolean;
|
|
8
|
+
showCardsRemaining: boolean;
|
|
9
|
+
picks: number;
|
|
10
|
+
maxPicks: number;
|
|
11
|
+
minPicks: number;
|
|
12
|
+
cardsRemaining: number;
|
|
13
|
+
edge: number;
|
|
14
|
+
profitOnWin: string;
|
|
15
|
+
betMaxMultiplier: number;
|
|
16
|
+
language: Language;
|
|
17
|
+
currency: Currency;
|
|
18
|
+
private isBetAmountValid;
|
|
19
|
+
private _betAboveBalance;
|
|
20
|
+
private actionButtonEl?;
|
|
21
|
+
static styles: import('lit').CSSResult[];
|
|
22
|
+
triggerPrimaryAction(): void;
|
|
23
|
+
isPrimaryActionDisabled(): boolean;
|
|
24
|
+
render(): import('lit').TemplateResult<1>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { Language } from '../../../translations';
|
|
3
|
+
export declare class BlitzPicksInput extends OrigamiElement {
|
|
4
|
+
picks: number;
|
|
5
|
+
maxPicks: number;
|
|
6
|
+
minPicks: number;
|
|
7
|
+
edge: number;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
language: Language;
|
|
10
|
+
static styles: import('lit').CSSResult[];
|
|
11
|
+
private get pickOptions();
|
|
12
|
+
private updatePicks;
|
|
13
|
+
private get multiplier();
|
|
14
|
+
render(): import('lit').TemplateResult<1>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { AutobetSettingsWithId, GameBetResult, GameComponent } from '../shared/GameComponent';
|
|
2
|
+
export declare class BlitzGame extends GameComponent {
|
|
3
|
+
static styles: import('lit').CSSResult[];
|
|
4
|
+
private picks;
|
|
5
|
+
private isManualPlaying;
|
|
6
|
+
private cardDetails;
|
|
7
|
+
private revealCardIndex;
|
|
8
|
+
private progressActive;
|
|
9
|
+
private gameOutcome;
|
|
10
|
+
private winPopupBet;
|
|
11
|
+
private _blitzManualEl?;
|
|
12
|
+
private _blitzAutoEl?;
|
|
13
|
+
private _blitzContentEl?;
|
|
14
|
+
private readonly getBlitzApi;
|
|
15
|
+
get isToggleDisabled(): boolean;
|
|
16
|
+
get areInputsDisabled(): boolean;
|
|
17
|
+
private get minPicks();
|
|
18
|
+
private get maxPicks();
|
|
19
|
+
constructor();
|
|
20
|
+
private isSpacebarDisabled;
|
|
21
|
+
private arePicksHotkeysDisabled;
|
|
22
|
+
private handleSpacebar;
|
|
23
|
+
private changePicks;
|
|
24
|
+
private handlePicksChange;
|
|
25
|
+
private get multiplier();
|
|
26
|
+
private get profitOnWin();
|
|
27
|
+
private get cardsRemaining();
|
|
28
|
+
private get showCardsRemaining();
|
|
29
|
+
private get progressDurationMs();
|
|
30
|
+
blitzPlay(): Promise<void>;
|
|
31
|
+
private handleBetExecution;
|
|
32
|
+
private revealCardsInstant;
|
|
33
|
+
private revealCards;
|
|
34
|
+
private scheduleIntermediateReveals;
|
|
35
|
+
private completeReveal;
|
|
36
|
+
private revealCard;
|
|
37
|
+
private waitForProgressComplete;
|
|
38
|
+
private prefersReducedMotion;
|
|
39
|
+
private nextAnimationFrame;
|
|
40
|
+
private setRevealOutcome;
|
|
41
|
+
protected executeAutobet(autobetSettings: AutobetSettingsWithId, currentBetAmount: string): Promise<GameBetResult>;
|
|
42
|
+
render(): import('lit').TemplateResult<1>;
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const blitzGameStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BaseStartArgs } from '../../shared/bet.types';
|
|
2
|
+
import { ErrorBetResult, SuccessBetResult } from '../../shared/provider-api/bet-result';
|
|
3
|
+
import { BlitzCardDto } from './blitz.utils';
|
|
4
|
+
export interface BlitzStartArgs extends BaseStartArgs {
|
|
5
|
+
gameInputs: {
|
|
6
|
+
pickCount: number;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export type SuccessBlitzBetResult = SuccessBetResult<number[]> & {
|
|
10
|
+
readonly cards: BlitzCardDto[];
|
|
11
|
+
};
|
|
12
|
+
export type BlitzBetResult = SuccessBlitzBetResult | ErrorBetResult;
|
|
13
|
+
export interface IBlitzApi {
|
|
14
|
+
startBet(data: BlitzStartArgs): Promise<BlitzBetResult>;
|
|
15
|
+
}
|
|
16
|
+
export declare class BlitzApi implements IBlitzApi {
|
|
17
|
+
private readonly authToken;
|
|
18
|
+
private readonly baseUrl;
|
|
19
|
+
constructor(authToken: string, baseUrl: string);
|
|
20
|
+
startBet(data: BlitzStartArgs): Promise<BlitzBetResult>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BlitzBetResult, BlitzStartArgs, IBlitzApi } from './blitz.api';
|
|
2
|
+
export declare class MockBlitzApi implements IBlitzApi {
|
|
3
|
+
private readonly getEdge;
|
|
4
|
+
private readonly getBalance;
|
|
5
|
+
constructor(getEdge: () => number, getBalance: () => number);
|
|
6
|
+
startBet(data: BlitzStartArgs): Promise<BlitzBetResult>;
|
|
7
|
+
private static drawCards;
|
|
8
|
+
private static isValidPicks;
|
|
9
|
+
private static getCardDto;
|
|
10
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { default as Big } from 'big.js';
|
|
2
|
+
import { Card, CardDto } from '@betorigami/game-calculations';
|
|
3
|
+
export declare const BLITZ_DEFAULT_MIN_PICKS: number;
|
|
4
|
+
export declare const BLITZ_DEFAULT_MAX_PICKS: number;
|
|
5
|
+
export declare const BLITZ_DEFAULT_PICKS = 10;
|
|
6
|
+
export declare const BLITZ_CARDS_PER_DECK = 52;
|
|
7
|
+
/** Strip out the numeric value, as it may differ from our representation */
|
|
8
|
+
export type BlitzCardDto = Pick<CardDto, 'rank' | 'suit'>;
|
|
9
|
+
export type BlitzSuit = 'DIAMONDS' | 'HEARTS' | 'SPADES' | 'CLUBS';
|
|
10
|
+
export type BlitzCardValue = 'A' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | 'J' | 'Q' | 'K';
|
|
11
|
+
export interface BlitzCardDetail {
|
|
12
|
+
suit: BlitzSuit;
|
|
13
|
+
value: BlitzCardValue;
|
|
14
|
+
}
|
|
15
|
+
export type BlitzGameOutcome = 'Win' | 'Loss' | null;
|
|
16
|
+
interface RevealProgressArgs {
|
|
17
|
+
totalCards: number;
|
|
18
|
+
revealCardIndex: number;
|
|
19
|
+
}
|
|
20
|
+
export declare class BlitzUtils {
|
|
21
|
+
static readonly revealDuration = 150;
|
|
22
|
+
static readonly delayBeforeComplete = 50;
|
|
23
|
+
static getRevealedCount({ totalCards, revealCardIndex }: RevealProgressArgs): number;
|
|
24
|
+
static getRevealProgressScale({ totalCards, revealCardIndex }: RevealProgressArgs): number;
|
|
25
|
+
static getRevealTargetIndex(cards: readonly BlitzCardDetail[]): number | null;
|
|
26
|
+
static getRevealTargetCount(cards: readonly BlitzCardDetail[]): number;
|
|
27
|
+
static getRevealProgressDurationMs(cards: readonly BlitzCardDetail[], revealDelayMs: number): number;
|
|
28
|
+
/** Ensures pick count is within our min/max limits */
|
|
29
|
+
static clampPickCount(picks: number, min: number, max: number): number;
|
|
30
|
+
static cardKey(card: BlitzCardDetail): string;
|
|
31
|
+
static getCardDetails(card: BlitzCardDto): BlitzCardDetail;
|
|
32
|
+
static toOrigamiCard(card: BlitzCardDetail): Card;
|
|
33
|
+
static getLossIndex(cards: readonly BlitzCardDetail[]): number | null;
|
|
34
|
+
static hasWon(cards: readonly BlitzCardDto[]): boolean;
|
|
35
|
+
static calculateMultiplier(picks: number, edge: number): Big;
|
|
36
|
+
static formatMultiplier(multiplier: Big): string;
|
|
37
|
+
static getMaxPicksForPayout({ minPicks, maxPicks, edge, minBet, maxPayout, }: {
|
|
38
|
+
minPicks: number;
|
|
39
|
+
maxPicks: number;
|
|
40
|
+
edge: number;
|
|
41
|
+
minBet: number | null;
|
|
42
|
+
maxPayout: number | null;
|
|
43
|
+
}): number;
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
@@ -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 DiamondSlot extends OrigamiElement {
|
|
4
|
+
static styles: import('lit').CSSResult[];
|
|
5
|
+
index: number;
|
|
6
|
+
diamondIndex: number | null;
|
|
7
|
+
exiting: boolean;
|
|
8
|
+
dropDelay: string;
|
|
9
|
+
slotColors: {
|
|
10
|
+
placeholder: string;
|
|
11
|
+
bar: string;
|
|
12
|
+
} | null;
|
|
13
|
+
constrainedWidth: boolean;
|
|
14
|
+
gameData?: gameContextType;
|
|
15
|
+
private get gems();
|
|
16
|
+
render(): import('lit').TemplateResult<1>;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const diamondSlotStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { gameContextType } from '../../shared/context/game.context';
|
|
3
|
+
export declare class DiamondsContent extends OrigamiElement {
|
|
4
|
+
static styles: import('lit').CSSResult[];
|
|
5
|
+
gameData: gameContextType;
|
|
6
|
+
isDesktop: boolean;
|
|
7
|
+
isPlaying: boolean;
|
|
8
|
+
resultGems: number[] | null;
|
|
9
|
+
autobetInProgress: boolean;
|
|
10
|
+
instantReveal: boolean;
|
|
11
|
+
private hoveredMultiplierIndex;
|
|
12
|
+
private tooltipBottom;
|
|
13
|
+
private diamondIndices;
|
|
14
|
+
private appearedDiamonds;
|
|
15
|
+
private instantRevealAnimation;
|
|
16
|
+
private exiting;
|
|
17
|
+
private scheduledTimeouts;
|
|
18
|
+
get soundDisabled(): boolean;
|
|
19
|
+
private clearScheduledTasks;
|
|
20
|
+
private resetGemState;
|
|
21
|
+
private startProgressiveReveal;
|
|
22
|
+
onresultGemsChange(prev?: unknown, next?: unknown): void;
|
|
23
|
+
disconnectedCallback(): void;
|
|
24
|
+
private updateTooltipPosition;
|
|
25
|
+
private handleMultiplierHover;
|
|
26
|
+
private handleMultiplierLeave;
|
|
27
|
+
render(): import('lit').TemplateResult<1>;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const diamondsContentStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
export declare class MultiplierItem extends OrigamiElement {
|
|
3
|
+
static styles: import('lit').CSSResult[];
|
|
4
|
+
index: number;
|
|
5
|
+
highlightLevel: number | null;
|
|
6
|
+
diamondIndices: number[];
|
|
7
|
+
appearedDiamonds: boolean[];
|
|
8
|
+
multiplier: number;
|
|
9
|
+
private handleMouseEnter;
|
|
10
|
+
private handleMouseLeave;
|
|
11
|
+
render(): import('lit').TemplateResult<1>;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const diamondsMultiplierItemStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Language } from '../../../translations';
|
|
2
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
3
|
+
import { Currency } from '../../../shared/constants';
|
|
4
|
+
export declare class ProfitTooltip extends OrigamiElement {
|
|
5
|
+
static styles: import('lit').CSSResult[];
|
|
6
|
+
hoveredMultiplierIndex: number | null;
|
|
7
|
+
tooltipBottom: number;
|
|
8
|
+
betAmount: string;
|
|
9
|
+
currencyDecimals: number;
|
|
10
|
+
language: Language;
|
|
11
|
+
multiplier: number;
|
|
12
|
+
currency: Currency;
|
|
13
|
+
render(): import('lit').TemplateResult<1>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const diamondsProfitTooltipStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
export declare class DiamondsSlots extends OrigamiElement {
|
|
3
|
+
static styles: import('lit').CSSResult[];
|
|
4
|
+
diamondIndices: number[] | null;
|
|
5
|
+
slotColors: Array<{
|
|
6
|
+
placeholder: string;
|
|
7
|
+
bar: string;
|
|
8
|
+
} | null>;
|
|
9
|
+
exiting: boolean;
|
|
10
|
+
constrainedWidth: boolean;
|
|
11
|
+
instantRevealAnimation: boolean;
|
|
12
|
+
render(): import('lit').TemplateResult<1>;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const diamondsSlotsStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
export declare class DiamondsAuto extends OrigamiElement {
|
|
3
|
+
static styles: import('lit').CSSResult[];
|
|
4
|
+
inputsDisabled: boolean;
|
|
5
|
+
autobetStopping: boolean;
|
|
6
|
+
readonly autobetInProgress = false;
|
|
7
|
+
betDisabled: boolean;
|
|
8
|
+
isDesktop: boolean;
|
|
9
|
+
betMaxMultiplier: number;
|
|
10
|
+
render(): import('lit').TemplateResult<1>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const diamondsControlsStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { gameContextType } from '../../shared/context/game.context';
|
|
3
|
+
export declare class DiamondsManual extends OrigamiElement {
|
|
4
|
+
isPlaying: boolean;
|
|
5
|
+
betDisabled: boolean;
|
|
6
|
+
inputsDisabled: boolean;
|
|
7
|
+
betMaxMultiplier: number;
|
|
8
|
+
gameData: gameContextType;
|
|
9
|
+
private isBetAmountValid;
|
|
10
|
+
private _betAboveBalance;
|
|
11
|
+
static styles: import('lit').CSSResult[];
|
|
12
|
+
render(): import('lit').TemplateResult<1>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AutobetSettingsWithId, GameBetResult, GameComponent } from '../shared/GameComponent';
|
|
2
|
+
import { DiamondsApi } from './diamonds.api';
|
|
3
|
+
import { MockDiamondsApi } from './diamonds.mock.api';
|
|
4
|
+
export declare class DiamondsGame extends GameComponent {
|
|
5
|
+
static styles: import('lit').CSSResult[];
|
|
6
|
+
private isManualPlaying;
|
|
7
|
+
private resultGems;
|
|
8
|
+
private _diamondsManualEl?;
|
|
9
|
+
private _diamondsAutoEl?;
|
|
10
|
+
constructor();
|
|
11
|
+
get isToggleDisabled(): boolean;
|
|
12
|
+
get diamondsApi(): DiamondsApi | MockDiamondsApi;
|
|
13
|
+
private animationCompletedPromise;
|
|
14
|
+
private handleBetExecution;
|
|
15
|
+
diamondsManualPlay(): Promise<void>;
|
|
16
|
+
protected executeAutobet(autobetSettings: AutobetSettingsWithId, currentBetAmount: string): Promise<GameBetResult>;
|
|
17
|
+
render(): import('lit').TemplateResult<1>;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const diamondsGameStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseStartArgs, StartBetResponse } from '../../shared/bet.types';
|
|
2
|
+
import { Language } from '../../translations';
|
|
3
|
+
export interface DiamondsStartArgs extends BaseStartArgs {
|
|
4
|
+
language: Language;
|
|
5
|
+
}
|
|
6
|
+
export declare class DiamondsApi {
|
|
7
|
+
private authToken;
|
|
8
|
+
private baseUrl;
|
|
9
|
+
constructor(authToken: string, baseUrl: string);
|
|
10
|
+
startBet(data: DiamondsStartArgs): Promise<StartBetResponse>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BetResult } from '../../shared/bet.types';
|
|
2
|
+
import { DiamondsStartArgs } from './diamonds.api';
|
|
3
|
+
import { SupportedEdgePercentages } from '../../shared/constants';
|
|
4
|
+
export declare class MockDiamondsApi {
|
|
5
|
+
private readonly edge;
|
|
6
|
+
constructor(edge: SupportedEdgePercentages);
|
|
7
|
+
startBet(data: DiamondsStartArgs): Promise<{
|
|
8
|
+
success: true;
|
|
9
|
+
data: BetResult;
|
|
10
|
+
}>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
export declare const DIAMOND_REVEAL_DELAY = 300;
|
|
2
|
+
export declare const DIAMOND_EXIT_DELAY = 200;
|
|
3
|
+
/**
|
|
4
|
+
* SVG template for diamond icon in multiplier list
|
|
5
|
+
*/
|
|
6
|
+
export declare const diamondIconSvg: (fill: string, stroke: string) => import('lit').TemplateResult<1>;
|
|
7
|
+
export type DiamondsEdge = 1 | 2 | 3 | 4 | 8;
|
|
8
|
+
/**
|
|
9
|
+
* Multiplier structure for each result type
|
|
10
|
+
*/
|
|
11
|
+
export interface DiamondsMultipliers {
|
|
12
|
+
PAIR: number;
|
|
13
|
+
TWO_PAIR: number;
|
|
14
|
+
THREE_OF_A_KIND: number;
|
|
15
|
+
FULL_HOUSE: number;
|
|
16
|
+
FOUR_OF_A_KIND: number;
|
|
17
|
+
FIVE_OF_A_KIND: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Gets multipliers for a specific edge
|
|
21
|
+
*/
|
|
22
|
+
export declare function getMultipliersForEdge(edge: number): DiamondsMultipliers;
|
|
23
|
+
/**
|
|
24
|
+
* Determines the multiplier based on the result rolls
|
|
25
|
+
*/
|
|
26
|
+
export declare function getMultiplierByResult(edge: number, rolls: number[]): number;
|
|
27
|
+
/**
|
|
28
|
+
* Gets multiplier for a specific level index (0-6)
|
|
29
|
+
* Level 0 = No match, Level 1 = Pair, Level 2 = Two Pair, etc.
|
|
30
|
+
*/
|
|
31
|
+
export declare function getMultiplierForLevel(edge: number, level: number): number;
|
|
32
|
+
/**
|
|
33
|
+
* Gets the maximum multiplier for a given house edge
|
|
34
|
+
*/
|
|
35
|
+
export declare function getBetMaxMultiplier(edge: number): number;
|
|
36
|
+
/**
|
|
37
|
+
* Complete configuration for each level (index = level)
|
|
38
|
+
* Level 0 = No match, Level 6 = Five of a kind
|
|
39
|
+
* Total outcomes: 7^5 = 16,807
|
|
40
|
+
*/
|
|
41
|
+
export declare const LEVEL_CONFIG: {
|
|
42
|
+
winChance: number;
|
|
43
|
+
pattern: {
|
|
44
|
+
filled: boolean;
|
|
45
|
+
outlined: boolean;
|
|
46
|
+
}[];
|
|
47
|
+
}[];
|
|
48
|
+
/**
|
|
49
|
+
* Detailed match information including which specific gem types form the matches
|
|
50
|
+
*/
|
|
51
|
+
export type DiamondMatchInfo = {
|
|
52
|
+
level: number;
|
|
53
|
+
five: number | null;
|
|
54
|
+
four: number | null;
|
|
55
|
+
three: number | null;
|
|
56
|
+
pairs: number[];
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Calculates both the level and detailed match information for diamonds
|
|
60
|
+
*
|
|
61
|
+
* @param gemIndices - Array of gem type indices (0-6)
|
|
62
|
+
* @param appearedMask - Boolean array indicating which gems have appeared
|
|
63
|
+
* @returns Object containing level and matched gem details
|
|
64
|
+
*/
|
|
65
|
+
export declare function calculateDiamondsMatch(gemIndices: number[], appearedMask: boolean[]): DiamondMatchInfo;
|
|
66
|
+
/**
|
|
67
|
+
* Calculates which slots should have color highlights based on matched gems
|
|
68
|
+
*
|
|
69
|
+
* @param gemIndices - Array of gem type indices for each slot
|
|
70
|
+
* @param appearedMask - Boolean array indicating which gems have appeared
|
|
71
|
+
* @returns Array of slot colors (null if no highlight needed)
|
|
72
|
+
*/
|
|
73
|
+
export declare function calculateSlotColors(gemIndices: number[], appearedMask: boolean[]): Array<{
|
|
74
|
+
placeholder: string;
|
|
75
|
+
bar: string;
|
|
76
|
+
} | null>;
|
|
77
|
+
export declare const calculateAllGemRevealPitches: (gemIndices: number[]) => number[];
|
|
78
|
+
/**
|
|
79
|
+
* Creates a diamond icon SVG with specific fill and stroke colors
|
|
80
|
+
*
|
|
81
|
+
* @param filled - Whether the diamond should be filled
|
|
82
|
+
* @param outlined - Whether the diamond should be outlined only
|
|
83
|
+
* @param fillOverride - Optional override for fill color
|
|
84
|
+
* @param strokeOverride - Optional override for stroke color
|
|
85
|
+
* @returns Lit HTML template with diamond icon
|
|
86
|
+
*/
|
|
87
|
+
export declare function getDiamondIcon(filled: boolean, outlined: boolean, fillOverride?: string, strokeOverride?: string): import('lit').TemplateResult<1>;
|
|
88
|
+
/**
|
|
89
|
+
* Gets colors for multiplier level diamonds based on current match
|
|
90
|
+
*
|
|
91
|
+
* @param level - The level (0-6) to get colors for
|
|
92
|
+
* @param gemIndices - Array of gem type indices (0-6)
|
|
93
|
+
* @param appearedMask - Boolean array indicating which gems have appeared
|
|
94
|
+
* @returns Array of 5 diamond colors: { fill?: string, stroke?: string }
|
|
95
|
+
*/
|
|
96
|
+
export declare function getMultiplierDiamondColors(level: number, gemIndices: number[], appearedMask: boolean[]): Array<{
|
|
97
|
+
fill?: string;
|
|
98
|
+
stroke?: string;
|
|
99
|
+
}>;
|
|
100
|
+
export declare function getRevealDelay(index: number, instantReveal: boolean): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const diamondGems: import('lit').TemplateResult<1>[];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { DiceHistory } from '../DiceGame';
|
|
3
|
+
import { DiceDirection } from '../../../shared/calculations/games/dice';
|
|
4
|
+
import { SoundEffectsController } from '../../../controllers/sound/sound-effects.controller';
|
|
5
|
+
import { Language } from '../../../translations';
|
|
6
|
+
export declare class DiceContent extends OrigamiElement {
|
|
7
|
+
static styles: import('lit').CSSResult[];
|
|
8
|
+
selectedValue: number;
|
|
9
|
+
diceDirection: DiceDirection;
|
|
10
|
+
isPlaying: boolean;
|
|
11
|
+
isWin: boolean;
|
|
12
|
+
edge: number;
|
|
13
|
+
resultValue: number | null;
|
|
14
|
+
history: DiceHistory[];
|
|
15
|
+
isDesktop: boolean;
|
|
16
|
+
diceMinMultiplier: number | null;
|
|
17
|
+
language: Language;
|
|
18
|
+
hotkeysOpenEnabled: boolean;
|
|
19
|
+
soundEffects?: SoundEffectsController;
|
|
20
|
+
instantBetEnabled: boolean;
|
|
21
|
+
private renderSlider;
|
|
22
|
+
render(): import('lit').TemplateResult<1>;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const diceContentStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { Language } from '../../../translations';
|
|
3
|
+
import { DiceDirection } from '../../../shared/calculations/games/dice';
|
|
4
|
+
export declare class DiceContentBottom extends OrigamiElement {
|
|
5
|
+
static styles: import('lit').CSSResult[];
|
|
6
|
+
selectedValue: number;
|
|
7
|
+
diceDirection: DiceDirection;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
language: Language;
|
|
10
|
+
edge: 1 | 2 | 3 | 4 | 8;
|
|
11
|
+
diceMinMultiplier: number | null;
|
|
12
|
+
hotkeysOpenEnabled: boolean;
|
|
13
|
+
private _winChanceInputValue;
|
|
14
|
+
private _multiplierInputValue;
|
|
15
|
+
private _rollOverInputValue;
|
|
16
|
+
private _winChanceFocused;
|
|
17
|
+
private _multiplierFocused;
|
|
18
|
+
private _rollOverFocused;
|
|
19
|
+
_previousMultiplierInputValue: string;
|
|
20
|
+
_previousWinChanceInputValue: string;
|
|
21
|
+
set winChanceInputValue(value: string);
|
|
22
|
+
set multiplierInputValue(value: string);
|
|
23
|
+
private getRollRange;
|
|
24
|
+
private emitRollValueValidity;
|
|
25
|
+
setWinChanceValue(value: string): void;
|
|
26
|
+
setMultiplierValue(value: string): void;
|
|
27
|
+
selectedValueChangeHandler(): void;
|
|
28
|
+
render(): import('lit').TemplateResult<1>;
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const diceContentBottomStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
export declare class DiceAuto extends OrigamiElement {
|
|
3
|
+
inputsDisabled: boolean;
|
|
4
|
+
autobetStopping: boolean;
|
|
5
|
+
readonly autobetInProgress = false;
|
|
6
|
+
profitOnWin: string;
|
|
7
|
+
betDisabled: boolean;
|
|
8
|
+
isDesktop: boolean;
|
|
9
|
+
betMaxMultiplier: number;
|
|
10
|
+
private genericAutobetEl?;
|
|
11
|
+
triggerPrimaryAction(): void;
|
|
12
|
+
isPrimaryActionDisabled(): boolean;
|
|
13
|
+
render(): import('lit').TemplateResult<1>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const diceControlsStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { Language } from '../../../translations';
|
|
3
|
+
import { Currency } from '../../../shared/constants';
|
|
4
|
+
export declare class DiceManual extends OrigamiElement {
|
|
5
|
+
isPlaying: boolean;
|
|
6
|
+
profitOnWin: string;
|
|
7
|
+
betDisabled: boolean;
|
|
8
|
+
inputsDisabled: boolean;
|
|
9
|
+
betMaxMultiplier: number;
|
|
10
|
+
language: Language;
|
|
11
|
+
currency: Currency;
|
|
12
|
+
private isBetAmountValid;
|
|
13
|
+
private _betAboveBalance;
|
|
14
|
+
private actionButtonEl?;
|
|
15
|
+
static styles: import('lit').CSSResult[];
|
|
16
|
+
triggerPrimaryAction(): void;
|
|
17
|
+
isPrimaryActionDisabled(): boolean;
|
|
18
|
+
render(): import('lit').TemplateResult<1>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AutobetSettingsWithId, GameBetResult, GameComponent } from '../shared/GameComponent';
|
|
2
|
+
export interface DiceHistory {
|
|
3
|
+
multiplier: number;
|
|
4
|
+
won: boolean;
|
|
5
|
+
id: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class DiceGame extends GameComponent {
|
|
8
|
+
static styles: import('lit').CSSResult[];
|
|
9
|
+
private diceDirection;
|
|
10
|
+
private selectedValue;
|
|
11
|
+
private isManualPlaying;
|
|
12
|
+
private isWin;
|
|
13
|
+
private resultValue;
|
|
14
|
+
private history;
|
|
15
|
+
private _multiplierInputValid;
|
|
16
|
+
private _winChanceInputValid;
|
|
17
|
+
private _rollValueInputValid;
|
|
18
|
+
private _diceManualEl?;
|
|
19
|
+
private _diceAutoEl?;
|
|
20
|
+
get isToggleDisabled(): boolean;
|
|
21
|
+
get areInputsDisabled(): boolean;
|
|
22
|
+
private isSpacebarDisabled;
|
|
23
|
+
private handleSpacebar;
|
|
24
|
+
diceRollOverToggle: () => void;
|
|
25
|
+
constructor();
|
|
26
|
+
private decreaseSlider;
|
|
27
|
+
private increaseSlider;
|
|
28
|
+
private addToHistory;
|
|
29
|
+
private readonly getDiceApi;
|
|
30
|
+
dicePlay(): Promise<void>;
|
|
31
|
+
private handleBetExecution;
|
|
32
|
+
protected executeAutobet(autobetSettings: AutobetSettingsWithId, currentBetAmount: string): Promise<GameBetResult>;
|
|
33
|
+
render(): import('lit').TemplateResult<1>;
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const diceGameStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { SoundEffectsController } from '../../../controllers/sound/sound-effects.controller';
|
|
3
|
+
import { Language } from '../../../translations';
|
|
4
|
+
export declare class DiceSlider extends OrigamiElement {
|
|
5
|
+
static styles: import('lit').CSSResult[];
|
|
6
|
+
step: number;
|
|
7
|
+
isRollLower: boolean;
|
|
8
|
+
value: number;
|
|
9
|
+
clampMin?: number;
|
|
10
|
+
clampMax?: number;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
resultValue: number | null;
|
|
13
|
+
showDice: boolean;
|
|
14
|
+
isWin: boolean;
|
|
15
|
+
inGameDisplay: boolean;
|
|
16
|
+
persistResult: boolean;
|
|
17
|
+
ignoreInstantBet: boolean;
|
|
18
|
+
soundEffects?: SoundEffectsController;
|
|
19
|
+
language: Language;
|
|
20
|
+
instantBetEnabled: boolean;
|
|
21
|
+
private isResultVisible;
|
|
22
|
+
private dimLosingSide;
|
|
23
|
+
private fadeOutTimer?;
|
|
24
|
+
private lastStepValue;
|
|
25
|
+
private lastSoundPlayTime;
|
|
26
|
+
disconnectedCallback(): void;
|
|
27
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
28
|
+
private handleChange;
|
|
29
|
+
private handleFocus;
|
|
30
|
+
render(): import('lit').TemplateResult<1>;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const diceSliderStyles: import('lit').CSSResult;
|