@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","Platform","Keyboard","SafeAreaView","useForm","Controller","scale","verticalScale","Input","Button","BackgroundLayout","Logo","TextButton","useInternalTheme","useKeyboard","HideKeyboard","BackBtn","Text","RFValue","getResponsiveBottomSpacing","jsx","_jsx","jsxs","_jsxs","Signup","memo","title","onSubmit","onLogin","onTopBackBtnPress","containerStyle","titleStyle","formStyle","inputStyle","inputContainerStyle","topBackBtnStyle","minPasswordLength","loadingSubmitBtn","backgroundImage","logoUri","theme","overrideTheme","text","loginTextProps","loginLinkTextProps","renderLogo","renderSingUpHeader","renderLoginPrompt","renderSubmitButton","renderTopBackBtn","control","handleSubmit","formState","errors","isValid","touchedFields","getValues","defaultValues","username","email","password","confirmPassword","mode","resolvedTheme","isKeyboardOpen","isLoading","setIsLoading","useState","handleFormSubmit","data","error","console","shouldRender","condition","gradientSplitBackground","OS","isDisabled","source","children","style","styles","safeArea","container","topBackBtnWrapper","onPress","keyboardVerticalOffset","centerContent","width","height","form","name","rules","required","minLength","value","message","render","field","onChange","onBlur","One","placeholder","usernamePlaceholder","label","usernameLabel","onChangeText","disabled","errorMessage","pattern","emailPlaceholder","emailLabel","inputText","sanitized","replace","textContentType","autoCapitalize","keyboardType","autoCorrect","passwordPlaceholder","passwordLabel","secureTextEntry","spellCheck","autoComplete","validate","confirmPasswordPlaceholder","confirmPasswordLabel","loading","Primary","signupButton","loadingText","loadingSubmitBtnText","loginContainerWrapper","bottom","loginContainer","loginRow","loginPrompt","color","colors","textPrimary","loginLink","dismiss","requestAnimationFrame","bold","underline","button","create","flex","paddingBottom","paddingHorizontal","justifyContent","alignItems","position","top","left","zIndex","fontSize","fontWeight","marginTop","marginBottom","gap","right","flexDirection","flexWrap","textAlign","marginRight"],"sourceRoot":"../../../../../../src","sources":["components/Auth/One/SignUp/SignUp.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,WAAW,EAAEC,OAAO,QAAQ,OAAO;AACnD,SACEC,UAAU,EACVC,IAAI,EACJC,QAAQ,EACRC,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,SAASC,WAAW,QAAQ,kCAA+B;AAC3D,OAAOC,YAAY,MAAM,mCAAgC;AACzD,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,IAAA,IAAAC,KAAA;AAyDvE,MAAMC,MAA6B,gBAAG5B,KAAK,CAAC6B,IAAI,CAC9C,CAAC;EACCC,KAAK,GAAG,SAAS;EACjBC,QAAQ;EACRC,OAAO;EACPC,iBAAiB;EACjBC,cAAc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ACtB,CAAC;EACD4H,qBAAqB,EAAE;IACrBoB,QAAQ,EAAE,UAAU;IACpBE,IAAI,EAAE,CAAC;IACPO,KAAK,EAAE,CAAC;IACRV,UAAU,EAAE;EACd,CAAC;EACDhB,QAAQ,EAAE;IACR2B,aAAa,EAAE,KAAK;IACpBX,UAAU,EAAE,QAAQ;IACpBD,cAAc,EAAE,QAAQ;IACxBa,QAAQ,EAAE;EACZ,CAAC;EACD3B,WAAW,EAAE;IACX4B,SAAS,EAAE,QAAQ;IACnBC,WAAW,EAAE;EACf,CAAC;EACD/B,cAAc,EAAE;IACdiB,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -9,9 +9,10 @@ import React, { useEffect, useMemo, useCallback } from 'react';
|
|
|
9
9
|
import SplashImage from "./components/SplashImage/SplashImage.js";
|
|
10
10
|
import SplashVideo from "./components/SplashVideo/SplashVideo.js";
|
|
11
11
|
import SplashLottie from "./components/SplashLottie/SplashLottie.js";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
12
|
+
import { useInternalTheme } from "../../../../theme/hook/useInternalTheme.js";
|
|
13
|
+
import { BackgroundLayout } from "../../../BackgroundLayout/BackgroundLayout.js";
|
|
14
|
+
import { useSplashCache } from "../../../../hooks/useSplashCache.js";
|
|
15
|
+
import { AppStatusBar } from "../../../common/AppStatusBar.js";
|
|
15
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
17
|
const DEFAULT_IMAGE_TIMEOUT = 5;
|
|
17
18
|
const FALLBACK_TIMEOUT = 0.5;
|
|
@@ -29,6 +30,7 @@ export const SplashScreen = /*#__PURE__*/React.memo(({
|
|
|
29
30
|
onRedirect,
|
|
30
31
|
theme: overrideTheme
|
|
31
32
|
}) => {
|
|
33
|
+
useInternalTheme(overrideTheme);
|
|
32
34
|
const {
|
|
33
35
|
source: splashSource,
|
|
34
36
|
type: splashType = 'image',
|
|
@@ -125,10 +127,11 @@ export const SplashScreen = /*#__PURE__*/React.memo(({
|
|
|
125
127
|
case 'image':
|
|
126
128
|
default:
|
|
127
129
|
return /*#__PURE__*/_jsx(SplashImage, {
|
|
128
|
-
...splashProps
|
|
130
|
+
...splashProps,
|
|
131
|
+
theme: overrideTheme
|
|
129
132
|
});
|
|
130
133
|
}
|
|
131
|
-
}, [splashType, isVideoFile,
|
|
134
|
+
}, [splashType, isVideoFile, splashProps, videoOnEnd, isLottieFile, lottieOnAnimationFinish, overrideTheme]);
|
|
132
135
|
return /*#__PURE__*/_jsxs(BackgroundLayout, {
|
|
133
136
|
...backgroundLayoutProps,
|
|
134
137
|
children: [/*#__PURE__*/_jsx(AppStatusBar, {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useEffect","useMemo","useCallback","SplashImage","SplashVideo","SplashLottie","useInternalTheme","BackgroundLayout","useSplashCache","AppStatusBar","jsx","_jsx","jsxs","_jsxs","DEFAULT_IMAGE_TIMEOUT","FALLBACK_TIMEOUT","VIDEO_EXTENSIONS","LOTTIE_EXTENSIONS","SplashScreen","memo","splashScreenConfig","innerContainerStyle","backgroundImage","gradientSplitBackground","resizeMode","onRedirect","theme","overrideTheme","source","splashSource","type","splashType","width","height","isStatic","screenTime","fullscreen","backgroundColor","splashBgColor","isRemote","startsWith","isImageSplash","backgroundImageUrl","undefined","data","logoUrl","backgroundUrl","resolvedSplashUri","logoPath","displayTimeout","handleRedirect","err","console","error","timeoutSec","timer","setTimeout","clearTimeout","splashProps","isVideoFile","some","ext","toLowerCase","endsWith","isLottieFile","videoOnEnd","lottieOnAnimationFinish","backgroundLayoutProps","onImageError","appStatusBarTheme","dark","background","light","renderSplashContent","onEnd","onAnimationFinish","children"],"sourceRoot":"../../../../../../src","sources":["components/Auth/One/SplashScreen/SplashScreen.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,EAAEC,WAAW,QAAQ,OAAO;AA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C;EAEF,oBACEd,KAAA,CAACN,gBAAgB;IAAA,GAAK4D,qBAAqB;IAAAS,QAAA,gBACzCjE,IAAA,CAACF,YAAY;MAACiB,KAAK,EAAE2C;IAAkB,CAAE,CAAC,EACzCI,mBAAmB,CAAC,CAAC;EAAA,CACN,CAAC;AAEvB,CACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { useState, useMemo, useCallback, useEffect } from 'react';
|
|
4
|
+
import FastImage from 'react-native-fast-image';
|
|
5
|
+
import { ActivityIndicator, View, StyleSheet } from 'react-native';
|
|
6
|
+
import Display from "../../../../../../utils/Display.js";
|
|
7
|
+
import { useInternalTheme } from "../../../../../../theme/hook/useInternalTheme.js";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
const SplashImage = ({
|
|
10
|
+
fullscreen,
|
|
11
|
+
height,
|
|
12
|
+
resizeMode = 'contain',
|
|
13
|
+
source,
|
|
14
|
+
width,
|
|
15
|
+
theme: themeOverride
|
|
16
|
+
}) => {
|
|
17
|
+
const {
|
|
18
|
+
theme
|
|
19
|
+
} = useInternalTheme(themeOverride);
|
|
20
|
+
const [isLoading, setIsLoading] = useState(!!source);
|
|
21
|
+
|
|
22
|
+
// Reset loading state when source changes
|
|
23
|
+
useEffect(() => {
|
|
24
|
+
if (source) {
|
|
25
|
+
setIsLoading(true);
|
|
26
|
+
}
|
|
27
|
+
}, [source]);
|
|
28
|
+
const imageStyles = useMemo(() => ({
|
|
29
|
+
width: fullscreen ? Display.fullWidth : width,
|
|
30
|
+
height: fullscreen ? Display.fullHeight : height,
|
|
31
|
+
flex: 1
|
|
32
|
+
}), [fullscreen, width, height]);
|
|
33
|
+
const handleLoadEnd = useCallback(() => {
|
|
34
|
+
setIsLoading(false);
|
|
35
|
+
}, []);
|
|
36
|
+
const handleError = useCallback(() => {
|
|
37
|
+
setIsLoading(false);
|
|
38
|
+
}, []);
|
|
39
|
+
|
|
40
|
+
// Memoize URI resolution
|
|
41
|
+
const resolvedUri = useMemo(() => {
|
|
42
|
+
if (!source) return '';
|
|
43
|
+
if (source.startsWith('http') || source.startsWith('https') || source.startsWith('file://')) return source;
|
|
44
|
+
return `file://${source}`;
|
|
45
|
+
}, [source]);
|
|
46
|
+
|
|
47
|
+
// Memoize image source
|
|
48
|
+
const imageSource = useMemo(() => ({
|
|
49
|
+
uri: resolvedUri
|
|
50
|
+
}), [resolvedUri]);
|
|
51
|
+
if (!source) return null;
|
|
52
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
53
|
+
style: styles.container,
|
|
54
|
+
children: [isLoading && /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
55
|
+
size: "large",
|
|
56
|
+
style: styles.loader,
|
|
57
|
+
color: theme.colors.primary
|
|
58
|
+
}), /*#__PURE__*/_jsx(FastImage, {
|
|
59
|
+
source: imageSource,
|
|
60
|
+
onLoadEnd: handleLoadEnd,
|
|
61
|
+
style: imageStyles,
|
|
62
|
+
resizeMode: resizeMode,
|
|
63
|
+
onError: handleError
|
|
64
|
+
})]
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
const styles = StyleSheet.create({
|
|
68
|
+
container: {
|
|
69
|
+
flex: 1,
|
|
70
|
+
width: Display.fullWidth,
|
|
71
|
+
height: Display.fullHeight,
|
|
72
|
+
justifyContent: 'center',
|
|
73
|
+
alignItems: 'center'
|
|
74
|
+
},
|
|
75
|
+
loader: {
|
|
76
|
+
position: 'absolute'
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
export default /*#__PURE__*/React.memo(SplashImage);
|
|
80
|
+
//# sourceMappingURL=SplashImage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useState","useMemo","useCallback","useEffect","FastImage","ActivityIndicator","View","StyleSheet","Display","useInternalTheme","jsx","_jsx","jsxs","_jsxs","SplashImage","fullscreen","height","resizeMode","source","width","theme","themeOverride","isLoading","setIsLoading","imageStyles","fullWidth","fullHeight","flex","handleLoadEnd","handleError","resolvedUri","startsWith","imageSource","uri","style","styles","container","children","size","loader","color","colors","primary","onLoadEnd","onError","create","justifyContent","alignItems","position","memo"],"sourceRoot":"../../../../../../../../src","sources":["components/Auth/One/SplashScreen/components/SplashImage/SplashImage.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,OAAO,EAAEC,WAAW,EAAEC,SAAS,QAAQ,OAAO;AACxE,OAAOC,SAAS,MAAM,yBAAyB;AAC/C,SAASC,iBAAiB,EAAEC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAClE,OAAOC,OAAO,MAAM,oCAAiC;AACrD,SAASC,gBAAgB,QAAQ,kDAA+C;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAajF,MAAMC,WAAuC,GAAGA,CAAC;EAC/CC,UAAU;EACVC,MAAM;EACNC,UAAU,GAAG,SAAS;EACtBC,MAAM;EACNC,KAAK;EACLC,KAAK,EAAEC;AACT,CAAC,KAAK;EACJ,MAAM;IAAED;EAAM,CAAC,GAAGX,gBAAgB,CAACY,aAAa,CAAC;EACjD,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAGvB,QAAQ,CAAC,CAAC,CAACkB,MAAM,CAAC;;EAEpD;EACAf,SAAS,CAAC,MAAM;IACd,IAAIe,MAAM,EAAE;MACVK,YAAY,CAAC,IAAI,CAAC;IACpB;EACF,CAAC,EAAE,CAACL,MAAM,CAAC,CAAC;EAEZ,MAAMM,WAAW,GAAGvB,OAAO,CACzB,OAAO;IACLkB,KAAK,EAAEJ,UAAU,GAAGP,OAAO,CAACiB,SAAS,GAAGN,KAAK;IAC7CH,MAAM,EAAED,UAAU,GAAGP,OAAO,CAACkB,UAAU,GAAGV,MAAM;IAChDW,IAAI,EAAE;EACR,CAAC,CAAC,EACF,CAACZ,UAAU,EAAEI,KAAK,EAAEH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AAC;EAC/BT,SAAS,EAAE;IACTT,IAAI,EAAE,CAAC;IACPR,KAAK,EAAEX,OAAO,CAACiB,SAAS;IACxBT,MAAM,EAAER,OAAO,CAACkB,UAAU;IAC1BoB,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd,CAAC;EACDR,MAAM,EAAE;IACNS,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC;AAEF,4BAAejD,KAAK,CAACkD,IAAI,CAACnC,WAAW,CAAC","ignoreList":[]}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import React, { useMemo, useCallback } from 'react';
|
|
8
8
|
import LottieView from 'lottie-react-native';
|
|
9
9
|
import { StyleSheet } from 'react-native';
|
|
10
|
-
import Display from "
|
|
10
|
+
import Display from "../../../../../../utils/Display.js";
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
12
|
const SplashLottie = ({
|
|
13
13
|
fullscreen,
|
package/lib/module/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useMemo","useCallback","LottieView","StyleSheet","Display","jsx","_jsx","SplashLottie","fullscreen","height","source","resizeMode","width","onAnimationFinish","lottieStyle","styles","base","fullWidth","fullHeight","lottieSource","uri","handleAnimationFailure","error","console","autoPlay","loop","style","onAnimationFailure","hardwareAccelerationAndroid","cacheComposition","create","alignSelf","flex","memo"],"sourceRoot":"../../../../../../../../src","sources":["components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,OAAO,EAAEC,WAAW,QAAQ,OAAO;AACnD,OAAOC,UAAU,MAAM,qBAAqB;AAC5C,SAASC,UAAU,QAAQ,cAAc;AACzC,OAAOC,OAAO,MAAM,oCAAiC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAatD,MAAMC,YAA8B,GAAGA,CAAC;EACtCC,UAAU;EAC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C,IAAI,CAAC1B,YAAY,CAAC","ignoreList":[]}
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import React, { useMemo, useCallback, useRef, useEffect } from 'react';
|
|
9
|
-
import { StyleSheet, Animated } from 'react-native';
|
|
9
|
+
import { StyleSheet, Animated, useWindowDimensions } from 'react-native';
|
|
10
10
|
import Video from 'react-native-video';
|
|
11
|
-
import Display from "
|
|
12
|
-
import { View } from "
|
|
11
|
+
import Display from "../../../../../../utils/Display.js";
|
|
12
|
+
import { View } from "../../../../../View/index.js";
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
const SplashVideo = ({
|
|
15
|
-
fullscreen =
|
|
16
|
-
width
|
|
17
|
-
height
|
|
15
|
+
fullscreen = true,
|
|
16
|
+
width,
|
|
17
|
+
height,
|
|
18
18
|
source,
|
|
19
19
|
resizeMode = 'cover',
|
|
20
20
|
onEnd,
|
|
@@ -23,12 +23,34 @@ const SplashVideo = ({
|
|
|
23
23
|
onError
|
|
24
24
|
}) => {
|
|
25
25
|
const fadeAnim = useRef(new Animated.Value(0)).current;
|
|
26
|
+
const {
|
|
27
|
+
width: windowWidth,
|
|
28
|
+
height: windowHeight
|
|
29
|
+
} = useWindowDimensions();
|
|
26
30
|
|
|
27
|
-
/** 🎨 Compute video dimensions */
|
|
28
|
-
const videoStyle = useMemo(() =>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
/** 🎨 Compute video dimensions – fullscreen uses 100% for all devices; otherwise use window dimensions */
|
|
32
|
+
const videoStyle = useMemo(() => {
|
|
33
|
+
if (fullscreen) {
|
|
34
|
+
return {
|
|
35
|
+
width: '100%',
|
|
36
|
+
height: '100%'
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
const w = width ?? windowWidth ?? Display.fullWidth;
|
|
40
|
+
const h = height ?? windowHeight ?? Display.fullHeight;
|
|
41
|
+
return {
|
|
42
|
+
width: w,
|
|
43
|
+
height: h
|
|
44
|
+
};
|
|
45
|
+
}, [fullscreen, width, height, windowWidth, windowHeight]);
|
|
46
|
+
|
|
47
|
+
/** 🎨 Fullscreen wrapper fills container so video covers entire screen on any device */
|
|
48
|
+
const wrapperStyle = useMemo(() => fullscreen ? [StyleSheet.absoluteFillObject, {
|
|
49
|
+
opacity: fadeAnim
|
|
50
|
+
}] : [videoStyle, {
|
|
51
|
+
opacity: fadeAnim,
|
|
52
|
+
position: 'absolute'
|
|
53
|
+
}], [fullscreen, videoStyle, fadeAnim]);
|
|
32
54
|
|
|
33
55
|
/** 🌀 Fade-in animation */
|
|
34
56
|
const animateIn = useCallback(() => {
|
|
@@ -89,20 +111,14 @@ const SplashVideo = ({
|
|
|
89
111
|
hideSettingButton: true
|
|
90
112
|
}), []);
|
|
91
113
|
|
|
92
|
-
// Memoize animated view style
|
|
93
|
-
const animatedViewStyle = useMemo(() => [videoStyle, {
|
|
94
|
-
opacity: fadeAnim,
|
|
95
|
-
position: 'absolute'
|
|
96
|
-
}], [videoStyle, fadeAnim]);
|
|
97
|
-
|
|
98
114
|
/** 🧱 Render */
|
|
99
115
|
return /*#__PURE__*/_jsx(View, {
|
|
100
116
|
style: styles.container,
|
|
101
117
|
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
102
|
-
style:
|
|
118
|
+
style: wrapperStyle,
|
|
103
119
|
children: /*#__PURE__*/_jsx(Video, {
|
|
104
120
|
source: videoSource,
|
|
105
|
-
style:
|
|
121
|
+
style: styles.video,
|
|
106
122
|
resizeMode: resizeMode,
|
|
107
123
|
paused: false,
|
|
108
124
|
onLoadStart: handleLoadStart,
|
|
@@ -124,9 +140,14 @@ const SplashVideo = ({
|
|
|
124
140
|
const styles = StyleSheet.create({
|
|
125
141
|
container: {
|
|
126
142
|
flex: 1,
|
|
143
|
+
width: '100%',
|
|
144
|
+
height: '100%',
|
|
127
145
|
position: 'relative',
|
|
128
|
-
|
|
129
|
-
|
|
146
|
+
alignSelf: 'stretch'
|
|
147
|
+
},
|
|
148
|
+
video: {
|
|
149
|
+
width: '100%',
|
|
150
|
+
height: '100%'
|
|
130
151
|
}
|
|
131
152
|
});
|
|
132
153
|
export default /*#__PURE__*/React.memo(SplashVideo);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useMemo","useCallback","useRef","useEffect","StyleSheet","Animated","useWindowDimensions","Video","Display","View","jsx","_jsx","SplashVideo","fullscreen","width","height","source","resizeMode","onEnd","onLoadStart","onLoaded","onError","fadeAnim","Value","current","windowWidth","windowHeight","videoStyle","w","fullWidth","h","fullHeight","wrapperStyle","absoluteFillObject","opacity","position","animateIn","timing","toValue","duration","useNativeDriver","start","resolveUri","src","test","handleLoadStart","setValue","handleLoad","data","handleError","err","errorMsg","error","message","JSON","stringify","stopAnimation","resolvedUri","videoSource","uri","controlsStyles","hideForward","hideDuration","hideFullscreen","hidePlayPause","hideNavigationBarOnFullScreenMode","hideNotificationBarOnFullScreenMode","hideNext","hidePosition","hidePrevious","hideRewind","hideSeekBar","hideSettingButton","style","styles","container","children","video","paused","onLoad","ignoreSilentSwitch","playInBackground","playWhenInactive","allowsExternalPlayback","automaticallyWaitsToMinimizeStalling","controls","repeat","create","flex","alignSelf","memo"],"sourceRoot":"../../../../../../../../src","sources":["components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,OAAO,EAAEC,WAAW,EAAEC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AACtE,SAASC,UAAU,EAAEC,QAAQ,EAAEC,mBAAmB,QAAQ,cAAc;AACxE,OAAOC,KAAK,MAGL,oBAAoB;AAC3B,OAAOC,OAAO,MAAM,oCAAiC;AACrD,SAASC,IAAI,QAAQ,8BAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAc3C,MAAMC,WAA6B,GAAGA,CAAC;EACrCC,UAAU,GAAG,IAAI;EACjBC,KAAK;E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mF,MAAM,CAAC;EAC/BZ,SAAS,EAAE;IACTa,IAAI,EAAE,CAAC;IACP1E,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,MAAM;IACdoB,QAAQ,EAAE,UAAU;IACpBsD,SAAS,EAAE;EACb,CAAC;EACDZ,KAAK,EAAE;IACL/D,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE;EACV;AACF,CAAC,CAAC;AAEF,4BAAehB,KAAK,CAAC2F,IAAI,CAAC9E,WAAW,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Naresh Dhamu
|
|
5
|
+
* @lastModified Fri 13 Jun 2025 at 11:11 AM
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import ForgotPassword from "./ForgotPassword/ForgotPassword.js";
|
|
9
|
+
import LoginWithEmail from "./Login/LoginWithEmail.js";
|
|
10
|
+
import LoginWithPhone from "./Login/LoginWithPhone.js";
|
|
11
|
+
import OTP from "./OTP/OTP.js";
|
|
12
|
+
import QrLogin from "./QrLogin/QrLogin.js";
|
|
13
|
+
import SignUp from "./SignUp/SignUp.js";
|
|
14
|
+
import { SplashScreen } from "./SplashScreen/SplashScreen.js";
|
|
15
|
+
const AuthOne = {
|
|
16
|
+
LoginWithEmail,
|
|
17
|
+
LoginWithPhone,
|
|
18
|
+
SignUp,
|
|
19
|
+
OTP,
|
|
20
|
+
ForgotPassword,
|
|
21
|
+
SplashScreen,
|
|
22
|
+
QrLogin
|
|
23
|
+
};
|
|
24
|
+
export default AuthOne;
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ForgotPassword","LoginWithEmail","LoginWithPhone","OTP","QrLogin","SignUp","SplashScreen","AuthOne"],"sourceRoot":"../../../../../src","sources":["components/Auth/One/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,cAAc,MAAM,oCAAiC;AAC5D,OAAOC,cAAc,MAAM,2BAAwB;AACnD,OAAOC,cAAc,MAAM,2BAAwB;AACnD,OAAOC,GAAG,MAAM,cAAW;AAC3B,OAAOC,OAAO,MAAM,sBAAmB;AACvC,OAAOC,MAAM,MAAM,oBAAiB;AACpC,SAASC,YAAY,QAAQ,gCAA6B;AAE1D,MAAMC,OAAO,GAAG;EACdN,cAAc;EACdC,cAAc;EACdG,MAAM;EACNF,GAAG;EACHH,cAAc;EACdM,YAAY;EACZF;AACF,CAAC;AAED,eAAeG,OAAO","ignoreList":[]}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, Pressable, StyleSheet, Text } from 'react-native';
|
|
5
|
+
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
6
|
+
import { scale, verticalScale } from 'react-native-size-matters';
|
|
7
|
+
import { useInternalTheme } from "../../../../theme/hook/index.js";
|
|
8
|
+
import Logo from "../../../Logo/Logo.js";
|
|
9
|
+
import TextButton from "../../../Button/TextButton.js";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
const AuthHeader = ({
|
|
12
|
+
logoUri,
|
|
13
|
+
onLogoPress,
|
|
14
|
+
rightTitle,
|
|
15
|
+
onRightPress,
|
|
16
|
+
rightComponent,
|
|
17
|
+
containerStyle,
|
|
18
|
+
theme: overrideTheme,
|
|
19
|
+
headerTitle
|
|
20
|
+
}) => {
|
|
21
|
+
const insets = useSafeAreaInsets();
|
|
22
|
+
const {
|
|
23
|
+
theme
|
|
24
|
+
} = useInternalTheme(overrideTheme);
|
|
25
|
+
return /*#__PURE__*/_jsx(View, {
|
|
26
|
+
style: [styles.container, {
|
|
27
|
+
paddingTop: insets.top
|
|
28
|
+
}, containerStyle],
|
|
29
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
30
|
+
style: styles.row,
|
|
31
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
32
|
+
style: styles.left,
|
|
33
|
+
children: [logoUri && /*#__PURE__*/_jsx(Pressable, {
|
|
34
|
+
onPress: onLogoPress,
|
|
35
|
+
style: styles.logoWrapper,
|
|
36
|
+
children: /*#__PURE__*/_jsx(Logo, {
|
|
37
|
+
logoUri: logoUri,
|
|
38
|
+
resizeMode: "contain"
|
|
39
|
+
})
|
|
40
|
+
}), headerTitle && /*#__PURE__*/_jsx(Text, {
|
|
41
|
+
style: [styles.title, {
|
|
42
|
+
color: theme.colors.textPrimary
|
|
43
|
+
}],
|
|
44
|
+
children: headerTitle
|
|
45
|
+
})]
|
|
46
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
47
|
+
style: styles.right,
|
|
48
|
+
children: rightComponent ? rightComponent : rightTitle && onRightPress ? /*#__PURE__*/_jsx(TextButton, {
|
|
49
|
+
title: rightTitle,
|
|
50
|
+
onPress: onRightPress,
|
|
51
|
+
color: theme.colors.textPrimary
|
|
52
|
+
}) : null
|
|
53
|
+
})]
|
|
54
|
+
})
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
export default /*#__PURE__*/React.memo(AuthHeader);
|
|
58
|
+
const styles = StyleSheet.create({
|
|
59
|
+
container: {
|
|
60
|
+
marginTop: verticalScale(0),
|
|
61
|
+
width: '100%',
|
|
62
|
+
zIndex: 100
|
|
63
|
+
},
|
|
64
|
+
row: {
|
|
65
|
+
flexDirection: 'row',
|
|
66
|
+
justifyContent: 'space-between',
|
|
67
|
+
alignItems: 'flex-start',
|
|
68
|
+
paddingTop: verticalScale(8)
|
|
69
|
+
},
|
|
70
|
+
left: {
|
|
71
|
+
flex: 1,
|
|
72
|
+
justifyContent: 'flex-start',
|
|
73
|
+
alignItems: 'flex-start'
|
|
74
|
+
},
|
|
75
|
+
logoWrapper: {
|
|
76
|
+
width: scale(100),
|
|
77
|
+
height: scale(10),
|
|
78
|
+
transform: [{
|
|
79
|
+
scale: 0.6
|
|
80
|
+
}]
|
|
81
|
+
},
|
|
82
|
+
right: {
|
|
83
|
+
justifyContent: 'flex-start',
|
|
84
|
+
alignItems: 'flex-end'
|
|
85
|
+
},
|
|
86
|
+
title: {
|
|
87
|
+
fontSize: 18,
|
|
88
|
+
fontWeight: '700',
|
|
89
|
+
marginTop: verticalScale(8),
|
|
90
|
+
textAlign: 'left'
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
//# sourceMappingURL=AuthHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Pressable","StyleSheet","Text","useSafeAreaInsets","scale","verticalScale","useInternalTheme","Logo","TextButton","jsx","_jsx","jsxs","_jsxs","AuthHeader","logoUri","onLogoPress","rightTitle","onRightPress","rightComponent","containerStyle","theme","overrideTheme","headerTitle","insets","style","styles","container","paddingTop","top","children","row","left","onPress","logoWrapper","resizeMode","title","color","colors","textPrimary","right","memo","create","marginTop","width","zIndex","flexDirection","justifyContent","alignItems","flex","height","transform","fontSize","fontWeight","textAlign"],"sourceRoot":"../../../../../../src","sources":["components/Auth/Two/AuthHeader/AuthHeader.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACEC,IAAI,EACJC,SAAS,EACTC,UAAU,EAEVC,IAAI,QACC,cAAc;AACrB,SAASC,iBAAiB,QAAQ,gCAAgC;AAClE,SAASC,KAAK,EAAEC,aAAa,QAAQ,2BAA2B;AAEhE,SAASC,gBAAgB,QAAQ,iCAAwB;AACzD,OAAOC,IAAI,MAAM,uBAAoB;AACrC,OAAOC,UAAU,MAAM,+BAA4B;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAapD,MAAMC,UAA2B,GAAGA,CAAC;EACnCC,OAAO;EACPC,WAAW;EACXC,UAAU;EACVC,YAAY;EACZC,cAAc;EACdC,cAAc;EACdC,KAAK,EAAEC,aAAa;EACpBC;AACF,CAAC,KAAK;EACJ,MAAMC,MAA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U,CAAC;AAErC,MAAMY,MAAM,GAAGxB,UAAU,CAACwC,MAAM,CAAC;EAC/Bf,SAAS,EAAE;IACTgB,SAAS,EAAErC,aAAa,CAAC,CAAC,CAAC;IAC3BsC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE;EACV,CAAC;EACDd,GAAG,EAAE;IACHe,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,eAAe;IAC/BC,UAAU,EAAE,YAAY;IACxBpB,UAAU,EAAEtB,aAAa,CAAC,CAAC;EAC7B,CAAC;EACD0B,IAAI,EAAE;IACJiB,IAAI,EAAE,CAAC;IACPF,cAAc,EAAE,YAAY;IAC5BC,UAAU,EAAE;EACd,CAAC;EACDd,WAAW,EAAE;IACXU,KAAK,EAAEvC,KAAK,CAAC,GAAG,CAAC;IACjB6C,MAAM,EAAE7C,KAAK,CAAC,EAAE,CAAC;IACjB8C,SAAS,EAAE,CAAC;MAAE9C,KAAK,EAAE;IAAI,CAAC;EAC5B,CAAC;EACDmC,KAAK,EAAE;IACLO,cAAc,EAAE,YAAY;IAC5BC,UAAU,EAAE;EACd,CAAC;EACDZ,KAAK,EAAE;IACLgB,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBV,SAAS,EAAErC,aAAa,CAAC,CAAC,CAAC;IAC3BgD,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -5,31 +5,35 @@
|
|
|
5
5
|
* @lastModified Wed 18 Jun 2025 at 10:45 AM
|
|
6
6
|
**/
|
|
7
7
|
import React, { useCallback, useMemo, useState } from 'react';
|
|
8
|
-
import { StyleSheet, View,
|
|
8
|
+
import { StyleSheet, View, Alert } from 'react-native';
|
|
9
9
|
import { useForm, Controller } from 'react-hook-form';
|
|
10
10
|
import { scale, verticalScale } from 'react-native-size-matters';
|
|
11
|
-
import { Input } from "
|
|
12
|
-
import { Button } from "
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import { Text } from "../../Text/index.js";
|
|
11
|
+
import { Input } from "../../../Input/Input.js";
|
|
12
|
+
import { Button } from "../../../Button/index.js";
|
|
13
|
+
import { Logo } from "../../../Logo/Logo.js";
|
|
14
|
+
import { useKeyboard } from "../../../../hooks/useKeyboard.js";
|
|
15
|
+
import HideKeyboard from "../../../Keyboard/HideKeyboard.js";
|
|
16
|
+
import BackBtn from "../../../Button/BackBtn.js";
|
|
17
|
+
import { Text } from "../../../Text/index.js";
|
|
19
18
|
import { RFValue } from 'react-native-responsive-fontsize';
|
|
20
|
-
import {
|
|
19
|
+
import { Mail } from 'lucide-react-native';
|
|
20
|
+
import BackgroundLayoutOne from "../../../BackgroundLayout/BackgroundLayoutOne.js";
|
|
21
|
+
import { useInternalTheme } from "../../../../theme/hook/index.js";
|
|
22
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
23
|
const ForgetPassword = ({
|
|
22
24
|
title = 'Forgot Password',
|
|
25
|
+
subtitle = 'Enter your email account to reset password',
|
|
23
26
|
onSubmit,
|
|
24
27
|
onTopBackBtnPress,
|
|
25
28
|
containerStyle,
|
|
26
29
|
titleStyle,
|
|
30
|
+
subtitleStyle,
|
|
27
31
|
formStyle,
|
|
28
32
|
inputStyle,
|
|
29
33
|
inputContainerStyle,
|
|
30
34
|
topBackBtnStyle,
|
|
31
35
|
loadingSubmitBtn = false,
|
|
32
|
-
backgroundImage,
|
|
36
|
+
// backgroundImage,
|
|
33
37
|
logoUri,
|
|
34
38
|
theme: overrideTheme,
|
|
35
39
|
text = {
|
|
@@ -62,6 +66,10 @@ const ForgetPassword = ({
|
|
|
62
66
|
isKeyboardOpen
|
|
63
67
|
} = useKeyboard();
|
|
64
68
|
const [isLoading, setIsLoading] = useState(false);
|
|
69
|
+
const {
|
|
70
|
+
theme
|
|
71
|
+
} = useInternalTheme(overrideTheme);
|
|
72
|
+
const textPrimaryColor = theme.colors.textPrimary;
|
|
65
73
|
const handleFormSubmit = useCallback(async data => {
|
|
66
74
|
if (!onSubmit) return;
|
|
67
75
|
setIsLoading(true);
|
|
@@ -78,11 +86,12 @@ const ForgetPassword = ({
|
|
|
78
86
|
const isSubmitDisabled = useMemo(() => loadingSubmitBtn || isLoading, [loadingSubmitBtn, isLoading]);
|
|
79
87
|
|
|
80
88
|
// Memoize gradient split background
|
|
81
|
-
const gradientSplitBackground = useMemo(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
89
|
+
// const gradientSplitBackground = useMemo(
|
|
90
|
+
// () => (isKeyboardOpen ? (Platform.OS === 'ios' ? 0.19 : 0.14) : 0.3),
|
|
91
|
+
// [isKeyboardOpen]
|
|
92
|
+
// );
|
|
93
|
+
|
|
94
|
+
return /*#__PURE__*/_jsx(BackgroundLayoutOne, {
|
|
86
95
|
children: /*#__PURE__*/_jsxs(View, {
|
|
87
96
|
style: [styles.container, containerStyle],
|
|
88
97
|
children: [shouldRender(renderTopBackBtn || onTopBackBtnPress) && /*#__PURE__*/_jsx(View, {
|
|
@@ -99,11 +108,18 @@ const ForgetPassword = ({
|
|
|
99
108
|
style: styles.centerContent,
|
|
100
109
|
children: [renderLogo ? renderLogo() : logoUri ? /*#__PURE__*/_jsx(Logo, {
|
|
101
110
|
logoUri: logoUri
|
|
102
|
-
}) : null, renderForgetPasswordHeader ? renderForgetPasswordHeader() : /*#__PURE__*/
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
111
|
+
}) : null, renderForgetPasswordHeader ? renderForgetPasswordHeader() : /*#__PURE__*/_jsxs(_Fragment, {
|
|
112
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
113
|
+
style: [styles.title, {
|
|
114
|
+
color: textPrimaryColor
|
|
115
|
+
}, titleStyle],
|
|
116
|
+
children: title
|
|
117
|
+
}), subtitle ? /*#__PURE__*/_jsx(Text, {
|
|
118
|
+
style: [styles.subtitle, {
|
|
119
|
+
color: textPrimaryColor
|
|
120
|
+
}, subtitleStyle],
|
|
121
|
+
children: subtitle
|
|
122
|
+
}) : null]
|
|
107
123
|
}), /*#__PURE__*/_jsxs(View, {
|
|
108
124
|
style: [styles.form, formStyle],
|
|
109
125
|
testID: "form",
|
|
@@ -123,7 +139,7 @@ const ForgetPassword = ({
|
|
|
123
139
|
onBlur,
|
|
124
140
|
value
|
|
125
141
|
}
|
|
126
|
-
}) => /*#__PURE__*/_jsx(Input.
|
|
142
|
+
}) => /*#__PURE__*/_jsx(Input.Three, {
|
|
127
143
|
placeholder: text.emailPlaceholder || 'Enter your email',
|
|
128
144
|
label: text.emailLabel || 'Email',
|
|
129
145
|
value: value,
|
|
@@ -142,7 +158,10 @@ const ForgetPassword = ({
|
|
|
142
158
|
autoCapitalize: "none",
|
|
143
159
|
keyboardType: "email-address",
|
|
144
160
|
autoCorrect: false,
|
|
145
|
-
testID: "email-input"
|
|
161
|
+
testID: "email-input",
|
|
162
|
+
leftIcon: /*#__PURE__*/_jsx(Mail, {
|
|
163
|
+
size: 25
|
|
164
|
+
})
|
|
146
165
|
})
|
|
147
166
|
}), renderSubmitButton ? renderSubmitButton({
|
|
148
167
|
onPress: handleSubmit(handleFormSubmit),
|
|
@@ -158,7 +177,9 @@ const ForgetPassword = ({
|
|
|
158
177
|
})]
|
|
159
178
|
}), !isKeyboardOpen && /*#__PURE__*/_jsx(_Fragment, {
|
|
160
179
|
children: renderBottomInfoText ? renderBottomInfoText() : text.bottomInfoText ? /*#__PURE__*/_jsx(Text, {
|
|
161
|
-
style: styles.bottomInfo,
|
|
180
|
+
style: [styles.bottomInfo, {
|
|
181
|
+
color: theme.colors.textSecondary
|
|
182
|
+
}],
|
|
162
183
|
accessibilityRole: "text",
|
|
163
184
|
testID: "bottom-info-text",
|
|
164
185
|
children: text.bottomInfoText
|
|
@@ -191,14 +212,20 @@ const styles = StyleSheet.create({
|
|
|
191
212
|
width: '100%',
|
|
192
213
|
alignItems: 'center',
|
|
193
214
|
justifyContent: 'center',
|
|
194
|
-
gap: verticalScale(
|
|
215
|
+
gap: verticalScale(6),
|
|
216
|
+
marginBottom: verticalScale(100)
|
|
195
217
|
},
|
|
196
218
|
title: {
|
|
197
219
|
fontSize: RFValue(23),
|
|
198
220
|
fontWeight: '700',
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
221
|
+
textAlign: 'center',
|
|
222
|
+
marginTop: verticalScale(12)
|
|
223
|
+
},
|
|
224
|
+
subtitle: {
|
|
225
|
+
fontSize: RFValue(13),
|
|
226
|
+
fontWeight: '400',
|
|
227
|
+
textAlign: 'center',
|
|
228
|
+
marginBottom: verticalScale(80)
|
|
202
229
|
},
|
|
203
230
|
form: {
|
|
204
231
|
width: '100%',
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useCallback","useMemo","useState","StyleSheet","View","Alert","useForm","Controller","scale","verticalScale","Input","Button","Logo","useKeyboard","HideKeyboard","BackBtn","Text","RFValue","Mail","BackgroundLayoutOne","useInternalTheme","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","ForgetPassword","title","subtitle","onSubmit","onTopBackBtnPress","containerStyle","titleStyle","subtitleStyle","formStyle","inputStyle","inputContainerStyle","topBackBtnStyle","loadingSubmitBtn","logoUri","theme","overrideTheme","text","emailLabel","emailPlaceholder","loadingSubmitBtnText","forgetPasswordButton","renderLogo","renderForgetPasswordHeader","renderSubmitButton","renderTopBackBtn","renderBottomInfoText","control","handleSubmit","formState","errors","isValid","touchedFields","defaultValues","email","mode","isKeyboardOpen","isLoading","setIsLoading","textPrimaryColor","colors","textPrimary","handleFormSubmit","data","error","console","alert","shouldRender","condition","isSubmitDisabled","children","style","styles","container","topBackBtnWrapper","onPress","centerContent","color","form","testID","name","rules","required","pattern","value","message","render","field","onChange","onBlur","Three","placeholder","label","onChangeText","inputText","sanitized","replace","disabled","errorMessage","textContentType","autoCapitalize","keyboardType","autoCorrect","leftIcon","size","loading","Primary","loadingText","bottomInfoText","bottomInfo","textSecondary","accessibilityRole","memo","create","flex","width","paddingHorizontal","paddingTop","paddingBottom","justifyContent","alignItems","position","top","left","zIndex","gap","marginBottom","fontSize","fontWeight","textAlign","marginTop","opacity"],"sourceRoot":"../../../../../../src","sources":["components/Auth/Two/ForgotPassword/ForgotPassword.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,WAAW,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAC7D,SACEC,UAAU,EACVC,IAAI,EACJC,KAAK,QAGA,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,IAAI,QAAQ,uBAAoB;AACzC,SAASC,WAAW,QAAQ,kCAA+B;AAC3D,OAAOC,YAAY,MAAM,mCAAgC;AACzD,OAAOC,OAAO,MAAM,4BAAyB;AAC7C,SAASC,IAAI,QAAQ,wBAAe;AACpC,SAASC,OAAO,QAAQ,kCAAkC;AAE1D,SAASC,IAAI,QAAQ,qBAAqB;AAC1C,OAAOC,mBAAmB,MAAM,kDAA+C;AAC/E,SAASC,gBAAgB,QAAQ,iCAAwB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AA+C1D,MAAMC,cAA6C,GAAGA,CAAC;EACrDC,KAAK,GAAG,iBAAiB;EACzBC,QAAQ,GAAG,4CAA4C;EACvDC,QAAQ;EACRC,iBAAiB;EACjBC,cAAc;EACdC,UAAU;EACVC,aAAa;EACbC,SAAS;EACTC,UAAU;EACVC,mBAAmB;EACnBC,eAAe;EACfC,gBAAgB,GAAG,KAAK;EACxB;EACAC,OAAO;EACPC,KAAK,EAAEC,aAAa;EACpBC,IAAI,GAAG;IACLC,UAAU,E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