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,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CountrySelector = void 0;
|
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
var react_1 = require("react");
|
|
6
|
+
var Selector_1 = require("components/ui/Selector");
|
|
7
|
+
var constants_1 = require("./constants");
|
|
8
|
+
var CountrySelector = function (props) {
|
|
9
|
+
var classes = props.classes, activeCountryId = props.activeCountryId, countryInfo = props.countryInfo, setActiveCountryId = props.setActiveCountryId, _a = props.translateKey, translateKey = _a === void 0 ? 'registrations.selectors.country' : _a;
|
|
10
|
+
(0, react_1.useEffect)(function () {
|
|
11
|
+
if (activeCountryId || !countryInfo) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
var isExist = constants_1.COUNTRY_MOCK.find(function (c) { return c.id === countryInfo.countryId; });
|
|
15
|
+
if (isExist) {
|
|
16
|
+
setActiveCountryId(countryInfo.countryId);
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
setActiveCountryId(constants_1.COUNTRY_MOCK[0].id);
|
|
20
|
+
}, [activeCountryId, countryInfo]);
|
|
21
|
+
return ((0, jsx_runtime_1.jsx)(Selector_1.Selector, { size: "full", classes: classes, activeId: activeCountryId, handleClick: setActiveCountryId, placeholder: translateKey, data: constants_1.COUNTRY_MOCK }));
|
|
22
|
+
};
|
|
23
|
+
exports.CountrySelector = CountrySelector;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CurrencySelector = void 0;
|
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
var react_1 = require("react");
|
|
6
|
+
var Selector_1 = require("components/ui/Selector");
|
|
7
|
+
var CurrencySelector = function (props) {
|
|
8
|
+
var classes = props.classes, activeCurrencyId = props.activeCurrencyId, availableCurrencies = props.availableCurrencies, setActiveCurrencyId = props.setActiveCurrencyId, countryInfo = props.countryInfo, _a = props.translateKey, translateKey = _a === void 0 ? 'registrations.selectors.currency' : _a;
|
|
9
|
+
(0, react_1.useEffect)(function () {
|
|
10
|
+
if (activeCurrencyId || !countryInfo) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
var isExist = availableCurrencies.find(function (c) {
|
|
14
|
+
return countryInfo.currencyIds.includes(c.id);
|
|
15
|
+
});
|
|
16
|
+
if (isExist) {
|
|
17
|
+
setActiveCurrencyId(countryInfo.currencyIds[0]);
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
if (!availableCurrencies[0]) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
setActiveCurrencyId(availableCurrencies[0].id);
|
|
24
|
+
}, [availableCurrencies, activeCurrencyId, countryInfo]);
|
|
25
|
+
return ((0, jsx_runtime_1.jsx)(Selector_1.Selector, { classes: classes, size: "full", placeholder: translateKey, handleClick: setActiveCurrencyId, activeId: activeCurrencyId, data: availableCurrencies }));
|
|
26
|
+
};
|
|
27
|
+
exports.CurrencySelector = CurrencySelector;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type CurrencySelectorProps = {
|
|
2
|
+
classes?: string;
|
|
3
|
+
activeCurrencyId: number | null;
|
|
4
|
+
availableCurrencies: any[];
|
|
5
|
+
translateKey?: string;
|
|
6
|
+
setActiveCurrencyId: (c: number | null) => void;
|
|
7
|
+
countryInfo: {
|
|
8
|
+
countryId: number;
|
|
9
|
+
currencyIds: number[];
|
|
10
|
+
} | null;
|
|
11
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type DocsCheckBoxProps = {
|
|
2
|
+
terms: boolean;
|
|
3
|
+
age: boolean;
|
|
4
|
+
translatesKeys?: [string, string];
|
|
5
|
+
handleOpenDoc?: () => void;
|
|
6
|
+
handleToggleState: (s: 'terms' | 'age') => (d: boolean) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const DocsCheckBox: (props: DocsCheckBoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.DocsCheckBox = void 0;
|
|
27
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
+
// import { CheckBox } from 'decryption_component-kit';
|
|
29
|
+
// import { useTranslate } from 'decryption_component-kit';
|
|
30
|
+
var CheckBox_1 = require("components/ui/Inputs/CheckBox");
|
|
31
|
+
var styles = __importStar(require("./Docs.module.css"));
|
|
32
|
+
var DocsCheckBox = function (props) {
|
|
33
|
+
var age = props.age, terms = props.terms, handleToggleState = props.handleToggleState, handleOpenDoc = props.handleOpenDoc, _a = props.translatesKeys, translatesKeys = _a === void 0 ? [
|
|
34
|
+
'registrations.termsAndConditions',
|
|
35
|
+
'registrations.ageConfirm',
|
|
36
|
+
] : _a;
|
|
37
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(CheckBox_1.CheckBox, { value: terms, onChange: handleToggleState('terms'), text: translatesKeys[0], classes: styles.checkbox, classesText: styles.link, handleText: handleOpenDoc }), (0, jsx_runtime_1.jsx)(CheckBox_1.CheckBox, { value: age, onChange: handleToggleState('age'), text: translatesKeys[1], classes: styles.checkbox })] }));
|
|
38
|
+
};
|
|
39
|
+
exports.DocsCheckBox = DocsCheckBox;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BASE_TRANSLATE_KEYS = void 0;
|
|
4
|
+
exports.BASE_TRANSLATE_KEYS = {
|
|
5
|
+
loading: 'loading',
|
|
6
|
+
registrationBtn: 'registrations.submitBtn',
|
|
7
|
+
terms: 'registrations.termsAndConditions',
|
|
8
|
+
age: 'registrations.ageConfirm',
|
|
9
|
+
promoCode: 'registrations.promoCode.placeholder',
|
|
10
|
+
promoCodeTitle: 'registrations.promoCode.openPromoCodeTitle',
|
|
11
|
+
countryTitle: 'registrations.selectors.country',
|
|
12
|
+
currencyTitle: 'registrations.selectors.currency',
|
|
13
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CurrencySelectorProps } from '../CurrencySelector/types';
|
|
2
|
+
import { CountrySelectorProps } from '../CountrySelector/types';
|
|
3
|
+
type OneClickProps = {
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
activeCountryId: number | null;
|
|
6
|
+
activeCurrencyId: number | null;
|
|
7
|
+
activeLang: string | undefined;
|
|
8
|
+
docs: {
|
|
9
|
+
[order: string]: {
|
|
10
|
+
link: string;
|
|
11
|
+
translateKey: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
handleSubmit: (promoCode: string) => void;
|
|
15
|
+
isAvailableTransport: boolean;
|
|
16
|
+
isLoading?: boolean;
|
|
17
|
+
currencyProps: CurrencySelectorProps;
|
|
18
|
+
countryProps: CountrySelectorProps;
|
|
19
|
+
translates?: {
|
|
20
|
+
loading: string;
|
|
21
|
+
registrationBtn: string;
|
|
22
|
+
terms: string;
|
|
23
|
+
age: string;
|
|
24
|
+
promoCode: string;
|
|
25
|
+
promoCodeTitle: string;
|
|
26
|
+
countryTitle: string;
|
|
27
|
+
currencyTitle: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export declare const OneClick: (props: OneClickProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,86 @@
|
|
|
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.OneClick = 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 CurrencySelector_1 = require("../CurrencySelector");
|
|
45
|
+
var CountrySelector_1 = require("../CountrySelector");
|
|
46
|
+
var DocsCheckBox_1 = require("../DocsCheckBox");
|
|
47
|
+
var PromoCode_1 = require("../PromoCode");
|
|
48
|
+
var Buttons_1 = require("components/ui/Buttons");
|
|
49
|
+
var Text_1 = require("components/Text");
|
|
50
|
+
var styles = __importStar(require("./OneClick.module.css"));
|
|
51
|
+
var constants_1 = require("./constants");
|
|
52
|
+
var OneClick = function (props) {
|
|
53
|
+
var isSelected = props.isSelected, activeCountryId = props.activeCountryId, handleSubmit = props.handleSubmit, activeCurrencyId = props.activeCurrencyId, isAvailableTransport = props.isAvailableTransport, activeLang = props.activeLang, docs = props.docs, currencyProps = props.currencyProps, countryProps = props.countryProps, _a = props.isLoading, isLoading = _a === void 0 ? false : _a, _b = props.translates, translates = _b === void 0 ? constants_1.BASE_TRANSLATE_KEYS : _b;
|
|
54
|
+
var _c = (0, react_1.useState)(isSelected), terms = _c[0], setTermsState = _c[1];
|
|
55
|
+
var _d = (0, react_1.useState)(isSelected), age = _d[0], setAgeState = _d[1];
|
|
56
|
+
var _e = (0, react_1.useState)(''), promoCode = _e[0], setPromoCode = _e[1];
|
|
57
|
+
var handleRegistration = function () {
|
|
58
|
+
if (!activeCurrencyId || !activeCountryId || !age || !terms) {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
handleSubmit(promoCode);
|
|
62
|
+
};
|
|
63
|
+
var handleToggleState = function (name) { return function () {
|
|
64
|
+
var toggleFn = name === 'terms' ? setTermsState : setAgeState;
|
|
65
|
+
var oldState = name === 'terms' ? terms : age;
|
|
66
|
+
toggleFn(!oldState);
|
|
67
|
+
}; };
|
|
68
|
+
var handleOpenDoc = function () {
|
|
69
|
+
var _a;
|
|
70
|
+
if (!activeLang) {
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
// TODO terms
|
|
74
|
+
var link = (_a = docs[1]) === null || _a === void 0 ? void 0 : _a.link.replace('[lang]', activeLang);
|
|
75
|
+
if (!link) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
window.open(link);
|
|
79
|
+
};
|
|
80
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.fullWidth }, { children: [(0, jsx_runtime_1.jsx)(CurrencySelector_1.CurrencySelector, __assign({}, currencyProps, { translateKey: translates.currencyTitle, classes: (0, classnames_1.default)(currencyProps.classes, styles.marginB) })), (0, jsx_runtime_1.jsx)(CountrySelector_1.CountrySelector, __assign({}, countryProps, { translateKey: translates.countryTitle, classes: (0, classnames_1.default)(countryProps.classes, styles.marginB) })), (0, jsx_runtime_1.jsx)(PromoCode_1.RegistrationPromoCode, { setPromoCode: setPromoCode, classes: styles.marginB, translatesKeys: [translates.promoCodeTitle, translates.promoCode] }), (0, jsx_runtime_1.jsx)(DocsCheckBox_1.DocsCheckBox, { terms: terms, age: age, handleOpenDoc: handleOpenDoc, translatesKeys: [translates.terms, translates.age], handleToggleState: handleToggleState }), isLoading ? ((0, jsx_runtime_1.jsx)("div", __assign({ style: { height: 'var(--height-48)' } }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: translates.loading }) }))) : ((0, jsx_runtime_1.jsx)(Buttons_1.BaseButton, { text: translates.registrationBtn, disabled: !activeCurrencyId ||
|
|
81
|
+
!activeCountryId ||
|
|
82
|
+
!isAvailableTransport ||
|
|
83
|
+
!age ||
|
|
84
|
+
!terms, color: "primary", handleClick: handleRegistration, size: "--button-full", centreText: true, buttonHeight: "--button-height-full", classes: styles.marginB }))] })));
|
|
85
|
+
};
|
|
86
|
+
exports.OneClick = OneClick;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.RegistrationPromoCode = void 0;
|
|
38
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
39
|
+
var react_1 = require("react");
|
|
40
|
+
var BaseInput_1 = require("components/ui/Inputs/BaseInput");
|
|
41
|
+
var styles = __importStar(require("./PromoCode.module.css"));
|
|
42
|
+
var Text_1 = require("components/Text");
|
|
43
|
+
var RegistrationPromoCode = function (props) {
|
|
44
|
+
var setPromoCode = props.setPromoCode, referralCode = props.referralCode, classes = props.classes, _a = props.translatesKeys, translatesKeys = _a === void 0 ? [
|
|
45
|
+
'registrations.promoCode.openPromoCodeTitle',
|
|
46
|
+
'registrations.promoCode.placeholder',
|
|
47
|
+
] : _a;
|
|
48
|
+
var _b = (0, react_1.useState)(false), isShownPromoCode = _b[0], setPromoCodeState = _b[1];
|
|
49
|
+
var handleShowPromoCode = function () {
|
|
50
|
+
setPromoCodeState(!isShownPromoCode);
|
|
51
|
+
};
|
|
52
|
+
(0, react_1.useEffect)(function () {
|
|
53
|
+
if (!referralCode) {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
setPromoCode("ref_code::".concat(referralCode));
|
|
57
|
+
}, []);
|
|
58
|
+
if (referralCode) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
return ((0, jsx_runtime_1.jsx)("div", __assign({ className: classes }, { children: !isShownPromoCode ? ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.promoTitle, onClick: handleShowPromoCode }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: translatesKeys[0] }) }))) : ((0, jsx_runtime_1.jsx)(BaseInput_1.BaseInput, { placeholder: translatesKeys[1], size: "full", isHidePlaceholder: true, onChange: setPromoCode, classes: styles.marginB })) })));
|
|
62
|
+
};
|
|
63
|
+
exports.RegistrationPromoCode = RegistrationPromoCode;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Text = void 0;
|
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
var useTranslate_1 = require("hooks/useTranslate");
|
|
6
|
+
var Text = function (_a) {
|
|
7
|
+
var idT = _a.idT, _b = _a.specValue, specValue = _b === void 0 ? '' : _b;
|
|
8
|
+
var name = (0, useTranslate_1.useTranslate)(idT, specValue).name;
|
|
9
|
+
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: name });
|
|
10
|
+
};
|
|
11
|
+
exports.Text = Text;
|
|
@@ -0,0 +1,131 @@
|
|
|
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.Wheel = 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 styles = __importStar(require("./Wheel.module.css"));
|
|
45
|
+
var Wheel = function (props) {
|
|
46
|
+
var _a;
|
|
47
|
+
var borderWheelPath = props.borderWheelPath, wheelContentPath = props.wheelContentPath, wheelButtonPath = props.wheelButtonPath, wheelButtonHoverPath = props.wheelButtonHoverPath, slotNamePath = props.slotNamePath, pointerPath = props.pointerPath, callbackSpinStart = props.callbackSpinStart, callbackSpinEnd = props.callbackSpinEnd, btnText = props.btnText, list = props.list, audioPath = props.audioPath, _b = props.customTime, customTime = _b === void 0 ? 6000 : _b, wheelTextColor = props.wheelTextColor, classesWheel = props.classesWheel, classesPointer = props.classesPointer, classesBorder = props.classesBorder, classesButton = props.classesButton, classesSlotName = props.classesSlotName, customSpinningAnimation = props.customSpinningAnimation;
|
|
48
|
+
var audio = new Audio(audioPath);
|
|
49
|
+
var contentRef = (0, react_1.useRef)(null);
|
|
50
|
+
var _c = (0, react_1.useState)(0), height = _c[0], setHeight = _c[1];
|
|
51
|
+
var _d = (0, react_1.useState)(false), isSpin = _d[0], setSpinState = _d[1];
|
|
52
|
+
var _e = (0, react_1.useState)(false), isAnimateBorderBg = _e[0], setAnimateBorderBgStatus = _e[1];
|
|
53
|
+
var timer = (0, react_1.useRef)(null);
|
|
54
|
+
var _f = (0, react_1.useState)(0), activeBorder = _f[0], setActiveBorder = _f[1];
|
|
55
|
+
var handleSpin = function () {
|
|
56
|
+
var _a;
|
|
57
|
+
if (isSpin) {
|
|
58
|
+
callbackSpinEnd();
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
if (audio.src) {
|
|
62
|
+
var wheelSpinInSeconds = customTime / 1000;
|
|
63
|
+
var startTime = audio.duration - wheelSpinInSeconds;
|
|
64
|
+
var WIN_SOUND_DURATION = 3.5;
|
|
65
|
+
audio.currentTime = startTime - WIN_SOUND_DURATION;
|
|
66
|
+
(_a = audio.play) === null || _a === void 0 ? void 0 : _a.call(audio);
|
|
67
|
+
}
|
|
68
|
+
setSpinState(true);
|
|
69
|
+
callbackSpinStart === null || callbackSpinStart === void 0 ? void 0 : callbackSpinStart();
|
|
70
|
+
setTimeout(function () {
|
|
71
|
+
callbackSpinEnd();
|
|
72
|
+
}, customTime);
|
|
73
|
+
};
|
|
74
|
+
(0, react_1.useLayoutEffect)(function () {
|
|
75
|
+
if (!contentRef.current) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
var width = contentRef.current.offsetWidth;
|
|
79
|
+
setHeight(width);
|
|
80
|
+
}, []);
|
|
81
|
+
(0, react_1.useEffect)(function () {
|
|
82
|
+
if (borderWheelPath.length < 1) {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
setAnimateBorderBgStatus(true);
|
|
86
|
+
}, [borderWheelPath]);
|
|
87
|
+
(0, react_1.useEffect)(function () {
|
|
88
|
+
if (!isAnimateBorderBg || borderWheelPath.length <= 1) {
|
|
89
|
+
return function () {
|
|
90
|
+
if (timer.current) {
|
|
91
|
+
clearTimeout(timer.current);
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
setTimeout(function () {
|
|
96
|
+
setActiveBorder(Number(!activeBorder));
|
|
97
|
+
}, 500);
|
|
98
|
+
return function () {
|
|
99
|
+
if (timer.current) {
|
|
100
|
+
clearTimeout(timer.current);
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
}, [isAnimateBorderBg, activeBorder]);
|
|
104
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.wheelWrapper, ref: contentRef }, { children: [(0, jsx_runtime_1.jsx)("img", { src: pointerPath, className: (0, classnames_1.default)(styles.pointer, classesPointer) }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.content, style: {
|
|
105
|
+
height: height,
|
|
106
|
+
} }, { children: [(0, jsx_runtime_1.jsx)("div", { className: (0, classnames_1.default)(styles.content, classesBorder), style: {
|
|
107
|
+
background: "url(".concat(borderWheelPath[1], ")"),
|
|
108
|
+
backgroundSize: 'contain',
|
|
109
|
+
backgroundRepeat: 'no-repeat',
|
|
110
|
+
height: height,
|
|
111
|
+
left: 0,
|
|
112
|
+
top: 0,
|
|
113
|
+
position: 'absolute',
|
|
114
|
+
zIndex: activeBorder,
|
|
115
|
+
} }), (0, jsx_runtime_1.jsx)("div", { className: (0, classnames_1.default)(styles.content, classesBorder), style: {
|
|
116
|
+
background: "url(".concat(borderWheelPath[0], ")"),
|
|
117
|
+
backgroundSize: 'contain',
|
|
118
|
+
backgroundRepeat: 'no-repeat',
|
|
119
|
+
height: height,
|
|
120
|
+
left: 0,
|
|
121
|
+
top: 0,
|
|
122
|
+
position: 'absolute',
|
|
123
|
+
zIndex: Number(!activeBorder),
|
|
124
|
+
} }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.disk, (_a = {},
|
|
125
|
+
_a[styles.spinning] = isSpin,
|
|
126
|
+
_a[customSpinningAnimation] = isSpin,
|
|
127
|
+
_a), classesWheel), style: {
|
|
128
|
+
animationDuration: "".concat(customTime, "ms"),
|
|
129
|
+
} }, { children: [(0, jsx_runtime_1.jsx)("img", { src: wheelContentPath, className: styles.wheelContentImg }), (0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.list, wheelTextColor) }, { children: list.map(function (l, inx) { return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.item, styles === null || styles === void 0 ? void 0 : styles["item".concat(inx + 1)]) }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: styles.textBold }, { children: l.bold })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.textRegular }, { children: l.regular }))] }), inx)); }) }))] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.spinBtn, classesButton), onClick: handleSpin }, { children: [(0, jsx_runtime_1.jsx)("span", __assign({ className: styles.bntText }, { children: btnText })), (0, jsx_runtime_1.jsx)("img", { src: isSpin ? wheelButtonHoverPath : wheelButtonPath, className: styles.btnImg })] })), (0, jsx_runtime_1.jsx)("img", { src: slotNamePath, className: (0, classnames_1.default)(styles.slotName, classesSlotName) })] }))] })));
|
|
130
|
+
};
|
|
131
|
+
exports.Wheel = Wheel;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export type WheelProps = {
|
|
2
|
+
borderWheelPath: [string] | [string, string];
|
|
3
|
+
wheelContentPath: string;
|
|
4
|
+
wheelButtonPath: string;
|
|
5
|
+
wheelButtonHoverPath: string;
|
|
6
|
+
pointerPath: string;
|
|
7
|
+
slotNamePath: string;
|
|
8
|
+
btnText: string;
|
|
9
|
+
customTime?: number;
|
|
10
|
+
audioPath?: string;
|
|
11
|
+
callbackSpinStart?: () => void;
|
|
12
|
+
callbackSpinEnd: () => void;
|
|
13
|
+
list: [
|
|
14
|
+
{
|
|
15
|
+
bold: string;
|
|
16
|
+
regular: string;
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
bold: string;
|
|
20
|
+
regular: string;
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
bold: string;
|
|
24
|
+
regular: string;
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
bold: string;
|
|
28
|
+
regular: string;
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
bold: string;
|
|
32
|
+
regular: string;
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
bold: string;
|
|
36
|
+
regular: string;
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
bold: string;
|
|
40
|
+
regular: string;
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
bold: string;
|
|
44
|
+
regular: string;
|
|
45
|
+
}
|
|
46
|
+
];
|
|
47
|
+
wheelTextColor?: string;
|
|
48
|
+
classesBorder?: string;
|
|
49
|
+
classesPointer?: string;
|
|
50
|
+
classesWheel?: string;
|
|
51
|
+
classesButton?: string;
|
|
52
|
+
classesSlotName?: string;
|
|
53
|
+
customSpinningAnimation?: string;
|
|
54
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type Props = {
|
|
3
|
+
title: string;
|
|
4
|
+
startIcon?: React.ReactElement;
|
|
5
|
+
data: string[];
|
|
6
|
+
classes?: string;
|
|
7
|
+
titleClasses?: string;
|
|
8
|
+
disabledDots?: boolean;
|
|
9
|
+
handleClick?: (inx: number) => void;
|
|
10
|
+
setOpenState?: () => void;
|
|
11
|
+
} & ({
|
|
12
|
+
isGroup: true;
|
|
13
|
+
callbackOpenState: () => void;
|
|
14
|
+
isOpenedByGroup: boolean;
|
|
15
|
+
} | {
|
|
16
|
+
isGroup?: false;
|
|
17
|
+
callbackOpenState?: undefined;
|
|
18
|
+
isOpenedByGroup?: undefined;
|
|
19
|
+
});
|
|
20
|
+
declare const Accordion: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export default Accordion;
|