@betorigami/games 3.0.0 → 3.2.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 +1 -1
- package/dist/components/advanced-dice/AdvancedDiceContentBottom/AdvancedDiceContentBottom.d.ts +1 -3
- package/dist/components/advanced-dice/AdvancedDiceControls/AdvancedDiceAuto.d.ts +1 -2
- package/dist/components/advanced-dice/AdvancedDiceControls/AdvancedDiceManual.d.ts +1 -2
- package/dist/components/advanced-dice/AdvancedDiceGame.d.ts +1 -1
- package/dist/components/advanced-dice/AdvancedDiceSlider/AdvancedDiceSlider.d.ts +1 -2
- package/dist/components/advanced-dice/advanced-dice.api.d.ts +1 -2
- package/dist/components/advanced-dice/advanced-dice.constants.d.ts +1 -1
- package/dist/components/advanced-dice/advanced-dice.info.d.ts +2 -0
- package/dist/components/advanced-dice/advanced-dice.mock.api.d.ts +1 -1
- package/dist/components/advanced-dice/advanced-dice.types.d.ts +3 -9
- package/dist/components/advanced-dice/index.d.ts +2 -0
- package/dist/components/baccarat/BaccaratContent/BaccaratContent.d.ts +1 -2
- package/dist/components/baccarat/BaccaratControls/BaccaratAuto.d.ts +1 -2
- package/dist/components/baccarat/BaccaratControls/BaccaratManual.d.ts +1 -2
- package/dist/components/baccarat/BaccaratDisplay/BaccaratDisplay.d.ts +1 -1
- package/dist/components/baccarat/BaccaratGame.d.ts +1 -4
- package/dist/components/baccarat/baccarat.api.d.ts +1 -3
- package/dist/components/baccarat/baccarat.info.d.ts +2 -0
- package/dist/components/baccarat/baccarat.mock.api.d.ts +1 -1
- package/dist/components/baccarat/baccarat.types.d.ts +1 -1
- package/dist/components/baccarat/baccarat.utils.d.ts +1 -1
- package/dist/components/baccarat/index.d.ts +2 -0
- package/dist/components/blackjack/BlackjackContent/BlackjackContent.d.ts +1 -1
- package/dist/components/blackjack/BlackjackControls/BlackjackManual.d.ts +1 -2
- package/dist/components/blackjack/BlackjackGame.d.ts +1 -2
- package/dist/components/blackjack/BlackjackSideBetOnboarding/BlackjackSideBetOnboarding.d.ts +1 -1
- package/dist/components/blackjack/actions/betController.d.ts +1 -1
- package/dist/components/blackjack/blackjack.api.d.ts +1 -2
- package/dist/components/blackjack/blackjack.helpers.d.ts +1 -1
- package/dist/components/blackjack/blackjack.info.d.ts +2 -0
- package/dist/components/blackjack/blackjack.mock.api.d.ts +1 -2
- package/dist/components/blackjack/index.d.ts +2 -0
- package/dist/components/blitz/BlitzContent/BlitzCard.d.ts +1 -1
- package/dist/components/blitz/BlitzContent/BlitzCardContainer.d.ts +1 -1
- package/dist/components/blitz/BlitzContent/BlitzContent.d.ts +1 -1
- package/dist/components/blitz/BlitzControls/BlitzAuto.d.ts +1 -3
- package/dist/components/blitz/BlitzControls/BlitzManual.d.ts +1 -3
- package/dist/components/blitz/BlitzControls/BlitzPicksInput.d.ts +1 -2
- package/dist/components/blitz/BlitzGame.d.ts +1 -1
- package/dist/components/blitz/blitz.api.d.ts +1 -2
- package/dist/components/blitz/blitz.info.d.ts +2 -0
- package/dist/components/blitz/index.d.ts +2 -0
- package/dist/components/diamonds/DiamondsContent/DiamondSlot.d.ts +1 -2
- package/dist/components/diamonds/DiamondsContent/DiamondsContent.d.ts +1 -2
- package/dist/components/diamonds/DiamondsContent/DiamondsMultiplierItem.d.ts +1 -1
- package/dist/components/diamonds/DiamondsContent/DiamondsProfitTooltip.d.ts +1 -3
- package/dist/components/diamonds/DiamondsContent/DiamondsSlots.d.ts +1 -1
- package/dist/components/diamonds/DiamondsControls/DiamondsAuto.d.ts +1 -1
- package/dist/components/diamonds/DiamondsControls/DiamondsManual.d.ts +1 -2
- package/dist/components/diamonds/DiamondsGame.d.ts +1 -1
- package/dist/components/diamonds/diamonds.api.d.ts +1 -2
- package/dist/components/diamonds/diamonds.info.d.ts +2 -0
- package/dist/components/diamonds/diamonds.mock.api.d.ts +1 -2
- package/dist/components/diamonds/index.d.ts +2 -0
- package/dist/components/dice/DiceContent/DiceContent.d.ts +1 -4
- package/dist/components/dice/DiceContentBottom/DiceContentBottom.d.ts +2 -4
- package/dist/components/dice/DiceControls/DiceAuto.d.ts +1 -1
- package/dist/components/dice/DiceControls/DiceManual.d.ts +1 -3
- package/dist/components/dice/DiceGame.d.ts +1 -1
- package/dist/components/dice/DiceSlider/DiceSlider.d.ts +1 -3
- package/dist/components/dice/dice-calculations.d.ts +1 -1
- package/dist/components/dice/dice.api.d.ts +1 -3
- package/dist/components/dice/dice.info.d.ts +2 -0
- package/dist/components/dice/index.d.ts +2 -0
- package/dist/components/keno/KenoContent/KenoContent.d.ts +1 -2
- package/dist/components/keno/KenoContentBottom/KenoContentBottom.d.ts +1 -3
- package/dist/components/keno/KenoControls/KenoAuto.d.ts +1 -3
- package/dist/components/keno/KenoControls/KenoManual.d.ts +1 -3
- package/dist/components/keno/KenoGame.d.ts +1 -2
- package/dist/components/keno/KenoGrid/KenoGrid.d.ts +1 -2
- package/dist/components/keno/KenoTile/KenoTile.d.ts +1 -2
- package/dist/components/keno/index.d.ts +2 -0
- package/dist/components/keno/keno.api.d.ts +1 -3
- package/dist/components/keno/keno.info.d.ts +2 -0
- package/dist/components/keno/keno.mock.api.d.ts +1 -2
- package/dist/components/limbo/LimboContent/LimboContent.d.ts +3 -4
- package/dist/components/limbo/LimboContentBottom/LimboContentBottom.d.ts +2 -3
- package/dist/components/limbo/LimboControls/LimboAuto.d.ts +1 -1
- package/dist/components/limbo/LimboControls/LimboManual.d.ts +1 -3
- package/dist/components/limbo/LimboGame.d.ts +1 -2
- package/dist/components/limbo/Multiplier/LimboMultiplier.d.ts +1 -2
- package/dist/components/limbo/index.d.ts +2 -0
- package/dist/components/limbo/limbo.api.d.ts +1 -2
- package/dist/components/limbo/limbo.info.d.ts +2 -0
- package/dist/components/mines/MinesControls/MinesAuto.d.ts +1 -2
- package/dist/components/mines/MinesControls/MinesManual.d.ts +1 -3
- package/dist/components/mines/MinesGame.d.ts +1 -2
- package/dist/components/mines/MinesGrid/MinesGrid.d.ts +1 -4
- package/dist/components/mines/MinesTile/MinesTile.d.ts +2 -4
- package/dist/components/mines/index.d.ts +2 -0
- package/dist/components/mines/mines.api.d.ts +1 -2
- package/dist/components/mines/mines.info.d.ts +2 -0
- package/dist/components/plinko/PlinkoContent/PlinkoBin/PlinkoBin.d.ts +1 -1
- package/dist/components/plinko/PlinkoContent/PlinkoBins/PlinkoBins.d.ts +2 -2
- package/dist/components/plinko/PlinkoContent/PlinkoContent.d.ts +1 -2
- package/dist/components/plinko/PlinkoControls/PlinkoAuto.d.ts +1 -1
- package/dist/components/plinko/PlinkoControls/PlinkoManual.d.ts +1 -2
- package/dist/components/plinko/PlinkoGame.d.ts +1 -1
- package/dist/components/plinko/PlinkoRowsSelect/PlinkoRiskSelect.d.ts +1 -2
- package/dist/components/plinko/PlinkoRowsSelect/PlinkoRowsSelect.d.ts +1 -2
- package/dist/components/plinko/PlinkoRowsSlider/PlinkoRowsSlider.d.ts +1 -2
- package/dist/components/plinko/index.d.ts +2 -0
- package/dist/components/plinko/plinko-content.utils.d.ts +1 -1
- package/dist/components/plinko/plinko.api.d.ts +1 -2
- package/dist/components/plinko/plinko.constants.d.ts +4 -8
- package/dist/components/plinko/plinko.info.d.ts +2 -0
- package/dist/components/plinko/plinko.mock.api.d.ts +1 -2
- package/dist/components/plinko/plinko.utils.d.ts +1 -1
- package/dist/components/roulette/RouletteAnimator/RouletteAnimator.d.ts +1 -2
- package/dist/components/roulette/RouletteContent/RouletteContent.d.ts +1 -2
- package/dist/components/roulette/RouletteControls/RouletteAuto.d.ts +1 -2
- package/dist/components/roulette/RouletteControls/RouletteManual.d.ts +1 -2
- package/dist/components/roulette/RouletteGame.d.ts +1 -3
- package/dist/components/roulette/RouletteGrid/RouletteGrid.d.ts +1 -1
- package/dist/components/roulette/RouletteTop/RouletteTop.d.ts +1 -2
- package/dist/components/roulette/index.d.ts +2 -0
- package/dist/components/roulette/roulette.api.d.ts +1 -2
- package/dist/components/roulette/roulette.constants.d.ts +2 -2
- package/dist/components/roulette/roulette.info.d.ts +2 -0
- package/dist/components/roulette/roulette.mock.api.d.ts +1 -1
- package/dist/components/roulette/roulette.transformer.d.ts +1 -1
- package/dist/index.d.ts +16 -17
- package/dist/index.mjs +28655 -28438
- package/dist/{components/shared/BetResultModal → legacy}/BetResultDataExtractor.d.ts +4 -7
- package/dist/{components/shared/GameOutcomeDisplay/GameOutcomeDisplay.d.ts → legacy/LegacyGameOutcomeDisplay.d.ts} +9 -17
- package/dist/legacy/legacy-bet-details.d.ts +4 -0
- package/dist/legacy/legacy-ui-module.d.ts +4 -0
- package/package.json +4 -2
- package/dist/components/shared/Alert/Alert.d.ts +0 -27
- package/dist/components/shared/Alert/Alert.styles.d.ts +0 -1
- package/dist/components/shared/AlertManager/AlertManager.d.ts +0 -28
- package/dist/components/shared/AlertManager/AlertManager.styles.d.ts +0 -1
- package/dist/components/shared/BetDetailsComponent/BetDetailsComponent.d.ts +0 -21
- package/dist/components/shared/BetDetailsComponent/BetDetailsComponent.styles.d.ts +0 -1
- package/dist/components/shared/BetResultModal/BetResultModal.d.ts +0 -31
- package/dist/components/shared/BetResultModal/BetResultModal.styles.d.ts +0 -1
- package/dist/components/shared/Button/Button.d.ts +0 -26
- package/dist/components/shared/Button/Button.styles.d.ts +0 -1
- package/dist/components/shared/Button/ButtonGroup.d.ts +0 -5
- package/dist/components/shared/Button/ButtonGroup.styles.d.ts +0 -1
- package/dist/components/shared/ChipStack/ChipStack.d.ts +0 -10
- package/dist/components/shared/ChipStack/ChipStack.styles.d.ts +0 -1
- package/dist/components/shared/ChipTableGameComponent.d.ts +0 -43
- package/dist/components/shared/DepositButton/DepositButton.d.ts +0 -9
- package/dist/components/shared/Drawer/Drawer.d.ts +0 -45
- package/dist/components/shared/Drawer/Drawer.styles.d.ts +0 -1
- package/dist/components/shared/FairnessDetails/FairnessContent.d.ts +0 -47
- package/dist/components/shared/FairnessDetails/FairnessContent.styles.d.ts +0 -1
- package/dist/components/shared/FairnessDetails/FairnessDetails.d.ts +0 -14
- package/dist/components/shared/FairnessDetails/HistoryTable.d.ts +0 -28
- package/dist/components/shared/FairnessDetails/HistoryTable.styles.d.ts +0 -1
- package/dist/components/shared/Footer/Footer.d.ts +0 -20
- package/dist/components/shared/Footer/Footer.styles.d.ts +0 -1
- package/dist/components/shared/GameComponent.d.ts +0 -77
- package/dist/components/shared/GameInfo/GameInfoModal.d.ts +0 -16
- package/dist/components/shared/GameInfo/GameInfoModal.styles.d.ts +0 -1
- package/dist/components/shared/GameInfo/gameInfoConfig.d.ts +0 -27
- package/dist/components/shared/GameLayout/GameLayout.d.ts +0 -51
- package/dist/components/shared/GameLayout/GameLayout.styles.d.ts +0 -1
- package/dist/components/shared/GameOutcomeDisplay/GameOutcomeDisplay.styles.d.ts +0 -1
- package/dist/components/shared/GameProviderWrapper.d.ts +0 -106
- package/dist/components/shared/GameProviderWrapper.styles.d.ts +0 -1
- package/dist/components/shared/GameSidebar/GameSidebar.d.ts +0 -16
- package/dist/components/shared/GameSidebar/GameSidebar.styles.d.ts +0 -1
- package/dist/components/shared/GameWinPopup/GameWinPopup.d.ts +0 -27
- package/dist/components/shared/GameWinPopup/GameWinPopup.styles.d.ts +0 -1
- package/dist/components/shared/GenericAutobet/BetCountInput.d.ts +0 -12
- package/dist/components/shared/GenericAutobet/GenericAutobet.d.ts +0 -52
- package/dist/components/shared/GenericAutobet/GenericAutobet.styles.d.ts +0 -1
- package/dist/components/shared/GenericAutobet/context/autobet.context.d.ts +0 -13
- package/dist/components/shared/HistoryPills/HistoryPills.d.ts +0 -27
- package/dist/components/shared/HistoryPills/HistoryPills.styles.d.ts +0 -1
- package/dist/components/shared/HotkeysModal/HotKeysModal.styles.d.ts +0 -1
- package/dist/components/shared/HotkeysModal/HotkeysModal.d.ts +0 -10
- package/dist/components/shared/Inputs/BetAmountInput/BetAmountInput.d.ts +0 -44
- package/dist/components/shared/Inputs/ChipInput/ChipInput.d.ts +0 -19
- package/dist/components/shared/Inputs/ChipInput/ChipInput.styles.d.ts +0 -1
- package/dist/components/shared/Inputs/ChipInput/chip-input.constants.d.ts +0 -4
- package/dist/components/shared/Inputs/CurrencyInput/RawCurrencyInput.d.ts +0 -36
- package/dist/components/shared/Inputs/CurrencyInput/RawCurrencyInput.styles.d.ts +0 -1
- package/dist/components/shared/Inputs/Input/Input.d.ts +0 -74
- package/dist/components/shared/Inputs/Input/Input.styles.d.ts +0 -1
- package/dist/components/shared/LottieIcon/LottieIcon.d.ts +0 -24
- package/dist/components/shared/Modal/Modal.d.ts +0 -29
- package/dist/components/shared/Modal/Modal.styles.d.ts +0 -1
- package/dist/components/shared/Modal/Portal.d.ts +0 -13
- package/dist/components/shared/ResponsiveModal/ResponsiveModal.d.ts +0 -17
- package/dist/components/shared/ResponsiveModal/ResponsiveModal.styles.d.ts +0 -1
- package/dist/components/shared/Select/Select.d.ts +0 -34
- package/dist/components/shared/Select/Select.styles.d.ts +0 -1
- package/dist/components/shared/Spinner/Spinner.d.ts +0 -5
- package/dist/components/shared/Spinner/Spinner.styles.d.ts +0 -1
- package/dist/components/shared/Switch/Switch.d.ts +0 -11
- package/dist/components/shared/Switch/Switch.styles.d.ts +0 -1
- package/dist/components/shared/Toggle/Toggle.d.ts +0 -15
- package/dist/components/shared/Toggle/Toggle.styles.d.ts +0 -1
- package/dist/components/shared/Tooltip/Tooltip.d.ts +0 -56
- package/dist/components/shared/Tooltip/Tooltip.styles.d.ts +0 -1
- package/dist/components/shared/context/game.context.d.ts +0 -90
- package/dist/components/shared/types/chip.types.d.ts +0 -10
- package/dist/components/wheel/WheelAnimator/WheelAnimator.d.ts +0 -31
- package/dist/components/wheel/WheelAnimator/WheelAnimator.styles.d.ts +0 -1
- package/dist/components/wheel/WheelContentBottom/WheelContentBottom.d.ts +0 -24
- package/dist/components/wheel/WheelContentBottom/WheelContentBottom.styles.d.ts +0 -1
- package/dist/components/wheel/WheelControls/WheelAuto.d.ts +0 -16
- package/dist/components/wheel/WheelControls/WheelControls.styles.d.ts +0 -1
- package/dist/components/wheel/WheelControls/WheelManual.d.ts +0 -16
- package/dist/components/wheel/WheelGame.d.ts +0 -26
- package/dist/components/wheel/WheelGame.styles.d.ts +0 -1
- package/dist/components/wheel/WheelLayout/WheelLayout.d.ts +0 -19
- package/dist/components/wheel/WheelLayout/WheelLayout.styles.d.ts +0 -1
- package/dist/components/wheel/WheelSvg/WheelSvg.d.ts +0 -12
- package/dist/components/wheel/WheelSvg/WheelSvg.styles.d.ts +0 -1
- package/dist/components/wheel/wheel.api.d.ts +0 -11
- package/dist/components/wheel/wheel.constants.d.ts +0 -25
- package/dist/components/wheel/wheel.mock.api.d.ts +0 -10
- package/dist/components/wheel/wheel.multipliers.d.ts +0 -11
- package/dist/components/wheel/wheel.patterns.d.ts +0 -3
- package/dist/components/wheel/wheel.utils.d.ts +0 -41
- package/dist/controllers/bet-result-cache.controller.d.ts +0 -14
- package/dist/controllers/haptics.controller.d.ts +0 -17
- package/dist/controllers/history.controller.d.ts +0 -56
- package/dist/controllers/hotkey.controller.d.ts +0 -30
- package/dist/controllers/sound/sound-definitions.d.ts +0 -24
- package/dist/controllers/sound/sound-effects.controller.d.ts +0 -18
- package/dist/controllers/sound/sound-layer.types.d.ts +0 -45
- package/dist/shared/animation.styles.d.ts +0 -1
- package/dist/shared/async-throttle-queue.d.ts +0 -51
- package/dist/shared/autobet-pacing.d.ts +0 -4
- package/dist/shared/bet.types.d.ts +0 -194
- package/dist/shared/button-feedback.d.ts +0 -13
- package/dist/shared/calculations/games/dice.d.ts +0 -1
- package/dist/shared/calculations/games/keno.d.ts +0 -25
- package/dist/shared/calculations/games/mines.d.ts +0 -7
- package/dist/shared/calculations/utils/big-validation.d.ts +0 -71
- package/dist/shared/calculations/utils/bignumber-max.d.ts +0 -2
- package/dist/shared/calculations/utils/bignumber-min.d.ts +0 -7
- package/dist/shared/calculations/utils/factorial.d.ts +0 -2
- package/dist/shared/calculations/utils/hex-to-bytes.d.ts +0 -1
- package/dist/shared/calculations/utils/ncr.d.ts +0 -2
- package/dist/shared/cards/Card.d.ts +0 -30
- package/dist/shared/cards/Card.styles.d.ts +0 -1
- package/dist/shared/cards/CardStack.d.ts +0 -6
- package/dist/shared/cards/CardStack.styles.d.ts +0 -1
- package/dist/shared/cards/card.constants.d.ts +0 -11
- package/dist/shared/cards/card.types.d.ts +0 -10
- package/dist/shared/cards/card.utils.d.ts +0 -5
- package/dist/shared/chip-state.utils.d.ts +0 -125
- package/dist/shared/chip-state.utils.test.d.ts +0 -1
- package/dist/shared/component.styles.d.ts +0 -1
- package/dist/shared/constants.d.ts +0 -60
- package/dist/shared/create-api-factory.d.ts +0 -10
- package/dist/shared/event-map.d.ts +0 -342
- package/dist/shared/format-monetary-amount.d.ts +0 -7
- package/dist/shared/format-win-chance.d.ts +0 -1
- package/dist/shared/format-win-chance.test.d.ts +0 -1
- package/dist/shared/get-correlation-id.d.ts +0 -5
- package/dist/shared/get-currency-details.d.ts +0 -12
- package/dist/shared/get-currency-details.test.d.ts +0 -1
- package/dist/shared/get-currency-precision.d.ts +0 -2
- package/dist/shared/get-currency-precision.test.d.ts +0 -1
- package/dist/shared/get-currency-symbol-position.d.ts +0 -4
- package/dist/shared/get-currency-symbol-position.test.d.ts +0 -1
- package/dist/shared/get-currency-symbol.d.ts +0 -2
- package/dist/shared/get-currency-symbol.test.d.ts +0 -1
- package/dist/shared/get-game-outcome.d.ts +0 -1
- package/dist/shared/hotkey-helper.d.ts +0 -14
- package/dist/shared/icons/currencies/arsIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/audIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/brlIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/cadIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/chfIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/clpIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/cnyIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/czkIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/dopIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/eurIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/gbpIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/gcIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/gtqIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/hnlIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/hufIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/idrIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/inrIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/jpyIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/krwIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/kztIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/mxnIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/myrIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/ngnIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/nokIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/nzdIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/penIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/phpIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/ronIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/rubIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/scIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/thbIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/tryIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/uahIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/usdIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/uzsIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/vndIcon.d.ts +0 -1
- package/dist/shared/icons/currencies/zarIcon.d.ts +0 -1
- package/dist/shared/icons/get-currency-icon.d.ts +0 -2
- package/dist/shared/icons/get-currency-icon.test.d.ts +0 -1
- package/dist/shared/icons/index.d.ts +0 -1
- package/dist/shared/icons/kenoGemIcon.d.ts +0 -1
- package/dist/shared/icons/minesBombIcon.d.ts +0 -1
- package/dist/shared/icons/minesGemIcon.d.ts +0 -1
- package/dist/shared/mock-bridged-game-service.d.ts +0 -42
- package/dist/shared/mock-rng-generator.d.ts +0 -3
- package/dist/shared/origami-action.type.d.ts +0 -7
- package/dist/shared/origami-element.d.ts +0 -21
- package/dist/shared/primary-input.d.ts +0 -2
- package/dist/shared/provably-fair-verifier.d.ts +0 -28
- package/dist/shared/provider-api/bet-result.d.ts +0 -18
- package/dist/shared/provider-api/error-codes.d.ts +0 -9
- package/dist/shared/sleep.d.ts +0 -1
- package/dist/shared/utils/format-autobet-settings.d.ts +0 -5
- package/dist/shared/utils/prevent-non-numeric-input.d.ts +0 -4
- package/dist/shared/wait-for-event.d.ts +0 -1
- package/dist/shared/watch.d.ts +0 -26
- package/dist/translations/ar.json.d.ts +0 -406
- package/dist/translations/de.json.d.ts +0 -406
- package/dist/translations/dynamic-loader.d.ts +0 -15
- package/dist/translations/en-soc.json.d.ts +0 -406
- package/dist/translations/en.json.d.ts +0 -408
- package/dist/translations/es.json.d.ts +0 -406
- package/dist/translations/fi.json.d.ts +0 -406
- package/dist/translations/fr.json.d.ts +0 -406
- package/dist/translations/hi.json.d.ts +0 -406
- package/dist/translations/id.json.d.ts +0 -406
- package/dist/translations/index.d.ts +0 -6872
- package/dist/translations/ja.json.d.ts +0 -406
- package/dist/translations/ko.json.d.ts +0 -406
- package/dist/translations/language.context.d.ts +0 -9
- package/dist/translations/pl.json.d.ts +0 -406
- package/dist/translations/pt.json.d.ts +0 -406
- package/dist/translations/ru.json.d.ts +0 -406
- package/dist/translations/tr.json.d.ts +0 -406
- package/dist/translations/utils.d.ts +0 -22
- package/dist/translations/vi.json.d.ts +0 -406
- package/dist/translations/zh.json.d.ts +0 -406
- package/dist/utils/active-elements.d.ts +0 -15
- package/dist/utils/animate.d.ts +0 -22
- package/dist/utils/animation-registry.d.ts +0 -24
- package/dist/utils/blur-active-element.d.ts +0 -7
- package/dist/utils/event.d.ts +0 -2
- package/dist/utils/focus-trap.d.ts +0 -24
- package/dist/utils/game-layout-style.d.ts +0 -9
- package/dist/utils/scroll.d.ts +0 -22
- package/dist/utils/slot.controller.d.ts +0 -23
- package/dist/utils/tabbable.d.ts +0 -9
- /package/dist/{shared/async-throttle-queue.test.d.ts → register-games.d.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const responsiveModalStyles: import('lit').CSSResult;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
-
export interface SelectOption<T extends string = string> {
|
|
3
|
-
value: T;
|
|
4
|
-
label: string;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
group?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare class Select extends OrigamiElement {
|
|
9
|
-
static styles: import('lit').CSSResult[];
|
|
10
|
-
private gameData?;
|
|
11
|
-
dir: string;
|
|
12
|
-
label: string;
|
|
13
|
-
options: SelectOption[];
|
|
14
|
-
placeholder: string;
|
|
15
|
-
helperText: string | null;
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
required: boolean;
|
|
18
|
-
defaultValue: string | null;
|
|
19
|
-
id: string;
|
|
20
|
-
name: string;
|
|
21
|
-
error: string;
|
|
22
|
-
size: number | null;
|
|
23
|
-
autoFocus: boolean;
|
|
24
|
-
private _errorMessage;
|
|
25
|
-
value: string;
|
|
26
|
-
private _generatedId;
|
|
27
|
-
get _effectiveId(): string;
|
|
28
|
-
private getGroupedOptions;
|
|
29
|
-
private handleChange;
|
|
30
|
-
private validate;
|
|
31
|
-
private generateOptionElements;
|
|
32
|
-
private renderOption;
|
|
33
|
-
render(): import('lit').TemplateResult<1>;
|
|
34
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const selectStyles: import('lit').CSSResult;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const spinnerStyles: import('lit').CSSResult;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
-
export declare class Switch extends OrigamiElement {
|
|
3
|
-
static styles: import('lit').CSSResult[];
|
|
4
|
-
private gameContext?;
|
|
5
|
-
checked: boolean;
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
label: string;
|
|
8
|
-
private handlePointerDown;
|
|
9
|
-
private handleClick;
|
|
10
|
-
render(): import('lit').TemplateResult<1>;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const switchStyles: import('lit').CSSResult;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
-
export declare class Toggle extends OrigamiElement {
|
|
3
|
-
static styles: import('lit').CSSResult[];
|
|
4
|
-
private gameContext?;
|
|
5
|
-
option1: string;
|
|
6
|
-
option2: string;
|
|
7
|
-
option1Value: string;
|
|
8
|
-
option2Value: string;
|
|
9
|
-
value: string;
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
name: string;
|
|
12
|
-
private handlePointerDown;
|
|
13
|
-
private handleOptionClick;
|
|
14
|
-
render(): import('lit').TemplateResult<1>;
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const toggleStyles: import('lit').CSSResult;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export type TooltipPosition = 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end';
|
|
3
|
-
export type TooltipTrigger = 'hover' | 'click' | 'focus' | 'manual';
|
|
4
|
-
export declare class Tooltip extends LitElement {
|
|
5
|
-
static styles: import('lit').CSSResult[];
|
|
6
|
-
content: string;
|
|
7
|
-
position: TooltipPosition;
|
|
8
|
-
trigger: TooltipTrigger[];
|
|
9
|
-
arrow: boolean;
|
|
10
|
-
open: boolean;
|
|
11
|
-
disabled: boolean;
|
|
12
|
-
offset: number;
|
|
13
|
-
edgePadding: number;
|
|
14
|
-
delay: number;
|
|
15
|
-
hideDelay: number;
|
|
16
|
-
fullWidth: boolean;
|
|
17
|
-
inline: boolean;
|
|
18
|
-
private tooltipRef;
|
|
19
|
-
private triggerRef;
|
|
20
|
-
private static nextId;
|
|
21
|
-
private readonly tooltipId;
|
|
22
|
-
boundarySelector: string;
|
|
23
|
-
private showTimeout;
|
|
24
|
-
private hideTimeout;
|
|
25
|
-
private scrollTimeout;
|
|
26
|
-
private clickOutsideHandler;
|
|
27
|
-
private keydownHandler;
|
|
28
|
-
private scrollHandler;
|
|
29
|
-
private resizeHandler;
|
|
30
|
-
private debounceTime;
|
|
31
|
-
private triggerSlot;
|
|
32
|
-
disconnectedCallback(): void;
|
|
33
|
-
onOpenChange(): void;
|
|
34
|
-
onDisabledChange(): void;
|
|
35
|
-
onPositionChange(): void;
|
|
36
|
-
onBoundaryChange(): void;
|
|
37
|
-
private addEventListeners;
|
|
38
|
-
private removeEventListeners;
|
|
39
|
-
private hasTrigger;
|
|
40
|
-
private handleScroll;
|
|
41
|
-
private handleResize;
|
|
42
|
-
private clearTimeouts;
|
|
43
|
-
private show;
|
|
44
|
-
private hide;
|
|
45
|
-
private showTooltip;
|
|
46
|
-
private hideTooltip;
|
|
47
|
-
private updatePosition;
|
|
48
|
-
private handleMouseEnter;
|
|
49
|
-
private handleMouseLeave;
|
|
50
|
-
private handleFocus;
|
|
51
|
-
private handleBlur;
|
|
52
|
-
private handleClick;
|
|
53
|
-
private handleClickOutside;
|
|
54
|
-
private handleKeyDown;
|
|
55
|
-
render(): import('lit').TemplateResult<1>;
|
|
56
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const tooltipStyles: import('lit').CSSResult;
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { default as Big } from 'big.js';
|
|
2
|
-
import { HapticsController } from '../../../controllers/haptics.controller';
|
|
3
|
-
import { HistoryController } from '../../../controllers/history.controller';
|
|
4
|
-
import { SoundEffectsController } from '../../../controllers/sound/sound-effects.controller';
|
|
5
|
-
import { SupportedEdgePercentages, Currency } from '../../../shared/constants';
|
|
6
|
-
import { Language } from '../../../translations';
|
|
7
|
-
export type gameContextType = {
|
|
8
|
-
betAmount: string;
|
|
9
|
-
updateBetAmount: (newAmount: Big) => void;
|
|
10
|
-
updateBalance: (newAmount: Big) => void;
|
|
11
|
-
currency: Currency;
|
|
12
|
-
currencyDecimals: number;
|
|
13
|
-
showCurrencyAsText: boolean;
|
|
14
|
-
balance: number;
|
|
15
|
-
scale: number;
|
|
16
|
-
baseUrl: string;
|
|
17
|
-
authToken: string;
|
|
18
|
-
publicKey: string;
|
|
19
|
-
hotkeysOpenEnabled: boolean;
|
|
20
|
-
showMaxBetButton: boolean;
|
|
21
|
-
volume: number;
|
|
22
|
-
instantBetEnabled: boolean;
|
|
23
|
-
mainWidth: number;
|
|
24
|
-
updateMainWidth: (width: number) => void;
|
|
25
|
-
updateHotkeysOpenEnabled: (enabled: boolean) => void;
|
|
26
|
-
updateShowMaxBetButton: (enabled: boolean) => void;
|
|
27
|
-
updateVolume: (volume: number) => void;
|
|
28
|
-
updateInstantBetEnabled: (enabled: boolean) => void;
|
|
29
|
-
language: Language;
|
|
30
|
-
autobetNumberOfBets: number;
|
|
31
|
-
updateAutobetNumberOfBets: (numberOfBets: number) => void;
|
|
32
|
-
soundEffects?: SoundEffectsController;
|
|
33
|
-
historyController?: HistoryController;
|
|
34
|
-
haptics?: HapticsController;
|
|
35
|
-
lobbyUrl: string;
|
|
36
|
-
depositUrl?: string;
|
|
37
|
-
hasLoadedBalance: boolean;
|
|
38
|
-
maxPayout: number | null;
|
|
39
|
-
minBet: number | null;
|
|
40
|
-
maxBet: number | null;
|
|
41
|
-
edge: SupportedEdgePercentages;
|
|
42
|
-
footerPosition: 'ABOVE' | 'BELOW';
|
|
43
|
-
logoUrl: string | null;
|
|
44
|
-
alwaysEnableMaxBetButton: boolean;
|
|
45
|
-
gcCurrencyIconSvgUrl: string | null;
|
|
46
|
-
scCurrencyIconSvgUrl: string | null;
|
|
47
|
-
customMinesBackgroundSvgUrl: string | null;
|
|
48
|
-
customMinesGemSvgUrl: string | null;
|
|
49
|
-
customMinesBombSvgUrl: string | null;
|
|
50
|
-
customMinesTileSvgUrl: string | null;
|
|
51
|
-
customMinesAutobetSelectedTileSvgUrl: string | null;
|
|
52
|
-
customKenoBackgroundSvgUrl: string | null;
|
|
53
|
-
customKenoGemSvgUrl: string | null;
|
|
54
|
-
customKenoNonMatchTileSvgUrl: string | null;
|
|
55
|
-
customKenoTileSvgUrl: string | null;
|
|
56
|
-
customKenoSelectedTileSvgUrl: string | null;
|
|
57
|
-
customRouletteBackgroundSvgUrl: string | null;
|
|
58
|
-
roulettePreventOppositeBets: boolean;
|
|
59
|
-
customDiceBackgroundSvgUrl: string | null;
|
|
60
|
-
diceMinMultiplier: number | null;
|
|
61
|
-
advancedDiceMinMultiplier: number | null;
|
|
62
|
-
customAdvancedDiceBackgroundSvgUrl: string | null;
|
|
63
|
-
customPlinkoBackgroundSvgUrl: string | null;
|
|
64
|
-
customPlinkoEdgeColor: string | null;
|
|
65
|
-
customPlinkoCenterColor: string | null;
|
|
66
|
-
customBaccaratBackgroundSvgUrl: string | null;
|
|
67
|
-
baccaratPreventOppositeBets: boolean;
|
|
68
|
-
customLimboBackgroundSvgUrl: string | null;
|
|
69
|
-
customWheelBackgroundSvgUrl: string | null;
|
|
70
|
-
customWheelCenterSvgUrl: string | null;
|
|
71
|
-
customWheelCenterPadding: number | null;
|
|
72
|
-
customDiamondsBackgroundSvgUrl: string | null;
|
|
73
|
-
customBlackjackBackgroundSvgUrl: string | null;
|
|
74
|
-
customBlitzBackgroundSvgUrl: string | null;
|
|
75
|
-
blitzMinPickCount: number | null;
|
|
76
|
-
blitzMaxPickCount: number | null;
|
|
77
|
-
customCardBackSvgUrl: string | null;
|
|
78
|
-
customCardRedColor: string | null;
|
|
79
|
-
customCardBlackColor: string | null;
|
|
80
|
-
customFooterLobbySvgUrl: string | null;
|
|
81
|
-
customFooterVolumeSvgUrl: string | null;
|
|
82
|
-
customFooterGameInfoSvgUrl: string | null;
|
|
83
|
-
customFooterInstantBetSvgUrl: string | null;
|
|
84
|
-
customFooterHotkeysSvgUrl: string | null;
|
|
85
|
-
customFooterProvablyFairSvgUrl: string | null;
|
|
86
|
-
};
|
|
87
|
-
export declare const DEFAULT_GAME_CONTEXT: gameContextType;
|
|
88
|
-
export declare const gameContext: {
|
|
89
|
-
__context__: gameContextType;
|
|
90
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type ChipTheme = 'gold' | 'cyan' | 'green' | 'blue' | 'purple' | 'red';
|
|
2
|
-
export interface ChipConfig {
|
|
3
|
-
label: string;
|
|
4
|
-
theme: ChipTheme;
|
|
5
|
-
}
|
|
6
|
-
export declare const themeToColors: Record<ChipTheme, {
|
|
7
|
-
outer: string;
|
|
8
|
-
inner: string;
|
|
9
|
-
ring: string;
|
|
10
|
-
}>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
-
import { gameContextType } from '../../shared/context/game.context';
|
|
3
|
-
import { WheelRiskLevel, WheelSegments } from '../wheel.constants';
|
|
4
|
-
export declare class WheelAnimator extends OrigamiElement {
|
|
5
|
-
static styles: import('lit').CSSResult[];
|
|
6
|
-
isPlaying: boolean;
|
|
7
|
-
staticDisplay: boolean;
|
|
8
|
-
ignoreInstantBet: boolean;
|
|
9
|
-
risk: WheelRiskLevel;
|
|
10
|
-
segments: WheelSegments;
|
|
11
|
-
targetAngle: number | null;
|
|
12
|
-
resultSegment: number | null;
|
|
13
|
-
hoveredSegments: number[];
|
|
14
|
-
gameData?: gameContextType;
|
|
15
|
-
private _angle;
|
|
16
|
-
private _rafId;
|
|
17
|
-
private _decelerationOffsets;
|
|
18
|
-
private _currentDecelerationFrame;
|
|
19
|
-
private _decelerationStartAngle;
|
|
20
|
-
private _wheelEl?;
|
|
21
|
-
protected firstUpdated(): void;
|
|
22
|
-
get _isInstantBet(): boolean;
|
|
23
|
-
get _highlightedSegments(): number[];
|
|
24
|
-
handleTargetAngleChange(): void;
|
|
25
|
-
handleIsPlayingChange(): void;
|
|
26
|
-
private _startLoop;
|
|
27
|
-
private _stopLoop;
|
|
28
|
-
private _updateTransform;
|
|
29
|
-
disconnectedCallback(): void;
|
|
30
|
-
render(): import('lit').TemplateResult<1>;
|
|
31
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const wheelAnimatorStyles: import('lit').CSSResult;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
-
import { WheelRiskLevel, WheelSegments } from '../wheel.constants';
|
|
3
|
-
import { gameContextType } from '../../shared/context/game.context';
|
|
4
|
-
export declare class WheelContentBottom extends OrigamiElement {
|
|
5
|
-
static styles: import('lit').CSSResult[];
|
|
6
|
-
isDesktop: boolean;
|
|
7
|
-
risk: WheelRiskLevel;
|
|
8
|
-
segments: WheelSegments;
|
|
9
|
-
resultSegment: number | null;
|
|
10
|
-
private hoveredTileIndex;
|
|
11
|
-
gameData?: gameContextType;
|
|
12
|
-
private get edge();
|
|
13
|
-
private get multipliers();
|
|
14
|
-
private get wheelMultipliers();
|
|
15
|
-
private get tiles();
|
|
16
|
-
private getActiveTileIndexFromSegment;
|
|
17
|
-
private getSegmentsForMultiplier;
|
|
18
|
-
private get activeTileIndex();
|
|
19
|
-
private handleTileMouseEnter;
|
|
20
|
-
private handleTileMouseLeave;
|
|
21
|
-
private formatProfit;
|
|
22
|
-
private formatChance;
|
|
23
|
-
render(): import('lit').TemplateResult<1>;
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const wheelContentBottomStyles: import('lit').CSSResult;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
-
import { gameContextType } from '../../shared/context/game.context';
|
|
3
|
-
import { WheelRiskLevel } from '../wheel.constants';
|
|
4
|
-
export declare class WheelAuto extends OrigamiElement {
|
|
5
|
-
static styles: import('lit').CSSResult[];
|
|
6
|
-
inputsDisabled: boolean;
|
|
7
|
-
autobetStopping: boolean;
|
|
8
|
-
readonly autobetInProgress = false;
|
|
9
|
-
betDisabled: boolean;
|
|
10
|
-
isDesktop: boolean;
|
|
11
|
-
risk: WheelRiskLevel;
|
|
12
|
-
segments: number;
|
|
13
|
-
betMaxMultiplier: number;
|
|
14
|
-
gameData?: gameContextType;
|
|
15
|
-
render(): import('lit').TemplateResult<1>;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const wheelControlsStyles: import('lit').CSSResult;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
-
import { gameContextType } from '../../shared/context/game.context';
|
|
3
|
-
import { WheelRiskLevel } from '../wheel.constants';
|
|
4
|
-
export declare class WheelManual extends OrigamiElement {
|
|
5
|
-
isPlaying: boolean;
|
|
6
|
-
betDisabled: boolean;
|
|
7
|
-
inputsDisabled: boolean;
|
|
8
|
-
risk: WheelRiskLevel;
|
|
9
|
-
segments: number;
|
|
10
|
-
betMaxMultiplier: number;
|
|
11
|
-
gameData: gameContextType;
|
|
12
|
-
private isBetAmountValid;
|
|
13
|
-
private _betAboveBalance;
|
|
14
|
-
static styles: import('lit').CSSResult[];
|
|
15
|
-
render(): import('lit').TemplateResult<1>;
|
|
16
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { AutobetSettingsWithId, GameBetResult, GameComponent } from '../shared/GameComponent';
|
|
2
|
-
import { WheelApi } from './wheel.api';
|
|
3
|
-
import { MockWheelApi } from './wheel.mock.api';
|
|
4
|
-
export declare class WheelGame extends GameComponent {
|
|
5
|
-
static styles: import('lit').CSSResult[];
|
|
6
|
-
private isManualPlaying;
|
|
7
|
-
private history;
|
|
8
|
-
private wheelRisk;
|
|
9
|
-
private numberOfSegments;
|
|
10
|
-
private targetAngle;
|
|
11
|
-
private resultSegment;
|
|
12
|
-
private isWheelSpinning;
|
|
13
|
-
private _wheelManualEl?;
|
|
14
|
-
private _wheelAutoEl?;
|
|
15
|
-
constructor();
|
|
16
|
-
private handleWheelRiskChange;
|
|
17
|
-
private handleWheelSegmentsChange;
|
|
18
|
-
get wheelApi(): WheelApi | MockWheelApi;
|
|
19
|
-
get isToggleDisabled(): boolean;
|
|
20
|
-
get areInputsDisabled(): boolean;
|
|
21
|
-
private wheelSpinCompletedPromise;
|
|
22
|
-
private handleBetExecution;
|
|
23
|
-
wheelPlay(): Promise<void>;
|
|
24
|
-
protected executeAutobet(autobetSettings: AutobetSettingsWithId, currentBetAmount: string): Promise<GameBetResult>;
|
|
25
|
-
render(): import('lit').TemplateResult<1>;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const wheelGameStyles: import('lit').CSSResult;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
-
import { WheelRiskLevel, WheelSegments } from '../wheel.constants';
|
|
3
|
-
export declare class WheelLayout extends OrigamiElement {
|
|
4
|
-
static styles: import('lit').CSSResult[];
|
|
5
|
-
isDesktop: boolean;
|
|
6
|
-
isPlaying: boolean;
|
|
7
|
-
history: Array<{
|
|
8
|
-
multiplier: number;
|
|
9
|
-
won: boolean;
|
|
10
|
-
id: string;
|
|
11
|
-
}>;
|
|
12
|
-
risk: WheelRiskLevel;
|
|
13
|
-
segments: WheelSegments;
|
|
14
|
-
targetAngle: number | null;
|
|
15
|
-
resultSegment: number | null;
|
|
16
|
-
private hoveredSegments;
|
|
17
|
-
private handleMultiplierHover;
|
|
18
|
-
render(): import('lit').TemplateResult<1>;
|
|
19
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const wheelLayoutStyles: import('lit').CSSResult;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
-
import { WheelRiskLevel, WheelSegments } from '../wheel.constants';
|
|
3
|
-
import { gameContextType } from '../../shared/context/game.context';
|
|
4
|
-
export declare class WheelSvg extends OrigamiElement {
|
|
5
|
-
static styles: import('lit').CSSResult[];
|
|
6
|
-
risk: WheelRiskLevel;
|
|
7
|
-
segments: WheelSegments;
|
|
8
|
-
highlightedSegments: number[];
|
|
9
|
-
gameData?: gameContextType;
|
|
10
|
-
private generateWheelPaths;
|
|
11
|
-
render(): import('lit').TemplateResult<2>;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const wheelSvgStyles: import('lit').CSSResult;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseStartArgs, StartBetResponse, WheelStartAction } from '../../shared/bet.types';
|
|
2
|
-
import { Language } from '../../translations';
|
|
3
|
-
export interface WheelStartArgs extends BaseStartArgs {
|
|
4
|
-
language: Language;
|
|
5
|
-
}
|
|
6
|
-
export declare class WheelApi {
|
|
7
|
-
private authToken;
|
|
8
|
-
private baseUrl;
|
|
9
|
-
constructor(authToken: string, baseUrl: string);
|
|
10
|
-
startBet(data: WheelStartArgs & WheelStartAction): Promise<StartBetResponse>;
|
|
11
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare enum WheelRiskLevel {
|
|
2
|
-
LOW_RISK = "LOW_RISK",
|
|
3
|
-
MEDIUM_RISK = "MEDIUM_RISK",
|
|
4
|
-
HIGH_RISK = "HIGH_RISK"
|
|
5
|
-
}
|
|
6
|
-
export declare enum WheelSegments {
|
|
7
|
-
TEN = 10,
|
|
8
|
-
TWENTY = 20,
|
|
9
|
-
THIRTY = 30,
|
|
10
|
-
FORTY = 40,
|
|
11
|
-
FIFTY = 50
|
|
12
|
-
}
|
|
13
|
-
export declare const WHEEL_COLORS: {
|
|
14
|
-
readonly BLACK: "var(--wheel-color-black)";
|
|
15
|
-
readonly GREEN: "var(--wheel-color-green)";
|
|
16
|
-
readonly YELLOW: "var(--wheel-color-yellow)";
|
|
17
|
-
readonly RED: "var(--wheel-color-red)";
|
|
18
|
-
readonly BLUE: "var(--wheel-color-blue)";
|
|
19
|
-
readonly PURPLE: "var(--wheel-color-purple)";
|
|
20
|
-
};
|
|
21
|
-
export declare const LETTER_COLORS: Record<string, string>;
|
|
22
|
-
export declare const WHEEL_DEGREES_PER_FRAME = 9;
|
|
23
|
-
export declare const WHEEL_DECAY_CONSTANT = 0.08;
|
|
24
|
-
export declare const WHEEL_DECAY_CONSTANT_INSTANT = 0.8;
|
|
25
|
-
export declare const SPIN_COMPLETE_TIMEOUT_MS = 10000;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BetResult, WheelStartAction } from '../../shared/bet.types';
|
|
2
|
-
import { WheelStartArgs } from './wheel.api';
|
|
3
|
-
export declare class MockWheelApi {
|
|
4
|
-
private readonly edge;
|
|
5
|
-
constructor(edge: number);
|
|
6
|
-
startBet(data: WheelStartArgs & WheelStartAction): Promise<{
|
|
7
|
-
success: true;
|
|
8
|
-
data: BetResult;
|
|
9
|
-
}>;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { WheelRiskLevel, WheelSegments } from './wheel.constants';
|
|
2
|
-
export type SlotValues = Record<string, number>;
|
|
3
|
-
export declare const rtp99Multipliers: Record<WheelRiskLevel, Record<WheelSegments, SlotValues>>;
|
|
4
|
-
export declare const rtp98Multipliers: Record<WheelRiskLevel, Record<WheelSegments, SlotValues>>;
|
|
5
|
-
export declare const rtp97Multipliers: Record<WheelRiskLevel, Record<WheelSegments, SlotValues>>;
|
|
6
|
-
export declare const rtp96Multipliers: Record<WheelRiskLevel, Record<WheelSegments, SlotValues>>;
|
|
7
|
-
export declare const rtp92Multipliers: Record<WheelRiskLevel, Record<WheelSegments, SlotValues>>;
|
|
8
|
-
export declare const wheelMultipliers: Map<number, Record<WheelRiskLevel, Record<WheelSegments, SlotValues>>>;
|
|
9
|
-
export declare function getMultipliersForEdge(edge: number): Record<WheelRiskLevel, Record<WheelSegments, SlotValues>>;
|
|
10
|
-
export declare function getSegmentPattern(segments: WheelSegments, risk: WheelRiskLevel): string[];
|
|
11
|
-
export declare function getColorForPattern(letter: string): string;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Static utility class for wheel animation calculations and helpers.
|
|
3
|
-
* All methods are static and pure for easy testing.
|
|
4
|
-
*/
|
|
5
|
-
export declare class WheelUtils {
|
|
6
|
-
/**
|
|
7
|
-
* Calculate exact target angle for a segment with pseudorandom position
|
|
8
|
-
* @param segmentIndex - Index of winning segment (0-based)
|
|
9
|
-
* @param totalSegments - Total number of segments
|
|
10
|
-
* @param betId - UUID to seed random position
|
|
11
|
-
* @returns Target angle in degrees (0-360)
|
|
12
|
-
*/
|
|
13
|
-
static calculateTargetAngle(segmentIndex: number, totalSegments: number, betId: string): number;
|
|
14
|
-
/**
|
|
15
|
-
* Generate deceleration frame offsets using exponential decay
|
|
16
|
-
* Uses the physics formula: v(t) = v₀ × e^(-k×t)
|
|
17
|
-
*
|
|
18
|
-
* @param initialVelocityDpf - Initial velocity in degrees per frame
|
|
19
|
-
* @param decayConstant - Decay rate constant k (higher = faster decay)
|
|
20
|
-
* @returns Array of position offsets from deceleration start point
|
|
21
|
-
* - Total distance is the last element
|
|
22
|
-
* - Number of frames emerges naturally from the decay
|
|
23
|
-
*/
|
|
24
|
-
static generateDecelerationOffsets(initialVelocityDpf: number, decayConstant: number): number[];
|
|
25
|
-
/**
|
|
26
|
-
* Calculate the angle where deceleration should start
|
|
27
|
-
* @param currentAngle - Current wheel angle
|
|
28
|
-
* @param targetAngle - Final target angle
|
|
29
|
-
* @param decelerationDistance - Total degrees to decelerate over
|
|
30
|
-
* @returns Angle at which to start decelerating
|
|
31
|
-
*/
|
|
32
|
-
static calculateDecelerationStartAngle(currentAngle: number, targetAngle: number, decelerationDistance: number): number;
|
|
33
|
-
/**
|
|
34
|
-
* Hash UUID to get pseudorandom offset within a segment
|
|
35
|
-
* @param uuid - Bet ID (UUID)
|
|
36
|
-
* @param segmentSizeDegrees - Size of segment in degrees
|
|
37
|
-
* @returns Offset in degrees within the segment (0 to segmentSizeDegrees)
|
|
38
|
-
* @private Internal helper method
|
|
39
|
-
*/
|
|
40
|
-
private static hashUuidToSegmentOffset;
|
|
41
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BetResult } from '../shared/bet.types';
|
|
2
|
-
export declare class BetResultCacheController {
|
|
3
|
-
private static instance;
|
|
4
|
-
private cache;
|
|
5
|
-
private pendingRequests;
|
|
6
|
-
private readonly maxCacheSize;
|
|
7
|
-
private readonly cacheExpirationMs;
|
|
8
|
-
static getInstance(): BetResultCacheController;
|
|
9
|
-
fetchBetResult(betId: string, baseUrl: string): Promise<BetResult | null>;
|
|
10
|
-
private performFetch;
|
|
11
|
-
private getFromCache;
|
|
12
|
-
private addToCache;
|
|
13
|
-
preloadBetResult(betId: string, baseUrl: string): void;
|
|
14
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
interface GameHost {
|
|
2
|
-
addController(controller: unknown): void;
|
|
3
|
-
}
|
|
4
|
-
export declare class HapticsController {
|
|
5
|
-
private destroyed;
|
|
6
|
-
private haptics;
|
|
7
|
-
constructor(host: GameHost);
|
|
8
|
-
private createHaptics;
|
|
9
|
-
private trigger;
|
|
10
|
-
destroy(): void;
|
|
11
|
-
tap(): void;
|
|
12
|
-
gemReveal(pitch: number): void;
|
|
13
|
-
minesGemReveal(pitch: number): void;
|
|
14
|
-
bombImpact(): void;
|
|
15
|
-
winCelebration(): void;
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { gameContextType } from '../components/shared/context/game.context';
|
|
2
|
-
import { Currency } from '../shared/constants';
|
|
3
|
-
export interface HistoryItem {
|
|
4
|
-
id: string;
|
|
5
|
-
fullId: string;
|
|
6
|
-
timestamp: string;
|
|
7
|
-
currency: string;
|
|
8
|
-
bet: number;
|
|
9
|
-
win: number;
|
|
10
|
-
}
|
|
11
|
-
interface GameHost {
|
|
12
|
-
gameData: gameContextType;
|
|
13
|
-
addController(controller: any): void;
|
|
14
|
-
}
|
|
15
|
-
export type NewBetItem = {
|
|
16
|
-
readonly id: string;
|
|
17
|
-
readonly amount: string | number;
|
|
18
|
-
readonly payout: string | number | null;
|
|
19
|
-
};
|
|
20
|
-
export type NewHistoryItem = NewBetItem & {
|
|
21
|
-
readonly currency: Currency;
|
|
22
|
-
};
|
|
23
|
-
export declare class HistoryController extends EventTarget {
|
|
24
|
-
private host;
|
|
25
|
-
private _historyData;
|
|
26
|
-
private _hasData;
|
|
27
|
-
private _isInitialized;
|
|
28
|
-
private _hasNextPage;
|
|
29
|
-
private _initialLoadSize;
|
|
30
|
-
private _hasLoadedMore;
|
|
31
|
-
private _clientSeed;
|
|
32
|
-
private _hasLoadedClientSeed;
|
|
33
|
-
constructor(host: GameHost);
|
|
34
|
-
get historyData(): HistoryItem[];
|
|
35
|
-
get hasData(): boolean | null;
|
|
36
|
-
get isInitialized(): boolean;
|
|
37
|
-
get hasNextPage(): boolean;
|
|
38
|
-
get clientSeed(): string | null;
|
|
39
|
-
get hasLoadedClientSeed(): boolean;
|
|
40
|
-
private notifyDataChanged;
|
|
41
|
-
private notifyClientSeedChanged;
|
|
42
|
-
private preloadHistory;
|
|
43
|
-
fetchHistory(beforeId?: string, numberToFetch?: number): Promise<{
|
|
44
|
-
historyData: HistoryItem[];
|
|
45
|
-
hasNextPage: boolean;
|
|
46
|
-
}>;
|
|
47
|
-
refreshHistory(preserveLoadedMore?: boolean): Promise<void>;
|
|
48
|
-
loadMore(): Promise<{
|
|
49
|
-
historyData: HistoryItem[];
|
|
50
|
-
hasNextPage: boolean;
|
|
51
|
-
}>;
|
|
52
|
-
addNewBet(betResult: NewHistoryItem): void;
|
|
53
|
-
loadClientSeed(): Promise<void>;
|
|
54
|
-
updateClientSeed(newSeed: string): void;
|
|
55
|
-
}
|
|
56
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { default as OrigamiElement } from '../shared/origami-element';
|
|
2
|
-
export interface HotkeyOptions {
|
|
3
|
-
repeat?: boolean;
|
|
4
|
-
repeatInterval?: number;
|
|
5
|
-
disabled?: () => boolean;
|
|
6
|
-
}
|
|
7
|
-
export type HotkeyCallback = (event?: KeyboardEvent) => void;
|
|
8
|
-
export interface HotkeyDefinition {
|
|
9
|
-
key: string;
|
|
10
|
-
callback: HotkeyCallback;
|
|
11
|
-
options?: HotkeyOptions;
|
|
12
|
-
}
|
|
13
|
-
export declare class HotkeyController {
|
|
14
|
-
private host;
|
|
15
|
-
private handlers;
|
|
16
|
-
private repeating;
|
|
17
|
-
private repeatTimer;
|
|
18
|
-
private readonly DEFAULT_REPEAT_INTERVAL;
|
|
19
|
-
constructor(host: OrigamiElement, initialHotkeys?: HotkeyDefinition[]);
|
|
20
|
-
hostConnected(): void;
|
|
21
|
-
hostDisconnected(): void;
|
|
22
|
-
private _clearRepeatTimer;
|
|
23
|
-
private isInputCurrentlyFocused;
|
|
24
|
-
private checkForOpenModals;
|
|
25
|
-
private shouldSkipAction;
|
|
26
|
-
private _onKeyDown;
|
|
27
|
-
private _onKeyUp;
|
|
28
|
-
private _startRepeating;
|
|
29
|
-
register(key: string, callback: HotkeyCallback, options?: HotkeyOptions): void;
|
|
30
|
-
}
|