react-gldn-kit 0.0.1
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/Readme.md +12 -0
- package/dist/019a0906020876234aeea55bdffda84f.svg +3 -0
- package/dist/146c476d14957bf48f72f2624fca70a6.svg +4 -0
- package/dist/19a58eb7c3630d4b07306a6c3220d970.svg +4 -0
- package/dist/319df1f071ee5d8a40e6abfdc5033808.svg +4 -0
- package/dist/495b0365b1bec48e3ed4d6b5050ab787.svg +4 -0
- package/dist/4c94314336076d6fec16041ab32c7af5.svg +4 -0
- package/dist/4f5309751f47792d5ed9a10bb49b99c4.svg +83 -0
- package/dist/65721e7993374bcc4145e083b5f42af2.svg +47 -0
- package/dist/7ec6f5f3bcbce4cd53ca73cb7e054566.svg +48 -0
- package/dist/9be020560a317c79c0b3851ea0d60317.svg +76 -0
- package/dist/a7dae2f8305ee0edacaf65eefff21778.svg +3 -0
- package/dist/a9758afe3827a85948f984caf2428242.svg +4 -0
- package/dist/f1ecca5e9239e78b5053dc90f83a3edf.svg +3 -0
- package/dist/index.js +2 -0
- package/dist/index.js.LICENSE.txt +35 -0
- package/dist/lib/components/Banners/components/BannerTemplate/index.d.ts +13 -0
- package/dist/lib/components/Banners/components/BannerTemplate/index.js +52 -0
- package/dist/lib/components/Banners/components/BannerTemplate/types.d.ts +6 -0
- package/dist/lib/components/Banners/components/BannerTemplate/types.js +0 -0
- package/dist/lib/components/Banners/components/BattleBanner/index.d.ts +3 -0
- package/dist/lib/components/Banners/components/BattleBanner/index.js +59 -0
- package/dist/lib/components/Banners/components/BattleBanner/types.d.ts +15 -0
- package/dist/lib/components/Banners/components/BattleBanner/types.js +2 -0
- package/dist/lib/components/Banners/components/PromotionMobileApp/components/ElonAppBanner/index.d.ts +2 -0
- package/dist/lib/components/Banners/components/PromotionMobileApp/components/ElonAppBanner/index.js +65 -0
- package/dist/lib/components/Banners/components/PromotionMobileApp/components/JabiAppBanner/index.d.ts +2 -0
- package/dist/lib/components/Banners/components/PromotionMobileApp/components/JabiAppBanner/index.js +53 -0
- package/dist/lib/components/Banners/components/PromotionMobileApp/constants.d.ts +6 -0
- package/dist/lib/components/Banners/components/PromotionMobileApp/constants.js +9 -0
- package/dist/lib/components/Banners/components/PromotionMobileApp/index.d.ts +2 -0
- package/dist/lib/components/Banners/components/PromotionMobileApp/index.js +54 -0
- package/dist/lib/components/Banners/components/PromotionMobileApp/types.d.ts +12 -0
- package/dist/lib/components/Banners/components/PromotionMobileApp/types.js +2 -0
- package/dist/lib/components/Banners/index.d.ts +2 -0
- package/dist/lib/components/Banners/index.js +52 -0
- package/dist/lib/components/Banners/types.d.ts +18 -0
- package/dist/lib/components/Banners/types.js +2 -0
- package/dist/lib/components/BattlesCard/index.d.ts +2 -0
- package/dist/lib/components/BattlesCard/index.js +69 -0
- package/dist/lib/components/BattlesCard/types.d.ts +25 -0
- package/dist/lib/components/BattlesCard/types.js +2 -0
- package/dist/lib/components/HOCs/HOCErrorBoundary/index.d.ts +13 -0
- package/dist/lib/components/HOCs/HOCErrorBoundary/index.js +107 -0
- package/dist/lib/components/HOCs/HOCErrorBoundary/types.d.ts +7 -0
- package/dist/lib/components/HOCs/HOCErrorBoundary/types.js +2 -0
- package/dist/lib/components/HOCs/HOCImageLoader/index.d.ts +2 -0
- package/dist/lib/components/HOCs/HOCImageLoader/index.js +17 -0
- package/dist/lib/components/HOCs/HOCImageLoader/types.d.ts +6 -0
- package/dist/lib/components/HOCs/HOCImageLoader/types.js +2 -0
- package/dist/lib/components/HOCs/HOCOutsideClick/index.d.ts +2 -0
- package/dist/lib/components/HOCs/HOCOutsideClick/index.js +25 -0
- package/dist/lib/components/HOCs/HOCOutsideClick/types.d.ts +11 -0
- package/dist/lib/components/HOCs/HOCOutsideClick/types.js +8 -0
- package/dist/lib/components/Jackpots/JackpotWidget/components/Jackpot/index.d.ts +6 -0
- package/dist/lib/components/Jackpots/JackpotWidget/components/Jackpot/index.js +77 -0
- package/dist/lib/components/Jackpots/JackpotWidget/components/JackpotCounter/components/Digit/index.d.ts +6 -0
- package/dist/lib/components/Jackpots/JackpotWidget/components/JackpotCounter/components/Digit/index.js +50 -0
- package/dist/lib/components/Jackpots/JackpotWidget/components/JackpotCounter/index.d.ts +6 -0
- package/dist/lib/components/Jackpots/JackpotWidget/components/JackpotCounter/index.js +57 -0
- package/dist/lib/components/Jackpots/JackpotWidget/index.d.ts +2 -0
- package/dist/lib/components/Jackpots/JackpotWidget/index.js +52 -0
- package/dist/lib/components/Jackpots/JackpotWidget/types.d.ts +13 -0
- package/dist/lib/components/Jackpots/JackpotWidget/types.js +2 -0
- package/dist/lib/components/Jackpots/JackpotWidget/utils.d.ts +13 -0
- package/dist/lib/components/Jackpots/JackpotWidget/utils.js +48 -0
- package/dist/lib/components/LastBigWinners/components/LastBigWinner/LastBigWinner.d.ts +3 -0
- package/dist/lib/components/LastBigWinners/components/LastBigWinner/LastBigWinner.js +53 -0
- package/dist/lib/components/LastBigWinners/components/LastBigWinner/types.d.ts +15 -0
- package/dist/lib/components/LastBigWinners/components/LastBigWinner/types.js +2 -0
- package/dist/lib/components/LastBigWinners/index.d.ts +2 -0
- package/dist/lib/components/LastBigWinners/index.js +122 -0
- package/dist/lib/components/LastBigWinners/types.d.ts +9 -0
- package/dist/lib/components/LastBigWinners/types.js +2 -0
- package/dist/lib/components/Layouts/BonusCardLayout/index.d.ts +2 -0
- package/dist/lib/components/Layouts/BonusCardLayout/index.js +53 -0
- package/dist/lib/components/Layouts/BonusCardLayout/types.d.ts +11 -0
- package/dist/lib/components/Layouts/BonusCardLayout/types.js +2 -0
- package/dist/lib/components/Layouts/DrawerLayout/index.d.ts +2 -0
- package/dist/lib/components/Layouts/DrawerLayout/index.js +56 -0
- package/dist/lib/components/Layouts/DrawerLayout/types.d.ts +10 -0
- package/dist/lib/components/Layouts/DrawerLayout/types.js +2 -0
- package/dist/lib/components/Layouts/ModalLayout/index.d.ts +2 -0
- package/dist/lib/components/Layouts/ModalLayout/index.js +53 -0
- package/dist/lib/components/Layouts/ModalLayout/types.d.ts +8 -0
- package/dist/lib/components/Layouts/ModalLayout/types.js +2 -0
- package/dist/lib/components/Payments/DepositQrForm/index.d.ts +2 -0
- package/dist/lib/components/Payments/DepositQrForm/index.js +49 -0
- package/dist/lib/components/Payments/DepositQrForm/types.d.ts +14 -0
- package/dist/lib/components/Payments/DepositQrForm/types.js +2 -0
- package/dist/lib/components/Payments/DepositSkelet/components/Default/index.d.ts +11 -0
- package/dist/lib/components/Payments/DepositSkelet/components/Default/index.js +38 -0
- package/dist/lib/components/Payments/DepositSkelet/components/WellexPay/NagadAndBKash/index.d.ts +9 -0
- package/dist/lib/components/Payments/DepositSkelet/components/WellexPay/NagadAndBKash/index.js +43 -0
- package/dist/lib/components/Payments/DepositSkelet/constants.d.ts +2 -0
- package/dist/lib/components/Payments/DepositSkelet/constants.js +15 -0
- package/dist/lib/components/Payments/DepositSkelet/index.d.ts +2 -0
- package/dist/lib/components/Payments/DepositSkelet/index.js +59 -0
- package/dist/lib/components/Payments/DepositSkelet/types.d.ts +87 -0
- package/dist/lib/components/Payments/DepositSkelet/types.js +81 -0
- package/dist/lib/components/Payments/Methods/components/Content/index.d.ts +2 -0
- package/dist/lib/components/Payments/Methods/components/Content/index.js +58 -0
- package/dist/lib/components/Payments/Methods/components/Content/types.d.ts +27 -0
- package/dist/lib/components/Payments/Methods/components/Content/types.js +2 -0
- package/dist/lib/components/Payments/Methods/components/PaymentList/index.d.ts +3 -0
- package/dist/lib/components/Payments/Methods/components/PaymentList/index.js +61 -0
- package/dist/lib/components/Payments/Methods/components/PaymentList/types.d.ts +12 -0
- package/dist/lib/components/Payments/Methods/components/PaymentList/types.js +2 -0
- package/dist/lib/components/Payments/Methods/constants.d.ts +5 -0
- package/dist/lib/components/Payments/Methods/constants.js +14 -0
- package/dist/lib/components/Payments/Methods/index.d.ts +2 -0
- package/dist/lib/components/Payments/Methods/index.js +60 -0
- package/dist/lib/components/Payments/Methods/types.d.ts +10 -0
- package/dist/lib/components/Payments/Methods/types.js +8 -0
- package/dist/lib/components/ReferralTable/components/EmptyTreasure/index.d.ts +2 -0
- package/dist/lib/components/ReferralTable/components/EmptyTreasure/index.js +22 -0
- package/dist/lib/components/ReferralTable/components/EmptyTreasure/types.d.ts +4 -0
- package/dist/lib/components/ReferralTable/components/EmptyTreasure/types.js +2 -0
- package/dist/lib/components/ReferralTable/components/InvitedTableHead/index.d.ts +2 -0
- package/dist/lib/components/ReferralTable/components/InvitedTableHead/index.js +46 -0
- package/dist/lib/components/ReferralTable/components/InvitedTableHead/types.d.ts +3 -0
- package/dist/lib/components/ReferralTable/components/InvitedTableHead/types.js +2 -0
- package/dist/lib/components/ReferralTable/components/List/index.d.ts +2 -0
- package/dist/lib/components/ReferralTable/components/List/index.js +47 -0
- package/dist/lib/components/ReferralTable/components/List/types.d.ts +4 -0
- package/dist/lib/components/ReferralTable/components/List/types.js +2 -0
- package/dist/lib/components/ReferralTable/index.d.ts +2 -0
- package/dist/lib/components/ReferralTable/index.js +66 -0
- package/dist/lib/components/ReferralTable/types.d.ts +15 -0
- package/dist/lib/components/ReferralTable/types.js +2 -0
- package/dist/lib/components/Scratch/index.d.ts +2 -0
- package/dist/lib/components/Scratch/index.js +118 -0
- package/dist/lib/components/Scratch/types.d.ts +14 -0
- package/dist/lib/components/Scratch/types.js +8 -0
- package/dist/lib/components/SignUp/CountrySelector/constants.d.ts +7 -0
- package/dist/lib/components/SignUp/CountrySelector/constants.js +815 -0
- package/dist/lib/components/SignUp/CountrySelector/index.d.ts +2 -0
- package/dist/lib/components/SignUp/CountrySelector/index.js +23 -0
- package/dist/lib/components/SignUp/CountrySelector/types.d.ts +10 -0
- package/dist/lib/components/SignUp/CountrySelector/types.js +2 -0
- package/dist/lib/components/SignUp/CurrencySelector/index.d.ts +2 -0
- package/dist/lib/components/SignUp/CurrencySelector/index.js +27 -0
- package/dist/lib/components/SignUp/CurrencySelector/types.d.ts +11 -0
- package/dist/lib/components/SignUp/CurrencySelector/types.js +2 -0
- package/dist/lib/components/SignUp/DocsCheckBox/index.d.ts +9 -0
- package/dist/lib/components/SignUp/DocsCheckBox/index.js +39 -0
- package/dist/lib/components/SignUp/OneClick/constants.d.ts +10 -0
- package/dist/lib/components/SignUp/OneClick/constants.js +13 -0
- package/dist/lib/components/SignUp/OneClick/index.d.ts +31 -0
- package/dist/lib/components/SignUp/OneClick/index.js +86 -0
- package/dist/lib/components/SignUp/PromoCode/index.d.ts +2 -0
- package/dist/lib/components/SignUp/PromoCode/index.js +63 -0
- package/dist/lib/components/SignUp/PromoCode/types.d.ts +6 -0
- package/dist/lib/components/SignUp/PromoCode/types.js +2 -0
- package/dist/lib/components/Text/index.d.ts +6 -0
- package/dist/lib/components/Text/index.js +11 -0
- package/dist/lib/components/Wheel/index.d.ts +2 -0
- package/dist/lib/components/Wheel/index.js +131 -0
- package/dist/lib/components/Wheel/types.d.ts +54 -0
- package/dist/lib/components/Wheel/types.js +2 -0
- package/dist/lib/components/ui/AccordionGroup/Accordion.d.ts +21 -0
- package/dist/lib/components/ui/AccordionGroup/Accordion.js +70 -0
- package/dist/lib/components/ui/AccordionGroup/index.d.ts +6 -0
- package/dist/lib/components/ui/AccordionGroup/index.js +53 -0
- package/dist/lib/components/ui/Bonuses/AvailableBonusesSlider/index.d.ts +8 -0
- package/dist/lib/components/ui/Bonuses/AvailableBonusesSlider/index.js +80 -0
- package/dist/lib/components/ui/Buttons/AppSwitcher/index.d.ts +12 -0
- package/dist/lib/components/ui/Buttons/AppSwitcher/index.js +74 -0
- package/dist/lib/components/ui/Buttons/ArrowButton/index.d.ts +7 -0
- package/dist/lib/components/ui/Buttons/ArrowButton/index.js +41 -0
- package/dist/lib/components/ui/Buttons/BaseButton/index.d.ts +2 -0
- package/dist/lib/components/ui/Buttons/BaseButton/index.js +65 -0
- package/dist/lib/components/ui/Buttons/BaseButton/types.d.ts +30 -0
- package/dist/lib/components/ui/Buttons/BaseButton/types.js +2 -0
- package/dist/lib/components/ui/Buttons/CasinoCategoryButton/index.d.ts +2 -0
- package/dist/lib/components/ui/Buttons/CasinoCategoryButton/index.js +68 -0
- package/dist/lib/components/ui/Buttons/CasinoCategoryButton/types.d.ts +21 -0
- package/dist/lib/components/ui/Buttons/CasinoCategoryButton/types.js +2 -0
- package/dist/lib/components/ui/Buttons/CasinoSubCategoriesButton/index.d.ts +2 -0
- package/dist/lib/components/ui/Buttons/CasinoSubCategoriesButton/index.js +51 -0
- package/dist/lib/components/ui/Buttons/CasinoSubCategoriesButton/types.d.ts +13 -0
- package/dist/lib/components/ui/Buttons/CasinoSubCategoriesButton/types.js +2 -0
- package/dist/lib/components/ui/Buttons/CloseButton/index.d.ts +2 -0
- package/dist/lib/components/ui/Buttons/CloseButton/index.js +49 -0
- package/dist/lib/components/ui/Buttons/CloseButton/types.d.ts +4 -0
- package/dist/lib/components/ui/Buttons/CloseButton/types.js +2 -0
- package/dist/lib/components/ui/Buttons/DepositButton/index.d.ts +10 -0
- package/dist/lib/components/ui/Buttons/DepositButton/index.js +57 -0
- package/dist/lib/components/ui/Buttons/DrawerButton/index.d.ts +2 -0
- package/dist/lib/components/ui/Buttons/DrawerButton/index.js +63 -0
- package/dist/lib/components/ui/Buttons/DrawerButton/types.d.ts +4 -0
- package/dist/lib/components/ui/Buttons/DrawerButton/types.js +2 -0
- package/dist/lib/components/ui/Buttons/GameActions/index.d.ts +0 -0
- package/dist/lib/components/ui/Buttons/GameActions/index.js +0 -0
- package/dist/lib/components/ui/Buttons/JivoButton/index.d.ts +2 -0
- package/dist/lib/components/ui/Buttons/JivoButton/index.js +154 -0
- package/dist/lib/components/ui/Buttons/JivoButton/types.d.ts +30 -0
- package/dist/lib/components/ui/Buttons/JivoButton/types.js +2 -0
- package/dist/lib/components/ui/Buttons/ProviderName/index.d.ts +2 -0
- package/dist/lib/components/ui/Buttons/ProviderName/index.js +54 -0
- package/dist/lib/components/ui/Buttons/ProviderName/types.d.ts +6 -0
- package/dist/lib/components/ui/Buttons/ProviderName/types.js +2 -0
- package/dist/lib/components/ui/Buttons/index.d.ts +4 -0
- package/dist/lib/components/ui/Buttons/index.js +7 -0
- package/dist/lib/components/ui/CountDown/index.d.ts +2 -0
- package/dist/lib/components/ui/CountDown/index.js +65 -0
- package/dist/lib/components/ui/CountDown/types.d.ts +19 -0
- package/dist/lib/components/ui/CountDown/types.js +2 -0
- package/dist/lib/components/ui/Docs/index.d.ts +2 -0
- package/dist/lib/components/ui/Docs/index.js +72 -0
- package/dist/lib/components/ui/Docs/types.d.ts +14 -0
- package/dist/lib/components/ui/Docs/types.js +2 -0
- package/dist/lib/components/ui/Footer/index.d.ts +2 -0
- package/dist/lib/components/ui/Footer/index.js +46 -0
- package/dist/lib/components/ui/Footer/types.d.ts +13 -0
- package/dist/lib/components/ui/Footer/types.js +2 -0
- package/dist/lib/components/ui/Headers/PopUpHeader/index.d.ts +2 -0
- package/dist/lib/components/ui/Headers/PopUpHeader/index.js +52 -0
- package/dist/lib/components/ui/Headers/PopUpHeader/types.d.ts +17 -0
- package/dist/lib/components/ui/Headers/PopUpHeader/types.js +2 -0
- package/dist/lib/components/ui/Headers/index.d.ts +2 -0
- package/dist/lib/components/ui/Headers/index.js +5 -0
- package/dist/lib/components/ui/Icons/ArrowSvg.d.ts +5 -0
- package/dist/lib/components/ui/Icons/ArrowSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/AvatarSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/AvatarSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/BonusGiftSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/BonusGiftSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/BurgerSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/BurgerSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/CalendarSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/CalendarSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/CashSvg.d.ts +5 -0
- package/dist/lib/components/ui/Icons/Base/CashSvg.js +52 -0
- package/dist/lib/components/ui/Icons/Base/CloseEyeSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/CloseEyeSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/CoinSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/CoinSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/CoinsSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/CoinsSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/CopySvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/CopySvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/DocSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/DocSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/DownloadSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/DownloadSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/DrawerTogglerSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/DrawerTogglerSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/FavoritesSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/FavoritesSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/GoogleSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/GoogleSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/GrowSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/GrowSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/InfoLotterySvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/InfoLotterySvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/LotterySvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/LotterySvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/OpenEyeSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/OpenEyeSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/PlusSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/PlusSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/ProfileSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/ProfileSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/ProvidersBlocksSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/ProvidersBlocksSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/SearchSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/SearchSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/SelectedSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/SelectedSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/SettingsSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/SettingsSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/ShareSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/ShareSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/StarSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/StarSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/SupportSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/SupportSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/ThreeDotsSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/ThreeDotsSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/TrashSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/TrashSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/WalletSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/WalletSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Bonuses/FirstBonusSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Bonuses/FirstBonusSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Bonuses/SecondBonusSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Bonuses/SecondBonusSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Bonuses/ThirdBonusSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Bonuses/ThirdBonusSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Bonuses/VipClub/BronzeSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Bonuses/VipClub/BronzeSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Bonuses/VipClub/DiamondSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Bonuses/VipClub/DiamondSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Bonuses/VipClub/GoldSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Bonuses/VipClub/GoldSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Bonuses/VipClub/GreenSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Bonuses/VipClub/GreenSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Bonuses/VipClub/PlatinumOneSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Bonuses/VipClub/PlatinumOneSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Bonuses/VipClub/PlatinumSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Bonuses/VipClub/PlatinumSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Bonuses/VipClub/SilverSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Bonuses/VipClub/SilverSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Bonuses/VipClubSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Bonuses/VipClubSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Casino/CoinSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Casino/CoinSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Casino/DefaultImgSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Casino/DefaultImgSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Casino/ProvidersSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Casino/ProvidersSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Casino/RecommendedSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Casino/RecommendedSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Casino/TournamentWagerSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Casino/TournamentWagerSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/CasinoSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/CasinoSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/CrashSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/CrashSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/HotSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/HotSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/InstantSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/InstantSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/OtersSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/OtersSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/PopularSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/PopularSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/ProviderSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/ProviderSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/ScratchSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/ScratchSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/SlotsSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/SlotsSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/TableSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/TableSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/TurboSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/TurboSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/VSportSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/VSportSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/WagerSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Categories/Icons/WagerSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Categories/index.d.ts +3 -0
- package/dist/lib/components/ui/Icons/Categories/index.js +50 -0
- package/dist/lib/components/ui/Icons/CheckBoxSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/CheckBoxSvg.js +18 -0
- package/dist/lib/components/ui/Icons/CloseSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/CloseSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Deposit/DepositSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Deposit/DepositSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Deposit/ErrorSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Deposit/ErrorSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Deposit/SuccessSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Deposit/SuccessSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Deposit/WaitingSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Deposit/WaitingSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Deposit/WithdrawSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Deposit/WithdrawSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/AzeSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/AzeSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/BnSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/BnSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/BsSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/BsSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/ChSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/ChSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/DeSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/DeSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/EnSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/EnSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/EsSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/EsSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/FrSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/FrSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/HiSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/HiSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/ItSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/ItSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/KoSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/KoSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/KzSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/KzSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/NoSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/NoSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/PtSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/PtSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/RoSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/RoSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/RuSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/RuSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/TrSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/TrSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/UkrSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/UkrSvg.js +20 -0
- package/dist/lib/components/ui/Icons/FlagIcons/UzSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/FlagIcons/UzSvg.js +20 -0
- package/dist/lib/components/ui/Icons/InHouse/ElonHouseSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/InHouse/ElonHouseSvg.js +20 -0
- package/dist/lib/components/ui/Icons/InHouse/FSWinHouseSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/InHouse/FSWinHouseSvg.js +20 -0
- package/dist/lib/components/ui/Icons/InHouse/JabiInHouseSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/InHouse/JabiInHouseSvg.js +20 -0
- package/dist/lib/components/ui/Icons/InfoSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/InfoSvg.js +20 -0
- package/dist/lib/components/ui/Icons/LockSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/LockSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Navigation/NavBettingLiveSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Navigation/NavBettingLiveSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Navigation/NavBettingSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Navigation/NavBettingSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Navigation/NavBonusesSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Navigation/NavBonusesSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Navigation/NavCasinoSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Navigation/NavCasinoSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Navigation/NavMyBetsSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Navigation/NavMyBetsSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Navigation/NavReferralSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Navigation/NavReferralSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Navigation/NavTournamentSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Navigation/NavTournamentSvg.js +20 -0
- package/dist/lib/components/ui/Icons/NotFound/BonusesSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/NotFound/BonusesSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Notifications/ErrorSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Notifications/ErrorSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Notifications/SuccessSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Notifications/SuccessSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Notifications/WarningSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Notifications/WarningSvg.js +20 -0
- package/dist/lib/components/ui/Icons/PlaySvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/PlaySvg.js +20 -0
- package/dist/lib/components/ui/Icons/ReferralTreasures/ElonTreasureSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/ReferralTreasures/ElonTreasureSvg.js +44 -0
- package/dist/lib/components/ui/Icons/ReferralTreasures/FSWinTreasureSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/ReferralTreasures/FSWinTreasureSvg.js +44 -0
- package/dist/lib/components/ui/Icons/ReferralTreasures/JabibetTreasureSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/ReferralTreasures/JabibetTreasureSvg.js +44 -0
- package/dist/lib/components/ui/Icons/SocialMedia/FacebookSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/SocialMedia/FacebookSvg.js +20 -0
- package/dist/lib/components/ui/Icons/SocialMedia/InstagramSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/SocialMedia/InstagramSvg.js +20 -0
- package/dist/lib/components/ui/Icons/SocialMedia/TelegramSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/SocialMedia/TelegramSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/AmericanFootballSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/AmericanFootballSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/AussieRulesSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/AussieRulesSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/BadmintonSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/BadmintonSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/BaseballSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/BaseballSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/Basketball3x3Svg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/Basketball3x3Svg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/BasketballSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/BasketballSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/BeachSoccerSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/BeachSoccerSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/BoxingSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/BoxingSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/ChessSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/ChessSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/CricketSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/CricketSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/DartsSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/DartsSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/EFifaSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/EFifaSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/ENbaSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/ENbaSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/ENhlSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/ENhlSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/EsportSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/EsportSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/FieldHockeySvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/FieldHockeySvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/FutsalSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/FutsalSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/IceHockeySvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/IceHockeySvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/KabaddiSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/KabaddiSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/MmaSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/MmaSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/RugbySvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/RugbySvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/SnookerSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/SnookerSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/SoccerSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/SoccerSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/SquashSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/SquashSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/TableTennisSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/TableTennisSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/TennisSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/TennisSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Sports/VolleyballSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Sports/VolleyballSvg.js +20 -0
- package/dist/lib/components/ui/Icons/types.d.ts +8 -0
- package/dist/lib/components/ui/Icons/types.js +2 -0
- package/dist/lib/components/ui/Inputs/AmountInput/index.d.ts +3 -0
- package/dist/lib/components/ui/Inputs/AmountInput/index.js +123 -0
- package/dist/lib/components/ui/Inputs/AmountInput/types.d.ts +20 -0
- package/dist/lib/components/ui/Inputs/AmountInput/types.js +2 -0
- package/dist/lib/components/ui/Inputs/BaseInput/BaseInputUi.d.ts +2 -0
- package/dist/lib/components/ui/Inputs/BaseInput/BaseInputUi.js +72 -0
- package/dist/lib/components/ui/Inputs/BaseInput/constant.d.ts +2 -0
- package/dist/lib/components/ui/Inputs/BaseInput/constant.js +7 -0
- package/dist/lib/components/ui/Inputs/BaseInput/index.d.ts +2 -0
- package/dist/lib/components/ui/Inputs/BaseInput/index.js +52 -0
- package/dist/lib/components/ui/Inputs/BaseInput/types.d.ts +37 -0
- package/dist/lib/components/ui/Inputs/BaseInput/types.js +2 -0
- package/dist/lib/components/ui/Inputs/CheckBox/index.d.ts +12 -0
- package/dist/lib/components/ui/Inputs/CheckBox/index.js +52 -0
- package/dist/lib/components/ui/Leaderboard/components/User/index.d.ts +4 -0
- package/dist/lib/components/ui/Leaderboard/components/User/index.js +56 -0
- package/dist/lib/components/ui/Leaderboard/constants.d.ts +1 -0
- package/dist/lib/components/ui/Leaderboard/constants.js +4 -0
- package/dist/lib/components/ui/Leaderboard/index.d.ts +2 -0
- package/dist/lib/components/ui/Leaderboard/index.js +70 -0
- package/dist/lib/components/ui/Leaderboard/types.d.ts +17 -0
- package/dist/lib/components/ui/Leaderboard/types.js +2 -0
- package/dist/lib/components/ui/Loaders/CircularLoader/index.d.ts +5 -0
- package/dist/lib/components/ui/Loaders/CircularLoader/index.js +48 -0
- package/dist/lib/components/ui/Loaders/MainLoader/index.d.ts +2 -0
- package/dist/lib/components/ui/Loaders/MainLoader/index.js +52 -0
- package/dist/lib/components/ui/Loaders/MainLoader/types.d.ts +6 -0
- package/dist/lib/components/ui/Loaders/MainLoader/types.js +2 -0
- package/dist/lib/components/ui/Loaders/SkeletLoader/index.d.ts +5 -0
- package/dist/lib/components/ui/Loaders/SkeletLoader/index.js +47 -0
- package/dist/lib/components/ui/Logos/index.d.ts +2 -0
- package/dist/lib/components/ui/Logos/index.js +101 -0
- package/dist/lib/components/ui/Logos/types.d.ts +13 -0
- package/dist/lib/components/ui/Logos/types.js +2 -0
- package/dist/lib/components/ui/Pagination/index.d.ts +2 -0
- package/dist/lib/components/ui/Pagination/index.js +76 -0
- package/dist/lib/components/ui/Pagination/types.d.ts +10 -0
- package/dist/lib/components/ui/Pagination/types.js +2 -0
- package/dist/lib/components/ui/Section/index.d.ts +4 -0
- package/dist/lib/components/ui/Section/index.js +48 -0
- package/dist/lib/components/ui/Selector/index.d.ts +2 -0
- package/dist/lib/components/ui/Selector/index.js +135 -0
- package/dist/lib/components/ui/Selector/types.d.ts +43 -0
- package/dist/lib/components/ui/Selector/types.js +2 -0
- package/dist/lib/components/ui/ShowAll/index.d.ts +7 -0
- package/dist/lib/components/ui/ShowAll/index.js +50 -0
- package/dist/lib/components/ui/Step/index.d.ts +2 -0
- package/dist/lib/components/ui/Step/index.js +44 -0
- package/dist/lib/components/ui/Step/types.d.ts +5 -0
- package/dist/lib/components/ui/Step/types.js +2 -0
- package/dist/lib/components/ui/Tabs/index.d.ts +2 -0
- package/dist/lib/components/ui/Tabs/index.js +109 -0
- package/dist/lib/components/ui/Tabs/types.d.ts +15 -0
- package/dist/lib/components/ui/Tabs/types.js +2 -0
- package/dist/lib/components/ui/TournamentCard/index.d.ts +2 -0
- package/dist/lib/components/ui/TournamentCard/index.js +58 -0
- package/dist/lib/components/ui/TournamentCard/types.d.ts +16 -0
- package/dist/lib/components/ui/TournamentCard/types.js +2 -0
- package/dist/lib/hooks/useCountDown.d.ts +8 -0
- package/dist/lib/hooks/useCountDown.js +25 -0
- package/dist/lib/hooks/useElementResize.d.ts +5 -0
- package/dist/lib/hooks/useElementResize.js +41 -0
- package/dist/lib/hooks/useInView.d.ts +2 -0
- package/dist/lib/hooks/useInView.js +27 -0
- package/dist/lib/hooks/useOutsideClick.d.ts +5 -0
- package/dist/lib/hooks/useOutsideClick.js +22 -0
- package/dist/lib/hooks/useSwipe.d.ts +9 -0
- package/dist/lib/hooks/useSwipe.js +69 -0
- package/dist/lib/hooks/useTranslate.d.ts +6 -0
- package/dist/lib/hooks/useTranslate.js +46 -0
- package/dist/lib/index.d.ts +189 -0
- package/dist/lib/index.js +411 -0
- package/dist/lib/service/validation.d.ts +72 -0
- package/dist/lib/service/validation.js +190 -0
- package/dist/lib/types/ui.d.ts +14 -0
- package/dist/lib/types/ui.js +16 -0
- package/dist/lib/utils/date.d.ts +1 -0
- package/dist/lib/utils/date.js +11 -0
- package/dist/lib/zustandStore/languages/constants.d.ts +2 -0
- package/dist/lib/zustandStore/languages/constants.js +14 -0
- package/dist/lib/zustandStore/languages/selectors.d.ts +22 -0
- package/dist/lib/zustandStore/languages/selectors.js +31 -0
- package/dist/lib/zustandStore/languages/store.d.ts +2 -0
- package/dist/lib/zustandStore/languages/store.js +115 -0
- package/dist/lib/zustandStore/languages/types.d.ts +18 -0
- package/dist/lib/zustandStore/languages/types.js +2 -0
- package/dist/main.css +3950 -0
- package/package.json +66 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __assign = (this && this.__assign) || function () {
|
|
18
|
+
__assign = Object.assign || function(t) {
|
|
19
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
20
|
+
s = arguments[i];
|
|
21
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
22
|
+
t[p] = s[p];
|
|
23
|
+
}
|
|
24
|
+
return t;
|
|
25
|
+
};
|
|
26
|
+
return __assign.apply(this, arguments);
|
|
27
|
+
};
|
|
28
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
29
|
+
if (k2 === undefined) k2 = k;
|
|
30
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
31
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
32
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
33
|
+
}
|
|
34
|
+
Object.defineProperty(o, k2, desc);
|
|
35
|
+
}) : (function(o, m, k, k2) {
|
|
36
|
+
if (k2 === undefined) k2 = k;
|
|
37
|
+
o[k2] = m[k];
|
|
38
|
+
}));
|
|
39
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
40
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
41
|
+
}) : function(o, v) {
|
|
42
|
+
o["default"] = v;
|
|
43
|
+
});
|
|
44
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
45
|
+
if (mod && mod.__esModule) return mod;
|
|
46
|
+
var result = {};
|
|
47
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
48
|
+
__setModuleDefault(result, mod);
|
|
49
|
+
return result;
|
|
50
|
+
};
|
|
51
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
52
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
53
|
+
};
|
|
54
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
55
|
+
exports.HOCErrorBoundary = void 0;
|
|
56
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
57
|
+
var react_1 = __importDefault(require("react"));
|
|
58
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
59
|
+
var Buttons_1 = require("components/ui/Buttons");
|
|
60
|
+
var Logos_1 = require("components/ui/Logos");
|
|
61
|
+
var styles = __importStar(require("./HOCErrorBoundary.module.css"));
|
|
62
|
+
var HOCErrorBoundary = /** @class */ (function (_super) {
|
|
63
|
+
__extends(HOCErrorBoundary, _super);
|
|
64
|
+
function HOCErrorBoundary(props) {
|
|
65
|
+
var _this = _super.call(this, props) || this;
|
|
66
|
+
// componentDidMount(): void {
|
|
67
|
+
// setTimeout(() => {
|
|
68
|
+
// this.setState({ hasError: true });
|
|
69
|
+
// }, 1000);
|
|
70
|
+
// }
|
|
71
|
+
_this.handleClickErrorBtn = function () {
|
|
72
|
+
window.location.reload();
|
|
73
|
+
};
|
|
74
|
+
_this.state = { hasError: false };
|
|
75
|
+
_this.isMobile = window.innerWidth < 768;
|
|
76
|
+
return _this;
|
|
77
|
+
}
|
|
78
|
+
HOCErrorBoundary.prototype.componentDidCatch = function (error, info) {
|
|
79
|
+
var _a;
|
|
80
|
+
this.setState({ hasError: true });
|
|
81
|
+
var jivoDiv = (_a = document.getElementsByTagName('jdiv')) === null || _a === void 0 ? void 0 : _a[0];
|
|
82
|
+
if (!jivoDiv) {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
jivoDiv.setAttribute('style', '');
|
|
86
|
+
};
|
|
87
|
+
HOCErrorBoundary.prototype.render = function () {
|
|
88
|
+
var _a = this.props, children = _a.children, tapesPaths = _a.tapesPaths, logoProps = _a.logoProps;
|
|
89
|
+
var top = tapesPaths[0], bottom = tapesPaths[1], topDesktop = tapesPaths[2], bottomDesktop = tapesPaths[3];
|
|
90
|
+
if (this.state.hasError) {
|
|
91
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.wrapperErrorPage }, { children: [(0, jsx_runtime_1.jsx)(Logos_1.Logo, __assign({}, logoProps, { isMobile: this.isMobile, classes: styles.logo })), (0, jsx_runtime_1.jsx)("div", { style: {
|
|
92
|
+
background: "url(".concat(this.isMobile ? top : topDesktop, ")"),
|
|
93
|
+
backgroundRepeat: 'no-repeat',
|
|
94
|
+
backgroundSize: 'cover',
|
|
95
|
+
backgroundPosition: 'center',
|
|
96
|
+
}, className: (0, classnames_1.default)(styles.tape, styles.topTape) }), (0, jsx_runtime_1.jsx)("h1", __assign({ className: styles.title }, { children: "Text error" })), (0, jsx_runtime_1.jsx)("h2", __assign({ className: styles.subTitle }, { children: "A Hint to the user" })), (0, jsx_runtime_1.jsx)(Buttons_1.BaseButton, { text: "Update the site", size: "--button-xxl", buttonHeight: "--button-height-full", centreText: true, color: "primary", marginB: "base-double", handleClick: this.handleClickErrorBtn, classes: styles.errorButton }), (0, jsx_runtime_1.jsx)("div", { style: {
|
|
97
|
+
background: "url(".concat(this.isMobile ? bottom : bottomDesktop, ")"),
|
|
98
|
+
backgroundRepeat: 'no-repeat',
|
|
99
|
+
backgroundSize: 'cover',
|
|
100
|
+
backgroundPosition: 'center',
|
|
101
|
+
}, className: (0, classnames_1.default)(styles.bottomTape, styles.tape) })] })));
|
|
102
|
+
}
|
|
103
|
+
return children;
|
|
104
|
+
};
|
|
105
|
+
return HOCErrorBoundary;
|
|
106
|
+
}(react_1.default.Component));
|
|
107
|
+
exports.HOCErrorBoundary = HOCErrorBoundary;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HOCImageLoader = void 0;
|
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
var react_1 = require("react");
|
|
6
|
+
var HOCImageLoader = function (props) {
|
|
7
|
+
var classes = props.classes, src = props.src, children = props.children;
|
|
8
|
+
var _a = (0, react_1.useState)(false), imgError = _a[0], setImageState = _a[1];
|
|
9
|
+
var handleCatchError = function () {
|
|
10
|
+
setImageState(true);
|
|
11
|
+
};
|
|
12
|
+
if (imgError) {
|
|
13
|
+
return children;
|
|
14
|
+
}
|
|
15
|
+
return (0, jsx_runtime_1.jsx)("img", { src: src, className: classes, onError: handleCatchError });
|
|
16
|
+
};
|
|
17
|
+
exports.HOCImageLoader = HOCImageLoader;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.HOCOutsideClick = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var react_1 = require("react");
|
|
17
|
+
var useOutsideClick_1 = require("hooks/useOutsideClick");
|
|
18
|
+
var types_1 = require("./types");
|
|
19
|
+
var HOCOutsideClick = function (props) {
|
|
20
|
+
var classes = props.classes, children = props.children, _a = props.eventType, eventType = _a === void 0 ? types_1.EEventType.Click : _a;
|
|
21
|
+
var wrapperRef = (0, react_1.useRef)(null);
|
|
22
|
+
(0, useOutsideClick_1.useOnClickOutside)(wrapperRef, props.handleFunc, eventType);
|
|
23
|
+
return ((0, jsx_runtime_1.jsx)("div", __assign({ className: classes, ref: wrapperRef }, { children: children })));
|
|
24
|
+
};
|
|
25
|
+
exports.HOCOutsideClick = HOCOutsideClick;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare enum EEventType {
|
|
3
|
+
Click = "click",
|
|
4
|
+
Mousedown = "mousedown"
|
|
5
|
+
}
|
|
6
|
+
export type TOutsideAlerterProps = {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
classes?: string;
|
|
9
|
+
handleFunc: (event: any) => void;
|
|
10
|
+
eventType?: EEventType;
|
|
11
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EEventType = void 0;
|
|
4
|
+
var EEventType;
|
|
5
|
+
(function (EEventType) {
|
|
6
|
+
EEventType["Click"] = "click";
|
|
7
|
+
EEventType["Mousedown"] = "mousedown";
|
|
8
|
+
})(EEventType = exports.EEventType || (exports.EEventType = {}));
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.JackPotInfoBox = void 0;
|
|
41
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
|
+
var react_1 = require("react");
|
|
43
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
44
|
+
var utils_1 = require("../../utils");
|
|
45
|
+
var JackpotCounter_1 = __importDefault(require("../JackpotCounter"));
|
|
46
|
+
var styles = __importStar(require("./Jackpot.module.css"));
|
|
47
|
+
var JackPotInfoBox = function (props) {
|
|
48
|
+
var classes = props.classes, name = props.name, min = props.min, max = props.max, drawDate = props.drawDate, createdAt = props.createdAt, handleClick = props.handleClick;
|
|
49
|
+
var _a = (0, react_1.useState)(+(0, utils_1.getJackpotInfo)(createdAt, drawDate, max, min).currentJackpotSum.toFixed(2)), currentSum = _a[0], setCurrentSum = _a[1];
|
|
50
|
+
var timer = (0, react_1.useRef)(null);
|
|
51
|
+
(0, react_1.useEffect)(function () {
|
|
52
|
+
if (timer.current) {
|
|
53
|
+
clearTimeout(timer.current);
|
|
54
|
+
}
|
|
55
|
+
var _a = (0, utils_1.getJackpotInfo)(createdAt, drawDate, max, min), initialSum = _a.currentJackpotSum, secondWin = _a.secondWin;
|
|
56
|
+
timer.current = setTimeout(function () {
|
|
57
|
+
setCurrentSum(+initialSum + secondWin);
|
|
58
|
+
}, 1500);
|
|
59
|
+
}, [drawDate, createdAt, currentSum]);
|
|
60
|
+
(0, react_1.useEffect)(function () { return function () {
|
|
61
|
+
if (timer.current) {
|
|
62
|
+
clearTimeout(timer.current);
|
|
63
|
+
}
|
|
64
|
+
}; }, []);
|
|
65
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.jackpotInfoBoxWrapper, classes), onClick: handleClick }, { children: [(0, jsx_runtime_1.jsx)("img", { src: "/icons-elon/jackpots/jackpot-bg.jpg", className: styles.img }), (0, jsx_runtime_1.jsx)("img", { src: "/icons-elon/jackpots/ligths.png", className: (0, classnames_1.default)(styles.img, styles.whiteLight) }), (0, jsx_runtime_1.jsx)("img", { src: "/icons-elon/jackpots/red-light.png", className: (0, classnames_1.default)(styles.img, styles.redLight) }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.content }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: styles.title, style: {
|
|
66
|
+
background: 'url(icons-elon/jackpots/jackpot-name.png)',
|
|
67
|
+
backgroundSize: 'contain',
|
|
68
|
+
backgroundPosition: 'center',
|
|
69
|
+
backgroundRepeat: 'no-repeat',
|
|
70
|
+
} }, { children: name })), (0, jsx_runtime_1.jsx)("img", { src: "/icons-elon/jackpots/zeus.png", className: (0, classnames_1.default)(styles.img, styles.zues) }), (0, jsx_runtime_1.jsx)("img", { src: "/icons-elon/jackpots/devil.png", className: (0, classnames_1.default)(styles.img, styles.devil) }), !!currentSum && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.jackpotCounterWrapper }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.jackpotBtn, style: {
|
|
71
|
+
background: 'url(icons-elon/jackpots/jackpotBtn.png)',
|
|
72
|
+
backgroundSize: 'contain',
|
|
73
|
+
backgroundPosition: 'center',
|
|
74
|
+
backgroundRepeat: 'no-repeat',
|
|
75
|
+
} }, { children: (0, jsx_runtime_1.jsx)(JackpotCounter_1.default, { sum: +currentSum.toFixed(2) }) })) })))] }))] })));
|
|
76
|
+
};
|
|
77
|
+
exports.JackPotInfoBox = JackPotInfoBox;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
41
|
+
var react_1 = require("react");
|
|
42
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
43
|
+
var styles = __importStar(require("./Digit.module.css"));
|
|
44
|
+
var Digit = function (props) {
|
|
45
|
+
var num = props.num, prev = props.prev;
|
|
46
|
+
var _a = (0, react_1.useState)(num), digit = _a[0], setDigit = _a[1];
|
|
47
|
+
var _b = (0, react_1.useState)(prev), prevDigit = _b[0], setPrevDigit = _b[1];
|
|
48
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.digit, styles.animationChange) }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: styles.prevDigit }, { children: prevDigit })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.currentDigit }, { children: digit }))] })));
|
|
49
|
+
};
|
|
50
|
+
exports.default = Digit;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
41
|
+
var react_1 = require("react");
|
|
42
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
43
|
+
var Digit_1 = __importDefault(require("./components/Digit"));
|
|
44
|
+
var styles = __importStar(require("./JackpotCounter.module.css"));
|
|
45
|
+
var JackpotCounter = function (props) {
|
|
46
|
+
var classes = props.classes, sum = props.sum;
|
|
47
|
+
var prev = (0, react_1.useRef)("".concat(sum, "$"));
|
|
48
|
+
var numbers = "".concat(sum, "$").split('');
|
|
49
|
+
(0, react_1.useEffect)(function () {
|
|
50
|
+
var currentNumbers = numbers.join('');
|
|
51
|
+
if (prev.current !== currentNumbers) {
|
|
52
|
+
prev.current = currentNumbers;
|
|
53
|
+
}
|
|
54
|
+
}, [sum]);
|
|
55
|
+
return ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperCounter, classes) }, { children: numbers.map(function (num, inx) { return ((0, jsx_runtime_1.jsx)(Digit_1.default, { num: num, prev: prev.current[inx] || 0 }, "".concat(num, "_").concat(inx))); }) })));
|
|
56
|
+
};
|
|
57
|
+
exports.default = JackpotCounter;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.JackpotWidget = void 0;
|
|
41
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
43
|
+
var Jackpot_1 = require("./components/Jackpot");
|
|
44
|
+
var styles = __importStar(require("./JackpotWidget.module.css"));
|
|
45
|
+
var JackpotWidget = function (_a) {
|
|
46
|
+
var classes = _a.classes, jackpots = _a.jackpots, handleClick = _a.handleClick;
|
|
47
|
+
if (!jackpots.length) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.wrapper, classes) }, { children: jackpots.map(function (j) { return ((0, jsx_runtime_1.jsx)(Jackpot_1.JackPotInfoBox, __assign({}, j, { classes: styles.marginL, handleClick: handleClick === null || handleClick === void 0 ? void 0 : handleClick(j.id) }), j.id)); }) })));
|
|
51
|
+
};
|
|
52
|
+
exports.JackpotWidget = JackpotWidget;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type Jackpot = {
|
|
2
|
+
id: number;
|
|
3
|
+
min: number;
|
|
4
|
+
name: string;
|
|
5
|
+
max: number;
|
|
6
|
+
drawDate: number;
|
|
7
|
+
createdAt: number;
|
|
8
|
+
};
|
|
9
|
+
export type JackpotWidgetProps = {
|
|
10
|
+
classes?: string;
|
|
11
|
+
jackpots: Jackpot[];
|
|
12
|
+
handleClick?: (id: number) => () => void;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const daysUntil: (start: number, end: number) => number;
|
|
2
|
+
export declare const timeElapsed: (targetTimestamp: number, startTime: number) => {
|
|
3
|
+
hours: number;
|
|
4
|
+
minutes: number;
|
|
5
|
+
seconds: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const getJackpotInfo: (createdAt: number, drawDate: number, max: number, min: number) => {
|
|
8
|
+
currentJackpotSum: number;
|
|
9
|
+
secondWin: number;
|
|
10
|
+
minWin: number;
|
|
11
|
+
hourWin: number;
|
|
12
|
+
dayWin: number;
|
|
13
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getJackpotInfo = exports.timeElapsed = exports.daysUntil = void 0;
|
|
4
|
+
var daysUntil = function (start, end) {
|
|
5
|
+
// Create Date objects for the timestamp and current date
|
|
6
|
+
var targetDateObj = new Date(end);
|
|
7
|
+
var currentDateObj = new Date(start);
|
|
8
|
+
// Set both dates to the start of the day to count full days
|
|
9
|
+
targetDateObj.setHours(0, 0, 0, 0);
|
|
10
|
+
currentDateObj.setHours(0, 0, 0, 0);
|
|
11
|
+
// Calculate the difference in milliseconds
|
|
12
|
+
var difference = targetDateObj.getTime() - currentDateObj.getTime();
|
|
13
|
+
// Convert milliseconds to days
|
|
14
|
+
var daysDifference = Math.ceil(difference / (1000 * 60 * 60 * 24));
|
|
15
|
+
return daysDifference;
|
|
16
|
+
};
|
|
17
|
+
exports.daysUntil = daysUntil;
|
|
18
|
+
var timeElapsed = function (targetTimestamp, startTime) {
|
|
19
|
+
var currentTimestamp = new Date(startTime).getTime();
|
|
20
|
+
var timeDiffInSeconds = Math.floor((targetTimestamp - currentTimestamp) / 1000);
|
|
21
|
+
var hours = Math.floor(timeDiffInSeconds / 3600);
|
|
22
|
+
timeDiffInSeconds %= 3600;
|
|
23
|
+
var minutes = Math.floor(timeDiffInSeconds / 60);
|
|
24
|
+
var seconds = timeDiffInSeconds % 60;
|
|
25
|
+
return {
|
|
26
|
+
hours: hours,
|
|
27
|
+
minutes: minutes,
|
|
28
|
+
seconds: seconds,
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
exports.timeElapsed = timeElapsed;
|
|
32
|
+
var getJackpotInfo = function (createdAt, drawDate, max, min) {
|
|
33
|
+
var allDays = (0, exports.daysUntil)(new Date(createdAt).getTime(), new Date(drawDate).getTime());
|
|
34
|
+
var prevDays = (0, exports.daysUntil)(new Date(createdAt).getTime(), new Date().getTime());
|
|
35
|
+
var diff = max - min;
|
|
36
|
+
var dayWin = diff / (allDays + 1);
|
|
37
|
+
var hourWin = dayWin / 24;
|
|
38
|
+
var minWin = hourWin / 60;
|
|
39
|
+
var secondWin = minWin / 60;
|
|
40
|
+
var currentWinSum = prevDays * dayWin;
|
|
41
|
+
var _a = (0, exports.timeElapsed)(Date.now(), createdAt), minutes = _a.minutes, hours = _a.hours, seconds = _a.seconds;
|
|
42
|
+
var prevHoursWinSum = hourWin * hours;
|
|
43
|
+
var prevMinutesWinSum = minWin * minutes;
|
|
44
|
+
var prevSecondsWinSum = seconds * secondWin;
|
|
45
|
+
var currentJackpotSum = currentWinSum + prevHoursWinSum + prevMinutesWinSum + prevSecondsWinSum;
|
|
46
|
+
return { currentJackpotSum: currentJackpotSum, secondWin: secondWin, minWin: minWin, hourWin: hourWin, dayWin: dayWin };
|
|
47
|
+
};
|
|
48
|
+
exports.getJackpotInfo = getJackpotInfo;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
41
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
42
|
+
var profile_svg_1 = require("assets/profile.svg");
|
|
43
|
+
var styles = __importStar(require("./LastBigWinner.module.css"));
|
|
44
|
+
var SkeletLoader_1 = __importDefault(require("components/ui/Loaders/SkeletLoader"));
|
|
45
|
+
var LastBigWinner = function (props) {
|
|
46
|
+
var classes = props.classes, _a = props.isLoading, isLoading = _a === void 0 ? false : _a;
|
|
47
|
+
if (isLoading) {
|
|
48
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperLastBugWinner, classes) }, { children: [(0, jsx_runtime_1.jsx)(SkeletLoader_1.default, { classes: styles.img }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.box }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.header }, { children: [(0, jsx_runtime_1.jsx)(profile_svg_1.ReactComponent, {}), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.userId }, { children: (0, jsx_runtime_1.jsx)(SkeletLoader_1.default, { classes: styles.idLoader }) })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.label }, { children: "Win In" }))] })), (0, jsx_runtime_1.jsx)(SkeletLoader_1.default, { classes: (0, classnames_1.default)(styles.title, styles.loaderTitle) }), (0, jsx_runtime_1.jsx)(SkeletLoader_1.default, { classes: (0, classnames_1.default)(styles.sum, styles.loaderSum) })] }))] })));
|
|
49
|
+
}
|
|
50
|
+
var _b = props, id = _b.id, _c = _b.gameImg, gameImg = _c === void 0 ? 'https://elondom.com/image/vertical_2/30201.webp' : _c, prize = _b.prize, gameName = _b.gameName, handleClick = _b.handleClick, gameId = _b.gameId;
|
|
51
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperLastBugWinner, classes), onClick: handleClick(gameId) }, { children: [(0, jsx_runtime_1.jsx)("img", { src: gameImg, className: styles.img }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.box }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.header }, { children: [(0, jsx_runtime_1.jsx)(profile_svg_1.ReactComponent, {}), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.userId }, { children: ["ID ", id] })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.label }, { children: "Win In" }))] })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.title }, { children: gameName })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.sum }, { children: prize }))] }))] })));
|
|
52
|
+
};
|
|
53
|
+
exports.default = LastBigWinner;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type LastBigWinnerProps = BigWinnerCard | {
|
|
2
|
+
isLoading: true;
|
|
3
|
+
classes?: string;
|
|
4
|
+
};
|
|
5
|
+
export type BigWinnerCard = {
|
|
6
|
+
classes?: string;
|
|
7
|
+
id: string;
|
|
8
|
+
gameImg: string;
|
|
9
|
+
prize: string;
|
|
10
|
+
gameName: string;
|
|
11
|
+
gameId: number;
|
|
12
|
+
handleClick: (id: number) => () => void;
|
|
13
|
+
isLoading?: false | undefined;
|
|
14
|
+
};
|
|
15
|
+
export type LastBigWinnerInfo = Omit<BigWinnerCard, 'classes' | 'handleClick' | 'isLoading'>;
|