@zezosoft/zezo-ott-react-native-ui-kit 1.1.3 → 1.1.6
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/{QrLogin → One/QrLogin}/QrLogin.js +4 -4
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/{QrLogin → One/QrLogin}/components/QrViewArea.js +1 -1
- 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 +5 -2
- 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/Sliders/Styles/One.js +6 -6
- 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/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 +1 -0
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +1 -0
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +1 -0
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +1 -0
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js +14 -44
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js +1 -0
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +1 -0
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/CardPoster.js +102 -4
- 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/Content.js +28 -11
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +11 -2
- 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 +3 -1
- package/lib/module/constants/dummySections.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 +1 -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/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/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.map +1 -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.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
- 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.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +1 -0
- 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/Content.d.ts +2 -52
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts +1 -52
- 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 +3 -1
- package/lib/typescript/src/constants/dummySections.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/utils/colorUtils.d.ts +19 -0
- package/lib/typescript/src/utils/colorUtils.d.ts.map +1 -0
- package/package.json +9 -16
- 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.map +0 -1
- 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/Styles/globalStyles.ts +0 -70
- package/src/assets/animations/135037-payment-processing-error.json +0 -1347
- package/src/assets/animations/7227-vui-animation.json +0 -3377
- package/src/assets/animations/Failed.json +0 -2103
- package/src/assets/animations/Pending.json +0 -522
- package/src/assets/animations/Successful.json +0 -2289
- package/src/assets/animations/heart.json +0 -788
- package/src/assets/animations/succesfull-payment.json +0 -2379
- package/src/assets/animations/voice-icon.json +0 -542
- package/src/assets/img/back.png +0 -0
- package/src/assets/img/bottom-panel.png +0 -0
- package/src/assets/img/camera.png +0 -0
- package/src/assets/img/camera2.png +0 -0
- package/src/assets/img/home.png +0 -0
- package/src/assets/img/lock.png +0 -0
- package/src/assets/img/play.png +0 -0
- package/src/assets/img/profile.jpg +0 -0
- package/src/assets/img/qr-code.png +0 -0
- package/src/assets/img/shadow.png +0 -0
- package/src/assets/img/shadow2.png +0 -0
- package/src/assets/img/user.png +0 -0
- package/src/assets/svg/Account.svg +0 -4
- package/src/assets/svg/Favourite.svg +0 -14
- package/src/assets/svg/Upcoming.svg +0 -4
- package/src/assets/svg/content-error.svg +0 -28
- package/src/assets/svg/download.svg +0 -3
- package/src/assets/svg/eye-off.svg +0 -10
- package/src/assets/svg/favorites.svg +0 -3
- package/src/assets/svg/h.svg +0 -4
- package/src/assets/svg/home.svg +0 -5
- package/src/assets/svg/home1.svg +0 -3
- package/src/assets/svg/menu-bar.svg +0 -4
- package/src/assets/svg/my-space.svg +0 -14
- package/src/assets/svg/play-icon-with-bg.svg +0 -5
- package/src/assets/svg/profile.svg +0 -4
- package/src/assets/svg/search.svg +0 -5
- package/src/assets/svg/search1.svg +0 -4
- package/src/assets/svg/server-error.svg +0 -139
- package/src/components/Account/Account.tsx +0 -367
- package/src/components/Account/index.ts +0 -1
- package/src/components/Alert/AlertDialog.tsx +0 -247
- package/src/components/Alert/UAAlert.tsx +0 -170
- package/src/components/Alert/index.ts +0 -2
- package/src/components/Auth/AuthProvider/AuthProvider.tsx +0 -415
- package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +0 -308
- package/src/components/Auth/Login/LoginWithEmail.tsx +0 -441
- package/src/components/Auth/Login/LoginWithPhone.tsx +0 -306
- package/src/components/Auth/OTP/OTP.tsx +0 -454
- package/src/components/Auth/QrLogin/QrLogin.tsx +0 -602
- package/src/components/Auth/QrLogin/components/QrViewArea.tsx +0 -423
- package/src/components/Auth/SignUp/SignUp.tsx +0 -462
- package/src/components/Auth/SplashScreen/SplashScreen.tsx +0 -245
- package/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.tsx +0 -92
- package/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.tsx +0 -77
- package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +0 -164
- package/src/components/Auth/index.ts +0 -26
- package/src/components/BackgroundLayout/BackgroundLayout.tsx +0 -172
- package/src/components/BlogView/BlogView.tsx +0 -276
- package/src/components/BlogView/index.ts +0 -8
- package/src/components/BlurView/BlurView.tsx +0 -199
- package/src/components/BlurView/index.ts +0 -7
- package/src/components/BottomSheet/BottomSheet.tsx +0 -195
- package/src/components/BottomSheet/index.ts +0 -2
- package/src/components/Button/BackBtn.tsx +0 -168
- package/src/components/Button/MenuBtn.tsx +0 -229
- package/src/components/Button/PrimaryBtn.tsx +0 -126
- package/src/components/Button/SecondaryBtn.tsx +0 -132
- package/src/components/Button/TextButton.tsx +0 -145
- package/src/components/Button/index.ts +0 -18
- package/src/components/Content/Card/Category/Category.tsx +0 -429
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +0 -624
- package/src/components/Content/Card/Sliders/Styles/One.tsx +0 -490
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +0 -391
- package/src/components/Content/Card/Sliders/index.ts +0 -15
- package/src/components/Content/Card/Styles/Five.tsx +0 -384
- package/src/components/Content/Card/Styles/Four.tsx +0 -378
- package/src/components/Content/Card/Styles/One.tsx +0 -385
- package/src/components/Content/Card/Styles/RotateInOut.tsx +0 -412
- package/src/components/Content/Card/Styles/Six.tsx +0 -392
- package/src/components/Content/Card/Styles/Three.tsx +0 -349
- package/src/components/Content/Card/Styles/TopTen.tsx +0 -411
- package/src/components/Content/Card/Styles/Two.tsx +0 -415
- package/src/components/Content/Card/components/AdsPoster.tsx +0 -202
- package/src/components/Content/Card/components/CardPoster.tsx +0 -258
- package/src/components/Content/Card/components/NavigateToMore.tsx +0 -69
- package/src/components/Content/Card/components/RentOrBuyIcon.tsx +0 -129
- package/src/components/Content/Card/components/ShowAllButton.tsx +0 -92
- package/src/components/Content/Card/components/ThumbnailCard.tsx +0 -234
- package/src/components/Content/Card/components/index.ts +0 -1
- package/src/components/Content/Card/index.ts +0 -30
- package/src/components/Content/Content.tsx +0 -369
- package/src/components/Content/Sections.tsx +0 -273
- package/src/components/ContentView/ContentView.tsx +0 -242
- package/src/components/ContentView/MoreContentList.tsx +0 -326
- package/src/components/ContentView/components/AboutSection.tsx +0 -216
- package/src/components/ContentView/components/CastCard.tsx +0 -265
- package/src/components/ContentView/components/EpisodeCard.tsx +0 -536
- package/src/components/ContentView/components/GenreTags.tsx +0 -132
- package/src/components/ContentView/components/HeroBanner.tsx +0 -372
- package/src/components/ContentView/components/MiniInfo.tsx +0 -292
- package/src/components/ContentView/components/PlayButton.tsx +0 -56
- package/src/components/ContentView/components/Title.tsx +0 -149
- package/src/components/ContentView/components/TrailerButton.tsx +0 -76
- package/src/components/ContentView/index.ts +0 -7
- package/src/components/Fallbacks/NoContentFallback.tsx +0 -176
- package/src/components/Fallbacks/NotFoundFallback.tsx +0 -94
- package/src/components/Fallbacks/index.ts +0 -2
- package/src/components/Headers/AppHeader.tsx +0 -150
- package/src/components/Headers/One.tsx +0 -115
- package/src/components/Headers/Three.tsx +0 -72
- package/src/components/Headers/Two.tsx +0 -100
- package/src/components/Headers/index.ts +0 -16
- package/src/components/Input/Input.ts +0 -16
- package/src/components/Input/InputOne.tsx +0 -259
- package/src/components/Input/InputTwo.tsx +0 -212
- package/src/components/Input/PhoneNumberInput.tsx +0 -429
- package/src/components/Keyboard/HideKeyboard.tsx +0 -88
- package/src/components/Loader/Loader.tsx +0 -28
- package/src/components/Logo/Logo.tsx +0 -126
- package/src/components/Reels/ReelsSeries/MediaControls/BottomControls.tsx +0 -156
- package/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.tsx +0 -234
- package/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.tsx +0 -196
- package/src/components/Reels/ReelsSeries/MediaControls/RightControls.tsx +0 -92
- package/src/components/Reels/ReelsSeries/MediaControls/TopControls.tsx +0 -163
- package/src/components/Reels/ReelsSeries/Model/DetailsModal.tsx +0 -210
- package/src/components/Reels/ReelsSeries/Model/SettingModal.tsx +0 -143
- package/src/components/Reels/ReelsSeries/Model/UnlockModal.tsx +0 -154
- package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +0 -231
- package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +0 -432
- package/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.tsx +0 -184
- package/src/components/Reels/ReelsSeries/components/Episodes.tsx +0 -154
- package/src/components/Reels/ReelsSeries/components/GradientOverlay.tsx +0 -41
- package/src/components/Reels/ReelsSeries/components/Like.tsx +0 -40
- package/src/components/Reels/ReelsSeries/components/RotatingLoader.tsx +0 -79
- package/src/components/Reels/ReelsSeries/components/Synopsis.tsx +0 -332
- package/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.tsx +0 -190
- package/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.tsx +0 -80
- package/src/components/Reels/ReelsSeries/components/VideoControls/index.ts +0 -2
- package/src/components/Reels/ReelsSeries/types.ts +0 -38
- package/src/components/Reels/index.ts +0 -8
- package/src/components/Reels/utils/Controls/gestureUtils.ts +0 -42
- package/src/components/Reels/utils/Controls/index.ts +0 -4
- package/src/components/Reels/utils/Controls/overlayUtils.ts +0 -35
- package/src/components/Reels/utils/Controls/videoControlsConstants.ts +0 -25
- package/src/components/Reels/utils/Controls/videoRef.ts +0 -4
- package/src/components/Reels/utils/index.ts +0 -1
- package/src/components/Reels/utils/timeoutUtils.ts +0 -29
- package/src/components/Search/One.tsx +0 -253
- package/src/components/Search/components/RecentSearchesSection.tsx +0 -181
- package/src/components/Search/components/SearchCard.tsx +0 -218
- package/src/components/Search/index.ts +0 -16
- package/src/components/Settings/AppSettings.tsx +0 -428
- package/src/components/Settings/index.ts +0 -1
- package/src/components/Subscription/SubOne.tsx +0 -874
- package/src/components/Subscription/index.ts +0 -12
- package/src/components/TabBar/One.tsx +0 -148
- package/src/components/TabBar/Three.tsx +0 -169
- package/src/components/TabBar/Two.tsx +0 -189
- package/src/components/TabBar/index.ts +0 -20
- package/src/components/Text/Text.tsx +0 -85
- package/src/components/Text/index.ts +0 -5
- package/src/components/User/DeviceSessions/DeviceSessions.tsx +0 -468
- package/src/components/User/ProfileUpdate/ProfileUpdate.tsx +0 -278
- package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +0 -493
- package/src/components/User/WatchHistory/WatchHistory.tsx +0 -226
- package/src/components/User/WatchLater/WatchLater.tsx +0 -396
- package/src/components/User/components/UserAvatar.tsx +0 -120
- package/src/components/User/components/UserSection.tsx +0 -228
- package/src/components/User/index.ts +0 -18
- package/src/components/View/View.tsx +0 -37
- package/src/components/View/index.ts +0 -5
- package/src/components/common/AppStatusBar.tsx +0 -51
- package/src/components/index.ts +0 -28
- package/src/components/layout/SafeAreaWrapper.tsx +0 -45
- package/src/components/layout/index.ts +0 -1
- package/src/constants/dummySections.ts +0 -94
- package/src/hooks/Images/index.ts +0 -2
- package/src/hooks/Images/useImageLoader.ts +0 -206
- package/src/hooks/Images/useImageValidation.ts +0 -36
- package/src/hooks/index.ts +0 -17
- package/src/hooks/useAdTracking.ts +0 -349
- package/src/hooks/useCards.ts +0 -228
- package/src/hooks/useDebounce.ts +0 -35
- package/src/hooks/useKeyboard.ts +0 -43
- package/src/hooks/useNavigationMode.ts +0 -46
- package/src/hooks/usePaginatedSection.ts +0 -101
- package/src/hooks/usePrevious.ts +0 -28
- package/src/hooks/useSafeCallback.ts +0 -43
- package/src/hooks/useSkeletonItems.ts +0 -30
- package/src/hooks/useSplashCache.ts +0 -167
- package/src/hooks/useThemeColors.ts +0 -51
- package/src/index.tsx +0 -8
- package/src/store/RecentSearchesStore.ts +0 -78
- package/src/store/splashStore.ts +0 -91
- package/src/store/themeStore.ts +0 -43
- package/src/theme/ThemeProvider.tsx +0 -99
- package/src/theme/hook/index.ts +0 -2
- package/src/theme/hook/useInternalTheme.ts +0 -89
- package/src/theme/hook/useThemeStatusBar.ts +0 -42
- package/src/theme/index.ts +0 -7
- package/src/theme/themes.ts +0 -333
- package/src/types/content/content-view.types.ts +0 -164
- package/src/types/hook/index.ts +0 -5
- package/src/types/hook/usePaginatedSetion.ts +0 -19
- package/src/types/index.ts +0 -7
- package/src/types/sections/index.ts +0 -84
- package/src/utils/Display.ts +0 -14
- package/src/utils/Formater.ts +0 -14
- package/src/utils/PlatformSelector.ts +0 -29
- package/src/utils/SizeMatters.ts +0 -7
- package/src/utils/Spacing.ts +0 -27
- /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,362 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Naresh Dhamu
|
|
5
|
+
* @lastModified Mon 16 Jun 2025 at 03:05 PM
|
|
6
|
+
*/
|
|
7
|
+
import React, { useCallback, useMemo } from 'react';
|
|
8
|
+
import { StyleSheet, View, Platform, Keyboard, SafeAreaView } from 'react-native';
|
|
9
|
+
import { useForm, Controller } from 'react-hook-form';
|
|
10
|
+
import { scale, verticalScale } from 'react-native-size-matters';
|
|
11
|
+
import { Input } from "../../../Input/Input.js";
|
|
12
|
+
import { Button } from "../../../Button/index.js";
|
|
13
|
+
import { BackgroundLayout } from "../../../BackgroundLayout/BackgroundLayout.js";
|
|
14
|
+
import { Logo } from "../../../Logo/Logo.js";
|
|
15
|
+
import TextButton from "../../../Button/TextButton.js";
|
|
16
|
+
import { useInternalTheme } from "../../../../theme/hook/useInternalTheme.js";
|
|
17
|
+
import { useKeyboard } from "../../../../hooks/useKeyboard.js";
|
|
18
|
+
import HideKeyboard from "../../../Keyboard/HideKeyboard.js";
|
|
19
|
+
import BackBtn from "../../../Button/BackBtn.js";
|
|
20
|
+
import { Text } from "../../../Text/index.js";
|
|
21
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
22
|
+
import { getResponsiveBottomSpacing } from "../../../../utils/Spacing.js";
|
|
23
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
+
const Signup = /*#__PURE__*/React.memo(({
|
|
25
|
+
title = 'Sign Up',
|
|
26
|
+
onSubmit,
|
|
27
|
+
onLogin,
|
|
28
|
+
onTopBackBtnPress,
|
|
29
|
+
containerStyle,
|
|
30
|
+
titleStyle,
|
|
31
|
+
formStyle,
|
|
32
|
+
inputStyle,
|
|
33
|
+
inputContainerStyle,
|
|
34
|
+
topBackBtnStyle,
|
|
35
|
+
minPasswordLength = 6,
|
|
36
|
+
loadingSubmitBtn,
|
|
37
|
+
backgroundImage,
|
|
38
|
+
logoUri,
|
|
39
|
+
theme: overrideTheme,
|
|
40
|
+
text,
|
|
41
|
+
loginTextProps,
|
|
42
|
+
loginLinkTextProps,
|
|
43
|
+
renderLogo,
|
|
44
|
+
renderSingUpHeader,
|
|
45
|
+
renderLoginPrompt,
|
|
46
|
+
renderSubmitButton,
|
|
47
|
+
renderTopBackBtn
|
|
48
|
+
}) => {
|
|
49
|
+
const {
|
|
50
|
+
control,
|
|
51
|
+
handleSubmit,
|
|
52
|
+
formState: {
|
|
53
|
+
errors,
|
|
54
|
+
isValid,
|
|
55
|
+
touchedFields
|
|
56
|
+
},
|
|
57
|
+
getValues
|
|
58
|
+
} = useForm({
|
|
59
|
+
defaultValues: {
|
|
60
|
+
username: '',
|
|
61
|
+
email: '',
|
|
62
|
+
password: '',
|
|
63
|
+
confirmPassword: ''
|
|
64
|
+
},
|
|
65
|
+
mode: 'onChange'
|
|
66
|
+
});
|
|
67
|
+
const {
|
|
68
|
+
theme: resolvedTheme
|
|
69
|
+
} = useInternalTheme(overrideTheme);
|
|
70
|
+
const {
|
|
71
|
+
isKeyboardOpen
|
|
72
|
+
} = useKeyboard();
|
|
73
|
+
const [isLoading, setIsLoading] = React.useState(false);
|
|
74
|
+
const handleFormSubmit = useCallback(async data => {
|
|
75
|
+
if (!onSubmit) return;
|
|
76
|
+
setIsLoading(true);
|
|
77
|
+
try {
|
|
78
|
+
await onSubmit(data);
|
|
79
|
+
} catch (error) {
|
|
80
|
+
console.error('Form submission error:', error);
|
|
81
|
+
} finally {
|
|
82
|
+
setIsLoading(false);
|
|
83
|
+
}
|
|
84
|
+
}, [onSubmit]);
|
|
85
|
+
const shouldRender = useMemo(() => condition => typeof condition === 'function' || !!condition, []);
|
|
86
|
+
|
|
87
|
+
// Memoize gradient split background
|
|
88
|
+
const gradientSplitBackground = useMemo(() => isKeyboardOpen ? Platform.OS === 'ios' ? 0.19 : 0.14 : 0.3, [isKeyboardOpen]);
|
|
89
|
+
|
|
90
|
+
// Memoize disabled state
|
|
91
|
+
const isDisabled = useMemo(() => loadingSubmitBtn || isLoading, [loadingSubmitBtn, isLoading]);
|
|
92
|
+
return /*#__PURE__*/_jsx(BackgroundLayout, {
|
|
93
|
+
theme: overrideTheme,
|
|
94
|
+
backgroundImage: backgroundImage?.source,
|
|
95
|
+
gradientSplitBackground: gradientSplitBackground,
|
|
96
|
+
children: /*#__PURE__*/_jsx(SafeAreaView, {
|
|
97
|
+
style: styles.safeArea,
|
|
98
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
99
|
+
style: [styles.container, containerStyle],
|
|
100
|
+
children: [shouldRender(renderTopBackBtn || onTopBackBtnPress) && /*#__PURE__*/_jsx(View, {
|
|
101
|
+
style: styles.topBackBtnWrapper,
|
|
102
|
+
children: renderTopBackBtn ? renderTopBackBtn({
|
|
103
|
+
onPress: onTopBackBtnPress ?? (() => {})
|
|
104
|
+
}) : /*#__PURE__*/_jsx(BackBtn, {
|
|
105
|
+
theme: overrideTheme,
|
|
106
|
+
style: topBackBtnStyle,
|
|
107
|
+
onPress: onTopBackBtnPress
|
|
108
|
+
})
|
|
109
|
+
}), /*#__PURE__*/_jsxs(HideKeyboard, {
|
|
110
|
+
keyboardVerticalOffset: scale(-50),
|
|
111
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
112
|
+
style: styles.centerContent,
|
|
113
|
+
children: [renderLogo ? renderLogo() : logoUri ? /*#__PURE__*/_jsx(Logo, {
|
|
114
|
+
logoUri: logoUri,
|
|
115
|
+
width: 100,
|
|
116
|
+
height: 100
|
|
117
|
+
}) : null, renderSingUpHeader ? renderSingUpHeader() : /*#__PURE__*/_jsx(Text, {
|
|
118
|
+
style: [styles.title, titleStyle],
|
|
119
|
+
children: title
|
|
120
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
121
|
+
style: [styles.form, formStyle],
|
|
122
|
+
children: [/*#__PURE__*/_jsx(Controller, {
|
|
123
|
+
control: control,
|
|
124
|
+
name: "username",
|
|
125
|
+
rules: {
|
|
126
|
+
required: 'Username is required',
|
|
127
|
+
minLength: {
|
|
128
|
+
value: 3,
|
|
129
|
+
message: 'At least 3 characters'
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
render: ({
|
|
133
|
+
field: {
|
|
134
|
+
onChange,
|
|
135
|
+
onBlur,
|
|
136
|
+
value
|
|
137
|
+
}
|
|
138
|
+
}) => /*#__PURE__*/_jsx(Input.One, {
|
|
139
|
+
placeholder: text?.usernamePlaceholder || 'Username',
|
|
140
|
+
label: text?.usernameLabel || 'Username',
|
|
141
|
+
value: value,
|
|
142
|
+
onChangeText: onChange,
|
|
143
|
+
onBlur: onBlur,
|
|
144
|
+
disabled: isDisabled,
|
|
145
|
+
error: !!touchedFields.username && !!errors.username,
|
|
146
|
+
errorMessage: errors.username?.message,
|
|
147
|
+
inputStyle: inputStyle,
|
|
148
|
+
containerStyle: inputContainerStyle,
|
|
149
|
+
theme: overrideTheme
|
|
150
|
+
})
|
|
151
|
+
}), /*#__PURE__*/_jsx(Controller, {
|
|
152
|
+
control: control,
|
|
153
|
+
name: "email",
|
|
154
|
+
rules: {
|
|
155
|
+
required: 'Email is required',
|
|
156
|
+
pattern: {
|
|
157
|
+
value: /^\S+@\S+\.\S+$/,
|
|
158
|
+
message: 'Enter a valid email address'
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
render: ({
|
|
162
|
+
field: {
|
|
163
|
+
onChange,
|
|
164
|
+
onBlur,
|
|
165
|
+
value
|
|
166
|
+
}
|
|
167
|
+
}) => /*#__PURE__*/_jsx(Input.One, {
|
|
168
|
+
placeholder: text?.emailPlaceholder || 'Email',
|
|
169
|
+
label: text?.emailLabel || 'Email',
|
|
170
|
+
value: value,
|
|
171
|
+
onChangeText: inputText => {
|
|
172
|
+
const sanitized = inputText.replace(/[^\w@.\-+]/g, '');
|
|
173
|
+
onChange(sanitized);
|
|
174
|
+
},
|
|
175
|
+
onBlur: onBlur,
|
|
176
|
+
disabled: isDisabled,
|
|
177
|
+
error: !!touchedFields.email && !!errors.email,
|
|
178
|
+
errorMessage: errors.email?.message,
|
|
179
|
+
inputStyle: inputStyle,
|
|
180
|
+
containerStyle: inputContainerStyle,
|
|
181
|
+
theme: overrideTheme,
|
|
182
|
+
textContentType: "emailAddress",
|
|
183
|
+
autoCapitalize: "none",
|
|
184
|
+
keyboardType: "email-address",
|
|
185
|
+
autoCorrect: false
|
|
186
|
+
})
|
|
187
|
+
}), /*#__PURE__*/_jsx(Controller, {
|
|
188
|
+
control: control,
|
|
189
|
+
name: "password",
|
|
190
|
+
rules: {
|
|
191
|
+
required: 'Password is required',
|
|
192
|
+
minLength: {
|
|
193
|
+
value: minPasswordLength,
|
|
194
|
+
message: `Minimum ${minPasswordLength} characters`
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
render: ({
|
|
198
|
+
field: {
|
|
199
|
+
onChange,
|
|
200
|
+
onBlur,
|
|
201
|
+
value
|
|
202
|
+
}
|
|
203
|
+
}) => /*#__PURE__*/_jsx(Input.One, {
|
|
204
|
+
placeholder: text?.passwordPlaceholder || 'Password',
|
|
205
|
+
label: text?.passwordLabel || 'Password',
|
|
206
|
+
value: value,
|
|
207
|
+
secureTextEntry: true,
|
|
208
|
+
onChangeText: inputText => {
|
|
209
|
+
const sanitized = inputText.replace(/[^\w@.\-+]/g, '');
|
|
210
|
+
onChange(sanitized);
|
|
211
|
+
},
|
|
212
|
+
onBlur: onBlur,
|
|
213
|
+
disabled: isDisabled,
|
|
214
|
+
inputStyle: inputStyle,
|
|
215
|
+
error: !!touchedFields.password && !!errors.password,
|
|
216
|
+
errorMessage: errors.password?.message,
|
|
217
|
+
containerStyle: inputContainerStyle,
|
|
218
|
+
textContentType: "none",
|
|
219
|
+
autoCapitalize: "none",
|
|
220
|
+
spellCheck: false,
|
|
221
|
+
autoCorrect: false,
|
|
222
|
+
autoComplete: "off",
|
|
223
|
+
theme: overrideTheme
|
|
224
|
+
})
|
|
225
|
+
}), /*#__PURE__*/_jsx(Controller, {
|
|
226
|
+
control: control,
|
|
227
|
+
name: "confirmPassword",
|
|
228
|
+
rules: {
|
|
229
|
+
required: 'Confirm password is required',
|
|
230
|
+
validate: value => value === getValues('password') || 'Passwords do not match'
|
|
231
|
+
},
|
|
232
|
+
render: ({
|
|
233
|
+
field: {
|
|
234
|
+
onChange,
|
|
235
|
+
onBlur,
|
|
236
|
+
value
|
|
237
|
+
}
|
|
238
|
+
}) => /*#__PURE__*/_jsx(Input.One, {
|
|
239
|
+
placeholder: text?.confirmPasswordPlaceholder || 'Confirm Password',
|
|
240
|
+
label: text?.confirmPasswordLabel || 'Confirm Password',
|
|
241
|
+
value: value,
|
|
242
|
+
secureTextEntry: true,
|
|
243
|
+
onChangeText: inputText => {
|
|
244
|
+
const sanitized = inputText.replace(/[^\w@.\-+]/g, '');
|
|
245
|
+
onChange(sanitized);
|
|
246
|
+
},
|
|
247
|
+
onBlur: onBlur,
|
|
248
|
+
error: !!touchedFields.confirmPassword && !!errors.confirmPassword,
|
|
249
|
+
disabled: isDisabled,
|
|
250
|
+
errorMessage: errors.confirmPassword?.message,
|
|
251
|
+
inputStyle: inputStyle,
|
|
252
|
+
containerStyle: inputContainerStyle,
|
|
253
|
+
theme: overrideTheme,
|
|
254
|
+
textContentType: "none",
|
|
255
|
+
autoCapitalize: "none",
|
|
256
|
+
spellCheck: false,
|
|
257
|
+
autoCorrect: false,
|
|
258
|
+
autoComplete: "off"
|
|
259
|
+
})
|
|
260
|
+
}), !isKeyboardOpen && (renderSubmitButton ? renderSubmitButton({
|
|
261
|
+
onPress: handleSubmit(handleFormSubmit),
|
|
262
|
+
disabled: !isValid || isDisabled,
|
|
263
|
+
loading: isDisabled
|
|
264
|
+
}) : /*#__PURE__*/_jsx(Button.Primary, {
|
|
265
|
+
title: text?.signupButton || 'Sign up',
|
|
266
|
+
disabled: !isValid || isDisabled,
|
|
267
|
+
theme: overrideTheme,
|
|
268
|
+
loading: isDisabled,
|
|
269
|
+
loadingText: text?.loadingSubmitBtnText || 'Signing up...',
|
|
270
|
+
onPress: handleSubmit(handleFormSubmit)
|
|
271
|
+
}))]
|
|
272
|
+
})]
|
|
273
|
+
}), !isKeyboardOpen && shouldRender(renderLoginPrompt || onLogin) && (renderLoginPrompt ? renderLoginPrompt() : /*#__PURE__*/_jsx(View, {
|
|
274
|
+
style: [styles.loginContainerWrapper, {
|
|
275
|
+
bottom: getResponsiveBottomSpacing(35)
|
|
276
|
+
}],
|
|
277
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
278
|
+
style: styles.loginContainer,
|
|
279
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
280
|
+
style: styles.loginRow,
|
|
281
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
282
|
+
style: [styles.loginPrompt, loginTextProps],
|
|
283
|
+
color: resolvedTheme?.colors?.textPrimary,
|
|
284
|
+
children: text?.loginPrompt || `Already have an account?`
|
|
285
|
+
}), /*#__PURE__*/_jsx(TextButton, {
|
|
286
|
+
title: text?.loginLink || 'Login',
|
|
287
|
+
onPress: () => {
|
|
288
|
+
Keyboard.dismiss();
|
|
289
|
+
requestAnimationFrame(() => {
|
|
290
|
+
onLogin?.();
|
|
291
|
+
});
|
|
292
|
+
},
|
|
293
|
+
bold: true,
|
|
294
|
+
underline: true,
|
|
295
|
+
color: resolvedTheme?.colors?.button,
|
|
296
|
+
style: loginLinkTextProps
|
|
297
|
+
})]
|
|
298
|
+
})
|
|
299
|
+
})
|
|
300
|
+
}))]
|
|
301
|
+
})]
|
|
302
|
+
})
|
|
303
|
+
})
|
|
304
|
+
});
|
|
305
|
+
});
|
|
306
|
+
export default Signup;
|
|
307
|
+
const styles = StyleSheet.create({
|
|
308
|
+
safeArea: {
|
|
309
|
+
flex: 1,
|
|
310
|
+
width: '100%',
|
|
311
|
+
paddingBottom: verticalScale(12)
|
|
312
|
+
},
|
|
313
|
+
container: {
|
|
314
|
+
flex: 1,
|
|
315
|
+
width: '100%',
|
|
316
|
+
paddingHorizontal: scale(16),
|
|
317
|
+
justifyContent: 'center',
|
|
318
|
+
alignItems: 'center'
|
|
319
|
+
},
|
|
320
|
+
topBackBtnWrapper: {
|
|
321
|
+
position: 'absolute',
|
|
322
|
+
top: verticalScale(6),
|
|
323
|
+
left: 0,
|
|
324
|
+
zIndex: 10
|
|
325
|
+
},
|
|
326
|
+
centerContent: {
|
|
327
|
+
flex: 1,
|
|
328
|
+
width: '100%',
|
|
329
|
+
alignItems: 'center',
|
|
330
|
+
justifyContent: 'center'
|
|
331
|
+
},
|
|
332
|
+
title: {
|
|
333
|
+
fontSize: RFValue(21),
|
|
334
|
+
fontWeight: '700',
|
|
335
|
+
marginTop: verticalScale(5),
|
|
336
|
+
marginBottom: verticalScale(20)
|
|
337
|
+
},
|
|
338
|
+
form: {
|
|
339
|
+
width: '100%',
|
|
340
|
+
gap: verticalScale(6)
|
|
341
|
+
},
|
|
342
|
+
loginContainerWrapper: {
|
|
343
|
+
position: 'absolute',
|
|
344
|
+
left: 0,
|
|
345
|
+
right: 0,
|
|
346
|
+
alignItems: 'center'
|
|
347
|
+
},
|
|
348
|
+
loginRow: {
|
|
349
|
+
flexDirection: 'row',
|
|
350
|
+
alignItems: 'center',
|
|
351
|
+
justifyContent: 'center',
|
|
352
|
+
flexWrap: 'wrap'
|
|
353
|
+
},
|
|
354
|
+
loginPrompt: {
|
|
355
|
+
textAlign: 'center',
|
|
356
|
+
marginRight: 4
|
|
357
|
+
},
|
|
358
|
+
loginContainer: {
|
|
359
|
+
alignItems: 'center'
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
//# sourceMappingURL=SignUp.js.map
|
|
@@ -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,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,CAAC;EACDnE,iBAAiB,EAAE;IACjBoE,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAEjJ,aAAa,CAAC,CAAC,CAAC;IACrBkJ,IAAI,EAAE,CAAC;IACPC,MAAM,EAAE;EACV,CAAC;EACDpE,aAAa,EAAE;IACb4D,IAAI,EAAE,CAAC;IACP3D,KAAK,EAAE,MAAM;IACb+D,UAAU,EAAE,QAAQ;IACpBD,cAAc,EAAE;EAClB,CAAC;EACD3H,KAAK,EAAE;IACLiI,QAAQ,EAAEzI,OAAO,CAAC,EAAE,CAAC;IACrB0I,UAAU,EAAE,KAAK;IACjBC,SAAS,EAAEtJ,aAAa,CAAC,CAAC,CAAC;IAC3BuJ,YAAY,EAAEvJ,aAAa,CAAC,EAAE;EAChC,CAAC;EACDkF,IAAI,EAAE;IACJF,KAAK,EAAE,MAAM;IACbwE,GAAG,EAAExJ,aAAa,CAAC,CAAC;EACtB,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;AAE9D,OAAOC,WAAW,MAAM,yCAAsC;AAC9D,OAAOC,WAAW,MAAM,yCAAsC;AAC9D,OAAOC,YAAY,MAAM,2CAAwC;AAGjE,SAASC,gBAAgB,QAAQ,4CAAyC;AAE1E,SAASC,gBAAgB,QAAQ,+CAA4C;AAC7E,SAASC,cAAc,QAAQ,qCAAkC;AACjE,SAASC,YAAY,QAAQ,iCAA8B;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AA8B5D,MAAMC,qBAAqB,GAAG,CAAC;AAC/B,MAAMC,gBAAgB,GAAG,GAAG;;AAE5B;AACA,MAAMC,gBAAgB,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;AAC1E,MAAMC,iBAAiB,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC;AAE9C,OAAO,MAAMC,YAAyC,gBAAGnB,KAAK,CAACoB,IAAI,CACjE,CAAC;EACCC,kBAAkB;EAClBC,mBAAmB;EACnBC,eAAe,GAAG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AmB,GAAGvE,WAAW,CAAC,MAAM;IAC5C,QAAQ6B,UAAU;MAChB,KAAK,OAAO;QACV,OAAO4B,WAAW,gBAChBhD,IAAA,CAACP,WAAW;UAAA,GAAKsD,WAAW;UAAEgB,KAAK,EAAET;QAAW,CAAE,CAAC,GACjD,IAAI;MAEV,KAAK,kBAAkB;QACrB,OAAOD,YAAY,gBACjBrD,IAAA,CAACN,YAAY;UAAA,GACPqD,WAAW;UACfiB,iBAAiB,EAAET;QAAwB,CAC5C,CAAC,GACA,IAAI;MAEV,KAAK,OAAO;MACZ;QACE,oBAAOvD,IAAA,CAACR,WAAW;UAAA,GAAKuD,WAAW;UAAEhC,KAAK,EAAEC;QAAc,CAAE,CAAC;IACjE;EACF,CAAC,EAAE,CACDI,UAAU,EACV4B,WAAW,EACXD,WAAW,EACXO,UAAU,EACVD,YAAY,EACZE,uBAAuB,EACvBvC,aAAa,CACd,CAAC;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,KAA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A,WAAW,CAAC,CAAC;EAExE,IAAI,CAACZ,MAAM,EAAE,OAAO,IAAI;EAExB,oBACEL,KAAA,CAACP,IAAI;IAAC4B,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAAC,QAAA,GAC3Bf,SAAS,iBACRX,IAAA,CAACN,iBAAiB;MAChBiC,IAAI,EAAC,OAAO;MACZJ,KAAK,EAAEC,MAAM,CAACI,MAAO;MACrBC,KAAK,EAAEpB,KAAK,CAACqB,MAAM,CAACC;IAAQ,CAC7B,CACF,eACD/B,IAAA,CAACP,SAAS;MACRc,MAAM,EAAEc,WAAY;MACpBW,SAAS,EAAEf,aAAc;MACzBM,KAAK,EAAEV,WAAY;MACnBP,UAAU,EAAEA,UAAW;MACvB2B,OAAO,EAAEf;IAAY,CACtB,CAAC;EAAA,CACE,CAAC;AAEX,CAAC;AAED,MAAMM,MAAM,GAAG5B,UAAU,CAACsC,MAAM,CAAC;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;EACVC,MAAM;EACNC,MAAM;EACNC,UAAU,GAAG,SAAS;EACtBC,KAAK;EACLC;AACF,CAAC,KAAK;EACJ;EACA,MAAMC,WAAW,GAAGd,OAAO,CACzB,OAAO;IACL,GAAGe,MAAM,CAACC,IAAI;IACdJ,KAAK,EAAEJ,UAAU,GAAGJ,OAAO,CAACa,SAAS,GAAGL,KAAK;IAC7CH,MAAM,EAAED,UAAU,GAAGJ,OAAO,CAACc,UAAU,GAAGT,MAAM;IAChD,IAAID,UAAU,GAAGO,MAAM,CAACP,UAAU,GAAG,CAAC,CAAC;EACzC,CAAC,CAAC,EACF,CAACA,UAAU,EAAEI,KAAK,EAAEH,MAAM,CAC5B,CAAC;;EAED;EACA,MAAMU,YAAY,GAAGnB,OAAO,CAAC,OAAO;IAAEoB,GAAG,EAAEV;EAAO,CAAC,CAAC,EAAE,CAACA,MAAM,CAAC,CAAC;;EAE/D;EACA,MAAMW,sBAAsB,GAAGpB,WAAW,CAAEqB,KAAU,IAAK;IACzDC,OAAO,CAACD,KAAK,CAAC,kCAAkC,EAAEA,KAAK,CAAC;EAC1D,CAAC,EAAE,EAAE,CAAC;;EAEN;EACA,IAAI,CAACZ,MAAM,EAAE;IACX,OAAO,IAAI;EACb;EAEA,oBACEJ,IAAA,CAACJ,UAAU;IACTQ,MAAM,EAAES,YAAa;IACrBK,QAAQ;IACRC,IAAI,EAAE,KAAM;IACZZ,iBAAiB,EAAEA,iBAAkB;IACrCa,KAAK,EAAEZ,WAAY;IACnBH,UAAU,EAAEA,UAAW;IACvBgB,kBAAkB,EAAEN,sBAAuB;IAC3CO,2BAA2B;IAC3BC,gBAAgB;EAAA,CACjB,CAAC;AAEN,CAAC;AAED,MAAMd,MAAM,GAAGZ,UAAU,CAAC2B,MAAM,CAAC;EAC/Bd,IAAI,EAAE;IACJe,SAAS,EAAE;EACb,CAAC;EACDvB,UAAU,EAAE;IACVwB,IAAI,EAAE;EACR;AACF,CAAC,CAAC;AAEF,4BAAejC,KAAK,CAACkC,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;EACLC,MAAM;EACNC,MAAM;EACNC,UAAU,GAAG,OAAO;EACpBC,KAAK;EACLC,WAAW;EACXC,QAAQ;EACRC;AACF,CAAC,KAAK;EACJ,MAAMC,QAAQ,GAAGpB,MAAM,CAAC,IAAIG,QAAQ,CAACkB,KAAK,CAAC,CAAC,CAAC,CAAC,CAACC,OAAO;EACtD,MAAM;IAAEV,KAAK,EAAEW,WAAW;IAAEV,MAAM,EAAEW;EAAa,CAAC,GAAGpB,mBAAmB,CAAC,CAAC;;EAE1E;EACA,MAAMqB,UAAU,GAAG3B,OAAO,CAAC,MAAM;IAC/B,IAAIa,UAAU,EAAE;MACd,OAAO;QAAEC,KAAK,EAAE,MAAe;QAAEC,MAAM,EAAE;MAAgB,CAAC;IAC5D;IACA,MAAMa,CAAC,GAAGd,KAAK,IAAIW,WAAW,IAAIjB,OAAO,CAACqB,SAAS;IACnD,MAAMC,CAAC,GAAGf,MAAM,IAAIW,YAAY,IAAIlB,OAAO,CAACuB,UAAU;IACtD,OAAO;MAAEjB,KAAK,EAAEc,CAAC;MAAEb,MA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