@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
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author Naresh Dhamu
|
|
3
|
-
* @lastModified Fri 08 Aug 2025 at 08:14 AM
|
|
4
|
-
*/
|
|
5
|
-
import React, { useEffect, useRef } from 'react';
|
|
6
|
-
import {
|
|
7
|
-
TouchableWithoutFeedback,
|
|
8
|
-
Keyboard,
|
|
9
|
-
KeyboardAvoidingView,
|
|
10
|
-
StyleSheet,
|
|
11
|
-
Animated,
|
|
12
|
-
Platform,
|
|
13
|
-
StatusBar,
|
|
14
|
-
type ViewStyle,
|
|
15
|
-
} from 'react-native';
|
|
16
|
-
import { scale } from 'react-native-size-matters';
|
|
17
|
-
|
|
18
|
-
interface HideKeyboardProps {
|
|
19
|
-
children: React.ReactNode;
|
|
20
|
-
containerStyle?: ViewStyle;
|
|
21
|
-
behavior?: 'padding' | 'height' | 'position';
|
|
22
|
-
keyboardVerticalOffset?: number;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
const HideKeyboard: React.FC<HideKeyboardProps> = ({
|
|
26
|
-
children,
|
|
27
|
-
containerStyle,
|
|
28
|
-
behavior = 'padding',
|
|
29
|
-
keyboardVerticalOffset = scale(-160),
|
|
30
|
-
}) => {
|
|
31
|
-
const fadeAnim = useRef(new Animated.Value(1)).current;
|
|
32
|
-
|
|
33
|
-
// Platform-based offset
|
|
34
|
-
const offset =
|
|
35
|
-
keyboardVerticalOffset ??
|
|
36
|
-
(Platform.OS === 'ios' ? 0 : (StatusBar.currentHeight ?? 0));
|
|
37
|
-
|
|
38
|
-
useEffect(() => {
|
|
39
|
-
const showEvent =
|
|
40
|
-
Platform.OS === 'ios' ? 'keyboardWillShow' : 'keyboardDidShow';
|
|
41
|
-
const hideEvent =
|
|
42
|
-
Platform.OS === 'ios' ? 'keyboardWillHide' : 'keyboardDidHide';
|
|
43
|
-
|
|
44
|
-
const showSub = Keyboard.addListener(showEvent, () => {
|
|
45
|
-
Animated.timing(fadeAnim, {
|
|
46
|
-
toValue: 0.98,
|
|
47
|
-
duration: 250,
|
|
48
|
-
useNativeDriver: true,
|
|
49
|
-
}).start();
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
const hideSub = Keyboard.addListener(hideEvent, () => {
|
|
53
|
-
Animated.timing(fadeAnim, {
|
|
54
|
-
toValue: 1,
|
|
55
|
-
duration: 250,
|
|
56
|
-
useNativeDriver: true,
|
|
57
|
-
}).start();
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
return () => {
|
|
61
|
-
showSub.remove();
|
|
62
|
-
hideSub.remove();
|
|
63
|
-
};
|
|
64
|
-
}, [fadeAnim]);
|
|
65
|
-
|
|
66
|
-
return (
|
|
67
|
-
<KeyboardAvoidingView
|
|
68
|
-
style={[styles.keyboardAvoidingView, containerStyle]}
|
|
69
|
-
behavior={behavior}
|
|
70
|
-
keyboardVerticalOffset={offset}
|
|
71
|
-
>
|
|
72
|
-
<TouchableWithoutFeedback onPress={Keyboard.dismiss} accessible={false}>
|
|
73
|
-
<Animated.View style={{ flex: 1, transform: [{ scale: fadeAnim }] }}>
|
|
74
|
-
{children}
|
|
75
|
-
</Animated.View>
|
|
76
|
-
</TouchableWithoutFeedback>
|
|
77
|
-
</KeyboardAvoidingView>
|
|
78
|
-
);
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
const styles = StyleSheet.create({
|
|
82
|
-
keyboardAvoidingView: {
|
|
83
|
-
flex: 1,
|
|
84
|
-
width: '100%',
|
|
85
|
-
},
|
|
86
|
-
});
|
|
87
|
-
|
|
88
|
-
export default HideKeyboard;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StyleSheet, View, ActivityIndicator } from 'react-native';
|
|
3
|
-
|
|
4
|
-
interface LoaderProps {
|
|
5
|
-
color?: string;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export const Loader: React.FC<LoaderProps> = React.memo(({ color }) => {
|
|
9
|
-
return (
|
|
10
|
-
<View style={styles.root}>
|
|
11
|
-
<ActivityIndicator size="large" color={color} />
|
|
12
|
-
</View>
|
|
13
|
-
);
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
const styles = StyleSheet.create({
|
|
17
|
-
root: {
|
|
18
|
-
position: 'absolute',
|
|
19
|
-
top: 0,
|
|
20
|
-
left: 0,
|
|
21
|
-
right: 0,
|
|
22
|
-
bottom: 0,
|
|
23
|
-
justifyContent: 'center',
|
|
24
|
-
alignItems: 'center',
|
|
25
|
-
zIndex: 999,
|
|
26
|
-
backgroundColor: 'rgba(255,255,255,0.4)', // optional semi-transparent backdrop
|
|
27
|
-
},
|
|
28
|
-
});
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author Naresh Dhamu
|
|
3
|
-
* @lastModified Sun 08 Jun 2025 at 03:23 PM
|
|
4
|
-
*/
|
|
5
|
-
import React, { useMemo } from 'react';
|
|
6
|
-
import {
|
|
7
|
-
Image,
|
|
8
|
-
View,
|
|
9
|
-
type StyleProp,
|
|
10
|
-
type ImageStyle,
|
|
11
|
-
type ViewStyle,
|
|
12
|
-
} from 'react-native';
|
|
13
|
-
import { moderateScale } from 'react-native-size-matters';
|
|
14
|
-
import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
|
|
15
|
-
import { useSplashCache } from '../../hooks/useSplashCache';
|
|
16
|
-
import { useInternalTheme } from '../../theme/hook/useInternalTheme';
|
|
17
|
-
import type { ThemeOverride } from '../../theme/themes';
|
|
18
|
-
|
|
19
|
-
interface ILogoProps {
|
|
20
|
-
width?: number;
|
|
21
|
-
height?: number;
|
|
22
|
-
resizeMode?: 'contain' | 'cover' | 'stretch';
|
|
23
|
-
logoUri: string;
|
|
24
|
-
imageStyle?: StyleProp<ImageStyle>;
|
|
25
|
-
containerStyle?: StyleProp<ViewStyle>;
|
|
26
|
-
aspectRatio?: number;
|
|
27
|
-
fallbackUri?: string;
|
|
28
|
-
theme?: ThemeOverride;
|
|
29
|
-
isLoading?: boolean;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export const Logo: React.FC<ILogoProps> = ({
|
|
33
|
-
width = 200,
|
|
34
|
-
height = 50,
|
|
35
|
-
resizeMode = 'contain',
|
|
36
|
-
logoUri,
|
|
37
|
-
imageStyle,
|
|
38
|
-
containerStyle,
|
|
39
|
-
aspectRatio,
|
|
40
|
-
fallbackUri,
|
|
41
|
-
theme,
|
|
42
|
-
isLoading = false,
|
|
43
|
-
}) => {
|
|
44
|
-
const { theme: appliedTheme } = useInternalTheme(theme);
|
|
45
|
-
|
|
46
|
-
const {
|
|
47
|
-
data: { logoPath },
|
|
48
|
-
isLoading: isSplashLoading,
|
|
49
|
-
} = useSplashCache({
|
|
50
|
-
logoUrl: logoUri,
|
|
51
|
-
});
|
|
52
|
-
const finalSource = useMemo(
|
|
53
|
-
() =>
|
|
54
|
-
logoPath
|
|
55
|
-
? {
|
|
56
|
-
uri: logoPath.startsWith('file://')
|
|
57
|
-
? logoPath
|
|
58
|
-
: `file://${logoPath}`,
|
|
59
|
-
}
|
|
60
|
-
: logoUri
|
|
61
|
-
? { uri: logoUri }
|
|
62
|
-
: fallbackUri
|
|
63
|
-
? { uri: fallbackUri }
|
|
64
|
-
: undefined,
|
|
65
|
-
[logoPath, logoUri, fallbackUri]
|
|
66
|
-
);
|
|
67
|
-
|
|
68
|
-
const containerStyleMemo = useMemo(
|
|
69
|
-
() => [
|
|
70
|
-
{
|
|
71
|
-
alignItems: 'center' as const,
|
|
72
|
-
justifyContent: 'center' as const,
|
|
73
|
-
},
|
|
74
|
-
containerStyle,
|
|
75
|
-
],
|
|
76
|
-
[containerStyle]
|
|
77
|
-
);
|
|
78
|
-
|
|
79
|
-
const imageStyleMemo = useMemo(
|
|
80
|
-
() => [
|
|
81
|
-
{
|
|
82
|
-
width: moderateScale(width),
|
|
83
|
-
height: moderateScale(height),
|
|
84
|
-
...(aspectRatio ? { aspectRatio } : {}),
|
|
85
|
-
},
|
|
86
|
-
imageStyle,
|
|
87
|
-
],
|
|
88
|
-
[width, height, aspectRatio, imageStyle]
|
|
89
|
-
);
|
|
90
|
-
|
|
91
|
-
if (!finalSource && !isLoading) {
|
|
92
|
-
return null;
|
|
93
|
-
}
|
|
94
|
-
return (
|
|
95
|
-
<View style={containerStyleMemo}>
|
|
96
|
-
{isLoading || isSplashLoading ? (
|
|
97
|
-
<SkeletonPlaceholder
|
|
98
|
-
backgroundColor={appliedTheme.colors.skeletonBaseColor}
|
|
99
|
-
highlightColor={appliedTheme.colors.skeletonHighlightColor}
|
|
100
|
-
speed={1000}
|
|
101
|
-
borderRadius={4}
|
|
102
|
-
>
|
|
103
|
-
<SkeletonPlaceholder.Item
|
|
104
|
-
alignSelf="center"
|
|
105
|
-
width={moderateScale(width)}
|
|
106
|
-
height={moderateScale(width / 2)}
|
|
107
|
-
borderRadius={4}
|
|
108
|
-
/>
|
|
109
|
-
</SkeletonPlaceholder>
|
|
110
|
-
) : (
|
|
111
|
-
finalSource && (
|
|
112
|
-
<Image
|
|
113
|
-
source={finalSource}
|
|
114
|
-
resizeMode={resizeMode}
|
|
115
|
-
style={imageStyleMemo}
|
|
116
|
-
onError={() => {
|
|
117
|
-
return null;
|
|
118
|
-
}}
|
|
119
|
-
/>
|
|
120
|
-
)
|
|
121
|
-
)}
|
|
122
|
-
</View>
|
|
123
|
-
);
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
export default React.memo(Logo);
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { View, Text, TouchableOpacity, StyleSheet } from 'react-native';
|
|
3
|
-
import { ChevronRight, ListVideo } from 'lucide-react-native';
|
|
4
|
-
import { moderateScale, verticalScale } from 'react-native-size-matters';
|
|
5
|
-
import { RFValue } from 'react-native-responsive-fontsize';
|
|
6
|
-
import type { ISeriesItem } from '../types';
|
|
7
|
-
import type { ITheme } from '../../../../theme';
|
|
8
|
-
|
|
9
|
-
interface BottomControlsProps {
|
|
10
|
-
series: ISeriesItem;
|
|
11
|
-
episodeIndex: number;
|
|
12
|
-
videoCurrentTime: number;
|
|
13
|
-
videoDuration: number;
|
|
14
|
-
onEpisodesPress?: () => void;
|
|
15
|
-
theme: ITheme;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
const BottomControls: React.FC<BottomControlsProps> = ({
|
|
19
|
-
series,
|
|
20
|
-
episodeIndex,
|
|
21
|
-
videoCurrentTime,
|
|
22
|
-
videoDuration,
|
|
23
|
-
onEpisodesPress,
|
|
24
|
-
theme,
|
|
25
|
-
}) => {
|
|
26
|
-
const progressPercentage =
|
|
27
|
-
videoDuration > 0 ? (videoCurrentTime / videoDuration) * 100 : 0;
|
|
28
|
-
|
|
29
|
-
const truncatedTitle =
|
|
30
|
-
series.title.length <= 25
|
|
31
|
-
? series.title
|
|
32
|
-
: series.title.slice(0, 25) + '...';
|
|
33
|
-
|
|
34
|
-
return (
|
|
35
|
-
<View style={styles.container}>
|
|
36
|
-
{/* Series Info Section */}
|
|
37
|
-
<View style={styles.seriesInfo}>
|
|
38
|
-
<Text style={styles.seriesTitle}>{truncatedTitle}</Text>
|
|
39
|
-
<Text numberOfLines={2} style={styles.seriesDescription}>
|
|
40
|
-
{series.description}
|
|
41
|
-
</Text>
|
|
42
|
-
</View>
|
|
43
|
-
|
|
44
|
-
{/* Episodes Selector Button */}
|
|
45
|
-
<TouchableOpacity
|
|
46
|
-
style={styles.episodesButton}
|
|
47
|
-
onPress={onEpisodesPress}
|
|
48
|
-
activeOpacity={0.7}
|
|
49
|
-
>
|
|
50
|
-
<View style={styles.episodesButtonContent}>
|
|
51
|
-
<ListVideo
|
|
52
|
-
color={'#fff'}
|
|
53
|
-
width={moderateScale(20)}
|
|
54
|
-
height={moderateScale(20)}
|
|
55
|
-
/>
|
|
56
|
-
<Text style={styles.episodesText}>
|
|
57
|
-
{episodeIndex + 1} / {series.episodes.length} Episodes
|
|
58
|
-
</Text>
|
|
59
|
-
</View>
|
|
60
|
-
<ChevronRight color={'#fff'} size={moderateScale(22)} />
|
|
61
|
-
</TouchableOpacity>
|
|
62
|
-
|
|
63
|
-
{/* Video Progress Bar */}
|
|
64
|
-
<View style={styles.progressBarContainer}>
|
|
65
|
-
<View style={styles.progressBarWrapper}>
|
|
66
|
-
<View
|
|
67
|
-
style={[
|
|
68
|
-
styles.progressBarFill,
|
|
69
|
-
{
|
|
70
|
-
width: `${progressPercentage}%`,
|
|
71
|
-
backgroundColor: theme.colors.primary,
|
|
72
|
-
},
|
|
73
|
-
]}
|
|
74
|
-
/>
|
|
75
|
-
{videoDuration > 0 && (
|
|
76
|
-
<View
|
|
77
|
-
style={[
|
|
78
|
-
styles.progressBarKnob,
|
|
79
|
-
{
|
|
80
|
-
left: `${progressPercentage}%`,
|
|
81
|
-
},
|
|
82
|
-
]}
|
|
83
|
-
/>
|
|
84
|
-
)}
|
|
85
|
-
</View>
|
|
86
|
-
</View>
|
|
87
|
-
</View>
|
|
88
|
-
);
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
export default BottomControls;
|
|
92
|
-
|
|
93
|
-
const styles = StyleSheet.create({
|
|
94
|
-
container: {
|
|
95
|
-
position: 'absolute',
|
|
96
|
-
bottom: 0,
|
|
97
|
-
zIndex: 10,
|
|
98
|
-
marginHorizontal: moderateScale(8),
|
|
99
|
-
},
|
|
100
|
-
seriesInfo: {
|
|
101
|
-
marginBottom: verticalScale(10),
|
|
102
|
-
},
|
|
103
|
-
seriesTitle: {
|
|
104
|
-
fontSize: RFValue(13),
|
|
105
|
-
fontWeight: '500',
|
|
106
|
-
color: '#fff',
|
|
107
|
-
},
|
|
108
|
-
seriesDescription: {
|
|
109
|
-
fontSize: RFValue(10),
|
|
110
|
-
color: '#fff',
|
|
111
|
-
marginTop: 2.5,
|
|
112
|
-
opacity: 0.9,
|
|
113
|
-
},
|
|
114
|
-
episodesButton: {
|
|
115
|
-
flexDirection: 'row',
|
|
116
|
-
justifyContent: 'space-between',
|
|
117
|
-
alignItems: 'center',
|
|
118
|
-
backgroundColor: 'rgba(0,0,0,0.5)',
|
|
119
|
-
borderRadius: moderateScale(8),
|
|
120
|
-
paddingHorizontal: moderateScale(12),
|
|
121
|
-
paddingVertical: verticalScale(8),
|
|
122
|
-
},
|
|
123
|
-
episodesButtonContent: {
|
|
124
|
-
flexDirection: 'row',
|
|
125
|
-
alignItems: 'center',
|
|
126
|
-
},
|
|
127
|
-
episodesText: {
|
|
128
|
-
fontSize: RFValue(13),
|
|
129
|
-
color: '#fff',
|
|
130
|
-
marginLeft: moderateScale(10),
|
|
131
|
-
},
|
|
132
|
-
progressBarContainer: {
|
|
133
|
-
marginVertical: verticalScale(10),
|
|
134
|
-
marginHorizontal: moderateScale(5),
|
|
135
|
-
},
|
|
136
|
-
progressBarWrapper: {
|
|
137
|
-
height: verticalScale(2),
|
|
138
|
-
backgroundColor: 'rgba(255, 255, 255, 0.3)',
|
|
139
|
-
borderRadius: moderateScale(1),
|
|
140
|
-
position: 'relative',
|
|
141
|
-
},
|
|
142
|
-
progressBarFill: {
|
|
143
|
-
height: '100%',
|
|
144
|
-
// backgroundColor: '#fff',
|
|
145
|
-
borderRadius: moderateScale(1),
|
|
146
|
-
},
|
|
147
|
-
progressBarKnob: {
|
|
148
|
-
position: 'absolute',
|
|
149
|
-
top: -verticalScale(2),
|
|
150
|
-
width: moderateScale(7),
|
|
151
|
-
height: moderateScale(7),
|
|
152
|
-
borderRadius: moderateScale(5),
|
|
153
|
-
backgroundColor: '#fff',
|
|
154
|
-
transform: [{ translateX: -moderateScale(3.5) }],
|
|
155
|
-
},
|
|
156
|
-
});
|
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StyleSheet, View } from 'react-native';
|
|
3
|
-
|
|
4
|
-
import GradientOverlay from '../../ReelsSeries/components/GradientOverlay';
|
|
5
|
-
import Like from '../../ReelsSeries/components/Like';
|
|
6
|
-
|
|
7
|
-
import type {
|
|
8
|
-
ISeriesItem,
|
|
9
|
-
ISeriesEpisode,
|
|
10
|
-
ModalState,
|
|
11
|
-
ILikeMoreData,
|
|
12
|
-
} from '../types';
|
|
13
|
-
import type { ITheme } from '../../../../theme';
|
|
14
|
-
|
|
15
|
-
import TopControls from './TopControls';
|
|
16
|
-
import MiddleControls from './MiddleControls';
|
|
17
|
-
import RightControls from './RightControls';
|
|
18
|
-
import BottomControls from './BottomControls';
|
|
19
|
-
import DetailsModal from '../Model/DetailsModal';
|
|
20
|
-
import UnLockModal from '../Model/UnlockModal';
|
|
21
|
-
import SettingModal from '../Model/SettingModal';
|
|
22
|
-
|
|
23
|
-
export interface ContentProps {
|
|
24
|
-
series: ISeriesItem;
|
|
25
|
-
episode: ISeriesEpisode;
|
|
26
|
-
activeIndex: number;
|
|
27
|
-
}
|
|
28
|
-
export interface UnlockProps {
|
|
29
|
-
isVisible: boolean;
|
|
30
|
-
onClose: () => void;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export interface VideoProps {
|
|
34
|
-
currentTime: number;
|
|
35
|
-
duration: number;
|
|
36
|
-
paused: boolean;
|
|
37
|
-
buffering: boolean;
|
|
38
|
-
showCenterControls: boolean;
|
|
39
|
-
isLocked: boolean;
|
|
40
|
-
hasError: boolean;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface LikeProps {
|
|
44
|
-
liked: boolean;
|
|
45
|
-
count: number;
|
|
46
|
-
showAnimation: boolean;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export interface ActionsProps {
|
|
50
|
-
onLike?: (ep: ISeriesEpisode) => void;
|
|
51
|
-
onUnlockPress?: (ep: ISeriesEpisode) => void;
|
|
52
|
-
onEpisodeSelect?: (ep: ISeriesEpisode) => void;
|
|
53
|
-
onLikeMore?: (item: ILikeMoreData) => void;
|
|
54
|
-
onShare?: () => void;
|
|
55
|
-
onUnLock?: () => void;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export interface NavigationProps {
|
|
59
|
-
onBack?: () => void;
|
|
60
|
-
onSearch?: () => void;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export interface SettingsProps {
|
|
64
|
-
playbackRate: number;
|
|
65
|
-
quality: string;
|
|
66
|
-
onPlaybackRateChange: (rate: number) => void;
|
|
67
|
-
onQualityChange: (q: string) => void;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export interface MediaControlsProps {
|
|
71
|
-
children: React.ReactNode;
|
|
72
|
-
content: ContentProps;
|
|
73
|
-
video: VideoProps;
|
|
74
|
-
likes: LikeProps;
|
|
75
|
-
actions: ActionsProps;
|
|
76
|
-
navigation: NavigationProps;
|
|
77
|
-
settings: SettingsProps;
|
|
78
|
-
modal?: ModalState;
|
|
79
|
-
setModal?: (m: ModalState) => void;
|
|
80
|
-
unlock: UnlockProps;
|
|
81
|
-
theme: ITheme;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
const MediaControlsProvider: React.FC<MediaControlsProps> = ({
|
|
85
|
-
children,
|
|
86
|
-
content,
|
|
87
|
-
video,
|
|
88
|
-
likes,
|
|
89
|
-
actions,
|
|
90
|
-
navigation,
|
|
91
|
-
settings,
|
|
92
|
-
modal,
|
|
93
|
-
unlock,
|
|
94
|
-
setModal,
|
|
95
|
-
theme,
|
|
96
|
-
}) => {
|
|
97
|
-
const { series, episode, activeIndex } = content;
|
|
98
|
-
const isSeries = series?.episodes ? true : false;
|
|
99
|
-
|
|
100
|
-
const {
|
|
101
|
-
currentTime,
|
|
102
|
-
duration,
|
|
103
|
-
paused,
|
|
104
|
-
buffering,
|
|
105
|
-
showCenterControls,
|
|
106
|
-
isLocked,
|
|
107
|
-
hasError,
|
|
108
|
-
} = video;
|
|
109
|
-
|
|
110
|
-
const { liked, count, showAnimation } = likes;
|
|
111
|
-
|
|
112
|
-
const {
|
|
113
|
-
onLike,
|
|
114
|
-
onEpisodeSelect,
|
|
115
|
-
onLikeMore,
|
|
116
|
-
onUnlockPress,
|
|
117
|
-
onShare,
|
|
118
|
-
onUnLock,
|
|
119
|
-
} = actions;
|
|
120
|
-
|
|
121
|
-
const { onBack, onSearch } = navigation;
|
|
122
|
-
|
|
123
|
-
const { playbackRate, quality, onPlaybackRateChange, onQualityChange } =
|
|
124
|
-
settings;
|
|
125
|
-
|
|
126
|
-
const episodeLabel = React.useMemo(() => {
|
|
127
|
-
return series.episodes.length > 0
|
|
128
|
-
? `Ep ${activeIndex + 1}/${series.episodes.length}`
|
|
129
|
-
: undefined;
|
|
130
|
-
}, [activeIndex, series.episodes.length]);
|
|
131
|
-
|
|
132
|
-
return (
|
|
133
|
-
<View style={styles.root}>
|
|
134
|
-
{/* ❤️ Like Animation */}
|
|
135
|
-
<Like visible={showAnimation} />
|
|
136
|
-
|
|
137
|
-
{/* Video behind controls */}
|
|
138
|
-
{children}
|
|
139
|
-
|
|
140
|
-
{/* Gradient overlay */}
|
|
141
|
-
<GradientOverlay />
|
|
142
|
-
|
|
143
|
-
{/* UI Controls */}
|
|
144
|
-
<View style={StyleSheet.absoluteFillObject}>
|
|
145
|
-
{/* TOP */}
|
|
146
|
-
<TopControls
|
|
147
|
-
theme={theme}
|
|
148
|
-
onBack={onBack}
|
|
149
|
-
episodeLabel={episodeLabel}
|
|
150
|
-
onSettings={() => setModal?.({ type: 'settings', isVisible: true })}
|
|
151
|
-
onSearch={onSearch}
|
|
152
|
-
/>
|
|
153
|
-
|
|
154
|
-
{/* CENTER */}
|
|
155
|
-
<MiddleControls
|
|
156
|
-
isLocked={isLocked}
|
|
157
|
-
theme={theme}
|
|
158
|
-
onUnLock={onUnLock}
|
|
159
|
-
isVisible={showCenterControls}
|
|
160
|
-
isPaused={paused}
|
|
161
|
-
isBuffering={buffering}
|
|
162
|
-
hasError={hasError}
|
|
163
|
-
/>
|
|
164
|
-
|
|
165
|
-
{/* RIGHT ACTIONS */}
|
|
166
|
-
<RightControls
|
|
167
|
-
episode={episode}
|
|
168
|
-
isLiked={liked}
|
|
169
|
-
likeCount={count}
|
|
170
|
-
onLike={onLike}
|
|
171
|
-
showEpisodesButton={isSeries}
|
|
172
|
-
onDetailsPress={() =>
|
|
173
|
-
setModal?.({ type: 'details', isVisible: true })
|
|
174
|
-
}
|
|
175
|
-
onShare={onShare}
|
|
176
|
-
/>
|
|
177
|
-
|
|
178
|
-
<BottomControls
|
|
179
|
-
theme={theme}
|
|
180
|
-
series={series}
|
|
181
|
-
episodeIndex={activeIndex}
|
|
182
|
-
videoCurrentTime={currentTime}
|
|
183
|
-
videoDuration={duration}
|
|
184
|
-
onEpisodesPress={() =>
|
|
185
|
-
setModal?.({ type: 'details', isVisible: true })
|
|
186
|
-
}
|
|
187
|
-
/>
|
|
188
|
-
</View>
|
|
189
|
-
|
|
190
|
-
{/* DETAILS MODAL */}
|
|
191
|
-
{isSeries && (
|
|
192
|
-
<DetailsModal
|
|
193
|
-
reel={episode}
|
|
194
|
-
data={series}
|
|
195
|
-
activeEpisodeIndex={activeIndex}
|
|
196
|
-
theme={theme}
|
|
197
|
-
isVisible={modal?.type === 'details' && modal.isVisible}
|
|
198
|
-
onClose={() => setModal?.({ type: 'none', isVisible: false })}
|
|
199
|
-
onEpisodeSelect={onEpisodeSelect}
|
|
200
|
-
onLikeMorePress={onLikeMore}
|
|
201
|
-
/>
|
|
202
|
-
)}
|
|
203
|
-
|
|
204
|
-
{/* SETTINGS MODAL */}
|
|
205
|
-
<SettingModal
|
|
206
|
-
theme={theme}
|
|
207
|
-
speed={playbackRate}
|
|
208
|
-
quality={quality}
|
|
209
|
-
videoUrl={episode.videoUrl}
|
|
210
|
-
onSpeedChange={onPlaybackRateChange}
|
|
211
|
-
onQualityChange={onQualityChange}
|
|
212
|
-
isVisible={modal?.type === 'settings' && modal.isVisible}
|
|
213
|
-
onClose={() => setModal?.({ type: 'none', isVisible: false })}
|
|
214
|
-
/>
|
|
215
|
-
|
|
216
|
-
<UnLockModal
|
|
217
|
-
isVisible={unlock.isVisible}
|
|
218
|
-
onClose={() => unlock.onClose()}
|
|
219
|
-
theme={theme}
|
|
220
|
-
episode={episode}
|
|
221
|
-
data={series}
|
|
222
|
-
onUnlockPress={onUnlockPress}
|
|
223
|
-
/>
|
|
224
|
-
</View>
|
|
225
|
-
);
|
|
226
|
-
};
|
|
227
|
-
|
|
228
|
-
export default MediaControlsProvider;
|
|
229
|
-
|
|
230
|
-
const styles = StyleSheet.create({
|
|
231
|
-
root: {
|
|
232
|
-
flex: 1,
|
|
233
|
-
},
|
|
234
|
-
});
|