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,20 @@
|
|
|
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.KabaddiSvg = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var KabaddiSvg = function (props) {
|
|
17
|
+
var _a = props.width, width = _a === void 0 ? '15' : _a, _b = props.height, height = _b === void 0 ? '20' : _b, classes = props.classes;
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: width, height: height, viewBox: "0 0 15 20", fill: "none", className: classes }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M10.0003 0C11.6572 0 13.0003 1.34315 13.0003 3C13.0003 4.43743 11.9894 5.63873 10.6397 5.93172L10.4693 5.96356L11.9052 8.261L13.6289 7.57154C14.1417 7.36643 14.7237 7.61584 14.9288 8.1286C15.1192 8.60477 14.9178 9.14061 14.4775 9.37894L14.3717 9.4285L12.648 10.118C11.8021 10.4564 10.8426 10.1789 10.3049 9.46077L10.2092 9.321L10.0466 9.0609L9.44057 11.4851C9.38633 11.7019 9.29862 11.9015 9.18435 12.0798L9.09377 12.2095L10.7471 13.4377C11.1433 13.732 11.4149 14.161 11.5135 14.6404L11.5423 14.8223L11.8953 18H12.0003C12.5526 18 13.0003 18.4477 13.0003 19C13.0003 19.5128 12.6142 19.9355 12.1169 19.9933L12.0003 20H11.0898C10.5693 20 10.1261 19.6366 10.0159 19.1387L9.99647 19.0215L9.55447 15.0431L6.40395 12.7028C6.34698 12.6605 6.2958 12.6132 6.25057 12.5621C5.69878 12.1202 5.40491 11.4019 5.52733 10.6715L5.55999 10.5149L6.35426 7.33785L4.78481 7.80869L3.94895 10.3162C3.77431 10.8402 3.20799 11.1234 2.68404 10.9487C2.19752 10.7866 1.91862 10.2866 2.02109 9.79656L2.05159 9.6838L2.88744 7.17623C3.07611 6.61022 3.50645 6.16081 4.05705 5.94578L4.21011 5.89304L7.64767 4.86176C7.24237 4.35022 7.00027 3.70338 7.00027 3C7.00027 1.34315 8.34337 0 10.0003 0Z", fill: "rgb(var(--gray))" }), (0, jsx_runtime_1.jsx)("path", { d: "M6.80221 14.6001C7.13361 14.1583 7.04401 13.5315 6.60221 13.2001C6.16038 12.8687 5.53358 12.9583 5.20221 13.4001L4.2698 14.6433L2.06373 13.1726C1.66315 12.9056 1.12974 12.9584 0.789312 13.2988C0.555565 13.6706 0.129477 14.5728 0.295102 15.2072C0.658372 15.5705 1.2316 15.5958 1.62418 15.2833L3.55396 16.5698C4.21635 17.0114 5.10835 16.8586 5.58601 16.2217L6.80221 14.6001Z", fill: "rgb(var(--gray))", fillOpacity: "0.25" })] })));
|
|
19
|
+
};
|
|
20
|
+
exports.KabaddiSvg = KabaddiSvg;
|
|
@@ -0,0 +1,20 @@
|
|
|
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.MmaSvg = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var MmaSvg = function (props) {
|
|
17
|
+
var _a = props.width, width = _a === void 0 ? '24' : _a, _b = props.height, height = _b === void 0 ? '24' : _b, classes = props.classes;
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: width, height: height, viewBox: "0 0 24 24", fill: "none", className: classes }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M7.01211 3.56231C5.95811 3.68491 5.11491 3.97631 4.49771 4.42851C2.90331 5.59751 1.89151 7.89331 2.29011 9.42651C2.48951 10.1969 3.02211 10.9519 3.77351 11.5385C3.94591 11.6727 4.29091 11.9485 4.53231 12.1479C5.26831 12.7459 5.58251 12.9949 5.59011 12.9835C5.59391 12.9759 5.58251 12.8417 5.56331 12.6845C5.50591 12.2361 5.55191 11.1629 5.64771 10.7107C5.88151 9.60691 6.29171 8.84791 7.08111 8.06231C7.47591 7.67131 7.80931 7.39931 8.31151 7.06191C9.49971 6.27231 11.1209 5.62451 12.3091 5.47131C12.5045 5.44451 12.6579 5.41371 12.6541 5.39851C12.6273 5.33331 12.1597 4.95011 11.8645 4.75851C11.0825 4.24871 9.71431 3.73891 8.76751 3.60091C8.35751 3.54311 7.38391 3.52011 7.01211 3.56231Z", fill: "rgb(var(--gray))", fillOpacity: "0.25" }), (0, jsx_runtime_1.jsx)("path", { d: "M12.9646 5.86191C11.1632 6.11111 8.73323 7.21872 7.57563 8.32252C7.24223 8.64452 6.83583 9.13892 6.87803 9.17732C6.88563 9.18492 7.10803 9.27692 7.36863 9.38432C8.15823 9.69472 9.78323 10.1931 10.0132 10.1931C10.0516 10.1931 10.1588 10.1317 10.2508 10.0513C12.0292 8.55272 15.2986 7.40292 17.7938 7.39512H18.1962L18.1004 7.31852C17.9202 7.17292 16.7818 6.63632 16.3182 6.47532C15.6782 6.25692 14.9614 6.07291 14.306 5.96171C13.6124 5.84271 13.2828 5.81972 12.9646 5.86191Z", fill: "rgb(var(--gray))" }), (0, jsx_runtime_1.jsx)("path", { d: "M17.283 8.01208C15.1864 8.18448 13.4118 8.70208 12.1086 9.52228C11.641 9.81748 11.4072 9.99749 10.9894 10.3961C10.7864 10.5879 10.5526 10.7679 10.449 10.8179C10.104 10.9751 9.98143 10.9483 8.18383 10.3887C7.29083 10.1127 6.54343 9.89808 6.52803 9.91348C6.46663 9.98248 6.25583 10.6495 6.19843 10.9751C6.10263 11.4811 6.11403 12.4507 6.21763 13.0295C6.33263 13.6543 6.39403 13.8229 6.58943 14.0759C6.84243 14.3941 7.17963 14.6241 7.98463 15.0227C8.77803 15.4175 9.23423 15.6781 9.47183 15.8813C9.76703 16.1381 9.77083 16.1457 9.93943 18.1081L10.0966 19.8713L10.2576 20.0131C10.7826 20.4769 11.5416 20.5841 12.3772 20.3121C13.1016 20.0783 13.5884 19.8023 13.7148 19.5533C13.7416 19.4957 13.96 18.8327 14.2016 18.0777C14.4392 17.3265 14.65 16.7093 14.6654 16.7093C14.7382 16.7093 14.7804 17.0619 14.7612 17.5333C14.742 18.0623 14.6156 18.6601 14.4124 19.2121L14.3128 19.4689H14.4776C15.0488 19.4651 15.8344 19.0741 16.1794 18.6181C16.3136 18.4379 16.3826 18.2579 16.7504 17.1003C16.9804 16.3797 17.1836 15.7933 17.2028 15.8009C17.2794 15.8277 17.3102 16.0923 17.291 16.6135C17.2718 17.1655 17.1606 17.7059 16.9576 18.2387C16.9116 18.3499 16.8886 18.4533 16.9002 18.4649C16.9116 18.4765 17.0382 18.4687 17.1762 18.4457C17.709 18.3537 18.211 18.0049 18.5636 17.4837C18.832 17.0851 18.9852 16.6903 19.2152 15.7895C19.3532 15.2605 19.3608 15.2375 19.4144 15.3295C19.5064 15.4905 19.4834 16.4563 19.38 16.8779C19.334 17.0657 19.2994 17.2229 19.3072 17.2305C19.334 17.2573 19.6368 17.1539 19.8438 17.0427C20.4418 16.7285 21.1624 15.6207 21.557 14.4095C21.7636 13.7767 21.8058 13.5085 21.8058 12.8761C21.802 12.2361 21.7482 11.9103 21.5146 11.2089C21.0968 9.94788 20.3762 8.90908 19.51 8.31888C19.0424 7.99688 18.935 7.97008 18.249 7.97388C17.9308 7.97768 17.4938 7.99308 17.283 8.01208Z", fill: "rgb(var(--gray))" }), (0, jsx_runtime_1.jsx)("path", { d: "M6.1567 14.8154C6.1261 15.0376 6.0685 15.2446 5.9727 15.4554C5.71969 16.0226 5.70829 16.0726 5.78109 16.2602C5.81549 16.3484 5.96509 16.5668 6.11449 16.747C6.53989 17.2568 6.98829 18.031 7.22609 18.6558C7.33349 18.9432 7.5097 19.1656 7.7013 19.2576C7.7779 19.2922 8.06149 19.361 8.32989 19.411C8.59829 19.461 8.96229 19.5452 9.13489 19.5988C9.3113 19.6564 9.4645 19.6946 9.4721 19.687C9.5065 19.6486 9.2077 16.525 9.15389 16.3754C9.03509 16.0534 8.6403 15.7928 7.80089 15.4862C7.10709 15.2294 6.8121 15.0608 6.3943 14.6698L6.2027 14.4858L6.1567 14.8154Z", fill: "rgb(var(--gray))", fillOpacity: "0.25" })] })));
|
|
19
|
+
};
|
|
20
|
+
exports.MmaSvg = MmaSvg;
|
|
@@ -0,0 +1,20 @@
|
|
|
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.RugbySvg = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var RugbySvg = function (props) {
|
|
17
|
+
var _a = props.width, width = _a === void 0 ? '20' : _a, _b = props.height, height = _b === void 0 ? '16' : _b, classes = props.classes;
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: width, height: height, viewBox: "0 0 20 16", fill: "none", className: classes }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M9.999 0C3.89025 0 1.13813 4.78756 0.268801 6.73987C-0.0896006 7.54476 -0.0896001 8.45524 0.268801 9.26013C1.13813 11.2124 3.89025 16 9.999 16C16.1079 16 18.8598 11.2122 19.729 9.25994C20.0873 8.45516 20.0873 7.54484 19.729 6.74006C18.8598 4.78782 16.1079 0 9.999 0Z", fill: "rgb(var(--gray))", fillOpacity: "0.25" }), (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7 6C7 5.44772 7.44772 5 8 5C8.55228 5 9 5.44772 9 6V7H11V6C11 5.44772 11.4477 5 12 5C12.5523 5 13 5.44772 13 6V7H14C14.5523 7 15 7.44772 15 8C15 8.55228 14.5523 9 14 9H13V10C13 10.5523 12.5523 11 12 11C11.4477 11 11 10.5523 11 10V9H9V10C9 10.5523 8.55228 11 8 11C7.44772 11 7 10.5523 7 10V9H6C5.44772 9 5 8.55228 5 8C5 7.44772 5.44772 7 6 7H7V6Z", fill: "rgb(var(--gray))" })] })));
|
|
19
|
+
};
|
|
20
|
+
exports.RugbySvg = RugbySvg;
|
|
@@ -0,0 +1,20 @@
|
|
|
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.SnookerSvg = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var SnookerSvg = function (props) {
|
|
17
|
+
var _a = props.width, width = _a === void 0 ? '22' : _a, _b = props.height, height = _b === void 0 ? '22' : _b, classes = props.classes;
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: width, height: height, viewBox: "0 0 22 22", fill: "none", className: classes }, { children: [(0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22 11C22 17.0751 17.0751 22 11 22C4.92487 22 0 17.0751 0 11C0 4.92487 4.92487 0 11 0C17.0751 0 22 4.92487 22 11ZM15.9394 9.99999C15.9394 12.7282 13.7278 14.9399 10.9995 14.9399C8.27125 14.9399 6.05957 12.7282 6.05957 9.99999C6.05957 7.27174 8.27125 5.06006 10.9995 5.06006C13.7278 5.06006 15.9394 7.27174 15.9394 9.99999Z", fill: "rgb(var(--gray))", fillOpacity: "0.25" }), (0, jsx_runtime_1.jsx)("path", { d: "M12.75 8.57448C12.75 8.85558 12.6777 9.10578 12.5333 9.32506C12.3888 9.5444 12.1918 9.7171 11.9423 9.84322C12.0841 9.90889 12.2128 9.98836 12.3284 10.0816C12.444 10.1749 12.5425 10.2806 12.6239 10.3988C12.7053 10.517 12.7678 10.6464 12.8111 10.7869C12.8544 10.9274 12.8761 11.0764 12.8761 11.2341C12.8761 11.502 12.8288 11.7378 12.7343 11.9413C12.6397 12.1449 12.5083 12.3163 12.3402 12.4555C12.1721 12.5948 11.9738 12.6998 11.7453 12.7707C11.5168 12.8416 11.2686 12.8771 11.0006 12.8771C10.7327 12.8771 10.4844 12.8416 10.2559 12.7707C10.0274 12.6998 9.82839 12.5948 9.65899 12.4555C9.48954 12.3163 9.35688 12.1449 9.26101 11.9413C9.16509 11.7377 9.11719 11.502 9.11719 11.2341C9.11719 11.0764 9.13886 10.9274 9.1822 10.7869C9.22554 10.6464 9.28719 10.517 9.36738 10.3988C9.44746 10.2806 9.54531 10.1742 9.66092 10.0796C9.77647 9.98506 9.90517 9.90625 10.0471 9.84322C9.80012 9.71716 9.60509 9.54446 9.46198 9.32506C9.31876 9.10578 9.24726 8.85558 9.24726 8.57448C9.24726 8.31972 9.2906 8.09317 9.37728 7.89479C9.46396 7.69651 9.58474 7.5297 9.73979 7.3944C9.89472 7.25915 10.0792 7.15669 10.2934 7.08706C10.5074 7.01748 10.7419 6.98267 10.9967 6.98267C11.2515 6.98267 11.4866 7.01754 11.702 7.08706C11.9173 7.15669 12.1025 7.25915 12.2575 7.3944C12.4125 7.5297 12.5333 7.69651 12.62 7.89479C12.7067 8.09317 12.75 8.31972 12.75 8.57448ZM11.9187 11.1868C11.9187 11.045 11.8963 10.9156 11.8517 10.7987C11.807 10.6818 11.7446 10.582 11.6645 10.4993C11.5843 10.4165 11.4872 10.3522 11.373 10.3062C11.2587 10.2603 11.1319 10.2372 10.9927 10.2372C10.8509 10.2372 10.7235 10.2603 10.6105 10.3062C10.4976 10.3522 10.4017 10.4165 10.3229 10.4993C10.2441 10.582 10.183 10.6819 10.1397 10.7987C10.0964 10.9156 10.0747 11.0449 10.0747 11.1868C10.0747 11.3313 10.0964 11.4607 10.1397 11.5749C10.183 11.6892 10.2447 11.7864 10.3249 11.8664C10.405 11.9466 10.5022 12.0077 10.6164 12.0497C10.7307 12.0917 10.8588 12.1127 11.0006 12.1127C11.2895 12.1127 11.5148 12.0313 11.6763 11.8684C11.8379 11.7056 11.9187 11.4784 11.9187 11.1868ZM11.7965 8.60995C11.7965 8.48389 11.7774 8.36834 11.7394 8.26323C11.7013 8.15818 11.6481 8.0676 11.5798 7.99137C11.5115 7.91519 11.4274 7.85612 11.3276 7.81405C11.2278 7.77208 11.1175 7.75102 10.9966 7.75102C10.7523 7.75102 10.5593 7.82785 10.4174 7.98152C10.2756 8.13519 10.2046 8.34469 10.2046 8.60995C10.2046 8.73871 10.223 8.85619 10.2598 8.96261C10.2966 9.06898 10.3491 9.15962 10.4174 9.23448C10.4857 9.30933 10.5691 9.36714 10.6676 9.40784C10.7661 9.44859 10.8771 9.46889 11.0006 9.46889C11.124 9.46889 11.235 9.44859 11.3335 9.40784C11.432 9.36714 11.5154 9.30933 11.5837 9.23448C11.6519 9.15962 11.7044 9.06898 11.7413 8.96261C11.7781 8.85619 11.7965 8.73865 11.7965 8.60995Z", fill: "rgb(var(--gray))" })] })));
|
|
19
|
+
};
|
|
20
|
+
exports.SnookerSvg = SnookerSvg;
|
|
@@ -0,0 +1,20 @@
|
|
|
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.SoccerSvg = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var SoccerSvg = function (props) {
|
|
17
|
+
var _a = props.width, width = _a === void 0 ? '24' : _a, _b = props.height, height = _b === void 0 ? '24' : _b, classes = props.classes;
|
|
18
|
+
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: width, height: height, viewBox: "0 0 24 24", fill: "none", className: classes }, { children: (0, jsx_runtime_1.jsx)("path", { d: "M21.9779 12.6571C21.9835 12.6177 21.986 12.578 21.9854 12.5382C21.9949 12.36 21.9998 12.1806 22 12C22.0021 9.7219 21.2226 7.51203 19.7916 5.73948C19.7546 5.67915 19.7094 5.62422 19.6574 5.57624C18.5956 4.31121 17.2383 3.32748 15.7056 2.71214C15.6701 2.69495 15.6333 2.68054 15.5956 2.66904C13.2815 1.77697 10.7184 1.77699 8.40428 2.66909C8.36661 2.6806 8.32989 2.69499 8.29443 2.71214C6.76177 3.32747 5.40446 4.31118 4.34265 5.57619C4.2906 5.62418 4.24543 5.67913 4.20841 5.73948C2.77742 7.51205 1.99788 9.72191 2 12C2 12.1808 2.00488 12.3604 2.01463 12.5388C2.0141 12.5782 2.0166 12.6176 2.02212 12.6566C2.12907 14.3099 2.64782 15.9101 3.53117 17.3117C3.55843 17.3683 3.59254 17.4213 3.63272 17.4696C4.98378 19.5323 7.04689 21.0255 9.42848 21.6642C9.43881 21.6676 9.44949 21.6698 9.45997 21.6728C11.1251 22.1091 12.8746 22.1091 14.5397 21.6728C14.5503 21.6698 14.5611 21.6676 14.5716 21.6642C16.9531 21.0254 19.0162 19.5323 20.3673 17.4696C20.4075 17.4213 20.4416 17.3683 20.4688 17.3117C21.3521 15.9102 21.8709 14.3102 21.9779 12.6571ZM6.28263 10.9511L7.54875 11.3625L8.77355 15.1321L7.99107 16.2091L4.66053 16.2074C4.07766 15.1952 3.71226 14.0726 3.58767 12.9113L6.28263 10.9511ZM17.7174 10.9511L20.4123 12.9113C20.2877 14.0726 19.9223 15.1952 19.3395 16.2074L16.0089 16.2091L15.2265 15.1321L16.4513 11.3625L17.7174 10.9511ZM18.2686 6.32246L17.242 9.48798L15.9758 9.89936L12.7692 7.5696V6.23833L15.4659 4.28131C16.5304 4.762 17.4845 5.45682 18.2686 6.32246ZM8.53417 4.28131L11.2308 6.23833V7.5696L8.02416 9.89936L6.75806 9.48798L5.73139 6.32246C6.51556 5.45682 7.46965 4.762 8.53417 4.28131ZM10.2674 20.2829L9.23571 17.1134L10.0182 16.0364H13.9818L14.7643 17.1134L13.7326 20.2829C12.5898 20.5211 11.4102 20.5211 10.2674 20.2829Z", fill: "rgb(var(--gray))" }) })));
|
|
19
|
+
};
|
|
20
|
+
exports.SoccerSvg = SoccerSvg;
|
|
@@ -0,0 +1,20 @@
|
|
|
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.SquashSvg = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var SquashSvg = function (props) {
|
|
17
|
+
var _a = props.width, width = _a === void 0 ? '21' : _a, _b = props.height, height = _b === void 0 ? '21' : _b, classes = props.classes;
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: width, height: height, viewBox: "0 0 21 21", fill: "none", className: classes }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M18.8103 2.69932C16.3731 0.262112 12.1861 0.449592 9.56141 3.13677C8.24907 4.44911 7.49917 6.1364 7.43667 7.88619L7.18671 13.448L4.99947 15.6353C4.31205 15.3228 3.43715 15.4478 2.87471 16.0102L1.12493 17.76C0.375023 18.5099 0.375023 19.6973 1.12493 20.3847C1.49989 20.7596 1.99983 20.9471 2.43728 20.9471C2.93722 20.9471 3.37467 20.7596 3.74962 20.3847L5.4994 18.6349C6.06184 18.0725 6.18682 17.1976 5.87436 16.5102L8.0616 14.3229L13.6234 14.0729C15.3732 14.0105 17.0605 13.2605 18.3729 11.9482C20.9975 9.32352 21.2475 5.13652 18.8103 2.69932ZM8.62403 8.01117C8.62403 7.88619 8.68652 7.76121 8.68652 7.63622L9.56141 8.51112L8.8115 9.26102C8.62402 8.82358 8.62403 8.44862 8.62403 8.01117ZM8.99898 6.1989C9.24895 5.57397 9.56142 5.01154 9.99887 4.5116L11.7486 6.26139L10.4363 7.57373L8.99898 6.1989ZM12.6235 5.38649L10.8738 3.6367C11.3737 3.19926 11.9361 2.8868 12.561 2.63683L13.9359 4.01166L12.6235 5.38649ZM14.8108 4.94905L16.5606 6.69883L15.2482 8.01117L13.4984 6.26139L14.8108 4.94905ZM12.6235 7.13628L14.3733 8.88607L13.061 10.1984L11.3112 8.44862L12.6235 7.13628ZM15.2482 9.76096L16.998 11.5108C16.4981 11.9482 15.9356 12.2607 15.3107 12.5106L13.9359 11.1358L15.2482 9.76096ZM16.1231 8.88607L17.4355 7.57373L18.8103 8.94856C18.5603 9.51099 18.2479 10.0734 17.8104 10.6359L16.1231 8.88607ZM18.3729 6.69883L19.1227 5.94893C19.2477 6.44887 19.2477 7.0113 19.1852 7.57373L18.3729 6.69883ZM18.6228 4.63659L17.4355 5.82394L15.6857 4.07415L16.873 2.8868C17.248 3.07427 17.5604 3.32424 17.8729 3.6367C18.1854 3.88667 18.4353 4.26163 18.6228 4.63659ZM14.5608 2.26187C14.9358 2.26187 15.2482 2.32436 15.6232 2.38685L14.8108 3.19926L13.9984 2.38685C14.1859 2.32436 14.3733 2.26187 14.5608 2.26187ZM8.37406 13.1356L8.43656 11.6982C8.62403 11.9482 8.81151 12.1982 9.06148 12.4481C9.31145 12.6981 9.56141 12.8856 9.81138 13.0731L8.37406 13.1356ZM9.18645 10.5109L10.3738 9.32352L12.1236 11.0733L10.9363 12.2607C10.5613 12.0732 10.1863 11.8232 9.93637 11.5108C9.62391 11.2608 9.43642 10.8858 9.18645 10.5109ZM13.4984 12.8856C13.061 12.8856 12.6235 12.8231 12.2486 12.7606L12.9985 12.0107L13.8734 12.8856C13.7484 12.8856 13.6234 12.8856 13.4984 12.8856Z", fill: "rgb(var(--gray))" }), (0, jsx_runtime_1.jsx)("path", { d: "M2.9997 6.01136C4.38024 6.01136 5.4994 4.89221 5.4994 3.51166C5.4994 2.13112 4.38024 1.01196 2.9997 1.01196C1.61915 1.01196 0.5 2.13112 0.5 3.51166C0.5 4.89221 1.61915 6.01136 2.9997 6.01136Z", fill: "rgb(var(--gray))", fillOpacity: "0.25" })] })));
|
|
19
|
+
};
|
|
20
|
+
exports.SquashSvg = SquashSvg;
|
|
@@ -0,0 +1,20 @@
|
|
|
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.TableTennisSvg = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var TableTennisSvg = function (props) {
|
|
17
|
+
var _a = props.width, width = _a === void 0 ? '24' : _a, _b = props.height, height = _b === void 0 ? '24' : _b, classes = props.classes;
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: width, height: height, viewBox: "0 0 24 24", fill: "none", className: classes }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M4 9C4 5.13401 7.13401 2 11 2C14.866 2 18 5.13401 18 9C18 12.171 15.8915 14.8496 13 15.7101V20C13 21.1046 12.1046 22 11 22C9.89543 22 9 21.1046 9 20V15.7101C6.10851 14.8496 4 12.171 4 9Z", fill: "rgb(var(--gray))", fillOpacity: "0.25" }), (0, jsx_runtime_1.jsx)("path", { d: "M17.3266 12H4.67383C5.79729 14.3649 8.2078 16 11.0002 16C13.7926 16 16.2031 14.3649 17.3266 12Z", fill: "rgb(var(--gray))" }), (0, jsx_runtime_1.jsx)("path", { d: "M20 4C20 5.10457 19.1046 6 18 6C16.8954 6 16 5.10457 16 4C16 2.89543 16.8954 2 18 2C19.1046 2 20 2.89543 20 4Z", fill: "rgb(var(--gray))" })] })));
|
|
19
|
+
};
|
|
20
|
+
exports.TableTennisSvg = TableTennisSvg;
|
|
@@ -0,0 +1,20 @@
|
|
|
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.TennisSvg = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var TennisSvg = function (props) {
|
|
17
|
+
var _a = props.width, width = _a === void 0 ? '24' : _a, _b = props.height, height = _b === void 0 ? '24' : _b, classes = props.classes;
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: width, height: height, viewBox: "0 0 24 24", fill: "none", className: classes }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M19.8122 3.69932C17.375 1.26211 13.188 1.44959 10.5634 4.13677C9.25102 5.44911 8.50112 7.1364 8.43863 8.88619L8.18866 14.448L6.00142 16.6353C5.31401 16.3228 4.4391 16.4478 3.87667 17.0102L2.12689 18.76C1.37698 19.5099 1.37698 20.6973 2.12689 21.3847C2.50184 21.7596 3.00178 21.9471 3.43923 21.9471C3.93917 21.9471 4.37662 21.7596 4.75158 21.3847L6.50136 19.6349C7.06379 19.0725 7.18878 18.1976 6.87631 17.5102L9.06355 15.3229L14.6254 15.0729C16.3752 15.0105 18.0625 14.2605 19.3748 12.9482C21.9995 10.3235 22.2494 6.13652 19.8122 3.69932ZM9.62598 9.01117C9.62598 8.88619 9.68847 8.76121 9.68847 8.63622L10.5634 9.51112L9.81345 10.261C9.62597 9.82358 9.62598 9.44862 9.62598 9.01117ZM10.0009 7.1989C10.2509 6.57397 10.5634 6.01154 11.0008 5.5116L12.7506 7.26139L11.4383 8.57373L10.0009 7.1989ZM13.6255 6.38649L11.8757 4.6367C12.3757 4.19926 12.9381 3.8868 13.563 3.63683L14.9378 5.01166L13.6255 6.38649ZM15.8127 5.94905L17.5625 7.69883L16.2502 9.01117L14.5004 7.26139L15.8127 5.94905ZM13.6255 8.13628L15.3753 9.88607L14.0629 11.1984L12.3131 9.44862L13.6255 8.13628ZM16.2502 10.761L18 12.5108C17.5 12.9482 16.9376 13.2607 16.3127 13.5106L14.9378 12.1358L16.2502 10.761ZM17.1251 9.88607L18.4374 8.57373L19.8122 9.94856C19.5623 10.511 19.2498 11.0734 18.8124 11.6359L17.1251 9.88607ZM19.3748 7.69883L20.1247 6.94893C20.2497 7.44887 20.2497 8.0113 20.1872 8.57373L19.3748 7.69883ZM19.6248 5.63659L18.4374 6.82394L16.6876 5.07415L17.875 3.8868C18.2499 4.07427 18.5624 4.32424 18.8749 4.6367C19.1873 4.88667 19.4373 5.26163 19.6248 5.63659ZM15.5628 3.26187C15.9377 3.26187 16.2502 3.32436 16.6251 3.38685L15.8127 4.19926L15.0003 3.38685C15.1878 3.32436 15.3753 3.26187 15.5628 3.26187ZM9.37601 14.1356L9.43851 12.6982C9.62599 12.9482 9.81346 13.1982 10.0634 13.4481C10.3134 13.6981 10.5634 13.8856 10.8133 14.0731L9.37601 14.1356ZM10.1884 11.5109L11.3758 10.3235L13.1256 12.0733L11.9382 13.2607C11.5633 13.0732 11.1883 12.8232 10.9383 12.5108C10.6259 12.2608 10.4384 11.8858 10.1884 11.5109ZM14.5004 13.8856C14.0629 13.8856 13.6255 13.8231 13.2505 13.7606L14.0005 13.0107L14.8753 13.8856C14.7504 13.8856 14.6254 13.8856 14.5004 13.8856Z", fill: "rgb(var(--gray))" }), (0, jsx_runtime_1.jsx)("path", { d: "M4.00165 7.01111C5.3822 7.01111 6.50135 5.89196 6.50135 4.51142C6.50135 3.13087 5.3822 2.01172 4.00165 2.01172C2.62111 2.01172 1.50195 3.13087 1.50195 4.51142C1.50195 5.89196 2.62111 7.01111 4.00165 7.01111Z", fill: "rgb(var(--gray))", fillOpacity: "0.25" })] })));
|
|
19
|
+
};
|
|
20
|
+
exports.TennisSvg = TennisSvg;
|
|
@@ -0,0 +1,20 @@
|
|
|
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.VolleyballSvg = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var VolleyballSvg = function (props) {
|
|
17
|
+
var _a = props.width, width = _a === void 0 ? '24' : _a, _b = props.height, height = _b === void 0 ? '24' : _b, classes = props.classes;
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: width, height: height, viewBox: "0 0 24 24", fill: "none", className: classes }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M12.9806 12.2927C12.6687 16.9714 10.111 19.7162 8.36426 21.0262C9.17523 21.4005 10.0486 21.6501 10.9843 21.7748L11.3586 21.4629C13.6668 19.5914 16.4116 16.2852 17.0354 11.1074C15.8502 11.2322 14.4777 11.6065 12.9806 12.2927Z", fill: "rgb(var(--gray))" }), (0, jsx_runtime_1.jsx)("path", { d: "M9.2998 7.86412C10.0484 8.98701 11.0465 10.1099 12.4813 11.108C16.6609 9.04939 20.3415 9.86036 22.4001 10.7337C22.3377 10.1723 22.213 9.67322 22.0882 9.11177L21.5892 8.79986C19.7801 7.73936 15.039 5.49359 9.2998 7.86412Z", fill: "rgb(var(--gray))" }), (0, jsx_runtime_1.jsx)("path", { d: "M8.67585 6.80345C14.2279 4.43292 18.9066 5.99248 21.3395 7.30251C19.6552 4.121 16.3489 2 12.4812 2C10.7345 2 9.05015 2.43668 7.67773 3.24765V3.31003C7.8025 4.30815 8.05202 5.5558 8.67585 6.80345Z", fill: "rgb(var(--gray))" }), (0, jsx_runtime_1.jsx)("path", { d: "M10.4222 16.7844C11.1084 15.5367 11.6075 14.0395 11.7322 12.1681C8.11404 9.73516 6.86639 6.49127 6.49209 3.93359C5.68112 4.55742 4.99492 5.24362 4.37109 6.11698L4.43348 6.49127C4.87016 9.36087 6.30495 13.4781 10.4222 16.7844Z", fill: "rgb(var(--gray))" }), (0, jsx_runtime_1.jsx)("path", { d: "M9.79874 17.8452C5.80627 14.6637 4.12194 10.796 3.43574 7.73926C2.87429 8.98691 2.5 10.4217 2.5 11.9189C2.5 15.4747 4.37147 18.5938 7.17868 20.4029L7.30345 20.3405C8.05204 19.7791 8.92539 18.9681 9.79874 17.8452Z", fill: "rgb(var(--gray))" }), (0, jsx_runtime_1.jsx)("path", { d: "M22.2751 12.0432C21.2146 11.6065 19.9046 11.1698 18.345 11.1074C17.7212 16.3475 15.1635 19.7786 12.793 21.8996C18.0955 21.7124 22.2751 17.408 22.3999 12.1055L22.2751 12.0432Z", fill: "rgb(var(--gray))" })] })));
|
|
19
|
+
};
|
|
20
|
+
exports.VolleyballSvg = VolleyballSvg;
|
|
@@ -0,0 +1,123 @@
|
|
|
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 constant_1 = require("../BaseInput/constant");
|
|
44
|
+
var styles = __importStar(require("./AmountInput.module.css"));
|
|
45
|
+
var BaseInputUi_1 = require("../BaseInput/BaseInputUi");
|
|
46
|
+
var validation_1 = require("service/validation");
|
|
47
|
+
var AmountInput = function (props) {
|
|
48
|
+
var _a;
|
|
49
|
+
var _b = props.isWithdraw, isWithdraw = _b === void 0 ? false : _b, min = props.min, max = props.max, onChange = props.onChange, wrapperClasses = props.wrapperClasses, _c = props.isPresets, isPresets = _c === void 0 ? true : _c, defaultValue = props.defaultValue, disabled = props.disabled, placeholder = props.placeholder, jumpTo = props.jumpTo, minDep = props.minDep, commission = props.commission, withdrawAmount = props.withdrawAmount, commissionsBodyText = props.commissionsBodyText, amountReceivable = props.amountReceivable, WarningSvg = props.WarningSvg, currencyName = props.currencyName;
|
|
50
|
+
var validMin = isWithdraw ? min : min * minDep;
|
|
51
|
+
var _d = (0, react_1.useState)(0), acceptedMinValue = _d[0], setValidMin = _d[1];
|
|
52
|
+
var _e = (0, react_1.useState)(__assign(__assign({}, constant_1.DEFAULT_INPUT_VALUE), { value: defaultValue || '' })), amount = _e[0], setAmount = _e[1];
|
|
53
|
+
var _f = (0, react_1.useState)(false), withdrawWithCommission = _f[0], applyWithdrawCommissions = _f[1];
|
|
54
|
+
var isCommissionInfoBox = isWithdraw && commission && amount.value && !withdrawWithCommission;
|
|
55
|
+
var setApplyWithdrawCommissions = function () {
|
|
56
|
+
applyWithdrawCommissions(true);
|
|
57
|
+
var errorText = (0, validation_1.composeValidations)([
|
|
58
|
+
(0, validation_1.isRequired)({ value: amount.value, errorText: 'errors.required' }),
|
|
59
|
+
(0, validation_1.isMinMax)({
|
|
60
|
+
value: amount.value,
|
|
61
|
+
errorTexts: ['errors.min', 'errors.max'],
|
|
62
|
+
min: validMin / 0.8,
|
|
63
|
+
max: max,
|
|
64
|
+
}),
|
|
65
|
+
]);
|
|
66
|
+
setAmount({ value: amount.value, errorText: errorText });
|
|
67
|
+
};
|
|
68
|
+
var handlePreset = function (value) {
|
|
69
|
+
if (disabled) {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
setAmount({ value: value, errorText: '' });
|
|
73
|
+
};
|
|
74
|
+
var handleAmountChange = function (_a) {
|
|
75
|
+
var target = _a.target;
|
|
76
|
+
var value = target.value;
|
|
77
|
+
var newV = (0, validation_1.extractNumbersFromString)(value);
|
|
78
|
+
var minSum = commission ? validMin / 0.8 : validMin;
|
|
79
|
+
var maxWithdraw = max;
|
|
80
|
+
if (isWithdraw && withdrawAmount < max) {
|
|
81
|
+
maxWithdraw = withdrawAmount;
|
|
82
|
+
}
|
|
83
|
+
var errorText = (0, validation_1.composeValidations)([
|
|
84
|
+
(0, validation_1.isRequired)({ value: newV, errorText: 'errors.required' }),
|
|
85
|
+
(0, validation_1.isMinMax)({
|
|
86
|
+
value: newV,
|
|
87
|
+
errorTexts: ['errors.min', 'errors.max'],
|
|
88
|
+
min: isWithdraw ? minSum : min,
|
|
89
|
+
max: maxWithdraw,
|
|
90
|
+
}),
|
|
91
|
+
]);
|
|
92
|
+
setAmount({ value: newV, errorText: errorText });
|
|
93
|
+
};
|
|
94
|
+
(0, react_1.useEffect)(function () {
|
|
95
|
+
var isCommissionInfoBox = isWithdraw && commission && amount.value && !withdrawWithCommission;
|
|
96
|
+
if (amount.value && !amount.errorText && !isCommissionInfoBox) {
|
|
97
|
+
onChange(amount.value);
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
onChange('');
|
|
101
|
+
}, [amount, onChange, isWithdraw, commission, withdrawWithCommission]);
|
|
102
|
+
(0, react_1.useEffect)(function () {
|
|
103
|
+
if (isWithdraw) {
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
if (acceptedMinValue === validMin) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
var newV = validMin * 1.5;
|
|
110
|
+
setValidMin(validMin);
|
|
111
|
+
if (+amount.value >= validMin) {
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
setAmount({ value: "".concat(newV), errorText: '' });
|
|
115
|
+
}, [validMin, amount, withdrawAmount, acceptedMinValue]);
|
|
116
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperAmountInput, wrapperClasses) }, { children: [(0, jsx_runtime_1.jsx)(BaseInputUi_1.BaseInputUi, __assign({}, props, { placeholder: placeholder, handleChange: handleAmountChange, value: amount.value, errorText: amount.errorText, classes: (0, classnames_1.default)(props.classes, (_a = {},
|
|
117
|
+
_a[wrapperClasses || ''] = isCommissionInfoBox,
|
|
118
|
+
_a)) }, { children: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: styles.currencyNameColor }, { children: currencyName })), isWithdraw && !!commission && !!amount.value && ((0, jsx_runtime_1.jsx)(WarningSvg, { className: styles.infoCommissionWrapper }))] }) })), isWithdraw &&
|
|
119
|
+
!!commission &&
|
|
120
|
+
!!amount.value &&
|
|
121
|
+
!withdrawWithCommission && ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.commissionInfoWrapper }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.commissionInfoBox }, { children: [(0, jsx_runtime_1.jsx)(WarningSvg, { className: styles.infoIcon }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.textBlock }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: styles.rules }, { children: commissionsBodyText })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.additionalInfo }, { children: amountReceivable }))] }))] })), (0, jsx_runtime_1.jsx)("div", { className: styles.wrapperButtons })] })))] })));
|
|
122
|
+
};
|
|
123
|
+
exports.default = AmountInput;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseInputProps } from '../BaseInput/types';
|
|
3
|
+
export type AmountInputProps = BaseInputProps & {
|
|
4
|
+
min: number;
|
|
5
|
+
max: number;
|
|
6
|
+
wrapperClasses?: string;
|
|
7
|
+
isPresets?: boolean;
|
|
8
|
+
isWithdraw?: boolean;
|
|
9
|
+
jumpTo: () => void;
|
|
10
|
+
minDep: number;
|
|
11
|
+
commission: number;
|
|
12
|
+
withdrawAmount: number;
|
|
13
|
+
inputPlaceholder: string;
|
|
14
|
+
currencyName: string;
|
|
15
|
+
commissionsBodyText: string;
|
|
16
|
+
amountReceivable: string;
|
|
17
|
+
WarningSvg?: React.FC<{
|
|
18
|
+
className: string;
|
|
19
|
+
}>;
|
|
20
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
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.BaseInputUi = void 0;
|
|
41
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
43
|
+
var inputError_svg_1 = require("assets/inputError.svg");
|
|
44
|
+
var styles = __importStar(require("./BaseInputUi.module.css"));
|
|
45
|
+
var react_1 = require("react");
|
|
46
|
+
var Text_1 = require("components/Text");
|
|
47
|
+
var BaseInputUi = function (props) {
|
|
48
|
+
var _a, _b, _c;
|
|
49
|
+
var startIcon = props.startIcon, value = props.value, type = props.type, placeholder = props.placeholder, handleChange = props.handleChange, children = props.children, isHidePlaceholder = props.isHidePlaceholder, inputLabelType = props.inputLabelType, errorText = props.errorText, inputStyleType = props.inputStyleType, size = props.size, classes = props.classes, inputMode = props.inputMode, disabled = props.disabled, _d = props.bottomText, bottomText = _d === void 0 ? '' : _d, _e = props.withErrorSvg, withErrorSvg = _e === void 0 ? false : _e, onFocus = props.onFocus;
|
|
50
|
+
var isBorderColorful = inputStyleType === 'border-colorful';
|
|
51
|
+
var sizeModifier = "inputWrapperSize-".concat(size);
|
|
52
|
+
var _f = (0, react_1.useState)(false), isFocused = _f[0], setFocusState = _f[1];
|
|
53
|
+
var handleFocus = function () {
|
|
54
|
+
setFocusState(true);
|
|
55
|
+
onFocus === null || onFocus === void 0 ? void 0 : onFocus();
|
|
56
|
+
};
|
|
57
|
+
var handleBlur = function () {
|
|
58
|
+
setFocusState(false);
|
|
59
|
+
};
|
|
60
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.inputWrapper, styles[sizeModifier], classes, (_a = {},
|
|
61
|
+
_a[styles.fistIcon] = startIcon,
|
|
62
|
+
_a[styles.borderColorfulGreen] = isBorderColorful && isFocused,
|
|
63
|
+
_a[styles.borderColorfulRed] = errorText,
|
|
64
|
+
_a)) }, { children: [startIcon, (0, jsx_runtime_1.jsx)("input", { onFocus: handleFocus, onBlur: handleBlur, inputMode: inputMode, className: (0, classnames_1.default)(styles.input, (_b = {},
|
|
65
|
+
_b[styles.disabled] = disabled,
|
|
66
|
+
_b)), value: value, type: type, placeholder: placeholder, onChange: handleChange }), children && (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.rowChildrenData }, { children: children })), errorText && withErrorSvg && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.rowChildrenData }, { children: (0, jsx_runtime_1.jsx)(inputError_svg_1.ReactComponent, {}) }))), (0, jsx_runtime_1.jsx)("label", __assign({ className: (0, classnames_1.default)(styles.label, (_c = {},
|
|
67
|
+
_c[styles.labelRight] = startIcon,
|
|
68
|
+
_c[styles.hideLabel] = isHidePlaceholder,
|
|
69
|
+
_c[styles.labelUp] = inputLabelType === 'labelUp',
|
|
70
|
+
_c)) }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: placeholder }) })), errorText && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.errorText, styles.animationFadeIn) }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: errorText }) }))), !errorText && bottomText && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.errorText, styles.animationFadeIn, styles.resetErrorColor) }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: bottomText }) })))] })));
|
|
71
|
+
};
|
|
72
|
+
exports.BaseInputUi = BaseInputUi;
|
|
@@ -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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.BaseInput = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var react_1 = require("react");
|
|
17
|
+
var BaseInputUi_1 = require("./BaseInputUi");
|
|
18
|
+
var BaseInput = function (props) {
|
|
19
|
+
var children = props.children, _a = props.defaultValue, defaultValue = _a === void 0 ? '' : _a, onChange = props.onChange, patternFn = props.patternFn, _b = props.hardSetValue, hardSetValue = _b === void 0 ? false : _b, _c = props.baseValue, baseValue = _c === void 0 ? '' : _c;
|
|
20
|
+
var _d = (0, react_1.useState)(defaultValue || baseValue), value = _d[0], setValue = _d[1];
|
|
21
|
+
var timer = (0, react_1.useRef)(null);
|
|
22
|
+
var handleChange = function (_a) {
|
|
23
|
+
var target = _a.target;
|
|
24
|
+
if (timer.current) {
|
|
25
|
+
clearTimeout(timer.current);
|
|
26
|
+
}
|
|
27
|
+
var value = target.value;
|
|
28
|
+
var newValue = patternFn ? patternFn(value) : value;
|
|
29
|
+
if (baseValue && !newValue.includes(baseValue)) {
|
|
30
|
+
setValue(baseValue);
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
setValue(newValue);
|
|
34
|
+
timer.current = setTimeout(function () {
|
|
35
|
+
onChange(newValue);
|
|
36
|
+
}, 300);
|
|
37
|
+
};
|
|
38
|
+
(0, react_1.useEffect)(function () { return function () {
|
|
39
|
+
if (timer.current) {
|
|
40
|
+
clearTimeout(timer.current);
|
|
41
|
+
}
|
|
42
|
+
}; }, []);
|
|
43
|
+
(0, react_1.useEffect)(function () {
|
|
44
|
+
if (hardSetValue) {
|
|
45
|
+
var newValue = patternFn ? patternFn(hardSetValue) : hardSetValue;
|
|
46
|
+
setValue(newValue);
|
|
47
|
+
onChange(newValue);
|
|
48
|
+
}
|
|
49
|
+
}, [hardSetValue, onChange]);
|
|
50
|
+
return ((0, jsx_runtime_1.jsx)(BaseInputUi_1.BaseInputUi, __assign({}, props, { handleChange: handleChange, value: value }, { children: children })));
|
|
51
|
+
};
|
|
52
|
+
exports.BaseInput = BaseInput;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Size } from 'types/ui';
|
|
3
|
+
export type BaseInputProps = InputBase;
|
|
4
|
+
type InputBase = {
|
|
5
|
+
inputMode?: 'tel' | 'numeric' | 'email' | 'search' | 'none';
|
|
6
|
+
inputLabelType?: 'labelUp' | 'base';
|
|
7
|
+
inputStyleType?: 'base' | 'border-colorful';
|
|
8
|
+
defaultValue?: string;
|
|
9
|
+
placeholder: string;
|
|
10
|
+
size: Size;
|
|
11
|
+
isHidePlaceholder?: boolean;
|
|
12
|
+
children?: React.ReactElement;
|
|
13
|
+
startIcon?: React.ReactElement;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
classes?: string;
|
|
16
|
+
onChange: (text: string) => void;
|
|
17
|
+
onFocus?: () => void;
|
|
18
|
+
errorText?: string;
|
|
19
|
+
patternFn?: (v: string) => string;
|
|
20
|
+
hardSetValue?: string;
|
|
21
|
+
type?: string;
|
|
22
|
+
baseValue?: string;
|
|
23
|
+
bottomText?: string;
|
|
24
|
+
withErrorSvg?: boolean;
|
|
25
|
+
};
|
|
26
|
+
export type DefaultInputType = {
|
|
27
|
+
value: string;
|
|
28
|
+
errorText: string;
|
|
29
|
+
};
|
|
30
|
+
export type BaseInputUiProps = Omit<BaseInputProps & {
|
|
31
|
+
handleChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
32
|
+
handleFocus?: () => void;
|
|
33
|
+
handleBlur?: () => void;
|
|
34
|
+
value: string;
|
|
35
|
+
isFocused?: boolean;
|
|
36
|
+
}, 'onChange'>;
|
|
37
|
+
export {};
|