@betorigami/games 2.10.1 → 2.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/advanced-dice/AdvancedDiceContent/AdvancedDiceContent.d.ts +24 -0
- package/dist/components/advanced-dice/AdvancedDiceContent/AdvancedDiceContent.styles.d.ts +1 -0
- package/dist/components/advanced-dice/AdvancedDiceContentBottom/AdvancedDiceContentBottom.d.ts +55 -0
- package/dist/components/advanced-dice/AdvancedDiceContentBottom/AdvancedDiceContentBottom.styles.d.ts +1 -0
- package/dist/components/advanced-dice/AdvancedDiceControls/AdvancedDiceAuto.d.ts +15 -0
- package/dist/components/advanced-dice/AdvancedDiceControls/AdvancedDiceControls.styles.d.ts +1 -0
- package/dist/components/advanced-dice/AdvancedDiceControls/AdvancedDiceManual.d.ts +16 -0
- package/dist/components/advanced-dice/AdvancedDiceGame.d.ts +41 -0
- package/dist/components/advanced-dice/AdvancedDiceGame.styles.d.ts +1 -0
- package/dist/components/advanced-dice/AdvancedDiceSlider/AdvancedDiceSlider.d.ts +30 -0
- package/dist/components/advanced-dice/AdvancedDiceSlider/AdvancedDiceSlider.styles.d.ts +1 -0
- package/dist/components/advanced-dice/advanced-dice.api.d.ts +14 -0
- package/dist/components/advanced-dice/advanced-dice.constants.d.ts +59 -0
- package/dist/components/advanced-dice/advanced-dice.mock.api.d.ts +13 -0
- package/dist/components/advanced-dice/advanced-dice.types.d.ts +84 -0
- package/dist/components/advanced-dice/advanced-dice.utils.d.ts +18 -0
- package/dist/components/advanced-dice/strategies/base-roll-type.strategy.d.ts +30 -0
- package/dist/components/advanced-dice/strategies/index.d.ts +4 -0
- package/dist/components/advanced-dice/strategies/roll-between-two.strategy.d.ts +20 -0
- package/dist/components/advanced-dice/strategies/roll-between.strategy.d.ts +12 -0
- package/dist/components/advanced-dice/strategies/roll-outside.strategy.d.ts +19 -0
- package/dist/components/advanced-dice/strategies/roll-type-strategy.factory.d.ts +3 -0
- package/dist/components/baccarat/BaccaratBetButton/BaccaratBetButton.d.ts +11 -0
- package/dist/components/baccarat/BaccaratBetButton/BaccaratBetButton.styles.d.ts +1 -0
- package/dist/components/baccarat/BaccaratContent/BaccaratContent.d.ts +39 -0
- package/dist/components/baccarat/BaccaratContent/BaccaratContent.styles.d.ts +1 -0
- package/dist/components/baccarat/BaccaratControls/BaccaratAuto.d.ts +18 -0
- package/dist/components/baccarat/BaccaratControls/BaccaratControls.styles.d.ts +1 -0
- package/dist/components/baccarat/BaccaratControls/BaccaratManual.d.ts +19 -0
- package/dist/components/baccarat/BaccaratDisplay/BaccaratDisplay.d.ts +22 -0
- package/dist/components/baccarat/BaccaratDisplay/BaccaratDisplay.styles.d.ts +1 -0
- package/dist/components/baccarat/BaccaratGame.d.ts +40 -0
- package/dist/components/baccarat/BaccaratGame.styles.d.ts +1 -0
- package/dist/components/baccarat/baccarat.api.d.ts +19 -0
- package/dist/components/baccarat/baccarat.constants.d.ts +16 -0
- package/dist/components/baccarat/baccarat.mock.api.d.ts +8 -0
- package/dist/components/baccarat/baccarat.types.d.ts +17 -0
- package/dist/components/baccarat/baccarat.utils.d.ts +20 -0
- package/dist/components/baccarat/baccarat.utils.test.d.ts +1 -0
- package/dist/components/blackjack/BlackjackContent/BlackjackContent.d.ts +49 -0
- package/dist/components/blackjack/BlackjackContent/BlackjackContent.styles.d.ts +1 -0
- package/dist/components/blackjack/BlackjackControls/BlackjackControls.styles.d.ts +1 -0
- package/dist/components/blackjack/BlackjackControls/BlackjackManual.d.ts +26 -0
- package/dist/components/blackjack/BlackjackGame.d.ts +87 -0
- package/dist/components/blackjack/BlackjackGame.styles.d.ts +1 -0
- package/dist/components/blackjack/BlackjackSideBetOnboarding/BlackjackSideBetOnboarding.d.ts +16 -0
- package/dist/components/blackjack/BlackjackSideBetOnboarding/BlackjackSideBetOnboarding.styles.d.ts +1 -0
- package/dist/components/blackjack/actions/betController.d.ts +20 -0
- package/dist/components/blackjack/actions/gameActionHandlers.d.ts +18 -0
- package/dist/components/blackjack/blackjack.api.d.ts +37 -0
- package/dist/components/blackjack/blackjack.helpers.d.ts +44 -0
- package/dist/components/blackjack/blackjack.icons.d.ts +4 -0
- package/dist/components/blackjack/blackjack.mock.api.d.ts +19 -0
- package/dist/components/blackjack/blackjack.utils.d.ts +18 -0
- package/dist/components/blackjack/blackjack.utils.test.d.ts +1 -0
- package/dist/components/blackjack/controllers/CardAnimationController.d.ts +36 -0
- package/dist/components/blitz/BlitzContent/BlitzCard.d.ts +9 -0
- package/dist/components/blitz/BlitzContent/BlitzCard.styles.d.ts +1 -0
- package/dist/components/blitz/BlitzContent/BlitzCardContainer.d.ts +19 -0
- package/dist/components/blitz/BlitzContent/BlitzCardContainer.styles.d.ts +1 -0
- package/dist/components/blitz/BlitzContent/BlitzContent.d.ts +13 -0
- package/dist/components/blitz/BlitzContent/BlitzContent.styles.d.ts +1 -0
- package/dist/components/blitz/BlitzControls/BlitzAuto.d.ts +23 -0
- package/dist/components/blitz/BlitzControls/BlitzControls.styles.d.ts +1 -0
- package/dist/components/blitz/BlitzControls/BlitzManual.d.ts +25 -0
- package/dist/components/blitz/BlitzControls/BlitzPicksInput.d.ts +15 -0
- package/dist/components/blitz/BlitzGame.d.ts +43 -0
- package/dist/components/blitz/BlitzGame.styles.d.ts +1 -0
- package/dist/components/blitz/blitz.api.d.ts +21 -0
- package/dist/components/blitz/blitz.mock.api.d.ts +10 -0
- package/dist/components/blitz/blitz.utils.d.ts +45 -0
- package/dist/components/diamonds/DiamondsContent/DiamondSlot.d.ts +17 -0
- package/dist/components/diamonds/DiamondsContent/DiamondSlot.styles.d.ts +1 -0
- package/dist/components/diamonds/DiamondsContent/DiamondsContent.d.ts +28 -0
- package/dist/components/diamonds/DiamondsContent/DiamondsContent.styles.d.ts +1 -0
- package/dist/components/diamonds/DiamondsContent/DiamondsMultiplierItem.d.ts +12 -0
- package/dist/components/diamonds/DiamondsContent/DiamondsMultiplierItem.styles.d.ts +1 -0
- package/dist/components/diamonds/DiamondsContent/DiamondsProfitTooltip.d.ts +14 -0
- package/dist/components/diamonds/DiamondsContent/DiamondsProfitTooltip.styles.d.ts +1 -0
- package/dist/components/diamonds/DiamondsContent/DiamondsSlots.d.ts +13 -0
- package/dist/components/diamonds/DiamondsContent/DiamondsSlots.styles.d.ts +1 -0
- package/dist/components/diamonds/DiamondsControls/DiamondsAuto.d.ts +11 -0
- package/dist/components/diamonds/DiamondsControls/DiamondsControls.styles.d.ts +1 -0
- package/dist/components/diamonds/DiamondsControls/DiamondsManual.d.ts +13 -0
- package/dist/components/diamonds/DiamondsGame.d.ts +18 -0
- package/dist/components/diamonds/DiamondsGame.styles.d.ts +1 -0
- package/dist/components/diamonds/diamonds.api.d.ts +11 -0
- package/dist/components/diamonds/diamonds.mock.api.d.ts +11 -0
- package/dist/components/diamonds/diamonds.utils.d.ts +100 -0
- package/dist/components/diamonds/svgs/diamond-gems.d.ts +1 -0
- package/dist/components/dice/DiceContent/DiceContent.d.ts +23 -0
- package/dist/components/dice/DiceContent/DiceContent.styles.d.ts +1 -0
- package/dist/components/dice/DiceContentBottom/DiceContentBottom.d.ts +29 -0
- package/dist/components/dice/DiceContentBottom/DiceContentBottom.styles.d.ts +1 -0
- package/dist/components/dice/DiceControls/DiceAuto.d.ts +14 -0
- package/dist/components/dice/DiceControls/DiceControls.styles.d.ts +1 -0
- package/dist/components/dice/DiceControls/DiceManual.d.ts +19 -0
- package/dist/components/dice/DiceGame.d.ts +34 -0
- package/dist/components/dice/DiceGame.styles.d.ts +1 -0
- package/dist/components/dice/DiceSlider/DiceSlider.d.ts +31 -0
- package/dist/components/dice/DiceSlider/DiceSlider.styles.d.ts +1 -0
- package/dist/components/dice/dice-calculations.d.ts +28 -0
- package/dist/components/dice/dice.api.d.ts +18 -0
- package/dist/components/dice/dice.mock.api.d.ts +10 -0
- package/dist/components/keno/KenoContent/KenoContent.d.ts +20 -0
- package/dist/components/keno/KenoContent/KenoContent.styles.d.ts +1 -0
- package/dist/components/keno/KenoContentBottom/KenoContentBottom.d.ts +21 -0
- package/dist/components/keno/KenoContentBottom/KenoContentBottom.styles.d.ts +1 -0
- package/dist/components/keno/KenoControls/KenoAuto.d.ts +16 -0
- package/dist/components/keno/KenoControls/KenoControls.styles.d.ts +1 -0
- package/dist/components/keno/KenoControls/KenoManual.d.ts +16 -0
- package/dist/components/keno/KenoGame.d.ts +52 -0
- package/dist/components/keno/KenoGame.styles.d.ts +1 -0
- package/dist/components/keno/KenoGrid/KenoGrid.d.ts +18 -0
- package/dist/components/keno/KenoGrid/KenoGrid.styles.d.ts +1 -0
- package/dist/components/keno/KenoTile/KenoTile.d.ts +19 -0
- package/dist/components/keno/KenoTile/KenoTile.styles.d.ts +1 -0
- package/dist/components/keno/keno.api.d.ts +24 -0
- package/dist/components/keno/keno.mock.api.d.ts +19 -0
- package/dist/components/limbo/LimboContent/LimboContent.d.ts +21 -0
- package/dist/components/limbo/LimboContent/LimboContent.styles.d.ts +1 -0
- package/dist/components/limbo/LimboContentBottom/LimboContentBottom.d.ts +21 -0
- package/dist/components/limbo/LimboContentBottom/LimboContentBottom.styles.d.ts +1 -0
- package/dist/components/limbo/LimboControls/LimboAuto.d.ts +13 -0
- package/dist/components/limbo/LimboControls/LimboControls.styles.d.ts +1 -0
- package/dist/components/limbo/LimboControls/LimboManual.d.ts +19 -0
- package/dist/components/limbo/LimboGame.d.ts +37 -0
- package/dist/components/limbo/LimboGame.styles.d.ts +1 -0
- package/dist/components/limbo/Multiplier/LimboMultiplier.d.ts +27 -0
- package/dist/components/limbo/Multiplier/LimboMultiplier.styles.d.ts +1 -0
- package/dist/components/limbo/limbo.api.d.ts +29 -0
- package/dist/components/limbo/limbo.mock.api.d.ts +8 -0
- package/dist/components/mines/MinesControls/MinesAuto.d.ts +18 -0
- package/dist/components/mines/MinesControls/MinesControls.styles.d.ts +1 -0
- package/dist/components/mines/MinesControls/MinesManual.d.ts +32 -0
- package/dist/components/mines/MinesGame.d.ts +48 -0
- package/dist/components/mines/MinesGame.styles.d.ts +1 -0
- package/dist/components/mines/MinesGrid/MinesGrid.d.ts +26 -0
- package/dist/components/mines/MinesGrid/MinesGrid.styles.d.ts +1 -0
- package/dist/components/mines/MinesTile/MinesTile.d.ts +49 -0
- package/dist/components/mines/MinesTile/MinesTile.styles.d.ts +1 -0
- package/dist/components/mines/mines.api.d.ts +66 -0
- package/dist/components/mines/mines.constants.d.ts +27 -0
- package/dist/components/mines/mines.mock.api.d.ts +22 -0
- package/dist/components/plinko/PlinkoContent/PlinkoBin/PlinkoBin.d.ts +13 -0
- package/dist/components/plinko/PlinkoContent/PlinkoBin/PlinkoBin.styles.d.ts +1 -0
- package/dist/components/plinko/PlinkoContent/PlinkoBins/PlinkoBins.d.ts +10 -0
- package/dist/components/plinko/PlinkoContent/PlinkoBins/PlinkoBins.styles.d.ts +1 -0
- package/dist/components/plinko/PlinkoContent/PlinkoContent.d.ts +67 -0
- package/dist/components/plinko/PlinkoContent/PlinkoContent.styles.d.ts +1 -0
- package/dist/components/plinko/PlinkoControls/PlinkoAuto.d.ts +14 -0
- package/dist/components/plinko/PlinkoControls/PlinkoControls.styles.d.ts +1 -0
- package/dist/components/plinko/PlinkoControls/PlinkoManual.d.ts +16 -0
- package/dist/components/plinko/PlinkoEngine.d.ts +164 -0
- package/dist/components/plinko/PlinkoGame.d.ts +47 -0
- package/dist/components/plinko/PlinkoGame.styles.d.ts +1 -0
- package/dist/components/plinko/PlinkoRowsSelect/PlinkoRiskSelect.d.ts +10 -0
- package/dist/components/plinko/PlinkoRowsSelect/PlinkoRiskSelect.styles.d.ts +1 -0
- package/dist/components/plinko/PlinkoRowsSelect/PlinkoRowsSelect.d.ts +10 -0
- package/dist/components/plinko/PlinkoRowsSlider/PlinkoRowsSlider.d.ts +12 -0
- package/dist/components/plinko/PlinkoRowsSlider/PlinkoRowsSlider.styles.d.ts +1 -0
- package/dist/components/plinko/plinko-content.utils.d.ts +77 -0
- package/dist/components/plinko/plinko.api.d.ts +14 -0
- package/dist/components/plinko/plinko.constants.d.ts +47 -0
- package/dist/components/plinko/plinko.mock.api.d.ts +11 -0
- package/dist/components/plinko/plinko.utils.d.ts +20 -0
- package/dist/components/roulette/RouletteAnimator/RouletteAnimator.d.ts +42 -0
- package/dist/components/roulette/RouletteAnimator/RouletteAnimator.styles.d.ts +1 -0
- package/dist/components/roulette/RouletteContent/RouletteContent.d.ts +34 -0
- package/dist/components/roulette/RouletteContent/RouletteContent.styles.d.ts +1 -0
- package/dist/components/roulette/RouletteControls/RouletteAuto.d.ts +19 -0
- package/dist/components/roulette/RouletteControls/RouletteControls.styles.d.ts +1 -0
- package/dist/components/roulette/RouletteControls/RouletteManual.d.ts +17 -0
- package/dist/components/roulette/RouletteGame.d.ts +37 -0
- package/dist/components/roulette/RouletteGame.styles.d.ts +1 -0
- package/dist/components/roulette/RouletteGrid/RouletteGrid.d.ts +21 -0
- package/dist/components/roulette/RouletteGrid/RouletteGrid.styles.d.ts +1 -0
- package/dist/components/roulette/RouletteTop/RouletteTop.d.ts +18 -0
- package/dist/components/roulette/RouletteTop/RouletteTop.styles.d.ts +1 -0
- package/dist/components/roulette/assets/index.d.ts +2 -0
- package/dist/components/roulette/roulette.api.d.ts +16 -0
- package/dist/components/roulette/roulette.constants.d.ts +57 -0
- package/dist/components/roulette/roulette.mock.api.d.ts +10 -0
- package/dist/components/roulette/roulette.positions.d.ts +58 -0
- package/dist/components/roulette/roulette.transformer.d.ts +4 -0
- package/dist/components/roulette/roulette.utils.d.ts +24 -0
- package/dist/components/shared/Alert/Alert.d.ts +27 -0
- package/dist/components/shared/Alert/Alert.styles.d.ts +1 -0
- package/dist/components/shared/AlertManager/AlertManager.d.ts +28 -0
- package/dist/components/shared/AlertManager/AlertManager.styles.d.ts +1 -0
- package/dist/components/shared/BetDetailsComponent/BetDetailsComponent.d.ts +21 -0
- package/dist/components/shared/BetDetailsComponent/BetDetailsComponent.styles.d.ts +1 -0
- package/dist/components/shared/BetResultModal/BetResultDataExtractor.d.ts +75 -0
- package/dist/components/shared/BetResultModal/BetResultModal.d.ts +31 -0
- package/dist/components/shared/BetResultModal/BetResultModal.styles.d.ts +1 -0
- package/dist/components/shared/Button/Button.d.ts +26 -0
- package/dist/components/shared/Button/Button.styles.d.ts +1 -0
- package/dist/components/shared/Button/ButtonGroup.d.ts +5 -0
- package/dist/components/shared/Button/ButtonGroup.styles.d.ts +1 -0
- package/dist/components/shared/ChipStack/ChipStack.d.ts +10 -0
- package/dist/components/shared/ChipStack/ChipStack.styles.d.ts +1 -0
- package/dist/components/shared/ChipTableGameComponent.d.ts +43 -0
- package/dist/components/shared/DepositButton/DepositButton.d.ts +9 -0
- package/dist/components/shared/Drawer/Drawer.d.ts +45 -0
- package/dist/components/shared/Drawer/Drawer.styles.d.ts +1 -0
- package/dist/components/shared/FairnessDetails/FairnessContent.d.ts +47 -0
- package/dist/components/shared/FairnessDetails/FairnessContent.styles.d.ts +1 -0
- package/dist/components/shared/FairnessDetails/FairnessDetails.d.ts +14 -0
- package/dist/components/shared/FairnessDetails/HistoryTable.d.ts +28 -0
- package/dist/components/shared/FairnessDetails/HistoryTable.styles.d.ts +1 -0
- package/dist/components/shared/Footer/Footer.d.ts +20 -0
- package/dist/components/shared/Footer/Footer.styles.d.ts +1 -0
- package/dist/components/shared/GameComponent.d.ts +77 -0
- package/dist/components/shared/GameInfo/GameInfoModal.d.ts +16 -0
- package/dist/components/shared/GameInfo/GameInfoModal.styles.d.ts +1 -0
- package/dist/components/shared/GameInfo/gameInfoConfig.d.ts +27 -0
- package/dist/components/shared/GameLayout/GameLayout.d.ts +51 -0
- package/dist/components/shared/GameLayout/GameLayout.styles.d.ts +1 -0
- package/dist/components/shared/GameOutcomeDisplay/GameOutcomeDisplay.d.ts +113 -0
- package/dist/components/shared/GameOutcomeDisplay/GameOutcomeDisplay.styles.d.ts +1 -0
- package/dist/components/shared/GameProviderWrapper.d.ts +106 -0
- package/dist/components/shared/GameProviderWrapper.styles.d.ts +1 -0
- package/dist/components/shared/GameSidebar/GameSidebar.d.ts +16 -0
- package/dist/components/shared/GameSidebar/GameSidebar.styles.d.ts +1 -0
- package/dist/components/shared/GameWinPopup/GameWinPopup.d.ts +27 -0
- package/dist/components/shared/GameWinPopup/GameWinPopup.styles.d.ts +1 -0
- package/dist/components/shared/GenericAutobet/BetCountInput.d.ts +12 -0
- package/dist/components/shared/GenericAutobet/GenericAutobet.d.ts +52 -0
- package/dist/components/shared/GenericAutobet/GenericAutobet.styles.d.ts +1 -0
- package/dist/components/shared/GenericAutobet/context/autobet.context.d.ts +13 -0
- package/dist/components/shared/HistoryPills/HistoryPills.d.ts +27 -0
- package/dist/components/shared/HistoryPills/HistoryPills.styles.d.ts +1 -0
- package/dist/components/shared/HotkeysModal/HotKeysModal.styles.d.ts +1 -0
- package/dist/components/shared/HotkeysModal/HotkeysModal.d.ts +10 -0
- package/dist/components/shared/Inputs/BetAmountInput/BetAmountInput.d.ts +44 -0
- package/dist/components/shared/Inputs/ChipInput/ChipInput.d.ts +19 -0
- package/dist/components/shared/Inputs/ChipInput/ChipInput.styles.d.ts +1 -0
- package/dist/components/shared/Inputs/ChipInput/chip-input.constants.d.ts +4 -0
- package/dist/components/shared/Inputs/CurrencyInput/RawCurrencyInput.d.ts +36 -0
- package/dist/components/shared/Inputs/CurrencyInput/RawCurrencyInput.styles.d.ts +1 -0
- package/dist/components/shared/Inputs/Input/Input.d.ts +74 -0
- package/dist/components/shared/Inputs/Input/Input.styles.d.ts +1 -0
- package/dist/components/shared/LottieIcon/LottieIcon.d.ts +24 -0
- package/dist/components/shared/Modal/Modal.d.ts +29 -0
- package/dist/components/shared/Modal/Modal.styles.d.ts +1 -0
- package/dist/components/shared/Modal/Portal.d.ts +13 -0
- package/dist/components/shared/ResponsiveModal/ResponsiveModal.d.ts +17 -0
- package/dist/components/shared/ResponsiveModal/ResponsiveModal.styles.d.ts +1 -0
- package/dist/components/shared/Select/Select.d.ts +34 -0
- package/dist/components/shared/Select/Select.styles.d.ts +1 -0
- package/dist/components/shared/Spinner/Spinner.d.ts +5 -0
- package/dist/components/shared/Spinner/Spinner.styles.d.ts +1 -0
- package/dist/components/shared/Switch/Switch.d.ts +11 -0
- package/dist/components/shared/Switch/Switch.styles.d.ts +1 -0
- package/dist/components/shared/Toggle/Toggle.d.ts +15 -0
- package/dist/components/shared/Toggle/Toggle.styles.d.ts +1 -0
- package/dist/components/shared/Tooltip/Tooltip.d.ts +56 -0
- package/dist/components/shared/Tooltip/Tooltip.styles.d.ts +1 -0
- package/dist/components/shared/context/game.context.d.ts +90 -0
- package/dist/components/shared/types/chip.types.d.ts +10 -0
- package/dist/components/wheel/WheelAnimator/WheelAnimator.d.ts +31 -0
- package/dist/components/wheel/WheelAnimator/WheelAnimator.styles.d.ts +1 -0
- package/dist/components/wheel/WheelContentBottom/WheelContentBottom.d.ts +24 -0
- package/dist/components/wheel/WheelContentBottom/WheelContentBottom.styles.d.ts +1 -0
- package/dist/components/wheel/WheelControls/WheelAuto.d.ts +16 -0
- package/dist/components/wheel/WheelControls/WheelControls.styles.d.ts +1 -0
- package/dist/components/wheel/WheelControls/WheelManual.d.ts +16 -0
- package/dist/components/wheel/WheelGame.d.ts +26 -0
- package/dist/components/wheel/WheelGame.styles.d.ts +1 -0
- package/dist/components/wheel/WheelLayout/WheelLayout.d.ts +19 -0
- package/dist/components/wheel/WheelLayout/WheelLayout.styles.d.ts +1 -0
- package/dist/components/wheel/WheelSvg/WheelSvg.d.ts +12 -0
- package/dist/components/wheel/WheelSvg/WheelSvg.styles.d.ts +1 -0
- package/dist/components/wheel/wheel.api.d.ts +11 -0
- package/dist/components/wheel/wheel.constants.d.ts +25 -0
- package/dist/components/wheel/wheel.mock.api.d.ts +10 -0
- package/dist/components/wheel/wheel.multipliers.d.ts +11 -0
- package/dist/components/wheel/wheel.patterns.d.ts +3 -0
- package/dist/components/wheel/wheel.utils.d.ts +41 -0
- package/dist/controllers/bet-result-cache.controller.d.ts +14 -0
- package/dist/controllers/haptics.controller.d.ts +17 -0
- package/dist/controllers/history.controller.d.ts +56 -0
- package/dist/controllers/hotkey.controller.d.ts +30 -0
- package/dist/controllers/sound/sound-definitions.d.ts +24 -0
- package/dist/controllers/sound/sound-effects.controller.d.ts +18 -0
- package/dist/controllers/sound/sound-layer.types.d.ts +45 -0
- package/dist/index.d.ts +17 -8345
- package/dist/index.mjs +21068 -2189
- package/dist/limbo-multiplier-bg.svg +1 -0
- package/dist/shared/animation.styles.d.ts +1 -0
- package/dist/shared/async-throttle-queue.d.ts +51 -0
- package/dist/shared/async-throttle-queue.test.d.ts +1 -0
- package/dist/shared/autobet-pacing.d.ts +4 -0
- package/dist/shared/bet.types.d.ts +196 -0
- package/dist/shared/button-feedback.d.ts +13 -0
- package/dist/shared/calculations/games/dice.d.ts +1 -0
- package/dist/shared/calculations/games/keno.d.ts +25 -0
- package/dist/shared/calculations/games/mines.d.ts +7 -0
- package/dist/shared/calculations/utils/big-validation.d.ts +71 -0
- package/dist/shared/calculations/utils/bignumber-max.d.ts +2 -0
- package/dist/shared/calculations/utils/bignumber-min.d.ts +7 -0
- package/dist/shared/calculations/utils/factorial.d.ts +2 -0
- package/dist/shared/calculations/utils/hex-to-bytes.d.ts +1 -0
- package/dist/shared/calculations/utils/ncr.d.ts +2 -0
- package/dist/shared/cards/Card.d.ts +30 -0
- package/dist/shared/cards/Card.styles.d.ts +1 -0
- package/dist/shared/cards/CardStack.d.ts +6 -0
- package/dist/shared/cards/CardStack.styles.d.ts +1 -0
- package/dist/shared/cards/card.constants.d.ts +11 -0
- package/dist/shared/cards/card.types.d.ts +10 -0
- package/dist/shared/cards/card.utils.d.ts +5 -0
- package/dist/shared/chip-state.utils.d.ts +125 -0
- package/dist/shared/chip-state.utils.test.d.ts +1 -0
- package/dist/shared/component.styles.d.ts +1 -0
- package/dist/shared/constants.d.ts +60 -0
- package/dist/shared/create-api-factory.d.ts +10 -0
- package/dist/shared/event-map.d.ts +342 -0
- package/dist/shared/format-monetary-amount.d.ts +4 -0
- package/dist/shared/format-win-chance.d.ts +1 -0
- package/dist/shared/format-win-chance.test.d.ts +1 -0
- package/dist/shared/get-correlation-id.d.ts +5 -0
- package/dist/shared/get-currency-details.d.ts +12 -0
- package/dist/shared/get-currency-details.test.d.ts +1 -0
- package/dist/shared/get-currency-precision.d.ts +2 -0
- package/dist/shared/get-currency-precision.test.d.ts +1 -0
- package/dist/shared/get-currency-symbol-position.d.ts +4 -0
- package/dist/shared/get-currency-symbol-position.test.d.ts +1 -0
- package/dist/shared/get-currency-symbol.d.ts +2 -0
- package/dist/shared/get-currency-symbol.test.d.ts +1 -0
- package/dist/shared/get-game-outcome.d.ts +1 -0
- package/dist/shared/hotkey-helper.d.ts +14 -0
- package/dist/shared/icons/currencies/arsIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/audIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/brlIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/cadIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/chfIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/clpIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/cnyIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/czkIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/dopIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/eurIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/gbpIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/gcIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/gtqIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/hnlIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/hufIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/idrIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/inrIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/jpyIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/krwIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/kztIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/mxnIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/myrIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/ngnIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/nokIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/nzdIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/penIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/phpIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/ronIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/rubIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/scIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/thbIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/tryIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/uahIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/usdIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/uzsIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/vndIcon.d.ts +1 -0
- package/dist/shared/icons/currencies/zarIcon.d.ts +1 -0
- package/dist/shared/icons/get-currency-icon.d.ts +2 -0
- package/dist/shared/icons/get-currency-icon.test.d.ts +1 -0
- package/dist/shared/icons/index.d.ts +1 -0
- package/dist/shared/icons/kenoGemIcon.d.ts +1 -0
- package/dist/shared/icons/minesBombIcon.d.ts +1 -0
- package/dist/shared/icons/minesGemIcon.d.ts +1 -0
- package/dist/shared/mock-bridged-game-service.d.ts +42 -0
- package/dist/shared/mock-rng-generator.d.ts +3 -0
- package/dist/shared/origami-action.type.d.ts +7 -0
- package/dist/shared/origami-element.d.ts +21 -0
- package/dist/shared/primary-input.d.ts +2 -0
- package/dist/shared/provably-fair-verifier.d.ts +28 -0
- package/dist/shared/provider-api/bet-result.d.ts +18 -0
- package/dist/shared/provider-api/error-codes.d.ts +8 -0
- package/dist/shared/sleep.d.ts +1 -0
- package/dist/shared/utils/format-autobet-settings.d.ts +5 -0
- package/dist/shared/utils/prevent-non-numeric-input.d.ts +4 -0
- package/dist/shared/wait-for-event.d.ts +1 -0
- package/dist/shared/watch.d.ts +26 -0
- package/dist/translations/ar.json.d.ts +405 -0
- package/dist/translations/de.json.d.ts +405 -0
- package/dist/translations/dynamic-loader.d.ts +15 -0
- package/dist/translations/en-soc.json.d.ts +405 -0
- package/dist/translations/en.json.d.ts +406 -0
- package/dist/translations/es.json.d.ts +405 -0
- package/dist/translations/fi.json.d.ts +405 -0
- package/dist/translations/fr.json.d.ts +405 -0
- package/dist/translations/hi.json.d.ts +405 -0
- package/dist/translations/id.json.d.ts +405 -0
- package/dist/translations/index.d.ts +6854 -0
- package/dist/translations/ja.json.d.ts +405 -0
- package/dist/translations/ko.json.d.ts +405 -0
- package/dist/translations/language.context.d.ts +9 -0
- package/dist/translations/pl.json.d.ts +405 -0
- package/dist/translations/pt.json.d.ts +405 -0
- package/dist/translations/ru.json.d.ts +405 -0
- package/dist/translations/tr.json.d.ts +405 -0
- package/dist/translations/utils.d.ts +22 -0
- package/dist/translations/vi.json.d.ts +405 -0
- package/dist/translations/zh.json.d.ts +405 -0
- package/dist/utils/active-elements.d.ts +15 -0
- package/dist/utils/animate.d.ts +22 -0
- package/dist/utils/animation-registry.d.ts +24 -0
- package/dist/utils/blur-active-element.d.ts +7 -0
- package/dist/utils/event.d.ts +2 -0
- package/dist/utils/focus-trap.d.ts +24 -0
- package/dist/utils/game-layout-style.d.ts +9 -0
- package/dist/utils/scroll.d.ts +22 -0
- package/dist/utils/slot.controller.d.ts +23 -0
- package/dist/utils/tabbable.d.ts +9 -0
- package/package.json +18 -15
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { ContextProvider } from '@lit/context';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
import { Currency, OrigamiGame } from '../../shared/constants';
|
|
4
|
+
import { default as OrigamiElement } from '../../shared/origami-element';
|
|
5
|
+
import { Language } from '../../translations';
|
|
6
|
+
import { gameContext, gameContextType } from './context/game.context';
|
|
7
|
+
import { default as Big } from 'big.js';
|
|
8
|
+
export declare class GameProviderWrapper extends OrigamiElement {
|
|
9
|
+
static styles: import('lit').CSSResult[];
|
|
10
|
+
currency: Currency;
|
|
11
|
+
balance: number;
|
|
12
|
+
currencyDecimals: number;
|
|
13
|
+
baseUrl: string;
|
|
14
|
+
authToken: string;
|
|
15
|
+
origamiGame: OrigamiGame;
|
|
16
|
+
lobbyUrl: string;
|
|
17
|
+
depositUrl: string | undefined;
|
|
18
|
+
maxPayout: number | null;
|
|
19
|
+
minBet: number | null;
|
|
20
|
+
maxBet: number | null;
|
|
21
|
+
edge: 1 | 2 | 3 | 4 | 8;
|
|
22
|
+
showCurrencyAsText: boolean;
|
|
23
|
+
footerPosition: 'ABOVE' | 'BELOW';
|
|
24
|
+
logoUrl: string | null;
|
|
25
|
+
alwaysEnableMaxBetButton: boolean;
|
|
26
|
+
gcCurrencyIconSvgUrl: string | null;
|
|
27
|
+
scCurrencyIconSvgUrl: string | null;
|
|
28
|
+
customMinesBackgroundSvgUrl: string | null;
|
|
29
|
+
customMinesGemSvgUrl: string | null;
|
|
30
|
+
customMinesBombSvgUrl: string | null;
|
|
31
|
+
customMinesTileSvgUrl: string | null;
|
|
32
|
+
customMinesAutobetSelectedTileSvgUrl: string | null;
|
|
33
|
+
customKenoBackgroundSvgUrl: string | null;
|
|
34
|
+
customKenoGemSvgUrl: string | null;
|
|
35
|
+
customKenoNonMatchTileSvgUrl: string | null;
|
|
36
|
+
customKenoTileSvgUrl: string | null;
|
|
37
|
+
customKenoSelectedTileSvgUrl: string | null;
|
|
38
|
+
customRouletteBackgroundSvgUrl: string | null;
|
|
39
|
+
roulettePreventOppositeBets: boolean;
|
|
40
|
+
rouletteDefaultInstantBet: boolean;
|
|
41
|
+
customDiceBackgroundSvgUrl: string | null;
|
|
42
|
+
diceMinMultiplier: number | null;
|
|
43
|
+
advancedDiceMinMultiplier: number | null;
|
|
44
|
+
customAdvancedDiceBackgroundSvgUrl: string | null;
|
|
45
|
+
customPlinkoBackgroundSvgUrl: string | null;
|
|
46
|
+
customPlinkoEdgeColor: string | null;
|
|
47
|
+
customPlinkoCenterColor: string | null;
|
|
48
|
+
customBaccaratBackgroundSvgUrl: string | null;
|
|
49
|
+
baccaratPreventOppositeBets: boolean;
|
|
50
|
+
customLimboBackgroundSvgUrl: string | null;
|
|
51
|
+
customWheelBackgroundSvgUrl: string | null;
|
|
52
|
+
customWheelCenterSvgUrl: string | null;
|
|
53
|
+
customWheelCenterPadding: number | null;
|
|
54
|
+
customDiamondsBackgroundSvgUrl: string | null;
|
|
55
|
+
customBlackjackBackgroundSvgUrl: string | null;
|
|
56
|
+
customBlitzBackgroundSvgUrl: string | null;
|
|
57
|
+
blitzMinPickCount: number | null;
|
|
58
|
+
blitzMaxPickCount: number | null;
|
|
59
|
+
customCardBackSvgUrl: string | null;
|
|
60
|
+
customCardRedColor: string | null;
|
|
61
|
+
customCardBlackColor: string | null;
|
|
62
|
+
customFooterLobbySvgUrl: string | null;
|
|
63
|
+
customFooterVolumeSvgUrl: string | null;
|
|
64
|
+
customFooterGameInfoSvgUrl: string | null;
|
|
65
|
+
customFooterInstantBetSvgUrl: string | null;
|
|
66
|
+
customFooterHotkeysSvgUrl: string | null;
|
|
67
|
+
customFooterProvablyFairSvgUrl: string | null;
|
|
68
|
+
private betAmount;
|
|
69
|
+
private autobetNumberOfBets;
|
|
70
|
+
private hotkeysOpenEnabled;
|
|
71
|
+
private showMaxBetButton;
|
|
72
|
+
private volume;
|
|
73
|
+
private instantBetEnabled;
|
|
74
|
+
private mainWidth;
|
|
75
|
+
private publicKey;
|
|
76
|
+
private scale;
|
|
77
|
+
language: Language;
|
|
78
|
+
private _soundEffects;
|
|
79
|
+
private _historyController;
|
|
80
|
+
private _haptics;
|
|
81
|
+
private _resizeObserver;
|
|
82
|
+
private hasLoadedBalance;
|
|
83
|
+
protected _gameProvider: ContextProvider<typeof gameContext>;
|
|
84
|
+
connectedCallback(): void;
|
|
85
|
+
firstUpdated(_changed: PropertyValues): Promise<void>;
|
|
86
|
+
disconnectedCallback(): void;
|
|
87
|
+
updated(changedProperties: PropertyValues): void;
|
|
88
|
+
get gameData(): gameContextType;
|
|
89
|
+
private createGameContextValue;
|
|
90
|
+
private updateProviderValue;
|
|
91
|
+
private fetchBalance;
|
|
92
|
+
private fetchPublicKey;
|
|
93
|
+
updateHotkeysOpenEnabled(enabled: boolean): void;
|
|
94
|
+
updateShowMaxBetButton(enabled: boolean): void;
|
|
95
|
+
updateVolume(volume: number): void;
|
|
96
|
+
updateInstantBetEnabled(enabled: boolean): void;
|
|
97
|
+
updateAutobetNumberOfBets(numberOfBets: number): void;
|
|
98
|
+
updateMainWidth(width: number): void;
|
|
99
|
+
updateBetAmount(newAmount: Big): void;
|
|
100
|
+
updateBalance(newAmount: Big): void;
|
|
101
|
+
private _boundCalculateScale;
|
|
102
|
+
private setupResizeObserver;
|
|
103
|
+
private cleanupResizeObserver;
|
|
104
|
+
private calculateScale;
|
|
105
|
+
render(): import('lit').TemplateResult<1>;
|
|
106
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const gameProviderWrapperStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { gameContextType } from '../context/game.context';
|
|
3
|
+
export type BetMode = 'Manual' | 'Auto';
|
|
4
|
+
export declare class GameSidebar extends OrigamiElement {
|
|
5
|
+
static styles: import('lit').CSSResult[];
|
|
6
|
+
gameData?: gameContextType;
|
|
7
|
+
mode: BetMode;
|
|
8
|
+
betAmount: string;
|
|
9
|
+
toggleDisabled: boolean;
|
|
10
|
+
option1Label: string;
|
|
11
|
+
option2Label: string;
|
|
12
|
+
isLoading: boolean;
|
|
13
|
+
className: string;
|
|
14
|
+
private _handleToggleChange;
|
|
15
|
+
render(): import('lit').TemplateResult<1>;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const gameSidebarStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { TemplateResult } from 'lit';
|
|
2
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
3
|
+
import { default as Big } from 'big.js';
|
|
4
|
+
type GameType = 'Keno' | 'Mines' | 'Roulette';
|
|
5
|
+
export declare class GameWinPopup extends OrigamiElement {
|
|
6
|
+
static styles: import('lit').CSSResult[];
|
|
7
|
+
payout: Big | null;
|
|
8
|
+
multiplier: number | undefined;
|
|
9
|
+
currencySymbol: string;
|
|
10
|
+
title: string;
|
|
11
|
+
description: string;
|
|
12
|
+
gemCount: number | undefined;
|
|
13
|
+
gameType: GameType;
|
|
14
|
+
betId?: string;
|
|
15
|
+
isLoss: boolean;
|
|
16
|
+
isPush: boolean;
|
|
17
|
+
private betResultCache;
|
|
18
|
+
private gameConsumer;
|
|
19
|
+
private get disableBetResultModal();
|
|
20
|
+
constructor();
|
|
21
|
+
disconnectedCallback(): void;
|
|
22
|
+
private handleClick;
|
|
23
|
+
private handleMouseEnter;
|
|
24
|
+
updated(changedProperties: Map<string, any>): void;
|
|
25
|
+
render(): TemplateResult<1>;
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const gameWinPopupStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { gameContextType } from '../context/game.context';
|
|
3
|
+
export declare class BetCountInput extends OrigamiElement {
|
|
4
|
+
gameData?: gameContextType;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
static styles: import('lit').CSSResult[];
|
|
7
|
+
private _handleAutobetGamesChange;
|
|
8
|
+
private _handleAutobetGamesBlur;
|
|
9
|
+
private preventNonWholeNumberInput;
|
|
10
|
+
private _handleResetToZero;
|
|
11
|
+
render(): import('lit').TemplateResult<1>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
import { ContextProvider } from '@lit/context';
|
|
3
|
+
import { gameContextType } from '../context/game.context';
|
|
4
|
+
export type AfterBetEffect = 'Reset' | 'Increase';
|
|
5
|
+
export type AutobetValues = {
|
|
6
|
+
onWinPercentage: string;
|
|
7
|
+
onLossPercentage: string;
|
|
8
|
+
stopOnProfit: string;
|
|
9
|
+
stopOnLoss: string;
|
|
10
|
+
onLossStrategy: AfterBetEffect;
|
|
11
|
+
onWinStrategy: AfterBetEffect;
|
|
12
|
+
};
|
|
13
|
+
export declare const defaultAutobetValues: AutobetValues;
|
|
14
|
+
export type AutobetEventPayload = AutobetValues & {
|
|
15
|
+
numberOfBets: string;
|
|
16
|
+
};
|
|
17
|
+
export declare class GenericAutobet extends OrigamiElement {
|
|
18
|
+
inputsDisabled: boolean;
|
|
19
|
+
autobetSettings: AutobetValues;
|
|
20
|
+
autobetStopping: boolean;
|
|
21
|
+
readonly autobetInProgress = false;
|
|
22
|
+
betDisabled: boolean;
|
|
23
|
+
private _isStarting;
|
|
24
|
+
private _onWinFocused;
|
|
25
|
+
private _onLossFocused;
|
|
26
|
+
private _stopOnLossFocused;
|
|
27
|
+
private _stopOnProfitFocused;
|
|
28
|
+
private isBetAmountValid;
|
|
29
|
+
private _showConfig;
|
|
30
|
+
private _betAboveBalance;
|
|
31
|
+
betMaxMultiplier: number;
|
|
32
|
+
hasCustomBetAmountSection: boolean;
|
|
33
|
+
disableBetAmountHotkeys: boolean;
|
|
34
|
+
gameData: gameContextType;
|
|
35
|
+
customInputsSlot?: HTMLSlotElement;
|
|
36
|
+
private betButtonEl?;
|
|
37
|
+
static styles: import('lit').CSSResult[];
|
|
38
|
+
protected _autobetProvider: ContextProvider<{
|
|
39
|
+
__context__: import('./context/autobet.context').AutobetContextType;
|
|
40
|
+
}, this>;
|
|
41
|
+
willUpdate(changedProperties: Map<string | symbol, unknown>): void;
|
|
42
|
+
updateNumberOfBets(numberOfBets: string): void;
|
|
43
|
+
triggerPrimaryAction(): void;
|
|
44
|
+
isPrimaryActionDisabled(): boolean;
|
|
45
|
+
private _handleWinPercentageChange;
|
|
46
|
+
private _handleLossPercentageChange;
|
|
47
|
+
private _handleStopOnProfitChange;
|
|
48
|
+
private _handleStopOnLossChange;
|
|
49
|
+
private _hasCustomInputs;
|
|
50
|
+
private betButtonClick;
|
|
51
|
+
render(): import('lit').TemplateResult<1>;
|
|
52
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const genericAutobetStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Language } from '../../../../translations';
|
|
2
|
+
import { SelectOption } from '../../Select/Select';
|
|
3
|
+
export interface AutobetContextType {
|
|
4
|
+
numberOfBets: string;
|
|
5
|
+
updateNumberOfBets: (numberOfBets: string) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const getAutobetGamesOptions: (language?: Language) => SelectOption[];
|
|
8
|
+
export declare const autobetGamesOptions: SelectOption[];
|
|
9
|
+
export declare const defaultNumberOfBetsValue: string;
|
|
10
|
+
export declare const autobetContext: {
|
|
11
|
+
__context__: AutobetContextType;
|
|
12
|
+
};
|
|
13
|
+
export declare const defaultAutobetContext: AutobetContextType;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
3
|
+
export interface HistoryItem {
|
|
4
|
+
multiplier: number;
|
|
5
|
+
won: boolean;
|
|
6
|
+
id: string;
|
|
7
|
+
color?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class HistoryPills extends OrigamiElement {
|
|
10
|
+
static styles: import('lit').CSSResult[];
|
|
11
|
+
history: HistoryItem[];
|
|
12
|
+
showMultiplierSuffix: boolean;
|
|
13
|
+
fadeOpacity: boolean;
|
|
14
|
+
private animatingInIds;
|
|
15
|
+
private betResultCache;
|
|
16
|
+
private gameConsumer;
|
|
17
|
+
get disableHistoryModal(): boolean;
|
|
18
|
+
protected updated(changedProperties: PropertyValues<this>): void;
|
|
19
|
+
handleHistoryChange(oldHistory: HistoryItem[]): void;
|
|
20
|
+
private handleAnimationEnd;
|
|
21
|
+
private formatMultiplier;
|
|
22
|
+
private handleHistoryPillClick;
|
|
23
|
+
private handlePillKeyDown;
|
|
24
|
+
private handleHistoryPillHover;
|
|
25
|
+
private renderHistoryPill;
|
|
26
|
+
render(): import('lit').TemplateResult<1>;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const historyPillsStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const hotkeysModalStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OrigamiGame } from '../../../shared/constants';
|
|
2
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
3
|
+
export declare class HotkeysModal extends OrigamiElement {
|
|
4
|
+
static styles: import('lit').CSSResult[];
|
|
5
|
+
private gameConsumer;
|
|
6
|
+
gameType: OrigamiGame;
|
|
7
|
+
private getRows;
|
|
8
|
+
private renderRow;
|
|
9
|
+
render(): import('lit').TemplateResult<1>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { default as OrigamiElement } from '../../../../shared/origami-element';
|
|
3
|
+
export declare enum InvalidReason {
|
|
4
|
+
BET_AMOUNT_BELOW_MIN_BET = "BET_AMOUNT_BELOW_MIN_BET",
|
|
5
|
+
BET_AMOUNT_ABOVE_MAX_BET = "BET_AMOUNT_ABOVE_MAX_BET",
|
|
6
|
+
BET_AMOUNT_ABOVE_BALANCE = "BET_AMOUNT_ABOVE_BALANCE"
|
|
7
|
+
}
|
|
8
|
+
export declare class BetAmountInput extends OrigamiElement {
|
|
9
|
+
static styles: import('lit').CSSResult[];
|
|
10
|
+
get gameData(): import('../../context/game.context').gameContextType;
|
|
11
|
+
private isFocused;
|
|
12
|
+
private invalidReason;
|
|
13
|
+
betMaxMultiplier: number | null;
|
|
14
|
+
isGameActive: boolean;
|
|
15
|
+
halfBetDisabled: boolean;
|
|
16
|
+
doubleBetDisabled: boolean;
|
|
17
|
+
maxAmount?: string;
|
|
18
|
+
private _gameContext;
|
|
19
|
+
firstUpdated(): void;
|
|
20
|
+
watchValue(): void;
|
|
21
|
+
updated(changedProperties: PropertyValues): void;
|
|
22
|
+
validateBetAmount(): void;
|
|
23
|
+
private value;
|
|
24
|
+
private _isInitialized;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
readonly: boolean;
|
|
27
|
+
allowZero: boolean;
|
|
28
|
+
externalControl: boolean;
|
|
29
|
+
disableHotkeys: boolean;
|
|
30
|
+
externalValue?: string;
|
|
31
|
+
initialValue?: string;
|
|
32
|
+
label: string;
|
|
33
|
+
halfButtonHotkey?: string;
|
|
34
|
+
doubleButtonHotkey?: string;
|
|
35
|
+
constructor();
|
|
36
|
+
updateBetAmountState(newAmount: string): void;
|
|
37
|
+
private handleCurrencyInputChange;
|
|
38
|
+
private updateAmount;
|
|
39
|
+
private handleHalfBet;
|
|
40
|
+
private handleDoubleBet;
|
|
41
|
+
private handleZeroBet;
|
|
42
|
+
private handleMaxBet;
|
|
43
|
+
render(): import('lit').TemplateResult<1>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../../shared/origami-element';
|
|
2
|
+
import { gameContextType } from '../../context/game.context';
|
|
3
|
+
import { ChipConfig } from '../../types/chip.types';
|
|
4
|
+
export declare class ChipInput extends OrigamiElement {
|
|
5
|
+
static styles: import('lit').CSSResult[];
|
|
6
|
+
chips: ChipConfig[];
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
private selectedIndex;
|
|
9
|
+
gameData?: gameContextType;
|
|
10
|
+
/**
|
|
11
|
+
* Parse a chip label like "0.1", "10", "1K", "10K", "1M" into its numeric value.
|
|
12
|
+
* This is used only for display of the chip value hint in the UI.
|
|
13
|
+
*/
|
|
14
|
+
private parseChipLabelToUnits;
|
|
15
|
+
private handlePointerDown;
|
|
16
|
+
private handleSelect;
|
|
17
|
+
private renderChip;
|
|
18
|
+
render(): import('lit').TemplateResult<1>;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const chipInputStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { default as OrigamiElement } from '../../../../shared/origami-element';
|
|
3
|
+
import { Input } from '../Input/Input';
|
|
4
|
+
import { Currency } from '../../../../shared/constants';
|
|
5
|
+
import { gameContextType } from '../../context/game.context';
|
|
6
|
+
export declare class RawCurrencyInput extends OrigamiElement {
|
|
7
|
+
static styles: import('lit').CSSResult[];
|
|
8
|
+
gameData: gameContextType;
|
|
9
|
+
label: string;
|
|
10
|
+
currency: Currency;
|
|
11
|
+
errorMessage: string;
|
|
12
|
+
value: string;
|
|
13
|
+
rightLabel: string;
|
|
14
|
+
suffix: string;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
readonly: boolean;
|
|
18
|
+
disableInput: boolean;
|
|
19
|
+
cursorNotAllowed: boolean;
|
|
20
|
+
bgColor: string;
|
|
21
|
+
testId: string;
|
|
22
|
+
tooltip: string;
|
|
23
|
+
maxBetEnabled: boolean;
|
|
24
|
+
dimmed: boolean;
|
|
25
|
+
maxPayoutUSD: number;
|
|
26
|
+
variant: 'primary' | 'secondary';
|
|
27
|
+
required: boolean;
|
|
28
|
+
hideCurrencyIcon: boolean;
|
|
29
|
+
input: Input;
|
|
30
|
+
private formatValue;
|
|
31
|
+
private handleChange;
|
|
32
|
+
private handleBlur;
|
|
33
|
+
private handleFocus;
|
|
34
|
+
updated(changedProperties: PropertyValues): void;
|
|
35
|
+
render(): import('lit').TemplateResult<1>;
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const rawCurrencyInputStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../../shared/origami-element';
|
|
2
|
+
import { gameContextType } from '../../context/game.context';
|
|
3
|
+
export interface InputAddonButton {
|
|
4
|
+
label: string;
|
|
5
|
+
'aria-label'?: string;
|
|
6
|
+
selected?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
}
|
|
10
|
+
export type InputType = 'text' | 'number' | 'password' | 'email' | 'search' | 'tel' | 'url' | 'date' | 'time' | 'datetime-local';
|
|
11
|
+
export type InputMode = 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
12
|
+
export declare const ValidationPatterns: {
|
|
13
|
+
email: RegExp;
|
|
14
|
+
url: RegExp;
|
|
15
|
+
phone: RegExp;
|
|
16
|
+
number: RegExp;
|
|
17
|
+
integer: RegExp;
|
|
18
|
+
alphabetic: RegExp;
|
|
19
|
+
alphanumeric: RegExp;
|
|
20
|
+
};
|
|
21
|
+
export declare class Input extends OrigamiElement {
|
|
22
|
+
static styles: import('lit').CSSResult[];
|
|
23
|
+
gameData?: gameContextType;
|
|
24
|
+
value: string;
|
|
25
|
+
label: string;
|
|
26
|
+
placeholder: string;
|
|
27
|
+
type: InputType;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
rightText: string | null;
|
|
30
|
+
min: number | null;
|
|
31
|
+
max: number | null;
|
|
32
|
+
step: number | 'any' | null;
|
|
33
|
+
addonButtonsPosition: 'left' | 'right';
|
|
34
|
+
name: string | null;
|
|
35
|
+
autocomplete: string | null;
|
|
36
|
+
required: boolean;
|
|
37
|
+
readonly: boolean;
|
|
38
|
+
pattern: string | null;
|
|
39
|
+
validateOnInput: boolean;
|
|
40
|
+
tooltipFullWidth: boolean;
|
|
41
|
+
validationPattern: string | null;
|
|
42
|
+
validationMessage: string | null;
|
|
43
|
+
hideRightLabel: boolean;
|
|
44
|
+
clickable: boolean;
|
|
45
|
+
forceActiveBorder: boolean;
|
|
46
|
+
keepLabelEnabled: boolean;
|
|
47
|
+
handleBeforeInput: ((e: InputEvent & {
|
|
48
|
+
dataTransfer?: DataTransfer | null;
|
|
49
|
+
}) => void) | null;
|
|
50
|
+
wrapperClasses: Record<string, boolean>;
|
|
51
|
+
tooltipOffset: number;
|
|
52
|
+
errorMessage: string | null;
|
|
53
|
+
private _isIconRotating;
|
|
54
|
+
private _hasRightIcon;
|
|
55
|
+
private _hasLeftIcon;
|
|
56
|
+
private _hasLeftAddon;
|
|
57
|
+
private _hasRightAddon;
|
|
58
|
+
private _hasRightLabel;
|
|
59
|
+
private _iconRotationState;
|
|
60
|
+
private _isFocused;
|
|
61
|
+
private inputRef;
|
|
62
|
+
private inputId;
|
|
63
|
+
private errorId;
|
|
64
|
+
private hasActualContent;
|
|
65
|
+
private handleSlotChange;
|
|
66
|
+
firstUpdated(): void;
|
|
67
|
+
private handleInput;
|
|
68
|
+
private handlePaste;
|
|
69
|
+
private handleClick;
|
|
70
|
+
private handleAnimationEnd;
|
|
71
|
+
private handleFocus;
|
|
72
|
+
private handleBlur;
|
|
73
|
+
render(): import('lit').TemplateResult<1>;
|
|
74
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const inputStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element';
|
|
2
|
+
export declare class LottieIcon extends OrigamiElement {
|
|
3
|
+
static styles: import('lit').CSSResult;
|
|
4
|
+
src: string;
|
|
5
|
+
size: string;
|
|
6
|
+
triggerSelector: string;
|
|
7
|
+
active: boolean;
|
|
8
|
+
autoplay: boolean;
|
|
9
|
+
tone: 'default' | 'success' | 'error';
|
|
10
|
+
private animation;
|
|
11
|
+
private containerRef;
|
|
12
|
+
private abortController;
|
|
13
|
+
private lottieModule;
|
|
14
|
+
connectedCallback(): Promise<void>;
|
|
15
|
+
disconnectedCallback(): void;
|
|
16
|
+
private initialize;
|
|
17
|
+
private loadLottieModule;
|
|
18
|
+
private loadAnimationData;
|
|
19
|
+
private setupAnimation;
|
|
20
|
+
private setupTriggers;
|
|
21
|
+
private playAnimation;
|
|
22
|
+
private cleanup;
|
|
23
|
+
render(): import('lit').TemplateResult<1>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element.js';
|
|
2
|
+
import { default as FocusTrap } from '../../../utils/focus-trap.js';
|
|
3
|
+
import { gameContextType } from '../context/game.context';
|
|
4
|
+
export default class OrigamiModal extends OrigamiElement {
|
|
5
|
+
static styles: import('lit').CSSResult[];
|
|
6
|
+
private originalTrigger;
|
|
7
|
+
gameData?: gameContextType;
|
|
8
|
+
focusTrap: FocusTrap;
|
|
9
|
+
private closeWatcher;
|
|
10
|
+
fixedPosition: boolean;
|
|
11
|
+
dialog: HTMLElement;
|
|
12
|
+
panel: HTMLElement;
|
|
13
|
+
overlay: HTMLElement;
|
|
14
|
+
open: boolean;
|
|
15
|
+
label: string;
|
|
16
|
+
lockScrolling: boolean;
|
|
17
|
+
noHeader: boolean;
|
|
18
|
+
noFooter: boolean;
|
|
19
|
+
firstUpdated(): void;
|
|
20
|
+
disconnectedCallback(): void;
|
|
21
|
+
private requestClose;
|
|
22
|
+
private addOpenListeners;
|
|
23
|
+
private removeOpenListeners;
|
|
24
|
+
private handleDocumentKeyDown;
|
|
25
|
+
handleOpenChange(): Promise<void>;
|
|
26
|
+
show(): Promise<void>;
|
|
27
|
+
hide(): Promise<void>;
|
|
28
|
+
render(): import('lit').TemplateResult<1>;
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const modalStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class Portal extends LitElement {
|
|
3
|
+
to?: string;
|
|
4
|
+
containerClass: string;
|
|
5
|
+
body: import('lit').TemplateResult<1>;
|
|
6
|
+
uniqueID: string;
|
|
7
|
+
private getOrCreateDestination;
|
|
8
|
+
private getOrCreateContainer;
|
|
9
|
+
private removeContainer;
|
|
10
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
11
|
+
disconnectedCallback(): void;
|
|
12
|
+
render(): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as OrigamiElement } from '../../../shared/origami-element.js';
|
|
2
|
+
export declare class ResponsiveModal extends OrigamiElement {
|
|
3
|
+
static styles: import('lit').CSSResult[];
|
|
4
|
+
showFooter: boolean;
|
|
5
|
+
open: boolean;
|
|
6
|
+
label: string;
|
|
7
|
+
width: string;
|
|
8
|
+
private internalOpen;
|
|
9
|
+
private openDebounceTimeout?;
|
|
10
|
+
private isAnimating;
|
|
11
|
+
openChanged(): void;
|
|
12
|
+
disconnectedCallback(): void;
|
|
13
|
+
handleCloseEvent(): void;
|
|
14
|
+
handleShowEvent(): void;
|
|
15
|
+
handleHideEvent(): void;
|
|
16
|
+
render(): import('lit').TemplateResult<1>;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const responsiveModalStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const selectStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const spinnerStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const switchStyles: import('lit').CSSResult;
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
}
|