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,48 @@
|
|
|
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.Section = void 0;
|
|
41
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
43
|
+
var styles = __importStar(require("./Section.module.css"));
|
|
44
|
+
var Section = function (_a) {
|
|
45
|
+
var children = _a.children, classes = _a.classes;
|
|
46
|
+
return (0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperSection, classes) }, { children: children }));
|
|
47
|
+
};
|
|
48
|
+
exports.Section = Section;
|
|
@@ -0,0 +1,135 @@
|
|
|
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.Selector = void 0;
|
|
41
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
43
|
+
var react_1 = require("react");
|
|
44
|
+
var CloseSvg_1 = require("../Icons/CloseSvg");
|
|
45
|
+
var CheckBoxSvg_1 = require("../Icons/CheckBoxSvg");
|
|
46
|
+
var LockSvg_1 = require("../Icons/LockSvg");
|
|
47
|
+
var ArrowButton_1 = require("../Buttons/ArrowButton");
|
|
48
|
+
var HOCOutsideClick_1 = require("components/HOCs/HOCOutsideClick");
|
|
49
|
+
var Text_1 = require("components/Text");
|
|
50
|
+
var useTranslate_1 = require("hooks/useTranslate");
|
|
51
|
+
var styles = __importStar(require("./Selector.module.css"));
|
|
52
|
+
var Selector = function (props) {
|
|
53
|
+
var _a, _b;
|
|
54
|
+
var _c = props.placeholder, placeholder = _c === void 0 ? '' : _c, data = props.data, classes = props.classes, activeId = props.activeId, isOpenUp = props.isOpenUp, size = props.size, handleClick = props.handleClick, isAll = props.isAll, classesItem = props.classesItem, _d = props.selectedMainItemClasses, selectedMainItemClasses = _d === void 0 ? '' : _d, isMulti = props.isMulti, modalType = props.modalType, activeIds = props.activeIds, _e = props.joinSymbol, joinSymbol = _e === void 0 ? ',' : _e, _f = props.selectorStyleType, selectorStyleType = _f === void 0 ? 'base' : _f, _g = props.type, type = _g === void 0 ? 'base' : _g, additionalModalProps = props.additionalModalProps, setModalType = props.setModalType;
|
|
55
|
+
var _h = (0, react_1.useState)(false), isOpened = _h[0], setOpenState = _h[1];
|
|
56
|
+
var _j = (0, react_1.useState)(true), isHideContent = _j[0], setHideContentState = _j[1];
|
|
57
|
+
var timer = (0, react_1.useRef)(null);
|
|
58
|
+
var getText = (0, useTranslate_1.useTranslate)('', '').getText;
|
|
59
|
+
var isDisabled = data.length < 2 && modalType === undefined;
|
|
60
|
+
var handleToggleState = function (e) {
|
|
61
|
+
e.stopPropagation();
|
|
62
|
+
if (type === 'button') {
|
|
63
|
+
// @ts-ignore
|
|
64
|
+
handleClick();
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
if (modalType) {
|
|
68
|
+
setModalType(modalType, additionalModalProps);
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
if (isHideContent && !isOpened) {
|
|
72
|
+
setHideContentState(false);
|
|
73
|
+
}
|
|
74
|
+
setOpenState(!isOpened);
|
|
75
|
+
};
|
|
76
|
+
var resetValue = function (e) {
|
|
77
|
+
e.preventDefault();
|
|
78
|
+
e.stopPropagation();
|
|
79
|
+
if (!isAll) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
setOpenState(false);
|
|
83
|
+
handleClick(null);
|
|
84
|
+
};
|
|
85
|
+
var setAndClose = function (id) { return function (e) {
|
|
86
|
+
e.stopPropagation();
|
|
87
|
+
setOpenState(false);
|
|
88
|
+
// TODO because of isAll change props types for function
|
|
89
|
+
handleClick(id);
|
|
90
|
+
}; };
|
|
91
|
+
var getTitle = function () {
|
|
92
|
+
var _a;
|
|
93
|
+
if (isMulti) {
|
|
94
|
+
return data
|
|
95
|
+
.filter(function (i) { return activeIds.includes(i.id); })
|
|
96
|
+
.map(function (i) { return getText(i.name); })
|
|
97
|
+
.join(joinSymbol);
|
|
98
|
+
}
|
|
99
|
+
var name = ((_a = data.find(function (i) { return i.id === activeId; })) === null || _a === void 0 ? void 0 : _a.name) || placeholder;
|
|
100
|
+
return getText(name);
|
|
101
|
+
};
|
|
102
|
+
(0, react_1.useEffect)(function () {
|
|
103
|
+
if (timer.current) {
|
|
104
|
+
clearTimeout(timer.current);
|
|
105
|
+
}
|
|
106
|
+
if (!isOpened) {
|
|
107
|
+
timer.current = setTimeout(function () {
|
|
108
|
+
setHideContentState(true);
|
|
109
|
+
}, 500);
|
|
110
|
+
}
|
|
111
|
+
}, [isOpened]);
|
|
112
|
+
(0, react_1.useEffect)(function () { return function () {
|
|
113
|
+
if (timer.current) {
|
|
114
|
+
clearTimeout(timer.current);
|
|
115
|
+
}
|
|
116
|
+
}; }, []);
|
|
117
|
+
var directionModifier = "dropDownDirection-".concat(isOpenUp ? 'up' : 'down');
|
|
118
|
+
var sizeModifier = "dropDownContentSize-".concat(size);
|
|
119
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperSelector, styles[sizeModifier], classes) }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.mainContainer, styles.item, styles[sizeModifier], classesItem, (_a = {},
|
|
120
|
+
_a[styles.opacity] = isOpened,
|
|
121
|
+
_a[selectedMainItemClasses] = activeId || (activeIds === null || activeIds === void 0 ? void 0 : activeIds.length),
|
|
122
|
+
_a)), onClick: isDisabled && type === 'base' ? undefined : handleToggleState }, { children: [selectorStyleType === 'labelUp' && placeholder && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.placeholder }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: placeholder }) }))), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.overflow }, { children: getTitle() })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.iconBlock }, { children: [isDisabled && (0, jsx_runtime_1.jsx)(LockSvg_1.LockSvg, {}), !isDisabled && !activeId && ((0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, { isOpened: isOpened, toggleState: resetValue })), !isDisabled && !!activeId && !!isAll && ((0, jsx_runtime_1.jsx)(CloseSvg_1.CloseSvg, { handleClick: resetValue }))] }))] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.dropDownWrapper, styles[directionModifier], styles[sizeModifier], (_b = {},
|
|
123
|
+
_b[styles.animationSelectorGrowing] = isOpened,
|
|
124
|
+
_b[styles.animationSelectorReducing] = !isOpened,
|
|
125
|
+
_b[styles.bigBorder] = isOpened,
|
|
126
|
+
_b[styles.disabledBottom] = isOpenUp,
|
|
127
|
+
_b[styles.disabledTop] = !isOpenUp,
|
|
128
|
+
_b)) }, { children: [!isHideContent && isAll && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.item, classesItem), onClick: setAndClose(null) }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "reset" }) }))), !isHideContent && ((0, jsx_runtime_1.jsx)(HOCOutsideClick_1.HOCOutsideClick, __assign({ handleFunc: handleToggleState }, { children: data.map(function (i) {
|
|
129
|
+
var _a;
|
|
130
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.item, styles.overflow, classesItem, (_a = {},
|
|
131
|
+
_a[styles.maxSize] = !isMulti,
|
|
132
|
+
_a)), onClick: setAndClose(i.id) }, { children: [(0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: i.name }) }), i.endName && ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: i.endName }) })), isMulti && activeIds.includes(i.id) && (0, jsx_runtime_1.jsx)(CheckBoxSvg_1.CheckBoxSvg, {})] }), i.id));
|
|
133
|
+
}) })))] }))] })));
|
|
134
|
+
};
|
|
135
|
+
exports.Selector = Selector;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Size } from 'types/ui';
|
|
2
|
+
export type SelectorProps = {
|
|
3
|
+
selectorStyleType?: 'labelUp' | 'base';
|
|
4
|
+
type?: 'base' | 'button';
|
|
5
|
+
isOpenUp?: boolean;
|
|
6
|
+
activeId: number | null;
|
|
7
|
+
handleClick: (id: number) => void;
|
|
8
|
+
data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
id: number;
|
|
11
|
+
name: string;
|
|
12
|
+
endName?: string;
|
|
13
|
+
}[];
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
classes?: string;
|
|
16
|
+
classesItem?: string;
|
|
17
|
+
selectedMainItemClasses?: string;
|
|
18
|
+
size: Size;
|
|
19
|
+
isAll?: boolean;
|
|
20
|
+
isMulti?: boolean;
|
|
21
|
+
modalType?: unknown;
|
|
22
|
+
additionalModalProps?: any;
|
|
23
|
+
setModalType?: (type: any, additionalInfo?: any) => void;
|
|
24
|
+
activeIds?: number[];
|
|
25
|
+
joinSymbol?: string;
|
|
26
|
+
} & (({
|
|
27
|
+
isAll: true;
|
|
28
|
+
handleClick: (id: number | null) => void;
|
|
29
|
+
} | {
|
|
30
|
+
isAll?: false;
|
|
31
|
+
handleClick: (id: number) => void;
|
|
32
|
+
}) & ({
|
|
33
|
+
isMulti: true;
|
|
34
|
+
activeIds: number[];
|
|
35
|
+
joinSymbol: string;
|
|
36
|
+
} | {
|
|
37
|
+
isMulti?: false;
|
|
38
|
+
})) & ({
|
|
39
|
+
type: 'button';
|
|
40
|
+
handleClick: () => void;
|
|
41
|
+
} | {
|
|
42
|
+
type?: 'base';
|
|
43
|
+
});
|
|
@@ -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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ShowAllCard = void 0;
|
|
38
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
39
|
+
var Text_1 = require("components/Text");
|
|
40
|
+
var styles = __importStar(require("./ShowAllCard.module.css"));
|
|
41
|
+
var ShowAllCard = function (_a) {
|
|
42
|
+
var handleClick = _a.handleClick, appType = _a.appType, bgPath = _a.bgPath;
|
|
43
|
+
var path = bgPath || "/icons-elon/games/".concat(appType, ".png");
|
|
44
|
+
return ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.wrapperShowAllCard, onClick: handleClick, style: {
|
|
45
|
+
background: "url(".concat(path, ")"),
|
|
46
|
+
backgroundSize: 'cover',
|
|
47
|
+
backgroundPosition: 'center',
|
|
48
|
+
} }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "showMoreBtn" }) })));
|
|
49
|
+
};
|
|
50
|
+
exports.ShowAllCard = ShowAllCard;
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.Step = void 0;
|
|
38
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
39
|
+
var styles = __importStar(require("./Step.module.css"));
|
|
40
|
+
var Step = function (props) {
|
|
41
|
+
var imgPath = props.imgPath, title = props.title, subTitle = props.subTitle;
|
|
42
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.wrapperStep }, { children: [(0, jsx_runtime_1.jsx)("img", { src: imgPath, className: styles.img }), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.title }, { children: title })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.subTitle }, { children: subTitle }))] })));
|
|
43
|
+
};
|
|
44
|
+
exports.Step = Step;
|
|
@@ -0,0 +1,109 @@
|
|
|
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.Tabs = 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 useElementResize_1 = require("hooks/useElementResize");
|
|
45
|
+
var styles = __importStar(require("./Tabs.module.css"));
|
|
46
|
+
var Tabs = function (props) {
|
|
47
|
+
var _a, _b;
|
|
48
|
+
var activeValue = props.activeValue, onChange = props.onChange, data = props.data, _c = props.classes, classes = _c === void 0 ? '' : _c, _d = props.tabClasses, tabClasses = _d === void 0 ? '' : _d, startItem = props.startItem, endItem = props.endItem, _e = props.type, type = _e === void 0 ? 'button' : _e;
|
|
49
|
+
var container = (0, react_1.useRef)(null);
|
|
50
|
+
var indicator = (0, react_1.useRef)(null);
|
|
51
|
+
var _f = (0, react_1.useState)(null), activeInx = _f[0], setActiveInx = _f[1];
|
|
52
|
+
var isButtonView = type === 'button';
|
|
53
|
+
var handleChange = function (n) { return function () {
|
|
54
|
+
onChange(n);
|
|
55
|
+
}; };
|
|
56
|
+
var width = (0, useElementResize_1.useElementResize)({ containerRef: container.current });
|
|
57
|
+
(0, react_1.useEffect)(function () {
|
|
58
|
+
if (!container.current ||
|
|
59
|
+
!indicator.current ||
|
|
60
|
+
activeInx === null ||
|
|
61
|
+
!width) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
var containerElement = container.current;
|
|
65
|
+
var containerStyles = window.getComputedStyle(containerElement);
|
|
66
|
+
var borderWidth = parseInt(containerStyles.borderWidth);
|
|
67
|
+
var tabs = containerElement.getElementsByTagName('div');
|
|
68
|
+
var activeElement = tabs[activeInx];
|
|
69
|
+
if (!activeElement) {
|
|
70
|
+
indicator.current.style.width = '0px';
|
|
71
|
+
console.warn('ACTIVE element not found');
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
var activeItemWidth = activeElement.getBoundingClientRect().width;
|
|
75
|
+
var containerRect = container.current.getBoundingClientRect();
|
|
76
|
+
var elementRect = activeElement.getBoundingClientRect();
|
|
77
|
+
var elementPositionInContainer = {
|
|
78
|
+
left: elementRect.left -
|
|
79
|
+
containerRect.left +
|
|
80
|
+
container.current.scrollLeft -
|
|
81
|
+
borderWidth,
|
|
82
|
+
top: elementRect.top - containerRect.top + container.current.scrollTop,
|
|
83
|
+
right: elementRect.right - containerRect.left + container.current.scrollLeft,
|
|
84
|
+
bottom: elementRect.bottom - containerRect.top + container.current.scrollTop,
|
|
85
|
+
};
|
|
86
|
+
var left = elementPositionInContainer.left;
|
|
87
|
+
indicator.current.style.width = "".concat(activeItemWidth, "px");
|
|
88
|
+
indicator.current.style.left = "".concat(left, "px");
|
|
89
|
+
}, [activeInx, width]);
|
|
90
|
+
(0, react_1.useEffect)(function () {
|
|
91
|
+
if (activeValue === null) {
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
var activeInx = data.findIndex(function (d) { return d.value === activeValue; });
|
|
95
|
+
setActiveInx(activeInx);
|
|
96
|
+
}, [activeValue, data]);
|
|
97
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperTabs, styles.tabButtonsWrapper, classes, (_a = {},
|
|
98
|
+
_a[styles.bg] = isButtonView,
|
|
99
|
+
_a)), ref: container }, { children: [startItem, data.map(function (d) {
|
|
100
|
+
var _a;
|
|
101
|
+
return ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.tab, styles.buttonTab, tabClasses, (_a = {},
|
|
102
|
+
_a[styles.buttonTab] = isButtonView,
|
|
103
|
+
_a[styles.buttonTabActive] = isButtonView && activeValue === d.value,
|
|
104
|
+
_a)), onClick: handleChange(d.value) }, { children: d.label }), d.value));
|
|
105
|
+
}), activeInx !== null && ((0, jsx_runtime_1.jsx)("div", { className: (0, classnames_1.default)(styles.activeBlockIndicator, (_b = {},
|
|
106
|
+
_b[styles.buttonActiveIndicator] = isButtonView,
|
|
107
|
+
_b)), ref: indicator })), endItem] })));
|
|
108
|
+
};
|
|
109
|
+
exports.Tabs = Tabs;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type TabsProps = {
|
|
3
|
+
activeValue: number;
|
|
4
|
+
data: Tab[];
|
|
5
|
+
onChange: (n: number) => void;
|
|
6
|
+
classes?: string;
|
|
7
|
+
tabClasses?: string;
|
|
8
|
+
startItem?: React.ReactElement;
|
|
9
|
+
endItem?: React.ReactElement;
|
|
10
|
+
type?: 'button' | 'underline';
|
|
11
|
+
};
|
|
12
|
+
export type Tab = {
|
|
13
|
+
label: string;
|
|
14
|
+
value: number;
|
|
15
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
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.TournamentCard = void 0;
|
|
41
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
43
|
+
var Text_1 = require("components/Text");
|
|
44
|
+
var CountDown_1 = require("../CountDown");
|
|
45
|
+
var InfoSvg_1 = require("../Icons/InfoSvg");
|
|
46
|
+
var PlaySvg_1 = require("../Icons/PlaySvg");
|
|
47
|
+
var styles = __importStar(require("./TournamentCard.module.css"));
|
|
48
|
+
var TournamentCard = function (props) {
|
|
49
|
+
var isFinished = props.isFinished, classes = props.classes, finishedBackgroundImagePath = props.finishedBackgroundImagePath, activeTournamentImagePath = props.activeTournamentImagePath, activeTournamentName = props.activeTournamentName, notActiveTournamentName = props.notActiveTournamentName, endDate = props.endDate, counterProps = props.counterProps, prizeText = props.prizeText, currencyName = props.currencyName, amount = props.amount, handleOpenTournamentRules = props.handleOpenTournamentRules, jumpToSlots = props.jumpToSlots;
|
|
50
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperTournamentCard, classes), style: {
|
|
51
|
+
background: isFinished
|
|
52
|
+
? finishedBackgroundImagePath
|
|
53
|
+
: undefined,
|
|
54
|
+
backgroundSize: 'cover',
|
|
55
|
+
backgroundPosition: 'center',
|
|
56
|
+
} }, { children: [!isFinished && ((0, jsx_runtime_1.jsx)("img", { className: styles.battleBanner, src: activeTournamentImagePath })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.tournamentName }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: isFinished ? notActiveTournamentName : activeTournamentName }) })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.wrapperCountDown }, { children: !isFinished && ((0, jsx_runtime_1.jsx)(CountDown_1.CountDown, __assign({ endTimestamp: endDate, wrapperClasses: styles.wrapperCountDownClasses, timeClasses: styles.timeText }, counterProps))) })), !isFinished && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.winSum }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: prizeText }) }))), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.rowResultAndButtons }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.sum }, { children: [isFinished && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.winSum }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: prizeText }) }))), currencyName, " ", amount.toLocaleString('de-DE')] })), !isFinished && ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.buttons }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: styles.info, onClick: handleOpenTournamentRules }, { children: (0, jsx_runtime_1.jsx)(InfoSvg_1.InfoSvg, {}) })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.play, onClick: jumpToSlots }, { children: (0, jsx_runtime_1.jsx)(PlaySvg_1.PlaySvg, {}) }))] })))] }))] })));
|
|
57
|
+
};
|
|
58
|
+
exports.TournamentCard = TournamentCard;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CountDownProps } from '../CountDown/types';
|
|
2
|
+
export type TournamentCardProps = {
|
|
3
|
+
isFinished: boolean;
|
|
4
|
+
classes?: string;
|
|
5
|
+
finishedBackgroundImagePath: string;
|
|
6
|
+
activeTournamentImagePath: string;
|
|
7
|
+
activeTournamentName: string;
|
|
8
|
+
notActiveTournamentName: string;
|
|
9
|
+
endDate: number;
|
|
10
|
+
counterProps: CountDownProps;
|
|
11
|
+
prizeText: string;
|
|
12
|
+
currencyName: string;
|
|
13
|
+
amount: number;
|
|
14
|
+
handleOpenTournamentRules: () => void;
|
|
15
|
+
jumpToSlots: () => void;
|
|
16
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useCountDown = void 0;
|
|
4
|
+
var react_1 = require("react");
|
|
5
|
+
var date_1 = require("utils/date");
|
|
6
|
+
var useCountDown = function (_a) {
|
|
7
|
+
var endTimestamp = _a.endTimestamp, callback = _a.callback;
|
|
8
|
+
var _b = (0, react_1.useState)(endTimestamp - new Date().getTime()), countDown = _b[0], setCountDown = _b[1];
|
|
9
|
+
(0, react_1.useEffect)(function () {
|
|
10
|
+
var interval = setInterval(function () {
|
|
11
|
+
var time = new Date().getTime();
|
|
12
|
+
var newTime = endTimestamp - time;
|
|
13
|
+
if (newTime <= 0) {
|
|
14
|
+
clearInterval(interval);
|
|
15
|
+
setCountDown(0);
|
|
16
|
+
callback === null || callback === void 0 ? void 0 : callback();
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
setCountDown(newTime);
|
|
20
|
+
}, 1000);
|
|
21
|
+
return function () { return clearInterval(interval); };
|
|
22
|
+
}, [endTimestamp, callback]);
|
|
23
|
+
return { timeRemaining: countDown, formatTime: (0, date_1.formattedDate)(countDown) };
|
|
24
|
+
};
|
|
25
|
+
exports.useCountDown = useCountDown;
|