@zezosoft/zezo-ott-react-native-ui-kit 1.1.2 → 1.1.5
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/lib/module/components/Auth/AuthProvider/AuthProvider.js +5 -2
- package/lib/module/components/Auth/AuthProvider/AuthProvider.js.map +1 -1
- package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js +232 -0
- package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js.map +1 -0
- package/lib/module/components/Auth/One/Login/LoginWithEmail.js +324 -0
- package/lib/module/components/Auth/One/Login/LoginWithEmail.js.map +1 -0
- package/lib/module/components/Auth/{Login → One/Login}/LoginWithPhone.js +13 -11
- package/lib/module/components/Auth/One/Login/LoginWithPhone.js.map +1 -0
- package/lib/module/components/Auth/One/OTP/OTP.js +301 -0
- package/lib/module/components/Auth/One/OTP/OTP.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js +479 -0
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js +295 -0
- package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js.map +1 -0
- package/lib/module/components/Auth/One/SignUp/SignUp.js +362 -0
- package/lib/module/components/Auth/One/SignUp/SignUp.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.js +8 -5
- package/lib/module/components/Auth/One/SplashScreen/SplashScreen.js.map +1 -0
- package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js +80 -0
- package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.js +1 -1
- package/lib/module/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.js +42 -21
- package/lib/module/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
- package/lib/module/components/Auth/One/index.js +25 -0
- package/lib/module/components/Auth/One/index.js.map +1 -0
- package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js +93 -0
- package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js.map +1 -0
- package/lib/module/components/Auth/{ForgotPassword → Two/ForgotPassword}/ForgotPassword.js +55 -28
- package/lib/module/components/Auth/Two/ForgotPassword/ForgotPassword.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/AuthLoginShell.js +138 -0
- package/lib/module/components/Auth/Two/Login/AuthLoginShell.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/LoginWithEmail.js +226 -0
- package/lib/module/components/Auth/Two/Login/LoginWithEmail.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/LoginWithPhone.js +143 -0
- package/lib/module/components/Auth/Two/Login/LoginWithPhone.js.map +1 -0
- package/lib/module/components/Auth/{OTP → Two/OTP}/OTP.js +93 -63
- package/lib/module/components/Auth/Two/OTP/OTP.js.map +1 -0
- package/lib/module/components/Auth/Two/QrLogin/QrLogin.js +479 -0
- package/lib/module/components/Auth/Two/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js +295 -0
- package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js.map +1 -0
- package/lib/module/components/Auth/Two/SignUp/SignUp.js +379 -0
- package/lib/module/components/Auth/Two/SignUp/SignUp.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js +141 -0
- package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.js +1 -1
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js +63 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js +157 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
- package/lib/module/components/Auth/Two/index.js +29 -0
- package/lib/module/components/Auth/Two/index.js.map +1 -0
- package/lib/module/components/Auth/index.js +7 -22
- package/lib/module/components/Auth/index.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js +7 -3
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayoutOne.js +52 -0
- package/lib/module/components/BackgroundLayout/BackgroundLayoutOne.js.map +1 -0
- package/lib/module/components/BottomSheet/BottomSheet.js +7 -3
- package/lib/module/components/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/module/components/BottomSheet/BottomSheetOne.js +170 -0
- package/lib/module/components/BottomSheet/BottomSheetOne.js.map +1 -0
- package/lib/module/components/BottomSheet/index.js +1 -0
- package/lib/module/components/BottomSheet/index.js.map +1 -1
- package/lib/module/components/Button/PrimaryBtn.js +16 -6
- package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
- package/lib/module/components/Content/Card/Category/Category.js +88 -13
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
- package/lib/module/components/Content/Card/Category/CategroyTwo.js +287 -0
- package/lib/module/components/Content/Card/Category/CategroyTwo.js.map +1 -0
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js +237 -108
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +191 -132
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Three.js +714 -0
- package/lib/module/components/Content/Card/Sliders/Styles/Three.js.map +1 -0
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +139 -92
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/index.js +3 -1
- package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Five.js +132 -48
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +127 -59
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +126 -50
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +139 -53
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Six.js +207 -115
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js +119 -94
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js +187 -171
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +145 -64
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/AdsPoster.js +162 -0
- package/lib/module/components/Content/Card/components/AdsPoster.js.map +1 -0
- package/lib/module/components/Content/Card/components/CardPoster.js +217 -135
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
- package/lib/module/components/Content/Card/components/NavigateToMore.js +26 -2
- package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
- package/lib/module/components/Content/Card/components/index.js +4 -0
- package/lib/module/components/Content/Card/components/index.js.map +1 -0
- package/lib/module/components/Content/Content.js +90 -33
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +41 -11
- package/lib/module/components/Content/Sections.js.map +1 -1
- package/lib/module/components/Content/types.js +4 -0
- package/lib/module/components/Content/types.js.map +1 -0
- package/lib/module/components/ContentView/MoreContentList.js +1 -0
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
- package/lib/module/components/ContentView/{ContentView.js → One/ContentViewOne.js} +6 -5
- package/lib/module/components/ContentView/One/ContentViewOne.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/AboutSection.js +2 -2
- package/lib/module/components/ContentView/One/components/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/CastCard.js +2 -2
- package/lib/module/components/ContentView/One/components/CastCard.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/EpisodeCard.js +5 -6
- package/lib/module/components/ContentView/One/components/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/GenreTags.js +2 -2
- package/lib/module/components/ContentView/One/components/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/HeroBanner.js +45 -44
- package/lib/module/components/ContentView/One/components/HeroBanner.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/MiniInfo.js +50 -5
- package/lib/module/components/ContentView/One/components/MiniInfo.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/PlayButton.js +1 -1
- package/lib/module/components/ContentView/One/components/PlayButton.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/Title.js +1 -1
- package/lib/module/components/ContentView/One/components/Title.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/TrailerButton.js +2 -2
- package/lib/module/components/ContentView/One/components/TrailerButton.js.map +1 -0
- package/lib/module/components/ContentView/Two/ContentViewTwo.js +220 -0
- package/lib/module/components/ContentView/Two/ContentViewTwo.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/AboutSection.js +150 -0
- package/lib/module/components/ContentView/Two/components/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/Details.js +156 -0
- package/lib/module/components/ContentView/Two/components/Details.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/EpisodeCard.js +425 -0
- package/lib/module/components/ContentView/Two/components/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/GenreTags.js +86 -0
- package/lib/module/components/ContentView/Two/components/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/HeroBanner.js +339 -0
- package/lib/module/components/ContentView/Two/components/HeroBanner.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/LikeShareActions.js +88 -0
- package/lib/module/components/ContentView/Two/components/LikeShareActions.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js +235 -0
- package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js.map +1 -0
- package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js +120 -0
- package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/SectionTabs.js +112 -0
- package/lib/module/components/ContentView/Two/components/SectionTabs.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/Title.js +146 -0
- package/lib/module/components/ContentView/Two/components/Title.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/index.js +18 -0
- package/lib/module/components/ContentView/Two/components/index.js.map +1 -0
- package/lib/module/components/ContentView/index.js +6 -1
- package/lib/module/components/ContentView/index.js.map +1 -1
- package/lib/module/components/Headers/Four.js +68 -0
- package/lib/module/components/Headers/Four.js.map +1 -0
- package/lib/module/components/Headers/Three.js +75 -24
- package/lib/module/components/Headers/Three.js.map +1 -1
- package/lib/module/components/Headers/index.js +3 -1
- package/lib/module/components/Headers/index.js.map +1 -1
- package/lib/module/components/Input/Input.js +5 -1
- package/lib/module/components/Input/Input.js.map +1 -1
- package/lib/module/components/Input/InputThree.js +157 -0
- package/lib/module/components/Input/InputThree.js.map +1 -0
- package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
- package/lib/module/components/Input/PhoneNumberInputTwo.js +316 -0
- package/lib/module/components/Input/PhoneNumberInputTwo.js.map +1 -0
- package/lib/module/components/Loader/Loader.js +14 -6
- package/lib/module/components/Loader/Loader.js.map +1 -1
- package/lib/module/components/Logo/Logo.js +42 -17
- package/lib/module/components/Logo/Logo.js.map +1 -1
- package/lib/module/components/NewRelease/NewReleaseSheet.js +227 -0
- package/lib/module/components/NewRelease/NewReleaseSheet.js.map +1 -0
- package/lib/module/components/NewRelease/index.js +4 -0
- package/lib/module/components/NewRelease/index.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js +92 -17
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js +65 -2
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js +2 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js +4 -2
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +80 -46
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +78 -29
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js +21 -34
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js +58 -0
- package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/utils/quality.js +44 -0
- package/lib/module/components/Reels/ReelsSeries/utils/quality.js.map +1 -0
- package/lib/module/components/Reels/index.js +1 -0
- package/lib/module/components/Reels/index.js.map +1 -1
- package/lib/module/components/Search/One.js +7 -4
- package/lib/module/components/Search/One.js.map +1 -1
- package/lib/module/components/Search/components/SearchCard.js +59 -7
- package/lib/module/components/Search/components/SearchCard.js.map +1 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js +2 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -1
- package/lib/module/components/User/WatchHistory/WatchHistory.js +1 -0
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
- package/lib/module/components/User/WatchLater/WatchLater.js +1 -0
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
- package/lib/module/components/common/AppStatusBar.js +2 -1
- package/lib/module/components/common/AppStatusBar.js.map +1 -1
- package/lib/module/components/index.js +1 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/constants/dummySections.js +47 -5
- package/lib/module/constants/dummySections.js.map +1 -1
- package/lib/module/hooks/Images/index.js +5 -0
- package/lib/module/hooks/Images/index.js.map +1 -0
- package/lib/module/hooks/Images/useImageLoader.js +168 -0
- package/lib/module/hooks/Images/useImageLoader.js.map +1 -0
- package/lib/module/hooks/Images/useImageValidation.js +36 -0
- package/lib/module/hooks/Images/useImageValidation.js.map +1 -0
- package/lib/module/hooks/index.js +3 -0
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/useAdTracking.js +270 -0
- package/lib/module/hooks/useAdTracking.js.map +1 -0
- package/lib/module/hooks/useCards.js +164 -0
- package/lib/module/hooks/useCards.js.map +1 -0
- package/lib/module/hooks/usePaginatedSection.js +11 -6
- package/lib/module/hooks/usePaginatedSection.js.map +1 -1
- package/lib/module/hooks/useSplashCache.js +78 -60
- package/lib/module/hooks/useSplashCache.js.map +1 -1
- package/lib/module/theme/ThemeProvider.js +14 -2
- package/lib/module/theme/ThemeProvider.js.map +1 -1
- package/lib/module/theme/hook/index.js +0 -1
- package/lib/module/theme/hook/index.js.map +1 -1
- package/lib/module/theme/hook/useInternalTheme.js +21 -7
- package/lib/module/theme/hook/useInternalTheme.js.map +1 -1
- package/lib/module/theme/themes.js +2 -0
- package/lib/module/theme/themes.js.map +1 -1
- package/lib/module/theme/utils/validateColor.js +84 -0
- package/lib/module/theme/utils/validateColor.js.map +1 -0
- package/lib/module/utils/colorUtils.js +68 -0
- package/lib/module/utils/colorUtils.js.map +1 -0
- package/lib/typescript/src/components/Auth/{ForgotPassword → One/ForgotPassword}/ForgotPassword.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/ForgotPassword/ForgotPassword.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{Login → One/Login}/LoginWithEmail.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/Login/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{Login → One/Login}/LoginWithPhone.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/Login/LoginWithPhone.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{OTP → One/OTP}/OTP.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/OTP/OTP.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{QrLogin → One/QrLogin}/QrLogin.d.ts +3 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/QrLogin.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{QrLogin → One/QrLogin}/components/QrViewArea.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/components/QrViewArea.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{SignUp → One/SignUp}/SignUp.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SignUp/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/SplashScreen.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts +14 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/index.d.ts +234 -0
- package/lib/typescript/src/components/Auth/One/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts +16 -0
- package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts +53 -0
- package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/AuthLoginShell.d.ts +17 -0
- package/lib/typescript/src/components/Auth/Two/Login/AuthLoginShell.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithEmail.d.ts +52 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithPhone.d.ts +37 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithPhone.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts +63 -0
- package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts +19 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts +14 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts +67 -0
- package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts +35 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts +17 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts +20 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/index.d.ts +220 -0
- package/lib/typescript/src/components/Auth/Two/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/index.d.ts +447 -232
- package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayoutOne.d.ts +7 -0
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayoutOne.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts +19 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts +2 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts +1 -0
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/index.d.ts +1 -0
- package/lib/typescript/src/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts +26 -0
- package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts +19 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +11 -0
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts +15 -3
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts +13 -5
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts +26 -0
- package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +4 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts +3 -0
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/index.d.ts +2 -0
- package/lib/typescript/src/components/Content/Card/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/index.d.ts +76 -6
- package/lib/typescript/src/components/Content/Card/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Content.d.ts +2 -51
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts +2 -39
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/types.d.ts +149 -0
- package/lib/typescript/src/components/Content/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/AboutSection.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/AboutSection.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/CastCard.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/CastCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/EpisodeCard.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/EpisodeCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/GenreTags.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/GenreTags.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/HeroBanner.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/HeroBanner.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/MiniInfo.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/MiniInfo.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/One/components/PlayButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/Title.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/Title.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/One/components/TrailerButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts +18 -0
- package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts +27 -0
- package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts +23 -0
- package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts +22 -0
- package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts +8 -0
- package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts +25 -0
- package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts +26 -0
- package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts +21 -0
- package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts +28 -0
- package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts +34 -0
- package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/index.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/Two/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/index.d.ts +6 -1
- package/lib/typescript/src/components/ContentView/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Four.d.ts +18 -0
- package/lib/typescript/src/components/Headers/Four.d.ts.map +1 -0
- package/lib/typescript/src/components/Headers/Three.d.ts +9 -1
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/index.d.ts +1 -0
- package/lib/typescript/src/components/Headers/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/Input.d.ts +2 -0
- package/lib/typescript/src/components/Input/Input.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputThree.d.ts +22 -0
- package/lib/typescript/src/components/Input/InputThree.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/PhoneNumberInputTwo.d.ts +26 -0
- package/lib/typescript/src/components/Input/PhoneNumberInputTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/Loader/Loader.d.ts +2 -0
- package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
- package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts +10 -0
- package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/NewRelease/index.d.ts +2 -0
- package/lib/typescript/src/components/NewRelease/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts +2 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts +2 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +9 -2
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +11 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts +11 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +15 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts +34 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts +10 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/index.d.ts +1 -0
- package/lib/typescript/src/components/Reels/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts +1 -0
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
- package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
- package/lib/typescript/src/components/common/AppStatusBar.d.ts +1 -0
- package/lib/typescript/src/components/common/AppStatusBar.d.ts.map +1 -1
- package/lib/typescript/src/components/index.d.ts +1 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/constants/dummySections.d.ts +8 -1
- package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
- package/lib/typescript/src/hooks/Images/index.d.ts +3 -0
- package/lib/typescript/src/hooks/Images/index.d.ts.map +1 -0
- package/lib/typescript/src/hooks/Images/useImageLoader.d.ts +36 -0
- package/lib/typescript/src/hooks/Images/useImageLoader.d.ts.map +1 -0
- package/lib/typescript/src/hooks/Images/useImageValidation.d.ts +17 -0
- package/lib/typescript/src/hooks/Images/useImageValidation.d.ts.map +1 -0
- package/lib/typescript/src/hooks/index.d.ts +3 -0
- package/lib/typescript/src/hooks/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useAdTracking.d.ts +39 -0
- package/lib/typescript/src/hooks/useAdTracking.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useCards.d.ts +36 -0
- package/lib/typescript/src/hooks/useCards.d.ts.map +1 -0
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts +12 -2
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useSplashCache.d.ts.map +1 -1
- package/lib/typescript/src/theme/ThemeProvider.d.ts +2 -0
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/index.d.ts +0 -1
- package/lib/typescript/src/theme/hook/index.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/useInternalTheme.d.ts.map +1 -1
- package/lib/typescript/src/theme/themes.d.ts +1 -0
- package/lib/typescript/src/theme/themes.d.ts.map +1 -1
- package/lib/typescript/src/theme/utils/validateColor.d.ts +21 -0
- package/lib/typescript/src/theme/utils/validateColor.d.ts.map +1 -0
- package/lib/typescript/src/types/content/content-view.types.d.ts +40 -1
- package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
- package/lib/typescript/src/types/sections/index.d.ts +7 -4
- package/lib/typescript/src/types/sections/index.d.ts.map +1 -1
- package/lib/typescript/src/utils/colorUtils.d.ts +19 -0
- package/lib/typescript/src/utils/colorUtils.d.ts.map +1 -0
- package/package.json +13 -4
- package/src/components/Auth/AuthProvider/AuthProvider.tsx +6 -2
- package/src/components/Auth/One/ForgotPassword/ForgotPassword.tsx +324 -0
- package/src/components/Auth/One/Login/LoginWithEmail.tsx +455 -0
- package/src/components/Auth/{Login → One/Login}/LoginWithPhone.tsx +12 -12
- package/src/components/Auth/One/OTP/OTP.tsx +465 -0
- package/src/components/Auth/One/QrLogin/QrLogin.tsx +602 -0
- package/src/components/Auth/One/QrLogin/components/QrViewArea.tsx +423 -0
- package/src/components/Auth/One/SignUp/SignUp.tsx +479 -0
- package/src/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.tsx +10 -6
- package/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.tsx +103 -0
- package/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.tsx +1 -1
- package/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.tsx +35 -25
- package/src/components/Auth/One/index.ts +24 -0
- package/src/components/Auth/Two/AuthHeader/AuthHeader.tsx +108 -0
- package/src/components/Auth/{ForgotPassword → Two/ForgotPassword}/ForgotPassword.tsx +62 -35
- package/src/components/Auth/Two/Login/AuthLoginShell.tsx +173 -0
- package/src/components/Auth/Two/Login/LoginWithEmail.tsx +279 -0
- package/src/components/Auth/Two/Login/LoginWithPhone.tsx +188 -0
- package/src/components/Auth/{OTP → Two/OTP}/OTP.tsx +92 -81
- package/src/components/Auth/Two/QrLogin/QrLogin.tsx +602 -0
- package/src/components/Auth/Two/QrLogin/components/QrViewArea.tsx +423 -0
- package/src/components/Auth/Two/SignUp/SignUp.tsx +472 -0
- package/src/components/Auth/Two/SplashScreen/SplashScreen.tsx +248 -0
- package/src/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.tsx +1 -1
- package/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.tsx +77 -0
- package/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.tsx +178 -0
- package/src/components/Auth/Two/index.ts +28 -0
- package/src/components/Auth/index.ts +7 -22
- package/src/components/BackgroundLayout/BackgroundLayout.tsx +2 -0
- package/src/components/BackgroundLayout/BackgroundLayoutOne.tsx +56 -0
- package/src/components/BottomSheet/BottomSheet.tsx +6 -1
- package/src/components/BottomSheet/BottomSheetOne.tsx +220 -0
- package/src/components/BottomSheet/index.ts +2 -0
- package/src/components/Button/PrimaryBtn.tsx +10 -2
- package/src/components/Content/Card/Category/Category.tsx +104 -10
- package/src/components/Content/Card/Category/CategroyTwo.tsx +429 -0
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +281 -136
- package/src/components/Content/Card/Sliders/Styles/One.tsx +248 -152
- package/src/components/Content/Card/Sliders/Styles/Three.tsx +935 -0
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +171 -102
- package/src/components/Content/Card/Sliders/index.ts +2 -0
- package/src/components/Content/Card/Styles/Five.tsx +162 -62
- package/src/components/Content/Card/Styles/Four.tsx +165 -85
- package/src/components/Content/Card/Styles/One.tsx +162 -71
- package/src/components/Content/Card/Styles/RotateInOut.tsx +158 -60
- package/src/components/Content/Card/Styles/Six.tsx +242 -142
- package/src/components/Content/Card/Styles/Three.tsx +160 -162
- package/src/components/Content/Card/Styles/TopTen.tsx +231 -191
- package/src/components/Content/Card/Styles/Two.tsx +183 -79
- package/src/components/Content/Card/components/AdsPoster.tsx +202 -0
- package/src/components/Content/Card/components/CardPoster.tsx +250 -151
- package/src/components/Content/Card/components/NavigateToMore.tsx +29 -1
- package/src/components/Content/Card/components/index.ts +1 -0
- package/src/components/Content/Content.tsx +103 -119
- package/src/components/Content/Sections.tsx +51 -45
- package/src/components/Content/types.ts +176 -0
- package/src/components/ContentView/MoreContentList.tsx +1 -0
- package/src/components/ContentView/{ContentView.tsx → One/ContentViewOne.tsx} +8 -7
- package/src/components/ContentView/{components → One/components}/AboutSection.tsx +3 -3
- package/src/components/ContentView/{components → One/components}/CastCard.tsx +3 -3
- package/src/components/ContentView/{components → One/components}/EpisodeCard.tsx +7 -8
- package/src/components/ContentView/{components → One/components}/GenreTags.tsx +3 -3
- package/src/components/ContentView/{components → One/components}/HeroBanner.tsx +44 -59
- package/src/components/ContentView/{components → One/components}/MiniInfo.tsx +69 -5
- package/src/components/ContentView/{components → One/components}/PlayButton.tsx +1 -1
- package/src/components/ContentView/{components → One/components}/Title.tsx +2 -2
- package/src/components/ContentView/{components → One/components}/TrailerButton.tsx +2 -2
- package/src/components/ContentView/Two/ContentViewTwo.tsx +343 -0
- package/src/components/ContentView/Two/components/AboutSection.tsx +216 -0
- package/src/components/ContentView/Two/components/Details.tsx +193 -0
- package/src/components/ContentView/Two/components/EpisodeCard.tsx +602 -0
- package/src/components/ContentView/Two/components/GenreTags.tsx +123 -0
- package/src/components/ContentView/Two/components/HeroBanner.tsx +402 -0
- package/src/components/ContentView/Two/components/LikeShareActions.tsx +125 -0
- package/src/components/ContentView/Two/components/MoreLikeThisContentList .tsx +305 -0
- package/src/components/ContentView/Two/components/PlayOrTrailer.tsx +133 -0
- package/src/components/ContentView/Two/components/SectionTabs.tsx +177 -0
- package/src/components/ContentView/Two/components/Title.tsx +226 -0
- package/src/components/ContentView/Two/components/index.ts +15 -0
- package/src/components/ContentView/index.ts +7 -1
- package/src/components/Headers/Four.tsx +83 -0
- package/src/components/Headers/Three.tsx +88 -25
- package/src/components/Headers/index.ts +2 -0
- package/src/components/Input/Input.ts +4 -0
- package/src/components/Input/InputThree.tsx +212 -0
- package/src/components/Input/PhoneNumberInput.tsx +4 -2
- package/src/components/Input/PhoneNumberInputTwo.tsx +418 -0
- package/src/components/Loader/Loader.tsx +25 -9
- package/src/components/Logo/Logo.tsx +53 -34
- package/src/components/NewRelease/NewReleaseSheet.tsx +250 -0
- package/src/components/NewRelease/index.ts +1 -0
- package/src/components/Reels/ReelsSeries/MediaControls/BottomControls.tsx +92 -27
- package/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.tsx +81 -1
- package/src/components/Reels/ReelsSeries/MediaControls/RightControls.tsx +4 -1
- package/src/components/Reels/ReelsSeries/Model/SettingModal.tsx +6 -3
- package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +88 -55
- package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +92 -30
- package/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.tsx +35 -38
- package/src/components/Reels/ReelsSeries/types.ts +16 -0
- package/src/components/Reels/ReelsSeries/useReelsWatchProgress.ts +85 -0
- package/src/components/Reels/ReelsSeries/utils/quality.ts +48 -0
- package/src/components/Reels/index.ts +1 -0
- package/src/components/Search/One.tsx +8 -5
- package/src/components/Search/components/SearchCard.tsx +68 -11
- package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +1 -0
- package/src/components/User/WatchHistory/WatchHistory.tsx +1 -0
- package/src/components/User/WatchLater/WatchLater.tsx +1 -0
- package/src/components/common/AppStatusBar.tsx +7 -1
- package/src/components/index.ts +1 -0
- package/src/constants/dummySections.ts +54 -3
- package/src/hooks/Images/index.ts +2 -0
- package/src/hooks/Images/useImageLoader.ts +206 -0
- package/src/hooks/Images/useImageValidation.ts +36 -0
- package/src/hooks/index.ts +3 -0
- package/src/hooks/useAdTracking.ts +349 -0
- package/src/hooks/useCards.ts +228 -0
- package/src/hooks/usePaginatedSection.ts +26 -7
- package/src/hooks/useSplashCache.ts +88 -69
- package/src/theme/ThemeProvider.tsx +15 -2
- package/src/theme/hook/index.ts +0 -1
- package/src/theme/hook/useInternalTheme.ts +22 -13
- package/src/theme/themes.ts +3 -0
- package/src/theme/utils/validateColor.ts +127 -0
- package/src/types/content/content-view.types.ts +43 -1
- package/src/types/sections/index.ts +7 -4
- package/src/utils/colorUtils.ts +70 -0
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +0 -1
- package/lib/module/components/Auth/Login/LoginWithEmail.js +0 -314
- package/lib/module/components/Auth/Login/LoginWithEmail.js.map +0 -1
- package/lib/module/components/Auth/Login/LoginWithPhone.js.map +0 -1
- package/lib/module/components/Auth/OTP/OTP.js.map +0 -1
- package/lib/module/components/Auth/QrLogin/QrLogin.js +0 -313
- package/lib/module/components/Auth/QrLogin/QrLogin.js.map +0 -1
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js +0 -243
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js.map +0 -1
- package/lib/module/components/Auth/SignUp/SignUp.js +0 -352
- package/lib/module/components/Auth/SignUp/SignUp.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +0 -1
- package/lib/module/components/ContentView/ContentView.js.map +0 -1
- package/lib/module/components/ContentView/components/AboutSection.js.map +0 -1
- package/lib/module/components/ContentView/components/CastCard.js.map +0 -1
- package/lib/module/components/ContentView/components/EpisodeCard.js.map +0 -1
- package/lib/module/components/ContentView/components/GenreTags.js.map +0 -1
- package/lib/module/components/ContentView/components/HeroBanner.js.map +0 -1
- package/lib/module/components/ContentView/components/MiniInfo.js.map +0 -1
- package/lib/module/components/ContentView/components/PlayButton.js.map +0 -1
- package/lib/module/components/ContentView/components/Title.js.map +0 -1
- package/lib/module/components/ContentView/components/TrailerButton.js.map +0 -1
- package/lib/module/theme/hook/useThemeStatusBar.js +0 -33
- package/lib/module/theme/hook/useThemeStatusBar.js.map +0 -1
- package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/ContentView.d.ts +0 -15
- package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +0 -1
- package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts +0 -10
- package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts.map +0 -1
- package/src/components/Auth/Login/LoginWithEmail.tsx +0 -441
- package/src/components/Auth/QrLogin/QrLogin.tsx +0 -342
- package/src/components/Auth/QrLogin/components/QrViewArea.tsx +0 -329
- package/src/components/Auth/SignUp/SignUp.tsx +0 -462
- package/src/theme/hook/useThemeStatusBar.ts +0 -42
- /package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.d.ts +0 -0
- /package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.d.ts +0 -0
- /package/lib/typescript/src/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.d.ts +0 -0
- /package/lib/typescript/src/components/ContentView/{components → One/components}/PlayButton.d.ts +0 -0
- /package/lib/typescript/src/components/ContentView/{components → One/components}/TrailerButton.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useCallback","useMemo","StyleSheet","View","Keyboard","SafeAreaView","useForm","Controller","scale","verticalScale","Input","Button","BackgroundLayout","Logo","TextButton","useInternalTheme","HideKeyboard","useKeyboard","BackBtn","Text","RFValue","getResponsiveBottomSpacing","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","LoginWithEmail","memo","title","onSubmit","onSignup","onForgotPassword","onSwitchToPhoneLogin","onTopBackBtnPress","containerStyle","titleStyle","formStyle","inputStyle","inputContainerStyle","loadingSubmitBtn","topBackBtnStyle","minPasswordLength","backgroundImage","logoUri","theme","overrideTheme","text","signupTextProps","signupLinkTextProps","renderLogo","renderForgotPassword","renderEmailHeader","renderSignupPrompt","renderSubmitButton","renderSwitchToPhoneLogin","renderTopBackBtn","isKeyboardOpen","resolvedTheme","isLoading","setIsLoading","useState","control","handleSubmit","formState","errors","isValid","touchedFields","defaultValues","email","password","mode","handleFormSubmit","data","error","console","handleKeyboardDismiss","callback","dismiss","requestAnimationFrame","shouldRender","condition","gradientSplitBackground","isDisabled","source","children","style","styles","safeArea","container","topBackBtnWrapper","onPress","centerContent","width","height","form","name","rules","required","pattern","value","message","render","field","onChange","onBlur","One","label","emailLabel","placeholder","emailPlaceholder","onChangeText","inputText","sanitized","replace","disabled","errorMessage","textContentType","autoCapitalize","keyboardType","autoCorrect","minLength","passwordLabel","passwordPlaceholder","secureTextEntry","spellCheck","autoComplete","forgotPassword","color","colors","button","align","forgotPasswordText","loading","Primary","loginButton","fontSize","loadingText","loadingSubmitBtnText","switchToPhoneLogin","switchPhoneText","underline","bold","signupContainer","bottom","loginRow","loginPrompt","textPrimary","signupPrompt","signupLink","create","flex","paddingBottom","paddingHorizontal","justifyContent","alignItems","position","top","left","zIndex","fontWeight","marginTop","marginBottom","gap","textAlign","marginRight","right","flexDirection","flexWrap"],"sourceRoot":"../../../../../../src","sources":["components/Auth/One/Login/LoginWithEmail.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,WAAW,EAAEC,OAAO,QAAQ,OAAO;AACnD,SACEC,UAAU,EACVC,IAAI,EACJC,QAAQ,EACRC,YAAY,QAGP,cAAc;AACrB,SAASC,OAAO,EAAEC,UAAU,QAAQ,iBAAiB;AACrD,SAASC,KAAK,EAAEC,aAAa,QAAQ,2BAA2B;AAChE,SAASC,KAAK,QAAQ,yBAAsB;AAC5C,SAASC,MAAM,QAAQ,0BAAiB;AACxC,SAASC,gBAAgB,QAAQ,+CAA4C;AAC7E,SAASC,IAAI,QAAQ,uBAAoB;AACzC,OAAOC,UAAU,MAAM,+BAA4B;AACnD,SAASC,gBAAgB,QAAQ,4CAAyC;AAC1E,OAAOC,YAAY,MAAM,mCAAgC;AACzD,SAASC,WAAW,QAAQ,kCAA+B;AAC3D,OAAOC,OAAO,MAAM,4BAAyB;AAC7C,SAASC,IAAI,QAAQ,wBAAe;AAEpC,SAASC,OAAO,QAAQ,kCAAkC;AAC1D,SAASC,0BAA0B,QAAQ,8BAA2B;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AA4DvE,MAAMC,cAA6C,gBAAG7B,KAAK,CAAC8B,IAAI,CAC9D,CAAC;EACCC,KAAK,GAAG,OAA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,UAAU,EAAE,QAAQ;IACpBD,cAAc,EAAE;EAClB,CAAC;EACD7H,KAAK,EAAE;IACL2G,QAAQ,EAAErH,OAAO,CAAC,EAAE,CAAC;IACrB6I,UAAU,EAAE,KAAK;IACjBC,SAAS,EAAEzJ,aAAa,CAAC,CAAC,CAAC;IAC3B0J,YAAY,EAAE1J,aAAa,CAAC,EAAE;EAChC,CAAC;EACDuF,IAAI,EAAE;IACJF,KAAK,EAAE,MAAM;IACbsE,GAAG,EAAE3J,aAAa,CAAC,EAAE;EACvB,CAAC;EACD4H,kBAAkB,EAAE;IAClBgC,SAAS,EAAE,OAAO;IAClBC,WAAW,EAAE9J,KAAK,CAAC,CAAC,CAAC;IACrB0J,SAAS,EAAE,CAACzJ,aAAa,CAAC,EAAE,CAAC;IAC7B0J,YAAY,EAAE1J,aAAa,CAAC,CAAC;EAC/B,CAAC;EACDoI,eAAe,EAAE;IACfqB,SAAS,EAAEzJ,aAAa,CAAC,EAAE;EAC7B,CAAC;EACDuI,eAAe,EAAE;IACfa,QAAQ,EAAE,UAAU;IACpBE,IAAI,EAAE,CAAC;IACPQ,KAAK,EAAE,CAAC;IACRX,UAAU,EAAE;EACd,CAAC;EACDV,QAAQ,EAAE;IACRsB,aAAa,EAAE,KAAK;IACpBb,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBa,QAAQ,EAAE;EACZ,CAAC;EACDtB,WAAW,EAAE;IACXkB,SAAS,EAAE,QAAQ;IACnBC,WAAW,EAAE;EACf;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -9,16 +9,16 @@ import React, { memo, useCallback, useMemo } from 'react';
|
|
|
9
9
|
import { StyleSheet, View } from 'react-native';
|
|
10
10
|
import { useForm, Controller } from 'react-hook-form';
|
|
11
11
|
import { scale, verticalScale } from 'react-native-size-matters';
|
|
12
|
-
import { BackgroundLayout } from "
|
|
13
|
-
import { Logo } from "
|
|
14
|
-
import { Button } from "
|
|
15
|
-
import HideKeyboard from "
|
|
16
|
-
import { useInternalTheme } from "
|
|
17
|
-
import { useKeyboard } from "
|
|
18
|
-
import PhoneNumberInput from "
|
|
19
|
-
import TextButton from "
|
|
20
|
-
import BackBtn from "
|
|
21
|
-
import { Text } from "
|
|
12
|
+
import { BackgroundLayout } from "../../../BackgroundLayout/BackgroundLayout.js";
|
|
13
|
+
import { Logo } from "../../../Logo/Logo.js";
|
|
14
|
+
import { Button } from "../../../Button/index.js";
|
|
15
|
+
import HideKeyboard from "../../../Keyboard/HideKeyboard.js";
|
|
16
|
+
import { useInternalTheme } from "../../../../theme/hook/useInternalTheme.js";
|
|
17
|
+
import { useKeyboard } from "../../../../hooks/useKeyboard.js";
|
|
18
|
+
import PhoneNumberInput from "../../../Input/PhoneNumberInput.js";
|
|
19
|
+
import TextButton from "../../../Button/TextButton.js";
|
|
20
|
+
import BackBtn from "../../../Button/BackBtn.js";
|
|
21
|
+
import { Text } from "../../../Text/index.js";
|
|
22
22
|
import { RFValue } from 'react-native-responsive-fontsize';
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
const DEFAULT_TEXT = {
|
|
@@ -154,7 +154,9 @@ const LoginWithPhone = ({
|
|
|
154
154
|
children: /*#__PURE__*/_jsxs(View, {
|
|
155
155
|
style: styles.centerContent,
|
|
156
156
|
children: [renderLogo ? renderLogo() : logoUri ? /*#__PURE__*/_jsx(Logo, {
|
|
157
|
-
logoUri: logoUri
|
|
157
|
+
logoUri: logoUri,
|
|
158
|
+
width: 100,
|
|
159
|
+
height: 100
|
|
158
160
|
}) : null, renderPhoneHeader ? renderPhoneHeader() : /*#__PURE__*/_jsx(Text, {
|
|
159
161
|
style: [styles.title, titleStyle],
|
|
160
162
|
children: title
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","memo","useCallback","useMemo","StyleSheet","View","useForm","Controller","scale","verticalScale","BackgroundLayout","Logo","Button","HideKeyboard","useInternalTheme","useKeyboard","PhoneNumberInput","TextButton","BackBtn","Text","RFValue","jsx","_jsx","jsxs","_jsxs","DEFAULT_TEXT","phoneLabel","phonePlaceholder","loginButton","loadingSubmitBtnText","loginWithEmailButton","LoginWithPhone","title","onSubmit","onTopBackBtnPress","containerStyle","titleStyle","formStyle","inputStyle","topBackBtnStyle","inputContainerStyle","backgroundImage","loadingSubmitBtn","logoUri","theme","overrideTheme","text","renderLogo","renderPhoneHeader","renderSubmitButton","renderLoginWithEmail","onLoginWithEmail","renderTopBackBtn","isKeyboardOpen","resolvedTheme","isLoading","setIsLoading","useState","control","handleSubmit","formState","errors","isValid","defaultValues","phone","fullNumber","countryCode","formattedNumber","mode","handleFormSubmit","data","error","console","handleEmailLogin","requestAnimationFrame","gradientSplitBackground","isDisabled","styles","create","container","flex","width","paddingHorizontal","justifyContent","alignItems","topBackBtnWrapper","position","top","left","zIndex","centerContent","maxWidth","fontSize","fontWeight","marginTop","marginBottom","color","colors","textPrimary","form","gap","switchEmailText","shouldRender","condition","source","children","style","testID","onPress","height","name","rules","validate","value","length","render","field","onChange","onChangeText","label","placeholder","disabled","errorMessage","message","accessibilityLabel","loading","Primary","loadingText","button","underline","bold","align"],"sourceRoot":"../../../../../../src","sources":["components/Auth/One/Login/LoginWithPhone.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,WAAW,EAAEC,OAAO,QAAQ,OAAO;AACzD,SAASC,UAAU,EAAEC,IAAI,QAAwC,cAAc;AAC/E,SAASC,OAAO,EAAEC,UAAU,QAAQ,iBAAiB;AACrD,SAASC,KAAK,EAAEC,aAAa,QAAQ,2BAA2B;AAEhE,SAASC,gBAAgB,QAAQ,+CAA4C;AAC7E,SAASC,IAAI,QAAQ,uBAAoB;AACzC,SAASC,MAAM,QAAQ,0BAAiB;AACxC,OAAOC,YAAY,MAAM,mCAAgC;AACzD,SAASC,gBAAgB,QAAQ,4CAAyC;AAC1E,SAASC,WAAW,QAAQ,kCAA+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,EAAE7B,MAAM,CAACwB,eAAgB;YAC9B4B,SAAS;YACTC,IAAI;YACJC,KAAK,EAAC;UAAQ,CACf,CACF,CAAC;QAAA,CACA;MAAC,CACK,CAAC;IAAA,CACX;EAAC,CACS,CAAC;AAEvB,CAAC;AAED,4BAAelI,IAAI,CAAC8B,cAAc,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { memo, useMemo, useState, useCallback, useEffect } from 'react';
|
|
4
|
+
import { View, StyleSheet, Platform, SafeAreaView } from 'react-native';
|
|
5
|
+
import { CodeField, Cursor, useBlurOnFulfill, useClearByFocusCell } from 'react-native-confirmation-code-field';
|
|
6
|
+
import { scale, verticalScale } from 'react-native-size-matters';
|
|
7
|
+
import { BackgroundLayout } from "../../../BackgroundLayout/BackgroundLayout.js";
|
|
8
|
+
import HideKeyboard from "../../../Keyboard/HideKeyboard.js";
|
|
9
|
+
import { useKeyboard } from "../../../../hooks/useKeyboard.js";
|
|
10
|
+
import BackBtn from "../../../Button/BackBtn.js";
|
|
11
|
+
import { useInternalTheme } from "../../../../theme/hook/useInternalTheme.js";
|
|
12
|
+
import { Logo } from "../../../Logo/Logo.js";
|
|
13
|
+
import { Button } from "../../../Button/index.js";
|
|
14
|
+
import Display from "../../../../utils/Display.js";
|
|
15
|
+
import { Text } from "../../../Text/index.js";
|
|
16
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
17
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
|
+
const DEFAULT_TEXT = {
|
|
19
|
+
otpLabel: 'Enter OTP',
|
|
20
|
+
otpPlaceholder: '••••',
|
|
21
|
+
submitButton: 'Verify OTP',
|
|
22
|
+
loadingSubmitBtnText: 'Verifying...',
|
|
23
|
+
otpSentText: 'A One-Time OTP has been sent to',
|
|
24
|
+
resendOtpText: 'Resend OTP',
|
|
25
|
+
resendOtpCountdownText: 'Resend OTP in'
|
|
26
|
+
};
|
|
27
|
+
const OTP = ({
|
|
28
|
+
title,
|
|
29
|
+
onSubmit,
|
|
30
|
+
onTopBackBtnPress,
|
|
31
|
+
containerStyle,
|
|
32
|
+
titleStyle,
|
|
33
|
+
formStyle,
|
|
34
|
+
backBtnStyle,
|
|
35
|
+
backgroundImage,
|
|
36
|
+
loading = false,
|
|
37
|
+
logoUri,
|
|
38
|
+
theme: overrideTheme,
|
|
39
|
+
otpDigitCount = 4,
|
|
40
|
+
keyboardType = 'number-pad',
|
|
41
|
+
phoneNumber,
|
|
42
|
+
enableAutoFill = true,
|
|
43
|
+
autoSubmitOnFill = true,
|
|
44
|
+
text = DEFAULT_TEXT,
|
|
45
|
+
onResendOtp,
|
|
46
|
+
renderResendButton,
|
|
47
|
+
resendDisabledTime = 30,
|
|
48
|
+
renderLogo,
|
|
49
|
+
renderSubmitButton,
|
|
50
|
+
renderBackButton,
|
|
51
|
+
renderOtpHeader,
|
|
52
|
+
renderOtpInput,
|
|
53
|
+
renderPhoneText,
|
|
54
|
+
cellStyle,
|
|
55
|
+
focusCellStyle
|
|
56
|
+
}) => {
|
|
57
|
+
const {
|
|
58
|
+
theme: resolvedTheme
|
|
59
|
+
} = useInternalTheme(overrideTheme);
|
|
60
|
+
const {
|
|
61
|
+
isKeyboardOpen
|
|
62
|
+
} = useKeyboard();
|
|
63
|
+
const [otp, setOtp] = useState('');
|
|
64
|
+
const [isSubmitting, setIsSubmitting] = useState(false);
|
|
65
|
+
const [resendTimer, setResendTimer] = useState(resendDisabledTime);
|
|
66
|
+
const ref = useBlurOnFulfill({
|
|
67
|
+
value: otp,
|
|
68
|
+
cellCount: otpDigitCount
|
|
69
|
+
});
|
|
70
|
+
const [codeFieldProps, getCellOnLayoutHandler] = useClearByFocusCell({
|
|
71
|
+
value: otp,
|
|
72
|
+
setValue: setOtp
|
|
73
|
+
});
|
|
74
|
+
const styles = useMemo(() => StyleSheet.create({
|
|
75
|
+
safeArea: {
|
|
76
|
+
flex: 1,
|
|
77
|
+
width: '100%',
|
|
78
|
+
paddingBottom: verticalScale(12)
|
|
79
|
+
},
|
|
80
|
+
container: {
|
|
81
|
+
flex: 1,
|
|
82
|
+
width: '100%',
|
|
83
|
+
paddingHorizontal: scale(16),
|
|
84
|
+
justifyContent: 'center',
|
|
85
|
+
alignItems: 'center'
|
|
86
|
+
},
|
|
87
|
+
topBackBtnWrapper: {
|
|
88
|
+
position: 'absolute',
|
|
89
|
+
top: verticalScale(2),
|
|
90
|
+
left: 0,
|
|
91
|
+
zIndex: 10
|
|
92
|
+
},
|
|
93
|
+
centerContent: {
|
|
94
|
+
flex: 1,
|
|
95
|
+
width: '100%',
|
|
96
|
+
maxWidth: scale(400),
|
|
97
|
+
alignItems: 'center',
|
|
98
|
+
justifyContent: 'center',
|
|
99
|
+
gap: verticalScale(4)
|
|
100
|
+
},
|
|
101
|
+
title: {
|
|
102
|
+
fontSize: RFValue(21),
|
|
103
|
+
fontWeight: '700',
|
|
104
|
+
marginTop: verticalScale(8),
|
|
105
|
+
color: resolvedTheme.colors.textPrimary,
|
|
106
|
+
textAlign: 'center'
|
|
107
|
+
},
|
|
108
|
+
sentText: {
|
|
109
|
+
fontSize: RFValue(12),
|
|
110
|
+
color: resolvedTheme.colors.onSurfaceVariant,
|
|
111
|
+
textAlign: 'center',
|
|
112
|
+
lineHeight: scale(18)
|
|
113
|
+
},
|
|
114
|
+
sentNumberContainer: {
|
|
115
|
+
marginTop: verticalScale(8),
|
|
116
|
+
alignItems: 'center'
|
|
117
|
+
},
|
|
118
|
+
form: {
|
|
119
|
+
width: '100%',
|
|
120
|
+
gap: verticalScale(20),
|
|
121
|
+
alignItems: 'center',
|
|
122
|
+
marginTop: verticalScale(24),
|
|
123
|
+
marginBottom: isKeyboardOpen ? verticalScale(20) : 0
|
|
124
|
+
},
|
|
125
|
+
codeFieldRoot: {
|
|
126
|
+
width: Display.setWidth(80),
|
|
127
|
+
marginTop: scale(10)
|
|
128
|
+
},
|
|
129
|
+
cell: {
|
|
130
|
+
width: scale(55),
|
|
131
|
+
height: scale(55),
|
|
132
|
+
fontSize: RFValue(26),
|
|
133
|
+
fontWeight: '500',
|
|
134
|
+
paddingTop: Platform.OS === 'ios' ? scale(9) : scale(7),
|
|
135
|
+
borderWidth: scale(1),
|
|
136
|
+
borderRadius: scale(8),
|
|
137
|
+
justifyContent: 'center',
|
|
138
|
+
alignItems: 'center',
|
|
139
|
+
textAlign: 'center',
|
|
140
|
+
alignSelf: 'center',
|
|
141
|
+
overflow: 'hidden',
|
|
142
|
+
color: resolvedTheme.colors.textPrimary,
|
|
143
|
+
borderColor: resolvedTheme.colors.outline
|
|
144
|
+
},
|
|
145
|
+
focusCell: {
|
|
146
|
+
borderColor: resolvedTheme.colors.primary,
|
|
147
|
+
backgroundColor: resolvedTheme.colors.surfaceVariant
|
|
148
|
+
}
|
|
149
|
+
}), [isKeyboardOpen, resolvedTheme.colors.onSurfaceVariant, resolvedTheme.colors.outline, resolvedTheme.colors.primary, resolvedTheme.colors.surfaceVariant, resolvedTheme.colors.textPrimary]);
|
|
150
|
+
useEffect(() => {
|
|
151
|
+
if (resendTimer <= 0) return;
|
|
152
|
+
const timer = setInterval(() => {
|
|
153
|
+
setResendTimer(prev => prev - 1);
|
|
154
|
+
}, 1000);
|
|
155
|
+
return () => clearInterval(timer);
|
|
156
|
+
}, [resendTimer]);
|
|
157
|
+
const handleSubmit = useCallback(async () => {
|
|
158
|
+
if (!onSubmit || otp.length !== otpDigitCount) return;
|
|
159
|
+
setIsSubmitting(true);
|
|
160
|
+
try {
|
|
161
|
+
await onSubmit({
|
|
162
|
+
otp
|
|
163
|
+
});
|
|
164
|
+
} catch (error) {
|
|
165
|
+
console.error('OTP submission error:', error);
|
|
166
|
+
} finally {
|
|
167
|
+
setIsSubmitting(false);
|
|
168
|
+
}
|
|
169
|
+
}, [onSubmit, otp, otpDigitCount]);
|
|
170
|
+
|
|
171
|
+
// Auto-submit when OTP is auto-filled and complete
|
|
172
|
+
useEffect(() => {
|
|
173
|
+
if (autoSubmitOnFill && otp.length === otpDigitCount && !isSubmitting && !loading && onSubmit) {
|
|
174
|
+
const timer = setTimeout(() => {
|
|
175
|
+
handleSubmit();
|
|
176
|
+
}, 300); // Small delay to ensure OTP is fully set
|
|
177
|
+
return () => clearTimeout(timer);
|
|
178
|
+
}
|
|
179
|
+
return;
|
|
180
|
+
}, [otp, otpDigitCount, autoSubmitOnFill, isSubmitting, loading, onSubmit, handleSubmit]);
|
|
181
|
+
const handleResendOtp = useCallback(() => {
|
|
182
|
+
if (onResendOtp) {
|
|
183
|
+
onResendOtp();
|
|
184
|
+
setResendTimer(resendDisabledTime);
|
|
185
|
+
}
|
|
186
|
+
}, [onResendOtp, resendDisabledTime]);
|
|
187
|
+
const isLoading = useMemo(() => loading || isSubmitting, [loading, isSubmitting]);
|
|
188
|
+
const isSubmitDisabled = useMemo(() => otp.length !== otpDigitCount || isLoading, [otp.length, otpDigitCount, isLoading]);
|
|
189
|
+
const shouldRender = useMemo(() => condition => typeof condition === 'function' || !!condition, []);
|
|
190
|
+
|
|
191
|
+
// Memoize gradient split background
|
|
192
|
+
const gradientSplitBackground = useMemo(() => isKeyboardOpen ? 0.3 : 0.4, [isKeyboardOpen]);
|
|
193
|
+
return /*#__PURE__*/_jsx(BackgroundLayout, {
|
|
194
|
+
theme: overrideTheme,
|
|
195
|
+
backgroundImage: backgroundImage?.source,
|
|
196
|
+
gradientSplitBackground: gradientSplitBackground,
|
|
197
|
+
children: /*#__PURE__*/_jsx(SafeAreaView, {
|
|
198
|
+
style: styles.safeArea,
|
|
199
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
200
|
+
style: [styles.container, containerStyle],
|
|
201
|
+
children: [shouldRender(renderBackButton || onTopBackBtnPress) && /*#__PURE__*/_jsx(View, {
|
|
202
|
+
style: styles.topBackBtnWrapper,
|
|
203
|
+
children: renderBackButton ? renderBackButton({
|
|
204
|
+
onPress: onTopBackBtnPress ?? (() => {})
|
|
205
|
+
}) : /*#__PURE__*/_jsx(BackBtn, {
|
|
206
|
+
theme: overrideTheme,
|
|
207
|
+
style: backBtnStyle,
|
|
208
|
+
onPress: onTopBackBtnPress
|
|
209
|
+
})
|
|
210
|
+
}), /*#__PURE__*/_jsx(HideKeyboard, {
|
|
211
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
212
|
+
style: styles.centerContent,
|
|
213
|
+
children: [renderLogo ? renderLogo() : logoUri ? /*#__PURE__*/_jsx(Logo, {
|
|
214
|
+
logoUri: logoUri,
|
|
215
|
+
width: 100,
|
|
216
|
+
height: 100
|
|
217
|
+
}) : null, renderOtpHeader ? renderOtpHeader() : /*#__PURE__*/_jsx(Text, {
|
|
218
|
+
style: [styles.title, titleStyle],
|
|
219
|
+
children: title
|
|
220
|
+
}), phoneNumber && (renderPhoneText ? renderPhoneText(phoneNumber) : /*#__PURE__*/_jsxs(View, {
|
|
221
|
+
style: styles.sentNumberContainer,
|
|
222
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
223
|
+
style: styles.sentText,
|
|
224
|
+
children: text?.otpSentText
|
|
225
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
226
|
+
style: {
|
|
227
|
+
fontWeight: '700',
|
|
228
|
+
fontSize: RFValue(13),
|
|
229
|
+
marginTop: verticalScale(4),
|
|
230
|
+
color: resolvedTheme.colors.primary
|
|
231
|
+
},
|
|
232
|
+
children: phoneNumber
|
|
233
|
+
})]
|
|
234
|
+
})), /*#__PURE__*/_jsxs(View, {
|
|
235
|
+
style: [styles.form, formStyle],
|
|
236
|
+
children: [renderOtpInput ? renderOtpInput({
|
|
237
|
+
value: otp,
|
|
238
|
+
onChange: val => setOtp(val.replace(/\D/g, '')),
|
|
239
|
+
isFocused: Array.from({
|
|
240
|
+
length: otpDigitCount
|
|
241
|
+
}, (_, i) => otp.length === i)
|
|
242
|
+
}) : /*#__PURE__*/_jsx(CodeField, {
|
|
243
|
+
ref: ref,
|
|
244
|
+
...codeFieldProps,
|
|
245
|
+
value: otp,
|
|
246
|
+
onChangeText: input => setOtp(input.replace(/\D/g, '')),
|
|
247
|
+
cellCount: otpDigitCount,
|
|
248
|
+
rootStyle: styles.codeFieldRoot,
|
|
249
|
+
keyboardType: keyboardType,
|
|
250
|
+
textContentType: enableAutoFill ? 'oneTimeCode' : 'none',
|
|
251
|
+
autoComplete: enableAutoFill ? Platform.OS === 'android' ? 'sms-otp' : 'off' : 'off',
|
|
252
|
+
renderCell: ({
|
|
253
|
+
index,
|
|
254
|
+
symbol,
|
|
255
|
+
isFocused
|
|
256
|
+
}) => /*#__PURE__*/_jsx(Text, {
|
|
257
|
+
style: [styles.cell, cellStyle, isFocused && styles.focusCell, isFocused && focusCellStyle],
|
|
258
|
+
onLayout: getCellOnLayoutHandler(index),
|
|
259
|
+
children: symbol || (isFocused ? /*#__PURE__*/_jsx(Cursor, {}) : null)
|
|
260
|
+
}, index)
|
|
261
|
+
}), renderSubmitButton ? renderSubmitButton({
|
|
262
|
+
onPress: handleSubmit,
|
|
263
|
+
disabled: isSubmitDisabled,
|
|
264
|
+
loading: isLoading
|
|
265
|
+
}) : /*#__PURE__*/_jsx(Button.Primary, {
|
|
266
|
+
title: text.submitButton || DEFAULT_TEXT.submitButton,
|
|
267
|
+
theme: overrideTheme,
|
|
268
|
+
onPress: handleSubmit,
|
|
269
|
+
loadingText: text.loadingSubmitBtnText,
|
|
270
|
+
titleStyle: {
|
|
271
|
+
fontSize: RFValue(13)
|
|
272
|
+
},
|
|
273
|
+
disabled: isSubmitDisabled,
|
|
274
|
+
loading: isLoading
|
|
275
|
+
}), !isKeyboardOpen && /*#__PURE__*/_jsx(View, {
|
|
276
|
+
style: {
|
|
277
|
+
alignItems: 'center',
|
|
278
|
+
marginTop: verticalScale(10)
|
|
279
|
+
},
|
|
280
|
+
children: renderResendButton ? renderResendButton({
|
|
281
|
+
onPress: handleResendOtp,
|
|
282
|
+
disabled: resendTimer > 0
|
|
283
|
+
}) : /*#__PURE__*/_jsx(Text, {
|
|
284
|
+
onPress: resendTimer <= 0 ? handleResendOtp : undefined,
|
|
285
|
+
style: {
|
|
286
|
+
fontSize: RFValue(12),
|
|
287
|
+
color: resendTimer > 0 ? resolvedTheme.colors.onSurfaceVariant : resolvedTheme.colors.primary,
|
|
288
|
+
textAlign: 'center'
|
|
289
|
+
},
|
|
290
|
+
children: resendTimer > 0 ? `${text?.resendOtpCountdownText || DEFAULT_TEXT.resendOtpCountdownText} ${resendTimer}s` : text?.resendOtpText || DEFAULT_TEXT.resendOtpText
|
|
291
|
+
})
|
|
292
|
+
})]
|
|
293
|
+
})]
|
|
294
|
+
})
|
|
295
|
+
})]
|
|
296
|
+
})
|
|
297
|
+
})
|
|
298
|
+
});
|
|
299
|
+
};
|
|
300
|
+
export default /*#__PURE__*/memo(OTP);
|
|
301
|
+
//# sourceMappingURL=OTP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","memo","useMemo","useState","useCallback","useEffect","View","StyleSheet","Platform","SafeAreaView","CodeField","Cursor","useBlurOnFulfill","useClearByFocusCell","scale","verticalScale","BackgroundLayout","HideKeyboard","useKeyboard","BackBtn","useInternalTheme","Logo","Button","Display","Text","RFValue","jsx","_jsx","jsxs","_jsxs","DEFAULT_TEXT","otpLabel","otpPlaceholder","submitButton","loadingSubmitBtnText","otpSentText","resendOtpText","resendOtpCountdownText","OTP","title","onSubmit","onTopBackBtnPress","containerStyle","titleStyle","formStyle","backBtnStyle","backgroundImage","loading","logoUri","theme","overrideTheme","otpDigitCount","keyboardType","phoneNumber","enableAutoFill","autoSubmitOnFill","text","onResendOtp","renderResendButton","resendDisabledTime","renderLogo","renderSubmitButton","renderBackButton","renderOtpHeader","renderOtpInput","renderPhoneText","cellStyle","focusCellStyle","resolvedTheme","isKeyboardOpen","otp","setOtp","isSubmitting","setIsSubmitting","resendTimer","setResendTimer","ref","value","cellCount","codeFieldProps","getCellOnLayoutHandler","setValue","styles","create","safeArea","flex","width","paddingBottom","container","paddingHorizontal","justifyContent","alignItems","topBackBtnWrapper","position","top","left","zIndex","centerContent","maxWidth","gap","fontSize","fontWeight","marginTop","color","colors","textPrimary","textAlign","sentText","onSurfaceVariant","lineHeight","sentNumberContainer","form","marginBottom","codeFieldRoot","setWidth","cell","height","paddingTop","OS","borderWidth","borderRadius","alignSelf","overflow","borderColor","outline","focusCell","primary","backgroundColor","surfaceVariant","timer","setInterval","prev","clearInterval","handleSubmit","length","error","console","setTimeout","clearTimeout","handleResendOtp","isLoading","isSubmitDisabled","shouldRender","condition","gradientSplitBackground","source","children","style","onPress","onChange","val","replace","isFocused","Array","from","_","i","onChangeText","input","rootStyle","textContentType","autoComplete","renderCell","index","symbol","onLayout","disabled","Primary","loadingText","undefined"],"sourceRoot":"../../../../../../src","sources":["components/Auth/One/OTP/OTP.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,OAAO,EAAEC,QAAQ,EAAEC,WAAW,EAAEC,SAAS,QAAQ,OAAO;AAC9E,SACEC,IAAI,EAIJC,UAAU,EACVC,QAAQ,EACRC,YAAY,QACP,cAAc;AACrB,SACEC,SAAS,EACTC,MAAM,EACNC,gBAAgB,EAChBC,mBAAmB,QACd,sCAAsC;AAC7C,SAASC,KAAK,EAAEC,aAAa,QAAQ,2BAA2B;AAEhE,SAASC,gBAAgB,QAAQ,+CAA4C;AAC7E,OAAOC,YAAY,MAAM,mCAAgC;AACzD,SAASC,WAAW,QAAQ,kCAA+B;AAC3D,OAAOC,OAAO,MAAM,4BAAyB;AAC7C,SAASC,gBAAgB,QAAQ,4CAAyC;AAC1E,SAASC,IAAI,QAAQ,uBAAoB;AACzC,SAASC,MAAM,QAAQ,0BAAiB;AACxC,OAAOC,OAAO,MAAM,8BAA2B;AAC/C,SAASC,IAAI,QAAQ,wBAAe;AAEpC,SAASC,OAAO,QAAQ,kCAAkC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AA8D3D,MAAMC,YAA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