@betorigami/games 3.1.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.
Files changed (356) hide show
  1. package/dist/components/advanced-dice/AdvancedDiceContent/AdvancedDiceContent.d.ts +1 -1
  2. package/dist/components/advanced-dice/AdvancedDiceContentBottom/AdvancedDiceContentBottom.d.ts +1 -3
  3. package/dist/components/advanced-dice/AdvancedDiceControls/AdvancedDiceAuto.d.ts +1 -2
  4. package/dist/components/advanced-dice/AdvancedDiceControls/AdvancedDiceManual.d.ts +1 -2
  5. package/dist/components/advanced-dice/AdvancedDiceGame.d.ts +1 -1
  6. package/dist/components/advanced-dice/AdvancedDiceSlider/AdvancedDiceSlider.d.ts +1 -2
  7. package/dist/components/advanced-dice/advanced-dice.api.d.ts +1 -2
  8. package/dist/components/advanced-dice/advanced-dice.constants.d.ts +1 -1
  9. package/dist/components/advanced-dice/advanced-dice.info.d.ts +2 -0
  10. package/dist/components/advanced-dice/advanced-dice.mock.api.d.ts +1 -1
  11. package/dist/components/advanced-dice/advanced-dice.types.d.ts +3 -9
  12. package/dist/components/advanced-dice/index.d.ts +2 -0
  13. package/dist/components/baccarat/BaccaratContent/BaccaratContent.d.ts +1 -2
  14. package/dist/components/baccarat/BaccaratControls/BaccaratAuto.d.ts +1 -2
  15. package/dist/components/baccarat/BaccaratControls/BaccaratManual.d.ts +1 -2
  16. package/dist/components/baccarat/BaccaratDisplay/BaccaratDisplay.d.ts +1 -1
  17. package/dist/components/baccarat/BaccaratGame.d.ts +1 -4
  18. package/dist/components/baccarat/baccarat.api.d.ts +1 -3
  19. package/dist/components/baccarat/baccarat.info.d.ts +2 -0
  20. package/dist/components/baccarat/baccarat.mock.api.d.ts +1 -1
  21. package/dist/components/baccarat/baccarat.types.d.ts +1 -1
  22. package/dist/components/baccarat/baccarat.utils.d.ts +1 -1
  23. package/dist/components/baccarat/index.d.ts +2 -0
  24. package/dist/components/blackjack/BlackjackContent/BlackjackContent.d.ts +1 -1
  25. package/dist/components/blackjack/BlackjackControls/BlackjackManual.d.ts +1 -2
  26. package/dist/components/blackjack/BlackjackGame.d.ts +1 -2
  27. package/dist/components/blackjack/BlackjackSideBetOnboarding/BlackjackSideBetOnboarding.d.ts +1 -1
  28. package/dist/components/blackjack/actions/betController.d.ts +1 -1
  29. package/dist/components/blackjack/blackjack.api.d.ts +1 -2
  30. package/dist/components/blackjack/blackjack.helpers.d.ts +1 -1
  31. package/dist/components/blackjack/blackjack.info.d.ts +2 -0
  32. package/dist/components/blackjack/blackjack.mock.api.d.ts +1 -2
  33. package/dist/components/blackjack/index.d.ts +2 -0
  34. package/dist/components/blitz/BlitzContent/BlitzCard.d.ts +1 -1
  35. package/dist/components/blitz/BlitzContent/BlitzCardContainer.d.ts +1 -1
  36. package/dist/components/blitz/BlitzContent/BlitzContent.d.ts +1 -1
  37. package/dist/components/blitz/BlitzControls/BlitzAuto.d.ts +1 -3
  38. package/dist/components/blitz/BlitzControls/BlitzManual.d.ts +1 -3
  39. package/dist/components/blitz/BlitzControls/BlitzPicksInput.d.ts +1 -2
  40. package/dist/components/blitz/BlitzGame.d.ts +1 -1
  41. package/dist/components/blitz/blitz.api.d.ts +1 -2
  42. package/dist/components/blitz/blitz.info.d.ts +2 -0
  43. package/dist/components/blitz/index.d.ts +2 -0
  44. package/dist/components/diamonds/DiamondsContent/DiamondSlot.d.ts +1 -2
  45. package/dist/components/diamonds/DiamondsContent/DiamondsContent.d.ts +1 -2
  46. package/dist/components/diamonds/DiamondsContent/DiamondsMultiplierItem.d.ts +1 -1
  47. package/dist/components/diamonds/DiamondsContent/DiamondsProfitTooltip.d.ts +1 -3
  48. package/dist/components/diamonds/DiamondsContent/DiamondsSlots.d.ts +1 -1
  49. package/dist/components/diamonds/DiamondsControls/DiamondsAuto.d.ts +1 -1
  50. package/dist/components/diamonds/DiamondsControls/DiamondsManual.d.ts +1 -2
  51. package/dist/components/diamonds/DiamondsGame.d.ts +1 -1
  52. package/dist/components/diamonds/diamonds.api.d.ts +1 -2
  53. package/dist/components/diamonds/diamonds.info.d.ts +2 -0
  54. package/dist/components/diamonds/diamonds.mock.api.d.ts +1 -2
  55. package/dist/components/diamonds/index.d.ts +2 -0
  56. package/dist/components/dice/DiceContent/DiceContent.d.ts +1 -4
  57. package/dist/components/dice/DiceContentBottom/DiceContentBottom.d.ts +2 -4
  58. package/dist/components/dice/DiceControls/DiceAuto.d.ts +1 -1
  59. package/dist/components/dice/DiceControls/DiceManual.d.ts +1 -3
  60. package/dist/components/dice/DiceGame.d.ts +1 -1
  61. package/dist/components/dice/DiceSlider/DiceSlider.d.ts +1 -3
  62. package/dist/components/dice/dice-calculations.d.ts +1 -1
  63. package/dist/components/dice/dice.api.d.ts +1 -3
  64. package/dist/components/dice/dice.info.d.ts +2 -0
  65. package/dist/components/dice/index.d.ts +2 -0
  66. package/dist/components/keno/KenoContent/KenoContent.d.ts +1 -2
  67. package/dist/components/keno/KenoContentBottom/KenoContentBottom.d.ts +1 -3
  68. package/dist/components/keno/KenoControls/KenoAuto.d.ts +1 -3
  69. package/dist/components/keno/KenoControls/KenoManual.d.ts +1 -3
  70. package/dist/components/keno/KenoGame.d.ts +1 -2
  71. package/dist/components/keno/KenoGrid/KenoGrid.d.ts +1 -2
  72. package/dist/components/keno/KenoTile/KenoTile.d.ts +1 -2
  73. package/dist/components/keno/index.d.ts +2 -0
  74. package/dist/components/keno/keno.api.d.ts +1 -3
  75. package/dist/components/keno/keno.info.d.ts +2 -0
  76. package/dist/components/keno/keno.mock.api.d.ts +1 -2
  77. package/dist/components/limbo/LimboContent/LimboContent.d.ts +3 -4
  78. package/dist/components/limbo/LimboContentBottom/LimboContentBottom.d.ts +2 -3
  79. package/dist/components/limbo/LimboControls/LimboAuto.d.ts +1 -1
  80. package/dist/components/limbo/LimboControls/LimboManual.d.ts +1 -3
  81. package/dist/components/limbo/LimboGame.d.ts +1 -2
  82. package/dist/components/limbo/Multiplier/LimboMultiplier.d.ts +1 -2
  83. package/dist/components/limbo/index.d.ts +2 -0
  84. package/dist/components/limbo/limbo.api.d.ts +1 -2
  85. package/dist/components/limbo/limbo.info.d.ts +2 -0
  86. package/dist/components/mines/MinesControls/MinesAuto.d.ts +1 -2
  87. package/dist/components/mines/MinesControls/MinesManual.d.ts +1 -3
  88. package/dist/components/mines/MinesGame.d.ts +1 -2
  89. package/dist/components/mines/MinesGrid/MinesGrid.d.ts +1 -4
  90. package/dist/components/mines/MinesTile/MinesTile.d.ts +2 -4
  91. package/dist/components/mines/index.d.ts +2 -0
  92. package/dist/components/mines/mines.api.d.ts +1 -2
  93. package/dist/components/mines/mines.info.d.ts +2 -0
  94. package/dist/components/plinko/PlinkoContent/PlinkoBin/PlinkoBin.d.ts +1 -1
  95. package/dist/components/plinko/PlinkoContent/PlinkoBins/PlinkoBins.d.ts +2 -2
  96. package/dist/components/plinko/PlinkoContent/PlinkoContent.d.ts +1 -2
  97. package/dist/components/plinko/PlinkoControls/PlinkoAuto.d.ts +1 -1
  98. package/dist/components/plinko/PlinkoControls/PlinkoManual.d.ts +1 -2
  99. package/dist/components/plinko/PlinkoGame.d.ts +1 -1
  100. package/dist/components/plinko/PlinkoRowsSelect/PlinkoRiskSelect.d.ts +1 -2
  101. package/dist/components/plinko/PlinkoRowsSelect/PlinkoRowsSelect.d.ts +1 -2
  102. package/dist/components/plinko/PlinkoRowsSlider/PlinkoRowsSlider.d.ts +1 -2
  103. package/dist/components/plinko/index.d.ts +2 -0
  104. package/dist/components/plinko/plinko-content.utils.d.ts +1 -1
  105. package/dist/components/plinko/plinko.api.d.ts +1 -2
  106. package/dist/components/plinko/plinko.constants.d.ts +4 -8
  107. package/dist/components/plinko/plinko.info.d.ts +2 -0
  108. package/dist/components/plinko/plinko.mock.api.d.ts +1 -2
  109. package/dist/components/plinko/plinko.utils.d.ts +1 -1
  110. package/dist/components/roulette/RouletteAnimator/RouletteAnimator.d.ts +1 -2
  111. package/dist/components/roulette/RouletteContent/RouletteContent.d.ts +1 -2
  112. package/dist/components/roulette/RouletteControls/RouletteAuto.d.ts +1 -2
  113. package/dist/components/roulette/RouletteControls/RouletteManual.d.ts +1 -2
  114. package/dist/components/roulette/RouletteGame.d.ts +1 -3
  115. package/dist/components/roulette/RouletteGrid/RouletteGrid.d.ts +1 -1
  116. package/dist/components/roulette/RouletteTop/RouletteTop.d.ts +1 -2
  117. package/dist/components/roulette/index.d.ts +2 -0
  118. package/dist/components/roulette/roulette.api.d.ts +1 -2
  119. package/dist/components/roulette/roulette.constants.d.ts +2 -2
  120. package/dist/components/roulette/roulette.info.d.ts +2 -0
  121. package/dist/components/roulette/roulette.mock.api.d.ts +1 -1
  122. package/dist/components/roulette/roulette.transformer.d.ts +1 -1
  123. package/dist/index.d.ts +16 -17
  124. package/dist/index.mjs +28599 -28395
  125. package/dist/{components/shared/BetResultModal → legacy}/BetResultDataExtractor.d.ts +4 -7
  126. package/dist/{components/shared/GameOutcomeDisplay/GameOutcomeDisplay.d.ts → legacy/LegacyGameOutcomeDisplay.d.ts} +9 -17
  127. package/dist/legacy/legacy-bet-details.d.ts +4 -0
  128. package/dist/legacy/legacy-ui-module.d.ts +4 -0
  129. package/package.json +4 -2
  130. package/dist/components/shared/Alert/Alert.d.ts +0 -27
  131. package/dist/components/shared/Alert/Alert.styles.d.ts +0 -1
  132. package/dist/components/shared/AlertManager/AlertManager.d.ts +0 -28
  133. package/dist/components/shared/AlertManager/AlertManager.styles.d.ts +0 -1
  134. package/dist/components/shared/BetDetailsComponent/BetDetailsComponent.d.ts +0 -21
  135. package/dist/components/shared/BetDetailsComponent/BetDetailsComponent.styles.d.ts +0 -1
  136. package/dist/components/shared/BetResultModal/BetResultModal.d.ts +0 -31
  137. package/dist/components/shared/BetResultModal/BetResultModal.styles.d.ts +0 -1
  138. package/dist/components/shared/Button/Button.d.ts +0 -26
  139. package/dist/components/shared/Button/Button.styles.d.ts +0 -1
  140. package/dist/components/shared/Button/ButtonGroup.d.ts +0 -5
  141. package/dist/components/shared/Button/ButtonGroup.styles.d.ts +0 -1
  142. package/dist/components/shared/ChipStack/ChipStack.d.ts +0 -10
  143. package/dist/components/shared/ChipStack/ChipStack.styles.d.ts +0 -1
  144. package/dist/components/shared/ChipTableGameComponent.d.ts +0 -43
  145. package/dist/components/shared/DepositButton/DepositButton.d.ts +0 -9
  146. package/dist/components/shared/Drawer/Drawer.d.ts +0 -45
  147. package/dist/components/shared/Drawer/Drawer.styles.d.ts +0 -1
  148. package/dist/components/shared/FairnessDetails/FairnessContent.d.ts +0 -48
  149. package/dist/components/shared/FairnessDetails/FairnessContent.styles.d.ts +0 -1
  150. package/dist/components/shared/FairnessDetails/FairnessDetails.d.ts +0 -14
  151. package/dist/components/shared/FairnessDetails/HistoryTable.d.ts +0 -28
  152. package/dist/components/shared/FairnessDetails/HistoryTable.styles.d.ts +0 -1
  153. package/dist/components/shared/Footer/Footer.d.ts +0 -20
  154. package/dist/components/shared/Footer/Footer.styles.d.ts +0 -1
  155. package/dist/components/shared/GameComponent.d.ts +0 -77
  156. package/dist/components/shared/GameInfo/GameInfoModal.d.ts +0 -16
  157. package/dist/components/shared/GameInfo/GameInfoModal.styles.d.ts +0 -1
  158. package/dist/components/shared/GameInfo/gameInfoConfig.d.ts +0 -27
  159. package/dist/components/shared/GameLayout/GameLayout.d.ts +0 -51
  160. package/dist/components/shared/GameLayout/GameLayout.styles.d.ts +0 -1
  161. package/dist/components/shared/GameOutcomeDisplay/GameOutcomeDisplay.styles.d.ts +0 -1
  162. package/dist/components/shared/GameProviderWrapper.d.ts +0 -106
  163. package/dist/components/shared/GameProviderWrapper.styles.d.ts +0 -1
  164. package/dist/components/shared/GameSidebar/GameSidebar.d.ts +0 -16
  165. package/dist/components/shared/GameSidebar/GameSidebar.styles.d.ts +0 -1
  166. package/dist/components/shared/GameWinPopup/GameWinPopup.d.ts +0 -27
  167. package/dist/components/shared/GameWinPopup/GameWinPopup.styles.d.ts +0 -1
  168. package/dist/components/shared/GenericAutobet/BetCountInput.d.ts +0 -12
  169. package/dist/components/shared/GenericAutobet/GenericAutobet.d.ts +0 -52
  170. package/dist/components/shared/GenericAutobet/GenericAutobet.styles.d.ts +0 -1
  171. package/dist/components/shared/GenericAutobet/context/autobet.context.d.ts +0 -13
  172. package/dist/components/shared/HistoryPills/HistoryPills.d.ts +0 -27
  173. package/dist/components/shared/HistoryPills/HistoryPills.styles.d.ts +0 -1
  174. package/dist/components/shared/HotkeysModal/HotKeysModal.styles.d.ts +0 -1
  175. package/dist/components/shared/HotkeysModal/HotkeysModal.d.ts +0 -10
  176. package/dist/components/shared/Inputs/BetAmountInput/BetAmountInput.d.ts +0 -44
  177. package/dist/components/shared/Inputs/ChipInput/ChipInput.d.ts +0 -19
  178. package/dist/components/shared/Inputs/ChipInput/ChipInput.styles.d.ts +0 -1
  179. package/dist/components/shared/Inputs/ChipInput/chip-input.constants.d.ts +0 -4
  180. package/dist/components/shared/Inputs/CurrencyInput/RawCurrencyInput.d.ts +0 -36
  181. package/dist/components/shared/Inputs/CurrencyInput/RawCurrencyInput.styles.d.ts +0 -1
  182. package/dist/components/shared/Inputs/Input/Input.d.ts +0 -74
  183. package/dist/components/shared/Inputs/Input/Input.styles.d.ts +0 -1
  184. package/dist/components/shared/LottieIcon/LottieIcon.d.ts +0 -24
  185. package/dist/components/shared/Modal/Modal.d.ts +0 -29
  186. package/dist/components/shared/Modal/Modal.styles.d.ts +0 -1
  187. package/dist/components/shared/Modal/Portal.d.ts +0 -13
  188. package/dist/components/shared/ResponsiveModal/ResponsiveModal.d.ts +0 -17
  189. package/dist/components/shared/ResponsiveModal/ResponsiveModal.styles.d.ts +0 -1
  190. package/dist/components/shared/Select/Select.d.ts +0 -34
  191. package/dist/components/shared/Select/Select.styles.d.ts +0 -1
  192. package/dist/components/shared/Spinner/Spinner.d.ts +0 -5
  193. package/dist/components/shared/Spinner/Spinner.styles.d.ts +0 -1
  194. package/dist/components/shared/Switch/Switch.d.ts +0 -11
  195. package/dist/components/shared/Switch/Switch.styles.d.ts +0 -1
  196. package/dist/components/shared/Toggle/Toggle.d.ts +0 -15
  197. package/dist/components/shared/Toggle/Toggle.styles.d.ts +0 -1
  198. package/dist/components/shared/Tooltip/Tooltip.d.ts +0 -56
  199. package/dist/components/shared/Tooltip/Tooltip.styles.d.ts +0 -1
  200. package/dist/components/shared/context/game.context.d.ts +0 -90
  201. package/dist/components/shared/types/chip.types.d.ts +0 -10
  202. package/dist/components/wheel/WheelAnimator/WheelAnimator.d.ts +0 -31
  203. package/dist/components/wheel/WheelAnimator/WheelAnimator.styles.d.ts +0 -1
  204. package/dist/components/wheel/WheelContentBottom/WheelContentBottom.d.ts +0 -24
  205. package/dist/components/wheel/WheelContentBottom/WheelContentBottom.styles.d.ts +0 -1
  206. package/dist/components/wheel/WheelControls/WheelAuto.d.ts +0 -16
  207. package/dist/components/wheel/WheelControls/WheelControls.styles.d.ts +0 -1
  208. package/dist/components/wheel/WheelControls/WheelManual.d.ts +0 -16
  209. package/dist/components/wheel/WheelGame.d.ts +0 -26
  210. package/dist/components/wheel/WheelGame.styles.d.ts +0 -1
  211. package/dist/components/wheel/WheelLayout/WheelLayout.d.ts +0 -19
  212. package/dist/components/wheel/WheelLayout/WheelLayout.styles.d.ts +0 -1
  213. package/dist/components/wheel/WheelSvg/WheelSvg.d.ts +0 -12
  214. package/dist/components/wheel/WheelSvg/WheelSvg.styles.d.ts +0 -1
  215. package/dist/components/wheel/wheel.api.d.ts +0 -11
  216. package/dist/components/wheel/wheel.constants.d.ts +0 -25
  217. package/dist/components/wheel/wheel.mock.api.d.ts +0 -10
  218. package/dist/components/wheel/wheel.multipliers.d.ts +0 -11
  219. package/dist/components/wheel/wheel.patterns.d.ts +0 -3
  220. package/dist/components/wheel/wheel.utils.d.ts +0 -41
  221. package/dist/controllers/bet-result-cache.controller.d.ts +0 -14
  222. package/dist/controllers/haptics.controller.d.ts +0 -17
  223. package/dist/controllers/history.controller.d.ts +0 -56
  224. package/dist/controllers/hotkey.controller.d.ts +0 -30
  225. package/dist/controllers/sound/sound-definitions.d.ts +0 -24
  226. package/dist/controllers/sound/sound-effects.controller.d.ts +0 -18
  227. package/dist/controllers/sound/sound-layer.types.d.ts +0 -45
  228. package/dist/shared/animation.styles.d.ts +0 -1
  229. package/dist/shared/async-throttle-queue.d.ts +0 -51
  230. package/dist/shared/autobet-pacing.d.ts +0 -4
  231. package/dist/shared/bet.types.d.ts +0 -194
  232. package/dist/shared/button-feedback.d.ts +0 -13
  233. package/dist/shared/calculations/games/dice.d.ts +0 -1
  234. package/dist/shared/calculations/games/keno.d.ts +0 -25
  235. package/dist/shared/calculations/games/mines.d.ts +0 -7
  236. package/dist/shared/calculations/utils/big-validation.d.ts +0 -71
  237. package/dist/shared/calculations/utils/bignumber-max.d.ts +0 -2
  238. package/dist/shared/calculations/utils/bignumber-min.d.ts +0 -7
  239. package/dist/shared/calculations/utils/factorial.d.ts +0 -2
  240. package/dist/shared/calculations/utils/hex-to-bytes.d.ts +0 -1
  241. package/dist/shared/calculations/utils/ncr.d.ts +0 -2
  242. package/dist/shared/cards/Card.d.ts +0 -30
  243. package/dist/shared/cards/Card.styles.d.ts +0 -1
  244. package/dist/shared/cards/CardStack.d.ts +0 -6
  245. package/dist/shared/cards/CardStack.styles.d.ts +0 -1
  246. package/dist/shared/cards/card.constants.d.ts +0 -11
  247. package/dist/shared/cards/card.types.d.ts +0 -10
  248. package/dist/shared/cards/card.utils.d.ts +0 -5
  249. package/dist/shared/chip-state.utils.d.ts +0 -125
  250. package/dist/shared/chip-state.utils.test.d.ts +0 -1
  251. package/dist/shared/component.styles.d.ts +0 -1
  252. package/dist/shared/constants.d.ts +0 -60
  253. package/dist/shared/create-api-factory.d.ts +0 -10
  254. package/dist/shared/event-map.d.ts +0 -342
  255. package/dist/shared/format-monetary-amount.d.ts +0 -7
  256. package/dist/shared/format-win-chance.d.ts +0 -1
  257. package/dist/shared/format-win-chance.test.d.ts +0 -1
  258. package/dist/shared/get-correlation-id.d.ts +0 -5
  259. package/dist/shared/get-currency-details.d.ts +0 -12
  260. package/dist/shared/get-currency-details.test.d.ts +0 -1
  261. package/dist/shared/get-currency-precision.d.ts +0 -2
  262. package/dist/shared/get-currency-precision.test.d.ts +0 -1
  263. package/dist/shared/get-currency-symbol-position.d.ts +0 -4
  264. package/dist/shared/get-currency-symbol-position.test.d.ts +0 -1
  265. package/dist/shared/get-currency-symbol.d.ts +0 -2
  266. package/dist/shared/get-currency-symbol.test.d.ts +0 -1
  267. package/dist/shared/get-game-outcome.d.ts +0 -1
  268. package/dist/shared/hotkey-helper.d.ts +0 -14
  269. package/dist/shared/icons/currencies/arsIcon.d.ts +0 -1
  270. package/dist/shared/icons/currencies/audIcon.d.ts +0 -1
  271. package/dist/shared/icons/currencies/brlIcon.d.ts +0 -1
  272. package/dist/shared/icons/currencies/cadIcon.d.ts +0 -1
  273. package/dist/shared/icons/currencies/chfIcon.d.ts +0 -1
  274. package/dist/shared/icons/currencies/clpIcon.d.ts +0 -1
  275. package/dist/shared/icons/currencies/cnyIcon.d.ts +0 -1
  276. package/dist/shared/icons/currencies/czkIcon.d.ts +0 -1
  277. package/dist/shared/icons/currencies/dopIcon.d.ts +0 -1
  278. package/dist/shared/icons/currencies/eurIcon.d.ts +0 -1
  279. package/dist/shared/icons/currencies/gbpIcon.d.ts +0 -1
  280. package/dist/shared/icons/currencies/gcIcon.d.ts +0 -1
  281. package/dist/shared/icons/currencies/gtqIcon.d.ts +0 -1
  282. package/dist/shared/icons/currencies/hnlIcon.d.ts +0 -1
  283. package/dist/shared/icons/currencies/hufIcon.d.ts +0 -1
  284. package/dist/shared/icons/currencies/idrIcon.d.ts +0 -1
  285. package/dist/shared/icons/currencies/inrIcon.d.ts +0 -1
  286. package/dist/shared/icons/currencies/jpyIcon.d.ts +0 -1
  287. package/dist/shared/icons/currencies/krwIcon.d.ts +0 -1
  288. package/dist/shared/icons/currencies/kztIcon.d.ts +0 -1
  289. package/dist/shared/icons/currencies/mxnIcon.d.ts +0 -1
  290. package/dist/shared/icons/currencies/myrIcon.d.ts +0 -1
  291. package/dist/shared/icons/currencies/ngnIcon.d.ts +0 -1
  292. package/dist/shared/icons/currencies/nokIcon.d.ts +0 -1
  293. package/dist/shared/icons/currencies/nzdIcon.d.ts +0 -1
  294. package/dist/shared/icons/currencies/penIcon.d.ts +0 -1
  295. package/dist/shared/icons/currencies/phpIcon.d.ts +0 -1
  296. package/dist/shared/icons/currencies/ronIcon.d.ts +0 -1
  297. package/dist/shared/icons/currencies/rubIcon.d.ts +0 -1
  298. package/dist/shared/icons/currencies/scIcon.d.ts +0 -1
  299. package/dist/shared/icons/currencies/thbIcon.d.ts +0 -1
  300. package/dist/shared/icons/currencies/tryIcon.d.ts +0 -1
  301. package/dist/shared/icons/currencies/uahIcon.d.ts +0 -1
  302. package/dist/shared/icons/currencies/usdIcon.d.ts +0 -1
  303. package/dist/shared/icons/currencies/uzsIcon.d.ts +0 -1
  304. package/dist/shared/icons/currencies/vndIcon.d.ts +0 -1
  305. package/dist/shared/icons/currencies/zarIcon.d.ts +0 -1
  306. package/dist/shared/icons/get-currency-icon.d.ts +0 -2
  307. package/dist/shared/icons/get-currency-icon.test.d.ts +0 -1
  308. package/dist/shared/icons/index.d.ts +0 -1
  309. package/dist/shared/icons/kenoGemIcon.d.ts +0 -1
  310. package/dist/shared/icons/minesBombIcon.d.ts +0 -1
  311. package/dist/shared/icons/minesGemIcon.d.ts +0 -1
  312. package/dist/shared/mock-bridged-game-service.d.ts +0 -42
  313. package/dist/shared/mock-rng-generator.d.ts +0 -3
  314. package/dist/shared/origami-action.type.d.ts +0 -7
  315. package/dist/shared/origami-element.d.ts +0 -21
  316. package/dist/shared/primary-input.d.ts +0 -2
  317. package/dist/shared/provably-fair-verifier.d.ts +0 -28
  318. package/dist/shared/provider-api/bet-result.d.ts +0 -18
  319. package/dist/shared/provider-api/error-codes.d.ts +0 -9
  320. package/dist/shared/sleep.d.ts +0 -1
  321. package/dist/shared/utils/format-autobet-settings.d.ts +0 -5
  322. package/dist/shared/utils/prevent-non-numeric-input.d.ts +0 -4
  323. package/dist/shared/wait-for-event.d.ts +0 -1
  324. package/dist/shared/watch.d.ts +0 -26
  325. package/dist/translations/ar.json.d.ts +0 -407
  326. package/dist/translations/de.json.d.ts +0 -407
  327. package/dist/translations/dynamic-loader.d.ts +0 -15
  328. package/dist/translations/en-soc.json.d.ts +0 -407
  329. package/dist/translations/en.json.d.ts +0 -409
  330. package/dist/translations/es.json.d.ts +0 -407
  331. package/dist/translations/fi.json.d.ts +0 -407
  332. package/dist/translations/fr.json.d.ts +0 -407
  333. package/dist/translations/hi.json.d.ts +0 -407
  334. package/dist/translations/id.json.d.ts +0 -407
  335. package/dist/translations/index.d.ts +0 -6889
  336. package/dist/translations/ja.json.d.ts +0 -407
  337. package/dist/translations/ko.json.d.ts +0 -407
  338. package/dist/translations/language.context.d.ts +0 -9
  339. package/dist/translations/pl.json.d.ts +0 -407
  340. package/dist/translations/pt.json.d.ts +0 -407
  341. package/dist/translations/ru.json.d.ts +0 -407
  342. package/dist/translations/tr.json.d.ts +0 -407
  343. package/dist/translations/utils.d.ts +0 -22
  344. package/dist/translations/vi.json.d.ts +0 -407
  345. package/dist/translations/zh.json.d.ts +0 -407
  346. package/dist/utils/active-elements.d.ts +0 -15
  347. package/dist/utils/animate.d.ts +0 -22
  348. package/dist/utils/animation-registry.d.ts +0 -24
  349. package/dist/utils/blur-active-element.d.ts +0 -7
  350. package/dist/utils/event.d.ts +0 -2
  351. package/dist/utils/focus-trap.d.ts +0 -24
  352. package/dist/utils/game-layout-style.d.ts +0 -9
  353. package/dist/utils/scroll.d.ts +0 -22
  354. package/dist/utils/slot.controller.d.ts +0 -23
  355. package/dist/utils/tabbable.d.ts +0 -9
  356. /package/dist/{shared/async-throttle-queue.test.d.ts → register-games.d.ts} +0 -0
@@ -1,24 +0,0 @@
1
- import { ResolvedSound } from './sound-layer.types';
2
- export declare const Sound: {
3
- buttonPress: (intensity: number) => ResolvedSound;
4
- buttonClick: (intensity: number) => ResolvedSound;
5
- tilePress: () => ResolvedSound;
6
- tileTap: () => ResolvedSound;
7
- kenoTick: () => ResolvedSound;
8
- diceTick: (position: number) => ResolvedSound;
9
- limboTick: (progress: number) => ResolvedSound;
10
- wheelTick: () => ResolvedSound;
11
- rouletteTick: () => ResolvedSound;
12
- rouletteBounce: (intensity: number) => ResolvedSound;
13
- cardSlide: () => ResolvedSound;
14
- cardFlip: () => ResolvedSound;
15
- blitzDraw: (pitch: number) => ResolvedSound;
16
- blitzLoss: () => ResolvedSound;
17
- plinkoBin: (pitch: number, includeSub: boolean) => ResolvedSound;
18
- diceRoll: () => ResolvedSound;
19
- diamondsReveal: (pitch: number) => ResolvedSound;
20
- gem: (pitch: number) => ResolvedSound;
21
- minesGem: (pitch: number) => ResolvedSound;
22
- bomb: () => ResolvedSound;
23
- win: () => ResolvedSound;
24
- };
@@ -1,18 +0,0 @@
1
- import { ResolvedSound } from './sound-layer.types';
2
- interface GameHost {
3
- addController(controller: unknown): void;
4
- }
5
- export declare class SoundEffectsController {
6
- private destroyed;
7
- private audioCtx;
8
- private volume;
9
- constructor(host: GameHost);
10
- setVolume(normalizedVolume: number): void;
11
- destroy(): void;
12
- play(sound: ResolvedSound): void;
13
- private ensureAudio;
14
- private renderLayers;
15
- private renderNoiseLayer;
16
- private renderToneLayer;
17
- }
18
- export {};
@@ -1,45 +0,0 @@
1
- export type SoundWaveform = 'sine' | 'triangle' | 'sawtooth' | 'square';
2
- export type SoundFilterType = 'bandpass' | 'lowpass' | 'highpass';
3
- export type ToneGainDef = {
4
- envelope: 'peak-decay';
5
- peak: number;
6
- decayTime: number;
7
- } | {
8
- envelope: 'attack-decay';
9
- attackTime: number;
10
- peak: number;
11
- decayTime: number;
12
- } | {
13
- envelope: 'delayed-attack-decay';
14
- holdTime: number;
15
- attackEndTime: number;
16
- peak: number;
17
- decayTime: number;
18
- };
19
- export type NoiseLayerDef = {
20
- kind: 'noise';
21
- duration: number;
22
- decay: number;
23
- filterType: SoundFilterType;
24
- filterFreq: number;
25
- filterQ: number;
26
- gain: number;
27
- randomization: number;
28
- filterFreqEnd?: number;
29
- filterFreqRampTime?: number;
30
- };
31
- export type ToneLayerDef = {
32
- kind: 'tone';
33
- waveform: SoundWaveform;
34
- frequency: number;
35
- frequencyEnd?: number;
36
- frequencyRampTime?: number;
37
- duration: number;
38
- gain: ToneGainDef;
39
- startOffset?: number;
40
- };
41
- export type SoundLayerDef = NoiseLayerDef | ToneLayerDef;
42
- export interface ResolvedSound {
43
- readonly layers: readonly SoundLayerDef[];
44
- readonly gainScale: number;
45
- }
@@ -1 +0,0 @@
1
- export declare const animationStyles: import('lit').CSSResult;
@@ -1,51 +0,0 @@
1
- /**
2
- * A bounded async queue with concurrency limiting.
3
- * Implements a leaky bucket pattern where:
4
- * - Requests are queued up to maxQueueSize
5
- * - Only maxConcurrent requests run simultaneously
6
- * - Requests beyond the queue limit are rejected
7
- *
8
- * @template TInput - The type of input passed to the executor
9
- * @template TOutput - The type of output returned by the executor
10
- */
11
- export declare class AsyncThrottleQueue<TInput, TOutput> {
12
- private queue;
13
- private inflight;
14
- private readonly maxQueueSize;
15
- private readonly maxConcurrent;
16
- private executor;
17
- constructor(executor: (input: TInput) => Promise<TOutput>, options?: {
18
- maxQueueSize?: number;
19
- maxConcurrent?: number;
20
- });
21
- /**
22
- * Attempts to enqueue a request.
23
- * @param input - The input to pass to the executor
24
- * @returns A promise that resolves with the executor result
25
- * @throws Error if the queue is full
26
- */
27
- enqueue(input: TInput): Promise<TOutput>;
28
- private processQueue;
29
- /**
30
- * Number of requests waiting in the queue (not yet started)
31
- */
32
- get pendingCount(): number;
33
- /**
34
- * Number of requests currently being processed
35
- */
36
- get inflightCount(): number;
37
- /**
38
- * Total number of requests (pending + inflight)
39
- */
40
- get totalCount(): number;
41
- /**
42
- * Whether the queue is empty and no requests are in flight
43
- */
44
- get isIdle(): boolean;
45
- /**
46
- * Clears all pending requests from the queue.
47
- * Inflight requests will complete normally.
48
- * @param errorMessage - Custom error message for rejected requests
49
- */
50
- clear(errorMessage?: string): void;
51
- }
@@ -1,4 +0,0 @@
1
- export declare const MIN_AUTOBET_INTERVAL_MS = 300;
2
- export declare const MIN_RESULT_DISPLAY_MS = 300;
3
- export declare const REVEAL_SETTLE_MS = 200;
4
- export declare const WIN_REVEAL_SETTLE_MS = 150;
@@ -1,194 +0,0 @@
1
- import { WheelRiskLevel, WheelSegments } from '../components/wheel/wheel.constants';
2
- import { PlinkoRiskLevel, PlinkoRowCount } from '../components/plinko/plinko.constants';
3
- import { DiceDirection } from './calculations/games/dice';
4
- import { KenoRiskLevel } from './calculations/games/keno';
5
- import { Currency } from './constants';
6
- import { OrigamiActionType } from './origami-action.type';
7
- import { AdvancedDiceInputs } from '../components/advanced-dice/advanced-dice.types';
8
- import { RouletteType, Parity, Color, Half, Column, Dozen, BaccaratGameOutputs, BaccaratGameInputs, PlayResult, CardDto } from '@betorigami/game-calculations';
9
- import { AfterBetEffect } from '../components/shared/GenericAutobet/GenericAutobet';
10
- export type DiceStartAction = {
11
- direction: DiceDirection;
12
- selectedValue: number;
13
- };
14
- export type KenoStartAction = {
15
- riskLevel: KenoRiskLevel;
16
- selectedNumbers: number[];
17
- };
18
- export type EndAction = {
19
- result: number[];
20
- };
21
- export declare const isEndAction: (action: unknown) => action is EndAction;
22
- export type LimboStartAction = {
23
- targetMultiplier: number;
24
- };
25
- export type LimboEndAction = {
26
- result: number[];
27
- randomMultiplier: string;
28
- };
29
- export type MinesStartAction = {
30
- minesCount: number;
31
- selectedTiles: number[];
32
- hasCashedOut: boolean;
33
- };
34
- export type BlitzStartAction = {
35
- pickCount: number;
36
- };
37
- export type BlitzEndAction = EndAction & {
38
- cards: CardDto[];
39
- payoutMultiplier: string;
40
- };
41
- export interface DiamondsStartAction {
42
- }
43
- export interface WheelStartAction {
44
- riskLevel: WheelRiskLevel;
45
- segments: WheelSegments;
46
- }
47
- export interface PlinkoStartAction {
48
- riskLevel: PlinkoRiskLevel;
49
- numberOfRows: PlinkoRowCount;
50
- }
51
- export type AdvancedDiceStartAction = AdvancedDiceInputs;
52
- export type BaccaratEndAction = BaccaratGameOutputs & {
53
- result: number[];
54
- };
55
- export interface RouletteStraightBet {
56
- amount: string;
57
- value: number;
58
- }
59
- export interface RouletteSplitBet {
60
- amount: string;
61
- values: readonly [number, number];
62
- }
63
- export interface RouletteStreetBet {
64
- amount: string;
65
- values: readonly [number, number, number];
66
- }
67
- export interface RouletteCornerBet {
68
- amount: string;
69
- values: readonly [number, number, number, number];
70
- }
71
- export interface RouletteDoubleStreetBet {
72
- amount: string;
73
- values: readonly [number, number, number, number, number, number];
74
- }
75
- export interface RouletteParityBet {
76
- amount: string;
77
- parity: Parity;
78
- }
79
- export interface RouletteColorBet {
80
- amount: string;
81
- color: Color;
82
- }
83
- export interface RouletteHalfBet {
84
- amount: string;
85
- half: Half;
86
- }
87
- export interface RouletteColumnBet {
88
- amount: string;
89
- column: Column;
90
- }
91
- export interface RouletteDozenBet {
92
- amount: string;
93
- dozen: Dozen;
94
- }
95
- export interface RouletteBasketBet {
96
- amount: string;
97
- }
98
- export interface EuropeanRouletteInputs {
99
- straightBets: RouletteStraightBet[];
100
- splitBets: RouletteSplitBet[];
101
- streetBets: RouletteStreetBet[];
102
- cornerBets: RouletteCornerBet[];
103
- doubleStreetBets: RouletteDoubleStreetBet[];
104
- parityBets: RouletteParityBet[];
105
- colorBets: RouletteColorBet[];
106
- halfBets: RouletteHalfBet[];
107
- columnBets: RouletteColumnBet[];
108
- dozenBets: RouletteDozenBet[];
109
- }
110
- export interface AmericanRouletteInputs extends EuropeanRouletteInputs {
111
- basketBets: RouletteBasketBet[];
112
- }
113
- export type RouletteStartAction = {
114
- type: RouletteType.EUROPEAN;
115
- inputs: EuropeanRouletteInputs;
116
- } | {
117
- type: RouletteType.AMERICAN;
118
- inputs: AmericanRouletteInputs;
119
- };
120
- export interface RouletteBetOutcomes {
121
- winningBets: EuropeanRouletteInputs;
122
- losingBets: EuropeanRouletteInputs;
123
- }
124
- export interface RouletteEndAction {
125
- type: 'european' | 'american';
126
- betOutcomes: RouletteBetOutcomes;
127
- result: number[];
128
- }
129
- export interface Action {
130
- data: {
131
- DICE?: DiceStartAction | EndAction;
132
- KENO?: KenoStartAction | EndAction;
133
- LIMBO?: LimboStartAction | LimboEndAction;
134
- MINES?: MinesStartAction | EndAction;
135
- BLITZ?: BlitzStartAction | BlitzEndAction;
136
- DIAMONDS?: DiamondsStartAction | EndAction;
137
- WHEEL?: WheelStartAction | EndAction;
138
- PLINKO?: PlinkoStartAction | EndAction;
139
- ADVANCED_DICE?: AdvancedDiceStartAction | EndAction;
140
- ROULETTE?: RouletteStartAction | RouletteEndAction;
141
- BACCARAT?: BaccaratGameInputs | BaccaratEndAction;
142
- BLACKJACK?: PlayResult;
143
- };
144
- type: OrigamiActionType;
145
- }
146
- export interface BetHistoryResult {
147
- id: string;
148
- amount: string;
149
- payout: string | null;
150
- currency: Currency;
151
- succeededAt: string;
152
- }
153
- export interface BetResult {
154
- id: string;
155
- nonce: number;
156
- amount: string;
157
- payout: string | null;
158
- userId: string;
159
- gameId: string;
160
- multiplier: string | null;
161
- tenantId: string;
162
- clientSeed: string;
163
- randomValue: string | null;
164
- proof: string | null;
165
- afterBalance: string | null;
166
- tenantUserId: string;
167
- insuranceAmount?: string | null;
168
- betActions: Array<Action>;
169
- }
170
- export type StartBetResponse = {
171
- success: true;
172
- data: BetResult;
173
- } | {
174
- success: false;
175
- error: string;
176
- };
177
- export type AutobetApiSettings = {
178
- onWinStrategy: AfterBetEffect;
179
- onLossStrategy: AfterBetEffect;
180
- onWinPercentage: string;
181
- onLossPercentage: string;
182
- stopOnLoss: string;
183
- stopOnProfit: string;
184
- numberOfBets: number;
185
- autobetId: string;
186
- betIndex: number;
187
- pnlSinceStart: string;
188
- };
189
- export interface BaseStartArgs {
190
- amount: string;
191
- meta?: {
192
- autobetSettings?: AutobetApiSettings;
193
- };
194
- }
@@ -1,13 +0,0 @@
1
- import { ResolvedSound } from '../controllers/sound/sound-layer.types';
2
- export interface ButtonFeedbackContext {
3
- volume?: number;
4
- soundEffects?: {
5
- play?: (sound: ResolvedSound, volume: number) => void;
6
- };
7
- haptics?: {
8
- tap?: () => void;
9
- };
10
- }
11
- export declare const playButtonPressFeedback: (context: ButtonFeedbackContext | undefined, intensity: number) => void;
12
- export declare const playButtonClickFeedback: (context: ButtonFeedbackContext | undefined, intensity: number) => void;
13
- export declare const withButtonClickFeedback: <Args extends unknown[]>(getContext: () => ButtonFeedbackContext | undefined, callback: (...args: Args) => void, intensity?: number) => ((...args: Args) => void);
@@ -1 +0,0 @@
1
- export { DiceDirection } from '@betorigami/game-calculations';
@@ -1,25 +0,0 @@
1
- import { default as Big } from 'big.js';
2
- export declare enum KenoRiskLevel {
3
- CLASSIC = "CLASSIC",
4
- LOW_RISK = "LOW_RISK",
5
- MEDIUM_RISK = "MEDIUM_RISK",
6
- HIGH_RISK = "HIGH_RISK"
7
- }
8
- interface KenoConfig {
9
- tiles: number;
10
- payout: Record<KenoRiskLevel, number[]>;
11
- }
12
- declare const VALID_KENO_EDGES: readonly [1, 2, 3, 4, 8];
13
- export type KenoEdge = (typeof VALID_KENO_EDGES)[number];
14
- export declare class Keno {
15
- static validEdges: readonly [1, 2, 3, 4, 8];
16
- static getEdge(edge: number): KenoEdge;
17
- static configs(edge: KenoEdge): KenoConfig[];
18
- static calculateMultiplier(risk: KenoRiskLevel, selectedTiles: number[], results: number[], edge: KenoEdge): Big.Big;
19
- static getResults(hexStr: string[], rows: number): number[];
20
- static getChance({ correctPicks, picked }: {
21
- correctPicks: number;
22
- picked: number;
23
- }): Big.Big;
24
- }
25
- export {};
@@ -1,7 +0,0 @@
1
- import { default as Big } from 'big.js';
2
- export declare class Mines {
3
- static getResults(hexStr: string[], rows: number): number[];
4
- static hitMine: (field: number, results: number[]) => boolean;
5
- static calculateMultiplierBN(diamonds: number, mines: number, edge: number): Big.Big;
6
- static calculateWinChancePercentage(diamonds: number, mines: number): Big.Big;
7
- }
@@ -1,71 +0,0 @@
1
- import { default as Big } from 'big.js';
2
- /**
3
- * Validates if a value can be safely passed to the Big.js constructor without throwing an error.
4
- *
5
- * This function uses Big.js's own internal NUMERIC regex to ensure perfect compatibility.
6
- *
7
- * The Big.js constructor throws errors for:
8
- * - null or undefined values
9
- * - NaN (both number and string forms)
10
- * - Infinity and -Infinity (both number and string forms)
11
- * - Empty strings or strings with only whitespace
12
- * - Strings that don't represent valid numbers (per Big.js NUMERIC regex)
13
- * - Strings with positive signs (+123 is invalid in Big.js)
14
- * - Non-string, non-number primitive types
15
- * - Objects, arrays, functions, symbols, etc.
16
- *
17
- * @param value - The value to validate for Big.js constructor compatibility
18
- * @returns true if the value can be safely passed to Big(), false otherwise
19
- *
20
- * @example
21
- * ```typescript
22
- * isValidBigInput('123.45') // true
23
- * isValidBigInput(123.45) // true
24
- * isValidBigInput('1e10') // true
25
- * isValidBigInput('NaN') // false
26
- * isValidBigInput(NaN) // false
27
- * isValidBigInput('Infinity') // false
28
- * isValidBigInput(Infinity) // false
29
- * isValidBigInput('') // false
30
- * isValidBigInput(' ') // false
31
- * isValidBigInput(' 123.45 ') // false (Big.js doesn't accept whitespace)
32
- * isValidBigInput('+123') // false (Big.js doesn't accept positive signs)
33
- * isValidBigInput('abc') // false
34
- * isValidBigInput('0x10') // false (Big.js doesn't accept hex)
35
- * isValidBigInput(null) // false
36
- * isValidBigInput(undefined) // false
37
- * isValidBigInput({}) // false
38
- * isValidBigInput([]) // false
39
- * ```
40
- */
41
- export declare function isValidBigInput(value: unknown): value is string | number;
42
- /**
43
- * Safely creates a Big instance from a value, returning a fallback Big instance if the input is invalid.
44
- *
45
- * @param value - The value to convert to Big
46
- * @param fallback - The fallback value to use if the input is invalid (defaults to '0')
47
- * @returns A Big instance created from the value or fallback
48
- *
49
- * @example
50
- * ```typescript
51
- * safeBig('123.45') // Big('123.45')
52
- * safeBig('invalid') // Big('0')
53
- * safeBig('invalid', '100') // Big('100')
54
- * safeBig(null, '0.00') // Big('0.00')
55
- * ```
56
- */
57
- export declare function safeBig(value: unknown, fallback?: string | number): Big;
58
- /**
59
- * Attempts to create a Big instance from a value, returning null if the input is invalid.
60
- *
61
- * @param value - The value to convert to Big
62
- * @returns A Big instance or null if the input is invalid
63
- *
64
- * @example
65
- * ```typescript
66
- * tryBig('123.45') // Big('123.45')
67
- * tryBig('invalid') // null
68
- * tryBig(null) // null
69
- * ```
70
- */
71
- export declare function tryBig(value: unknown): Big | null;
@@ -1,2 +0,0 @@
1
- import { default as Big } from 'big.js';
2
- export declare function bigNumberMax(...values: (Big | string | number | null | undefined)[]): Big;
@@ -1,7 +0,0 @@
1
- import { default as Big } from 'big.js';
2
- /**
3
- * Returns the minimum value from a list of BigNumber values
4
- * @param values - Array of BigNumber values or values that can be converted to BigNumber
5
- * @returns The minimum BigNumber value
6
- */
7
- export declare function bigNumberMin(...values: (Big | string | number | null | undefined)[]): Big;
@@ -1,2 +0,0 @@
1
- import { default as Big } from 'big.js';
2
- export declare function factorial(num: number): Big;
@@ -1 +0,0 @@
1
- export declare function hexToBytes(hexStr: string): Uint8Array;
@@ -1,2 +0,0 @@
1
- import { default as Big } from 'big.js';
2
- export declare function nCr(n: number, r: number): Big;
@@ -1,30 +0,0 @@
1
- import { PropertyValues } from 'lit';
2
- import { default as OrigamiElement } from '../origami-element';
3
- import { Card } from '@betorigami/game-calculations';
4
- export declare class OrigamiCard extends OrigamiElement {
5
- static styles: import('lit').CSSResult[];
6
- card?: Card;
7
- faceDown: boolean;
8
- cardId: string;
9
- extraClass: string;
10
- revealed: boolean;
11
- instantMode: boolean;
12
- cardBackImageUrl: string | null;
13
- private _hasAnimatedReveal;
14
- cardContent: HTMLElement;
15
- private get prefersReducedMotion();
16
- protected updated(changedProps: PropertyValues): void;
17
- /**
18
- * Play the flip animation when revealed prop becomes true.
19
- * Emits 'card-flipping' at start and 'card-flipped' when complete.
20
- */
21
- private _playRevealAnimation;
22
- /**
23
- * Play the deal animation (card flies from dx,dy offset to its position).
24
- * Emits 'card-deal-complete' when the slide animation finishes.
25
- * The flip animation is triggered separately when the revealed prop changes.
26
- * This is to be called by the parent of this element to animate the card to the final position
27
- */
28
- playDealAnimation(dx: number, dy: number): Promise<void>;
29
- render(): import('lit').TemplateResult<1>;
30
- }
@@ -1 +0,0 @@
1
- export declare const cardStyles: import('lit').CSSResult;
@@ -1,6 +0,0 @@
1
- import { default as OrigamiElement } from '../origami-element';
2
- export declare class CardStack extends OrigamiElement {
3
- static styles: import('lit').CSSResult[];
4
- cardBackImageUrl: string | null;
5
- render(): import('lit').TemplateResult<1>;
6
- }
@@ -1 +0,0 @@
1
- export declare const cardStackStyles: import('lit').CSSResult;
@@ -1,11 +0,0 @@
1
- export declare const DIAMONDS_SVG: import('lit').TemplateResult<1>;
2
- export declare const SPADES_SVG: import('lit').TemplateResult<1>;
3
- export declare const CLUBS_SVG: import('lit').TemplateResult<1>;
4
- export declare const HEARTS_SVG: import('lit').TemplateResult<1>;
5
- export declare const CARD_BACK_SVG: import('lit').TemplateResult<1>;
6
- export declare const SUIT_SVGS: {
7
- readonly Diamonds: import('lit').TemplateResult<1>;
8
- readonly Spades: import('lit').TemplateResult<1>;
9
- readonly Clubs: import('lit').TemplateResult<1>;
10
- readonly Hearts: import('lit').TemplateResult<1>;
11
- };
@@ -1,10 +0,0 @@
1
- import { Card } from '@betorigami/game-calculations';
2
- /**
3
- * A card that is being displayed on screen with animation state.
4
- * Generic TId allows games to define their own ID types (e.g., BaccaratCardId)
5
- */
6
- export interface DisplayedCard<TId extends string = string> {
7
- id: TId;
8
- card: Card;
9
- revealed: boolean;
10
- }
@@ -1,5 +0,0 @@
1
- import { Rank, Suit } from '@betorigami/game-calculations';
2
- export declare class CardUtils {
3
- static getCardRankDisplayValue(rank: Rank): string;
4
- static isRedSuit(suit: Suit): boolean;
5
- }